:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#e2e8f0;font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{background:#e2e8f0}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}button,input,select,textarea{font:inherit}.app-shell{color:#0f172a;background:linear-gradient(#f8fafc 0%,#eef7ff 100%);flex-direction:column;min-height:100vh;padding:24px;display:flex}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffc;border:1px solid #94a3b847;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex;box-shadow:0 16px 30px #0f172a14}.eyebrow{letter-spacing:.18em;text-transform:uppercase;color:#2563eb;margin:0 0 8px;font-size:.72rem;font-weight:700}.topbar h1{letter-spacing:-.06em;margin:0;font-size:clamp(1.8rem,3vw,2.8rem)}.toolbar{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}button{color:#0f172a;cursor:pointer;background:#e2e8f0;border:0;border-radius:12px;padding:.78rem 1.15rem;font-size:.94rem;font-weight:700;transition:transform .2s,box-shadow .2s}button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px #3b82f626}button.primary{color:#fff;background:linear-gradient(135deg,#2563eb,#3b82f6)}button.accent{color:#fff;background:linear-gradient(135deg,#0f766e,#14b8a6)}.meta-bar{color:#334155;background:#0f172a0f;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:12px 18px;font-size:.92rem;font-weight:600;display:flex}.editor-layout{flex:1;grid-template-columns:320px minmax(0,1fr);gap:22px;margin-top:20px;display:grid}.sidebar{flex-direction:column;gap:18px;display:flex}.panel{background:#ffffffd1;border:1px solid #94a3b840;border-radius:16px;padding:18px;box-shadow:0 12px 24px #0f172a0d}.panel h2{margin:0 0 12px;font-size:1.1rem}.select-wrap{color:#334155;flex-direction:column;gap:8px;font-weight:600;display:flex}.select-wrap select,.field-label input{font:inherit;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:.7rem .8rem}.panel ul{color:#475569;gap:10px;margin:0;padding-left:1.2rem;line-height:1.5;display:grid}.rich-toolbar{flex-wrap:wrap;gap:8px;display:flex}.rich-toolbar button{background:#f8fafc;border:1px solid #dbe4f0;padding:.55rem .8rem}.workspace-grid{grid-template-columns:1fr 1fr;gap:20px;min-height:60vh;display:grid}.editor-panel,.preview-panel{background:#ffffffb3;border:1px solid #94a3b840;border-radius:18px;flex-direction:column;gap:14px;padding:18px;display:flex;box-shadow:0 12px 24px #0f172a0f}.preview-header{justify-content:space-between;align-items:center;display:flex}.preview-header h2{margin:0;font-size:1.05rem}.field-label{color:#334155;flex-direction:column;gap:8px;font-weight:600;display:flex}.editor-surface,.preview-surface{color:#0f172a;box-sizing:border-box;background:#fff;border:1px solid #dbe4f0;border-radius:14px;flex:1;width:100%;min-height:440px;padding:18px 20px;font:400 1rem/1.7 Segoe UI,sans-serif;overflow:auto}.preview-surface{background:#fff}.editor-surface{outline:none}.editor-surface h1,.editor-surface h2,.editor-surface h3,.preview-surface h1,.preview-surface h2,.preview-surface h3{margin:.4em 0;line-height:1.2}.editor-surface p,.editor-surface ul,.editor-surface ol,.preview-surface p,.preview-surface ul,.preview-surface ol{margin:.75em 0}.editor-surface ul,.editor-surface ol,.preview-surface ul,.preview-surface ol{padding-left:1.5rem}.editor-surface:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #60a5fa2e}input:focus,select:focus{outline-offset:2px;outline:2px solid #2563eb40}@media (width<=980px){.workspace-grid{grid-template-columns:1fr}}@media (width<=860px){.topbar,.meta-bar{flex-direction:column;align-items:flex-start}.toolbar{justify-content:flex-start}.editor-layout{grid-template-columns:1fr}}
