[hidden]{display:none!important}body{background:#f3f4f8}main{max-width:1600px;padding-top:20px}header{padding:18px 24px}header #back-home{margin-left:auto}.report-panel{background:white;padding:22px;border:1px solid #e7e9ef;border-radius:8px}.report-tabs{display:flex;gap:9px;border-bottom:3px solid #08b4a4;padding-bottom:0;overflow-x:auto}.report-tabs button{background:#f3f4f6;color:#253345;border-radius:8px 8px 0 0;white-space:nowrap;min-height:40px;padding:10px 20px}.report-tabs .selected{color:white;background:#08b4a4;font-weight:bold}.report-filter{display:flex;align-items:end;gap:22px;flex-wrap:wrap;margin:24px 0}.report-filter label{margin:0;flex:1;min-width:165px;max-width:310px;color:#243347}.report-filter button{background:#08b4a4;border-radius:6px;min-width:120px}.report-filter input,.report-filter select{border-color:#dcdfe6;min-height:44px;padding:10px}.report-panel h1{font-size:20px;color:#253345}.report-count{color:#61718a;font-size:14px}.table-scroll{overflow:auto;width:100%;border:1px solid #dbe4ef}.business-table{border-collapse:collapse;width:100%;min-width:950px;text-align:center;font-size:15px;color:#243345}.business-table th{background:#214f8c;color:white;white-space:nowrap;padding:14px 16px;border:1px solid #e8eef6;font-weight:600}.business-table td{border:1px solid #6384b4;padding:14px 12px;max-width:250px;min-width:70px;line-height:1.6}.business-table tbody tr:nth-child(odd){background:#bbccdf}.business-table tbody tr:nth-child(even){background:#f1f5f8}.business-table.green th{background:#247b45}.business-table.green td{border-color:#73a882}.business-table.green tbody tr:nth-child(odd){background:#bdd7c6}.business-table.purple th{background:#4b2c8c}.business-table.purple td{border-color:#9176bb}.business-table.purple tbody tr:nth-child(odd){background:#cec4e0}.business-table.magenta th{background:#862b78}.business-table.magenta td{border-color:#b372ac}.business-table.magenta tbody tr:nth-child(odd){background:#dbc2d7}.business-table .review-cell{font-size:13px;color:#775b25;min-width:160px}.status{white-space:nowrap;color:white;border-radius:5px;padding:5px 9px}.status.done{background:#42bf69}.status.waiting{background:#eea700}.report-pager{display:flex;align-items:center;justify-content:center;gap:20px;margin:25px 0}.report-pager button{background:#08b4a4}.quick-period{display:flex;gap:8px}.quick-period button{background:#f3f4f8;color:#253345;min-width:70px}.board-cards{display:grid;grid-template-columns:1.05fr .8fr 1fr 1.35fr;gap:14px}.metric{background:linear-gradient(145deg,#87b1ff,#e6eeff);padding:24px;color:#244268;min-height:190px;display:flex;flex-direction:column;justify-content:center;gap:12px}.metric strong{font-size:40px;font-weight:500}.metric small{font-size:14px}.stock-value{border-radius:50% 50% 40% 40%;border:10px solid #ab99ff;text-align:center;min-height:280px}.stock-value strong{color:white}.metric-counts{display:grid;gap:14px}.metric-counts .metric{min-height:125px}.metric-counts strong{font-size:33px;color:white}.category-metric{justify-content:start}.donut{width:150px;height:150px;border-radius:50%;margin:5px auto;position:relative}.donut:after{content:'';position:absolute;inset:35px;background:#c9ddff;border-radius:50%}.category-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.category-legend span{display:flex;align-items:center;gap:5px}.category-legend i{display:inline-block;width:11px;height:11px}.issue-value{justify-content:start}.issue-value>div{font-size:28px}.issue-value strong{border:2px solid #00baa6;color:#f14f63;padding:20px 8px;text-align:center;font-size:43px;overflow-wrap:anywhere}.trend-panel{margin-top:14px;background:linear-gradient(#87adff,#edf2ff);padding:20px;color:#254465}.trend-panel h2{font-size:18px;font-weight:400}.trend{display:block;width:100%;height:auto;min-height:180px}.chart-empty{height:230px;display:flex;align-items:center;justify-content:center}.record-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.record-totals>div{background:#eff4ff;padding:20px;display:flex;justify-content:space-between;color:#254465}.record-totals strong{font-size:25px}@media(max-width:1000px){.board-cards{grid-template-columns:repeat(2,1fr)}.stock-value{border-radius:20px}.issue-value strong{font-size:36px}}@media(max-width:600px){.report-panel{padding:12px}.report-tabs button{font-size:15px;padding:10px 14px}.report-filter{gap:10px}.report-filter label{min-width:125px;max-width:none}.report-filter button{flex:1}.metric{padding:15px;min-height:160px}.metric strong{font-size:28px}.stock-value{min-height:225px;border-width:6px}.donut{width:110px;height:110px}.donut:after{inset:25px}.issue-value>div{font-size:21px}.issue-value strong{font-size:27px}.record-totals{grid-template-columns:1fr}.report-tabs{gap:4px}header{flex-wrap:wrap}header #back-home{font-size:14px}main{padding-top:10px}}
[hidden]{display:none!important}.workspace{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:calc(100vh - 70px)}.workspace main{width:100%;min-width:0;margin:0;padding:22px}.sidebar{display:flex;flex-direction:column;flex-wrap:nowrap;gap:12px;max-width:none;margin:0;padding:22px 14px;background:white;border-right:1px solid #e0e4eb;position:sticky;top:0;align-self:start;height:calc(100vh - 70px);overflow-y:auto}.sidebar>button{font-size:22px;font-weight:bold;min-height:66px;text-align:left;padding:16px 18px;width:100%;color:#293e53;background:#f4f6fa;border:0}.sidebar>button.active{background:#0aafa0;color:white}.sidebar>button[data-page=receive]{border-left:5px solid #147d55}.sidebar>button[data-page=pending]{border-left:5px solid #c46616}.sidebar details{margin:0}.sidebar summary{font-size:22px;font-weight:bold;padding:18px;background:#f4f6fa;border-radius:8px;color:#293e53}.sidebar details button{display:block;width:100%;text-align:left;padding:13px 16px;background:white;color:#34556b;border:0;margin:7px 0}.sidebar details button.active{background:#e1f4f0;color:#087568}.board-cards .stock-value{width:min(100%,280px);aspect-ratio:1 / 1;height:auto;min-height:0;border-radius:50%;border:8px solid #ab99ff;align-self:center;justify-self:center;padding:14px;text-align:center;align-items:center;justify-content:center}.stock-value strong{font-size:clamp(22px,2.6vw,38px)}.business-table td:first-child,.business-table td:nth-child(2){white-space:nowrap}.business-table td{min-width:88px}.report-panel{min-width:0}.sidebar b{display:inline-block;background:#ffffff33;border-radius:6px;padding:2px 9px}@media(max-width:900px){.workspace{grid-template-columns:165px minmax(0,1fr)}.workspace main{padding:14px}.sidebar{padding:15px 10px}.sidebar>button,.sidebar summary{font-size:19px;padding:15px 12px}.board-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.workspace{grid-template-columns:108px minmax(0,1fr)}.workspace main{padding:10px 7px}.sidebar{padding:12px 6px;gap:9px}.sidebar>button,.sidebar summary{font-size:16px;padding:14px 8px;min-height:56px}.sidebar details button{font-size:14px;padding:12px 6px}.board-cards{grid-template-columns:1fr}.board-cards .stock-value{width:min(100%,225px)}.stock-value strong{font-size:30px}.report-filter label{min-width:100%;max-width:100%}.report-tabs button{font-size:14px}.warehouse-primary{grid-template-columns:1fr}.hero-action{min-height:130px}.formgrid{grid-template-columns:1fr}header{padding:14px}header b{font-size:18px}header span{font-size:13px}.metric-counts{grid-template-columns:1fr 1fr}.metric-counts strong{font-size:24px}.report-pager{gap:8px}.report-pager button{padding:12px 10px;font-size:14px}}
.sidebar>button[data-page="receive"],.sidebar>button[data-page="receive"].active{background:#159447;color:white;border-color:#159447;font-weight:700}
.sidebar>button[data-page="pending"],.sidebar>button[data-page="pending"].active{background:#ffda55;color:#493900;border-color:#e9bf26;font-weight:700}
.sidebar .pending-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 6px;border-radius:16px;background:#fff4c3;color:#493900}
.sidebar .pending-count.urgent{background:#de3030;color:white}
.pending-row{padding:10px 14px;margin:8px 0}.pending-meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:14px}.pending-note{font-size:13px;color:#666;margin:4px 0}
.pending-table{border-collapse:collapse;width:100%;font-size:14px}.pending-table th,.pending-table td{padding:6px 10px;text-align:left;border-bottom:1px solid #e3e8ee}.pending-table th{background:#eef4f8}.pending-table select{margin:0;padding:6px;min-width:190px}.pending-row button{margin-top:6px}
.add-person{font-size:28px;line-height:1;width:45px;height:45px;padding:0}.item-parameters{background:#f2f7f5;padding:12px;border-radius:10px;margin-top:10px}.item-parameters h2{font-size:17px;margin:0 0 8px}.item-parameters dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.item-parameters dt{color:#6c7771;font-size:13px}.item-parameters dd{margin:3px 0;overflow-wrap:anywhere}.batch-errors{color:#b72121;background:#fff1f1;padding:12px;margin-bottom:10px}#batchPaste{font-size:14px;white-space:pre;overflow:auto}
@media(max-width:600px){.item-parameters dl{grid-template-columns:repeat(2,minmax(0,1fr))}.pending-meta{gap:5px 10px}.pending-table{min-width:520px}}
.export-button{display:inline-block;border-radius:6px;background:#147d55;color:white!important;padding:10px 15px;text-decoration:none;margin:6px 0}.report-pager{flex-wrap:wrap;gap:8px}.report-pager .current-page{background:#214f8c;color:white;opacity:1}.identity-info{background:#edf7f1;padding:12px;border-radius:8px;margin-bottom:15px}
.public-request{max-width:900px}.request-person{display:flex;align-items:center;gap:16px;margin:8px 0 20px;color:#385246}.request-person b{font-size:22px}.request-search{padding:18px;background:#e2f5eb;border:2px solid #159447;border-radius:12px;margin-bottom:18px}.request-search label{font-size:22px;font-weight:bold;color:#116639;margin:0 0 10px}.request-search input{font-size:21px;border:2px solid #159447;background:white;min-height:62px;margin:0;padding:15px}.request-search input:focus{outline:3px solid #a4debb;outline-offset:2px}.request-selection .line:first-child{border-top:0}.request-selection input:invalid{border-color:#d73333}.request-pager{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.request-pager button{font-size:16px;padding:10px 15px}.request-record{padding:12px 16px}.request-record p{margin:5px 0;font-size:13px}.no-results{padding:16px}header #myRecords{margin-left:auto;font-size:16px;padding:10px 14px;background:#147d55;white-space:nowrap}@media(max-width:600px){header #myRecords{font-size:14px;padding:9px 10px}.request-search{padding:13px}.request-search label{font-size:20px}.request-search input{font-size:18px;min-height:58px}.request-selection .row label{max-width:135px}.request-record .row{gap:8px}}

/* Calm, compact warehouse overview */
.overview-panel{background:#f8fafb;border-color:#e2e9ed;border-radius:16px;padding:16px;box-shadow:0 4px 20px #193c4810}.overview-panel>h1{display:none}.overview-panel .report-tabs{border-color:#4e9b8a;gap:7px}.overview-panel .report-tabs button{min-height:36px;padding:7px 16px;background:#edf2f4;color:#4a6571}.overview-panel .report-tabs .selected{background:#327f71;color:#fff}.overview-panel .report-filter{margin:12px 0;gap:10px}.overview-panel .report-filter label{font-size:13px;min-width:130px;max-width:210px}.overview-panel .report-filter input{min-height:36px;padding:6px 10px}.overview-panel .report-filter button{min-height:36px;padding:7px 14px;min-width:66px;font-size:14px;background:#327f71}.overview-panel .quick-period button{background:#e9f1ef;color:#316d61}.overview-panel .board-cards{grid-template-columns:1fr .9fr 1.15fr 1.3fr;gap:12px;align-items:stretch}.overview-panel .metric{background:linear-gradient(135deg,#edf6f3,#fff);border:1px solid #dceae5;border-radius:14px;padding:16px;color:#315c55;min-height:0;gap:8px}.overview-panel .stock-value{width:min(100%,180px);aspect-ratio:1;border:7px solid #80b7a8;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff,#dcefe7);box-shadow:0 0 0 7px #edf5f1}.overview-panel .stock-value strong{color:#236b59;font-size:clamp(22px,2.4vw,34px);font-weight:700}.overview-panel .metric-counts{gap:10px}.overview-panel .metric-counts .metric{background:linear-gradient(135deg,#eff4fa,#fff);border-color:#dfe8f1}.overview-panel .metric-counts strong{font-size:30px;color:#52789d;font-weight:700}.overview-panel .category-metric{background:linear-gradient(135deg,#f5f3fa,#fff);border-color:#e6e1f0;text-align:center;gap:6px}.overview-panel .donut{width:110px;height:110px;flex-shrink:0;margin:2px auto}.overview-panel .donut:after{inset:25px;background:#faf9fd}.overview-panel .category-legend{justify-content:center;font-size:12px;gap:5px 12px}.overview-panel .category-legend i{border-radius:3px}.overview-panel .issue-value{background:linear-gradient(135deg,#fcf5e9,#fff);border-color:#eee2cb;justify-content:center;color:#80673e}.overview-panel .issue-value>div{font-size:17px}.overview-panel .issue-value strong{border:0;padding:0;text-align:left;color:#9c7945;font-size:32px;font-weight:700;line-height:1.2}.overview-panel .issue-value small{font-size:12px;line-height:1.6}.overview-panel .issue-value p{margin:0;font-size:14px;color:#8c703f}.overview-panel .trend-panel{margin-top:12px;border:1px solid #dde8ee;border-radius:14px;background:linear-gradient(180deg,#edf4f8,#fff);padding:12px 16px;color:#486b82}.overview-panel .trend-panel h2{margin:0 0 4px;font-size:16px;font-weight:600}.overview-panel .trend{height:clamp(110px,19vh,180px);min-height:0;width:100%}.overview-panel .trend-panel .muted{font-size:11px;margin:4px 0 0;color:#748995}.overview-panel .chart-empty{height:140px}.overview-panel .record-totals{gap:12px;margin-top:12px}.overview-panel .record-totals>div{padding:12px 16px;border:1px solid #e0e9e9;border-radius:12px;background:#fff;align-items:center;color:#51716e;font-size:14px}.overview-panel .record-totals strong{font-size:23px;color:#327f71}.overview-panel .board-cards{min-height:190px}
@media(min-width:1100px){body:has(.overview-panel) header{min-height:52px;padding:12px 24px}body:has(.overview-panel) .workspace{min-height:calc(100vh - 60px)}body:has(.overview-panel) .workspace main{padding:14px 18px}.overview-panel .board-cards{height:clamp(170px,25vh,210px);min-height:170px}.overview-panel .stock-value{width:min(100%,clamp(150px,22vh,180px))}.overview-panel .metric{overflow:hidden}}
@media(max-width:1099px){.overview-panel .board-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-panel .metric{min-height:170px}.overview-panel .stock-value{min-height:0}.overview-panel .trend{height:180px}}
@media(max-width:600px){.overview-panel{padding:10px}.overview-panel .board-cards{grid-template-columns:1fr}.overview-panel .metric-counts{grid-template-columns:1fr 1fr}.overview-panel .metric-counts .metric{min-height:100px}.overview-panel .report-filter{flex-wrap:wrap}.overview-panel .record-totals{grid-template-columns:1fr}.overview-panel .trend-panel{padding:10px}.overview-panel .metric strong{font-size:26px}}

@media(min-width:760px) and (max-width:1099px){body:has(.overview-panel) header{padding:10px 16px;min-height:48px}body:has(.overview-panel) .workspace{grid-template-columns:145px minmax(0,1fr);min-height:calc(100vh - 52px)}body:has(.overview-panel) .workspace main{padding:8px}.overview-panel{padding:12px}.overview-panel .board-cards{grid-template-columns:1fr .8fr 1.1fr 1.2fr;gap:7px;height:170px;min-height:170px}.overview-panel .metric{padding:10px;min-height:0;gap:5px;font-size:13px;overflow:hidden}.overview-panel .metric-counts{gap:7px}.overview-panel .metric-counts .metric{min-height:0}.overview-panel .metric-counts strong{font-size:24px}.overview-panel .stock-value{width:min(100%,130px);border-width:5px}.overview-panel .stock-value strong{font-size:22px}.overview-panel .metric small{font-size:11px}.overview-panel .donut{width:80px;height:80px}.overview-panel .donut:after{inset:19px}.overview-panel .category-legend{font-size:10px;gap:4px}.overview-panel .issue-value>div{font-size:14px}.overview-panel .issue-value strong{font-size:24px}.overview-panel .issue-value p{font-size:12px}.overview-panel .report-tabs{gap:4px}.overview-panel .report-tabs button{font-size:14px;padding:6px 10px;min-height:34px}.overview-panel .report-filter{margin:9px 0;gap:6px}.overview-panel .report-filter label{font-size:12px;min-width:100px;max-width:140px}.overview-panel .report-filter input{min-height:32px;padding:4px 6px}.overview-panel .report-filter button{font-size:12px;padding:6px 9px;min-height:32px;min-width:48px}.overview-panel .quick-period{gap:4px}.overview-panel .trend-panel{padding:10px;margin-top:9px}.overview-panel .trend{height:110px}.overview-panel .trend-panel h2{font-size:14px}.overview-panel .record-totals{gap:7px;margin-top:9px}.overview-panel .record-totals>div{padding:10px;font-size:12px}.overview-panel .record-totals strong{font-size:20px}}



.request-qr-inline{float:right;display:block;width:128px;height:128px;margin:0 12px 10px 18px;background:white}.request-qr-inline img{display:block;width:100%;height:100%;object-fit:contain}.request-report-panel #report-content>.table-scroll{clear:both}.request-report-panel:after{content:"";display:block;clear:both}@media(max-width:600px){.request-qr-inline{width:110px;height:110px;margin-right:0;margin-left:10px}}
.pending-table td{vertical-align:middle}.pending-table .pending-action{width:68px;white-space:nowrap}.pending-table .pending-signature{width:100px}.pending-table .pending-action button{margin:0;padding:7px 14px}.pending-row button.signature-thumbnail{display:block;width:88px;height:44px;padding:2px;margin:0;border:1px solid #d9e2e8;border-radius:5px;background:#fff;cursor:zoom-in}.signature-thumbnail svg{display:block;width:100%;height:100%}.signature-dialog{width:min(940px,94vw);max-height:90vh;padding:18px;border:0;border-radius:12px;box-shadow:0 16px 60px #102c4450}.signature-dialog::backdrop{background:#10203088}.signature-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.signature-dialog-heading button{margin:0}.signature-dialog>svg{display:block;width:100%;max-height:70vh;aspect-ratio:2/1;background:#fff;border:1px solid #e3e8ee;border-radius:6px}
.pending-table .pending-action{width:128px}.pending-table .pending-action button+button{margin-left:6px}

.filtered-value{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:12px 16px;margin:14px 0;border:1px solid #dce9e4;border-radius:9px;background:#f0f7f4;color:#315e51}.filtered-value strong{font-size:23px;font-weight:700;color:#23755b}.filtered-value small{font-size:12px;color:#6e7f77}.overview-panel{position:relative}.board-qr{position:absolute;right:16px;top:14px;width:104px;height:104px;display:block;background:#fff;border-radius:6px;padding:3px}.board-qr img{display:block;width:100%;height:100%}.overview-panel .report-tabs,.overview-panel .report-filter{padding-right:120px}@media(max-width:1099px){.board-qr{width:84px;height:84px;right:12px;top:12px}.overview-panel .report-tabs,.overview-panel .report-filter{padding-right:96px}}@media(max-width:600px){.overview-panel .report-tabs{margin-right:92px;padding-right:0}.overview-panel .report-filter{padding-right:0;margin-top:50px}.filtered-value strong{font-size:20px}}

.report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}.report-actions .export-button{margin:0}.filtered-quantity{display:inline-flex;gap:8px;align-items:center;color:#315e51;padding:8px 14px;background:#f0f7f4;border:1px solid #dce9e4;border-radius:7px}.filtered-quantity strong{font-size:20px;color:#23755b}

.filtered-quantity{flex-wrap:wrap}.filtered-quantity small{flex-basis:100%;font-size:12px;color:#6e7f77}
