:root{--ink:#173f41;--deep:#0e292a;--peach:#e9a36f;--paper:#f7f3eb;--line:#d8ded9}.builder{display:grid;grid-template-columns:430px minmax(0,1fr);min-height:calc(100vh - 74px);background:#eef0ec}.panel{background:#fff;border-right:1px solid var(--line);padding:34px 28px 100px;overflow:auto;max-height:calc(100vh - 74px)}.panel-head h1{font:700 38px/1.12 "Noto Serif TC","Songti TC",serif;color:var(--ink);letter-spacing:-.03em;margin:12px 0}.panel-head p{color:#687472;line-height:1.65}.tag{font-size:11px;letter-spacing:.15em;font-weight:800;color:#b95f42}.status-row{display:flex;justify-content:space-between;align-items:center;margin:24px 0;padding:13px 15px;background:#edf4f0;color:var(--ink);font-size:12px}.status-row i{display:inline-block;width:7px;height:7px;background:#54a276;border-radius:50%;margin-right:8px}.form-section{padding:22px 0;border-top:1px solid var(--line)}.section-label{font-size:12px;font-weight:800;letter-spacing:.1em;color:#aa674c;margin-bottom:18px}.form-section label,dialog label{display:grid;gap:7px;margin-bottom:15px;color:#314746;font-size:13px;font-weight:700}.form-section input,.form-section textarea,.form-section select,dialog textarea{width:100%;border:1px solid #cfd7d3;background:#fbfcfa;border-radius:6px;padding:11px 12px;font:inherit;color:#1c3232}.form-section textarea{min-height:88px;resize:vertical;line-height:1.5}.form-section input:focus,.form-section textarea:focus,.form-section select:focus,dialog textarea:focus{outline:2px solid #e9a36f55;border-color:var(--peach)}.two{display:grid;grid-template-columns:1.5fr .8fr;gap:12px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checks label{display:flex;align-items:center;gap:8px;background:var(--paper);padding:9px;margin:0}.checks input{width:auto}.panel-actions{position:sticky;bottom:-100px;margin:20px -28px -100px;padding:16px 28px;background:#ffffffee;display:flex;gap:10px;border-top:1px solid var(--line);backdrop-filter:blur(8px)}.workspace{padding:30px 4vw 50px;min-width:0}.workspace-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.workspace-top>div:first-child{display:grid;gap:5px}.view-switch{display:flex;background:#dfe5e1;padding:4px;border-radius:99px}.view-switch button{border:0;background:transparent;padding:8px 15px;border-radius:99px;cursor:pointer;color:#5d6d6a}.view-switch .active{background:#fff;color:var(--ink);box-shadow:0 2px 8px #183d3f16}.preview-shell{height:calc(100vh - 210px);min-height:620px;background:#cfd5d1;padding:20px;display:grid;place-items:start center;overflow:auto;border-radius:8px}.preview-shell iframe{width:100%;height:100%;border:0;background:#fff;box-shadow:0 20px 60px #173f4125;transition:width .25s}.preview-shell.mobile iframe{width:390px}.export-note{display:flex;gap:20px;padding:18px 20px;background:#173f41;color:#d9e5e2;font-size:13px}.export-note strong{color:var(--peach);white-space:nowrap}dialog{border:0;border-radius:10px;padding:0;width:min(620px,calc(100% - 30px));box-shadow:0 30px 100px #0f292b55}dialog::backdrop{background:#0a2021aa;backdrop-filter:blur(5px)}dialog form{padding:28px}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{font:700 34px/1.1 "Noto Serif TC",serif;color:var(--ink);margin:8px 0 24px}.close{border:0;background:#edf0ec;width:38px;height:38px;border-radius:50%;font-size:24px;cursor:pointer}.ai-state{display:grid;gap:6px;background:#edf4f0;border-left:4px solid var(--ink);padding:14px 16px;margin-bottom:20px}.ai-state span{font-size:10px;letter-spacing:.15em;color:#6a7a76}.ai-state b{font-size:14px;color:var(--ink)}dialog textarea{min-height:150px}.muted{font-size:12px;color:#74807d;line-height:1.6}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#0e292a;color:#fff;padding:12px 18px;border-radius:5px;opacity:0;pointer-events:none;transition:.2s;z-index:30}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){.builder{grid-template-columns:1fr}.panel{max-height:none;border-right:0}.workspace{padding:24px 14px}.preview-shell{height:720px;padding:10px}.preview-shell iframe{min-width:0}.workspace-top{align-items:end}.panel-actions{bottom:0;margin-bottom:-100px}.export-note{flex-direction:column;gap:6px}.hide-mobile{display:none}}@media(max-width:480px){.panel{padding:28px 18px 90px}.panel-actions{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.two{grid-template-columns:1fr}.preview-shell.mobile iframe,.preview-shell iframe{width:100%}.checks{grid-template-columns:1fr}}
