/* Shared compact panels and precise control spacing. */
.unit-family-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px}.unit-family-heading h3{margin:0!important;font-size:15px}.unit-family-heading>span{font-size:11px;padding:4px 8px;border-radius:8px;background:var(--admin-soft,#edf2ef);color:var(--admin-muted,#63766d)}
.unit-catalog-groups{gap:22px}.unit-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px}.unit-card{display:flex;flex-direction:column;gap:12px;padding:16px;min-width:0;border-radius:14px}.unit-card>.unit-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.unit-card-heading strong{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.unit-kind{white-space:nowrap}.unit-card-conversion{flex:1;min-width:0}.unit-card .unit-equation{margin:0;font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.unit-card-conversion small{display:block;font-size:12px;line-height:1.6;opacity:.7;margin-top:6px}.unit-card>footer{display:flex;align-items:center;min-height:38px;border-top:1px solid var(--admin-border,#dce3e0);padding-top:10px}.unit-card>footer>span{font-size:11px;opacity:.65}.unit-card>footer>button{min-height:36px;margin:0;padding:7px 12px;font-size:12px;border-radius:9px}
html body #purchaseForm #purchaseProductResults .purchase-product-inputs>label{margin:0;grid-template-rows:auto 44px;gap:6px;line-height:1.4}
html body #purchaseForm #purchaseProductResults .purchase-product-inputs>label>input{height:44px!important;min-height:44px!important;box-sizing:border-box}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity{height:44px;box-sizing:border-box;border-radius:10px}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity input{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0;min-height:42px!important;height:42px!important;padding:0 3px!important}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity:focus-within{border-color:var(--theme-button,#26735d)}
#purchaseForm #purchaseProductResults[data-purchase-view=thumbnail]{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
#purchaseForm #purchaseProductResults[data-purchase-view=thumbnail]>.purchase-product-card{grid-template-rows:110px minmax(64px,1fr) auto;gap:12px;padding:12px}
#purchaseForm #purchaseProductResults[data-purchase-view=thumbnail] .purchase-product-inputs{grid-template-columns:minmax(104px,1fr) minmax(104px,1fr)}
html body #adminView #memberDirectoryRows [data-member-detail]{display:inline-flex!important;align-items:center;justify-content:center;width:112px!important;min-width:112px!important;max-width:112px!important;height:38px!important;min-height:38px!important;padding:8px 12px!important;white-space:nowrap!important;line-height:1.3!important;font-size:12px!important;border-radius:10px!important}
html body #memberDirectoryRows td:has([data-member-detail]){min-width:132px;white-space:nowrap}
.profile-activity-tabs{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;margin:16px 20px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--list-soft,#edf2ef)}
.profile-activity-tabs button{min-width:110px;min-height:40px;padding:8px 16px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:650}
.profile-activity-tabs button[aria-selected=true]{background:var(--theme-button,#26735d);color:var(--theme-button-text,#fff)}
html body #userProfilePanel .my-activity-grid.profile-tabbed-activity{display:block;min-width:0}.profile-tabbed-activity>[hidden]{display:none!important}.profile-tabbed-activity section{min-width:0}.profile-tabbed-activity .my-attendance-summary{margin-bottom:18px}
#userProfilePanel .my-profile-activity>.card-heading{padding:18px 20px;gap:14px}.my-profile-activity>.card-heading h3{margin:6px 0 0}.my-profile-activity>.card-heading>label{margin:0;max-width:220px}
html body #accountingPeriodsPanel .accounting-period-card-list{display:block;min-width:0!important;table-layout:auto;width:100%!important}
html body #accountingPeriodsPanel .accounting-period-card-list thead{display:none!important}
html body #accountingPeriodRows{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr));gap:16px;padding:16px;min-width:0}
html body #accountingPeriodRows>tr,html body #accountingPeriodRows>tr>td{display:block!important;min-width:0!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #accountingPeriodRows td:before{display:none!important}
.period-history-card{height:100%;box-sizing:border-box;border:1px solid var(--list-line,#dce3e0);border-radius:15px;background:var(--theme-background,#fff);padding:18px;color:var(--theme-font,#263e34)}
.period-history-card>header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:16px}.period-history-card h3{margin:5px 0 0;font-size:16px;line-height:1.5}.period-history-card h4{margin:0 0 12px;font-size:13px}.period-history-card .status{min-width:64px;width:auto!important;white-space:nowrap;padding:6px 10px}.period-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.period-balance-grid>div{padding:12px;border:1px solid var(--list-line,#dce3e0);border-radius:10px;background:var(--list-soft,#edf2ef);min-width:0}.period-balance-grid span{display:block;font-size:11px;line-height:1.5;opacity:.75}.period-balance-grid strong{display:block;font-size:14px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.period-opening{margin-top:14px;border:1px solid var(--list-line,#dce3e0);border-radius:11px;padding:12px}.period-opening summary{font-size:13px;font-weight:600;cursor:pointer}.period-opening .period-balance-grid{margin-top:12px}.period-history-card>footer{display:flex;justify-content:flex-end;margin-top:16px;padding-top:14px;border-top:1px solid var(--list-line,#dce3e0)}
html body #accountingPeriodRows .row-actions>button{width:112px!important;min-width:112px!important;max-width:112px!important;min-height:38px!important;height:38px!important;padding:7px 10px!important;font-size:12px!important;white-space:nowrap!important}
#accountingPeriodsPanel .operation-history-card>.card-heading{padding:18px 20px}
html body :is(#consigneeSettlementSection,.consignee-profit-section){border:1px solid var(--list-line,#dce3e0)!important;border-top-width:1px!important;border-radius:15px;overflow:hidden}
html body :is(#consigneeSettlementSection,.consignee-profit-section)>.card-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:0;border-bottom:1px solid var(--list-line,#dce3e0);background:var(--theme-background,#fff)}
html body :is(#consigneeSettlementSection,.consignee-profit-section)>.card-heading>div:first-child{flex:1;min-width:0;max-width:800px}
html body :is(#consigneeSettlementSection,.consignee-profit-section) h3{font-size:18px;line-height:1.45;margin:6px 0}
html body :is(#consigneeSettlementSection,.consignee-profit-section) .card-heading small{font-size:12px;line-height:1.6;color:var(--list-muted,#63766d)}
.consignee-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.consignee-heading-actions .count-pill{font-size:12px;padding:8px 12px;border-radius:10px;white-space:nowrap}.consignee-heading-actions button{min-height:42px;padding:9px 16px;font-size:13px;border-radius:11px;white-space:nowrap}
html body :is(.master-export-dialog,.product-export-dialog){padding:0;overflow:hidden;max-height:calc(100dvh - 32px);width:min(560px,calc(100vw - 24px));border:1px solid var(--list-line,#dce3e0);border-radius:18px;background:var(--theme-background,#fff)}
html body :is(.master-export-dialog,.product-export-dialog)[open]{display:flex;flex-direction:column}
:is(.master-export-dialog,.product-export-dialog)>.dialog-head{flex:none;padding:18px 20px;margin:0;border-bottom:1px solid var(--list-line,#dce3e0);gap:12px}:is(.master-export-dialog,.product-export-dialog) h2{font-size:19px;line-height:1.4;margin:5px 0 0}
:is(.master-export-dialog,.product-export-dialog)>.dialog-head button{flex:none;display:grid;place-items:center;min-width:36px;width:36px;height:36px;min-height:36px;padding:0!important;border-radius:10px;font-size:24px;line-height:1}
.master-export-body,.export-dialog-content{flex:1;min-height:0;overflow:auto;padding:18px 20px;display:grid;gap:14px}.export-dialog-content>p,.export-dialog-content>small{margin:0;line-height:1.65;font-size:13px}.export-dialog-content label{display:grid;gap:8px;font-size:13px;min-width:0}.export-dialog-content input,.export-dialog-content select,.export-period-fields :is(input,select){width:100%;min-width:0;box-sizing:border-box}
.export-period-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-period-fields[hidden],.export-period-fields [hidden]{display:none!important}.export-period-fields p{grid-column:1/-1;margin:0;padding:10px 12px;font-size:12px;line-height:1.6;border-radius:10px;background:var(--list-soft,#edf2ef)}
.export-file-notes{font-size:12px;line-height:1.7;padding:12px;border:1px solid var(--list-line,#dce3e0);border-radius:11px}.export-file-notes summary{font-weight:600;cursor:pointer}.export-file-notes p{font-size:12px;margin:10px 0}.export-file-notes small{display:block;margin-top:8px;line-height:1.7}
:is(.master-export-dialog,.product-export-dialog)>footer{flex:none;padding:14px 20px;border-top:1px solid var(--list-line,#dce3e0);background:var(--theme-background,#fff)}
html body :is(.master-export-dialog,.product-export-dialog)>footer>:is(.master-export-downloads,.form-actions){display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;position:static;width:auto}
html body :is(.master-export-dialog,.product-export-dialog)>footer button{width:100%;min-width:0;min-height:44px;padding:10px 14px;border-radius:11px;font-size:13px;line-height:1.4}
@media(max-width:700px){#purchaseForm #purchaseProductResults[data-purchase-view=thumbnail]{grid-template-columns:repeat(2,minmax(0,1fr))}#purchaseForm #purchaseProductResults[data-purchase-view=thumbnail]>.purchase-product-card{grid-template-rows:90px minmax(74px,1fr) auto;padding:10px;gap:10px}#purchaseForm #purchaseProductResults[data-purchase-view=thumbnail] .purchase-product-inputs{grid-template-columns:minmax(0,1fr)}.period-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.period-history-card{padding:14px}html body #accountingPeriodRows{padding:12px;gap:12px}.period-history-card h3{font-size:14px}.period-balance-grid>div{padding:10px}.period-balance-grid strong{font-size:13px}.profile-activity-tabs{margin:14px}.profile-activity-tabs button{min-width:100px}.unit-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-card{padding:14px;gap:10px}.unit-card>.unit-card-heading{grid-template-columns:1fr}.unit-kind{justify-self:start}html body :is(#consigneeSettlementSection,.consignee-profit-section)>.card-heading{flex-direction:column;align-items:stretch;padding:16px;gap:12px}.consignee-heading-actions{justify-content:space-between;gap:10px}.consignee-heading-actions .count-pill{white-space:normal}.consignee-heading-actions button{font-size:12px}:is(.master-export-body,.export-dialog-content){padding:16px}:is(.master-export-dialog,.product-export-dialog)>footer{padding:12px 16px}.export-period-fields{grid-template-columns:1fr}.export-dialog-content select,.export-period-fields :is(input,select){font-size:16px}}
@media(max-width:420px){.unit-catalog-grid{grid-template-columns:1fr}.period-balance-grid{gap:8px}}
html body .transaction-export-dialog>footer>.transaction-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;position:static;width:auto}
.transaction-export-dialog .transaction-export-actions>[role=status]{grid-column:1/-1;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.transaction-export-dialog .transaction-export-actions>[role=status]:empty{display:none}
#userProfilePanel .my-profile-activity>.card-heading>label[hidden]{display:none!important}

html body :is(#consigneeSettlementSection,.consignee-profit-section)>.card-heading>.consignee-heading-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;width:auto;flex:none;margin:0;padding:0}
html body :is(#consigneeSettlementSection,.consignee-profit-section) .consignee-heading-actions button{width:auto;max-width:none;flex:none;margin:0;min-height:42px}
@media(max-width:700px){html body :is(#consigneeSettlementSection,.consignee-profit-section)>.card-heading>.consignee-heading-actions{width:100%;justify-content:space-between}}

html body #purchaseForm #purchaseProductResults>.purchase-product-card{padding:16px}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity{grid-template-columns:32px minmax(0,1fr) 32px;gap:2px;padding:5px 6px;height:44px}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity button{width:32px;height:32px;min-height:32px;max-height:32px;margin:0;padding:0!important;align-self:center;font-size:22px}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity input{height:32px!important;min-height:32px!important;padding:0 2px!important}
@media(max-width:700px){html body #purchaseForm #purchaseProductResults>.purchase-product-card{padding:14px}}
.raw-purchase-toolbar{grid-column:1/-1;display:flex;align-items:end;justify-content:flex-end;flex-wrap:wrap;gap:12px}.raw-purchase-toolbar>label{max-width:240px;margin:0}.raw-purchase-toolbar>button{min-height:44px;margin:0;padding:10px 16px!important;font-size:13px}.raw-purchase-toolbar [data-raw-count]{display:inline-grid;place-items:center;margin-left:8px;min-width:24px;height:24px;padding:0 5px;border-radius:8px;background:var(--theme-button,#26735d);color:var(--theme-button-text,#fff)}
.raw-purchase-catalog{padding:18px!important}.raw-catalog-tools{display:flex;align-items:end;gap:12px;margin:16px 0}.raw-catalog-tools>label{flex:1;margin:0}.raw-catalog-tools .purchase-view-options{flex:none}.raw-purchase-results{display:grid;gap:12px;min-width:0}.raw-product-card{display:grid;grid-template-columns:minmax(140px,1fr) minmax(250px,1.2fr);gap:16px;align-items:center;padding:16px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--theme-background,#fff);min-width:0;transition:border-color .18s ease,box-shadow .18s ease}.raw-product-card.purchase-product-selected{border-color:var(--theme-button,#26735d)}.raw-product-copy{min-width:0}.raw-product-copy strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.raw-product-copy small{display:block;font-size:12px;line-height:1.5;opacity:.7;margin-top:5px}.raw-product-image{display:none;place-items:center;height:100px;border-radius:10px;background:var(--list-soft,#edf2ef);color:var(--list-muted,#63766d)}.raw-product-image svg{width:32px;height:32px}.raw-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.raw-card-unit,.raw-card-fields>small{grid-column:1/-1}.raw-card-fields>small{font-size:11px;line-height:1.5;opacity:.7}.inventory-raw-purchase .raw-card-fields label{font-size:12px;gap:6px;margin:0}.raw-card-fields :is(input,select){height:44px;min-height:44px!important;max-width:100%;padding:8px 10px!important;font-size:13px!important;border-radius:10px}.raw-card-quantity{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:2px;padding:5px 6px;height:44px;box-sizing:border-box;align-items:center;border:1px solid var(--list-line,#dce3e0);border-radius:10px;background:var(--list-soft,#edf2ef)}
html body .inventory-raw-purchase .raw-card-quantity button{display:grid;place-items:center;width:32px;height:32px;min-height:32px;margin:0;padding:0!important;border:0;border-radius:7px;background:transparent;color:var(--theme-button,#26735d);font-size:22px;line-height:1}.raw-card-quantity button:disabled{opacity:.4}.raw-card-quantity:focus-within{border-color:var(--theme-button,#26735d)}html body .inventory-raw-purchase .raw-card-quantity input{border:0!important;box-shadow:none!important;background:transparent!important;height:32px;min-height:32px!important;padding:0 2px!important;text-align:center;appearance:textfield}.raw-card-quantity input::-webkit-inner-spin-button{appearance:none}
.raw-purchase-results[data-view=thumbnail]{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}.raw-purchase-results[data-view=thumbnail]>.raw-product-card{grid-template-columns:minmax(0,1fr);grid-template-rows:100px minmax(54px,1fr) auto;align-content:start;gap:12px}.raw-purchase-results[data-view=thumbnail] .raw-product-image{display:grid}
html body .raw-purchase-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--list-line,#dce3e0);border-radius:18px;overflow:hidden;background:var(--theme-background,#fff)}html body .raw-purchase-dialog[open]{display:flex;flex-direction:column}.raw-purchase-dialog>.dialog-head{padding:18px 20px;margin:0;flex:none;border-bottom:1px solid var(--list-line,#dce3e0)}.raw-purchase-dialog h2{font-size:20px;margin:4px 0}.raw-purchase-dialog>.dialog-head button{width:36px;height:36px;min-height:36px;padding:0!important;font-size:24px}.raw-purchase-dialog>.raw-dialog-body{padding:18px 20px;margin:0;overflow:auto;min-height:0}.raw-purchase-dialog>footer{padding:14px 20px;display:flex;justify-content:flex-end;border-top:1px solid var(--list-line,#dce3e0);flex:none}.raw-purchase-dialog>footer button{min-width:96px;min-height:42px;padding:10px 16px!important}.raw-purchase-dialog .inventory-purchase-line{margin:0 0 14px}.raw-purchase-dialog .inventory-purchase-line:last-child{margin-bottom:0}
@media(max-width:700px){.raw-purchase-toolbar{justify-content:stretch;gap:10px}.raw-purchase-toolbar>label{max-width:none;width:100%}.raw-purchase-toolbar>button{flex:1;min-width:0;padding:10px!important;font-size:12px}.raw-purchase-catalog{padding:14px!important}.raw-product-card{grid-template-columns:minmax(0,1fr);padding:14px}.raw-card-fields :is(input,select){font-size:16px!important}.raw-purchase-results[data-view=thumbnail]{grid-template-columns:repeat(2,minmax(0,1fr))}.raw-purchase-results[data-view=thumbnail] .raw-card-fields{grid-template-columns:minmax(0,1fr)}.raw-catalog-tools{gap:8px}.raw-purchase-dialog>.raw-dialog-body{padding:14px}.raw-purchase-dialog>.raw-dialog-body.inventory-grid{grid-template-columns:1fr}}
.asset-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.asset-header-actions button{min-height:42px;margin:0;padding:10px 16px!important;font-size:13px}.asset-workspace-tabs{width:fit-content;max-width:100%}.asset-transaction-history[hidden]{display:none!important}.asset-history-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid var(--list-line,#dce3e0)}.asset-history-filter label{display:grid;gap:7px;margin:0;font-size:13px}.asset-history-filter button{margin:0;min-height:44px;padding:10px 16px!important}.asset-history-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px;padding:20px}.asset-history-item{padding:18px;border:1px solid var(--list-line,#dce3e0);border-radius:14px;background:var(--theme-background,#fff);min-width:0}.asset-history-item header{display:flex;align-items:start;justify-content:space-between;gap:12px}.asset-history-item header>strong{white-space:nowrap;font-size:17px;color:var(--theme-button,#26735d)}.asset-history-item h4{margin:6px 0;font-size:16px}.asset-history-item small{font-size:12px;opacity:.75;line-height:1.5}.asset-history-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.asset-history-values>span{padding:10px;border-radius:9px;background:var(--list-soft,#edf2ef);font-size:11px;min-width:0}.asset-history-values strong{display:block;font-size:13px;margin-top:6px;overflow-wrap:anywhere}.asset-history-item footer{display:grid;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--list-line,#dce3e0);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
html body .asset-transaction-dialog{width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid var(--list-line,#dce3e0);border-radius:18px;background:var(--theme-background,#fff)}html body .asset-transaction-dialog[open]{display:flex;flex-direction:column}.asset-transaction-dialog>.dialog-head{padding:18px 20px;margin:0;flex:none;border-bottom:1px solid var(--list-line,#dce3e0)}.asset-transaction-dialog h2{font-size:20px;margin:5px 0}.asset-transaction-dialog>.dialog-head button{min-height:36px;height:36px;width:36px;padding:0!important;font-size:24px}.asset-transaction-dialog form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.asset-transaction-body{padding:18px 20px;overflow:auto;min-height:0}.asset-transaction-body .form-grid{margin:0}.asset-transaction-body [hidden]{display:none!important}.asset-transaction-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:18px;padding:14px;border-radius:12px;background:var(--list-soft,#edf2ef);font-size:13px;line-height:1.6}.asset-transaction-summary strong{display:block}.asset-transaction-summary small{grid-column:1/-1}.asset-transaction-dialog form>footer{padding:14px 20px;margin:0;border-top:1px solid var(--list-line,#dce3e0);flex:none;display:flex;justify-content:flex-end;gap:10px}.asset-transaction-dialog footer button{min-height:42px;padding:10px 16px!important}
@media(max-width:700px){.asset-header-actions{justify-content:stretch;width:100%}.asset-header-actions button{flex:1;min-width:0;font-size:12px;padding:10px!important}.asset-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}.asset-history-filter input{width:100%;min-width:0}.asset-history-filter button{grid-column:1/-1}.asset-history-items{padding:14px;gap:12px}.asset-history-item{padding:14px}.asset-history-item header{flex-wrap:wrap}.asset-history-values{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-transaction-body{padding:16px}.asset-transaction-body .form-grid{grid-template-columns:1fr}.asset-transaction-dialog form>footer{padding:12px 16px}.asset-transaction-dialog footer button{flex:1;min-width:0}}

html body #purchasesPanel .purchase-head-actions[hidden]{display:none!important}
html body #purchasesPanel .section-intro>div:first-child{flex:1 1 auto}
.raw-catalog-tools .purchase-view-options{display:flex;gap:6px}
.raw-catalog-tools .purchase-view-options button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:9px;border:1px solid var(--list-line,#dce3e0);border-radius:11px;background:var(--theme-background,#fff);color:var(--theme-font,#263e34);margin:0}
.raw-catalog-tools .purchase-view-options button[aria-pressed=true]{background:var(--theme-button,#26735d);color:var(--theme-button-text,#fff);border-color:var(--theme-button,#26735d)}.raw-catalog-tools .purchase-view-options svg{width:22px;height:22px}
html body #purchasesPanel .inventory-raw-purchase .raw-card-quantity input{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;outline:0}

html body #assetsPanel>.asset-workspace-tabs{width:fit-content;max-width:100%;padding:5px;gap:4px;border-radius:14px}html body #assetsPanel>.asset-workspace-tabs>button{flex:none;min-width:120px;min-height:40px;padding:9px 16px;font-size:13px;border-radius:10px}

.purchase-loading{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:160px;font-size:13px;color:var(--theme-button,#26735d)}.purchase-loading>span{width:24px;height:24px;border:3px solid color-mix(in srgb,currentColor 18%,transparent);border-top-color:currentColor;border-radius:50%;animation:purchaseLoadingSpin .8s linear infinite}@keyframes purchaseLoadingSpin{to{transform:rotate(360deg)}}

/* One outer border for icon search controls; native inputs remain large enough on mobile. */
html body #adminView :is(.search-field,.lookup-search,.unified-search)>input,html body dialog :is(.search-field,.lookup-search,.unified-search)>input{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;outline:0!important;margin:0!important;min-width:0;flex:1;width:100%;padding:0 2px!important;height:42px!important;min-height:42px!important}
html body :is(#adminView,dialog.detail-dialog,dialog.checkout-pos-dialog) :is(.search-field,.lookup-search,.mobile-search-field,.unified-search)>input{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
html body :is(.lookup-search,.unified-search){display:flex;align-items:center;gap:10px;min-height:44px;box-sizing:border-box;padding:0 12px!important;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}
html body :is(.lookup-search,.unified-search):focus-within{border-color:var(--theme-button,#26735d);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-button,#26735d) 12%,transparent)}
html body :is(.search-field,.lookup-search,.unified-search)>span{flex:none;display:grid;place-items:center;min-width:20px}.unified-search svg{width:20px;height:20px}html body :is(.search-field,.lookup-search,.unified-search) input::placeholder{font-size:13px;line-height:1.4;color:var(--list-muted,#63766d)}
.heading-action-cluster{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin:0;padding:0;min-width:0}
html body .heading-action-cluster>.count-pill{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 13px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--theme-button,#26735d) 15%,transparent);border-radius:11px;background:color-mix(in srgb,var(--theme-button,#26735d) 7%,var(--theme-background,#fff));font-size:12px;font-weight:650;color:var(--theme-font,#263e34);white-space:nowrap}
.heading-action-cluster>.count-pill:before{content:'';display:block;width:18px;height:18px;flex:none;background:var(--theme-button,#26735d);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/svg%3E") center/contain no-repeat}
html body .heading-action-cluster>button{width:auto;min-height:44px;padding:10px 16px!important;border-radius:11px;font-size:13px;line-height:1.4;margin:0;white-space:nowrap}
.workspace-tabs,.warehouse-tabs{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--list-soft,#edf2ef);overflow:auto}.workspace-tabs button,.warehouse-tabs button{min-height:40px;padding:9px 15px;border:0;border-radius:10px;white-space:nowrap;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:650}.workspace-tabs button[aria-selected=true],.warehouse-tabs button[aria-selected=true]{background:var(--theme-button,#26735d);color:var(--theme-button-text,#fff)}
#distributionPanel .workspace-tabs{margin:0 20px 18px}.consignee-history-pane{padding:0 20px 20px}.consignee-history-pane[hidden]{display:none!important}.local-table-search{margin:0 0 10px;max-width:100%}.local-table-search-count{display:block;margin-bottom:8px;font-size:12px;opacity:.7}table tbody tr[data-local-search-hidden=true]{display:none!important}
html body .warehouse-dialog{width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:hidden;padding:0;border:1px solid var(--list-line,#dce3e0);border-radius:18px;background:var(--theme-background,#fff)}html body .warehouse-dialog[open]{display:flex;flex-direction:column}.warehouse-dialog>.dialog-head{padding:18px 20px;margin:0;flex:none;border-bottom:1px solid var(--list-line,#dce3e0)}.warehouse-dialog h2{font-size:20px;margin:5px 0}.warehouse-dialog>.dialog-head>button{width:36px;min-height:36px;height:36px;padding:0!important;font-size:24px}.warehouse-dialog-body{padding:20px;overflow:auto;min-height:0}.warehouse-dialog-body [data-warehouse-pane]{margin-top:18px}.warehouse-dialog-body [data-warehouse-pane][hidden]{display:none!important}.warehouse-dialog-body h3{font-size:17px;margin:18px 0 12px}.warehouse-dialog-body form{padding:16px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;margin-bottom:18px}.warehouse-master-list{display:grid;gap:10px;margin-bottom:18px}.warehouse-master-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}.warehouse-master-list article>div{min-width:0}.warehouse-master-list small{display:block;font-size:12px;opacity:.7;margin-top:5px;overflow-wrap:anywhere}.warehouse-master-list button{min-height:38px;padding:8px 12px!important}.warehouse-stock-table{max-height:420px;overflow:auto}.purchase-destination{padding:14px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;display:grid;gap:12px;margin:0!important}.purchase-destination label{display:grid;gap:7px;margin:0;font-size:12px}.purchase-destination select{width:100%;min-width:0;height:44px;min-height:44px;font-size:13px}.purchase-destination small{font-size:11px;line-height:1.6;opacity:.7}.purchase-destination [hidden]{display:none!important}
html body .trade-due-bell{position:relative;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:8px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff);color:var(--theme-font,#263e34)}.trade-due-bell[hidden]{display:none!important}.trade-due-bell svg{width:24px;height:24px}.trade-due-bell b{position:absolute;right:-5px;top:-6px;min-width:17px;height:17px;padding:0 3px;display:grid;place-items:center;border:2px solid var(--theme-background,#fff);border-radius:20px;background:#bd4051;color:#fff;font-size:10px}.trade-due-items{display:grid;gap:12px;margin-top:16px}.trade-due-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--theme-background,#fff)}.trade-due-card h3{margin:6px 0;font-size:16px}.trade-due-card small{font-size:12px;opacity:.7}.trade-due-card>strong{font-size:18px;align-self:center;color:var(--theme-button,#26735d)}.trade-due-status{font-size:12px;align-self:center;color:var(--theme-button,#26735d)}.trade-due-card.overdue .trade-due-status{color:#b13b4b}.trade-due-card .row-actions{justify-content:flex-end}.trade-due-card button{min-height:38px!important;padding:8px 12px!important;font-size:12px;white-space:nowrap}
@media(max-width:700px){.heading-action-cluster{justify-content:space-between;width:100%;gap:10px}.heading-action-cluster>.count-pill{font-size:11px!important;padding:8px 10px!important}.heading-action-cluster>button{font-size:12px!important;padding:10px 12px!important}.consignee-history-pane{padding:0 14px 14px}#distributionPanel .workspace-tabs{margin:0 14px 14px}.warehouse-dialog-body{padding:14px}.warehouse-dialog-body .form-grid{grid-template-columns:1fr}.warehouse-tabs{width:100%;box-sizing:border-box}.warehouse-tabs button{flex:1;padding:8px;font-size:12px}.trade-due-card{grid-template-columns:1fr}.trade-due-card .row-actions{justify-content:flex-start}.trade-due-bell{width:38px!important;height:38px!important;min-height:38px!important}.purchase-destination select{font-size:16px}}

.lookup-option-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--theme-background,#fff)}html body #lookupPickerDialog .lookup-option-row>.lookup-option{border:0;box-shadow:none;margin:0;min-width:0;padding:10px;min-height:44px}.lookup-option-row>.reset-button{min-height:40px;padding:9px 13px!important;border-radius:10px;font-size:12px;white-space:nowrap}
html body .agreement-dialog{width:min(1120px,calc(100vw - 24px))}.agreement-list-tools,.agreement-editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}.agreement-list-tools>.unified-search{flex:1;margin:0}.agreement-editor-toolbar>strong{flex:1;font-size:13px}.agreement-editor-toolbar>label{display:grid;gap:6px;font-size:12px;margin:0}.agreement-list{display:grid;gap:12px}.agreement-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;padding:16px}.agreement-list article small{display:block;font-size:12px;opacity:.7;margin-top:6px}.agreement-dialog form{border:0;margin:0;padding:0}.agreement-dialog form[hidden],.agreement-dialog [data-agreement-list-pane][hidden],.agreement-dialog [data-agreement-pane][hidden]{display:none!important}.agreement-dialog [data-agreement-pane]{margin-top:18px}.agreement-dialog textarea{width:100%;box-sizing:border-box;border-radius:12px;padding:14px;font:14px/1.7 inherit;resize:vertical}.agreement-dialog .form-actions{position:sticky;bottom:-20px;margin:18px -20px -20px;padding:14px 20px;background:var(--theme-background,#fff);border-top:1px solid var(--list-line,#dce3e0)}.agreement-preview{padding:24px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--theme-background,#fff)}.agreement-preview header{text-align:center;padding-bottom:16px;border-bottom:2px solid var(--theme-button,#26735d)}.agreement-preview h2{font-size:20px}.agreement-parties,.agreement-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:20px 0}.agreement-parties p{white-space:pre-line;line-height:1.6}.agreement-body-text{white-space:pre-wrap;line-height:1.85;font-size:13px;overflow-wrap:anywhere}.agreement-signatures{text-align:center;margin-top:30px}.agreement-dialog [data-agreement-versions]{display:grid;gap:10px}.agreement-dialog [data-agreement-versions] button{text-align:left;padding:12px!important}
@media(max-width:700px){.lookup-option-row{grid-template-columns:minmax(0,1fr);gap:5px;padding:10px}.lookup-option-row>.reset-button{justify-self:end}.agreement-editor-toolbar>strong{flex-basis:100%;order:-1}.agreement-editor-toolbar>label{flex:1;min-width:0}.agreement-dialog .workspace-tabs{width:100%;box-sizing:border-box}.agreement-dialog .form-actions{bottom:-14px;margin:16px -14px -14px;padding:12px 14px}.agreement-dialog .form-grid{grid-template-columns:1fr}.agreement-dialog textarea{font-size:16px}.agreement-preview{padding:16px}.agreement-parties{grid-template-columns:1fr;gap:12px}}

html body #assetsPanel .asset-card-table{display:block;width:100%;min-width:0!important;table-layout:auto}html body #assetsPanel .asset-card-table thead{display:none!important}html body #assetsPanel #assetRows{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:16px;padding:16px}html body #assetRows>tr,html body #assetRows>tr>td{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}html body #assetRows td:before{display:none!important}.asset-summary-card{padding:20px;border:1px solid var(--list-line,#dce3e0);border-radius:15px;background:var(--theme-background,#fff);min-width:0}.asset-summary-card header{display:flex;justify-content:space-between;align-items:start;gap:16px}.asset-summary-card h3{font-size:18px;margin:6px 0}.asset-summary-card header small{font-size:12px;line-height:1.6;opacity:.7}.asset-summary-card header .status{width:auto;min-width:70px;white-space:nowrap}.asset-summary-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.asset-summary-values>div{padding:14px;border:1px solid var(--list-line,#dce3e0);border-radius:11px;background:var(--list-soft,#edf2ef);min-width:0}.asset-summary-values span{display:block;font-size:11px;line-height:1.5;opacity:.7}.asset-summary-values strong{display:block;font-size:16px;line-height:1.5;margin-top:7px;overflow-wrap:anywhere}.asset-summary-values>div:last-child{background:color-mix(in srgb,var(--theme-button,#26735d) 8%,var(--theme-background,#fff))}.asset-summary-card footer{border-top:1px solid var(--list-line,#dce3e0);padding-top:14px;display:flex;flex-wrap:wrap;gap:10px}html body #assetRows .row-actions>button{width:112px!important;min-width:112px!important;max-width:112px!important;min-height:38px!important;height:38px!important;padding:7px 10px!important;line-height:1.3;font-size:12px;border-radius:10px;white-space:nowrap}.asset-label-settings{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:16px}.asset-label-settings label{display:grid;gap:7px;font-size:13px}.asset-label-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:10px;margin-top:16px}.asset-label-choices label{display:flex;align-items:center;gap:12px;margin:0;padding:14px;border:1px solid var(--list-line,#dce3e0);border-radius:12px}.asset-label-choices input{width:20px!important;height:20px!important;min-height:20px!important;flex:none;accent-color:var(--theme-button,#26735d)}.asset-label-choices small{display:block;margin-top:5px;font-size:12px;opacity:.7}
@media(min-width:701px){html body #adminView #userProfilePanel .my-profile-tabs{display:none!important}}
@media(max-width:700px){html body #assetsPanel #assetRows{padding:12px;gap:12px}.asset-summary-card{padding:15px}.asset-summary-card h3{font-size:16px}.asset-summary-values{gap:8px}.asset-summary-values>div{padding:10px}.asset-summary-values strong{font-size:13px}.asset-summary-values span{font-size:10px}.asset-summary-card header{gap:10px}.asset-summary-card footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html body #assetRows .row-actions>button{width:100%!important;min-width:0!important;max-width:none!important}.asset-label-settings{grid-template-columns:1fr}.asset-label-settings input,.asset-label-settings select{font-size:16px}}

#compoundJournalForm[hidden],[data-compound-history-pane][hidden],#compoundJournalForm [hidden]{display:none!important}.compound-lines-table{min-width:720px}.compound-lines-table td{padding:8px!important}.compound-lines-table td:first-child{min-width:220px}.compound-lines-table :is(input,select){width:100%;min-width:0;height:42px;box-sizing:border-box}.compound-lines-table :is(th,td):last-child{width:42px;min-width:42px}.compound-lines-table button{width:34px;height:34px;min-height:34px;padding:0!important}.compound-totals{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px;margin:16px 0;border-radius:12px;background:var(--list-soft,#edf2ef)}.compound-totals span{font-size:12px}.compound-totals strong{display:block;font-size:18px;margin-top:5px}.compound-totals .balanced{color:var(--theme-button,#26735d);font-weight:700}.compound-totals .unbalanced{color:#b13b4b}.compound-history-items{display:grid;gap:12px;margin-top:18px}.compound-history-items details{border:1px solid var(--list-line,#dce3e0);border-radius:12px;padding:15px}.compound-history-items summary{cursor:pointer}.compound-history-items summary>span{display:block;font-size:12px;opacity:.7;margin-top:6px}.compound-history-items details>div{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:700px){.compound-lines-table{min-width:0!important;display:block}.compound-lines-table thead{display:none}.compound-lines-table tbody{display:grid;gap:12px}.compound-lines-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--list-line,#dce3e0);border-radius:12px;padding:8px}.compound-lines-table td{display:block;min-width:0!important}.compound-lines-table td:first-child,.compound-lines-table td:nth-child(4){grid-column:1/-1}.compound-lines-table td:nth-child(2):before{content:'Debit (Rp)';display:block;font-size:12px;margin-bottom:6px}.compound-lines-table td:nth-child(3):before{content:'Kredit (Rp)';display:block;font-size:12px;margin-bottom:6px}.compound-lines-table td:last-child{grid-column:1/-1;justify-self:end}.compound-lines-table :is(input,select){font-size:16px}}

.trade-due-dashboard{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 18px;margin:0 0 18px;border:1px solid color-mix(in srgb,var(--theme-button,#26735d) 18%,transparent);border-radius:13px;background:color-mix(in srgb,var(--theme-button,#26735d) 6%,var(--theme-background,#fff));color:var(--theme-button,#26735d);font:600 13px/1.6 inherit;text-align:left}.trade-due-dashboard[hidden]{display:none!important}

html body #adminView #dashboardPanel>.trade-due-dashboard:not([hidden]){display:flex!important}html body #adminView #dashboardPanel>.trade-due-dashboard[hidden]{display:none!important}

/* Page names remain in the main header; introductory copy is omitted throughout admin pages. */
html body #adminView .panel :is(.section-intro,.manual-heading) :is(h1,h2,h3,p,.eyebrow){display:none!important}
html body #adminView .panel :is(.section-intro,.manual-heading)>div:not(:has(button,a,input,select,textarea)){display:none!important}
html body #adminView .panel :is(.section-intro,.manual-heading):not(:has(button,a,input,select,textarea)){display:none!important}
html body #adminView .panel :is(.section-intro,.manual-heading){min-height:0!important;padding:0!important;gap:12px;margin-top:0!important;margin-bottom:16px!important;align-items:center}

/* Transfer between store locations: balanced product columns and compact selection. */
html body #branchTransferDialog{width:min(1180px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border-radius:20px;overflow:hidden}
html body #branchTransferDialog>.dialog-head{padding:20px 24px;margin:0;gap:16px;border-bottom:1px solid var(--list-line,#dce3e0)}
html body #branchTransferDialog .cash-history-body{padding:20px 24px;overflow:auto;max-height:calc(100dvh - 145px);box-sizing:border-box;scrollbar-width:thin}
#branchTransferDialog .cash-history-body>p{font-size:13px;line-height:1.65;color:var(--list-muted,#63766d);margin:0 0 18px}
#branchTransferDialog form{padding:0;border:0;margin:0;display:grid;gap:18px}
#branchTransferDialog .transfer-locations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#branchTransferDialog label{font-size:13px;line-height:1.5;margin:0;min-width:0}
#branchTransferDialog .transfer-locations>label,#branchTransferDialog .transfer-search{display:grid;gap:7px}
#branchTransferDialog .transfer-stock-section{border:1px solid var(--list-line,#dce3e0);border-radius:15px;overflow:hidden;background:var(--theme-background,#fff)}
#branchTransferDialog .transfer-stock-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--list-line,#dce3e0)}
#branchTransferDialog .transfer-stock-heading h3{margin:0;font-size:16px}#branchTransferDialog [data-stock-count]{font-size:12px;padding:6px 10px;border-radius:8px;background:var(--list-soft,#edf2ef)}
#branchTransferDialog .transfer-stock-tools{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:16px 18px}
#branchTransferDialog .transfer-search{flex:1;min-width:200px}#branchTransferDialog :is(.transfer-selected-only,.transfer-select-page){display:flex;align-items:center;gap:8px;white-space:nowrap;min-height:44px}
#branchTransferDialog input[type=checkbox]{appearance:auto;width:18px!important;height:18px!important;min-height:18px!important;flex:none;accent-color:var(--theme-button,#26735d);margin:0}
#branchTransferDialog .transfer-stock-scroll{max-height:min(48dvh,470px);overflow:auto;scrollbar-width:thin;border-top:1px solid var(--list-line,#dce3e0)}
html body #branchTransferDialog .branch-stock-table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse;margin:0}
#branchTransferDialog .transfer-col-check{width:46px}#branchTransferDialog .transfer-col-price{width:155px}#branchTransferDialog .transfer-col-stock{width:120px}#branchTransferDialog .transfer-col-quantity{width:150px}
html body #branchTransferDialog .branch-stock-table :is(th,td){padding:14px 12px!important;vertical-align:middle;min-width:0!important;box-sizing:border-box;border-bottom:1px solid var(--list-line,#dce3e0);text-align:left;word-break:normal}
#branchTransferDialog .branch-stock-table th{position:sticky;top:0;z-index:1;font-size:11px;line-height:1.5;letter-spacing:.04em;background:var(--list-soft,#edf2ef);white-space:normal}
#branchTransferDialog .branch-stock-table td{font-size:13px;line-height:1.5}#branchTransferDialog .branch-stock-table td>strong{display:block;white-space:nowrap;font-size:13px}#branchTransferDialog .branch-stock-table td>small{display:block;font-size:11px;opacity:.7;margin-top:5px}
#branchTransferDialog .branch-stock-table tr.selected{background:color-mix(in srgb,var(--theme-button,#26735d) 6%,var(--theme-background,#fff))}
#branchTransferDialog .transfer-product{display:flex;align-items:center;gap:12px;min-width:0}#branchTransferDialog .transfer-product>div{min-width:0}#branchTransferDialog .transfer-product strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere;word-break:normal}#branchTransferDialog .transfer-product small{display:block;font-size:11px;line-height:1.5;opacity:.7;margin-top:3px;overflow-wrap:anywhere}
#branchTransferDialog .transfer-product :is(img,.transfer-product-placeholder){width:48px;height:48px;flex:none;object-fit:contain;border-radius:9px;background:var(--list-soft,#edf2ef)}#branchTransferDialog .transfer-product-placeholder{display:grid;place-items:center;font-size:22px;color:var(--list-muted,#63766d)}
#branchTransferDialog [data-stock-quantity]{width:100%;max-width:120px;text-align:center;font-variant-numeric:tabular-nums}
#branchTransferDialog .transfer-stock-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--list-line,#dce3e0)}#branchTransferDialog .transfer-stock-pagination>span{font-size:12px;text-align:center}#branchTransferDialog .transfer-stock-pagination button{min-height:38px!important;padding:8px 12px!important;font-size:12px}
#branchTransferDialog .transfer-review{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;padding:16px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--list-soft,#edf2ef)}#branchTransferDialog [data-selected-summary]{margin:0;font-size:13px;line-height:1.65;font-weight:600}#branchTransferDialog .transfer-review>label{display:grid;gap:7px}
#branchTransferDialog [data-transfer-status]:empty{display:none}#branchTransferDialog [data-transfer-status]{font-size:13px;margin:0}#branchTransferDialog .form-actions{display:flex;justify-content:flex-end;gap:12px;margin:0;padding:0}#branchTransferDialog .form-actions>button{min-height:42px;padding:10px 16px!important;font-size:13px}
#branchTransferDialog .transfer-history{margin-top:20px;padding:14px 16px;border:1px solid var(--list-line,#dce3e0);border-radius:12px}#branchTransferDialog .transfer-history summary{cursor:pointer;font-size:13px;font-weight:600}
html body #assetsPanel .card-heading>.asset-header-actions{display:flex;flex-direction:row;flex-wrap:wrap;width:auto;max-width:65%;gap:10px}
@media(max-width:700px){html body #branchTransferDialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:17px}html body #branchTransferDialog>.dialog-head{padding:16px}html body #branchTransferDialog .cash-history-body{padding:14px;max-height:calc(100dvh - 128px)}#branchTransferDialog .transfer-locations,#branchTransferDialog .transfer-review{grid-template-columns:1fr;gap:12px}#branchTransferDialog .transfer-stock-heading{padding:14px;align-items:start}#branchTransferDialog [data-stock-count]{font-size:10px}#branchTransferDialog .transfer-stock-tools{padding:14px;gap:8px 14px}#branchTransferDialog .transfer-search{flex-basis:100%}#branchTransferDialog :is(.transfer-selected-only,.transfer-select-page){font-size:12px;min-height:30px}#branchTransferDialog .transfer-stock-scroll{padding:12px;max-height:48dvh;background:var(--list-soft,#edf2ef)}html body #branchTransferDialog .branch-stock-table,html body #branchTransferDialog .branch-stock-table tbody{display:block}#branchTransferDialog .branch-stock-table colgroup,#branchTransferDialog .branch-stock-table thead{display:none!important}html body #branchTransferDialog .branch-stock-table tbody{display:grid;gap:12px}html body #branchTransferDialog .branch-stock-table tr{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}html body #branchTransferDialog .branch-stock-table td{display:block;padding:0!important;border:0;min-width:0!important;width:auto!important}#branchTransferDialog .branch-stock-table td:first-child{grid-column:1;grid-row:1;align-self:start;padding-top:2px!important}#branchTransferDialog .branch-stock-table td:nth-child(2){grid-column:2/-1;grid-row:1}#branchTransferDialog .branch-stock-table td:nth-child(3){grid-column:2;grid-row:2}#branchTransferDialog .branch-stock-table td:nth-child(4){grid-column:3;grid-row:2}#branchTransferDialog .branch-stock-table td:nth-child(4):before{content:'Stok tersedia';display:block;font-size:10px;opacity:.7;margin-bottom:4px}#branchTransferDialog .branch-stock-table td:nth-child(5){grid-column:2/-1;grid-row:3;display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}#branchTransferDialog .branch-stock-table td:nth-child(5):before{content:'Jumlah transfer';font-size:11px;flex:1}#branchTransferDialog [data-stock-quantity]{width:80px;min-height:40px!important}#branchTransferDialog .transfer-product{gap:10px}#branchTransferDialog .transfer-product :is(img,.transfer-product-placeholder){width:42px;height:42px}#branchTransferDialog .transfer-stock-pagination{padding:10px;gap:6px}#branchTransferDialog .transfer-stock-pagination button{font-size:10px;padding:7px 9px!important}#branchTransferDialog .form-actions{display:grid;grid-template-columns:1fr 1fr}html body #assetsPanel .card-heading>.asset-header-actions{width:100%;max-width:100%}}

/* Compact grouped report controls and consistent dialog spacing. */
html body #tradeDueDialog{width:min(1040px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border-radius:18px;overflow:hidden}
html body #tradeDueDialog>.dialog-head,html body #compoundJournalDialog>.dialog-head{padding:18px 22px;margin:0;border-bottom:1px solid var(--list-line,#dce3e0);gap:16px}
html body #tradeDueDialog .warehouse-dialog-body{padding:18px 22px;max-height:calc(100dvh - 145px);overflow:auto;display:grid;gap:16px}
#tradeDueDialog .trade-due-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}#tradeDueDialog .trade-due-toolbar p{font-size:13px;line-height:1.6;margin:0;color:var(--list-muted,#63766d)}#tradeDueDialog [data-refresh-due]{min-height:40px;padding:9px 14px!important;font-size:12px;flex:none}
#tradeDueDialog .trade-due-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#tradeDueDialog .trade-due-totals>div{padding:14px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--list-soft,#edf2ef);min-width:0}#tradeDueDialog .trade-due-totals span{display:block;font-size:11px;line-height:1.5;color:var(--list-muted,#63766d)}#tradeDueDialog .trade-due-totals strong{display:block;font-size:19px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
#tradeDueDialog .trade-due-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#tradeDueDialog .workspace-tabs{margin:0;width:auto;max-width:100%}#tradeDueDialog .workspace-tabs>button{min-height:36px!important;padding:8px 14px!important;font-size:12px}#tradeDueDialog .unified-search{flex:1;min-width:180px;margin:0}#tradeDueDialog .trade-due-items{margin:0;gap:12px}
html body #tradeDueDialog .trade-due-card{padding:16px 18px;gap:10px 18px;grid-template-columns:minmax(0,1fr) auto;border-radius:13px}#tradeDueDialog .trade-due-card h3{font-size:15px;margin:5px 0}#tradeDueDialog .trade-due-card .eyebrow{font-size:10px;letter-spacing:.08em}#tradeDueDialog .trade-due-card small{font-size:11px;line-height:1.6;overflow-wrap:anywhere}#tradeDueDialog .trade-due-card>strong{font-size:20px;white-space:nowrap}#tradeDueDialog .trade-due-status{font-size:11px}html body #tradeDueDialog .trade-due-card .row-actions>button{min-width:120px;width:auto!important;height:38px!important;min-height:38px!important;padding:8px 12px!important;font-size:12px!important;white-space:nowrap}
html body #compoundJournalDialog{width:min(1100px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;overflow:hidden;border-radius:18px}html body #compoundJournalDialog .warehouse-dialog-body{padding:20px 22px;max-height:calc(100dvh - 145px);overflow:auto}
html body #compoundJournalForm{display:grid;gap:18px;padding:0;margin:0;border:0;background:transparent}html body #compoundJournalForm[hidden]{display:none!important}#compoundJournalForm>.form-grid{padding:18px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--list-soft,#edf2ef);gap:14px 18px}#compoundJournalForm label{font-size:12px;line-height:1.5;gap:7px;margin:0}html body #compoundJournalForm textarea{height:80px!important;min-height:80px!important}#compoundJournalForm .compound-lines-wrap{margin:0;border:1px solid var(--list-line,#dce3e0);border-radius:12px;overflow:auto}#compoundJournalForm .compound-lines-table{min-width:700px;table-layout:fixed;width:100%;margin:0}#compoundJournalForm .compound-lines-table th{font-size:11px;padding:11px 10px;white-space:normal}#compoundJournalForm .compound-lines-table td{padding:10px;min-width:0;vertical-align:middle}#compoundJournalForm .compound-lines-table th:first-child{width:35%}#compoundJournalForm .compound-lines-table th:last-child{width:56px}#compoundJournalForm .compound-lines-table td:last-child>button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important}#compoundJournalForm .compound-lines-table :is(input,select){width:100%;min-width:0!important;height:44px;min-height:44px}#compoundJournalForm>[data-compound-add]{justify-self:start;width:auto!important;min-height:40px;padding:9px 14px!important;font-size:12px}#compoundJournalForm .compound-totals{margin:0;padding:14px 16px;border:1px solid var(--list-line,#dce3e0);border-radius:12px}#compoundJournalForm .compound-totals strong{font-size:20px}#compoundJournalForm>.notice{margin:0;padding:12px 14px;font-size:12px;line-height:1.7;border-radius:10px;background:var(--list-soft,#edf2ef)}#compoundJournalForm>.form-actions{position:sticky;bottom:-20px;margin:0 -22px -20px;padding:14px 22px;background:var(--theme-background,#fff);border-top:1px solid var(--list-line,#dce3e0)}#compoundJournalForm .form-actions>button{height:42px;min-height:42px;padding:10px 16px!important;font-size:12px}
html body #inventoryReportsPanel .inventory-report-block[hidden]{display:none!important}#inventoryReportsPanel .inventory-report-tabs{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;margin:0 0 16px;border-radius:12px}#inventoryReportsPanel .inventory-report-tabs>button{min-height:40px;padding:9px 18px;font-size:13px;border-radius:9px}#inventoryReportsPanel .inventory-report-block .card-heading{padding:16px 20px;min-height:0}#inventoryReportsPanel .inventory-report-block .card-heading h3{font-size:17px;margin:4px 0}#inventoryReportsPanel .inventory-report-block .card-heading small{font-size:12px;line-height:1.6}#inventoryReportsPanel .inventory-report-block .card-heading .eyebrow{display:none}
html body #purchaseReportsPanel #purchaseReportFilter{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:18px 20px;margin:0;border-bottom:1px solid var(--list-line,#dce3e0)}#purchaseReportFilter>label{display:grid;gap:7px;margin:0;font-size:12px;font-weight:500}#purchaseReportFilter>.filter-button{width:auto!important;min-width:120px!important;justify-self:start;height:42px!important;min-height:42px!important;padding:10px 18px!important}#purchaseReportFilter>.period-presets{grid-column:2/-1;justify-content:flex-end;align-self:center;margin:0;gap:8px}#purchaseReportFilter>.filter-status{grid-column:1/-1;margin:0;font-size:12px}#purchaseReportSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px 20px!important;margin:0!important}#purchaseReportSummary .stat-card{padding:16px!important;border-radius:13px;min-height:0!important;gap:8px}#purchaseReportSummary .stat-card>span{font-size:12px;line-height:1.5}#purchaseReportSummary .stat-card>strong{font-size:24px;line-height:1.35;overflow-wrap:anywhere}
#purchaseReportsPanel .section-card>.master-export-button{margin:0 20px 14px;min-height:40px;padding:9px 16px!important;font-size:12px}#purchaseReportsPanel .table-wrap{margin:0 20px 16px!important;padding:0!important;border:1px solid var(--list-line,#dce3e0);border-radius:12px;scrollbar-width:thin}#purchaseReportsPanel .table-wrap>table{table-layout:auto;min-width:1550px!important;width:100%;margin:0}#purchaseReportsPanel :is(th,td){padding:13px 14px;vertical-align:middle}#purchaseReportsPanel th{font-size:11px;letter-spacing:.03em;white-space:nowrap}#purchaseReportsPanel td{font-size:13px}#purchaseReportRows td{word-break:normal!important;overflow-wrap:normal!important}#purchaseReportRows td:nth-child(2){min-width:210px}#purchaseReportRows td:nth-child(3),#purchaseReportRows td:nth-child(13){white-space:nowrap;min-width:105px}#purchaseReportRows td:nth-child(4){min-width:190px;line-height:1.6}#purchaseReportRows td:nth-child(4) .cell-note{font-size:11px}#purchaseReportRows td:nth-child(n+6):nth-child(-n+10){white-space:nowrap;min-width:100px;font-variant-numeric:tabular-nums}#purchaseReportRows td:last-child{min-width:150px}#purchaseReportRows .row-actions{display:flex;flex-wrap:wrap;gap:8px}#purchaseReportRows button{min-height:36px!important;height:auto!important;font-size:12px!important;line-height:1.4!important;padding:8px 12px!important;white-space:nowrap!important}#purchaseReportPagination{margin:0;padding:14px 20px}
html body #catalogOrdersPanel>.section-card{overflow:hidden}#catalogOrdersPanel .toolbar{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:12px;align-items:center;padding:18px 20px;margin:0;border-bottom:1px solid var(--list-line,#dce3e0)}#catalogOrdersPanel .toolbar .search-field{margin:0;min-width:0}#catalogOrdersPanel .toolbar :is(select,button){min-height:44px;height:44px;margin:0;font-size:13px}#catalogOrdersPanel #orderListStatus{font-size:12px;line-height:1.65;padding:12px 20px;margin:0;color:var(--list-muted,#63766d);background:var(--list-soft,#edf2ef)}#catalogOrdersPanel .table-wrap{margin:16px 20px!important;padding:0!important;border:1px solid var(--list-line,#dce3e0);border-radius:12px}#catalogOrdersPanel table{table-layout:auto;width:100%;min-width:920px}#catalogOrdersPanel th{font-size:11px;padding:12px 14px;white-space:nowrap}#catalogOrdersPanel td{font-size:13px;padding:14px;vertical-align:middle;word-break:normal!important}#catalogOrderRows td:first-child{width:48px;min-width:48px!important;text-align:center}#catalogOrderRows td:nth-child(2){min-width:250px;max-width:360px}#catalogOrderRows td:nth-child(2)>strong{font-size:12px;display:block;overflow-wrap:anywhere;line-height:1.65}#catalogOrderRows td:nth-child(3){min-width:160px;line-height:1.6}#catalogOrderRows td:nth-child(4){white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}#catalogOrderRows td:last-child{min-width:130px}html body #catalogOrderRows .row-actions>button{width:112px!important;min-width:112px!important;height:38px!important;min-height:38px!important;padding:8px 12px!important;font-size:12px!important;white-space:nowrap!important}.catalog-status{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 10px;border-radius:8px;font-size:11px;font-weight:600;background:var(--list-soft,#edf2ef);border:1px solid var(--list-line,#dce3e0);white-space:nowrap}.catalog-status-baru{color:var(--theme-button,#26735d);background:color-mix(in srgb,var(--theme-button,#26735d) 8%,var(--theme-background,#fff))}.catalog-status-dibatalkan{color:#ad3d4d;background:#fff0f2}.catalog-status-selesai{color:#25724d;background:#eaf5ee}#catalogOrderPages{padding:14px 20px;margin:0;border-top:1px solid var(--list-line,#dce3e0)}
html body #adminView .section-intro>.master-export-button{width:auto!important;flex:0 0 auto!important;min-width:100px;justify-self:start;height:42px!important;padding:10px 16px!important}#tijarahMembersPanel>.section-card{overflow:hidden}#tijarahMembersPanel .card-heading{padding:18px 20px;gap:12px;min-height:0}#tijarahMembersPanel .card-heading h3{font-size:18px;margin:4px 0}#tijarahMembersPanel .toolbar{padding:16px 20px;display:flex;gap:12px;margin:0;border-bottom:1px solid var(--list-line,#dce3e0)}#tijarahMembersPanel .toolbar .search-field{width:100%;max-width:640px;margin:0}#tijarahMembersPanel .table-wrap{margin:16px 20px!important;padding:0!important;min-width:0;border:1px solid var(--list-line,#dce3e0);border-radius:12px}#tijarahMembersPanel table{min-width:1000px;table-layout:auto;width:100%}#tijarahMembersPanel th{font-size:11px;white-space:nowrap;padding:12px 14px}#tijarahMembersPanel td{font-size:13px;line-height:1.6;padding:14px;vertical-align:middle;word-break:normal!important}#tijarahMembersPanel td .cell-note{font-size:11px}#tijarahMembersPanel td:last-child{min-width:145px}#tijarahMembersPanel td:last-child button{min-width:120px!important;width:auto!important;min-height:38px!important;font-size:12px!important;white-space:nowrap!important}
/* Product actions stay grouped, rather than being spread across the whole page. */
html body #productsPanel>.section-intro{display:block!important}.product-management-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}.product-action-group{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 16px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--theme-background,#fff)}.product-action-group-title{flex-basis:100%;font-size:11px;color:var(--list-muted,#63766d);line-height:1.5}.product-action-group button{min-height:40px!important;height:40px!important;padding:9px 14px!important;font-size:12px!important;white-space:nowrap}.product-management-toolbar~div{display:none}html body #productsPanel>.section-intro>div:has(>.product-management-toolbar){width:100%}
/* Search never changes the permission state of any menu item. */
.sidebar-menu-search{padding:8px 4px 14px;flex:none}.sidebar-menu-search>label{display:flex;align-items:center;gap:8px;padding:0 10px;min-height:42px;border:1px solid color-mix(in srgb,var(--theme-primary-text,#fff) 25%,transparent);border-radius:11px;background:color-mix(in srgb,var(--theme-primary-text,#fff) 8%,transparent);color:var(--theme-primary-text,#fff)}.sidebar-menu-search input{border:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;width:100%;min-width:0;outline:0!important;font:13px/1.5 var(--theme-font-family,system-ui);height:40px;padding:6px 0}.sidebar-menu-search input::placeholder{color:inherit;opacity:.7}.sidebar-menu-search button{display:grid;place-items:center;flex:none;width:26px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:inherit}.sidebar-menu-search button[hidden]{display:none}.sidebar-menu-search>small{display:block;font-size:11px;line-height:1.5;padding:5px 6px 0;color:var(--theme-primary-text,#fff);opacity:.8}.sidebar-menu-search>small:empty{display:none}.side-nav [data-menu-search-hidden]{display:none!important}
/* Purchase controls mirror the sales workspace on all screen sizes. */
html body #purchaseForm #purchaseProductResults .purchase-product-quantity{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;align-items:center!important;justify-content:stretch!important;gap:4px!important;padding:6px 10px!important;height:50px!important;min-height:50px!important;box-sizing:border-box}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity>button{display:grid!important;place-items:center!important;align-self:center!important;justify-self:center!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;line-height:1!important;font-size:22px!important;text-align:center!important;border:0!important;box-sizing:border-box}
html body #purchaseForm #purchaseProductResults .purchase-product-quantity>input{width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;text-align:center!important;line-height:36px!important}
html body #purchaseForm #purchaseProductResults .purchase-product-inputs>label{grid-template-rows:auto 50px;gap:7px}html body #purchaseForm #purchaseProductResults [data-purchase-card-price]{height:50px!important;min-height:50px!important}.purchase-selling-price{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:11px;color:var(--list-muted,#63766d)}#purchaseProductResults .purchase-selling-price b{display:inline;font-size:12px;color:var(--theme-button,#26735d);white-space:nowrap}
html body #purchaseForm>.checkout-payment .form-actions,html body .inventory-raw-purchase .inventory-payment>.form-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)!important;gap:12px!important;padding:14px 0 0!important;margin:0!important;border-top:1px solid var(--list-line,#dce3e0);align-items:stretch}
html body #purchaseForm>.checkout-payment .form-actions>button,html body .inventory-raw-purchase .inventory-payment>.form-actions>button{grid-row:auto!important;width:100%!important;height:auto!important;min-height:46px!important;border-radius:11px!important;margin:0!important;padding:10px 12px!important;box-sizing:border-box;font:600 12px/1.4 var(--theme-font-family,system-ui)!important;white-space:normal!important}
@media(max-width:1100px){.product-management-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.product-action-group:last-child{grid-column:1/-1}html body #purchaseReportsPanel #purchaseReportFilter{grid-template-columns:repeat(3,minmax(0,1fr))}#purchaseReportFilter>.period-presets{grid-column:2/-1}}
@media(max-width:700px){html body #tradeDueDialog .warehouse-dialog-body,html body #compoundJournalDialog .warehouse-dialog-body{padding:14px;max-height:calc(100dvh - 130px)}html body #tradeDueDialog>.dialog-head,html body #compoundJournalDialog>.dialog-head{padding:16px}#tradeDueDialog .trade-due-toolbar{align-items:start}#tradeDueDialog .trade-due-toolbar p{font-size:12px}#tradeDueDialog .trade-due-totals{gap:8px}#tradeDueDialog .trade-due-totals>div{padding:10px}#tradeDueDialog .trade-due-totals strong{font-size:14px}#tradeDueDialog .trade-due-totals span{font-size:10px}#tradeDueDialog .trade-due-filters{display:grid;gap:10px}#tradeDueDialog .workspace-tabs{width:100%;box-sizing:border-box}#tradeDueDialog .workspace-tabs>button{flex:1}html body #tradeDueDialog .trade-due-card{padding:14px;grid-template-columns:minmax(0,1fr);gap:8px}#tradeDueDialog .trade-due-card>strong{font-size:19px}#tradeDueDialog .trade-due-card .row-actions{justify-content:flex-start;flex-wrap:wrap}#compoundJournalForm>.form-grid{padding:14px;gap:12px;grid-template-columns:1fr}#compoundJournalForm .compound-lines-table{display:block;min-width:0!important}#compoundJournalForm .compound-lines-table tr{padding:12px;gap:10px}#compoundJournalForm .compound-lines-table td{padding:0!important}#compoundJournalForm .compound-lines-table th:first-child,#compoundJournalForm .compound-lines-table th:last-child{width:auto}#compoundJournalForm>.form-actions{bottom:-14px;margin:0 -14px -14px;padding:12px 14px}#compoundJournalForm .form-actions>button{width:100%}#inventoryReportsPanel .inventory-report-tabs{width:100%;box-sizing:border-box}#inventoryReportsPanel .inventory-report-tabs>button{flex:1;min-width:0;font-size:12px;padding:10px}#inventoryReportsPanel .inventory-report-block .card-heading{padding:14px}html body #purchaseReportsPanel #purchaseReportFilter{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}#purchaseReportFilter>label:nth-of-type(5){grid-column:1/-1}#purchaseReportFilter>.period-presets{grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap}#purchaseReportSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px!important}#purchaseReportSummary .stat-card{padding:13px!important}#purchaseReportSummary .stat-card>span{font-size:11px}#purchaseReportSummary .stat-card>strong{font-size:18px}#purchaseReportsPanel .table-wrap,#catalogOrdersPanel .table-wrap,#tijarahMembersPanel .table-wrap{margin:0 14px 14px!important}#purchaseReportsPanel .section-card>.master-export-button{margin:0 14px 14px}#purchaseReportPagination{padding:14px}#catalogOrdersPanel .toolbar{grid-template-columns:minmax(0,1fr) auto;padding:14px;gap:10px}#catalogOrdersPanel .toolbar .search-field{grid-column:1/-1}#catalogOrdersPanel #orderListStatus{padding:12px 14px;font-size:11px}#catalogOrdersPanel table,#tijarahMembersPanel table{min-width:0!important}#catalogOrderRows td:nth-child(n),#tijarahMembersPanel td{min-width:0!important;width:auto!important;max-width:none!important}#catalogOrderPages{padding:14px}#tijarahMembersPanel .card-heading,#tijarahMembersPanel .toolbar{padding:14px}html body #tijarahMembersPanel .toolbar .search-field{max-width:none;width:100%}.product-management-toolbar{grid-template-columns:1fr}.product-action-group{padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-action-group-title{grid-column:1/-1}.product-action-group:last-child{grid-column:auto}.product-action-group>button{width:100%;min-width:0!important;white-space:normal;font-size:11px!important;padding:8px!important}html body #purchaseForm>.checkout-payment .form-actions,html body .inventory-raw-purchase .inventory-payment>.form-actions{gap:10px!important;padding-top:12px!important}}

html body #assetLabelDialog{width:min(900px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border-radius:18px}html body #assetLabelDialog>.dialog-head{margin:0;padding:18px 22px;border-bottom:1px solid var(--list-line,#dce3e0)}html body #assetLabelDialog>.warehouse-dialog-body{display:grid;gap:18px;padding:20px 22px;overflow:auto;max-height:calc(100dvh - 145px)}#assetLabelDialog .asset-label-settings{padding:16px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--list-soft,#edf2ef);margin:0;gap:16px}#assetLabelDialog .asset-label-settings label{font-size:12px;gap:8px}#assetLabelDialog>.warehouse-dialog-body>.unified-search{margin:0!important}#assetLabelDialog .row-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}html body #assetLabelDialog .row-actions>button{width:auto!important;min-width:130px!important;min-height:40px!important;height:40px!important;padding:9px 14px!important;white-space:nowrap!important;font-size:12px!important}#assetLabelDialog .asset-label-choices{gap:12px;margin:0}#assetLabelDialog .asset-label-choices>label{padding:16px;gap:14px;min-height:76px;background:var(--theme-background,#fff)}#assetLabelDialog .asset-label-choices strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}#assetLabelDialog .asset-label-choices small{font-size:12px;line-height:1.6;margin-top:6px}#assetLabelDialog .form-actions{position:sticky;bottom:-20px;border-top:1px solid var(--list-line,#dce3e0);padding:14px 22px;margin:0 -22px -20px;background:var(--theme-background,#fff);display:flex;justify-content:flex-end}#assetLabelDialog .form-actions>button{width:auto;min-height:42px;padding:10px 18px!important;font-size:12px}
@media(max-width:700px){html body #assetLabelDialog>.dialog-head{padding:16px}html body #assetLabelDialog>.warehouse-dialog-body{padding:16px;gap:16px;max-height:calc(100dvh - 130px)}#assetLabelDialog .asset-label-settings{grid-template-columns:1fr;gap:14px;padding:14px}html body #assetLabelDialog .row-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}html body #assetLabelDialog .row-actions>button{min-width:0!important;width:100%!important;font-size:11px!important;padding:9px!important}#assetLabelDialog .asset-label-choices>label{padding:14px;gap:12px}#assetLabelDialog .form-actions{bottom:-16px;padding:14px 16px;margin:0 -16px -16px}#assetLabelDialog .form-actions>button{width:100%}}

html body #repairsPanel .jasa-catalog>.card-heading{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:18px 20px;min-height:0;border-bottom:1px solid var(--list-line,#dce3e0)}#repairsPanel .jasa-catalog>.card-heading>div:first-child{flex:1;min-width:180px}#repairsPanel .jasa-catalog>.card-heading h3{font-size:18px;margin:5px 0}#repairsPanel .jasa-catalog>.card-heading .eyebrow{font-size:10px}#repairsPanel .jasa-catalog>.card-heading small{font-size:12px;line-height:1.6}html body #repairsPanel .jasa-catalog>.card-heading>button{flex:0 0 auto!important;width:auto!important;min-height:42px!important;height:42px!important;margin:0;padding:10px 16px!important;font-size:12px!important}#repairsPanel .jasa-catalog>.jasa-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:18px 20px;margin:0}#repairsPanel .jasa-search>label{font-size:12px;display:grid;gap:7px;margin:0}#repairsPanel .jasa-search button{min-height:44px;margin:0;padding:10px 16px;font-size:12px}#repairsPanel .jasa-catalog>p[role=status]{font-size:12px;margin:0;padding:0 20px 14px;color:var(--list-muted,#63766d)}#repairsPanel .jasa-catalog>.jasa-cards{padding:0 20px 20px;margin:0;gap:14px}.jasa-empty-state{grid-column:1/-1;display:grid;justify-items:center;gap:10px;padding:32px 18px;border:1px dashed var(--list-line,#dce3e0);border-radius:13px;background:var(--list-soft,#edf2ef);text-align:center}.jasa-empty-state>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:color-mix(in srgb,var(--theme-button,#26735d) 8%,var(--theme-background,#fff));color:var(--theme-button,#26735d)}.jasa-empty-state svg{width:26px;height:26px}.jasa-empty-state strong{font-size:14px}.jasa-empty-state p{margin:0;font-size:12px;line-height:1.6;color:var(--list-muted,#63766d)}
@media(max-width:700px){html body #repairsPanel .jasa-catalog>.card-heading{padding:14px;gap:10px}#repairsPanel .jasa-catalog>.card-heading>div:first-child{flex-basis:100%}html body #repairsPanel .jasa-catalog>.card-heading>button{flex:1!important;min-width:0!important}#repairsPanel .jasa-catalog>.jasa-search{padding:14px;gap:10px}#repairsPanel .jasa-catalog>.jasa-cards{padding:0 14px 14px}#repairsPanel .jasa-catalog>p[role=status]{padding:0 14px 14px}.jasa-empty-state{padding:24px 14px}}

html body #userProfilePanel .profile-settings-tabbed{display:block!important;border:1px solid var(--list-line,#dce3e0);border-radius:15px;overflow:hidden;background:var(--theme-background,#fff);margin-top:18px}.profile-settings-tabs{display:flex;gap:4px;padding:6px!important;margin:16px!important;width:fit-content;max-width:calc(100% - 32px);box-sizing:border-box}.profile-settings-tabs button{font-size:13px;min-height:40px;padding:9px 18px}html body .profile-settings-tabbed>form{margin:0!important;border:0!important;box-shadow:none!important;max-width:100%!important;width:100%!important}html body .profile-settings-tabbed>form[hidden]{display:none!important}.profile-settings-tabbed #changePasswordForm .form-grid{max-width:640px}.profile-settings-tabbed #changePasswordForm .form-actions{max-width:640px}.profile-settings-tabbed .card-heading{border-top:1px solid var(--list-line,#dce3e0)}
@media(max-width:700px){.profile-settings-tabs{width:calc(100% - 28px);margin:14px!important;max-width:calc(100% - 28px)}.profile-settings-tabs>button{flex:1;font-size:12px;padding:10px}}

html body #productForm label[hidden]{display:none!important}#productForm .product-gallery-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}#productForm .product-gallery-heading>div:first-child{flex:1;min-width:220px}#productForm .product-gallery-heading strong{font-size:14px}#productForm .product-gallery-heading small{font-size:12px;line-height:1.6;display:block;margin-top:6px}#productForm .product-gallery-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px}#productForm .product-gallery-tools>button{min-height:40px;height:40px;padding:9px 14px!important;font-size:12px}#productForm .product-gallery-tools input[type=file]{display:none!important}#productImageFileInfo{font-size:11px;line-height:1.5;background:transparent;border:0;padding:0;max-width:220px;white-space:normal}html body #productImageSlots{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(140px,170px))!important;gap:14px;margin:0 0 18px;align-items:start}html body #productImageSlots .product-image-slot{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border-radius:12px;border:1px solid var(--list-line,#dce3e0);background:var(--theme-background,#fff)}html body #productImageSlots input[type=file]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;overflow:hidden;clip-path:inset(50%)}html body #productImageSlots .product-image-slot:not(.has-image)~.product-image-slot:not(.has-image){display:none!important}html body #productImageSlots .product-image-canvas{height:140px!important;min-height:140px!important;max-height:140px!important;border-radius:9px;overflow:hidden;background:var(--list-soft,#edf2ef)}html body #productImageSlots .product-image-canvas img{object-fit:contain!important;width:100%;height:100%}#productImageSlots .product-image-canvas b{font-size:30px}#productImageSlots .product-image-canvas em{font-size:11px;line-height:1.5}#productImageSlots .product-image-slot>small{font-size:11px;line-height:1.5}html body #productImageSlots .remove-product-image{position:absolute;right:5px;top:5px;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;z-index:2;padding:0!important;border-radius:50%;font-size:0}#productImageSlots .remove-product-image:after{content:'×';font-size:20px;line-height:1}.product-image-slot:focus-within{outline:2px solid var(--theme-button,#26735d);outline-offset:3px}
.cooperation-offer-editor{display:grid;gap:14px;margin-top:20px;padding:18px;border:1px solid var(--list-line,#dce3e0);border-radius:13px;background:var(--list-soft,#edf2ef)}.cooperation-offer-editor[hidden]{display:none!important}.cooperation-offer-editor header h3{margin:0 0 6px;font-size:16px}.cooperation-offer-editor header small{font-size:12px;line-height:1.6;opacity:.75}.offer-catalog-tools{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1.4fr) auto auto;align-items:end;gap:10px}.offer-catalog-tools label{font-size:12px;margin:0;display:grid;gap:6px}.offer-catalog-tools button,.offer-template-button{min-height:40px;padding:9px 14px!important;font-size:12px}.cooperation-offer-editor .table-wrap{margin:0;padding:0;border:1px solid var(--list-line,#dce3e0);border-radius:10px}.cooperation-offer-editor table{min-width:650px;width:100%;table-layout:fixed;margin:0}.cooperation-offer-editor th{font-size:11px;padding:10px}.cooperation-offer-editor td{padding:10px}.cooperation-offer-editor th:first-child{width:38%}.cooperation-offer-editor th:last-child{width:48px}.cooperation-offer-editor input{width:100%;min-width:0}.cooperation-offer-editor td small{display:block;font-size:10px;opacity:.7;margin-top:5px}.cooperation-offer-editor td button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important}.cooperation-offer-editor [data-offer-sum]{margin:0;font-weight:600;font-size:14px;text-align:right}.cooperation-offer-editor .notice{margin:0;padding:10px;font-size:11px;line-height:1.6}.offer-template-button{margin-top:14px!important}.offer-preview-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:12px}.offer-preview-table th,.offer-preview-table td{border:1px solid var(--list-line,#dce3e0);padding:10px;text-align:left}.offer-preview-table td.num{text-align:right;white-space:nowrap}.offer-preview-total{text-align:right;padding:12px;border-top:2px solid var(--theme-button,#26735d);font-weight:600}.agreement-subject{font-size:13px;margin:16px 0;line-height:1.6}
@media(max-width:700px){html body #productImageSlots{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}#productForm .product-gallery-heading{gap:14px}#productForm .product-gallery-tools{width:100%}#productForm .product-gallery-tools>button{flex:1}#productImageFileInfo{flex-basis:100%;max-width:100%}.cooperation-offer-editor{padding:14px}.offer-catalog-tools{grid-template-columns:1fr 1fr}.offer-catalog-tools label{grid-column:1/-1}.cooperation-offer-editor table{min-width:0;display:block}.cooperation-offer-editor thead{display:none}.cooperation-offer-editor tbody{display:grid;gap:10px;padding:10px}.cooperation-offer-editor tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border:1px solid var(--list-line,#dce3e0);border-radius:10px}.cooperation-offer-editor td{display:block;min-width:0;padding:0}.cooperation-offer-editor td:first-child,.cooperation-offer-editor td:last-child{grid-column:1/-1}.cooperation-offer-editor td:last-child{justify-self:end}.cooperation-offer-editor td:nth-child(2):before{content:'Qty';font-size:11px}.cooperation-offer-editor td:nth-child(3):before{content:'Satuan';font-size:11px}.cooperation-offer-editor td:nth-child(4){grid-column:1/-1}.cooperation-offer-editor td:nth-child(4):before{content:'Harga satuan (Rp)';font-size:11px}}
.hero-layout-settings{padding:20px;margin-bottom:20px}.hero-layout-settings .card-heading{margin-bottom:16px}.hero-layout-settings h3{margin:0}.hero-layout-settings p{font-size:13px;opacity:.7}.hero-layout-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hero-layout-choices>button{padding:12px;text-align:left;border:1px solid var(--list-line,#dce3e0);border-radius:14px;background:var(--theme-background,#fff);color:var(--theme-font,#26364b);cursor:pointer;min-width:0}.hero-layout-choices>button[aria-pressed=true]{border:2px solid var(--theme-button,#26735d);padding:11px;box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-button,#26735d) 12%,transparent)}.hero-layout-choices strong,.hero-layout-choices small{display:block;margin-top:10px}.hero-layout-choices small{font-size:11px;line-height:1.6;opacity:.7}.hero-layout-mini{position:relative;display:block;height:100px;overflow:hidden;border-radius:9px;background:linear-gradient(125deg,#c5d9d1,#78968b)}.hero-layout-mini:before{content:'';position:absolute;width:100px;height:100px;right:15%;top:20%;border-radius:50%;background:#ffffff48}.hero-layout-mini i{position:absolute;bottom:18px;right:12px;width:45%;height:5px;background:#fff;box-shadow:0 9px 0 #ffffff80;z-index:1}.hero-layout-mini b{position:absolute;inset:48% 0 0;background:linear-gradient(transparent,#173d35aa)}.hero-layout-mini.glass b{inset:36% 8px 8px 30%;border-radius:7px;background:#173d3580}.hero-layout-mini.split b{inset:0 55% 0 0;background:var(--theme-button,#26735d)}.hero-layout-mini.split i{left:8px;right:auto;bottom:42%;width:32%}.hero-layout-mini.image :is(i,b){display:none}.hero-layout-settings .form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.hero-layout-settings [role=status]{font-size:12px}
@media(max-width:700px){.hero-layout-settings{padding:14px}.hero-layout-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero-layout-settings .form-actions{flex-wrap:wrap}}
/* One continuous action surface, shared with sales; reserve the raised navigation icon. */
@media screen and (max-width:700px){
 html body #adminView #purchaseForm>.checkout-payment>.form-actions,
 html body #adminView #checkoutPanel .checkout-layout>.checkout-payment>.form-actions{
 position:fixed!important;left:0!important;right:0!important;width:100%!important;bottom:var(--transaction-action-bottom,116px)!important;
 padding:12px 14px!important;margin:0!important;border:0!important;border-top:1px solid var(--list-line,#dce3e0)!important;border-radius:0!important;
 background:var(--theme-background,#f5f7fb)!important;background-image:none!important;box-shadow:none!important;isolation:isolate;box-sizing:border-box;
 }
 html body #adminView #purchaseForm>.checkout-payment>.form-actions:before,
 html body #adminView #checkoutPanel .checkout-layout>.checkout-payment>.form-actions:before{content:'';position:absolute;inset:0 0 calc(-1 * var(--transaction-action-bottom,116px));z-index:-1;background:var(--theme-background,#f5f7fb);pointer-events:none}
 html body #adminView #purchaseForm>.checkout-payment>.form-actions>button{min-height:46px!important}
}
@media screen and (max-width:700px){
 html body #adminView .workspace{padding-top:var(--mobile-admin-header-height,80px)!important}
 html body #adminView .top-header{height:auto!important;box-sizing:border-box}
 html body #adminView:has(#dashboardPanel:not([hidden])) .top-header{flex-wrap:wrap;gap:10px!important}
 html body #adminView:has(#dashboardPanel:not([hidden])) .header-title{flex:1 1 100%;width:100%}
 html body #adminView:has(#dashboardPanel:not([hidden])) .admin-pocket-brand strong{font-size:15px;line-height:1.4;word-break:normal}
 html body #adminView:has(#dashboardPanel:not([hidden])) .top-header>.user-chip{margin-left:auto;max-width:100%;flex-wrap:wrap}
}
@media screen and (max-width:700px){
 html body #adminView:has(#dashboardPanel:not([hidden])) .admin-pocket-brand{width:100%;gap:12px}
 html body #adminView:has(#dashboardPanel:not([hidden])) .admin-pocket-brand>img{width:48px;height:48px;flex:0 0 48px;border-radius:14px}
 html body #adminView:has(#dashboardPanel:not([hidden])) .admin-pocket-brand>span{flex:1;min-width:0}
 html body #adminView:has(#dashboardPanel:not([hidden])) .admin-pocket-brand strong{font-size:18px;line-height:1.35;letter-spacing:-.02em}
 html body #adminView:has(#dashboardPanel:not([hidden])) .admin-pocket-brand small{font-size:11px}
 html body #adminView:has(#dashboardPanel:not([hidden])) .top-header>.user-chip{gap:8px;justify-content:flex-end}
}

html body #adminView .top-header{color:var(--theme-header-text,var(--theme-font))!important}
html body #adminView .top-header :is(h1,.admin-pocket-brand strong,.admin-pocket-brand small,.top-kicker){color:var(--theme-header-text,var(--theme-font))!important}

/* Compact document actions on the consignee master, with consistent panel insets. */
html body #adminView #consigneesPanel>.section-intro{display:flex!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:wrap;gap:10px!important;margin:0 0 18px!important;padding:14px 16px!important;border:1px solid var(--list-line,#dce3e0);border-radius:14px;background:var(--theme-background,#fff);box-sizing:border-box}
html body #adminView #consigneesPanel>.section-intro>.consignee-document-actions>button{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:42px!important;height:42px!important;margin:0!important;padding:10px 16px!important;line-height:1.4!important;font-size:12px!important;white-space:nowrap!important;border-radius:10px!important;box-sizing:border-box}
@media(max-width:700px){
 html body #adminView #consigneesPanel>.section-intro{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;padding:12px!important;margin-bottom:14px!important}
 html body #adminView #consigneesPanel>.section-intro>.consignee-document-actions>button{width:100%!important;padding:10px!important}
 html body #adminView #consigneesPanel>.section-intro>.consignee-document-actions>.filter-button{grid-column:1/-1}
}

html body #adminView #consigneesPanel>.section-intro>.consignee-document-actions{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px!important;width:100%;margin:0;padding:0}
@media(max-width:700px){
 html body #adminView #consigneesPanel>.section-intro{display:block!important}
 html body #adminView #consigneesPanel>.section-intro>.consignee-document-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
}

html body #adminView .sidebar .sidebar-menu-search>label{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;padding:0 12px!important;box-sizing:border-box;overflow:hidden;color:inherit}
html body #adminView .sidebar .sidebar-menu-search>label>span{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;color:inherit}
html body #adminView .sidebar .sidebar-menu-search svg{display:block;width:18px;height:18px}
html body #adminView .sidebar .sidebar-menu-search #sidebarMenuSearch,
html body #adminView .sidebar .sidebar-menu-search #sidebarMenuSearch:is(:focus,:focus-visible,:active){flex:1!important;width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:13px/1.5 var(--theme-font-family,system-ui)!important;-webkit-appearance:none;appearance:none}
html body #adminView .sidebar .sidebar-menu-search>label:focus-within{outline:2px solid currentColor;outline-offset:2px}
html body #adminView .sidebar .sidebar-menu-search #sidebarMenuSearch::-webkit-search-cancel-button{-webkit-appearance:none}

html body #adminView #userProfilePanel :is(#userProfileForm,#changePasswordForm)[hidden]{display:none!important}
html body #adminView #userProfilePanel .profile-settings-tabs{position:relative;display:flex!important;align-items:center;width:fit-content;justify-content:flex-start;gap:4px}
html body #adminView #userProfilePanel .profile-settings-tabs>button[aria-selected=true]{background:var(--theme-button,#26735d)!important;color:var(--theme-button-text,#fff)!important}
html body #adminView #userProfilePanel .profile-settings-tabbed>:is(#userProfileForm,#changePasswordForm):not([hidden]){display:block!important;width:100%;box-sizing:border-box}
html body #catalogHeroPanel{max-width:1280px;margin-inline:auto}
html body #catalogHeroPanel [data-hero-section][hidden],html body #catalogHeroPanel .hero-editor[hidden],html body #catalogHeroPanel .hero-editor-empty[hidden]{display:none!important}
#catalogHeroPanel .hero-manager-tabs{margin:0 0 18px}
#catalogHeroPanel .hero-layout-settings{padding:24px;margin:0}
.hero-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.hero-settings-heading h3{font-size:20px;margin:0}.hero-settings-heading p{margin:8px 0 0;font-size:13px;line-height:1.6;opacity:.75}.hero-settings-heading>button{flex:none;min-height:40px;font-size:12px}
#catalogHeroPanel .hero-layout-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#catalogHeroPanel .hero-layout-choices>button{padding:14px}
#catalogHeroPanel .hero-layout-choices>button[aria-pressed=true]{padding:13px}
#catalogHeroPanel .hero-layout-mini{height:116px}
#catalogHeroPanel .hero-layout-mini i{left:12px;right:auto}
#catalogHeroPanel .hero-layout-mini.glass b{inset:36% 30% 8px 8px}
#catalogHeroPanel .hero-layout-mini.original{background:url('/images/hero-shopping.jpg') center/cover}
#catalogHeroPanel .hero-layout-mini.original :is(i,b){display:none}
.hero-layout-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid var(--list-line,#dce3e0)}
.hero-layout-summary [role=status]{font-size:13px;color:var(--theme-button,#26735d)}
.hero-preserve-note{font-size:12px;line-height:1.7;padding:12px 14px;margin:18px 0 0;border-radius:10px;background:var(--list-soft,#edf2ef)}
#catalogHeroPanel .hero-manager-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
#catalogHeroPanel .hero-manager-layout>.section-card{padding:20px}
#catalogHeroPanel .hero-manager-layout .card-heading{padding:0 0 16px;margin:0;gap:12px;border:0;background:none;align-items:center}
#catalogHeroPanel .hero-manager-layout .card-heading h3{margin:0}
#catalogHeroPanel [data-hero-count]{display:block;margin-top:6px;font-size:12px;opacity:.7}
.hero-editor-empty{display:grid;justify-items:center;text-align:center;align-content:center;min-height:300px;gap:12px;padding:24px;background:var(--list-soft,#edf2ef);border:1px dashed var(--list-line,#dce3e0);border-radius:14px}.hero-editor-empty>span{font-size:36px;color:var(--theme-button,#26735d)}.hero-editor-empty>p{font-size:13px;line-height:1.7;max-width:280px;margin:0;opacity:.75}.hero-editor-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:14px}
#catalogHeroPanel .hero-editor-card>h3{margin:0 0 18px}
#catalogHeroPanel .hero-editor .form-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 0 0;border-top:1px solid var(--list-line,#dce3e0);margin:0}
#catalogHeroPanel .hero-slide-list article{grid-template-columns:100px minmax(0,1fr);padding:14px;gap:14px}#catalogHeroPanel .hero-slide-list article>img{width:100px;height:88px}#catalogHeroPanel .hero-slide-list p{margin:8px 0 12px}#catalogHeroPanel .hero-slide-list .row-actions{display:flex;gap:8px;flex-wrap:wrap}#catalogHeroPanel .hero-slide-list .row-actions>button{min-height:36px;font-size:12px;padding:8px 12px!important}
@media(max-width:800px){#catalogHeroPanel .hero-layout-settings{padding:18px}#catalogHeroPanel .hero-layout-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#catalogHeroPanel .hero-manager-layout{grid-template-columns:1fr}.hero-settings-heading{align-items:start;flex-direction:column;gap:14px}.hero-settings-heading h3{font-size:18px}.hero-settings-heading>button{width:100%}.hero-layout-summary{align-items:stretch;flex-direction:column;gap:14px}.hero-layout-summary>button{width:100%}#catalogHeroPanel .hero-layout-mini{height:90px}#catalogHeroPanel .hero-layout-choices>button{padding:10px}#catalogHeroPanel .hero-layout-choices>button[aria-pressed=true]{padding:9px}#catalogHeroPanel .hero-layout-choices strong{font-size:13px}#catalogHeroPanel .hero-layout-choices small{font-size:11px}.hero-editor-fields{grid-template-columns:1fr}#catalogHeroPanel .hero-editor .form-actions{display:grid;grid-template-columns:1fr 1fr}#catalogHeroPanel .hero-slide-list article{grid-template-columns:80px minmax(0,1fr)}#catalogHeroPanel .hero-slide-list article>img{width:80px;height:76px}}
@media screen and (max-width:700px){
 html body #adminView #productsPanel>.section-intro{display:block!important;grid-template-columns:none!important;margin:0 0 16px!important;padding:0!important}
 html body #adminView #productsPanel>.section-intro>.product-management-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;gap:12px!important;grid-column:1/-1!important}
 html body #adminView #productsPanel .product-management-toolbar>.product-action-group{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;box-sizing:border-box;padding:12px!important;gap:10px!important;grid-column:auto!important}
 html body #adminView #productsPanel .product-action-group-title{grid-column:1/-1;font-size:11px;line-height:1.4}
 html body #adminView #productsPanel>.section-intro .product-action-group>button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;width:100%!important;min-height:48px!important;height:auto!important;max-width:none!important;padding:10px!important;border-radius:10px!important;font:500 11px/1.4 var(--theme-font-family,system-ui)!important;white-space:normal!important}
 html body #adminView #productsPanel .product-action-group:last-child>button{grid-column:1/-1}
 html body #adminView #productsPanel .product-action-group .product-mobile-action-icon{display:grid;place-items:center;flex:0 0 18px;width:18px!important;height:18px!important;color:inherit!important}
 html body #adminView #productsPanel .product-action-group .product-mobile-action-icon svg{width:18px!important;height:18px!important}
 html body #adminView #productsPanel>.section-intro #addProductButton{background:var(--theme-button)!important;color:var(--theme-button-text,#fff)!important;border-color:var(--theme-button)!important}
 html body #adminView #productsPanel>.inventory-tabs{display:grid;grid-template-columns:1.4fr 1fr .7fr;width:100%;box-sizing:border-box}
 html body #adminView #productsPanel>.inventory-tabs>button{min-width:0;white-space:normal;min-height:42px;font-size:11px;padding:9px 6px}
}
/* Catalog orders: stable column proportions and an inset table container. */
html body #adminView #catalogOrdersPanel .table-wrap{box-sizing:border-box;width:calc(100% - 40px)!important;max-width:calc(100% - 40px)!important;margin:18px 20px!important;overflow-x:auto;border-radius:12px;scrollbar-width:thin}
html body #adminView #catalogOrdersPanel #orderListStatus{margin:0 20px 4px;padding:12px 14px;border-radius:9px;font-size:12px;line-height:1.65}
@media(min-width:701px){
html body #adminView #catalogOrdersPanel table{width:100%!important;min-width:1000px!important;table-layout:fixed!important;border-collapse:collapse}
html body #adminView #catalogOrdersPanel table :is(th,td){box-sizing:border-box;padding:15px 16px!important;text-align:left!important;vertical-align:middle;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.6}
html body #adminView #catalogOrdersPanel table th{font-size:11px;letter-spacing:.035em;background:var(--list-soft,#edf2ef);color:var(--list-muted,#63766d);white-space:nowrap}
html body #adminView #catalogOrdersPanel table :is(th,td):first-child:not([colspan]){width:52px!important;min-width:52px!important;max-width:52px!important;text-align:center!important;padding:14px 8px!important}
html body #adminView #catalogOrdersPanel table :is(th,td):nth-child(2){width:26%!important;min-width:0!important;max-width:none!important}
html body #adminView #catalogOrdersPanel table :is(th,td):nth-child(3){width:17%!important;min-width:0!important;max-width:none!important}
html body #adminView #catalogOrdersPanel table :is(th,td):nth-child(4){width:140px!important;min-width:0!important;text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}
html body #adminView #catalogOrdersPanel table :is(th,td):nth-child(5){width:110px!important;min-width:0!important}
html body #adminView #catalogOrdersPanel table :is(th,td):nth-child(6){width:auto!important;min-width:0!important}
html body #adminView #catalogOrdersPanel table :is(th,td):nth-child(7){width:132px!important;min-width:0!important;text-align:center!important}
html body #catalogOrderRows td:nth-child(2)>strong{font-size:12px;line-height:1.6;letter-spacing:.01em;font-weight:600;word-break:break-all!important}
html body #catalogOrderRows .cell-note{display:block;margin-top:5px;font-size:11px;line-height:1.6;color:var(--list-muted,#63766d)}
html body #catalogOrderRows .row-actions{display:flex;justify-content:center;align-items:center;gap:0;margin:0;flex-wrap:nowrap}
html body #catalogOrderRows .catalog-status{min-width:0;max-width:100%;padding:6px 11px;font-size:11px}
html body #catalogOrderRows tr:hover{background:color-mix(in srgb,var(--theme-button,#59548f) 3%,transparent)}
html body #catalogOrderRows td[colspan]{text-align:center;padding:36px 20px!important;color:var(--list-muted,#63766d)}
}
@media(max-width:700px){html body #adminView #catalogOrdersPanel .table-wrap{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;margin:14px!important}html body #adminView #catalogOrdersPanel #orderListStatus{margin:0 14px 4px;padding:12px}html body #catalogOrderRows td:nth-child(2)>strong{overflow-wrap:anywhere}}
/* Browser-shaped tabs use the store palette; labels and event handlers stay intact. */
@layer workspaceTabs{
@media(min-width:701px){
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs):not([aria-orientation=vertical]):not([hidden]){display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:0!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;padding:6px 6px 0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--theme-button,#59548f) 35%,var(--theme-background,#fff))!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button{position:relative!important;isolation:isolate!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-width:126px!important;width:auto!important;max-width:none!important;height:auto!important;min-height:50px!important;margin:0 -7px 0 0!important;padding:12px 32px 10px 20px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;color:var(--theme-font,#344054)!important;font:500 13px/1.5 var(--theme-font-family,system-ui)!important;text-align:center!important;white-space:nowrap!important;cursor:pointer;z-index:0}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:before,html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:after{content:''!important;display:block!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;border:0!important;transform:none!important;pointer-events:none;z-index:-2;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 60V26C0 10 11 0 27 0H171C192 0 198 11 207 31C216 51 222 59 240 60Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat!important;background:color-mix(in srgb,var(--theme-button,#59548f) 30%,var(--theme-background,#fff))!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:after{inset:1px 1px 0!important;z-index:-1;background:color-mix(in srgb,var(--theme-button,#59548f) 5%,var(--theme-background,#fff))!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:is([aria-selected=true],[aria-pressed=true],.active){z-index:2;font-weight:700!important;color:var(--theme-button-text,#fff)!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:is([aria-selected=true],[aria-pressed=true],.active):before{background:color-mix(in srgb,var(--theme-button,#59548f) 60%,#fff)!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:is([aria-selected=true],[aria-pressed=true],.active):after{background:var(--theme-button,#59548f)!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:hover:after{background:color-mix(in srgb,var(--theme-button,#59548f) 12%,var(--theme-background,#fff))!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:is([aria-selected=true],[aria-pressed=true],.active):hover:after{background:var(--theme-button,#59548f)!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:focus-visible{outline:2px solid var(--theme-button,#59548f)!important;outline-offset:-5px!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button[hidden]{display:none!important}
@media(min-width:701px){html body #adminView #userProfilePanel .my-profile-tabs{display:none!important}}
@media(max-width:700px){html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button{min-width:116px!important;height:auto!important;min-height:46px!important;font-size:12px!important;padding:10px 28px 9px 18px!important}}

}
}
/* Consistent breathing room around every table's paging controls. */
@layer workspacePagination{
html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination){box-sizing:border-box!important;width:auto!important;max-width:100%!important;margin:0!important;padding:16px 20px!important;gap:12px!important;border-top:1px solid var(--list-line,#dce3e0)!important;line-height:1.6!important;font-size:12px!important;min-width:0!important}
html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination):not(:empty):not([hidden]){display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important}
html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination) :is(button,a){margin:0!important;min-width:38px!important;min-height:38px!important;height:auto!important;padding:8px 12px!important;line-height:1.5!important;box-sizing:border-box!important}
html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination)>:is(div,.pagination-buttons,.pagination-controls){display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;min-width:0!important;max-width:100%!important}
html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination)>span{font-size:12px!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination):is(:empty,[hidden]){display:none!important}
@media(max-width:700px){html body :is(#adminView,dialog) :is(.table-pagination,.attendance-pagination,.assignment-pagination,.cash-history-pagination,.checkout-reprint-pagination,.transfer-stock-pagination){padding:14px!important;gap:10px!important}}
}
html body .repair-technician-field{display:flex;gap:8px;align-items:stretch;min-width:0;width:100%}.repair-technician-field input{flex:1;min-width:0;cursor:pointer}.repair-technician-field button{display:grid;place-items:center;width:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;flex:none;border-radius:10px}.repair-technician-field svg{width:18px;height:18px}.repair-technician-picker{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden}.repair-technician-picker[open]{display:flex;flex-direction:column}.repair-technician-picker .dialog-head{padding:20px!important;border-bottom:1px solid var(--list-line,#dce3e0);margin:0;flex:none}.repair-technician-picker .dialog-head small{display:block;font-size:12px;line-height:1.7;color:var(--list-muted,#63766d);margin-top:6px}.repair-technician-body{padding:20px;display:grid;gap:14px;overflow:auto;min-height:0}.repair-technician-body .search-field{width:100%;min-width:0;box-sizing:border-box;margin:0}.repair-technician-body [role=status]{font-size:12px;line-height:1.7;color:var(--list-muted,#63766d);margin:0}.repair-technician-results{display:grid;gap:9px}.repair-technician-choice{display:grid!important;gap:5px;text-align:left!important;min-height:66px;padding:13px 15px!important;border:1px solid var(--list-line,#dce3e0);border-radius:11px;background:var(--theme-background,#fff);color:var(--theme-font,#344054)}.repair-technician-choice strong{font-size:14px;overflow-wrap:anywhere}.repair-technician-choice small{font-size:12px;color:var(--list-muted,#63766d);overflow-wrap:anywhere}.repair-technician-choice:hover,.repair-technician-choice[aria-pressed=true]{border-color:var(--theme-button,#59548f);background:color-mix(in srgb,var(--theme-button,#59548f) 7%,var(--theme-background,#fff))}.repair-technician-actions{display:flex;gap:10px;padding-top:14px;border-top:1px solid var(--list-line,#dce3e0)}.repair-technician-actions [hidden]{display:none!important}.repair-technician-actions button{min-height:42px;padding:10px 14px!important}@media(max-width:600px){.repair-technician-body{padding:16px}.repair-technician-picker .dialog-head{padding:16px!important}}
/* Hide native tab scrollbars; small edge hints appear only where more tabs remain. */
@layer workspaceTabs{
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs){scrollbar-width:none!important;-ms-overflow-style:none!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)[data-tab-overflow-start=true]:before,html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)[data-tab-overflow-end=true]:after{position:sticky!important;flex:0 0 24px!important;width:24px!important;height:26px!important;box-sizing:border-box;align-self:center!important;display:grid;place-items:center;z-index:5;pointer-events:none;border:1px solid color-mix(in srgb,var(--theme-button,#59548f) 24%,var(--theme-background,#fff));border-radius:8px;background:var(--theme-background,#fff);color:var(--theme-button,#59548f);font:600 22px/1 system-ui;box-shadow:0 1px 5px #00000012}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)[data-tab-overflow-start=true]:before{content:'‹';left:0;margin-right:-24px}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)[data-tab-overflow-end=true]:after{content:'›';right:0;margin-left:-24px}
}
/* Tab labels keep their full intrinsic width; the curved tail uses a fixed inset. */
@layer workspaceTabs{
@media(min-width:701px){
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button{width:max-content!important;overflow:visible!important;padding-right:44px!important;gap:10px!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button>span{flex-shrink:0!important;max-width:none!important;overflow:visible!important}
html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:before,html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button:after{mask-image:linear-gradient(#fff,#fff),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H4C19 0 23 16 28 33C33 50 35 59 40 60H0Z'/%3E%3C/svg%3E")!important;mask-size:calc(100% - 39px) 100%,40px 100%!important;mask-position:left top,right top!important;mask-repeat:no-repeat!important;border-radius:18px 0 0 0!important}
@media(max-width:700px){html body :is(#adminView,dialog) :is([role=tablist],.workspace-tabs,.inventory-tabs,.dashboard-business-tabs)>button{padding-right:40px!important}}

}
}
html body #adminView #myCashierHistoryPanel>.my-cashier-tab-pane[hidden]{display:none!important}
html body #adminView #myCashierHistoryPanel>.my-cashier-view-tabs{margin:0 0 18px!important}
@media(min-width:701px){html body #adminView #myCashierHistoryPanel>.my-cashier-tab-pane{margin-bottom:0}}

@layer workspaceTabs{html body #adminView #myCashierHistoryPanel>.my-cashier-view-tabs[hidden]{display:none!important}}
/* Keep the purchase report equally inset on both sides of its panel. */
@layer purchaseReportBalance{
html body #adminView #purchaseReportsPanel .table-wrap{box-sizing:border-box!important;width:calc(100% - 40px)!important;max-width:calc(100% - 40px)!important;margin:0 20px 18px!important;padding:0!important;overflow-x:auto!important}
@media(min-width:701px){
html body #adminView #purchaseReportsPanel .table-wrap>table{table-layout:fixed!important;width:100%!important;min-width:1720px!important;margin:0!important;border-collapse:collapse}
html body #adminView #purchaseReportsPanel table :is(th,td){box-sizing:border-box!important;min-width:0!important;max-width:none!important;padding:13px 12px!important;vertical-align:middle!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.6!important}
html body #adminView #purchaseReportsPanel table th{font-size:11px!important;white-space:nowrap!important;letter-spacing:.02em!important}
html body #adminView #purchaseReportsPanel table :is(th,td):first-child:not([colspan]){width:52px!important;text-align:center!important;padding:13px 8px!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(2){width:calc(12% - 6.24px)!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(3),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(6),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(8),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(10),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(11),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(13){width:calc(7% - 3.64px)!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(4){width:calc(11% - 5.72px)!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(5),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(7),html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(9){width:calc(6% - 3.12px)!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(12){width:calc(9% - 4.68px)!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(14){width:calc(8% - 4.16px)!important}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(n+5):nth-child(-n+10){text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
html body #adminView #purchaseReportsPanel table :is(th,td):nth-child(n+11):nth-child(-n+12),html body #adminView #purchaseReportsPanel table :is(th,td):last-child:not([colspan]){text-align:center!important}
html body #adminView #purchaseReportRows .cell-note{display:block!important;margin-top:5px!important;font-size:11px!important;line-height:1.6!important;color:var(--list-muted,#63766d)}
html body #adminView #purchaseReportRows td:nth-child(2)>button{display:block!important;max-width:100%!important;width:fit-content!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body #adminView #purchaseReportRows td:nth-child(2)>.cancellation-action{margin-top:8px!important}
html body #adminView #purchaseReportRows .row-actions{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}
html body #adminView #purchaseReportRows .status{display:inline-flex!important;align-items:center;justify-content:center;min-width:0!important;max-width:100%!important;padding:6px 10px!important;white-space:normal!important;line-height:1.5!important;font-size:12px!important}
html body #adminView #purchaseReportRows td[colspan]{text-align:center!important;padding:30px 20px!important}
}
@media(max-width:700px){html body #adminView #purchaseReportsPanel .table-wrap{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;margin:0 14px 14px!important}}
}
@layer workspaceTabs{
@media(min-width:701px){html body #adminView #checkoutPanel .jasa-checkout-tabs{width:max-content!important;max-width:100%!important}}
}
/* Align reminder actions with their amount and keep refresh compact. */
@layer tradeReminderActions{
html body #tradeDueDialog .trade-due-card>strong{justify-self:end!important;text-align:right!important}
html body #tradeDueDialog .trade-due-card .row-actions{display:flex!important;justify-self:end!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;text-align:right!important}
html body #tradeDueDialog .trade-due-card .row-actions>button{margin:0!important;max-width:100%!important;height:auto!important;min-height:38px!important}
html body #tradeDueDialog [data-refresh-due]{display:grid!important;place-items:center!important;flex:0 0 44px!important;box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;margin:0!important;border-radius:10px!important}
html body #tradeDueDialog [data-refresh-due] svg{display:block;width:20px;height:20px;color:inherit;stroke:currentColor;pointer-events:none}
}
html body #adminView #repairsPanel .repairs-card>.card-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
html body #adminView #repairsPanel .repairs-card>.card-heading>[data-repair-new]{margin:0!important;min-height:42px;flex:none}

/* Public profile links and member directory use the same content insets. */
html body #profileForm .profile-social-fields{grid-column:1/-1;min-width:0;margin:8px 0;padding:20px;border:1px solid var(--list-line,#dce3e0);border-radius:14px}
html body #profileForm .profile-social-fields legend{padding:0 8px;font-size:15px;font-weight:600}
html body #profileForm .profile-social-fields>p{font-size:12px;line-height:1.7;margin:0 0 16px;color:var(--list-muted,#637087)}
html body #profileForm .profile-social-fields>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body #profileForm .profile-social-fields label{display:grid;gap:8px;min-width:0;margin:0;font-size:13px}
html body #profileForm .profile-social-fields input{width:100%;min-width:0;min-height:44px;font-size:13px}
html body #tijarahMembersPanel .member-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;flex-wrap:wrap}
html body #tijarahMembersPanel #memberDirectoryStatus{margin:0;font-size:12px;flex:1;text-align:right}
html body #tijarahMembersPanel .member-directory-heading>.master-export-actions{flex:none;width:auto;margin:0}
html body #tijarahMembersPanel .member-directory-heading .master-export-button{width:auto;min-height:44px;margin:0}
html body #tijarahMembersPanel .member-directory>.toolbar{display:flex;padding:18px 24px;margin:0;border-radius:0;border-bottom:1px solid var(--list-line,#dce3e0);gap:12px}
html body #tijarahMembersPanel .toolbar .search-field{width:100%;max-width:640px;min-width:0;margin:0}
html body #tijarahMembersPanel .member-directory>.table-wrap{width:calc(100% - 48px);max-width:calc(100% - 48px);margin:20px 24px;box-sizing:border-box}
html body #tijarahMembersPanel .member-directory>.table-wrap table{width:100%;table-layout:fixed;min-width:1050px}
html body #tijarahMembersPanel .member-directory th:first-child{width:52px}
html body #tijarahMembersPanel .member-directory th:nth-child(2){width:18%}
html body #tijarahMembersPanel .member-directory th:nth-child(3){width:15%}
html body #tijarahMembersPanel .member-directory th:nth-child(4){width:21%}
html body #tijarahMembersPanel .member-directory th:nth-child(6){width:90px;text-align:right}
html body #tijarahMembersPanel .member-directory th:last-child{width:140px}
html body #tijarahMembersPanel .member-directory :is(td,th){padding:14px 12px;vertical-align:middle;overflow-wrap:anywhere}
html body #tijarahMembersPanel .member-directory td:nth-child(6){text-align:right}
html body #tijarahMembersPanel #memberDirectoryPager{padding:16px 24px;margin:0}
@media(max-width:700px){
 html body #profileForm .profile-social-fields{padding:16px}
 html body #profileForm .profile-social-fields>div{grid-template-columns:minmax(0,1fr);gap:14px}
 html body #profileForm .profile-social-fields input{font-size:16px}
 html body #tijarahMembersPanel .member-directory-heading{padding:16px;gap:12px}
 html body #tijarahMembersPanel #memberDirectoryStatus{flex:1 1 100%;text-align:left;order:3}
 html body #tijarahMembersPanel .member-directory>.toolbar{padding:16px}
 html body #tijarahMembersPanel .member-directory>.table-wrap{width:calc(100% - 32px);max-width:calc(100% - 32px);margin:16px!important}
 html body #tijarahMembersPanel .member-directory>.table-wrap table{min-width:0;table-layout:auto}
 html body #tijarahMembersPanel #memberDirectoryPager{padding:16px}
}
@media(max-width:700px){html body #adminView #tijarahMembersPanel #memberDirectoryStatus{max-width:none;text-align:left;flex-basis:100%}html body #adminView #tijarahMembersPanel .member-directory-heading{flex-wrap:wrap}}
html body #adminView #profileForm .profile-social-fields input{min-height:46px!important;height:46px!important}
html body #tijarahMembersPanel .member-directory>.table-wrap table{min-width:1000px}
html body #tijarahMembersPanel .member-directory td:nth-child(4),html body #tijarahMembersPanel .member-directory td:nth-child(5){text-align:left}
@media(max-width:700px){html body #tijarahMembersPanel .member-directory>.table-wrap table{min-width:0}}
/* Separate the invoice summary from the payment form panels. */
html body #tradeInvoicePaymentDialog .asset-transaction-body{display:grid;gap:20px;min-width:0}
html body #tradeInvoicePaymentDialog .asset-transaction-body>.asset-transaction-summary,html body #tradeInvoicePaymentDialog .asset-transaction-body>.form-grid{margin:0}
html body #tradeInvoicePaymentDialog .asset-transaction-body>.form-grid{row-gap:20px}
@media(max-width:700px){html body #tradeInvoicePaymentDialog .asset-transaction-body{gap:16px}html body #tradeInvoicePaymentDialog .asset-transaction-body>.form-grid{row-gap:16px}}

/* A single image toolbar and five consistent editable preview slots. */
html body #productForm .product-gallery-field .themed-file-input,html body #productForm #productImageFileInfo{display:none!important}
html body #productForm .product-gallery-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin:0 0 18px}
html body #productForm .product-gallery-heading>div:first-child{flex:1 1 300px;min-width:0;max-width:640px}
html body #productForm .product-gallery-heading strong{font-size:15px;color:var(--theme-font,#243247)}
html body #productForm .product-gallery-heading small{font-size:12px;line-height:1.7;margin-top:7px}
html body #productForm .product-gallery-tools{display:flex;flex:0 1 auto;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
html body #productForm .product-gallery-tools>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;font-size:12px;padding:10px 14px!important}
html body #productForm .product-gallery-tools>button svg{width:18px;height:18px;flex:none}
html body #productForm #productImageSlots{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px;margin:0 0 20px}
html body #productForm #productImageSlots .product-image-slot{display:flex!important;flex-direction:column;gap:10px;min-width:0;padding:10px;border-radius:14px;background:var(--theme-background,#fff);border:1px solid var(--list-line,#dce3e0)}
html body #productForm #productImageSlots .product-image-canvas{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:relative;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1;border-radius:10px;background:var(--list-soft,#f2f4f8)}
html body #productForm #productImageSlots .product-image-canvas img{width:100%;height:100%;object-fit:contain!important;background:var(--theme-background,#fff)}
html body #productForm #productImageSlots .product-image-canvas em{font-size:11px;line-height:1.5;font-weight:500}
html body #productForm #productImageSlots .product-image-canvas:focus-visible{outline:2px solid var(--theme-button,#57518d);outline-offset:2px}
html body #productForm #productImageSlots .product-image-slot>small{display:block;min-width:0;width:100%;font-size:11px;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #productForm #productImageSlots .remove-product-image{top:5px;right:5px;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;border:1px solid var(--list-line,#dce3e0);box-shadow:0 3px 10px #24324718}
html body #productForm #productImageSlots .product-image-slot.has-image{border-color:color-mix(in srgb,var(--theme-button,#57518d) 38%,var(--list-line,#dce3e0))}
html body #productForm .inventory-config{padding:20px;margin:20px 0;border-radius:16px;border-color:var(--list-line,#dce3e0);background:var(--list-soft,#f2f4f8)}
html body #productForm .inventory-config>[data-config-title]{margin:0;padding-bottom:12px;border-bottom:1px solid var(--list-line,#dce3e0);font-size:17px;line-height:1.5}
html body #productForm .inventory-config>[data-config-intro]{margin:12px 0 18px;font-size:12px;line-height:1.75;max-width:760px}
html body #productForm .inventory-recipe-list{display:grid;gap:12px}
html body #productForm .inventory-recipe-row{grid-template-columns:minmax(0,1fr) minmax(160px,.6fr) 44px;gap:18px;align-items:center;padding:16px;margin:0;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}
html body #productForm .inventory-recipe-row>div{min-width:0;overflow-wrap:anywhere}
html body #productForm .inventory-recipe-row strong{font-size:14px;line-height:1.6}
html body #productForm .inventory-recipe-row small{font-size:11px;line-height:1.6}
html body #productForm .inventory-recipe-row>label{margin:0;gap:7px;font-size:12px}
html body #productForm .inventory-recipe-row input{height:46px;min-height:46px;font-size:14px;border-radius:10px;padding:10px 12px}
html body #productForm .inventory-recipe-row>button{align-self:center;margin:0;width:44px;height:44px;border-radius:11px;font-size:22px;color:#b83f50}
html body #productForm .inventory-recipe-list+.inventory-add{grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:16px 0 0;padding:14px;border:1px dashed var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}
html body #productForm .inventory-recipe-list+.inventory-add select{min-height:46px;height:46px;font-size:13px;margin:0;border-radius:10px}
html body #productForm .inventory-recipe-list+.inventory-add button{min-height:46px;margin:0;white-space:nowrap;border-radius:10px;font-size:12px}
html body #productForm .inventory-recipe-list>.inventory-muted{margin:0;padding:18px;border:1px dashed var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}
html body #productForm [data-config-status]:empty{display:none}
@media(max-width:1000px) and (min-width:701px){html body #productForm #productImageSlots{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){
 html body #productForm .product-gallery-heading{align-items:stretch;gap:14px}
 html body #productForm .product-gallery-heading>div:first-child{flex-basis:100%}
 html body #productForm .product-gallery-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}
 html body #productForm .product-gallery-tools>button{width:100%;min-width:0;padding:10px!important}
 html body #productForm #productImageSlots{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 html body #productForm #productImageSlots .product-image-slot{padding:8px}
 html body #productForm #productImageSlots .product-image-slot:first-child{grid-column:auto}
 html body #productForm .inventory-config{padding:16px}
 html body #productForm .inventory-recipe-row{grid-template-columns:minmax(0,1fr) 44px;padding:14px;gap:12px}
 html body #productForm .inventory-recipe-row>div{grid-column:1/-1}
 html body #productForm .inventory-recipe-list+.inventory-add{grid-template-columns:minmax(0,1fr);padding:12px}
 html body #productForm .inventory-recipe-list+.inventory-add button{width:100%}
}
@media(max-width:700px){
 html body #productForm .product-gallery-heading{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:14px}
 html body #productForm .product-gallery-heading>div:first-child{flex:none;width:100%;max-width:none}
 html body #productForm .product-gallery-tools{flex:none;width:100%}
 html body #productForm .product-gallery-tools>button{min-width:0;flex:1;padding:10px 8px!important;font-size:11px}
}

/* Balanced output controls; selectors intentionally cover the enhanced lookup too. */
html body #productionForm .production-output-section .production-fields{padding:22px;gap:20px 22px;grid-template-columns:repeat(2,minmax(0,1fr))}
html body #productionForm .production-output-section .production-fields>label{grid-column:auto!important;gap:9px;font-size:12px;margin:0;align-self:start}
html body #productionForm .production-output-section .production-fields>.production-product-field{grid-column:1/-1!important}
html body #productionForm .production-output-section .production-fields>label>:is(input,.lookup-trigger){height:46px!important;min-height:46px!important;margin:0;border-radius:10px!important}
html body #productionForm .production-output-section .lookup-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
html body #productionForm .production-output-section .lookup-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #productionForm .production-output-section .lookup-trigger :is(.lookup-icon,svg){flex:none}
.new-record-heading{display:flex!important;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.new-record-heading>div:first-child{min-width:0}
.new-record-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}
html body .new-record-heading-actions>button{width:auto!important;margin:0!important;min-height:44px;white-space:normal;max-width:100%}
.production-worker-list{display:grid;gap:8px;margin:14px 0 22px;padding:16px;border:1px solid var(--list-line,#dce3e0);border-radius:12px;background:var(--theme-background,#fff)}
.production-worker-list h4{margin:0 0 4px;font-size:14px}.production-worker-row{display:flex;justify-content:space-between;align-items:start;gap:16px;border-top:1px solid var(--list-line,#dce3e0);padding-top:9px;overflow-wrap:anywhere}.production-worker-row small{display:block;line-height:1.7;font-size:11px;color:var(--admin-muted,#748096)}
@media(max-width:700px){html body #productionForm .production-output-section .production-fields{padding:16px;grid-template-columns:minmax(0,1fr);gap:16px}.new-record-heading-actions{max-width:100%}.production-worker-row{flex-wrap:wrap;gap:6px}}

html body #profilePanel .store-policy-editor{margin-top:24px;padding:0;overflow:hidden}
.store-policy-editor>.card-heading{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--list-line,#dce3e0);flex-wrap:wrap}.store-policy-editor .card-heading p{font-size:12px;line-height:1.7;margin:7px 0 0}
.store-policy-editor form{padding:22px;display:grid;gap:18px}.store-policy-editor form[hidden]{display:none!important}.store-policy-editor form>label{display:grid;gap:8px;font-size:13px}.store-policy-editor form :is(input,select,textarea){width:100%;min-width:0;max-width:100%;box-sizing:border-box}.store-policy-editor textarea{line-height:1.8;resize:vertical}.store-policy-editor small{font-size:11px;line-height:1.7;color:var(--admin-muted,#748096)}.policy-editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end}.policy-editor-toolbar label{display:grid;gap:8px;font-size:12px}.policy-editor-toolbar a{font-size:12px;align-self:center}.store-policy-editor .form-actions{margin:0}.store-policy-editor .form-actions button{width:auto}
@media(max-width:700px){.store-policy-editor>.card-heading,.store-policy-editor form{padding:16px}.policy-editor-toolbar{grid-template-columns:minmax(0,1fr)}.store-policy-editor .form-actions{display:flex;flex-wrap:wrap}}
