.image-tips-link{color:var(--accent);font:inherit;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;padding:10px 0}
.image-tips-link:hover{text-decoration:underline}
.image-tips{width:min(820px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--text);font:inherit;box-shadow:0 24px 80px #0003;overscroll-behavior:contain}
.image-tips::backdrop{background:rgba(21,18,28,.55)}
.image-tips *{box-sizing:border-box}
.image-tips .tips-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;background:var(--panel);border-bottom:1px solid var(--line)}
.image-tips h2{margin:0;font-size:23px;letter-spacing:-.5px}
.image-tips .tips-close{background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:10px 14px;font:inherit;cursor:pointer}
.image-tips .tips-body{padding:24px 26px 28px}
.image-tips .tips-intro{font-size:17px;margin:0 0 22px;color:var(--dim)}
.image-tips h3{font-size:17px;color:var(--text);text-transform:none;letter-spacing:0;margin:0 0 10px}
.image-tips p{margin:0 0 12px;line-height:1.6}
.image-tips .tips-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}
.image-tips .tips-card{padding:18px;background:var(--panel2);border:1px solid var(--line);border-radius:12px}
.image-tips .tips-card p{font-size:14px;color:var(--dim);margin:0}
.image-tips section{padding:0;margin:0}
.image-tips section+section{margin-top:26px}
.image-tips ul{padding-left:22px;margin:10px 0;line-height:1.7}
.image-tips li+li{margin-top:6px}
.image-tips .tips-note{color:var(--dim);font-size:13px}
.image-tips label{display:block;font-weight:600;margin:14px 0 8px}
.image-tips textarea{display:block;width:100%;min-height:240px;resize:vertical;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text);font-family:inherit;font-size:14px;line-height:1.6}
.image-tips .tips-copy{background:var(--accent);color:#fff;border:0;border-radius:10px;padding:11px 18px;font:inherit;font-weight:600;cursor:pointer}
.image-tips .tips-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
.image-tips :focus-visible,.image-tips-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body:has(.image-tips[open]){overflow:hidden}
@media(max-width:600px){.image-tips .tips-grid{grid-template-columns:1fr}.image-tips .tips-heading{padding:16px}.image-tips .tips-body{padding:20px 16px}.image-tips h2{font-size:21px}#app>header{flex-wrap:wrap}}

.image-tips .tips-example{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;margin-bottom:24px;padding:18px;border:1px solid var(--line);border-radius:12px}
.image-tips svg{display:block;width:100%;height:auto;border-radius:12px}
.image-tips .tips-key p{display:flex;align-items:center;gap:10px;font-size:15px}
.image-tips .tips-swatch{display:inline-block;width:20px;height:20px;border:1px solid #999;border-radius:5px;flex-shrink:0}
.image-tips .tips-swatch.white{background:#fff}.image-tips .tips-swatch.black{background:#000}
.image-tips .tips-comparisons{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}
.image-tips .tips-pair{display:grid;gap:14px;background:var(--panel2);padding:12px;border:1px solid var(--line);border-radius:12px}
.image-tips figure{margin:0}.image-tips figcaption{font-size:13px;line-height:1.4;margin-top:8px}
.image-tips figcaption strong{display:block;margin-bottom:3px}.image-tips .tips-good{color:#238253}.image-tips .tips-bad{color:#c74747}
.image-tips summary{cursor:pointer;font-weight:600;padding:10px 0}
.image-tips textarea{min-height:150px}
@media(max-width:600px){.image-tips .tips-example{grid-template-columns:1fr;gap:16px}.image-tips .tips-example svg{max-width:240px;margin:auto}.image-tips .tips-comparisons{grid-template-columns:1fr}.image-tips .tips-pair{grid-template-columns:1fr 1fr}}

/* The same supplied examples teach polarity in Tips and in the inline helpers. */
.image-tips .tips-raised-examples{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:28px}
.image-tips .tips-artwork-card{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.image-tips .tips-artwork-card img{display:block;width:100%;height:230px;object-fit:contain;background:#fff;border-radius:8px}
.image-tips .tips-artwork-card figcaption{color:var(--dim)}.image-tips .tips-artwork-card strong{color:var(--text);font-size:15px}
.image-tips .tips-photo-journey{margin-bottom:20px}.image-tips .tips-photo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0}
.image-tips .tips-photo-steps img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px}
.image-tips .tips-photo-steps figcaption{color:var(--dim)}.image-tips .tips-photo-steps strong{color:var(--text)}
.image-tips .tips-quality{border-top:1px solid var(--line)}.image-tips .tips-quality .tips-comparisons{margin-top:12px}
.artwork-example-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;padding:18px;border:1px solid #d9cce9;border-radius:16px;background:#fff;color:#30253e;font:14px/1.5 'DM Sans',sans-serif;box-shadow:0 14px 50px #2f194133;overflow:auto;overscroll-behavior:contain;z-index:10000}
.artwork-example-popover[hidden]{display:none!important}.artwork-example-popover:popover-open{animation:example-appear .18s ease-out}
.artwork-example-popover .example-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.artwork-example-popover h3{margin:0;font-size:17px;font-weight:650;color:inherit;letter-spacing:0;text-transform:none}
.artwork-example-popover .example-close{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:1px solid #e4dced;border-radius:50%;background:#f8f5fc;color:#695976;font:24px/1 sans-serif;cursor:pointer}
.artwork-example-popover .example-comparison{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:10px}
.artwork-example-popover figure{min-width:0;margin:0}.artwork-example-popover img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border:1px solid #ede7f4;border-radius:10px;background:#fff}
.artwork-example-popover figcaption{margin-top:8px;text-align:center;font-size:12px;color:#6e617d}.artwork-example-popover .example-arrow{color:#8654ce;text-align:center}
.artwork-example-popover p{margin:14px 0 0;color:#6e617d;font-size:13px}.artwork-example-popover button:focus-visible{outline:2px solid #7136de;outline-offset:3px}
@keyframes example-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.image-tips .tips-artwork-card{padding:8px}.image-tips .tips-artwork-card img{height:160px}.image-tips .tips-artwork-card strong{font-size:13px}.image-tips .tips-raised-examples{gap:10px}.image-tips .tips-photo-steps{grid-template-columns:1fr;gap:10px}.image-tips .tips-photo-steps figure{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:14px}.artwork-example-popover{padding:14px}.artwork-example-popover h3{font-size:15px}.artwork-example-popover .example-comparison{gap:5px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}}
@media(pointer:coarse){.artwork-example-popover .example-close{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.artwork-example-popover:popover-open{animation:none}}
