/* Shared interaction polish and a complete light palette. */
.admin-mode header::after{display:none}.admin-mode #studio-theme-toggle{margin-left:auto;min-width:120px;min-height:42px;font-size:11px;gap:10px}.admin-mode #studio-theme-toggle>span{font-size:19px;line-height:1}
.admin-mode::before{background:radial-gradient(ellipse at 82% 12%,rgba(139,102,190,.26),transparent 48%),radial-gradient(ellipse at 6% 58%,rgba(63,133,141,.18),transparent 47%),radial-gradient(ellipse at 85% 94%,rgba(176,114,118,.12),transparent 50%),#101116}
.admin-mode .studio-panel{background:linear-gradient(135deg,rgba(61,56,77,.35),rgba(25,27,37,.55));border-color:rgba(224,214,255,.19);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 12px 35px rgba(0,0,0,.13);backdrop-filter:blur(24px) saturate(125%);-webkit-backdrop-filter:blur(24px) saturate(125%)}
.admin-mode .admin-row,.admin-mode .order-card{background:linear-gradient(135deg,rgba(51,48,65,.55),rgba(27,28,39,.6));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #ffffff0c}
.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.admin-mode .studio-info-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:29px;height:29px;min-height:29px;padding:0;border:1px solid #bcaad342;border-radius:50%;background:#ffffff08;color:#c4b8d9;font:600 12px/1 var(--sans);vertical-align:middle;cursor:pointer;transition:background .18s,box-shadow .18s}.admin-mode .studio-info-button:hover{background:#b49ada29;box-shadow:0 0 0 4px #b49ada0d}.studio-section-head h3 .studio-info-button{margin-left:6px}.admin-mode .showcase-details{align-self:flex-start;font-size:10px;min-height:34px;margin-top:13px;padding:7px 11px}.studio-results .kpi-top>span{font-size:10px}.admin-mode #studio-info-dialog{width:min(680px,calc(100vw - 28px));padding:34px;max-height:calc(100dvh - 36px)}.admin-mode #studio-info-dialog h2{font:600 28px/1.2 var(--sans);margin:12px 35px 22px 0;letter-spacing:-.04em;overflow-wrap:anywhere}.studio-info-body{font-size:13px;line-height:1.8;color:#c3bcd0}.studio-info-body p{margin:12px 0}.studio-info-body dl{margin:20px 0}.studio-info-body dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.studio-info-body dt{color:#b4a9c5;font-size:12px}.studio-info-body dd{margin:0;color:#f2eafa;font-size:17px;font-weight:600;text-align:right}.studio-product-details{display:grid;grid-template-columns:170px minmax(0,1fr);gap:22px}.studio-product-details>img{width:100%;max-height:280px;object-fit:cover;border-radius:15px;border:1px solid var(--line)}.studio-product-details .chart-caption{font-size:10px}.studio-product-details dl>div{gap:12px}.studio-product-details dd{font-size:15px}.admin-mode .studio-info-done{margin-top:20px;min-width:120px}.admin-mode .chart-column:hover{background:#c2a2f208;border-radius:7px}.admin-mode .chart-column:focus-visible{outline-offset:1px}.admin-mode .chart-readout strong{font-variant-numeric:tabular-nums}.studio-showcase .showcase-product{min-height:218px}.studio-showcase .showcase-photo{min-height:190px}
body.admin-mode[data-studio-theme="light"]{color-scheme:light;--ink:#263d35;--paper:#edf2ec;--dark:#355e50;--olive:#466d5c;--muted:#536b60;--line:rgba(59,93,75,.17);--surface:#f2f7f0;--danger:#9d3548;background:#edf2ec;color:#263d35}
.admin-mode[data-studio-theme="light"]::before{background:radial-gradient(ellipse at 4% 6%,rgba(139,191,164,.58),transparent 48%),radial-gradient(ellipse at 95% 32%,rgba(241,192,154,.5),transparent 45%),radial-gradient(ellipse at 35% 92%,rgba(155,203,190,.48),transparent 52%),linear-gradient(135deg,#e9f2e9,#f6eee5)}
.admin-mode[data-studio-theme="light"] .admin{color:#263d35}.admin-mode[data-studio-theme="light"] :is(h2,h3,h4){color:#263d35}.admin-mode[data-studio-theme="light"] header{background:rgba(255,255,255,.4);border-color:#ffffffb3;box-shadow:0 4px 30px #38584405}.admin-mode[data-studio-theme="light"] .brand{color:#2b4136}.admin-mode[data-studio-theme="light"] .eyebrow{color:#587062}.admin-mode[data-studio-theme="light"] footer{border-color:#ffffffb3}.admin-mode[data-studio-theme="light"] footer a{color:#4e6559}
.admin-mode[data-studio-theme="light"] .studio-panel,.admin-mode[data-studio-theme="light"] .admin-row,.admin-mode[data-studio-theme="light"] .order-card{background:linear-gradient(135deg,rgba(255,255,255,.62),rgba(255,255,255,.3));border:1px solid rgba(255,255,255,.92);box-shadow:inset 0 1px 0 #fff,0 14px 35px rgba(51,81,67,.06);backdrop-filter:blur(22px) saturate(120%);-webkit-backdrop-filter:blur(22px) saturate(120%)}
.admin-mode[data-studio-theme="light"] .studio-nav{border-color:var(--line)}.admin-mode[data-studio-theme="light"] .studio-nav button{color:#4e6659}.admin-mode[data-studio-theme="light"] .studio-nav button[aria-current]{background:#ffffff8f;border-color:#ffffffeb;color:#2c5140;box-shadow:0 4px 12px #43654d0a}.admin-mode[data-studio-theme="light"] .studio-nav button:hover{background:#ffffff7a}.admin-mode[data-studio-theme="light"] .studio-nav>a{color:#49644f}
.admin-mode[data-studio-theme="light"] .secondary{background:linear-gradient(140deg,#ffffffad,#ffffff5c);border-color:#ffffffe6;color:#32523f;box-shadow:0 3px 10px #375b4508}.admin-mode[data-studio-theme="light"] .secondary:hover:not(:disabled){background:#ffffffe6;border-color:#7b9e8a66}.admin-mode[data-studio-theme="light"] .primary{background:linear-gradient(140deg,#527c68,#315b48);border-color:#426951;color:#fff;box-shadow:0 7px 20px #3b624b26}.admin-mode[data-studio-theme="light"] .primary:hover:not(:disabled){background:#365e4b;color:#fff}.admin-mode[data-studio-theme="light"] .danger{color:#a14243}.admin-mode[data-studio-theme="light"] :focus-visible{outline-color:#487b60}
.admin-mode[data-studio-theme="light"] .studio-heading h2>span{color:#739a80}.admin-mode[data-studio-theme="light"] :is(.studio-heading p:last-child,.studio-meta,.hint,.chart-caption,.chart-readout>span,.chart-y,.chart-column,.chart-range,.metric-note,.kpi-label,.kpi-footer,.studio-help,.studio-results span,.studio-results small,.studio-statuses span,.studio-order-list small,.studio-order-list p span,.studio-extra summary,.studio-popular-row span){color:#586d61}
.admin-mode[data-studio-theme="light"] .studio-meta i{background:#4a8c62;box-shadow:0 0 8px #548b4c33}.admin-mode[data-studio-theme="light"] .studio-tag{color:#526951;border-color:#64856b33;background:#ffffff59}.admin-mode[data-studio-theme="light"] .studio-chart-metrics,.admin-mode[data-studio-theme="light"] .studio-segments{background:#6a927111;border-color:#ffffff99}.admin-mode[data-studio-theme="light"] .studio-chart-metrics button,.admin-mode[data-studio-theme="light"] .studio-segments button{color:#4e6958}.admin-mode[data-studio-theme="light"] .studio-chart-metrics .selected,.admin-mode[data-studio-theme="light"] .studio-segments .selected{background:#ffffffe0;border-color:#fff;color:#31553f;box-shadow:0 3px 9px #36543c12}
.admin-mode[data-studio-theme="light"] .studio-panel strong,.admin-mode[data-studio-theme="light"] .kpi-footer b,.admin-mode[data-studio-theme="light"] .studio-statuses b{color:#2d5140}.admin-mode[data-studio-theme="light"] .chart-bar{background:linear-gradient(0deg,#739b82,#b0c9b0);box-shadow:inset 0 1px 0 #ffffffa1}.admin-mode[data-studio-theme="light"] .chart-column.selected .chart-bar,.admin-mode[data-studio-theme="light"] .chart-column:hover .chart-bar{background:linear-gradient(0deg,#4a7d60,#87b291);filter:drop-shadow(0 0 6px #80a08526)}.admin-mode[data-studio-theme="light"] .chart-column.selected small{color:#2d593f}.admin-mode[data-studio-theme="light"] .chart-column:hover{background:#6e94700a}.admin-mode[data-studio-theme="light"] .chart-gridlines{background:repeating-linear-gradient(to top,#5a7a621c 0px,#5a7a621c 1px,transparent 1px,transparent 50%)}
.admin-mode[data-studio-theme="light"] .studio-info-button{color:#486a53;background:#ffffff80;border-color:#7d9c7945}.admin-mode[data-studio-theme="light"] .studio-info-button:hover{background:#fff;box-shadow:0 0 0 4px #76996a0d}.admin-mode[data-studio-theme="light"] .metric-trend{color:#566952}.admin-mode[data-studio-theme="light"] .metric-trend.positive{color:#28653e}.admin-mode[data-studio-theme="light"] .metric-trend.negative{color:#a34d4d}
.admin-mode[data-studio-theme="light"] .showcase-deck::before{background:#dbe6dbe6;border-color:#fff}.admin-mode[data-studio-theme="light"] .showcase-deck::after{background:#d2dfd4b3;border-color:#ffffffb3}.admin-mode[data-studio-theme="light"] .showcase-product{background:linear-gradient(135deg,#ffffffc9,#ffffff5c);border-color:#fff;box-shadow:0 9px 22px #3f624614}.admin-mode[data-studio-theme="light"] .showcase-photo{background:#c9d7c9}.admin-mode[data-studio-theme="light"] .showcase-description h4{color:#2c4935}.admin-mode[data-studio-theme="light"] .showcase-numbers{color:#586c58}.admin-mode[data-studio-theme="light"] .showcase-numbers span>b,.admin-mode[data-studio-theme="light"] .showcase-numbers>strong{color:#30523a}.admin-mode[data-studio-theme="light"] .showcase-description>small,.admin-mode[data-studio-theme="light"] .showcase-controls>span,.admin-mode[data-studio-theme="light"] .showcase-no-photo{color:#576c57}.admin-mode[data-studio-theme="light"] .studio-showcase>.studio-section-head>svg{color:#66826b}
.admin-mode[data-studio-theme="light"] .studio-order-list p{color:#435c48}.admin-mode[data-studio-theme="light"] .studio-empty{color:#35513b}.admin-mode[data-studio-theme="light"] .studio-empty small{color:#61715c}.admin-mode[data-studio-theme="light"] .order-status-badge{background:#e7e6d1;color:#62602e;border-color:#b7b98a55}.admin-mode[data-studio-theme="light"] .admin-product-tabs .active,.admin-mode[data-studio-theme="light"] .order-tabs .active{background:#456e54;border-color:#456e54;color:#fff}.admin-mode[data-studio-theme="light"] .admin-row p,.admin-mode[data-studio-theme="light"] .order-card p,.admin-mode[data-studio-theme="light"] .order-heading span{color:#556852}.admin-mode[data-studio-theme="light"] .order-card p strong{color:#2d4935}.admin-mode[data-studio-theme="light"] .admin-discount-action{color:#4c6f51;background:#ffffff4d;border-color:#819a7a}.admin-mode[data-studio-theme="light"] .admin-sale-price{color:#9b574b}.admin-mode[data-studio-theme="light"] .order-tools{background:#ffffff59;border-color:#ffffffbd}.admin-mode[data-studio-theme="light"] .order-tools label,.admin-mode[data-studio-theme="light"] .order-form label,.admin-mode[data-studio-theme="light"] .form label{color:#4a624b}
.admin-mode[data-studio-theme="light"] .pickup-copy,.admin-mode[data-studio-theme="light"] .order-comment,.admin-mode[data-studio-theme="light"] .order-items,.admin-mode[data-studio-theme="light"] .order-item{background:#ffffff38;color:#3c593f;border-color:var(--line)}.admin-mode[data-studio-theme="light"] .order-item small,.admin-mode[data-studio-theme="light"] .pickup-copy small{color:#60745c}
.admin-mode[data-studio-theme="light"] .form input:not([type=checkbox]),.admin-mode[data-studio-theme="light"] .form textarea,.admin-mode[data-studio-theme="light"] .form select,.admin-mode[data-studio-theme="light"] .order-form input,.admin-mode[data-studio-theme="light"] .order-form textarea,.admin-mode[data-studio-theme="light"] .order-form select,.admin-mode[data-studio-theme="light"] .order-tools input,.admin-mode[data-studio-theme="light"] .order-tools select{background:#ffffffb3;color:#2e4b37;border-color:#94ae8f70}.admin-mode[data-studio-theme="light"] input::placeholder,.admin-mode[data-studio-theme="light"] textarea::placeholder{color:#75836e}.admin-mode[data-studio-theme="light"] .form input:focus,.admin-mode[data-studio-theme="light"] .form textarea:focus{border-color:#67906b;box-shadow:0 0 0 3px #6c96641a}
.admin-mode[data-studio-theme="light"] dialog{background:rgba(244,249,240,.92);border-color:#fff;color:#2c4834;box-shadow:0 25px 90px #28452e29}.admin-mode[data-studio-theme="light"] dialog::backdrop{background:#2e473b45}.admin-mode[data-studio-theme="light"] .close{background:#ffffffa6;border-color:#fff;color:#406145}.admin-mode[data-studio-theme="light"] .studio-info-body{color:#496048}.admin-mode[data-studio-theme="light"] .studio-info-body dt{color:#586d54}.admin-mode[data-studio-theme="light"] .studio-info-body dd{color:#294f34}.admin-mode[data-studio-theme="light"] #login{background:linear-gradient(135deg,#ffffffb3,#ffffff61);border-color:#fff;box-shadow:0 24px 60px #30513b1a;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.admin-mode[data-studio-theme="light"] #login>a{color:#526a4f}.admin-mode[data-studio-theme="light"] #toast{color:#fff;background:#35533d}
@media(max-width:480px){.admin-mode .studio-info-button{width:32px;height:32px;min-height:32px}.admin-mode #studio-info-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:auto;padding:28px 22px;border-radius:23px}.admin-mode #studio-info-dialog h2{font-size:25px}.studio-product-details{grid-template-columns:1fr}.studio-product-details>img{height:210px;max-height:210px;object-fit:contain;background:#ffffff0a}.studio-info-body dd{font-size:15px}.admin-mode #studio-theme-toggle{min-width:108px;font-size:10px}.showcase-description h4{margin-bottom:10px}.admin-mode .showcase-details{font-size:9px;padding:6px 8px}}
@media(prefers-reduced-transparency:reduce){.admin-mode .studio-panel,.admin-mode .admin-row,.admin-mode .order-card{background:#20212c;backdrop-filter:none;-webkit-backdrop-filter:none}.admin-mode[data-studio-theme="light"] .studio-panel,.admin-mode[data-studio-theme="light"] .admin-row,.admin-mode[data-studio-theme="light"] .order-card,.admin-mode[data-studio-theme="light"] dialog{background:#f1f6ed;backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.admin-mode .studio-panel{background:#22232e}.admin-mode[data-studio-theme="light"] .studio-panel{background:#f0f5eb}}
.admin-mode #studio-info-dialog>.close{position:absolute;inset:16px 16px auto auto;margin:0}.admin-mode #studio-info-dialog>.eyebrow{padding-right:45px}
/* Catalog controls share one geometry across selected, hover and focus states. */
.admin-mode .admin-product-tabs{display:flex;flex-wrap:wrap;gap:9px;padding:4px 0;margin:18px 0 8px;overflow:visible}.admin-mode .admin-product-tabs button{min-height:44px;border-radius:12px;background-clip:padding-box;transform:none!important;box-shadow:none;white-space:nowrap}.admin-mode .admin-product-tabs button.active,.admin-mode .admin-product-tabs button.active:hover{color:#201a2e;background:#c3afe9;border:1px solid #c3afe9;box-shadow:none}.admin-mode .admin-product-tabs button b{background:#b4a5c633;color:inherit;min-width:24px;height:24px;border-radius:8px}.admin-mode .admin-product-tabs button.active b{background:#ffffff38}.admin-mode[data-studio-theme="light"] .admin-product-tabs button.active,.admin-mode[data-studio-theme="light"] .admin-product-tabs button.active:hover{background:#436d54;border-color:#436d54;color:white;box-shadow:none}.admin-mode[data-studio-theme="light"] .admin-product-tabs button.active b{background:#ffffff26}
.admin-catalog-search{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(140px,1fr) minmax(140px,1fr);gap:14px;margin-top:22px}.admin-catalog-search label{display:grid;gap:7px;color:#b5adc6;font-size:11px}.admin-catalog-search input,.admin-catalog-search select{width:100%;min-height:45px;padding:11px 13px;background:#181923ad;border:1px solid #ffffff26;color:#e5dcef;border-radius:11px}.admin-mode[data-studio-theme="light"] .admin-catalog-search label{color:#4a624b}.admin-mode[data-studio-theme="light"] .admin-catalog-search input,.admin-mode[data-studio-theme="light"] .admin-catalog-search select{background:#ffffff8c;border-color:#94ae8f70;color:#2e4b37}
.admin-mode .admin-row.admin-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:18px;cursor:pointer;transition:border-color .18s,box-shadow .18s}.admin-mode .admin-row.admin-product-row:hover{border-color:#bca1e966;box-shadow:0 7px 22px #00000014,inset 0 1px 0 #ffffff12}.admin-mode[data-studio-theme="light"] .admin-row.admin-product-row:hover{border-color:#729d7f8c;box-shadow:0 7px 22px #375c4512,inset 0 1px 0 #fff}.admin-mode .admin-product-open{display:flex;align-items:center;gap:18px;min-width:0;width:100%;padding:0;border:0;border-radius:10px;background:none;color:inherit;text-align:left}.admin-mode .admin-product-open>img,.admin-no-photo{width:82px;height:98px;flex:0 0 82px;object-fit:cover;border-radius:12px}.admin-no-photo{display:grid;place-items:center;font-size:10px;background:#83729319;color:var(--muted)}.admin-product-copy{display:grid;min-width:0;gap:5px}.admin-product-copy>strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.admin-product-copy>span{font-size:11px;color:#a69bb9}.admin-product-pricing{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.admin-product-pricing b{font-size:14px;color:#e9dfef}.admin-product-pricing del{font-size:10px;color:#a198ae}.admin-product-pricing em{font:600 10px var(--sans);background:#a378ae26;color:#efc4eb;padding:3px 6px;border-radius:6px}.admin-product-copy>.admin-stock-label{font-size:10px;color:#a1c7b1}.admin-product-copy>.admin-stock-label.out{color:#d7a1a1}.admin-open-arrow{margin-left:auto;color:#a293bc;opacity:.65;font-size:20px}.admin-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.admin-mode .admin-row-actions .secondary{min-height:42px;padding:9px 12px;font-size:11px}.admin-mode .admin-row-actions .danger{border-color:transparent;background:transparent;box-shadow:none}.admin-mode .admin-row-actions .danger:hover{background:#e0889a14;border-color:#e0889a3d}
.admin-mode[data-studio-theme="light"] .admin-product-copy>span{color:#526b59}.admin-mode[data-studio-theme="light"] .admin-product-pricing b{color:#2e503b}.admin-mode[data-studio-theme="light"] .admin-product-pricing del{color:#6b7969}.admin-mode[data-studio-theme="light"] .admin-product-pricing em{background:#c1776e17;color:#96504d}.admin-mode[data-studio-theme="light"] .admin-stock-label{color:#3e7450}.admin-mode[data-studio-theme="light"] .admin-stock-label.out{color:#975454}.admin-mode[data-studio-theme="light"] .admin-open-arrow{color:#51725b}
.admin-product-gallery{min-width:0}.admin-product-gallery>#admin-product-main{width:100%;height:240px;object-fit:contain;border-radius:12px;background:#8580800d}.admin-product-thumbs{display:flex;gap:6px;overflow:auto;padding:7px 2px}.admin-product-thumbs button{padding:2px;background:transparent;border:1px solid transparent;border-radius:7px;flex:0 0 42px;height:48px}.admin-product-thumbs button[aria-pressed="true"]{border-color:var(--olive)}.admin-product-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:4px}.studio-info-body .studio-product-price{font-size:24px;font-weight:650;color:var(--ink);margin:8px 0}.studio-product-price del{font-size:12px;font-weight:400;color:var(--muted)}.admin-product-description{white-space:pre-wrap;overflow-wrap:anywhere}.admin-confirm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.admin-mode .admin-confirm-actions .danger{border-color:#ce6f7f66;background:#ce6f7f15}.studio-empty .secondary{margin-top:18px}.showcase-product{cursor:pointer}.showcase-product:hover{border-color:#a291bd88}.admin-mode[data-studio-theme="light"] .showcase-product:hover{border-color:#729d7f8c}
@media(max-width:1050px){.admin-mode .admin-row.admin-product-row{grid-template-columns:1fr}.admin-row-actions{justify-content:flex-start;padding-top:13px;border-top:1px solid var(--line)}}
@media(max-width:600px){.admin-catalog-search{grid-template-columns:1fr 1fr;gap:11px}.admin-catalog-search label:first-child{grid-column:1/-1}.admin-mode .admin-product-tabs{gap:7px}.admin-mode .admin-product-tabs button{flex:1 1 auto;padding:8px 10px;font-size:10px}.admin-mode .admin-product-tabs button b{min-width:21px;height:21px}.admin-mode .admin-row.admin-product-row{padding:14px;gap:12px}.admin-mode .admin-product-open{gap:12px}.admin-mode .admin-product-open>img,.admin-no-photo{width:65px;height:82px;flex-basis:65px}.admin-product-copy>strong{font-size:14px}.admin-row-actions{gap:7px}.admin-mode .admin-row-actions .secondary{flex:1;min-height:44px;padding:8px;font-size:10px}.admin-product-gallery>#admin-product-main{height:230px}.admin-confirm-actions .secondary{flex:1}}

/* Shared controls: no inset highlight on solid selected surfaces. */
.admin-mode .secondary{box-shadow:none;min-height:44px;line-height:1.4;background-clip:border-box}
.admin-mode[data-studio-theme="light"] .secondary{box-shadow:none}
.admin-mode .order-tabs .secondary{min-height:44px;white-space:nowrap;transform:none}
.admin-mode .order-tabs .secondary.active,.admin-mode .order-tabs .secondary.active:hover{background:#c3afe9;border-color:#c3afe9;color:#201a2e;box-shadow:none}
.admin-mode[data-studio-theme="light"] .order-tabs .secondary.active,.admin-mode[data-studio-theme="light"] .order-tabs .secondary.active:hover{background:#436d54;border-color:#436d54;color:#fff;box-shadow:none}
.admin-mode :is(input,select,textarea){min-width:0;max-width:100%;color-scheme:dark}
.admin-mode[data-studio-theme="light"] :is(input,select,textarea){color-scheme:light}
.admin-mode :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--olive);outline-offset:3px}
.admin-mode .order-tools{grid-template-columns:minmax(0,1fr) minmax(150px,.55fr) auto}
.admin-mode .order-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.admin-mode .order-form .seller-note{grid-column:1/-1}
.admin-mode .order-form>button{justify-self:start;min-height:44px}
.admin-mode .order-form :is(input,select){min-height:44px;width:100%}
.admin-mode .order-form textarea{width:100%}
.admin-mode .order-contact a{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.admin-mode .order-heading{flex-wrap:wrap}
.admin-mode .order-items,.admin-mode .pickup-copy{min-width:0;overflow-wrap:anywhere}
.admin-mode .order-item>span,.admin-mode .pickup-copy>span{min-width:0}
.admin-mode .order-form .draft-note{font-size:11px;color:var(--muted);align-self:center}
.admin-mode #editor-dialog{width:min(740px,calc(100vw - 24px));margin:auto;max-height:calc(100dvh - 24px);padding:48px 30px 28px;border-radius:24px}
.admin-mode #editor-dialog .form h2{font:600 28px/1.25 var(--sans);letter-spacing:-.035em;padding-right:25px}
.admin-mode .upload-preview button{min-width:32px;min-height:32px;border-radius:7px;background:#34303f;color:#eee7f6;border:1px solid var(--line)}
.admin-mode[data-studio-theme="light"] .upload-preview button{background:#f3f7ee;color:#35513e}
.admin-mode .form input[type=checkbox]{width:20px;height:20px;accent-color:var(--olive);flex-shrink:0}
@media(max-width:1000px){.admin-mode .order-tools{grid-template-columns:minmax(0,1fr) minmax(130px,.6fr)}.admin-mode .order-tabs{grid-column:1/-1}.admin-mode .order-tabs button{flex:1}}
@media(max-width:600px){.admin-mode .order-tools,.admin-mode .order-form{grid-template-columns:minmax(0,1fr)}.admin-mode .order-form .seller-note{grid-column:1}.admin-mode .order-form>button{width:100%}.admin-mode #editor-dialog{padding:48px 20px 24px}.admin-mode .order-tabs{display:flex;flex-wrap:wrap}.admin-mode .order-tabs button{font-size:12px}.admin-mode :is(.form,.order-form,.order-tools,.admin-catalog-search) :is(input,select,textarea){font-size:16px}}
@media(prefers-reduced-motion:reduce){.admin-mode *, .admin-mode *::before,.admin-mode *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Safari native selects ignore parts of the shared control geometry. */
body.admin-mode[data-studio-theme] :is(.form,.order-tools,.order-form,.admin-catalog-search) select{-webkit-appearance:none;appearance:none;box-sizing:border-box;height:46px;min-height:46px;padding:10px 38px 10px 13px;line-height:1.4;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23848d87' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}
