:root{
  --bg:oklch(97.8% .007 248);
  --surface:oklch(100% 0 0);
  --fg:oklch(21% .082 259);
  --muted:oklch(48% .031 257);
  --border:oklch(91.8% .012 252);
  --accent:oklch(55.5% .104 202);
  --navy:oklch(22.5% .091 253);
  --navy2:oklch(17.8% .073 256);
  --blue:oklch(53% .158 252);
  --green:oklch(58% .154 146);
  --orange:oklch(69% .164 62);
  --purple:oklch(56% .155 303);
  --red:oklch(57% .205 28);
  --shadow:0 1px 2px oklch(22% .04 256/.035),0 4px 14px oklch(22% .04 256/.045);
  --display:"Aptos Display","Segoe UI Variable Display","Segoe UI",sans-serif;
  --body:"Aptos","Segoe UI Variable Text","Segoe UI",sans-serif;
}
html{font-size:13px}body{background:linear-gradient(180deg,oklch(98.4% .006 248),var(--bg))}
.icon{display:inline-block;width:1.55em;height:1.55em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}
.sidebar{width:168px;padding:17px 9px 13px;background:linear-gradient(180deg,oklch(18% .079 256),oklch(21.5% .094 251));box-shadow:3px 0 16px oklch(15% .06 255/.08)}
.main{margin-left:168px}.brand{padding-bottom:12px}.brand-logo{width:66px;height:72px;margin:0 auto;color:#fff;display:block}.brand-logo .accent{stroke:oklch(73% .13 198)}
.brand-name{font-size:18px;letter-spacing:-.02em}.tagline{font-size:10.5px;color:oklch(92% .015 245)}
.nav{gap:2px}.nav-link{min-height:41px;padding:6px 9px;border-radius:7px;font-size:12.5px;font-weight:500;letter-spacing:-.01em}.nav-link .icon{width:22px;height:22px;stroke-width:1.75}.nav-link.active{background:linear-gradient(90deg,oklch(55% .112 202),oklch(58% .105 197));box-shadow:inset 0 0 0 1px oklch(75% .1 196/.22),0 4px 9px oklch(12% .06 255/.13)}
.nav-link:hover{background:oklch(31% .087 244);filter:none}.nav-link.active:hover{background:oklch(50% .105 202)}
.side-note{font-size:9.5px;padding-top:14px}.side-note .icon{color:oklch(70% .135 193);width:25px;height:25px}
.masthead{height:158px;min-height:158px;padding:18px 28px 12px;background-image:linear-gradient(90deg,oklch(99% .004 245) 0%,oklch(99% .004 245/.97) 32%,oklch(98% .006 242/.63) 49%,oklch(95% .025 229/.18) 100%),url("assets/fcrm-skyline-hero-v2.png");background-size:cover;background-position:center 57%;border-bottom:1px solid oklch(92% .012 250)}
.masthead:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,oklch(100% 0 0/.06),oklch(96% .012 231/.12));pointer-events:none}
.masthead:after{right:-56px;bottom:-78px;width:320px;height:218px;background:linear-gradient(137deg,transparent 0 31%,oklch(57% .116 194/.74) 31.3% 47%,oklch(52% .102 197/.58) 47.3% 61%,transparent 61.3%);transform:none}.skyline{display:none!important}
.header-row,.page-title{z-index:2}.mini-brand{font-size:20px;letter-spacing:-.025em}.mini-brand span{font-size:12.5px;margin-top:5px}.updated{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:9px;font-size:11px;box-shadow:0 2px 8px oklch(13% .05 255/.14)}.updated .icon{width:15px;height:15px}
.page-title{margin-top:27px}.page-title h1{font-size:27px;letter-spacing:-.025em;margin-bottom:5px}.page-title p{font-size:11.5px;max-width:760px;color:oklch(30% .045 256)}
.content{padding:0 20px 16px}.kpi-grid{gap:9px}.kpi{min-height:89px;padding:12px 13px;gap:11px;border-color:oklch(92% .012 250);box-shadow:var(--shadow)}.kpi-icon{width:51px;height:51px}.kpi-icon .icon{width:29px;height:29px;stroke-width:1.8}.kpi-label{font-size:10.5px}.kpi-value{font-size:22px;letter-spacing:-.02em;margin:3px 0}.kpi-sub,.trend{font-size:9.5px}
.filters{gap:9px;margin:11px 0}.search input,.filters select,.date-field{height:37px;border-color:oklch(90.8% .014 252);border-radius:6px;font-size:10.5px;box-shadow:0 1px 2px oklch(20% .03 250/.02)}.search .icon{position:absolute;left:11px;top:10px;width:16px;height:16px;color:var(--muted)}.clear{font-size:10px}.view-toggle button{height:37px;min-width:39px}.view-toggle .icon{width:17px;height:17px}
.filters select{appearance:none;padding-right:31px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234e5d73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 9 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}
.panel{padding:12px;border-color:oklch(92% .012 251);border-radius:8px;box-shadow:0 1px 6px oklch(20% .04 255/.045)}.panel-title{display:flex;align-items:center;gap:7px;font-size:11.5px;letter-spacing:.005em;margin-bottom:10px}.panel-title .icon{width:16px;height:16px;color:oklch(30% .09 253)}
.grid{gap:9px}.quick-card{padding:11px 12px;min-height:70px;border-radius:7px;text-align:left}.quick-card .ico{display:grid;place-items:center;width:39px;height:39px;border-radius:8px;background:color-mix(in oklch,var(--tone,var(--blue)) 9%,white);font-size:inherit}.quick-card .ico .icon{width:27px;height:27px;stroke-width:1.7}.quick-card b{font-size:11px}.quick-card small{font-size:9px;line-height:1.35;display:block;margin-top:3px}
.home-hero{height:332px;min-height:332px;padding:54px 48px;background-position:center 54%}.home-hero .page-title{max-width:690px}.home-hero .page-title h1{font-size:42px!important;letter-spacing:.008em}.home-hero .page-title>p:nth-of-type(1){font-size:23px!important}.home-hero .page-title>p:nth-of-type(2){font-size:15px!important;line-height:1.45!important}.hero-search{margin-top:16px;max-width:670px}.home-body{grid-template-columns:minmax(0,2.15fr) minmax(290px,1fr);gap:9px;margin-top:10px}.home-bottom{gap:18px;margin-top:10px}.promise{padding:12px}.promise div{position:relative;padding:0 13px 0 37px}.promise .icon{position:absolute;left:8px;top:5px;width:23px;height:23px;color:oklch(28% .09 252)}.promise b{font-size:10.5px;display:block}.promise small{font-size:9px;line-height:1.35}.help-card{display:flex;gap:12px;align-items:center}.help-card .icon{width:34px;height:34px}
.news-item,.list-row{padding:8px 0;font-size:9.5px}.news-item>.icon,.list-row>.icon{width:18px;height:18px;color:var(--blue)}.news-item b{font-size:10.5px}.news-item time{font-size:9px}
.account-card,.process-card,.solution-card{border-color:oklch(92% .012 251);border-radius:8px;box-shadow:0 1px 5px oklch(20% .04 255/.04)}.account-card{min-height:143px;padding:11px}.account-card:hover,.process-card:hover,.solution-card:hover{filter:none;border-color:oklch(82% .052 209);box-shadow:0 5px 14px oklch(20% .04 255/.08);transform:translateY(-1px)}.card-meta{font-size:8.5px}.meta-item{display:inline-flex;align-items:center;gap:3px}.meta-item .icon{width:12px;height:12px}.mini-stats{gap:4px}.mini-stats small{font-size:7.5px}.mini-stats b{font-size:9.5px}.health-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:3px}.link{display:inline-flex;align-items:center;gap:4px}.link .icon{width:12px;height:12px}
.process-card{min-height:198px;padding:15px}.process-icon{width:47px;height:47px;margin-right:14px}.process-icon .icon{width:100%;height:100%;stroke-width:1.45}.process-card p{font-size:9.5px}.solution-card{min-height:214px;padding:11px}.solution-logo{display:flex;align-items:center;gap:7px;color:var(--blue)}.solution-logo .icon{width:26px;height:26px}.solution-card h3{font-size:13px}.solution-card p{font-size:8.8px}
.org-chart{min-height:414px}.org-node{position:relative;padding:7px 11px}.org-node .icon{width:16px;height:16px;color:var(--purple);margin-right:4px}.band{margin:12px 0}
.donut{width:124px;box-shadow:inset 0 0 0 1px oklch(20% .05 250/.04)}.donut strong{font-size:20px}.legend{font-size:9px;line-height:1.85}.legend i{width:7px;height:7px}.chart{min-height:205px}
.bar-chart{position:relative;height:176px;padding:24px 10px 20px;border-bottom:1px solid var(--border);background:repeating-linear-gradient(to bottom,transparent 0 34px,oklch(92% .01 250) 35px 36px)}.bar{border-radius:2px 2px 0 0}.bar:after{content:"";position:absolute;width:5px;height:5px;border:2px solid white;background:inherit;border-radius:50%;left:50%;top:-2px;transform:translate(-50%,-50%)}.bar span{font-weight:700;color:var(--fg)}.hbars{gap:7px}.hbar{grid-template-columns:minmax(105px,1.3fr) 2fr 30px}.hbar-track{height:9px}.hbar-fill{border-radius:0 2px 2px 0}.line-chart{height:185px}.line-chart .gridline{stroke:oklch(91% .014 250);stroke-width:1}.line-chart .axis-label{font:9px var(--body);fill:var(--muted)}.line-chart polyline{stroke-width:2}.line-chart circle{stroke:#fff;stroke-width:1.5}
.data-table{font-size:8.7px}.data-table th{padding:8px 7px;background:oklch(97.2% .009 250);font-size:8.2px;letter-spacing:.01em}.data-table td{padding:7px}.data-table tbody tr:hover{background:oklch(98% .014 218)}.file-cell{display:flex;align-items:center;gap:6px}.file-cell .icon{width:17px;height:17px}.pill{padding:2px 8px;font-size:7.7px}
.table-action{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:2px;color:oklch(46% .14 252);font-size:8.5px}.table-action .icon{width:13px;height:13px}.table-action.danger-text{color:var(--red)}
.stage{padding:11px 7px}.stage b{font-size:18px}.gauge{border-radius:7px}.gauge-top{height:75px}
.footer{height:46px;padding:0 44px;font-size:10.5px;background:linear-gradient(90deg,var(--navy),oklch(20% .085 249));box-shadow:0 -1px 0 oklch(100% 0 0/.12)}.footer .icon{width:22px;height:22px}.footer span{display:flex;align-items:center;gap:8px}
.danger{display:inline-flex;align-items:center;gap:6px}.danger .icon{width:15px;height:15px}.pagination button{display:grid;place-items:center}.pagination .icon{width:15px;height:15px}
@media(max-width:1180px){.sidebar{width:72px}.main{margin-left:72px}.brand-logo{width:47px;height:51px}.masthead{background-position:58% center}.home-hero{padding-inline:28px}.quick-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.sidebar{width:278px}.main{margin-left:0}.masthead{height:145px;min-height:145px;background-position:63% center}.home-hero{height:318px;min-height:318px;background-position:63% center}.mobile-top .icon{width:22px;height:22px}.page-title{max-width:82%}.kpi{min-width:220px}.chart{overflow-x:auto}.chart .bar-chart{min-width:520px}.footer{padding:14px 18px}.footer span{align-items:flex-start}}
@media(max-width:560px){.masthead{background-image:linear-gradient(90deg,oklch(99% .004 245/.98),oklch(98% .006 242/.87) 62%,oklch(94% .025 229/.4)),url("assets/fcrm-skyline-hero-v2.png");background-position:68% center}.masthead:after{opacity:.45}.home-hero{height:355px;min-height:355px;padding:38px 18px;background-position:70% center}.home-hero .page-title h1{font-size:33px!important}.home-hero .page-title>p:nth-of-type(1){font-size:20px!important}.home-hero .page-title>p:nth-of-type(2){font-size:13px!important}.promise div{padding-left:34px}.updated{padding:6px 8px}.panel:has(.line-chart){overflow-x:auto}.line-chart{min-width:450px}.account-card,.process-card,.solution-card{transform:none!important}}

/* Responsive integrity layer: these shared rules intentionally follow both legacy sheets. */
html,body{max-width:100%;overflow-x:clip}
.app,.main,.content,.panel,.grid>*{min-width:0}
.main{padding-bottom:calc(50px + env(safe-area-inset-bottom,0px))}
.content{padding-bottom:clamp(24px,3vw,42px)}
.panel,.quick-card,.kpi,.account-card,.process-card,.solution-card,.list-row,.news-item{overflow-wrap:anywhere}
.quick-card>span:last-child,.kpi-copy,.card-head>div:last-child{min-width:0}
.quick-card{width:100%;min-width:0;align-items:flex-start;min-height:76px;text-decoration:none;color:inherit}
.quick-card .ico{flex:0 0 39px}
.quick-card b,.quick-card small{white-space:normal}
.home-body>.panel:first-child .grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.kpi-grid{grid-template-columns:repeat(var(--cols,5),minmax(0,1fr))}
.kpi{min-width:0}
.filters{flex-wrap:wrap;overflow:visible}
.filters .search{flex:1 1 240px;min-width:min(240px,100%)}
.filters select{flex:0 1 auto;max-width:100%}
.view-toggle{margin-left:auto}
.table-scroll-hint,.chart-scroll-hint{display:none;align-items:center;gap:6px;margin:0 0 7px;color:var(--muted);font-size:10px}
.table-scroll-hint .icon,.chart-scroll-hint .icon{width:14px;height:14px}
.table-wrap{max-width:100%;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
.table-wrap:focus-visible{outline:3px solid oklch(70% .12 205);outline-offset:2px;border-radius:5px}
.data-table th,.data-table td{max-width:320px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.data-table th[scope="row"]{min-width:140px}
.chart{max-width:100%}
.line-chart{display:block}
.hbar{min-width:0}
.hbar>span{min-width:0;overflow-wrap:anywhere}
.org-chart{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:4px}
.org-row{min-width:660px}
.pipeline{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:5px}
.stage{min-width:112px}
.doc-layout>*{min-width:0}
.report-gauges>*{min-width:0}
.sidebar{bottom:calc(50px + env(safe-area-inset-bottom,0px))}

/* The desktop trust bar is fixed to match the reference; matching page and sidebar space prevents overlap. */
.footer{position:fixed;inset:auto 0 0 0;height:calc(50px + env(safe-area-inset-bottom,0px));min-height:50px;padding:0;background:var(--navy2);overflow:hidden;z-index:35}
.footer-inner{width:100%;height:50px;display:grid;grid-template-columns:minmax(360px,1fr) auto minmax(300px,auto);align-items:center;gap:24px;padding:0 clamp(24px,3vw,48px);padding-right:clamp(90px,8vw,138px)}
.footer .trust-copy,.footer .office,.footer .hashtags{min-width:0;display:flex;align-items:center;white-space:nowrap}
.footer .footer-inner .trust-copy{gap:9px;padding-right:24px;border-right:1px solid oklch(100% 0 0/.28)}
.footer .trust-copy .icon{width:21px;height:21px;color:oklch(76% .125 194)}
.footer .office{font-weight:600}
.footer .hashtags{color:oklch(74% .13 194);font-weight:600;letter-spacing:.01em}
.footer-accent{position:absolute;right:-28px;top:-50px;width:126px;height:150px;background:oklch(56% .11 196);transform:skewX(-25deg);box-shadow:-17px 0 0 oklch(47% .1 198)}

@media(max-width:1440px){
  .solution-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .footer-inner{grid-template-columns:minmax(340px,1fr) auto auto;gap:18px;padding-inline:24px 108px}
}
@media(max-width:1280px){
  .home-body>.panel:first-child .grid-4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-grid,.process-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .layout-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer{height:calc(64px + env(safe-area-inset-bottom,0px))}
  .footer-inner{height:64px;grid-template-columns:minmax(320px,1fr) auto;grid-template-rows:auto auto;gap:2px 20px;padding-block:8px}
  .footer .footer-inner .trust-copy{grid-row:1/-1}
  .footer .office,.footer .hashtags{white-space:normal}
  .main{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  .sidebar{bottom:calc(64px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:1024px){
  .home-body>.panel:first-child .grid-4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;padding-bottom:0}
  .account-grid,.process-grid,.solution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-4,.grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .layout-main-aside,.directory-layout{grid-template-columns:minmax(0,1.7fr) minmax(240px,.8fr)}
  .doc-layout{grid-template-columns:210px minmax(0,1fr)}
  .doc-layout>aside:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .report-gauges{grid-template-columns:repeat(3,minmax(0,1fr))}
  .table-scroll-hint,.chart-scroll-hint{display:flex}
}
@media(max-width:820px){
  body.drawer-open{overflow:hidden}
  .mobile-top{position:sticky;top:0;min-height:58px;height:auto;padding-block:7px;padding-inline:max(12px,env(safe-area-inset-left,0px)) max(12px,env(safe-area-inset-right,0px))}
  .mobile-top strong{font-size:clamp(12px,2.2vw,16px)}
  .mobile-top small{font-size:clamp(9px,1.55vw,11px);text-align:right}
  .menu-btn{flex:0 0 44px;border-radius:6px}
  .menu-btn:hover{background:oklch(31% .087 244);filter:none}
  .sidebar{inset:58px auto 0 0;bottom:0;width:min(310px,86vw);padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));overflow-y:auto}
  .drawer-backdrop{inset:58px 0 0}
  .main{padding-bottom:0}
  .content{padding-inline:clamp(12px,3vw,22px);padding-bottom:28px}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .kpi{min-width:0;scroll-snap-align:none}
  .home-body,.home-bottom,.layout-main-aside,.layout-3,.directory-layout,.doc-layout{grid-template-columns:1fr}
  .home-body>.panel:first-child .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .promise{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px}
  .promise div{min-width:0;padding:12px 12px 12px 42px;border:0}
  .promise div:nth-child(odd){border-right:1px solid var(--border)}
  .promise div:nth-child(-n+2){border-bottom:1px solid var(--border)}
  .org-row{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  .help-card{min-height:84px;padding:16px}
  .doc-layout>aside:last-child{grid-column:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer{position:relative;inset:auto;height:auto;min-height:0;padding-bottom:env(safe-area-inset-bottom,0px);overflow:hidden}
  .footer-inner{height:auto;min-height:76px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:7px 16px;padding:12px 84px 12px max(16px,env(safe-area-inset-left,0px))}
  .footer .footer-inner .trust-copy{grid-column:1/-1;grid-row:auto;padding:0 0 8px;border-right:0;border-bottom:1px solid oklch(100% 0 0/.2);white-space:normal;line-height:1.35}
  .footer .office{white-space:normal}
  .footer .hashtags{justify-content:flex-end;text-align:right;white-space:normal;line-height:1.35}
  .footer-accent{right:-43px;top:-37px;width:105px;height:150px}
}
@media(max-width:640px){
  .masthead:not(.home-hero){height:auto;min-height:150px}
  .page-title{max-width:100%}
  .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  .filters .search{grid-column:1/-1;width:100%;min-width:0}
  .filters select{width:100%;min-width:0}
  .filters .clear{min-height:44px;text-align:left}
  .filters .view-toggle{margin-left:0;justify-self:end}
  .account-grid,.process-grid,.solution-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .report-gauges{grid-template-columns:repeat(2,minmax(0,1fr))}
  .org-chart{margin-inline:-4px}
  .org-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .recycle-actions{grid-column:1/-1}
  .recycle-actions .danger{min-height:44px}
}
@media(max-width:480px){
  .mobile-top small{display:none}
  .home-hero{height:auto;min-height:360px;padding:34px 16px 24px}
  .home-hero .page-title h1{font-size:clamp(27px,9vw,34px)!important;overflow-wrap:normal}
  .home-hero .page-title>p:nth-of-type(1){font-size:19px!important}
  .hero-search{gap:8px}
  .hero-search .search,.hero-search .date-field{width:100%;min-width:0}
  .kpi-grid{grid-template-columns:1fr}
  .home-body>.panel:first-child .grid-4,.grid-2,.grid-4,.grid-5{grid-template-columns:1fr}
  .quick-card{min-height:78px;padding:13px}
  .promise{grid-template-columns:1fr}
  .promise div,.promise div:nth-child(odd),.promise div:nth-child(-n+2){border-right:0;border-bottom:1px solid var(--border)}
  .promise div:last-child{border-bottom:0}
  .doc-layout>aside:last-child{grid-template-columns:1fr}
  .report-gauges{grid-template-columns:1fr}
  .filters{grid-template-columns:1fr}
  .filters .search,.filters .recycle-actions{grid-column:auto}
  .filters .view-toggle{justify-self:start}
  .footer-inner{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:6px;padding:12px 62px 12px 14px}
  .footer .footer-inner .trust-copy,.footer .office,.footer .hashtags{grid-column:auto;justify-content:flex-start;text-align:left}
  .footer .footer-inner .trust-copy{padding-bottom:7px}
  .footer .hashtags{font-size:9px}
}

/* Home search boundary: content-driven height preserves a deliberate gap before the KPI grid. */
.home-hero{height:auto;min-height:350px;padding-bottom:26px}
.home-hero .hero-search{flex-wrap:wrap;align-items:stretch;margin-bottom:0}
.home-hero .hero-search .search{min-width:min(360px,100%)}
.home-hero .hero-search .date-field{flex:0 1 180px;min-width:150px}
@media(max-width:1024px){
  .home-hero{height:auto;min-height:340px;padding-bottom:20px}
}
@media(max-width:560px){
  .home-hero{height:auto;min-height:0;padding-bottom:20px}
  .home-hero .hero-search .search,.home-hero .hero-search .date-field{flex:1 1 100%;min-width:0}
}

/* Route fidelity layer: desktop compositions follow the supplied 1536px references. */
@media(min-width:1181px){
  .route-home .sidebar{width:220px}
  .route-home .main{margin-left:220px}
  .app:not(.route-home) .masthead{height:170px;min-height:170px;padding-inline:28px}
  .app:not(.route-home) .page-title{margin-top:29px}
  .account-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .route-accounts .account-card{min-height:154px;padding:12px 13px}
  .route-accounts .card-meta{justify-content:space-between;gap:8px}
  .route-accounts .mini-stats{grid-template-columns:1fr 1.25fr .72fr 1fr}
  .route-processes .process-card{min-height:205px}
  .route-processes .process-card h3{min-height:34px}

  .route-people .content{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr) minmax(250px,1fr);gap:10px}
  .route-people .content>.kpi-grid,.route-people .content>.filters{grid-column:1/-1;width:100%}
  .route-people .content>.layout-main-aside,.route-people .content>.layout-3,.route-people .content>.layout-main-aside>div{display:contents}
  .route-people [data-od-id="organizational-structure-fcrm"]{grid-column:1;grid-row:3/span 2}
  .route-people [data-od-id="role-summary"]{grid-column:2;grid-row:3}
  .route-people [data-od-id="key-leadership"]{grid-column:3;grid-row:3}
  .route-people [data-od-id="stakeholder-breakdown"]{grid-column:2;grid-row:4}
  .route-people [data-od-id="top-stakeholders"]{grid-column:3;grid-row:4}
  .route-people [data-od-id="quick-actions"]{grid-column:1/-1;grid-row:5}
  .route-people [data-od-id="quick-actions"] .grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .route-people .org-chart{min-height:456px}

  .route-performance .layout-main-aside{grid-template-columns:minmax(0,1.45fr) minmax(260px,.72fr) minmax(300px,1fr)}
  .route-performance .layout-main-aside>.grid{display:contents}
  .route-performance .layout-main-aside>[data-od-id="account-performance-overview"]{grid-column:1}
  .route-performance [data-od-id="volume-trend-monthly"]{grid-column:2}
  .route-performance [data-od-id="kpi-summary-by-lob"]{grid-column:3}
  /* The reference uses a dense 18-account quality chart; let its bars flex below
     the base minimum and keep the compact LOB table inside its third column. */
  .route-performance .layout-3 .bar-chart{gap:3px;padding-inline:4px}
  .route-performance .layout-3 .bar{min-width:0}
  .route-performance [data-od-id="lob-kpi"]{min-width:100%}

  .route-ai .content{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.72fr) minmax(300px,1fr);gap:10px}
  .route-ai .content>.kpi-grid,.route-ai .content>.filters,.route-ai .content>.panel-title,.route-ai .content>.solution-grid,.route-ai .content>.layout-3,.route-ai .content>section:last-child{grid-column:1/-1;width:100%}
  .route-ai .content>.layout-main-aside{display:contents}
  .route-ai [data-od-id="ai-solution-types"]{grid-column:3;grid-row:3}
  .route-ai .solution-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .route-ai .solution-card{min-height:220px}

  .route-governance .layout-main-aside{grid-template-columns:minmax(0,1.75fr) minmax(250px,.72fr) minmax(250px,.72fr)}
  .route-governance .layout-main-aside>div{display:contents}
  .route-governance [data-od-id="policies-controls-overview"]{grid-column:1}
  .route-governance [data-od-id="upcoming-reviews"]{grid-column:2}
  .route-governance [data-od-id="certifications-attestations"]{grid-column:3}

  .route-documents .doc-layout{grid-template-columns:280px minmax(0,1fr) 220px}
  .route-documents [data-od-id="featured-resources"] .grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .route-documents .data-table{min-width:900px}
  .route-black-belts .directory-layout{grid-template-columns:minmax(0,1fr) 300px}
  .route-black-belts [data-od-id="black-belt-directory"] .data-table{min-width:900px}

  .route-recycle-bin .content>.filters:first-child{justify-content:flex-end;margin-top:14px}
  .route-recycle-bin .content>.filters:first-child .recycle-actions{margin-left:auto}
  .route-recycle-bin .content>.filters:first-child .search{flex:0 1 290px}
  .route-recycle-bin .content>.filters:nth-of-type(2){display:grid;grid-template-columns:repeat(6,minmax(130px,1fr)) auto}
  .route-recycle-bin .content>.filters:nth-of-type(2) select{width:100%;min-width:0}
}

.document-shortcuts{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.document-shortcuts h3{margin:0 0 9px;font:800 10px/1.2 var(--display);text-transform:uppercase}
.document-shortcuts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.document-shortcuts button{min-height:58px;padding:7px 4px;border:1px solid var(--border);border-radius:7px;background:oklch(97% .018 246);color:var(--fg);font-size:8px;line-height:1.2;cursor:pointer}
.document-shortcuts button:nth-child(3n+1){background:oklch(96% .025 300)}
.document-shortcuts button:nth-child(3n+2){background:oklch(96% .025 196)}
.document-shortcuts button:nth-child(3n){background:oklch(96% .025 67)}
.document-shortcuts .icon{display:block;width:20px;height:20px;margin:0 auto 5px;color:var(--blue)}

.route-reports .report-unit{flex:0 1 132px}
.route-reports .report-unit select{width:100%;height:37px;border:1px solid var(--border);border-radius:6px;background:#fff;padding:0 12px}
.quarter-toggle{display:flex;gap:5px;margin-left:auto}
.quarter-toggle button{min-width:46px;height:37px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--fg);cursor:pointer}
.quarter-toggle button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.route-reports [data-od-id="productivity-target-vs-delivered"] .donut-wrap,.route-reports [data-od-id="hc-target-vs-delivered"] .donut-wrap{justify-content:center}
.route-reports [data-od-id="productivity-target-vs-delivered"] .donut,.route-reports [data-od-id="hc-target-vs-delivered"] .donut{width:190px;height:96px;aspect-ratio:auto;border-radius:190px 190px 0 0;background:conic-gradient(from 270deg,var(--green) 0 43%,oklch(93% .01 250) 43% 50%,transparent 50%);align-items:end}
.route-reports [data-od-id="productivity-target-vs-delivered"] .donut:after,.route-reports [data-od-id="hc-target-vs-delivered"] .donut:after{width:66%;height:66%;border-radius:150px 150px 0 0;bottom:0}
.route-reports [data-od-id="productivity-target-vs-delivered"] .donut strong,.route-reports [data-od-id="hc-target-vs-delivered"] .donut strong{padding-bottom:8px}

@media(max-width:1180px){
  .route-people .content,.route-ai .content{display:block}
  .route-people .content>.layout-main-aside,.route-people .content>.layout-3,.route-people .content>.layout-main-aside>div,.route-ai .content>.layout-main-aside{display:grid}
  .route-people .content>.layout-main-aside{grid-template-columns:minmax(0,2fr) minmax(260px,.8fr)}
  .route-people .content>.layout-main-aside>div{grid-template-columns:1fr}
  .route-people .content>.layout-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-people [data-od-id="quick-actions"]{grid-column:1/-1}
  .route-ai [data-od-id="ai-solution-types"]{margin-top:10px}
  .route-reports .quarter-toggle{width:100%;margin-left:0}
}
@media(max-width:820px){
  .document-shortcuts>div{grid-template-columns:repeat(3,minmax(0,1fr))}
  .route-recycle-bin .content>.filters:first-child .search{min-width:0}
}
@media(max-width:480px){
  .document-shortcuts>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quarter-toggle{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .quarter-toggle button{min-width:0}
}
