:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#26332f;background:#f5f7f6;font-size:14px;--green:#087e58;--line:#e3e9e6;--muted:#78837e}*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;color:inherit;white-space:nowrap}button:focus-visible,a:focus-visible{outline:3px solid #64b79b;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #68b99b;outline-offset:1px}svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.65}a{color:var(--green);text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:600;line-height:1.5}h2{font-size:18px;font-weight:600}h3{font-size:15px}p{line-height:1.75}.muted{color:var(--muted)}.small{font-size:12px}.primary,.secondary{border-radius:5px;min-height:40px;padding:9px 17px;font-weight:500}.primary{background:var(--green);color:white}.primary:hover{background:#076b4b}.secondary{border:1px solid #d8e1dc;background:white}.secondary:hover{background:#f1f6f3}.icon{width:34px;height:34px;border-radius:4px;flex-shrink:0}.icon:hover{background:#e9f0ec}.link{color:var(--green);font-size:12px;padding:8px 0}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 18px}.brand{display:flex;align-items:center;gap:11px;color:#1e342a;padding-left:10px;font-size:22px;font-weight:650}.brandmark{width:36px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:white;border-radius:7px}.brandmark svg{height:24px;width:24px}.brand-sub{font-size:13px;font-weight:400;margin-left:8px;color:#687c70}.workspace-label{margin:42px 13px 13px;color:#97a29c;font-size:11px}nav{display:grid;gap:7px}.nav{justify-content:flex-start;width:100%;height:45px;padding:0 14px;border-radius:5px;color:#66776e}.nav.active{background:#e8f3ed;color:#08774f;font-weight:600}.nav-arrow{margin-left:auto;width:14px}.sidebar-bottom{margin-top:auto;display:flex;gap:10px;padding:20px 7px 0;border-top:1px solid var(--line);font-size:12px}.company-avatar{height:33px;width:33px;background:#eaf3ed;color:var(--green);display:grid;place-items:center;border-radius:4px;font-weight:600}.sidebar-bottom strong,.sidebar-bottom span{display:block}.sidebar-bottom span{font-size:10px;color:var(--muted);margin-top:4px}.main{margin-left:224px}header{height:70px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line);padding:0 38px}.breadcrumb,.header-right{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.breadcrumb svg{width:12px}.breadcrumb span{color:#33483d}.header-right{gap:8px}.local-dot{height:6px;width:6px;border-radius:50%;background:#1ba071}main{max-width:1640px;margin:auto;padding:36px 38px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:12px;color:var(--green);font-weight:500;margin-bottom:8px}.page-heading p{font-size:12px;margin-top:9px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:6px;margin-bottom:24px}.stat{display:flex;flex-direction:column;align-items:flex-start;padding:23px 25px;position:relative;gap:14px}.stat:not(:last-child):after{content:"";position:absolute;right:0;top:24px;bottom:24px;width:1px;background:var(--line)}.stat span{display:flex;gap:8px;font-size:12px;color:#65776d;align-items:center}.stat svg{width:16px;color:#7f9689}.stat strong{font-size:32px;font-weight:550;line-height:1.1}.stat:hover{background:#f8fbf9}.service-notice{display:flex;gap:13px;align-items:center;background:#edf5f1;border:1px solid #d9e9df;border-radius:5px;padding:15px 18px;margin-bottom:30px;color:#45715b}.service-notice>svg{width:21px;height:21px;color:#218057}.service-notice strong{font-size:12px;font-weight:600;display:block;margin-bottom:3px}.service-notice span{font-size:11px;color:#6e877a}.service-notice .link{margin-left:auto;flex-shrink:0}.list-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dae3dd}.tabs{display:flex;gap:27px;overflow:auto}.tabs button{height:47px;position:relative;padding:0 1px;color:#6b7a71;font-size:13px}.tabs button.active{color:var(--green);font-weight:600}.tabs button.active:after{content:"";height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--green);border-radius:2px}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 0 18px}.search{display:flex;align-items:center;gap:9px;background:white;border:1px solid #dce5df;border-radius:5px;padding:0 11px;width:340px;max-width:100%;height:38px;color:#94a199}.search input{min-width:0;width:100%;border:0;background:none;font-size:12px;padding:0;height:100%}.search input:focus{outline:0}.search:focus-within{outline:2px solid #68b99b}.search svg{width:16px}input::placeholder,textarea::placeholder{color:#a1aaa5}.table-scroll{overflow-x:auto;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;min-width:690px}th{background:#edf1ef;color:#7d8982;font-size:11px;font-weight:500;height:41px;padding:0 17px}td{padding:20px 17px;border-bottom:1px solid #edf0ee;vertical-align:middle}td:first-child{width:37%}.contract-cell{display:flex;gap:11px;align-items:center}.file-icon{display:grid;place-items:center;width:33px;height:39px;background:#f0f5f2;color:#468463;border:1px solid #dde9e1;border-radius:3px;flex-shrink:0}.contract-name{display:block;font-weight:500;text-align:left;padding:0;white-space:normal;color:#263e31;line-height:1.6}.contract-name:hover{color:var(--green)}.contract-number,.phone{font-size:10px;color:#92a097;margin-top:5px;display:block}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:4px;padding:5px 8px;white-space:nowrap}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.draft{background:#f2f0e8;color:#8d7a34}.signing{background:#e8f1fb;color:#387bb6}.signed{background:#e9f4ee;color:#278258}.archived{background:#eef0f0;color:#808c85}.table-action{color:var(--green);font-size:12px;padding:5px}.empty{height:280px;background:white;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;border-bottom:1px solid var(--line)}.paper-stack{display:grid;place-items:center;height:60px;width:52px;color:#82a58e;background:#f0f6f2;border:1px solid #d8e6de;border-radius:5px;margin-bottom:14px;box-shadow:5px 5px 0 #f2f6f3}.paper-stack svg{height:30px;width:30px}.empty h2{font-size:15px}.empty p{font-size:12px;color:#8b9990;margin:7px 0 16px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;font-size:11px;color:#718278}.pagination>div{display:flex;align-items:center;gap:10px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:55px;padding:20px 0;color:#98a69d;font-size:10px}.settings-section{padding:26px 0;border-top:1px solid var(--line)}.settings-section h2{margin-bottom:22px;font-size:16px}.settings-section p{max-width:760px;font-size:13px;margin-bottom:10px}dl{display:grid;grid-template-columns:130px 1fr;gap:23px;font-size:13px}dt{color:#8b968f}dd{margin:0;line-height:1.7}.requirement{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.requirement svg{color:#8c9e92}.requirement span{margin-left:auto;color:#a18b4d;font-size:12px}.customer-list{margin-top:25px}.customer-group{border-top:1px solid var(--line);padding:22px 0}.customer-group h3{display:flex;align-items:center;gap:12px}.customer-group h3 span{font-weight:400;font-size:12px;color:var(--muted)}.customer-contract{display:flex;align-items:center;gap:12px;padding:14px 0;color:var(--green);font-size:13px}.customer-contract .badge{margin-left:auto}dialog{padding:0;border:1px solid var(--line);border-radius:8px;width:590px;max-width:calc(100% - 28px);max-height:90dvh;color:#2e3f33;box-shadow:0 20px 80px #12302126}dialog::backdrop{background:#14271e66}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 25px;border-bottom:1px solid var(--line);background:white}.dialog-header h2{font-size:18px;overflow-wrap:anywhere}.dialog-header p{margin-top:6px}.form-content{padding:23px 25px;display:grid;gap:18px}label{display:grid;gap:8px;font-size:12px}input,textarea{width:100%;padding:10px 12px;border:1px solid #dce4df;border-radius:4px;background:white;min-width:0;color:#33483a}input:disabled{background:#f5f7f5;color:#76867a}textarea{resize:vertical;min-height:68px}.file-drop{border:1px dashed #a9c7b5;background:#f6faf7;padding:22px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:8px;color:var(--green);cursor:pointer}.file-drop svg{height:30px;width:30px}.file-drop span{font-size:11px;color:#8ba092}.file-drop input{font-size:11px;width:100%;max-width:280px;border:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:17px 25px;border-top:1px solid var(--line)}.error,#login-error{color:#c04a45;font-size:12px;line-height:1.6}.detail-dialog{width:1050px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:530px}.pdf-pane{background:#e8ede9;padding:16px}.pdf-pane iframe{width:100%;height:580px;border:0;background:#fff}.detail-meta{padding:22px;overflow-wrap:anywhere}.detail-meta dl{grid-template-columns:70px 1fr;gap:15px;font-size:12px}.detail-meta h3{margin:27px 0 16px;font-size:13px}.detail-meta .hash{font:10px/1.6 ui-monospace,monospace;color:#8b9a90;overflow-wrap:anywhere;margin-top:13px}.detail-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.detail-buttons>*{font-size:11px;min-height:34px;padding:7px 10px}.detail-notice{font-size:11px;line-height:1.7;color:#8d7a45;background:#f5f3e9;padding:11px;margin-top:16px}.event{border-left:1px solid #dbe8df;padding:0 0 20px 14px;font-size:11px;position:relative}.event:before{content:"";width:5px;height:5px;background:#83a78f;border:3px solid white;position:absolute;top:2px;left:-6px;border-radius:50%}.event time{display:block;font-size:10px;color:#95a198;margin-top:4px}.login-screen{height:100dvh;display:grid;place-items:center;padding:24px;background:#f3f7f4}.login-panel{max-width:390px;width:100%}.login-panel>.brandmark{margin-bottom:25px;width:45px;height:49px}.login-panel h1{font-size:28px}.login-panel>p{font-size:12px;color:#7c8e80;margin-top:10px}.login-panel form{display:grid;gap:18px;margin-top:35px}.login-panel .primary{width:100%}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:90%;background:#253c2e;color:white;padding:13px 22px;border-radius:5px;font-size:12px;z-index:10;box-shadow:0 8px 30px #18382326}.customer-page{max-width:620px;margin:0 auto;padding:28px 20px}.customer-page .brand{padding:0;margin-bottom:34px}.customer-page h1{font-size:23px}.customer-page .badge{margin:15px 0}.customer-page dl{font-size:13px;grid-template-columns:75px 1fr;gap:19px;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.customer-page .secondary{display:flex;margin:22px 0}.customer-page .pdf-preview{height:65vh;width:100%;border:1px solid var(--line);margin-top:20px}.customer-page .notice{padding:18px 0;border-bottom:1px solid var(--line);font-size:12px;color:#8c7e55;line-height:1.8}.customer-page .customer-status{margin-top:20px}.customer-page footer{margin-top:30px}
@media(min-width:1600px){main{padding-top:45px}.empty{height:340px}}@media(max-width:1100px){.sidebar{width:190px;padding:25px 12px}.main{margin-left:190px}main{padding:28px 24px 0}header{padding:0 24px}.stat{padding:22px 18px}.service-notice{align-items:flex-start;flex-wrap:wrap}.service-notice .link{margin-left:32px}.detail-layout{grid-template-columns:minmax(0,1fr) 310px}.tabs{gap:23px}}@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:15px 18px;border-bottom:1px solid var(--line);border-right:0}.brand{font-size:19px;padding-left:0}.brandmark{width:31px;height:34px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:15px;gap:8px}.nav{width:auto;height:35px;padding:0 10px;font-size:12px;gap:6px}.nav svg{width:15px}.nav-arrow{display:none}.main{margin-left:0}header{height:46px;padding:0 18px}.header-right{font-size:10px}.breadcrumb{font-size:10px;gap:5px}main{padding:25px 17px 0}.page-heading{align-items:flex-start;gap:12px;margin-bottom:23px}h1{font-size:20px}.eyebrow{font-size:11px}.page-heading p{font-size:10px;max-width:220px}.page-heading .primary{font-size:12px;padding:9px 11px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.stat{padding:19px 17px;gap:13px;min-height:106px}.stat strong{font-size:29px}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat:nth-child(2):after{display:none}.service-notice{padding:13px 12px;gap:9px;margin-bottom:20px}.service-notice>div{flex:1}.service-notice span{display:block;font-size:10px;line-height:1.8}.service-notice .link{margin-left:29px;font-size:11px;padding:0}.tabs{gap:22px}.tabs button{font-size:12px}.filter-row{align-items:flex-start;flex-direction:column;gap:12px;padding:17px 0}.search{width:100%}.pagination{flex-wrap:wrap}.empty{height:285px}.empty p{font-size:11px}.detail-layout{display:flex;flex-direction:column-reverse}.pdf-pane iframe{height:480px}.detail-meta{padding:20px}.dialog-header{padding:18px}.form-content{padding:20px 18px}.form-grid{grid-template-columns:1fr}.dialog-actions{padding:16px 18px}footer{margin-top:32px}.detail-dialog{max-height:94dvh}dl{grid-template-columns:85px 1fr}.requirement{font-size:12px}.requirement span{white-space:nowrap}th,td{padding-left:12px;padding-right:12px}}
