:root{--font:Inter, "Segoe UI", system-ui, -apple-system, sans-serif;--bg:#f4f5f4;--surface:#fff;--text:#1c2421;--muted:#6a7470;--border:#e3e6e4;--border-strong:#d3d8d5;--topbar:#1b1f1d;--topbar-text:#f3f4f3;--topbar-muted:#a7b0ab;--accent:#2f4a3c;--accent-hover:#3d5c4c;--danger:#9b3d34;--row-hover:#f7f8f7;--shadow:0 1px 2px #1c24210f;--radius:6px;--radius-lg:10px;color:var(--text);background:var(--bg);font-family:var(--font);font-synthesis:none;font-size:13px;line-height:1.4}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg)}h1,h2,h3,strong{color:var(--text);font-weight:600}h1{letter-spacing:-.02em;margin:0;font-size:1.35rem}h2{margin:0 0 .6rem;font-size:.95rem}a{color:var(--accent)}button,input,select,textarea{font:inherit}button{background:var(--topbar);color:#fff;border-radius:var(--radius);cursor:pointer;white-space:nowrap;border:0;padding:.4rem .75rem;font-weight:550}button:hover:not(:disabled){background:#2a312e}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{color:var(--text);border:1px solid var(--border-strong);background:#fff}button.secondary:hover:not(:disabled){background:var(--row-hover)}button.compact{padding:.28rem .55rem;font-size:.85rem}button.danger{background:var(--danger);color:#fff}button.danger:hover:not(:disabled){background:#7f322b}button.linkish,button.ghost{color:var(--accent);border-radius:var(--radius);background:0 0;padding:.2rem .35rem;font-weight:550}button.linkish:hover:not(:disabled),button.ghost:hover:not(:disabled){background:#eef3ef}.brand-kicker{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 .15rem;font-size:.62rem;font-weight:600}.auth-screen,.page-center{place-items:center;min-height:100dvh;padding:2rem;display:grid}.page-loader{min-height:12rem;color:var(--muted);justify-content:center;align-items:center;gap:.65rem;padding:2rem 1rem;font-size:.95rem;font-weight:500;display:flex}.page-loader-spinner{border:2px solid #d5dbd7;border-top-color:var(--topbar);border-radius:50%;width:1.25rem;height:1.25rem;animation:.7s linear infinite btn-spin}.auth-screen{-webkit-overflow-scrolling:touch;padding:max(24px, env(safe-area-inset-top,0px)) max(24px, env(safe-area-inset-right,0px)) max(24px, env(safe-area-inset-bottom,0px)) max(24px, env(safe-area-inset-left,0px));-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;justify-content:center;align-items:stretch;font-size:14px;display:flex;overflow-y:auto}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:1rem 1.1rem}.auth-card,.form-card{gap:.7rem;width:min(440px,100%);display:grid}.auth-card h1,.form-card h1{font-size:1.5rem}.auth-screen .auth-card{border-radius:12px;gap:.8em;width:min(440px,100%);margin:auto;padding:1.35em 1.3em 1.2em;line-height:1.4;box-shadow:0 8px 24px #1c24210d}.auth-screen .brand-kicker{letter-spacing:.14em;font-size:.72em}.auth-screen .auth-card h1{font-size:1.55em}.auth-screen .auth-card .muted{margin:0;font-size:1em}.auth-screen .auth-card .error,.auth-screen .auth-card .success{margin:0;padding:.55em .7em;font-size:.95em}.auth-screen .auth-card label:not(.check){gap:.32em;font-weight:500}.auth-screen .auth-card input[type=email],.auth-screen .auth-card input[type=password],.auth-screen .auth-card input[type=text]{border-radius:7px;min-height:40px;padding:.55em .7em;font-size:14px}.auth-screen .auth-card button[type=submit]{touch-action:manipulation;border-radius:7px;width:100%;min-height:40px;font-size:14px}.auth-screen .auth-extras{flex-wrap:wrap;gap:.35em 1em;min-height:0}.auth-screen .check{gap:.5em;min-height:0;font-size:14px;font-weight:400}.auth-screen .check input{width:16px;height:16px;accent-color:var(--accent);flex:0 0 16px}.auth-screen .auth-extras a,.auth-screen .muted a{touch-action:manipulation;align-items:center;min-height:0;padding:0;font-size:14px;display:inline-flex}@media (pointer:coarse),(width<=820px){.auth-screen{font-size:16px}.auth-screen .auth-card{border-radius:14px;gap:1em;width:min(480px,100%);padding:1.75em 1.5em 1.5em;box-shadow:0 10px 30px #1c24210f}.auth-screen .brand-kicker{font-size:.75em}.auth-screen .auth-card h1{font-size:1.75em}.auth-screen .auth-card .error,.auth-screen .auth-card .success{padding:.7em .85em}.auth-screen .auth-card label:not(.check){gap:.4em;font-weight:550}.auth-screen .auth-card input[type=email],.auth-screen .auth-card input[type=password],.auth-screen .auth-card input[type=text]{border-radius:8px;min-height:48px;padding:.75em .9em;font-size:16px}.auth-screen .auth-card button[type=submit]{border-radius:8px;min-height:48px;font-size:16px}.auth-screen .auth-extras{min-height:44px}.auth-screen .check{gap:.65em;min-height:44px;font-size:16px}.auth-screen .check input{flex:0 0 22px;width:22px;height:22px}.auth-screen .auth-extras a,.auth-screen .muted a{min-height:44px;padding:.15em 0;font-size:16px}}label,fieldset{gap:.28rem;display:grid}input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid var(--border-strong);border-radius:var(--radius);width:100%;color:var(--text);background:#fff;padding:.42rem .55rem}input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{outline:2px solid color-mix(in srgb, var(--accent) 25%, transparent);border-color:var(--accent)}input:not([type=checkbox]):not([type=radio]):read-only{background:var(--bg);color:var(--muted)}input[type=checkbox],input[type=radio]{width:1.05rem;height:1.05rem;accent-color:var(--accent);cursor:pointer;flex-shrink:0;margin:0;padding:0}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed}.row{grid-template-columns:1fr 1fr;gap:.6rem;display:grid}.check{cursor:pointer;align-items:center;gap:.45rem;display:flex}.check input{width:1.05rem;height:1.05rem}.auth-extras{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.auth-extras .check{color:var(--text);font-weight:500}.muted{color:var(--muted)}.error{color:var(--danger);border-radius:var(--radius);background:#f8e4e1;margin-bottom:.75rem;padding:.5rem .7rem}.success{color:#2f4a3c;border-radius:var(--radius);background:#e7f3ea;margin-bottom:.75rem;padding:.5rem .7rem}.toast-stack{z-index:50;pointer-events:none;flex-direction:column;gap:.65rem;width:min(26rem,100vw - 2rem);display:flex;position:fixed;top:4.35rem;right:1.25rem}.toast{pointer-events:auto;border-radius:var(--radius-lg);border:1px solid #0000;align-items:flex-start;gap:.7rem;padding:.95rem 1.05rem;font-size:1.02rem;display:flex;box-shadow:0 10px 28px #1c242129}.toast p{flex:1;margin:0;line-height:1.35}.toast-success{color:#2f4a3c;background:#e7f3ea;border-color:#c5e0cc}.toast-error{color:var(--danger);background:#f8e4e1;border-color:#efc8c3}button.toast-close{color:inherit;background:0 0;border:0;min-width:0;padding:0 .1rem;font-size:1.35rem;font-weight:500;line-height:1}button.toast-close:hover:not(:disabled){opacity:.65;background:0 0}.app-shell{grid-template-rows:auto 1fr;min-height:100dvh;display:grid}.topbar{background:var(--topbar);min-height:54px;color:var(--topbar-text);z-index:10;align-items:center;gap:1.25rem;padding:0 1rem;display:flex;position:sticky;top:0}.topbar-left{align-items:center;gap:.85rem;min-width:0;display:flex}.brand{line-height:1.15;display:grid}.brand .brand-kicker{color:var(--topbar-muted);margin:0;font-size:.62rem}.brand strong{color:#fff;font-size:.98rem}.top-nav{align-items:stretch;gap:.15rem;min-width:0;height:100%;display:flex}.top-nav a{color:var(--topbar-muted);border-bottom:2px solid #0000;align-items:center;padding:0 .8rem;font-size:.95rem;font-weight:500;text-decoration:none;display:flex}.top-nav a:hover,.top-nav a.active{color:#fff}.top-nav a.active{border-bottom-color:#fff}.topbar-right{align-items:center;gap:.75rem;margin-left:auto;display:flex}.nav-location{border-left:1px solid #3a423e;align-items:center;gap:.45rem;min-width:0;margin-left:.35rem;padding-left:.9rem;display:flex}.nav-location-label{letter-spacing:.08em;text-transform:uppercase;color:var(--topbar-muted);white-space:nowrap;font-size:.62rem}.nav-location-name{color:#fff;white-space:nowrap;font-size:.92rem;font-weight:650}.nav-location select{color:#fff;background:#2a312e;border:1px solid #3f4844;width:auto;min-width:9.5rem;max-width:14rem;min-height:34px;margin:0;padding:.25rem .55rem}.nav-location select:focus{outline-offset:1px;outline:2px solid #6f8a7c}.topbar-user{text-align:right;color:inherit;border-radius:var(--radius);padding:.15rem .35rem;line-height:1.2;text-decoration:none}a.topbar-user:hover{background:#2a312e}.topbar-user span{font-size:.86rem;display:block}.topbar-user small{color:var(--topbar-muted);font-size:.74rem;display:block}.profile-fields{gap:.75rem;margin:0;display:grid}.profile-fields dt{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.15rem;font-size:.72rem}.profile-fields dd{margin:0;font-size:.95rem}.form-card+.form-card{margin-top:.85rem}.topbar .linkish{color:var(--topbar-muted);padding:.25rem .4rem;font-size:.9rem}.topbar .linkish:hover:not(:disabled){color:#fff;background:#2a312e}.content{min-width:0;min-height:0;padding:1rem 1.25rem 1.5rem}.content:has(.inventory-page){flex-direction:column;min-height:0;display:flex;overflow:hidden}.app-shell:has(.inventory-page){height:100dvh;overflow:hidden}.page-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.85rem;display:flex}.page-header>div{min-width:0}.page-header h1,.page-header h2{overflow-wrap:break-word}.page-header p{margin:.2rem 0 0}.page-title-row{flex-wrap:wrap;align-items:baseline;gap:.75rem;display:flex}.page-header .page-location{flex-wrap:wrap;align-items:baseline;gap:.5rem;margin:0;display:flex}.page-location-name{letter-spacing:-.02em;color:var(--text);font-size:1.15rem;font-weight:700}.page-location-select{width:auto;min-width:220px}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:auto}table{border-collapse:collapse;width:100%;font-size:.95em}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:.48rem .7rem}th{color:var(--muted);z-index:1;background:#fafafa;font-size:.72rem;font-weight:600;position:sticky;top:0}tbody tr:hover{background:var(--row-hover)}tbody tr.clickable{cursor:pointer}tbody tr.selected{background:#eef3ef}a.button-link{background:var(--topbar);color:#fff;border-radius:var(--radius);white-space:nowrap;padding:.4rem .75rem;font-weight:550;text-decoration:none;display:inline-block}a.button-link:hover{background:#2a312e}tbody tr:last-child td{border-bottom:0}td input{min-width:0}td input[type=number]{width:5.5rem}th:last-child,td.actions{white-space:nowrap;width:1%}.cell-primary{font-weight:550}.cell-sub{color:var(--muted);margin-top:.08rem;font-size:.78rem}.actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:.3rem;display:flex}.location-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.75rem;display:grid}.site-list{margin:0;padding:0;list-style:none}.site-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;padding:.45rem 0;display:flex}.site-list li.dragging{background:var(--row-hover);border-radius:var(--radius);opacity:.7;-webkit-user-select:none;user-select:none}.site-list-item{align-items:center;gap:.4rem;min-width:0;display:flex}.site-product-count{font-size:inherit;font-weight:inherit;padding:0}.site-product-list{margin:.75rem 0 0;padding:0;list-style:none}.site-product-list li{border-bottom:1px solid var(--border);flex-direction:column;gap:.1rem;padding:.55rem 0;display:flex}.site-product-list li:last-child{border-bottom:0}.drag-handle{width:1.7rem;height:1.7rem;color:var(--muted);cursor:grab;touch-action:none;background:0 0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.drag-handle:hover:not(:disabled){color:var(--text);background:#eef3ef}.drag-handle:active,.site-list li.dragging .drag-handle,.products-table tr.product-row.dragging .drag-handle{cursor:grabbing}.drag-handle svg{display:block}.site-list li:has(.order-list-item){border:0;padding:0}.inline-form{flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.7rem;display:flex}.inline-form input{width:auto;min-width:180px}.site-group{margin-bottom:.6rem}.site-group.current{background:var(--bg);border-radius:var(--radius);padding:.4rem .55rem}fieldset{border:1px solid var(--border);border-radius:var(--radius);padding:.65rem .75rem}.toolbar{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.toolbar-filters{flex-wrap:wrap;gap:.45rem;display:flex}.toolbar-filters select,.toolbar-filters input[type=date]{background:#fff;width:auto;min-width:140px}.toolbar-search{width:min(280px,100%);margin-left:auto}.badge{color:var(--accent);vertical-align:middle;background:#e7eee9;border-radius:999px;margin-left:.35rem;padding:.05rem .4rem;font-size:.68rem;font-weight:600;display:inline-block}.blvd-badge{background:var(--accent);color:#f4efe6;margin-left:0}.blvd-chip{color:#0b6b62;background:#e8f4f2;border-radius:6px;flex-direction:column;align-items:flex-start;gap:.05rem;max-width:18rem;padding:.18rem .5rem;display:inline-flex}.blvd-chip.compact{flex-direction:row;align-items:center;max-width:14rem;padding:.1rem .4rem}.blvd-chip .cell-primary{text-overflow:ellipsis;white-space:nowrap;color:#0b6b62;max-width:100%;overflow:hidden}.blvd-chip .cell-sub{color:#2a8a80}.products-table-wrap{font-size:.9em}.products-table th,.products-table td{padding:.28rem .55rem}.products-table .product-row td{white-space:nowrap}.products-table .product-name-cell{white-space:nowrap;text-align:left;justify-content:flex-start;align-items:center;gap:.35rem;width:auto;max-width:36rem;display:flex}.products-table .name-col{text-align:left;width:auto;min-width:14rem;max-width:36rem}.products-table .product-name-cell .muted{text-overflow:ellipsis;font-size:.82em;overflow:hidden}.products-table .product-name-cell .linkish{text-overflow:ellipsis;text-align:left;flex:0 auto;min-width:0;overflow:hidden}.products-table .product-name-cell .product-url-link{color:var(--muted);flex:none}.products-table .product-name-cell .product-url-link:hover{color:var(--accent);background:#eef3ef}.products-table .product-name-cell .badge{flex-shrink:0;padding:.05rem .35rem;font-size:.68rem}.products-table .nowrap{white-space:nowrap}.products-table .num-col{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:1%}.products-table .check-col{text-align:left;white-space:nowrap;width:1%}.product-available-toggle{cursor:pointer;justify-content:flex-start;align-items:center;min-width:44px;min-height:40px;margin:0;display:inline-flex}.product-available-toggle input{cursor:pointer;width:1.1rem;height:1.1rem}.product-group-row td{border-bottom:1px solid var(--border);background:#f4f6f5;padding:0}.product-group-row:hover td{background:#f4f6f5}.product-group-toggle{width:100%;color:var(--text);font:inherit;font-weight:inherit;text-align:left;cursor:pointer;white-space:normal;background:0 0;border:0;border-radius:0;align-items:center;gap:.45rem;padding:.38rem .55rem;display:flex}.product-group-toggle strong{font-size:1.05rem;font-weight:650}.product-group-toggle:hover:not(:disabled){color:var(--text);background:#e9eeeb}.product-group-toggle .chevron{opacity:.7;border-bottom:1.5px solid;border-right:1.5px solid;width:.4rem;height:.4rem;transition:transform .12s;transform:rotate(-45deg)}.product-group-toggle .chevron.open{transform:rotate(45deg)}.product-group-count{color:var(--muted);font-size:.82em;font-weight:500}.icon-btn{width:1.7rem;height:1.7rem;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn:hover:not(:disabled){color:var(--text);background:#eef1ef}.icon-btn.danger:hover:not(:disabled){color:#a33;background:#f8e9e9}.btn-spinner{vertical-align:-.1em;border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:.85rem;height:.85rem;margin-right:.45rem;animation:.7s linear infinite btn-spin;display:inline-block}@keyframes btn-spin{to{transform:rotate(360deg)}}.products-table .actions{flex-wrap:nowrap;gap:.1rem}.form-hint{margin:-.15rem 0 .55rem;font-size:.86rem}.import-select-bar{justify-content:space-between;align-items:center;gap:.75rem;margin:.35rem 0 .55rem;display:flex}.check-col{white-space:nowrap;vertical-align:middle;width:1%}.check-col input[type=checkbox]{display:block}.products-table .drag-col{width:1%;padding-right:0}.products-table tr.product-row.dragging{opacity:.92;background:#eef3ef}.products-table tr.product-row.dragging td{border-bottom-color:#0000}.import-preview{gap:.65rem;margin-top:.75rem;display:grid}.import-summary p{margin:.15rem 0}.import-preview-toolbar{margin-bottom:0}.import-action{font-size:.86em;font-weight:550}.import-action.create{color:#1f6b4a}.import-action.update{color:#0b5f6b}.import-action.error{color:var(--danger);font-weight:500}.blvd-picker{gap:.4rem;display:grid}.blvd-picker .field-hint{margin:0;font-size:.78rem}.blvd-linked{border:1px solid var(--border);border-radius:var(--radius);background:#f6f8f6;justify-content:space-between;align-items:center;gap:.6rem;padding:.45rem .6rem;display:flex}.combobox{position:relative}.combobox-menu{border:1px solid var(--border-strong);border-radius:var(--radius);background:#fff;max-height:240px;margin:0;padding:.2rem;list-style:none;overflow:auto}.combobox-menu li{margin:0}.combobox-empty{color:var(--muted);padding:.55rem .6rem}.combobox-option{text-align:left;width:100%;color:inherit;border-radius:var(--radius);white-space:normal;background:0 0;gap:.05rem;padding:.45rem .55rem;font-weight:400;display:grid}.combobox-option:hover,.combobox-option.is-active{background:var(--row-hover)}button.combobox-option,button.combobox-option:hover:not(:disabled),button.combobox-option.is-active{color:var(--text);background:#fff}button.combobox-option:hover:not(:disabled),button.combobox-option.is-active{color:var(--text);background:#e7eeea}.combobox-option[aria-selected=true]{box-shadow:inset 3px 0 0 var(--accent)}.combobox-option strong{font-size:.85rem}.muted-badge{color:var(--muted);background:#ece7dc}.rejected-badge{color:var(--danger);background:#f8e4e1}.submitted-badge{color:#fff;background:#c4842a;margin-left:0}.warehouse-badge{color:#fff;background:#1f5f8b;margin-left:0}.prepared-badge{color:#fff;background:#5b4b8a;margin-left:0}.confirmed-badge{color:#fff;background:#1f7a3f;margin-left:0}.count-rejection-notes{background:#fdf6f5;border:1px solid #efc8c3}.drawer{width:min(820px,100%);margin-top:.85rem}.drawer-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.tabs{gap:.25rem;display:flex}.page-tabs{margin-bottom:.85rem}.tab{color:var(--text);border:1px solid var(--border-strong);background:#fff}.tab:hover:not(:disabled){color:var(--text);background:#e9eeeb}.tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}.tab.active:hover:not(:disabled){background:var(--accent-hover);color:#fff;border-color:var(--accent-hover)}.par-row,.site-assign-row{grid-template-columns:1fr 120px;align-items:center;gap:.45rem;margin-bottom:.3rem;display:grid}.site-assign-row{grid-template-columns:1fr 90px 90px}.modal-backdrop{z-index:20;background:#1b1f1d66;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal-backdrop.confirm-layer{z-index:40}.modal{width:min(720px,100%);max-height:90vh;overflow:auto}.modal.modal-sm{width:min(480px,100%)}.modal.modal-lg{width:min(760px,100%);margin-top:0}.modal .drawer-header{z-index:2;background:var(--surface);margin-top:-1rem;padding-top:1rem;padding-bottom:.65rem;position:sticky;top:-1rem}.modal-actions{z-index:2;background:var(--surface);border-top:1px solid var(--border);margin:.25rem -1.1rem -1rem;padding:.75rem 1.1rem 1rem;position:sticky;bottom:-1rem}body:has(.modal-backdrop){overflow:hidden}.modal h2{margin:0}.modal .error{margin-bottom:0}.confirm-dialog{gap:.85rem}.confirm-dialog p{color:var(--muted);margin:0;line-height:1.5}.confirm-dialog .confirm-name{color:var(--text)}.table-wrap.compact table{font-size:.92rem}.matrix-wrap{max-height:60vh}.matrix-table th,.matrix-table td{white-space:nowrap}.matrix-cell{text-align:center}.matrix-cell input{width:auto}.matrix-cell-spinner{border:2px solid #d5dbd7;border-top-color:var(--topbar);vertical-align:middle;border-radius:50%;width:.95rem;height:.95rem;animation:.7s linear infinite btn-spin;display:inline-block}.inventory-page{flex-direction:column;flex:1;min-height:0;display:flex}.inventory-page>.page-header,.inventory-page>.error,.inventory-page>.success{flex-shrink:0}.inventory-page>.page-header{align-items:flex-start;margin-bottom:.65rem}.inventory-intro{flex-direction:column;flex:1;align-items:flex-start;gap:.55rem;min-width:0;display:flex}.inventory-intro .inventory-summary{margin:0}.inventory-last-counted{text-align:right;justify-items:end;gap:.35rem;display:grid}.inventory-count-stamp{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem .5rem;display:flex}.inventory-count-stamp .badge{margin-left:0}.inventory-last-counted strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:.95rem;font-weight:650}.inventory-count-stamp .inventory-count-name{color:var(--muted);font-size:.9rem;font-weight:550}.inventory-empty{flex:1;place-items:center;min-height:16rem;padding:2rem 1rem;display:grid}.inventory-empty-card{text-align:center;width:min(34rem,100%);padding:2rem 1.75rem}.inventory-empty-card h2{margin:0 0 .55rem;font-size:1.25rem}.inventory-empty-card p{color:var(--muted);margin:0;font-size:1.02rem;line-height:1.55}.inventory-summary{flex-wrap:wrap;flex-shrink:0;gap:.35rem 1.1rem;margin:0;font-size:.92rem;display:flex}.inventory-summary strong{color:var(--text);font-weight:600}.inventory-page input.inventory-search{flex:0 auto;width:min(24rem,45%);max-width:45%;margin-right:auto}.modal.modal-lg.inventory-order-modal{width:min(860px,100vw - 2rem)}.modal.modal-lg.partial-order-modal{width:min(980px,100vw - 2rem)}.partial-order-list{flex-direction:column;gap:.85rem;display:flex}.partial-order-head,.partial-order-row{grid-template-columns:minmax(0,1.3fr) 11.5rem minmax(12rem,1fr) auto;align-items:start;gap:.45rem .75rem;display:grid}.partial-order-head>span,.partial-order-row>*{min-width:0}.partial-order-head{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:.78rem;font-weight:650}.partial-order-head span:nth-child(2){text-align:left}.partial-order-product{flex-direction:column;gap:.2rem;display:flex}.partial-order-product .combobox-menu{z-index:3;margin-top:.25rem;position:relative;box-shadow:0 8px 24px #1c24211f}.partial-order-modal input.inventory-order-qty,.partial-order-modal input.partial-order-note{width:100%;margin-top:0}.partial-order-modal input.inventory-order-qty{text-align:right;font-variant-numeric:tabular-nums;appearance:textfield}.partial-order-modal input.inventory-order-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.partial-order-modal input.inventory-order-qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.inventory-order-list{flex-direction:column;gap:.85rem;display:flex}.inventory-order-head,.inventory-order-row{grid-template-columns:minmax(0,1fr) 6.5rem 6.5rem 8.5rem;align-items:center;gap:.45rem 1rem;display:grid}.inventory-order-head{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:.78rem;font-weight:650}.inventory-order-head span:not(:first-child),.inventory-order-stat,.inventory-order-row .inventory-order-qty{text-align:right;font-variant-numeric:tabular-nums}.inventory-order-modal input.inventory-order-qty{text-align:right;font-variant-numeric:tabular-nums;appearance:textfield;width:100%}.inventory-order-modal input.inventory-order-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.inventory-order-modal input.inventory-order-qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.inventory-order-note{grid-column:1/-1}.inventory-table th.inventory-desired-col,.inventory-table td.inventory-desired-col{text-align:right;width:1%;padding-left:.28rem;padding-right:.28rem;line-height:1.15}.inventory-desired-field{justify-content:flex-end;align-items:center;display:inline-flex;position:relative}.inventory-desired-field.is-saving input{color:#0000}.inventory-desired-spinner{border:2px solid #d5dbd7;border-top-color:var(--topbar);pointer-events:none;border-radius:50%;width:.95rem;height:.95rem;margin-left:-.48rem;animation:.7s linear infinite btn-spin;position:absolute;left:50%}.inventory-page input.inventory-desired-input,.inventory-desired-readonly{text-align:right;appearance:textfield;width:4.5rem;min-width:4.5rem;max-width:4.5rem;padding:.28rem .15rem}.inventory-page input.inventory-desired-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.inventory-page input.inventory-desired-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.inventory-desired-readonly{box-sizing:border-box;display:inline-block}input.inventory-desired-input.is-dirty{background:#fff8ef;border-color:#b86e12;box-shadow:0 0 0 1px #b86e12}input.inventory-desired-input.is-modified{background:#f3faf5;border-color:#2f7d4a;box-shadow:0 0 0 1px #2f7d4a}.inventory-table .product-name-cell{white-space:normal;min-width:12rem}.inventory-page .matrix-wrap{flex:1;min-height:0;max-height:none;overflow:auto}.inventory-page .inventory-table thead th{z-index:2;box-shadow:0 1px 0 var(--border);background:#fafafa;position:sticky;top:0}.inventory-table .inventory-rooms-total{text-align:center;color:var(--text);border-left:2px solid var(--border-strong);background:#eef2f0;font-weight:700}.inventory-table thead th.inventory-rooms-total{color:var(--accent);letter-spacing:.02em;background:#e4ebe7}.inventory-table tbody tr:hover .inventory-rooms-total{background:#e4ebe7}.inventory-table tfoot td{border-top:2px solid var(--border-strong);z-index:2;background:#eef2f0;font-weight:700;position:sticky;bottom:0}.inventory-table tfoot td.inventory-rooms-total{background:#e4ebe7}.inventory-count-cell{position:relative}.inventory-count-value{justify-content:center;align-items:center;gap:.2rem;display:inline-flex}.inventory-count-edit{opacity:0;pointer-events:none;border:1px solid var(--border);background:#fff;width:1.45rem;height:1.45rem;position:absolute;top:50%;right:.15rem;transform:translateY(-50%);box-shadow:0 1px 2px #1b1f1d14}.inventory-count-cell:hover .inventory-count-edit,.inventory-count-cell:focus-within .inventory-count-edit{opacity:1;pointer-events:auto}.count-qty-with-note{justify-content:flex-end;align-items:center;gap:.28rem;display:inline-flex}.count-adjust-note{color:#8a5a12;cursor:default;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:1.15rem;height:1.15rem;padding:0;display:inline-flex}.count-adjust-note:hover,.count-adjust-note:focus-visible{color:#8a5a12;background:#fff4e5}.count-adjust-tooltip{z-index:80;color:#fff;text-align:left;white-space:normal;pointer-events:none;background:#1b1f1d;border-radius:8px;width:max-content;max-width:22rem;padding:.45rem .6rem;font-size:.82rem;font-weight:500;line-height:1.35;position:fixed;transform:translate(-50%);box-shadow:0 8px 20px #1b1f1d2e}.orders-layout{grid-template-columns:minmax(200px,280px) 1fr;align-items:start;gap:.85rem;display:grid}.order-list-item{text-align:left;width:100%;color:inherit;border-radius:var(--radius);background:0 0;border:0;gap:.1rem;padding:.5rem .55rem;display:grid}.order-list-item:hover,.order-list-item.active{background:var(--row-hover)}.order-list-item.active{outline:1px solid var(--border-strong)}.site-progress-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.7rem;display:grid}.site-progress-list{gap:.55rem;display:grid}.site-card,.site-row{text-align:left;border-radius:var(--radius-lg);background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow);gap:.3rem;padding:.9rem 1rem;display:grid}.site-row{grid-template-columns:minmax(0,1fr) minmax(110px,150px);align-items:center;gap:1rem;width:100%;padding:.95rem 1.1rem}.site-card.complete,.site-row.complete{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}button.site-card:hover:not(:disabled),button.site-row:hover:not(:disabled){color:var(--text);background:#eef3ef}button.site-row:disabled{opacity:.85;cursor:default}div.site-card{cursor:default}.site-row-main{gap:.28rem;min-width:0;display:grid}.site-row-title{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.site-row-title strong{font-size:1.05rem}.site-row-meta{flex-wrap:wrap;gap:.35rem;font-size:.88rem;display:flex}.site-row-preview{font-size:.84rem;line-height:1.35}.site-row-aside{text-align:right;justify-items:end;gap:.35rem;display:grid}.site-row-pct{font-variant-numeric:tabular-nums;font-size:.95rem;font-weight:650}.site-row-aside .progress-track{width:100%;min-width:96px}.site-row-action{color:var(--accent);letter-spacing:.02em;font-size:.78rem;font-weight:600}.progress-track{background:#e7eee9;border-radius:999px;height:4px;overflow:hidden}.progress-track>span{background:var(--accent);height:100%;display:block}.count-search{margin-bottom:.7rem}.count-list{gap:.55rem;display:grid}.count-row{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.95rem 1.1rem;transition:background .15s,border-color .15s;display:grid}.count-row:hover{background:#eef3ef}.count-row.counted{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent);background:#fbfdfb}.count-row.counted:hover{background:#eef3ef}.count-row.unavailable{opacity:.92}.count-unavailable-pill{box-sizing:border-box;color:#b42318;letter-spacing:.06em;text-transform:uppercase;background:#f8e9e9;border:1px solid #efc5c5;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:48px;padding:0 .85rem;font-size:.78rem;font-weight:800;display:flex}.count-unavailable-note{color:#9a4a44;text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.68rem;line-height:1.25;overflow:hidden}.count-unavailable-pill-inline{vertical-align:middle;width:auto;min-height:0;padding:.2rem .55rem;font-size:.68rem;display:inline-flex}.unavailable-row{opacity:.92}.count-row-main{gap:.28rem;min-width:0;display:grid}.count-row-title{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.count-row-title strong{font-size:1.05rem}.count-confirm-zero{color:#5c655e;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#eef1ee;border:1px solid #d2d8d3;border-radius:999px;flex:none;justify-content:center;align-items:center;min-height:40px;padding:.35rem .85rem;font-size:.82rem;font-weight:600;display:inline-flex}.count-confirm-zero:hover,.count-confirm-zero:active{color:var(--text);background:#e4e9e5;border-color:#b8c2ba}.count-product-url{min-width:72px;min-height:44px;color:var(--text);touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#f7f9f7;border:1px solid #d5ddd7;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:.35rem;padding:.45rem .85rem;font-size:.92rem;font-weight:600;text-decoration:none;display:inline-flex}.count-product-url:hover,.count-product-url:active{color:var(--accent);background:#eef3ef;border-color:#c5d0c8}.count-row-meta{font-size:.88rem;line-height:1.35}.count-row-aside{justify-items:end;display:grid}.qty-stack{grid-template-columns:6rem calc(96px + 6.6rem);justify-content:end;align-items:start;gap:.55rem .65rem;display:grid}.qty-control{gap:.2rem;width:100%;min-width:0;display:grid}.qty-control>span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:600}.qty-unit-hint{color:var(--muted);letter-spacing:.01em;text-align:center;font-size:.72rem;font-weight:500;line-height:1.2}.qty-readonly-value{box-sizing:border-box;width:100%;min-height:48px;color:var(--muted);background:#f3f5f3;border:1px solid #d8ddd9;border-radius:8px;justify-content:center;align-items:center;padding:0 .35rem;font-size:1.1rem;font-weight:600;display:flex}.qty-match{color:#1f7a3f;font-weight:700}.qty-mismatch{color:#b42318;font-weight:700}.modal.modal-lg.order-detail-modal{width:min(860px,100vw - 2rem)}.modal.modal-lg.order-detail-modal.has-line-notes{width:min(1040px,100vw - 2rem)}.modal.modal-lg.order-detail-modal.is-admin-confirmed{width:min(1280px,100vw - 2rem)}.order-detail-table{table-layout:fixed}.order-detail-table td:first-child{overflow-wrap:break-word}.order-detail-table th:nth-child(2),.order-detail-table td:nth-child(2){text-align:right;white-space:nowrap;width:7rem}.order-detail-table th:nth-child(3),.order-detail-table td:nth-child(3){white-space:pre-wrap;overflow-wrap:break-word;width:12rem}.order-detail-modal.has-line-notes .order-detail-table th:nth-child(3),.order-detail-modal.has-line-notes .order-detail-table td:nth-child(3){width:42%}.order-detail-modal.has-line-notes .order-detail-table td{vertical-align:top}.order-detail-modal.is-fulfillment .order-detail-table th:nth-child(2),.order-detail-modal.is-fulfillment .order-detail-table td:nth-child(2),.order-detail-modal.is-fulfillment .order-detail-table th:nth-child(3),.order-detail-modal.is-fulfillment .order-detail-table td:nth-child(3){text-align:right;white-space:nowrap;width:9.5rem}.order-detail-modal.is-fulfillment .order-detail-table th:nth-child(4),.order-detail-modal.is-fulfillment .order-detail-table td:nth-child(4){text-align:left;white-space:pre-wrap;overflow-wrap:break-word;width:34%}.order-detail-modal.is-fulfillment.is-confirming .order-detail-table th:nth-child(2),.order-detail-modal.is-fulfillment.is-confirming .order-detail-table td:nth-child(2),.order-detail-modal.is-fulfillment.is-confirming .order-detail-table th:nth-child(3),.order-detail-modal.is-fulfillment.is-confirming .order-detail-table td:nth-child(3),.order-detail-modal.is-fulfillment.is-confirming .order-detail-table th:nth-child(4),.order-detail-modal.is-fulfillment.is-confirming .order-detail-table td:nth-child(4){text-align:right;white-space:nowrap;width:9.5rem}.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table th:nth-child(2),.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table td:nth-child(2),.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table th:nth-child(3),.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table td:nth-child(3),.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table th:nth-child(4),.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table td:nth-child(4){text-align:right;white-space:normal;width:6.75rem}.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table th:nth-child(5),.order-detail-modal.is-fulfillment.is-confirmed-view .order-detail-table td:nth-child(5){text-align:left;white-space:pre-wrap;overflow-wrap:break-word;width:28%}.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th,.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td{text-align:left;white-space:normal;vertical-align:top;width:auto}.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th:nth-child(2),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td:nth-child(2),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th:nth-child(4),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td:nth-child(4),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th:nth-child(6),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td:nth-child(6){text-align:right;width:6.75rem}.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th:nth-child(3),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td:nth-child(3),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th:nth-child(5),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td:nth-child(5),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table th:nth-child(7),.order-detail-modal.is-fulfillment.is-admin-confirmed .order-detail-table td:nth-child(7){white-space:pre-wrap;overflow-wrap:break-word;width:14%}.order-fulfill-qty{text-align:right;font-variant-numeric:tabular-nums;appearance:textfield;width:100%}.order-fulfill-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.order-fulfill-qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.order-fulfill-note{width:100%}.actions-cell{text-align:right;width:1%}.modal.modal-lg.count-approval-modal{width:min(1100px,100vw - 2rem);max-height:min(90vh,900px);overflow:auto}.count-approval-product-name{white-space:normal;min-width:22rem}.count-approval-table th.count-approval-qty,.count-approval-table td.count-approval-qty{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:1%}.count-approval-table th.count-approval-desired,.count-approval-table th.count-approval-last,.count-approval-table th.count-approval-current{line-height:1.15}.count-approval-table th.count-approval-desired,.count-approval-table td.count-approval-desired{background:#e7f2ea}.count-approval-table th.count-approval-last,.count-approval-table td.count-approval-last{background:#f4f5f4}.count-approval-table th.count-approval-current,.count-approval-table td.count-approval-current{background:#f8f1df;box-shadow:inset -1px 0 #e4e7e3}.count-approval-category{align-items:baseline;gap:.55rem;padding:.45rem .7rem;display:flex}.count-approval-category strong{font-size:1.02rem}.count-approval-notes{background:#f6f7f5;border-radius:10px;margin:.75rem 0 1rem;padding:.85rem 1rem}.count-approval-notes p{white-space:pre-wrap;margin:.35rem 0 0}.count-approval-sites{gap:1rem;display:grid}.qty-buttons{grid-template-columns:48px 1fr 48px;align-items:center;gap:.3rem;display:grid;position:relative}.qty-buttons.is-saving input{color:#0000}.qty-save-spinner{border:2px solid #d5dbd7;border-top-color:var(--topbar);pointer-events:none;border-radius:50%;width:1rem;height:1rem;margin-left:-.5rem;animation:.7s linear infinite btn-spin;position:absolute;left:50%}.qty-buttons button{border-radius:8px;min-height:48px;font-size:1.25rem}.qty-buttons input{box-sizing:border-box;text-align:center;appearance:textfield;width:100%;min-width:0;min-height:48px;padding-left:.25rem;padding-right:.25rem;font-size:1.1rem}.qty-buttons input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.qty-buttons input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.staff-location-picker{gap:.55rem;margin:0 0 1.15rem;display:grid}.staff-location-label{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:.78rem;font-weight:700}.staff-location-options{grid-template-columns:repeat(auto-fill,minmax(12.5rem,1fr));gap:.55rem;display:grid}.staff-location-option{background:var(--surface);color:var(--text);border:1px solid var(--border-strong);letter-spacing:-.02em;min-height:56px;box-shadow:var(--shadow);touch-action:manipulation;border-radius:12px;width:100%;padding:.75rem 1.1rem;font-size:1.15rem;font-weight:650}.staff-location-option:hover:not(:disabled){background:var(--row-hover)}.staff-location-option.active{background:var(--accent);color:#fff;border-color:var(--accent)}.staff-location-option.active:hover:not(:disabled){background:var(--accent-hover)}@media (width>=768px){.staff-location-picker{margin-bottom:1.35rem}.staff-location-label{font-size:.85rem}.staff-location-options{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.7rem}.staff-location-option{min-width:0;min-height:64px;padding:.9rem 1.35rem;font-size:1.3rem}}.count-page{font-size:16px}.count-page h1{font-size:1.55rem}.count-page h2{margin:.2rem 0 0;font-size:1.25rem}.count-page .page-header{margin-bottom:1rem}.count-page .page-header .actions{flex:none}.count-page .page-header .actions button,.count-page .page-header>button:not(.count-back){width:auto;min-width:9.5rem}.count-back{border:1px solid var(--border);min-height:48px;color:var(--text);background:#fff;align-items:center;margin:0 0 .35rem;padding:.65rem 1.05rem;font-size:1.05rem;font-weight:650;display:inline-flex}.count-back:hover:not(:disabled){background:#eef3ef}.count-page .count-search{min-height:44px;font-size:1rem}.submit-count-modal{gap:.95rem;width:min(1040px,100%);max-height:min(92vh,980px);padding:1.2rem 1.25rem 0;font-size:16px;display:grid}.submit-count-header{gap:.2rem;display:grid}.submit-count-header .brand-kicker{color:var(--muted);margin:0}.submit-count-header h2{letter-spacing:-.02em;font-size:1.45rem}.submit-count-header p{margin:0}.submit-empty{background:#eef6f1;border:0;padding:1rem 1.1rem}.submit-empty p{margin:0}.submit-summary-wrap{border:1px solid var(--border);-webkit-overflow-scrolling:touch;border-radius:10px;max-height:min(46vh,420px);overflow:auto}.submit-summary-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:1rem}.submit-summary-table th,.submit-summary-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #dce6e0;padding:.7rem .85rem}.submit-summary-table thead th{background:var(--accent);color:#fff;z-index:2;font-weight:600;position:sticky;top:0}.submit-summary-table tbody th,.submit-summary-table thead th:first-child,.submit-summary-table tfoot th{text-align:left;z-index:1;background:#fff;min-width:11.5rem;position:sticky;left:0}.submit-summary-table thead th:first-child{z-index:3;background:var(--accent)}.submit-summary-table tbody th{background:#fff;font-weight:600}.submit-product{gap:.1rem;display:grid}.submit-product small{color:var(--muted);font-size:.85rem;font-weight:500}.submit-summary-table tbody tr:nth-child(2n) th,.submit-summary-table tbody tr:nth-child(2n) td{background:#f7faf8}.submit-summary-table tfoot th,.submit-summary-table tfoot td{background:#e7f3ea;border-bottom:0;font-weight:700}.submit-summary-table tfoot th{z-index:2}.submit-open-sites{color:var(--muted);margin:0;line-height:1.45}.submit-notes textarea{resize:vertical;border-radius:10px;min-height:96px;padding:.75rem .85rem;font-size:1.05rem}.submit-count-actions{grid-template-columns:1.4fr 1fr;gap:.6rem;display:grid}.submit-count-actions button{border-radius:10px;min-height:52px;font-size:1.05rem}.stack-gap{gap:.85rem;display:grid}@media (width<=900px){.toolbar,.orders-layout,.par-row,.site-assign-row{grid-template-columns:1fr}.toolbar-search{width:100%;margin-left:0}.topbar{flex-wrap:wrap;gap:.5rem;height:auto;min-height:48px;padding:.4rem .75rem}.top-nav{order:3;width:100%;height:auto;overflow:auto}.top-nav a{border-radius:var(--radius);border-bottom:0;padding:.45rem .55rem}.top-nav a.active{background:#2a312e}.page-header{flex-direction:column;align-items:stretch;gap:.75rem}.inventory-page .inventory-intro{display:contents}.inventory-page .inventory-title{order:0}.inventory-page .inventory-last-counted{text-align:left;order:1;justify-items:start}.inventory-page .inventory-count-stamp{justify-content:flex-start}.inventory-page .inventory-summary{order:2}.inventory-page input.inventory-search{order:3;width:100%;max-width:24rem}.page-header .actions{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:.45rem;display:grid}.page-header .actions button,.page-header>button,.page-header .page-location-select{width:100%}.page-header .actions button:only-child{grid-column:1/-1}.count-page .page-header{align-items:flex-start}.count-page .page-header .actions{flex-wrap:wrap;justify-content:flex-start;width:auto;max-width:100%;display:flex}.count-page .page-header .actions button,.count-page .page-header>button:not(.count-back){width:auto;min-width:9.5rem}.count-page .page-header .actions button:only-child{grid-column:auto}.content{padding:.85rem;padding-bottom:max(1rem, env(safe-area-inset-bottom,0px))}}@media (width<=800px){.row{grid-template-columns:1fr}}@media (width<=700px){.topbar{padding:max(.5rem, env(safe-area-inset-top,0px)) .75rem .55rem;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand user""nav nav";align-items:center;gap:.45rem .65rem;display:grid}.topbar:has(.nav-location){grid-template-areas:"brand user""nav nav""loc loc"}.nav-location{border-left:none;grid-area:loc;width:100%;margin-left:0;padding-left:0}.nav-location select{width:100%;max-width:none;min-height:40px}.topbar-left{display:contents}.brand{grid-area:brand}.top-nav{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;grid-area:nav;width:100%;overflow-x:auto}.top-nav a{flex:none;min-height:40px}.topbar-right{grid-area:user;gap:.25rem;margin-left:0}.topbar-user{text-align:right;padding:.2rem .3rem}.topbar-user small{display:none}.topbar-user span{text-overflow:ellipsis;white-space:nowrap;max-width:8rem;overflow:hidden}.topbar .linkish{min-height:40px}.count-page h1{font-size:1.35rem;line-height:1.25}.site-row{grid-template-columns:1fr;gap:.65rem}.site-row-aside{text-align:left;justify-items:stretch}.site-row-action{justify-self:end}.submit-count-modal{border-radius:16px;width:100%;max-height:100dvh;padding:1.1rem 1rem 0}.submit-count-actions,.site-progress-grid{grid-template-columns:1fr}.count-row{grid-template-columns:1fr;align-items:stretch}.count-row-aside{justify-items:stretch}.qty-stack{justify-content:stretch;width:100%}.qty-control{min-width:0}.form-card{width:100%}}.audit-list{flex-direction:column;gap:.5rem;display:flex}.audit-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.audit-card-head{width:100%;color:inherit;text-align:left;white-space:normal;background:0 0;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.75rem .9rem;font-weight:400;display:flex}.audit-card-head.expandable{cursor:pointer}.audit-card-head.expandable:hover{background:var(--row-hover)}.audit-title{font-weight:600}.audit-summary{color:var(--muted);margin-top:.15rem}.audit-meta{color:var(--muted);flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.15rem;font-size:.85rem;display:flex}.audit-toggle{color:var(--accent);font-weight:550}.audit-lines{border-top:1px solid var(--border);margin:0;padding:.15rem .9rem .7rem;list-style:none}.audit-lines li{align-items:baseline;gap:.55rem;padding:.35rem 0;display:flex}.audit-action{letter-spacing:.02em;text-transform:uppercase;min-width:4.2rem;color:var(--accent);flex-shrink:0;font-size:.68rem;font-weight:650}.audit-action.added{color:#2d6a4f}.audit-action.deleted{color:var(--danger)}.audit-empty{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--muted);padding:1.25rem .9rem}.audit-pager{align-items:center;gap:.75rem;margin-top:.85rem;display:flex}@media (width<=720px){.audit-card-head{flex-direction:column}.audit-meta{align-items:flex-start}}
