/* Daily counter: familiar actions, with details available when needed. */
.global-search-meta{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;min-width:0}
.global-search-labels{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:0;max-width:100%}
.global-search-type{display:inline-block;padding:3px 9px;border-radius:7px;background:var(--type-bg,var(--action-soft));color:var(--type-ink,var(--action-ink));font-size:12px;line-height:1.35;font-weight:750;letter-spacing:.02em;overflow-wrap:anywhere}
.global-search-brand{font-size:11px;color:var(--muted);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.global-search-result[data-product-tone]{border-inline-start:4px solid var(--type-edge,var(--line))}
.global-search-result[data-product-tone=lcd]{--type-bg:#eaf2fc;--type-ink:#244f80;--type-edge:#7097c4}
.global-search-result[data-product-tone=bundas]{--type-bg:#fff3d5;--type-ink:#704b11;--type-edge:#b78a43}
.global-search-result[data-product-tone=battery]{--type-bg:#e8f3ea;--type-ink:#26553e;--type-edge:#6d9a7b}
.global-search-result[data-product-tone=touch]{--type-bg:#e8f4f6;--type-ink:#205c69;--type-edge:#659ba5}
.global-search-result[data-product-tone=board]{--type-bg:#f1ebf7;--type-ink:#634180;--type-edge:#a082bd}
.global-search-result[data-product-tone=other]{--type-bg:#eff2ee;--type-ink:#465447;--type-edge:#9ba79d}
[data-theme=dark] .global-search-result[data-product-tone=lcd]{--type-bg:#1c3148;--type-ink:#aed0ff;--type-edge:#7097c4}
[data-theme=dark] .global-search-result[data-product-tone=bundas]{--type-bg:#44371d;--type-ink:#ffd982;--type-edge:#b78a43}
[data-theme=dark] .global-search-result[data-product-tone=battery]{--type-bg:#244034;--type-ink:#b6ddc2;--type-edge:#6d9a7b}
[data-theme=dark] .global-search-result[data-product-tone=touch]{--type-bg:#203b42;--type-ink:#b2dde3;--type-edge:#659ba5}
[data-theme=dark] .global-search-result[data-product-tone=board]{--type-bg:#382b48;--type-ink:#d9c0f6;--type-edge:#a082bd}
[data-theme=dark] .global-search-result[data-product-tone=other]{--type-bg:#2c3b31;--type-ink:#d2ded3;--type-edge:#728778}
.counter-tools>.calculator-launch{width:40px;min-width:40px;height:44px}
.counter-tools>.calculator-launch .icon{width:18px;height:18px}
.nb-top-tools>.calculator-launch{width:36px;min-width:36px;height:40px}
.ecac-calculator{position:fixed;inset:auto 18px 18px auto;margin:0;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain}
.ecac-calculator::backdrop{background:#103d351a;backdrop-filter:none}
.ecac-calculator>.modal-head{position:sticky;top:0;z-index:1;border-bottom:1px solid var(--line)}
.ecac-calculator .calculator-body{padding:10px 12px}
.calculator-context{display:block;width:100%;min-height:40px;margin:0 0 8px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--action-ink);font-size:12px;text-align:left}
.calculator-shop{margin-top:8px;border-top:1px solid var(--line)}
.calculator-shop>summary{min-height:44px;padding:12px 2px;font-size:13px;font-weight:600;cursor:pointer}
.calculator-shop-body{display:grid;gap:10px;padding-bottom:6px}
.calculator-shop label{display:grid;gap:5px;font-size:12px;color:var(--muted)}
.calculator-shop input,.calculator-shop select{width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink,inherit);font-size:16px}
[data-shop-fields]{display:grid;gap:10px}
.calculator-shop-result{display:grid;gap:4px;padding:12px;border-radius:10px;background:var(--action-soft);font-size:12px;line-height:1.5}
.calculator-shop-result strong{font-size:20px;color:var(--action-ink);overflow-wrap:anywhere}
.calculator-shop-result small{font-size:11px;color:var(--muted)}
.calculator-shop .btn{min-height:44px;font-size:13px}
@media(max-width:600px){.ecac-calculator{inset:auto 8px max(8px,env(safe-area-inset-bottom,0px)) 8px;margin-inline:auto;max-height:calc(100dvh - 16px)}.ecac-calculator .calculator-keys button{min-height:44px}.ecac-calculator .calculator-screen{padding:8px 10px}}
.compact-actions{position:relative;max-width:100%;color:var(--action-ink)}
.compact-actions>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white);font-size:.875rem;font-weight:600;cursor:pointer;list-style:none}
.compact-actions>summary::-webkit-details-marker,.section-navigation>summary::-webkit-details-marker{display:none}
.compact-actions>summary::after,.section-navigation>summary::after{content:'⌄';font-size:1.1rem;margin-left:auto}
.compact-actions[open]>summary::after,.section-navigation[open]>summary::after{content:'⌃'}
.compact-actions>summary:focus-visible,.section-navigation>summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.compact-actions-list{position:absolute;z-index:30;top:calc(100% + 6px);right:0;width:min(280px,calc(100vw - 48px));display:grid;gap:4px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:0 8px 24px #103d3520}
.compact-actions-list>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:44px;margin:0;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:.875rem;text-align:left;white-space:normal}
.compact-actions-list>button:hover,.compact-actions-list>button:focus-visible{background:var(--action-soft)}
.counter-secondary>.compact-actions,.page-heading>.actions>.compact-actions{margin-left:auto}
.stock-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:-8px 0 20px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.stock-tool-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 270px;min-width:0;gap:6px;padding:4px;border-radius:9px;background:var(--action-soft)}
.stock-toolbar .btn{width:100%;min-width:0;min-height:44px;padding:9px 10px;font-size:.8125rem;line-height:1.35;white-space:normal;text-align:center;box-shadow:none}
.stock-toolbar .btn .icon{width:16px;height:16px}
.stock-toolbar .btn:not(.primary){background:var(--white);border-color:transparent;color:inherit}
.stock-toolbar .btn:hover:not(:disabled){border-color:var(--line);box-shadow:none}
.stock-tool-group>.btn:only-child{grid-column:1/-1}
/* Long imported codes must not move the row actions outside the stock panel. */
@media(min-width:701px){
 #product-results .table{table-layout:fixed;white-space:normal}
 #product-results .table th,#product-results .table td{padding:12px 8px;overflow-wrap:anywhere}
 #product-results .table th:first-child{width:31%}
 #product-results .table th:nth-child(2){width:12%}
 #product-results .table th:nth-child(3){width:10%}
 #product-results .table th:last-child{width:112px}
 #product-results .product-cell{align-items:flex-start;gap:8px}
 #product-results .product-cell>div{min-width:0}
 #product-results .product-icon{flex:none}
 #product-results .product-cell strong,#product-results .product-cell small{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
 #product-results .table td:last-child .text-button{display:flex;width:100%;min-height:44px;margin:0;padding:8px 4px;align-items:center;justify-content:flex-start;white-space:normal;gap:5px}
}
@media(max-width:600px){.stock-toolbar{padding:8px;gap:8px;margin-top:-10px}.stock-tool-group{flex-basis:100%;padding:3px}.stock-toolbar .btn{padding:9px 8px;gap:6px}}
@media(max-width:420px){.stock-toolbar+.panel .filters{display:grid;grid-template-columns:minmax(0,1fr)}.stock-toolbar+.panel .filters .search,.stock-toolbar+.panel .filters .filter-select{width:100%;min-width:0;min-height:44px;grid-column:1/-1}.stock-toolbar+.panel .filters .filter-select,.stock-toolbar+.panel .filters .search input{font-size:16px;min-height:44px}.stock-toolbar+.panel .filters .search input{min-width:0}}
.section-navigation{margin:0 0 20px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.section-navigation>summary{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 16px;list-style:none;cursor:pointer;line-height:1.4}
.section-navigation>summary>span{font-size:.8125rem;color:var(--muted)}
.section-navigation>summary>strong{font-size:.9375rem;overflow-wrap:anywhere}
.section-navigation>summary>small{margin-left:auto;white-space:nowrap;color:var(--action-ink);font-size:.75rem}
.section-navigation>summary::after{margin-left:0;color:var(--action-ink)}
.section-navigation>.section-tabs{padding:12px 16px;margin:0;border-top:1px solid var(--line)}
@media(max-width:420px){.section-navigation>summary{gap:8px;padding-inline:12px}.section-navigation>summary>small{display:none}.section-navigation>summary::after{margin-left:auto}.counter-secondary{gap:6px}.counter-secondary>.text-button{font-size:.8125rem}.compact-actions>summary{font-size:.8125rem;padding-inline:10px}}
.action-confirmation{width:min(440px,calc(100vw - 28px));max-height:85dvh}
.action-confirmation .modal-head{padding:16px 20px}.action-confirmation .modal-head h2{font-size:1.125rem;margin:0}
.action-confirmation .modal-body{padding:18px 20px}.action-confirmation p{line-height:1.5;margin:0 0 12px}
.action-confirmation .confirmation-question,.action-confirmation .confirmation-product{font-size:1rem}.action-confirmation .confirmation-code{overflow-wrap:anywhere;font-size:.8125rem}
.action-confirmation .sub{font-size:.875rem}.action-confirmation .modal-foot{position:static;padding-top:14px;margin-top:16px;flex-wrap:wrap}.action-confirmation .modal-foot .btn{min-height:44px;flex:1;white-space:normal}
.action-confirmation .debt-products{margin:0 0 16px}.action-confirmation .debt-products ul{display:grid;gap:4px}.action-confirmation .debt-products li{display:block;font-size:.9375rem;line-height:1.45}.action-confirmation .debt-products li+li:before{content:none}
.counter-topbar.topbar{display:grid;grid-template-columns:auto minmax(110px,1fr) auto auto;grid-template-areas:"home person connection tools";align-items:center;gap:14px;min-height:80px;padding:14px 32px}
.counter-home{grid-area:home;display:flex;align-items:center;gap:7px;background:transparent;color:var(--action-ink);font-size:.875rem;font-weight:650;min-height:44px;padding:7px;border-radius:8px}
.counter-topbar .operator-header{grid-area:person;min-width:0;max-width:none}.counter-topbar .operator-header strong{font-size:1rem}.counter-topbar .operator-header span{font-size:.8125rem}
.counter-tools{grid-area:tools;display:flex;align-items:center;gap:8px}.counter-menu[aria-current=page]{border-color:var(--action);background:var(--action-soft);color:var(--action-ink)}
.counter-lock{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--action-ink)}
.counter-connection{grid-area:connection;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.counter-connection .badge{white-space:normal;line-height:1.4;font-size:.8125rem}.counter-connection .text-button{font-size:.8125rem;white-space:nowrap}
.counter-home-page{max-width:1080px;margin-inline:auto}.counter-home-page>.page-heading{margin-bottom:20px}.counter-home-page h1{font-size:1.7rem;margin-bottom:5px}.counter-home-page .eyebrow{font-size:.75rem}.counter-home-page>.page-heading .sub{font-size:.9375rem}
.counter-launcher.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.counter-launcher .quick-action{min-width:0;min-height:70px;padding:10px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;border-radius:12px}.counter-launcher .quick-action>.icon{width:21px;height:21px;margin:0;flex:none}.counter-launcher .quick-action span{font-size:.875rem;line-height:1.2}.counter-launcher .quick-action small{display:none}
.counter-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;margin-bottom:24px}.counter-secondary .text-button{font-size:.875rem}.counter-secondary .btn{font-size:.875rem}
.counter-totals.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.counter-totals .metric{padding:19px 20px}.counter-totals .metric-value{font-size:1.8rem;margin:10px 0 6px}.counter-totals .metric-top{font-size:.875rem}.counter-totals .metric-foot{font-size:.8125rem;line-height:1.4}
.counter-attention{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.counter-attention>button{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;background:var(--white);color:inherit;border:1px solid var(--line);border-radius:12px}.counter-attention .icon{color:var(--action-ink)}.counter-attention strong{display:block;font-size:.9375rem;line-height:1.5}.counter-attention small{display:block;font-size:.8125rem;color:var(--muted);line-height:1.5;margin-top:3px}.counter-attention .needs-attention{border-inline-start:4px solid var(--danger)}
.daily-details{border:1px solid var(--line);border-radius:12px;background:var(--white);margin:16px 0;overflow:hidden}.daily-details>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;font-size:1rem;font-weight:650;line-height:1.5;padding:18px 20px;min-height:56px}.daily-details>summary::-webkit-details-marker{display:none}.daily-details>summary::after{content:'+';font-size:1.4rem;line-height:1;color:var(--action-ink);flex:none}.daily-details[open]>summary::after{content:'−'}.daily-details>summary small{display:block;font-size:.875rem;font-weight:400;color:var(--muted);margin-top:3px}.daily-details>summary:focus-visible{outline:3px solid var(--focus);outline-offset:-4px}.daily-details[open]>summary{border-bottom:1px solid var(--line)}.daily-details-body{padding:20px;min-width:0}.counter-refunds{margin-bottom:16px}.counter-help p{font-size:1rem;line-height:1.65;margin:0 0 16px}.counter-help p:last-child{margin-bottom:0}
.counter-menu-content{max-width:1100px}.counter-menu-group{margin:0 0 30px}.counter-menu-group>h2{font-size:1.0625rem;margin:0 0 12px}.counter-menu-content .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.counter-menu-content .menu-card{min-height:86px;padding:16px;gap:12px;align-items:center}.counter-menu-content .menu-card strong{font-size:.9375rem;line-height:1.45}.counter-menu-content .menu-card small{font-size:.875rem;line-height:1.5;margin-top:4px}.counter-menu-content .menu-card .icon{width:21px;height:21px;margin:0}.counter-menu-content .menu-card>span{min-width:0}.counter-menu-content .menu-card:hover{background:var(--action-soft)}.counter-admin-menu{margin:26px 0 30px}.counter-group-title{display:flex;align-items:center;gap:9px;margin-bottom:12px}.counter-group-title .icon{color:var(--action-ink)}.counter-admin-menu .daily-details{margin:10px 0}
.counter-profile>p{margin:0 0 20px;line-height:1.6}.counter-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.counter-preferences .theme-control{color:inherit;font-size:.9375rem;display:grid;gap:7px;margin:0}.counter-preferences .theme-control select{max-width:none;width:100%;background:var(--white);color:inherit;border:1px solid var(--line);font-size:1rem;padding:10px;min-height:44px}
.counter-navigation{display:none}
@media(max-width:1100px){.counter-topbar.topbar{padding-inline:24px;grid-template-columns:auto minmax(80px,1fr) auto;grid-template-areas:"home person tools" "connection connection connection";gap:4px 12px}.counter-connection{justify-content:flex-start}.counter-connection .text-button{margin-left:auto;min-height:34px}.counter-topbar .badge{padding:5px 8px}}
@media(max-width:850px){
 .layout>.sidebar{display:none}.counter-topbar.topbar{padding:10px 16px 8px;position:sticky;top:0;gap:4px 10px;min-height:0}.counter-topbar .operator-header{max-width:none}.counter-home{padding:6px 0;gap:5px}.counter-home span{font-size:.8125rem}.counter-tools .btn{padding:9px 12px;font-size:.875rem}.counter-tools{gap:6px}.counter-lock{min-width:38px;padding:7px}.counter-topbar .operator-header strong{font-size:.9375rem}.counter-topbar .operator-header span{font-size:.75rem}
 .main>.content{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))}.content>.footer{padding-bottom:0}
 .counter-navigation{position:fixed;inset:auto 0 0;z-index:25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:3px 6px calc(3px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--white);box-shadow:0 -4px 20px #103d3508}
 .counter-navigation>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:48px;padding:3px 2px;background:transparent;color:var(--action-ink);border-radius:9px;font-size:.75rem;font-weight:650;line-height:1.15}.counter-navigation .icon{width:18px;height:18px}.counter-navigation>button:first-child{background:var(--action-soft)}.counter-navigation [aria-current=page]{box-shadow:inset 0 0 0 1px var(--focus);background:var(--action-soft)}
 .notebook-launch{display:none}body:has(dialog[open]) .counter-navigation,body:has(#assistant-drawer:not([hidden])) .counter-navigation{display:none}
 #toast{bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 .counter-home-page>.page-heading{margin-bottom:16px}.counter-home-page h1{font-size:1.5rem}.counter-launcher.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}.counter-launcher .quick-action{min-height:68px;padding:8px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.counter-launcher .quick-action>.icon{width:21px;height:21px;margin:0}.counter-launcher .quick-action span{font-size:.8125rem;min-width:0;overflow-wrap:anywhere}.counter-launcher .quick-action small{display:none}
 .counter-secondary{gap:4px 15px;margin-bottom:18px}.counter-totals .metric{padding:16px 13px}.counter-totals .metric-value{font-size:1.5rem;letter-spacing:-.04em}.counter-totals .metric-icon{display:none}.counter-attention{grid-template-columns:1fr;gap:9px}.counter-attention>button{padding:13px 14px}.daily-details>summary{padding:15px 16px}.daily-details-body{padding:14px}.counter-home-page .daily-details-body>.dashboard-grid{grid-template-columns:1fr}.counter-menu-content .menu-grid{grid-template-columns:1fr}.counter-menu-content .menu-card{min-height:78px;padding:14px}.counter-menu-group{margin-bottom:24px}
}
@media(max-width:360px){.counter-topbar.topbar{padding-inline:12px}.counter-home span{display:none}.counter-launcher .quick-action{min-height:68px;padding:8px 2px}.counter-launcher .quick-action span{font-size:.75rem}.counter-preferences{grid-template-columns:1fr}}
@media(max-width:850px) and (pointer:coarse){:root.counter-keyboard .counter-navigation{display:none}}
@media(forced-colors:active){.counter-navigation{border-top:1px solid CanvasText}.counter-navigation [aria-current=page]{outline:2px solid Highlight;outline-offset:-3px}.counter-attention .needs-attention{border-inline-start-color:CanvasText}}
@media print{.counter-navigation{display:none!important}}

.counter-menu-help{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.counter-menu-help .btn{font-size:.875rem;white-space:normal}

[data-sale-source]{cursor:pointer}

/* Small visuals, comfortable touch targets, shared by every page. */
.counter-icon{position:relative;display:grid;place-items:center;width:40px;min-width:40px;height:44px;padding:0;border:0;background:transparent;color:var(--muted);border-radius:12px;cursor:pointer}.counter-icon .icon{width:18px;height:18px}.counter-icon:hover,.counter-icon:focus-visible{background:var(--action-soft);color:var(--action-ink)}.notification-dot{position:absolute;top:10px;right:9px;width:5px;height:5px;border-radius:50%;background:var(--action);box-shadow:0 0 0 2px var(--white)}.notification-dot[hidden]{display:none}
.global-search-controls{display:flex;align-items:end;gap:12px}.global-search-controls .field{flex:1;margin:0}.global-search-count{font-size:.8125rem;color:var(--muted);margin:16px 0 8px}.global-search-list{display:grid;gap:8px}.global-search-result{text-align:left;background:var(--white);color:inherit;border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:grid;gap:5px;min-width:0;cursor:pointer}.global-search-result:hover{border-color:var(--action)}.global-search-result strong{font-size:.9375rem;overflow-wrap:anywhere}.global-search-kind{font-size:.6875rem;color:var(--action-ink)}.global-search-snippet{font-size:.75rem;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.global-search-empty{font-size:.875rem;color:var(--muted);padding:16px 0}.global-search-more{margin-top:24px;font-size:.875rem}.global-search-more-results{margin-top:12px}.global-search-detail{display:grid;gap:12px}.global-search-detail dt{font-size:.75rem;color:var(--muted)}.global-search-detail dd{margin:3px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.notifications-compact{display:grid}.notification-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.notification-item>div{min-width:0;flex:1}.notification-item strong{font-size:.875rem;display:block;line-height:1.4;overflow-wrap:anywhere}.notification-item small{display:block;font-size:.75rem;color:var(--muted);line-height:1.5;margin-top:3px}.notification-status{font-size:.6875rem;color:var(--action-ink)}.notification-item .text-button{min-height:44px;font-size:.8125rem;flex:none}.notification-settings{margin-top:20px;font-size:.8125rem;color:var(--muted)}.notification-settings .actions{margin-top:12px}
@media(max-width:700px){.counter-tools{gap:0}.counter-tools .counter-menu{width:40px;min-width:40px;height:44px;padding:0;border:0;background:transparent;box-shadow:none;justify-content:center}.counter-menu>span{display:none}.counter-tools .counter-menu .icon{width:18px;height:18px}.counter-tools .counter-lock{width:36px;min-width:36px;padding:7px}.counter-home span{display:none}.counter-topbar.topbar{grid-template-columns:24px minmax(0,1fr) auto;column-gap:6px}.counter-topbar .operator-header strong{overflow-wrap:anywhere}.counter-topbar .operator-header .text-button{font-size:.75rem}.global-search-result{padding:12px 14px}}

.notification-group{border-bottom:1px solid var(--line)}.notification-group>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 0;list-style:none;cursor:pointer;font-size:.875rem;font-weight:600;line-height:1.4}.notification-group>summary::-webkit-details-marker{display:none}.notification-group>summary>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.notification-group>summary::after{content:'+';font-size:1rem;font-weight:400;color:var(--muted);width:12px;text-align:center}.notification-group[open]>summary::after{content:'−'}.notification-group>summary:focus-visible{outline:2px solid var(--focus,var(--action));outline-offset:3px;border-radius:6px}.notification-count{min-width:24px;padding:2px 6px;border-radius:20px;background:var(--action-soft);color:var(--action-ink);font-size:.75rem;text-align:center;font-variant-numeric:tabular-nums}.notification-group .notifications-compact{padding:0 0 4px 10px}.notification-group .notification-item:last-child{border-bottom:0}
.restock-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.restock-sources .btn{display:flex;justify-content:space-between;gap:8px;min-height:46px;white-space:normal;padding:10px 12px;font-size:.875rem}
.restock-sources b{font-size:.8125rem;font-variant-numeric:tabular-nums}
.restock-candidate,.restock-candidate-head{display:grid;grid-template-columns:minmax(0,1fr) 84px 64px;gap:10px;padding:12px 16px;align-items:start}
.restock-candidate-head{padding-top:8px;padding-bottom:8px;color:var(--muted);font-size:.75rem;border-bottom:1px solid var(--line)}
.restock-candidate{border-bottom:1px solid var(--line);font-size:.875rem}
.restock-candidate:last-child{border-bottom:0}.restock-candidate strong,.restock-candidate small{display:block;overflow-wrap:anywhere}.restock-candidate strong{font-size:.875rem;line-height:1.4}.restock-candidate small{font-size:.75rem;line-height:1.4;color:var(--muted);margin-top:2px}.restock-candidate small:empty{display:none}
.restock-candidate>span,.restock-candidate>b,.restock-candidate-head>span:not(:first-child){text-align:center;font-variant-numeric:tabular-nums}.restock-available.is-zero{color:var(--danger);font-weight:600}
.restock-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:10px 0 6px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.restock-total{min-width:0;padding:9px 8px;display:flex;flex-direction:column;gap:5px}.restock-total+.restock-total{border-inline-start:1px solid var(--line)}.restock-total dt{font-size:.6875rem;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}.restock-total dd{margin:0;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.restock-total-quantity{font-size:1rem;line-height:1.35}.restock-total-quantity small{font-size:.625rem;font-weight:400;color:var(--muted)}.restock-total-cost{font-size:.625rem;line-height:1.45}.restock-total-cost b{display:block;font-size:.75rem;font-weight:650}.restock-total-cost small{display:block;font-size:.625rem;color:var(--muted)}.restock-total.is-grand{background:var(--action-soft);color:var(--action-ink)}.restock-total.is-grand dt{color:inherit;font-weight:650}.restock-cost-note{font-size:.625rem;line-height:1.4;color:var(--muted)}
.restock-buy{min-width:0;display:grid;gap:2px}.restock-candidate .restock-item-cost{font-size:.625rem;line-height:1.3;font-weight:400;margin-top:2px;overflow-wrap:anywhere;white-space:normal}
@media(max-width:360px){.restock-total{padding:8px 5px;gap:4px}.restock-total-quantity{font-size:.9375rem}.restock-total-cost b{font-size:.6875rem}}
.restock-empty{padding:16px;margin:0}.restock-saved>summary{cursor:pointer;font-weight:600;font-size:.9375rem;padding:14px 16px}.restock-saved>summary>span{margin-left:8px;color:var(--muted);font-size:.8125rem}
.restock-ai-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.restock-ai-controls .field{margin:0;max-width:150px}.restock-ai-controls>p{flex-basis:100%;margin:0;font-size:.8125rem}
#restock-form .restock-edit-line{padding:12px 0;gap:10px}#restock-form .restock-piece strong{font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}#restock-form .restock-piece small{margin-top:3px;line-height:1.4}#restock-form .field{font-size:.8125rem}#restock-form .form-grid{gap:10px}
#restock-form .restock-add-panel{border:1px solid var(--line);border-radius:12px;padding:0 12px;margin-bottom:12px}#restock-form .restock-add-panel summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer;color:var(--green)}#restock-form .restock-add-panel[open] summary{margin-bottom:8px}#restock-form .restock-add{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:12px;align-items:end}#restock-form .restock-add .field{margin:0}#restock-form .restock-add .btn{min-height:44px;margin:0}#restock-add-status{min-height:1em}@media(max-width:650px){#restock-form .restock-add{grid-template-columns:1fr}}
@media(max-width:650px){.restock-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.restock-candidate,.restock-candidate-head{grid-template-columns:minmax(0,1fr) 72px 55px;gap:7px;padding-left:12px;padding-right:12px}.restock-saved .panel-body{padding:12px}.restock-ai-controls .btn{min-height:44px}}
/* Compact purchase planning only; saved plans and other app panels keep their spacing. */
.restock-planning-panel>.panel-head{padding:8px 10px;gap:8px;align-items:center}.restock-planning-panel>.panel-head h2{font-size:.9375rem;line-height:1.3;margin:0}.restock-planning-panel>.panel-head .btn{min-height:44px;padding:6px 10px;font-size:.75rem;line-height:1.3}
.restock-planning-panel>.restock-caption-summary{padding:6px 10px 8px;line-height:1.35}.restock-planning-panel [data-restock-caption]{font-size:.625rem;line-height:1.35;color:var(--muted)}.restock-planning-panel .restock-type-heading{padding:6px 10px 4px;margin:0;font-size:.8125rem;line-height:1.3}
.restock-planning-panel .restock-totals{margin:6px 0 3px;border-radius:8px}.restock-planning-panel .restock-total{padding:6px 8px;gap:2px}.restock-planning-panel .restock-total dt{font-size:.625rem;line-height:1.25}.restock-planning-panel .restock-total-quantity{font-size:.9375rem;line-height:1.25}.restock-planning-panel .restock-total-cost{line-height:1.25}.restock-planning-panel .restock-total-cost b{font-size:.75rem;line-height:1.3}.restock-planning-panel .restock-cost-note{font-size:.625rem;line-height:1.25}
.restock-planning-panel .restock-candidate,.restock-planning-panel .restock-candidate-head{grid-template-columns:minmax(0,1fr) 56px 74px;gap:4px 8px;padding:8px 10px}.restock-planning-panel .restock-candidate-head{padding-top:4px;padding-bottom:4px;font-size:.625rem;line-height:1.3}.restock-planning-panel .restock-candidate>div:first-child{min-width:0}.restock-planning-panel .restock-candidate strong{font-size:.875rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.restock-planning-panel .restock-candidate .product-type-labels{margin:0 0 2px;gap:3px 5px;line-height:1.25}.restock-planning-panel .restock-candidate .product-type-tag{padding:1px 5px;line-height:1.25}
.restock-planning-panel .restock-candidate .restock-variant{font-size:.6875rem;line-height:1.3;margin:2px 0 0}.restock-planning-panel .restock-candidate-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:2px 10px;font-size:.6875rem;line-height:1.35;color:var(--muted);min-width:0}.restock-planning-panel .restock-candidate-meta>span{overflow-wrap:anywhere}.restock-planning-panel .restock-candidate-meta .restock-early{color:var(--action-ink);font-weight:500}.restock-planning-panel .restock-buy{justify-items:end;gap:1px}.restock-planning-panel .restock-buy>b,.restock-planning-panel .restock-available{white-space:nowrap;line-height:1.3}.restock-planning-panel .restock-candidate .restock-item-cost{font-size:.6875rem;line-height:1.3;margin:0;text-align:right}.restock-planning-panel .restock-candidate-head>span:not(:first-child),.restock-planning-panel .restock-available{text-align:right}
@media(max-width:360px){.restock-planning-panel .restock-total{padding:5px 6px}.restock-planning-panel .restock-candidate,.restock-planning-panel .restock-candidate-head{grid-template-columns:minmax(0,1fr) 52px 70px;gap:4px 7px}.restock-planning-panel .restock-candidate-meta{column-gap:8px}}
.yesterday-link{display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap;margin:-6px 0 14px}.yesterday-link .text-button{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;min-height:36px}.yesterday-link .icon{width:15px;height:15px}
.recap-teaser{display:flex;align-items:center;gap:8px;margin:0 0 16px;padding:8px 10px;background:var(--action-soft);border:1px solid var(--line);border-radius:12px;color:var(--action-ink)}.recap-teaser-open{flex:1;min-width:0;text-align:left;background:transparent;color:inherit;padding:5px;display:grid;gap:4px;cursor:pointer}.recap-teaser-open>span,.recap-teaser-open small{font-size:.6875rem}.recap-teaser-open strong{font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere}.recap-teaser-open strong span{font-weight:400}.recap-teaser-close{background:transparent;color:inherit;min-width:40px;min-height:44px;font-size:22px;border-radius:8px;cursor:pointer}.recap-teaser button:focus-visible{outline:2px solid var(--action);outline-offset:2px}
dialog:has(.yesterday-summary){width:min(450px,calc(100vw - 24px))}.yesterday-summary .recap-date{font-size:.75rem;color:var(--muted);margin:0 0 16px}.recap-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recap-totals>div{background:var(--action-soft);border-radius:10px;padding:14px 12px;min-width:0}.recap-totals small{display:block;color:var(--muted);font-size:.6875rem;line-height:1.5}.recap-totals strong{display:block;font-size:1.125rem;margin:5px 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.recap-methods{display:grid;gap:8px;margin:16px 0}.recap-methods>div,.recap-pending{display:flex;justify-content:space-between;gap:12px;font-size:.8125rem}.recap-methods dt{color:var(--muted)}.recap-methods dd{margin:0;font-variant-numeric:tabular-nums}.recap-pending{border-top:1px solid var(--line);padding-top:12px}.yesterday-summary .recap-note{font-size:.6875rem;line-height:1.5;color:var(--muted);margin:7px 0}.yesterday-summary .modal-foot{margin-top:16px}
.resume-sale-note{display:flex;align-items:center;gap:9px;width:100%;margin:0 0 14px;border:1px solid var(--action);border-radius:10px;background:var(--action-soft);color:var(--action-ink);padding:12px 14px;font-size:.8125rem;text-align:left;cursor:pointer}.resume-sale-note span{flex:1}.resume-sale-note .icon{width:17px;height:17px}.sale-draft-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}.sale-draft-tools span,.sale-draft-tools .text-button{font-size:.6875rem;line-height:1.4;color:var(--muted)}.sale-draft-tools .text-button{min-height:36px;flex:none}

.counter-return-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;margin:-8px 0 12px;font-size:.75rem;line-height:1.4;color:var(--muted)}.counter-return-summary .text-button{font-size:inherit;text-align:left;min-height:36px}.counter-return-summary span{padding:4px 0}

/* Escolha explícita da peça em vendas com vários produtos. */
.sale-return-shortcut{margin:0 0 14px}
.return-product-list{list-style:none;padding:0;margin:14px 0}
.return-product-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.return-product-list li>div{min-width:0;flex:1}
.return-product-list b{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.return-product-list small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}
.return-product-list .btn{flex-shrink:0;min-height:44px;padding:10px 12px}
.return-product-list .return-piece-status{color:#a94a1e}

/* Presence remains a compact, owner-only view. */
.presence-tabs{flex-wrap:wrap;margin-bottom:12px}.presence-person{border-top:1px solid var(--line,#d7e2da);padding:14px 0}.presence-person summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.presence-person summary::-webkit-details-marker{display:none}.presence-person summary>div{min-width:0}.presence-person b{overflow-wrap:anywhere}.presence-person small{display:block;font-size:12px;line-height:1.5;margin-top:5px;opacity:.75}.presence-person .badge{font-size:11px;white-space:nowrap}.presence-person .presence-online{background:#d8f0df;color:#175836}.presence-history{margin-top:15px;padding-left:12px;border-left:2px solid #6f987d}.presence-visit{padding:9px 0;font-size:13px}.presence-help{line-height:1.5;margin-top:18px}.presence-tabs .btn{font-size:13px}

/* The desktop sidebar already provides Home and Menu. */
@media(min-width:851px){.counter-topbar .counter-home,.counter-tools .counter-menu{display:none}.counter-topbar.topbar{grid-template-columns:minmax(110px,1fr) auto auto;grid-template-areas:"person connection tools"}}

/* The header can occupy several grid rows; the base topbar's fixed height
   must not squeeze its name, actions or connection indicator. */
.counter-topbar.topbar{height:auto}
.counter-topbar .counter-home{justify-content:center;min-width:44px;min-height:44px;line-height:1.4}
.counter-topbar .operator-header{align-content:center;line-height:1.4}
.counter-tools{min-width:0;flex-wrap:wrap;justify-content:flex-end}
.counter-tools>.counter-approval-access{min-height:44px;line-height:1.4}
.counter-tools>:is(.counter-icon,.calculator-launch,.counter-lock){width:44px;min-width:44px;height:44px;min-height:44px;flex:none}
.counter-tools .notification-dot{top:10px;right:10px}
.notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.notification-item>:is(.btn,.text-button){min-height:44px;max-width:100%;white-space:normal;text-align:center;line-height:1.4}
.notification-settings .checkbox{min-height:44px;line-height:1.5}
[data-counter-approval-list]{display:grid;gap:14px;margin-top:16px}
.counter-approval-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px}
.counter-approval-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.counter-approval-title h3{min-width:0;line-height:1.4;overflow-wrap:anywhere}
.counter-approval-card p{overflow-wrap:anywhere;line-height:1.6}
.counter-approval-card .actions{align-items:stretch;margin-top:14px}
.counter-approval-card .btn{min-height:44px;white-space:normal;line-height:1.4}
.counter-approval-card [data-decision]:not(:empty){margin-top:16px}
.counter-approval-card [data-decision]>.btn{width:100%}
dialog:has([data-counter-approval-list]) .modal-foot{flex-wrap:wrap;align-items:stretch}
dialog:has([data-counter-approval-list]) .modal-foot>.btn{min-height:44px;white-space:normal;line-height:1.4}
@media(max-width:700px){
 .counter-topbar.topbar{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"home person" "tools tools" "connection connection";gap:8px;padding-top:10px;padding-bottom:10px;align-items:center}
 .counter-topbar .counter-home{width:44px;padding:0}
 .counter-topbar .operator-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name change" "role change";gap:2px 10px;align-items:center;min-width:0}
 .counter-topbar .operator-header strong{grid-area:name;min-width:0;line-height:1.4}
 .counter-topbar .operator-header>span{grid-area:role;min-width:0;line-height:1.4}
 .counter-topbar .operator-header>.text-button{grid-area:change;min-height:44px;padding:6px 0 6px 6px;max-width:100px;white-space:normal;text-align:right;justify-content:flex-end;line-height:1.4}
 .counter-tools{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,44px);gap:4px;width:100%;align-items:center;justify-content:stretch}
 .counter-tools:not(:has(.counter-approval-access)){grid-template-columns:repeat(4,44px);justify-content:end}
 .counter-tools>.counter-approval-access{min-width:0;min-height:44px;width:100%;padding:8px 5px;font-size:12px;white-space:normal;overflow-wrap:normal}
 .counter-tools>.counter-menu{width:44px;min-width:44px;height:44px;padding:0}
 .counter-topbar:has(.counter-lock) .operator-header{padding-right:52px}
 .counter-tools>.counter-lock{position:absolute;right:16px;top:10px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}
 .counter-connection{justify-content:flex-start;min-width:0}
 .counter-connection .badge{max-width:100%;line-height:1.4}
 .notification-item{column-gap:10px}
 .notification-item>:is(.btn,.text-button){min-width:44px;padding-inline:6px}
 .counter-approval-card .actions>.btn,dialog:has([data-counter-approval-list]) .modal-foot>.btn{flex:1 1 110px}
}
@media(max-width:360px){
 .counter-topbar.topbar{padding-inline:12px}
 .counter-tools>.counter-lock{right:12px}
 .counter-topbar .operator-header{column-gap:6px}
 .counter-topbar .operator-header>.text-button{max-width:82px;font-size:11px}
 .counter-approval-card{padding:13px}
}

/* Technician requests stay beside the connection status without replacing it. */
.counter-connection{gap:6px;flex-wrap:nowrap}
.counter-connection:has(.tech-request-alert)>#sync-status{flex-shrink:0;max-width:55%}
.tech-alert-slot{display:inline-flex;min-width:0;flex:0 1 260px;max-width:260px}.tech-alert-slot:empty{display:none}
.counter-connection .tech-request-alert{--tech-bg-a:#ffcb45;--tech-ink-a:#4a2900;--tech-edge-a:#d18a00;--tech-bg-b:#ff8e78;--tech-ink-b:#571b10;--tech-edge-b:#d3553b;--tech-bg-c:#69cfff;--tech-ink-c:#073953;--tech-edge-c:#268dc5;display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;min-height:44px;padding:6px 8px;border:1px solid var(--tech-edge-a);border-radius:9px;background:var(--tech-bg-a);color:var(--tech-ink-a);font-family:inherit;font-size:.75rem;font-weight:700;line-height:1.3;white-space:nowrap;cursor:pointer}
.tech-alert-count{flex:none}.tech-alert-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tech-request-alert::before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
.tech-request-alert:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
[data-theme=dark] .counter-connection .tech-request-alert{--tech-bg-a:#744500;--tech-ink-a:#fff3cc;--tech-edge-a:#efa34d;--tech-bg-b:#7d2c1f;--tech-ink-b:#fff1eb;--tech-edge-b:#f19a7c;--tech-bg-c:#0e4b77;--tech-ink-c:#e7f6ff;--tech-edge-c:#7ab9ee}
.tech-request-target{outline:2px solid #df8526;outline-offset:4px;scroll-margin-top:150px}
.tech-inbox-list{display:grid;gap:12px}.tech-inbox-request{padding:12px;border:1px solid var(--line);border-radius:9px;min-width:0}
.tech-inbox-request>header{display:flex;justify-content:space-between;gap:8px;align-items:baseline;flex-wrap:wrap}.tech-inbox-request small{color:var(--muted);font-size:.75rem}.tech-inbox-request ul{padding-left:18px;margin:9px 0;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}.tech-inbox-request p{font-size:.875rem;overflow-wrap:anywhere;white-space:pre-wrap}.tech-inbox-request .actions{margin-top:10px}
@media(prefers-reduced-motion:no-preference){.tech-request-alert{animation:ecac-tech-request-alive 3.6s ease-in-out infinite}@keyframes ecac-tech-request-alive{0%,20%,100%{background-color:var(--tech-bg-a);color:var(--tech-ink-a);border-color:var(--tech-edge-a);box-shadow:0 0 0 0 #de790030}30%,50%{background-color:var(--tech-bg-b);color:var(--tech-ink-b);border-color:var(--tech-edge-b);box-shadow:0 0 0 3px #d35f3625}60%,80%{background-color:var(--tech-bg-c);color:var(--tech-ink-c);border-color:var(--tech-edge-c);box-shadow:0 0 0 1px #5599cc30}}}
@media(prefers-reduced-motion:reduce){.tech-request-alert{animation:none}}

/* Rounded item outlines without shadows; no outer rail around the list. */
.restock-planning-panel .restock-candidates>.restock-candidate,.smart-restock-panel .smart-restock-rows>.smart-restock-row,.smart-restock-preview .smart-restock-rows>.smart-restock-row{margin:3px 0;border:2px solid var(--line);border-radius:8px;box-shadow:none}
.restock-planning-panel.panel{border:0;box-shadow:none}

/* Purchase selection stays in the compact item header and existing totals. */
.restock-candidate-identity{display:flex;align-items:center;gap:6px;min-width:0}.restock-candidate-identity .product-type-labels{min-width:0}.restock-choice{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:24px;min-height:24px;cursor:pointer}.restock-choice input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--green,#103d35)}
.restock-planning-panel .restock-candidates>.restock-candidate.is-selected{border-color:var(--action-ink,var(--green,#103d35))}.restock-selection-tools{display:flex;align-items:center;justify-content:space-between;gap:4px 8px;margin:4px 0;font-size:.6875rem;line-height:1.3}.restock-selection-tools>[data-restock-selected-label]{font-weight:600;color:var(--action-ink,var(--green,#103d35))}.restock-selection-tools>div{display:flex;gap:8px;align-items:center}.restock-selection-tools .text-button{font-size:inherit;min-height:30px;padding:3px 0}
.restock-pdf-options{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) auto;gap:8px;align-items:end}.restock-pdf-options label{display:grid;gap:4px;min-width:0;font-size:.75rem}.restock-pdf-options select{width:100%;max-width:100%;min-height:38px;font-size:.75rem;padding:7px 9px}.restock-pdf-options .btn{min-height:38px;font-size:.75rem;padding:8px 10px}
@media(max-width:540px){.restock-pdf-options{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr)}.restock-pdf-options>.btn{grid-column:1/-1}}

/* Exchange rate belongs only to the internal PDF export. */
.restock-pdf-options .restock-pdf-rate-field[hidden]{display:none}.restock-pdf-rate-field input{width:100%;max-width:100%;min-height:38px;font-size:.75rem;padding:7px 9px}.restock-pdf-options.has-rate{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(90px,.8fr) auto}
@media(max-width:540px){.restock-pdf-options.has-rate{grid-template-columns:repeat(2,minmax(0,1fr))}.restock-pdf-options.has-rate>.btn{grid-column:auto}}

/* Compact cards share the same touch target across their identity and details. */
.restock-planning-panel>.panel-head{padding:4px 8px;gap:6px}.restock-planning-panel>.panel-head h2{font-size:.875rem}.restock-planning-panel>.panel-head .btn{padding:4px 8px;font-size:.6875rem}
.restock-planning-panel>.restock-caption-summary{padding:3px 8px 4px}.restock-planning-panel .restock-totals{margin:3px 0 2px}.restock-planning-panel .restock-total{padding:4px 6px;gap:1px}.restock-planning-panel .restock-total-quantity{font-size:.8125rem}.restock-planning-panel .restock-total-cost b{font-size:.6875rem}.restock-planning-panel .restock-selection-tools{margin:1px 0;font-size:.625rem}.restock-planning-panel .restock-type-heading{padding:4px 8px 2px;font-size:.75rem}
.restock-planning-panel .restock-candidate,.restock-planning-panel .restock-candidate-head{grid-template-columns:minmax(0,1fr) 40px 80px;gap:1px 4px;padding:4px 6px}.restock-planning-panel .restock-candidate:has(>.restock-choice-slot),.restock-planning-panel .restock-candidate-head.has-selection{grid-template-columns:44px minmax(0,1fr) 40px 80px}.restock-planning-panel .restock-candidate-head{padding-block:3px;font-size:.5625rem}.restock-planning-panel .restock-candidate-head.has-selection>span:first-child{grid-column:1/3}.restock-candidate-product{display:block;min-width:0}.restock-candidate-product[for]{cursor:pointer}
.restock-planning-panel .restock-candidate strong{font-size:.78125rem;line-height:1.22}.restock-planning-panel .restock-candidate .product-type-labels{margin:0 0 1px;gap:2px 4px;line-height:1.15}.restock-planning-panel .restock-candidate .product-type-tag,.restock-planning-panel .restock-candidate .product-type-brand{font-size:9px;line-height:1.15}.restock-planning-panel .restock-candidate .product-type-tag{padding:1px 4px}.restock-planning-panel .restock-candidate .restock-variant{font-size:.625rem;line-height:1.2;margin:1px 0 0}.restock-planning-panel .restock-candidate-meta{font-size:.625rem;line-height:1.25;gap:1px 7px}.restock-planning-panel .restock-candidate:has(>.restock-choice-slot)>.restock-candidate-meta{grid-column:2/-1}.restock-planning-panel .restock-candidate .restock-available,.restock-planning-panel .restock-buy>b{font-size:.8125rem;line-height:1.22}.restock-planning-panel .restock-candidate .restock-item-cost{font-size:.625rem;line-height:1.2;white-space:normal}.restock-planning-panel .restock-buy{gap:2px}
.restock-planning-panel .restock-choice-slot{display:flex;grid-row:1/3;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;align-self:stretch;padding:0;margin:0;cursor:pointer;touch-action:manipulation;pointer-events:auto}.restock-planning-panel .restock-choice-slot input{appearance:auto;-webkit-appearance:checkbox;position:static;display:block;width:20px;height:20px;min-width:20px;min-height:20px;flex-shrink:0;padding:0;margin:0;opacity:1;pointer-events:auto;cursor:pointer;accent-color:var(--action-ink,var(--green,#103d35))}.restock-choice-slot:focus-within{outline:2px solid var(--action-ink,var(--green,#103d35));outline-offset:2px;border-radius:4px}
@media(max-width:360px){.restock-planning-panel .restock-candidate,.restock-planning-panel .restock-candidate-head{grid-template-columns:minmax(0,1fr) 32px 72px}.restock-planning-panel .restock-candidate:has(>.restock-choice-slot),.restock-planning-panel .restock-candidate-head.has-selection{grid-template-columns:44px minmax(0,1fr) 32px 72px}.restock-planning-panel .restock-candidate-head{font-size:.5rem}.restock-planning-panel .restock-candidate .restock-item-cost{font-size:.5625rem}}

/* Xitique stays a prominent owner shortcut without showing private balances. */
.home-xitique-shortcut{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0 0 12px;padding:10px 16px;border:2px solid #c99a32;border-radius:13px;background:linear-gradient(110deg,#f7d98d,#f0c259);color:#49350f;text-align:left;box-shadow:0 2px 7px #70501512;font:inherit;cursor:pointer}.home-xitique-shortcut>.icon{width:24px;height:24px;flex:none}.home-xitique-shortcut>span{display:flex;align-items:baseline;gap:12px;flex:1;min-width:0}.home-xitique-shortcut strong{font-size:1.125rem;font-weight:800;line-height:1.3}.home-xitique-shortcut small{font-size:.8125rem;color:#58441b;line-height:1.4}.home-xitique-shortcut>b{font-size:1.3rem;font-weight:650;line-height:1}.home-xitique-shortcut:focus-visible{outline:3px solid var(--focus,#8abd89);outline-offset:3px}:root[data-theme=dark] .home-xitique-shortcut{background:linear-gradient(110deg,#6f4e1c,#514022);border-color:#cfae62;color:#ffebb5;box-shadow:0 2px 7px #0002}:root[data-theme=dark] .home-xitique-shortcut small{color:#f1d79f}@media(max-width:380px){.home-xitique-shortcut{padding:10px 12px;gap:9px}.home-xitique-shortcut>span{gap:8px}}
.home-sales-trends-shortcut{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--focus);border-radius:12px;background:var(--action-soft);color:var(--action-ink);text-align:left;font:inherit;cursor:pointer}.home-sales-trends-shortcut>.icon{width:21px;height:21px;flex:none}.home-sales-trends-shortcut>span{display:flex;align-items:baseline;gap:10px;flex:1;min-width:0}.home-sales-trends-shortcut strong{font-size:.9375rem;font-weight:750;line-height:1.35}.home-sales-trends-shortcut small{font-size:.75rem;color:var(--muted);line-height:1.35}.home-sales-trends-shortcut>b{font-size:1.05rem;line-height:1}@media(max-width:380px){.home-sales-trends-shortcut{padding-inline:12px;gap:8px}.home-sales-trends-shortcut>span{gap:7px}}
