:root{--green:#123d2a;--orange:#f47a20;--cream:#faf8f1;--ink:#23352b;--muted:#66746b;--line:#e2e6dd;font-family:Arial,sans-serif;color:var(--ink);background:var(--cream);font-size:15px}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:248px;background:var(--green);color:#fff;position:fixed;inset:0 auto 0 0;padding:36px 22px;display:flex;flex-direction:column}.brand{color:#fff;text-decoration:none}.brand img{width:155px;display:block;margin-bottom:15px}.brand span{font-size:12px;opacity:.8}nav{display:grid;gap:10px;margin-top:48px}nav a{color:#e0e9e0;text-decoration:none;padding:14px 12px;border-radius:9px;font-size:14px}.selected{background:#fff2;color:var(--green)}nav a.selected{background:#fff;color:var(--green)}.side-note{margin-top:auto;font-size:12px;line-height:1.7}.side-note p{color:#c5d5c8}.dot{display:inline-block;width:7px;height:7px;background:#f8b375;border-radius:50%;margin-right:8px}main{margin-left:248px;width:calc(100% - 248px);padding:44px clamp(20px,4vw,64px);max-width:1800px}header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}h1{font-size:clamp(26px,3vw,38px);letter-spacing:-1.1px;margin:12px 0}h2{font-size:21px;letter-spacing:-.4px;margin:10px 0 15px}p{line-height:1.6;margin:8px 0}header p,.muted{color:var(--muted);font-size:13px}.badge{border:1px solid #d6dfd1;padding:8px 12px;border-radius:24px;font-size:11px;white-space:nowrap;background:#edf3e8;color:var(--green)}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:26px;margin-bottom:24px}.login{display:grid;grid-template-columns:1fr 1fr;gap:25px}.toolbar{display:flex;align-items:end;gap:12px;margin-bottom:22px}.toolbar label{margin-right:auto;min-width:260px}label{display:block;font-size:12px;font-weight:bold;margin-bottom:8px}input,select,button{font:inherit;border-radius:8px;min-height:42px}input,select{border:1px solid #cdd5cb;padding:10px 12px;background:#fff;color:var(--ink);width:100%;margin-top:6px}button{border:1px solid var(--green);padding:10px 17px;background:var(--green);color:#fff;cursor:pointer;font-size:13px;font-weight:700;white-space:nowrap}button:disabled{opacity:.5;cursor:default}.secondary{background:#fff;color:var(--green);border-color:#cdd5cb}.quiet{background:transparent;border-color:transparent;color:var(--green)}.inline{display:flex;align-items:end;gap:8px}.inline input{min-width:0;margin:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.metrics article{padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px}.metrics span{display:block;font-size:11px;color:var(--muted);margin-bottom:14px}.metrics strong{font-size:30px;letter-spacing:-1px}.metrics .metric-note{background:#f0f3e8}.metric-note strong{font-size:17px;letter-spacing:-.3px}.metric-note small{display:block;color:var(--muted);font-size:11px;margin-top:9px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.search{display:flex;gap:10px;margin-top:15px}.search input{margin:0}.table-wrap{overflow:auto;margin-top:25px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.7px;padding:14px 12px;border-bottom:1px solid var(--line)}td{font-size:13px;padding:17px 12px;border-bottom:1px solid #edf0e9;line-height:1.5}td:first-child{min-width:230px;max-width:430px}td small{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.state{font-size:11px;color:var(--green)}.state.warn,.warning{color:#8f4314}.pagination{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings .card{min-width:0}.settings-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.warehouse{padding:16px 0;border-bottom:1px solid var(--line)}.warehouse small{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:10px;margin:7px 0}.warehouse button{margin-top:8px}hr{border:0;border-top:1px solid var(--line);margin:25px 0}footer{font-size:11px;color:var(--muted);padding:15px 0 25px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(580px,calc(100% - 30px));color:var(--ink)}dialog::backdrop{background:#08231599}dialog input,dialog select{margin-bottom:18px}.check{display:flex;align-items:center;gap:10px;margin-top:8px}.check input{width:18px;min-height:18px;margin:0}#message,#editor-error{padding:13px 16px;background:#fff0df;color:#74390d;border-radius:8px;margin-bottom:18px;font-size:13px}#save-entry{width:100%;margin-top:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:focus-visible{outline:3px solid var(--orange);outline-offset:3px}[hidden]{display:none!important}@media(max-width:1100px){aside{width:200px}main{margin-left:200px;width:calc(100% - 200px);padding:30px 22px}.metrics{grid-template-columns:repeat(2,1fr)}.settings,.login{grid-template-columns:1fr}}@media(max-width:700px){body{display:block}aside{position:static;width:100%;padding:20px;display:block}.brand img{width:115px;margin:0}.brand span,.side-note{display:none}nav{display:flex;gap:5px;margin-top:20px;overflow:auto}nav a{padding:9px;font-size:12px;white-space:nowrap}main{margin:0;width:100%;padding:25px 14px}header{display:block}header .badge{display:inline-block;margin-top:12px}.card{padding:18px}.toolbar{flex-wrap:wrap}.toolbar label{width:100%;min-width:0}.metrics{gap:9px}.metrics article{padding:16px}.metrics strong{font-size:26px}.metric-note strong{font-size:15px}.section-head{align-items:flex-start}.section-head .badge{font-size:10px}.inline{flex-wrap:wrap}.inline input{flex:1;min-width:120px}td{padding:13px 8px}.settings{gap:0}}
:root .file-label{display:block;margin-top:16px;color:var(--muted);font-weight:normal;font-size:11px}.file-label input{display:block;padding:8px;font-size:11px;margin-top:7px;min-height:34px}
:root .staff-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:20px 0}.staff-form button{align-self:end}#login-form>input{margin-bottom:16px}@media(max-width:700px){:root .staff-form{grid-template-columns:1fr}.toolbar .badge{max-width:100%;white-space:normal}}

.pickup-day-row{border-top:1px solid var(--line);padding:16px 0}#pickup-day-detail{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}#pickup-day-detail button{margin:8px 8px 0 0}

#pickup-day-form{flex-wrap:wrap}#pickup-day-form label{min-width:180px;flex:1}

.barcode-picking{padding:18px;margin:18px 0;border:1px solid var(--line);border-radius:12px;background:#f3f6ed}.barcode-picking button{margin-top:12px}

#picking-progress progress{display:block;width:100%;height:1rem;margin:.7rem 0;accent-color:var(--green,#277344)}
#picking-progress input[type=checkbox]{width:auto;margin-right:.4rem}

#delivery-panel{margin:1rem 0;padding:1rem;border:1px solid #cbd8cc;border-radius:12px;background:#f5f8f2;min-width:0}
#delivery-panel summary{cursor:pointer;font-size:1.2rem;font-weight:700;color:#164a35}
#delivery-panel .toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
#delivery-panel label{display:block;min-width:0;margin:.5rem 0}
#delivery-panel input,#delivery-panel select{max-width:100%;box-sizing:border-box;min-width:0}
#delivery-panel input[type=checkbox]{width:auto}
#delivery-state{padding:.8rem;background:white;border-radius:8px}
@media(max-width:700px){#delivery-panel .toolbar{grid-template-columns:1fr}}

#delivery-panel .toolbar button{white-space:normal;overflow-wrap:anywhere;height:auto;min-height:44px}

#product-description{display:block;width:100%;resize:vertical;min-height:110px;border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit;color:var(--ink);margin:8px 0 16px}#editor{max-height:90vh;overflow:auto}

#photo-preview{width:100%;height:180px;object-fit:contain;background:#faf8f1}#photo-editor{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:10px}

.category-row{margin-top:10px;border:1px solid var(--line);padding:12px;border-radius:8px}.category-row summary{cursor:pointer;overflow-wrap:anywhere}.category-row input,.category-row select{width:100%}#category-parent,#category-order{margin-bottom:12px}

#banner-form{display:grid;gap:10px;margin:18px 0}#banner-body{font:inherit;padding:12px;resize:vertical;border:1px solid var(--line);border-radius:8px;width:100%}.banner-preview{padding:24px;border-radius:14px;background:#eaf0df;margin-top:20px}.banner-preview h3{font-size:28px;white-space:pre-line;overflow-wrap:anywhere}.banner-preview p{white-space:pre-line;overflow-wrap:anywhere}#banner-preview-button{display:inline-block;padding:12px;background:var(--orange);border-radius:8px;overflow-wrap:anywhere}.banner-preview[data-theme=cream]{background:#f5ecd9}.banner-preview[data-theme=apricot]{background:#ffe7cf}

.catalog-quality{border:1px solid var(--line);border-radius:12px;padding:18px;margin:18px 0}.quality-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.quality-metric{display:flex;flex-direction:column;gap:8px;text-align:left;background:#f2f5ed;color:var(--green);padding:14px;border:1px solid var(--line)}.quality-metric strong{font-size:25px}.quality-metric span{font-size:12px;line-height:1.4}#quality-filter{margin:10px 0 15px;max-width:100%}@media(max-width:800px){.quality-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.quality-metric{white-space:normal;min-width:0}.quality-metric span{white-space:normal;overflow-wrap:anywhere}

.editor-actions{position:sticky;bottom:-28px;display:grid;grid-template-columns:1fr 2fr;gap:8px;background:#fff;padding:12px 0;border-top:1px solid var(--line);z-index:1}.editor-actions #save-entry{margin:0}.editor-actions #save-next-entry{font-size:13px;line-height:1.4;padding:8px 12px}@media(max-width:450px){.editor-actions{grid-template-columns:1fr}}

[data-operator-view]:not([data-active-view]){display:none!important}aside{overflow:hidden}aside nav{min-height:0;overflow-y:auto;flex:1;margin-top:24px;padding-right:4px}aside .side-note{padding-top:14px}#operator-page-title:focus{outline:none}#settings{grid-template-columns:1fr}@media(max-width:700px){aside{overflow:visible}aside nav{overflow-x:auto;overflow-y:hidden;flex:none;padding-right:0}}

/* Customer requests: compact cards with clear operational hierarchy. */
#customer-requests-panel{padding:0;border:0;background:transparent}.requests-heading{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.requests-heading-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.requests-heading h2{display:flex;align-items:center;gap:10px;font-size:24px;margin:8px 0}.requests-count{background:#eef3e9;border:1px solid #dce5d4;color:var(--green);font-size:13px;padding:5px 10px;border-radius:20px;min-width:30px;text-align:center}.requests-heading-top button{white-space:nowrap}.requests-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.requests-toolbar .check{margin:0;font-size:13px;cursor:pointer}.requests-toolbar>span{color:var(--muted);font-size:11px}.requests-list-state{font-size:12px;color:var(--muted);margin:18px 2px 12px}.requests-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.request-stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.request-stat>span{font-size:12px;color:var(--muted)}.request-stat strong{font-size:27px;letter-spacing:-1px}.request-stat--new{border-left:3px solid #ef9b4f}.request-stat--active{border-left:3px solid #638f69}.request-stat--closed{border-left:3px solid #aeb9ad}.requests-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.request-card{background:#fff;border:1px solid #dfe5da;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #163a2010;padding:20px;min-width:0}.request-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.request-identity{display:flex;gap:10px;align-items:center;min-width:0}.request-order-icon{width:38px;height:42px;flex:none;display:flex;align-items:center;justify-content:center;color:var(--green);background:#f1f5ed;border-radius:11px}.request-order-icon svg{width:22px;height:22px}.request-identity h3{font-size:16px;margin:0 0 5px;letter-spacing:.2px}.request-identity small{font-size:10px;color:var(--muted);line-height:1.4;display:block}.request-badge{display:inline-flex;border-radius:20px;font-size:10px;font-weight:bold;line-height:1.4;padding:6px 9px;max-width:145px;text-align:center;flex:none;border:1px solid transparent}.request-badge--new{background:#fff1df;color:#8c4e0c;border-color:#f4d8b1}.request-badge--review{background:#f6f1df;color:#756018}.request-badge--work{background:#eaf2e5;color:#355c37}.request-badge--ready{background:#e4f3eb;color:#196243}.request-badge--done{background:#eaf0e8;color:#466346}.request-badge--cancelled{background:#f3eeeb;color:#826d63}.request-amount{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:20px 0 5px}.request-amount strong{font-size:28px;letter-spacing:-.9px;line-height:1.2}.request-amount span{font-size:10px;color:var(--muted)}.request-products-preview{color:var(--muted);font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 18px;overflow-wrap:anywhere}.request-info-grid{display:grid;gap:15px;border-top:1px solid var(--line);padding:17px 0}.request-info{display:flex;gap:10px;min-width:0}.request-info>div{min-width:0}.request-info-icon{width:24px;flex:none;color:#778e72;padding-top:3px}.request-info-icon svg{width:20px;height:20px}.request-label{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.request-info strong{font-size:12px;font-weight:600;line-height:1.5;display:block;overflow-wrap:anywhere}.request-info small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.request-details{border-top:1px solid var(--line);padding:12px 0}.request-details summary{cursor:pointer;list-style-position:inside;font-size:12px;font-weight:600;color:var(--green);padding:3px 0}.request-details[open] summary{margin-bottom:12px}.request-details p{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.request-table-wrap{max-width:100%;overflow-x:auto}.request-table-wrap table{table-layout:fixed;width:100%;min-width:0}.request-table-wrap th{font-size:9px;padding:9px 5px;letter-spacing:0}.request-table-wrap th:first-child{width:52%}.request-table-wrap td{font-size:11px;padding:11px 5px;white-space:normal;overflow-wrap:anywhere}.request-table-wrap td:last-child{text-align:right}.request-detail-note{padding:8px 0}.request-full-id{font-family:monospace}.request-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px;margin-top:0}.request-actions button{font-size:11px;min-height:38px;padding:9px 12px;white-space:normal;line-height:1.5}.request-actions .request-cancel{color:#8a4f3f;background:#fff;border:1px solid #e6d4ca}.request-management{width:100%}.request-management>div{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.request-management label{width:100%;font-size:11px}.request-management select,.request-management input{max-width:100%;width:100%;margin-top:8px}.request-management p{font-size:11px}.request-management>div>button:only-child{width:auto}.request-card-footnote{border-top:1px solid var(--line);padding-top:14px;margin:0;color:var(--muted);font-size:11px}.requests-empty{grid-column:1/-1;text-align:center;padding:52px 24px;background:#fff;border:1px dashed #d2ddca;border-radius:16px}.requests-empty .request-order-icon{margin:0 auto 16px;width:52px;height:52px}.requests-empty h3{font-size:19px;margin:0 0 10px}.requests-empty p{font-size:13px;color:var(--muted)}.requests-next{margin-top:22px}.requests-grid[aria-busy=true]{opacity:.55;pointer-events:none}.requests-grid[aria-busy=true] button{pointer-events:none}@media(max-width:1200px){.requests-grid{grid-template-columns:1fr}}@media(max-width:700px){.requests-heading{padding:18px}.requests-heading-top{align-items:flex-start;flex-direction:column}.requests-heading-top button{width:100%}.requests-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.requests-metrics{gap:7px}.request-stat{padding:12px 9px;flex-direction:column;align-items:flex-start;gap:5px}.request-stat>span{font-size:10px}.request-stat strong{font-size:23px}.request-card{padding:17px}.request-badge{max-width:125px}.request-amount strong{font-size:26px}}

.request-identity small{font-size:11px}.request-badge{font-size:11px}.request-label{font-size:11px}.request-info strong{font-size:13px}.request-info small{font-size:12px}.request-products-preview{font-size:13px}.request-amount span{font-size:11px}

.staff-account-card{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-top:18px}.staff-account-card h3{margin:0 0 6px}.staff-system-role{background:#f4f7ef;border:1px solid #dde5d3;border-radius:10px;padding:16px;margin:18px 0}.staff-system-role .eyebrow{display:block;margin-bottom:10px}.system-role-badge{display:inline-block;padding:9px 12px;background:var(--green);color:white;border-radius:8px;font-size:13px}.staff-system-role select{display:block;width:100%;margin:10px 0 0}.system-role-review{margin-top:16px;border-top:1px solid #dce2d2;padding-top:16px}.system-role-review h4{margin:0 0 8px}.system-role-review p{font-size:13px;line-height:1.7}.system-role-review .check{margin:16px 0;font-weight:normal;align-items:flex-start}.system-role-review button{margin:4px 8px 4px 0;white-space:normal}.staff-account-card>label{margin:14px 0}.staff-account-card>label select{margin-left:12px;max-width:100%}.staff-account-card>button{margin:4px 8px 4px 0}

/* Shared checkboxes keep their native semantics and keyboard interaction. */
body input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px;flex:0 0 20px;display:inline-block;vertical-align:middle;margin:0;border:1.5px solid #a9b8a5;border-radius:6px;background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:14px 14px;box-shadow:0 1px 2px #153d2410;cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
body input[type="checkbox"]:checked{background-color:var(--green);border-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.2 3.2L13 4.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
body input[type="checkbox"]:indeterminate{background-color:var(--green);border-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
body input[type="checkbox"]:not(:disabled):hover{border-color:#426d47;box-shadow:0 0 0 3px #426d4712}body input[type="checkbox"]:focus-visible{outline:3px solid #f5a263;outline-offset:3px}body input[type="checkbox"]:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
label:has(>input[type="checkbox"]){display:flex;align-items:center;justify-content:flex-start;gap:10px;width:fit-content;max-width:100%;min-height:36px;line-height:1.6;margin:12px 0;cursor:pointer}label:has(>input[type="checkbox"]:disabled){cursor:not-allowed}label:has(>input[type="checkbox"]) input{margin:0}#pickup-admin-enabled{margin:0}#rows input[type="checkbox"]{vertical-align:middle}
/* Sidebar navigation: grouped sections, decorative icons and a quiet scrollbar. */
.operator-sidebar{width:264px;padding:28px 16px 18px;background:linear-gradient(180deg,#143f2f 0%,#0e3226 100%);border-right:1px solid #ffffff0a;box-shadow:4px 0 20px #153d2406;overflow:hidden}.operator-main{margin-left:264px;width:calc(100% - 264px)}.operator-sidebar .brand{display:block;flex:none;padding:0 12px 20px;border-bottom:1px solid #ffffff13}.operator-sidebar .brand img{width:148px;max-width:100%;margin:0 0 12px}.operator-sidebar .brand span{display:block;color:#b6cdbd;font-size:11px;letter-spacing:.2px;line-height:1.5}
.operator-sidebar .operator-nav{display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:12px 0 0;padding:0 6px 8px 0;scrollbar-width:thin;scrollbar-color:#64827080 transparent;scrollbar-gutter:stable}.operator-sidebar .operator-nav::-webkit-scrollbar{width:4px;height:4px}.operator-sidebar .operator-nav::-webkit-scrollbar-track{background:transparent}.operator-sidebar .operator-nav::-webkit-scrollbar-thumb{background:#64827080;border-radius:8px}.operator-sidebar .operator-nav::-webkit-scrollbar-thumb:hover{background:#8aa58f}
.nav-group{display:grid;gap:4px;margin-bottom:15px}.nav-group-title{display:block;padding:8px 12px 4px;color:#94b29f;font-size:9px;font-weight:bold;letter-spacing:1.4px;text-transform:uppercase;line-height:1.5}.nav-group:not(:has(a:not([hidden]))){display:none}
.operator-sidebar nav a{display:flex;align-items:center;gap:11px;position:relative;color:#d7e5da;border:1px solid transparent;border-radius:11px;padding:11px 12px;min-height:44px;line-height:1.45;font-size:12px;text-decoration:none;transition:background-color .15s,color .15s,border-color .15s;min-width:0}.operator-sidebar nav a:not(.selected):hover{background:#ffffff0c;color:#fff;border-color:#ffffff0c}.operator-sidebar nav a.selected{background:#f4f4e9;border-color:#ffffff30;color:#173e2c;font-weight:700;box-shadow:0 3px 12px #00190e24}.operator-sidebar nav a.selected::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:20px;background:var(--orange);border-radius:0 3px 3px 0}.nav-icon{width:19px;height:19px;flex:0 0 19px;opacity:.84}.selected .nav-icon{color:#be6322;opacity:1}.nav-label{min-width:0;overflow-wrap:anywhere}.nav-external{margin-left:auto;color:#88aa96;font-size:14px}.operator-sidebar nav a:focus-visible{outline:3px solid #ffb77f;outline-offset:1px}.operator-sidebar .side-note{flex:none;margin:10px 0 0;padding:13px 12px;background:#ffffff05;border:1px solid #ffffff10;border-radius:12px;color:#d5e3d7;font-size:11px;line-height:1.5}.operator-sidebar .side-note p{color:#a9c1b0;line-height:1.6;font-size:10px;margin:7px 0 0}.operator-sidebar .side-note .dot{width:6px;height:6px;box-shadow:0 0 0 3px #f8b37512;margin-right:8px}
@media(max-width:1100px){.operator-sidebar{width:228px;padding-left:12px;padding-right:12px}.operator-main{margin-left:228px;width:calc(100% - 228px)}.operator-sidebar nav a{padding:10px;font-size:11px;gap:9px}}
@media(max-width:700px){.operator-sidebar{position:static;inset:auto;width:100%;padding:17px 14px 10px;display:block;overflow:visible;box-shadow:none}.operator-main{margin:0;width:100%}.operator-sidebar .brand{padding:0 3px 12px;border:0}.operator-sidebar .brand img{width:120px;margin:0}.operator-sidebar .brand span{display:none}.operator-sidebar .operator-nav{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;margin:4px 0 0;padding:4px 2px 9px;scrollbar-gutter:auto}.operator-sidebar .nav-group{display:contents}.operator-sidebar .nav-group-title{display:none}.operator-sidebar nav a{flex:0 0 auto;min-height:42px;padding:10px 12px;white-space:nowrap;font-size:12px}.operator-sidebar .nav-label{white-space:nowrap}.operator-sidebar .nav-icon{width:17px;height:17px;flex-basis:17px}.operator-sidebar .side-note{display:none}}
@media(prefers-reduced-motion:reduce){body input[type="checkbox"],.operator-sidebar nav a{transition:none}}
@media(forced-colors:active){body input[type="checkbox"]{appearance:auto;-webkit-appearance:auto;background-image:none;forced-color-adjust:auto}.operator-sidebar nav a.selected{outline:2px solid Highlight}.nav-icon{opacity:1}}

.operator-sidebar nav a{font-size:13px}@media(max-width:1100px){.operator-sidebar nav a{font-size:12px}}

body input[type="checkbox"]{padding:0!important;box-sizing:border-box}

/* Дневной план: интервалы и заявки */
#pickup-day-form{padding:18px;background:#f6f8f3;border:1px solid var(--line);border-radius:14px;gap:14px}
#pickup-day-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
#pickup-day-metrics article{background:#f6f8f3;border:1px solid var(--line);border-radius:12px;padding:18px}
#pickup-day-metrics span{display:block;color:var(--muted);font-size:12px;line-height:1.5;min-height:36px}
#pickup-day-metrics strong{display:block;margin-top:10px;font-size:28px;color:var(--green)}
#pickup-day-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:20px 0}
.day-slot{padding:16px;border:1px solid #dbe6d5;border-radius:12px;background:#fbfcf9;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.day-slot strong{font-size:17px}.day-slot p,.day-slot small{width:100%;margin:0}.day-slot small{color:var(--muted);line-height:1.5}
.day-slot-status,.day-request-status{font-size:11px;font-weight:700;padding:6px 9px;border-radius:20px;background:#eaf2e5;color:var(--green);line-height:1.4}
.day-slot-status--closed{background:#f0efeb;color:#6b6c65}
#pickup-day-requests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
#pickup-day-requests .pickup-day-row{border:1px solid var(--line);border-radius:15px;padding:20px;background:white;min-width:0;box-shadow:0 4px 16px #123d2a06}
.day-request-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.day-request-head h3{font-size:20px;margin:0}
.day-request-amount{display:block;font-size:25px;margin-top:16px}.day-request-caption{display:block;color:var(--muted);margin:4px 0 16px}.day-request-booking{font-size:12px;color:var(--muted)}
.pickup-day-row button{margin-top:10px;width:100%}
#pickup-day-detail:not(:empty){padding:22px;border:1px solid #cbdcc3;border-radius:14px;background:#f8fbf5;scroll-margin-top:20px}
@media(max-width:1000px){#pickup-day-requests{grid-template-columns:1fr}}
@media(max-width:600px){#pickup-day-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#pickup-day-form{padding:12px}#pickup-day-slots{grid-template-columns:1fr}}

.day-request-status--closed{background:#f0efeb;color:#666b63}

/* Доставка: тариф, расчёт и очередь исполнения */
#delivery-panel>h3{margin-top:32px;padding-top:24px;border-top:1px solid var(--line);font-size:20px}
#delivery-zone-form,#delivery-estimate-form{padding:20px;margin:18px 0;border:1px solid var(--line);border-radius:14px;background:#f8faf5}
#delivery-zone-form .toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;margin:18px 0}
#delivery-zone-form .toolbar label{min-width:0;width:100%;margin:0}
#delivery-estimate-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:14px;align-items:end}
#delivery-estimate-form button{grid-column:1/-1;justify-self:start}
#delivery-panel>.toolbar{flex-wrap:wrap;gap:12px;padding:16px;border-radius:12px;background:#f8faf5}
#delivery-panel>.toolbar label{min-width:160px;flex:1}
#delivery-requests,#delivery-dispatch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
#delivery-panel .delivery-request-card{display:block;min-width:0;margin:0;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 4px 16px #123d2a06}
.delivery-card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:18px}.delivery-card-head h3{font-size:17px;margin:0}
.delivery-card-status{border-radius:20px;background:#eaf2e5;color:var(--green);padding:6px 10px;font-size:11px;font-weight:700;line-height:1.5}.delivery-card-status--closed{background:#f0efeb;color:#666b63}
.delivery-card-destination{padding:14px;border-radius:10px;background:#f6f8f3;overflow-wrap:anywhere}.delivery-card-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.delivery-card-destination p{font-size:14px;font-weight:700;margin:6px 0}.delivery-card-destination small{color:var(--muted);line-height:1.5}
.delivery-card-total{padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:16px}.delivery-card-total strong{font-size:25px;display:block}.delivery-card-total small{display:block;color:var(--muted);margin-top:5px}.delivery-card-total p{font-size:12px;color:var(--muted)}
.delivery-request-card>label{margin-top:18px}.delivery-request-card>button{white-space:normal;margin:8px 0;width:100%;line-height:1.5}.delivery-request-card details{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.delivery-request-card summary{cursor:pointer;font-weight:700;color:var(--green);padding:6px 0}.delivery-request-card details p{font-size:12px;border-left:2px solid #dae5d3;padding-left:10px;margin:12px 0}
.delivery-empty{grid-column:1/-1;padding:28px;border:1px dashed #cdd8c6;border-radius:14px;background:#f8faf5;color:var(--muted);text-align:center}
@media(max-width:1100px){#delivery-requests,#delivery-dispatch-list{grid-template-columns:1fr}#delivery-zone-form .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#delivery-zone-form,#delivery-estimate-form{padding:14px}#delivery-zone-form .toolbar,#delivery-estimate-form{grid-template-columns:1fr}#delivery-estimate-form button{width:100%;white-space:normal}}

/* Сотрудники: карточки учётных записей */
#staff-form{padding:22px;background:#f6f8f3;border:1px solid var(--line);border-radius:14px;margin:24px 0 30px}
#staff-form label{min-width:0}#staff-form button{justify-self:start}
#staff-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#staff-list .staff-account-card{margin:0;padding:22px;min-width:0;box-shadow:0 4px 16px #123d2a06}
.staff-card-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.staff-avatar{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#eaf1e4;color:var(--green);font-size:16px;font-weight:700}.staff-card-identity{flex:1;min-width:120px;overflow-wrap:anywhere}.staff-card-identity h3{font-size:17px;line-height:1.4;margin:0}.staff-card-identity p{margin:4px 0 0;font-size:12px}
.staff-status{border-radius:20px;padding:6px 9px;background:#eaf2e5;color:var(--green);font-size:11px;font-weight:700}.staff-status--disabled{background:#f0efeb;color:#666b63}.staff-self{font-size:11px;color:var(--muted);margin:12px 0 0}
#staff-list .staff-system-role{padding:16px;margin:18px 0;border-radius:12px}#staff-list .system-role-badge{line-height:1.5;white-space:normal}
#staff-list .staff-account-card>label{display:block;margin:18px 0 8px}#staff-list .staff-account-card>label select{margin:8px 0 0;width:100%}#staff-list .staff-account-card>button{white-space:normal;line-height:1.5;margin:8px 8px 0 0}
.system-role-review{background:#fff8ed;border:1px solid #efd9b8;border-radius:10px;padding:16px}.system-role-review h4{color:#714d24}
@media(max-width:1100px){#staff-list{grid-template-columns:1fr}}
@media(max-width:600px){#staff-form,#staff-list .staff-account-card{padding:16px}.staff-card-head{gap:10px}#staff-form button{width:100%}.staff-account-card>button{width:100%}}

/* Корзина, сборки и сверка учебного остатка */
#cart-panel>.toolbar,#orders-panel>.toolbar,#order-attention>.toolbar,#stock-audit-form{padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7f9f4;flex-wrap:wrap;gap:14px;align-items:end}
#cart-panel>.toolbar label{flex:1;min-width:230px}#cart-panel>.toolbar button{margin:0}
#cart-panel>.table-wrap{overflow:visible}#cart-panel>.table-wrap>table{display:block}#cart-panel>.table-wrap>table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#cart-items{display:grid;gap:16px}#cart-items tr{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,.7fr) minmax(0,1.4fr);gap:18px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 3px 12px #123d2a05}
#cart-items td{display:block;border:0;padding:0;min-width:0;vertical-align:top}#cart-items td:before{content:attr(data-label);display:block;margin-bottom:9px;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
#cart-items td:first-child strong{font-size:15px;line-height:1.5}#cart-items td small{font-size:12px;line-height:1.6;margin-top:8px}#cart-items input{margin:0;width:100%}
#cart-items td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:14px}#cart-items td:last-child:before{display:none}#cart-items td:last-child>button{margin:0}
.cart-stock-control{margin-right:auto;max-width:100%;font-size:12px}.cart-stock-control summary{cursor:pointer;color:var(--muted);padding:8px 0}.cart-stock-control input{margin:8px 0!important;max-width:260px}.cart-stock-control button{white-space:normal}.cart-stock-control[open]{flex-basis:100%;padding:12px;border:1px solid var(--line);background:#f8faf5;border-radius:10px}
#quote-result{margin-top:24px;padding:22px;border:1px solid #d6e3cc;border-radius:14px;background:#f8fbf5}#quote-subtotal{display:block;font-size:24px;margin:18px 0}
#order-attention{display:block;padding:22px;border:1px solid #ebddc8;border-radius:14px;background:#fffcf7;margin:24px 0}#order-attention>h3{margin-top:0}#order-attention>.toolbar label{min-width:150px;flex:1;margin:0}
#attention-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}#attention-list>.warehouse{display:block;padding:18px;border:1px solid #eadfcf;border-left:4px solid #e5a55e;border-radius:12px;background:#fff;margin:0;min-width:0}#attention-list strong{font-size:14px;line-height:1.6;display:block}#attention-list p{font-size:13px;line-height:1.7}#attention-list button{margin-top:10px;white-space:normal}
#orders-panel .table-wrap,#stock-audit-panel .table-wrap{border:1px solid var(--line);border-radius:12px;margin:22px 0}#orders-panel table th,#stock-audit-panel table th{background:#f4f7ef;padding:15px 14px;white-space:normal}#orders-panel table td,#stock-audit-panel table td{padding:18px 14px}#orders-panel table small,#stock-audit-panel table small{font-size:11px;overflow-wrap:anywhere}
#stock-audit-form label{flex:1;max-width:520px;margin:0}#stock-audit-form button{white-space:normal}#stock-audit-state,#expiry-worker-state{padding:14px 16px;border-radius:10px;background:#f4f7ef;border:1px solid var(--line);font-size:13px;line-height:1.7}
.stock-check-badge{display:inline-block;padding:6px 10px;border-radius:18px;background:#eaf2e5;color:var(--green);font-size:11px;font-weight:700;white-space:nowrap}.stock-check-badge--warning{background:#fff0db;color:#83511e}
#stock-ledger-rows{display:grid;gap:12px;margin:20px 0}#stock-ledger-rows>.warehouse{display:block;border:1px solid var(--line);border-left:3px solid #b3c9a5;border-radius:12px;padding:18px 20px;background:#fbfcf9;margin:0;min-width:0}#stock-ledger-rows strong{display:block;font-size:14px;line-height:1.6}#stock-ledger-rows small{display:block;font-size:11px;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}#stock-ledger-rows p{font-size:13px}
@media(max-width:1100px){#attention-list{grid-template-columns:1fr}}
@media(max-width:700px){#cart-items tr{grid-template-columns:1fr 1fr;padding:16px;gap:14px}#cart-items td:first-child{grid-column:1/-1}#cart-items td:last-child{grid-column:1/-1}.cart-stock-control{flex-basis:100%}#cart-panel>.toolbar label{min-width:0;flex-basis:100%}#cart-panel>.toolbar button{flex:1;white-space:normal}#order-attention{padding:16px}#stock-audit-form{padding:14px}#stock-audit-form label{min-width:0;flex-basis:100%}#orders-panel table,#stock-audit-panel table{min-width:650px}}

/* Контроль источника и локальные пакеты */
#source-health-state,#packages-summary{padding:16px 18px;margin:20px 0;border:1px solid var(--line);border-radius:12px;background:#f6f8f3;font-size:13px;line-height:1.7}
.source-health-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.source-health-metrics article{padding:22px;border:1px solid var(--line);border-radius:14px;background:#f8faf5}.source-health-metrics span{display:block;font-size:12px;color:var(--muted);line-height:1.5}.source-health-metrics strong{display:block;font-size:30px;margin-top:14px;color:var(--green)}
#source-health-details>p{padding:14px 16px;background:#fcfcf9;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere;line-height:1.7}
#shop-preview-link{display:inline-flex;align-items:center;min-height:42px;margin-top:18px;padding:10px 16px;background:var(--green);color:#fff;text-decoration:none;border-radius:9px;font-weight:700;font-size:13px}
#packages-panel>.toolbar{padding:18px;background:#f6f8f3;border:1px solid var(--line);border-radius:14px;gap:14px;flex-wrap:wrap}#packages-panel>.toolbar label{min-width:190px;flex:1;margin:0}#packages-panel>.toolbar button{white-space:normal}
#packages-panel .table-wrap{border:1px solid var(--line);border-radius:12px}#packages-panel table{min-width:760px}#packages-panel table th{background:#f4f7ef;padding:15px 14px;white-space:normal}#packages-panel table td{padding:18px 14px;vertical-align:top;max-width:240px}#packages-panel table strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}#packages-panel table small{font-size:11px;line-height:1.6;overflow-wrap:anywhere;margin-top:7px}#packages-panel table button{white-space:normal;line-height:1.5}
.package-state-badge{display:inline-block;padding:7px 10px;border-radius:18px;background:#edf2e8;color:var(--green);font-size:11px;font-weight:700;line-height:1.5}
@media(max-width:600px){.source-health-metrics{grid-template-columns:1fr}.source-health-metrics article{padding:16px}.source-health-metrics strong{font-size:26px;margin-top:8px}#packages-panel>.toolbar{padding:14px}#packages-panel>.toolbar label{min-width:0;flex-basis:100%}}

/* Настройки магазина и структура каталога */
#warehouses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
#warehouses>.warehouse{display:block;margin:0;padding:22px;background:#f8faf5;border:1px solid var(--line);border-radius:14px;min-width:0}
#warehouses strong{display:block;font-size:17px;line-height:1.5}#warehouses small{display:block;margin:8px 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}#warehouses button{margin-top:12px;white-space:normal;line-height:1.5}
.warehouse-mapping-status{display:inline-block;font-size:12px;background:#eaf2e5;color:var(--green);border-radius:8px;padding:8px 10px}.warehouse-mapping-status--pending{background:#fff0da;color:#83511e}
#settings .settings-actions{display:flex;flex-wrap:wrap;gap:12px;padding:18px;background:#f5f7f0;border:1px solid var(--line);border-radius:12px}#settings .settings-actions button{margin:0;white-space:normal}
#store-form{padding:20px;background:#f8faf5;border:1px solid var(--line);border-radius:14px}#store-form .inline{margin-top:10px}
#category-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr);gap:10px 18px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#f6f8f3;margin:24px 0}
#category-form>label[for=category-name],#category-form>.inline{grid-column:1/-1}#category-form>label{margin:0}#category-form>label[for=category-parent]{grid-row:3;grid-column:1}#category-form>label[for=category-order]{grid-row:3;grid-column:2}#category-parent{grid-column:1;grid-row:4}#category-order{grid-column:2;grid-row:4}#category-form input,#category-form select{margin:0}#category-form>.inline{align-items:center;flex-wrap:nowrap}
#category-list{margin:24px 0}#category-list .category-row{border-radius:12px;background:#fff;padding:0;border:1px solid var(--line);box-shadow:0 3px 12px #123d2a04;overflow:hidden}
.category-row>summary{position:relative;display:flex;align-items:center;gap:12px;padding:18px;list-style:none}.category-row>summary::-webkit-details-marker{display:none}.category-row>summary:before{content:'';width:8px;height:8px;border:solid var(--green);border-width:2px 2px 0 0;transform:rotate(45deg);transition:transform .15s;margin-right:6px}.category-row[open]>summary:before{transform:rotate(135deg)}.category-row[open]>summary{background:#f5f8f0;border-bottom:1px solid var(--line)}
.category-caption{flex:1;min-width:0}.category-caption strong{display:block;font-size:15px;line-height:1.5}.category-caption small{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.category-order-badge{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:16px;padding:6px 9px;white-space:nowrap}
#category-list .warehouse{display:grid;grid-template-columns:1fr;gap:8px;margin:0;border:0;padding:20px;background:#fbfcf9}#category-list .warehouse>label{margin:0}#category-list .warehouse input,#category-list .warehouse select{margin:0 0 8px}#category-list .warehouse button{justify-self:start;white-space:normal}
@media(max-width:900px){#warehouses{grid-template-columns:1fr}}
@media(max-width:600px){#category-form{display:block;padding:16px}#category-form>label{display:block;margin:16px 0 8px}#category-form>.inline{flex-wrap:wrap}#category-form>.inline button{width:100%}#category-form input,#category-form select{margin-bottom:8px}.category-row>summary{padding:14px;flex-wrap:wrap}.category-order-badge{margin-left:22px}#settings .settings-actions button{width:100%}}

/* Редактор баннера: настройки и живой предпросмотр */
#banner-state{padding:15px 18px;border:1px solid var(--line);background:#f6f8f3;border-radius:12px;margin:20px 0;font-size:13px;line-height:1.7}
.banner-workbench{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
#banner-form{margin:0;padding:22px;background:#f8faf5;border:1px solid var(--line);border-radius:14px;gap:9px}#banner-form>label{margin:10px 0 0}#banner-form>label:first-child{margin-top:0}#banner-form input,#banner-form select{margin:0}#banner-body{line-height:1.7;background:white}
#banner-form>.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0;padding-top:18px;border-top:1px solid var(--line)}#banner-form>.toolbar button{width:100%;white-space:normal;line-height:1.5}#banner-publish{background:white;color:var(--green);border-color:#a9bd9c}
#banner-preview{margin:0;padding:28px;position:sticky;top:24px;border:1px solid #dbe2d0;box-shadow:0 8px 28px #123d2a08;min-width:0}#banner-preview>small{display:block;font-size:10px;font-weight:700;letter-spacing:1.5px;color:#52654b}#banner-preview h3{font-size:clamp(23px,2.4vw,34px);line-height:1.2;letter-spacing:-.6px;margin:24px 0 18px}#banner-preview-body{font-size:14px;line-height:1.8;margin-bottom:24px}#banner-preview-button{font-size:13px;font-weight:700;padding:13px 18px;color:var(--green);line-height:1.5}#banner-preview-target{margin-top:24px;padding-top:16px;border-top:1px solid #123d2a20;font-size:12px;color:#52654b;line-height:1.7}
@media(max-width:1000px){.banner-workbench{grid-template-columns:1fr}#banner-preview{position:static}}@media(max-width:600px){#banner-form{padding:16px}#banner-preview{padding:22px}.banner-workbench{gap:18px}}

/* Самовывоз: настройки пункта и публикация интервала */
#pickup-admin-state{padding:15px 18px;border:1px solid var(--line);border-radius:12px;background:#f6f8f3;margin:20px 0;font-size:13px;line-height:1.7}
#pickup-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#f8faf5;margin:22px 0}
#pickup-profile-form>label:first-child{grid-column:1/-1}#pickup-profile-form>label{margin:0;min-width:0}#pickup-profile-form>label:has(input[type=checkbox]){grid-column:1/-1;width:100%}#pickup-profile-form>button{grid-column:1/-1;justify-self:start;white-space:normal}
#pickup-slot-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:1px solid var(--line);border-radius:14px;padding:22px;background:#fff;margin:24px 0}#pickup-slot-form>h3{grid-column:1/-1;font-weight:700;font-size:17px;color:var(--green);margin:0 0 4px}#pickup-slot-form label{margin:0;min-width:0}#pickup-slot-form button{grid-column:1/-1;justify-self:start;white-space:normal}
#pickup-admin-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}#pickup-admin-slots>article{padding:20px;border:1px solid var(--line);border-radius:14px;background:#f8faf5;min-width:0}#pickup-admin-slots p{font-size:13px;line-height:1.8;margin:0 0 14px}#pickup-admin-slots button{white-space:normal;line-height:1.5}
@media(max-width:700px){#pickup-profile-form,#pickup-slot-form,#pickup-admin-slots{grid-template-columns:1fr}#pickup-profile-form,#pickup-slot-form{padding:16px}#pickup-profile-form>button,#pickup-slot-form>button{width:100%}}

/* Каталог, редактор и адаптация рабочих форм */
#catalog-quality{padding:22px;background:#f8faf5;border:1px solid var(--line);border-radius:14px;margin:24px 0}
#quality-state{font-size:12px;color:var(--muted);line-height:1.7}.quality-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quality-metric{border-radius:12px;min-height:100px;padding:17px;transition:border-color .15s,box-shadow .15s}.quality-metric:hover{border-color:#9db68c;box-shadow:0 3px 12px #123d2a0a}.quality-metric strong{font-size:27px}
.catalog-filter-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;padding:20px;background:#f6f8f3;border:1px solid var(--line);border-radius:14px;margin:24px 0}.catalog-filter-block>label{margin:0}.catalog-filter-block>label[for=quality-filter]{grid-column:1;grid-row:1}.catalog-filter-block>label[for=catalog-category-filter]{grid-column:2;grid-row:1}.catalog-filter-block>#quality-filter{grid-column:1;grid-row:2;margin:0}.catalog-filter-block>#catalog-category-filter{grid-column:2;grid-row:2;margin:0}.catalog-filter-block>#search-form{grid-column:1/-1;margin:8px 0 0}
#bulk-category-panel{padding:18px 20px;border:1px solid #d9e3d1;border-radius:12px;background:#fbfcf9;margin:24px 0}#bulk-category-panel>summary{font-weight:700;cursor:pointer;color:var(--green);line-height:1.6}#bulk-category-panel>p{font-size:13px;line-height:1.7;margin:16px 0}#bulk-category-panel>button{white-space:normal;margin-top:12px;line-height:1.5}#bulk-review{overflow-wrap:anywhere}
#catalog>.table-wrap{border:1px solid var(--line);border-radius:12px}#catalog>.table-wrap>table{min-width:780px}#catalog th{background:#f4f7ef;padding:15px 12px}#catalog td{padding:18px 12px;vertical-align:middle}#catalog td:first-child{min-width:52px;width:52px}#catalog td:nth-child(2){min-width:240px;max-width:360px}#catalog td:nth-child(2) strong{font-size:14px;line-height:1.5}#catalog td button{white-space:normal;line-height:1.5}#catalog tbody tr:hover{background:#fbfcf8}#empty{padding:24px;background:#f6f8f3;border-radius:12px;text-align:center}
#editor{width:min(760px,calc(100% - 32px));padding:26px;max-height:calc(100dvh - 40px);overflow-y:auto}#editor .section-head{gap:12px}#editor .section-head h2{margin:0;font-size:24px}#editor .section-head button{flex:0 0 42px;padding:8px}#source-title,#editor-queue{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.editor-section{min-width:0;margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fafbf7}.editor-section legend{padding:0 8px;font-size:15px;font-weight:700;color:var(--green)}#editor .editor-section>label{margin:14px 0 7px}#editor .editor-section>input,#editor .editor-section>select{margin:0 0 10px}#editor textarea{font:inherit;width:100%;border:1px solid #cdd5cb;border-radius:8px;padding:12px;line-height:1.7;resize:vertical;background:white;color:var(--ink)}#editor .editor-section>p{font-size:12px;line-height:1.7}
#photo-editor{padding:20px;border:1px solid var(--line);border-radius:12px;margin:24px 0;background:#f8faf5}#photo-editor h3{margin:0 0 12px;font-size:17px}#photo-preview{max-width:100%;max-height:240px;object-fit:contain;border-radius:12px;border:1px solid var(--line);background:white}#photo-file{padding:10px;font-size:12px}#photo-file::file-selector-button{border:1px solid #cbd5c4;border-radius:7px;padding:8px 12px;margin-right:12px;background:#edf3e7;color:var(--green);font-weight:700;cursor:pointer}#photo-editor .toolbar{margin:16px 0 0;flex-wrap:wrap}#photo-editor button{white-space:normal}
#editor .editor-actions{bottom:-26px;padding:16px 0;background:#fff;box-shadow:0 -8px 18px #fff;gap:10px}#editor .editor-actions button{white-space:normal;line-height:1.5}#editor-discard{padding:16px;background:#fff5e6;border:1px solid #ecd8b9;border-radius:12px}#editor-discard button{white-space:normal;margin:6px 6px 0 0}#cart-add-fields{padding:18px;background:#f6f8f3;border:1px solid var(--line);border-radius:12px;margin:20px 0}#cart-add-fields hr{display:none}#cart-add-fields button{white-space:normal}
@media(max-width:800px){.quality-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{flex-wrap:wrap}.toolbar>.badge{white-space:normal;overflow-wrap:anywhere}.operator-main{min-width:0}input,select,textarea{min-width:0}}
@media(max-width:600px){#catalog-quality{padding:16px}.quality-metric{padding:12px;min-height:92px}.quality-metric strong{font-size:23px}.catalog-filter-block{display:block;padding:16px}.catalog-filter-block>label{margin:14px 0 8px}.catalog-filter-block>label:first-child{margin-top:0}.catalog-filter-block>#search-form{margin-top:16px}.catalog-filter-block>#search-form button{padding:10px 14px}#editor{padding:18px;width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.editor-section,#photo-editor{padding:15px}#editor .editor-actions{bottom:-18px;grid-template-columns:1fr}#editor .section-head h2{font-size:21px}.pagination button{white-space:normal}.operator-main>.toolbar{align-items:stretch}.operator-main button{max-width:100%}}

.category-assist{padding:20px;border:1px solid #cbdcc9;border-radius:16px;background:#f5f8ef;margin:22px 0}.category-assist>summary{font-weight:700;font-size:17px;cursor:pointer}.assist-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px;margin:18px 0}.assist-group{padding:18px;background:white;border:1px solid #dfe6d8;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:10px}.assist-count{font-weight:700;color:#f47a20}.assist-group p,.assist-group button{grid-column:1/-1}.assist-group p{margin:0;font-size:12px;line-height:1.6}.assist-items{border:1px solid #dfe6d8;border-radius:12px;background:white;margin:15px 0}.assist-item{display:flex!important;gap:12px;padding:14px!important;margin:0!important;border-bottom:1px solid #e8ece3;align-items:center}.assist-item:last-child{border-bottom:0}.assist-item input{flex:none!important;width:20px!important;height:20px!important;min-height:20px!important;margin:0!important}.assist-item span{display:grid;gap:6px;min-width:0}.assist-item small{font-size:12px;font-weight:400;color:#657366}#assist-write{padding:18px;background:white;border-radius:12px}#assist-review{margin-top:16px}#assist-review ol{max-height:260px;overflow:auto;padding-left:24px}#assist-review li{padding:6px 0}#assist-create{margin:16px 0}

.assist-items{max-height:460px;overflow:auto}#assist-groups[hidden]{display:none!important}

.real-request-settings{background:#f5f8ef;border:1px solid #dfe6d8;padding:18px;border-radius:14px;margin:20px 0}.real-request-card{border:1px solid #dfe6d8;border-radius:16px;padding:20px;margin:16px 0;background:#fff}.real-request-head{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}.real-request-head h3{margin:0}.real-request-detail{border-top:1px solid #dfe6d8;margin-top:18px;padding-top:18px}.real-request-detail textarea{width:100%;resize:vertical;min-height:90px}.real-request-detail a{display:inline-block;margin:8px 0}.real-request-detail p{overflow-wrap:anywhere}

.login-policy-settings{padding:20px;margin-bottom:28px;border:1px solid #dfe6d8;background:#f6f8f1;border-radius:16px}.login-policy-settings .checkbox-label{display:flex;align-items:center;gap:12px;margin:16px 0}.login-policy-settings button{margin-top:8px}

.launch-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:24px 0}.launch-metric{padding:18px;border:1px solid #dfe6d8;border-radius:14px;background:#f6f8f1}.launch-metric strong{display:block;font-size:29px;color:#123d2a}.launch-metric span{font-size:13px;color:#647263}.launch-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}.launch-check{padding:20px;border:1px solid #dfe6d8;border-radius:16px}.launch-check-head{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}.launch-check h3{font-size:17px;margin:0}.launch-check p{line-height:1.65;color:#647263;font-size:14px}.launch-state{font-size:12px;border-radius:20px;padding:6px 10px;background:#edf5e9}.launch-state-action{background:#fff0df;color:#8a460a}.launch-state-manual{background:#edf1f7;color:#405371}.launch-link{display:inline-block;font-size:13px;color:#123d2a;text-decoration:underline;padding:8px 0}

.launch-preparation{margin-top:32px;padding-top:24px;border-top:1px solid #dce3d9}.launch-preparation-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e5e9e1}.launch-preparation-item h4{margin:0 0 6px}.launch-preparation-item small{overflow-wrap:anywhere;color:#60736a}.launch-preparation-item p{margin:8px 0 0;color:#7d541e}.launch-preparation-item button{flex-shrink:0}@media(max-width:600px){.launch-preparation-item{align-items:stretch;flex-direction:column}}

.product-draft-preview{margin:24px 0;padding:18px;background:#f8f7f0;border:1px solid #dce4d7;border-radius:16px}.product-draft-preview summary{font-weight:700;cursor:pointer;padding:6px 0}.draft-product{background:white;border:1px solid #dfe6d8;border-radius:18px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.draft-product-media{background:#f2f4ed;display:grid;place-items:center;min-height:220px;padding:16px}.draft-product-media img{max-width:100%;width:100%;height:240px;object-fit:contain}.draft-product-media div{color:#647263;text-align:center}.draft-product-body{padding:24px;min-width:0;overflow-wrap:anywhere}.draft-product-body h3{font-size:24px;margin:12px 0}.draft-product-body strong{font-size:22px;color:#123d2a}.draft-product-body p{white-space:pre-wrap}.draft-product-availability{font-size:12px;display:inline-block;background:#fff0df;color:#8a460a;padding:8px 12px;border-radius:20px}@media(max-width:600px){.draft-product{grid-template-columns:minmax(0,1fr)}.draft-product-body{padding:18px}.draft-product-media{min-height:160px}}

.pilot-assortment{margin-top:28px;padding-top:24px;border-top:1px solid #dce3d9}.pilot-item-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.pilot-choice{font-size:13px;display:flex;align-items:center;gap:8px}.pilot-choice input{flex-shrink:0}.pilot-assortment .launch-preparation-item p{max-width:650px}@media(max-width:600px){.pilot-item-actions{justify-content:flex-start}}

.pilot-task-note{white-space:pre-wrap;overflow-wrap:anywhere}#pilot-task-dialog{max-width:620px;width:calc(100% - 32px);border:1px solid #dfe6d8;border-radius:18px;padding:24px}#pilot-task-dialog::backdrop{background:#123d2a88}#pilot-task-dialog textarea{width:100%;box-sizing:border-box}#pilot-task-form label{display:block;margin:16px 0}

.pilot-assortment .launch-preparation-item>div:first-child{flex:1;min-width:0}.pilot-assortment .pilot-item-actions{flex:0 1 300px}.pilot-assortment .pilot-task-note{color:#385d4b}@media(max-width:600px){.pilot-assortment .pilot-item-actions{flex-basis:auto}}

.pilot-history{margin:28px 0;padding:20px;border:1px solid #dfe6d8;border-radius:16px;background:#f8f9f3}.pilot-history summary{font-weight:700;cursor:pointer}.pilot-history-card{padding:18px;background:white;border:1px solid #dfe6d8;border-radius:12px;margin:14px 0;overflow-wrap:anywhere}.pilot-history-card h4{margin:0 0 8px}.pilot-history-card small{color:#647263}.pilot-history-card p{line-height:1.6}

.pilot-overdue{color:#a43d22!important;font-weight:700}.pilot-workload{text-align:left;cursor:pointer;white-space:normal}.pilot-workload strong{font-size:17px}.pilot-workload span{line-height:1.7;display:block;margin-top:10px}

.pilot-assortment .toolbar{flex-wrap:wrap}.pilot-assortment .toolbar label{flex:1 1 180px;min-width:0;margin-right:0}.pilot-assortment .toolbar button{max-width:100%;white-space:normal}.pilot-workload{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.pilot-assortment .toolbar label{flex-basis:100%}}

#catalog-work-dialog{max-width:620px;width:calc(100% - 32px);border:1px solid #dfe6d8;border-radius:18px;padding:24px}#catalog-work-dialog::backdrop{background:#123d2a88}#catalog-work-form label{display:block;margin:16px 0}#catalog-work-form textarea{width:100%;box-sizing:border-box}#catalog-tasks-panel .toolbar{flex-wrap:wrap}

#pilot-review-dialog{max-width:640px;width:calc(100% - 32px);border:1px solid #dfe6d8;border-radius:18px;padding:24px}#pilot-review-dialog::backdrop{background:#123d2a88}#pilot-review-form label{display:block;margin:16px 0}#pilot-review-form textarea{width:100%;box-sizing:border-box}#pilot-review-form label.check{display:flex}

#pilot-text-import>label{display:block;margin:18px 0}#pilot-text-import textarea{width:100%;box-sizing:border-box;font-family:monospace}#pilot-text-import .check{display:flex}#pilot-text-import summary{cursor:pointer}

#pilot-photo-import>label{display:block;margin:18px 0}#pilot-photo-import>.check{display:flex}.pilot-photo-card img{width:160px;height:160px;object-fit:contain;float:right;margin:0 0 12px 20px;border-radius:10px;background:#f3f5ed}.pilot-photo-card{min-height:190px}#pilot-photo-names{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}@media(max-width:600px){.pilot-photo-card img{float:none;display:block;margin:0 0 16px}}

.pilot-bulk-choices{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:12px;margin:18px 0;padding:8px}.pilot-bulk-choice{padding:12px;margin:0!important;border-bottom:1px solid var(--line);align-items:flex-start}.pilot-bulk-choice:last-child{border-bottom:0}.pilot-bulk-choice span{overflow-wrap:anywhere}#pilot-bulk-tasks>.check{display:flex;margin:20px 0}#pilot-bulk-tasks select{max-width:100%}

#catalog-submit-panel>.check{display:flex;margin:20px 0}#catalog-task-search{min-width:240px}#catalog-submit-count{font-weight:600}

/* Production workspace keeps rehearsal controls inaccessible. */
.operational-only #cart-add-fields,.operational-only a[href="/shop/"],.operational-only a[href="/docs"]{display:none!important}

.photo-assistant-steps{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.photo-assistant-steps span{padding:10px 16px;background:#eef2e5;border-radius:24px;font-size:13px}.photo-match-card{display:grid;grid-template-columns:180px 1fr;gap:24px;padding:24px;margin:20px 0;border:1px solid #dce3d5;border-radius:14px}.photo-match-card img{width:180px;height:180px;object-fit:contain;background:#f7f7f1;border-radius:10px}.photo-match-card label{display:block;margin:12px 0}.photo-match-card input{width:100%}.photo-search-results{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}#photo-assistant-panel>.check{display:flex;margin:20px 0}@media(max-width:640px){.photo-match-card{grid-template-columns:1fr}.photo-match-card img{width:150px;height:150px}}

.receiving-summary{padding:16px;border-radius:12px;background:#f0f4e8;margin:14px 0;border:1px solid #dfe6d8}.receiving-summary p{margin:6px 0;overflow-wrap:anywhere}

/* Stable vector UI icons: no platform emoji glyphs. */
.ui-icon{width:1em;height:1em;display:inline-block;vertical-align:-.14em;flex:0 0 auto;pointer-events:none}.hub-session-actions button{display:flex;align-items:center;justify-content:center;gap:9px}.hub-session-actions button .ui-icon{width:20px;height:20px}.hub-menu button b .ui-icon{width:15px;height:15px}.category-symbol .ui-icon{width:50px;height:50px}.art-star .ui-icon{width:1em;height:1em}.loyalty-card button>.ui-icon{width:18px;height:18px;margin-right:5px}

.receiving-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;margin-top:22px}.receiving-times{display:grid;grid-template-columns:1fr 1fr;gap:16px}.receiving-preview{background:#f3f5ea;padding:26px;border:1px solid #e1e6d8;border-radius:20px;align-self:start}.receiving-preview h3{margin-top:8px}.receiving-preview p{white-space:pre-wrap;overflow-wrap:anywhere}.receiving-preview small{display:block;margin-top:22px;color:#77866f;line-height:1.6}.receiving-check{display:flex;align-items:center;gap:12px;margin:12px 0!important}.receiving-check input{appearance:none;flex:0 0 22px;width:22px;height:22px;min-height:22px;padding:0;margin:0;border:1px solid #bdcdb4;border-radius:6px;background:white;display:grid;place-items:center}.receiving-check input:checked{background:#153d2e}.receiving-check input:checked:after{content:'';width:6px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-3px}#receiving-form input,#receiving-form textarea{width:100%}@media(max-width:760px){.receiving-grid{grid-template-columns:1fr}.receiving-preview{padding:20px}}

#receiving-form{max-width:none}#receiving-form textarea{font:inherit;min-height:100px;border:1px solid #c8d3c0;border-radius:12px;padding:12px;background:white;color:#153d2e;resize:vertical}.receiving-preview{color:#153d2e}

.delivery-rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px}.delivery-rule-card{border:1px solid #e0e6d8;border-radius:18px;background:#f6f7ef;padding:22px;margin-bottom:16px}.delivery-rule-card h3{margin:0 0 10px}.delivery-rule-card p{white-space:pre-wrap;overflow-wrap:anywhere}#delivery-rule-zone-form,#delivery-rules-form{max-width:none}#delivery-rule-zone-form input{width:100%}#delivery-rule-zone-form textarea{font:inherit;min-height:100px;width:100%;border:1px solid #c8d3c0;border-radius:12px;padding:12px;color:#153d2e}#delivery-rules-form{border-bottom:1px solid #e0e6d8;padding-bottom:20px}@media(max-width:760px){.delivery-rules-grid{grid-template-columns:1fr}}

.request-agreement{margin:24px 0;padding:22px;border:1px solid #d5dfd0;border-radius:16px;background:#f8faf4}.agreement-state{padding:12px 14px;border-radius:10px;background:#eef1e7;font-weight:600}.agreement-confirmed{background:#e2f1e2;color:#164a30}.agreement-changed,.agreement-unavailable{background:#fff0db;color:#805018}

.proposal-editor{border-top:1px solid #d5dfd0;margin-top:22px;padding-top:14px}.proposal-row{display:grid;grid-template-columns:2fr 1fr;gap:16px;align-items:center;margin:14px 0}.proposal-row input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:10px}.proposal-editor textarea{width:100%;min-height:90px;font:inherit;border:1px solid #c8d3c0;border-radius:12px;padding:12px}@media(max-width:600px){.proposal-row{grid-template-columns:1fr}}

/* Exchange center */
#source-health-panel>h2{font-size:26px}#source-health-panel>.muted{max-width:760px}#source-health-state{font-size:12px!important;color:var(--muted);padding:0!important;background:none!important;border:0!important;margin:12px 0 24px!important}.exchange-center{display:block}.exchange-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:20px}.exchange-box{border:1px solid var(--line);border-radius:20px;padding:26px;background:#fff;min-width:0}.exchange-box h3{font-size:20px;margin:0 0 12px}.exchange-hero{background:linear-gradient(130deg,#123e2e,#205640);color:#fff;border-color:#123e2e}.exchange-hero h3{color:#fff}.exchange-hero .exchange-muted{color:#cadbcf}.exchange-mode-copy{font-size:15px;line-height:1.7;max-width:680px}.exchange-muted{color:var(--muted);font-size:13px;line-height:1.65}.exchange-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:700;line-height:1.4;background:#f0f3ed;color:#53665b;margin-right:6px;white-space:normal}.exchange-badge.good{background:#e7f3e6;color:#24633f}.exchange-badge.amber{background:#fff0d6;color:#925b12}.exchange-badge.danger{background:#fce8e4;color:#a33327}.exchange-info-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px;border-top:1px solid #ffffff30;padding-top:20px;margin-top:24px}.exchange-info-grid small{display:block;color:#c4d9cd;font-size:11px;margin-bottom:6px}.exchange-info-grid strong{font-size:13px;font-weight:600}.exchange-steps{background:#f5f5ed}.exchange-steps ol{padding-left:20px;margin-bottom:0}.exchange-steps li{font-size:13px;line-height:1.7;margin:10px 0;color:#52665a}.exchange-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 28px}.exchange-metrics article{padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:#f8faf5}.exchange-metrics small{display:block;color:var(--muted);font-size:12px}.exchange-metrics strong{display:block;font-size:32px;line-height:1.2;margin-top:12px;letter-spacing:-1px}.exchange-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.exchange-tabs button{background:none;border:none;border-radius:0;color:var(--muted);padding:14px 18px;white-space:nowrap;border-bottom:3px solid transparent}.exchange-tabs button[aria-selected=true]{color:var(--green);border-bottom-color:#f5821f;font-weight:700}.exchange-filters{display:flex;justify-content:flex-end;margin:18px 0}.exchange-filters select{width:240px;max-width:100%}.exchange-run{border:1px solid var(--line);border-radius:14px;margin:12px 0;background:#fff;overflow:hidden}.exchange-run>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}.exchange-run>summary::after{content:'';width:8px;height:8px;border-right:1.5px solid #829182;border-bottom:1.5px solid #829182;transform:rotate(45deg);flex:none}.exchange-run>summary strong{display:block;font-size:14px;overflow-wrap:anywhere}.exchange-run>summary small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.exchange-run[open]>summary{border-bottom:1px solid var(--line);background:#f8faf6}.exchange-run>.exchange-muted,.exchange-run>.exchange-note{margin:16px 20px}.exchange-file{padding:16px 20px;border-bottom:1px solid #edf0e8}.exchange-file:last-child{border:0}.exchange-file-head{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.exchange-file-head strong{font-size:12px;overflow-wrap:anywhere;max-width:80%;font-weight:600}.exchange-file p{margin:8px 0 0}.exchange-note{background:#fff4df;color:#8e631a;padding:12px 16px;border-radius:10px;font-size:12px}.exchange-empty{padding:36px 20px;text-align:center;background:#f7f8f3;border:1px dashed #d5dfce;border-radius:14px;color:var(--muted);font-size:14px;margin-top:18px}.exchange-run>button{margin:16px 20px}.exchange-log{white-space:pre-wrap;overflow-wrap:anywhere;max-height:480px;overflow:auto;background:#102c23;color:#d7e7db;padding:20px;margin:0;font:12px/1.7 ui-monospace,monospace}.exchange-technical{margin:24px 0;color:var(--muted);font-size:12px}.exchange-technical summary{cursor:pointer}.exchange-technical p{overflow-wrap:anywhere}.exchange-maintenance{border-color:#ebd2c7;background:#fffaf6}.exchange-danger-button{background:#a23e32;border:1px solid #a23e32;color:white;padding:12px 18px;border-radius:10px}.exchange-danger-button:disabled{opacity:.45;cursor:not-allowed}.exchange-archive-list{border-top:1px solid #ead9cd;margin-top:24px;padding-top:16px}.exchange-confirm-dialog{width:min(520px,calc(100vw - 32px));padding:28px;border:1px solid var(--line);border-radius:20px;color:var(--green);box-shadow:0 24px 80px #102c2350}.exchange-confirm-dialog::backdrop{background:#102c2380}.exchange-confirm-dialog input{width:100%;margin:12px 0 22px}.exchange-dialog-actions{display:flex;gap:10px;flex-wrap:wrap}.exchange-error{color:#a33327;font-size:13px}.exchange-confirm-dialog h2{font-size:23px}.exchange-confirm-dialog p{font-size:14px;line-height:1.6}
@media(max-width:900px){.exchange-overview{grid-template-columns:1fr}.exchange-steps{display:none}}@media(max-width:600px){.exchange-box{padding:18px}.exchange-metrics{gap:8px}.exchange-metrics article{padding:14px 12px}.exchange-metrics strong{font-size:24px}.exchange-metrics small{font-size:10px}.exchange-info-grid{grid-template-columns:1fr;gap:14px}.exchange-run>summary{padding:16px 14px;flex-wrap:wrap}.exchange-file-head{flex-direction:column;gap:8px}.exchange-file-head strong{max-width:100%}.exchange-tabs button{padding:12px 10px;font-size:12px}}

/* Stable staff session and recoverable loading */
.operator-session-panel{max-width:760px;min-height:240px;padding:42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.operator-session-panel h2{font-size:24px;margin:16px 0 8px}.operator-session-panel p{font-size:14px;color:var(--muted);line-height:1.7;max-width:560px}.operator-session-spinner{width:28px;height:28px;border:3px solid #e4eadf;border-top-color:var(--orange);border-radius:50%;animation:operator-spin .85s linear infinite}html[data-operator-state=error] .operator-session-spinner{display:none}.operator-route-status{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);padding:14px 18px;background:#f4f7ed;border-radius:12px;margin:12px 0 20px;color:var(--green);font-size:13px}.operator-route-status button{min-height:34px;padding:7px 12px;flex:none}.operator-phone-login{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;background:var(--green);color:white!important;text-decoration:none;border-radius:12px;font-weight:700;font-size:14px}.operator-phone-login svg{width:18px;height:18px}.operator-legacy-login{align-self:start;padding:20px;background:#f5f7f0;border:1px solid var(--line);border-radius:16px}.operator-legacy-login summary{cursor:pointer;font-size:14px;font-weight:700}.operator-legacy-login form{margin-top:22px}html[data-operator-state=guest] #login{max-width:1050px}.operator-session-panel noscript{color:#8b4d1a;margin-top:14px}#operator-menu-toggle{display:none}@keyframes operator-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.operator-session-spinner{animation:none;border-top-color:var(--orange)}}@media(max-width:700px){html[data-operator-state=authenticated] #operator-menu-toggle{display:flex;align-items:center;gap:10px;background:#ffffff0e;color:#e0ece3;border:1px solid #ffffff25;border-radius:10px;padding:10px 14px;margin-top:16px;width:100%;font-size:13px}.operator-sidebar .operator-nav{display:none}.operator-menu-open .operator-sidebar .operator-nav{display:grid;grid-template-columns:1fr;margin-top:12px;max-height:65vh;overflow-y:auto;overflow-x:hidden}.operator-menu-open .operator-sidebar nav a{white-space:normal}.operator-menu-open .operator-sidebar .nav-label{white-space:normal}.operator-session-panel{padding:26px;min-height:220px}.operator-session-panel h2{font-size:22px}.operator-legacy-login{padding:16px}.operator-route-status{align-items:flex-start;flex-direction:column}.operator-phone-login{width:100%}}

.launch-inventory{margin:24px 0;padding:22px;border:1px solid #dce3d7;border-radius:20px;background:#fbfcf8}.launch-inventory h3{margin:0 0 10px}.launch-warehouses{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:16px 0}.launch-warehouse{padding:16px;background:#fff;border:1px solid #e0e5dc;border-radius:14px}.launch-warehouse strong,.launch-warehouse small{display:block}.launch-stock-issues{padding:16px;background:#fff;border:1px solid #e6d9bc;border-radius:14px}.launch-stock-issues summary{cursor:pointer;font-weight:650}.launch-stock-issue{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e2e6dd}.launch-stock-issue:last-child{border-bottom:0}.launch-stock-issue small{display:block;margin-top:6px}.launch-stock-issue button{flex-shrink:0}@media(max-width:600px){.launch-inventory{padding:16px}.launch-stock-issue{align-items:stretch;flex-direction:column}.launch-inventory .launch-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Support inbox: scoped to avoid changing the rest of the operator panel. */
#support-panel{padding:24px;min-width:0}#support-panel .support-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}#support-panel .support-heading h2{margin:5px 0 8px}#support-panel .support-heading p{margin:0;color:#788375;font-size:13px}#support-panel .support-heading .eyebrow{font-size:10px;letter-spacing:1.8px}#support-panel .support-heading button{flex:0 0 auto;margin:0}
.support-inbox{display:grid;grid-template-columns:minmax(250px,32%) minmax(0,1fr);height: min(760px,78dvh);min-height:500px;border:1px solid #e0e5d6;border-radius:22px;overflow:hidden;background:#fff}.support-inbox-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e0e5d6;background:#fbfcf8}.support-list-tools{padding:20px 16px 10px;border-bottom:1px solid #e5e9de}#support-panel .support-list-tools label{font-size:12px}#support-search{box-sizing:border-box;width:100%;min-height:44px;border-radius:12px;margin:6px 0 12px}#support-panel .support-filter{display:flex;align-items:center;gap:9px;line-height:1.5;font-size:11px;font-weight:normal}#support-panel .support-filter input{flex:0 0 17px;width:17px;height:17px;min-height:0;padding:0;margin:0;accent-color:#153d2e}#support-count{font-size:11px;color:#788375;margin:10px 0 0}
#support-threads{overflow:auto;flex:1;min-height:0;padding:8px}#support-panel .support-thread{box-sizing:border-box;display:flex;align-items:flex-start;gap:11px;width:100%;max-width:100%;padding:14px 10px;margin:0 0 5px;border:1px solid transparent;border-radius:14px;background:transparent;color:#153d2e;text-align:left;font-weight:normal}#support-panel .support-thread:hover{background:#f0f4e9}#support-panel .support-thread.is-active{background:#eaf0e3;border-color:#cddac3}.support-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 36px;height:36px;border-radius:12px;background:#e6ecde;color:#386044;font-size:17px;font-weight:700}.support-thread-content{min-width:0;flex:1}.support-thread-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.support-thread-head strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.support-thread-head time{font-size:10px;color:#788375;white-space:nowrap;font-weight:normal}.support-thread-preview{display:block;font-size:12px;color:#788375;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.support-thread-badge{display:inline-block;border-radius:20px;background:#fff0dd;color:#a45d1f;font-size:10px;font-weight:600;padding:3px 8px;margin-top:7px}
.support-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f8faf5}.support-chat-heading{display:flex;align-items:center;gap:12px;padding:18px 22px;background:#fff;border-bottom:1px solid #e0e5d6}.support-chat-heading>div{flex:1;min-width:0}#support-title{font-size:17px;line-height:1.5;margin:0;overflow-wrap:anywhere}#support-subtitle{font-size:11px;color:#788375;margin:3px 0 0}#support-panel .support-chat-heading button{margin:0;font-size:11px;padding:9px 12px;min-height:36px}#support-back{display:none}#support-state{margin:0;padding:8px 20px;font-size:12px;line-height:1.5;background:#fff6e9;color:#87521f}#support-state:empty{display:none}
#support-messages{flex:1;min-height:0;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.support-date-divider{text-align:center;align-self:center;color:#788375;font-size:10px;margin:6px 0;background:#edf1e7;border-radius:20px;padding:4px 10px}.support-bubble{box-sizing:border-box;width:fit-content;max-width:85%;padding:13px 16px;border-radius:18px;border:1px solid #e0e5d6;box-shadow:0 2px 5px #153d2e04;overflow-wrap:anywhere}.support-bubble.from-customer{align-self:flex-start;background:white;border-bottom-left-radius:5px}.support-bubble.from-store{align-self:flex-end;background:#e8f0e0;border-color:#d8e4ce;border-bottom-right-radius:5px}.support-actor{display:block;font-size:11px;color:#6c8069}.support-body{font-size:14px;line-height:1.65;white-space:pre-wrap;margin:7px 0}.support-message-time{display:block;text-align:right;font-size:10px;color:#788375;margin-top:8px}.support-bubble img{display:block;max-width:100%;width:auto;max-height:280px;object-fit:contain;border-radius:12px;margin-top:10px}.support-bubble audio{display:block;width:min(280px,100%);max-width:100%;height:42px;margin-top:10px}.support-bubble:has(audio){width:min(340px,90%)}.support-list-empty{padding:24px 14px;color:#788375;font-size:13px;line-height:1.7}.support-chat-empty{margin:auto;text-align:center;max-width:300px;color:#788375;line-height:1.7;padding:24px}.support-chat-empty>span{display:inline-flex;align-items:center;justify-content:center;width:64px;height:56px;border:2px solid #b6c8ad;border-radius:20px;color:#6a8660;font-size:30px;margin-bottom:12px}.support-chat-empty h3{color:#153d2e;font-size:18px;margin:10px 0}.support-chat-empty p{font-size:13px}
#support-reply-form{padding:16px 20px;background:white;border-top:1px solid #e0e5d6;margin:0}#support-reply-form label{font-size:12px;margin:0 0 7px}#support-reply{display:block;box-sizing:border-box;width:100%;min-height:72px;max-height:180px;resize:vertical;margin:0;padding:12px 14px;font-size:14px;line-height:1.6;border:1px solid #d4dfcb;border-radius:14px;background:#fafcf8}.support-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}#support-reply-count{font-size:10px;color:#788375}#support-panel #support-send{width:auto;min-height:42px;margin:0;padding:11px 20px;border-radius:12px}
@media(max-width:1000px){.support-inbox{grid-template-columns:260px minmax(0,1fr)}.support-thread-head{display:block}.support-thread-head time{display:block;margin-top:3px}}
@media(max-width:700px){#support-panel{padding:16px;border-radius:20px}#support-panel .support-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:18px}#support-panel .support-heading h2{font-size:22px}#support-panel .support-heading button{width:100%}.support-inbox{display:flex;flex-direction:column;height:74dvh;min-height:470px;border-radius:18px}.support-inbox-list{flex:1;border-right:0}.support-conversation{display:none;flex:1}.support-chat-open .support-inbox-list{display:none}.support-chat-open .support-conversation{display:flex}#support-panel #support-back{display:block;padding:8px;font-size:10px}.support-chat-heading{padding:12px 10px;gap:8px}#support-title{font-size:14px}#support-subtitle{font-size:10px}#support-panel #support-chat-refresh{padding:8px;font-size:10px;max-width:90px}.support-thread-head{display:flex}.support-thread-head time{margin:0}.support-bubble{max-width:92%;padding:11px 13px}#support-messages{padding:14px;gap:10px}#support-reply-form{padding:12px}#support-reply{font-size:16px;min-height:64px}#support-panel #support-send{font-size:12px;padding:10px 14px}}

/* Compact messenger composer and dedicated mobile conversation. */
#support-panel .support-chat-heading button svg{display:block;width:24px;height:24px}#support-panel #support-chat-refresh{padding:8px;width:40px;min-height:40px}.support-compose-row{display:flex;align-items:flex-end;gap:12px}#support-panel #support-reply{flex:1;min-width:0;min-height:48px;resize:none;margin:0}#support-panel #support-send{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;min-height:46px;padding:12px;margin:0;border-radius:50%}#support-send svg{display:block;width:23px;height:23px}#support-reply-count{display:block;margin-top:5px}
@media(max-width:700px){html.support-mobile-dialog,html.support-mobile-dialog body{overflow:hidden!important;overscroll-behavior:none}#support-panel.support-chat-open:not([hidden]){position:fixed;inset:0 0 auto;z-index:1200;box-sizing:border-box;width:100%;max-width:none;height:var(--support-viewport-height,100dvh);min-height:0;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:#faf8f1;overflow:hidden;box-shadow:none}#support-panel.support-chat-open>.support-heading{display:none}#support-panel.support-chat-open .support-inbox{display:flex;height:100%;min-height:0;border:0;border-radius:0}#support-panel.support-chat-open .support-conversation{height:100%;background:#faf8f1}#support-panel .support-chat-heading{flex:0 0 auto;box-sizing:border-box;padding:max(12px,env(safe-area-inset-top)) 14px 12px;min-height:64px;background:#faf8f1;gap:12px;border-bottom:1px solid #e0e5d6}#support-panel .support-chat-heading>div{text-align:center}#support-panel #support-title{font-size:16px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#support-panel #support-subtitle{display:none}#support-panel #support-back,#support-panel #support-chat-refresh{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:7px;margin:0;border:0;background:transparent;color:#153d2e;box-shadow:none}#support-panel #support-messages{padding:18px 20px;gap:12px;scroll-padding-bottom:12px}.support-bubble{border-radius:22px;box-shadow:none;padding:12px 15px}.support-bubble.from-customer{border-bottom-left-radius:5px}.support-bubble.from-store{border-bottom-right-radius:5px;background:#e9f0df}.support-actor{font-size:10px;font-weight:normal}.support-body{font-size:15px;line-height:1.5;margin:7px 0}.support-bubble:has(audio){width:min(340px,94%)}.support-bubble audio{margin-top:4px;width:100%;height:42px}.support-message-time{font-size:10px;margin-top:6px}#support-panel #support-reply-form{flex:0 0 auto;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e0e5d6;background:#faf8f1}#support-reply-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#support-panel #support-reply{min-height:48px;max-height:112px;border-radius:22px;background:#f2f3eb;padding:13px 16px;font-size:16px;line-height:1.5}#support-panel #support-reply-count{display:none}#support-panel #support-send{flex-basis:46px;background:#153d2e;color:white}#support-panel #support-send:disabled{opacity:.4}#support-state{font-size:11px;padding:6px 16px}.support-date-divider{font-size:10px}}

/* The inbox list is a local panel, never an application sidebar. */
#support-panel .support-inbox-list{position:static;inset:auto;width:auto;max-width:100%;padding:0;color:#153d2e;overflow:hidden;flex-direction:column}#support-panel .support-list-tools label{color:#153d2e}#support-panel #support-refresh{display:flex;align-items:center;justify-content:center;gap:9px}#support-refresh svg{width:20px;height:20px;flex:0 0 20px}.support-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#support-panel .support-filter{color:#53644f;font-weight:500;font-size:12px}#support-panel .support-list-tools{padding:16px}#support-panel #support-search{margin:0 0 14px;min-height:46px;font-size:14px}#support-panel #support-count{margin:10px 0 0;font-size:11px}
@media(max-width:700px){#support-panel:not(.support-chat-open){padding:0!important;background:transparent;border:0;box-shadow:none}#support-panel:not(.support-chat-open) .support-heading{display:flex;flex-direction:row;align-items:center;gap:12px;margin:0 0 18px;padding:0 2px}#support-panel:not(.support-chat-open) .support-heading .eyebrow,#support-panel:not(.support-chat-open) .support-heading>div>p:not(.eyebrow){display:none}#support-panel:not(.support-chat-open) .support-heading h2{font-size:22px;line-height:1.35;margin:0}#support-panel:not(.support-chat-open) #support-refresh{flex:0 0 42px;width:42px;min-height:42px;height:42px;padding:10px;border-radius:13px;margin:0;background:#fff}#support-panel:not(.support-chat-open) #support-refresh span{display:none}#support-panel:not(.support-chat-open) .support-inbox{height:auto;min-height:0;max-height:none;border:1px solid #e0e5d6;border-radius:20px;background:#fff}#support-panel:not(.support-chat-open) .support-inbox-list{background:white;flex:none}#support-panel:not(.support-chat-open) .support-list-tools{padding:16px;border-bottom:1px solid #e5e9de;display:grid;grid-template-columns:1fr auto;gap:0 12px;align-items:center}#support-panel:not(.support-chat-open) #support-search{grid-column:1/-1;background:#f5f7ef;border-color:#e0e5d6;border-radius:14px;margin:0 0 15px;font-size:16px}#support-panel:not(.support-chat-open) .support-filter{font-size:12px;margin:0;line-height:1.6;gap:8px}#support-panel:not(.support-chat-open) #support-count{font-size:10px;margin:0;text-align:right;max-width:110px;color:#788375}#support-panel:not(.support-chat-open) #support-threads{overflow:visible;padding:6px}#support-panel .support-thread{gap:12px;padding:15px 10px;margin:0;border-radius:14px;border:0;border-bottom:1px solid #edf0e7;background:#fff}#support-panel .support-thread:last-child{border-bottom:0}#support-panel .support-thread.is-active{background:#f4f7ee}#support-panel .support-avatar{flex-basis:42px;height:42px;border-radius:50%;font-size:18px;background:#edf2e5}.support-thread-head{align-items:center;gap:7px}.support-thread-head strong{font-size:14px}.support-thread-head time{font-size:10px;white-space:nowrap}.support-thread-preview{font-size:12px;line-height:1.6;margin-top:3px}.support-thread-badge{margin-top:6px;font-size:10px;padding:2px 7px}}

/* Shared page chrome across every operator route. */
.operator-main>.operator-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 24px;padding:0}.operator-page-heading>div{min-width:0}.operator-page-heading h1{font-size:30px;line-height:1.2;margin:8px 0 10px;letter-spacing:-.6px}.operator-page-heading .eyebrow{font-size:10px;letter-spacing:1.6px;color:#788375}.operator-page-heading p{font-size:13px;line-height:1.6;margin:0;color:#788375}.operator-page-heading>.badge{flex-shrink:0;margin:0;font-size:10px}
#workspace>.operator-context-bar{display:flex;align-items:center;gap:12px;background:white;border:1px solid #e0e5d6;border-radius:16px;padding:14px 16px;margin:0 0 24px;min-width:0}#workspace>.operator-context-bar>label{flex:1;min-width:180px;max-width:380px;margin:0 auto 0 0;font-size:10px;color:#788375}#workspace>.operator-context-bar #store{display:block;width:100%;min-height:40px;margin:5px 0 0;font-size:13px;border-radius:10px}#workspace>.operator-context-bar #staff-name{background:#f0f4e9;color:#536b4d;border:0;font-size:11px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 12px}#workspace>.operator-context-bar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin:0;border-radius:10px;font-size:12px;padding:9px 12px}#workspace>.operator-context-bar button svg{width:18px;height:18px;flex:0 0 18px}
@media(max-width:700px){.operator-sidebar{display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;width:100%;padding:14px 18px!important;gap:12px;min-height:70px}.operator-sidebar>.brand{display:block;flex:0 0 auto}.operator-sidebar .brand img{width:116px;height:auto;margin:0}.operator-sidebar .brand>span{display:none}html[data-operator-state=authenticated] #operator-menu-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:40px;margin:0;padding:9px 12px;border-radius:12px;font-size:12px}.operator-sidebar>.operator-nav{flex-basis:100%;width:100%;margin:0}.operator-menu-open .operator-sidebar>.operator-nav{display:grid;margin:0;padding:12px 0 0;border-top:1px solid #ffffff20;max-height:65dvh}.operator-main{padding:20px 16px!important}.operator-main>.operator-page-heading{display:block;margin:0 0 18px;padding:0}.operator-page-heading .eyebrow{display:none}.operator-page-heading h1{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:0 0 8px;overflow-wrap:anywhere}.operator-page-heading p{font-size:12px;line-height:1.5;margin:0}.operator-page-heading>.badge{display:none!important}#workspace>.operator-context-bar{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;gap:10px 8px;padding:12px;margin:0 0 20px;border-radius:15px}#workspace>.operator-context-bar>label{grid-column:1/-1;max-width:none;min-width:0;width:100%;font-size:10px;margin:0}#workspace>.operator-context-bar #store{min-height:40px;font-size:13px;margin-top:5px;border-radius:9px}#workspace>.operator-context-bar #staff-name{grid-column:1;max-width:100%;min-width:0;justify-self:start;margin:0;padding:6px 9px;font-size:10px;line-height:1.5}#workspace>.operator-context-bar #refresh,#workspace>.operator-context-bar #logout{width:38px;height:36px;min-height:36px;padding:8px;margin:0;border-radius:10px;grid-row:2}#workspace>.operator-context-bar #refresh{grid-column:2}#workspace>.operator-context-bar #logout{grid-column:3;color:#788375;background:#f5f7f0}#workspace>.operator-context-bar button>span{display:none}#workspace>.operator-context-bar button svg{width:18px;height:18px}.operator-page-heading h1:focus-visible{outline:2px solid #e57624;outline-offset:4px}}

.direct-order-card{padding:20px;margin:16px 0;border:1px solid #dfe6d7;border-radius:18px;background:#fff}.direct-order-card h3{margin:0 0 12px}.direct-order-card small{color:#788375;line-height:1.7}.direct-order-card p{line-height:1.6;font-size:14px}.direct-orders-section{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #dfe6d7}

/* Prevent wide catalog content from scaling the entire mobile viewport. */
.operator-main,#workspace,[data-operator-view]{min-width:0}.operator-main .table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;contain:inline-size}.operator-main .metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.operator-main .metrics>article{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){html{max-width:100%;overflow-x:clip}body{width:100%;min-width:0;max-width:100%;overflow-x:clip}.operator-sidebar{max-width:100vw;min-width:0}.operator-main{margin:0!important;width:100%!important;max-width:100vw;min-width:0}#workspace{width:100%;max-width:100%;min-width:0}.operator-main .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-main .card{max-width:100%;min-width:0}.operator-main .section-head{flex-wrap:wrap;gap:10px}.operator-main .section-head>div{min-width:0;flex:1 1 160px}.operator-main .section-head>.badge{white-space:normal;max-width:100%;font-size:10px}.operator-main .toolbar{min-width:0;max-width:100%;flex-wrap:wrap}.operator-main .toolbar>label{min-width:0;max-width:100%}#catalog{padding:18px 14px}#catalog .category-assist,#catalog #catalog-quality{padding:16px;max-width:100%;min-width:0}#catalog summary{overflow-wrap:anywhere;line-height:1.5}#catalog .catalog-filter-block{grid-template-columns:minmax(0,1fr);padding:14px}#catalog .catalog-filter-block>*{grid-column:1!important;grid-row:auto!important;min-width:0;max-width:100%}#catalog #search-form{flex-wrap:wrap}#catalog #search-form input{flex:1 1 100%;width:100%;min-width:0}#catalog .table-wrap{overflow:visible;border:0;margin-top:18px;contain:inline-size}#catalog>.table-wrap>table{display:block;width:100%;min-width:0;max-width:100%}#catalog table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#catalog #rows{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}#catalog #rows tr{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px 10px;border:1px solid #e0e5d6;border-radius:16px;padding:16px 12px;background:#fff;min-width:0}#catalog #rows td{display:block;grid-column:2;padding:0;min-width:0!important;max-width:100%!important;width:auto!important;border:0;overflow-wrap:anywhere;white-space:normal;font-size:13px}#catalog #rows td:first-child{grid-column:1;grid-row:1/3}#catalog #rows td:nth-child(2){grid-row:1}#catalog #rows td:nth-child(2) strong{font-size:15px}#catalog #rows td:nth-child(3):before{content:'Цена: ';color:#788375;font-size:11px}#catalog #rows td:nth-child(4):before{content:'Единица: ';color:#788375;font-size:11px}#catalog #rows td:nth-child(5){font-size:12px}#catalog #rows td:last-child{margin-top:4px}#catalog #rows td:last-child button{width:100%;min-height:40px}#catalog .pagination{flex-wrap:wrap;gap:10px}#catalog .pagination>*{max-width:100%;min-width:0;white-space:normal}}

.catalog-stock-values{display:grid;gap:5px;margin-top:12px;padding:10px 12px;border:1px solid #e0e7d9;border-radius:10px;background:#f7faf3;font-size:11px;color:#6c7b65}.catalog-stock-values>span{display:block}.catalog-stock-values>strong{font-size:12px!important;color:#153d2e}.catalog-stock-values>small{margin:0!important}

.photo-discovery{margin:16px 0;padding:16px;border:1px solid #d8dfd3;border-radius:16px;min-width:0}.photo-discovery summary{font-weight:700;cursor:pointer}.photo-discovery-results{display:grid;gap:14px;margin-top:14px}.photo-discovery-candidate{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:14px;background:#f7f8f3;border:1px solid #d8dfd3;border-radius:14px}.photo-discovery-candidate img{width:110px;height:150px;object-fit:contain;background:white;border-radius:10px}.photo-discovery-candidate a{display:block;margin:10px 0;font-size:12px}.photo-discovery-candidate p{margin:8px 0}.photo-discovery .check{display:flex;gap:10px;align-items:flex-start}.photo-discovery .check input{width:20px;height:20px;flex:none}.photo-discovery button{margin-top:10px}@media(max-width:520px){.photo-discovery{padding:12px}.photo-discovery-candidate{grid-template-columns:1fr}.photo-discovery-candidate img{width:100%;height:180px}.photo-discovery-candidate button{width:100%}}

.order-inbox-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.order-inbox-metric{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border:1px solid #d9e1d5;border-radius:14px;background:#f6f8f2;color:#173e2f;text-align:left}.order-inbox-metric strong{font-size:26px}.order-inbox-metric[aria-pressed=true]{border-color:#173e2f;background:#e9efdf}.order-inbox-filters{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:12px;align-items:end}.order-inbox-filters label{min-width:0}.order-inbox-filters button{margin:0;min-height:44px}.order-inbox-cards{display:grid;gap:16px}.order-inbox-card{margin:0;padding:22px;min-width:0}.order-inbox-head,.order-inbox-total,.order-inbox-line{display:flex;justify-content:space-between;gap:12px;align-items:center}.order-inbox-head h3{margin:0}.order-status{border-radius:30px;background:#edf1e8;padding:7px 12px;font-size:12px;font-weight:700;white-space:nowrap}.order-status-accepted{background:#fff0db;color:#805719}.order-status-ready{background:#e1efdc;color:#275c35}.order-status-cancelled{background:#f6e9e5;color:#8f4336}.order-inbox-buyer{display:flex;flex-wrap:wrap;gap:8px 18px;margin:18px 0}.order-inbox-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px;background:#f8f9f4;border-radius:12px}.order-inbox-facts>div{display:flex;flex-direction:column;gap:7px;min-width:0}.order-inbox-facts p{margin:0;overflow-wrap:anywhere}.order-inbox-lines{padding:16px 0;border-bottom:1px solid #e2e6dc}.order-inbox-lines summary{font-weight:700;cursor:pointer}.order-inbox-line{padding-top:12px;font-size:14px;align-items:flex-start}.order-inbox-line strong{white-space:nowrap}.order-inbox-total{padding:16px 0}.order-inbox-total strong{font-size:22px}.order-inbox-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.order-inbox-actions small{flex-basis:100%}.order-inbox-comment{padding:12px;border-radius:10px;background:#fff4e4;white-space:pre-wrap;overflow-wrap:anywhere}.order-inbox-pager{display:flex;gap:12px;justify-content:space-between;margin-top:18px}
@media(max-width:800px){.order-inbox-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.order-inbox-filters{grid-template-columns:1fr 1fr}.order-inbox-filters label:nth-child(3){grid-column:1/-1}.order-inbox-filters button{grid-column:1/-1}}@media(max-width:480px){.order-inbox-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.order-inbox-metric{padding:12px}.order-inbox-card{padding:16px}.order-inbox-head{align-items:flex-start;flex-wrap:wrap}.order-inbox-facts{grid-template-columns:1fr}.order-inbox-actions button{width:100%}.order-inbox-pager{flex-direction:column}.order-inbox-filters{grid-template-columns:1fr}.order-inbox-buyer{flex-direction:column}}

.order-alerts{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 22px;padding:12px 16px;background:#f0f4e9;border:1px solid #dce4d4;border-radius:14px}.order-alerts[hidden]{display:none}.order-alerts p{margin:0;font-size:13px}.order-alerts button{white-space:nowrap;font-size:13px}.order-alerts.has-new-orders{background:#fff2dc;border-color:#e2bb75}.order-history{margin-top:18px;border-top:1px solid #dce4d4;padding-top:16px}.order-history summary{font-weight:700;cursor:pointer}.order-history-event{display:grid;gap:5px;border-left:2px solid #d2ddc9;margin:16px 0 0 4px;padding-left:14px}.order-history-event span{font-size:13px}.order-history-event small{font-size:12px}@media(max-width:520px){.order-alerts{align-items:stretch;flex-direction:column}.order-alerts button{width:100%;white-space:normal}}

.push-control{box-sizing:border-box;min-width:0;color:#173f2e}.push-control.notice-settings-card{padding:22px 20px}.push-control .push-heading{display:flex;align-items:flex-start;gap:12px}.push-control .push-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#edf2e7;color:#315b44}.push-icon svg{width:24px;height:24px}.push-heading-copy{min-width:0}.push-control h3{margin:0;font-size:18px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}.push-control .push-description{margin:8px 0 0;font-size:14px;line-height:1.55;color:#748071}.push-control .push-state{margin:18px 0 0;padding:12px 14px;border:1px solid #e1e7d9;border-radius:12px;background:#f3f5ee;font-size:13px;line-height:1.5;color:#53674f}.push-control[data-push-state=enabled] .push-state{background:#eaf2e4;border-color:#d6e4cd;color:#275333}.push-control .push-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.push-control .push-actions button{margin:0;min-height:48px;flex:1 1 200px;font-size:15px;border-radius:13px}.push-control .push-install{margin-top:16px;font-size:14px;line-height:1.55}.push-install strong{font-size:14px}.push-install ol{margin:10px 0 0;padding-left:22px;color:#677563}.push-install li{padding-left:3px;margin:7px 0}.push-control .push-privacy{display:block;margin-top:16px;padding-top:14px;border-top:1px solid #edf0e7;color:#7b8576;font-size:12px;line-height:1.6}.push-control [hidden]{display:none!important}.staff-push-settings{margin:0 0 18px;padding:14px 18px;border:1px solid #dce3d5;border-radius:14px;background:#fff}.staff-push-settings summary{font-weight:700;cursor:pointer}.staff-push-settings .push-control{padding:18px 0 0}@media(max-width:380px){.push-control.notice-settings-card{padding:18px 16px}.push-control h3{font-size:17px}.push-control .push-heading{gap:10px}.push-control .push-icon{flex-basis:36px;width:36px;height:36px}}


.support-new-messages{display:block;align-self:center;margin:8px auto;min-height:38px;padding:8px 16px;border-radius:20px;font-size:13px}.support-new-messages[hidden]{display:none!important}

/* Sheet styles deliberately override generic operator table rules. */
.order-sheet-dialog{box-sizing:border-box;width:min(880px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dce3d5;border-radius:22px;padding:0;background:#fff;color:#173f2e;overscroll-behavior:contain}
.order-sheet-dialog::backdrop{background:#102b2070}
.sheet-toolbar{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;background:#fff;border-bottom:1px solid #e8ece2}
.sheet-toolbar button{margin:0;min-height:44px;font-size:14px;border-radius:12px}
.sheet-content{padding:24px}
.order-sheet{font:14px/1.5 Arial,sans-serif;color:#172b21;min-width:0}
.order-sheet header{display:block;padding:0 0 18px;margin:0;border:0;border-bottom:1px solid #e1e7db;background:none}
.order-sheet header p{margin:6px 0;color:#6d7b69;font-size:13px}
.order-sheet header .sheet-brand{font-weight:700;font-size:14px;color:#456147}
.order-sheet h2{margin:8px 0;font-size:24px;line-height:1.25;letter-spacing:-.5px}
.sheet-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;margin:22px 0}
.sheet-facts p{margin:0;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.sheet-facts strong{display:block;color:#788371;font-size:12px;font-weight:500;margin-bottom:4px}
.sheet-facts span{font-size:14px;color:#243c2d}
.order-sheet .sheet-table{display:table;width:100%;min-width:0;max-width:100%;border-collapse:collapse;table-layout:fixed;margin:18px 0}
.sheet-table .sheet-col-check{width:5%}.sheet-table .sheet-col-product{width:43%}.sheet-table .sheet-col-quantity{width:16%}.sheet-table .sheet-col-price,.sheet-table .sheet-col-amount{width:18%}
.order-sheet .sheet-table th,.order-sheet .sheet-table td{min-width:0;max-width:none;width:auto;padding:11px 7px;border:0;border-bottom:1px solid #dce3d5;vertical-align:top;text-align:left;font-size:13px;letter-spacing:0;text-transform:none;line-height:1.5;white-space:normal;word-break:normal;overflow-wrap:normal}
.order-sheet .sheet-table th{background:#f3f6ee;color:#62735d;font-size:12px;font-weight:600}
.order-sheet .sheet-table th:first-child,.order-sheet .sheet-table td:first-child{min-width:0;max-width:none;width:auto;text-align:center;padding-left:2px;padding-right:2px}
.order-sheet .sheet-table th:nth-child(2){width:auto}
.order-sheet .sheet-table td:nth-child(2){overflow-wrap:anywhere}
.order-sheet .sheet-table th:nth-child(n+3),.order-sheet .sheet-table td:nth-child(n+3){white-space:nowrap;text-align:right}
.sheet-totals{margin:20px 0 0;padding:16px 0;border-top:1px solid #dce3d5;text-align:right}
.sheet-totals p{margin:4px 0;color:#6a7864;font-size:13px}.sheet-totals strong{display:block;margin-top:10px;font-size:22px;color:#173f2e}
.sheet-warning{margin:18px 0;padding:12px;border:1px solid #e5c5b9;border-radius:10px;background:#fff5ec;font-weight:700;color:#873d24}
.sheet-comment{padding:14px;border-radius:12px;background:#f4f6ee;white-space:pre-wrap;overflow-wrap:anywhere}
.sheet-signatures{margin:24px 0 0;font-size:12px;line-height:2}.sheet-footnote{display:block;color:#788371;font-size:11px;margin-top:18px;line-height:1.5}
@media screen and (max-width:600px){
 .order-sheet-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 20px);border-radius:20px}.sheet-content{padding:20px 16px}.sheet-toolbar{padding:12px 14px;gap:10px}.sheet-toolbar button{flex:1;font-size:13px;padding:10px 8px}.order-sheet h2{font-size:22px}.sheet-facts{gap:14px;margin:20px 0}.sheet-facts p:nth-child(n+4){grid-column:1/-1}
 .order-sheet .sheet-table,.order-sheet .sheet-table tbody{display:block;width:100%;margin:0}.order-sheet .sheet-table colgroup,.order-sheet .sheet-table thead{display:none}
 .order-sheet .sheet-table tbody{display:grid;gap:12px}
 .order-sheet .sheet-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;position:relative;border:1px solid #e1e7da;border-radius:14px;padding:16px;background:#fff}
 .order-sheet .sheet-table tbody td{display:block;padding:0;border:0;min-width:0;max-width:100%;width:auto;text-align:left;white-space:normal;font-size:14px}
 .order-sheet .sheet-table tbody td:first-child{position:absolute;left:15px;top:14px;width:22px;min-width:0;max-width:22px;padding:0;font-size:21px;color:#83937c;text-align:left}
 .order-sheet .sheet-table tbody td:nth-child(2){grid-column:1/-1;min-height:26px;padding-left:32px;font-weight:600;line-height:1.5}
 .order-sheet .sheet-table tbody td:nth-child(3),.order-sheet .sheet-table tbody td:nth-child(4){white-space:nowrap;text-align:left}
 .order-sheet .sheet-table tbody td:nth-child(n+3)::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:11px;color:#7d8976;font-weight:400}
 .order-sheet .sheet-table tbody td:nth-child(5){grid-column:1/-1;border-top:1px solid #edf0e7;padding-top:10px;text-align:right;font-size:17px;font-weight:700;white-space:nowrap}
 .sheet-signatures{font-size:11px}.sheet-footnote{font-size:10px}
}
/* Order cards use one primary action and a separate row of secondary actions. */
.order-inbox-card{border-radius:20px}.order-inbox-head h3{font-size:20px}.order-inbox-head small{display:block;margin-top:5px;font-size:12px;color:#7b8873}.order-inbox-buyer{gap:8px;margin:18px 0;align-items:flex-start;flex-direction:column}.order-inbox-buyer>strong{font-size:16px}.order-inbox-buyer .order-inbox-phone{display:inline-flex;align-items:center;min-height:38px;border-radius:10px;padding:6px 11px;background:#edf3e6;color:#2d5a38;text-decoration:none;font-size:14px;font-weight:600}.order-inbox-facts{gap:20px;padding:16px}.order-inbox-facts strong{font-size:15px;line-height:1.45}.order-inbox-facts small{color:#7b8873;line-height:1.5;font-size:12px}.order-inbox-facts p{font-size:14px}.order-inbox-actions{gap:10px;padding-top:6px}.order-inbox-actions button{margin:0;min-height:44px;white-space:normal;font-size:13px;border-radius:12px}.order-inbox-actions small{font-size:12px;line-height:1.6;margin:4px 0;color:#7b8873}.order-inbox-total{padding:18px 0}.order-inbox-lines summary{font-size:14px}.order-inbox-pager button{margin:0}
@media screen and (max-width:600px){.order-inbox-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.order-inbox-actions button{width:100%;min-width:0;padding:11px 8px}.order-inbox-actions .primary{grid-column:1/-1;order:-1}.order-inbox-actions small{grid-column:1/-1}.order-inbox-card{padding:16px}.order-inbox-head{flex-wrap:nowrap;gap:10px}.order-inbox-head h3{font-size:18px}.order-status{font-size:11px;padding:6px 10px}.order-inbox-head>div{min-width:0}.order-inbox-facts{grid-template-columns:1fr}.order-inbox-filters{gap:10px}.order-inbox-filters label{font-size:12px}}
@media print{
 @page{size:A4;margin:14mm}
 body.order-sheet-printing{display:block!important;margin:0!important;padding:0!important;background:#fff!important}
 body.order-sheet-printing>*:not(.order-sheet-dialog){display:none!important}
 body.order-sheet-printing>.order-sheet-dialog{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 .order-sheet-dialog::backdrop,.sheet-toolbar{display:none!important}.sheet-content{padding:0!important}.order-sheet{font-size:10pt;color:#000}.order-sheet h2{font-size:18pt}.order-sheet header{padding-bottom:10pt}.order-sheet header p{font-size:9pt}.sheet-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10pt 20pt;margin:14pt 0}.sheet-facts p{margin:0}.sheet-facts strong{display:block;font-size:8pt;color:#555}.sheet-facts span{font-size:10pt;color:#000}
 .order-sheet .sheet-table{display:table!important;table-layout:fixed!important;width:100%!important;min-width:0!important;max-width:none!important}.order-sheet .sheet-table colgroup{display:table-column-group}.order-sheet .sheet-table thead{display:table-header-group}.order-sheet .sheet-table tbody{display:table-row-group}.order-sheet .sheet-table tr{display:table-row;break-inside:avoid}
 .order-sheet .sheet-table th,.order-sheet .sheet-table td{display:table-cell;position:static;min-width:0!important;max-width:none!important;width:auto!important;padding:8pt 5pt;font-size:9pt;line-height:1.4;word-break:normal;overflow-wrap:normal}
 .order-sheet .sheet-table th:first-child,.order-sheet .sheet-table td:first-child{padding-left:0;padding-right:0;text-align:center}.order-sheet .sheet-table th:nth-child(n+3),.order-sheet .sheet-table td:nth-child(n+3){white-space:nowrap;text-align:right}.order-sheet .sheet-table td:nth-child(2){overflow-wrap:anywhere}.order-sheet .sheet-table td::before{content:none!important}
 .sheet-totals{break-inside:avoid;margin-top:12pt;padding-top:10pt}.sheet-totals strong{font-size:15pt}.sheet-totals p{font-size:9pt}.sheet-warning{color:#000;border-color:#555;background:none}.sheet-signatures{break-inside:avoid;font-size:9pt;margin-top:18pt}.sheet-footnote{color:#555;font-size:8pt}.sheet-comment{background:none;border:1px solid #ddd}
}

@media screen and (max-width:600px){.order-inbox-actions>button:only-child{grid-column:1/-1}.order-inbox-buyer .order-inbox-phone{min-height:42px}}

.platform-settings{min-width:0}.platform-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.platform-heading h2{margin:5px 0 10px;font-size:26px}.platform-heading p{line-height:1.6;max-width:740px}.platform-heading>button{flex:none;margin:0}.platform-state{min-height:24px;font-size:13px;line-height:1.6;color:#61745a}.platform-system{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 24px}.platform-system span{padding:7px 11px;background:#edf2e6;border:1px solid #dce5d3;border-radius:20px;font-size:12px;color:#44603c}.platform-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:28px}.platform-directory-card{border:1px solid #e0e6d8;border-radius:16px;padding:20px;background:#fafbf6;min-width:0}.platform-directory-card h3{font-size:17px;margin:0 0 8px}.platform-directory-card p{font-size:13px;line-height:1.6;color:#77846d;margin:0 0 16px}.platform-links{display:flex;gap:8px;flex-wrap:wrap}.platform-links a{display:block;padding:9px 12px;border:1px solid #d9e2d0;border-radius:10px;color:#2d5435;text-decoration:none;font-size:12px;background:#fff;min-height:38px;box-sizing:border-box}.platform-links a:focus-visible{outline:2px solid #e27e25;outline-offset:2px}.platform-form{display:grid;gap:16px}.platform-form fieldset{margin:0;padding:18px 20px 20px;border:1px solid #e0e6d8;border-radius:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.platform-form legend{font-size:17px;font-weight:700;padding:0 8px}.platform-form fieldset>p{grid-column:1/-1;margin:0;font-size:13px;line-height:1.6}.platform-form label{min-width:0;margin:0;font-size:13px}.platform-form input,.platform-form select{box-sizing:border-box;width:100%;min-width:0;margin-top:9px;font-size:15px;min-height:46px}.platform-form-actions{display:flex;gap:12px;flex-wrap:wrap}.platform-form-actions button{margin:0;min-height:46px}.platform-history{margin-top:24px;padding:18px;border:1px solid #e0e6d8;border-radius:16px;background:#fafbf6}.platform-history summary{font-weight:700;cursor:pointer}.platform-history-row{padding:16px 0;border-bottom:1px solid #e0e6d8}.platform-history-row:last-child{border:0}.platform-history-row strong,.platform-history-row small{display:block;margin-bottom:8px;line-height:1.5}.platform-history-row small{font-size:12px;color:#77846d}.platform-history-row button{margin:4px 0 0;font-size:12px;white-space:normal;min-height:40px}@media(max-width:650px){.platform-settings{padding:18px 14px}.platform-heading{display:block}.platform-heading h2{font-size:23px}.platform-heading>button{width:100%;margin:8px 0 0}.platform-directory{grid-template-columns:minmax(0,1fr)}.platform-directory-card{padding:16px}.platform-form fieldset{grid-template-columns:minmax(0,1fr);padding:16px 14px}.platform-form-actions{flex-direction:column}.platform-form-actions button{width:100%}.platform-history{padding:16px 12px}.platform-system span{font-size:11px}}

.crm-panel{min-width:0}.crm-panel>h2{font-size:26px;margin:0 0 12px}.crm-panel>p{line-height:1.6}.crm-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.crm-metrics article{padding:18px;border:1px solid #dfe6d7;border-radius:15px;background:#f7f9f2;min-width:0}.crm-metrics small{display:block;font-size:12px;color:#77866c;line-height:1.5}.crm-metrics strong{display:block;font-size:28px;margin-top:9px}.crm-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end;margin:20px 0}.crm-filters label{font-size:12px;margin:0;min-width:0}.crm-filters input,.crm-filters select{width:100%;box-sizing:border-box;font-size:15px;margin-top:8px;min-width:0}.crm-filters button{margin:0;min-height:46px}.crm-clients,.campaign-list{display:grid;gap:12px}.crm-client{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:20px;border:1px solid #dfe6d7;border-radius:16px;background:#fff;align-items:start}.crm-client h3{font-size:17px;margin:0}.crm-client p{margin:7px 0;font-size:14px}.crm-client small{font-size:12px;color:#77866c;line-height:1.6}.crm-client button{grid-column:1/-1;justify-self:start;margin:0;font-size:13px}.crm-badge{display:inline-block;padding:6px 10px;background:#edf3e5;color:#4f6b43;border-radius:20px;font-size:11px;line-height:1.5;white-space:normal}.crm-pager,.crm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.crm-pager{justify-content:space-between}.crm-pager button,.crm-actions button{margin:0;font-size:13px;min-height:42px;white-space:normal}.crm-empty{padding:30px;text-align:center;border:1px dashed #d3ddcb;border-radius:14px;color:#7c8872}.crm-dialog{box-sizing:border-box;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 30px);overflow:auto;padding:22px;border:1px solid #dfe6d7;border-radius:20px;background:#fff;color:#173f2e;overscroll-behavior:contain}.crm-dialog::backdrop{background:#102b2070}.crm-dialog>button{margin:0 0 18px;min-height:42px}.crm-dialog h2{font-size:23px;margin:0 0 14px}.crm-dialog h3{font-size:18px;margin:22px 0 12px}.crm-dialog p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.crm-phone{display:inline-block;color:#315a3b;text-decoration:none;background:#eef4e7;padding:9px 12px;border-radius:10px;font-weight:600}.crm-consent{font-weight:600}.crm-order{border-top:1px solid #e5eadf;padding:16px 0}.crm-order strong,.crm-order small{display:block;margin-bottom:9px;line-height:1.5}.crm-order small{font-size:12px;color:#7d8874}.crm-order button{font-size:13px;margin:0;min-height:40px}.campaign-form{padding:20px;border:1px solid #dfe6d7;border-radius:16px;background:#f8faf4;margin:20px 0 28px;display:grid;gap:16px}.campaign-form label{margin:0;font-size:13px}.campaign-form input,.campaign-form select,.campaign-form textarea{width:100%;min-width:0;box-sizing:border-box;font-size:15px;margin-top:9px}.campaign-form textarea{resize:vertical;min-height:130px}.campaign-form>small{font-size:12px;color:#7c8871}.campaign-form>button{margin:0;min-height:44px}.campaign-form>p{margin:0;font-size:12px;line-height:1.6}.campaign-card{padding:20px;border:1px solid #dfe6d7;border-radius:16px}.campaign-card h3{font-size:18px;margin:0 0 10px}.campaign-card p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.campaign-card small{display:block;color:#7b8870;font-size:12px;line-height:1.7;margin-bottom:12px}.campaign-card button{font-size:13px;margin:0;min-height:42px}.campaign-preview{white-space:pre-wrap;word-break:normal;overflow-wrap:anywhere;background:#f2f6eb;padding:16px;border:1px solid #dfe6d7;border-radius:13px;font:15px/1.7 Arial,sans-serif;max-height:350px;overflow:auto}.campaign-recipient{display:flex;flex-direction:column;gap:6px;padding:13px 0;border-top:1px solid #e5eadf;font-size:13px}.campaign-recipient small{color:#738368}.crm-state{min-height:24px;font-size:13px;line-height:1.6;color:#66795c}.crm-notice{padding:12px;background:#fff5e7;border:1px solid #ead9bd;border-radius:12px}#customers-panel [hidden],#sms-campaigns-panel [hidden]{display:none!important}@media(max-width:700px){.crm-panel{padding:18px 14px}.crm-panel>h2{font-size:23px}.crm-metrics{gap:8px}.crm-metrics article{padding:12px 10px}.crm-metrics strong{font-size:23px}.crm-metrics small{font-size:10px}.crm-filters{grid-template-columns:1fr 1fr}.crm-filters label:first-child,.crm-filters button{grid-column:1/-1}.crm-client{padding:16px;grid-template-columns:minmax(0,1fr)}.crm-client .crm-badge{justify-self:start}.crm-client button{width:100%}.crm-dialog{padding:18px 16px}.crm-actions{flex-direction:column}.crm-actions button{width:100%}.campaign-form{padding:16px 12px}.crm-pager button{flex:1;white-space:normal}}

.campaign-status-attention{background:#fff0d9;color:#8c5a19}.campaign-status-stopped{background:#f3eae4;color:#845343}.campaign-result-uncertain small,.campaign-result-failed small{color:#8a5a24}

.photo-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.photo-source{display:flex;flex-direction:column;gap:10px;border:1px solid #d4dcd1;border-radius:16px;padding:14px;min-width:0;background:white}.photo-source input{width:100%;min-width:0;font-size:14px}#photo-preview{max-height:360px;object-fit:contain;background:white}#photo-choices[hidden]{display:none}@media(max-width:420px){.photo-source-grid{grid-template-columns:1fr}}

.photo-bulk-status{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #d6ded3}.photo-bulk-status .metrics{margin:18px 0}.photo-bulk-review{border:1px solid #d6ded3;border-radius:16px;padding:16px;margin:12px 0;overflow-wrap:anywhere}
