/* App-specific visual identity; shared behavior remains in demo.js. */
:root{--ink:#242039;--muted:#696078;--line:#e6dfef;--bg:#f8f6fc}h1,td strong,.item-card h3,.item-card .large,.insight-list strong{color:var(--ink)}.btn,.text-btn{color:var(--accent)}.btn.primary{background:var(--accent);border-color:var(--accent)}.btn:not(.primary):not(.danger){background:var(--pale);border-color:var(--line)}.panel-heading{background:var(--pale);border-color:var(--line)}.form-grid input,.form-grid select,.form-grid textarea{background:var(--bg);border-color:var(--line);color:var(--ink)}.form-grid label{color:var(--ink)}.dialog{border-color:var(--line)}.dialog::backdrop{background:#21183088}.tools input,.tools select{background:var(--bg);border-color:var(--line);color:var(--ink)}.badge:not(.good):not(.warn):not(.bad){background:var(--pale);border-color:var(--line);color:var(--accent)}.avatar{background:var(--pale);color:var(--accent)}.eyebrow,.fine,.hero-note{color:var(--muted)}.date-control{border-color:var(--line)}.date-control button,.date-control input{color:var(--accent)}.date-control .today{background:var(--pale)}th{background:var(--pale);color:var(--accent)}td{color:var(--muted);border-color:var(--line)}td small{color:var(--muted)}.notice,.kpi-pairs>div{background:var(--pale);border-color:var(--line);color:var(--ink)}.kpi-pairs small,.app-footer,.app-footer b{color:var(--muted)}.meter>span{background:var(--accent)}.text-btn{color:var(--accent)}.sample-pill{background:var(--pale);color:var(--accent);border-color:var(--line)}.insight-list>button,.insight-list>div{background:var(--bg);border-color:var(--line)}.table-foot,.empty{background:var(--bg);color:var(--muted)}.table-foot{border-color:var(--line)}.item-card{border-color:var(--line)}.metric strong{font-variant-numeric:tabular-nums}button:focus-visible,a:focus-visible{outline-color:var(--accent)}.close{color:var(--accent);background:var(--pale)}

body[data-app=fees]{--nav:#0d1c36;--accent:#2368e8;--pale:#edf3ff;--ink:#132b50;--muted:#657794;--line:#dde6f3;--bg:#f3f6fc;background:var(--bg)}
aside.sidebar{width:206px;background:#0d1c36;padding-top:30px;border-right:1px solid #263852}.main{margin-left:206px}.brand{font-size:25px;letter-spacing:-1px}.brand-icon{background:#2368e8;border-radius:9px}.workspace{background:#182b48;border:0;border-radius:8px;color:#e3ebf7;font-size:11px}.workspace small{color:#97add0}.nav-label{color:#6c8ab4}nav button{color:#9bb1d0;border-radius:8px;padding:14px 11px}nav button.active{background:#2368e8;box-shadow:0 8px 20px #06152e}.sidebar-note{border:0;border-top:1px solid #2c405b;border-radius:0;background:none;padding:22px 5px}.sidebar-note h3{font-size:16px}.sidebar-note p{font-size:11px;color:#88a2c6}.sidebar-note>span{color:#5994ff}.back-link{color:#819fc8;font-size:10px}header{background:transparent;border-bottom:1px solid var(--line);height:66px}.container{padding-top:30px}h1{font-size:35px;font-weight:850}.page-head{margin-bottom:24px}.sample-banner{background:#e7efff!important;border:1px solid #cfddf5;border-radius:12px;padding:20px 25px;min-height:120px}.sample-banner h2{color:#153c77;font-size:26px;letter-spacing:-.8px}.sample-banner h2 span{color:#4381ed}.sample-banner .eyebrow{color:#4774bc;font-size:8px}.sample-banner p{color:#5073a7;font-size:12px}.banner-mark{border-radius:9px;background:#d2e2ff;color:#3d73c7;border-color:#bad2fa;font-size:33px;width:56px;height:57px;transform:rotate(0)}.sample-banner:after{border-color:#b0cbf648}.btn{border-radius:8px}.filter-bar{margin-bottom:23px}.date-control{border-radius:8px}.metric,.metric:nth-child(n){background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:none;padding:19px 21px}.metric strong{color:#1e4d99;font-size:28px;letter-spacing:-.6px}.metric-top{color:#6980a4;font-size:11px}.metric-top>span{color:#467de0}.metric small{color:#7b8da9;font-size:10px}.metric strong em{color:#6d91c8}.metric:after{display:none}.metric:nth-child(2){background:#1e5ed0;border-color:#1e5ed0}.metric:nth-child(2) .metric-top,.metric:nth-child(2) strong,.metric:nth-child(2) small{color:#fff}.metric:nth-child(2) .metric-top>span,.metric:nth-child(2) strong em{color:#bcd6ff}.metric:nth-child(4){border-left:3px solid #df8960}.panel{border-radius:12px;box-shadow:none}.panel-heading{background:#fff;padding:23px;border-color:#edf1f7}.panel-heading h2{font-size:18px}.panel-heading p{font-size:11px}.panel-body{padding:25px}.grid-two{grid-template-columns:minmax(0,1fr);gap:0}.grid-two>.panel:first-child{background:linear-gradient(125deg,#fff,#f7faff)}.grid-two>.panel:first-child .panel-heading{background:transparent}.grid-two>.panel:last-child .insight-list{display:grid;grid-template-columns:repeat(3,1fr)}.insight-list>button,.insight-list>div{background:white;border-right:1px solid #e7edf7;padding:18px}.insight-list strong{color:#2c5392;font-size:12px}.insight-list p{font-size:10px}.meter{height:8px}.meter>span{background:linear-gradient(90deg,#689bfb,#2869e5)}.grid-two .panel-body svg{width:135px;height:135px}.row-person .avatar{border-radius:9px}td strong{font-variant-numeric:tabular-nums}.app-footer{padding-top:9px}.table-foot{background:#f8faff}
body[data-view=overview] #content{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:0 22px;align-items:start}body[data-view=overview] #content>.metrics{grid-column:2;grid-row:1;grid-template-columns:1fr;gap:12px}body[data-view=overview] #content>.grid-two{grid-column:1;grid-row:1}body[data-view=overview] #content>.panel{grid-column:1/-1}
@media(max-width:1150px){aside.sidebar{width:192px}.main{margin-left:192px}body[data-view=overview] #content{grid-template-columns:minmax(0,1fr) 220px;gap:0 16px}.metric,.metric:nth-child(n){padding:17px}.grid-two>.panel:last-child .insight-list{grid-template-columns:1fr}.grid-two .panel-body svg{width:110px;height:110px}}@media(max-width:950px){body[data-view=overview] #content{display:block}body[data-view=overview] #content>.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two>.panel:last-child .insight-list{grid-template-columns:repeat(3,1fr)}}@media(max-width:640px){aside.sidebar{width:226px}.main{margin-left:0}.page-head h1{font-size:28px}.sample-banner{padding:22px 20px}.sample-banner h2{font-size:26px}.grid-two>.panel:last-child .insight-list{grid-template-columns:1fr}.metric strong{font-size:27px}.metric,.metric:nth-child(n){padding:18px 14px}.grid-two .panel-body svg{width:95px;height:95px}.panel-body{padding:21px 18px}.panel-heading{padding:20px}.banner-mark{width:42px;height:48px;font-size:28px}}

body[data-app=fees] .metric:nth-child(3){background:#fff}

.head-actions .btn{white-space:nowrap}
