:root{--canvas:#f5f7fa;--white:#fff;--ink:#1b293e;--muted:#738094;--line:#e7ebf0;--teal:#1d6474;--teal-light:#edf5f6;--amber:#a97816;--blue:#267fa7;--orange:#b46c20;--mauve:#7e7397;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--serif:Georgia,"Times New Roman",serif;--mono:"SFMono-Regular",Consolas,monospace}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);font:13px/1.6 var(--sans);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #86b5c1;outline-offset:3px}button svg{pointer-events:none}svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}button{border:0;background:transparent}h1,h2,h3,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 18px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 6px 38px;font-family:var(--serif);font-size:15px;line-height:1.3}.brand-mark{font-size:29px;color:var(--teal);letter-spacing:-2px}.brand-mark span{font-size:20px}.brand small{display:block;font:10px/1.9 var(--sans);color:var(--muted);letter-spacing:1px}.nav-caption{font-size:10px;letter-spacing:1.2px;color:#97a0ad;padding:0 14px 13px}nav{display:grid;gap:5px}nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:7px;font-size:13px;color:#667286;transition:background .15s}nav button:hover{background:#f6f8fa}nav button.active{background:var(--teal-light);color:var(--teal);font-weight:600}nav .nav-count{margin-left:auto;font-size:10px;padding:0 6px;background:#dcecee;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:19px 5px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.sidebar-bottom strong{display:block;font-size:11px;font-weight:600}.sidebar-bottom small{color:var(--muted);font-size:10px}.workspace-icon{width:30px;height:30px;border:1px solid var(--line);border-radius:7px;text-align:center;line-height:28px;font-family:var(--serif);color:var(--teal)}.icon-button{display:flex;align-items:center;justify-content:center;padding:6px;border-radius:5px;color:var(--muted)}.sidebar-bottom .icon-button{margin-left:auto}.icon-button:hover{background:#eef2f5}
main{margin-left:238px;min-height:100vh}.topbar{height:68px;padding:0 40px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;color:#7a8595}.breadcrumb span{padding:0 14px;color:#c7cdd6}.breadcrumb b{font-weight:500;color:#39465b}.topbar-right{display:flex;align-items:center;gap:19px}.save-status{font-size:10px;color:#8a95a4;display:flex;align-items:center;gap:6px}.save-status i{width:5px;height:5px;background:#71a091;border-radius:50%}.avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e9eff3;color:#596c7c;font-size:10px}.prototype-note{margin:20px 40px 0;background:#eef3f8;border:1px solid #e0e8f1;border-radius:6px;padding:9px 12px;display:flex;align-items:center;gap:9px;color:#687a8e;font-size:10px}.prototype-note svg{width:15px;height:15px}.prototype-note b{font-weight:600;color:#435c73}.content{max-width:1580px;margin:0 auto;padding:32px 40px 22px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:1.4px;color:#83919f;margin-bottom:7px}h1{font-size:27px;font-weight:600;letter-spacing:-.8px;line-height:1.5}.page-heading p{color:var(--muted);font-size:12px;margin-top:5px}.heading-actions{display:flex;gap:9px}.button{display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid #dfe5eb;border-radius:6px;padding:9px 13px;font-size:11px;line-height:1.6;background:#fff;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#f5f8fa}.button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.button.primary:hover{background:#164f5c}.button.small{padding:5px 9px;font-size:10px}.button svg{width:15px;height:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:21px}.stat{padding:20px 24px;position:relative}.stat+.stat:before{position:absolute;content:"";left:0;top:22px;bottom:22px;width:1px;background:var(--line)}.stat-label{font-size:11px;color:#738093;display:flex;align-items:center;justify-content:space-between}.stat-label svg{width:15px;color:#94a2b2}.stat-value{font-size:29px;line-height:1.6;font-weight:600;letter-spacing:-1.2px;font-variant-numeric:tabular-nums}.stat-value small{font-size:11px;font-weight:400;letter-spacing:0;color:#97a0ad;margin-left:5px}.stat-note{font-size:10px;color:#9aa3af}.stat-note b{font-weight:500;color:var(--teal)}.attention{display:flex;gap:10px;align-items:center;border:1px solid #e7ebf0;background:#fafcfd;padding:13px 16px;border-radius:7px;margin-bottom:25px}.attention>svg{color:var(--teal);width:16px}.attention strong{font-size:11px;font-weight:600}.attention p{font-size:10px;color:#85909e;margin-top:1px}.attention .text-button{margin-left:auto;white-space:nowrap}.text-button{color:var(--teal);padding:4px 0;font-size:11px}.text-button:hover{text-decoration:underline}.records-panel{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.panel-title{padding:20px 22px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-title>div{display:flex;gap:10px;align-items:center}.panel-title h2{font-size:14px;font-weight:600}.panel-title span{font-size:10px;color:#93a0ae}.panel-title #recordCount{padding:1px 6px;border-radius:4px;background:#f1f4f6;color:#748191}.filters{padding:0 22px 14px;display:flex;align-items:center;gap:9px}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e1e6ec;border-radius:5px;padding:6px 10px;max-width:370px;flex:1}.search svg{width:15px;height:15px;color:#a1aab7}.search input{border:0;min-width:100px;flex:1;width:100%;outline:0;font-size:11px;background:transparent}.search input::placeholder{color:#9aa3af}.search kbd{font:9px var(--sans);color:#b0b8c2;white-space:nowrap;border:1px solid #edf0f4;padding:0 3px;border-radius:3px}.select-label select{font-size:10px;border:1px solid #e1e6ec;border-radius:5px;padding:8px 25px 8px 9px;background:#fff;color:#647388;max-width:220px}.filters .select-label:first-of-type{margin-left:auto}.stage-tabs{display:flex;gap:21px;padding:0 22px;border-bottom:1px solid var(--line);overflow-x:auto}.stage-tabs button{padding:9px 0 11px;color:#8390a1;font-size:11px;white-space:nowrap;border-bottom:2px solid transparent}.stage-tabs button.active{color:var(--teal);border-color:var(--teal);font-weight:600}.stage-tabs .tab-count{margin-left:4px;font-size:9px;opacity:.7}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}thead{background:#fafbfc}th{font-size:10px;font-weight:500;color:#8b96a5;padding:12px 15px;border-bottom:1px solid var(--line)}td{padding:17px 15px;font-size:11px;border-bottom:1px solid #eff2f5}th:first-child,td:first-child{padding-left:22px;width:36px;padding-right:5px}th:last-child,td:last-child{padding-right:22px}tbody tr{cursor:pointer;transition:background .1s}tbody tr:hover{background:#f9fbfc}tbody tr:last-child td{border:0}input[type=checkbox]{accent-color:var(--teal);width:13px;height:13px;vertical-align:middle;cursor:pointer}.person{display:flex;gap:9px;align-items:center}.person-initial{width:30px;height:30px;background:#edf3f6;display:grid;place-items:center;border-radius:50%;font-size:10px;color:#65828f}.person-initial.foreign{background:#eef0f8;color:#8188a6}.person strong{font-size:11px;font-weight:600}.person small,.paper-title{display:block;font-size:9px;color:#95a0ad;margin-top:3px}.paper-id{font:10px var(--mono);color:#5f7183;letter-spacing:-.2px}.paper-title{max-width:225px;overflow:hidden;text-overflow:ellipsis}.money{font-variant-numeric:tabular-nums;font-size:12px;font-weight:500;letter-spacing:.2px}.money small{display:block;font-size:9px;font-weight:400;color:#a4adb8;margin-top:3px}.status{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:4px;font-size:10px;background:#f0f3f6;color:#778496}.status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status.waiting,.status.missing{background:#faf4e5;color:var(--amber)}.status.verify{background:#f4eef9;color:#9274a7}.status.ready{background:#eaf4f8;color:var(--blue)}.status.submitted{background:#fcf0e3;color:var(--orange)}.status.paid{background:#f0eef5;color:var(--mauve)}.action-link{color:var(--teal);font-size:10px;display:inline-flex;align-items:center;gap:5px}.action-link svg{width:12px;height:12px}.row-subline{font-size:9px;color:#9da7b3;display:block;margin-top:5px}.table-footer{padding:13px 22px;border-top:1px solid var(--line);font-size:9px;color:#9aa5b1;display:flex;align-items:center;justify-content:space-between;gap:10px}.legend{display:flex;gap:13px}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:5px;height:5px;border-radius:50%}.sent{background:#d6b35c}.received{background:#6daecb}.submitted{background:#df9e52}.paid{background:#a89abd}.page-footer{margin-top:21px;display:flex;justify-content:space-between;font-size:9px;color:#a1aab7}.page-footer .text-button{font-size:9px;color:#929dab}.empty{padding:65px 20px;text-align:center;color:#8d9aaa}.empty svg{width:35px;height:35px;color:#b5c4cf;margin-bottom:10px}.empty h3{font-size:14px;color:#67788b;margin-bottom:4px}.empty p{font-size:11px}.secondary-panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px}.secondary-panel h2{font-size:14px;margin-bottom:16px}.secondary-panel .muted{font-size:11px;color:var(--muted)}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.document-card{border:1px solid var(--line);padding:16px;border-radius:6px}.document-card h3{font-size:12px}.document-card p{font-size:10px;color:#8a97a7;margin:5px 0 12px}.document-card .doc-item{font-size:10px;padding:6px 0;border-bottom:1px solid #f2f4f7;display:flex;justify-content:space-between}.document-card .doc-item span{color:#9aa5b1}.history-row{display:flex;gap:14px;border-bottom:1px solid var(--line);padding:14px 0;font-size:11px}.history-row time{font:10px var(--mono);color:#94a0ae;min-width:140px}.history-row p{color:#7f8b99;font-size:10px;margin-top:3px}.history-row:last-child{border:0}
dialog{border:0;color:var(--ink);padding:0;background:#fff;box-shadow:0 18px 80px #112d4526}dialog::backdrop{background:#182b4540;backdrop-filter:blur(2px)}.drawer{position:fixed;inset:0 0 0 auto;height:100dvh;max-height:none;margin:0;width:620px;max-width:100%;border-left:1px solid var(--line)}.drawer-head{position:sticky;top:0;background:#fff;z-index:2;padding:24px 28px 18px;border-bottom:1px solid var(--line)}.drawer-head-top{display:flex;justify-content:space-between;align-items:center}.drawer-head h2{font-size:20px;font-weight:600}.drawer-head .paper-id{margin-top:9px;font-size:10px}.drawer-body{padding:24px 28px}.record-context{padding:14px;background:#f7f9fb;border:1px solid var(--line);border-radius:6px;font-size:11px;margin-bottom:22px}.record-context p{color:#8a96a5;font-size:10px;margin-top:5px}.stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 27px}.stepper div{font-size:9px;color:#a3adba;border-top:3px solid #e8edf2;padding-top:7px}.stepper .complete{color:var(--teal);border-color:#81adb8}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 0 11px}.section-heading h3{font-size:12px;font-weight:600}.section-heading span{font-size:9px;color:#97a3b0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-field{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#778699}.form-field.full{grid-column:1/-1}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #e0e6ed;border-radius:5px;padding:9px 10px;background:#fff;font-size:11px;color:#3d5065}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{background:#f7f9fa;color:#93a0ae}.form-field textarea{resize:vertical;min-height:68px}.check-line{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#728196;margin-top:12px}.check-line input{margin-top:2px}.rule-note{font-size:9px;color:#8c98a8;margin-top:9px;line-height:1.8}.material-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf1f4;font-size:11px}.material-row label{display:flex;align-items:center;gap:9px}.material-row .doc-name{margin-left:auto;font-size:9px;color:#a0aab6;max-width:150px;overflow:hidden;text-overflow:ellipsis}.material-row button{font-size:9px;color:var(--teal);padding:3px}.upload-button{position:relative;display:flex;align-items:center;gap:5px;cursor:pointer;font-size:10px;color:var(--teal)}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.local-note{font-size:9px;color:#95a1af;margin-top:7px}.drawer-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.drawer-actions .button:first-child{flex:1}.record-log{margin-top:15px;padding-top:5px}.record-log div{border-left:1px solid #e0e7ed;padding:0 0 12px 12px;margin-left:3px;font-size:10px;color:#8290a0}.record-log time{display:block;color:#a1acb8;font:9px var(--mono);margin-top:3px}.modal{width:520px;max-width:calc(100% - 32px);border-radius:10px;max-height:calc(100dvh - 48px);overflow-y:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 25px 16px;border-bottom:1px solid var(--line)}.modal h2{font-size:17px;font-weight:600}.modal-body{padding:20px 25px}.modal-body p{font-size:11px;line-height:1.9;color:#7f8b9b;margin-bottom:13px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}.email-preview{white-space:pre-wrap;font:11px/1.9 var(--sans);padding:15px;background:#f7f9fb;border:1px solid var(--line);border-radius:6px;color:#627286;max-height:300px;overflow:auto}.feedback{font-size:11px;color:#b45b4d;margin-top:10px;min-height:18px}.toast{position:fixed;bottom:28px;left:calc(50% + 119px);transform:translate(-50%,12px);background:#213e4b;color:#fff;padding:11px 18px;font-size:11px;border-radius:7px;box-shadow:0 5px 20px #233f4a25;opacity:0;transition:.2s;pointer-events:none;z-index:100;max-width:85vw}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){.content{padding-top:38px}td{padding-top:20px;padding-bottom:20px}.stat{padding-top:24px;padding-bottom:24px}}
@media(max-width:1180px){.sidebar{width:204px;padding-left:12px;padding-right:12px}.brand{font-size:12px}.brand-mark{font-size:25px}.brand small{font-size:8px}.sidebar-bottom .workspace-icon{display:none}main{margin-left:204px}.content{padding:26px 25px}.topbar{padding:0 25px}.prototype-note{margin-left:25px;margin-right:25px}.hint{display:none}.stat{padding:17px}.filters{flex-wrap:wrap}.search{max-width:none}.toast{left:calc(50% + 102px)}.document-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.sidebar{width:70px;padding:24px 10px}.brand{padding:0 7px 30px}.brand>span:last-child,.brand small,.nav-caption,nav button .nav-count,.sidebar-bottom{display:none}nav button{font-size:0;justify-content:center;padding:13px 0;gap:0}nav button svg{width:21px;height:21px}main{margin-left:70px}.topbar{height:60px}.topbar-right{gap:10px}.save-status{display:none}.content{padding:24px 20px}.prototype-note{margin:16px 20px 0;font-size:9px}.eyebrow{font-size:8px}.page-heading{align-items:flex-start;gap:15px}.heading-actions{flex-direction:column}.button{font-size:10px;padding:8px 10px}h1{font-size:24px}.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(3),.stat:nth-child(4){border-top:1px solid var(--line)}.stat:nth-child(3):before{display:none}.stat{padding:15px 18px}.stat-value{font-size:26px}.filters{padding-left:16px;padding-right:16px}.search{flex-basis:100%}.select-label{flex:1}.select-label select{width:100%;max-width:none}.stage-tabs{gap:18px;padding-left:16px}.panel-title{padding:17px 16px 13px}.table-footer{padding:12px 16px}.legend{gap:8px}.table-footer>span{display:none}.toast{left:calc(50% + 35px)}.document-grid{grid-template-columns:1fr}.page-footer>span{display:none}.page-footer{justify-content:flex-end}}
@media(max-width:480px){.sidebar{width:54px;padding:22px 6px}.brand{padding:0 3px 26px}.brand-mark{font-size:22px}main{margin-left:54px}.topbar{padding:0 15px}.breadcrumb{font-size:9px}.breadcrumb span{padding:0 6px}.topbar-right .avatar{display:none}.topbar-right .button{font-size:9px}.prototype-note{margin:12px 12px 0;align-items:flex-start}.prototype-note>svg{margin-top:2px;min-width:15px}.content{padding:24px 12px}.eyebrow{font-size:7px;letter-spacing:.6px}h1{font-size:22px}.page-heading p{font-size:10px}.page-heading{margin-bottom:22px}.heading-actions{gap:5px}.heading-actions .button{font-size:9px;padding:6px 8px}.heading-actions svg{width:12px;height:12px}.stat{padding:13px}.stat-value{font-size:24px}.stat-label{font-size:10px}.stat-note{font-size:8px}.attention{padding:11px}.attention p{font-size:9px}.attention strong{font-size:10px}.attention .text-button{font-size:9px}.legend{font-size:8px;gap:8px}.drawer-head,.drawer-body{padding:20px}.form-grid{gap:11px}.toast{left:calc(50% + 27px)}.history-row{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(125deg,#f5f7fa,#edf4f5)}.auth-card{width:430px;max-width:100%;background:#fff;padding:38px;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 60px #203f5210}.auth-card .brand{padding:0 0 30px}.auth-card h1{font-size:23px}.auth-card>p{font-size:11px;color:var(--muted);margin:9px 0 24px}.auth-card form{display:grid;gap:15px}.auth-card .feedback{margin:0}.auth-card input{font-size:14px;padding:11px}.auth-card .button{font-size:13px;padding:11px}.auth-card .auth-footer{font-size:10px;margin:24px 0 0;text-align:center;color:#9ca7b4}.auth-card .setup-note{background:#faf4e5;color:#997524;padding:12px;border-radius:5px;font-size:11px}.sync-error{color:#b16551!important}.access-note{padding:10px 12px;background:#f2f6f9;border-radius:5px;font-size:10px;color:#7d8c9e;margin-bottom:16px}.material-row .doc-name{max-width:170px}.bank-grid{padding:15px;border:1px solid var(--line);border-radius:6px;background:#fbfcfd}.bank-grid .form-field input{background:#fff}.bank-grid .form-field.full{grid-column:1/-1}.member-role{display:inline-block;font-size:10px;background:#edf4f6;color:#557b88;padding:2px 7px;border-radius:4px}.member-actions{display:flex;gap:9px}.danger-link{color:#b46b5a;font-size:10px}.bank-export{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.upload-button svg{width:13px}.drawer-actions .button:first-child{flex:initial}.record-log{max-height:320px;overflow:auto}.empty .button{margin-top:15px}.feedback:empty{min-height:0}.amount-unknown{color:#b88a33}.password-requirement{font-size:10px;color:#8a98a8;margin-top:5px}
