.z9-description{color:#526963;font-size:15px;margin-top:10px;max-width:650px;line-height:1.6}.z9-auth-context{background:#153e3a;color:#f4f7f0;padding:60px 45px;display:flex;flex-direction:column;justify-content:center;min-height:540px;border-radius:20px 0 0 20px}.z9-kicker{font-size:12px;letter-spacing:2px;color:#b7d99c}.z9-auth-context h1{font-size:44px;line-height:1.15;font-weight:500;margin:28px 0 18px;letter-spacing:-1.5px}.z9-auth-context p{line-height:1.7;max-width:370px}.z9-auth-context ul{padding-left:18px;line-height:1.7;margin:25px 0}.z9-auth-note{font-size:13px;color:#c2d3ca}.z9-sidebar{display:flex;flex-direction:column;padding:20px 16px;background:#f5f7f2;border-right:1px solid #dce4dc}.z9-brand{display:block;margin-bottom:24px}.z9-brand img{max-width:100%;height:auto}.z9-sidebar-label{font-size:11px;font-weight:600;letter-spacing:1.5px;color:#697b72;padding:0 12px}.z9-sidebar nav{display:flex;flex-direction:column;gap:6px;margin-top:12px}.z9-sidebar nav a{padding:13px 12px;border-radius:8px;color:#354b42;text-decoration:none;font-size:15px}.z9-sidebar nav a.active,.z9-sidebar nav a:hover{background:#e1eadb;color:#173f3c}.z9-sidebar-footer{margin-top:auto;padding:25px 12px 0;font-size:12px;color:#6d7e73;line-height:1.7}.z9-sidebar-footer a{color:#174b47}.z9-sidebar-footer button{margin-top:20px;background:none;border:0;padding:0;color:#174b47;cursor:pointer;font:inherit}.z9-sidebar a:focus-visible,.z9-sidebar button:focus-visible{outline:2px solid #174b47;outline-offset:3px}@media(max-width:800px){.z9-auth-context{padding:30px;min-height:0;border-radius:20px 20px 0 0}.z9-auth-context h1{font-size:32px}.z9-sidebar{position:static!important;width:auto!important;min-height:0!important;height:auto!important}.z9-sidebar nav{flex-direction:row;flex-wrap:wrap}.z9-sidebar-footer{display:none}.app:has(.z9-sidebar){display:block}.app:has(.z9-sidebar) .main{margin-left:0!important;width:100%}.z9-brand{margin-bottom:0;max-width:220px}}
body.portal-authenticated .dx-app:has(.z9-sidebar){display:grid;grid-template-columns:255px minmax(0,1fr)}body.portal-authenticated .z9-sidebar{height:100vh;position:sticky;top:0}.z9-sidebar nav a{font-family:inherit}body.portal-authenticated .dx-app:has(.z9-sidebar) .main>.topbar,body.portal-authenticated .dx-app:has(.z9-sidebar) .main>.page-head{padding-left:28px;padding-right:28px}@media(max-width:800px){body.portal-authenticated .dx-app:has(.z9-sidebar){display:block}body.portal-authenticated .z9-sidebar{height:auto;position:static}}
body.portal-authenticated .dx-app:has(.z9-sidebar) .page-head .page-title{display:block!important;font-size:30px;margin-bottom:8px}

.z9-purchases{max-width:1560px;margin:0 auto;padding:32px;color:#182f39}.z9-page-heading h1{font-size:2rem;margin:8px 0}.z9-page-heading p,.z9-data-note{color:#58717b}.z9-eyebrow{font-size:.8rem;letter-spacing:.12em;font-weight:700;color:#177568}.z9-tabs{display:flex;gap:24px;border-bottom:1px solid #cddbdc;margin:26px 0}.z9-tabs a{padding:12px 0;color:#58717b;font-weight:600;text-decoration:none}.z9-tabs a.active{color:#12695d;border-bottom:3px solid #12695d}.z9-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;background:#fff;padding:22px;border:1px solid #dce5e6;border-radius:14px}.z9-filters label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600}.z9-filters input,.z9-filters select{width:100%;min-width:0;padding:10px 12px;border:1px solid #bacbd0;border-radius:7px;background:white;font:inherit;color:#182f39}.z9-filter-actions{display:flex;gap:20px;align-items:center;grid-column:1/-1}.z9-filter-actions button{background:#12695d;color:white;border:0;border-radius:7px;padding:10px 22px;font-weight:600}.z9-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.z9-metrics article{padding:22px;background:#fff;border:1px solid #dce5e6;border-radius:12px;display:flex;flex-direction:column;gap:8px}.z9-metrics strong{font-size:1.65rem;color:#163f3a}.z9-metrics small,.z9-table-wrap small{display:block;color:#667f87}.z9-table-wrap{overflow:auto;border:1px solid #dce5e6;border-radius:10px;background:#fff}.z9-table-wrap table{width:100%;border-collapse:collapse;font-size:.9rem}.z9-table-wrap th{background:#edf4f2;text-align:left;font-size:.77rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.z9-table-wrap td,.z9-table-wrap th{padding:15px;border-bottom:1px solid #e4ebec;vertical-align:top}.z9-description{min-width:260px;max-width:500px}.z9-description small{margin-top:9px}.z9-money{white-space:nowrap;font-variant-numeric:tabular-nums}.z9-type{font-size:.72rem;font-weight:700;color:#17675c}.z9-pagination{display:flex;justify-content:center;gap:30px;padding:24px}.z9-data-note{font-size:.85rem;line-height:1.6}.z9-purchases a{color:#12695d}.z9-purchases h2{font-size:1.3rem;margin-top:28px}@media(max-width:1100px){.z9-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.z9-metrics{grid-template-columns:1fr}.z9-purchases{padding:20px}}@media(max-width:600px){.z9-filters{grid-template-columns:1fr}.z9-purchases{padding:14px}.z9-tabs{gap:16px}}

.z9-analysis-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:30px}.z9-analysis-heading h2{margin-top:8px}.z9-match-rule{padding:8px 12px;background:#deebe4;color:#215d4b;border-radius:20px;font-size:.82rem;white-space:nowrap}.z9-analysis-counts{display:flex;flex-wrap:wrap;gap:12px 28px;padding:16px 0}.z9-analysis-counts strong{font-size:1.3rem;color:#164e43}.z9-price-method,.z9-ungrouped,.z9-concepts{margin:18px 0;padding:18px;background:#f2f6f4;border:1px solid #d9e4df;border-radius:10px}.z9-price-method p{max-width:1000px;font-size:.9rem;line-height:1.6}.z9-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.z9-product-card,.z9-product-line{background:#fff;border:1px solid #d4e2dc;border-radius:12px;padding:22px;margin:12px 0;min-width:0}.z9-product-card h3{font-size:1.2rem;margin:8px 0}.z9-unit{font-weight:600;color:#567269}.z9-attributes,.z9-line-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.z9-attributes>div,.z9-line-values>div{border-bottom:1px solid #e2ebe6;padding-bottom:10px;min-width:0}.z9-attributes dt,.z9-line-values dt{font-size:.84rem;color:#587168}.z9-attributes dt small{display:block;font-size:.66rem;text-transform:uppercase;letter-spacing:.05em;color:#788c83;margin-bottom:3px}.z9-attributes dd,.z9-line-values dd{margin:5px 0 0;font-weight:600;overflow-wrap:anywhere}.z9-price-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:17px 0;margin-top:12px;border-top:1px solid #d9e7df}.z9-price-summary div{display:flex;flex-direction:column;gap:5px;font-size:.8rem}.z9-price-summary strong{font-size:1.1rem}.z9-price-summary small{color:#698276}.z9-group-link{display:block;font-weight:600;margin-top:16px}.z9-nog-links{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.8rem;margin-top:12px}.z9-product-line header{display:flex;justify-content:space-between;gap:15px}.z9-product-line h4{font-size:1rem;margin:8px 0}.z9-product-line p{font-size:.85rem;overflow-wrap:anywhere}.z9-product-line summary{padding:10px 0;cursor:pointer;font-weight:600}.z9-source-identity code{overflow-wrap:anywhere;white-space:normal}.z9-line-values{grid-template-columns:repeat(3,minmax(0,1fr))}.z9-back{display:block;margin:25px 0 12px}.z9-empty{padding:25px;background:#fff;border-radius:10px}.z9-product-analysis summary,.z9-concepts summary{cursor:pointer;font-weight:600}@media(max-width:1150px){.z9-product-grid{grid-template-columns:1fr}}@media(max-width:650px){.z9-analysis-heading{align-items:flex-start;flex-direction:column}.z9-line-values,.z9-price-summary{grid-template-columns:1fr}.z9-product-card,.z9-product-line{padding:16px}.z9-attributes{grid-template-columns:1fr}.z9-product-line header{flex-direction:column}}

/* Product-first browsing with compact filters and progressive detail. */
.z9-categories{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.z9-categories a{padding:9px 14px;border:1px solid #cbdcd4;border-radius:7px;background:#fff;text-decoration:none;font-size:.9rem}.z9-categories a.active{background:#175d50;color:#fff;border-color:#175d50}.z9-extra-filters{grid-column:1/-1}.z9-extra-filters summary{cursor:pointer;font-size:.85rem;color:#35685c}.z9-extra-filters>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}.z9-purchases .z9-filters{padding:16px;gap:12px}.z9-purchases .z9-filter-actions{justify-content:flex-end}.z9-purchases .z9-filter-actions button{flex:none;width:auto}.z9-summary-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin:20px 0;color:#5d736b;font-size:.9rem}.z9-summary-bar strong{color:#203f34}.z9-catalog-heading h2{margin:18px 0}.z9-catalog-heading h2 span{font-size:.85rem;font-weight:400;color:#647a70;margin-left:12px}.z9-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.z9-catalog-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #d5e0da;border-radius:10px;padding:18px}.z9-category-label{font-size:.72rem;font-weight:600;color:#5b7568}.z9-catalog-card h3{font-size:1.05rem;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.z9-catalog-card h3 a{text-decoration:none;color:#1b3d30}.z9-catalog-card p{font-size:.85rem;margin:0 0 12px}.z9-catalog-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:.78rem;color:#5d776b;margin-top:auto}.z9-catalog-card .z9-group-link{font-size:.85rem;padding-top:12px;border-top:1px solid #e5ece7}.z9-method-note{font-size:.82rem;color:#637a6d;margin:18px 0}.z9-method-note summary{cursor:pointer}.z9-method-note p{max-width:1000px;margin:10px 0;line-height:1.6}.z9-categories a:focus-visible,.z9-catalog-card a:focus-visible,.z9-extra-filters summary:focus-visible{outline:2px solid #196d5a;outline-offset:3px}@media(max-width:1200px){.z9-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.z9-catalog-grid,.z9-extra-filters>div{grid-template-columns:1fr}.z9-categories a{font-size:.8rem;padding:8px 10px}.z9-catalog-heading h2 span{display:block;margin:8px 0}.z9-summary-bar{flex-direction:column}}
/* Category catalog: colors from the supplied visual brief, scoped to Zona 9. */
body:has(.z9-sidebar){--z9-navy:#002b49;--z9-blue:#0653a6;--z9-cyan:#0077b6;--z9-border:#e2e8f0;--z9-muted:#526477;background:#f8fafc}
body.portal-authenticated .z9-sidebar{background:var(--z9-navy);border-right:0;color:#fff;padding:24px 16px}
.z9-brand{background:white;border-radius:10px;padding:4px 10px;margin-bottom:24px}
.z9-scope-panel{padding:16px 12px;border:1px solid #36566c;border-radius:10px;background:#103951;margin-bottom:16px}
.z9-scope-panel .z9-sidebar-label{padding:0;margin:0 0 8px;color:#b8d8ee;font-size:11px}
.z9-scope-panel>strong,.z9-scope-panel>span{display:block}.z9-scope-panel>strong{font-size:16px}.z9-scope-panel>span{font-size:12px;color:#d1e2ee;line-height:1.6;margin-top:6px}
.z9-sidebar nav a{color:#d9e7f2;font-weight:500;line-height:1.4}.z9-sidebar nav a.active{background:var(--z9-blue);color:white;box-shadow:inset 3px 0 #52cce3}.z9-sidebar nav a:hover{background:#174969;color:white}
.z9-sidebar-footer{color:#c5d9e8;border-top:1px solid #36566c}.z9-sidebar-footer a,.z9-sidebar-footer button{color:#c5e7ff}.z9-sidebar a:focus-visible,.z9-sidebar button:focus-visible{outline-color:#8edaff}
body.portal-authenticated .dx-app:has(.z9-sidebar)>.main{background:#f8fafc;min-width:0}
.z9-purchases{width:100%;box-sizing:border-box;max-width:1500px;padding:32px;color:#0f172a;font-family:Geist,Arial,sans-serif}
.z9-purchases h1,.z9-purchases h2,.z9-purchases h3,.z9-purchases h4{font-family:Montserrat,Geist,Arial,sans-serif;color:var(--z9-navy);letter-spacing:normal}
.z9-purchases .z9-page-heading h1{font-size:30px;font-weight:700;line-height:1.25;margin:8px 0 10px}.z9-page-heading p{font-size:14px;color:var(--z9-muted);margin:0}.z9-eyebrow{color:var(--z9-blue);font-size:11px}
.z9-purchases a{color:var(--z9-blue)}.z9-purchases :is(a,button,input,select,summary):focus-visible{outline:3px solid #0077b6;outline-offset:3px}
.z9-kpi-bar{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:16px;margin:24px 0}
.z9-kpi-bar article{display:flex;flex-direction:column;gap:7px;padding:20px;background:white;border:1px solid var(--z9-border);border-radius:12px;min-width:0}
.z9-kpi-bar article>span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--z9-muted)}.z9-kpi-bar strong{font-family:Montserrat,Arial,sans-serif;font-size:26px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.3;color:var(--z9-navy);overflow-wrap:anywhere}.z9-kpi-bar small{font-size:12px;color:var(--z9-muted)}.z9-kpi-bar .z9-kpi-amount{background:#edf5fc;border-color:#cbdff0}.z9-kpi-amount strong{color:var(--z9-blue)}
.z9-tabs{margin:24px 0 0;border-color:var(--z9-border);gap:28px}.z9-tabs a{color:var(--z9-muted);font-size:14px}.z9-tabs a.active{color:var(--z9-blue);border-color:var(--z9-blue)}
.z9-categories{position:sticky;top:0;z-index:5;background:#f8fafc;padding:14px 0;margin:0;gap:8px;border-bottom:1px solid var(--z9-border)}
.z9-categories a{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;line-height:1.4;padding:10px 12px;border:1px solid #d5e0eb;border-radius:9px;background:white;color:var(--z9-navy)}.z9-categories a.active{background:var(--z9-navy);border-color:var(--z9-navy);color:white}.z9-category-dot{width:7px;height:7px;flex:none;border-radius:50%;background:var(--category-color,#64748b)}.z9-categories a.active .z9-category-dot{background:#73d4ed}.z9-category-count{padding:1px 6px;background:#edf2f7;border-radius:5px;color:var(--z9-navy);font-size:11px}.z9-categories .active .z9-category-count{background:#36566c;color:white}
[data-category="derivaciones"]{--category-color:#0077b6;--category-header:#002b49}[data-category="medicamentos"]{--category-color:#0653a6;--category-header:#0653a6}[data-category="enfermeria"]{--category-color:#00788b;--category-header:#00677a}[data-category="operativas"]{--category-color:#b46908;--category-header:#77500e}[data-category="otros"]{--category-color:#64748b;--category-header:#43566b}
.z9-purchases .z9-filters{margin:0 0 26px;border-color:var(--z9-border);border-top:0;border-radius:0 0 12px 12px;padding:18px;grid-template-columns:1.4fr .8fr .8fr 1.3fr;gap:14px}.z9-filters label{font-size:12px;color:#334155}.z9-filters input,.z9-filters select{border-color:#bdccdb;color:#1e293b;font-size:13px;min-height:42px}.z9-filters input::placeholder{color:#64748b}.z9-purchases .z9-filter-actions button{background:var(--z9-blue);font-size:13px;min-height:42px;cursor:pointer}.z9-filter-actions button:hover{background:var(--z9-navy)}.z9-extra-filters summary{color:var(--z9-blue)}
.z9-catalog-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:24px 0 16px}.z9-catalog-heading h2{margin:0;font-size:18px;font-weight:700}.z9-catalog-heading>span{font-size:12px;color:var(--z9-muted)}
.z9-category-section{margin:0 0 24px;border:1px solid var(--z9-border);border-radius:12px;background:#fff;overflow:hidden;scroll-margin-top:100px}
.z9-category-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;background:var(--category-header,var(--z9-navy));color:white}.z9-category-title{display:flex;gap:14px;align-items:center;min-width:0}.z9-category-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:9px;border:1px solid #ffffff50;background:#ffffff14}.z9-category-icon svg{width:22px;height:22px}.z9-category-header h3{font-size:16px;line-height:1.4;color:white;margin:0 0 5px;font-weight:700}.z9-category-title div>span{font-size:12px;color:#e1ecf7}.z9-category-volume{display:flex;flex-direction:column;gap:5px;text-align:right;flex:none}.z9-category-volume span{font-size:11px;color:#e1ecf7}.z9-category-volume strong{font-size:16px;font-variant-numeric:tabular-nums}
.z9-catalog-row{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(160px,1.2fr) minmax(130px,1fr) auto;align-items:center;gap:22px;padding:22px;border-bottom:1px solid #e8eef4}.z9-catalog-row:last-child{border-bottom:0}.z9-catalog-row:hover{background:#f8fbfe}.z9-row-identity h4{margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}.z9-row-identity h4 a{color:#0f172a;text-decoration:none}.z9-row-identity h4 a:hover{text-decoration:underline;color:var(--z9-blue)}.z9-row-identity p{font-size:12px;color:var(--z9-muted);margin:4px 0;line-height:1.6;overflow-wrap:anywhere}.z9-row-identity p strong{font-weight:500;color:#334155}
.z9-frequency>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;margin-bottom:8px}.z9-frequency strong{font-size:13px;color:var(--z9-navy);font-variant-numeric:tabular-nums}.z9-top-badge{font-size:10px;padding:3px 5px;border-radius:4px;background:#e5f2fc;color:#064f86;font-weight:600}.z9-frequency meter{appearance:none;width:100%;height:7px;display:block;background:#e2e8f0;border:0;border-radius:5px;overflow:hidden}.z9-frequency meter::-webkit-meter-bar{height:7px;border:0;background:#e2e8f0;border-radius:5px}.z9-frequency meter::-webkit-meter-optimum-value{background:var(--category-color,var(--z9-blue));border-radius:5px}.z9-frequency meter::-moz-meter-bar{background:var(--category-color,var(--z9-blue))}.z9-frequency small{display:block;font-size:10px;color:var(--z9-muted);margin-top:7px}
.z9-row-units>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--z9-muted);margin-bottom:6px}.z9-row-units strong{display:block;font-size:11px;font-weight:500;line-height:1.6;color:#334155}.z9-row-units strong+strong{margin-top:6px}
.z9-history-link{display:inline-flex;align-items:center;gap:10px;justify-content:center;text-decoration:none;border:1px solid #c8deef;border-radius:7px;padding:10px 12px;background:#f0f7fd;font-size:12px;font-weight:600;white-space:nowrap}.z9-history-link:hover{background:var(--z9-blue);color:white}
.z9-pagination{justify-content:space-between;align-items:center;border-top:1px solid var(--z9-border);padding:20px 0;gap:15px;font-size:13px;flex-wrap:wrap}.z9-pagination a{padding:9px 12px;border:1px solid #d5e0eb;border-radius:7px;background:white;text-decoration:none}.z9-method-note{color:var(--z9-muted);font-size:12px}
.z9-product-card,.z9-product-line,.z9-concepts,.z9-ungrouped,.z9-price-method{border-color:var(--z9-border)}.z9-concepts,.z9-ungrouped,.z9-price-method{background:#f0f5fa}.z9-unit,.z9-attributes dt,.z9-line-values dt,.z9-data-note{color:var(--z9-muted)}.z9-match-rule{background:#e5f2fc;color:var(--z9-blue)}.z9-analysis-counts strong{color:var(--z9-navy)}.z9-table-wrap th{background:#eef4fa}.z9-type{color:var(--z9-blue)}
@media(max-width:1250px){.z9-purchases{padding:24px}.z9-catalog-row{grid-template-columns:minmax(0,1.8fr) minmax(145px,1fr) minmax(125px,1fr);gap:16px}.z9-history-link{grid-column:3;justify-self:start}.z9-frequency{align-self:center}.z9-kpi-bar{grid-template-columns:1fr 1fr}.z9-kpi-amount{grid-column:1/-1}.z9-purchases .z9-filters{grid-template-columns:1fr 1fr}}
@media(max-width:800px){body.portal-authenticated .z9-sidebar{padding:16px}.z9-brand{max-width:220px;margin-bottom:12px}.z9-scope-panel{display:none}.z9-sidebar nav{margin-top:0}.z9-sidebar nav a{font-size:13px}.z9-purchases{padding:24px 18px}.z9-purchases .z9-page-heading h1{font-size:25px}.z9-categories{position:static}.z9-catalog-heading{align-items:flex-start;flex-direction:column}.z9-catalog-row{grid-template-columns:1fr 1fr}.z9-row-identity{grid-column:1/-1}.z9-history-link{grid-column:auto;justify-self:start}.z9-category-header{padding:18px}.z9-category-volume{display:none}.z9-category-header h3{font-size:14px}.z9-category-title div>span{font-size:11px}.z9-extra-filters>div{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.z9-purchases{padding:20px 12px}.z9-kpi-bar{gap:10px}.z9-kpi-bar article{padding:14px}.z9-kpi-bar strong{font-size:23px}.z9-kpi-bar article>span,.z9-kpi-bar small{font-size:10px}.z9-categories a{font-size:11px;padding:9px}.z9-purchases .z9-filters{padding:14px}.z9-filter-search,.z9-filters>label:has(select){grid-column:1/-1}.z9-catalog-row{padding:18px;gap:18px}.z9-row-units{grid-column:1/-1;grid-row:3}.z9-history-link{justify-self:end}.z9-extra-filters>div{grid-template-columns:1fr}.z9-category-icon{width:30px;height:30px}.z9-category-title{gap:10px}}

/* Zona 9 summary keeps the annual totals and purchase list only. */
#dashboard2[data-summary-only="true"] .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
#dashboard2[data-summary-only="true"] .kpi-card strong{font-size:clamp(18px,1.6vw,27px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#dashboard2[data-summary-only="true"] .z9-pagination button{border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0653a6;padding:10px 15px;font:inherit;cursor:pointer}
#dashboard2[data-summary-only="true"] .z9-pagination button:disabled{opacity:.45;cursor:default}
#dashboard2[data-summary-only="true"] .z9-pagination button:focus-visible{outline:3px solid #0077b6;outline-offset:3px}
@media(max-width:1100px){#dashboard2[data-summary-only="true"] .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#dashboard2[data-summary-only="true"] .kpi-card strong{font-size:21px}#dashboard2[data-summary-only="true"] .z9-pagination{font-size:12px;gap:8px}}

#dashboard2 .z9-new-purchase{background:#f0fdfa}
#dashboard2 .z9-new-badge{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:4px;background:#ccfbf1;color:#115e59;font-size:11px;font-weight:700;white-space:nowrap}
#dashboard2 .z9-summary-new{margin:0 0 12px;color:#115e59;font-size:13px}
#dashboard2[data-summary-only="true"] .analytics-date-filter .seg{flex-wrap:nowrap;height:auto;min-height:40px}
#dashboard2[data-summary-only="true"] .analytics-date-filter .seg button{width:auto;min-width:0;flex:0 0 auto;padding-inline:10px}
@media(max-width:600px){#dashboard2[data-summary-only="true"] .analytics-date-filter .seg{flex-wrap:wrap;justify-content:center}#dashboard2[data-summary-only="true"] .analytics-date-filter .seg button{padding-inline:9px}}

/* Product browsing: dates first, a quiet price column, and compact purchase history. */
.z9-purchases .z9-filters{margin:24px 0 8px;border:1px solid var(--z9-border);border-radius:12px;grid-template-columns:.8fr .8fr 1.4fr 1.3fr}
.z9-catalog-row{grid-template-columns:minmax(0,2fr) minmax(125px,.9fr) minmax(130px,.85fr) minmax(120px,.9fr) auto;gap:18px}
.z9-row-price>span,.z9-history-label{display:block;font-size:11px;color:#475569;margin-bottom:6px}
.z9-row-price strong{font-size:16px;color:var(--z9-navy);font-variant-numeric:tabular-nums}
.z9-catalog-row:focus-within,.z9-history-row:focus-within{background:#e8f2fc;box-shadow:inset 4px 0 0 #0653a6}
@media(hover:hover) and (pointer:fine){.z9-catalog-row:hover,.z9-history-row:hover{background:#e8f2fc;box-shadow:inset 4px 0 0 #0653a6}.z9-catalog-row:hover .z9-row-identity h4 a{color:#003b66}}
.z9-history-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 16px}
.z9-history-heading h3{font-size:18px;margin:0}.z9-history-heading>div{text-align:right}.z9-history-heading span{display:block;font-size:12px;color:#475569}.z9-history-heading strong{display:block;font-size:22px;color:var(--z9-navy);font-variant-numeric:tabular-nums}
.z9-history-list{border:1px solid var(--z9-border);border-radius:12px;overflow:hidden;background:#fff}
.z9-history-row{border:0;border-bottom:1px solid var(--z9-border);border-radius:0;padding:18px 22px;margin:0}.z9-history-row:last-child{border-bottom:0}
.z9-history-main{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:16px;align-items:start;font-size:14px;font-variant-numeric:tabular-nums}.z9-history-main a{font-weight:700;text-decoration:none}.z9-history-main a:hover{text-decoration:underline}.z9-history-price{text-align:right}
.z9-history-supplier{margin:12px 0 4px;color:#334155;line-height:1.6}.z9-history-supplier span{display:block;font-size:12px;color:#475569}.z9-history-detail>summary{font-size:12px;color:#0653a6;padding:8px 0}.z9-history-detail[open]{padding-bottom:8px}.z9-product-analysis>.z9-catalog-heading{display:block}.z9-product-analysis>.z9-catalog-heading h2{margin:10px 0}.z9-product-analysis>.z9-catalog-heading p{font-size:13px;color:#475569}
.z9-purchases .z9-purchase-trends{margin:24px 0;padding:22px;border:1px solid var(--z9-border);border-radius:12px;background:#fff;min-width:0}
.z9-purchase-trends>header{display:flex;align-items:flex-start;gap:12px}.z9-purchase-trends h3{font-size:18px;margin:0}.z9-purchase-trends .z9-trend-info{margin-left:auto;max-width:430px;font-size:12px;color:var(--z9-muted)}.z9-trend-info summary{cursor:pointer;color:var(--z9-blue);font-size:20px;list-style:none;text-align:right}.z9-trend-info summary::-webkit-details-marker{display:none}.z9-trend-info p{line-height:1.6;margin:8px 0}
.z9-purchase-trends .z9-trend-selector{display:block;margin:18px 0 0;font-size:12px;color:#475569}.z9-trend-selector select{display:block;width:100%;max-width:100%;margin-top:8px;padding:10px;border:1px solid #bdccdb;border-radius:7px;color:var(--z9-navy);background:#fff;font:inherit}
.z9-purchase-trends figure{margin:18px 0 0}.z9-purchase-trends figcaption{font-size:12px;color:#475569;line-height:1.7;overflow-wrap:anywhere}.z9-trend-axis{margin:20px 0 12px;font-size:11px;color:#475569;text-align:right}.z9-purchase-trends .z9-month-bars{list-style:none;margin:0;padding:0;display:grid;gap:12px}.z9-month-bars li{display:grid;grid-template-columns:62px minmax(0,1fr) 36px;align-items:center;gap:12px;font-size:12px;font-variant-numeric:tabular-nums}.z9-month-bars time{color:#475569}.z9-month-bars strong{text-align:right;color:var(--z9-navy)}.z9-month-track{height:18px;background:#edf3f8;border-radius:3px;overflow:hidden}.z9-month-bar{display:block;height:100%;background:var(--z9-blue);border-radius:3px}
.z9-purchase-trends [hidden]{display:none!important}.z9-history-heading>div{max-width:48%}.z9-history-heading strong{overflow-wrap:anywhere}
@media(max-width:600px){.z9-purchases .z9-purchase-trends{padding:16px}.z9-purchase-trends>header{flex-wrap:wrap}.z9-month-bars li{gap:8px}.z9-purchase-trends .z9-trend-info[open]{flex-basis:100%;max-width:none}}
@media(max-width:1250px){.z9-catalog-row{grid-template-columns:minmax(0,1.8fr) minmax(130px,1fr) minmax(130px,1fr)}.z9-row-identity{grid-row:span 2}.z9-row-price{grid-column:3;grid-row:1}.z9-history-link{grid-column:3;justify-self:start}.z9-purchases .z9-filters{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.z9-catalog-row{grid-template-columns:1fr 1fr}.z9-row-identity{grid-column:1/-1;grid-row:auto}.z9-row-price{grid-column:2;grid-row:2}.z9-row-units{grid-column:1;grid-row:3}.z9-history-link{grid-column:2;grid-row:3;justify-self:end}.z9-history-row{padding:16px}.z9-history-main{grid-template-columns:1fr 1fr}.z9-history-price{text-align:left}.z9-history-heading{align-items:flex-start}.z9-history-heading strong{font-size:18px}}
