:root{color-scheme:light;--ink:#172033;--muted:#667085;--line:#e5e8ef;--paper:#fff;--canvas:#f4f6fa;--accent:#3157c8;--soft:#eef2ff}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1180px)/2))}
.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--ink);color:white;font-size:13px;font-weight:800}.brand strong,.brand small{display:block}.brand strong{font-size:15px}.brand small{color:var(--muted);font-size:11px;margin-top:3px}
.status,.live-label{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:7px}.status i,.live-label i{width:7px;height:7px;border-radius:50%;background:#1b9a67;display:inline-block}
.shell{max-width:1180px;margin:0 auto;padding:44px 24px 22px}.intro{max-width:690px;margin-bottom:30px}.eyebrow{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.15em}h1{font-size:clamp(30px,4vw,43px);line-height:1.08;letter-spacing:-.04em;margin:10px 0 12px}.intro>p:last-child{color:var(--muted);line-height:1.6;margin:0}
.workspace{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:22px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 8px 28px rgba(22,34,58,.035)}
.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.panel-heading>div{display:flex;align-items:center;gap:10px}.panel-heading h2{font-size:17px;margin:0;letter-spacing:-.02em}.step{color:var(--accent);font-size:11px;font-weight:800;background:var(--soft);padding:6px 8px;border-radius:7px}.muted{color:var(--muted);font-size:11px}
.field-label{display:block;font-size:12px;font-weight:700;margin:16px 0 7px}.control{width:100%;border:1px solid #d9deea;border-radius:9px;background:#fff;color:var(--ink);padding:11px 12px;font:inherit;font-size:13px;outline:none}.control:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(49,87,200,.1)}textarea.control{resize:vertical;line-height:1.5}.counter{text-align:right;color:var(--muted);font-size:10px;margin-top:5px}
.upload-zone{min-height:112px;border:1px dashed #bdc7db;background:#fafbfe;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}.upload-zone:hover{border-color:var(--accent);background:#f7f8ff}.upload-zone input{display:none}.upload-zone strong{font-size:12px}.upload-zone small,.file-note{color:var(--muted);font-size:11px}.upload-icon{color:var(--accent);font-size:22px;line-height:1}.file-note{margin:8px 0 0;line-height:1.45}
.audio-heading{margin:29px 0 14px}.audio-actions{display:flex;flex-wrap:wrap;gap:9px}.button{min-height:42px;padding:0 14px;border-radius:9px;border:1px solid transparent;font:inherit;font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;transition:.15s ease}.button:disabled{opacity:.42;cursor:not-allowed}.button-dark{background:var(--ink);color:white}.button-light{background:#f0f2f7;color:var(--ink);border-color:#e4e7ee}.button-primary{background:var(--accent);color:white;width:100%}.button-outline{background:white;color:var(--ink);border-color:#dce1eb;width:100%;margin-top:8px}.button-outline:hover{border-color:var(--accent);color:var(--accent)}#audioPlayer{width:100%;margin-top:13px;height:38px}.audio-meta{color:var(--muted);font-size:11px;margin-top:6px;overflow-wrap:anywhere}
.privacy-note{display:flex;gap:10px;padding:12px;background:#f5f7fb;border-radius:10px;margin-top:22px;color:var(--muted)}.privacy-note p{margin:0;font-size:11px;line-height:1.5}.privacy-note strong{color:var(--ink)}
.preview-panel{position:sticky;top:18px}.card-preview{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.preview-image{height:220px;background:#e8ecf5;display:grid;place-items:center;overflow:hidden}.preview-image img{width:100%;height:100%;object-fit:cover;display:block}.placeholder-art{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;background:radial-gradient(circle at 20% 20%,#7485c7,transparent 42%),linear-gradient(135deg,#18233e,#5366a1);letter-spacing:.18em}.placeholder-art span{font-size:12px}.placeholder-art strong{font-family:Georgia,serif;font-size:40px;letter-spacing:.06em}.placeholder-art small{font-size:8px;margin-top:10px}
.preview-copy{padding:21px}.preview-kicker{color:var(--accent);font-size:9px;letter-spacing:.14em;font-weight:800;margin:0 0 8px}.preview-copy h3{font:bold 24px/1.15 Georgia,serif;margin:0 0 10px}.preview-copy>p:not(.preview-kicker){color:#5f6878;font:14px/1.55 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere}.voice-chip{display:flex;align-items:center;gap:10px;background:#f4f6fb;border-radius:10px;padding:11px;margin-top:17px}.sound-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:white;background:var(--accent)}.voice-chip strong,.voice-chip small{display:block}.voice-chip strong{font-size:11px}.voice-chip small{font-size:10px;color:var(--muted);margin-top:3px}
.export-block{margin-top:23px}.export-block h3{font-size:14px;margin:0 0 5px}.export-block>p{color:var(--muted);font-size:11px;line-height:1.5;margin:0 0 10px}.share-status{min-height:16px;margin-top:9px!important}footer{display:flex;justify-content:space-between;color:#8a93a3;font-size:10px;padding:22px 2px 0}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.preview-panel{position:static}.shell{padding-top:30px}}@media(max-width:480px){.topbar{padding:0 16px}.status{display:none}.shell{padding-left:14px;padding-right:14px}.panel{padding:18px}.muted{display:none}footer{gap:12px;flex-direction:column}}
