:root{color-scheme:light;--paper:#f7f5f0;--white:#fff;--ink:#30352f;--muted:#73766e;--line:#dedfd7;--accent:#77534b;--soft:#f0e9e2;--green:#43624e;--danger:#9d332e;--radius:14px;--shadow:0 8px 32px rgb(42 45 35 / 5%);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.52}a{color:inherit}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(23px,3vw,31px);line-height:1.25;letter-spacing:-.035em;margin-bottom:12px}h2{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin-bottom:10px}h3{font-size:16px;line-height:1.4;margin-bottom:8px}p{margin-bottom:16px}[hidden]{display:none!important}:focus-visible{outline:3px solid #ad8051;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #cfd2c7;border-radius:8px;background:#fff;padding:11px 12px;min-height:44px;box-shadow:0 1px 2px rgb(35 40 30 / 2%)}input::placeholder,textarea::placeholder{color:#878b80}textarea{resize:vertical;line-height:1.55;min-height:124px}input:focus,select:focus,textarea:focus{outline:2px solid #af927b;outline-offset:1px;border-color:#af927b}input[type=checkbox]{width:19px;min-height:19px;height:19px;accent-color:var(--ink);flex:0 0 auto;padding:0;box-shadow:none}input[type=date]{min-width:0}input[type=number]{font-variant-numeric:tabular-nums}button{touch-action:manipulation}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 15px;min-height:44px;text-decoration:none;font-weight:600;font-size:14px;line-height:1.35;white-space:nowrap}.primary{background:var(--ink);color:#fff}.primary:hover:not(:disabled){background:#485142}.secondary{background:#fff;border-color:#cfd2c7}.secondary:hover:not(:disabled){background:#f6f6f2}.quiet{background:transparent;color:#62675d}.quiet:hover:not(:disabled){background:#edece6;color:var(--ink)}.danger-button{color:var(--danger);border-color:#dec7c2;background:white}.danger-button:hover:not(:disabled){background:#fff4f1}.full-width{width:100%}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700;color:var(--accent);margin-bottom:12px}.small{font-size:13px}.quiet-link{color:var(--muted);text-underline-offset:4px;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-80px;left:16px;padding:12px;z-index:50;background:#fff}.skip-link:focus{top:12px}.loading-screen{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:20px}.auth-shell{min-height:100vh;padding:36px 20px;display:grid;place-items:center}.auth-card{width:100%;max-width:455px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:36px}.auth-logo{margin-bottom:30px}.auth-card h1{font-size:27px}.auth-card .quiet-link{display:block;text-align:center;margin-top:24px}.auth-card .button{margin-top:20px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;margin-bottom:20px}.field>span,.field-heading{font-weight:600;font-size:14px}.field small,.field-hint{font-size:12px;line-height:1.5;color:var(--muted);font-weight:400}.checkline{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:14px;line-height:1.5}.checkline input{margin-top:2px}.checkline strong{display:block;font-size:15px}.checkline small{display:block;margin-top:2px;color:var(--muted);font-size:12px}.checkline.compact{font-size:13px}.admin-header{padding:20px clamp(20px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;gap:22px;align-items:center}.brand img{width:112px;object-fit:contain}.brand strong{display:block;font-size:16px}.brand span{display:block;color:var(--muted);font-size:12px}.header-actions{display:flex;align-items:center;gap:6px}.main-nav{padding:0 clamp(20px,4vw,56px);display:flex;gap:27px;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line);scrollbar-width:thin}.main-nav button{flex-shrink:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:17px 0 14px;font-size:14px;font-weight:600;color:var(--muted);min-height:50px}.main-nav button[aria-current=page]{color:var(--ink);border-bottom-color:var(--accent)}.workspace{max-width:1520px;margin:auto;padding:30px clamp(20px,4vw,56px) 135px}.content-layout{display:grid;grid-template-columns:minmax(245px,300px) minmax(0,1fr);gap:30px;align-items:start}.content-layout.single{display:block;max-width:970px;margin:0 auto}.product-sidebar{position:sticky;top:20px;background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.product-sidebar summary{list-style:none;padding:20px 18px 14px;font-size:15px;font-weight:700;display:flex;gap:8px;align-items:center;cursor:default;pointer-events:none}.product-sidebar summary::-webkit-details-marker{display:none}.count{color:var(--muted);font-weight:500;font-size:12px}.directory-controls{padding:0 14px 16px;display:grid;gap:10px;border-bottom:1px solid var(--line)}.directory-controls input,.directory-controls select{font-size:13px;min-height:41px}.product-list{max-height:calc(100vh - 350px);min-height:180px;overflow:auto;padding:7px}.product-item{display:flex;align-items:center;gap:10px;width:100%;padding:11px 9px;border:1px solid transparent;border-radius:8px;text-align:left;background:transparent}.product-item:hover{background:#f7f6f2}.product-item[aria-pressed=true]{border-color:#d9cabe;background:#f3ece5}.product-item img{width:34px;height:46px;object-fit:contain;flex:0 0 auto}.product-item span{font-size:13px;line-height:1.4;min-width:0}.product-item strong{font-weight:600;display:block;overflow-wrap:anywhere}.product-item small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.product-item .out-label{color:var(--danger)}.list-empty{padding:24px 12px;font-size:13px;color:var(--muted);text-align:center}.editor{min-width:0;outline:none}.editor-head{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:23px}.editor-head p{margin-bottom:0;font-size:13px}.product-head{display:flex;gap:22px;align-items:center;min-width:0}.product-head .product-photo{width:80px;height:110px;object-fit:contain;flex:0 0 auto;background:var(--white);padding:5px;border-radius:10px}.product-head h1{font-size:clamp(22px,2.3vw,28px);overflow-wrap:anywhere}.product-head a{font-size:13px;text-underline-offset:3px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:22px;box-shadow:0 2px 8px rgb(35 40 30 / 2%)}.card>:last-child{margin-bottom:0}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.card-heading h2{margin:0}.card-heading p{margin:7px 0 0;font-size:13px;color:var(--muted)}.language-tabs{display:inline-flex;background:#f1f2ec;border-radius:8px;padding:3px;gap:3px;flex-shrink:0}.language-tabs button{border:0;background:transparent;min-width:43px;min-height:35px;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:700;color:var(--muted)}.language-tabs button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 5px rgb(20 25 20 / 8%)}.language-note{font-size:12px;color:var(--muted);margin:-6px 0 18px}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.prices-table{width:100%;border-collapse:collapse;margin-top:18px;table-layout:fixed}.prices-table th{text-align:left;font-size:12px;color:var(--muted);font-weight:500;padding:0 12px 10px 0;border-bottom:1px solid var(--line)}.prices-table th:first-child{width:36%}.prices-table th:last-child{width:29%;padding-right:0}.prices-table td{padding:15px 12px 15px 0;border-bottom:1px solid #eeeFE8;vertical-align:middle;overflow-wrap:anywhere}.prices-table td:last-child{padding-right:0}.prices-table tr:last-child td{border-bottom:0}.variant-name{font-size:14px;font-weight:600}.price-input{position:relative;max-width:160px}.price-input input{padding-right:44px;appearance:textfield;-moz-appearance:textfield}.price-input input::-webkit-inner-spin-button,.price-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.price-input span{position:absolute;right:11px;top:12px;pointer-events:none;font-size:12px;color:var(--muted)}.availability-block{background:#f7f8f4;border:1px solid #e2e6dc;border-radius:10px;padding:15px}.availability-block.unavailable{background:#fff6ef;border-color:#ebd8ca}.availability-block .checkline strong{font-size:14px}.promotion-body{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.date-hint{color:var(--muted);font-size:12px;margin:-4px 0 20px}.empty-state{text-align:center;padding:36px 24px;color:var(--muted)}.empty-state h2{color:var(--ink)}.group-filter{max-width:420px;margin-bottom:22px}.text-editor-field{padding-top:8px;padding-bottom:22px;border-bottom:1px solid #eeeee9;margin-bottom:22px}.text-editor-field:last-child{border:0;padding-bottom:0;margin-bottom:0}.text-editor-field .field{margin-bottom:7px}.text-editor-field .quiet-link{font-size:12px}.history-current{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0 20px}.history-list{list-style:none;padding:0;margin:0}.history-list li{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.history-list li:last-child{border:0}.history-list strong{display:block;font-size:14px;font-weight:600}.history-list span{font-size:12px;color:var(--muted)}.settings-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.password-fields{max-width:520px}.notice{background:#ecf2e9;border:1px solid #cbdac5;color:#354a2e;border-radius:10px;padding:14px 16px;margin-bottom:22px;font-size:14px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start;overflow-wrap:anywhere}.notice.error{background:#fff2ee;border-color:#e7c8bd;color:#8e342c}.notice.warning{background:#fff8e9;border-color:#e4d5aa;color:#785c24}.notice button{border:0;background:transparent;color:inherit;font-size:23px;line-height:1;min-width:24px;min-height:24px;padding:0}.action-bar{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px clamp(20px,4vw,56px) max(16px,env(safe-area-inset-bottom));background:rgb(255 255 255 / 97%);backdrop-filter:blur(12px);border-top:1px solid var(--line);box-shadow:0 -4px 20px rgb(30 40 25 / 3%)}.save-state{min-width:0}.save-state small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.state-pill{font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:7px;color:var(--green)}.state-pill:before{content:"";width:7px;height:7px;border-radius:100%;background:currentColor}.state-pill.dirty{color:#98702e}.state-pill.draft{color:var(--accent)}.publish-actions{display:flex;gap:10px;align-items:center}dialog{max-width:470px;width:calc(100% - 36px);border:1px solid var(--line);padding:30px;border-radius:18px;box-shadow:0 16px 80px rgb(0 0 0 / 20%);color:var(--ink)}dialog::backdrop{background:rgb(30 34 28 / 40%);backdrop-filter:blur(3px)}dialog p{font-size:14px;color:var(--muted);white-space:pre-line}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.loading-indicator{opacity:.65;pointer-events:none}.settings-explanation{font-size:13px;color:var(--muted);max-width:630px}.settings-status{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
@media(min-width:851px){.product-sidebar details:not([open])>div{display:block}.product-sidebar summary{user-select:none}}
@media(max-width:1050px){.brand div{display:none}.content-layout{grid-template-columns:245px minmax(0,1fr);gap:20px}.card{padding:20px}.publish-actions .button{padding:10px 12px}.editor-head{display:block}.product-head{margin-bottom:16px}.prices-table th:first-child{width:32%}.prices-table th:last-child{width:30%}}
@media(max-width:850px){.workspace{padding-top:22px}.content-layout{grid-template-columns:1fr;gap:22px}.product-sidebar{position:static}.product-sidebar summary{cursor:pointer;pointer-events:auto;padding:15px 18px}.product-sidebar summary:after{content:"⌄";margin-left:auto;font-weight:400}.product-sidebar details[open] summary:after{content:"⌃"}.product-list{max-height:300px;min-height:0}.directory-controls{grid-template-columns:1fr 1fr}.product-item img{height:39px;width:29px}.product-item{padding:9px}.product-head .product-photo{width:70px;height:95px}.card{padding:22px}.main-nav{gap:24px}.action-bar{gap:14px}.save-state small{display:none}.publish-actions{gap:6px}.publish-actions .button{font-size:13px;padding:10px}}
@media(max-width:600px){body{font-size:14px}.admin-header{padding:16px 18px;gap:12px}.brand img{width:95px}.header-actions{gap:0}.header-actions .button{font-size:12px;padding:8px 10px;min-height:40px}.main-nav{padding:0 20px;gap:22px}.main-nav button{font-size:13px;padding-top:15px;padding-bottom:12px}.workspace{padding:20px 16px 166px}.card{padding:20px 16px}.card-heading{flex-wrap:wrap;gap:14px}.card-heading .language-tabs{margin-left:auto}.product-head{gap:15px}.product-head h1{font-size:23px}.product-head .eyebrow{font-size:10px}.language-note{margin-top:0}.inline-fields{gap:12px}.inline-fields .field>span{font-size:12px}.prices-table th:first-child{width:31%}.prices-table th:last-child{width:29%}.prices-table th{font-size:11px;padding-right:8px}.prices-table td{padding-right:8px}.variant-name{font-size:12px}.prices-table .checkline{font-size:12px;gap:6px}.price-input input{font-size:16px;padding-left:10px;padding-right:36px}.price-input span{right:8px;font-size:10px;top:14px}.prices-table input[type=checkbox]{width:18px;height:18px}.field input,.field textarea,.directory-controls input,.directory-controls select{font-size:16px}.action-bar{padding:11px 16px max(12px,env(safe-area-inset-bottom));display:block}.save-state{margin-bottom:9px;display:flex;justify-content:space-between;gap:10px;align-items:center}.save-state small{display:block;font-size:10px;white-space:nowrap;max-width:47%;overflow:hidden;text-overflow:ellipsis}.state-pill{font-size:11px}.publish-actions{display:grid;grid-template-columns:1.08fr .92fr 1fr;gap:6px}.publish-actions .button{font-size:11px;white-space:normal;padding:9px 6px;min-height:43px}.notice{font-size:13px;padding:12px}.auth-card{padding:28px 22px}.auth-shell{padding:22px 16px}.history-list li{align-items:flex-start}.history-list .button{font-size:12px}.settings-actions{display:grid;grid-template-columns:1fr}.settings-actions .button{white-space:normal}.dialog-actions .button{white-space:normal;font-size:13px}.history-list span{overflow-wrap:anywhere}.directory-controls{gap:8px;padding:0 12px 13px}.directory-controls select{font-size:13px}.directory-controls input{font-size:16px}.text-editor-field .quiet-link{display:inline-block;min-height:30px}}
@media(prefers-reduced-motion:no-preference){.button,.main-nav button,.product-item{transition:background .15s,color .15s,border-color .15s}}

/* v2.52: a native link preserves the existing unsaved-change navigation guard. */
.main-nav a.statistics-entry{display:block;flex:0 0 auto;padding:17px 0 14px;min-height:50px;border-bottom:3px solid transparent;color:var(--muted);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}.main-nav a.statistics-entry:hover{color:var(--ink)}.main-nav a.statistics-entry:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:600px){.main-nav a.statistics-entry{font-size:13px;padding-top:15px;padding-bottom:12px}}
