:root { color-scheme: light; font-family: "Instrument Sans", system-ui, sans-serif; color: #17242f; background: #f3f6f8; --accent: #0d6457; --theme-header: #142b30; --theme-highlight: #e1f3ec; --theme-background: #f3f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
header, nav { padding: .8rem max(1rem,calc((100% - 74rem)/2)); }
header { display: flex; align-items: center; justify-content: space-between; background: var(--theme-header); color: white; }
header strong { font-size: 1.25rem; }
header small { display: block; color: #c4dcd7; margin-top: .2rem; }
nav { display: flex; flex-wrap: wrap; gap: .25rem; background: white; border-bottom: 1px solid #dce5e8; }
nav a { padding: .55rem .65rem; border-radius: .4rem; text-decoration: none; }
nav a[aria-current] { background: var(--theme-highlight); font-weight: 700; }
a { color: var(--accent); }
main { padding: 1rem; margin: 0 auto; max-width: 76rem; }
.access { max-width: 29rem; padding-top: 3rem; }
h1 { margin: 0 0 1rem; font-size: clamp(1.5rem,4vw,2rem); }
h2 { margin: 0; font-size: 1.15rem; }
section, .scroll { margin: 0 0 1rem; border: 1px solid #dce5e8; border-radius: .65rem; background: white; }
section { padding: 1rem; }
section form { display: flex; flex-wrap: wrap; align-items: end; margin-top: .85rem; gap: .65rem; }
.access form { display: grid; align-items: stretch; }
label { display: flex; flex: 1 1 11rem; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .9rem; min-width: 0; }
label.check { flex-direction: row; align-items: center; min-height: 2.55rem; }
input, select, textarea { width: 100%; min-height: 2.55rem; border: 1px solid #aebfc2; border-radius: .35rem; padding: .45rem .6rem; background: white; font: inherit; color: inherit; }
input[type=checkbox] { width: 1rem; min-height: auto; }
button { min-height: 2.55rem; border: 0; border-radius: .35rem; padding: .45rem .85rem; color: white; background: var(--accent); font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
#items { flex-basis: 100%; display: grid; gap: .6rem; }
.item { display: grid; grid-template-columns: minmax(0,3fr) minmax(5rem,1fr); gap: .6rem; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .65rem .8rem; border-bottom: 1px solid #e3ebee; }
th { background: #eaf1f2; }
tr:last-child td { border-bottom: 0; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .75rem; }
.metrics strong { display: block; margin-top: .5rem; font-size: 1.3rem; }
.error, .notice { padding: .7rem; border-radius: .4rem; background: #e1f3ec; }
.error { background: #ffe4e0; color: #82271d; }
@media print { header form, nav, form, .notice { display: none !important; } }

.listing-photo { width: 100%; aspect-ratio: 4/3; object-fit: contain; margin-bottom: .75rem; }

.billing-cycles { padding: .35rem 0; background: transparent; border: 0; }

.erp-menu-toggle { display: none; }
.erp-drawer { inset: 0 auto 0 0; height: 100%; max-height: none; width: min(19rem, 85vw); max-width: none; margin: 0; padding: 0; border: 0; color: #17242f; background: white; }
.erp-drawer::backdrop { background: rgb(20 43 48 / 55%); }
.erp-drawer-heading { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: var(--theme-header); color: white; }
.erp-drawer nav { display: grid; padding: .5rem; border: 0; }
.erp-drawer nav a { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; }
.erp-menu-icon { width: 1.35rem; text-align: center; font-size: 1.15rem; }
body:has(.erp-drawer[open]) { overflow: hidden; }
@media (max-width: 760px) {
    .erp-header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .65rem; }
    .erp-header:not(:has(.erp-menu-toggle)) { display: flex; }
    .erp-menu-toggle { display: block; min-width: 2.75rem; padding: .45rem; }
    .erp-desktop-nav { display: none; }
}

.registration { background: transparent; border: 0; padding: 0; }
.registration details[open] { padding: 1rem; background: white; border: 1px solid #dce5e8; border-radius: .65rem; }
.registration summary { display: inline-block; padding: .65rem .9rem; border-radius: .35rem; color: white; background: var(--accent); cursor: pointer; font-weight: 650; list-style: none; }
.registration summary::-webkit-details-marker { display: none; }
.registration summary::before { content: '+ '; }
.registration details[open] summary::before { content: '− '; }

.registration-fields { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: .65rem; min-width: 0; border: 1px solid #dce5e8; border-radius: .5rem; }
.registration-fields legend { padding: 0 .35rem; font-weight: 650; }
.registration-fields label:has(textarea) { grid-column: 1 / -1; }

.dashboard-period { padding: 0; background: transparent; border: 0; }
.dashboard-metrics { grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); }
.dashboard-metrics section { margin-bottom: .75rem; }
.dashboard-charts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,23rem),1fr)); gap: 1rem; }
.dashboard-charts section { min-width: 0; }
.dashboard-bar { display: grid; grid-template-columns: minmax(5.5rem,auto) minmax(1.5rem,1fr) auto; gap: .45rem; align-items: center; margin: .6rem 0; font-size: .9rem; }
.dashboard-bar meter { width: 100%; height: 1.2rem; }
.dashboard-bar meter::-webkit-meter-optimum-value { background: var(--accent); }
.dashboard-bar meter::-moz-meter-bar { background: var(--accent); }
.dashboard-charts section > a { display: inline-block; margin-top: .75rem; }
@media (max-width: 480px) { .dashboard-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-metrics strong { font-size: 1rem; overflow-wrap: anywhere; } }

.sales-columns { display: grid; grid-auto-columns: minmax(0,1fr); grid-auto-flow: column; gap: .22rem; min-width: 0; }
.sales-columns button { display:flex; flex-direction:column; align-items:center; gap:.35rem; min-width:0; padding:.2rem; background:transparent; color:#17242f; font-size:.72rem; text-align:center; }
.column-track { height:9rem; width:100%; display:flex; align-items:flex-end; justify-content:center; border-bottom:1px solid #c9d7db; background:repeating-linear-gradient(to top,#edf2f3 0 1px,transparent 1px 25%); }
.column-fill { width:min(72%,2.25rem); border-radius:.35rem .35rem 0 0; background:#0d7465; }
.sales-columns button[aria-pressed=true] .column-fill { background:#3576ce; }
.chart-selection { min-height:1.5rem; color:#385461; }
.donut-graphic { display:grid; place-items:center; width:min(100%,15rem); margin:auto; aspect-ratio:1; }
.donut-graphic > * { grid-area:1/1; }
.donut-graphic canvas { width:100%; height:auto; }
.donut-total { max-width:60%; text-align:center; overflow-wrap:anywhere; }
.category-chart button { width:100%; display:grid; grid-template-columns:.75rem minmax(0,1fr) auto; gap:.55rem; align-items:center; text-align:left; background:transparent; color:#17242f; }
.category-chart button[aria-pressed=true] { background:var(--theme-highlight); }
.category-chart i { width:.7rem; height:.7rem; border-radius:50%; }
.dashboard-ranking { padding-left:1.5rem; }
.dashboard-ranking li { border-bottom:1px solid #e3ebee; padding:.55rem .25rem; }
.dashboard-ranking span { display:block; color:#385461; margin-top:.15rem; }

.product-photo-editor { flex:1 1 100%; padding:1rem; border:2px dashed #a8c9c2; border-radius:.65rem; background:#f4faf8; min-width:0; }
.product-photo-editor.dragging { background:#d6f2e9; border-color:var(--accent); }
.product-photo-editor img { max-width:100%; width:9rem; height:7rem; object-fit:contain; margin-bottom:.65rem; }
.product-photo-editor p { margin:.45rem 0 0; }
.product-photo-editor [role=status]:empty { display:none; }

.product-list-name { display:flex; align-items:center; gap:.55rem; min-width:8rem; }
.product-list-thumb { display:block; flex:none; width:44px; height:44px; object-fit:contain; background:#f3f6f8; border:1px solid #dce5e8; border-radius:.4rem; }

.product-list-scroll { max-width:100%; }
.product-list-scroll table { width:max-content; min-width:100%; }
.product-list-scroll th, .product-list-scroll td { white-space:nowrap; }

.erp-nav-group { position:relative; }
.erp-nav-group summary { display:flex; align-items:center; gap:.45rem; padding:.55rem .65rem; border-radius:.4rem; color:var(--accent); list-style:none; cursor:pointer; }
.erp-nav-group summary::-webkit-details-marker { display:none; }
.erp-nav-group summary::after { content:'▾'; margin-left:.15rem; }
.erp-nav-group[open] summary::after { content:'▴'; }
.erp-nav-group.is-current summary { background:var(--theme-highlight); font-weight:700; }
.erp-submenu { display:grid; gap:.2rem; }
.erp-desktop-nav .erp-submenu { position:absolute; inset:100% 0 auto auto; z-index:3; min-width:max-content; padding:.35rem; background:white; border:1px solid #dce5e8; border-radius:.45rem; box-shadow:0 .25rem .75rem #142b3026; }
.erp-drawer .erp-nav-group summary { min-height:2.75rem; gap:.75rem; }
.erp-drawer .erp-submenu { margin-left:1.25rem; border-left:1px solid #dce5e8; padding-left:.35rem; }

.catalog-header { justify-content:flex-start; gap:.85rem; }
.catalog-header img { width:3.25rem; height:3.25rem; object-fit:contain; border-radius:.45rem; background:white; }
.catalog-description,.catalog-product-info p,.catalog-contact { white-space:pre-wrap; overflow-wrap:anywhere; }
.catalog-banners { width:100%; }
.catalog-banners img { display:block; width:100%; height:auto; }
.catalog-products { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.85rem; align-items:stretch; }
.catalog-products article { min-width:0; background:white; border-radius:.7rem; border:1px solid #dce5e8; overflow:hidden; }
.catalog-products article > img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; background:#fff; }
.catalog-product-info { padding:1rem; overflow-wrap:anywhere; }
.catalog-product-info strong { display:block; margin-top:.55rem; }
.catalog-buy { display:inline-block; margin-top:.65rem; padding:.55rem .85rem; border-radius:.4rem; background:var(--accent); color:white; text-decoration:none; font-weight:650; }
.catalog-contact { margin:1rem 0; padding:1rem; border-top:1px solid #dce5e8; }
.catalog-editorial { background:#f7f4ed; }
.catalog-editorial .catalog-header { background:#294738; }
.catalog-editorial .catalog-products { grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr)); }
.catalog-editorial .catalog-products article > img { aspect-ratio:16/10; }
.catalog-editorial h1 { font-family:Georgia,serif; }
.catalog-compact .catalog-products { grid-template-columns:1fr; }
.catalog-compact .catalog-products article { display:flex; align-items:center; }
.catalog-compact .catalog-products article > img { width:min(30%,8rem); aspect-ratio:1; flex:none; }
.catalog-layout-options { flex:1 1 100%; min-width:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap:.55rem; border:1px solid #dce5e8; border-radius:.5rem; }
.catalog-layout-options label { padding:.55rem; border:1px solid #dce5e8; border-radius:.35rem; cursor:pointer; }
.catalog-layout-options label:has(:checked) { background:var(--theme-highlight); border-color:var(--accent); }
.catalog-layout-options input { width:auto; min-height:auto; align-self:start; }
.layout-sample { display:grid; gap:.2rem; height:2.4rem; }
.layout-sample i { border-radius:.2rem; background:#79b6ab; }
.sample-grid { grid-template-columns:repeat(3,1fr); }
.sample-editorial { grid-template-columns:repeat(2,1fr); }
.sample-editorial i:first-child { grid-column:1/-1; }
.sample-compact { grid-template-columns:1fr; }
.catalog-media-preview { width:7rem; height:4rem; object-fit:contain; align-self:center; }

.catalog .catalog-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:600px) {
    .catalog .catalog-products.catalog-mobile-1 { grid-template-columns:1fr; }
    .catalog .catalog-products.catalog-mobile-2 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
    .catalog-mobile-2 .catalog-product-info { padding:.65rem; }
    .catalog-mobile-2 .catalog-buy { padding:.45rem; font-size:.85rem; }
}
@media (min-width:960px) {
    .catalog .catalog-products.catalog-desktop-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .catalog .catalog-products.catalog-desktop-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (min-width:601px) {
    .catalog-compact .catalog-products article { display:block; }
    .catalog-compact .catalog-products article > img { width:100%; aspect-ratio:4/3; }
}
@media (max-width:600px) {
    .catalog-compact .catalog-mobile-2 article { display:block; }
    .catalog-compact .catalog-mobile-2 article > img { width:100%; aspect-ratio:4/3; }
}

.catalog { display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
.catalog > main { width:100%; }
.catalog-credit { margin-top:auto; min-height:2.75rem; display:grid; place-items:center; padding:.5rem 1rem; text-align:center; color:#50636a; }
.catalog-credit small { font-size:.6875rem; }

.catalog-products article { display:flex; flex-direction:column; }
.catalog-products article > img { display:block; margin-inline:auto; }
.catalog-product-info { flex:1; width:100%; display:flex; flex-direction:column; align-items:center; text-align:center; gap:.45rem; }
.catalog-product-info h2 { line-height:1.25; }
.catalog-product-info p { margin:0; }
.catalog-product-info strong { color:var(--accent); font-size:1.18rem; margin:0; }
.catalog-product-info .catalog-buy { display:flex; justify-content:center; align-items:center; gap:.45rem; margin-top:auto; min-height:2.75rem; text-align:center; padding-block:.55rem; width:100%; max-width:19rem; }
.catalog-product-info .catalog-buy svg { flex:none; }
@media (max-width:600px) {
    .catalog-compact .catalog-mobile-1 article { flex-direction:row; }
    .catalog-mobile-2 .catalog-product-info h2 { font-size:1rem; }
    .catalog-mobile-2 .catalog-product-info strong { font-size:1.05rem; }
    .catalog-mobile-2 .catalog-buy svg { width:16px; height:16px; }
}

.product-actions { display:inline-flex; align-items:center; gap:.2rem; }
.product-actions form { margin:0; }
.product-action { display:inline-grid; place-items:center; width:2.25rem; height:2.25rem; min-height:2.25rem; padding:0; color:var(--accent); background:transparent; border-radius:.4rem; }
.product-action:hover,.product-action:focus-visible { background:var(--theme-highlight); }
.product-action.is-danger { color:#a12e33; }
.product-action.is-published { background:var(--theme-highlight); color:#0d6457; }
.product-action.is-unpublished { color:#64777d; }

.product-description-editor { grid-column:1/-1; min-width:0; }
.product-description-editor [hidden] { display:none !important; }
.description-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.3rem; margin:.45rem 0; }
.description-toolbar select { width:auto; max-width:100%; }
.description-toolbar button { min-height:2.25rem; padding:.35rem .55rem; }
.description-toolbar button[aria-pressed=true] { background:var(--theme-header); }
.description-surface { min-height:10rem; padding:.6rem; border:1px solid #aebfc2; border-radius:.35rem; background:white; }
.product-rich-text { max-width:100%; overflow-wrap:anywhere; }
.catalog-product-info .product-rich-text { width:100%; text-align:start; }
.product-rich-text ul,.product-rich-text ol { padding-inline-start:1.25rem; }
.product-rich-text .desc-small,.description-surface font[size="2"] { font-size:.85em; }
.product-rich-text .desc-normal,.description-surface font[size="3"] { font-size:1em; }
.product-rich-text .desc-large,.description-surface font[size="5"] { font-size:1.25em; }
.product-rich-text .desc-color-dark { color:#17242f; }
.product-rich-text .desc-color-green { color:#0d6457; }
.product-rich-text .desc-color-blue { color:#2457a7; }
.product-rich-text .desc-color-red { color:#a12e33; }

.catalog-products article { position:relative; }
.catalog-product-link { color:inherit; text-decoration:none; }
.catalog-product-link::after { content:''; position:absolute; inset:0; }
.catalog-products article:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.catalog-products .catalog-buy { position:relative; z-index:1; }
.catalog-detail article { display:grid; gap:1rem; padding:1rem; background:white; border:1px solid #dce5e8; border-radius:.7rem; }
.catalog-detail article > img { width:100%; max-height:26rem; object-fit:contain; }
.catalog-detail .catalog-product-info { align-items:flex-start; text-align:start; padding:0; gap:.8rem; }
.catalog-detail .catalog-product-info h1 { margin:0; }
.catalog-detail .catalog-product-info > p { white-space:pre-wrap; }
@media (min-width:760px) {
    .catalog-detail article:has(> img) { grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); align-items:start; }
}

.product-registry-field { display:grid; gap:.4rem; min-width:0; }
.catalog-menu-toggle { margin-inline-end:.15rem; }
@media (max-width:760px) { .catalog-menu-toggle { display:block; min-width:2.75rem; padding:.45rem; } }

.erp-page { display: flex; flex-direction: column; min-height: 100vh; }
.erp-page > main { width: 100%; }
.erp-footer { margin-top: auto; padding: .85rem 1rem; text-align: center; font-size: .78rem; color: #415762; border-top: 1px solid #dce5e8; }

[data-theme="navy"] { --theme-header:#152849; --accent:#2556ae; --theme-highlight:#e6eeff; --theme-background:#f2f5fb; }
[data-theme="petroleum"] { --theme-header:#12343e; --accent:#17677b; --theme-highlight:#deeff4; --theme-background:#f1f6f7; }
[data-theme="violet"] { --theme-header:#2a2633; --accent:#684385; --theme-highlight:#f0e7f8; --theme-background:#f7f4f9; }
.erp-page, .catalog[data-theme]:not([data-theme="green"]) { background:var(--theme-background); }
.catalog[data-theme]:not([data-theme="green"]) .catalog-header { background:var(--theme-header); }
.theme-preview { margin-top:.85rem; border:1px solid #dce5e8; border-radius:.55rem; overflow:hidden; max-width:28rem; }
.theme-preview-heading { background:var(--theme-header); color:white; padding:.65rem .8rem; font-weight:700; }
.theme-preview-content { background:var(--theme-background); display:flex; gap:.65rem; flex-wrap:wrap; padding:.8rem; }
.theme-preview-highlight,.theme-preview-button { padding:.45rem .65rem; border-radius:.35rem; font-weight:650; }
.theme-preview-highlight { background:var(--theme-highlight); color:var(--accent); }
.theme-preview-button { background:var(--accent); color:white; }
[data-theme="green"] { --theme-header:#142b30; --accent:#0d6457; --theme-highlight:#e1f3ec; --theme-background:#f3f6f8; }

.erp-portal { --accent:#2556ae; min-height:100vh; display:flex; flex-direction:column; background:#f5f7fb; }
.erp-portal .portal-shell { width:min(72rem,calc(100% - 2rem)); max-width:none; margin-inline:auto; padding:0; }
.portal-header { display:block; padding:0; background:#fff; color:#152849; border-bottom:1px solid #d8e2f0; }
.portal-top { min-height:4.4rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.portal-brand { color:#152849; font-weight:800; font-size:1.3rem; text-decoration:none; white-space:nowrap; }
.portal-top nav { align-items:center; justify-content:flex-end; padding:0; border:0; }
.erp-portal .portal-button { display:inline-block; padding:.63rem 1rem; font-weight:700; color:#fff; background:var(--accent); border-radius:.45rem; text-decoration:none; }
.erp-portal .portal-secondary { background:white; color:#152849; border:1px solid #c7d6eb; }
.erp-portal a:focus-visible { outline:3px solid #2556ae; outline-offset:3px; }
.portal-hero { display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(1.5rem,5vw,4rem); align-items:center; padding:clamp(2.5rem,7vw,5.5rem) 0; }
.portal-hero h1 { max-width:13ch; font-size:clamp(2.3rem,5.7vw,4.25rem); line-height:1.05; color:#152849; }
.portal-hero p { max-width:45ch; font-size:1.125rem; color:#42536b; }
.portal-actions { display:flex; gap:.65rem; flex-wrap:wrap; margin-top:1.55rem; }
.portal-preview { border:1px solid #d8e2f0; border-radius:1rem; overflow:hidden; background:#e9eff9; box-shadow:0 1rem 3rem #15284914; }
.portal-preview-top { background:#152849; color:white; display:flex; flex-wrap:wrap; justify-content:space-between; gap:.65rem; padding:1rem 1.15rem; }
.portal-preview-body,.portal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.85rem; }
.portal-preview-body,.portal-plans { grid-template-columns:repeat(2,minmax(0,1fr)); }
.portal-preview-body { padding:.85rem; }
.portal-preview-body > div,.portal-grid > article { padding:1rem; background:white; border:1px solid #d8e2f0; border-radius:.65rem; }
.portal-preview-body strong { display:block; margin-top:.28rem; font-size:1.1rem; color:#152849; }
.portal-section { background:transparent; border:0; padding:0 0 1.35rem; }
.portal-section h2 { font-size:1.65rem; color:#152849; margin:0 0 .75rem; }
.portal-section p { color:#42536b; }
.portal-grid h3 { margin:0; color:#152849; }
.portal-grid article p { margin:.4rem 0 0; }
@media (max-width:720px) {
    .portal-hero,.portal-grid { grid-template-columns:1fr; }
    .portal-top { gap:.4rem; }
    .portal-top nav a { padding:.42rem .35rem; }
    .portal-top nav .portal-button { padding:.45rem .62rem; }
}

.cep-field { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:.25rem .35rem; min-width:0; }
.cep-input-group { display:block; }
.cep-field button { display:grid; place-items:center; width:2.55rem; padding:0; }
.cep-status { grid-column:1 / -1; }
.cep-status:empty { display:none; }

.erp-overview { display:grid; gap:1rem; }
.overview-toolbar { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:.5rem; }
.overview-toolbar p { margin:0; color:#385461; font-variant-numeric:tabular-nums; }
.overview-toolbar nav { gap:.28rem; }
.overview-toolbar nav a { background:#fff; border:1px solid #dce5e8; }
.overview-toolbar nav a[aria-current] { background:var(--theme-highlight); border-color:var(--accent); }
.overview-kpis,.overview-grid,.overview-balances { display:grid; gap:.8rem; }
.overview-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }
.overview-kpi,.overview-balances a { display:flex; flex-direction:column; gap:.3rem; text-decoration:none; color:inherit; overflow-wrap:anywhere; }
.overview-kpi { border:1px solid #dce5e8; border-radius:.65rem; padding:1rem; background:#fff; }
.overview-kpi:first-child { background:var(--theme-highlight); border-color:var(--accent); }
.overview-kpi strong { color:var(--accent); font-size:clamp(1.15rem,2.2vw,1.65rem); font-variant-numeric:tabular-nums; }
.overview-kpi small { color:#385461; }
.overview-balances { grid-template-columns:repeat(3,minmax(0,1fr)); }
.overview-balances a { padding:.15rem .35rem; }
.overview-balances strong { color:var(--accent); font-size:1.13rem; }
.overview-kpi:hover,.overview-balances a:hover { text-decoration:underline; text-underline-offset:.18em; }
.overview-grid { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); align-items:start; }
.overview-operation { grid-template-columns:repeat(3,minmax(0,1fr)); }
.erp-overview section { margin:0; min-width:0; }
.overview-sales .column-track { height:clamp(9rem,18vw,14rem); }
.overview-sales .column-fill { background:var(--accent); }
.overview-sales .sales-columns button[aria-pressed=true] .column-fill { background:#3576ce; }
.overview-link { display:inline-block; margin-top:.8rem; }
@media (max-width:850px) {
    .overview-kpis,.overview-operation { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .overview-grid:not(.overview-operation) { grid-template-columns:1fr; }
}
@media (max-width:520px) {
    .overview-operation,.overview-balances { grid-template-columns:1fr; }
    .overview-balances a + a { border-top:1px solid #dce5e8; padding-top:.55rem; }
    .overview-kpi { padding:.7rem; }
    .overview-sales .sales-columns button { font-size:.65rem; padding-inline:0; }
}
.overview-directories { display:flex; flex-wrap:wrap; gap:1rem; }
.overview-directories a { text-underline-offset:.18em; }

.erp-overview .overview-kpi { border-radius:.8rem; padding:1.05rem 1.15rem; gap:.45rem; }
.erp-overview .overview-kpi:first-child { color:#fff; background:var(--theme-header); border-color:var(--theme-header); }
.erp-overview .overview-kpi:first-child strong { color:#fff; }
.erp-overview .overview-kpi:first-child small { color:#e2edf0; }
.erp-overview .overview-kpi strong { font-size:clamp(1.2rem,2.5vw,1.85rem); letter-spacing:-.025em; line-height:1.13; }
.erp-overview .overview-balances { gap:0; border-radius:.8rem; padding:.85rem; }
.erp-overview .overview-balances a { padding:.45rem .75rem; }
.erp-overview .overview-balances a + a { border-left:1px solid #dce5e8; }
.overview-overdue { color:#962c24; font-weight:650; }
.erp-overview .overview-grid { align-items:stretch; }
.erp-overview .overview-grid > section { border-radius:.8rem; padding:1rem 1.15rem; }
.overview-section-heading { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:.4rem .8rem; }
.overview-section-heading a { font-size:.85rem; }
.overview-plot { --plot-height:clamp(8.5rem,16vw,11.5rem); display:grid; grid-template-columns:auto minmax(0,1fr); gap:.65rem; }
.overview-axis { display:flex; flex-direction:column; justify-content:space-between; height:var(--plot-height); text-align:right; font-size:.72rem; color:#385461; font-variant-numeric:tabular-nums; white-space:nowrap; }
.erp-overview .overview-plot .column-track { height:var(--plot-height); background:none; border:0; }
.erp-overview .overview-plot .sales-columns { position:relative; }
.erp-overview .overview-plot .sales-columns::before { content:''; position:absolute; inset:0 0 auto; height:var(--plot-height); pointer-events:none; border-bottom:1px solid #c9d7db; background:repeating-linear-gradient(to bottom,#e6edf0 0 1px,transparent 1px 25%); }
.erp-overview .overview-plot button { position:relative; padding-top:0; }
.overview-bar-date { overflow-wrap:anywhere; }
.erp-overview .donut-graphic { width:min(100%,10rem); }
.erp-overview .category-chart .chart-selection:empty { display:none; }
.erp-overview .category-chart button { min-height:2.4rem; padding-inline:.5rem; }
.erp-overview .dashboard-ranking { margin-bottom:.15rem; }
.overview-empty { color:#385461; background:#f3f6f8; border-radius:.5rem; padding:.65rem .75rem; }
@media (max-width:520px) {
    .erp-overview .overview-kpi { padding:.75rem; }
    .erp-overview .overview-balances a + a { border-left:0; }
    .overview-plot { gap:.3rem; }
    .overview-axis { font-size:.63rem; }
}
