:root{--primary:#024440;--primary-hover:#0b2f28;--primary-light:#edf6f2;--bg:#f7f9f8;--text-main:#17211e;--text-secondary:#61716b;--text-tertiary:#8b9791;--border:#e1e8e4;--mint:#8fe0c4;--radius:14px;--radius-sm:8px;--shadow:none;--shadow-lg:0 18px 60px #0b2f2815;--font:system-ui,-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif}
body{font-family:var(--font);font-size:14px;background:#fff}button,input,select,textarea{font-family:inherit}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid #1f6a59}button{transition:background .18s,transform .18s}button:disabled{opacity:.6;cursor:wait}.ph{font-size:20px}button .ph{font-size:18px}.btn{border-radius:8px;padding:11px 18px;font-weight:600;font-size:13px}.btn-primary{box-shadow:0 2px 0 #8fe0c4}.btn-sm{padding:9px 14px}.btn-xs{padding:5px 9px;font-size:12px}.brand-lockup{display:flex;align-items:center;gap:12px;color:var(--primary)}.brand-lockup>.ph{font-size:37px}.brand-lockup strong{font-size:20px;letter-spacing:-.5px;display:block}.brand-lockup small{display:block;font-size:9px;letter-spacing:4px;color:#71877d;margin-top:3px}
.login-page{min-height:100vh;background:#f7f9f8;align-items:stretch!important;display:flex;padding:24px;gap:0}.login-story{flex:0 0 48%;border-radius:20px;background:#0b2f28;color:#fff;display:flex;flex-direction:column;padding:48px 54px;min-height:calc(100vh - 48px)}.login-story .brand-lockup{color:#fff}.login-story .brand-lockup small{color:#a2c1b5}.login-story .brand-lockup>.ph{color:#8fe0c4}.story-main{margin:auto 0;padding:60px 0}.story-kicker{font-size:11px;letter-spacing:2.5px;color:#8fe0c4;margin-bottom:26px}.story-main h2{font-size:clamp(32px,3.5vw,54px);font-weight:550;line-height:1.38;letter-spacing:-2px;margin-bottom:25px}.story-main h2 span{color:#8fe0c4}.story-main p{font-size:15px;line-height:1.9;color:#b2cbc0;max-width:370px}.story-points{display:flex;gap:28px;margin-top:46px;border-top:1px solid #ffffff20;padding-top:22px;color:#c0d2c9;font-size:12px}.story-points .ph{color:#8fe0c4;display:block;font-size:23px;margin-bottom:10px}.story-footer{display:flex;justify-content:space-between;font-size:10px;color:#799b8b;letter-spacing:.8px}.login-side{flex:1;display:flex;align-items:center;justify-content:center;position:relative;padding:55px 30px}.login-box{width:360px;padding:0;background:transparent;border:0;box-shadow:none}.login-eyebrow{color:#7b8d83;font-size:11px;letter-spacing:2px;margin-bottom:16px}.login-box h1{font-size:30px;text-align:left;letter-spacing:-.9px;margin-bottom:10px;font-weight:650}.login-box .subtitle{text-align:left;font-size:14px;line-height:1.8;margin-bottom:38px}.login-box label{font-size:13px;font-weight:600;margin-bottom:9px}.login-box input{padding:13px 14px;border-radius:8px;font-size:14px;height:48px;background:white}.login-box input:focus{border-color:#1f6a59;box-shadow:0 0 0 3px #0244400b}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.password-toggle{border:0;background:none;position:absolute;right:9px;top:7px;width:34px;height:34px;color:#718278;display:grid;place-items:center}.login-box .btn{margin-top:12px;height:48px;display:flex;justify-content:space-between;padding:0 18px}.login-error{background:#fff0ee;padding:10px 12px;border-radius:8px;text-align:left;font-size:12px;line-height:1.6}.login-footnote{font-size:12px;color:#8b9791;line-height:1.7;margin-top:24px;text-align:center}.login-footer{position:absolute;bottom:14px;color:#94a298;font-size:11px}.preview-login{display:none;margin-top:22px;border-top:1px solid #dce4e1;padding-top:16px;font-size:12px;color:#6a7772}.preview-login button{background:#edf6f2;border:1px solid #cce3d8;border-radius:6px;padding:7px 10px;color:#024440;margin-top:8px;cursor:pointer}.is-preview .preview-login{display:block}
.sidebar{width:218px;background:#f6f9f7;border-right:1px solid #edf1ee;padding:29px 15px 16px}.sidebar-header{padding:0 10px 36px}.sidebar-user{order:4;margin:auto 8px 16px;padding:0;background:none}.sidebar-user .avatar{width:36px;height:36px;background:#e1eee8;color:#024440;font-size:14px}.sidebar-user .info .name{font-size:13px}.sidebar-user .info .role{font-size:10px;color:#84938b;margin-top:3px}.sidebar-nav{flex:1;padding:0;overflow:visible}.sidebar-nav a{position:relative;display:flex;gap:13px;padding:14px 14px;margin:5px 0 12px;border-radius:8px;font-size:14px;color:#58665f;font-weight:500}.sidebar-nav a.active{background:#e2efea;color:#024440;font-weight:650}.sidebar-nav a.active:before{content:'';position:absolute;left:0;top:16px;bottom:16px;width:3px;background:#024440;border-radius:3px}.sidebar-nav .ph{font-size:21px}.sidebar-nav .nav-team{border-top:1px solid #e1e8e4;margin-top:22px;padding-top:12px}.sidebar-footer{order:5;border:0;padding:0 8px}.sidebar-footer a{padding:8px 0;font-size:12px;gap:10px}.sidebar-header .brand-lockup strong{font-size:19px}.sidebar-header .brand-lockup>.ph{font-size:31px}.main-content{margin-left:218px;padding:32px 32px 24px;max-width:1820px;width:calc(100% - 218px);min-width:0}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.dashboard-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650;display:inline-block;margin-right:20px}.dashboard-heading .heading-copy{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.dashboard-heading p{font-size:12px;color:#7c8982}.heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0}.current-date{font-size:11px;color:#8b9791}.heading-actions .btn{min-width:135px;justify-content:space-between}.report-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:17px}.segmented{display:inline-flex;background:#f2f5f3;border-radius:8px;padding:3px;gap:2px}.segmented button{padding:8px 17px;border:0;background:none;border-radius:6px;color:#7a8980;font-size:12px;cursor:pointer}.segmented button.active{background:#024440;color:#fff}.segmented.small button{padding:6px 14px;font-size:11px}.report-controls input{border:1px solid #dce4e1;border-radius:6px;font-size:12px;padding:7px 9px;background:white;color:#43584e}.range-label{font-size:12px;color:#78867e;border-left:1px solid #dce4e1;padding-left:18px}.custom-range{display:none;gap:8px;align-items:center}.preview-label{margin-left:auto;font-size:10px;color:#7a8f82;display:none;gap:7px;align-items:center}.is-preview .preview-label{display:flex}.preview-label select{border:1px solid #dce4e1;border-radius:5px;padding:5px;color:#526d5c;background:#fff;font-size:10px}.metrics-band{display:grid;grid-template-columns:repeat(4,1fr);background:#eff7f3;border-radius:13px;padding:26px 10px;margin-bottom:18px}.metric{padding:0 26px;border-right:1px solid #d7e7de}.metric:last-child{border:0}.metric-label{font-size:13px;color:#4b6054;font-weight:550;display:flex;gap:6px;align-items:center}.metric-value{font-size:44px;line-height:1.2;letter-spacing:-1.8px;font-weight:580;color:#10251b;margin:8px 0}.metric:first-child .metric-value{color:#024440}.metric-note{font-size:11px;color:#87968d}.metric-note strong{font-weight:550;color:#1f6a59}.metric-value small{font-size:24px;margin-left:2px}.chart-layout{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(280px,1fr);gap:16px;margin-bottom:16px}.chart-panel{padding:22px 22px 18px;border:1px solid #e3eae6;border-radius:14px;background:#fff;min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.panel-heading h2{font-size:17px;font-weight:650;letter-spacing:-.3px;line-height:1.5}.panel-heading p{font-size:11px;color:#8a978f;margin-top:4px}.chart-legend{display:flex;justify-content:flex-end;gap:18px;font-size:10px;color:#798d80;margin:13px 0 10px}.chart-legend span{display:flex;align-items:center;gap:6px}.legend-dot{height:7px;width:7px;border-radius:50%;display:inline-block;background:#024440}.legend-line{height:2px;width:14px;background:#58b599;display:inline-block}.chart-canvas{height:244px;position:relative}.chart-canvas canvas{width:100%!important;height:100%!important}.source-panel{background:#024440;border-color:#024440;color:white;display:flex;flex-direction:column;padding:22px 23px}.source-panel .panel-heading h2{color:#fff}.source-panel .panel-heading p{color:#a2bfb2}.source-donut{position:relative;height:213px;margin:5px 0 15px}.donut-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;font-size:11px;color:#a5c8b8}.donut-center strong{font-size:37px;color:#fff;font-weight:550;line-height:1.3;margin:4px 0}.source-legend{margin-top:auto}.source-row{display:flex;gap:10px;align-items:center;font-size:12px;padding:8px 0;border-top:1px solid #ffffff12}.source-row .source-name{flex:1}.source-row b{font-size:13px;font-weight:500}.source-row .source-pct{min-width:49px;text-align:right;color:#b6d1c5;font-size:11px}.bottom-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:16px}.bottom-layout .chart-canvas{height:173px;margin-top:12px}.allocation-list{margin-top:22px;display:grid;gap:15px}.owner-row{display:grid;grid-template-columns:61px 1fr 25px;align-items:center;gap:12px;font-size:12px;color:#5e7166}.owner-row .owner-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.owner-track{height:15px;background:#f0f5f2;border-radius:4px;overflow:hidden}.owner-bar{height:100%;background:#a6d2c0;border-radius:4px}.owner-row:first-child .owner-bar{background:#024440}.owner-value{text-align:right;font-size:12px;color:#264c3a}.empty-inline{color:#809488;text-align:center;padding:52px 15px;font-size:12px}.data-note{font-size:10px;color:#99a59d;text-align:right;margin-top:13px}.dashboard-error{padding:25px;border:1px solid #e8c7be;background:#fff6f3;border-radius:12px;margin:14px 0;color:#945541;display:none}.mobile-brand{display:none}.dash-header h1{font-size:28px;letter-spacing:-.6px}.customer-card{border-radius:12px;box-shadow:none}.customer-card:hover{box-shadow:0 5px 16px #02444009;border-color:#b7cfc0}.modal-box{border-radius:15px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1f6a59;box-shadow:0 0 0 3px #edf6f2}.form-section-title i{color:#1f6a59}.bg-blue,.bg-purple{background:#edf6f2;color:#024440}.card{box-shadow:none}.loading-data{opacity:.45;pointer-events:none}
@media(min-width:1550px){.main-content{padding:40px 44px}.chart-canvas{height:295px}.source-donut{height:258px}.bottom-layout .chart-canvas{height:195px}.metrics-band{padding:28px 10px}}
@media(max-width:1200px){.sidebar{width:190px;padding-left:10px;padding-right:10px}.main-content{margin-left:190px;width:calc(100% - 190px);padding:26px 22px}.dashboard-heading .heading-copy{display:block}.dashboard-heading h1{font-size:28px;margin-bottom:7px}.metric{padding:0 17px}.metric-value{font-size:37px}.chart-layout{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.chart-panel{padding:18px 17px}.source-donut{height:206px}.chart-canvas{height:248px}.panel-heading h2{font-size:15px}.login-story{padding:38px}.story-points{gap:19px}}
@media(max-width:900px){.sidebar{width:76px;padding:25px 10px}.sidebar-header{padding:0 8px 27px}.sidebar .brand-lockup div,.sidebar .nav-label,.sidebar-user .info,.sidebar-footer .signout-label{display:none}.sidebar-nav a{justify-content:center;padding:13px}.sidebar-user{margin: auto auto 14px}.sidebar-footer a{justify-content:center}.main-content{margin-left:76px;width:calc(100% - 76px);padding:25px 20px}.chart-layout{grid-template-columns:1.6fr 1fr}.metrics-band{padding:23px 4px}.metric{padding:0 14px}.metric-value{font-size:34px}.metric-note{font-size:10px}.range-label{font-size:11px}.preview-label{margin-left:0}.dashboard-heading p{font-size:11px}.login-story{flex-basis:43%;padding:30px}.story-main h2{font-size:35px}.story-points{flex-direction:column;gap:18px}.story-points .ph{display:inline-block;vertical-align:middle;margin:0 10px 0 0}.story-footer span:last-child{display:none}.login-side{padding:30px}.source-donut{height:195px}.source-row{font-size:11px}}
@media(max-width:680px){.login-page{padding:0;display:block!important;min-height:100vh}.login-page[style*="none"]{display:none!important}.login-story{min-height:0;border-radius:0;padding:26px}.story-main{padding:30px 0 5px}.story-main h2{font-size:29px;letter-spacing:-1px;margin-bottom:10px}.story-main p{font-size:12px}.story-kicker,.story-points,.story-footer{display:none}.login-side{padding:35px 25px 62px}.login-box{width:100%;max-width:380px}.login-box h1{font-size:26px}.login-box .subtitle{margin-bottom:25px}.login-footer{bottom:20px}.sidebar{width:100%;height:65px;top:auto;bottom:0;flex-direction:row;padding:3px 8px;background:#fff;border-top:1px solid #e1e8e4;box-shadow:0 -3px 20px #02444008;z-index:80}.sidebar-header,.sidebar-user,.sidebar-footer{display:none}.sidebar-nav{display:flex;align-items:stretch;justify-content:space-around;gap:6px}.sidebar-nav a{margin:0;padding:5px 7px;flex:1;display:flex;flex-direction:column;gap:3px;font-size:10px;min-width:0}.sidebar .nav-label{display:block;font-size:10px}.sidebar-nav a.active:before{display:none}.sidebar-nav .nav-team{margin:0;padding:0;border:0;display:contents}.main-content{margin:0;width:100%;padding:22px 16px 85px}.dashboard-heading{align-items:flex-start;margin-bottom:18px;gap:8px}.dashboard-heading h1{font-size:25px}.dashboard-heading p{font-size:10px;max-width:190px;line-height:1.7}.current-date{font-size:9px}.heading-actions{gap:10px}.heading-actions .btn{min-width:110px;font-size:11px;padding:9px 10px}.report-controls{gap:11px}.segmented button{padding:7px 13px;font-size:11px}.range-label{border:0;padding-left:0;font-size:10px}.preview-label{font-size:9px;margin-left:auto}.metrics-band{grid-template-columns:1fr 1fr;padding:4px 17px;row-gap:0}.metric{padding:17px 10px}.metric:nth-child(2){border:0}.metric:nth-child(-n+2){border-bottom:1px solid #d7e7de}.metric-value{font-size:35px;margin:5px 0}.metric-label{font-size:11px}.chart-layout,.bottom-layout{grid-template-columns:1fr}.chart-canvas{height:245px}.source-panel{min-height:310px}.source-donut{height:200px;margin:10px 0}.source-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.source-row{font-size:11px}.chart-panel{padding:19px 17px}.bottom-layout .chart-canvas{height:180px}.allocation-list{margin-bottom:10px}.data-note{font-size:9px;text-align:left;line-height:1.7}.dash-header{flex-wrap:wrap;gap:12px}.dash-header h1{font-size:24px}.form-row{flex-direction:column;gap:0}.modal-box{max-height:88vh;padding:22px}.modal-overlay{padding:15px}.filter-bar input{width:100%}.custom-range{flex-wrap:wrap}.custom-range input{max-width:137px}.mobile-brand{display:flex;align-items:center;justify-content:space-between;color:#527263;font-size:10px;margin-bottom:20px}.mobile-brand button{border:0;background:#edf6f2;border-radius:5px;padding:5px 9px;color:#1f6a59}}
.chart-layout>.chart-panel:first-child{display:flex;flex-direction:column}.chart-layout>.chart-panel:first-child .chart-canvas{flex:1;min-height:244px}.chart-note{font-size:11px;color:#7a8b80;line-height:1.7;margin-top:12px}.source-donut{height:180px;margin-bottom:12px}.source-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.source-row{font-size:11px;gap:6px;padding:9px 0;flex-wrap:wrap}.source-row .source-name{min-width:40px}.source-row .source-pct{min-width:34px;font-size:10px}.source-row b{font-size:12px}.source-panel{min-height:395px}.source-panel .empty-inline{grid-column:1/-1}.metric-note{line-height:1.6}.main-content{max-width:none}@media(min-width:1550px){.source-donut{height:210px}.source-panel{min-height:425px}}@media(max-width:1200px) and (min-width:681px){.source-legend{grid-template-columns:1fr}.source-row{padding:5px 0}.source-donut{height:150px}}@media(max-width:680px){.chart-layout>.chart-panel:first-child .chart-canvas{flex:none}.source-panel{min-height:340px}.source-donut{height:190px}.source-row{padding:8px 0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.chart-layout>.chart-panel:first-child .chart-canvas{flex:none;height:260px;min-height:0}.source-donut{flex-shrink:0}.chart-layout>.chart-panel:first-child .chart-note{margin-top:auto;padding-top:12px}@media(min-width:1550px){.chart-layout>.chart-panel:first-child .chart-canvas{height:290px}}
.segmented{flex-shrink:0}.segmented button{white-space:nowrap}@media(max-width:680px){.sidebar .sidebar-nav a .nav-label{display:block}.panel-heading p{line-height:1.6}.segmented.small button{padding:6px 10px}.source-row .source-name{min-width:30px}}
/* Brand simplification and distinct customer-source colors, 2026-09-08. */
.login-story{justify-content:center}.login-brand-simple h2{font-size:clamp(26px,3.25vw,54px);font-weight:600;letter-spacing:-1.4px;line-height:1.2;color:#fff;white-space:nowrap}.login-brand-simple p{font-size:18px;letter-spacing:3px;color:#b8d4c8;margin-top:20px}.sidebar-header{padding-left:6px;padding-right:0}.sidebar-wordmark{font-size:16px;font-weight:750;letter-spacing:-.6px;white-space:nowrap;color:#024440}.source-legend{gap:6px 16px}.source-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;column-gap:8px;row-gap:4px;padding:10px 0;border-top:1px solid #ffffff24}.source-row .legend-dot{width:11px;height:11px;border-radius:3px}.source-row .source-name{font-size:13px;font-weight:600;color:#fff;min-width:0;white-space:nowrap}.source-row b{font-size:14px;font-weight:600;color:#fff}.source-row .source-pct{grid-column:2 / 4;text-align:left;font-size:11px;color:#d0e4dc}.source-donut{margin-bottom:16px}@media(max-width:1200px){.sidebar-wordmark{font-size:14px}.login-brand-simple h2{font-size:30px;white-space:normal;max-width:310px}.source-row{padding:7px 0}}@media(max-width:900px) and (min-width:681px){.sidebar-header{display:none}.login-brand-simple h2{font-size:28px}.login-brand-simple p{font-size:15px}}@media(max-width:680px){.login-story{padding:48px 26px}.login-brand-simple h2{font-size:28px;letter-spacing:-.7px;max-width:none}.login-brand-simple p{font-size:14px;margin-top:14px;letter-spacing:2px}.source-row{padding:10px 0}}
/* Source composition follows the selected original three-segment design. */
.source-panel{background-color:#024440;background-image:radial-gradient(#91dfc310 .8px,transparent .8px);background-size:10px 10px}.source-panel .panel-heading{align-items:center;margin-bottom:10px}.source-period{font-size:11px;color:#c1dbd0;text-align:right;line-height:1.5;max-width:55%}.source-panel .source-donut{height:235px;margin:8px 0 16px}.source-panel .source-legend{display:grid;grid-template-columns:1fr;gap:0}.source-panel .source-row{grid-template-columns:12px minmax(0,1fr) 42px 62px;gap:9px;padding:10px 0;align-items:center}.source-panel .source-row .legend-dot{width:11px;height:11px;border-radius:50%}.source-panel .source-row .source-name{font-size:13px;font-weight:500}.source-panel .source-row b{font-size:13px;text-align:right;font-weight:500}.source-panel .source-row .source-pct{grid-column:auto;text-align:right;font-size:12px;color:#e3f3ec}.source-panel .donut-center{color:#e2f3eb;font-size:13px}.source-panel .donut-center strong{font-size:37px;line-height:1.15;margin:4px 0}@media(max-width:1200px) and (min-width:681px){.source-panel .source-donut{height:190px}.source-panel .source-row{grid-template-columns:10px minmax(0,1fr) 28px 50px;gap:7px}.source-panel .source-row .source-name{font-size:12px}}@media(max-width:680px){.source-panel .source-donut{height:220px}.source-period{font-size:10px}}
