/* Shared visual foundation copied from the supplied v2 portal shell. */
:root{--fs-title:22px;--fs-section:18px;--fs-body:15px;--fs-small:13px;--fs-caption:12px;--field-line:#74877d;--ink:#163c32;--muted:#4f635b;--green:#176e53;--green-dark:#125744;--mint:#e9f3ed;--cream:#f5f5ef;--paper:#fff;--line:#dfe5de;--amber:#8c5a16;--amber-bg:#fff4d8;--red:#a13636;--red-bg:#fff0ed;--radius:18px;--shadow:0 5px 24px #173e3010;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--fs-body);line-height:1.5;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,select,input[type=checkbox]{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--green);text-decoration-thickness:1px;text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #176e53;outline-offset:3px}svg{flex:none;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:var(--fs-title);line-height:1.12;letter-spacing:-.045em;font-weight:700}h2{font-size:var(--fs-section);letter-spacing:-.025em;line-height:1.3;font-weight:700}h3{font-size:var(--fs-body);line-height:1.35;font-weight:600}.hidden,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted,.hint{color:var(--muted)}.hint{font-size:var(--fs-caption);line-height:1.5}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:14px}.grow{flex:1;min-width:0}
.portal-layout{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.portal-sidebar{position:sticky;top:0;height:100dvh;background:var(--green-dark);color:#f1f7f3;padding:29px 18px 22px;display:flex;flex-direction:column;gap:32px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e8f4ae;color:#1b5544;box-shadow:0 2px 0 #082c2314}.brand-name,.brand-sub{display:block}.brand-name{font-weight:700;letter-spacing:-.03em;font-size:var(--fs-section)}.brand-sub{font-size:var(--fs-caption);opacity:.7;letter-spacing:.03em}.portal-sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-link{width:100%;border:0;background:transparent;color:#d4e6db;text-align:left;display:flex;align-items:center;gap:12px;min-height:47px;border-radius:12px;padding:10px 12px;font-size:var(--fs-body);font-weight:400;text-decoration:none}.nav-link:hover{background:#ffffff0c}.nav-link.current{background:#f0f5ec;color:#174e3d;box-shadow:0 4px 12px #0000000c}.sidebar-footer{margin-top:auto;padding:15px 12px;border-top:1px solid #ffffff22;color:#c7dfd0;font-size:var(--fs-caption)}.portal-content{min-width:0}.portal-topbar{height:80px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#fcfcf8}.topbar-location{font-size:var(--fs-caption);color:var(--muted);display:flex;align-items:center;gap:9px}.mobile-brand{display:none}.lang-control{display:flex;align-items:center;gap:8px}.lang-select{background:#fff;border:1px solid var(--field-line);padding:8px 30px 8px 11px;border-radius:9px;min-height:40px;font-size:var(--fs-small);max-width:150px}.portal-mobile-nav{display:none}.portal-main{max-width:1420px;margin:0 auto;padding:25px 38px 58px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.page-head p{margin-top:10px;max-width:700px;color:var(--muted);font-size:var(--fs-body)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid var(--line);background:var(--paper);padding:10px 15px;min-height:44px;text-decoration:none;font-size:var(--fs-body);font-weight:600;line-height:1.35}.btn:hover{border-color:#a9bdb0;background:#fafcf8}.btn.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 3px 10px #176e5312}.btn.primary:hover{background:var(--green-dark)}.btn.soft{background:var(--mint);color:var(--green-dark);border-color:#dbe7dc}.btn.ghost{border-color:transparent;background:transparent;padding-left:8px;padding-right:8px}.btn.small{font-size:var(--fs-small);padding:8px 11px;min-height:40px}.btn.wide{width:100%}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:4px 9px;line-height:1.25;font-weight:600;font-size:var(--fs-caption);background:#edf1eb;color:#536c5f;max-width:100%;overflow-wrap:anywhere}.badge.green{color:#1b6d4c;background:#e3f2e4}.badge.amber{color:var(--amber);background:var(--amber-bg)}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;min-width:0}.card+.card{margin-top:16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>label,.field>span.label{font-size:var(--fs-caption);font-weight:600}.field input,.field select,.field textarea{width:100%}::placeholder{color:#5b6c64;opacity:1}input:not([type=checkbox]),select,textarea{max-width:100%;border:1px solid var(--field-line);border-radius:9px;background:#fff;min-height:44px;padding:10px 11px;line-height:1.35}.field input,.field select,.field textarea{width:100%}textarea{resize:vertical;min-height:80px}input[type=checkbox]{accent-color:var(--green);width:24px;height:24px;flex:none;margin:0}.check{display:flex;align-items:center;gap:9px;min-height:44px;font-size:var(--fs-caption);cursor:pointer}.note{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border-radius:10px;background:#f2f6f0;color:#526b5d;font-size:var(--fs-caption);line-height:1.5}.note.amber{background:var(--amber-bg);color:var(--amber)}.notice{white-space:pre-wrap;margin-bottom:16px}.notice:empty{display:none}.form-errors{color:var(--red);font-size:var(--fs-small)}.empty{padding:32px 20px;text-align:center;color:var(--muted);background:#fff;border:1px dashed #c7d5c8;border-radius:var(--radius)}details.support{margin-top:16px}details.support>summary{cursor:pointer;font-size:var(--fs-small);font-weight:600;min-height:44px;display:flex;align-items:center}details.support[open]>summary{margin-bottom:14px}details.support p{font-size:var(--fs-small);line-height:1.6;color:var(--muted);margin-bottom:14px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font: var(--fs-caption)/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;max-height:260px;overflow:auto;margin:14px 0 0}.inline-form{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin-top:16px}.inline-form .field{flex:1 1 240px;max-width:420px}.inline-form input{width:100%}.inline-form .btn{flex:none}.login-card{max-width:620px}.login-card h2{margin-bottom:16px}.login-card form{display:flex;gap:12px;align-items:flex-end}.login-card .field{flex:1}.login-card #google-login{margin-bottom:10px}
.workspace-tools{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.workspace-tools .note{flex:1}.workspace-tools-actions{display:flex;gap:8px;flex:none}.inbox-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px;align-items:start}.inbox-side{padding:20px}.inbox-side h2{margin-bottom:14px}.conversation-filter{margin-bottom:8px}.conversation-list{display:flex;flex-direction:column;gap:7px;max-height:590px;overflow:auto;scrollbar-gutter:stable}.conversation-item{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;min-height:68px;text-align:left;padding:11px 12px;background:white;border:1px solid var(--line);border-radius:12px;cursor:pointer}.conversation-item:hover{background:#fafcf8;border-color:#a9bdb0}.conversation-item.selected{background:var(--mint);border-color:#8fb4a0;box-shadow:inset 3px 0 var(--green)}.conversation-peer{font-size:var(--fs-small);font-weight:600;overflow-wrap:anywhere}.conversation-card{padding:0;overflow:hidden;min-height:560px;height:min(760px,calc(100dvh - 260px));display:flex;flex-direction:column}.conversation-head{padding:20px;border-bottom:1px solid var(--line);background:#fcfcf8}.conversation-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.conversation-heading h2{overflow-wrap:anywhere;flex:1;min-width:0}.conversation-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}.back-to-list{display:none}.delivery-note{margin:12px 16px 0;flex:none;display:block}.delivery-note p{margin-bottom:10px;font-size:var(--fs-small)}#thread{flex:1;min-height:0;overflow:auto;padding:20px;overscroll-behavior:contain;background:var(--paper)}.thread-empty{display:grid;place-content:center;min-height:150px;color:var(--muted);text-align:center;font-size:var(--fs-small)}.message{padding:12px 14px;background:#f2f5ef;margin:0 28px 12px 0;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--fs-small);line-height:1.5}.message.out{margin-left:28px;margin-right:0;background:#e6f1e9}.message .meta{font-size:var(--fs-caption);color:var(--muted);margin-bottom:3px}.message .meta:last-child{margin:4px 0 0}.reply-form{padding:14px 18px 16px;border-top:1px solid var(--line);background:#fcfcf8;flex:none;display:grid;gap:9px}.reply-form textarea{min-height:70px;max-height:140px;resize:vertical}.reply-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.compose-help{font-size:var(--fs-caption);color:var(--muted);max-width:100%}.compose-help summary{cursor:pointer;min-height:32px;display:flex;align-items:center}.compose-help p{margin-top:6px;max-width:620px}.connection-status{font-size:var(--fs-caption)}.portal-foot{margin-top:24px;font-size:var(--fs-caption);color:var(--muted)}
.standalone-page{min-height:100dvh;padding:32px 20px;display:grid;place-items:start center}.standalone-wrap{width:min(100%,480px);margin-top:7vh}.standalone-brand{color:var(--ink);margin-bottom:24px}.standalone-brand .brand-sub{opacity:1;color:var(--muted)}.standalone-card h1{font-size:var(--fs-title);margin:22px 0 16px}.standalone-card p{font-size:var(--fs-small);line-height:1.65;margin-bottom:20px}.standalone-card .lang-control{justify-content:flex-end}.standalone-card form{display:grid;gap:16px}.standalone-card .back-link{display:inline-flex;margin-top:20px;font-size:var(--fs-small)}.standalone-card .form-errors:empty{display:none}.standalone-card .form-errors{margin-top:16px}.payment-state{padding:14px;border-radius:10px;background:var(--mint);font-size:var(--fs-small)!important;font-weight:600}.payment-state.error{color:var(--red);background:var(--red-bg)}
.menu-wrap{width:min(100%,560px);margin-top:2vh}.menu-logo{width:48px;height:48px;border-radius:12px;flex:none}.menu-order{display:flex;justify-content:center;min-height:48px;font-size:var(--fs-body)}.menu-wrap h2{font-size:var(--fs-section);margin:26px 0 10px}.menu-list,.menu-hours{list-style:none;margin:0;padding:0}.menu-hours li{font-size:var(--fs-small);line-height:1.7}.menu-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.menu-item:first-child{border-top:0}.menu-item img{width:72px;height:72px;object-fit:cover;border-radius:12px;background:var(--mint)}.menu-item h3{font-size:var(--fs-body);margin:0 0 4px}.menu-item p{margin:0 0 4px!important}.menu-price{font-size:var(--fs-small)!important}.menu-ok{color:var(--green);font-weight:600}
.context-orders{margin-top:8px;font-size:var(--fs-caption);color:var(--green)}.context-orders>summary{cursor:pointer;min-height:32px;display:flex;align-items:center}.order-links{display:flex;flex-wrap:wrap;gap:8px;max-height:100px;overflow:auto}.order-links a{font-size:var(--fs-caption);min-height:36px;padding:7px 10px}.context-orders:not([open]) .order-links{display:none}
.support{scroll-margin-top:96px}
.inbox-grid>.card+.card{margin-top:0}
.support>summary,.compose-help>summary,.context-orders>summary{display:list-item;list-style-position:inside;padding:8px 0}
@media(min-width:901px){.conversation-card{height:min(760px,calc(100dvh - 305px));min-height:480px}}
@media(max-width:1100px){.portal-main{padding:24px}.portal-topbar{padding:0 24px}.inbox-grid{grid-template-columns:260px minmax(0,1fr);gap:16px}.workspace-tools{flex-wrap:wrap}.workspace-tools .note{flex-basis:100%}}
@media(max-width:900px){.portal-layout{grid-template-columns:1fr}.portal-sidebar{display:none}.portal-topbar{height:73px;padding:0 21px;position:sticky;top:0;z-index:10;box-shadow:0 2px 10px #153c3005}.topbar-location{display:none}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand .brand-mark{width:36px;height:36px;border-radius:11px}.mobile-brand .brand-name{font-size:var(--fs-body)}.mobile-brand .brand-sub{color:var(--muted);font-size:var(--fs-caption);opacity:1}.portal-mobile-nav{display:flex;gap:10px;align-items:center;padding:12px 21px 0}.portal-mobile-nav select{flex:1;min-width:0;font-size:var(--fs-small);font-weight:600;background:#fff}.portal-main{padding:20px 21px 35px}.lang-select{font-size:var(--fs-caption);min-height:41px;padding:9px;max-width:140px}.page-head{gap:15px}.page-head p{font-size:var(--fs-small)}.card{padding:21px}.inbox-grid{display:block}.inbox-side{padding:20px}.conversation-list{max-height:none}.conversation-card{display:none}.portal-main .page-head{margin-bottom:20px}.workspace-tools{gap:10px}.workspace-tools-actions{order:2}.workspace-tools .note{order:1}.inbox-detail{height:100dvh;overflow:hidden}.inbox-detail .portal-layout,.inbox-detail .portal-content{height:100dvh;min-height:0}.inbox-detail .portal-topbar,.inbox-detail .portal-mobile-nav,.inbox-detail .page-head,.inbox-detail .workspace-tools,.inbox-detail .inbox-side,.inbox-detail .support,.inbox-detail .portal-foot{display:none}.inbox-detail .portal-main{height:100dvh;padding:0;display:flex;flex-direction:column;max-width:none}.inbox-detail #workspace{display:flex;flex-direction:column;flex:1;min-height:0}.inbox-detail .inbox-grid{display:flex;flex:1;min-height:0}.inbox-detail .conversation-card{display:flex;flex:1;min-height:0;height:100%;border:0;border-radius:0;padding:0;box-shadow:none}.inbox-detail .back-to-list{display:inline-flex}.inbox-detail .conversation-head{padding:12px 16px}.inbox-detail .conversation-heading{gap:9px}.inbox-detail .conversation-heading h2{font-size:var(--fs-body)}.inbox-detail .conversation-actions{margin-top:8px;gap:8px}.inbox-detail #thread{padding:16px 12px}.inbox-detail #notice:not(:empty){margin:8px 12px 0;font-size:var(--fs-caption);padding:10px 12px;flex:none}.inbox-detail .reply-form{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.inbox-detail .reply-form textarea{font-size:16px;min-height:64px;max-height:110px}.inbox-detail .reply-actions{gap:6px}.inbox-detail .reply-actions .btn{margin-left:auto}.inbox-detail .compose-help{max-width:55%}.inbox-detail .compose-help[open]{max-width:100%;order:2;width:100%}.inbox-detail .message{margin-right:16px}.inbox-detail .message.out{margin-left:16px;margin-right:0}.inbox-detail #delivery{margin:8px 12px 0}.inbox-detail #delivery .btn{min-height:40px;font-size:var(--fs-small)}.inbox-detail #delivery p{font-size:var(--fs-caption)}.inbox-detail #peer:focus{outline:none}}
@media(max-width:650px){:root{--fs-title:20px}.portal-topbar{padding:0 16px;height:69px}.portal-mobile-nav{padding:11px 16px 0}.portal-main{padding:18px 16px 30px}.page-head{flex-direction:column;margin-bottom:20px}.page-head p{font-size:var(--fs-small);margin-top:9px}.card{padding:19px}.field input,.field select,.field textarea{font-size:16px}.inline-form{align-items:stretch}.inline-form .field{max-width:none;flex-basis:100%}.inline-form .btn{flex:1}.login-card form{flex-direction:column;align-items:stretch}.login-card .btn{width:100%}.inbox-side{padding:18px}.workspace-tools-actions{width:100%}.workspace-tools-actions .btn{flex:1}.standalone-page{padding:24px 16px}.standalone-wrap{margin-top:3vh}.standalone-card{padding:24px}.standalone-card h1{font-size:var(--fs-title)}.standalone-brand{margin-bottom:20px}.standalone-card .lang-select{min-height:44px}.portal-foot{font-size:var(--fs-caption)}.reply-form{padding:12px}.conversation-head{padding:16px}.support>summary{overflow-wrap:anywhere}}
@media(max-width:360px){.portal-topbar,.portal-main{padding-left:12px;padding-right:12px}.portal-mobile-nav{padding-left:12px;padding-right:12px}.brand-sub{display:none}.lang-select{max-width:115px}.mobile-brand .brand-name{font-size:var(--fs-body)}.card{padding:16px}.standalone-card{padding:20px}.inbox-detail .reply-actions{align-items:flex-start}.inbox-detail .compose-help{max-width:48%}.inbox-detail .reply-actions .btn{max-width:52%;font-size:var(--fs-small);padding:10px 11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.status-list{display:grid;gap:10px;margin-top:14px;min-width:0}.status-card{min-width:0;background:var(--mint);border:1px solid var(--line);border-radius:10px;padding:13px 15px;overflow-wrap:anywhere}.status-card h3{font-size:var(--fs-small);margin:0 0 5px}.status-card p{font-size:var(--fs-caption);line-height:1.55;margin:0}.status-card a{display:inline-flex;align-items:center;min-height:44px;font-size:var(--fs-caption)}.technical-details{font-size:var(--fs-caption);min-width:0;margin-top:8px}.technical-details>summary{cursor:pointer;min-height:36px;padding:8px 0}.technical-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;margin:7px 0}.message .technical-details{font-size:var(--fs-caption)}.message .technical-details>summary{min-height:28px}.notice .status-card{background:transparent;border:0;padding:0}.context-orders .order-links{display:grid;max-height:200px}.context-orders .status-card{padding:8px 10px}

.preview-switch{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.preview-switch .field{min-width:200px}.preview-switch select{max-width:100%}
.login-entry{max-width:440px;margin:6vh auto;padding:24px;width:calc(100% - 32px)}

.message-photo{display:block;max-width:min(100%,280px);height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px;margin:10px 0;background:#f5f1e9}

/* Shared conversation shell, with an isolated Instagram workspace. */
.channel-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.ig-thread{min-height:200px;max-height:55vh;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.ig-thread .message{white-space:pre-wrap;overflow-wrap:anywhere}.ig-grid{margin-top:20px}#ig-back{display:none}#ig-list button{width:100%;text-align:start;overflow-wrap:anywhere}#ig-notice:empty{display:none}.ig-conversation{min-width:0}.ig-grid select,.ig-grid textarea{max-width:100%}
@media(max-width:900px){.ig-grid{grid-template-columns:1fr}.ig-conversation{display:none}.ig-detail-open .ig-conversation{display:block}.ig-detail-open .ig-side{display:none}#ig-back{display:inline-flex}.ig-thread{max-height:45vh}.channel-tabs .btn{flex:1}}
.ig-conversation .conversation-head,.ig-conversation .reply-form,.ig-conversation>button{flex-shrink:0}.ig-conversation .ig-thread{flex:1;min-height:100px;max-height:none}.ig-conversation{height:auto;min-height:640px;max-height:none}.ig-conversation .ig-thread{height:320px;flex-basis:320px;overflow:auto}
@media(max-width:900px){.ig-detail-open .ig-conversation{display:flex;min-height:680px}.ig-conversation .ig-thread{height:260px;flex-basis:260px}.ig-conversation .reply-actions{justify-content:flex-end}}

@media(max-width:900px){.ig-detail-open .portal-main{padding:0}.ig-detail-open .page-head,.ig-detail-open .workspace-tools,.ig-detail-open .channel-tabs,.ig-detail-open #ig-workspace>.support,.ig-detail-open .portal-foot{display:none}.ig-detail-open .ig-grid{margin:0}.ig-detail-open .ig-conversation{height:calc(100dvh - 69px);min-height:0;padding:0;border-radius:0}.ig-detail-open .ig-thread{flex:1;min-height:0;height:auto;flex-basis:auto}.ig-detail-open .conversation-head{padding:12px 16px}.ig-detail-open #ig-notice:not(:empty){margin:8px 12px}.ig-detail-open .reply-form{padding:10px 12px max(10px,env(safe-area-inset-bottom))}}

.ig-thread-refresh{display:none}@media(max-width:900px){.ig-thread-refresh{display:inline-flex}}

@media(max-width:900px){.ig-detail-open{height:100dvh;overflow:hidden}.ig-detail-open .portal-layout,.ig-detail-open .portal-content{height:100dvh;min-height:0}.ig-detail-open .portal-content{display:flex;flex-direction:column}.ig-detail-open .portal-topbar{flex:none}.ig-detail-open .portal-main{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.ig-detail-open #ig-workspace{flex:1;min-height:0;display:flex;flex-direction:column}.ig-detail-open .ig-grid{flex:1;min-height:0;display:flex}.ig-detail-open .ig-conversation{height:100%;min-height:0;flex:1;width:100%}.ig-detail-open #ig-notice{flex:none;max-height:100px;overflow:auto}.ig-detail-open .reply-form{flex:none}}
/* Touch targets: at least 44 px to tap, without making small controls look bigger (invisible hit area). */
:where(.btn.small,.step-list .btn,.faq summary,.check.tight,.toast button){position:relative}.btn.small::after,.step-list .btn::after,.faq summary::after,.check.tight::after,.toast button::after{content:'';position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}.lang-select{min-height:44px}
/* Type scale and touch: tabular numbers in columns; 44 px small buttons on touch and phones (hit area is 44 px everywhere). */
.stat-number,.stock-num,.order-total,.product-price,.commercial-price-row strong,.queue-row strong,.order-detail-row,.order-line,.csv-table td,.hours-grid,.stat-sub,.menu-price,.cal-count,.oc-count{font-variant-numeric:tabular-nums}
@media(max-width:900px),(pointer:coarse){.btn.small{min-height:44px}}
/* Conversation pages on the portal scale: names and message text are body size, unread (waiting for the seller) rows are bold,
   a state is colour + icon + word (the icon is drawn here in CSS, no image: the page CSP allows only same-origin images). */
.conversation-peer{font-size:var(--fs-body)}.message{font-size:var(--fs-body)}.conversation-item.unread .conversation-peer,.conversation-item.unread .small{font-weight:700;color:var(--ink)}
.conversation-item .conversation-peer{font-weight:600}.conversation-item{min-height:68px}
.conversation-item .badge::before,.conversation-head .badge::before,#mode::before,#ig-state::before{content:'i';flex:none;display:inline-grid;place-items:center;width:14px;height:14px;border:1.6px solid currentColor;border-radius:50%;font-size:10px;font-weight:800;line-height:1;font-style:normal}
.conversation-item .badge.green::before,.conversation-head .badge.green::before,#mode.green::before,#ig-state.green::before{content:'';width:5px;height:10px;border:solid currentColor;border-width:0 2.2px 2.2px 0;border-radius:0;transform:rotate(45deg);margin:0 4px 3px 3px}
.conversation-item .badge.amber::before,.conversation-head .badge.amber::before,#mode.amber::before,#ig-state.amber::before{content:'!'}
.badge.red{color:var(--red);background:var(--red-bg)}.badge.red::before,.conversation-head .badge.red::before,#mode.red::before{content:'×'}
.conversation-head .badge:empty,#mode:empty,#ig-state:empty{display:none}.compose-help>summary{padding:13px 0;min-height:44px}

/* ===== Compact inbox (owner decision 11.11): header row with channel tabs and status dots, two panes that fill the height. ===== */
.inbox-head{flex-wrap:wrap;gap:8px 12px}.inbox-head h1{flex:none}
.channel-tabs{display:inline-flex;flex-wrap:nowrap;gap:2px;margin:0 0 0 4px;padding:3px;background:#edf1eb;border:1px solid var(--line);border-radius:10px}
.channel-tab{display:inline-flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:4px 12px;border-radius:8px;color:var(--ink);font-size:var(--fs-small);font-weight:600;text-decoration:none;white-space:nowrap}
.channel-tab:hover{background:#ffffffb0}.channel-tab[aria-current=page]{background:#fff;color:var(--green-dark);box-shadow:0 1px 3px #163c3226}
.channel-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#98a89f}
.channel-dot[data-tone=ok]{background:#1f8a5b}.channel-dot[data-tone=warn]{background:#d99a1c}.channel-dot[data-tone=off]{background:#c2453d}
.inbox-refresh{margin-left:auto;width:36px;min-width:36px;height:36px;min-height:36px;padding:0}
.inbox-page:has(#workspace.hidden,#ig-workspace.hidden) .inbox-head>:not(h1){display:none}
.inbox-page .portal-foot,.inbox-page .portal-mode-footer{display:none}
.inbox-side,.conversation-card{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.conversation-card{height:auto;min-height:0}
.inbox-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;flex:none;padding:10px;border-bottom:1px solid var(--line)}
.inbox-filters .field{margin:0;gap:0}
.inbox-filters .field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.inbox-filters :is(input,select){min-height:36px;padding:6px 10px;font-size:var(--fs-small)}.inbox-filters select{max-width:150px}
.inbox-filters>.check,.inbox-filters>.note{grid-column:1/-1;margin:0;font-size:var(--fs-small)}.inbox-filters>.note{padding:6px 10px}.inbox-filters>.note:empty{display:none}
.ig-side .inbox-filters{grid-template-columns:minmax(0,1fr)}.ig-side .inbox-filters select{max-width:none}
.ig-truncated{margin:0;padding:6px 12px}.ig-truncated:empty{display:none}
.inbox-side .conversation-list{flex:1 1 0;min-height:0;max-height:none;gap:0;padding:0;overflow:auto;display:block}
.conversation-item{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;column-gap:10px;width:100%;min-height:60px;padding:8px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--paper);text-align:left;position:relative}
.conversation-item:hover{background:#f6f9f4}.conversation-item.selected{background:var(--mint);box-shadow:inset 3px 0 var(--green)}
.conv-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;font-size:var(--fs-small);font-weight:700;line-height:1;background:hsl(var(--hue,150) 42% 88%);color:hsl(var(--hue,150) 62% 22%)}
.conv-body{display:grid;gap:3px;min-width:0}.conv-line{display:flex;align-items:center;gap:8px;min-width:0}
.conv-line .conversation-peer{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-body);font-weight:600}
.conv-preview{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-small);color:var(--muted)}
.conv-time{flex:none;font-size:var(--fs-caption);color:var(--muted)}
.conversation-item .badge{flex:none;max-width:70%;padding:2px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-item.unread .conv-preview{font-weight:700;color:var(--ink)}.conversation-item.unread .conv-avatar{position:relative}
.conversation-item.unread .conv-avatar::after{content:'';position:absolute;top:-1px;right:-1px;width:11px;height:11px;border-radius:50%;background:#d99a1c;border:2px solid #fff;box-sizing:border-box}
.inbox-pager{display:flex;justify-content:space-between;gap:8px;flex:none;padding:6px 10px;border-top:1px solid var(--line)}.inbox-pager:not(:has(button:not(:disabled))){display:none}
.inbox-side .empty{margin:12px;padding:20px 12px}
.conversation-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;flex:none;padding:10px 14px;border-bottom:1px solid var(--line);background:#fcfcf8}
.conversation-head>.conv-avatar{width:36px;height:36px}.conversation-head>.hint,.conversation-head>.note,.conversation-head>details{flex:1 1 100%;margin:0}
.conversation-heading{display:flex;align-items:center;flex:1 1 160px;gap:10px;min-width:0}
.conversation-heading h2,.conversation-head>h2{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-section)}.conversation-head>h2{flex:1 1 120px}
.conversation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;flex:none}
.conversation-actions .btn,.conversation-head>.btn{min-height:34px;padding:4px 12px;font-size:var(--fs-small)}
.conversation-head .hint:empty{display:none}
.back-to-list{display:none}.conversation-head>.back-to-list,.conversation-head>#ig-back{width:44px;min-width:44px;padding:0;font-size:0}.back-to-list::before,#ig-back::before{content:'\2190';font-size:22px;line-height:1}
.conversation-card.is-empty .conversation-head,.conversation-card.is-empty .reply-form,.conversation-card.is-empty>#ig-older{display:none}
#thread,.ig-thread{display:flex;flex-direction:column;gap:8px;flex:1 1 0;min-height:0;padding:14px 16px;overflow:auto;overscroll-behavior:contain;background:#f6f8f4}
#thread>:first-child,.ig-thread>:first-child{margin-top:auto}
.message{align-self:flex-start;max-width:min(78%,640px);margin:0;padding:8px 12px;background:var(--paper);border:1px solid var(--line);border-radius:14px 14px 14px 4px;font-size:var(--fs-body)}
.message.out{align-self:flex-end;margin:0;background:#dcefe3;border-color:#c6e1d0;border-radius:14px 14px 4px 14px}
.message .meta{margin:0 0 2px}
#thread>.thread-empty,.ig-thread>.thread-empty{margin:auto;min-height:0;font-size:var(--fs-body)}
.reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:4px 10px;flex:none;padding:10px 14px 12px;border-top:1px solid var(--line);background:#fcfcf8}
.reply-form .field{grid-column:1;margin:0;gap:0}.reply-form .field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.reply-form textarea{min-height:44px;max-height:120px;height:44px;resize:vertical}
.reply-actions{display:contents}.reply-actions>.btn:last-child{grid-column:2;grid-row:1;min-height:44px}.reply-actions>.compose-help{grid-column:1/-1;grid-row:2;font-size:var(--fs-caption);color:var(--muted)}
.reply-actions>.compose-help>summary{min-height:0;padding:0}
.ig-conversation .reply-actions{display:flex;grid-column:1/-1;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ig-conversation .reply-actions:not(:has(.btn:not(.hidden))){display:none}
.ig-conversation .reply-form .field{grid-column:1/-1}.ig-conversation .reply-form .field .hint{justify-self:end}
.ig-conversation .reply-form{grid-template-columns:minmax(0,1fr)}
.inbox-panels{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;flex:none}.inbox-panels>details{flex:1 1 240px;margin:0!important}
.inbox-page details.card{margin:0;padding:2px 14px;border-radius:12px}.inbox-page details.card>summary{display:flex;align-items:center;min-height:36px;padding:0}
.conversation-list:not(:has(.conversation-item)){padding:12px;color:var(--muted);font-size:var(--fs-small)}

@media(min-width:901px){
 .shell-nav .portal-main.inbox-page{display:flex;flex-direction:column;height:calc(100dvh - 48px);overflow:auto;padding-bottom:12px}
 .inbox-page>.page-head,.inbox-page>#notice{flex:none}
 .inbox-page #workspace,.inbox-page #ig-workspace{display:flex;flex-direction:column;flex:1 1 0;min-height:0;gap:8px}
 .inbox-page .inbox-grid{display:grid;grid-template-columns:340px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:12px;flex:1 1 0;min-height:360px;margin:0;align-items:stretch}
 .inbox-page .ig-conversation{height:auto;min-height:0}.inbox-page .ig-conversation .ig-thread{height:auto;max-height:none;flex:1 1 0;min-height:0}
}
@media(max-width:900px){
 .inbox-head .channel-tabs{order:3;flex:1 1 100%;margin:0}.inbox-head .channel-tab{flex:1}.inbox-refresh{width:44px;height:44px;min-width:44px}
 .inbox-page .inbox-grid{display:block}.inbox-side{min-height:0}
 .inbox-side .conversation-list{flex:none;display:block;overflow:visible}
 .conversation-card{display:none}.inbox-detail .conversation-card,.ig-detail-open .ig-conversation{display:flex}
 body.inbox-detail .shell-nav .portal-topbar,body.inbox-detail .inbox-head,body.ig-detail-open .shell-nav .portal-topbar,body.ig-detail-open .inbox-head{display:none}
 body.inbox-detail .shell-nav .portal-main,body.ig-detail-open .shell-nav .portal-main{height:100dvh;padding:0;max-width:none;overflow:hidden}
 .inbox-detail .conversation-head,.ig-detail-open .conversation-head{padding:8px 12px;gap:6px 8px;flex-wrap:wrap}
 .inbox-detail .conversation-heading{flex:1 1 0;min-width:0}.inbox-detail .conversation-actions{flex:1 1 100%;margin:0}.inbox-detail .conversation-actions .btn{flex:1}
 .conversation-item .badge,.conversation-heading .badge,#mode,#ig-state{white-space:nowrap;flex:none}
 .inbox-detail .conversation-head .conv-avatar{display:none}
 .inbox-detail .back-to-list{display:inline-flex}
 .inbox-detail #thread{padding:12px}.inbox-detail .message{max-width:88%;margin:0}.inbox-detail .message.out{margin:0}
 .inbox-detail .reply-form,.ig-detail-open .reply-form{padding:8px 12px max(8px,env(safe-area-inset-bottom))}
}
/* «More about the channel»: the support panels share one collapsed row so the two panes keep the height. */
.inbox-page #channel-more{flex:none;padding:2px 14px;margin:0;border-radius:12px}.inbox-page #channel-more>summary{min-height:32px;padding:0;display:flex;align-items:center}
.channel-more-body{display:flex;flex-direction:column;gap:8px;margin:6px 0 10px;max-height:min(420px,calc(100dvh - 220px));overflow:auto}.channel-more-body .inbox-panels{display:flex;flex-direction:column;gap:8px}

/* ===== CONVERSATION-CONTROLS (owner feedback 11.11): who speaks, who is in charge, what can be done now. ===== */
/* Three kinds of message, distinguishable without reading: customer (left, white), bot (right, grey-green, robot), seller (right, solid brand green, person). */
.message.k-customer{background:var(--paper);border-color:#cdd6cf;color:var(--ink)}
.message.k-bot{background:#e6ece8;border:1px dashed #8aa395;color:var(--ink);border-radius:14px 14px 4px 14px}
.message.k-seller{background:var(--green);border:1px solid var(--green-dark);color:#fff;border-radius:14px 14px 4px 14px}
.message.k-seller .meta,.message.k-seller .msg-note,.message.k-seller .msg-transcript{color:#e3f2ea}
.message.k-seller a{color:#fff}
.message.k-bot .meta{color:#3d5247}
.message.k-seller>.meta:not(.msg-head)::before,.message.k-bot>.meta:not(.msg-head)::before{content:'';display:inline-block;width:14px;height:14px;margin-inline-end:5px;vertical-align:-2px;background:currentColor;-webkit-mask:var(--kind-icon) center/contain no-repeat;mask:var(--kind-icon) center/contain no-repeat}
.message.k-bot{--kind-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='11' rx='3'/%3E%3Cpath d='M12 8V4M9 13h.01M15 13h.01M9 17h6'/%3E%3C/svg%3E")}
.message.k-seller{--kind-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-5 5-6 8-6s7 1 8 6'/%3E%3C/svg%3E")}
.msg-row{display:flex;align-items:flex-end;gap:8px;max-width:100%}
.msg-row:not(.k-customer){justify-content:flex-end}
.msg-row>.conv-avatar{width:30px;height:30px;font-size:var(--fs-caption);margin-bottom:2px}
.msg-row .message{align-self:auto;max-width:min(78%,640px);min-width:0;overflow-wrap:anywhere}
.msg-head{display:flex;align-items:center;gap:6px;margin:0 0 3px;font-size:var(--fs-caption);line-height:1.3}
.msg-head .ico{flex:none}.msg-who{font-size:var(--fs-small);font-weight:700}.msg-time{margin-inline-start:auto;padding-inline-start:10px;font-weight:400;opacity:.9;white-space:nowrap}
.msg-text{white-space:pre-wrap;overflow-wrap:anywhere}
.msg-note{margin-top:4px;font-size:var(--fs-caption);font-style:italic;color:var(--muted)}
.msg-transcript{display:flex;gap:6px;align-items:flex-start;margin-top:6px;padding-top:6px;border-top:1px solid #0000001a;font-size:var(--fs-small);font-style:italic;color:var(--muted)}.msg-transcript .ico{margin-top:3px;flex:none}
.msg-options{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none}
.msg-options li{padding:3px 10px;border:1px solid #8aa395;border-radius:999px;background:var(--paper);color:var(--ink);font-size:var(--fs-small);line-height:1.4}
.msg-foot{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin-top:6px}
.msg-status{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border-radius:999px;font-size:var(--fs-caption);font-weight:600;line-height:1.5;background:#eef1ee;color:#33463c}
.msg-status.s-ok{background:#e3f3ea;color:#145a43}.msg-status.s-warn{background:var(--amber-bg);color:var(--amber)}.msg-status.s-bad{background:var(--red-bg);color:var(--red)}
.msg-retry{min-height:28px;padding:0 10px;font-size:var(--fs-caption);background:var(--paper)!important;color:var(--ink)}
.msg-event{display:flex;align-items:center;justify-content:center;gap:6px;align-self:center;margin:4px 0;padding:3px 12px;border-radius:999px;background:#e9eee9;color:#3f554a;font-size:var(--fs-caption);text-align:center}
/* The control strip in the thread header. */
.control-strip{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px 12px;flex:1 1 100%;margin:0;padding:8px 12px;border:1px solid #cdd6cf;border-inline-start-width:5px;border-radius:10px;background:#eef3f0}
.control-strip[hidden]{display:none}
.strip-who{display:grid;gap:1px;min-width:0;flex:1 1 220px}.strip-text{font-size:var(--fs-body);font-weight:700;line-height:1.3}.strip-sub{font-size:var(--fs-small);color:var(--muted);line-height:1.35}.strip-sub:empty{display:none}
.control-strip[data-state=bot]{border-color:#8aa395;background:#e6ece8}
.control-strip[data-state=waiting],.control-strip[data-state=checking]{border-color:#d9a63a;background:var(--amber-bg)}
.control-strip[data-state=seller]{border-color:var(--green);background:#e1f2e8}
.control-strip[data-state=failed]{border-color:#c25b5b;background:var(--red-bg)}
.control-strip[data-state=finished]{border-color:#b9bfb8;background:#f1f1ee}
.control-strip .conversation-actions{flex:none}.control-strip .conversation-actions .btn[hidden]{display:none}
.control-strip .btn:disabled{opacity:.7;border-style:dashed}
/* The customer's orders, basket and a pending delivery request. */
.conv-context{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;flex:none;padding:6px 14px;border-bottom:1px solid var(--line);background:#fcfcf8;font-size:var(--fs-small)}.conv-context[hidden]{display:none}
.ctx-group{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.ctx-label{font-weight:700;color:var(--muted)}.ctx-text{color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis}
.ctx-link{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:1px 8px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--green-dark);text-decoration:none;font-weight:600}
.ctx-link:hover{background:var(--mint);border-color:var(--green);text-decoration:underline}
.ctx-alert{color:var(--amber);font-weight:600}.ctx-alert .ctx-text{color:var(--amber)}
/* State counters as chips. */
.state-chips{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
.state-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:2px 10px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font-size:var(--fs-small);font-weight:600}
.state-chip:hover{background:var(--mint);border-color:var(--green)}
.state-chip.on{background:var(--green);border-color:var(--green-dark);color:#fff}
.chip-n{font-size:var(--fs-caption);font-weight:800;min-width:18px;padding:0 5px;border-radius:999px;background:var(--amber-bg);color:var(--amber);text-align:center}
.state-chip.on .chip-n{background:#ffffff2b;color:#fff}.chip-n.zero{background:#eef1ee;color:var(--muted);font-weight:600}.state-chip.on .chip-n.zero{background:#ffffff2b;color:#fff}
.conversation-head .conversation-heading .badge{display:none}
.conversation-head{flex-wrap:wrap}
@media(max-width:900px){.state-chip,.msg-retry,.ctx-link{min-height:44px}.control-strip .conversation-actions{flex:1 1 100%}.control-strip .conversation-actions .btn{flex:1;min-height:44px}.inbox-detail .msg-row .message{max-width:88%}}
@media(pointer:coarse){.state-chip,.ctx-link{min-height:44px}}
.conv-context{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.ctx-group{flex:none;flex-wrap:nowrap}.ctx-text{white-space:nowrap}

/* ===== CLICKABLE-EVERYWHERE (owner feedback 11.11): link-like rows, badges and titles with hover, chevron and focus. ===== */
.link-title,.link-inline,.link-badge,.cs-cat-link{font:inherit;background:none;border:0;padding:0;color:inherit;text-align:start;cursor:pointer}
.link-title{display:inline-flex;align-items:center;gap:4px;font-size:inherit;font-weight:700;color:var(--green-dark);border-radius:6px;min-height:28px}
.link-title:hover span,.link-inline:hover,.cs-cat-link:hover{text-decoration:underline;text-underline-offset:3px}.link-title:hover{color:var(--green)}
.link-title svg{flex:none;opacity:.7}
.link-inline{color:var(--green-dark);font-weight:600;text-decoration:underline;text-decoration-color:#176e5366;text-underline-offset:3px;display:inline-flex;align-items:center;gap:4px;min-height:24px}.link-inline:hover{text-decoration-color:currentColor;color:var(--green)}
.link-badge{display:inline-flex;border-radius:999px;cursor:pointer}.link-badge:hover .badge{box-shadow:0 0 0 2px var(--green);text-decoration:underline}
.cs-cat-link{display:block;margin-top:2px;font-size:var(--fs-caption);color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-decoration-color:#4f635b55;text-underline-offset:3px}
.cs-status{display:grid;justify-items:start;align-content:center}
.queue-row{cursor:pointer}.queue-row:hover{background:var(--mint)}.queue-row svg:last-child{flex:none;opacity:.6}.queue-row:hover svg:last-child{opacity:1}
a.queue-row{text-decoration:none;color:inherit}
.home-connections{padding:10px 14px}.home-connections h2{font-size:var(--fs-small);font-weight:700;margin:0 0 6px;color:var(--muted)}
.conn-chips{display:flex;flex-wrap:wrap;gap:8px}
.conn-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:3px 10px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font-size:var(--fs-small);cursor:pointer}
.conn-chip:hover{background:var(--mint);border-color:var(--green)}.conn-chip>span:not(.conn-dot){color:var(--muted)}.conn-chip svg:last-child{opacity:.6}
.conn-dot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e9eee9;color:#3f554a}
.conn-chip.green .conn-dot{background:#dff1e6;color:#145a43}.conn-chip.red .conn-dot{background:var(--red-bg);color:var(--red)}.conn-chip.amber .conn-dot{background:var(--amber-bg);color:var(--amber)}
.conn-summary .link-inline{min-height:0}
.order-customer{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}
@media(max-width:900px),(pointer:coarse){.conn-chip,.link-title{min-height:44px}.link-inline{min-height:32px}}

.main [id]{scroll-margin-top:64px}

/* HOLIDAYS: list of special days in «Магазин» */
.holiday-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.holiday-list li{display:flex;align-items:center;gap:12px;padding:4px 0;border-bottom:1px solid var(--line)}
.holiday-list li:last-child{border-bottom:0}
.holiday-date{font-weight:700;min-width:9ch}
.holiday-hours{flex:1 1 auto;font-variant-numeric:tabular-nums}

/* DELIVERY / PEER META: the decision on a delivery request and the customer's language in the Telegram conversation */
.conv-delivery{display:grid;gap:6px;flex:none;padding:8px 14px;border-bottom:1px solid var(--line);background:#fffaf0;font-size:var(--fs-small)}.conv-delivery[hidden]{display:none}
.del-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}.del-title{font-weight:700;color:var(--amber)}.del-items{color:var(--ink)}.del-wish{color:var(--muted)}
.del-form{display:grid;grid-template-columns:minmax(180px,2fr) minmax(160px,1fr) minmax(160px,1fr) auto;gap:8px;align-items:end}.del-field{margin:0}.del-field label{font-size:var(--fs-caption)}
.del-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.del-waiting{flex:1 1 260px}
.del-help summary{display:inline-flex;align-items:center;min-height:28px;cursor:pointer;color:var(--green-dark);font-weight:600}.del-help summary:hover{text-decoration:underline}
.peer-meta{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-caption);color:var(--muted)}.peer-meta[hidden]{display:none}
@media(max-width:900px){.del-form{grid-template-columns:1fr}.conv-delivery .btn,.del-help summary{min-height:44px}}
.buyer-refusal{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;flex:none;padding:4px 14px;border-bottom:1px solid var(--line);font-size:var(--fs-small);color:var(--muted)}.buyer-refusal[hidden],.buyer-refusal [hidden]{display:none}.refusal-text{min-width:0;flex:1 1 auto;overflow-wrap:anywhere}.refusal-text:empty{display:none}
/* OWNER-HELP: «How it works» links next to a card or a conversation. */
.help-link{font-size:var(--fs-small);font-weight:500}.strip-help{justify-self:start}
/* OWNER-CHANNELS: a hidden channel bar or tab stays hidden despite the flex layout above. */
.channel-tabs[hidden],.channel-tab[hidden]{display:none}
