/* Final A7 fidelity layer. It changes presentation only; application behavior stays in app.js. */
html[data-ui="a7"]{
  --a7-bg:#f1f2ef;--a7-sidebar:#f7f7f4;--a7-panel:#fff;--a7-panel-soft:#f5f5f2;
  --a7-text:#18201c;--a7-muted:#667068;--a7-line:#dfe1dc;--a7-line-strong:#c9ccc5;
  --a7-brand:#185b43;--a7-brand-hover:#123f30;--a7-brand-soft:#e6f0eb;
  --a7-attention:#966400;--a7-attention-soft:#fff3d6;--a7-danger:#b43d35;--a7-danger-soft:#fbe8e5;
  --a7-success:#267653;--a7-success-soft:#e6f0eb;color-scheme:light;
}
html[data-ui="a7"][data-theme="dark"]{
  --a7-bg:#111512;--a7-sidebar:#171d19;--a7-panel:#1c231e;--a7-panel-soft:#222a24;
  --a7-text:#edf2ed;--a7-muted:#aab5ad;--a7-line:#344038;--a7-line-strong:#4b5a50;
  --a7-brand:#62b789;--a7-brand-hover:#7bc99c;--a7-brand-soft:#1c3d2b;
  --a7-attention:#efb65f;--a7-attention-soft:#3c2d18;--a7-danger:#ed817b;--a7-danger-soft:#432421;
  --a7-success:#78c89d;--a7-success-soft:#1b3b2b;color-scheme:dark;
}
html[data-ui="a7"] body,html[data-ui="a7"] body *{font-family:var(--a7-font-family)!important}
html[data-ui="a7"] body{background:var(--a7-bg);color:var(--a7-text)}
html[data-ui="a7"] .workspace{background:var(--a7-panel)}
html[data-ui="a7"] .page{padding:24px;background:var(--a7-panel)}
html[data-ui="a7"] .a7-page{width:100%;max-width:1420px;margin:0 auto;gap:24px}

/* Persistent desktop shell from A7: 248 px rail, 64 px quiet top bar, no duplicate menu controls. */
html[data-ui="a7"] .sidebar{background:var(--a7-sidebar);border-right:1px solid var(--a7-line)}
html[data-ui="a7"] .sidebar-mobile-toggle{display:none!important}
html[data-ui="a7"] .brand-card{min-height:40px;margin:12px 12px 4px;padding:0 8px;border:0;background:transparent;box-shadow:none}
html[data-ui="a7"] .brand-mark{width:32px;height:32px;border-radius:8px;background:var(--a7-brand);font-size:14px}
html[data-ui="a7"] .brand-kicker{font-size:12px;line-height:16px}
html[data-ui="a7"] .brand-name{font-size:14px;line-height:20px}
html[data-ui="a7"] .sidebar-search{margin-top:8px;border-color:var(--a7-line-strong);background:var(--a7-panel)}
html[data-ui="a7"] .sidebar-scroll{padding:12px 12px 0}
html[data-ui="a7"] .nav-group{gap:4px;margin-bottom:16px}
html[data-ui="a7"] .nav-group-title{padding:0 10px 6px;color:var(--a7-muted);font-weight:500}
html[data-ui="a7"] .nav-item{min-height:40px;border-radius:8px;color:var(--a7-text)}
html[data-ui="a7"] .nav-item.active{background:var(--a7-brand-soft);color:var(--a7-brand);box-shadow:inset 3px 0 0 var(--a7-brand)}
html[data-ui="a7"] .nav-utility{max-height:none;overflow:visible;padding:0;border-top:0;background:transparent}
html[data-ui="a7"] .nav-utility .nav-group{padding-top:0;margin-bottom:4px}
html[data-ui="a7"] .nav-system-disclosure{margin:0 0 4px}
html[data-ui="a7"] .nav-system-disclosure>summary{cursor:pointer;list-style-position:inside}
html[data-ui="a7"] .nav-system-disclosure>summary::marker{color:var(--a7-muted)}
html[data-ui="a7"] .nav-system-items{display:grid;gap:4px}
html[data-ui="a7"] .user-card-wrap{padding:8px 12px 12px;border-top:1px solid var(--a7-line)}
html[data-ui="a7"] .user-card{min-height:56px;padding:8px;border:0;border-radius:8px;background:var(--a7-panel)!important;background-image:none!important;color:var(--a7-text)!important;box-shadow:none!important;transform:none!important}
html[data-ui="a7"] .user-card .avatar{width:36px;height:36px;background:var(--a7-brand-soft)!important;color:var(--a7-brand)!important}
html[data-ui="a7"] .user-card .user-name{font-size:14px;line-height:20px;font-weight:500}
html[data-ui="a7"] .user-card .user-role{font-size:12px;line-height:16px;font-weight:500;color:var(--a7-muted)!important}
html[data-ui="a7"] .user-card-chevron{color:var(--a7-muted)!important}
html[data-ui="a7"] .topbar{height:64px;min-height:64px;padding:0 24px;flex-wrap:nowrap;gap:16px;border-bottom:1px solid var(--a7-line);background:var(--a7-panel)}
html[data-ui="a7"] .top-actions{min-width:0;flex-wrap:nowrap;gap:8px}
html[data-ui="a7"] .topbar .integration-disabled{display:none!important}
html[data-ui="a7"] .topbar :is(.btn,.icon-btn,.status-chip,.store-switcher){min-height:40px;height:40px;border-color:var(--a7-line-strong);background:var(--a7-panel)}
html[data-ui="a7"] .topbar .store-switcher select{min-height:0;height:auto;padding:0 18px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;appearance:none;-webkit-appearance:none}
html[data-ui="a7"] .breadcrumb{white-space:nowrap}

/* One Montserrat hierarchy: 14 / 16 / 20 / 28. */
html[data-ui="a7"] .page-title,html[data-ui="a7"] h1{font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.02em}
html[data-ui="a7"] :is(h2,.owner-kpi-value,.kpi-value,.money-value){font-size:20px;line-height:28px;font-weight:600}
html[data-ui="a7"] :is(h3,.card-title,.empty-title){font-size:16px;line-height:24px;font-weight:600}
html[data-ui="a7"] :is(.task-detail,.cell-note,.history-note,.page-subtitle){font-size:14px;line-height:20px}
html[data-ui="a7"] :is(.field,.form-control,input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:14px;line-height:20px}

/* The approved A7 page focus: dark green field, gold rule and gold action. */
html[data-ui="a7"] .priority-focus{position:relative;min-height:88px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px 16px 16px 28px;overflow:hidden;border:0;border-radius:12px;background:#174b38;color:#fff;box-shadow:none}
html[data-ui="a7"] .priority-focus.tone-success,html[data-ui="a7"] .priority-focus.tone-attention,html[data-ui="a7"] .priority-focus.tone-danger{border:0;background:#174b38;color:#fff}
html[data-ui="a7"] .priority-focus::before{content:"";position:absolute;inset:0 auto 0 0;width:12px;background:#e4ad38}
html[data-ui="a7"] .priority-focus-eyebrow{margin:0 0 2px;color:#f1cb73;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.04em}
html[data-ui="a7"] .priority-focus h2{margin:0;color:#fff;font-size:20px;line-height:28px;font-weight:600}
html[data-ui="a7"] .priority-focus p{margin:2px 0 0;color:#c7d7cf;font-size:14px;line-height:20px}
html[data-ui="a7"] .priority-focus-value{padding-left:20px;border-left:1px solid rgba(255,255,255,.24);color:#fff;font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}
html[data-ui="a7"] .priority-focus .btn.primary{min-height:40px;border-color:#e4ad38;background:#e4ad38;color:#123d2e;font-weight:600}
html[data-ui="a7"] .priority-focus .btn.primary:hover{border-color:#edbd57;background:#edbd57}
html[data-ui="a7"] .report-metrics-focus{grid-template-columns:minmax(0,1fr) auto;min-height:112px}
html[data-ui="a7"] .report-focus-rows{display:grid;min-width:0}
html[data-ui="a7"] .report-focus-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:24px;padding:8px 0}
html[data-ui="a7"] .report-focus-row+.report-focus-row{border-top:1px solid rgba(255,255,255,.2)}
html[data-ui="a7"] .report-focus-row span{color:#d8e4dd;font-size:14px;line-height:20px}
html[data-ui="a7"] .report-focus-row span small{margin-left:6px;color:#f1cb73;font-size:12px;line-height:16px}
html[data-ui="a7"] .report-focus-row strong{color:#fff;font-size:20px;line-height:28px;font-weight:600;white-space:nowrap}

/* Flat A7 controls and sections instead of card-on-card mosaics. */
html[data-ui="a7"] .a7-page :where(.toolbar,.filterbar,.premium-filterbar,.stock-toolbar,.sales-period-toolbar,.invoice-period-toolbar){padding:0 0 16px;border:0;border-bottom:1px solid var(--a7-line);border-radius:0;background:transparent}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented){gap:24px;padding:0;border:0;border-bottom:1px solid var(--a7-line);border-radius:0;background:transparent}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented) :where(button,.tab){position:relative;min-height:40px;padding:0;border-radius:0;background:transparent;box-shadow:none}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented) :where(button,.tab).active{background:transparent;color:var(--a7-text);box-shadow:inset 0 -2px 0 var(--a7-brand)}
html[data-ui="a7"] :where(.card,.form-card,.summary-card){box-shadow:none}
html[data-ui="a7"] .notice{margin:0 0 16px;padding:12px 16px;border:1px solid var(--a7-line);border-radius:8px;font-size:14px;line-height:20px}

/* A7 report: one focus, one slim period row, one 4-column fact strip. */
html[data-ui="a7"] .report-page.presentation{max-width:1420px}
html[data-ui="a7"] .report-page .page-actions [data-action="refresh-report"]{display:none}
html[data-ui="a7"] .report-page .report-period-toolbar{min-height:56px;margin-bottom:24px;padding:0 0 16px;align-items:end}
html[data-ui="a7"] .report-page .report-period-toolbar label{gap:4px}
html[data-ui="a7"] .report-page .report-period-toolbar label>span{font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.03em}
html[data-ui="a7"] .report-page .period-result-label{margin-left:auto;padding-bottom:10px;color:var(--a7-muted)}
html[data-ui="a7"] .report-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 24px;border-top:1px solid var(--a7-line);border-bottom:1px solid var(--a7-line);background:var(--a7-panel)}
html[data-ui="a7"] .report-summary-item{min-width:0;padding:16px 24px;border-left:1px solid var(--a7-line)}
html[data-ui="a7"] .report-summary-item:first-child{padding-left:0;border-left:0}
html[data-ui="a7"] .report-summary-item span,html[data-ui="a7"] .report-summary-item small{display:block;color:var(--a7-muted);font-size:14px;line-height:20px}
html[data-ui="a7"] .report-summary-item strong{display:block;margin-top:4px;color:var(--a7-text);font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}
html[data-ui="a7"] .report-summary-item.primary small{color:var(--a7-success)}
html[data-ui="a7"] .report-summary-item.period strong{font-size:20px;line-height:28px}
html[data-ui="a7"] .report-owner-cards{gap:0;margin:0 0 24px;border-top:1px solid var(--a7-line);border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] .report-owner-cards .owner-finance-card{min-height:132px;padding:16px 24px;border:0;border-left:1px solid var(--a7-line);border-radius:0;background:var(--a7-panel);box-shadow:none}
html[data-ui="a7"] .report-owner-cards .owner-finance-card:first-child{border-left:0}
html[data-ui="a7"] .report-owner-cards .owner-finance-card.accent{background:var(--a7-brand-soft)}
html[data-ui="a7"] .report-owner-cards .owner-kpi-value{font-size:20px;line-height:28px}
html[data-ui="a7"] .report-sales-section{padding:0;border:0;border-radius:0;background:transparent}
html[data-ui="a7"] .report-sales-section>.section-line{min-height:auto;margin:0;padding:0 0 16px;border-bottom:0}
html[data-ui="a7"] .report-sales-section .table-card{border-color:var(--a7-line-strong);border-radius:12px;background:var(--a7-panel)}
html[data-ui="a7"] .report-top-scroll{max-width:100%;overflow-x:auto!important}
html[data-ui="a7"] .report-top-table{width:100%;min-width:760px;table-layout:fixed;font-variant-numeric:tabular-nums}
html[data-ui="a7"] .report-top-table .report-top-col-number{width:56px}
html[data-ui="a7"] .report-top-table .report-top-col-product{width:auto}
html[data-ui="a7"] .report-top-table .report-top-col-quantity{width:120px}
html[data-ui="a7"] .report-top-table .report-top-col-revenue{width:152px}
html[data-ui="a7"] .report-top-table .report-top-col-profit{width:200px}
html[data-ui="a7"] .report-top-table :is(th,td):first-child{text-align:center;white-space:nowrap}
html[data-ui="a7"] .report-top-table :is(th,td):nth-child(n+3){white-space:nowrap}
html[data-ui="a7"] .report-top-table :is(th,td):nth-child(2){min-width:0;white-space:normal;overflow-wrap:anywhere}
html[data-ui="a7"] .report-top-table .product-name-link{display:block;width:100%;max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}

/* The same flat information hierarchy on the owner overview. */
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards){gap:0;margin-bottom:24px;border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card{min-height:124px;padding:16px 24px;gap:6px;border:0;border-left:1px solid var(--a7-line);border-radius:0;background:var(--a7-panel);box-shadow:none;transform:none}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card:nth-child(4n+1){border-left:0}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card:nth-child(-n+4){border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card.accent{background:var(--a7-brand-soft)}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card:hover{border-color:var(--a7-line);background:var(--a7-panel-soft);transform:none}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-kpi-value{font-size:20px;line-height:28px}
html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-kpi-footer{margin-top:4px;padding-top:8px}

/* Crisp A7 tables: a single outer frame and explicit row/column lines. */
html[data-ui="a7"] .table-card{border:1px solid var(--a7-line-strong);border-radius:12px}
html[data-ui="a7"] table{border-spacing:0;background:var(--a7-panel)}
html[data-ui="a7"] th{height:44px;background:var(--a7-panel-soft);color:var(--a7-muted);font-weight:500}
html[data-ui="a7"] th,html[data-ui="a7"] td{padding:12px;border-right:1px solid var(--a7-line);border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] tbody tr{min-height:48px}

/* Cash follows the same flat, lined information rhythm as the owner overview. */
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .summary-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:24px;border-bottom:1px solid var(--a7-line);background:var(--a7-panel)}
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .summary-item{min-width:0;min-height:104px;padding:16px 24px;border:0;border-left:1px solid var(--a7-line);border-radius:0;background:var(--a7-panel);box-shadow:none}
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .summary-item:first-child{padding-left:0;border-left:0}
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .register-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:24px;border-top:1px solid var(--a7-line);border-bottom:1px solid var(--a7-line);background:var(--a7-panel)}
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .register-card{min-width:0;min-height:152px;padding:16px 24px;border:0;border-left:1px solid var(--a7-line);border-radius:0;background:var(--a7-panel);box-shadow:none;transform:none}
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .register-card:first-child{padding-left:0;border-left:0}
html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] .register-card:hover{border-color:var(--a7-line);background:var(--a7-panel-soft);transform:none}

/* Shared A7 summary cells across purchasing, finance, analytics and system pages. */
html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid){gap:0;border-top:1px solid var(--a7-line);border-bottom:1px solid var(--a7-line);background:var(--a7-panel)}
html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid)>:is(.summary-item,.kpi-card){min-width:0;min-height:96px;padding:16px 24px;border:0;border-right:1px solid var(--a7-line);border-radius:0;box-shadow:none;background:transparent;transform:none}
html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid)>:last-child{border-right:0}
html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid) .accent{background:var(--a7-brand-soft)}
html[data-ui="a7"] .a7-page .summary-item .value{font-size:20px;line-height:28px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html[data-ui="a7"] .a7-page :is(.summary-item .label,.kpi-label){font-size:14px;line-height:20px;font-weight:500;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page table td :is(button,.btn):not(.icon-btn):not(.column-resize-grip){min-height:32px;height:auto;padding:5px 10px;border:1px solid var(--a7-line-strong);border-radius:6px;background:var(--a7-panel);color:var(--a7-brand);font-size:14px;line-height:20px;font-weight:500;box-shadow:none;vertical-align:middle;cursor:pointer}
html[data-ui="a7"] .a7-page table td :is(button,.btn):not(.icon-btn):hover:not(:disabled){background:var(--a7-brand-soft);border-color:var(--a7-brand)}
html[data-ui="a7"] .a7-page table td button:disabled{opacity:.5;cursor:not-allowed}
html[data-ui="a7"] .a7-page table td button:focus-visible{outline:2px solid var(--a7-brand);outline-offset:2px}
html[data-ui="a7"] .a7-page table :is(th,td).right{font-variant-numeric:tabular-nums;text-align:right}
html[data-ui="a7"] :is(.login-card,.invite-card) input:not([type="checkbox"]){font-size:16px;line-height:24px}
@media(max-width:560px){
  html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid){grid-template-columns:1fr}
  html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid)>:is(.summary-item,.kpi-card){border-right:0;border-bottom:1px solid var(--a7-line);padding:14px 16px}
  html[data-ui="a7"] .a7-page :is(.summary-strip,.kpi-grid)>:last-child{border-bottom:0}
  html[data-ui="a7"] .a7-page table td :is(button,.btn):not(.icon-btn){min-height:44px}
}

/* Nomenclature stays dense enough to fit the working table without horizontal hunting. */
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-layout{grid-template-columns:250px minmax(0,1fr);gap:12px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(210px,260px) auto auto;align-items:center;gap:8px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-toolbar :where(.field,.btn,.catalog-size-label){height:40px;min-height:40px;margin:0}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-size-label{display:flex;align-items:center;gap:8px;white-space:nowrap}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-size-label select{height:32px;min-height:32px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .table-scroll{overflow-x:hidden}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th{height:34px;padding:4px 6px;font-size:11px;line-height:14px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table tbody tr{height:32px;min-height:32px;contain-intrinsic-size:auto 32px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table td{height:32px;padding:3px 6px;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table .select-cell{width:32px;padding-left:6px;padding-right:6px;text-align:center}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(1){width:32px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(2){width:32px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(4){width:128px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(5){width:76px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(6),html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(7){width:84px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(8){width:58px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table th:nth-child(9){width:42px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table td:last-child{overflow:visible;text-align:center}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table .product-thumb{width:24px;height:24px;border-radius:6px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table .product-thumb svg{width:12px;height:12px}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table :where(.product-name-link,.catalog-path){display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-product-table .copy-btn{width:26px;height:26px;min-height:26px;padding:4px}

/* Supplier register uses the same finite, lined A7 table grid instead of max-content expansion. */
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-table-scroll{max-width:100%;overflow-x:auto;overflow-y:visible;scrollbar-gutter:stable}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table{width:100%;min-width:1728px;table-layout:fixed;border-collapse:separate;border-spacing:0;background:var(--a7-panel)}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-select{width:38px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-name{width:240px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-inn{width:160px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-account{width:250px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-bik{width:145px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-bank{width:160px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-payment{width:120px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-commission{width:160px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-debt{width:165px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .col-actions{width:190px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table :is(.copy-cell,.badge){white-space:nowrap;overflow-wrap:normal}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table :is(th,td){min-width:0;padding:10px 8px;border-color:var(--a7-line);font-size:14px;line-height:20px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table thead th{height:44px;background:var(--a7-panel-soft);color:var(--a7-muted);font-weight:500;text-align:left;box-shadow:none}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table tbody td{height:auto;background:var(--a7-panel);color:var(--a7-text);text-align:left}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table tbody tr:hover>td{background:color-mix(in srgb,var(--a7-brand-soft) 45%,var(--a7-panel))}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table :is(th,td):first-child,html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table :is(th,td):last-child{text-align:center}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table :is(th,td):nth-child(9){text-align:right}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .copy-btn{width:28px;min-width:28px;height:28px;min-height:28px;padding:5px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table :is(.btn.compact,.a7-preview-trigger){min-height:32px;padding:5px 8px}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .supplier-row-actions{width:auto;min-height:32px;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:nowrap;white-space:nowrap}
html[data-ui="a7"] .a7-page-family-purchasing[data-page="suppliers"] .supplier-fit-table .supplier-row-actions .icon-btn{width:32px;min-width:32px;height:32px;min-height:32px;margin:0;padding:6px;flex:0 0 32px}

@media(max-width:1100px){
  html[data-ui="a7"] .report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-ui="a7"] .report-summary-item:nth-child(3){border-left:0}
  html[data-ui="a7"] .report-summary-item:nth-child(n+3){border-top:1px solid var(--a7-line)}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards){grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card{border-bottom:0}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card:nth-child(odd){border-left:0}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card:nth-child(n+3){border-top:1px solid var(--a7-line)}
  html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] :where(.summary-strip,.register-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] :where(.summary-item,.register-card):nth-child(odd){padding-left:0;border-left:0}
  html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] :where(.summary-item,.register-card):nth-child(n+3){border-top:1px solid var(--a7-line)}
  html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-toolbar{grid-template-columns:minmax(220px,1fr) minmax(190px,240px)}
}
@media(max-width:820px){
  html[data-ui="a7"] .sidebar-mobile-toggle{display:inline-flex!important}
  html[data-ui="a7"] .topbar{height:auto;min-height:64px;padding:8px 16px;flex-wrap:wrap}
  html[data-ui="a7"] .topbar .top-actions{width:100%;overflow-x:auto}
  html[data-ui="a7"] .page{padding:16px}
  html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-layout{grid-template-columns:1fr}
  html[data-ui="a7"] .priority-focus{grid-template-columns:minmax(0,1fr) auto;padding-left:24px}
  html[data-ui="a7"] .priority-focus-value{display:none}
  html[data-ui="a7"] .priority-focus p{display:none}
  html[data-ui="a7"] .report-page .period-result-label{width:100%;margin-left:0;padding-bottom:0}
  html[data-ui="a7"] .report-owner-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-ui="a7"] .report-owner-cards .owner-finance-card:nth-child(3){border-left:0;border-top:1px solid var(--a7-line)}
  html[data-ui="a7"] .report-owner-cards .owner-finance-card:nth-child(4){border-top:1px solid var(--a7-line)}
}
@media(max-width:560px){
  html[data-ui="a7"] .report-summary-grid,html[data-ui="a7"] .report-owner-cards{grid-template-columns:1fr}
  html[data-ui="a7"] .report-summary-item,html[data-ui="a7"] .report-summary-item:first-child,html[data-ui="a7"] .report-owner-cards .owner-finance-card{padding:14px 0;border-left:0;border-top:1px solid var(--a7-line)}
  html[data-ui="a7"] .report-summary-item:first-child,html[data-ui="a7"] .report-owner-cards .owner-finance-card:first-child{border-top:0}
  html[data-ui="a7"] .priority-focus{grid-template-columns:1fr}
  html[data-ui="a7"] .priority-focus .btn{justify-self:start}
  html[data-ui="a7"] .report-focus-row{grid-template-columns:1fr;gap:2px}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards){grid-template-columns:1fr}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card{padding:14px 0;border-left:0;border-top:1px solid var(--a7-line);border-bottom:0}
  html[data-ui="a7"] .a7-page-family-overview .owner-finance-grid:not(.report-owner-cards) .owner-finance-card:first-child{border-top:0}
  html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] :where(.summary-strip,.register-grid){grid-template-columns:1fr}
  html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] :where(.summary-item,.register-card){padding:14px 0;border-left:0;border-top:1px solid var(--a7-line)}
  html[data-ui="a7"] .a7-page-family-sales[data-page="cash"] :where(.summary-item,.register-card):first-child{border-top:0}
  html[data-ui="a7"] .a7-page-family-inventory[data-page="products"] .catalog-toolbar{grid-template-columns:1fr}
}
