.storage-billing .panel-header{align-items:flex-start;gap:16px;flex-wrap:wrap}.storage-billing .panel-body{display:grid;gap:14px}.storage-billing p{margin:0}.storage-billing .button-row{flex-wrap:wrap}.storage-billing-help{color:var(--muted,#647780);font-size:var(--text-secondary);line-height:1.6}.storage-billing-summary{display:flex;align-items:baseline;gap:8px 24px;flex-wrap:wrap;font-size:var(--text-body)}.storage-billing-summary strong{font-size:var(--text-heading)}.storage-billing-form,.storage-billing-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.storage-billing-form label,.storage-billing-toolbar label{display:grid;gap:6px;font-size:var(--text-secondary)}.storage-billing-form input,.storage-billing-form select{min-width:170px}.storage-billing-form{padding:14px;border:1px solid var(--border,#dfe8eb);border-radius:8px;background:var(--surface-alt,#f5f8f8)}.storage-billing-form .button-row,.storage-billing-form .storage-billing-help{flex-basis:100%}.storage-billing-error{color:#8a362b;background:#fff1ee;border:1px solid #f0d2ca;border-radius:7px;padding:10px 12px;font-size:var(--text-body)}.storage-billing-history>summary{cursor:pointer;font-size:var(--text-body);font-weight:var(--weight-medium);padding:8px 0}.storage-billing-history ol{padding-left:20px;display:grid;gap:9px;font-size:var(--text-secondary)}.storage-billing-history time{font-weight:var(--weight-medium);margin-right:8px}.storage-billing-history small{display:block;color:var(--muted,#647780);margin-top:3px}.storage-billing-scroll{overflow:auto;max-height:70vh;border-top:1px solid var(--border,#dfe8eb)}.storage-billing-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:var(--text-secondary)}.storage-billing-table th,.storage-billing-table td{padding:9px 12px;border-bottom:1px solid var(--border,#e4ebed);text-align:right;white-space:nowrap;min-width:90px}.storage-billing-table th{font-weight:var(--weight-medium)}.storage-billing-table thead th{position:sticky;background:var(--surface-alt,#f3f7f7);top:0;z-index:3;height:54px}.storage-billing-table thead tr:nth-child(2) th{top:54px;font-size:var(--text-table);letter-spacing:.04em;text-transform:uppercase;font-weight:var(--weight-medium);color:var(--muted,#647780);height:31px}.storage-billing-table th[colspan]{text-align:center;border-left:1px solid var(--border,#e4ebed)}.storage-billing-table .storage-billing-product{position:sticky;left:0;text-align:left;background:var(--surface,#fff);min-width:280px;max-width:340px;z-index:2;border-right:1px solid var(--border,#dfe8eb)}.storage-billing-table thead .storage-billing-product{z-index:5;background:var(--surface-alt,#f3f7f7)}.storage-billing-table tfoot th,.storage-billing-table tfoot td{position:sticky;bottom:0;background:var(--surface-alt,#f3f7f7);z-index:3;border-top:1px solid var(--border,#dfe8eb);font-weight:var(--weight-medium)}.storage-billing-table tfoot .storage-billing-product{z-index:5}.storage-billing-product-content{display:flex;align-items:center;gap:10px;white-space:normal}.storage-billing-photo{display:grid;place-items:center;flex:none;width:42px;height:52px;overflow:hidden;border-radius:5px;background:#edf2f3;color:var(--muted,#647780);font-size:var(--text-secondary);text-align:center}.storage-billing-photo img{width:100%;height:100%;object-fit:cover}.storage-billing-product-content strong{display:block;font-size:var(--text-secondary)}.storage-billing-product-content small{display:block;margin-top:4px;font-size:var(--text-secondary);color:var(--muted,#647780);line-height:1.4}.storage-billing-day-start{border-left:1px solid var(--border,#dfe8eb)}.storage-billing-unknown{color:#966713}.storage-billing-partial{font-size:var(--text-secondary);font-weight:var(--weight-normal);display:block;color:#966713;margin-top:3px}.storage-billing-preliminary{font-size:var(--text-secondary);font-weight:var(--weight-normal);display:block;color:var(--muted,#647780);margin-top:3px}.storage-billing-empty{padding:24px;color:var(--muted,#647780)}@media(max-width:760px){.storage-billing-table .storage-billing-product{min-width:190px;max-width:230px}.storage-billing-photo{width:30px;height:40px}.storage-billing-table th,.storage-billing-table td{min-width:76px;padding:8px}.storage-billing-form{display:grid;grid-template-columns:1fr}.storage-billing-form input,.storage-billing-form select{min-width:0;width:100%}.storage-billing-toolbar label{flex:1;min-width:130px}}
.storage-billing-table tbody .storage-billing-product,.storage-billing-table tfoot .storage-billing-product{text-transform:none;letter-spacing:normal;color:var(--text,#243b45);font-size:var(--text-secondary)}
.storage-billing-table th,.storage-billing-table td{padding:6px 10px;vertical-align:middle}.storage-billing-table .storage-billing-product{min-width:220px;max-width:270px}.storage-billing-product-content{gap:8px;min-height:32px}.storage-billing-product-content>div{min-width:0;max-width:220px}.storage-billing-product-content strong,.storage-billing-product-content small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-billing-product-content small{margin-top:2px;line-height:1.2}.storage-billing-photo,.storage-billing-photo img{width:26px!important;height:32px!important;max-width:26px!important;max-height:32px!important;min-height:0!important;object-fit:contain}.storage-billing-prices td{min-width:110px}.storage-billing-prices thead th{padding:8px 10px}.storage-billing-prices-note{padding:8px 14px!important;color:var(--muted,#647780);font-size:var(--text-secondary);line-height:1.4}.storage-box-quantity{display:inline-flex;align-items:center;gap:4px}.storage-box-quantity input{width:64px;min-height:var(--control-compact);height:var(--control-compact);padding:4px 6px;font-size:var(--text-body)}.storage-box-quantity .btn{min-height:var(--control-compact);height:var(--control-compact);padding:4px 7px}.storage-billing-form-compact{padding:0;border:0;background:transparent;gap:8px 12px}.storage-billing-form-compact label{flex:0 1 160px;min-width:120px}.storage-billing-form-compact input,.storage-billing-form-compact select{min-width:0;width:100%;min-height:var(--control-compact)}.storage-billing-form-compact .button-row{flex-basis:auto}.storage-billing-form-note{margin:8px 0 14px!important}.storage-billing-history h3{font-size:var(--text-heading);margin:12px 0 8px}.storage-billing-history-scroll{overflow:auto}.storage-billing-history table{width:100%;border-collapse:collapse;font-size:var(--text-table)}.storage-billing-history th,.storage-billing-history td{padding:7px 10px;text-align:left;border-bottom:1px solid var(--border,#dfe8eb);white-space:nowrap}.storage-billing-history td:last-child{display:flex;gap:6px;justify-content:end}.storage-tariff-embedded{display:block}.storage-billing .panel-body:empty{display:none}.billing-tariff-selectors,.billing-tariff-export{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.billing-tariff-selectors label,.billing-tariff-export label{display:grid;gap:5px;font-size:var(--text-secondary)}.billing-tariff-selectors select{min-height:var(--control-compact);max-width:280px}.billing-tariff-export{margin-bottom:16px}.billing-tariff-export input{min-height:var(--control-compact);font-size:var(--text-body)}.billing-inline-tariff .form-grid{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.billing-inline-tariff .form-grid label{flex:0 1 170px}.billing-inline-tariff p,.billing-tariffs-compact .panel-body>p{font-size:var(--text-secondary);margin:8px 0 12px}.billing-tariffs-compact h3{font-size:var(--text-heading);margin:14px 0 8px}.billing-tariffs-compact .table-wrap{margin:0}.billing-tariffs-compact td,.billing-tariffs-compact th{padding:7px 10px}.billing-tariffs-compact .panel-header{align-items:end;gap:12px;flex-wrap:wrap}@media(max-width:760px){.storage-billing-product-content>div{max-width:180px}.storage-billing-form-compact{display:flex}.storage-billing-form-compact label{flex:1 1 160px}.storage-billing-form-compact .button-row{flex:1 1 100%}.billing-tariff-selectors label{flex:1;min-width:150px}}
.storage-billing-rate-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.storage-billing-rate-summary>div{padding:12px;border:1px solid var(--border,#dfe8eb);border-radius:8px}.storage-billing-rate-summary h3,.storage-billing-prices-intro h3{margin:0 0 8px;font-size:var(--text-heading)}.storage-billing-rate-summary strong{font-size:var(--text-body);line-height:1.6}.storage-billing-rate-summary small{display:block;color:var(--muted,#647780);margin-top:4px}.storage-billing-form-title{flex-basis:100%;font-size:var(--text-body)}.storage-billing-prices-scroll{max-height:55vh}.storage-billing-prices thead th{height:auto;padding-top:12px;padding-bottom:12px}.storage-billing-prices td{min-width:150px}.storage-billing-prices .storage-billing-partial{white-space:normal;max-width:210px}.storage-billing-prices-intro{border-top:1px solid var(--border,#dfe8eb)}

.storage-billing-prices td{min-width:110px}.storage-billing-toolbar input{min-height:var(--control-compact);font-size:var(--text-body)}.storage-billing-toolbar label{gap:3px}.storage-billing .panel-header{padding:12px 16px}.storage-billing .panel-body{padding:12px 16px;gap:8px}.storage-billing .panel-body h3{margin:0;font-size:var(--text-heading)}

.billing-two-tariffs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.billing-service-tariff{min-width:0;border:1px solid var(--border,#dfe8eb);border-radius:8px;padding:12px}.billing-service-tariff>h3{margin:0 0 12px;font-size:var(--text-heading)}.billing-service-tariff .storage-billing-form-compact label{flex:1 1 160px}.billing-service-tariff .storage-billing-history td:last-child{display:table-cell;text-align:right}.billing-service-tariff .storage-billing-history .btn{margin:0 3px}.billing-tariffs-compact .billing-tariff-export{margin:0}@media(max-width:1250px){.billing-two-tariffs{grid-template-columns:1fr}}

/* Six compact period columns; the full daily report is exported to Excel. */
.storage-billing-compact{width:100%!important;min-width:780px!important;table-layout:fixed!important;border-collapse:separate;border-spacing:0}
.storage-billing-compact col.storage-billing-product{width:38%}.storage-billing-compact col.storage-volume-col{width:7%}.storage-billing-compact col.storage-dimensions-col{width:12%}.storage-billing-compact col.storage-packing-col{width:9.6667%}.storage-billing-compact col.storage-logistics-total-col,.storage-billing-compact col.storage-total-col{width:16.66665%}
.storage-billing-compact th,.storage-billing-compact td{min-width:0!important;max-width:none!important;padding:8px 9px!important;font-size:var(--text-table);vertical-align:middle;text-align:right;white-space:normal}
.storage-billing-compact .storage-billing-product{min-width:0!important;max-width:none!important;width:auto;white-space:normal;text-align:left;border-right:0}
.storage-billing-compact thead th{height:54px!important;min-height:54px!important;padding:8px 9px!important;font-size:var(--text-table);line-height:1.3;top:0!important;text-transform:none;letter-spacing:0;white-space:normal;background:var(--surface-alt,#f3f7f7)}
.storage-billing-compact tbody th,.storage-billing-compact tbody td{padding:5px 9px!important;font-size:var(--text-table)!important;line-height:1.55!important;font-weight:var(--weight-normal)!important}
.storage-billing-compact thead th small{display:block;font-size:var(--text-secondary);font-weight:var(--weight-normal);margin-top:2px}
.storage-billing-compact .storage-billing-product .product-cell{max-width:none!important;min-height:44px;gap:7px;text-align:left}
.storage-billing-compact .storage-billing-product .product-cell strong{font-size:var(--text-secondary);line-height:1.55;font-weight:var(--weight-strong);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.storage-billing-compact .storage-billing-product .subline{font-size:var(--text-secondary);line-height:1.3;font-weight:var(--weight-normal);text-align:left;white-space:normal}
.storage-billing-compact .product-placeholder,.storage-billing-compact .product-placeholder:has(img){width:34px;height:42px;min-width:34px;max-width:34px}
.storage-billing-compact .storage-volume-col,.storage-billing-compact .storage-dimensions-col{overflow-wrap:anywhere}
.storage-billing-compact .storage-logistics-total-col,.storage-billing-compact .storage-total-col{white-space:nowrap}
.storage-billing-compact .storage-logistics-total-col{border-left:1px solid var(--border,#dfe8eb)}
.storage-billing-compact .storage-box-quantity{gap:4px}.storage-billing-compact .storage-box-quantity input{width:54px;min-height:var(--control-compact);height:var(--control-compact);font-size:var(--text-body);padding:4px 6px}.storage-billing-compact .storage-box-quantity .btn{min-height:var(--control-compact);height:var(--control-compact);padding:4px 7px;font-size:var(--text-control)}
.storage-billing-compact tfoot th,.storage-billing-compact tfoot td{height:auto;padding:8px 9px!important}
.storage-billing.stock-results>.stock-filter-panel{margin:0 12px 8px;flex:none}.storage-billing.stock-results .stock-toolbar-right{flex-wrap:wrap;gap:7px}
.storage-billing-context{font-size:var(--text-secondary);line-height:1.3;color:var(--muted,#647780);white-space:nowrap;cursor:help}.storage-billing-status{flex:none;padding:7px 12px;font-size:var(--text-secondary)}
.storage-billing.stock-results>.storage-billing-error{flex:none;margin:5px 12px;padding:7px 10px;font-size:var(--text-secondary)}
