:root{color:#2d2926;font-synthesis:none;--red:#7b1f25;--red-dark:#5f171d;--red-soft:#f5e9e8;--gold:#b58a47;--cream:#fbf8f1;--line:#e8e0d4;--muted:#7c746b;--shadow:0 18px 55px #53371f14;background:#f4f0e8;font-family:Microsoft YaHei,PingFang SC,Hiragino Sans GB,Arial,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 85% 5%,#b58a471c,#0000 27%),#f4f0e8;min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{background:#fffcf6f2;border-bottom:1px solid #8b6f4326;align-items:center;gap:17px;min-height:94px;padding:10px clamp(24px,5vw,84px);display:flex}.brand-mark{color:#fff9ed;background:var(--red);border-radius:10px;flex:none;place-items:center;width:52px;height:52px;font-family:STSong,SimSun,serif;font-size:29px;font-weight:700;display:grid;box-shadow:inset 0 0 0 2px #fff5e040}.brand-copy{line-height:1.2}.brand-copy p{color:#8b7659;letter-spacing:.08em;margin:0 0 5px;font-size:10px;font-weight:600}.brand-primary{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.brand-copy h1{color:#322923;letter-spacing:.045em;margin:0;font-family:STSong,SimSun,serif;font-size:27px}.brand-primary>span{color:var(--red);letter-spacing:.03em;font-size:12px;font-weight:700}.secretariat-badge{color:var(--red);background:#f8ece9;border:1px solid #ead1cd;border-radius:999px;margin-left:auto;padding:7px 13px;font-size:12px;font-weight:600}.intro{color:#fff;background:linear-gradient(116deg,#65171d,#8d2930 57%,#752027);justify-content:space-between;align-items:center;gap:36px;min-height:132px;padding:20px clamp(24px,5vw,84px) 23px;display:flex;position:relative;overflow:hidden}.intro:before,.intro:after{content:"";border:1px solid #ebcf9b26;border-radius:50%;position:absolute}.intro:before{width:320px;height:320px;top:-170px;right:4%}.intro:after{width:210px;height:210px;top:-110px;right:10%}.intro>*{z-index:1;position:relative}.eyebrow{color:#ead5a6;letter-spacing:.15em;align-items:center;gap:6px;font-size:10px;font-weight:600;display:inline-flex}.intro h2{letter-spacing:.02em;margin:7px 0 6px;font-family:STSong,SimSun,serif;font-size:22px;font-weight:700}.intro p{color:#ffffffb8;margin:0;font-size:12px}.principles{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.principles span{color:#f5ead5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff14;border:1px solid #ffffff1f;border-radius:6px;align-items:center;gap:5px;padding:6px 8px;font-size:10px;display:inline-flex}.workspace{grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);align-items:start;gap:24px;max-width:1380px;margin:-1px auto 0;padding:32px clamp(18px,4vw,56px) 44px;display:grid}.panel{box-shadow:var(--shadow);background:#fffdf9f5;border:1px solid #8262381f;border-radius:14px}.composer{padding:28px}.panel-heading,.form-section-title{justify-content:space-between;align-items:center;gap:15px;display:flex}.panel-heading>div,.form-section-title>div{align-items:center;gap:10px;display:flex}.panel-heading h3,.form-section-title h3{margin:0;font-size:16px}.step{color:var(--gold);letter-spacing:.08em;font-family:Georgia,serif;font-size:12px;font-weight:700}.helper,.required-note{color:#9b9187;font-size:11px}.required-note{align-items:center;gap:6px;display:inline-flex}.required-note i{background:#b64040;border-radius:50%;width:5px;height:5px}.template-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 30px;display:grid}.template-card{text-align:left;color:#514a44;background:#fbf8f3;border:1px solid #e9e1d6;border-radius:9px;flex-direction:column;align-items:flex-start;gap:9px;min-height:94px;padding:14px 10px;transition:all .18s;display:flex;position:relative}.template-card:hover{border-color:#cfb99b;transform:translateY(-2px)}.template-card.active{color:var(--red);background:var(--red-soft);border-color:#b66b6e;box-shadow:inset 0 0 0 1px #7b1f2514}.template-icon{color:#94764b;background:#f2eadc;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.template-card.active .template-icon{color:#fff;background:var(--red)}.template-card.coming-soon{border-style:dashed}.template-card.coming-soon:hover{border-color:var(--gold)}.template-card strong{font-size:13px;display:block}.template-card small{color:#958b80;margin-top:3px;font-size:10px;display:block}.selected-check{color:#fff;background:var(--red);border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:9px;right:9px}.coming-soon-badge{color:#8a6527;background:#f5ecd9;border:1px solid #e8d5ad;border-radius:5px;padding:3px 6px;font-size:9px;font-weight:600;position:absolute;top:9px;right:9px}.feature-notice{color:#76551f;background:#fbf3df;border:1px solid #ead5a4;border-radius:8px;align-items:center;gap:9px;margin:-14px 0 24px;padding:11px 12px;font-size:11px;line-height:1.55;display:flex}.feature-notice>svg{color:var(--gold);flex:none}.feature-notice span{flex:1;align-items:center;gap:8px;display:flex}.feature-notice strong{color:#59411a}.feature-notice button{color:#8c7653;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;width:26px;height:26px;display:grid}.feature-notice button:hover{background:#b58a471f}.form-section-title{border-top:1px solid #eee7dd;padding-top:23px}.field-grid{grid-template-columns:1fr 1fr;gap:18px 14px;margin-top:19px;display:grid}.field{min-width:0;position:relative}.field.full{grid-column:1/-1}.field>span{color:#554d46;margin-bottom:8px;font-size:12px;font-weight:600;display:block}.field>span em{color:#9b9187;margin-left:5px;font-size:10px;font-style:normal;font-weight:400}.field b{color:#b54545;font-weight:500}.input-wrap{position:relative}.input-wrap svg{color:#a49a8f;pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.field input,.field textarea{color:#322f2c;background:#fff;border:1px solid #ded6ca;border-radius:8px;outline:none;width:100%;transition:all .18s}.field input{height:44px;padding:0 13px 0 40px}.field textarea{resize:vertical;min-height:118px;padding:13px 42px 13px 13px;line-height:1.7}.field input:focus,.field textarea:focus{border-color:#a6565b;box-shadow:0 0 0 3px #7b1f2514}.field input::placeholder,.field textarea::placeholder{color:#b5ada4}.counter{color:#aaa198;font-size:10px;position:absolute;bottom:10px;right:12px}.date-preview{margin:7px 2px 0;font-size:10px;line-height:1.5;display:block}.date-preview.recognized{color:#397a5d}.date-preview.unrecognized{color:#a36f2e}.lunar-toggle{color:#716960;cursor:pointer;align-items:center;gap:7px;margin-top:8px;font-size:11px;display:inline-flex}.lunar-toggle input{width:15px;height:15px;accent-color:var(--red);margin:0}.polish-field textarea{min-height:88px}.polish-field .counter{bottom:27px}.field-tip{color:#9b9187;margin:6px 2px 0;font-size:10px;line-height:1.5;display:block}.smart-suggestions{color:#76551f;background:#fbf4e4;border:1px solid #ead7ac;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 11px;font-size:10px;display:flex}.smart-suggestions>svg{color:var(--gold)}.smart-suggestions>span{margin-right:2px;font-weight:600}.smart-suggestions button{min-height:28px;color:var(--red);border:1px solid color-mix(in srgb, var(--red) 24%, white);background:#fff;border-radius:6px;padding:0 9px;font-size:10px}.privacy-status{color:#37634f;background:#edf6f0;border:1px solid #cfe4d5;border-radius:8px;align-items:flex-start;gap:9px;padding:11px 12px;font-size:10px;line-height:1.55;display:flex}.privacy-status>svg{flex:none;margin-top:1px}.privacy-status strong{color:#28533f;font-size:11px;display:block}.extra-fields-toggle{color:#665d54;text-align:left;background:#f8f4ed;border:1px dashed #d8cbb9;border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 12px;font-size:11px;font-weight:600;display:flex}.extra-fields-toggle>svg{color:var(--gold)}.extra-fields-toggle small{color:#9b9187;margin-left:auto;font-size:9px;font-weight:400}.extra-fields{background:#faf7f1;border:1px solid #e9e0d3;border-radius:8px;grid-template-columns:1fr 1fr;gap:18px 14px;padding:16px;display:grid}.form-completeness{border-radius:7px;align-items:center;gap:7px;padding:9px 11px;font-size:10px;display:flex}.form-completeness.complete{color:#31654c;background:#edf6f0}.form-completeness.draft{color:#8a6527;background:#faf3e3}.error-banner{color:#8a252a;background:#faeceb;border:1px solid #efcfcc;border-radius:7px;margin-top:18px;padding:10px 12px;font-size:12px}.form-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:24px;display:flex}.reset-button{color:#82786f;background:0 0;border:0;align-items:center;gap:7px;font-size:12px;display:inline-flex}.generate-button{color:#fff;background:linear-gradient(135deg,#8c252c,#681920);border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-width:210px;height:46px;padding:0 17px 0 20px;font-size:13px;font-weight:600;display:inline-flex;box-shadow:0 8px 20px #68192033}.generate-button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}.generate-button:disabled{cursor:wait;opacity:.75}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.preview-column{gap:18px;display:grid}.preview{padding:22px}.preview-heading{margin-bottom:15px}.source-tag{border-radius:999px;padding:5px 8px;font-size:10px;font-weight:600}.source-tag.ai{color:#2e6e52;background:#e5f2eb}.source-tag.template{color:#8a6527;background:#f5ecd9}.wechat-card{background:#f1f1f1;border:1px solid #e3e0db;border-radius:9px;place-items:center;min-height:430px;padding:28px;display:grid}.wechat-card.has-content{background:#f3f3f3;display:block}.wechat-card pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#222;background:#fff;border-radius:4px 12px 12px;margin:0;padding:22px 20px;font-family:Microsoft YaHei,PingFang SC,sans-serif;font-size:14px;line-height:1.82;box-shadow:0 1px 4px #00000014}.empty-preview{text-align:center;color:#99918a}.paper-stack{color:#a98b5a;background:#fffaf1;border:1px solid #e8dcc8;border-radius:13px;place-items:center;width:68px;height:68px;margin:0 auto 20px;display:grid;transform:rotate(-2deg);box-shadow:7px 7px #e6e2dc}.empty-preview h4{color:#5f5750;margin:0 0 8px;font-size:14px}.empty-preview p{margin:0;font-size:11px;line-height:1.8}.copy-button{color:#fff;background:var(--red);border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;height:46px;margin-top:15px;font-size:13px;font-weight:600;display:flex}.copy-button.copied{background:#397a5d}.copy-button:disabled{color:#aaa39b;cursor:not-allowed;background:#e9e5df}.copy-tip{color:#a0988f;text-align:center;margin:9px 3px 0;font-size:10px;line-height:1.6}.history{padding:18px 20px}.history-title{justify-content:space-between;align-items:center;display:flex}.history-title>span{color:#584f47;align-items:center;gap:7px;font-size:13px;font-weight:600;display:flex}.history-title>span svg{color:var(--gold)}.history-title small{color:#aaa198;font-size:10px}.history-empty{color:#aaa198;margin:14px 0 1px;font-size:11px}.history-list{margin-top:10px;display:grid}.history-list button{text-align:left;background:0 0;border:0;border-top:1px solid #eee8df;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.history-list button:hover strong{color:var(--red)}.history-list span{min-width:0}.history-list strong,.history-list small{display:block}.history-list strong{color:#514a44;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.history-list small{color:#a0978e;margin-top:4px;font-size:9px}.history-list svg{color:#b7aea4;flex:none}.site-footer{color:#9b9188;justify-items:center;gap:9px;padding:18px 20px 30px;font-size:10px;display:grid}.footer-organization{letter-spacing:.08em;justify-content:center;align-items:center;gap:10px;font-family:STSong,SimSun,serif;display:flex}.footer-organization i{background:#b59a71;border-radius:50%;width:3px;height:3px}.footer-organization strong{color:#776d64}.author-contact{color:#aaa198;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.author-contact>span{margin-right:2px}.author-contact button,.author-contact a{color:#8c8177;background:0 0;border:1px solid #e3dbd0;border-radius:5px;align-items:center;gap:5px;min-height:26px;padding:0 7px;font-size:9px;text-decoration:none;display:inline-flex}.author-contact button:hover,.author-contact a:hover{color:var(--red);border-color:color-mix(in srgb, var(--red) 28%, white)}@media (width<=1020px){.workspace{grid-template-columns:1fr;max-width:800px}.wechat-card{min-height:330px}}@media (width<=720px){.topbar{min-height:76px;padding:12px 18px}.brand-mark{width:46px;height:46px;font-size:25px}.brand-copy p{margin-bottom:3px;font-size:8px}.brand-copy h1{font-size:19px}.brand-primary{display:block}.brand-primary>span{margin-top:3px;font-size:9px;display:block}.secretariat-badge{display:none}.intro{min-height:178px;padding:22px 20px 24px;display:block}.intro h2{font-size:21px;line-height:1.4}.intro p{font-size:11px;line-height:1.6}.principles{justify-content:flex-start;margin-top:15px}.workspace{padding:20px 12px 34px}.composer,.preview{padding:18px}.template-grid{grid-template-columns:1fr 1fr}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.extra-fields{grid-template-columns:1fr}.extra-fields .field.full{grid-column:auto}.extra-fields-toggle small{display:none}.form-actions{flex-direction:column-reverse;align-items:stretch}.generate-button{width:100%}.reset-button{justify-content:center}.footer-organization{text-align:center;flex-direction:column;gap:5px}.footer-organization i{display:none}}.ui-controls{align-items:center;gap:10px;display:flex}.ai-config-badge{color:#2f7154;white-space:nowrap;background:#e8f3ec;border:1px solid #c9e3d3;border-radius:999px;align-items:center;gap:7px;min-height:32px;padding:0 10px;font-size:10px;font-weight:600;display:inline-flex}.ai-config-badge i{background:#36a369;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #36a3691f}.ai-config-badge.demo{color:#89662d;background:#f6edda;border-color:#e8d6b1}.ai-config-badge.demo i{background:#c28b33;box-shadow:0 0 0 3px #c28b331f}.theme-switcher{background:#f2eee7;border:1px solid #e5ddd1;border-radius:10px;align-items:center;gap:3px;min-height:38px;padding:4px;display:flex}.theme-switcher>svg{color:var(--gold);margin:0 5px 0 6px}.theme-switcher button{color:#82776d;white-space:nowrap;background:0 0;border:0;border-radius:7px;min-height:28px;padding:0 9px;font-size:10px;transition:all .18s}.theme-switcher button:hover{color:var(--red)}.theme-switcher button.active{color:#fff;background:var(--red);box-shadow:0 3px 10px #412a1f21}.mobile-preview-trigger{height:38px;color:var(--red);border:1px solid color-mix(in srgb, var(--red) 32%, white);white-space:nowrap;background:0 0;border-radius:9px;align-items:center;gap:7px;padding:0 13px;font-size:11px;font-weight:600;display:inline-flex}.mobile-preview-trigger:hover{color:#fff;background:var(--red)}.theme-modern{--red:#24549b;--red-dark:#183c75;--red-soft:#eaf1fb;--gold:#21a2a8;--cream:#f7f9fc;--line:#dfe6ef;--muted:#687586;--shadow:0 14px 40px #263f5b17;color:#1d2a3a;background:#edf2f8}.theme-modern .topbar{background:#f8fbfff7;border-bottom-color:#dce5f0}.theme-modern .brand-mark{background:linear-gradient(145deg,#2369bf,#163e78);border-radius:13px 4px;box-shadow:0 8px 22px #24549b33}.theme-modern .brand-copy p{color:#65788f;letter-spacing:.07em}.theme-modern .brand-copy h1{color:#192a40;font-family:Microsoft YaHei,PingFang SC,sans-serif;font-weight:700}.theme-modern .secretariat-badge{color:#21636c;background:#e8f6f6;border-color:#bfe1e2}.theme-modern .intro{background:linear-gradient(110deg,#102f5c 0%,#245da4 62%,#168b99 130%);align-items:center;min-height:150px}.theme-modern .intro:before{border-color:#ffffff1a;border-radius:44px;width:460px;height:220px;top:-80px;right:-90px;transform:rotate(-18deg)}.theme-modern .intro:after{border-color:#ffffff14;border-radius:36px;width:310px;height:160px;top:40px;right:-20px;transform:rotate(-18deg)}.theme-modern .intro h2{font-family:Microsoft YaHei,PingFang SC,sans-serif;font-weight:700}.theme-modern .eyebrow{color:#86e0e5}.theme-modern .workspace{grid-template-columns:minmax(0,1fr) minmax(410px,.9fr);max-width:1440px}.theme-modern .panel{background:#fffffffa;border-color:#dce4ed;border-radius:10px}.theme-modern .template-card{background:#f8fafd;border-color:#dfe6ef;border-radius:8px}.theme-modern .template-icon{color:#2467a9;background:#e8f0fa}.theme-modern .field input,.theme-modern .field textarea{border-color:#d7e0ea;border-radius:7px}.theme-modern .generate-button{background:linear-gradient(135deg,#266cc0,#183f78);box-shadow:0 8px 20px #24549b33}.theme-modern .wechat-card{background:#e9edf2;border-color:#dce2e8}.theme-modern .theme-switcher{background:#eaf0f7;border-color:#d9e2ee}.theme-academy{--red:#315e50;--red-dark:#20473c;--red-soft:#edf3ed;--gold:#a47b3d;--cream:#f8f3e8;--line:#ded3bd;--muted:#766d5d;--shadow:0 10px 32px #453e2b14;color:#33352e;background:#eee8db}.theme-academy .topbar{color:#f5eedf;background:#24493e;border-bottom-color:#ffffff1a}.theme-academy .brand-mark{color:#2d5145;background:#e5d4ad;border-radius:50%;box-shadow:inset 0 0 0 2px #f6eedc,0 0 0 1px #a98b50}.theme-academy .brand-copy p{color:#bfcfc5}.theme-academy .brand-copy h1{color:#fffaf0}.theme-academy .secretariat-badge{color:#ebdab4;background:#ffffff0f;border-color:#ebdab447}.theme-academy .ui-controls .theme-switcher{background:#ffffff14;border-color:#ffffff24}.theme-academy .ui-controls .theme-switcher>svg{color:#d8bd85}.theme-academy .ui-controls .theme-switcher button{color:#c9d6cf}.theme-academy .ui-controls .theme-switcher button.active{color:#24493e;background:#e5d4ad}.theme-academy .mobile-preview-trigger{color:#ebdab4;border-color:#ebdab459}.theme-academy .intro{color:#2f453b;background:linear-gradient(#f8f3e8f0,#f8f3e8f0),repeating-linear-gradient(0deg,#0000 0 22px,#315e500a 22px 23px);border-bottom:1px solid #d5c7aa;min-height:162px}.theme-academy .intro:before,.theme-academy .intro:after{border-color:#315e501c}.theme-academy .intro h2{color:#284a3f;letter-spacing:.08em;font-size:clamp(23px,2.5vw,31px)}.theme-academy .intro p{color:#706a5f}.theme-academy .eyebrow{color:#9a743b}.theme-academy .principles span{color:#49665c;background:#315e500f;border-color:#315e501f}.theme-academy .workspace{grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);max-width:1240px}.theme-academy .panel{box-shadow:var(--shadow);background:#fcf8effa;border:1px solid #d8cbb3;border-radius:3px}.theme-academy .panel-heading h3,.theme-academy .form-section-title h3,.theme-academy .history-title{font-family:STSong,SimSun,serif}.theme-academy .template-card{background:#f8f2e6;border-color:#ddd0b9;border-radius:3px}.theme-academy .template-card.active{background:#eaf0e8;border-color:#719385}.theme-academy .template-icon{color:#8b6c37;background:#eee1c5;border-radius:50%}.theme-academy .field input,.theme-academy .field textarea{background:#fffdf7;border-color:#d8ccb8;border-radius:2px}.theme-academy .generate-button,.theme-academy .copy-button{background:linear-gradient(135deg,#3d6d5d,#24493e);border-radius:3px;box-shadow:0 8px 18px #24493e2e}.theme-academy .wechat-card{background:#e9e5dc;border-color:#d8d1c4;border-radius:3px}.mobile-preview-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#14181cb8;place-items:center;padding:24px;animation:.18s ease-out previewFade;display:grid;position:fixed;inset:0}.mobile-preview-dialog{color:#292a2c;background:#f5f2ec;border-radius:18px;width:min(100%,470px);max-height:calc(100vh - 28px);padding:18px 20px 20px;overflow:auto;box-shadow:0 28px 90px #00000061}.mobile-preview-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.mobile-preview-heading>div>span{align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.mobile-preview-heading small{color:#858078;margin-top:5px;font-size:10px;display:block}.mobile-preview-heading button{color:#69645d;background:#e7e2d9;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.phone-device{background:#101214;border:3px solid #34373b;border-radius:42px;width:390px;max-width:100%;height:min(780px,100vh - 170px);min-height:560px;margin:0 auto;padding:25px 9px 20px;position:relative;overflow:hidden;box-shadow:0 20px 50px #0000004d,inset 0 0 0 1px #000}.phone-speaker{z-index:2;background:#050607;border-radius:999px;width:72px;height:19px;position:absolute;top:7px;left:50%;transform:translate(-50%)}.phone-status{z-index:2;color:#292b2e;pointer-events:none;background:#fffffff0;justify-content:space-between;align-items:center;height:23px;padding:0 16px;font-size:9px;font-weight:700;display:flex;position:absolute;top:24px;left:9px;right:9px}.phone-status span{align-items:center;gap:4px;display:flex}.phone-device iframe{background:#f4f0e8;border:0;border-radius:24px;width:100%;height:100%}.phone-home{background:#f5f5f5;border-radius:999px;width:105px;height:4px;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.mobile-preview-dialog>p{color:#858078;text-align:center;margin:11px 0 0;font-size:10px}@keyframes previewFade{0%{opacity:0}to{opacity:1}}@media (width<=1220px){.secretariat-badge{display:none}.ai-config-badge{margin-left:auto}.theme-switcher button{padding:0 7px}}@media (width<=820px){.topbar{flex-wrap:wrap;height:auto;min-height:78px;padding-top:12px;padding-bottom:12px}.ui-controls{order:4;justify-content:space-between;width:100%}.ai-config-badge{order:3}.theme-switcher{min-width:0;overflow-x:auto}.workspace,.theme-modern .workspace,.theme-academy .workspace{grid-template-columns:1fr}}@media (width<=720px){.ui-controls{gap:7px}.theme-switcher{flex:1}.theme-switcher>svg{display:none}.theme-switcher button{flex:1;padding:0 6px;font-size:9px}.mobile-preview-trigger{padding:0 9px;font-size:0}.mobile-preview-trigger svg{width:18px;height:18px}.embedded-preview .mobile-preview-trigger{display:none}.theme-modern .intro,.theme-academy .intro{min-height:178px}.theme-academy .brand-copy h1{color:#fffaf0}.mobile-preview-backdrop{padding:8px}.mobile-preview-dialog{border-radius:14px;padding:14px 10px}.phone-device{border-radius:34px;height:calc(100vh - 145px);min-height:520px}}.account-controls{align-items:center;gap:7px;display:flex}.account-action,.account-logout{color:#776d64;background:#f5f1ea;border:1px solid #e5ddd2;border-radius:8px;justify-content:center;align-items:center;height:36px;display:inline-flex}.account-action{gap:6px;padding:0 10px;font-size:10px}.account-action:hover,.account-logout:hover{color:var(--red);border-color:color-mix(in srgb, var(--red) 30%, white)}.account-logout{width:36px}.account-user{text-align:left;color:#514941;background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;min-width:116px;height:40px;padding:0 9px 0 5px;display:flex}.account-user:hover{background:#80674a12}.account-user>span{color:#fff;background:var(--red);border-radius:50%;flex:none;place-items:center;width:31px;height:31px;font-family:STSong,SimSun,serif;font-size:13px;font-weight:700;display:grid}.account-user strong,.account-user small{display:block}.account-user strong{font-size:11px;line-height:1.25}.account-user small{color:#9a9188;margin-top:2px;font-size:8px;font-weight:400}.theme-academy .account-action,.theme-academy .account-logout{color:#e5d6b8;background:#ffffff0f;border-color:#ffffff24}.theme-academy .account-user{color:#fff8e9}.theme-academy .account-user:hover{background:#ffffff12}.theme-academy .account-user>span{color:#24493e;background:#e5d4ad}.theme-academy .account-user small{color:#b9c9c0}.auth-shell{background:radial-gradient(circle at 12% 15%,#b58a472e,#0000 24%),radial-gradient(circle at 88% 82%,#7b1f251f,#0000 28%),linear-gradient(135deg,#f5efe3,#eee5d6);place-items:center;min-height:100vh;padding:28px 18px;display:grid;position:relative;overflow:hidden}.auth-shell:before,.auth-shell:after{content:"";pointer-events:none;border:1px solid #7b1f2514;border-radius:50%;width:420px;height:420px;position:absolute}.auth-shell:before{top:-270px;right:-100px}.auth-shell:after{bottom:-310px;left:-100px}.auth-card{z-index:1;background:#fffdf8f5;border:1px solid #8c693c2e;border-radius:18px;width:min(100%,440px);padding:34px 38px 28px;position:relative;box-shadow:0 26px 80px #49301d21}.auth-brand{border-bottom:1px solid #ece3d6;align-items:center;gap:13px;padding-bottom:25px;display:flex}.auth-brand-mark{color:#fff7e9;background:linear-gradient(145deg,#8b282e,#65171d);border-radius:12px;flex:none;place-items:center;width:54px;height:54px;font-family:STSong,SimSun,serif;font-size:29px;font-weight:700;display:grid;box-shadow:inset 0 0 0 2px #fff5e033,0 8px 20px #6819202e}.auth-brand p{color:#907b5c;letter-spacing:.08em;margin:0 0 4px;font-size:9px;font-weight:600}.auth-brand h1{color:#3a2f28;letter-spacing:.05em;margin:0;font-family:STSong,SimSun,serif;font-size:20px}.auth-brand span{color:#9c938a;margin-top:3px;font-size:9px;display:block}.auth-welcome{margin:24px 0 20px}.auth-welcome>span,.admin-heading>div>span{color:#9a753c;letter-spacing:.08em;align-items:center;gap:6px;font-size:10px;font-weight:600;display:inline-flex}.auth-welcome h2{color:#342c27;margin:7px 0 5px;font-family:STSong,SimSun,serif;font-size:25px}.auth-welcome p{color:#8c837a;margin:0;font-size:11px;line-height:1.6}.setup-notice{color:#805e2e;background:#f8eed9;border:1px solid #ecd8b4;border-radius:8px;gap:4px;margin:-4px 0 18px;padding:11px 12px;font-size:10px;line-height:1.55;display:grid}.setup-notice strong{font-size:11px}.setup-notice b{font-family:Consolas,monospace}.auth-form{gap:15px;display:grid}.auth-form label>span,.add-user-form label>span{color:#5b524a;margin-bottom:7px;font-size:11px;font-weight:600;display:block}.auth-input-wrap{position:relative}.auth-input-wrap>svg:first-child{color:#a3998f;pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.auth-input-wrap input,.add-user-form select{color:#312d2a;background:#fff;border:1px solid #ded5ca;border-radius:8px;outline:0;width:100%;height:45px}.auth-input-wrap input{padding:0 43px 0 41px}.auth-input-wrap input:focus,.add-user-form select:focus{border-color:#a5565b;box-shadow:0 0 0 3px #7b1f2514}.auth-input-wrap input::placeholder{color:#b7afa7}.password-visibility{color:#9e958c;background:0 0;border:0;place-items:center;width:40px;height:43px;display:grid;position:absolute;top:1px;right:1px}.auth-primary{color:#fff;background:linear-gradient(135deg,#8c252c,#65171d);border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;height:46px;margin-top:3px;font-size:12px;font-weight:600;display:flex;box-shadow:0 9px 22px #68192030}.auth-primary:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}.auth-primary:disabled{cursor:not-allowed;opacity:.5}.auth-error,.auth-success{border-radius:7px;padding:10px 12px;font-size:11px;line-height:1.5}.auth-error{color:#8a252a;background:#faeceb;border:1px solid #efcfcc}.auth-success{color:#286044;background:#e8f4ec;border:1px solid #cbe3d3}.auth-footnote{color:#a69d94;text-align:center;margin:18px 0 0;font-size:9px;line-height:1.6}.auth-loading{color:#887b6e;align-content:center;gap:13px}.auth-loading p{margin:0;font-size:11px}.auth-loading .auth-brand-mark{z-index:1;position:relative}.password-shell{padding:24px 18px}.password-card{z-index:102;background:#fffdf8;border:1px solid #e3d9cb;border-radius:16px;width:min(100%,420px);padding:32px 35px;position:relative;box-shadow:0 26px 80px #34261b2e}.password-icon{color:#fff;background:var(--red,#7b1f25);border-radius:12px;place-items:center;width:50px;height:50px;display:grid}.password-card h2{color:#352e29;margin:17px 0 7px;font-family:STSong,SimSun,serif;font-size:21px}.password-card>p{color:#8c837a;margin:0 0 20px;font-size:11px;line-height:1.65}.modal-close{color:#766e67;background:#f0ebe4;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:18px;right:18px}.account-modal-backdrop{z-index:101;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#191716a8;place-items:center;padding:22px;display:grid;position:fixed;inset:0;overflow:auto}.admin-panel{color:#332f2b;background:#fbf8f2;border:1px solid #ded3c4;border-radius:17px;width:min(100%,940px);max-height:calc(100vh - 44px);padding:27px;position:relative;overflow:auto;box-shadow:0 30px 100px #00000052}.admin-heading{border-bottom:1px solid #e6ddd1;padding:0 45px 19px 0}.admin-heading h2{margin:5px 0 3px;font-family:STSong,SimSun,serif;font-size:22px}.admin-heading p{color:#8f867e;margin:0;font-size:10px}.admin-layout{grid-template-columns:285px minmax(0,1fr);gap:24px;margin-top:22px;display:grid}.add-user-form{background:#f5efe5;border:1px solid #e5d9c7;border-radius:11px;align-content:start;gap:13px;padding:18px;display:grid}.add-user-form h3,.user-list-title h3{margin:0;font-size:13px}.add-user-form h3{color:#66513c;align-items:center;gap:7px;margin-bottom:2px;display:flex}.add-user-form select{padding:0 12px}.user-list-wrap{min-width:0}.user-list-title{justify-content:space-between;align-items:flex-start;min-height:34px;display:flex}.user-list-title span{color:#316c4f;background:#e6f2e9;border-radius:999px;padding:4px 8px;font-size:9px}.managed-user-list{display:grid}.managed-user-list article{border-bottom:1px solid #e9e1d7;align-items:center;gap:11px;min-width:0;padding:13px 3px;display:flex}.managed-user-list article.inactive{opacity:.52}.member-avatar{color:#fff;background:#8a2930;border-radius:50%;flex:none;place-items:center;width:37px;height:37px;font-family:STSong,SimSun,serif;font-size:13px;display:grid}.member-info{flex:1;min-width:0}.member-info strong,.member-info span,.member-info em{display:block}.member-info strong{color:#484039;font-size:11px}.member-info strong small{color:#7b6750;background:#eee5d8;border-radius:4px;margin-left:6px;padding:2px 5px;font-size:8px}.member-info span{color:#958c83;margin-top:4px;font-size:9px}.member-info em{color:#a57836;margin-top:4px;font-size:8px;font-style:normal}.member-actions{gap:5px;display:flex}.member-actions button{color:#766b62;background:#fff;border:1px solid #dfd6cb;border-radius:6px;padding:6px 7px;font-size:9px}.member-actions button.danger{color:#a73f43}.member-actions button.activate{color:#2f7654}.member-actions button:disabled{cursor:not-allowed;opacity:.35}.user-list-loading{color:#998f85;justify-content:center;align-items:center;gap:8px;padding:35px;font-size:10px;display:flex}.admin-panel>.auth-error,.admin-panel>.auth-success{margin-top:17px}@media (width<=1220px){.account-action span{display:none}.account-action{width:36px;padding:0}}@media (width<=820px){.account-controls{order:3;margin-left:auto}.ai-config-badge{order:2}.ui-controls{order:4}.account-user{min-width:0;padding-right:4px}.account-user strong{display:none}.admin-layout{grid-template-columns:1fr}}@media (width<=560px){.auth-shell{padding:12px}.auth-card{border-radius:14px;padding:26px 21px 22px}.auth-brand p{display:none}.auth-brand h1{font-size:18px}.password-card{padding:27px 21px 23px}.account-modal-backdrop{align-items:end;padding:8px}.admin-panel{border-radius:16px 16px 8px 8px;width:100%;max-height:calc(100vh - 12px);padding:20px 15px}.admin-layout{gap:17px}.managed-user-list article{flex-wrap:wrap;align-items:flex-start}.member-actions{width:100%;padding-left:48px}.member-actions button{flex:1}.account-controls{gap:3px}.account-action,.account-logout{width:32px;height:32px}.account-user>span{width:30px;height:30px}}
