:root{--bg:#f4f4ed;--paper:#fffefa;--ink:#27352f;--sub:#6b7770;--green:#315e50;--green-dark:#244b40;--line:#e4e7df;--soft:#edf2eb;--gold:#c2a36c;--red:#a14c43;--radius:18px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.74}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #7eaa96;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0} [hidden]{display:none!important}.topbar{background:#fffefa;border-bottom:1px solid var(--line)}.top-inner{max-width:1280px;margin:0 auto;padding:17px 30px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:10px}.brand img{width:42px;height:42px}.brand strong{font-family:"Noto Serif CJK SC","Songti SC",SimSun,serif;font-size:24px;letter-spacing:.12em;line-height:1;display:block}.brand span{display:block;font-size:8px;font-weight:650;letter-spacing:1.3px;color:#697b70;margin-top:6px}.top-right{display:flex;align-items:center;gap:24px}.header-tag{font-size:12px;color:#65766b;display:flex;align-items:center;gap:8px}.header-tag i,.editor-dot{width:7px;height:7px;border-radius:50%;background:#6b9c7f;display:inline-block}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;border-radius:9px;min-height:43px;padding:0 18px;font-weight:650;font-size:13px;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}.button:active{transform:translateY(1px)}.button-primary{background:var(--green-dark);color:white;box-shadow:0 3px 7px #1f40351a}.button-primary:hover{background:#386c59}.button-line{background:#fffefa;border:1px solid #d1dacd;color:var(--green-dark)}.button-line:hover{background:#edf2eb;border-color:#aebfb2}.compact{min-height:35px;font-size:12px;padding:0 13px}.full{width:100%;margin-top:16px;justify-content:space-between}.main-wrap{max-width:1280px;margin:0 auto;padding:43px 30px 18px}.hero{display:flex;align-items:center;justify-content:space-between;gap:40px;margin:0 0 30px;padding:3px 0 5px}.eyebrow{color:#657a68;font-size:11px;font-weight:750;letter-spacing:1.2px;display:flex;align-items:center;gap:10px}.little-line{width:24px;height:1px;background:var(--gold)}h1{font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;font-size:clamp(36px,4vw,51px);line-height:1.25;letter-spacing:-1.6px;margin:15px 0 10px;font-weight:700;color:#2b473b}.hero-copy p{font-size:15px;line-height:1.9;color:var(--sub);margin:0;max-width:615px}.hero-side{display:flex;gap:29px;align-items:center;flex-shrink:0}.hero-step{display:flex;gap:11px;align-items:flex-start;position:relative}.hero-step>span{font-family:Georgia,serif;font-size:19px;color:#aa926a;line-height:1.15}.hero-step>div{font-size:13px;font-weight:650;white-space:nowrap}.hero-step small{display:block;margin-top:6px;color:#899389;font-size:10px;font-weight:400;white-space:nowrap}.access-band{border:1px solid #dce5d9;background:#edf3e9;border-radius:13px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.access-main,.access-action{display:flex;align-items:center;gap:13px}.access-icon,.dialog-icon{width:36px;height:36px;border-radius:9px;background:#dbe8da;color:var(--green);font-size:25px;display:grid;place-items:center;flex:none}.access-main strong{display:block;font-size:13px;font-weight:700}.access-main span{display:block;color:#718073;font-size:11px;margin-top:4px}.access-balance{font-size:11px;color:var(--sub)}.access-balance b{font-family:Georgia,serif;font-size:24px;color:var(--green-dark);margin-right:4px}.work-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 12px rgba(38,54,45,.035);min-width:0}.editor-panel,.result-panel{padding:22px;min-height:515px}.panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-bottom:19px}.panel-kicker{font-size:9px;color:#829085;font-weight:750;letter-spacing:1.45px;margin-bottom:7px}.panel h2,.dimensions h2{margin:0;color:#303d34;font-size:22px;font-weight:700;letter-spacing:-.25px}.editor-tools{display:flex;align-items:center;gap:13px}.text-btn{background:none;color:#4b6d60;border:0;padding:5px 0;font-size:12px;white-space:nowrap}.text-btn:hover{text-decoration:underline;text-underline-offset:4px}.muted-btn{color:#929a91}.editor-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.segmented{background:#f0f2ee;padding:3px;display:flex;gap:2px;border-radius:8px}.segment{padding:7px 13px;color:#758177;font-size:12px;border-radius:6px;background:transparent;white-space:nowrap}.segment.selected{color:var(--green-dark);background:#fffefa;box-shadow:0 1px 4px #00000010;font-weight:650}.counter{color:#839087;font-size:11px;white-space:nowrap}.textarea-frame{border:1px solid #e1e6df;border-radius:11px;background:#fafbf7}.textarea-frame:focus-within{border-color:#a3bca7;box-shadow:0 0 0 3px #dce9da70}.textarea-frame textarea{width:100%;height:323px;min-height:260px;resize:vertical;padding:17px 16px;border:0;outline:none;background:transparent;color:#344039;font-size:14px;line-height:1.85;display:block}.textarea-frame textarea::placeholder{color:#9aa49a;line-height:1.85}.textarea-frame textarea:focus-visible{outline:none}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:17px}.editor-info{font-size:11px;color:#7d897e;display:flex;gap:6px;align-items:center;line-height:1.5}.editor-info .editor-dot{width:6px;height:6px;flex:none}.button-arrow{font-size:19px;line-height:1;font-weight:400}.result-panel{display:flex;flex-direction:column}.result-body{min-height:407px;flex:1;border-top:1px solid var(--line)}.empty-state{height:406px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px 10px}.empty-art svg{width:139px;height:118px}.empty-state h3{font-size:17px;letter-spacing:.2px;margin:15px 0 7px;color:#47574b}.empty-state p{font-size:12px;color:#859084;line-height:1.9;margin:0}.empty-tags{display:flex;gap:8px;margin-top:19px}.empty-tags span{border:1px solid #e4e8df;color:#748274;font-size:10px;padding:5px 9px;border-radius:20px}.dimensions{margin:33px 0 21px}.dimensions-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px}.dimensions h2{font-size:19px}.dimensions-head p{margin:0;color:var(--sub);font-size:11px}.dimension-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.dimension{border:1px solid #e2e5dc;background:#f9f9f3;border-radius:12px;padding:14px 14px 12px;min-width:0}.dimension>span{display:block;color:#b09a71;font-family:Georgia,serif;font-size:15px;margin-bottom:7px}.dimension strong{font-size:13px;display:block;color:#4a5d4e}.dimension p{font-size:11px;color:#849083;line-height:1.6;margin:6px 0 0}.main-wrap footer{border-top:1px solid #e0e4db;padding:18px 0;display:flex;justify-content:space-between;gap:15px;align-items:center;color:#899286;font-size:10px}.foot-brand{font-weight:700;color:#6d7d70;white-space:nowrap}.foot-brand span{margin:0 4px}.mobile-only{display:none}.error-msg{background:#fff1eb;color:#a04432;border:1px solid #f2d8cf;border-radius:8px;padding:11px 13px;margin-top:13px;font-size:12px;line-height:1.6}.dialog{width:min(430px,calc(100% - 32px));max-height:90vh;padding:27px;background:var(--paper);border:1px solid #e3e8dc;box-shadow:0 14px 60px #263c3a40;border-radius:18px;color:var(--ink)}.dialog::backdrop{background:#19352c5c;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-icon{width:44px;height:44px;font-size:26px}.close-btn{background:transparent;color:var(--sub);font-size:26px;line-height:1;padding:6px}.dialog h2{font-size:23px;margin:18px 0 5px}.dialog p,.admin-login p,.create-panel p{font-size:13px;line-height:1.7;color:var(--sub);margin:0 0 22px}label{display:block;color:#5a695e;font-size:12px;font-weight:650;margin-bottom:7px}.input{height:43px;width:100%;border:1px solid #dce2d8;border-radius:8px;padding:0 12px;background:#f9faf7;color:#344238;font-size:14px}.dialog small{display:block;font-size:11px;color:var(--sub);margin-top:17px}.toast{position:fixed;z-index:9;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:13px 19px;background:#244b40;color:#fff;border-radius:9px;box-shadow:0 4px 20px #0002;font-size:13px}.loading-state{height:407px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;color:var(--sub);font-size:12px}.loading-state h3{color:var(--ink);margin:14px 0 0;font-size:17px}.spinner{width:47px;height:47px;border:3px solid #e4eadf;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.result-summary{margin:16px 0;display:flex;align-items:center;gap:12px;background:#f1f5ee;padding:13px 14px;border-radius:10px}.result-summary.rejected{background:#f8f0e7}.verdict-icon{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#d9e9d8;color:#346a48;font-size:20px;flex:none}.rejected .verdict-icon{background:#f0dfca;color:#ad7142}.result-summary strong{display:block;font-size:14px}.result-summary p{font-size:11px;margin:5px 0 0;line-height:1.5;color:#788578}.issue-card{border:1px solid #e3e6de;border-radius:12px;padding:13px;margin:12px 0}.issue-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.issue-head strong{font-size:13px;color:#455b4c}.issue-head span{font-size:10px;border-radius:4px;color:#95643a;background:#f5e9da;padding:4px 7px}.issue-head .high{color:#a04940;background:#f7e5e0}.quote,.fix-text{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow-wrap:anywhere; margin:7px 0;padding:10px 11px;border-radius:6px;background:#f5f4ef;color:#536058}.fix-text{background:#edf3ed;color:#335d46}.issue-title{font-size:10px;color:#889386;margin-top:12px;font-weight:650}.cause{font-size:13px;color:#4d5c51;line-height:1.7;margin:8px 0}.issue-actions{display:flex;justify-content:flex-end;gap:13px;margin-top:6px}.review-next{border-top:1px solid var(--line);margin-top:18px;padding:16px 0 2px;display:flex;justify-content:space-between;align-items:center;gap:12px}.review-next p{font-size:11px;line-height:1.6;color:var(--sub);margin:0}.result-note{color:#7b887c;font-size:12px;line-height:1.8;margin:16px 0}.admin-wrap{max-width:1150px}.admin-lead{color:var(--sub);font-size:14px;margin-bottom:28px}.admin-login{max-width:430px;padding:26px}.admin-login h2{margin-bottom:10px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.stat{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:18px}.stat span{color:var(--sub);font-size:12px}.stat strong{font-family:Georgia,serif;display:block;font-size:32px;color:var(--green-dark);margin-top:10px;font-weight:500}.create-panel,.admin-list{padding:22px;margin-bottom:18px}.create-panel h2{margin-bottom:8px}.create-panel p{margin-bottom:15px}.create-form{display:grid;grid-template-columns:2fr 1fr auto;gap:16px;align-items:end}.new-key{margin-top:16px;padding:13px;background:#edf3eb;border-radius:9px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.new-key code{word-break:break-all;flex:1;color:var(--green-dark)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:700px;text-align:left}th{font-size:11px;color:#768578;background:#f3f5ef;white-space:nowrap;padding:13px;font-weight:650}td{padding:14px 13px;border-bottom:1px solid var(--line);font-size:13px;white-space:nowrap}td small{display:block;color:var(--sub);margin-top:5px}td .text-btn{margin-right:10px}.key-status{color:#39724c;background:#e8f1e7;border-radius:5px;padding:4px 7px;font-size:11px}.key-status.disabled{color:#9b5b4f;background:#faeee8}.empty-table{text-align:center;color:var(--sub);padding:26px}.admin-list .panel-head{align-items:center}@media(max-width:1060px){.hero{gap:20px}.hero-side{gap:17px}.hero-step{gap:7px}.hero-step small{display:none}.work-grid{gap:16px}.editor-panel,.result-panel{padding:18px}}@media(max-width:800px){.main-wrap{padding:28px 19px 12px}.top-inner{padding:14px 19px}.hero{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:22px}.hero-side{gap:22px}.hero-step small{display:block}.work-grid{grid-template-columns:1fr}.editor-panel,.result-panel{min-height:0}.result-body,.empty-state{min-height:315px;height:auto}.empty-state{padding:35px 10px}.textarea-frame textarea{height:300px}.dimension-grid{grid-template-columns:repeat(2,1fr)}.dimensions-head{align-items:flex-start;flex-direction:column;gap:7px}.header-tag{display:none}.top-right{gap:10px}.main-wrap footer{flex-wrap:wrap}.create-form{grid-template-columns:1fr 1fr}.create-form>div:first-child{grid-column:1/-1}}@media(max-width:480px){.main-wrap{padding:23px 12px 10px}.top-inner{padding:13px 12px}.brand img{width:37px;height:37px}.brand strong{font-size:21px}.brand span{font-size:6px;letter-spacing:.7px}.hero h1{font-size:36px;margin:12px 0}.hero-copy p{font-size:13px}.hero-side{width:100%;justify-content:space-between;gap:4px}.hero-step{gap:5px}.hero-step>div{font-size:11px}.hero-step>span{font-size:16px}.hero-step small{font-size:9px}.access-band{padding:12px 10px;gap:7px}.access-main{gap:7px}.access-main strong{font-size:11px}.access-main span{font-size:10px;line-height:1.5}.access-icon{width:30px;height:30px}.access-action{gap:5px;flex-direction:column}.compact{padding:0 9px;font-size:11px}.editor-panel,.result-panel{padding:15px;border-radius:13px}.editor-controls{gap:5px}.segment{padding:7px 9px;font-size:11px}.counter{font-size:10px}.editor-footer{gap:6px}.editor-info{font-size:10px}.button-primary{padding:0 13px}.dimension{padding:12px}.stats-grid{gap:7px}.stat{padding:12px}.stat strong{font-size:24px}.create-panel,.admin-list{padding:15px}.review-next{align-items:stretch;flex-direction:column}.mobile-only{display:none}}

.admin-wrap .create-form{grid-template-columns:minmax(180px,1.5fr) minmax(100px,1fr) minmax(160px,1fr) auto}.admin-wrap table{min-width:790px}.dialog #chat-adjust{margin-bottom:16px}@media(max-width:760px){.admin-wrap .create-form{grid-template-columns:1fr}}

.code-row{display:flex;gap:8px;align-items:center}.code-row .input{min-width:0;flex:1}.code-row .button{white-space:nowrap;font-size:13px}.account-quotas{display:flex;gap:12px;margin:16px 0}.account-quotas span{flex:1;padding:12px;border:1px solid #d9dfd8;border-radius:10px;display:flex;flex-direction:column;gap:5px}.account-quotas b{color:#315e50;font-size:20px}.policy-checkbox{display:flex!important;align-items:center;gap:8px;font-size:13px}.admin-list .admin-lead{padding:0 20px 10px;font-size:13px}

.create-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.create-form .policy-checkbox{grid-column:1/3}.create-form button{grid-column:3}@media(max-width:720px){.create-form{grid-template-columns:1fr}.create-form .policy-checkbox,.create-form button{grid-column:auto}}
