.warehouse-report-heading,.warehouse-report-operation-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0}
.warehouse-report-heading h2{font-size:21px;margin:0}.warehouse-report-heading p{margin:4px 0 0;font-size:12px}
.warehouse-report-export,.warehouse-invoice-footer a{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:8px;text-decoration:none;color:var(--primary);background:var(--control);font-size:12px;white-space:nowrap}
.warehouse-report-export:hover,.warehouse-invoice-footer a:hover{background:var(--hover)}
.warehouse-report-filters{display:flex;align-items:end;flex-wrap:wrap;gap:13px;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.warehouse-report-filters label{flex:1;min-width:150px;font-size:11px;gap:7px}.warehouse-report-filters input{min-height:35px;width:100%}.warehouse-report-filters button[type=submit]{min-height:35px}
#warehouse-report-status{margin:14px 1px;font-size:11px;min-height:17px}.warehouse-report-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-bottom:22px}
.warehouse-report-metric{display:flex;flex-direction:column;gap:9px;padding:23px 24px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(125deg,var(--panel),var(--chrome));min-width:0}
.warehouse-report-metric>span{font-size:12px;color:var(--secondary-ink)}.warehouse-report-metric>strong{font-size:clamp(23px,2.3vw,34px);font-weight:500;letter-spacing:-.5px}.warehouse-report-metric>small{font-size:11px;color:var(--muted)}
.warehouse-report-metric[data-tone=budget]{background:linear-gradient(125deg,#203b5c,var(--panel));border-color:#3a5577}.warehouse-report-metric[data-tone=disposal]>strong{color:var(--warm)}
.warehouse-report-charts{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:20px}.warehouse-report-chart{min-width:0;border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--panel)}
.warehouse-report-chart h3,.warehouse-report-operations h3{font-size:16px;font-weight:500;margin:0}.warehouse-report-chart-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:16px}.warehouse-report-chart-heading>span{font-size:10px}
#warehouse-budget-chart{display:block;width:100%;height:215px}.warehouse-report-category{display:grid;gap:9px;margin-top:23px}.warehouse-report-category>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.warehouse-report-category strong{font-weight:450}.warehouse-report-category progress{height:7px;width:100%;accent-color:#91bdf0}.warehouse-report-category small{font-size:10px}
.warehouse-report-plot{position:relative;min-width:0}#warehouse-budget-chart{cursor:crosshair;border-radius:8px}#warehouse-budget-chart:focus-visible{outline:1px solid var(--accent);outline-offset:4px}.warehouse-budget-tooltip{position:absolute;z-index:5;width:236px;max-width:calc(100% - 16px);padding:15px 17px;border:1px solid #536b8b;border-radius:12px;background:linear-gradient(135deg,#253b57f5,#142338fa);backdrop-filter:blur(12px);box-shadow:0 10px 30px #0005,0 1px 0 #d6e6ff13 inset;pointer-events:none;color:var(--primary)}.warehouse-budget-tooltip>p{margin:0 0 11px;color:#c3d7f0;font-size:11px;font-weight:450;text-transform:capitalize}.warehouse-budget-tooltip-total{display:grid;gap:3px}.warehouse-budget-tooltip-total>span{font-size:11px;color:#b5c6de}.warehouse-budget-tooltip-total>strong{font-size:23px;font-weight:550;letter-spacing:-.4px;line-height:1.3}.warehouse-budget-tooltip-counts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:13px;padding-top:11px;border-top:1px solid #819fc833}.warehouse-budget-tooltip-counts>span{display:grid;gap:4px;color:#b5c6de;font-size:10px}.warehouse-budget-tooltip-counts strong{font-size:12px;font-weight:450;color:#e9f2ff}
@media(prefers-reduced-motion:no-preference){.warehouse-budget-tooltip:not([hidden]){animation:warehouse-tooltip-in .12s ease-out}@keyframes warehouse-tooltip-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
#warehouse-report-data-toggle{display:flex;align-items:center;gap:9px;font-size:11px;padding:8px 0;margin-top:10px}#warehouse-report-data-toggle[aria-expanded=true] .nav-chevron{transform:rotate(180deg)}
#warehouse-report-chart-data{max-height:240px;overflow:auto;margin-top:10px}#warehouse-report-chart-data table{width:100%;border-collapse:collapse;font-size:11px}#warehouse-report-chart-data :is(td,th){padding:9px;text-align:left;border-bottom:1px solid var(--line)}
.warehouse-report-operations{margin-top:26px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.warehouse-report-operation-heading{padding:17px 22px;margin:0;background:var(--chrome);border-bottom:1px solid var(--line)}
#warehouse-report-rows{margin:0;padding:0;list-style:none}.warehouse-report-row{display:flex;justify-content:space-between;gap:20px;padding:17px 22px}.warehouse-report-row+.warehouse-report-row{border-top:1px solid var(--line)}.warehouse-report-row>div:first-child{min-width:0}.warehouse-report-row>div>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.warehouse-report-row>div>div:nth-child(2){display:grid;gap:5px;margin-top:4px}.warehouse-report-row small,.warehouse-report-note{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.warehouse-report-item{border:0;background:transparent;padding:0;min-height:25px;font-size:13px;text-align:left;overflow-wrap:anywhere}.warehouse-report-item:hover{color:var(--accent);text-decoration:underline;background:transparent}.warehouse-report-row-value{display:flex;flex-direction:column;align-items:end;gap:4px;flex-shrink:0}.warehouse-report-row-value strong{font-size:13px;font-weight:450}.warehouse-report-row-value span{font-size:11px}.warehouse-report-unpriced{color:var(--warm)}.warehouse-stage[data-stage=disposal]{color:var(--warm);background:#efc89313}.warehouse-stage[data-stage=purchase]{color:var(--positive);background:#95dfba13}
.warehouse-report-empty{padding:28px 22px;font-size:12px}#warehouse-report-more{margin:12px 22px}.warehouse-report-explanation{font-size:11px;max-width:950px;line-height:1.7;margin:16px 0}
.warehouse-report-row{transition:background .14s ease}.warehouse-report-row:hover{background:#9bbbea08}.warehouse-report-row .warehouse-report-item:is(:hover,:focus-visible){background:transparent;color:var(--primary);text-decoration:none;box-shadow:none}.warehouse-report-row .warehouse-report-item:focus-visible{outline:none}.warehouse-report-row:has(.warehouse-report-item:focus-visible){outline:1px solid var(--accent);outline-offset:-3px;border-radius:9px}
.warehouse-report-category progress{appearance:none;border:0;border-radius:8px;overflow:hidden;background:var(--line)}.warehouse-report-category progress::-webkit-progress-bar{background:var(--line);border-radius:8px}.warehouse-report-category progress::-webkit-progress-value{background:linear-gradient(90deg,#668fc4,#aacfff);border-radius:8px}.warehouse-report-category progress::-moz-progress-bar{background:#91bdf0;border-radius:8px}
.warehouse-invoice-list{list-style:none;margin:8px 0;padding:0}.warehouse-invoice-list>li+li{border-top:1px solid var(--line)}.warehouse-invoice-link{display:flex;align-items:center;gap:13px;width:100%;padding:14px 12px;border:0;background:transparent;text-align:left}.warehouse-invoice-link>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.warehouse-invoice-link strong{font-weight:450;font-size:13px;overflow-wrap:anywhere}.warehouse-invoice-link small{font-size:11px}.warehouse-invoice-link>.nav-icon{color:#a6c9f5}.warehouse-invoice-link:hover{background:var(--hover)}
#warehouse-invoice-form{display:grid;gap:20px}#warehouse-invoice-form .warehouse-fields label{font-size:12px;gap:7px}#warehouse-invoice-form :is(input:not([type=checkbox]),textarea){width:100%}.warehouse-invoice-upload{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 17px;border:1px dashed var(--line-strong);border-radius:12px;background:#80ace70a;cursor:pointer;font-size:12px}.warehouse-invoice-upload>span:last-of-type{font-size:11px;color:var(--muted)}.warehouse-invoice-upload>.nav-icon{margin-bottom:5px;width:24px;height:26px;color:#a6c9f5}.warehouse-invoice-upload:focus-within,.warehouse-invoice-upload:hover{background:var(--hover);border-color:var(--accent)}.warehouse-invoice-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.warehouse-invoice-upload strong{font-weight:500}
#warehouse-invoice-draft:empty{display:none}#warehouse-invoice-draft{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;border-radius:9px;background:var(--field);font-size:12px}#warehouse-invoice-draft>strong{overflow-wrap:anywhere;font-weight:450;flex:1}#warehouse-invoice-draft>img{width:100%;max-height:180px;object-fit:contain}.warehouse-invoice-item-picker{display:grid;gap:10px}.warehouse-invoice-item-picker h3{font-size:14px;margin:0}.warehouse-invoice-item-picker .warehouse-cover-head{padding:0}#warehouse-invoice-selected{font-size:11px}
#warehouse-invoice-items{max-height:280px;overflow:auto;list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:10px}#warehouse-invoice-items>li+li{border-top:1px solid var(--line)}#warehouse-invoice-items label{display:flex;flex-direction:row;align-items:center;gap:12px;cursor:pointer;padding:12px}#warehouse-invoice-items label:has(:checked){background:#9caef114}#warehouse-invoice-items input{width:16px;height:16px;accent-color:var(--accent);flex-shrink:0}#warehouse-invoice-items label>span{display:grid;gap:3px;min-width:0}#warehouse-invoice-items strong{font-size:12px;font-weight:450;overflow-wrap:anywhere}#warehouse-invoice-items small{font-size:10px}.warehouse-invoice-hint{font-size:11px;line-height:1.7}
.warehouse-invoice-footer{display:flex;gap:12px;align-items:center;padding:16px 24px;border-top:1px solid var(--line);background:var(--chrome)}#warehouse-invoice-status{font-size:12px;line-height:1.7;margin:0 0 15px}#warehouse-invoice-status:empty{display:none}#warehouse-invoice-meta{font-size:12px;line-height:1.7}#warehouse-invoice-preview{margin:18px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}#warehouse-invoice-preview>img{display:block;width:100%;height:auto}#warehouse-invoice-preview>iframe{display:block;border:0;width:100%;height:55vh;min-height:350px}#warehouse-invoice-reader h3{font-size:14px;margin-top:25px}#warehouse-invoice-related{padding:0;list-style:none}#warehouse-invoice-related>li{padding:12px 0;border-bottom:1px solid var(--line);display:grid;gap:4px}#warehouse-invoice-related strong{font-size:12px;font-weight:450}#warehouse-invoice-related small{font-size:11px}
@media(max-width:1050px){.warehouse-report-summary{grid-template-columns:1fr 1fr}.warehouse-report-metric:first-child{grid-column:1/-1}.warehouse-report-charts{grid-template-columns:1fr}}
@media(max-width:580px){.warehouse-report-heading{align-items:start;flex-wrap:wrap}.warehouse-report-summary{gap:10px}.warehouse-report-metric{padding:17px}.warehouse-report-metric>strong{font-size:24px}.warehouse-report-chart{padding:15px}.warehouse-report-chart-heading{align-items:start;flex-direction:column;gap:5px}.warehouse-report-row{padding:15px;gap:12px}.warehouse-report-operation-heading{padding:15px;align-items:start;flex-direction:column}.warehouse-report-row>div>div{gap:5px}.warehouse-invoice-footer{padding:15px 17px}}
@media(prefers-reduced-motion:no-preference){.warehouse-report-metric,.warehouse-report-chart{animation:warehouse-report-appear .24s ease both}.warehouse-report-metric:nth-child(2){animation-delay:.04s}.warehouse-report-metric:nth-child(3){animation-delay:.08s}@keyframes warehouse-report-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}}
.warehouse-pdf-toolbar{display:flex;align-items:center;gap:7px;padding:9px;background:var(--chrome);color:var(--primary);border-bottom:1px solid var(--line)}.warehouse-pdf-toolbar>span{flex:1;text-align:center;font-size:11px}.warehouse-pdf-toolbar button{min-width:30px;min-height:30px;padding:2px 8px;font-size:17px}.warehouse-pdf-surface{padding:12px;max-height:57vh;min-height:220px;overflow:auto;scrollbar-gutter:stable;background:#354054}.warehouse-pdf-surface>canvas{display:block;margin:0 auto;background:#fff;box-shadow:0 2px 9px #0003;max-width:none}.warehouse-pdf-feedback{padding:30px 18px;line-height:1.7;color:var(--primary);font-size:12px}
#warehouse-opening-document{display:grid;gap:13px;border-top:1px solid var(--line);padding-top:15px;margin-bottom:5px}#warehouse-opening-document-draft:empty{display:none}#warehouse-opening-document-draft{display:flex;gap:11px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--field)}#warehouse-opening-document-draft>span:nth-child(2){display:grid;flex:1;min-width:0;gap:3px}#warehouse-opening-document-draft strong{overflow-wrap:anywhere;font-size:12px;font-weight:450}#warehouse-opening-document-draft small{font-size:10px}
.warehouse-document-mode{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;background:var(--field);border:1px solid var(--line);border-radius:11px}.warehouse-document-mode button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:37px;padding:7px 12px;border:1px solid transparent;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.warehouse-document-mode button[aria-pressed=true]{background:#2c4260;border-color:#526b8f;color:var(--primary);box-shadow:0 2px 7px #0002}.warehouse-document-mode .nav-icon{width:16px;height:16px;color:inherit}.warehouse-document-mode button:hover{color:var(--primary)}
#warehouse-opening-document-new{display:grid;gap:15px}#warehouse-opening-document-new>label:first-child{gap:8px}#warehouse-opening-document .warehouse-invoice-upload{margin:0;padding:25px 18px;gap:9px;border-radius:12px;line-height:1.5}#warehouse-opening-document .warehouse-invoice-upload>.nav-icon{width:23px;height:25px;margin-bottom:5px;color:#a8c9f1}#warehouse-opening-document .warehouse-invoice-upload strong{font-size:12px;line-height:1.6}#warehouse-opening-document-existing{display:grid;gap:12px}.warehouse-saved-document-open{display:flex;align-items:center;gap:11px;width:100%;padding:12px 13px;min-height:50px;text-align:left;border-color:var(--line-strong);background:var(--field)}.warehouse-saved-document-open>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.warehouse-saved-document-open>.nav-icon{color:#abc9ef}.warehouse-saved-document-open>.nav-chevron{flex:none;margin-left:5px}#warehouse-saved-document-info{font-size:11px;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}#warehouse-saved-document-selection>.save-row{gap:8px}#warehouse-saved-document-selection button{font-size:11px}
#warehouse-saved-document-picker{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #526985;border-radius:12px;background:var(--panel);color:var(--primary);box-shadow:0 15px 44px #0006;overflow:hidden}#warehouse-saved-document-picker:popover-open{display:flex;flex-direction:column}.warehouse-saved-document-search{display:flex;align-items:center;gap:11px;flex:none;padding:12px;border-bottom:1px solid var(--line);background:var(--chrome)}.warehouse-saved-document-search>.nav-icon{color:var(--secondary-ink);width:16px;height:16px}.warehouse-saved-document-search .icon-search::before{width:10px;height:10px;left:0;top:0;border:1px solid currentColor;border-radius:50%}.warehouse-saved-document-search .icon-search::after{width:6px;left:10px;top:11px;border-bottom:1px solid currentColor;transform:rotate(45deg)}#warehouse-saved-document-search{width:100%;min-width:0;min-height:33px;font-size:12px}#warehouse-saved-document-status{margin:0;padding:12px 15px;font-size:11px;line-height:1.6}#warehouse-saved-document-status:empty{display:none}#warehouse-saved-document-results{list-style:none;margin:0;padding:5px;min-height:0;overflow:auto;overscroll-behavior:contain}.warehouse-saved-document-option{display:flex;align-items:center;gap:12px;padding:13px 11px;border-radius:8px;cursor:pointer}.warehouse-saved-document-option>.nav-icon{color:#a8c9f1}.warehouse-saved-document-option>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}.warehouse-saved-document-option strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.warehouse-saved-document-option small{font-size:10px;line-height:1.6;overflow-wrap:anywhere}.warehouse-saved-document-option:is(:hover,[data-active]){background:var(--hover)}.warehouse-saved-document-option[aria-selected=true]{background:#36547a55}.warehouse-saved-document-option[aria-disabled=true]{opacity:.45;cursor:default}.warehouse-saved-document-mark{font-size:10px;color:var(--accent);flex:none}#warehouse-saved-document-more{flex:none;margin:5px 10px 10px;font-size:11px}#warehouse-editor-documents{padding-bottom:14px;border-bottom:1px solid var(--line)}#warehouse-editor-documents h4{margin:0 0 8px;font-size:12px;font-weight:500}
@media(prefers-reduced-motion:no-preference){#warehouse-saved-document-picker:popover-open{animation:picker-in .12s ease-out}}
