:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#edf3f3;background:#09121b;font-synthesis:none;--panel:#12212e;--line:#354c5a;--muted:#b0c1c9;--accent:#b7ded4;--ink:#102b27;--gold:#e7c589;--error:#ffb8b8;line-height:1.6;color-scheme:dark}
dialog.preview-loading{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100%;max-height:none;height:100dvh;padding:1.3rem;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 20%,#16345b,transparent 65%),#080f1c;color:#edf3ff}dialog.preview-loading[open]{display:grid;place-items:center}dialog.preview-loading::backdrop{background:#080f1c}.preview-loading-panel{width:100%;max-width:480px;text-align:center}.preview-loading-panel h2{font-size:2rem;margin:1.5rem 0 1rem}.preview-loading-panel>p{line-height:1.6}.preview-spinner{display:inline-block;width:52px;height:52px;border:4px solid #28486f;border-top-color:#91bdff;border-radius:50%;animation:preview-spin .85s linear infinite}.preview-stages{display:flex;justify-content:space-between;list-style:none;gap:.7rem;padding:0;margin:2rem 0}.preview-stages li{flex:1;padding-top:.7rem;border-top:3px solid #294265;color:#91a5bf;font-size:.8rem}.preview-stages li[data-state=current]{border-color:#8db9ff;color:#f1f6ff}.preview-stages li[data-state=done]{border-color:#60baa6;color:#acdecf}.preview-elapsed{font-size:.75rem;color:#acbad0;min-height:1.3em}.preview-loading-panel button{min-height:44px;min-width:160px}@keyframes preview-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.preview-spinner{animation:none;border-right-color:#91bdff}}
.inscription-meaning{margin:.8rem 0 1rem;border:1px solid #5075a6;background:#10213a;border-radius:12px;padding:.8rem 1rem;overflow-wrap:anywhere}.inscription-meaning>summary{font-weight:700;color:#c9deff;min-height:24px}.inscription-meaning h3{margin:1rem 0 .5rem}.meaning-rune-line{font-size:1.65rem;white-space:pre-wrap}.inscription-rune-list{list-style:none;padding:0;margin:.6rem 0}.inscription-rune-list>li{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.1rem .7rem;border-bottom:1px solid #2e415d;padding:.7rem 0}.inscription-rune-list>li>span:not(.meaning-symbol),.inscription-rune-list details{grid-column:2}.meaning-symbol{font-size:1.6rem;grid-row:1/3}.inscription-rune-list details{font-size:.78rem;margin-top:.35rem;color:#acbad0}.inscription-meaning details p{margin-top:.7rem}.inscription-meaning .muted{margin-bottom:.7rem}
.header nav{align-items:center;flex-wrap:wrap}.header nav .cart-link{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.5rem .7rem;border:1px solid #5275a0;border-radius:999px;background:#142641;color:#eef5ff;white-space:nowrap;min-height:44px}.cart-link svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cart-count{display:inline-grid;place-items:center;min-width:1.4rem;height:1.4rem;border-radius:50%;background:#324860;font-size:.75rem;font-weight:750}.cart-link[data-filled=true] .cart-count{background:#8db9ff;color:#071629}.header nav .cart-link:hover{background:#203b62;text-decoration:none}#cart-saving-note{margin-top:.75rem}#cart #empty-cart{padding:2rem;border:1px dashed var(--line);border-radius:18px;text-align:center}#cart .final-previews{padding:1rem 0}#refresh-cart{margin-bottom:1rem}
@media(max-width:700px){.header{flex-wrap:wrap}.header nav{width:100%;justify-content:space-between;gap:.4rem!important}.header nav a{font-size:.8rem!important}.header nav .cart-link{padding:.4rem .5rem}.cart-link svg{width:18px}.cart-count{min-width:1.2rem;height:1.2rem}}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:var(--accent);text-underline-offset:.25em}button,a,input,select,textarea{touch-action:manipulation}button,.button{border:1px solid #839ca9;border-radius:12px;padding:.7rem 1.1rem;background:transparent;color:#e7f3f0;font-size:.9rem;font-weight:650;cursor:pointer;line-height:1.35;text-decoration:none;text-align:center;display:inline-block}button:hover,.button:hover{background:#243948}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--accent);color:var(--ink);border-color:var(--accent);padding:.9rem 1.2rem}.primary:hover{background:#d3ede6}.quiet{font-size:.82rem;border-color:var(--line);padding:.6rem .9rem}:focus-visible{outline:3px solid var(--gold);outline-offset:4px}input,select,textarea{width:100%;background:#091620;color:#f2f5f5;border:1px solid #648190;border-radius:10px;padding:.75rem .8rem;min-height:46px}textarea{resize:vertical}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--accent);flex:none}input[type=range]{min-height:20px;height:24px;padding:0;border:0;accent-color:var(--accent)}label{display:block;font-size:.85rem;color:#d6e1e5;font-weight:600}label>input,label>select,label>textarea{margin-top:.35rem}select{white-space:normal}output{float:right;color:var(--gold);font-size:.8rem}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:600;line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(2.5rem,6vw,4.4rem);margin-bottom:1rem}h2{font-size:2rem;margin-bottom:1rem}h3{font-size:1.05rem;line-height:1.4;margin-bottom:.6rem}p{margin-bottom:1rem}small,.muted{font-size:.8rem;color:var(--muted)}.eyebrow{color:var(--gold);font-size:.7rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.75rem}.header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem max(1.2rem,calc((100vw - 1220px)/2));background:#12372f;border-bottom:1px solid #315147}.wordmark{font-family:Georgia,serif;font-size:1.6rem;font-weight:700;text-decoration:none;color:#f2eee0;letter-spacing:-.02em}.wordmark span{font-size:1.8rem;color:var(--gold);margin-left:.3rem}.header nav{display:flex;gap:1.5rem}.header nav a{font-size:.87rem;color:#d7e8e2;text-decoration:none}.header nav a:hover{color:#fff;text-decoration:underline}main{max-width:1220px;padding:0 1.3rem;margin:auto;min-height:65vh}.intro{padding:3rem 0 1.8rem;max-width:920px}.intro>p:last-child{max-width:610px;color:var(--muted);font-size:1.04rem}.status{border-left:3px solid var(--accent);padding:.7rem 1rem;background:#11232c;margin-bottom:1.4rem;font-size:.88rem;overflow-wrap:anywhere}.panel{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:1.3rem;margin-bottom:1.2rem}.selection{display:grid;grid-template-columns:1fr 1fr 2fr;gap:1rem;align-items:start}.selection .wide{grid-column:auto}.selection .wide:has(details){grid-column:1/4}.facts{color:var(--gold);font-size:.85rem;margin:.3rem 0}.selection details{font-size:.8rem;color:var(--muted)}summary{cursor:pointer}.selection details>p{white-space:pre-line;margin-top:.8rem;max-width:800px}.selection .quiet{justify-self:start;grid-column:1/4}.designer-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:1.8rem;align-items:start}.preview-panel{position:sticky;top:1rem;min-width:0}.side-tabs{display:flex;gap:.7rem;margin-bottom:1rem;padding:0 60px}.side-tabs button{flex:1}.side-tabs [aria-pressed=true]{background:#514432;color:#ffe6b5;border-color:#746143}.garment-stage{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:12px;align-items:start}.canvas-wrap{min-width:0}.canvas-wrap canvas{display:block;width:100%;height:auto;border-radius:15px;background:#e4e8e7}.canvas-wrap p{text-align:center;margin:.5rem 0 1rem;font-size:.72rem}.palette{text-align:center;padding-top:.25rem}.palette>span{display:block;font-size:.64rem;text-transform:uppercase;letter-spacing:.11em;margin-bottom:.6rem;color:var(--muted)}.palette>div{display:flex;flex-direction:column;align-items:center;gap:8px;max-height:430px;overflow-y:auto;padding:4px}.swatch{border-radius:50%;width:34px;height:34px;flex:none;padding:0;border:2px solid #496374;box-shadow:inset 0 0 0 2px #07111a;color:white;text-shadow:0 1px 3px #000,0 0 2px #000;font-size:1rem}.swatch[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.sliders{display:grid;grid-template-columns:1fr 1fr;gap:.8rem 1.2rem;margin-top:.4rem}.sliders label{font-size:.8rem}.check{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;font-weight:400;line-height:1.5;margin:.9rem 0}.check input{margin:0}.sliders .check{align-self:end;min-height:46px;margin:0}.writing label{margin-bottom:1rem}.writing>h2{text-transform:capitalize}.writing textarea{font-family:"Segoe UI Historic","Noto Sans Runic",serif;font-size:1.55rem;line-height:1.5;letter-spacing:.04em}.writing label span{float:right;color:var(--muted);font-size:.75rem}.writing>button.primary{width:100%;margin-top:1rem}.error{color:var(--error);font-size:.82rem;min-height:1em}.error:empty{display:none}.rune-keyboard{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.rune-keyboard button{padding:.4rem .1rem;border-radius:8px;background:#203340;border-color:#304652;min-height:50px}.rune-keyboard button:hover{background:#385244}.key-rune{display:block;font-family:"Segoe UI Historic","Noto Sans Runic",serif;font-size:1.55rem;font-weight:400;line-height:1.1}.rune-keyboard small{display:block;font-size:.57rem;color:var(--gold);margin-top:.25rem}.button-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:1rem 0}.section{padding:3rem 0;border-top:1px solid var(--line);margin-top:2rem}.split{display:flex;justify-content:space-between;gap:1rem;align-items:start}.split .quiet{flex:none}.final-previews{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.final-previews figure{margin:0;max-width:300px;flex:1;min-width:150px}.final-previews img{display:block;width:100%;height:auto;border-radius:12px;background:#e4e8e7}.final-previews figcaption{text-align:center;font-size:.8rem;color:var(--muted);text-transform:capitalize;padding:.5rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-grid .wide{grid-column:1/3}#delivery-form{max-width:800px}#quote-button{margin-top:1.5rem}.price{font-size:1.8rem;color:var(--gold)}#checkout-summary{max-width:800px}#checkout-summary .check{font-size:.86rem}#checkout-button{margin:1rem 0}.policy{max-width:820px;margin:3rem auto;overflow-wrap:anywhere}.policy p{white-space:normal}.policy h2{font-size:1.6rem;margin-top:2rem}.policy h1{font-size:3rem}.learning{max-width:880px;margin:auto}.learning>label{margin-bottom:1rem}.rune-output{font-family:"Segoe UI Historic","Noto Sans Runic",serif;font-size:2.4rem;line-height:1.5;overflow-wrap:anywhere;min-height:60px;white-space:pre-wrap;letter-spacing:.1em}.sticky-sequence{position:sticky;top:0;background:#14232ef5;border:1px solid var(--line);border-radius:12px;padding:.8rem;z-index:1;margin-bottom:1.2rem;backdrop-filter:blur(8px)}.sticky-sequence p{margin:0;max-height:170px;overflow:auto}.sticky-sequence .button-row{margin:.5rem 0 0}.meaning-library{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1rem}.rune-card{background:#1d303e;border:1px solid var(--line);border-radius:12px;overflow:hidden}.rune-card>button{display:grid;grid-template-columns:40px 1fr 20px;grid-template-rows:auto auto auto;width:100%;border:0;text-align:left;font-weight:400;gap:0 .6rem;padding:.8rem}.rune-card strong,.rune-card small,.rune-card button>span:not(.rune-card-symbol):not(.add-rune){grid-column:2}.rune-card-symbol{font-size:2rem;font-family:"Segoe UI Historic",serif;grid-row:1/4;align-self:center;color:var(--accent)}.rune-card .add-rune{grid-column:3;grid-row:1/4;align-self:center;color:var(--gold)}.rune-card button>span:not(.rune-card-symbol){font-size:.78rem}.rune-card details{padding:.4rem .9rem .8rem;font-size:.75rem;color:var(--muted)}.rune-card details p{margin:.7rem 0 0}#meaning-reading{line-height:1.8;margin-bottom:1.2rem}#meaning-reading h2{margin-top:1.5rem}.badge{display:inline-block;border:1px solid #557766;border-radius:7px;padding:.25rem .5rem;color:#c5e7d2;font-size:.72rem;font-weight:600}.login{max-width:470px;margin:4rem auto}.login h1{font-size:2.5rem}.login form button{width:100%;margin-top:1rem}.filter-bar{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:1rem;align-items:end}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.order-card h2{font-size:1.35rem;overflow-wrap:anywhere}.order-card h3{font-size:.95rem;margin-top:1rem}.order-card p{margin-bottom:.35rem}.order-card button{width:100%;margin-top:1rem}.detail-list{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:.5rem 1rem;font-size:.82rem;line-height:1.5;margin:1rem 0}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}.pagination{display:flex;gap:1rem;justify-content:center;align-items:center;margin:2rem 0;font-size:.85rem}dialog{background:#11212e;color:#e9f0f0;border:1px solid #6b8896;border-radius:18px;max-width:920px;width:calc(100vw - 2rem);max-height:90vh;padding:1.5rem}dialog::backdrop{background:#000a}.dialog-close{position:sticky;top:0;float:right;background:#203a43;z-index:1}.admin-section{border-top:1px solid var(--line);padding:1.3rem 0}.admin-section>h3{color:var(--gold)}.admin-section>a{display:block;margin-bottom:.5rem}.admin-section textarea{margin-bottom:.8rem}.error-card{padding:1rem;border:1px solid #754e4e;border-radius:8px;color:#ffd4d4;margin-bottom:1rem;font-size:.85rem}.error-card p{margin:.5rem 0 0}.setup-panel h2{font-size:1.7rem}.setup-item{padding:1rem 0;border-top:1px solid var(--line)}.setup-item p{font-size:.85rem;margin-bottom:.5rem}.setup-item a{font-size:.85rem}footer{border-top:1px solid var(--line);margin:4rem auto 0;max-width:1220px;padding:2rem 1.3rem;color:var(--muted);font-size:.75rem}.footer-links{display:flex;flex-wrap:wrap;gap:1.2rem;margin:1rem 0}footer>.wordmark{font-size:1.4rem}.skip{position:absolute;top:-100px;background:var(--accent);color:var(--ink);z-index:5;padding:.7rem}.skip:focus{top:0}[hidden]{display:none!important}
@media(max-width:800px){.header{padding:1rem 1.2rem;flex-wrap:wrap}.header nav{gap:1rem}.header nav a{font-size:.8rem}.designer-grid{grid-template-columns:1fr}.preview-panel{position:static;max-width:570px;width:100%;margin:auto}.writing{max-width:570px;width:100%;margin:auto}.selection{grid-template-columns:1fr 1fr}.selection .wide{grid-column:1/3}.selection .wide:has(details),.selection .quiet{grid-column:1/3}.filter-bar{grid-template-columns:1fr 1fr}.order-grid{grid-template-columns:1fr}.intro{padding-top:2rem}.intro p{font-size:.95rem}.meaning-library{grid-template-columns:1fr}.policy{margin-top:2rem}.side-tabs{padding:0 52px}.garment-stage{grid-template-columns:38px minmax(0,1fr) 38px;gap:8px}.swatch{width:30px;height:30px}.palette>div{max-height:340px}.palette>span{font-size:.56rem}.panel{padding:1rem}.sliders{padding:1rem}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.header .wordmark{font-size:1.4rem}.final-previews figure{min-width:120px}.section{padding-top:2rem}.learning{padding:.9rem}.rune-output{font-size:1.9rem}.filter-bar label:first-child{grid-column:1/3}.split{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.palette>div{overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#486270 transparent;min-width:0;padding:4px 3px}.palette{min-width:0}.palette>div::-webkit-scrollbar{width:3px;height:0}.palette>div::-webkit-scrollbar-thumb{background:#486270;border-radius:4px}.palette>div::-webkit-scrollbar-button{display:none}.palette .swatch{width:30px;height:30px}@media(max-width:800px){.palette .swatch{width:26px;height:26px}}

#selected-product-name{font-size:1.35rem;margin:.1rem 0 .5rem}.order-card .final-previews{max-width:320px;gap:.6rem}.order-card .final-previews figure{min-width:90px;max-width:150px}.order-card .tracking-link{display:block;font-size:.8rem;margin:.5rem 0;overflow-wrap:anywhere}.note-preview{background:#1c3540;border-left:2px solid var(--gold);padding:.7rem;font-size:.8rem;white-space:pre-wrap}

.admin-tabs{display:flex;gap:.35rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem;overflow-x:auto;padding:.2rem .2rem .8rem}.admin-tabs [role=tab]{white-space:nowrap;border-color:transparent;display:flex;align-items:center;gap:.5rem}.admin-tabs [aria-selected=true]{background:var(--accent);color:var(--ink)}.count-bubble{display:inline-flex;min-width:1.6rem;height:1.6rem;padding:0 .4rem;align-items:center;justify-content:center;border-radius:50%;background:#654d31;color:#ffe8bc;font-size:.72rem;font-weight:750}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.metric{text-align:left;display:flex;flex-direction:column;gap:.3rem;border:1px solid var(--line);width:100%}.metric strong{font-size:2.2rem;color:var(--gold)}.metric span{font-size:.8rem;font-weight:500}.document-grid,.request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.document-card,.request-card{min-width:0;overflow-wrap:anywhere}.document-card .button-row,.request-card .button-row{margin:.7rem 0}.document-card p,.request-card p{font-size:.86rem}.document-card label,.request-card label{margin:.8rem 0}.document-card .document-state{color:var(--gold);font-weight:600}.document-card .document-state.available{color:var(--accent)}.document-card .source-link{display:inline-block;margin:.3rem 0 .7rem;font-size:.83rem}.document-upload{border-top:1px solid var(--line);padding-top:.5rem;margin-top:1rem}.document-upload input{font-size:.78rem}.document-upload button{margin:.6rem 0}.request-filter{max-width:320px;margin-bottom:1rem}.request-message{white-space:pre-wrap;border-left:3px solid var(--line);padding:.8rem;background:#0e1c27}.action-form label{margin:.8rem 0}.action-warning{border:1px solid #806f48;background:#302b20;color:#f3dcac;padding:.85rem;border-radius:8px;font-size:.85rem}.action-confirmations label{display:flex;align-items:start;gap:.7rem;margin:1rem 0}.action-confirmations input{width:20px;margin:.2rem 0}.order-provider-links a{font-size:.8rem}.order-card .order-provider-links{margin-top:.8rem}.order-card .order-provider-links .button{width:auto}.action-summary{padding:1rem;background:#19332e;border:1px solid #48665b;border-radius:10px;margin:1rem 0}#order-request-form label{margin:1rem 0}#order-request-status{margin:1rem 0 0}#panel-overview .setup-panel{margin-top:1rem}[role=tabpanel]>h2{font-size:1.7rem}.setup-item .button-row{margin:.5rem 0}.admin-empty{border:1px dashed var(--line);border-radius:12px;padding:2rem;text-align:center;color:var(--muted)}
@media(max-width:800px){.document-grid,.request-grid{grid-template-columns:1fr}.admin-metrics{gap:.5rem}.metric{padding:.8rem}.metric strong{font-size:1.65rem}.metric span{font-size:.7rem}.admin-tabs [role=tab]{font-size:.8rem;padding:.6rem .65rem}.count-bubble{height:1.3rem;min-width:1.3rem;font-size:.65rem}.admin-tabs{gap:0}.filter-bar button{grid-column:1/-1}.request-card .split{gap:.5rem}}

/* Owner guidance is scoped to administration; public shopping pages keep their layout. */
body[data-page=admin] .admin-tabs{flex-wrap:wrap;overflow:visible;gap:.5rem}
body[data-page=admin] .admin-tabs [role=tab]{flex:1 1 190px;justify-content:center;min-width:0;white-space:normal;min-height:48px}
body[data-page=admin] .count-bubble{flex:none;border-radius:999px}
body[data-page=admin] .section-help{max-width:80ch;color:var(--muted);font-size:.9rem;line-height:1.7;margin:.5rem 0 1.3rem}
body[data-page=admin] .admin-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0}
body[data-page=admin] .admin-guide{min-width:0;padding:1.2rem;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow-wrap:anywhere}
body[data-page=admin] .admin-guide h3{font-size:1.1rem;margin:0 0 .6rem;color:var(--accent)}
body[data-page=admin] .admin-guide p{font-size:.9rem;margin:0;line-height:1.7}
body[data-page=admin] .setup-facts{display:grid;grid-template-columns:minmax(90px,.3fr) minmax(0,1fr);gap:.55rem 1rem;margin:1rem 0;font-size:.9rem;line-height:1.7}
body[data-page=admin] .setup-facts dt{color:var(--accent);font-weight:650}
body[data-page=admin] .setup-facts dd{margin:0;min-width:0;overflow-wrap:anywhere;white-space:pre-line}
body[data-page=admin] .cost-note{padding:.8rem 1rem;border-left:3px solid var(--gold);background:#25281f;border-radius:0 8px 8px 0;font-size:.88rem;line-height:1.65;overflow-wrap:anywhere}
body[data-page=admin] .attention-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:0;margin:1.2rem 0 1.8rem;list-style:none}
body[data-page=admin] .attention-list:empty{display:none}
body[data-page=admin] .attention-card{min-width:0;padding:1.1rem;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px;background:var(--panel);overflow-wrap:anywhere}
body[data-page=admin] .attention-card h3{font-size:1.08rem;margin:0 0 .5rem}
body[data-page=admin] .attention-card p{font-size:.9rem;margin:.4rem 0;line-height:1.65}
body[data-page=admin] .attention-card .button-row{margin:.9rem 0 0}
body[data-page=admin] .attention-card:is(.warning,.action_needed,[data-severity=warning],[data-severity=action_needed]){border-left-color:var(--gold)}
body[data-page=admin] .attention-card:is(.error,.urgent,[data-severity=error],[data-severity=urgent]){border-left-color:var(--error)}
@media(max-width:600px){body[data-page=admin] .admin-tabs [role=tab]{flex-basis:calc(50% - .5rem);font-size:.84rem;padding:.7rem .5rem}body[data-page=admin] .admin-guide-grid,body[data-page=admin] .attention-list,body[data-page=admin] .admin-metrics{grid-template-columns:1fr}body[data-page=admin] .metric{display:grid;grid-template-columns:2.5rem minmax(0,1fr);align-items:center;gap:.8rem}body[data-page=admin] .metric span{font-size:.85rem}body[data-page=admin] .setup-facts{grid-template-columns:1fr;gap:.2rem}body[data-page=admin] .setup-facts dd{margin-bottom:.7rem}body[data-page=admin] .admin-guide,body[data-page=admin] .attention-card{padding:1rem}}
/* Dictionary choices keep meanings, evidence and the selection action together. */
.wording-results{display:grid;gap:1rem;margin:1rem 0}.wording-choice{border:1px solid var(--line,#63788a);border-radius:14px;padding:1rem;min-width:0}.wording-choice h3{font:600 1rem/1.45 system-ui;margin:0 0 .55rem;overflow-wrap:anywhere}.wording-choice p{margin:.55rem 0}.wording-choice details{margin:1rem 0;overflow-wrap:anywhere}.wording-choice .primary{width:100%}.wording-runes{font-size:1.65rem;overflow-wrap:anywhere}.norse-wording{font-size:1.15rem;color:#bfdfdc}.chosen-wording:not(:empty){border-left:3px solid #baded8;padding:.7rem;line-height:1.5}.writing label{margin-top:1rem}
/* A short owner home: the full records stay behind their buttons. */
.simple-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.simple-admin-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:0}.simple-admin-card h2{font-size:1.5rem;margin:0}.simple-admin-card p,.simple-admin-card small{margin:0}.simple-admin-card small{color:#b6c4cd;line-height:1.45}.simple-admin-card .source-link{display:block;margin-top:4px}.tax-packet-card{grid-column:1/-1;border-color:#baded8}.tax-packet-card label{max-width:240px;width:100%}.compact-attention{margin:0 0 18px;padding:14px 18px;border:1px solid #a88950;border-radius:12px}.compact-attention>summary{font-weight:600}.compact-attention .attention-list{margin-top:14px}.document-card details{margin-top:14px}.document-card h3{margin-top:0}body[data-page="admin"] .intro{padding-bottom:12px}body[data-page="admin"] #admin-global-message:empty{display:none}@media(max-width:640px){.simple-admin-grid{grid-template-columns:1fr}.tax-packet-card{grid-column:auto}.simple-admin-card .button-row{width:100%}.simple-admin-card .button-row .primary{width:100%;text-align:center}}

/* Each wording choice reads as runes, then its English meaning. */
.wording-choice .wording-runes{font-size:2rem;line-height:1.5;margin:0 0 .45rem;color:var(--text,#eef4f4)}.wording-choice .wording-meaning{font-size:1.15rem;line-height:1.45;margin:0 0 1rem}.wording-choice details{font-size:.88rem;margin:.7rem 0}.wording-choice details[open]{padding:.6rem 0}.wording-choice summary{color:#b8d8d5}.wording-meaning{font-weight:600}
/* Public shopping experience. Private administration keeps its existing theme. */
body:is([data-page=store],[data-page=learn],[data-page=policy]){--panel:#101d30;--line:#2e415d;--muted:#acbad0;--accent:#417cff;--ink:#fff;--gold:#a9c8ff;background:radial-gradient(ellipse at 80% 0,#11233e 0,transparent 42%),#080f1c;color:#edf3ff}
body:is([data-page=store],[data-page=learn],[data-page=policy]) .header{background:#080f1cf2;border-bottom:1px solid #22324a;backdrop-filter:blur(14px)}
body:is([data-page=store],[data-page=learn],[data-page=policy]) a{color:#aecbff}
body:is([data-page=store],[data-page=learn],[data-page=policy]) button.primary{background:#417cff;color:#fff;border-color:#417cff;box-shadow:0 6px 20px #1047b62b}
body:is([data-page=store],[data-page=learn],[data-page=policy]) button:focus-visible,body:is([data-page=store],[data-page=learn],[data-page=policy]) a:focus-visible{outline:3px solid #b7d4ff;outline-offset:3px}
body[data-page=store] .shop-intro{padding:2.2rem 0 1.1rem;max-width:unset}body[data-page=store] .shop-intro h1{font-size:clamp(2.25rem,5vw,4rem);letter-spacing:-.035em;line-height:1.05;margin:.4rem 0 .7rem}.shop-intro p{margin:.3rem 0}.shop-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-width:680px;margin:1rem auto .5rem}.shop-steps button{display:flex;align-items:center;justify-content:center;gap:.65rem;border:1px solid transparent;border-bottom:2px solid #2e415d;border-radius:12px 12px 0 0;color:var(--muted);background:transparent;padding:.9rem .4rem}.shop-steps button span{display:inline-grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;background:#1b2a42;font-size:.8rem}.shop-steps button[aria-current=step]{background:#152d52;border-color:transparent;border-bottom-color:#6299ff;color:#fff}.shop-steps [aria-current=step] span{background:#417cff}.draft-note{text-align:center;color:var(--muted);font-size:.75rem;margin:.55rem 0 1.5rem}
body[data-page=store] .designer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr);align-items:start;gap:2rem}body[data-page=store] .preview-panel{position:sticky;top:90px;align-self:start;background:linear-gradient(145deg,#13253d,#0e1726);border:1px solid var(--line);border-radius:24px;padding:1rem;min-width:0}.shop-controls{min-width:0}.shop-controls h2{font-size:1.8rem;margin:0 0 1.2rem}body[data-page=store] .selection{padding:0;border:0;background:transparent;margin:0 0 1rem;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=store] .selection .wide,body[data-page=store] .selection .quiet{grid-column:1/-1}.clothing-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.clothing-card{border:1px solid var(--line);padding:0;overflow:hidden;text-align:left;border-radius:16px;background:#111e31;min-width:0}.clothing-card img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f5f6f7}.clothing-card strong,.clothing-card small{display:block;padding:.7rem .75rem 0;font-size:.78rem;line-height:1.4}.clothing-card small{padding:.3rem .75rem .75rem;color:var(--muted);font-weight:400;font-size:.7rem}.clothing-card[aria-pressed=true]{border:2px solid #649dff;box-shadow:0 0 0 2px #1f3962}.clothing-card:hover{border-color:#80adff}#selected-product-name{font-size:1rem;line-height:1.4;margin:.75rem 0 .35rem}.facts{font-size:.78rem}#start-design{width:100%;min-height:52px}.writing-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.4rem 0 1.2rem}.writing-methods button{padding:.75rem .4rem;border-radius:14px;text-align:center;min-width:0;border:1px solid var(--line);background:#0c1728}.writing-methods strong{font-size:.82rem;display:block}.writing-methods span{font-size:.68rem;font-weight:400;color:var(--muted);display:block;margin-top:.25rem}.writing-methods button[aria-pressed=true]{border-color:#649dff;background:#172f54;color:#fff}.writing-methods button[aria-pressed=true] span{color:#c4d7f6}body[data-page=store] .writing{border:0;background:transparent;padding:0}.layout-adjustments{border:1px solid var(--line);border-radius:16px;padding:.85rem 1rem;margin:1.2rem 0}.layout-adjustments summary{font-weight:650;color:#cbdfff}.layout-adjustments .sliders{padding-top:1rem;display:grid;gap:1rem}.rune-design-label textarea{font-size:1.65rem;background:#081323;min-height:105px}body[data-page=store] .side-tabs button[aria-pressed=true]{background:#417cff;color:#fff;border-color:#417cff}body[data-page=store] .side-tabs{margin:0 0 1rem}body[data-page=store] .canvas-wrap{min-width:0}body[data-page=store] .garment-stage{gap:.55rem}body[data-page=store] .swatch{width:34px;height:34px}.order-policy-note,.transfer-note{padding:1rem;border:1px solid var(--line);border-radius:14px;font-size:.85rem;background:#101d30}.transfer-note .primary{margin-right:.5rem}body[data-page=store] #cart{max-width:850px;margin:1.5rem auto}body[data-page=store] #cart h2{margin:0}body[data-page=store] #cart .panel{border-radius:20px}body[data-page=learn] .learning{max-width:850px;margin:auto}body[data-page=learn] .policy{max-width:850px;margin:1.5rem auto}body[data-page=learn] .intro{padding-bottom:1rem}.help-topics{margin-top:2rem}.help-topics details{padding:1rem 0;border-top:1px solid var(--line)}body[data-page=policy] .policy{max-width:780px}
@media(max-width:800px){body[data-page=store] .designer-grid{grid-template-columns:minmax(0,1fr);gap:1.4rem}body[data-page=store] .preview-panel{position:static;max-width:520px;margin:auto;width:100%;padding:.8rem}body[data-page=store][data-shop-step="0"] .preview-panel{display:none}.shop-steps{gap:.15rem}.shop-steps button{gap:.4rem;font-size:.83rem}.shop-intro .eyebrow{font-size:.68rem}body[data-page=store] .shop-intro{padding-top:1.3rem}.clothing-gallery{gap:.7rem}body[data-page=store] .garment-stage{max-width:400px;margin:auto}body[data-page=store] #image-status{font-size:.68rem}.writing-methods strong{font-size:.75rem}.writing-methods span{font-size:.62rem}.shop-controls h2{font-size:1.5rem}.draft-note{margin-bottom:1rem}body[data-page=store] .preview-panel canvas{max-height:350px;object-fit:contain}body[data-page=learn] .button-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body[data-page=store] *{scroll-behavior:auto!important}}
/* Standalone Shopping product links reuse the store's palette and controls. */
body[data-page=product]{--panel:#101d30;--line:#2e415d;--muted:#acbad0;--accent:#417cff;--ink:#fff;--gold:#a9c8ff;background:radial-gradient(ellipse at 80% 0,#11233e 0,transparent 42%),#080f1c;color:#edf3ff}
body[data-page=product] .header{background:#080f1c;border-bottom:1px solid #22324a}body[data-page=product] a{color:#aecbff}body[data-page=product] .primary{background:#417cff;color:#fff;border-color:#417cff}body[data-page=product] .intro{padding:2rem 0 1rem;max-width:850px}body[data-page=product] h1{font-size:clamp(2rem,4.3vw,3.4rem)}body[data-page=product] .final-previews{margin:0}body[data-page=product] .final-previews figure{max-width:none}body[data-page=product] .panel h2{font-family:inherit;font-size:1rem;margin:1rem 0 .5rem}body[data-page=product] dl{display:grid;grid-template-columns:1fr 1fr;gap:.3rem 1rem;font-size:.85rem}body[data-page=product] dt{color:var(--muted)}body[data-page=product] dd{margin:0}body[data-page=product] .price{font-size:2rem;margin-bottom:.4rem}body[data-page=product] .panel>p{font-size:.9rem}body[data-page=product] .panel>.price{font-size:2rem}body[data-page=product] .panel>.primary{display:block;font-size:1rem}body[data-page=product] .button-row{gap:.45rem;margin:.5rem 0 1rem}body[data-page=product] .button-row .button{font-size:.8rem;padding:.65rem .8rem}
@media(max-width:800px){body[data-page=product] .designer-grid{grid-template-columns:minmax(0,1fr);gap:1rem}body[data-page=product] .preview-panel{position:static}body[data-page=product] .final-previews{max-width:540px;margin:auto}body[data-page=product] .intro{padding-top:1.4rem}}
.canvas-wrap .garment-inscription{border-top:1px solid var(--line);padding:.65rem 0 .2rem;overflow-wrap:anywhere}.canvas-wrap .garment-inscription p{margin:.3rem 0}.canvas-wrap .garment-inscription .garment-inscription-runes{font-size:1.6rem;line-height:1.45;white-space:pre-wrap;color:var(--ink)}.canvas-wrap .garment-inscription .garment-inscription-meaning{font-size:1rem;font-weight:600;white-space:pre-wrap}.wording-results+.muted{font-size:.8rem}#wording-finder textarea,#learn-wording-finder textarea{min-height:95px;resize:vertical}
.review-progress{padding:1rem 1.25rem;margin:1rem 0;border:1px solid var(--border,#344b67);border-radius:16px;background:#102033}.review-progress h3{margin:0 0 .5rem}.review-progress .preview-spinner{float:right;width:24px;height:24px;margin:0}.review-progress .preview-stages{display:flex;gap:1rem;padding:0;list-style:none;font-size:.8rem}.review-progress .preview-elapsed{display:inline-block;margin-right:1rem;font-size:.8rem}.review-progress p{margin:.5rem 0}.final-previews canvas{display:block;width:100%;height:auto;border-radius:12px}.final-previews .garment-inscription-runes{overflow-wrap:anywhere}

/* Empty status containers do not leave ornamental bars or gaps. */
.status:empty,#image-status:empty{display:none}
.reading-table-wrap{max-width:100%;overflow-x:auto;margin:1rem 0}.reading-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left}.reading-table caption{text-align:left;color:var(--muted);font-size:.85rem;padding-bottom:.5rem}.reading-table th,.reading-table td{padding:.7rem .55rem;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}.reading-table th{font-size:.82rem}.reading-table .reading-runes{font-size:1.3rem;line-height:1.5}.wording-study{border-top:1px solid var(--line);padding-top:.8rem}.wording-study>summary,.study-history>summary{font-weight:650;font-size:1rem}.wording-study[open]>div{padding-top:.5rem}.study-history{margin:1rem 0}.learning .inscription-rune-list .rune-history{font-size:.9rem;line-height:1.6}.learning button:disabled{opacity:.5;cursor:default}.learning [tabindex="-1"]:focus{outline:2px solid #8db9ff;outline-offset:5px}.learning .rune-output:empty{display:none}#meaning-reading:not(:empty),#learn-spelling-reading:not(:empty){margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:12px}
.header nav a[aria-current="page"]{position:relative;isolation:isolate;color:#edf7ff;text-decoration:none;text-shadow:0 0 14px #79b4ff66}
.header nav a[aria-current="page"]::before,.header nav a[aria-current="page"]::after{content:"";position:absolute;pointer-events:none;left:50%;transform:translateX(-50%);border-radius:50%}
.header nav a[aria-current="page"]::before{width:calc(100% + 18px);height:16px;bottom:-12px;background:radial-gradient(ellipse at center,#4995ff77 0%,#397eff33 40%,transparent 72%);filter:blur(3px)}
.header nav a[aria-current="page"]::after{width:calc(100% + 4px);height:2px;bottom:-6px;background:linear-gradient(90deg,transparent,#79b5ff 35%,#c5e5ff 50%,#79b5ff 65%,transparent);box-shadow:0 2px 7px #4b91ff66}
.final-previews.cart-clothing-gallery{display:block;min-width:0;padding:12px 0 0}
.cart-side-controls{display:flex;gap:8px;margin:0 0 12px}
.cart-price{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;margin:4px 0 8px}.cart-price strong{font-size:1.65rem;color:#eaf3ff;font-variant-numeric:tabular-nums}.cart-price>span{color:#bad6f7;font-size:.9rem}.cart-price small{grid-column:1/-1;color:var(--muted);font-size:.82rem}
.cart-side-controls button{flex:1;min-height:44px;border-color:#345574;color:#c7dbf4}
.cart-side-controls button[aria-pressed=true]{background:#203f68;border-color:#85b8f3;color:#fff;box-shadow:inset 0 -2px #83b8ff}
.cart-clothing-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;border-radius:12px}
.cart-clothing-track::-webkit-scrollbar{display:none}
.cart-clothing-track .cart-clothing-side{position:relative;flex:0 0 100%;width:100%;min-width:0;max-width:none;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.cart-clothing-side canvas{display:block;width:100%;height:auto;max-height:none;border-radius:12px;background:#111a26;touch-action:pan-x pan-y pinch-zoom}
.cart-clothing-side .quiet{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#0b192b}

/* Retail price for the selected clothing variant, before design. */
.clothing-card-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:auto;padding-top:.35rem}.clothing-card-price{font-size:1.3rem;color:var(--text,#edf3ff)}.clothing-card-price-row small{color:var(--muted,#b4c6dd);font-size:.8rem}

#cart-items{display:grid;gap:1.25rem;margin-bottom:1.25rem}.cart-item h3{margin-top:0}.cart-item .button-row{justify-content:flex-end}.cart-item .final-previews{margin-top:1rem}.cart-item .cart-price{margin-bottom:0}#cart-price small{grid-column:1/-1}

/* Private branding and marketplace preparation. */
#panel-branding{width:100%;min-width:0;max-width:1120px;margin-inline:auto}#panel-branding>div.split{margin-bottom:1rem}#panel-branding h2{font-size:1.8rem}#admin-branding h3{font-size:1.2rem;margin:0 0 .55rem}#admin-branding h4{font-size:.95rem;margin:0 0 .4rem}#admin-branding .split{align-items:center;flex-wrap:wrap}#admin-branding .badge{flex:none}#admin-branding .section-help,#admin-branding .muted{font-size:.86rem;line-height:1.6}.branding-pending{border-color:#927449;color:#f1d5a9}.branding-policy{background:linear-gradient(120deg,#1c3043,#172638);border-color:#425b73}.branding-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.branding-metrics>div{border-left:2px solid #658fb8;padding-left:1rem}.branding-metrics dt{color:var(--muted);font-size:.82rem}.branding-metrics dd{margin:.3rem 0 0;font-size:2rem;font-weight:650;line-height:1.2}.branding-cost{margin:1.3rem 0 0;padding-top:1rem;border-top:1px solid #3c5064;font-size:.88rem;line-height:1.7;color:#dce7f4}.branding-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.2rem;align-items:start}.branding-top-grid>.panel{height:100%;margin-bottom:0;min-width:0}.branding-top-grid{margin-bottom:1.2rem}.branding-label-previews figure{margin:0}.branding-label-previews img{display:block;max-width:100%;width:100%;height:auto;object-fit:contain;border-radius:10px}.branding-label-overview img{max-height:220px;background:#d5d7d5}.branding-label-previews figcaption{font-size:.75rem;text-align:center;padding:.5rem;color:var(--muted)}.branding-label-inks{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8rem;margin-top:.8rem}.branding-label-inks img{height:130px;padding:.7rem}.branding-label-black img{background:#e5e6e3}.branding-label-white img{background:#0c1320}.branding-checklist{padding:0;margin:1rem 0;list-style:none;counter-reset:brand-steps}.branding-checklist>li{counter-increment:brand-steps;position:relative;padding:.85rem 0 .85rem 2rem;border-top:1px solid var(--line)}.branding-checklist>li:before{content:counter(brand-steps);position:absolute;left:0;top:.9rem;font-size:.78rem;font-weight:700;color:var(--gold)}.branding-checklist strong{font-size:.86rem}.branding-checklist p{margin:.4rem 0 0}.branding-notice{border-left:3px solid #9c835e;background:#40352038;padding:.75rem 1rem;margin:1rem 0 0;font-size:.85rem;line-height:1.7}.branding-routes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.6rem 1.5rem}.branding-routes>h3,.branding-routes>.section-help{grid-column:1/-1}.branding-routes article{padding:.8rem 0}.branding-flow{font-size:1.05rem;line-height:1.7;color:#d4e8ff;margin:.65rem 0;overflow-wrap:anywhere}.branding-routes .muted{margin:0}.branding-product-group{margin-top:.6rem;border-top:1px solid var(--line)}.branding-product-group>summary{font-weight:650;font-size:.9rem;padding:1rem 0}.branding-product-row{display:flex;gap:1rem;align-items:start;justify-content:space-between;border-top:1px solid var(--line);padding:1rem 0;overflow-wrap:anywhere}.branding-product-row>div{min-width:0}.branding-product-row p{margin:.25rem 0 0}.branding-product-row .badge{margin-top:.2rem}.branding-draft-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:1rem;align-items:end;margin:1.3rem 0}.branding-draft-form label{min-width:0;font-size:.86rem}.branding-draft-form input,.branding-draft-form select{width:100%}.branding-draft-form button{min-height:44px}.branding-draft-status{grid-column:1/-1;margin:0;font-size:.87rem;line-height:1.6;color:#cbe3ff}.branding-draft-status:empty{display:none}.branding-draft-list{margin-top:1.5rem}.branding-draft-list>h4{padding-bottom:.5rem}
@media(max-width:760px){.branding-top-grid,.branding-routes{grid-template-columns:minmax(0,1fr)}.branding-draft-form{grid-template-columns:minmax(0,1fr)}.branding-metrics{gap:.5rem}.branding-metrics>div{padding-left:.6rem}.branding-metrics dt{font-size:.72rem}.branding-metrics dd{font-size:1.6rem}.branding-product-row{flex-wrap:wrap}.branding-product-row>.badge{margin:0}.branding-flow{font-size:.96rem}.branding-top-grid>.panel{height:auto}}

#admin-branding,.branding-top-grid>*,.branding-routes>*,.branding-draft-form>*,.branding-label-inks>*,#panel-branding .panel{min-width:0;max-width:100%}#panel-branding input,#panel-branding select{min-width:0;max-width:100%}

/* Private Amazon drafts: artwork and editable listing copy stay together. */
#admin-branding .amazon-preparation{margin-bottom:2rem;min-width:0}
#admin-branding .amazon-overview{background:linear-gradient(120deg,#1a3539,#142b35);border-color:#608b88;padding:1.5rem}
#admin-branding .amazon-overview h3{font-size:1.65rem;margin:0 0 .65rem;font-family:Georgia,serif}
#admin-branding .amazon-overview .eyebrow{margin-bottom:.5rem;color:#b0d5c9}
#admin-branding .amazon-overview>.section-help{max-width:830px;margin:.4rem 0 1rem}
#admin-branding .amazon-active{border-color:#75ab97;color:#d6f2dc;background:#24493d}
#admin-branding .amazon-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr);gap:1rem;margin:1.3rem 0 1.5rem}
#admin-branding .amazon-metrics>div{border-left:2px solid #608b88;padding-left:1rem;min-width:0}
#admin-branding .amazon-metrics dt{font-size:.78rem;color:#b1c9cc;line-height:1.5}
#admin-branding .amazon-metrics dd{font-size:1.8rem;font-weight:650;line-height:1.35;margin:.25rem 0 0;overflow-wrap:anywhere}
#admin-branding .amazon-metrics>div:last-child dd{font-size:1rem;padding-top:.3rem}
#admin-branding .amazon-controls{justify-content:flex-start;gap:.7rem;margin:0 0 .7rem;flex-wrap:wrap}
#admin-branding .amazon-status{font-size:.88rem;color:#d5efeb;line-height:1.55;margin:.6rem 0;overflow-wrap:anywhere}
#admin-branding .amazon-status:empty{display:none}
#admin-branding .amazon-single-design{margin:1.1rem 0;font-size:.86rem}
#admin-branding .amazon-single-design>summary,#admin-branding .amazon-readiness>summary{padding:.35rem 0;line-height:1.5;font-weight:650}
#admin-branding .amazon-single-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.85rem;align-items:end;padding-top:.8rem}
#admin-branding .amazon-single-row>*{min-width:0}
#admin-branding .amazon-single-row button{min-height:46px}
#admin-branding .amazon-readiness{border-top:1px solid #45686c;margin-top:1.2rem;padding-top:.8rem;font-size:.9rem}
#admin-branding .amazon-account-checks{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.65rem;font-size:.86rem}
#admin-branding .amazon-account-checks li{display:flex;gap:.65rem;align-items:start}
#admin-branding .amazon-check{color:#c3e7d4;flex:none;line-height:1.5}
#admin-branding .amazon-blockers{padding-left:1.2rem;margin:1rem 0}
#admin-branding .amazon-blockers li{padding:.35rem 0}
#admin-branding .amazon-blockers p{margin:.3rem 0}
#admin-branding .amazon-warning{border-left:3px solid #d6b278;padding:.7rem .9rem;background:#49391f66;color:#f4deb8;font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}
#admin-branding .amazon-library>.split{margin:1.25rem 0 1rem;gap:1rem;align-items:end}
#admin-branding .amazon-library>.split>label{width:min(100%,340px)}
#admin-branding .amazon-draft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}
#admin-branding .amazon-draft-card{border:1px solid var(--line);border-radius:15px;background:#142532;min-width:0;overflow:hidden}
#admin-branding .amazon-draft-preview{margin:0;aspect-ratio:1.3;background:#dfe7e8;display:grid;place-items:center;overflow:hidden}
#admin-branding .amazon-draft-preview img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
#admin-branding .amazon-draft-preview p{padding:1rem;color:#344c53;text-align:center;line-height:1.5}
#admin-branding .amazon-draft-copy{padding:1rem;min-width:0}
#admin-branding .amazon-draft-copy h4{font-size:1rem;line-height:1.5;overflow-wrap:anywhere;margin:.55rem 0}
#admin-branding .amazon-draft-copy>.muted{line-height:1.5;margin-bottom:.7rem}
#admin-branding .amazon-draft-state{display:block;font-size:.72rem;font-weight:600;color:#dfcdaa;line-height:1.4}
#admin-branding .amazon-draft-facts{display:flex;gap:.4rem 1rem;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
#admin-branding .amazon-draft-facts strong{font-size:1.1rem;color:#eef7ee;font-variant-numeric:tabular-nums}
#admin-branding .amazon-draft-facts span{font-size:.76rem;color:var(--muted)}
#admin-branding .amazon-label-note{font-size:.76rem;color:#bedacf;margin:.6rem 0 1rem;line-height:1.4}
#admin-branding .amazon-draft-copy .button-row{gap:.5rem;flex-wrap:wrap;justify-content:flex-start;margin:0}
#admin-branding .amazon-draft-copy button,#admin-branding .amazon-draft-copy .button{font-size:.8rem;padding:.6rem .8rem;min-height:40px}
#admin-branding .amazon-more{margin:.35rem 0 1rem}
#admin-branding .amazon-library>.muted{margin:1rem 0 .5rem}
#admin-branding .amazon-draft-open{grid-column:1/-1;display:grid;grid-template-columns:240px minmax(0,1fr);border-color:#81a6a9}
#admin-branding .amazon-draft-open>.amazon-draft-preview{height:100%;min-height:180px;aspect-ratio:auto}
#admin-branding .amazon-draft-review{grid-column:1/-1;padding:1.25rem;border-top:1px solid #435f6b}
#admin-branding .amazon-draft-review[hidden]{display:none}
#admin-branding .amazon-copy-form{display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem}
#admin-branding .amazon-copy-form p{margin:0}
#admin-branding .amazon-copy-form>button{justify-self:start}
#admin-branding .amazon-copy-form label{font-size:.86rem}
#admin-branding .amazon-copy-form textarea{font-size:.9rem;line-height:1.6;max-width:100%;min-width:0}
#admin-branding .amazon-copy-form input{font-size:.95rem}
#admin-branding .amazon-variants{margin:1.25rem 0;border-top:1px solid var(--line);padding-top:1rem}
#admin-branding .amazon-variants>summary{font-size:.9rem;font-weight:650;line-height:1.5}
#admin-branding .amazon-variants>.muted{margin:.6rem 0}
#admin-branding .amazon-table-wrap{overflow-x:auto;max-width:100%;margin-top:.8rem}
#admin-branding .amazon-table-wrap table{width:100%;border-collapse:collapse;text-align:left;font-size:.8rem}
#admin-branding .amazon-table-wrap caption{text-align:left;color:var(--muted);font-size:.78rem;line-height:1.5;padding:.4rem 0 .8rem}
#admin-branding .amazon-table-wrap th,#admin-branding .amazon-table-wrap td{padding:.65rem .7rem .65rem 0;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
#admin-branding .amazon-table-wrap td:last-child{font-size:.72rem;max-width:210px}
#admin-branding .amazon-draft-checks{margin:1.25rem 0}
#admin-branding .amazon-draft-checks p{margin:.5rem 0}
#admin-branding .amazon-downloads{justify-content:flex-start;gap:.6rem;flex-wrap:wrap;margin:1.25rem 0 .7rem}
@media(max-width:950px){#admin-branding .amazon-draft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#admin-branding .amazon-overview{padding:1.1rem}#admin-branding .amazon-overview h3{font-size:1.4rem}#admin-branding .amazon-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .6rem}#admin-branding .amazon-metrics>div:last-child{grid-column:1/-1}#admin-branding .amazon-metrics dd{font-size:1.5rem}#admin-branding .amazon-controls>button{width:100%}#admin-branding .amazon-single-row{grid-template-columns:minmax(0,1fr)}#admin-branding .amazon-draft-grid{grid-template-columns:minmax(0,1fr)}#admin-branding .amazon-library>.split>label{width:100%}#admin-branding .amazon-draft-open{grid-template-columns:minmax(0,1fr)}#admin-branding .amazon-draft-open>.amazon-draft-preview{height:auto;min-height:0;aspect-ratio:1.3}#admin-branding .amazon-draft-review{padding:1rem}#admin-branding .amazon-copy-form>button{width:100%}#admin-branding .amazon-downloads>.button{width:100%}}

/* Order sources share one private view while keeping marketplace finances distinct. */
#panel-orders .filter-bar{grid-template-columns:minmax(180px,2fr) minmax(150px,1.2fr) minmax(130px,1fr) minmax(120px,1fr) auto}
.order-source-badge{margin:.45rem 0 .7rem}.source-amazon{color:#ffe1ad;border-color:#967744;background:#40321f}.source-website{color:#c0e9ed;border-color:#527983;background:#18343b}
.amazon-order-sync{line-height:1.5}.amazon-order-sync p{margin:.35rem 0 0}.amazon-order-sync strong{font-size:.9rem}.order-toolbar{margin-top:.7rem}.order-toolbar a{font-size:.83rem}
#full-order>.order-source-badge{display:block;width:max-content}#full-order>.order-source-badge+button{margin:.25rem 0 .6rem}
@media(max-width:950px){#panel-orders .filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}#panel-orders .filter-bar label:first-child{grid-column:1/-1}}
@media(max-width:500px){#panel-orders .filter-bar{grid-template-columns:minmax(0,1fr)}#panel-orders .order-toolbar>*{width:100%}}
#admin-branding .amazon-pricing-plan{border-top:1px solid var(--line);padding-top:1rem;margin-top:1rem}#admin-branding .amazon-pricing-plan .detail-list{max-width:560px}#admin-branding .amazon-variants td:nth-child(5){white-space:pre-line;min-width:220px}#admin-branding .amazon-variants th:nth-child(3),#admin-branding .amazon-variants th:nth-child(4){min-width:110px}
