/* Quick Cards interface polish. CSS only: no delivery state, artwork or data changes. */
:root{
 --ink:#192b40;--muted:#526478;--navy:#183550;--paper:#fbfaf6;
 --paper-edge:#d8dfe8;--gold:#ae793f;--soft:#f0f3f7;--error:#8c3029;
 --qc-line:#c5d0de;--qc-focus:#315d88;--qc-radius:12px;
 --qc-shadow:0 5px 18px #162b4210;
 --qc-ui:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body{font-family:var(--qc-ui);color:var(--ink);background-color:#101e32;background-image:radial-gradient(ellipse at 84% 0,#b6874b24,transparent 520px),radial-gradient(ellipse at 0 380px,#2d527553,transparent 750px),linear-gradient(145deg,#101e32,#1a2e47 58%,#101c2e)}
main{background:linear-gradient(135deg,#fcfcfa,#f2f4f7);border-color:#b8c5d23d;box-shadow:0 22px 65px #020c1c40,0 1px 0 #ffffff24 inset}
h1,h2,h3{font-kerning:normal;text-wrap:pretty}
.site-head h1{letter-spacing:-.045em}
.site-head .lede{color:#e1e7ef}.entry-inquiry{color:#c8d3df}
.site-return{display:flex;gap:8px;flex-wrap:wrap}.site-home{border-color:#9cb2ca50;background:#152b43;color:#f2f6fb;border-radius:10px;font-size:.9375rem}
.button,.site-home{
 position:relative;isolation:isolate;overflow:hidden;touch-action:manipulation;
 -webkit-tap-highlight-color:transparent;border-radius:var(--qc-radius);
 font-family:var(--qc-ui);font-weight:650;letter-spacing:.005em;
 transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease,transform 110ms ease;
}
.button{min-height:46px;font-size:.9375rem;padding:11px 16px;background:#fff;border-color:var(--qc-line);color:var(--ink);box-shadow:0 1px 2px #102c3e08}
.button::after,.site-home::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 110%,#e8c08770,transparent 72%),linear-gradient(110deg,transparent 20%,#ffffff24 50%,transparent 80%);transition:opacity 240ms ease-out}
.button.primary{background:linear-gradient(145deg,#234766,#142d49);border-color:#2d5274;color:#fff;box-shadow:0 3px 9px #16344e24,inset 0 1px 0 #ffffff18}
.button.secondary{background:#ffffffb8;border-color:var(--qc-line);color:var(--ink)}
.button.quiet{background:transparent;border-color:transparent;box-shadow:none;color:#4d6279}
.button.danger{background:#fff7f5;border-color:#d8aaa4;color:#8c3029}
.button.small{min-height:44px;font-size:.875rem}
.button:disabled,.button:disabled:hover,.button.primary:disabled,.button.primary:disabled:hover{opacity:1;background:#e1e6ed;border-color:#d1d9e3;color:#526176;box-shadow:inset 0 1px 0 #ffffff66;cursor:not-allowed}
.button:disabled::after{display:none}
.button:not(:disabled):active,.site-home:active{transform:translateY(1px);box-shadow:inset 0 1px 4px #06182f20,0 0 0 3px #bb8b4e2b}
.button:not(:disabled):active::after,.site-home:active::after{opacity:1}
:where(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--qc-focus);outline-offset:3px}
.button:focus-visible,.site-home:focus-visible{outline:3px solid var(--qc-focus);outline-offset:3px;box-shadow:0 0 0 5px #eaf0f6}
.site-head .button:focus-visible,.site-home:focus-visible,.browse-footer .button:focus-visible{outline-color:#ecc58c;box-shadow:0 0 0 5px #152b43}
@media(hover:hover) and (pointer:fine){
 .button:not(:disabled):hover{border-color:#8a9fb7;box-shadow:0 4px 12px #16344e18;transform:translateY(-1px)}
 .button.primary:not(:disabled):hover{background:linear-gradient(145deg,#2e5579,#1a395a);border-color:#6f8fae;box-shadow:0 5px 16px #16344e2b}
 .button.quiet:not(:disabled):hover{background:#e9eef5}
 .entry-choices .button.primary:not(:disabled):hover{background:linear-gradient(135deg,#f9e7c9,#edcea0);border-color:#f6dfb9;color:#172d46}
 .gallery-card:hover,.collection-tile:hover{border-color:#b3a18a;box-shadow:0 8px 24px #162b4219}
}
.entry-choices .button.primary{background:linear-gradient(135deg,#f2dcb7,#dfbc88);border-color:#f0d7af;color:#172d46;box-shadow:0 4px 16px #030c2026,inset 0 1px 0 #fff6}
.entry-choices .button.secondary{background:#1b3148;border-color:#879ab166;color:#f2f5f9}
.pip-window{border-color:#c7aa754d;box-shadow:0 12px 36px #030c263d,0 0 0 4px #ad85550a}
.pip-window .button{background:#ecd2a8;color:#1b3049;border-color:#ecd2a8}
.browse-tabs{border-color:#d1d9e3;background:#e9eef4;padding:4px;border-radius:14px}
.browse-tabs .button{border-radius:10px;box-shadow:none;color:#53677e}
.browse-tools .button{background:#ffffffc7;border-color:#c5d0de;color:#263c54;border-radius:10px}
.browse-nav{border-color:#d5dee8}
.browse-nav .button[aria-current=page]{background:linear-gradient(145deg,#244765,#17324e);border-color:#244765;color:#fff;box-shadow:0 2px 6px #1b334824}
.browse-nav .button:not([aria-current=page]):hover{background:#dfe7f0;color:#20374f}
#selection-count{background:#e2e9f1;color:#24425d;font-weight:700}
[aria-current=page] #selection-count{background:#ffffff24;color:#fff}
.notice{background:#eef1f5;border:1px solid #dbe2eb;border-left:2px solid #9b784a;border-radius:8px;color:var(--muted);font-size:.875rem;line-height:1.55}
.notice strong{color:#2b435d}.notice span{color:var(--muted)}
.collection-nav select{border-color:#8192a5;border-radius:10px;background:#fff;color:var(--ink);min-height:46px}
.collection-nav .button{font-size:.875rem}
.collection-tile,.gallery-card,.selection-card,.inventory-card{background:#fff;border-color:#dce3eb;border-radius:14px;box-shadow:var(--qc-shadow);transition:border-color 180ms ease,box-shadow 180ms ease}
.gallery-card>:is(img,.catalog-cover-frame),.collection-tile>:is(img,.catalog-cover-frame){background:#f4f0e8;border-color:#e6e0d5;border-radius:10px}
.gallery-card>.eyebrow{font:600 .875rem/1.45 var(--qc-ui);letter-spacing:.025em;color:#576a7e}
.gallery-card h3{font-size:1.5rem;letter-spacing:-.02em;color:#20354d}
.gallery-card .form-actions{gap:9px}.gallery-card .button{font-size:.875rem}
.gallery-card .button.is-added{background:#e9eff6;border-color:#8399b0;color:#243e5b}
#collection-feedback{color:#2e5275}
.editor,.preview,.panel{background:#fff;border-color:#dce3eb;border-radius:16px;box-shadow:var(--qc-shadow)}
.editor h2,.preview h2{letter-spacing:-.025em;color:#20354d}
label{font-weight:650;letter-spacing:0;color:#21394f}
input,textarea{font:1rem/1.5 var(--qc-ui);border-color:#8192a5;border-radius:10px;background:#fff;box-shadow:inset 0 1px 2px #122b4110;transition:border-color 140ms ease,box-shadow 140ms ease}
input:focus-visible,textarea:focus-visible{border-color:#496e93;outline:2px solid #496e93;outline-offset:1px;box-shadow:0 0 0 5px #e7eef6}
.optional,.required,.help{font-size:.875rem;line-height:1.5}.required{color:#874037}
#little-light-writing-cue{background:#f4f6f9;border-left:2px solid #ab814c;border-radius:0 9px 9px 0;padding:12px 14px;color:#435b73;font-size:.9375rem}
#little-light-writing-cue::before{font-size:.875rem;color:#233d57;letter-spacing:.01em}
.mobile-live-preview{background:#fff;border-color:#c9d5e3;border-radius:12px;box-shadow:0 5px 15px #17354d12}
.mobile-live-preview-copy>p:not(.eyebrow){color:#455d76;font-size:.875rem}
.mobile-live-preview-copy .eyebrow{color:#667a90;letter-spacing:.09em;font-size:.6875rem}
.mobile-live-preview-theme{color:#4e627a;font-size:.875rem}
html[data-qc-view=editor] :is(.card-details,.editor-tools)>summary{color:#38516c;font-size:.9375rem;font-weight:600}
.preview-stage{border:1px solid #dce3eb;border-radius:12px;background:#eef1f5}
.status{color:#3d5d7b}.status.error,.error{color:var(--error)}
#selection-warning{border-color:#b17b51;background:#fff6eb;color:#723f28;border-radius:10px}
#preview-dialog{background:#081729c9}
#preview-dialog .review-surface{background:#f6f7f9;border:1px solid #cad5e1;box-shadow:0 24px 80px #020c1b66}
#preview-dialog .review-head{background:linear-gradient(125deg,#1c3854,#122a44);border-bottom:1px solid #49627a;padding:12px 16px}
#preview-dialog .review-head h2{font:600 1.125rem/1.3 var(--qc-ui);letter-spacing:-.01em;color:#f8fbff}
#preview-dialog .review-head>.button{background:#ffffff0d;border-color:#b9cce059;color:#fff;box-shadow:inset 0 1px 0 #fff1;min-width:64px;min-height:44px;border-radius:10px}
#preview-dialog .review-head>.button:focus-visible{outline-color:#f1c990;box-shadow:0 0 0 4px #132e49}
#preview-dialog .review-body{background:#f2f4f7}
#preview-dialog #little-light-preview-notice{color:#52677d;font-size:.875rem;margin:4px 4px 12px}
#preview-dialog #dialog-stage .card-frame{border-radius:12px}
#preview-dialog .review-link-help{color:#52677d;margin-inline:4px}
#preview-dialog .review-link-help>summary{font-weight:600;font-size:.875rem}
#preview-dialog .review-controls,#preview-dialog .send-controls{background:#fff;border-color:#d5dfe9;box-shadow:0 -5px 18px #17354b08}
#preview-dialog .publish-consent{border:1px solid #cdd7e3;border-radius:10px;background:#f5f7fa;padding:9px 11px;color:#243d58;box-shadow:inset 0 1px 0 #fff;transition:border-color 160ms ease,background-color 160ms ease,box-shadow 160ms ease}
#preview-dialog .publish-consent:has(input:checked){background:#eaf0f7;border-color:#708ca8;box-shadow:0 0 0 1px #a6b9cc24}
#preview-dialog .publish-consent:focus-within{outline:2px solid #315d88;outline-offset:2px}
#preview-dialog .publish-consent input{accent-color:#234e78;width:22px;height:22px;min-height:22px;box-shadow:none;border-radius:4px}
#preview-dialog #publish-consent-details{color:#536a82;font-size:.875rem}
#preview-dialog #review-actions>#publish-card,#preview-dialog #send-primary-actions>.button{min-height:50px;font-size:1rem;font-weight:650;letter-spacing:.015em}
#preview-dialog .send-body{background:#f6f8fa}
#preview-dialog .send-body h3{font:1.75rem/1.18 Georgia,serif;letter-spacing:-.02em;color:#203b56}
#preview-dialog #publish-success-send-status{border:1px solid #d8e1eb;border-left:2px solid #54789c;border-radius:9px;background:#fff;padding:12px;color:#405b76}
#preview-dialog #publish-success-send-status:empty{display:none}
#preview-dialog .send-secondary>.button{font-size:.875rem;min-height:44px;flex:1 1 7rem;overflow-wrap:normal;word-break:normal}
#preview-dialog #send-more-options{border-color:#d4deea;color:#405b76}
#preview-dialog #send-more-options>summary{font-weight:600}
.browse-footer .button{background:#1b314b;border-color:#9eb4ca66;color:#ecf3fa}
.browse-footer>p{color:#b8c7d8}
@keyframes qc-surface-enter{from{opacity:.94;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){#preview-dialog:not([hidden]) .review-surface{animation:qc-surface-enter 180ms cubic-bezier(.2,.7,.2,1) both}}
@media(max-width:760px){
 .editor,.preview{border-radius:14px}
 .notice{font-size:.8125rem}
 #preview-dialog .review-surface{border:0}
 #preview-dialog .review-head{padding-top:max(12px,env(safe-area-inset-top))}
 #preview-dialog .review-head h2{font-size:1.125rem}
 #preview-dialog .review-body{padding:8px}
}
@media(max-width:480px){
 main{padding:14px 12px 8px}
 .browse-tools .button{font-size:.875rem;padding-inline:10px}
 .browse-tabs .button{font-size:1rem}
 .gallery-card .button{font-size:.875rem}
 .gallery-card{padding:14px}.gallery-card>:is(img,.catalog-cover-frame){height:230px}
 .site-home{font-size:.875rem}
 .entry-inquiry{font-size:.875rem}.entry-free{font-size:.875rem}
}
/* Readable optional illustration controls; same artwork and entrance order. */
@media(max-width:760px){
 .pip-window{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
 .pip-window-art{grid-column:1;grid-row:1/span 2;align-self:stretch;aspect-ratio:auto;border-right:1px solid #c6a56b33}
 .pip-window figcaption{display:contents}
 .pip-window figcaption>p:first-child{grid-column:2;grid-row:1;margin:0;padding:10px 10px 0;max-width:none;font-size:1rem;align-self:end}
 .pip-window .button{grid-column:2;grid-row:2;margin:8px 10px 10px;width:calc(100% - 20px);max-width:none;min-height:44px;font-size:.875rem;line-height:1.3}
 #pip-demo-status{grid-column:1/-1;grid-row:3;border-top:1px solid #9bb0c633;margin:0;padding:7px 10px;font-size:.75rem;line-height:1.4;background:#102238}
 .pip-poster-expand{font-size:.6875rem}
}
@media(orientation:landscape) and (max-height:520px) and (min-width:600px){
 #preview-dialog .review-head{padding:10px 14px}
 #preview-dialog .review-head h2{font-size:1.125rem}
 #preview-dialog .publish-consent{margin:8px 12px;font-size:.8125rem}
 #preview-dialog #publish-consent-details{font-size:.8125rem}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .button,.site-home{transform:none!important}
}
@media(forced-colors:active){
 body,main,.editor,.preview,.panel,.notice,.gallery-card,.collection-tile,.selection-card,
 #preview-dialog .review-surface,#preview-dialog .review-head,#preview-dialog .review-body,
 #preview-dialog .review-controls,#preview-dialog .send-controls,#preview-dialog .send-body,
 #preview-dialog .publish-consent,#preview-dialog .publish-consent:has(input:checked),#preview-dialog #publish-success-send-status{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}
 .button,.button.primary,.button.secondary,.site-home,#preview-dialog .review-head>.button{background:ButtonFace;color:ButtonText;border:1px solid ButtonText;box-shadow:none}
 .button:disabled{color:GrayText;border-color:GrayText;background:Canvas}
 .button::after,.site-home::after{display:none}
 input,textarea,select{background:Field;color:FieldText;border-color:FieldText;box-shadow:none}
 :where(button,a,input,textarea,select,summary):focus-visible{outline:3px solid Highlight!important;box-shadow:none!important}
 #preview-dialog .review-head h2,#preview-dialog #publish-consent-details,#preview-dialog .send-body h3{color:CanvasText}
}
/* Long edition names must fit when text is enlarged. Keep a tall preview in
   normal flow so it cannot occupy most of a short editing viewport. */
.mobile-live-preview-copy h3{overflow-wrap:anywhere}
@media(max-width:760px){.mobile-live-preview[data-qc-sticky="off"]{position:relative;top:auto}}

/* A visible limit uses the same native maxlength contract as the editor. */
.message-count{margin:.4rem 0;font-variant-numeric:tabular-nums;font-weight:600;color:#475a73}.message-count[data-limit-state=near],.message-count[data-limit-state=limit]{color:#6b4824}.message-count[data-limit-state=limit]{font-weight:750}
#published-management-help{font-size:.875rem;line-height:1.5;margin:.75rem 0}
