:root{font-family:"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#19333a;background:#f5f7f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{display:flex;min-height:100vh}.sidebar{width:236px;flex:none;position:sticky;top:0;height:100vh;padding:28px 17px;background:#122c30;color:#d7e6e1;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:750;letter-spacing:-.5px;padding:4px 10px 36px;color:#fff}.brand-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#90dfc3;color:#12382f;font-size:22px}.brand small{display:block;font-size:11px;font-weight:500;color:#9ebbb0;letter-spacing:1px;margin-top:2px}.side-label{margin:12px 12px 12px;font-size:11px;color:#8baaa0;letter-spacing:1.1px}.side-label-secondary{margin-top:25px}.side-nav{display:grid;gap:4px}.side-nav a{display:flex;align-items:center;gap:14px;padding:12px 13px;border-radius:10px;font-size:14px;font-weight:600;min-height:46px}.side-nav a span{font-size:19px;width:21px;text-align:center;color:#9cbeaf}.side-nav a:hover,.side-nav a.active{background:#254c4a;color:#fff}.side-nav a.active span{color:#a6ebcf}.sidebar-foot{margin-top:auto;border-top:1px solid #34524f;padding:18px 12px 0;font-size:12px;color:#9bb6ad}.main{flex:1;min-width:0}.topbar{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;border-bottom:1px solid #e2e9e5}.top-title{font-size:15px;font-weight:700}.top-actions{display:flex;align-items:center;gap:8px;font-size:12px;color:#70847d}.preview-dot{width:7px;height:7px;border-radius:50%;background:#d8a448}.top-divider{width:1px;height:15px;background:#dde5e1;margin:0 9px}.page{max-width:1480px;margin:auto;padding:29px 36px 50px}.preview-banner{display:flex;align-items:center;gap:10px;background:#fff7e9;color:#755722;border:1px solid #ead7ae;border-radius:11px;padding:11px 15px;font-size:13px}.preview-banner strong{background:#f6e2b9;border-radius:5px;padding:4px 7px;white-space:nowrap}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 23px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#248a72;margin:0 0 8px}.page-intro h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:0}.page-intro p:last-child{font-size:14px;color:#687d77;margin:9px 0 0}.book-chip{background:#e9f1ec;border:1px solid #d8e4da;color:#416457;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:700;white-space:nowrap}.book-chip span{color:#94aea1;margin:0 3px}.period-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#fff;border:1px solid #e4ebe6;border-radius:12px;padding:14px 17px;color:#6f8079;font-size:13px;margin-bottom:20px}.period-bar strong{color:#21443b}.period-divider{width:1px;height:16px;background:#dce5df;margin:0 10px}.period-note{margin-left:auto;color:#789087}.grid{display:grid;gap:15px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:#fff;border:1px solid #e2eae5;border-radius:14px;padding:21px;box-shadow:0 3px 14px #1c4e3b08;min-width:0}.metric-label{font-size:13px;color:#62776e}.metric-value{font-size:27px;letter-spacing:-.5px;font-weight:750;margin-top:8px;overflow-wrap:anywhere}.metric-foot{font-size:12px;color:#71857a;margin-top:7px}.positive{color:#157a5b}.negative{color:#bd6147}.neutral{color:#61766e}.section-grid{grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);margin-top:15px}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.section-title h2{font-size:18px;margin:0}.section-title p{font-size:12px;color:#73877d;margin:5px 0 0}.tag{font-size:11px;background:#eaf3ed;color:#3d795d;padding:5px 8px;border-radius:6px;white-space:nowrap}.chart{height:240px;width:100%;overflow:hidden}.chart svg{width:100%;height:100%}.chart-legend{display:flex;gap:18px;flex-wrap:wrap;color:#6f8179;font-size:12px;margin-top:8px}.chart-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.summary-list{display:grid;gap:0}.summary-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1ed;padding:12px 0;font-size:13px}.summary-row:last-child{border:0}.summary-row strong{text-align:right}.mini-note{font-size:12px;color:#778980;line-height:1.55;margin-top:16px}.data-table{width:100%;border-collapse:collapse;min-width:660px}.data-table th{text-align:right;font-size:12px;color:#62766d;background:#f6f8f6;padding:11px 12px;white-space:nowrap}.data-table td{text-align:right;font-size:13px;border-bottom:1px solid #ebefeb;padding:12px;white-space:nowrap}.data-table th:first-child,.data-table td:first-child{text-align:left;font-weight:650}.data-table tr:last-child td{border-bottom:0}.table-wrap{overflow-x:auto}.table-caption{font-size:12px;color:#6b8175;margin:10px 0 0}.section-stack{display:grid;gap:16px}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.comparison-card h3{margin:0 0 14px;font-size:16px}.comparison-card .data-table{min-width:420px}.aging-list{display:grid;gap:10px}.aging-item{border:1px solid #e5ece7;border-radius:10px;padding:14px}.aging-item-head{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:700}.aging-item-sub{font-size:12px;color:#75887c;margin-top:6px}.bucket{font-size:11px;background:#f8e9de;color:#9f5b3e;padding:5px 7px;border-radius:5px}.inline-link{color:#1c8066;font-weight:700}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-field{display:grid;gap:7px;font-size:13px;margin:15px 0}.settings-field select{padding:10px;border:1px solid #cbdad0;border-radius:8px;background:#fff}.callout{border-left:3px solid #70bb99;background:#f1f8f3;padding:13px 15px;font-size:13px;line-height:1.6;color:#476759}.more-list{display:grid;gap:10px}.more-list a{background:#fff;border:1px solid #e2eae5;border-radius:12px;padding:16px;font-weight:700}.more-list a span{float:right;color:#8aa79a}footer{text-align:center;color:#8b9a90;font-size:12px;margin-top:26px}.bottom-nav{display:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #17846b;outline-offset:2px}
@media(max-width:1180px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{display:none}.topbar{height:54px;padding:0 17px}.top-actions{font-size:11px}.top-divider,#today{display:none}.page{padding:17px 14px 105px}.preview-banner{align-items:flex-start;font-size:12px;line-height:1.4}.page-intro{margin:24px 0 19px}.page-intro h1{font-size:25px}.page-intro p:last-child{font-size:13px}.book-chip{display:none}.period-bar{font-size:12px;padding:12px}.period-note{width:100%;margin-left:0}.metric-grid{gap:9px}.card{padding:16px}.metric-value{font-size:21px}.metric-label{font-size:12px}.metric-foot{font-size:11px}.comparison-grid,.settings-grid{grid-template-columns:1fr}.chart{height:210px}.section-title h2{font-size:16px}.data-table td,.data-table th{font-size:12px;padding:10px}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;border-top:1px solid #dfe8e1;padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #12352a15}.bottom-nav a{min-height:52px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:9px;font-size:11px;color:#6e8177;font-weight:700}.bottom-nav a span{font-size:19px;line-height:1.1}.bottom-nav a.active{background:#e5f4e9;color:#15684f}footer{line-height:1.5}}

/* Boss-facing visual system. Remote font and icons have local/system fallbacks. */
:root{font-family:Manrope,Aptos,"Segoe UI",sans-serif;color:#172f2e;background:#f3f6f4}
body{background:radial-gradient(circle at 84% -12%,#dbece3 0,transparent 35%),#f3f6f4}
.sidebar{background:linear-gradient(165deg,#102d32,#153a35 62%,#102e33);box-shadow:12px 0 36px #183a3020}
.brand-symbol{border-radius:12px;background:linear-gradient(145deg,#b9f0d0,#75cea9);box-shadow:0 8px 20px #72d7ac28}
.brand small{letter-spacing:1.25px;font-size:9px}
.side-nav a,.bottom-nav a{transition:background-color .22s ease,color .22s ease,transform .22s ease}
.side-nav a:hover{transform:translateX(3px)}
.side-nav a.active{background:#2b6057;box-shadow:inset 3px 0 #9be3bf}
.side-nav a [data-lucide],.side-nav a svg{width:19px;height:19px;flex:none;stroke-width:1.8}
.side-nav a span{display:inline-flex;justify-content:center;align-items:center}
.topbar{background:#ffffffd9;backdrop-filter:blur(12px)}
.page-intro h1{font-size:clamp(28px,3vw,39px);letter-spacing:-1.5px;font-weight:800}
.eyebrow{letter-spacing:1.8px}
.card,.period-bar{border-color:#dce7df;box-shadow:0 9px 32px #2349390b}
.card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 36px #23493914;border-color:#bfd9c9}
.metric-value{letter-spacing:-1.2px;font-variant-numeric:tabular-nums}
.data-table td{font-variant-numeric:tabular-nums}
.data-table tbody tr{transition:background-color .2s ease}
.data-table tbody tr:hover{background:#f5faf6}
.preview-banner{box-shadow:0 5px 18px #bc955312}
#view{animation:view-enter .35s cubic-bezier(.2,.8,.2,1) both}
.aging-item{transition:border-color .2s ease,box-shadow .2s ease}
.aging-item:hover,.aging-item[open]{border-color:#a8d1bb;box-shadow:0 8px 22px #2349390c}
.aging-item-head{cursor:pointer}
.bottom-nav svg{width:19px;height:19px;stroke-width:1.8}
@keyframes view-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.bottom-nav{background:#fffffff0;backdrop-filter:blur(14px)}.page-intro h1{letter-spacing:-.9px}.card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* On phones, a top report menu keeps every page one tap away without occupying the bottom edge. */
.mobile-menu-toggle,.mobile-menu{display:none}
.mobile-menu-toggle{align-items:center;gap:8px;border:1px solid #c9ded2;border-radius:10px;background:#eef6ef;color:#205d49;padding:9px 12px;font-weight:800;font-size:12px}
.mobile-menu-toggle svg,.mobile-menu-close svg{width:18px;height:18px}
.mobile-menu{border:1px solid #dce7df;border-radius:18px;background:#fff;box-shadow:0 24px 70px #112c3140;color:#172f2e;padding:13px;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 72px);overflow:auto}
.mobile-menu[open]{display:block;animation:menu-enter .22s cubic-bezier(.2,.8,.2,1) both}
.mobile-menu::backdrop{background:#0d292d70;backdrop-filter:blur(3px)}
.mobile-menu-head{display:flex;justify-content:space-between;align-items:center;padding:9px 9px 12px;border-bottom:1px solid #e6eee9}
.mobile-menu-head h2{font-size:21px;letter-spacing:-.6px;margin:3px 0 0}
.mobile-menu-kicker,.mobile-menu-label{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#729082}
.mobile-menu-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:#f1f6f3;color:#315b4a}
.mobile-menu-label{padding:18px 12px 7px}
.mobile-menu nav a{display:flex;align-items:center;gap:13px;min-height:51px;padding:10px 12px;border-radius:11px;font-size:14px;font-weight:700;transition:background-color .18s ease,color .18s ease}
.mobile-menu nav a svg{width:19px;height:19px;flex:none;stroke-width:1.8;color:#698b79}
.mobile-menu nav a:hover,.mobile-menu nav a.active{background:#e6f4ea;color:#175e49}
.mobile-menu nav a.active svg{color:#178060}
@keyframes menu-enter{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.topbar{position:sticky;top:0;z-index:25;gap:8px}.top-actions{margin-left:auto}.mobile-menu-toggle{display:inline-flex}.mobile-menu{position:fixed;top:64px;right:12px;left:auto;margin:0 0 0 auto}.bottom-nav{display:none}.page{padding-bottom:40px}.top-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:370px){.top-actions{display:none}.mobile-menu-toggle{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.mobile-menu[open]{animation:none}}

/* Hybrid phone navigation: three frequent reports below, full report drawer from More. */
.section-grid + .card{margin-top:15px}
.report-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.report-shortcuts a{display:flex;align-items:center;gap:10px;min-height:58px;border:1px solid #dbe9df;border-radius:11px;padding:12px;background:#f7fbf8;font-size:13px;transition:background-color .2s ease,transform .2s ease}
.report-shortcuts a:hover{background:#e7f5eb;transform:translateY(-2px)}
.report-shortcuts svg,.report-shortcuts [data-lucide]{width:19px;height:19px;flex:none;color:#218c69}
.report-shortcuts strong{font-weight:750}
.shortcut-arrow{margin-left:auto;color:#388266;font-size:18px}
.bottom-nav button{border:0;background:transparent;color:#6e8177;font-weight:700;font-size:11px;cursor:pointer}
.bottom-nav button,.bottom-nav a{min-width:0}
.bottom-nav button svg{width:19px;height:19px;stroke-width:1.8}
.bottom-nav button.active{background:#e5f4e9;color:#15684f}
@keyframes drawer-enter{from{opacity:.7;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:760px){
  .topbar .mobile-menu-toggle{width:39px;height:39px;justify-content:center;padding:0;border-radius:11px}
  .bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fffffff0;backdrop-filter:blur(14px)}
  .bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:52px;border-radius:9px}
  .bottom-nav button.active{background:#e5f4e9;color:#15684f}
  .bottom-nav a span,.bottom-nav button span{font-size:19px;line-height:1.1}
  .page{padding-bottom:105px}
  .mobile-menu{top:0;right:0;left:auto;width:min(360px,calc(100vw - 32px));height:100dvh;max-height:100dvh;margin:0;border-radius:20px 0 0 20px;padding:16px 14px calc(16px + env(safe-area-inset-bottom))}
  .mobile-menu[open]{animation:drawer-enter .24s cubic-bezier(.2,.8,.2,1) both}
  .report-shortcuts{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.mobile-menu[open]{animation:none}.report-shortcuts a:hover{transform:none}}
