.st-page{--st-line: hsl(var(--border) / .7);--st-soft: hsl(var(--muted));--st-text-muted: hsl(var(--muted-foreground));--st-accent: hsl(var(--primary));display:flex;flex-direction:column;gap:8px;height:100%;min-height:0;overflow:hidden;padding:8px 12px;color:hsl(var(--foreground));font-size:13px}.st-page button:focus-visible,.st-page [role=gridcell]:focus-visible,.st-page [role=row]:focus-visible{outline:2px solid var(--st-accent);outline-offset:-1px}.st-header{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:36px;flex-shrink:0}.st-spacer{flex:1}.st-muted{color:var(--st-text-muted)}.st-number{font-variant-numeric:tabular-nums;text-align:right}.st-notice{display:flex;align-items:center;gap:6px;flex-shrink:0;border-radius:8px;padding:6px 10px}.st-notice.is-error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.st-notice.is-ok{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.st-notice.is-warn{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.st-skeleton{height:28px;border-radius:6px;background:var(--st-soft);animation:st-pulse 1.4s ease-in-out infinite}@keyframes st-pulse{50%{opacity:.5}}@media(prefers-reduced-motion:reduce){.st-skeleton{animation:none}}.st-badge{border-radius:4px;background:var(--st-soft);padding:1px 6px;font-size:12px;color:var(--st-text-muted)}.st-select{height:36px;border:1px solid hsl(var(--input));border-radius:6px;background:hsl(var(--background));padding:0 8px;font-size:13px}.st-select:focus-visible{outline:2px solid var(--st-accent);outline-offset:1px}.st-link{display:inline-flex;align-items:center;gap:4px;max-width:100%;color:var(--st-accent);text-decoration:underline;text-underline-offset:2px}.st-link:hover{text-decoration-thickness:2px}.st-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--st-line);border-radius:999px;padding:1px 4px 1px 10px;font-size:12px}.st-icon-button{display:inline-flex;height:26px;width:26px;align-items:center;justify-content:center;border-radius:6px;color:var(--st-text-muted)}.st-icon-button:hover{background:var(--st-soft);color:hsl(var(--foreground))}.st-chevron{display:inline-flex;height:20px;width:20px;flex-shrink:0;align-items:center;justify-content:center;border-radius:4px;color:var(--st-text-muted)}button.st-chevron:hover{background:var(--st-soft)}.st-error-text{color:hsl(var(--destructive));font-size:12px}.st-line-note{display:block;flex-basis:100%;order:1;font-size:12px}.st-warn-text{color:#92400e;font-size:13px;font-weight:500}.st-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;flex-shrink:0}.st-filters.is-one-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.st-filters.is-one-row>*{flex-shrink:0}.st-filters.is-one-row .st-select{max-width:13rem}.st-date{position:relative}.st-date button[aria-haspopup]{height:36px}.st-date:has(.st-date-clear) button[aria-haspopup]{padding-right:30px}.st-date-clear{position:absolute;right:5px;top:5px}.st-supplier{position:relative}.st-supplier-clear{position:absolute;right:5px;top:5px}.st-supplier-options{position:absolute;z-index:50;left:0;right:0;top:calc(100% + 2px);max-height:16rem;overflow-y:auto;border:1px solid hsl(var(--input));border-radius:6px;background:hsl(var(--background));box-shadow:0 4px 12px #00000014;padding:2px}.st-supplier-options [role=option]{display:flex;flex-direction:column;gap:1px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.st-supplier-options [role=option].is-active{background:var(--st-soft)}.st-tree-head,.st-tree-row{display:grid;align-items:center;column-gap:8px;padding:0 8px}.st-tree-head{flex-shrink:0;border-bottom:1px solid var(--st-line);background:#f8fafc;padding-top:6px;padding-bottom:6px;font-size:12px;font-weight:500;color:var(--st-text-muted)}.st-tree-row{min-height:32px;border-bottom:1px solid var(--st-line);cursor:default}.st-tree-row:hover{background:#f8fafc}.st-tree-row.is-level{font-weight:500}.st-tree-row.is-active{background:hsl(var(--primary) / .08)}.st-page .st-tree-row:focus-visible{outline:2px solid var(--st-accent);outline-offset:-2px}.st-forecast-detail{--st-line: hsl(var(--border) / .7);--st-soft: hsl(var(--muted));--st-text-muted: hsl(var(--muted-foreground));--st-accent: hsl(var(--primary));font-size:13px}.st-forecast-detail button:focus-visible{outline:2px solid var(--st-accent);outline-offset:1px}.st-in{color:#047857}.st-out{color:#b91c1c}.st-none{color:#b91c1c;font-weight:600}.st-facts{display:flex;flex-wrap:wrap;gap:4px 20px;flex-shrink:0;margin:0}.st-facts>div{display:flex;flex-direction:column;min-width:0}.st-facts dt{font-size:11px;color:var(--st-text-muted)}.st-facts dd{margin:0;font-weight:500}.st-totals{border-top:1px solid var(--st-line);padding-top:6px}.st-lines-footer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;flex-shrink:0;min-height:44px;border-top:1px solid var(--st-line);padding-top:6px}.st-lines-footer>.st-totals{flex:1;border-top:0;padding-top:0}.st-lines{min-height:240px;border:1px solid var(--st-line);border-radius:6px}.st-progress{display:grid;gap:6px;flex-shrink:0;border:1px solid var(--st-line);border-radius:8px;padding:8px 10px}.st-progress-bar{height:8px;overflow:hidden;border-radius:999px;background:var(--st-soft)}.st-progress-bar>div{height:100%;background:var(--st-accent);transition:width .3s ease}@media(prefers-reduced-motion:reduce){.st-progress-bar>div{transition:none}}.st-serial-chips{height:240px;overflow:auto;border:1px solid hsl(var(--border));border-radius:6px;padding:4px}.st-serial-row{display:grid;align-items:center;gap:6px;padding:2px 0}.st-serial-chip{min-width:0;justify-content:space-between;height:24px;border-color:hsl(var(--border));font-family:ui-monospace,monospace}.st-serial-chip[data-state=error],.st-serial-chip[data-state=inDocument]{border-color:#fecdd3;background:#fff1f2}.st-serial-chip.is-duplicate{border:1px dashed #d97706;background:#fffbeb}.st-serial-dup{flex-shrink:0;border-radius:4px;background:#fde68a;padding:0 4px;font-family:inherit;font-size:10px;font-weight:600;color:#92400e}.st-count{font-size:14px}.st-count .st-count-button{min-height:48px;padding:0 16px;font-size:15px}.st-count .st-count-step{height:48px;width:48px;min-width:48px;padding:0}.st-count .st-count-input{height:48px;font-size:16px}.st-count-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-shrink:0;border-radius:8px;padding:6px 10px;background:var(--st-soft)}.st-count-strip[data-sync=synced]{background:#ecfdf5;color:#065f46}.st-count-strip[data-sync=pending],.st-count-strip[data-sync=syncing]{background:#eff6ff;color:#1e40af}.st-count-strip[data-sync=offline]{background:#fffbeb;color:#92400e}.st-count-strip[data-sync=error]{background:#fff1f2;color:#9f1239}.st-count-last{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:52px;border:1px solid var(--st-line);border-radius:8px;padding:8px 12px;font-size:16px;font-weight:500}.st-count-last[data-count-notice=error]{border-color:#fecdd3;background:#fff1f2}.st-count-last[data-count-notice=warning]{border-color:#fde68a;background:#fffbeb}.st-count-manual{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;flex-shrink:0}.st-count-list{flex:1;min-height:160px;overflow:auto;border:1px solid var(--st-line);border-radius:8px}.st-count-row{display:flex;align-items:center;gap:12px;min-height:96px;border-bottom:1px solid var(--st-line);padding:6px 10px}.st-count-code{overflow-wrap:anywhere}.st-count-row>:first-child{flex:1}.st-count-row[data-error]{background:#fff1f2}.st-count-controls{display:flex;flex-shrink:0;align-items:center;gap:6px}.st-count-value{width:72px;height:48px;border:1px solid hsl(var(--input));border-radius:6px;background:hsl(var(--background));padding:0 8px;font-size:20px;font-weight:600;line-height:46px}span.st-count-value{border-color:transparent}.st-count-value:focus-visible{outline:2px solid var(--st-accent);outline-offset:1px}@media(max-width:480px){.st-count{padding:6px}.st-count-row{flex-wrap:wrap;gap:6px 8px;padding:6px}.st-count-row>.st-count-info{flex:1 0 100%}.st-count-controls{flex:1 0 100%;justify-content:flex-end}.st-count-value{width:60px}.st-count-manual>.w-32{width:96px}.st-count-manual>button{flex:1 0 100%}}.st-input{height:32px;min-width:0;border:1px solid hsl(var(--input));border-radius:6px;background:hsl(var(--background));padding:0 8px;font-size:13px}.st-input:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:1px}.st-availability{display:inline-flex;align-items:center;gap:3px;border-radius:4px;padding:0 5px;font-size:12px;line-height:18px;white-space:nowrap}.st-availability.is-ok{background:#ecfdf5;color:#065f46}.st-availability.is-partial{background:#fffbeb;color:#92400e}.st-availability.is-none{background:#fff1f2;color:#9f1239}.st-availability.is-loading,.st-availability.is-error{color:hsl(var(--muted-foreground))}.st-coverage{display:inline-flex;align-items:flex-start;gap:3px;max-width:100%;border-radius:4px;padding:1px 5px;font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.st-coverage>svg{margin-top:2px}.st-coverage.is-available{background:#ecfdf5;color:#065f46}.st-coverage.is-unreserved{background:hsl(var(--muted));color:hsl(var(--foreground))}.st-coverage.is-incoming{background:#fffbeb;color:#92400e}.st-coverage.is-uncovered{background:#fff7ed;color:#9a3412}.st-coverage.is-untracked,.st-coverage.is-delivered{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.st-coverage-panel{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.st-coverage-panel table{width:100%;border-collapse:collapse}.st-coverage-panel th{text-align:left;font-size:12px;font-weight:500;color:hsl(var(--muted-foreground));padding:4px 6px;border-bottom:1px solid hsl(var(--border));white-space:nowrap}.st-coverage-panel th.st-number{text-align:right}.st-coverage-panel td{padding:3px 6px;border-bottom:1px solid hsl(var(--border) / .7);vertical-align:top}.st-coverage-detail td{padding-top:0;font-size:12px;color:hsl(var(--muted-foreground))}.st-coverage-totals{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.st-picker{display:flex;flex-direction:column;gap:8px;min-height:0;font-size:13px}.st-picker-status{font-weight:500}.st-picker-scan,.st-picker-actions{display:flex;align-items:center;gap:6px}.st-picker-scan .st-input{flex:1}.st-picker-table{width:100%;border-collapse:collapse}.st-picker-table th{text-align:left;font-size:12px;font-weight:500;color:hsl(var(--muted-foreground));padding:4px 6px;border-bottom:1px solid hsl(var(--border))}.st-picker-table th.st-number{text-align:right}.st-picker-table td{padding:3px 6px;border-bottom:1px solid hsl(var(--border) / .7)}.st-picker-table tr.is-expired td{color:hsl(var(--muted-foreground))}.st-picker-table .st-input{width:96px}.st-picker-occupied{display:block;font-size:11px;color:hsl(var(--muted-foreground))}.st-picker-chips{display:flex;flex-wrap:wrap;gap:4px}.st-picker-sheet{display:flex;flex-direction:column;gap:12px;overflow-y:auto}.st-picker-button.is-pending{border-color:#fde68a}.st-product{display:flex;flex-direction:column;gap:10px;font-size:13px}.st-product-grid{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;align-items:center;gap:8px 12px}.st-product-field{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.st-product-check{display:inline-flex;align-items:center;gap:6px}.st-product-locked{display:inline-flex;align-items:center;gap:4px;color:hsl(var(--muted-foreground));font-size:12px}.st-product-balances{width:100%;max-width:520px;border-collapse:collapse}.st-product-balances caption{text-align:left;font-weight:500;padding-bottom:4px}.st-product-balances th,.st-product-balances td{padding:3px 6px;border-bottom:1px solid hsl(var(--border) / .7);text-align:left}.st-product-balances thead th{font-size:12px;font-weight:500;color:hsl(var(--muted-foreground))}.st-product-balances .st-number{text-align:right}.st-product-codes{display:flex;flex-direction:column;gap:6px}.st-product-codes-title{font-weight:500}.st-product-codes-list{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}.st-product-codes-list li{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.st-product-codes-list .st-input{width:180px}.st-product-codes-error{color:#9f1239;font-size:12px}.st-product-codes-actions{display:flex;flex-wrap:wrap;gap:6px}.st-product-codes-settings .st-input[type=search]{max-width:320px}.st-reservations td{vertical-align:middle}.st-reservation-row{background:#f8fafc;font-size:12px}.st-reserve-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.st-reserve{display:inline-flex;align-items:center;gap:6px}.st-badge.is-none{background:#fffbeb;color:#92400e}.st-badge.is-partial{background:#eff6ff;color:#1e40af}.st-badge.is-full,.st-badge.is-active{background:#ecfdf5;color:#065f46}.st-badge.is-inactive{background:#fef2f2;color:#991b1b}.st-advanced>summary{cursor:pointer;font-weight:500}.st-advanced[open]>summary{margin-bottom:8px}.st-row-error{background:#fff1f2;box-shadow:inset 3px 0 #e11d48}.st-picker-button.is-missing{border-color:#e11d48}.st-page.st-document{--st-line: var(--doc-card-border);--st-text-muted: var(--doc-muted);padding:0;gap:0}.st-document-body{display:flex;flex-direction:column;gap:8px;height:100%;min-height:0}.st-document .st-lines{border-radius:var(--doc-radius);background:hsl(var(--background))}.st-requirements tr.is-group td{background:hsl(var(--muted));padding-top:6px;padding-bottom:6px}.st-requirements-detail>td{background:hsl(var(--muted) / .35);padding:8px 10px 10px 28px}.st-tabbed{display:flex;flex-direction:column;height:100%;min-height:0}.st-tabs{display:flex;gap:4px;padding:6px 12px 0;border-bottom:1px solid hsl(var(--border));flex-shrink:0;font-size:13px}.st-tab{border:0;border-bottom:2px solid transparent;background:none;padding:4px 10px;color:hsl(var(--muted-foreground));cursor:pointer}.st-tab.is-active{border-bottom-color:hsl(var(--primary));color:hsl(var(--foreground));font-weight:500}.st-tab:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:-2px}.st-tabbed-panel{flex:1;min-height:0}.st-history .st-picker-table{flex-shrink:0}
