/* v0.26 — readability, sidebar cleanup, persistent annual-plan paint */
[hidden]{display:none!important}
body{font-size:16px!important;line-height:1.6!important}
.nav-item{min-height:36px!important;padding:7px 9px!important;font-size:13px!important;line-height:1.45!important}
.nav-item .nav-icon{width:20px!important;font-size:14px!important;line-height:1!important}
.nav-section-label{font-size:10.5px!important;letter-spacing:.02em!important}
.workspace-name strong{font-size:11px!important}.workspace-name small{font-size:8.5px!important}
.route-chip,.breadcrumb,.account-button{font-size:11.5px!important}
.view,.modal{font-size:14px!important}
.view h1,.v11-page-header h1{font-size:30px!important;line-height:1.25!important}
.view h2,.v11-section-title h2{font-size:18px!important;line-height:1.35!important}
.view .btn,.modal .btn{min-height:34px!important;padding:6px 11px!important;font-size:11.5px!important;line-height:1.35!important}
.view input,.view select,.view textarea,.modal input,.modal select,.modal textarea{font-size:12px!important;line-height:1.45!important}
.view label,.modal label{font-size:11.5px!important}
.view small,.modal small{font-size:10px!important;line-height:1.5!important}
.view table th,.view table td{font-size:11.5px!important;line-height:1.45!important}
.status,.tiny-pill,.db-chip,.eyebrow,.source-badge{font-size:10px!important}

/* Excel / Forecast utilities should be easy to see and click */
.module-data-tools{gap:8px!important}
.module-data-tools .btn,.page-actions .v25-forecast-template,#v25ForecastImport{
  min-height:40px!important;padding:8px 14px!important;border-radius:7px!important;
  font-size:12.5px!important;font-weight:700!important
}
.page-actions{gap:8px!important;flex-wrap:wrap!important}

/* Annual plan: selected fill behaves like Excel and never disappears on mouse leave */
.annual-table [data-custom-color="1"],
.annual-table tr:hover [data-custom-color="1"],
html[data-theme="dark"] .annual-table [data-custom-color="1"],
html[data-theme="dark"] .annual-table tr:hover [data-custom-color="1"]{
  background:var(--annual-bg)!important;
  box-shadow:none!important
}
.annual-table thead th,.annual-table tbody th{font-size:11.5px!important}
.annual-table td{font-size:11px!important}
.annual-color-toolbar{gap:12px!important;padding:11px 13px!important}
.annual-color-toolbar>strong,.annual-color-target{font-size:11px!important}
.color-mode-btn{font-size:11px!important;padding:7px 11px!important}
.color-swatch{width:28px!important;height:28px!important;border-radius:6px!important}
.color-clear{font-size:10.5px!important;min-width:50px!important}

.plan-order{font-size:10.5px!important;line-height:1.5!important}
.v25-plan-meta{font-size:9.5px!important;grid-template-columns:8px minmax(0,1fr) auto auto!important}
.v25-plan-meta b,.v25-plan-meta em{font-size:9.5px!important}
.plan-add-cell{font-size:11px!important}

/* v25 editors / calendar had several 7–9px labels; normalize them */
.v25-editor-summary small,.v25-editor-grid label,.v25-editor-title small,
.v25-import-summary small,.v25-calendar-note,.v25-cal-label strong,
.v25-cal-title,.v25-cal-event small,.v25-calendar-filters button{
  font-size:10px!important
}
.v25-editor-summary strong,.v25-editor-title strong,.v25-import-summary strong{font-size:11.5px!important}
.v25-order-line select,.v25-order-line input,.v25-flow-quick select{font-size:11px!important}
.v25-calendar-nav strong{font-size:12px!important}

/* Portal remains client-only; internal accounts should never see its sidebar item. */
body:not([data-role="client"]) .client-nav{display:none!important}
body[data-role="client"] .internal-nav{display:none!important}

@media(max-width:900px){
  .nav-item{min-height:34px!important;font-size:12px!important}
  .view h1,.v11-page-header h1{font-size:26px!important}
  .module-data-tools .btn,.page-actions .v25-forecast-template,#v25ForecastImport{min-height:38px!important;font-size:11.5px!important}
}
