:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e2e8f0;background:#0f172a;line-height:1.55;color-scheme:dark;--muted:#aab9cd;--accent:#7dd3fc;scroll-behavior:smooth;scroll-padding-top:24px}
*{box-sizing:border-box}body{margin:0}a{color:var(--accent);text-underline-offset:4px}button,select,textarea{font:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:8px 15px;border:1px solid #53637b;border-radius:6px;background:#1e293b;color:#e2e8f0;cursor:pointer;text-decoration:none;font-size:.9rem;font-weight:600}button:hover,.button:hover{background:#334155;border-color:#aab9cd}button:disabled{cursor:wait;opacity:.6}.primary{background:#7dd3fc;border-color:#7dd3fc;color:#082f49}.primary:hover{background:#bae6fd;color:#082f49}.quiet{background:transparent}.danger{color:#fecaca;border-color:#a65b68;background:#321e2d}.danger:hover{background:#4c2635}.brand{text-decoration:none;color:#f8fafc;font-size:1.1rem;font-weight:700}.brand span{font-size:.9rem;font-weight:400;color:var(--muted);margin-left:18px}header{max-width:1328px;margin:auto;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #334155}#account{display:flex;align-items:center;gap:18px}main{max-width:1264px;margin:auto;padding:38px 32px 80px;min-height:75vh}h1{font-size:2.3rem;line-height:1.2;font-weight:650;letter-spacing:-.025em;margin:0 0 12px}h2{font-size:1.35rem;margin:0 0 18px;color:#f8fafc}p{max-width:70ch;margin:0 0 18px;color:var(--muted)}.welcome{max-width:650px;padding:64px 0 24px}.welcome h1{font-size:3.5rem;line-height:1.1;letter-spacing:-.035em;margin-bottom:24px}.welcome>p{font-size:1.1rem}.welcome .hint{font-size:.85rem;margin-top:18px;max-width:48ch}#notice{color:#bae6fd;white-space:pre-wrap;min-height:1.6em;margin:0 0 16px}#notice.error,.row-status.error{color:#fda4af}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.page-heading p{margin:0}.toolbar{display:flex;align-items:end;gap:20px;flex-wrap:wrap;border-block:1px solid #334155;margin:28px 0;padding:20px 0}label{display:flex;flex-direction:column;gap:7px;font-size:.85rem;color:var(--muted)}select{min-width:170px;min-height:44px;border:1px solid #53637b;border-radius:5px;color:#f8fafc;background:#172238;padding:8px 32px 8px 12px}.toolbar p{font-size:.85rem;max-width:26ch;margin:0 auto 4px 0}.toolbar button{margin-bottom:1px}#editor-layout{display:grid;grid-template-columns:112px minmax(0,1fr);gap:40px}#acts{display:flex;flex-direction:column;align-self:start;position:sticky;top:24px;gap:3px}#acts a{color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:4px;font-size:.9rem}#acts a:hover{background:#1e293b;color:#f8fafc}.instructions{font-size:.9rem;margin:0 0 32px}.act{margin-bottom:52px;scroll-margin-top:24px}.act h2{padding-bottom:16px;border-bottom:1px solid #53637b;margin:0}.step{padding:24px 0;border-bottom:1px solid #334155}.step-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px}.step h3{font-size:1rem;font-weight:600;color:#f8fafc;margin:0}.badge{font-size:.75rem;color:var(--accent)}.step-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px}.default-label{font-size:.8rem;color:var(--muted);margin-bottom:7px}.default-text{font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere;color:#cbd5e1;margin:0;max-width:65ch}textarea{width:100%;resize:vertical;min-height:96px;padding:12px;border:1px solid #53637b;border-radius:5px;color:#f8fafc;background:#101d33;font-size:.9rem;line-height:1.55;caret-color:var(--accent)}textarea::placeholder{color:#aab9cd}textarea:focus,select:focus{border-color:var(--accent)}.note-kind{min-width:0;min-height:36px;font-size:.8rem;padding:4px 30px 4px 9px;width:max-content;margin-bottom:9px}.step-actions{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}.step-actions button{font-size:.8rem;min-height:36px;padding:5px 12px}.row-status{font-size:.8rem;color:var(--accent);overflow-wrap:anywhere;flex-basis:100%}#empty{padding:40px 0 70px}dialog{max-width:480px;width:calc(100% - 32px);background:#172238;color:#e2e8f0;border:1px solid #53637b;border-radius:12px;padding:28px;box-shadow:0 18px 65px #02061799}dialog::backdrop{background:#020617b3}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}footer{max-width:1264px;margin:auto;padding:24px 32px;border-top:1px solid #334155;font-size:.8rem;color:var(--muted)}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{background:#bae6fd;color:#082f49}*{scrollbar-color:#53637b #0f172a;scrollbar-width:thin}
@media(max-width:760px){header{padding:18px 20px}.brand span{display:block;margin:0;font-size:.75rem}#account{gap:10px;font-size:.85rem}main{padding:28px 20px 60px}.welcome{padding-top:48px}.welcome h1{font-size:2.75rem}h1{font-size:1.85rem}.page-heading{align-items:start;gap:12px}.page-heading button{font-size:.75rem;white-space:nowrap;padding:6px 10px}.toolbar{gap:16px}.toolbar label{flex:1;min-width:125px}.toolbar select{width:100%;min-width:0}.toolbar p{flex-basis:100%;max-width:none;order:3}.toolbar>button{width:100%}#editor-layout{display:block}#acts{position:static;flex-direction:row;flex-wrap:wrap;gap:3px;margin-bottom:24px}#acts a{padding:6px 9px}.step-grid{grid-template-columns:1fr;gap:18px}.instructions{margin-bottom:24px}.step{padding:22px 0}.dialog-actions{flex-wrap:wrap}footer{padding:24px 20px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
