:root{--brand:#8b1a1a;--brand-hover:#741414;--accent:#ebb265;--ink:#211d1b;--ink-muted:#6e6560;--line:#ece7e1;--surface:#fff;--surface-soft:#faf9f7;--success:#2e7d32;--danger:#b42318;--radius-sm:10px;--radius-md:13px;--shadow-focus:0 0 0 3px #8b1a1a24}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--ink);background:var(--surface);-webkit-font-smoothing:antialiased;font-family:Plus Jakarta Sans,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}.login-shell{min-height:100vh;display:flex}.brand-panel{color:#fff;background:linear-gradient(160deg,#8b1a1a 0%,#701212 60%,#5c0e0e 100%);flex-direction:column;flex:0 0 46%;justify-content:space-between;padding:44px 52px;display:flex;position:relative;overflow:hidden}.brand-panel:after{content:"";pointer-events:none;background:radial-gradient(120% 90% at 12% 108%,#ffffff24,#0000 55%);position:absolute;inset:0}.brand-panel__eyebrow,.brand-panel__tagline,.brand-panel__domain{z-index:1;position:relative}.brand-panel__eyebrow{letter-spacing:.24em;opacity:.6;text-transform:uppercase;font-size:11.5px;font-weight:700}.brand-panel__tagline{letter-spacing:-.015em;max-width:12ch;margin:0;font-size:clamp(34px,3.6vw,52px);font-weight:800;line-height:1.14}.brand-panel__tagline em{color:var(--accent);font-style:normal}.brand-panel__domain{letter-spacing:.04em;opacity:.55;font-size:12.5px;font-weight:600}.access-panel{background:var(--surface);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:52px 40px 40px;display:flex}.access-panel__content,.ecosystem{width:100%;max-width:412px}.product-brand{flex-direction:column;align-items:flex-start;margin-bottom:32px;display:flex}.product-brand img{width:min(100%,372px);height:auto;display:block}.product-brand span{color:var(--brand);letter-spacing:.16em;text-transform:uppercase;background:#fbf1f1;border:1px solid #8b1a1a38;border-radius:999px;margin-top:8px;padding:5px 10px;font-size:11px;font-weight:800}.access-eyebrow,.ecosystem__label{color:var(--brand);letter-spacing:.28em;text-transform:uppercase;font-size:11px;font-weight:700}.access-panel h2{letter-spacing:-.01em;margin:8px 0 4px;font-size:25px;font-weight:800}.access-subtitle{color:var(--ink-muted);margin:0 0 30px;font-size:14px}.field{margin-bottom:18px}.field label{color:var(--ink-muted);letter-spacing:.16em;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:700;display:block}.field input{border:1.5px solid var(--line);border-radius:var(--radius-sm);width:100%;color:var(--ink);background:var(--surface-soft);outline:0;padding:14px 16px;font-size:15px;transition:border-color .15s,box-shadow .15s,background .15s}.field input:focus{border-color:var(--brand);background:var(--surface);box-shadow:var(--shadow-focus)}.field input:-webkit-autofill{-webkit-text-fill-color:var(--ink);-webkit-box-shadow:inset 0 0 0 40px #fff8ee}.password-field{position:relative}.password-field input{padding-right:84px}.password-toggle{color:var(--ink-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px;font-size:12px;font-weight:700;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle:hover{color:var(--ink)}.password-toggle:focus-visible,.ecosystem-card:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.form-message{color:var(--danger);background:#b423180f;border:1px solid #b4231833;border-radius:8px;margin:0 0 18px;padding:10px 12px;font-size:12px}.submit-button{border-radius:var(--radius-sm);color:#fff;background:var(--brand);cursor:pointer;border:0;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:6px;padding:15px 20px;font-size:15.5px;font-weight:700;transition:background .18s,transform .12s;display:flex}.submit-button:hover{background:var(--brand-hover)}.submit-button:active{transform:scale(.99)}.submit-button:disabled{cursor:wait;opacity:.65}.ecosystem{border-top:1px solid var(--line);margin-top:44px;padding-top:26px}.ecosystem__label{color:var(--ink-muted);letter-spacing:.24em;margin-bottom:16px;font-size:10.5px}.ecosystem__items{flex-wrap:wrap;gap:10px;display:flex}.ecosystem-card{border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;align-items:center;padding:11px 16px;text-decoration:none;transition:transform .16s,box-shadow .16s,border-color .16s;display:inline-flex}.ecosystem-card:hover{border-color:#ddd5cc;transform:translateY(-2px);box-shadow:0 8px 22px #211d1b1a}.ecosystem-card img{width:auto;height:27px;display:block}.login-footer{color:var(--ink-muted);justify-content:center;align-items:center;gap:14px;margin-top:34px;font-size:12px;display:flex}.login-footer__version{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.login-footer__online{color:var(--success);align-items:center;gap:6px;font-weight:600;display:inline-flex}.login-footer__online:before{background:var(--success);content:"";border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #2e7d3226}.skeleton-page{background:linear-gradient(#f3f1ec 0%,#e9e5dd 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.skeleton-card{border:1px solid var(--line);background:#fff;border-radius:20px;width:min(100%,520px);padding:36px;box-shadow:0 24px 60px #211d1b1f}.skeleton-brand{color:#fff;background:var(--brand);border-radius:14px;place-items:center;width:54px;height:54px;font-weight:900;display:grid}.skeleton-eyebrow{color:var(--brand);letter-spacing:.2em;text-transform:uppercase;margin:22px 0 8px;font-size:11px;font-weight:800}.skeleton-card h1{margin:0}.skeleton-card p:not(.skeleton-eyebrow){color:var(--ink-muted);line-height:1.6}.skeleton-card a{color:var(--brand);font-weight:700}.skeleton-actions{align-items:center;gap:16px;margin-top:20px;display:flex}.secondary-button{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--brand);cursor:pointer;background:#fff;padding:10px 16px;font-weight:700}.secondary-button:hover{background:#fbf1f1;border-color:#8b1a1a59}.secondary-button:disabled{cursor:wait;opacity:.65}.session-details{gap:10px;margin:24px 0;display:grid}.session-details div{border-bottom:1px solid var(--line);justify-content:space-between;gap:24px;padding-bottom:10px;display:flex}.session-details dt{color:var(--ink-muted);text-transform:uppercase;font-size:12px;font-weight:700}.session-details dd{margin:0;font-weight:700}.session-message{color:var(--ink-muted);margin:16px 0 0;line-height:1.6}.session-card{text-align:left}@media (max-width:920px){.login-shell{flex-direction:column}.brand-panel{flex:none;gap:22px;min-height:0;padding:30px 26px}.brand-panel__tagline{max-width:none;font-size:30px}.brand-panel__domain{display:none}.access-panel{padding:38px 22px 34px}.product-brand img{max-width:300px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.app-page{background:#1c1917;min-height:100vh;padding:28px 16px}.app-frame{background:#faf9f7;border-radius:26px;width:min(100%,520px);min-height:calc(100vh - 56px);margin:0 auto;overflow:hidden;box-shadow:0 34px 80px #00000057}.app-header{color:#fff;background:#1c1917;padding:18px}.app-header__row{align-items:center;gap:12px;min-height:44px;display:flex}.app-header__title{flex:1;min-width:0}.app-header__title h1{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:Archivo,Arial Narrow,sans-serif;font-size:18px;font-weight:700;line-height:1.25;overflow:hidden}.app-header__title p{color:#a8a29e;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:11.5px;line-height:1.4;overflow:hidden}.back-link{color:#fff;border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:42px;font-size:30px;line-height:1;text-decoration:none;display:grid}.back-link:hover{background:#292524}.sector-chip{color:#fff;background:#292524;border:1px solid #44403c;border-radius:12px;flex:1;align-items:center;gap:12px;min-width:0;padding:9px 12px;text-decoration:none;display:flex}.sector-chip span{flex:1;min-width:0}.sector-chip small,.sector-chip strong{display:block}.sector-chip small{color:#a8a29e;letter-spacing:.14em;text-transform:uppercase;margin-bottom:2px;font-family:Archivo,sans-serif;font-size:9px;font-weight:700}.sector-chip strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.sector-chip em{color:#a8a29e;font-size:11px;font-style:normal}.notification-bell{color:#fff;background:#292524;border-radius:11px;flex:0 0 42px;place-items:center;width:42px;height:42px;text-decoration:none;display:grid;position:relative}.notification-bell b{color:#fff;background:#8b1a1a;border:2px solid #1c1917;border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 4px;font-family:ui-monospace,Menlo,monospace;font-size:10px;display:grid;position:absolute;top:-6px;right:-6px}.app-content{padding:20px 18px 34px}.welcome-block{margin-bottom:26px}.welcome-block h1{letter-spacing:-.025em;margin:4px 0 6px;font-family:Archivo,sans-serif;font-size:27px}.welcome-block>p:last-child{color:#57534e;margin:0;font-size:13px;line-height:1.55}.section-eyebrow{color:#78716c;letter-spacing:.16em;text-transform:uppercase;margin:23px 0 10px;font-family:Archivo,sans-serif;font-size:10px;font-weight:700}.section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.section-heading a{color:#8b1a1a;font-size:11px;font-weight:700}.alert-stack,.action-stack{gap:8px;display:grid}.attention-card,.action-card{text-align:left;border-radius:14px;align-items:center;gap:12px;width:100%;text-decoration:none;display:flex}.attention-card{color:#1c1917;background:#fee2e2;border:1px solid #fca5a5;padding:13px 14px}.attention-card.is-read{background:#fff;border-color:#e7e5e4}.attention-card>span{color:#8b1a1a;font-size:11px}.attention-card div{flex:1;min-width:0}.attention-card strong,.attention-card small{display:block}.attention-card strong{font-size:13px;line-height:1.35}.attention-card small{color:#57534e;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;font-size:11px;line-height:1.4;display:-webkit-box;overflow:hidden}.attention-card em{color:#78716c;font-size:24px;font-style:normal}.action-card{color:#1c1917;background:#fff;border:1px solid #e7e5e4;min-height:72px;padding:13px;box-shadow:0 7px 18px #1c19170d}.action-card[href]:hover{border-color:#a8a29e}.action-card.is-disabled{box-shadow:none;opacity:.65}.action-card__signal{color:#57534e;background:#e7e5e4;border-radius:12px;flex:0 0 44px;place-items:center;width:44px;height:44px;font-family:ui-monospace,Menlo,monospace;font-size:20px;font-weight:700;display:grid}.action-card__signal.move{color:#1d4ed8;background:#dbeafe}.action-card__signal.out{color:#8b1a1a;background:#fee2e2}.action-card__signal.adjust{color:#b45309;background:#fef3c7}.action-card__signal.history{color:#57534e;background:#e7e5e4}.action-card__copy{flex:1;min-width:0}.action-card__copy strong,.action-card__copy small{display:block}.action-card__copy strong{font-size:14px;line-height:1.3}.action-card__copy small{color:#57534e;margin-top:3px;font-size:11px;line-height:1.4}.action-card__arrow{color:#78716c;font-size:24px}.phase-badge,.status-pill{letter-spacing:.08em;text-transform:uppercase;border-radius:7px;align-items:center;font-family:Archivo,sans-serif;font-size:9px;font-weight:700;display:inline-flex}.phase-badge{color:#78716c;text-align:center;background:#e7e5e4;max-width:72px;padding:4px 6px;line-height:1.3}.status-pill{padding:5px 8px}.status-pill.warning{color:#92400e;background:#fef3c7}.status-banner{background:#fff;border:1px solid #e7e5e4;border-radius:13px;gap:4px;margin-bottom:12px;padding:13px 14px;display:grid}.status-banner strong{font-size:13px}.status-banner span{color:#57534e;font-size:11.5px;line-height:1.45}.status-banner.warning{background:#fef3c7;border-color:#fcd34d}.status-banner.success{background:#dcfce7;border-color:#86efac}.status-banner.neutral{background:#f5f5f4}.status-banner.error{color:#8b1a1a;background:#fee2e2;border-color:#fca5a5}.app-footer{color:#78716c;border-top:1px solid #e7e5e4;justify-content:space-between;align-items:center;gap:16px;margin-top:30px;padding-top:18px;font-size:11px;display:flex}.notification-row{color:#1c1917;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #e7e5e4;align-items:flex-start;gap:11px;width:100%;padding:15px 0;display:flex}.notification-row:disabled{cursor:wait}.notification-row__dot{background:#8b1a1a;border-radius:50%;flex:0 0 8px;width:8px;height:8px;margin-top:6px}.notification-row.is-read .notification-row__dot{background:#d6d3d1}.notification-row__body{flex:1;min-width:0}.notification-row__body strong,.notification-row__body p,.notification-row__body time{display:block}.notification-row__body strong{font-size:13px;line-height:1.35}.notification-row__body p{color:#57534e;white-space:pre-line;margin:4px 0 0;font-size:11.5px;line-height:1.45}.notification-row__body time{color:#78716c;margin-top:6px;font-family:ui-monospace,Menlo,monospace;font-size:10px}.notification-row__action{color:#8b1a1a;text-align:right;text-transform:uppercase;flex:0 0 70px;font-size:9px;font-weight:700;line-height:1.3}.notification-row.is-read .notification-row__action{color:#78716c}.sector-picker-card,.summary-card,.detail-list,.stock-list{background:#fff;border:1px solid #e7e5e4;border-radius:15px;box-shadow:0 7px 18px #1c19170d}.sector-picker-card{margin-bottom:14px;padding:17px}.sector-picker-card h2{margin:13px 0 5px;font-family:Archivo,sans-serif;font-size:18px}.sector-picker-card p{color:#57534e;margin:0 0 16px;font-size:12px;line-height:1.55}.sector-picker,.search-form{gap:8px;display:grid}.sector-picker label,.search-form label{color:#78716c;letter-spacing:.12em;text-transform:uppercase;font-family:Archivo,sans-serif;font-size:10px;font-weight:700}.sector-picker select,.search-form input{color:#1c1917;background:#fff;border:1px solid #d6d3d1;border-radius:11px;outline:0;width:100%;min-height:48px;padding:12px 13px;font-size:14px}.sector-picker select:focus,.search-form input:focus{border-color:#8b1a1a;box-shadow:0 0 0 3px #8b1a1a1f}.sector-picker button,.search-form button,.primary-button{color:#fff;cursor:pointer;background:#8b1a1a;border:0;border-radius:11px;justify-content:center;align-items:center;min-height:48px;padding:12px 16px;font-weight:700;text-decoration:none;display:inline-flex}.search-form{margin-bottom:22px}.search-form__row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.empty-state{text-align:center;padding:50px 22px}.empty-state.compact{padding:38px 20px}.empty-state__icon{color:#57534e;background:#e7e5e4;border-radius:17px;place-items:center;width:58px;height:58px;margin:0 auto 15px;font-size:25px;font-weight:800;display:grid}.empty-state strong{font-family:Archivo,sans-serif;font-size:17px;display:block}.empty-state p{color:#57534e;max-width:360px;margin:8px auto 17px;font-size:12.5px;line-height:1.55}.stock-list,.detail-list,.summary-card{overflow:hidden}.stock-row,.detail-row,.summary-row{color:#1c1917;border-bottom:1px solid #e7e5e4;align-items:center;gap:12px;padding:14px;text-decoration:none;display:flex}.stock-row:last-of-type,.detail-row:last-child,.summary-row:last-child{border-bottom:0}.stock-row:hover{background:#faf9f7}.stock-row__copy,.detail-row span,.summary-row span{flex:1;min-width:0}.stock-row__copy strong,.stock-row__copy small,.detail-row strong,.detail-row small,.summary-row strong,.summary-row small{display:block}.stock-row__copy strong,.detail-row strong,.summary-row strong{font-size:13px;line-height:1.35}.stock-row__copy small,.detail-row small,.summary-row small{color:#78716c;margin-top:3px;font-size:10.5px;line-height:1.4}.stock-row__quantity,.detail-row b,.summary-row b{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-family:ui-monospace,Menlo,monospace;font-size:13px}.stock-row__quantity.is-critical{color:#c2410c}.stock-row__arrow{color:#78716c;font-size:22px}.summary-card{margin-bottom:24px}.summary-row.total{background:#faf9f7}.summary-row.total strong,.summary-row.total b{font-size:15px}.detail-row.movement{color:inherit;border-top:3px solid #d6d3d1;text-decoration:none}.detail-row.movement.pos{border-top-color:#15803d}.detail-row.movement.neg{border-top-color:#8b1a1a}.detail-row.movement.transf{border-top-color:#1d4ed8}.detail-row.movement.import{border-top-color:#b45309}.history-filter-card{background:#fff;border:1px solid #e7e2da;border-radius:14px;margin-bottom:24px;padding:14px}.history-presets{gap:7px;margin-bottom:14px;display:flex}.history-presets a{color:#57534e;border:1px solid #d6d3d1;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800;text-decoration:none}.history-presets a.is-active{color:#fff;background:#8b1a1a;border-color:#8b1a1a}.history-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.history-filter-form label{color:#78716c;text-transform:uppercase;gap:5px;font-size:10px;font-weight:800;display:grid}.history-filter-form input,.history-filter-form select{color:#1c1917;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #d6d3d1;border-radius:10px;padding:9px 11px}.history-filter-form input:focus,.history-filter-form select:focus{border-color:#8b1a1a;outline:0;box-shadow:0 0 0 3px #8b1a1a1f}.history-filter-type,.history-filter-form .primary-button{grid-column:1/-1}.history-list .detail-row{align-items:flex-start}.event-group-note{font-weight:700;color:#8b1a1a!important}.history-pagination{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:16px;display:grid}.history-pagination a{color:#8b1a1a;font-size:12px;font-weight:800;text-decoration:none}.history-pagination a:last-child{text-align:right}.history-pagination strong{color:#57534e;font-size:11px}.movement-observation{white-space:normal;font-style:italic;color:#44403c!important}.screen-note{color:#78716c;margin:13px 2px 0;font-size:10.5px;line-height:1.55}.error-screen{place-items:center;min-height:70vh;display:grid}.diagnostic-code{color:#57534e;letter-spacing:.03em;background:#faf9f7;border:1px solid #d6d3d1;border-radius:8px;margin:4px 0 14px;padding:6px 9px;font-family:ui-monospace,Menlo,monospace;font-size:11px;font-weight:800;display:inline-block}.wide-frame{max-width:760px}.search-form__hint,.field-hint,.operational-field small{color:#78716c;margin-top:6px;font-size:10.5px;line-height:1.45;display:block}.live-search input{min-width:0}.transfer-form,.ledger-preview,.transfer-success{background:#fff;border:1px solid #e7e2da;border-radius:18px;margin-top:18px;padding:20px}.transfer-form.is-locked{opacity:.72}.field-grid{gap:13px;display:grid}.field-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.operational-field{margin:0 0 15px;display:block}.operational-field>span,.item-picker>label{color:#57534e;letter-spacing:.035em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:800;display:block}.operational-field input,.operational-field select,.operational-field textarea,.item-picker input{color:#1c1917;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #d6d3d1;border-radius:10px;padding:10px 12px}.operational-field input:focus,.operational-field select:focus,.operational-field textarea:focus,.item-picker input:focus{border-color:#1d4ed8;outline:0;box-shadow:0 0 0 3px #1d4ed81f}.operational-field textarea{resize:vertical;line-height:1.5}.item-picker{position:relative}.item-picker__results{z-index:20;background:#fff;border:1px solid #d6d3d1;border-radius:12px;max-height:310px;position:absolute;top:calc(100% - 10px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 42px #1c19172e}.item-picker__results button{color:#1c1917;cursor:pointer;text-align:left;background:#fff;border:0;border-bottom:1px solid #eeeae4;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:11px 12px;display:flex}.item-picker__results button:hover,.item-picker__results button:focus-visible{background:#eff6ff;outline:0}.item-picker__results button span,.item-picker__results button small{display:block}.item-picker__results button small{color:#78716c;margin-top:3px}.item-picker__results button b{white-space:nowrap;flex:none;font-size:11px}.item-picker__empty{color:#78716c;padding:15px 12px;font-size:12px}.primary-button.full-width{width:100%}.ledger-preview.transfer{border-top:5px solid #1d4ed8}.ledger-preview.loss{border-top:5px solid #292524}.ledger-preview.loss .ledger-preview__header{color:#292524}.ledger-preview.loss .ledger-preview__header b{color:#292524;background:#f5f5f4}.ledger-preview.adjust{border-top:5px solid #d89518}.ledger-preview.adjust .ledger-preview__header{color:#8a5a00}.ledger-preview.adjust .ledger-preview__header b{color:#8a5a00;background:#fff0bf}.ledger-preview__header{color:#1e3a8a;letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:12px;margin:-4px 0 18px;font-size:11px;font-weight:800;display:flex}.ledger-preview__header b{color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:5px 8px;font-size:9px}.balance-track{border-top:1px solid #eeeae4;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:14px 0;display:grid}.balance-track>div{gap:3px;display:grid}.balance-track>div.after{text-align:right}.balance-track strong{font-family:ui-monospace,Menlo,monospace;font-size:17px}.balance-track small{color:#78716c;font-size:10.5px}.balance-track>span{color:#8b1a1a}.balance-track.destination>span{color:#15803d}.fefo-preview{background:#faf9f7;border-radius:12px;margin-top:14px;padding:15px}.fefo-preview h3{margin:0 0 10px;font-size:12px}.fefo-row{border-top:1px solid #e7e2da;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.fefo-row span,.fefo-row small{display:block}.fefo-row small{color:#78716c;margin-top:3px;font-size:10px}.fefo-row b{white-space:nowrap;font-family:ui-monospace,Menlo,monospace}.fefo-row.deficit{color:#b45309}.consequence-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.consequence-list>div{border:1px solid #e7e2da;border-radius:12px;gap:9px;padding:12px;display:flex}.consequence-list>div>span{color:#1d4ed8;background:#eff6ff;border-radius:50%;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:11px;font-weight:900;display:grid}.consequence-list>div.warning>span{color:#c2410c;background:#fff7ed}.consequence-list p{color:#57534e;margin:0;font-size:11px;line-height:1.45}.consequence-list p strong{color:#1c1917;margin-bottom:3px;display:block}.ledger-actions,.button-row{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.secondary-action{color:#44403c;cursor:pointer;min-height:42px;font:inherit;background:#fff;border:1px solid #d6d3d1;border-radius:10px;justify-content:center;align-items:center;padding:10px 15px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.transfer-success{text-align:center}.transfer-success__icon{color:#15803d;background:#dcfce7;border-radius:50%;place-items:center;width:52px;height:52px;margin:0 auto 12px;font-size:25px;font-weight:900;display:grid}.result-details{border-top:1px solid #e7e2da;margin:18px 0}.result-details>div{text-align:left;border-bottom:1px solid #e7e2da;justify-content:space-between;gap:15px;padding:10px 0;display:flex}.result-details dt{color:#78716c;font-size:11px}.result-details dd{text-align:right;margin:0;font-family:ui-monospace,Menlo,monospace;font-size:11px;font-weight:800}.wrap-text{overflow-wrap:anywhere;white-space:normal;max-width:65%}.ledger-warning{margin-top:14px}.loss-success{border-top:5px solid #292524}.movement-meta .summary-row{align-items:flex-start}@media (max-width:560px){.app-page{background:#faf9f7;padding:0}.app-frame{min-height:100dvh;box-shadow:none;border-radius:0}.app-header{padding-top:calc(15px + env(safe-area-inset-top))}.app-content{padding-bottom:calc(28px + env(safe-area-inset-bottom))}.field-grid.two-columns,.consequence-list{grid-template-columns:1fr}.ledger-preview,.transfer-form,.transfer-success{padding:16px}}@media (max-width:390px){.phase-badge{display:none}.search-form__row{grid-template-columns:1fr}.stock-row,.detail-row,.summary-row{align-items:flex-start}.stock-row__quantity,.detail-row b,.summary-row b{font-size:12px}}.action-card__signal.receive{color:#15803d;background:#dcfce7}.action-card__signal.purchase{color:#8b1a1a;background:#fbe8e8}.purchase-suggestions,.purchase-form,.purchase-review,.purchase-success{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);margin-bottom:20px;padding:22px}.purchase-chip-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.purchase-chip-list button,.purchase-results button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fff9ef;border:1px solid #ead9c0;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;display:flex}.purchase-chip-list button strong,.purchase-chip-list button span,.purchase-results strong,.purchase-results small{display:block}.purchase-chip-list button span,.purchase-results small{color:var(--ink-muted);margin-top:3px;font-size:12px}.purchase-results{z-index:3;border:1px solid var(--line);background:#fff;border-radius:11px;max-height:330px;margin:-10px 0 18px;display:grid;position:relative;overflow-y:auto;box-shadow:0 14px 30px #291f191f}.purchase-results button{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0}.purchase-results button:last-child{border-bottom:0}.purchase-results button:hover{background:var(--surface-soft)}.selected-product{color:#166534;background:#ecfdf3;border-radius:10px;grid-template-columns:auto 1fr;gap:2px 9px;margin:-8px 0 18px;padding:12px 14px;display:grid}.selected-product span{grid-row:1/3}.selected-product small{color:#52725e}.purchase-urgency{border:0;gap:9px;margin:0 0 18px;padding:0;display:grid}.purchase-urgency legend{color:var(--ink-muted);letter-spacing:.13em;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:700}.purchase-urgency label{border:1px solid var(--line);cursor:pointer;border-radius:10px;gap:10px;padding:12px 13px;display:flex}.purchase-urgency label.is-selected{background:#fff7f7;border-color:#8b1a1a73}.purchase-urgency label span,.purchase-urgency label small{display:block}.purchase-urgency label small{color:var(--ink-muted);margin-top:2px}.purchase-review{border-top:5px solid #8b1a1a}.purchase-review .ledger-preview__header{color:#8b1a1a}.purchase-review .ledger-preview__header b{color:#8b1a1a;background:#fbe8e8}.purchase-review__line{background:var(--surface-soft);border-radius:11px;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin:20px 0;padding:18px;display:grid}.purchase-review__line div:last-child{text-align:right}.purchase-review__line small,.purchase-review__line strong{display:block}.purchase-review__line small{color:var(--ink-muted);margin-bottom:4px}.purchase-success{text-align:center}.purchase-success h2{margin:8px 0}@media (max-width:600px){.purchase-suggestions,.purchase-form,.purchase-review,.purchase-success{padding:17px}.purchase-review__line{gap:9px;padding:14px}}.receiving-queue,.note-card-list,.receiving-items,.receiving-plan-list,.blocked-item-list{gap:10px;display:grid}.ready-notes{background:linear-gradient(#f0fdf4 0%,#fff 38%);border:1px solid #bbf7d0;border-radius:18px;padding:18px}.ready-notes h2,.receiving-form h2{margin:4px 0 0;font-size:20px}.queue-count{letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:900}.queue-count.ready,.status-pill.success{color:#166534;background:#dcfce7}.receiving-note{color:#1c1917;background:#fff;border:1px solid #e7e5e4;border-radius:14px;align-items:center;gap:12px;min-height:72px;padding:13px;text-decoration:none;display:flex}.receiving-note.ready{border-color:#bbf7d0;box-shadow:0 8px 22px #15803d14}.receiving-note__signal{color:#15803d;background:#dcfce7;border-radius:12px;flex:0 0 42px;place-items:center;width:42px;height:42px;font-size:22px;font-weight:900;display:grid}.receiving-note__copy{flex:1;min-width:0}.receiving-note__copy strong,.receiving-note__copy small{display:block}.receiving-note__copy small{color:#78716c;margin-top:3px;font-size:10.5px}.pending-notes-section{margin-top:8px}.pending-notes{background:#f5f5f4;border:1px solid #e7e5e4;border-radius:16px}.pending-notes>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:16px;list-style:none;display:flex}.pending-notes>summary::-webkit-details-marker{display:none}.pending-notes>summary span,.pending-notes>summary small{display:block}.pending-notes>summary small{color:#78716c;margin-top:4px;font-size:10.5px}.pending-notes>summary b{color:#8b1a1a;white-space:nowrap;font-size:11px}.pending-explanation{margin:0 16px 12px}.pending-list{max-height:460px;padding:0 10px 10px;overflow-y:auto}.receiving-note.pending{opacity:.78;min-height:62px}.receiving-note__action{color:#8b1a1a;white-space:nowrap;font-size:10px;font-weight:800}.receiving-blocked,.receiving-form{background:#fff;border:1px solid #e7e2da;border-radius:18px;padding:20px}.receiving-blocked{border-top:5px solid #d89518}.receiving-blocked__icon{color:#92400e;background:#fef3c7;border-radius:50%;place-items:center;width:48px;height:48px;font-size:22px;font-weight:900;display:grid}.receiving-blocked h2{margin:14px 0 8px}.receiving-blocked>p{color:#57534e;line-height:1.55}.blocked-item-list{margin:18px 0}.blocked-item-list>div{background:#faf9f7;border:1px solid #eeeae4;border-radius:10px;padding:11px 12px}.blocked-item-list strong,.blocked-item-list small{display:block}.blocked-item-list small{color:#78716c;margin-top:3px;font-size:10.5px}.receiving-form.is-locked{opacity:.76}.receiving-items{margin:16px 0}.receiving-item{background:#faf9f7;border:1px solid #e7e2da;border-radius:14px;padding:15px}.receiving-item.is-divergent{background:#fffaf0;border-color:#f4c96b}.receiving-item__heading{align-items:center;gap:10px;margin-bottom:13px;display:flex}.receiving-item__heading>span{color:#166534;background:#dcfce7;border-radius:50%;flex:0 0 26px;place-items:center;width:26px;height:26px;font-size:10px;font-weight:900;display:grid}.receiving-item__heading>div{flex:1;min-width:0}.receiving-item__heading strong,.receiving-item__heading small{display:block}.receiving-item__heading small{color:#78716c;margin-top:3px;font-size:10px}.receiving-item__heading>b{white-space:nowrap;font-family:ui-monospace,Menlo,monospace;font-size:12px}.receiving-item .operational-field{margin-bottom:0}.receiving-match{color:#15803d;margin:4px 0 0;font-size:11px;font-weight:800}.divergence-fields{border-top:1px solid #f4c96b;gap:12px;margin-top:13px;padding-top:12px;display:grid}.divergence-actions{gap:8px;display:grid}.divergence-actions button{color:#44403c;cursor:pointer;text-align:left;background:#fff;border:1px solid #d6d3d1;border-radius:10px;padding:12px}.divergence-actions button.is-selected{background:#f0fdf4;border-color:#15803d;box-shadow:0 0 0 3px #15803d1a}.divergence-actions strong,.divergence-actions small{display:block}.divergence-actions small{color:#78716c;margin-top:4px;font-size:10px;line-height:1.4}.ledger-preview.receiving{border-top:5px solid #15803d}.ledger-preview.receiving .ledger-preview__header{color:#166534}.ledger-preview.receiving .ledger-preview__header b{color:#166534;background:#dcfce7}.receiving-ledger-track{text-align:center;border-block:1px solid #eeeae4;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:18px 0;display:grid}.receiving-ledger-track strong,.receiving-ledger-track small{display:block}.receiving-ledger-track strong{color:#166534;font-family:ui-monospace,Menlo,monospace;font-size:24px}.receiving-ledger-track small{color:#78716c;margin-top:4px;font-size:10px}.receiving-ledger-track>span{color:#15803d;font-size:22px}.receiving-plan-list{margin-top:14px}.receiving-plan-list>div{border-bottom:1px solid #eeeae4;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:11px 0;display:flex}.receiving-plan-list>div>span{flex:1;min-width:0}.receiving-plan-list strong,.receiving-plan-list small{display:block}.receiving-plan-list small{color:#78716c;margin-top:3px;font-size:10px}.receiving-plan-list b{white-space:nowrap;font-family:ui-monospace,Menlo,monospace;font-size:11px}.receiving-plan-list em{color:#8b1a1a;width:100%;font-size:10px;font-style:normal;font-weight:800}.receiving-success{border-top:5px solid #15803d}@media (max-width:560px){.ready-notes,.receiving-blocked,.receiving-form{padding:15px}.receiving-note{align-items:flex-start}.receiving-note .status-pill{margin-left:auto}.receiving-note__action{display:none}.receiving-item__heading{flex-wrap:wrap;align-items:flex-start}.receiving-item__heading>b{width:100%;padding-left:36px}.receiving-ledger-track strong{font-size:20px}}.action-card__signal.count{color:#166534;background:#dcfce7}.count-setup,.count-progress-card,.count-worklist,.count-result,.count-finish{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);margin-bottom:20px;padding:22px}.count-setup h2,.count-progress-card h2,.count-result h2{margin:4px 0 18px;font-size:22px}.count-mode{border:0;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px;padding:0;display:grid}.count-mode legend{color:var(--ink-muted);letter-spacing:.13em;text-transform:uppercase;grid-column:1/-1;margin-bottom:2px;font-size:11px;font-weight:700}.count-mode label{border:1px solid var(--line);cursor:pointer;border-radius:11px;gap:9px;padding:13px;display:flex}.count-mode label.is-selected{background:#fff7f7;border-color:#8b1a1a73;box-shadow:0 0 0 3px #8b1a1a14}.count-mode span,.count-mode strong,.count-mode small{display:block}.count-mode small{color:var(--ink-muted);margin-top:4px;font-size:10.5px;line-height:1.45}.count-progress-card{z-index:5;border-color:#ead9c0;position:sticky;top:8px;box-shadow:0 12px 28px #291f1914}.count-progress-card>div:first-child{align-items:center;gap:10px;display:flex}.count-progress-card>div:first-child .section-eyebrow{width:100%}.count-progress-card h2{flex:1;margin:0}.count-mode-badge{color:#8b1a1a;text-transform:uppercase;white-space:nowrap;background:#fbe8e8;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:900}.count-progress-card>strong{margin-top:16px;font-size:14px;display:block}.count-progress-card>small{color:var(--ink-muted);margin-top:8px;font-size:10.5px;display:block}.count-progress-track{background:#eeeae4;border-radius:999px;height:8px;margin-top:9px;overflow:hidden}.count-progress-track span{border-radius:inherit;background:linear-gradient(90deg,#8b1a1a,#d89518);height:100%;transition:width .2s;display:block}.count-items,.count-proposals{gap:10px;display:grid}.count-item{background:#faf9f7;border:1px solid #e7e2da;border-radius:14px;padding:15px}.count-item.is-counted{background:#f0fdf4;border-color:#bbf7d0}.count-item.is-missing{background:#fff7df;border-color:#d89518;box-shadow:0 0 0 3px #d895181f}.count-item.is-saving{border-left:4px solid #d89518}.count-item__heading{align-items:center;gap:10px;margin-bottom:12px;display:flex}.count-item__heading>span{color:#166534;background:#dcfce7;border-radius:50%;flex:0 0 26px;place-items:center;width:26px;height:26px;font-size:12px;font-weight:900;display:grid}.count-item__heading>div{flex:1;min-width:0}.count-item__heading strong,.count-item__heading small{display:block}.count-item__heading small{color:var(--ink-muted);margin-top:3px;font-size:10px}.count-item__heading>b,.count-item__heading>em{white-space:nowrap;font-size:10px}.count-item__heading>b{color:#166534}.count-item__heading>em{color:var(--ink-muted);font-style:normal}.count-item__action{grid-template-columns:minmax(0,1fr);align-items:end;gap:9px;display:grid}.count-item__action label span{color:var(--ink-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:800;display:block}.count-item__action input{background:#fff;border:1px solid #d6d3d1;border-radius:9px;outline:0;width:100%;min-height:42px;padding:10px 12px}.count-item__action input:focus{border-color:var(--brand);box-shadow:var(--shadow-focus)}.count-item__enter-submit{display:none}.count-item__error{color:var(--danger);margin:8px 0 0;font-size:10px;font-weight:700}.count-finish{z-index:4;border-color:#ead9c0;justify-content:space-between;align-items:center;gap:16px;display:flex;position:sticky;bottom:8px;box-shadow:0 -10px 28px #291f1914}.count-finish p{color:var(--ink-muted);margin:0;font-size:11px;line-height:1.5}.count-finish__actions{flex:none;gap:8px;display:flex}.count-missing-review,.count-cancel-confirm{color:#78350f;background:#fff7df;border:1px solid #f4c96b;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;padding:17px;display:flex}.count-missing-review strong,.count-missing-review span,.count-cancel-confirm strong,.count-cancel-confirm span{display:block}.count-missing-review span,.count-cancel-confirm span{margin-top:4px;font-size:11px;line-height:1.45}.count-missing-review>div:last-child,.count-cancel-confirm>div:last-child{flex:none;gap:8px;display:flex}.count-cancel-confirm{color:#7f1d1d;background:#fff1f2;border-color:#fecaca}.count-cancel-button{color:#fff;cursor:pointer;min-height:42px;font:inherit;background:#b42318;border:0;border-radius:10px;padding:10px 15px;font-size:11px;font-weight:900}.count-cancel-button:disabled{cursor:wait;opacity:.65}.count-summary-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0;display:grid}.count-summary-grid>div{background:var(--surface-soft);text-align:center;border-radius:11px;padding:14px 8px}.count-summary-grid strong,.count-summary-grid span{display:block}.count-summary-grid strong{font-size:22px}.count-summary-grid span{color:var(--ink-muted);margin-top:3px;font-size:9px}.count-proposals article{background:#fffaf0;border:1px solid #f4c96b;border-radius:12px;grid-template-columns:1fr auto;gap:8px 14px;padding:14px;display:grid}.count-proposals strong,.count-proposals small{display:block}.count-proposals small{color:var(--ink-muted);margin-top:4px;font-size:10px}.count-proposals>article>b{color:#92400e;font-family:ui-monospace,Menlo,monospace;font-size:12px}.count-proposals a{color:#fff;background:var(--brand);border-radius:9px;grid-column:1/-1;justify-content:center;align-items:center;min-height:40px;font-size:10px;font-weight:900;text-decoration:none;display:inline-flex}@media (max-width:560px){.count-setup,.count-progress-card,.count-worklist,.count-result,.count-finish{padding:15px}.count-mode{grid-template-columns:1fr}.count-progress-card>div:first-child{flex-wrap:wrap}.count-item__heading{flex-wrap:wrap;align-items:flex-start}.count-item__heading>b,.count-item__heading>em{width:100%;padding-left:36px}.count-item__action{grid-template-columns:1fr}.count-missing-review,.count-cancel-confirm{flex-direction:column;align-items:stretch}.count-missing-review>div:last-child,.count-cancel-confirm>div:last-child{grid-template-columns:1fr 1fr;display:grid}.count-finish{flex-direction:column;align-items:stretch}.count-finish__actions{grid-template-columns:1fr 1fr;display:grid}.count-finish .primary-button,.count-finish .secondary-action{width:100%}}
