:root{--blue:#2857e8;--ink:#1c2437;--muted:#7b8293;--line:#e5e8ed;--paper:#f6f7f9}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,textarea,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--blue)}button{transition:background .15s,transform .15s}a{color:inherit;text-decoration:none}button:hover:not(:disabled){filter:brightness(.97)}.topbar{height:80px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.2px;font-size:17px}.brand-icon{display:grid;place-items:center;width:34px;height:38px;background:var(--blue);color:#fff;border-radius:9px 9px 12px 12px;font-size:17px;transform:rotate(-5deg)}.brand-light{font-weight:400;color:#747c8e;font-size:14px}.header-actions{display:flex;gap:27px;align-items:center}.powered{font-size:10px;letter-spacing:1.2px;color:#727c90}.powered i{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--blue);margin-right:8px}.button{border:1px solid #dfe3eb;border-radius:9px;background:#fff;color:var(--ink);padding:11px 16px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:9px}.subtle{background:#f6f7fa;border:0}.primary{background:var(--blue);border-color:var(--blue);color:#fff}.dark{background:#222b40;color:#fff;border-color:#222b40}main{max-width:1320px;padding:0 48px;margin:auto}.hero{display:flex;justify-content:space-between;align-items:center;padding:52px 0 36px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--blue);font-weight:600;margin:0 0 17px}h1{font-size:44px;line-height:1.3;letter-spacing:1px;margin:0;font-weight:650}h1 span{color:var(--blue)}.intro{color:#717a8b;font-size:13px;line-height:1.9;margin:18px 0 0}.hero-note{margin-right:45px;transform:rotate(-4deg);width:268px;background:#edf1ff;border:1px solid #dce4fc;padding:25px 28px;box-shadow:8px 9px #e8ebf2}.note-label{font-size:10px;color:#7a86a5}.hero-note p{font-size:25px;font-weight:600;line-height:1.6;margin:11px 0 5px;color:#324f9b}.hero-note>span:last-child{font-size:10px;color:#7a86a5}.handline{width:120px;height:6px;background:#c5d2fa;transform:rotate(-2deg);margin:0 0 15px}.logic{display:flex;align-items:center;background:#eef2fb;border:1px solid #e0e6f4;border-radius:12px;padding:19px 24px;margin-bottom:26px;gap:26px}.logic>div{display:flex;align-items:center;gap:13px;flex:1}.logic-n{color:#a9b9e3;font-size:23px;font-family:Georgia,serif;font-style:italic}.logic strong{font-size:13px;letter-spacing:2px}.logic p{font-size:11px;color:#7885a1;margin:5px 0 0}.logic p span{margin:0 4px;color:#a7b2c9}.rules-button{font-size:11px;border:0;background:none;color:#5872ad;white-space:nowrap}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.panel{border:1px solid var(--line);border-radius:14px;background:#fff;padding:26px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.step{font-size:9px;letter-spacing:1.2px;color:#96a0b5}.panel-heading h2{font-size:18px;margin:6px 0 0;font-weight:600}.text-button{background:none;border:0;color:var(--blue);font-size:11px;padding:6px 0}.draft{width:100%;height:230px;background:#fafbfd;border:1px solid #e6eaf2;border-radius:9px;padding:17px;resize:vertical;line-height:1.9;font-size:13px;color:#3b455a}textarea:focus,input:focus,select:focus{outline:2px solid #aabdf8;outline-offset:1px}textarea::placeholder,input::placeholder{color:#a0a7b5}.under-input{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#979fae;margin:8px 1px 22px}.field-label{font-size:11px;color:#6a7387;margin-bottom:9px}.segmented{display:flex;background:#f3f5f9;padding:4px;border-radius:8px;gap:4px}.segmented button{border:0;background:transparent;padding:10px 5px;flex:1;border-radius:5px;font-size:12px;color:#8991a2}.segmented .selected{color:var(--blue);background:#fff;box-shadow:0 2px 5px #19203808;font-weight:500}.form-row{margin:18px 0;display:flex;align-items:center;gap:15px}.form-row label{font-size:11px;color:#6a7387}.form-row select{background:#fff;border:1px solid var(--line);color:#626c80;border-radius:6px;padding:7px 12px;font-size:11px;flex:1}.facts{border-top:1px solid #eff1f5;padding-top:15px}.facts summary{font-size:11px;cursor:pointer;color:#7f889a}.facts summary span{color:#abb1be;margin-left:9px;font-size:10px}.facts textarea{width:100%;height:90px;margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:12px;resize:vertical;font-size:12px;line-height:1.7}.generate{width:100%;margin-top:22px;padding:15px;justify-content:space-between}.small-center{text-align:center;font-size:9px;color:#9ba3b3;margin:12px 0 0}.state{font-size:9px;color:#9aa1ae;padding:6px 9px;border-radius:5px;background:#f6f7f9;white-space:nowrap}.state.done{color:#3b7e6b;background:#eaf5ef}.output-panel{min-height:663px}.empty{min-height:539px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.paper{width:146px;background:#f9faff;border:1px solid #e5eafa;border-radius:3px;padding:19px 20px 23px;text-align:left;transform:rotate(6deg);box-shadow:8px 8px #f0f3fa;position:relative}.paper:before{content:"\2726";position:absolute;right:-20px;top:-14px;font-size:24px;color:#a8baf4}.paper span{font-size:9px;color:#8b9cbe}.paper b{display:block;font-size:17px;line-height:1.65;color:#5973b3;margin:8px 0 13px}.paper i{display:block;height:3px;background:#dfe6f7;margin-top:7px}.paper i:last-child{width:65%}.empty h3{font-size:14px;font-weight:500;margin:30px 0 0;color:#7a859b}.empty p{font-size:11px;line-height:1.9;color:#a1a9b9;margin:10px 0 22px}.empty-chips{display:flex;gap:8px}.empty-chips span{border:1px solid #edf0f6;color:#9ca6b8;font-size:9px;padding:6px 9px;border-radius:5px}.title-list{margin-bottom:18px}.field-label small{font-size:9px;color:#a5adbd;margin-left:10px}.title-list button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #edf0f6;background:transparent;text-align:left;padding:11px 0;font-size:12px;color:#364260;line-height:1.6}.title-list button span{font-size:10px;color:#a7b3ca}.title-list button span:last-child{margin-left:auto}.body-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6a7387;margin:15px 0 8px}.body-label span{font-size:9px;color:#a2aabc}.result{width:100%;height:330px;resize:vertical;border:1px solid #e5eafa;border-radius:8px;background:#fcfdff;font-size:13px;line-height:1.95;padding:15px;color:#37405a}.tag-status{font-size:10px;color:#548873;margin:10px 0 18px;display:flex;gap:8px;align-items:center}.tag-status.missing{color:#a06c28}.tag-status button{font-size:10px;border:0;background:#fff3da;padding:4px 8px;border-radius:4px;color:#8b642f}.output-actions{display:flex;gap:10px}.revision{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.revision label{display:block;font-size:11px;color:#7c879c;margin-bottom:10px}.revision>div{display:flex;gap:8px}.revision input{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;padding:10px;font-size:11px}.revision button{font-size:11px;padding:10px;white-space:nowrap}.review{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f5;font-size:11px;color:#8b94a6;line-height:1.8}.review summary{cursor:pointer;color:#63728f}.review ul{padding-left:17px}.reminders{background:#faf7ee;border-radius:7px;padding:12px;color:#968155;font-size:10px}.reminders p{margin:5px 0 0}.bottom-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 0;padding:22px 0;border-top:1px solid #e1e5ed}.bottom-strip strong{font-size:12px;font-weight:500;color:#667189}.bottom-strip p{font-size:10px;color:#929bad;margin:7px 0 0}.bottom-strip .button{font-size:11px;background:transparent}footer{display:flex;justify-content:space-between;gap:20px;padding:24px 0 35px;font-size:9px;color:#a3aab8}.notice,.error{margin-top:16px;padding:12px;border-radius:7px;line-height:1.7;font-size:12px;background:#fff7e3;color:#946d2a}.error{background:#fff0ef;color:#ac514e}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:#253450;color:#fff;padding:13px 22px;z-index:100;border-radius:9px;box-shadow:0 8px 25px #182b4126;font-size:13px;max-width:90vw}.modal-bg{position:fixed;inset:0;background:#17243a66;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{position:relative;background:#fff;border-radius:15px;padding:35px;max-width:570px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 18px 70px #14203c33}.modal h2{font-size:23px;margin:12px 0 23px}.modal ol{padding-left:20px;line-height:2.3;font-size:13px}.modal p{font-size:12px;line-height:1.9;color:#737f93}.close{position:absolute;right:15px;top:10px;font-size:24px;background:none;border:0;color:#8f98a9}.tags{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.tags span{color:var(--blue);font-size:11px;background:#eff3ff;padding:7px;border-radius:6px}.modal textarea{width:100%;height:300px;border:1px solid var(--line);padding:12px;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spinner{width:14px;height:14px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){main{padding:0 28px}.topbar{padding:0 28px}.hero-note{margin-right:10px}.logic{gap:15px;padding:18px}.logic p{font-size:10px}.workspace{gap:16px}.panel{padding:21px}.under-input{font-size:8px}.header-actions{gap:12px}}@media(max-width:740px){main{padding:0 18px}.topbar{height:68px;padding:0 18px}.brand{font-size:15px;gap:9px}.brand-light{font-size:11px}.powered{display:none}.header-actions .button{padding:9px;font-size:10px}.hero{padding:35px 0 28px;align-items:start}h1{font-size:35px}.eyebrow{font-size:8px;letter-spacing:.8px}.intro{font-size:11px}.hero-note{display:none}.logic{flex-wrap:wrap;gap:14px 0;margin-bottom:18px;padding:17px 14px}.logic>div{min-width:33%;gap:7px;align-items:flex-start}.logic-n{font-size:17px}.logic strong{font-size:12px}.logic p{font-size:9px;line-height:1.8;max-width:83px}.logic p span{margin:0 1px}.rules-button{margin-left:auto;font-size:10px}.workspace{grid-template-columns:1fr;gap:18px}.panel{padding:22px}.draft{height:250px}.output-panel{min-height:490px}.empty{min-height:365px}.bottom-strip{align-items:flex-start;flex-direction:column;gap:12px}.bottom-strip strong{font-size:11px}.bottom-strip p{line-height:1.8}footer{flex-direction:column;gap:8px;line-height:1.6;padding-top:14px}.modal{padding:28px 23px}.modal h2{font-size:20px}.revision>div{flex-wrap:wrap}.revision input{min-width:100%;height:40px}.under-input{font-size:8px}.result{height:380px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.login-screen{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:#eef5ff;overflow:auto}.login-card{width:min(100%,440px);padding:38px;background:#fff;border:1px solid #dce7f5;border-radius:24px;box-shadow:0 18px 60px #19478512}.login-card h1{font-size:28px;line-height:1.4;letter-spacing:-.03em;margin:12px 0}.login-description{color:#65758c;margin-bottom:28px}.login-card label{display:block;font-size:14px;font-weight:600;margin:18px 0 8px}.login-card input{display:block;width:100%;box-sizing:border-box;border:1px solid #cbd8eb;background:#f9fbff;border-radius:10px;padding:13px 14px;font:inherit}.login-card input:focus{outline:2px solid #2775e7;outline-offset:2px}.login-card .primary{width:100%;margin-top:26px;justify-content:center}.login-card .brand-icon{display:inline-flex}.login-card .eyebrow{margin-top:20px}@media(max-width:600px){.login-card{padding:26px}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.header-actions .button{font-size:12px;padding:8px}}
