
:root{
  color-scheme:light; --ink:#172328; --muted:#59665e; --paper:#f3f4ee; --white:#fff;
  --line:#e1e5dc; --green:#235445; --green-soft:#e5eee5; --lime:#dcf283;
  --amber:#855116; --amber-bg:#f7edda; --blue:#32596e; --blue-bg:#e5edf4;
  --shadow:0 12px 36px #2132280d; --r:22px;
  font-family:"Segoe UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box} body{margin:0;background:var(--paper);color:var(--ink);min-width:320px;font-size:14px}
button,input,select,textarea{font:inherit} button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit} a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #548d70;outline-offset:3px}
button:disabled{cursor:default;opacity:.52} h1,h2,h3,p{margin:0} h1,h2,h3{line-height:1.22}
h1{font-size:clamp(29px,3.6vw,42px);letter-spacing:-.055em;font-weight:750}
h2{font-size:20px;letter-spacing:-.035em} h3{font-size:16px;letter-spacing:-.02em}
p{line-height:1.55}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.icon.sm{width:17px;height:17px}.icon.lg{width:26px;height:26px}
.mark{width:40px;height:40px;background:#1d382e;color:#e3f58c;display:grid;place-items:center;border-radius:13px;flex:none}
.mark .icon{width:25px;height:25px;stroke-width:2.2}
.shell{min-height:100dvh}.side{display:none}.mobilebar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px 9px}
.mobilebar .brand{min-width:0}.mobilebar .mark{width:34px;height:34px;border-radius:11px}
.brand{display:flex;align-items:center;gap:10px}.brand b{font-size:17px;letter-spacing:-.045em}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.context{display:flex;align-items:center;gap:6px;min-width:0}.context span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-actions{display:flex;align-items:center;gap:8px;flex:none}.top-actions button{position:relative}.dot-alert{width:8px;height:8px;background:#c65b33;border:2px solid white;border-radius:50%;position:absolute;top:7px;right:7px}
.circle-button,.icon-button{display:grid;place-items:center;border:1px solid var(--line);background:var(--white);width:42px;height:42px;border-radius:14px;padding:0;flex:none}
.circle-button:hover,.icon-button:hover{background:#eef4ea}.wrap{width:min(100%,1210px);margin:0 auto;padding:6px 16px calc(86px + env(safe-area-inset-bottom))}
.navbar{position:fixed;z-index:8;inset:auto 0 0;background:#fffffff5;backdrop-filter:blur(18px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}
.navitem{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:55px;font-size:11px;font-weight:650;color:#526058;border-radius:14px}
.navitem .navglyph{position:relative;display:grid;place-items:center;padding:3px 9px;border-radius:10px}
.navitem.active{color:#1c4c36}.navitem.active .navglyph{background:#e6f1c1}.navitem:hover{background:#f2f5ed}
.unread{position:absolute;right:1px;top:0;background:#bd5234;color:#fff;border-radius:20px;padding:0 4px;min-width:13px;font-size:9px;text-align:center}
.pagehead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 17px}
.pagehead .titleline{display:flex;align-items:center;gap:11px}.pagehead p{margin-top:5px;color:var(--muted);font-size:12px}.pagehead .icon-button{width:38px;height:38px}
.back{background:transparent;border-color:var(--line)}.pagehead.secondary h1{font-size:clamp(24px,3vw,34px)}
.btn{border:1px solid transparent;border-radius:13px;padding:10px 13px;min-height:42px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;background:var(--white);line-height:1.2}
.btn .icon{width:17px;height:17px}.btn.primary{background:var(--lime);color:#1e3323;border-color:#d3e77c}.btn.primary:hover{background:#d4ed6d}
.btn.dark{background:#224b3a;color:white}.btn.dark:hover{background:#16392a}
.btn.outline{border-color:var(--line);background:var(--white)}.btn.ghost{background:transparent;color:var(--green);padding-inline:6px}
.btn.danger{color:#953e30;background:#fff4ed}.btn.block{width:100%}.link{border:0;background:transparent;color:var(--green);font-weight:700;padding:7px 0;display:inline-flex;align-items:center;gap:3px;text-align:left}
.link:hover{text-decoration:underline}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}
.section-title p{font-size:12px;color:var(--muted);margin-top:4px}.section-title .link{font-size:12px;white-space:nowrap}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--shadow)}
.stack{display:grid;gap:13px}.layout{display:grid;gap:14px;align-items:start}.col{display:grid;gap:14px;min-width:0}
.hero{background:#18352b;color:#f2f6e9;border-radius:24px;padding:18px 17px 13px;position:relative;overflow:hidden;isolation:isolate;box-shadow:0 15px 34px #2941351d}
.hero::after{content:"";position:absolute;z-index:-1;right:-153px;top:-136px;width:408px;height:408px;border-radius:50%;background:repeating-radial-gradient(circle,#b8d5921a 0 1px,transparent 1px 18px);transform:rotate(-12deg);opacity:.7}
.hero-top{display:flex;align-items:center;justify-content:space-between;gap:6px;position:relative}.hero-tag{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:620;color:#edf5e1}
.hero-tag::before{content:"";width:7px;height:7px;background:var(--lime);border-radius:50%;box-shadow:0 0 0 4px #def28020}
.hero-link{display:flex;align-items:center;gap:3px;color:#f1f7df;font-size:11px;background:#ffffff12;border:1px solid #ffffff26;border-radius:20px;padding:6px 9px}
.hero-mid{display:grid;grid-template-columns:1fr 106px;align-items:end;margin:16px 0 15px;gap:8px}.hero-label{font-size:12px;color:#c5d6c7;margin-bottom:3px}
.hero-amount{font-size:clamp(34px,6vw,52px);line-height:1.05;letter-spacing:-.075em;font-weight:760;white-space:nowrap;font-variant-numeric:tabular-nums}
.hero-amount small{font-size:.57em;margin-right:2px;vertical-align:9%;font-weight:600}
.spark{height:64px;display:flex;align-items:end;justify-content:end;gap:5px;min-width:0;padding-right:1px}
.spark span{height:calc(var(--level)*1%);width:8px;min-height:5px;background:#94b7a084;border-radius:4px 4px 1px 1px}.spark span:last-child{background:var(--lime)}
.hero-kpis{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ffffff24;padding-top:12px}
.hero-kpis>div{padding-left:10px;border-left:1px solid #ffffff24}.hero-kpis>div:first-child{padding-left:0;border-left:0}
.hero-kpis b{display:block;font-size:17px;font-variant-numeric:tabular-nums;line-height:1.1}.hero-kpis span{display:block;color:#c5d6c7;font-size:11px;margin-top:5px}
.actiongrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.tile{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;border:0;background:transparent;padding:7px 2px;min-height:66px;border-radius:13px;font-weight:640;font-size:12px}
.tile:hover{background:#f0f4ea}.tile span:last-child{line-height:1.25;overflow-wrap:anywhere}
.glyph{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#29513c;background:#e9f1e2;flex:none}
.glyph .icon{width:19px;height:19px}.glyph.blue{background:var(--blue-bg);color:var(--blue)}.glyph.amber{background:var(--amber-bg);color:var(--amber)}.glyph.gray{background:#eef0eb;color:#46564b}.glyph.red{background:#faebdf;color:#954e37}
.avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:13px;background:#e3ecdb;color:#274d38;font-weight:750;font-size:14px}
.avatar.dark{background:#315444;color:#f0f7db}.avatar.amber{background:#f2e7d1;color:#744916}.avatar.blue{background:var(--blue-bg);color:var(--blue)}
.pill{display:inline-flex;align-items:center;gap:4px;justify-content:center;border-radius:30px;padding:4px 8px;background:#e9eee6;color:#3a5947;font-size:11px;font-weight:690;white-space:nowrap}
.pill.amber{background:var(--amber-bg);color:var(--amber)}.pill.blue{background:var(--blue-bg);color:var(--blue)}.pill.red{background:#f9e6df;color:#9a4c35}.pill.gray{background:#edf0ea;color:#56645a}
.rows{display:grid}.row{border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;min-height:55px;display:flex;align-items:center;gap:10px;width:100%;padding:9px 0}
.row:last-child{border-bottom:0}.row:hover{background:#f8faf5}.row-main{min-width:0;flex:1}.row-main b{display:block;font-size:14px;line-height:1.3}.row-main span{display:block;color:var(--muted);font-size:12px;margin-top:3px;line-height:1.45;overflow-wrap:anywhere}
.row-end{margin-left:auto;display:flex;gap:6px;align-items:center;flex:none}.row-count{font-size:19px;font-weight:750;font-variant-numeric:tabular-nums;min-width:24px;text-align:right}.row-chevron{color:#728075}
.tabstrip{display:flex;gap:5px;overflow:auto;scrollbar-width:none}.tabstrip::-webkit-scrollbar{display:none}
.tab{font-size:12px;white-space:nowrap;background:#edf0e8;border:1px solid transparent;border-radius:12px;padding:8px 11px;min-height:37px;color:#43564b;font-weight:620}
.tab.active{color:#234638;background:#dcebcf;border-color:#cdddbe}.tab:hover{border-color:#c4d3c3}
.seg{display:inline-flex;gap:2px;background:#eff1ea;border:1px solid #e8ece2;border-radius:12px;padding:2px}
.seg button{min-height:30px;background:transparent;border:0;border-radius:9px;padding:4px 8px;font-size:11px;white-space:nowrap}
.seg button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #20342315;color:#234734;font-weight:700}
.phases{display:grid;gap:8px;margin-top:10px}.phase{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:7px;padding:8px;background:#f5f7f1;border:1px solid #edf0e9;border-radius:14px}
.phase h3{font-size:11px;font-weight:760;color:#385844;display:flex;align-items:center;gap:4px}.phase h3::before{content:"";width:6px;height:6px;border-radius:50%;background:#608b70}
.phase-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.phase-links button{background:#fff;border:1px solid var(--line);min-height:38px;padding:3px;border-radius:9px;font-size:10px;line-height:1.2;overflow-wrap:anywhere}
.phase-links button:hover{border-color:#91ad8b}.phase-links b{display:block;font-size:13px;margin-bottom:2px}
.searchbar{display:flex;align-items:center;gap:9px;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:0 11px;min-height:44px;color:#52635a}
.searchbar input{border:0;background:transparent;width:100%;min-width:0;color:var(--ink);outline:none;height:42px}
.searchbar:focus-within{outline:2px solid #92b29c;outline-offset:1px}
.searchbar input:focus-visible{outline:none}.field{display:grid;gap:6px}.field label,.field legend{font-size:13px;font-weight:700}
.field :is(input,select,textarea){border:1px solid #cdd7ca;background:#fff;color:var(--ink);padding:11px 12px;border-radius:12px;width:100%;min-height:43px}
.field textarea{resize:vertical;min-height:78px}.form{display:grid;gap:13px}.formgrid{display:grid;gap:12px}
.empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:24px 12px;color:var(--muted)}
.empty .glyph{width:50px;height:50px;border-radius:16px}.empty b{font-size:15px;color:var(--ink)}
.card-list{display:grid;gap:10px}.record{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:16px;background:white;padding:13px;box-shadow:0 6px 14px #1b2c2208}
.record:hover{border-color:#9fb59d}.record-top{display:flex;align-items:center;gap:9px}.record-title{flex:1;min-width:0}.record-title b{display:block;font-size:16px}
.record-title small{color:var(--muted);display:block;font-size:11px;margin-top:3px}.record-bottom{display:flex;justify-content:space-between;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:8px;margin-top:9px;color:var(--muted);font-size:12px}
.record-bottom strong{color:#264634;font-size:14px;white-space:nowrap}.record .avatar{width:34px;height:34px;font-size:12px}
.banner{display:flex;align-items:center;gap:11px;padding:14px;border-radius:15px;background:#e9efdf;color:#294935}.banner p{font-size:12px}.banner b{font-size:14px}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.kpi{padding:11px 8px;background:#f3f6ee;border:1px solid #e9eee3;border-radius:13px}
.kpi b{display:block;font-size:clamp(16px,3vw,26px);font-variant-numeric:tabular-nums;letter-spacing:-.045em;white-space:nowrap}.kpi span{font-size:11px;color:var(--muted);display:block;margin-top:4px;overflow-wrap:anywhere}
.detail-top{display:flex;align-items:center;gap:11px}.detail-top h2{margin-top:4px}.detail-top .avatar{height:47px;width:47px;font-size:17px}.detail-top>div:nth-child(2){flex:1;min-width:0}.detail-top .muted{font-size:12px;margin-top:4px}
.info-list{display:grid;margin-block:5px}.info-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:10px 0}.info-list>div:last-child{border:0}.info-list dt{color:var(--muted);flex:none}.info-list dd{margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere}
.stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}.step{border-radius:12px;color:#506358;background:#e9eee5;padding:8px 5px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:4px}
.step b{font-size:10px;border-radius:50%;display:grid;place-items:center;width:18px;height:18px;background:#d9e5d4}.step.active{background:#dcecc8;color:#244732;font-weight:750}.step.active b{background:#264b3a;color:white}
.service{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:12px 0;cursor:pointer}
.service:last-child{border-bottom:0}.service input{accent-color:#255641;width:17px;height:17px}.service small{color:var(--muted);display:block;margin-top:3px}
.actions{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}.actions>*{min-width:0}.actions .grow{flex:1}
.notice{padding:10px 12px;background:#f6f3e8;border:1px solid #eee8d5;border-radius:11px;color:#6f562e;font-size:12px}
.timeline{display:grid;gap:14px;padding-left:7px;margin-top:13px}.event{border-left:1px solid #cee0ce;padding-left:14px;position:relative}.event::before{content:"";position:absolute;left:-4px;top:4px;width:7px;height:7px;border-radius:50%;background:#548264}
.event p{color:var(--muted);font-size:12px;margin-top:4px}.profilehero{background:#e1ebd7;border-color:#d4e2cc}.profile-meta{display:flex;align-items:center;gap:11px}
.profilehero .avatar{width:52px;height:52px;font-size:20px}.profile-meta .row-main b{font-size:20px}.profile-meta .row-main span{color:#3d5949}
.badges{display:flex;gap:6px;flex-wrap:wrap}.bodycopy{color:#445249;line-height:1.65}.bodycopy p+p{margin-top:10px}
.chart{height:145px;display:flex;align-items:end;gap:10px;margin-top:11px}.chart .bar-col{height:100%;display:flex;flex:1;flex-direction:column;justify-content:end;align-items:center;gap:5px;min-width:0}
.chart .bar{height:calc(var(--level)*1%);width:66%;max-width:52px;min-height:3px;background:#c8debb;border-radius:6px 6px 1px 1px}.chart .bar-col:last-child .bar{background:#3c7357}.chart small{font-size:10px;color:var(--muted)}
#overlay:empty{display:none}.scrim{position:fixed;z-index:15;inset:0;display:grid;align-items:end;justify-items:center;background:#13251e6e;backdrop-filter:blur(3px);padding-top:35px}
.sheet{width:min(100%,490px);max-height:calc(100dvh - 35px);overflow:auto;background:white;border-radius:23px 23px 0 0;padding:16px 17px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -12px 60px #162d2833}
.sheet .section-title{margin-bottom:7px}.sheet .icon-button{width:35px;height:35px}.sheet h2{font-size:19px}
#toast{position:fixed;z-index:21;bottom:82px;left:50%;transform:translate(-50%,12px);padding:9px 14px;border-radius:15px;background:#233e33;color:white;max-width:92vw;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.16s;white-space:normal;text-align:center;min-width:max-content}
#toast.show{opacity:1;transform:translate(-50%,0)}.fab-offset{scroll-margin-top:12px}
@media (min-width:520px){.wrap{padding-inline:24px}.mobilebar{padding-inline:24px}.card{padding:17px}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:800px){
  .shell{display:grid;grid-template-columns:195px minmax(0,1fr)}.side{height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;gap:29px;background:#f9faf6;border-right:1px solid var(--line);padding:23px 14px 14px}
  .side .brand{padding-inline:5px}.side .brand b{font-size:21px}.side-menu{display:grid;gap:5px}.side .navitem{flex-direction:row;justify-content:start;gap:10px;min-height:46px;padding:4px 8px;font-size:14px}
  .side .navitem.active{background:#e7efd9}.side .navitem.active .navglyph{background:transparent}.side .navglyph{padding:3px 5px}
  .side-tail{margin-top:auto;display:grid;gap:8px}.side-tail .row{min-height:43px;border:0;padding:3px 5px}.side-user{padding-top:10px;border-top:1px solid var(--line)}
  .navbar{display:none}.mobilebar{padding:15px 25px 9px}.mobilebar .brand .mark{display:none}.mobilebar .brand button{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 11px;font-size:13px}
  .wrap{padding:4px 25px 30px}.pagehead{margin-top:13px;margin-bottom:17px}.layout.wide{grid-template-columns:minmax(0,1.28fr) minmax(260px,1fr)}
  .col{gap:15px}.hero{padding:20px 20px 16px}.hero-mid{grid-template-columns:1fr 130px}.spark{height:76px;gap:6px}.spark span{width:11px}
  .card{padding:17px 18px}.scrim{align-items:center;padding:24px}.sheet{border-radius:23px;padding:18px}.kpi{padding:13px}
  #toast{bottom:25px}
}
@media (min-width:1150px){.shell{grid-template-columns:218px minmax(0,1fr)}.side{padding:26px 17px 16px}.mobilebar{padding:20px 34px 9px}.wrap{padding-inline:34px}.layout.wide{gap:17px;grid-template-columns:minmax(0,1.36fr) minmax(310px,1fr)}.card{padding:19px}.hero{padding:22px 22px 18px}.hero-mid{grid-template-columns:1fr 170px}.spark span{width:14px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media (max-width:799px){
  .dashboard>.col{display:contents}.dashboard>.col:first-child>:nth-child(1){order:1}
  .dashboard>.col:last-child>:nth-child(1){order:2}.dashboard>.col:first-child>:nth-child(2){order:3}
  .dashboard>.col:last-child>:nth-child(2){order:4}.dashboard>.col:first-child>:nth-child(3){order:5}
  .dashboard>.col:last-child>:nth-child(3){order:6}
}
