/* Overview presentation only; all data and actions retain their existing hooks. */
#page-overview{font-family:'DM Sans',sans-serif;color:#17352f;--overview-muted:#71817b}
#page-overview .overview-compact-head{gap:16px;margin-bottom:22px;align-items:center}
#page-overview .overview-compact-head>div:first-child small{font-size:12px;letter-spacing:.02em;text-transform:none;font-weight:500;color:var(--overview-muted)}
#page-overview .overview-head-actions{gap:8px;flex-wrap:wrap}
#page-overview .overview-head-actions select,#page-overview .overview-head-actions>button{background:#FFFFFF;border:1px solid rgba(23,53,47,.08);border-radius:14px;font:500 12px 'DM Sans',sans-serif;min-height:40px;padding:9px 14px;color:#17352f;box-shadow:none}
#page-overview .kpi-grid{gap:16px;margin-bottom:20px}
#page-overview .kpi-grid>article,#page-overview .panel{background:#FFFFFF;border:1px solid rgba(23,53,47,.04);border-radius:24px;box-shadow:0 0px 10px 5px rgba(23,53,47,.04);overflow:hidden}
#page-overview .kpi-grid>article{padding:22px;min-height:156px}
#page-overview .kpi-title{font-size:12px;font-weight:500;color:#52675f;gap:12px}
#page-overview .kpi-grid>article>strong{font-family:'DM Sans',sans-serif;font-size:30px;font-weight:600;letter-spacing:-.04em;line-height:1.2;margin:14px 0 8px;display:block}
#page-overview .kpi-grid>article>small,#page-overview .kpi-grid>article>em{font-size:11px;line-height:1.6;font-style:normal;display:block}
#page-overview .kpi-grid>article>em{color:var(--overview-muted)}
#page-overview .kpi-symbol{background:#f0f6f3;color:#214a40;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center}
#page-overview .kpi-symbol svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#page-overview .overview-grid,#page-overview .bottom-grid{gap:20px}
#page-overview .panel-head{padding:20px 22px;border-bottom:1px solid rgba(23,53,47,.07);gap:12px}
#page-overview .panel-head h3{font:600 15px 'DM Sans',sans-serif;letter-spacing:-.02em;margin:0}
#page-overview .panel-head p{font-size:11px;line-height:1.5;color:var(--overview-muted);margin:5px 0 0}
#page-overview .panel-head button{font:500 12px 'DM Sans',sans-serif;color:#214a40;border-radius:10px;min-height:36px}
#page-overview .empty{font-size:13px;line-height:1.6;color:var(--overview-muted);padding:40px 24px}
#page-overview table th{background:#f7f9f8;font-size:10px;font-weight:500;letter-spacing:.05em;color:#52675f}
#page-overview table td{font-size:12px}
#page-overview .donut{box-shadow:none}
#page-overview button:focus-visible,#page-overview select:focus-visible{outline:2px solid #214a40;outline-offset:3px}
@media(max-width:1024px){#page-overview .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 #page-overview .overview-compact-head{flex-wrap:wrap;gap:12px;margin-bottom:18px}
 #page-overview .overview-head-actions{width:100%;justify-content:flex-start}
 #page-overview .kpi-grid{gap:12px}
 #page-overview .kpi-grid>article{padding:16px;min-height:150px;border-radius:20px}
 #page-overview .kpi-grid>article>strong{font-size:26px}
 #page-overview .kpi-title{font-size:11px}
 #page-overview .kpi-symbol{width:28px;height:28px;flex-shrink:0}
 #page-overview .kpi-symbol svg{width:18px;height:18px}
 #page-overview .overview-grid,#page-overview .bottom-grid{grid-template-columns:1fr;gap:16px}
 #page-overview .panel-head{padding:18px;flex-wrap:wrap}
 #page-overview .panel{border-radius:20px}
}

#page-overview #opportunityList [data-overview-price-id]{cursor:pointer}
#page-overview #opportunityList [data-overview-price-id]:hover{background:#eef5f1}
#page-overview #opportunityList [data-overview-price-id]:focus-visible{outline:2px solid #214a40;outline-offset:2px}
.onboarding-mobile-card{display:none}
@media(max-width:767px){
  #page-overview #onboardingPanel,#page-overview #onboardingButton{display:none!important}
  #page-overview .onboarding-mobile-card:not(.hidden){display:block;background:#fff;border:1px solid #e5ece8;border-radius:18px;padding:16px;margin:0 0 14px;box-shadow:0 3px 14px rgba(23,53,47,.035);color:#17352f}
  body.maintenance-locked #page-overview .onboarding-mobile-card{display:none!important}
  #onboardingMobileCard header{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;font-size:12px;line-height:1.5}
  #onboardingMobileCard header b{font-weight:600}
  #onboardingMobileCount{color:#71817b;white-space:nowrap;font-size:11px}
  #onboardingMobileProgress{display:block;width:100%;height:5px;margin:10px 0 12px;border:0;border-radius:6px;overflow:hidden;background:#edf2ef;accent-color:#214a40}
  #onboardingMobileProgress::-webkit-progress-bar{background:#edf2ef;border-radius:6px}
  #onboardingMobileProgress::-webkit-progress-value{background:#214a40;border-radius:6px}
  #onboardingMobileProgress::-moz-progress-bar{background:#214a40;border-radius:6px}
  #onboardingMobileNext{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;min-height:44px;background:#f3f7f4;border:0;border-radius:11px;text-align:left;color:#214a40;font:inherit;cursor:pointer}
  #onboardingMobileNext span{min-width:0}
  #onboardingMobileNext small{display:block;color:#71817b;font-size:10px;margin-bottom:3px}
  #onboardingMobileNext b{font-size:12px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
  #onboardingMobileNext em{font-size:11px;font-style:normal;white-space:nowrap}
  #onboardingMobileCard summary{cursor:pointer;padding:12px 0 0;font-size:11px;color:#63786d}
  #onboardingMobileSteps{display:grid;gap:6px;padding-top:10px}
  #onboardingMobileSteps button{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:9px;border:1px solid #e8eeea;border-radius:10px;background:#fff;color:#17352f;text-align:left;cursor:pointer}
  #onboardingMobileSteps i{display:grid;place-items:center;flex:0 0 22px;height:22px;border-radius:50%;background:#edf3ef;color:#214a40;font-size:10px;font-style:normal}
  #onboardingMobileSteps span{flex:1;min-width:0}
  #onboardingMobileSteps b{display:block;font-size:11px;line-height:1.4}
  #onboardingMobileSteps small{display:none}
  #onboardingMobileSteps em{font-size:10px;font-style:normal;color:#71817b;white-space:nowrap}
  #onboardingMobileSteps button.done{background:#fafcfb}
  #onboardingMobileCard button:focus-visible,#onboardingMobileCard summary:focus-visible{outline:2px solid #214a40;outline-offset:3px}
}
@media(max-width:767px){
  #page-overview [data-overview-widget="invoices"] .panel-head{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:14px 16px 10px;gap:6px 10px;align-items:center}
  #page-overview [data-overview-widget="invoices"] .panel-head>div{min-width:0;width:auto}
  #page-overview [data-overview-widget="invoices"] .panel-head h3{font-size:14px;margin:0}
  #page-overview [data-overview-widget="invoices"] .panel-head p{display:none}
  #page-overview [data-overview-widget="invoices"] .panel-head>button{padding:7px 0;min-height:36px;font-size:11px;white-space:nowrap}
  #page-overview [data-overview-widget="invoices"] .table-wrap{overflow:visible;max-height:none;padding:0 16px 4px}
  #page-overview [data-overview-widget="invoices"] table{display:block;width:100%;min-width:0;table-layout:auto}
  #page-overview [data-overview-widget="invoices"] thead{display:none}
  #page-overview #recentInvoices{display:block;width:100%}
  #page-overview #recentInvoices tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"number amount" "supplier date" "status status";gap:3px 12px;min-width:0;padding:11px 0;background:#fff;border:0;border-bottom:1px solid #edf1ee;border-radius:0}
  #page-overview #recentInvoices tr:nth-child(n+4){display:none}
  #page-overview #recentInvoices tr:last-child,#page-overview #recentInvoices tr:nth-child(3){border-bottom:0}
  #page-overview #recentInvoices td{display:block;min-width:0;width:auto;padding:0;border:0;background:transparent;text-align:left;word-break:normal;overflow-wrap:normal;font-size:12px;line-height:1.5}
  #page-overview #recentInvoices td:first-child{grid-area:number}
  #page-overview #recentInvoices td:first-child b{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;word-break:normal;font-size:14px;font-weight:600;line-height:1.5;color:#17352f}
  #page-overview #recentInvoices td:first-child small{display:none}
  #page-overview #recentInvoices td:nth-child(2){grid-area:supplier;color:#65776d;white-space:normal;overflow-wrap:break-word;font-size:11px;line-height:1.4}
  #page-overview #recentInvoices td:nth-child(3){grid-area:date;white-space:nowrap;align-self:start;justify-self:end;color:#71817b;font-size:11px;font-variant-numeric:tabular-nums}
  #page-overview #recentInvoices td:nth-child(4){grid-area:amount;text-align:right;align-self:center;white-space:nowrap;color:#214a40;font-size:14px}
  #page-overview #recentInvoices td:nth-child(5){grid-area:status;justify-self:start;align-self:center}
  #page-overview #recentInvoices .status{display:inline-flex;max-width:100%;white-space:nowrap;padding:2px 6px;border-radius:5px;font-size:10px;line-height:1.4}
  #page-overview #recentInvoices tr:has(td[colspan]){display:block}
  #page-overview #recentInvoices td[colspan]{grid-area:auto;grid-column:1/-1;padding:4px;min-height:0;height:auto;white-space:normal;color:#71817b}
  #page-overview [data-overview-widget]{scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  body:has(#page-overview.active) .app .content{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
}
