/* The selected Clarity composition. Load after app.css; staff shell only. */
.clarity-shell{
  --canvas:#f7f8fb;
  --paper:#fff;
  --ink:#18212f;
  --muted:#707d91;
  --line:#e9ecf2;
  --blue:#4158e8;
  --blue-dark:#3047d6;
  --blue-light:#eef1ff;
  --radius:16px;
  --shadow:0 8px 32px #25345a08;
  display:block;
  min-height:100vh;
  background:var(--canvas);
  color:var(--ink);
}
.clarity-shell :where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #b4bfff;outline-offset:3px}
.clarity-shell :is(button,.btn,.icon-btn,.panel-link){min-height:44px}
.clarity-shell .btn{border-radius:9px;font-size:13px;line-height:1.4;font-weight:600;padding:10px 15px}
.clarity-shell .btn.primary{background:var(--blue);border-color:var(--blue);box-shadow:0 2px 3px #18204b0d}
.clarity-shell .btn.primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.clarity-shell .btn svg{width:18px;height:18px}
.clarity-shell .main{grid-column:auto;margin-left:222px;width:auto;min-width:0}
.clarity-shell .content{max-width:1600px;margin:0 auto;padding:37px 42px 50px}

/* The outline A gives the navigation its reference silhouette. */
.clarity-shell .sidebar{position:fixed;inset:0 auto 0 0;width:222px;padding:34px 18px 20px;display:flex;flex-direction:column;gap:0;background:#fff;border-right:1px solid var(--line);box-shadow:none;overflow:hidden;z-index:30;transform:none}
.clarity-shell .sidebar .brand{display:flex;align-items:center;gap:10px;padding:0 13px;margin:0;min-height:30px;flex-shrink:0;color:var(--ink);font-size:19px;line-height:1.25;font-weight:750;letter-spacing:2.1px}
.clarity-shell .sidebar .brand>div{font:inherit;letter-spacing:inherit}
.clarity-shell .sidebar .brand>span{font-size:16px;letter-spacing:1.2px;white-space:nowrap}
.clarity-shell .sidebar .brand small{display:none}
.clarity-shell .sidebar>nav{min-height:0;flex:1;margin-top:30px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#dce2ee transparent;padding-bottom:4px}
.clarity-shell .sidebar .nav-label{margin:0 0 10px;padding:5px 13px 0;font-size:10px;line-height:1.5;font-weight:650;letter-spacing:1.4px;color:#8b96a7;text-transform:uppercase}
.clarity-shell .nav-root{display:flex;flex-direction:column;gap:4px;margin:0 0 6px}
.clarity-shell .sidebar .nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:45px;margin:0;padding:10px 13px;border:0;border-radius:8px;background:transparent;color:#69768a;text-align:left;font-size:13px;line-height:1.45;font-weight:500;text-decoration:none}
.clarity-shell .sidebar .nav-item:hover{background:#f7f8fb}
.clarity-shell .sidebar .nav-item.active{background:var(--blue-light);color:var(--blue);font-weight:650}
.clarity-shell .sidebar .nav-item>svg{width:19px;height:19px;stroke-width:1.65;flex-shrink:0}
.clarity-shell .sidebar .nav-item>span:first-of-type{flex:1;min-width:0}
.clarity-shell .sidebar .badge{min-width:18px;margin-left:auto;padding:2px 5px;border-radius:4px;background:#e7ebfc;color:#5368cc;font-size:10px;line-height:1.5;font-weight:600}
.clarity-shell .sidebar .nav-item.active .badge{background:#dfe5ff;color:var(--blue)}
.clarity-shell details.nav-subgroup{padding:0;margin:4px 0;border:0;background:transparent}
.clarity-shell details.nav-subgroup>summary{display:flex;align-items:center;gap:11px;min-height:45px;padding:10px 13px;margin:0;border:0;border-radius:8px;list-style:none;cursor:pointer;color:#69768a;font-size:13px;line-height:1.45;font-weight:500}
.clarity-shell details.nav-subgroup>summary::-webkit-details-marker{display:none}
.clarity-shell details.nav-subgroup>summary::marker{content:''}
.clarity-shell details.nav-subgroup>summary:hover{color:var(--ink);background:#f7f8fb}
.clarity-shell details.nav-subgroup>summary>svg{width:19px;height:19px;stroke-width:1.65;flex-shrink:0}
.clarity-shell details.nav-subgroup>summary>span:first-of-type{flex:1;min-width:0}
.clarity-shell details.nav-subgroup>summary>svg:last-child{width:13px;height:13px;margin-left:auto;transition:transform .16s}
.clarity-shell details.nav-subgroup[open]>summary>svg:last-child{transform:rotate(180deg)}
.clarity-shell details.nav-subgroup:has(.nav-item.active)>summary{color:var(--blue)}
.clarity-shell .sidebar-profile{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-top:18px;padding:18px 7px 0;border-top:1px solid var(--line);line-height:1.4}
.clarity-shell .sidebar-profile .avatar{width:34px;height:34px;flex:0 0 34px;background:#eef1f6;color:#536075;font-size:11px;letter-spacing:.3px;font-weight:600}
.clarity-shell .profile-copy{min-width:0;flex:1}
.clarity-shell .profile-copy strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.clarity-shell .profile-copy small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.4}
.clarity-shell .sidebar-profile .icon-btn{min-width:44px;width:44px;flex:0 0 44px;padding:0}

.clarity-shell header.topbar{height:77px;min-height:77px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ffffffbd;border-bottom:1px solid var(--line)}
.clarity-shell .topbar .breadcrumb{display:flex;align-items:center;gap:12px;color:#7f8b9e;font-size:12px;line-height:1.4}
.clarity-shell .topbar .breadcrumb b,.clarity-shell #breadcrumb-current{color:#526074;font-weight:500}
.clarity-shell .topbar .breadcrumb>svg{width:13px;height:13px;color:#8190b6}
.clarity-shell .topbar-right,.clarity-shell .top-actions{display:flex;align-items:center;gap:15px;min-width:0}
.clarity-shell .park-cash{color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:10px;white-space:nowrap;line-height:1.3}
.clarity-shell .park-cash>svg{width:20px;height:20px;color:var(--blue);stroke-width:1.6}
.clarity-shell .park-cash span{display:block;font-size:11px;color:var(--muted)}
.clarity-shell .park-cash strong{display:block;margin-top:3px;font-size:16px;font-weight:650;font-variant-numeric:tabular-nums}
.clarity-shell .park-cash small{font-size:12px;font-weight:400;color:var(--muted)}
.clarity-shell .park-cash.is-stale>svg{color:var(--orange)}
.clarity-shell .park-cash.is-negative strong{color:var(--red)}
.clarity-shell .park-due{border-left:1px solid var(--line);padding-left:15px}
@media(max-width:600px){.clarity-shell header.topbar{height:auto;min-height:77px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.clarity-shell .topbar-right{flex-wrap:wrap;gap:10px}.clarity-shell .park-due{padding-left:10px}.clarity-shell .park-due>svg{display:none}}
@media(max-width:1100px){.clarity-shell .topbar .breadcrumb>span:first-child,.clarity-shell .topbar .breadcrumb>span:nth-child(2){display:none}}
@media(max-width:600px){.clarity-shell .topbar .breadcrumb{display:none!important}.clarity-shell .topbar-right{flex:1;justify-content:flex-end}.clarity-shell .park-cash{gap:6px}.clarity-shell .park-cash strong{font-size:14px}.clarity-shell .park-cash span{max-width:150px;white-space:normal;font-size:10px}}
.clarity-shell .topbar .avatar{width:30px;height:30px;background:#eef1f6;color:#536075;font-size:11px;letter-spacing:.3px;font-weight:600;flex-shrink:0}
.clarity-shell .topbar .icon-btn{border:0;background:none;color:#8490a1;min-width:44px}
.clarity-shell .topbar .mobile-menu{display:none}

/* Dashboard composition: separate metrics, a dominant chart and a quieter fleet panel. */
.clarity-shell .clarity-overview{min-width:0}
.clarity-shell .clarity-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 30px}
.clarity-shell .clarity-heading>div:first-child{min-width:0}
.clarity-shell .clarity-heading h1{margin:0;font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-1.3px}
.clarity-shell .clarity-heading p{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.clarity-shell .clarity-heading .head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.clarity-shell .clarity-heading input[type=date]{width:158px;min-height:44px;padding:10px 12px;border-radius:9px;font-size:13px;background:#fff}
.clarity-shell .clarity-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin:0 0 24px}
.clarity-shell .clarity-stat{position:relative;display:block;min-width:0;min-height:154px;margin:0;padding:23px 24px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;text-align:left;color:var(--ink)}
.clarity-shell button.clarity-stat:hover{border-color:#dce2f1;background:#fff;box-shadow:0 8px 32px #25345a0c}
.clarity-shell .stat-label{display:block;padding-right:27px;font-size:12px;line-height:1.5;color:#778398;font-weight:400}
.clarity-shell .stat-value{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin:17px 0 0;font-size:31px;line-height:1.2;letter-spacing:-1.2px;font-weight:640;font-variant-numeric:tabular-nums;color:var(--ink)}
.clarity-shell .stat-value small{color:#7b8697;font-size:12px;line-height:1.4;letter-spacing:0;font-weight:400}
.clarity-shell .stat-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:20px;margin-top:15px;font-size:12px;line-height:1.5;color:#7e899b;font-weight:400}
.clarity-shell .stat-meta strong{font-size:12px;line-height:1.4;color:#52617c;font-weight:500}
.clarity-shell .overview-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:24px;align-items:stretch;margin-bottom:26px}
.clarity-shell :is(.revenue-panel,.fleet-panel,.decision-panel,.day-panel){min-width:0;margin:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);box-shadow:var(--shadow)}
.clarity-shell :is(.revenue-panel,.decision-panel,.day-panel){padding:0;overflow:hidden}
.clarity-shell .panel-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 2px;border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:500;line-height:1.4;text-decoration:none;white-space:nowrap}
.clarity-shell .panel-link:hover{color:var(--blue-dark);text-decoration:underline;text-underline-offset:3px}
.clarity-shell .panel-link svg{width:15px;height:15px}
.clarity-shell .panel-count{display:inline-block;margin-left:7px;padding:3px 7px;border-radius:5px;background:#f1f3f8;color:#7b8799;font-size:11px;line-height:1.35;font-weight:500;vertical-align:middle}
.clarity-shell .revenue-chart{display:block;width:100%;height:213px;max-width:100%;overflow:visible;fill:none;stroke:none}
.clarity-shell .revenue-chart text{font-family:inherit;font-size:10px;font-weight:400;fill:#7f8a9c;stroke:none;letter-spacing:0}
.clarity-shell .revenue-chart .grid{stroke:#edf0f6;stroke-width:1;fill:none}
.clarity-shell .chart-legend{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;padding:0 26px 20px;font-size:11px;line-height:1.5;color:#7b879a}
.clarity-shell .chart-legend>span{display:inline-flex;align-items:center;gap:6px}
.clarity-shell .revenue-panel .state-panel{min-height:245px}

.clarity-shell .fleet-panel{display:flex;flex-direction:column;padding:25px 23px;min-width:0}
.clarity-shell .fleet-panel .eyebrow{margin:0 0 9px;font-size:10px;line-height:1.5;letter-spacing:1.6px;font-weight:650;color:#8b96a8}
.clarity-shell .fleet-panel h2{font-size:17px;line-height:1.4;letter-spacing:-.3px;font-weight:650;margin:0}
.clarity-shell .fleet-count{font-size:48px;line-height:1.1;letter-spacing:-2px;font-weight:600;font-variant-numeric:tabular-nums;margin:24px 0 6px;color:var(--ink)}
.clarity-shell .fleet-count small{font-size:16px;letter-spacing:0;font-weight:400;color:#8894a7;margin-left:4px}
.clarity-shell .fleet-panel>p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.clarity-shell .fleet-segments{display:flex;gap:3px;height:7px;min-height:7px;margin:25px 0 20px}
.clarity-shell .fleet-segments>span{flex:1;min-width:0;height:100%;border-radius:2px;background:#dfe4ff}
.clarity-shell .fleet-segments>span.is-active,.clarity-shell .fleet-segments>span.active{background:var(--blue)}
.clarity-shell .fleet-segments>span.is-repair{background:#d4d9e5}
.clarity-shell .fleet-legend{display:grid;gap:15px;margin:0 0 24px;font-size:12px;line-height:1.5;color:#748198}
.clarity-shell .fleet-legend>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.clarity-shell .fleet-legend span{display:inline-flex;align-items:center;gap:7px;min-width:0}
.clarity-shell .fleet-legend strong{color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.clarity-shell .fleet-legend i{display:inline-block;width:6px;height:6px;flex:0 0 6px;border-radius:2px;background:var(--blue)}
.clarity-shell .fleet-legend .is-free i,.clarity-shell .fleet-legend i.is-free{background:#dfe4ff}
.clarity-shell .fleet-legend .is-repair i,.clarity-shell .fleet-legend i.is-repair{background:#d4d9e5}
.clarity-shell .fleet-panel>.btn{margin-top:auto;border:0;background:#f6f7fb;font-size:12px;justify-content:space-between;padding:10px 12px;min-height:44px}
.clarity-shell .fleet-panel>.btn:hover{background:#eef1ff;color:var(--blue)}

.clarity-shell .overview-lower{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-bottom:24px}
.clarity-shell .overview-lower>.decision-panel,.clarity-shell .overview-lower>.day-panel{height:100%}
.clarity-shell .compact-list{display:block;margin:14px 0 0;padding:0;list-style:none}
.clarity-shell .compact-row{display:flex;align-items:center;gap:11px;min-width:0;min-height:77px;padding:16px 25px;margin:0;border:0;border-bottom:1px solid #eff1f5;background:transparent;color:var(--ink);text-decoration:none;text-align:left}
.clarity-shell .compact-row:last-child{border-bottom:0}
.clarity-shell a.compact-row:hover,.clarity-shell button.compact-row:hover{background:#fafbff}
.clarity-shell button.compact-row{width:100%}
.clarity-shell .compact-row .avatar{width:32px;height:32px;flex:0 0 32px;background:#eef1f6;color:#536075;font-size:11px;font-weight:600;letter-spacing:.3px}
.clarity-shell .compact-row .avatar.blue{background:#e9edff;color:var(--blue)}
.clarity-shell .compact-copy{flex:1;min-width:0}
.clarity-shell .compact-copy strong{display:block;color:var(--ink);font-size:13px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.clarity-shell .compact-copy small{display:block;color:#7d899c;font-size:12px;line-height:1.5;margin-top:4px;white-space:normal;overflow-wrap:anywhere}
.clarity-shell .compact-amount{margin-left:auto;text-align:right;flex-shrink:0;max-width:45%;font-variant-numeric:tabular-nums}
.clarity-shell .compact-amount strong{display:block;color:#344157;font-size:13px;line-height:1.4;font-weight:600}
.clarity-shell .compact-amount small{display:block;margin-top:5px;color:#7d899c;font-size:11px;line-height:1.4;font-weight:400}
.clarity-shell .compact-row>.icon-btn,.clarity-shell .compact-row>.btn{flex-shrink:0;min-width:44px;width:44px;min-height:44px;padding:0;border:1px solid #e7ebf4;border-radius:7px;background:#fff;color:#818da0}
.clarity-shell .compact-row>.icon-btn:hover,.clarity-shell .compact-row>.btn:hover{background:#edf1ff;color:var(--blue)}
.clarity-shell .compact-row>.icon-btn svg,.clarity-shell .compact-row>.btn svg{width:15px;height:15px}
.clarity-shell .compact-row>.status{flex-shrink:0}
.clarity-shell .overview-lower .state-panel{min-height:215px}
.clarity-shell .quick-finance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 24px;padding:18px 0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.clarity-shell .clarity-overview>.data-freshness{justify-content:center;margin:26px 0 0;color:#8190a5;font-size:11px;line-height:1.6}
.clarity-shell .clarity-overview>.notice{margin-top:0;margin-bottom:20px}

/* Related staff review cards share the same readable content hierarchy. */
.clarity-shell .review-table th:first-child{min-width:220px}
.clarity-shell .review-table td:first-child{min-width:220px;max-width:400px;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;vertical-align:top}
.clarity-shell .review-table td:first-child .line-note{font-size:12px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;margin-top:5px}
.clarity-shell .detail-overview{padding:25px 26px}
.clarity-shell .detail-overview>.card-head{align-items:flex-start;gap:16px;margin-bottom:16px}
.clarity-shell .detail-overview>.card-head h2{font-size:22px;line-height:1.3;letter-spacing:-.6px}
.clarity-shell .detail-overview .card-head .money{font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.8px}
.clarity-shell .detail-overview .card-head .money small{font-size:13px;font-weight:400;letter-spacing:0}
.clarity-shell .detail-description{max-width:75ch;margin:0 0 20px;font-size:15px;line-height:1.7;color:#4e5e76;white-space:pre-line;overflow-wrap:anywhere}
.clarity-shell .detail-overview .detail-grid .money{font-size:17px;font-weight:600}

/* Exact markup emitted by clarity-overview.js. */
.clarity-shell .brand .clarity-logo{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain}
.clarity-shell .nav-subgroup .nav-items{display:flex;flex-direction:column;gap:3px;padding:3px 0 6px 12px;margin:0 0 6px 20px;border-left:1px solid #e5eafa}
.clarity-shell .nav-subgroup .nav-items .nav-item{min-height:44px;padding:9px 9px;font-size:12px;line-height:1.45}
.clarity-shell .nav-subgroup .nav-items .nav-item>svg{width:16px;height:16px}
.clarity-shell .group-badge:empty{display:none}
.clarity-shell .group-badge:not(:empty){min-width:18px;padding:2px 5px;border-radius:4px;background:#e7ebfc;color:#5368cc;font-size:10px;line-height:1.5;font-weight:600}
.clarity-shell .sidebar-profile>div:not(.avatar){min-width:0;flex:1}
.clarity-shell .sidebar-profile>div>strong{display:block;font-size:12px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.clarity-shell .sidebar-profile>div>small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.4}
.clarity-shell .menu-scrim{display:none}
.clarity-shell .clarity-heading{display:block;margin-bottom:12px}
.clarity-shell .clarity-heading .page-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:18px;margin:0}
.clarity-shell .overview-day-shortcuts{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 23px;color:var(--muted);font-size:12px;line-height:1.5}
.clarity-shell .overview-day-shortcuts>.btn,.clarity-shell .filter-presets>.btn{min-height:44px;padding:8px 14px;border:1px solid #cbd3ea;background:var(--paper);color:var(--blue-dark);font-size:13px;font-weight:600;cursor:pointer}
.clarity-shell .overview-day-shortcuts>.btn:hover,.clarity-shell .filter-presets>.btn:hover{border-color:var(--blue);background:var(--blue-light);color:var(--blue-dark)}
.clarity-shell .overview-day-shortcuts>.btn.chosen,.clarity-shell .filter-presets>.btn.chosen{border-color:var(--blue);background:var(--blue);color:#fff}
.clarity-shell .overview-day-shortcuts>.btn.chosen:hover,.clarity-shell .filter-presets>.btn.chosen:hover{border-color:var(--blue-dark);background:var(--blue-dark)}
.clarity-shell .overview-day-shortcuts>.filter-date-range{flex:0 1 445px;margin-left:auto}
.clarity-shell .stat-label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0}
.clarity-shell .stat-label>svg{width:17px;height:17px;flex:0 0 17px;color:#9ca6b6}
.clarity-shell .chart-tabs{display:inline-flex;gap:2px;padding:3px;border:1px solid #eff1f5;border-radius:8px;background:#f6f7fa}
.clarity-shell .chart-tabs>button{min-height:44px;padding:0 12px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;line-height:1.4}
.clarity-shell .chart-tabs>button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 4px #1a284d12;font-weight:600}
.clarity-shell .chart-total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:22px 26px 0;font-size:12px;line-height:1.5;color:var(--muted)}
.clarity-shell .chart-total>strong{font-size:25px;line-height:1.3;letter-spacing:-.8px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.clarity-shell .chart-total>strong small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:4px}
.clarity-shell .chart-total>span{font-size:12px;line-height:1.5;color:var(--muted)}
.clarity-shell .revenue-panel>svg.revenue-chart{width:calc(100% - 30px);height:auto;aspect-ratio:660/240;margin:22px 15px 12px;max-height:260px}
.clarity-shell .revenue-chart .chart-grid{stroke:#edf0f6;stroke-width:1}
.clarity-shell .revenue-chart .chart-income{fill:none;stroke:#4b61e9;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.clarity-shell .revenue-chart .chart-point{fill:#fff;stroke:#465ce7;stroke-width:2;vector-effect:non-scaling-stroke}
.clarity-shell .revenue-chart .chart-point.selected{fill:#465ce7;stroke:#fff;stroke-width:2}
.clarity-shell .chart-legend i{display:inline-block;flex:0 0 15px;width:15px;height:0;border-top:2px solid var(--blue)}
.clarity-shell .chart-legend i.dashed{border-top:2px dashed #dc8517}
.clarity-shell .chart-data{margin:0;padding:0 26px 11px;border-top:1px solid #f0f2f6}
.clarity-shell .chart-data>summary{padding:10px 0;font-size:12px;line-height:1.5;color:#7b879a}
.clarity-shell .chart-data .table-wrap{margin:6px -26px 0;max-width:calc(100% + 52px)}
.clarity-shell .fleet-segments>span.occupied{background:var(--blue)}
.clarity-shell .fleet-legend i{background:#dfe4ff}
.clarity-shell .fleet-legend i.occupied{background:var(--blue)}
.clarity-shell .fleet-legend i.repair{background:#d4d9e5}
.clarity-shell .fleet-panel>.panel-link{display:flex;justify-content:space-between;gap:10px;min-height:44px;margin-top:auto;padding:10px 12px;background:#f6f7fb;border-radius:8px;color:var(--ink);font-size:12px;text-align:left;white-space:normal}
.clarity-shell .fleet-panel>.panel-link:hover{background:#eef1ff;color:var(--blue);text-decoration:none}
.clarity-shell .fleet-panel>.panel-link>svg{width:18px;height:18px}
.clarity-shell .panel-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f6f7fb;color:#97a2b5}
.clarity-shell .panel-icon>svg{width:18px;height:18px}
.clarity-shell .decision-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;background:#f1f3fc;border-radius:9px;color:#7588c1}
.clarity-shell .decision-icon>svg{width:18px;height:18px}
.clarity-shell .compact-row>.badge{min-width:24px;min-height:24px;display:grid;place-items:center;flex-shrink:0;margin:0;padding:3px 7px;border-radius:6px;background:#eef1ff;color:#5a6bc5;font-size:12px;font-weight:600}
.clarity-shell .compact-row>svg:last-child{width:15px;height:15px;flex:0 0 15px;color:#98a2b5}
.clarity-shell .compact-row>.driver-avatar{width:32px;height:32px;flex:0 0 32px;font-size:11px;letter-spacing:.3px;background:#eef1f6;color:#536075}
.clarity-shell .compact-amount strong>small{display:inline;font-size:11px;line-height:inherit;margin:0;font-weight:400;color:#7d899c}
.clarity-shell .day-panel>.panel-link{display:flex;justify-content:space-between;min-height:48px;padding:10px 25px;border-top:1px solid var(--line)}
.clarity-shell .quick-finance{grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr));padding:20px 0}
.clarity-shell .quick-finance>div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:0 24px;border-right:1px solid var(--line)}
.clarity-shell .quick-finance>div>h2{margin:0 0 6px;font-size:15px;line-height:1.4;letter-spacing:-.2px;font-weight:650}
.clarity-shell .quick-finance>div>p{font-size:12px;line-height:1.5}
.clarity-shell .quick-finance>a{position:relative;display:grid;gap:8px;align-content:center;min-width:0;padding:0 24px;border-right:1px solid var(--line);text-decoration:none;color:var(--ink)}
.clarity-shell .quick-finance>a:last-child{border-right:0}
.clarity-shell .quick-finance>a>span{font-size:12px;line-height:1.5;font-weight:400;color:var(--muted);padding-right:15px}
.clarity-shell .quick-finance>a>strong{font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.clarity-shell .quick-finance>a>strong small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}
.clarity-shell .quick-finance>a>svg{position:absolute;right:18px;top:1px;width:14px;height:14px;color:#a3acba}
.clarity-shell .quick-finance>a:hover>strong,.clarity-shell .quick-finance>a:hover>svg{color:var(--blue)}
.clarity-shell .overview-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:25px 0 0;color:#8190a5;font-size:11px;line-height:1.6}
.clarity-shell .overview-footer>div{display:flex;gap:8px;flex-wrap:wrap}
.clarity-shell .overview-footer .btn{min-height:44px;padding:7px 11px;font-size:12px;font-weight:500}

/* The same small, separate cards and tabs carry Clarity through staff records. */
.clarity-shell .eco-grid,.clarity-shell .eco-grid>*{min-width:0}
.clarity-shell .kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px;margin-bottom:24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.clarity-shell .kpi{min-width:0;min-height:108px;padding:17px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);gap:6px}
.clarity-shell .kpi-label{font-size:12px;line-height:1.5;color:#778398}
.clarity-shell .kpi-value{font-size:24px;line-height:1.25;font-weight:600;letter-spacing:-.6px}
.clarity-shell .kpi-caption{font-size:12px;line-height:1.5;color:var(--muted)}
.clarity-shell button.kpi:hover{border-color:#dce2f1;background:#fafbff}
.clarity-shell .workspace-tabs{display:flex;align-items:stretch;gap:22px;min-width:0;margin:0 0 22px;padding:0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin;scrollbar-color:#dce2ee transparent}
.clarity-shell .workspace-tabs>[role=tab]{position:relative;flex-shrink:0;min-height:50px;padding:12px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#778398;font-size:13px;line-height:1.5;font-weight:500;white-space:nowrap}
.clarity-shell .workspace-tabs>[role=tab]:hover{color:var(--blue)}
.clarity-shell .workspace-tabs>[role=tab][aria-selected=true]{border-bottom-color:var(--blue);color:var(--blue);font-weight:600}
.clarity-shell .workspace-tabs>[role=tab]:focus-visible{outline-offset:-3px;border-radius:5px 5px 0 0}
.clarity-shell .drivers-workspace .page-head,.clarity-shell .driver-workspace .page-head{margin-bottom:25px}
.clarity-shell .drivers-workspace .period-filter,.clarity-shell .driver-workspace .period-filter{gap:9px;margin-bottom:24px}
.clarity-shell .drivers-workspace .period-filter label,.clarity-shell .driver-workspace .period-filter label{flex-basis:152px}
/* Compact cards for the driver list, retaining the Clarity card composition. */
.clarity-shell .drivers-workspace{container:driver-list / inline-size}
.clarity-shell .drivers-workspace .clarity-metrics{grid-template-columns:repeat(2,minmax(116px,.5fr)) repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.clarity-shell .drivers-workspace .clarity-stat{min-height:112px;padding:14px 16px}
.clarity-shell .drivers-workspace .stat-label{gap:7px;font-size:12px;line-height:1.5}
.clarity-shell .drivers-workspace .stat-value{min-width:0;gap:5px;margin-top:8px;font-size:26px;line-height:1.2;letter-spacing:-.7px;overflow-wrap:anywhere}
.clarity-shell .drivers-workspace .stat-value small{white-space:nowrap}
.clarity-shell .drivers-workspace .stat-meta{min-height:0;margin-top:4px;font-size:12px;line-height:1.5}
@container driver-list (min-width:1100px){
  .clarity-shell .drivers-workspace .clarity-stat{padding:16px 20px}
  .clarity-shell .drivers-workspace .stat-value{font-size:28px}
}
@container driver-list (max-width:959px){
  .clarity-shell .drivers-workspace .clarity-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}
  .clarity-shell .drivers-workspace .clarity-metrics>.clarity-stat:nth-child(-n+2){grid-column:span 3}
  .clarity-shell .drivers-workspace .clarity-metrics>.clarity-stat:nth-child(n+3){grid-column:span 2}
}
@container driver-list (max-width:559px){
  .clarity-shell .drivers-workspace .clarity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .clarity-shell .drivers-workspace .clarity-metrics>.clarity-stat:nth-child(-n+2){grid-column:auto}
  .clarity-shell .drivers-workspace .clarity-metrics>.clarity-stat:nth-child(n+3){grid-column:1/-1}
}
.clarity-shell .drivers-workspace .driver-directory{margin-bottom:20px;padding:0;border-radius:16px;overflow:hidden}
.clarity-shell .driver-directory .workspace-tabs{padding:0 24px;margin:0;gap:26px}
.clarity-shell .driver-directory .workspace-tabs>[role=tab]{min-height:54px}
.clarity-shell .driver-directory .filter-toolbar{padding:20px 24px;margin:0;border-bottom:1px solid var(--line);gap:14px}
.clarity-shell .driver-directory .search{width:300px;max-width:350px;flex:1 1 240px}
.clarity-shell .driver-directory .search input{background:#fff;font-size:13px;min-height:44px}
.clarity-shell .driver-directory .filter-chips{gap:4px;padding:0;border:0;border-radius:0;background:transparent}
.clarity-shell .driver-directory .filter-chip{min-height:44px;padding:8px 11px;border:0;border-radius:7px;color:#778398;font-size:12px;font-weight:400;background:transparent;box-shadow:none}
.clarity-shell .driver-directory .filter-chip[aria-pressed=true]{background:var(--blue-light);color:var(--blue);font-weight:600}
.clarity-shell .driver-directory .table-wrap{margin:0;max-width:100%}
.clarity-shell .driver-directory .drivers-table{min-width:660px;width:100%;font-size:13px}
.clarity-shell .driver-directory .drivers-table th{padding:14px 24px;background:#fcfcfe;border-top:0;color:#8b96a8;font-size:12px;line-height:1.4;font-weight:500}
.clarity-shell .driver-directory .drivers-table td{padding:18px 24px;border-bottom:1px solid #eef1f6;font-size:13px;color:#596a83;vertical-align:middle;max-width:280px}
.clarity-shell .driver-directory .drivers-table tr:last-child td{border-bottom:0}
.clarity-shell .driver-directory .drivers-table tbody tr:hover{background:#fafbff}
.clarity-shell .driver-directory .drivers-table th:first-child,.clarity-shell .driver-directory .drivers-table td:first-child{min-width:220px;width:31%}
.clarity-shell .driver-directory .drivers-table .driver-avatar{width:36px;height:36px;flex-basis:36px;font-size:12px;background:#eef1f6;color:#536075}
.clarity-shell .driver-directory .drivers-table .driver-copy strong{font-size:13px;line-height:1.5;font-weight:600;color:var(--ink)}
.clarity-shell .driver-directory .drivers-table .driver-identity{gap:11px}
.clarity-shell .driver-directory .drivers-table td>a:not(.row-link){color:#5f6d85;text-decoration:none}
.clarity-shell .driver-directory .drivers-table td>a:not(.row-link):hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.clarity-shell .driver-directory .drivers-table td.num{font-variant-numeric:tabular-nums;font-weight:500;color:#344157}
.clarity-shell .driver-directory .drivers-table td.num a{color:#344157}
.clarity-shell .driver-directory .drivers-table .line-note{font-size:11px;color:#8a96a8}
.clarity-shell .directory-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 24px;border-top:1px solid var(--line);color:#7d899c;font-size:12px;line-height:1.5}
.clarity-shell .driver-workspace .driver-profile{padding:24px 26px;margin-bottom:15px}
.clarity-shell .driver-workspace .driver-profile .card-head{align-items:center;margin-bottom:16px}
.clarity-shell .driver-workspace .driver-profile .driver-avatar{width:52px;height:52px;flex-basis:52px;background:#e9edff;color:var(--blue);font-size:18px}
.clarity-shell .driver-workspace .driver-profile .driver-copy strong{font-size:20px;letter-spacing:-.3px;line-height:1.4;font-weight:600}
.clarity-shell .driver-workspace .driver-profile>p{margin:15px 0 0;font-size:13px;color:#718097;line-height:1.6}
.clarity-shell .driver-workspace .driver-profile .detail-actions{margin:0;gap:8px}
.clarity-shell .driver-workspace .driver-profile .detail-actions .btn{font-size:12px;font-weight:500}
.clarity-shell .driver-workspace .driver-service h3{margin:24px 0 16px}
.clarity-shell .driver-workspace .driver-service .detail-grid{margin-top:0}
.clarity-shell :is(.drivers-workspace,.driver-workspace)>.data-freshness{color:#8190a5;font-size:11px}

@media(min-width:1500px){
  .clarity-shell .content{padding:42px 54px 54px}
  .clarity-shell .stat-value{font-size:36px}
  .clarity-shell .clarity-stat{padding:25px 27px;min-height:164px}
  .clarity-shell .overview-grid{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}
  .clarity-shell .revenue-chart{height:237px}
}
@media(max-width:1150px){
  .clarity-shell .content{padding:30px 28px 44px}
  .clarity-shell header.topbar{padding:0 28px}
  .clarity-shell .clarity-heading{align-items:flex-start}
  .clarity-shell .clarity-heading .head-actions{max-width:68%}
  .clarity-shell .clarity-metrics{gap:15px}
  .clarity-shell .clarity-stat{padding:21px 20px}
  .clarity-shell .stat-value{font-size:29px}
  .clarity-shell .overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:20px}
  .clarity-shell .overview-lower{gap:20px}
  .clarity-shell .fleet-panel{padding:23px 20px}
  .clarity-shell .compact-row{padding-left:20px;padding-right:20px;gap:9px}
  .clarity-shell .compact-amount{max-width:42%}
  .clarity-shell .compact-row>.icon-btn,.clarity-shell .compact-row>.btn{min-width:44px}
  .clarity-shell .chart-total{padding-left:21px;padding-right:21px}
  .clarity-shell .quick-finance>div,.clarity-shell .quick-finance>a{padding-left:18px;padding-right:18px}
  .clarity-shell .quick-finance>a>strong{font-size:20px}
}
@media(max-width:1000px) and (min-width:851px){
  .clarity-shell .overview-lower{grid-template-columns:minmax(0,1fr)}
  .clarity-shell .stat-value{font-size:26px}
  .clarity-shell .stat-label{font-size:12px}
  .clarity-shell .stat-meta{font-size:11px}
}
@media(max-width:850px){
  .clarity-shell .main{margin-left:0;width:100%}
  .clarity-shell .sidebar{width:min(280px,calc(100vw - 52px));padding:25px 18px 20px;transform:translateX(-100%);visibility:hidden;pointer-events:none;transition:transform .2s,visibility .2s;box-shadow:0 0 80px #25345a29;z-index:50}
  .clarity-shell .sidebar.visible{transform:translateX(0);visibility:visible;pointer-events:auto}
  .clarity-shell .sidebar>nav{margin-top:26px}
  .clarity-shell .sidebar-profile{margin-top:14px}
  .clarity-shell header.topbar{height:68px;min-height:68px;padding:0 20px;gap:12px}
  .clarity-shell .topbar .mobile-menu{display:grid;place-items:center;padding:0;min-width:44px;width:44px}
  .clarity-shell .topbar .breadcrumb{display:flex;gap:8px;font-size:12px;flex:1;min-width:0}
  .clarity-shell .topbar-right,.clarity-shell .top-actions{gap:9px}
  .clarity-shell .content{padding:27px 20px 40px}
  .clarity-shell .clarity-heading{gap:20px}
  .clarity-shell .clarity-heading h1{font-size:29px;letter-spacing:-1px}
  .clarity-shell .clarity-heading .head-actions{max-width:72%}
  .clarity-shell .clarity-metrics{gap:14px}
  .clarity-shell .overview-grid{grid-template-columns:minmax(0,1.85fr) minmax(230px,1fr)}
  .clarity-shell .menu-scrim.visible{display:block;position:fixed;inset:0;width:100%;height:100%;z-index:40;margin:0;padding:0;border:0;background:#18212f55;cursor:pointer}
  .clarity-shell .chart-tabs>button,.clarity-shell .overview-day-shortcuts>.btn{min-height:44px}
  .clarity-shell .topbar .breadcrumb>span:first-child,.clarity-shell .topbar .breadcrumb>span:nth-child(2){display:none}
  .clarity-shell .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .clarity-shell .driver-directory .filter-toolbar{padding:18px 20px}
  .clarity-shell .driver-directory .search{max-width:none;flex-basis:100%}
  .clarity-shell .driver-directory .filter-chips{width:100%}
}
@media(max-width:700px){
  .clarity-shell .content{padding:25px 18px 36px}
  .clarity-shell .clarity-heading{flex-direction:column;align-items:stretch;gap:18px;margin-bottom:24px}
  .clarity-shell .clarity-heading h1{font-size:28px}
  .clarity-shell .clarity-heading p{margin-top:8px;font-size:13px}
  .clarity-shell .clarity-heading .head-actions{max-width:none;width:100%;justify-content:flex-start}
  .clarity-shell .clarity-heading .head-actions>.btn{flex:1}
  .clarity-shell .clarity-metrics{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:20px}
  .clarity-shell .clarity-stat{min-height:138px;padding:20px 22px}
  .clarity-shell .stat-value{font-size:31px;margin-top:12px}
  .clarity-shell .stat-meta{margin-top:11px}
  .clarity-shell .overview-grid,.clarity-shell .overview-lower{grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:20px}
  .clarity-shell .fleet-panel{padding:22px}
  .clarity-shell .fleet-count{margin-top:19px}
  .clarity-shell .fleet-segments{margin:20px 0}
  .clarity-shell .fleet-legend{margin-bottom:20px;gap:12px}
  .clarity-shell .fleet-panel>.btn{margin-top:0}
  .clarity-shell .revenue-chart{height:210px}
  .clarity-shell .chart-legend{padding-left:21px;padding-right:21px}
  .clarity-shell .quick-finance{grid-template-columns:minmax(0,1fr);padding:0}
  .clarity-shell .detail-overview{padding:22px}
  .clarity-shell .clarity-heading .page-head{flex-direction:column;align-items:stretch;gap:17px}
  .clarity-shell .overview-day-shortcuts{margin-bottom:20px}
  .clarity-shell .overview-day-shortcuts>.filter-date-range{flex-basis:100%;margin:6px 0 0}
  .clarity-shell .quick-finance{grid-template-columns:minmax(0,1fr);padding:0}
  .clarity-shell .quick-finance>div{padding:19px 22px;border-right:0;border-bottom:1px solid var(--line)}
  .clarity-shell .quick-finance>a{padding:17px 22px;border-right:0;border-bottom:1px solid var(--line)}
  .clarity-shell .quick-finance>a:last-child{border-bottom:0}
  .clarity-shell .quick-finance>a>strong{font-size:23px}
  .clarity-shell .quick-finance>a>svg{top:22px;right:22px}
  .clarity-shell .chart-total{padding:20px 21px 0}
  .clarity-shell .chart-data{padding-left:21px;padding-right:21px}
  .clarity-shell .chart-data .table-wrap{margin-left:-21px;margin-right:-21px;max-width:calc(100% + 42px)}
  .clarity-shell .overview-footer{margin-top:22px;gap:12px}
  .clarity-shell .workspace-tabs{gap:20px}
  .clarity-shell .driver-directory .workspace-tabs{padding-left:20px;padding-right:20px;gap:22px}
  .clarity-shell .driver-workspace .driver-profile{padding:22px}
  .clarity-shell .directory-footer{padding:17px 20px;gap:7px}
}
@media(max-width:430px){
  .clarity-shell header.topbar{padding:0 12px;gap:8px}
  .clarity-shell .topbar .breadcrumb{font-size:11px;gap:6px}
  .clarity-shell .topbar-right,.clarity-shell .top-actions{gap:5px}
  .clarity-shell .content{padding:23px 12px 34px}
  .clarity-shell .clarity-heading h1{font-size:27px}
  .clarity-shell .clarity-heading .head-actions{gap:8px}
  .clarity-shell .clarity-heading input[type=date]{width:154px}
  .clarity-shell .clarity-heading .btn{white-space:normal;font-size:12px;padding-left:12px;padding-right:12px}
  .clarity-shell .panel-link{font-size:12px}
  .clarity-shell .revenue-chart{height:185px}
  .clarity-shell .revenue-chart text{font-size:11px}
  .clarity-shell .chart-legend{padding-left:18px;padding-right:18px}
  .clarity-shell .compact-row{padding:15px 17px;gap:9px;flex-wrap:wrap}
  .clarity-shell .compact-copy{flex-basis:calc(100% - 98px)}
  .clarity-shell .compact-row:has(.compact-amount) .compact-copy{flex-basis:calc(100% - 54px)}
  .clarity-shell .compact-row:has(.compact-amount) .compact-amount{margin-left:41px;max-width:calc(100% - 94px);flex:1;text-align:left}
  .clarity-shell .compact-row>.icon-btn,.clarity-shell .compact-row>.btn{margin-left:auto}
  .clarity-shell .compact-row>.status{margin-left:41px}
  .clarity-shell .fleet-panel{padding:22px 20px}
  .clarity-shell .fleet-legend{font-size:12px}
  .clarity-shell .detail-overview{padding:20px 18px}
  .clarity-shell .detail-overview>.card-head h2{font-size:20px}
  .clarity-shell .chart-total{padding-left:18px;padding-right:18px}
  .clarity-shell .chart-tabs>button{padding:0 10px;font-size:11px}
  .clarity-shell .chart-data{padding-left:18px;padding-right:18px}
  .clarity-shell .chart-data .table-wrap{margin-left:-18px;margin-right:-18px;max-width:calc(100% + 36px)}
  .clarity-shell .decision-panel .compact-copy{flex-basis:calc(100% - 95px)}
  .clarity-shell .compact-row:has(.compact-amount)>svg:last-child{margin-left:auto}
  .clarity-shell .workspace-tabs{gap:18px;margin-bottom:20px}
  .clarity-shell .workspace-tabs>[role=tab]{font-size:12px;min-height:48px}
  .clarity-shell .driver-directory .workspace-tabs{padding:0 17px;gap:20px}
  .clarity-shell .driver-directory .filter-toolbar{padding:16px 17px;gap:12px}
  .clarity-shell .driver-directory .filter-chip{padding-left:9px;padding-right:9px;font-size:12px}
  .clarity-shell .driver-directory .drivers-table th,.clarity-shell .driver-directory .drivers-table td{padding-left:17px;padding-right:17px}
  .clarity-shell .directory-footer{padding:16px 17px}
  .clarity-shell .driver-workspace .driver-profile{padding:20px 18px}
  .clarity-shell .driver-workspace .driver-profile .driver-copy strong{font-size:18px}
  .clarity-shell .kpi{padding:16px 14px}
  .clarity-shell .kpi-value{font-size:22px}
}
@media(max-width:350px){.clarity-shell .kpis{grid-template-columns:minmax(0,1fr)}}

/* Automatically applied filters: period first, three useful fields, optional details. */
.clarity-shell form.filters.smart-filters,.clarity-shell .period-filter.smart-period{display:block;min-width:0;margin:0 0 20px;padding:0;border:0;background:transparent}
.clarity-shell .smart-filters:last-child{margin-bottom:0}
.clarity-shell .filter-period-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 6px;min-width:0}
.clarity-shell .filter-period-row>.filter-date-range{margin-left:auto}
.clarity-shell .filter-date-range{display:grid;grid-template-columns:60px repeat(2,minmax(0,1fr));align-items:center;gap:10px;flex:0 1 445px;min-width:0;max-width:100%;margin:0;padding:0;border:0}
.clarity-shell .filter-date-range>.filter-period-title{display:block;color:var(--ink);font-size:13px;line-height:1.5;font-weight:500;text-align:left}
.clarity-shell .filter-date-range>label{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;justify-items:stretch;gap:8px;min-width:0;margin:0;padding:0;font-size:13px;line-height:1.4;color:var(--muted);text-align:left}
.clarity-shell :is(.smart-filters,.smart-period) input,.clarity-shell .smart-filters select{width:100%;min-width:0;height:44px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:13px;line-height:1.4;color:var(--ink)}
.clarity-shell .filter-presets{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.clarity-shell .filter-reset{min-height:44px;margin-left:auto;padding:9px 11px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:400;line-height:1.4;white-space:nowrap}
.clarity-shell .filter-reset:hover{background:#f4f6fc;color:var(--ink)}
.clarity-shell .filter-main,.clarity-shell .filter-extra{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:12px;min-width:0;margin-top:15px}
.clarity-shell .filter-extra{padding-top:14px;border-top:1px solid var(--line)}
.clarity-shell :is(.filter-main,.filter-extra)>label{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;justify-items:stretch;gap:10px;min-width:0;margin:0;padding:0;color:#647084;font-size:13px;line-height:1.4;font-weight:400;text-align:left}
.clarity-shell :is(.smart-filters,.smart-period) label>span{display:block;position:static;width:100%;margin:0;padding:0;transform:none;text-align:left}
.clarity-shell .filter-more{margin-top:12px;padding:0;border:0;background:transparent}
.clarity-shell .filter-more>summary{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#f8f9fc;color:#647084;font-size:13px;line-height:1.4;list-style:none}
.clarity-shell .filter-more>summary::-webkit-details-marker{display:none}
.clarity-shell .filter-more>summary::marker{content:''}
.clarity-shell .filter-more>summary::after{content:'';width:6px;height:6px;margin:0 1px 3px 3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.clarity-shell .filter-more[open]>summary::after{transform:rotate(225deg);margin-top:4px;margin-bottom:0}
.clarity-shell .filter-more>summary:has(>svg)::after{display:none}
.clarity-shell .filter-more>summary>svg{width:15px;height:15px;flex:0 0 15px}
.clarity-shell .filter-more[open]>summary>svg{transform:rotate(180deg)}
.clarity-shell .filter-more>summary:hover{background:var(--blue-light);color:var(--blue)}
.clarity-shell .filter-count{display:inline-grid;place-items:center;min-width:21px;min-height:21px;padding:2px 5px;border-radius:5px;background:#e6ebff;color:var(--blue);font-size:12px;line-height:1.4;font-weight:600}
.clarity-shell .filter-count:empty{display:none}
.clarity-shell .filter-active{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px;min-width:0}
.clarity-shell .filter-active:empty{display:none}
.clarity-shell .filter-token{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:8px 11px;border:1px solid #e0e6ff;border-radius:8px;background:var(--blue-light);color:#465bc6;font-size:12px;font-weight:400;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere}
.clarity-shell .filter-token:hover{background:#e4e9ff;border-color:#ccd6ff}
.clarity-shell .filter-token>svg{width:14px;height:14px;flex:0 0 14px}
.clarity-shell .filter-footer{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.clarity-shell .filter-footer>.filter-error{flex-basis:100%}
.clarity-shell .filter-feedback{display:block;margin-top:10px;color:var(--muted);font-size:12px;line-height:1.5}
.clarity-shell .filter-feedback:empty{display:none}
.clarity-shell .filter-error{display:block;margin-top:10px;padding:10px 12px;border:1px solid #f1cfd3;border-radius:8px;background:#fff1f2;color:var(--red);font-size:13px;line-height:1.5}
.clarity-shell .filter-error:empty,.clarity-shell .filter-error[hidden],.clarity-shell :is(.smart-filters,.smart-period) [hidden]{display:none}
.clarity-shell .smart-period>.quiet{display:block;margin:9px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
@media(max-width:700px){
  .clarity-shell .filter-date-range{flex:1 1 445px;max-width:none}
  .clarity-shell .filter-reset{margin-left:0}
}
@media(max-width:430px){
  .clarity-shell .filter-period-row{gap:10px}
  .clarity-shell .filter-date-range{flex-basis:100%;max-width:none;grid-template-columns:60px minmax(0,1fr);gap:8px 10px}
  .clarity-shell .filter-date-range>.filter-period-title{grid-row:1 / span 2}
  .clarity-shell .filter-date-range>label{grid-column:2;grid-template-columns:22px minmax(0,1fr)}
  .clarity-shell .filter-date-range input{padding:10px 8px}
  .clarity-shell .filter-presets{flex:1 1 100%;gap:4px}
  .clarity-shell .filter-main,.clarity-shell .filter-extra{grid-template-columns:minmax(0,1fr);gap:12px}
  .clarity-shell .filter-reset{margin-left:0}
}
body.menu-open:has(.clarity-shell){overflow:hidden}
@media(prefers-reduced-motion:reduce){
  .clarity-shell *,.clarity-shell *::before,.clarity-shell *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

.clarity-shell .revenue-chart .chart-profit{fill:none;stroke:#16834a;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.clarity-shell .revenue-chart .profit-point{stroke:#16834a}
.clarity-shell .chart-legend .profit-legend{color:#16834a;font-weight:600}
.clarity-shell .chart-legend .profit-legend i{border-color:#16834a}

/* Compact vehicle directory controls. */
.clarity-shell .vehicle-list-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;margin-bottom:14px}
.clarity-shell .vehicle-list-controls form.smart-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;flex:0 1 340px}
.clarity-shell .vehicle-list-controls .filter-main{display:block;flex:1;min-width:200px;margin:0}
.clarity-shell .vehicle-list-controls .filter-main>label{grid-template-columns:auto minmax(0,1fr);gap:10px}
.clarity-shell .vehicle-list-controls .filter-active{display:none}
.clarity-shell .vehicle-list-controls .filter-footer{margin:0}
.clarity-shell .vehicle-list-controls .filter-reset,.clarity-shell .vehicle-list-controls select,.clarity-shell .vehicle-list-controls .search input{height:36px;min-height:36px;padding-top:7px;padding-bottom:7px}
.clarity-shell .vehicle-list-controls .toolbar{flex:1;min-width:250px;margin:0;gap:12px}
.clarity-shell .vehicle-list-controls .search{width:auto;flex:1;max-width:310px}
.clarity-shell .vehicle-list-controls .search svg{top:10px}
.clarity-shell .vehicle-list-controls .toolbar>small{white-space:nowrap}
@media(max-width:700px){.clarity-shell .vehicle-list-controls form.smart-filters,.clarity-shell .vehicle-list-controls .toolbar{flex-basis:100%;min-width:0}}

/* Compact directory filters, with secondary fields kept in the disclosure. */
.clarity-shell .compact-list-controls{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px 12px;margin-bottom:14px}
.clarity-shell .compact-list-controls form.smart-filters{display:contents}
.clarity-shell .compact-list-controls .filter-period-row{grid-column:1/-1;order:0}
.clarity-shell .compact-list-controls .filter-main{grid-column:1/-1;order:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}
.clarity-shell .compact-list-controls .filter-main>label{grid-template-columns:auto minmax(0,1fr);gap:8px}
.clarity-shell .compact-list-controls .filter-more{order:2;margin:0}
.clarity-shell .compact-list-controls .filter-more[open]{grid-column:1/-1}
.clarity-shell .compact-list-controls .filter-footer{order:2;margin:0}
.clarity-shell .compact-list-controls .toolbar{order:2;display:flex;flex-wrap:nowrap;gap:10px;margin:0;min-width:0}
.clarity-shell .compact-list-controls .filter-active{grid-column:1/-1;order:3;margin:0}
.clarity-shell .compact-list-controls :is(input,select,.filter-reset,.filter-more>summary,.filter-presets>.btn){height:36px;min-height:36px;padding-top:7px;padding-bottom:7px}
.clarity-shell .compact-list-controls .search{width:auto;min-width:0;flex:1;max-width:310px}
.clarity-shell .compact-list-controls .search svg{top:10px}
.clarity-shell .compact-list-controls .toolbar>small{white-space:nowrap}
@media(max-width:700px){
.clarity-shell .compact-list-controls{grid-template-columns:auto minmax(0,1fr)}
.clarity-shell .compact-list-controls .filter-main{grid-template-columns:1fr}
.clarity-shell .compact-list-controls .toolbar{grid-column:1/-1}
}

.clarity-shell .economics-days .eco-table{min-width:880px}
.clarity-shell .economics-days :is(th,td){padding:12px 10px}
.clarity-shell .economics-days td:first-child{white-space:nowrap}
.clarity-shell .economics-days td:last-child{font-weight:600}
.clarity-shell .economics-days tfoot{background:#f6f8fc;font-weight:600}

.clarity-shell .economics-expenses :is(th,td){padding:12px 14px;white-space:nowrap}
.clarity-shell .economics-expenses tbody th{font-weight:400}
.clarity-shell .economics-expenses tr>:first-child{position:sticky;left:0;z-index:1;min-width:180px;background:#fff}
.clarity-shell .economics-expenses thead th{background:#f8f9fc}
.clarity-shell .economics-expenses .expense-period-total{font-weight:600;background:#f8f9fc}
.clarity-shell .economics-expenses tfoot :is(th,td){font-weight:600;background:#f0f3fa}

/* Shared compact layout for every list and report filter block. */
.clarity-shell .compact-list-controls .filter-main{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.clarity-shell .compact-list-controls .filter-main:empty{display:none}
.clarity-shell .compact-list-controls:not(:has(.filter-more))>.toolbar{grid-column:2/-1}
.clarity-shell .compact-list-controls:not(:has(form))>.toolbar{grid-column:1/-1}
.clarity-shell .compact-list-controls>.table-note{grid-column:1/-1;order:3;margin:0}
.clarity-shell .compact-list-controls .filter-token{min-height:36px;padding:6px 10px}
.clarity-shell .compact-list-controls .filter-extra{margin-top:10px;padding-top:10px;gap:10px}
@media(max-width:700px){
.clarity-shell .compact-list-controls .filter-main{grid-template-columns:1fr}
.clarity-shell .compact-list-controls:not(:has(.filter-more))>.toolbar{grid-column:1/-1}
}

.clarity-shell .sidebar-profile{gap:7px;padding:16px 0 0}
.clarity-shell .sidebar-profile .avatar{width:30px;height:30px;flex-basis:30px}
.clarity-shell .sidebar-profile .icon-btn{width:32px;min-width:32px;flex-basis:32px}
.clarity-shell .sidebar-profile .profile-copy>strong{overflow-wrap:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clarity-shell .sidebar-profile .profile-context{display:block;margin-top:2px;font-size:11px;color:var(--muted);overflow-wrap:normal}
.clarity-shell .sidebar-profile .profile-copy>small{margin-top:2px}

/* Instruction: the explanations the screens no longer carry. */
.clarity-shell .nav-guide{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.clarity-shell .guide{max-width:860px}
.clarity-shell .guide>.card{padding:0;margin-bottom:12px}
.clarity-shell .guide>.guide-intro{padding:20px 24px;font-size:14px;line-height:1.6}
.clarity-shell .guide-intro p{margin:0 0 10px}
.clarity-shell .guide-intro p:last-child{margin:0}
.clarity-shell .guide-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;list-style:none;cursor:pointer;color:var(--ink)}
.clarity-shell .guide-section>summary::-webkit-details-marker{display:none}
.clarity-shell .guide-section>summary::marker{content:''}
.clarity-shell .guide-section>summary h2{margin:0;font-size:16px;font-weight:650;line-height:1.4}
.clarity-shell .guide-section>summary>svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.8;color:var(--muted);transition:transform .15s}
.clarity-shell .guide-section[open]>summary>svg{transform:rotate(180deg)}
.clarity-shell .guide-body{padding:0 24px 20px;font-size:14px;line-height:1.6;color:var(--ink)}
.clarity-shell .guide-body h3{margin:18px 0 6px;font-size:14px;font-weight:650}
.clarity-shell .guide-body p{margin:0 0 10px}
.clarity-shell .guide-body :is(ul,ol){margin:0 0 10px;padding-left:20px}
.clarity-shell .guide-body li{margin:0 0 4px}
@media (max-width:640px){
.clarity-shell .guide>.guide-intro,.clarity-shell .guide-section>summary{padding-left:16px;padding-right:16px}
.clarity-shell .guide-body{padding:0 16px 16px}
}

.clarity-shell .cashflow-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.clarity-shell .cashflow-metrics .kpi-value{font-size:24px;overflow-wrap:anywhere}
.clarity-shell .cashflow-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;color:var(--muted);font-size:12px}
.clarity-shell .cashflow-days :is(th,td){padding:12px 10px;min-width:0}
.clarity-shell .cashflow-days thead th{white-space:normal}
.clarity-shell .cashflow-days tbody th{white-space:nowrap;background:transparent;font-weight:400}
.cashflow-balance-summary{margin-bottom:22px}
.cashflow-balance-summary .kpi-value{display:block;font-size:25px;overflow-wrap:anywhere}
.cashflow-balance-summary .kpi-value small{font-size:13px;font-weight:400}
.cashflow-account-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.cashflow-account-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none;min-width:0}
.cashflow-account-card:hover,.cashflow-account-card.selected{background:#f5f6ff;border-color:var(--blue);text-decoration:none}
.cashflow-account-card strong{font-size:20px;overflow-wrap:anywhere}
.cashflow-account-card small{font-size:12px;font-weight:400;color:var(--muted)}
.cashflow-account-filter{display:flex;align-items:center;gap:16px;margin:20px 0;font-size:13px}
.cashflow-account-filter select{width:auto;min-width:220px;max-width:100%}
@media(max-width:600px){.cashflow-account-filter{align-items:stretch;flex-direction:column;gap:8px}}
@media(max-width:1100px){.clarity-shell .cashflow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.clarity-shell .cashflow-metrics .kpi-value{font-size:20px}}
