:root{--bg:#f5f6f8;--paper:#fff;--ink:#1f302e;--muted:#74817e;--line:#e4eae7;--green:#1c5145;--light:#edf4ef;--gold:#b38f4f;--radius:14px}*{box-sizing:border-box}body{margin:0;font:14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b38f4f;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.4;font-weight:650;letter-spacing:-.6px;margin:8px 0 10px}h2{font-size:18px;font-weight:650;margin-bottom:18px}h3{font-size:18px;line-height:1.6;font-weight:600}small,.small{font-size:12px}.muted{color:var(--muted)}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:600}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:35px 23px;z-index:3}.brand{display:flex;gap:12px;align-items:center;font-size:23px;letter-spacing:3px;font-weight:650;line-height:1.3}.brand-mark{display:grid;place-items:center;width:44px;height:48px;border:1px solid var(--green);border-radius:6px 6px 16px 6px;font-family:serif;font-size:24px;letter-spacing:0;color:var(--green)}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin-top:5px}.workspace-label{font-size:10px;color:#9aa5a1;letter-spacing:2px;margin:55px 12px 16px}.nav-item{display:flex;align-items:center;gap:14px;padding:12px 14px;margin-bottom:8px;color:#6e7976;border-radius:8px}.nav-item span{font-size:19px;line-height:1}.nav-item.selected{background:#eaf2ed;color:var(--green);font-weight:600}.nav-item:hover{background:#f2f5f3}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom>p{font-size:11px;color:#9ca6a3;margin:0 0 24px}.profile{display:flex;gap:11px;align-items:center;min-width:0}.profile strong{font-size:13px;display:block}.profile small{display:block;color:var(--muted);font-size:11px}.avatar{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:#edf0e7;color:#6a7651;font-size:14px}.logout{margin:20px 0 0;background:none;border:none;color:var(--muted);font-size:12px;cursor:pointer;padding:0}.main-shell{margin-left:226px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:15px;background:#ffffff80;color:var(--muted)}.topbar strong{color:#4b5a55;font-weight:500;margin-left:6px}.content{padding:35px 44px 50px;width:100%;max-width:1440px;margin:auto auto 0;flex:1}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:4px 0 27px}.page-heading p{margin-bottom:0;font-size:13px}.heading-dot{color:var(--gold);margin-left:3px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--green);color:#fff;border:1px solid var(--green);border-radius:7px;padding:10px 20px;font-weight:550;font-size:13px;cursor:pointer;white-space:nowrap;min-height:43px}.button:hover{background:#286151}.button.secondary{background:#fff;color:var(--green);border-color:#d5dfd9}.button.secondary:hover{background:var(--light)}.full{width:100%}.access-label{font-size:11px;color:var(--green);background:#eaf1ec;border:1px solid #dbe6de;padding:7px 13px;border-radius:30px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0 0 35px}.stat{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px 25px 18px;overflow:hidden}.stat>span{font-size:12px;color:var(--muted)}.stat strong{font-size:35px;font-weight:500;display:block;line-height:1.5;margin-top:9px;font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:#9aa6a1;margin-left:10px;font-weight:400}.stat-line{height:3px;width:26px;background:#819c90;position:absolute;right:24px;bottom:30px;border-radius:2px}.stat-line.green{background:#205647}.stat-line.gold{background:#c5a269}.stat-line.gray{background:#d5dbd7}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px;gap:12px}.section-heading h2{margin:0}.count{background:#e8ece9;color:#6a7a71;font-size:11px;padding:2px 7px;border-radius:6px;margin-left:7px;font-weight:500;vertical-align:middle}.filters{display:flex;gap:10px;margin-bottom:22px;align-items:center}.filters input{max-width:350px}.filters select{max-width:150px}.filters input,.filters select{margin:0;background:#fff}.text-link{color:var(--green);font-weight:550;font-size:12px}.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.case-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px 27px 0;transition:border-color .15s}.case-card:hover{border-color:#b8c9c0}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.category{font-size:11px;color:#89958e;letter-spacing:1px}.badge{display:inline-flex;align-items:center;background:#eaf3ed;color:#316149;font-size:10px;border-radius:5px;padding:3px 8px;white-space:nowrap;vertical-align:middle}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor;margin-right:5px}.badge.closed{background:#f0f1f2;color:#8b9590}.case-card h3{margin:16px 0 5px}.case-no{color:#8a9590;font-size:11px}.card-summary{color:#738079;font-size:12px;margin:19px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}.card-meta{margin:0 0 18px;font-size:11px}.card-meta div{display:flex;margin-bottom:6px;gap:18px}.card-meta dt{color:#94a098;min-width:48px}.card-meta dd{margin:0;color:#54645c;overflow-wrap:anywhere}.next-strip{background:#f5f7f2;padding:10px 12px;display:flex;gap:10px;border-radius:6px;font-size:11px}.next-strip span{color:#9a885f;flex-shrink:0}.next-strip p{margin:0;color:#69756a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-bottom{margin-top:22px;border-top:1px solid #edf0ed;display:flex;justify-content:space-between;padding:15px 0;color:#9ba59f;font-size:10px;gap:12px}.card-bottom a{color:var(--green);font-size:12px;font-weight:600}.footer{margin:0 44px;padding:20px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#99a29f}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:27px}.empty{text-align:center;padding:55px 25px;border:1px dashed #d6e0d8;border-radius:12px;grid-column:1/-1;background:#ffffff80;color:var(--muted)}.empty h3{font-size:16px;color:var(--ink);margin:12px 0 6px}.empty p{font-size:13px}.empty-icon{font-size:32px;color:#a5b4ac}.empty.compact{border:0;padding:25px 0}.back-link{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:24px}.detail-heading{align-items:center;margin-bottom:25px}.detail-heading h1{font-size:28px;margin-top:15px}.detail-heading .card-top{justify-content:flex-start}.stage-banner{background:#eaf1ec;border:1px solid #dce6de;border-radius:var(--radius);padding:28px 32px;display:flex;gap:25px;justify-content:space-between;align-items:center;margin-bottom:30px}.stage-banner h2{font-size:25px;color:#275443;margin:5px 0 9px}.stage-banner p{color:#607668;font-size:13px;margin:0;max-width:780px;white-space:pre-wrap}.stage-seal{font:64px Georgia,serif;color:#acc0ab;flex-shrink:0;padding:0 15px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px}.detail-aside{display:flex;flex-direction:column;gap:20px}.detail-aside h2{font-size:16px}.detail-aside p{font-size:12px;color:#617167}.next-panel{background:#fafbf6;border-color:#e5e8da}.next-panel .eyebrow{color:#ac9464}.next-panel h2{margin:8px 0 15px}.date-chip{background:#f0f1e6;border-radius:6px;padding:9px 12px;font-size:11px;color:#8d855b;display:flex;justify-content:space-between;margin:19px 0 13px}.date-chip strong{font-weight:500}.detail-meta{font-size:12px;margin:0}.detail-meta dt{color:#99a29c;margin-top:15px}.detail-meta dd{margin:3px 0 0;overflow-wrap:anywhere}.timeline{padding:30px 30px 8px}.timeline-item{position:relative;border-left:1px solid #e1e8e1;margin-left:5px;padding:0 0 30px 27px}.timeline-item:last-child{border-left-color:transparent}.timeline-marker{position:absolute;width:9px;height:9px;border-radius:50%;background:#c3cfc3;left:-5px;top:7px;box-shadow:0 0 0 5px #fff}.timeline-item:first-child .timeline-marker{background:var(--green);box-shadow:0 0 0 5px #eef4ee}.event-date{font-size:11px;color:#8a9990;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.timeline-item h3{font-size:16px;margin:9px 0}.timeline-item p{color:#738178;font-size:12px;margin-bottom:8px}.visibility{display:inline-block;font-size:10px;line-height:1.6;color:#7b9480;font-weight:400;background:#eff5ee;border-radius:4px;padding:2px 6px}.visibility.private{background:#f2efe7;color:#9a8669}.internal{background:#fcfaf7}.internal h2{margin-top:12px}.editor{max-width:960px}.narrow{max-width:620px}.editor h2{border-bottom:1px solid var(--line);padding-bottom:12px;margin-top:22px}.editor h2:first-of-type{margin-top:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}label{display:block;font-size:12px;color:#5d6f64;margin-bottom:18px}input,select,textarea{display:block;width:100%;border:1px solid #dce4de;border-radius:6px;padding:10px 12px;color:#2d4437;background:#fff;outline:none;margin-top:7px;min-height:43px}input:focus,select:focus,textarea:focus{border-color:#7da98c;box-shadow:0 0 0 3px #edf4ee}textarea{resize:vertical;line-height:1.8}.required{color:#b58162}.check{display:flex;align-items:center;gap:10px;margin:0}.check input{width:17px;height:17px;min-height:0;margin:0;accent-color:var(--green);flex-shrink:0}.check small{color:#97a197;margin-left:8px}.client-checkboxes{display:flex;flex-wrap:wrap;gap:18px;padding:18px;background:#f8faf7;border:1px solid #e7ece5;border-radius:7px}.client-checkboxes p{margin:0}.form-actions{display:flex;gap:12px;margin-top:26px}.publish-box{border:1px solid #dce7de;background:#f5f8f3;border-radius:8px;padding:18px}.publish-box p{margin:10px 0 0}.notice{padding:12px 16px;border-radius:7px;background:#edf3ee;border:1px solid #d6e4da;color:#4e765a;font-size:12px;margin-bottom:22px}.notice.error{background:#fff1ef;color:#a74d43;border-color:#f4d5d0}.local-banner{font-size:10px;color:#967343;background:#f4efe1;border:1px solid #e9dfc9;padding:5px 12px;border-radius:5px;margin-bottom:24px}.clients-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px;align-items:start}.user-row{padding:20px 0;border-bottom:1px solid var(--line)}.user-row:last-child{border:0}.user-row summary{font-size:11px;color:var(--green);cursor:pointer;margin:12px 0 0 47px}.account-actions{padding:12px 0 0 47px;display:flex;flex-direction:column;align-items:flex-start;gap:15px}.small-button{font-size:11px;padding:6px 12px;min-height:35px}.text-button{border:0;background:none;color:#98704f;cursor:pointer;padding:0;font-size:12px}.credential{max-width:670px;margin:30px auto}.credential-value{font-family:monospace;font-size:20px;letter-spacing:.5px;user-select:all}.credential .notice{margin-top:25px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-weight:500;color:#92a098;background:#f8faf7}td,th{padding:13px 15px;border-bottom:1px solid var(--line);white-space:nowrap}.error-page{max-width:600px;margin:70px auto}.guest-shell{min-height:100vh;padding:28px}.guest-shell>.local-banner{max-width:1050px;margin:auto}.guest-shell main>.local-banner,.guest-shell main>.notice{max-width:1080px;margin:0 auto 16px}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;max-width:1080px;min-height:620px;margin:30px auto;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 15px 70px #1f3f2c07}.login-story{background:#e9f0e8;padding:45px;display:flex;flex-direction:column;justify-content:space-between;position:relative}.story-copy{padding:65px 0 80px}.story-copy h1{font-family:Georgia,"Songti SC","SimSun",serif;font-size:43px;line-height:1.5;letter-spacing:2px;margin:20px 0}.story-copy p{font-size:13px;color:#7e8e7e;line-height:2}.story-line{display:flex;align-items:center;margin:40px 0 12px;max-width:320px}.story-line>span:not(.story-dot){height:1px;background:#cad7c9;flex:1}.story-dot{width:7px;height:7px;border:1px solid #93ab93;border-radius:50%;background:#e9f0e8}.story-dot:first-child{background:#4d7156;border-color:#4d7156}.story-labels{max-width:340px;display:flex;justify-content:space-between;font-size:10px;color:#81937e}.login-story>small{font-size:10px;color:#8e9e89}.login-form{padding:95px 58px 55px;align-self:center}.login-form h2{font-size:26px;font-weight:600;margin:10px 0}.login-form>p{font-size:12px;margin-bottom:33px}.login-form form{margin-top:30px}.login-form label{font-size:12px;margin-bottom:23px}.login-form input{height:46px;background:#fcfdfb}.login-help{font-size:11px!important;text-align:center;color:#95a094;margin:22px 0!important}.privacy-note{display:flex;gap:9px;justify-content:center;font-size:10px;color:#8b9c8b;border-top:1px solid #e9eee7;padding-top:22px;margin-top:35px}.privacy-note span{color:#6d8c6d}
@media(min-width:1500px){.content{padding-top:45px}}@media(max-width:1100px){.sidebar{width:190px;padding:28px 18px}.main-shell{margin-left:190px}.content{padding:28px}.topbar{padding:0 28px}.footer{margin:0 28px}.stats{gap:12px}.stat{padding:20px 18px}.case-card{padding:22px 22px 0}.detail-grid{grid-template-columns:1fr}.detail-aside{display:grid;grid-template-columns:1fr 1fr;align-items:start}.clients-layout{grid-template-columns:1fr}.login-form{padding:60px 35px}.login-story{padding:35px}.story-copy h1{font-size:37px}}@media(max-width:720px){.sidebar{position:static;width:auto;padding:18px 20px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:19px;gap:9px}.brand-mark{width:35px;height:38px;font-size:20px}.brand small{font-size:7px}.workspace-label,.sidebar-bottom>p{display:none}.sidebar nav{display:flex;gap:5px;margin-top:19px;overflow:auto}.nav-item{white-space:nowrap;margin:0;padding:8px 10px;font-size:12px;gap:7px}.nav-item span{font-size:15px}.sidebar-bottom{position:absolute;right:20px;top:20px;padding:0;display:flex;align-items:center;gap:16px}.sidebar-bottom .profile{display:none}.logout{margin:0;font-size:11px}.main-shell{margin:0}.topbar{height:50px;padding:0 20px;font-size:10px}.topbar-note{display:none}.content{padding:22px 20px 36px}.page-heading{margin-bottom:22px;align-items:flex-start;gap:12px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.eyebrow{font-size:9px;letter-spacing:1.5px}.access-label{display:none}.page-heading>.button{font-size:11px;padding:8px 12px;margin-top:15px}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px}.stat{padding:16px 19px}.stat strong{font-size:30px;margin-top:4px}.stat-line{right:20px;bottom:25px}.case-grid{grid-template-columns:1fr}.filters{flex-wrap:wrap;gap:8px}.filters input{max-width:none;flex-basis:100%}.filters select{flex:1;max-width:none}.filters .button{min-height:40px}.card-bottom{padding:14px 0}.case-card{padding:22px 22px 0}.footer{margin:0 20px;padding:16px 0;flex-direction:column;gap:4px}.detail-aside{display:flex;align-items:stretch}.stage-banner{padding:23px}.stage-seal{font-size:46px;padding:0}.stage-banner h2{font-size:23px}.stage-banner p{font-size:12px}.detail-heading h1{font-size:24px}.detail-heading{display:block}.detail-heading>.button{margin-top:10px}.panel{padding:22px}.timeline{padding:25px 20px 6px}.timeline-item{padding-left:23px}.form-grid{grid-template-columns:1fr}.client-checkboxes{flex-direction:column}.guest-shell{padding:16px}.login-layout{grid-template-columns:1fr;margin:0 auto;min-height:0}.login-story{padding:24px}.story-copy{padding:22px 0 8px}.story-copy h1{font-size:28px;margin:10px 0;line-height:1.5}.story-copy h1 br{display:none}.story-copy p{font-size:11px;margin:0}.story-copy .eyebrow,.story-line,.story-labels,.login-story>small{display:none}.login-form{padding:30px 26px}.login-form h2{font-size:23px}.login-form>p{margin-bottom:22px}.login-form form{margin-top:20px}.privacy-note{margin-top:25px}.credential-value{font-size:17px}.credential{margin:0}.detail-grid{gap:22px}.local-banner{font-size:9px}.page-heading .heading-dot{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.files-panel{margin-top:28px}.document-row{display:flex;align-items:flex-start;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.document-row:first-child{padding-top:0}.document-row:last-child{border-bottom:0}.document-info{min-width:0;flex:1;overflow-wrap:anywhere}.document-name{display:block;font-size:14px;margin-bottom:5px;overflow-wrap:anywhere}.document-info>p{margin:8px 0 0;color:#617167}.document-actions{display:flex;flex-direction:column;gap:10px;align-items:center;flex-shrink:0}.document-actions form{margin:0}.upload-section{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.upload-section summary{cursor:pointer;color:var(--green);font-weight:600}.upload-section form{margin-top:22px}.upload-section input[type=file]{max-width:100%;padding:8px;font-size:12px}.upload-section .form-grid>label{min-width:0}.upload-section select{max-width:100%}@media(max-width:720px){.document-row{flex-direction:column;gap:12px}.document-actions{flex-direction:row;flex-wrap:wrap;gap:18px}.document-name{font-size:13px}.files-panel{margin-top:22px}}
