:root{--bg:#f5f5f0;--paper:#fff;--ink:#25332f;--muted:#7a847e;--green:#183e35;--light:#e9f0e9;--line:#e8ebe5;--orange:#a76139;--red:#b05246;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #bb9870;outline-offset:3px}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.3;font-weight:650}h2{font-size:18px;font-weight:650}h3{font-size:15px}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{padding:34px 22px 22px;background:#fdfdf9;border-right:1px solid var(--line);position:fixed;width:228px;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin:0 10px 45px}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green);color:#e4c899}.brand-name{font-size:24px;font-weight:650;letter-spacing:3px;line-height:1.1}.brand small{font-size:10px;letter-spacing:1.2px}.nav{display:flex;flex-direction:column;gap:9px}.nav button{display:flex;align-items:center;gap:13px;background:transparent;padding:13px 16px;color:#6f7972;border-radius:10px;text-align:left}.nav button.active{background:var(--green);color:#fff}.nav button:not(.active):hover{background:#edf1eb}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.sidebar-bottom p{font-size:12px;line-height:1.9;margin:10px}.workspace{grid-column:2;padding:30px 44px 50px;max-width:1640px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px;color:var(--muted);font-size:12px}.crumb{display:flex;align-items:center;gap:8px}.owner{display:flex;gap:9px;align-items:center}.avatar{width:29px;height:29px;border-radius:50%;background:#e0e9dd;display:grid;place-items:center;color:var(--green);font-size:11px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--orange);margin-bottom:9px}.subtitle{color:var(--muted);margin-top:8px;font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 16px;background:var(--green);color:#fff;white-space:nowrap;min-height:42px;font-size:13px}.btn.secondary{background:#fff;color:var(--green);border:1px solid #dfe5da}.btn.ghost{background:transparent;color:var(--muted);padding:6px 8px}.btn.danger{background:#fff0ec;color:var(--red)}.btn.small{padding:6px 11px;min-height:34px;font-size:12px}.btn:hover{filter:brightness(.96)}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.banner{background:#edf0df;border:1px solid #dfe4cc;border-radius:10px;padding:11px 16px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px}.hero{display:grid;grid-template-columns:1fr auto;gap:25px;background:var(--green);color:#fff;border-radius:var(--radius);padding:26px 30px;margin-bottom:22px;position:relative;overflow:hidden}.hero small{color:#bed0be;font-size:11px;letter-spacing:1.6px}.hero h2{font-size:22px;line-height:1.55;margin-top:9px;font-weight:500}.hero p{color:#b8cbbc;font-size:12px;margin-top:9px}.hero-side{border-left:1px solid #49665a;padding:0 24px;align-self:center}.hero-side strong{font-size:37px;font-weight:450;letter-spacing:-1px}.hero-side span{font-size:12px;color:#bbcebc;margin-left:7px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:var(--paper);padding:19px 22px;border:1px solid var(--line);border-radius:var(--radius);text-align:left;color:inherit;position:relative}.stat-label{color:var(--muted);font-size:12px;display:flex;align-items:center;justify-content:space-between}.stat-label svg{width:17px;color:#9ba99e}.stat-number{font-size:31px;margin:8px 0 3px;font-weight:550;letter-spacing:-.5px}.stat small{font-size:11px}.stat.warn .stat-number{color:var(--orange)}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:24px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 23px 15px}.panel-header h2{font-size:16px}.panel-header small{font-size:11px}.task{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:12px;padding:16px 22px;border-top:1px solid var(--line)}.task-icon{background:#f1f2e9;width:36px;height:36px;display:grid;place-items:center;color:#748569;border-radius:11px}.task-icon.late{color:var(--orange);background:#faf0e7}.task p{font-size:12px;color:var(--muted);margin-top:3px;word-break:break-word}.task strong{font-size:13px;font-weight:600}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:2px 7px;font-size:10px;line-height:1.7;background:#edf1eb;color:#58705b;white-space:nowrap}.tag.orange{background:#fbf0e4;color:var(--orange)}.tag.red{background:#fbebe7;color:var(--red)}.tag.gray{background:#f0f2f0;color:#87908a}.renewal{padding:14px 23px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.renewal strong{font-size:13px}.renewal p{font-size:11px;color:var(--muted);margin-top:3px}.renew-days{font-size:21px;color:var(--orange);white-space:nowrap}.renew-days small{font-size:11px}.toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.search{position:relative;flex:1;max-width:450px;min-width:180px}.search svg{position:absolute;left:13px;top:12px;width:17px;color:#8c978e}.search input{padding-left:39px;background:#fff;width:100%}.control,input,select,textarea{border:1px solid #dfe5dc;border-radius:8px;padding:10px 12px;color:var(--ink);background:#fff;outline:none;min-width:0}input:focus,select:focus,textarea:focus{border-color:#77957a;box-shadow:0 0 0 3px #eaf0e5}input::placeholder,textarea::placeholder{color:#a2aaa4}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;color:#89928b;font-weight:500;background:#fafbf7;padding:12px 22px;border-bottom:1px solid var(--line)}td{padding:15px 22px;font-size:12px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcf8}.cell-name{font-weight:600;font-size:13px;max-width:240px;white-space:normal}.cell-sub{color:var(--muted);font-size:11px;margin-top:4px}.text-btn{background:none;padding:0;text-align:left;color:var(--green)}.empty{padding:44px 20px;text-align:center;color:var(--muted);font-size:12px}.empty svg{width:28px;height:28px;margin-bottom:12px;color:#9aab97}.empty strong{display:block;color:#657260;font-weight:500;font-size:14px;margin-bottom:6px}.empty .btn{margin-top:15px}.footnote{margin-top:20px;font-size:11px;color:#99a197;display:flex;gap:7px;align-items:center}.footnote svg{width:14px;height:14px}.money{font-variant-numeric:tabular-nums}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:var(--green);padding:9vw 7vw;color:white;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:460px;height:460px;border:1px solid #47655b;border-radius:50%;right:-230px;bottom:-120px}.login-story .brand{margin:0 0 65px}.login-story .brand-icon{background:#31554b}.login-story .brand small{color:#b8c9b8}.login-story h1{font-size:39px;line-height:1.6;font-weight:500;letter-spacing:1px}.login-story p{margin-top:22px;color:#b6c8bc;max-width:360px;line-height:2;font-size:13px}.login-story footer{margin-top:75px;font-size:11px;letter-spacing:2px;color:#a0b6a6}.login-main{display:flex;align-items:center;justify-content:center;padding:35px}.login-card{width:340px}.login-card h2{font-size:24px;margin-bottom:9px}.login-card form{display:grid;gap:18px;margin:30px 0 18px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px}.field label{font-weight:500;color:#687367}.field input,.field select,.field textarea{width:100%;font-size:14px}.field textarea{min-height:94px;resize:vertical}.hint{font-size:11px;color:var(--muted);line-height:1.8}.error{font-size:12px;color:var(--red);min-height:20px}.login-card>.btn{width:100%}dialog{width:min(640px,calc(100% - 28px));max-height:90vh;border:1px solid var(--line);border-radius:20px;padding:0;box-shadow:0 25px 100px #102b322b;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#1b302d75;backdrop-filter:blur(3px)}.modal-head{padding:23px 25px 16px;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.modal-head h2{font-size:19px}.modal-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.modal-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid #dfe4da}.detail-title{margin-bottom:16px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:23px}.detail-grid small{display:block;font-size:11px;margin-bottom:3px}.detail-grid p{font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.timeline{border-left:1px solid #d4dece;margin:15px 0 0 7px;padding-left:20px}.timeline li{list-style:none;position:relative;margin:0 0 18px;font-size:13px;white-space:pre-wrap;word-break:break-word}.timeline li:before{content:"";position:absolute;left:-25px;top:7px;width:8px;height:8px;border-radius:50%;background:#8ca483}.timeline small{display:block;font-size:10px;margin-bottom:3px}.link-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--line);padding:12px;border-radius:9px;margin-top:10px;font-size:12px}.checkbox{display:flex;gap:9px;align-items:center;font-size:13px}.checkbox input{width:17px;height:17px}.settings-section{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:16px}.settings-section p{margin:7px 0 14px;font-size:12px;color:var(--muted)}#toast{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);padding:11px 20px;border-radius:10px;background:#203d33;color:#fff;box-shadow:0 8px 30px #0002;font-size:13px;z-index:10;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;text-align:center}#toast.show{opacity:1}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.case-card{padding:23px}.case-card h3{margin:12px 0 6px;font-size:16px}.case-card p{white-space:pre-wrap;color:var(--muted);font-size:12px;margin:12px 0 18px;overflow-wrap:anywhere}.case-meta{display:flex;gap:15px;font-size:11px;color:#808d80}.list-summary{font-size:12px;color:var(--muted);margin:12px 0}.mobile-brand{display:none}.settings-footer{margin-top:10px}.file-input{max-width:100%;font-size:12px}.due{color:var(--orange)}
@media(min-width:1450px){.workspace{padding:35px 65px 50px}.hero{padding:30px 35px}.stats{gap:20px}.stat{padding:23px 26px}.task{padding-top:19px;padding-bottom:19px}}
@media(max-width:1100px){.sidebar{width:196px;padding:30px 15px}.shell{grid-template-columns:196px 1fr}.workspace{padding:27px 25px}.stats{gap:10px}.stat{padding:16px}.columns{grid-template-columns:1.15fr 1fr;gap:15px}.task{padding:14px;gap:8px}.task-icon{display:none}.task{grid-template-columns:1fr auto}.hero-side{padding:0 10px}.brand{margin-left:8px}.brand-name{font-size:22px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:calc(64px + env(safe-area-inset-bottom));padding:6px 5px env(safe-area-inset-bottom);width:100%;border:0;border-top:1px solid var(--line);z-index:5;background:#fff}.sidebar .brand,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:2px;justify-content:space-around}.nav button{flex:1;flex-direction:column;gap:3px;padding:6px 0;font-size:10px;border-radius:8px}.nav button.active{background:#edf1e8;color:var(--green)}.nav svg{width:20px;height:20px}.workspace{padding:21px 18px 104px}.topbar{margin-bottom:27px}.crumb{display:none}.mobile-brand{display:flex;align-items:center;gap:7px;font-size:15px;color:var(--green);font-weight:650;letter-spacing:2px}.owner{font-size:10px}.owner .avatar{width:25px;height:25px}.page-heading{gap:10px;margin-bottom:20px}h1{font-size:25px}.eyebrow{font-size:9px;margin-bottom:6px;letter-spacing:1.4px}.subtitle{font-size:11px;max-width:240px}.page-heading>.btn{font-size:11px;padding:9px 11px;gap:5px}.page-heading>.btn svg{width:15px}.hero{padding:22px 20px;gap:10px;margin-bottom:15px}.hero h2{font-size:18px}.hero small{font-size:9px}.hero p{font-size:10px;max-width:210px}.hero-side{padding:0 0 0 17px}.hero-side strong{font-size:28px}.hero-side span{font-size:10px;display:block;margin:0}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.stat{padding:15px 17px;border-radius:12px}.stat-label{font-size:11px}.stat-number{font-size:29px;margin:4px 0}.stat small{font-size:10px}.columns{grid-template-columns:1fr;gap:17px}.panel{border-radius:13px}.panel-header{padding:17px 18px 13px}.panel-header h2{font-size:15px}.task{padding:15px 18px}.task strong{font-size:12px}.task p{font-size:11px}.renewal{padding:14px 18px}.toolbar{gap:9px}.search{max-width:none;flex-basis:100%}.toolbar>.actions{width:100%}.toolbar select{flex:1;font-size:12px}td,th{padding:13px 16px}.cell-name{min-width:170px;max-width:220px}.footnote{font-size:10px;align-items:flex-start}.banner{padding:10px 12px;font-size:11px}.banner>.btn{font-size:10px;padding:5px}.cards{grid-template-columns:1fr}.login-layout{display:block}.login-story{padding:40px 30px}.login-story .brand{margin-bottom:25px}.login-story h1{font-size:27px}.login-story p{margin-top:12px;font-size:12px}.login-story footer{display:none}.login-main{padding:32px 28px}.login-card{width:100%;max-width:380px}.login-card h2{font-size:21px}.login-card form{margin-top:22px;gap:15px}.form-grid{gap:14px}.modal-body{padding:20px}.modal-head{padding:18px 20px}.modal-foot{flex-wrap:wrap}.modal-foot>.actions{margin-left:auto}.field input,.field select,.field textarea{font-size:16px}#toast{bottom:95px}.detail-grid{gap:13px}.topbar .btn.ghost{font-size:11px}.login-story .brand-name{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
