/* Shared visual language for access, guide, and administration. */
:root{--ink:#242b2a;--ink-soft:#66716d;--muted:#6d7670;--paper:#f5f4f0;--card:#fff;--line:#e1e4dd;--green:#31594f;--blue:#31594f;--blue-deep:#24463d;--blue-soft:#edf2ec;--green-soft:#edf2ec;--danger:#a65340;--danger-soft:#faf1eb;--radius:20px;--shadow:0 6px 30px #263a2c05;--focus:#a2b8a3}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button,input{font:inherit}button,a{transition:background .18s,border-color .18s,color .18s,box-shadow .18s}button{font-weight:600}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button:disabled{cursor:default}input{background:#fcfcfa;border:1px solid #dce1d8;border-radius:11px;padding:13px 14px;min-height:48px;font-size:16px;color:var(--ink)}input:focus{outline:2px solid var(--focus);outline-offset:2px;border-color:var(--green)}input::placeholder{color:#929990;font-size:14px}a{color:var(--green)}button{border-radius:10px;min-height:42px;border:1px solid var(--line);padding:10px 16px;background:#fff;color:var(--ink)}button:hover{background:#f4f6f1;border-color:#b7c5b5}.primary,.wizard-btn.next,.dl-btn{background:var(--green);color:#fff;border-color:var(--green);box-shadow:none}.primary:hover,.wizard-btn.next:hover,.dl-btn:hover{background:var(--blue-deep);color:#fff}.eyebrow{color:var(--green);font-size:10px;letter-spacing:.16em;font-weight:700}.muted{color:var(--muted)}.brand{display:inline-flex;align-items:center;gap:10px;font-size:17px;letter-spacing:-.02em;font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap}.brand .brand-mark{display:inline-grid;place-items:center;width:33px;height:33px;flex:none;margin:0;padding:0;background:var(--green);border-radius:9px;color:#fff;font:600 20px/1 Georgia,serif;letter-spacing:-.08em}.brand .brand-tag{margin-left:4px;background:#eef2eb;color:var(--green);padding:4px 9px;border-radius:6px;font-size:11px}.panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px;background:#fff}h1,h2,h3{letter-spacing:-.035em}h2{font-size:19px}.message{border-radius:10px;font-size:14px}.message:not(:empty){padding:12px 14px;background:#fbefea}.message.ok:not(:empty){background:#edf3eb;color:var(--green)}
/* Access */
.site-header{max-width:1180px;padding:27px 40px;margin:auto;display:flex;justify-content:space-between;align-items:center}.header-note{font-size:12px;color:var(--muted)}.login-wrap{max-width:1100px;margin:55px auto 65px;padding:0 40px;display:grid;grid-template-columns:1fr 440px;align-items:center;gap:90px}.login-story .eyebrow{font-size:10px}.login-story h2{font-size:clamp(44px,5vw,66px);font-weight:600;line-height:1.18;margin:24px 0;color:#293c33;letter-spacing:-.055em}.login-story>p{font-size:15px;color:var(--muted);line-height:1.9;margin:0}.story-steps{margin:40px 0 30px;display:grid;gap:21px}.story-steps>div{display:grid;grid-template-columns:34px 1fr;gap:1px 12px;align-items:center}.story-steps span{grid-row:span 2;align-self:start;color:#83917d;font:12px/1.8 ui-monospace,monospace;padding-top:2px}.story-steps strong{font-size:13px;font-weight:600}.story-steps small{font-size:12px;color:var(--muted)}.story-caption{border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:#719476}.login-panel{padding:38px;margin:0;position:relative;border-radius:24px;box-shadow:0 12px 60px #263a2c06}.login-panel>.eyebrow{font-size:11px;letter-spacing:.04em}.login-panel h1{font-size:27px;font-weight:600;line-height:1.4;margin:13px 0 10px}.login-panel .muted{font-size:13px;line-height:1.8;margin:0 0 27px}.login-panel form{gap:21px}.login-panel label{font-size:12px;gap:8px;font-weight:600}.login-panel .primary.full{margin-top:7px;min-height:49px;font-size:14px}.login-panel .message:empty{display:none}.login-panel .message{margin:18px 0 0}.login-panel:has(#contact:not([hidden])) h1{font-size:24px;line-height:1.6}.login-panel:has(#contact:not([hidden]))>.eyebrow{display:none}#contact{margin-top:26px}#contact>.muted{margin-bottom:10px;font-size:12px}.wechat-contact{display:flex;flex-direction:column;align-items:stretch;gap:16px;background:#f4f6f0;border:1px solid #e2e8dc;padding:23px;border-radius:13px}.wechat-contact code{font-size:25px;text-align:center;letter-spacing:.025em;color:#31594f}.wechat-contact button{min-height:44px;font-size:13px}.copy-status{min-height:22px;font-size:12px}.contact-back{font-size:12px}.access-footer{max-width:1100px;padding:23px 40px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#838a80;font-size:11px}.access-footer span{color:#8a9187}#signed-in{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}#signed-in .muted{margin-bottom:10px}
/* Management */
.admin-wrap{max-width:1200px;padding:25px 36px 60px}.topbar{padding-bottom:24px}.topbar>div{display:flex;align-items:center;gap:16px;font-size:12px}.topbar button{margin:0;font-size:12px;min-height:36px;padding:7px 12px}.page-title{margin:30px 0 24px;padding:28px 32px;border-radius:20px;background:#2d4037;color:#fff;align-items:center}.page-title .eyebrow{color:#b6c9ae;letter-spacing:.13em}.page-title h1{font-size:30px;font-weight:550;margin:8px 0}.page-title .muted{color:#d0dbcb;font-size:12px;margin:5px 0}.page-title>button{background:#ffffff0d;border-color:#ffffff30;color:#fff;font-size:12px}.page-title>button:hover{background:#ffffff20}.stats{gap:18px}.stats .panel{padding:22px 25px;gap:8px;margin-bottom:24px;position:relative;overflow:hidden}.stats .panel:after{content:"";position:absolute;right:25px;top:28px;width:6px;height:6px;border-radius:50%;background:#b1c2a8}.stats span{font-size:12px}.stats strong{font-size:34px;letter-spacing:-.055em;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}.admin-wrap h2{font-weight:600;margin-bottom:8px}.admin-wrap .muted{font-size:12px;line-height:1.8}.create-form{gap:20px;margin-top:22px}.create-form label{font-size:12px;gap:9px;max-width:240px}.create-form button{min-height:48px;font-size:13px;padding:12px 22px}.table-wrap{margin-top:20px;border-top:1px solid var(--line);max-width:100%}table{font-size:13px;line-height:1.5}th{background:#f8f9f5;padding:13px 12px;font-size:11px;letter-spacing:.025em;color:#78816f}td{padding:15px 12px;border-color:#edf0e8}td code{font-size:12px}td button{font-size:11px;min-height:34px;padding:6px 10px}td input{min-height:36px;width:75px;font-size:14px}.pill{font-size:11px;background:#edf3e8;color:#48703e}.pill.off{background:#f2f1ed;color:#8a8b81}.row input{font-size:13px;min-height:40px;max-width:225px}.generated-actions{display:flex;flex-wrap:wrap;gap:8px}.generated-actions button{font-size:12px;min-height:38px}#generated{border-color:#b9c9b0;background:#fff}#generated h2:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#6d9063;margin-right:10px}#generated .muted{margin-bottom:0}.small{font-size:11px!important}#loading{padding:40px 0;font-size:13px;color:var(--muted)}
/* Tutorial */
body.wizard-mode{padding-bottom:24px}.wrap{max-width:900px;padding:0 30px;margin:auto}.tutorial-masthead{padding:24px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.tutorial-masthead .eyebrow{font-size:9px}.member-bar{padding:12px 0;font-size:11px;border-bottom:1px solid var(--line);color:var(--muted)}.member-bar button,.member-bar a{font-size:11px;padding:5px 12px;min-height:30px}.member-bar+.tutorial-masthead{border-top:0}.hero{padding:48px 10px 37px;text-align:left;position:relative}.hero .badge{background:#e7ede2;color:var(--green);border:1px solid #d8e1d1;font-size:10px;letter-spacing:.06em;border-radius:6px;padding:4px 9px;margin-bottom:17px}.hero h1{font-size:clamp(34px,4.5vw,48px);line-height:1.2;letter-spacing:-.055em;font-weight:600}.hero .sub{margin-top:15px;font-size:14px;color:var(--muted)}.hero .time{margin-top:21px;font-size:11px;color:#697763;font-weight:500}.hero .time .dot{width:5px;height:5px;background:#88a178}.alert{background:#faf6ed;border:1px solid #e9e0cc;box-shadow:none;padding:19px 23px;border-radius:14px;margin-bottom:16px}.alert h2{font-size:13px;color:#7c6540;margin-bottom:8px}.alert li{font-size:12px;line-height:1.9;color:#75674d;padding-left:17px;margin-bottom:2px}.alert b{color:#655232}.alert li:before{content:"·";color:#a68c5f}.wizard-intro{display:flex;align-items:center;gap:14px;margin:0 0 27px;padding:17px 22px;background:#eef2e9;border:1px solid #dfe6d7;border-radius:13px;box-shadow:none}.intro-symbol{font-size:22px;color:var(--green);line-height:1}.wizard-intro strong{font-size:12px;font-weight:600;color:var(--green)}.wizard-intro p{font-size:11px;color:var(--muted);margin:3px 0 0}.step-index{gap:8px;margin-bottom:20px}.step-index button{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;padding:13px 6px;border-radius:10px;min-height:48px;background:#fafaf7;color:var(--muted)}.step-index button span{font:11px ui-monospace,monospace;color:#899381}.step-index button[aria-current="step"]{background:var(--green);color:#fff;border-color:var(--green)}.step-index button[aria-current="step"] span{color:#c6d7bd}.wizard-status{border:0;background:transparent;padding:0 3px;margin-bottom:22px;border-radius:0;box-shadow:none;scroll-margin-top:20px}.wizard-counter{font-size:11px;color:var(--green);font-weight:600}.wizard-hint{font-size:10px;color:#8a9283}.wizard-progress{height:3px;margin-top:12px;background:#e0e6d8}.wizard-progress span{background:var(--green)}.step{padding:28px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);margin-bottom:20px}.step-head{align-items:center;gap:12px;margin-bottom:21px}.num{width:34px;height:34px;background:#eef3e9;color:var(--green);border:1px solid #dce5d3;border-radius:9px;font:600 14px ui-monospace,monospace}.step-head h3{font-weight:600;font-size:20px;padding:0}.step-body{font-size:14px;line-height:1.9}.path{background:#f5f7f1;border-color:#e0e7d8;border-radius:11px;padding:17px;font-size:13px}.why-note{background:#f7f8f4;border-color:#e1e6d9;box-shadow:none}.why-note summary{font-size:12px;color:#536849}.why-note-body{font-size:12px;color:#728069}.dl-zone{margin:20px 0}.dl-btn{display:flex;align-items:center;justify-content:center;min-height:49px;font-size:13px;font-weight:600;border-radius:10px;padding:13px 18px;overflow-wrap:anywhere;word-break:break-word;text-align:center}.dl-tip{font-size:11px;color:#8b9285;margin-top:10px}.field[style]{background:#faf6ed!important;border:1px solid #e9e0cc!important;border-radius:10px!important}.field[style]>span{color:#8c7148!important;font-size:13px!important;font-weight:500!important}.save-note{font-size:12px}.gallery{gap:12px;padding:6px 2px 12px}.shot{border:1px solid #e2e6dc;border-radius:12px;box-shadow:none}.gallery-arrow{background:#fffffff5;color:var(--green);border-color:#d7dfcf}.wizard-nav{border:1px solid var(--line);background:#fffffff0;backdrop-filter:blur(12px);padding:12px;border-radius:15px;box-shadow:0 8px 30px #30452e08;gap:12px;bottom:16px}.wizard-btn{min-height:46px;border-radius:9px;font-size:13px;font-weight:600}.wizard-btn.prev{background:#f0f3eb}.wizard-done{background:#eaf1e4;font-size:13px;border:1px solid #d4e1c9;font-weight:500}.wrap>footer{font-size:10px;color:#909788;padding:22px 0}.tutorial-video-card,.auth-entry,.auth-text-guide{box-shadow:none;border-color:#dfe5d7}.auth-text-guide summary{background:#f6f8f1}.missing-video{background:#f4f6ef;border:1px dashed #d1dcc7}.auth-entry-link{background:var(--green);border-radius:10px;box-shadow:none}.lightbox{background:#18231ef5}.lb-close,.lb-nav{min-height:44px;min-width:44px}
@media(min-width:900px){.hero h1 br{display:none}.hero .time{position:absolute;right:10px;bottom:43px}.gallery .shot{width:210px;height:auto;aspect-ratio:9/19.5;flex:0 0 210px}.wizard-nav{max-width:none}.login-panel{min-height:440px}.hero{padding-top:50px}}
@media(max-width:900px){.login-wrap{gap:40px;grid-template-columns:minmax(0,1fr) minmax(330px,1fr);padding:0 28px;margin:40px auto}.site-header{padding:23px 28px}.login-panel{padding:30px}.login-story h2{font-size:46px}.story-steps{margin-top:30px}.admin-wrap{padding:22px 24px 45px}.create-form{gap:14px}.create-form button{padding:12px 16px}.panel{padding:23px}}
@media(max-width:640px){.site-header{padding:20px}.header-note{font-size:10px;max-width:130px;text-align:right;line-height:1.6}.brand{font-size:15px;gap:8px}.brand .brand-mark{width:29px;height:29px;font-size:18px;border-radius:8px}.login-wrap{display:block;max-width:460px;margin:15px auto 32px;padding:0 20px}.login-story{padding:10px 3px 25px}.login-story>.eyebrow{font-size:9px}.login-story h2{font-size:36px;line-height:1.2;margin:13px 0}.login-story h2 br{display:none}.login-story>p{font-size:12px;line-height:1.8}.login-story>p br{display:none}.story-steps,.story-caption{display:none}.login-panel{padding:27px 24px;border-radius:20px}.login-panel h1{font-size:24px}.login-panel .muted{font-size:12px;margin-bottom:24px}.login-panel form{gap:19px}.login-panel:has(#contact:not([hidden])) h1{font-size:22px}.access-footer{padding:20px;margin:0 20px;gap:16px;font-size:10px;align-items:start}.access-footer span{max-width:150px;text-align:right}.wechat-contact{padding:20px}.admin-wrap{padding:20px 16px 40px}.topbar{align-items:center;padding-bottom:20px}.topbar>div{display:flex;flex-direction:column;gap:6px;font-size:11px}.topbar .brand{flex-wrap:wrap;gap:6px}.brand .brand-tag{font-size:9px;margin:0;padding:3px 6px}.topbar button{font-size:10px;min-height:30px;padding:4px 9px}.page-title{margin:22px 0 18px;padding:23px 20px;gap:14px}.page-title h1{font-size:25px}.page-title .eyebrow{font-size:8px}.page-title .muted{font-size:10px;max-width:205px}.page-title>button{font-size:10px;padding:8px 10px;white-space:nowrap;min-height:36px}.stats{gap:8px}.stats .panel{padding:15px 12px;margin-bottom:18px;border-radius:13px;gap:8px}.stats .panel:after{display:none}.stats span{font-size:10px;white-space:nowrap}.stats strong{font-size:28px}.panel{padding:21px 18px;border-radius:16px;margin-bottom:18px}.admin-wrap h2{font-size:17px}.admin-wrap .muted{font-size:11px}.create-form{grid-template-columns:1fr 1fr;gap:14px;display:grid}.create-form label{max-width:none;font-size:11px}.create-form button{grid-column:1/-1}.row{align-items:center;gap:12px}.row input{max-width:100%;width:100%}.generated-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.generated-actions button{font-size:11px;padding:9px 6px}.table-wrap{overflow:visible;border:0;margin-top:18px}.table-wrap table,.table-wrap tbody{display:block;width:100%}.table-wrap thead{display:none}.table-wrap tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px;border:1px solid #e4e8dd;background:#fafbf7;border-radius:12px;padding:17px 14px;margin-bottom:12px}.table-wrap td{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:0;border:0;font-size:13px;white-space:normal;overflow-wrap:anywhere}.table-wrap td:before{content:attr(data-label);display:block;font-size:10px;color:#849077;font-weight:400}.table-wrap td[data-label="账号"]{grid-column:1/-1;font:500 14px ui-monospace,monospace;gap:8px}.table-wrap td[data-label="操作"]{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap;gap:7px;padding-top:11px;border-top:1px solid #e3e9db}.table-wrap td[data-label="操作"]:before{display:none}.table-wrap td button{font-size:11px;min-height:38px;margin:0}.table-wrap td input{width:100%;max-width:110px;background:#fff}.table-wrap code{font-size:13px;user-select:all}.table-wrap td[data-label="密码"]{grid-column:1/-1}.table-wrap .pill{padding:4px 9px}.wrap{padding:0 18px;max-width:600px}.tutorial-masthead{padding:19px 0}.tutorial-masthead .eyebrow{font-size:8px;letter-spacing:.1em}.member-bar{font-size:10px;padding:10px 0}.hero{padding:34px 2px 28px}.hero h1{font-size:36px}.hero .sub{font-size:12px;margin-top:13px}.hero .time{font-size:10px;margin-top:17px}.hero .badge{font-size:9px;margin-bottom:15px}.alert{padding:17px 16px;border-radius:12px}.alert h2{font-size:12px}.alert li{font-size:11px}.wizard-intro{padding:15px 16px;margin-bottom:23px;gap:12px}.wizard-intro strong{font-size:12px}.wizard-intro p{font-size:10px}.step-index{gap:5px}.step-index button{display:flex;flex-direction:column;gap:4px;font-size:10px;padding:9px 2px;min-height:53px;border-radius:8px}.step-index button span{font-size:10px}.wizard-status{margin-bottom:18px}.step{padding:21px 17px;border-radius:15px}.step-head{margin-bottom:18px}.step-head h3{font-size:18px}.num{width:30px;height:30px;font-size:12px}.step-body{font-size:13px}.path{padding:14px;font-size:12px}.why-note-body{font-size:11px}.dl-btn{font-size:11px;min-height:47px;padding:12px 9px}.dl-tip{font-size:10px}.gallery .shot{flex:0 0 176px;width:176px;height:auto;aspect-ratio:9/19.5}.wizard-nav{bottom:10px;padding:9px;gap:9px;border-radius:12px}.wizard-btn{min-height:44px;font-size:12px;padding:11px}.wizard-counter{font-size:10px}.wizard-hint{font-size:9px}.wrap>footer{font-size:9px;padding:19px 0}.auth-text-guide summary{padding:15px 12px}.auth-text-label strong{font-size:12px}.auth-text-label small{font-size:10px}}
.config-wrap{max-width:600px;margin:60px auto 65px;padding:0 24px}.config-wrap>h1{font-size:48px;font-weight:550;letter-spacing:-.055em;line-height:1.2;margin:18px 0 14px}.config-intro{color:var(--muted);font-size:13px;margin:0 0 28px}.config-panel{padding:30px}.config-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line)}.config-panel h2{font-size:18px;font-weight:600;margin:0}.config-platform{font-size:10px;color:var(--green);background:#eef3e8;padding:5px 9px;border-radius:6px;white-space:nowrap}.config-value-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0;border-bottom:1px solid #edf0e6}.config-value-row>div{display:grid;gap:8px;min-width:0}.config-label{font-size:11px;color:var(--muted)}.config-value-row code{font-size:25px;letter-spacing:-.035em;font-weight:500;user-select:all;overflow-wrap:anywhere}.config-value-row button{font-size:11px;white-space:nowrap;min-height:38px}.config-panel>.primary{min-height:46px;margin-top:25px;font-size:13px}.config-panel .copy-status{margin:12px 0 0;min-height:20px;font-size:12px}.config-help{font-size:12px;color:var(--muted);text-align:center;line-height:2}.text-copy{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:4px;min-height:38px;color:var(--green);font-size:12px}.copy-hint{font-size:10px;color:#7c8e72}.config-back{display:block;text-align:center;font-size:11px;margin-top:22px}.config-wrap .full{width:100%}
@media(max-width:640px){.config-wrap{margin:33px auto 40px;padding:0 20px}.config-wrap>h1{font-size:38px}.config-intro{font-size:12px;line-height:1.8}.config-panel{padding:23px 20px}.config-panel h2{font-size:17px}.config-value-row{gap:10px;padding:23px 0}.config-value-row code{font-size:23px}.config-value-row button{font-size:10px;padding:8px 10px}.config-help{font-size:11px}.config-platform{font-size:9px}.admin-wrap .topbar>div{flex-wrap:wrap}}
.reseller-created{margin-top:20px;padding:20px;background:#f3f7ee;border:1px solid #d7e3cb;border-radius:12px}.reseller-created strong{font-size:13px;font-weight:600}.reseller-created pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:var(--green);margin:12px 0;user-select:all}.reseller-created button{font-size:12px}.quota-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0}.quota-grid>div{display:grid;gap:6px}.quota-grid span{font-size:11px;color:var(--muted)}.quota-grid strong{font-size:29px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums;color:var(--green)}.reseller-quota .small{margin-bottom:0}#reseller-management>.row>div h2{margin-top:5px}#reseller-management td input{width:90px}.tutorial-video{width:100%;max-height:72vh;display:block;border-radius:12px;background:#111;object-fit:contain}
@media(max-width:640px){.quota-grid{grid-template-columns:1fr 1fr;gap:20px}.quota-grid strong{font-size:25px}.table-wrap td[data-label="代理账号"]{grid-column:1/-1}.reseller-created{padding:16px}.reseller-created pre{font-size:11px}.reseller-created button{font-size:11px;width:100%}#reseller-management .row{align-items:flex-start}#reseller-management .row>button{font-size:11px;padding:7px 10px}.tutorial-video{max-height:70dvh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
