/* One stable two-row header in every language, channel, theme and font scale. */
body header.fixed-app-header,body.rtl header.fixed-app-header,body header.fixed-app-header.fo-header-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"brand brand" "channel language";gap:.65rem 1rem;direction:ltr!important;padding:1rem;align-items:center;background:#123b30!important;height:auto!important;min-height:0;}
body header.fixed-app-header .brand,body.rtl header.fixed-app-header .brand{grid-area:brand;display:flex;position:static;justify-self:start;order:0;margin:0;max-width:100%;font-size:1.35rem;line-height:1.3;direction:ltr;}
header.fixed-app-header .brand-icon{display:none}
header.fixed-app-header .brand small{font-size:.6rem;letter-spacing:.18em;line-height:1.5;color:#c2d4cc!important;white-space:normal}
body header.fixed-app-header #channel-control,body.rtl header.fixed-app-header #channel-control{grid-area:channel;order:0;margin:0!important;width:100%;min-width:0;}
header.fixed-app-header .channel-menu{width:100%}
header.fixed-app-header .channel-menu>summary{padding:.55rem;gap:.25rem;min-width:0;}
header.fixed-app-header .channel-active{min-width:0;font-size:.95rem;word-break:normal;overflow-wrap:normal;}
body header.fixed-app-header .lang-switch,body.rtl header.fixed-app-header .lang-switch{grid-area:language;position:static!important;transform:none!important;inset:auto!important;margin:0!important;justify-self:end;max-width:100%;font-size:.95rem;white-space:normal;overflow-wrap:normal;min-height:48px;padding:.55rem .7rem;}
#selected-label{font-size:1.125rem!important;font-weight:600!important;line-height:1.5;color:var(--text,#182c26)!important;opacity:1;overflow-wrap:normal;word-break:normal;height:auto;max-height:none;}
.history-clear{padding:1.5rem 0;text-align:center}
.theme-options{display:flex;flex-wrap:wrap;gap:.5rem}
body.theme-dark{--bg:#14231f;--card:#1d302a;--text:#f3f3ed;--muted:#b4c5bc;--line:#466056;--green:#71d3ae;--surface:#243c33;background:var(--bg)!important;color:var(--text)!important;color-scheme:dark;}
html[data-customer-channel=food] body.theme-dark{--bg:#162330;--card:#203244;--muted:#b6c7d8;--line:#476178;--green:#8fbde8;--surface:#29415a;}
body.theme-dark main,body.theme-dark nav{background:var(--bg)!important;color:var(--text)!important;border-color:var(--line)!important;}
body.theme-dark :is(.card,.notice,.product,.manage-row,dialog,.channel-options,.branch-card,.history-row,.access-panel,.owner-section,.scan-guide-tip,.customer-options,.shortcut-list){background:var(--card)!important;color:var(--text)!important;border-color:var(--line)!important;}
body.theme-dark :is(input,select,textarea,pre,.secondary,.sku,.badge,.step,.theme-choice,.summary){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;}
body.theme-dark :is(h1,h2,h3,h4,strong,label,#selected-label,.item-name,.review-store,.review-merchandiser,.review-sku){color:var(--text)!important;}
body.theme-dark :is(.muted,.hint,small,.item-meta,.empty,.owner-note,.branch-session-note){color:var(--muted)!important;}
body.theme-dark :is(.product.selected,nav button.active,.theme-choice.active){background:var(--surface)!important;color:var(--text)!important;border-color:var(--green)!important;box-shadow:inset 0 0 0 1px var(--green);}
body.theme-dark .danger{color:#ffb9b2!important;}
body.theme-dark [data-channel=key_account]{color:#71d3ae!important;--option-accent:#71d3ae;}
body.theme-dark [data-channel=food]{color:#8fbde8!important;--option-accent:#8fbde8;}
body.theme-dark .text-btn{color:var(--green);}
body.theme-dark .channel-menu>summary{background:#ffffff12!important;color:#fff!important;}
body.theme-dark ::placeholder{color:var(--muted);opacity:1;}
body header.fixed-app-header,body.rtl header.fixed-app-header{padding:16px;gap:10px 12px;}
header.fixed-app-header .brand{word-break:normal!important;overflow-wrap:normal!important;}
body header.fixed-app-header.header-large-controls,body.rtl header.fixed-app-header.header-large-controls{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "channel" "language";}
header.fixed-app-header.header-large-controls .lang-switch{justify-self:start!important;}
body.theme-dark nav button:not(.active),body.theme-dark .eyebrow{color:var(--muted)!important;}
body.theme-dark .scan-action{background:var(--fo-channel-accent)!important;color:#fff!important;border-color:var(--fo-channel-accent)!important;}
body.theme-dark :is(.link-card,.scan-guide-skip,.fo-selected-customer){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;}

.owner-section{margin-block:16px;border:1px solid #7895;border-radius:16px;padding:12px;min-width:0}.owner-section>summary{display:flex;justify-content:space-between;gap:12px;padding:8px;cursor:pointer;font-weight:700;font-size:1.15rem;min-height:48px;list-style:none;overflow-wrap:normal}.owner-section>summary::-webkit-details-marker{display:none}.access-chevron{transition:transform .2s;flex-shrink:0}.owner-section[open]>summary .access-chevron{transform:rotate(180deg)}.owner-section .owner-controls{flex-wrap:wrap}.owner-section .owner-controls button{white-space:normal}.owner-section .owner-evidence{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.owner-section .owner-row{flex-wrap:wrap}.owner-section .owner-row button{max-width:100%}.owner-section .owner-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.owner-section .owner-grid .card{overflow-wrap:anywhere}.owner-section progress{max-width:100%}
