:root{--bg:#f5f7f8;--paper:#fff;--ink:#172b29;--muted:#758280;--line:#e5eae8;--green:#087f6e;--green-dark:#076a5c;--mint:#e9f5f0;--red:#b34a43;--shadow:0 10px 40px #12382e08;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--green);text-decoration:none}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-.6px}h2{font-size:17px;font-weight:650}h3{font-size:15px;font-weight:650}.muted{color:var(--muted)}.tiny{font-size:12px}.mono{font-family:Consolas,monospace;font-size:12px}svg{display:block;width:20px;height:20px}.icon{display:inline-flex;align-items:center;justify-content:center;flex:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:40px;padding:10px 16px;font-weight:600;font-size:13px;background:var(--green);color:#fff;transition:background .15s,transform .15s}.button:hover{background:var(--green-dark)}.button:active{transform:translateY(1px)}.button.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.button.secondary:hover{background:#f4f8f6}.button.danger{background:#fff2ef;color:var(--red)}.button.small{min-height:32px;padding:6px 11px;font-size:12px}.text-button{background:none;color:var(--green);padding:6px;font-size:13px;font-weight:600}.text-button:hover{text-decoration:underline}.text-button.danger{color:var(--red)}.icon-button{width:34px;height:34px;border-radius:8px;background:#f2f5f4;color:var(--muted);display:grid;place-items:center}.icon-button:hover{background:#e4efeb;color:var(--green)}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#edf6f0;color:#328364;padding:4px 8px;font-size:11px;line-height:1.25;font-weight:550;white-space:nowrap}.pill.neutral{background:#f0f3f2;color:#78857f}.pill.amber{background:#fff4df;color:#9e792e}.pill.red{background:#fff0ed;color:#b75d4d}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.stack{display:grid;gap:16px}.row{display:flex;gap:12px;align-items:center}.spread{display:flex;justify-content:space-between;align-items:center;gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:12px;font-weight:600;color:#52665e}input,select,textarea{border:1px solid #dce4df;border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink);width:100%;min-width:0}input::placeholder,textarea::placeholder{color:#9aa5a0}input:focus,select:focus,textarea:focus{border-color:#529f89;outline:3px solid #098b7020}textarea{resize:vertical;min-height:100px;line-height:1.7}input[type=checkbox]{width:16px;accent-color:var(--green)}label.check{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--muted);line-height:1.7}.hint{font-size:12px;color:var(--muted);line-height:1.7}.error{border:1px solid #f0d4cd;background:#fff5f2;color:#a54335;padding:12px 14px;border-radius:8px;font-size:13px;line-height:1.65}.notice{background:#eef6f2;border:1px solid #dcebe3;border-radius:8px;padding:13px 15px;font-size:12px;color:#5d796c;line-height:1.7}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid .full{grid-column:1/-1}.divider{height:1px;background:var(--line);margin:20px 0}
.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#eaf3ee;padding:48px 64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:19px;letter-spacing:-.5px}.brand img{width:36px;height:36px}.brand-sub{font-size:10px;letter-spacing:1.3px;font-weight:550;color:#718c7e;margin-top:3px}.login-title{position:relative;z-index:1;max-width:510px;margin:60px 0}.login-title .eyebrow{font-size:12px;letter-spacing:2px;color:#59846f;margin-bottom:24px;font-weight:600}.login-title h1{font-size:43px;line-height:1.45;letter-spacing:-1.5px;color:#20513f}.login-title p{font-size:15px;line-height:1.9;color:#739082;margin-top:20px}.login-illustration{margin-top:44px;position:relative;max-width:420px}.sample-card{background:#ffffffd9;border:1px solid #fff;box-shadow:0 14px 60px #345d3c08;border-radius:15px;padding:22px;transform:rotate(-3deg)}.sample-card .sample-icon{width:42px;height:42px;border-radius:12px;background:#dff0e7;color:var(--green);display:grid;place-items:center}.sample-card .line{height:7px;background:#e1eae4;border-radius:6px;margin-top:13px;width:80%}.sample-card .line.short{width:55%}.sample-card .progress{display:flex;gap:5px;margin-top:25px}.sample-card .progress span{height:5px;background:#bddfd0;flex:1;border-radius:3px}.sample-card .progress span:last-child{background:#e4ede7}.floating-check{position:absolute;right:-14px;bottom:-18px;background:#fff;padding:14px 20px;box-shadow:0 10px 30px #284e3814;border-radius:10px;display:flex;align-items:center;gap:9px;font-size:12px;color:#437258;transform:rotate(3deg)}.login-footer{font-size:11px;letter-spacing:.7px;color:#8ca397}.login-form-area{padding:48px;display:flex;align-items:center;justify-content:center;background:#fcfdfc}.login-form{width:360px}.login-form .eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:600;color:#739487;margin-bottom:16px}.login-form h2{font-size:27px;margin-bottom:10px}.login-form>p{margin-bottom:32px;line-height:1.8}.login-form form{display:grid;gap:20px}.login-form .button{height:44px;margin-top:3px}.login-form .support{margin-top:28px;border-top:1px solid var(--line);padding-top:22px;font-size:11px;color:#8c9892;line-height:1.9}.login-form .support code{font-size:11px;color:#658472;word-break:break-all}
.shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:226px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 18px 18px;z-index:10}.sidebar .brand{margin:0 8px 37px}.sidebar .brand img{width:34px;height:34px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#a1aaa6;margin:0 15px 13px;font-weight:600}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:11px;border-radius:8px;padding:12px 15px;color:#77847e;font-size:13px;font-weight:500}.nav a svg{width:18px;height:18px}.nav a:hover{background:#f5f8f6;color:var(--green)}.nav a.active{background:var(--mint);color:var(--green);font-weight:650}.nav .nav-end{margin-left:auto;font-size:10px;background:#d6ecdf;padding:2px 5px;border-radius:4px;color:#398364}.sidebar-bottom{margin-top:auto}.sidebar-note{margin:20px 6px;background:#f6f8f6;border:1px solid #e9eeea;border-radius:10px;padding:15px 13px;color:#8b9b91;font-size:11px;line-height:1.7}.sidebar-note strong{display:block;color:#58745f;font-size:12px;margin:8px 0 4px}.user-badge{border-top:1px solid var(--line);padding:17px 5px 0;display:flex;align-items:center;gap:9px}.avatar{width:34px;height:34px;border-radius:10px;background:#f1f4f2;color:#698575;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}.user-badge .user-name{font-size:12px;font-weight:600}.user-badge .user-role{font-size:10px;margin-top:4px;color:#98a59c}.user-badge .icon-button{margin-left:auto;background:none}.workspace{grid-column:2;min-width:0}.topbar{height:75px;background:#ffffffc9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;color:#9ca5a0}.breadcrumb strong{color:#60736b;font-weight:550}.topbar-right{display:flex;align-items:center;gap:22px;color:#8d9b93;font-size:11px}.status-online{display:flex;align-items:center;gap:7px}.status-online .dot{color:#59a886}.topbar-right .line{height:20px;width:1px;background:var(--line)}.main{max-width:1600px;margin:auto;padding:34px 38px 28px}.page-head{margin-bottom:29px;display:flex;align-items:center;justify-content:space-between;gap:20px}.page-head p{font-size:12px;color:#91a096;margin-top:9px;line-height:1.8}.page-actions{display:flex;gap:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px 22px 19px;box-shadow:var(--shadow)}.stat .stat-label{display:flex;align-items:center;justify-content:space-between;color:#89988f;font-size:12px}.stat .stat-icon{color:#95aa9a;width:29px;height:29px;display:grid;place-items:center;background:#f3f7f4;border-radius:8px}.stat .stat-icon svg{width:16px;height:16px}.stat .number{font-size:34px;line-height:1.5;letter-spacing:-1px;font-weight:600;margin-top:8px;color:#2d4639}.stat .unit{font-size:12px;color:#acb7af;margin-left:6px;font-weight:400}.stat .stat-foot{font-size:11px;color:#9aa79e;margin-top:5px}.stat.accent{background:#edf5f0;border-color:#dfece3}.stat.accent .stat-icon{background:#dcece2;color:#65a27d}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);overflow:hidden}.card-head{padding:22px 24px;border-bottom:1px solid #eff2ef;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-head p{font-size:11px;color:#9ba69e;margin-top:7px}.card-body{padding:24px}.card-footer{padding:16px 24px;background:#fdfefd;border-top:1px solid #eff2ef;color:#8b9c90;font-size:11px}.flow-list{padding:8px 0}.flow-step{display:flex;gap:16px;padding:18px 24px;align-items:flex-start}.flow-step+.flow-step{border-top:1px solid #f2f5f2}.step-num{width:33px;height:33px;background:#f0f6f1;border:1px solid #e5ede6;border-radius:9px;color:#719880;display:grid;place-items:center;font-size:12px;font-weight:650;flex:none}.step-title{font-size:13px;color:#536c5d;font-weight:550;margin-bottom:7px}.step-body{font-size:11px;color:#97a49c;line-height:1.8}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--line)}.search-wrap{position:relative;max-width:300px;flex:1}.search-wrap svg{position:absolute;top:11px;left:12px;color:#9aa79e;width:17px;height:17px}.search-wrap input{padding:10px 12px 10px 37px;background:#f9fbf9;font-size:12px;border-color:#ebeeeb}.filter-select{max-width:140px;font-size:12px;padding:9px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}th{background:#fafcfb;padding:14px 23px;color:#95a099;font-size:11px;font-weight:500;border-bottom:1px solid #edf1ed}td{padding:17px 23px;border-bottom:1px solid #f0f3f0;color:#5e7266;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfefc}.table-name{color:#42604c;font-weight:550}.subtext{font-size:10px;color:#a0aba3;margin-top:5px;max-width:250px;overflow:hidden;text-overflow:ellipsis}.empty{padding:44px 20px;text-align:center;white-space:normal}.empty .empty-icon{width:46px;height:46px;display:grid;place-items:center;background:#f4f8f4;color:#adc0af;border-radius:13px;margin:0 auto 15px}.empty strong{font-size:13px;font-weight:500;color:#77907f}.empty p{font-size:11px;color:#a1b0a4;margin-top:7px;line-height:1.9}.empty .button{margin-top:17px}.metric-strip{display:flex;gap:28px;padding:20px 24px;border-top:1px solid var(--line);background:#fcfefc}.metric-strip strong{font-size:19px;font-weight:550;color:#4a6b54}.metric-strip span{display:block;font-size:10px;color:#9aab9e;margin-top:5px}.page-footer{display:flex;align-items:center;justify-content:space-between;color:#a8b3ab;font-size:10px;margin-top:30px}.generated{margin-top:22px;border-color:#cfe6d6;background:#fafffc}.generated textarea{font-family:Consolas,monospace;font-size:12px;background:#f8fcf9}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.definition{display:grid;grid-template-columns:105px minmax(0,1fr);gap:13px;font-size:12px;line-height:1.8}.definition dt{color:#92a197}.definition dd{margin:0;word-break:break-word;color:#54715e}.audit-detail{max-width:270px;white-space:normal;word-break:break-word;line-height:1.6}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:80px;color:#87a18e;font-size:13px}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid #dceadf;border-top-color:var(--green);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:90vw;background:#214c39;color:#fff;padding:13px 22px;border-radius:10px;font-size:12px;box-shadow:0 8px 30px #173d2820;z-index:100}#toast.error-toast{background:#a4493b}dialog{border:1px solid #dce7df;border-radius:16px;padding:0;max-width:850px;width:calc(100% - 48px);max-height:88vh;box-shadow:0 30px 100px #143a2730}dialog::backdrop{background:#132e224a;backdrop-filter:blur(2px)}.dialog-head{padding:24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-body{padding:24px;overflow:auto}.dialog-body h3{margin-bottom:16px}.dialog-section+.dialog-section{margin-top:25px;padding-top:24px;border-top:1px solid var(--line)}.profile-json{padding:16px;background:#f7faf7;border:1px solid #e5eee7;border-radius:9px;white-space:pre-wrap;word-break:break-word;font-family:Consolas,"Microsoft YaHei",monospace;font-size:12px;line-height:1.7;max-height:350px;overflow:auto}.file-list{display:grid;gap:10px}.file-row{display:flex;justify-content:space-between;align-items:center;padding:13px;border:1px solid var(--line);border-radius:8px}.file-row .file-name{font-size:12px;color:#54775e;word-break:break-all}.reset-row{display:flex;gap:12px;align-items:end}.reset-row .field{flex:1}.hidden{display:none!important}
@media(min-width:1550px){.main{padding:40px 50px}.topbar{padding:0 50px}.stat{padding:24px 26px}.stats{gap:23px}}
@media(max-width:1150px){.shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{width:195px;padding:27px 12px 16px}.main{padding:28px 25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:17px}.stat .number{font-size:29px}.login-brand{padding:40px}.login-title h1{font-size:36px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){.login{grid-template-columns:1fr}.login-brand{padding:23px 27px}.login-title,.login-footer{display:none}.login-form-area{padding:42px 25px;min-height:calc(100vh - 83px)}.shell{grid-template-columns:1fr}.sidebar{width:100%;height:auto;position:static;padding:17px 20px;display:block;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 18px}.nav-label,.sidebar-bottom{display:none}.nav{display:flex;overflow:auto;gap:4px}.nav a{padding:9px 11px;white-space:nowrap;font-size:11px}.nav a svg{width:15px;height:15px}.nav .nav-end{display:none}.workspace{grid-column:1}.topbar{height:55px;padding:0 20px}.topbar-right .date,.topbar-right .line{display:none}.main{padding:24px 20px}.page-head{align-items:flex-start;flex-direction:column;gap:18px}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stat{padding:17px}.stat .number{font-size:28px}.dashboard-grid{grid-template-columns:1fr}.form-grid{gap:15px}.toolbar{padding:15px;gap:12px}.search-wrap{max-width:none}.filter-select{max-width:115px}.card-head,.card-body{padding:20px}.card-head{gap:12px}.page-footer{gap:20px;line-height:1.6}.page-actions{flex-wrap:wrap}.topbar-right{font-size:10px}.reset-row{flex-direction:column;align-items:stretch}.dialog-head,.dialog-body{padding:20px}.definition{grid-template-columns:85px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
[hidden]{display:none!important}.status-online.disconnected{color:var(--red)}.status-online.disconnected .dot{color:var(--red)}.service-status{margin-bottom:22px}.service-status .row{flex-wrap:wrap}.service-meta{margin-top:12px}.service-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(265px,1fr);gap:22px}.service-aside{align-content:start}.service-aside h3{margin-bottom:8px}.service-toggle{padding:17px;background:#f7faf8;border:1px solid var(--line);border-radius:9px}.service-toggle strong{color:#42604c;font-size:13px}.service-toggle input{flex:none;margin-top:4px}.service-diff{border:1px solid var(--line);border-radius:8px;overflow:hidden}.service-diff h3{margin:0;padding:12px 14px;background:#f7faf8;border-bottom:1px solid var(--line)}.service-diff-grid{display:grid;grid-template-columns:1fr 1fr}.service-diff-grid>div{padding:13px 14px;min-width:0}.service-diff-grid>div+div{border-left:1px solid var(--line);background:#fbfefc}.service-diff-grid p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin-top:6px}.consent-list{display:grid;gap:12px;margin-top:15px}.consent-receipt{border:1px solid var(--line);border-radius:9px;background:#fff}.consent-receipt summary{cursor:pointer;padding:15px;line-height:1.8;overflow-wrap:anywhere}.consent-receipt summary .pill{margin-left:10px}.consent-receipt .definition{margin:0 15px 16px;padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:1150px){.service-grid{grid-template-columns:1fr}.service-aside{grid-template-columns:1fr 1fr}}@media(max-width:760px){.service-status .spread{align-items:flex-start;flex-direction:column}.service-aside{grid-template-columns:1fr}.service-form-actions{align-items:stretch;flex-direction:column}.service-diff-grid{grid-template-columns:1fr}.service-diff-grid>div+div{border-left:0;border-top:1px solid var(--line)}.service-grid .form-grid{grid-template-columns:1fr}.service-status .row{gap:8px}}
.sidebar{min-width:0}.service-grid>*{min-width:0}.service-status .card-body>div{min-width:0}.service-meta{overflow-wrap:anywhere}
.order-notice{margin-bottom:22px}.order-search{display:flex;align-items:center;gap:12px;width:100%}.order-search .search-wrap{max-width:none}.order-search .filter-select{width:145px;flex:none}.order-search button{flex:none}.order-create-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat .number.order-money{font-size:28px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.order-refunds{display:grid;gap:12px}.order-refund{padding:14px;border:1px solid var(--line);border-radius:8px}.order-refund p{margin:9px 0;line-height:1.8;font-size:12px;overflow-wrap:anywhere}.order-refund .hint{overflow-wrap:anywhere}#order-detail h3{margin:0}#order-detail>.dialog-section h3{margin-bottom:15px}#order-action-summary dd{overflow-wrap:anywhere}
@media(max-width:1150px){.order-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat .number.order-money{font-size:23px}}@media(max-width:760px){.order-create-grid{grid-template-columns:1fr}.order-search{flex-wrap:wrap}.order-search .search-wrap{flex-basis:100%}.order-search .filter-select{max-width:none;flex:1}.order-create-grid .spread{align-items:stretch;flex-direction:column}.order-refund .spread{align-items:flex-start;flex-direction:column;gap:5px}.stat .number.order-money{font-size:22px}.sidebar .nav{scrollbar-width:thin}}
