.editor-shell{--paper: #F5F0E2;--paper-warm: #F1EAD8;--paper-deep: #E8DFC6;--card: #FDFBF4;--card-tinted: #FAF5E8;--ink: #1A1612;--ink-soft: #3F362C;--ink-mute: #6E6457;--ink-faint: #968871;--gold: #8B6F2A;--gold-bright: #B68F35;--gold-soft: #D8C28A;--gold-pale: #EFE3BD;--rule: #C8B98C;--rule-soft: #DCD0A6;--rule-faint: #ECE3C8;--ok: #5E7A4A;--warn: #B07A2A;--err: #9B3F3F;--display: "Cinzel", serif;--serif: "Cormorant Garamond", "Lora", Georgia, serif;--body: "Lora", Georgia, serif;background:var(--paper);color:var(--ink);font-family:var(--body);font-feature-settings:"ss01","kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.editor-shell:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.4;mix-blend-mode:multiply;background-image:radial-gradient(circle at 20% 35%,rgba(139,111,42,.04) 0%,transparent 35%),radial-gradient(circle at 80% 65%,rgba(139,111,42,.03) 0%,transparent 40%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0 0.25  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}.editor-shell .ed-display{font-family:var(--display);font-weight:500;letter-spacing:.04em;color:var(--ink)}.editor-shell .ed-eyebrow{font-family:var(--display);font-size:.6875rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold);font-weight:500}.editor-shell .ed-numeral{font-family:var(--display);font-weight:500;font-size:.75rem;letter-spacing:.18em;color:var(--gold)}.editor-shell .ed-serif{font-family:var(--serif);color:var(--ink-soft);font-style:italic}.editor-shell .ed-body{font-family:var(--body);color:var(--ink-soft);line-height:1.6}.editor-shell .ed-mute{color:var(--ink-mute)}.editor-shell input[type=text],.editor-shell input[type=email],.editor-shell input[type=tel],.editor-shell input[type=date],.editor-shell input[type=time],.editor-shell input[type=number],.editor-shell input[type=url],.editor-shell textarea,.editor-shell select{width:100%;background:var(--card);color:var(--ink);font-family:var(--body);font-size:.9375rem;padding:.6875rem .875rem;border:1px solid var(--rule-soft);border-radius:4px;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;appearance:none;-webkit-appearance:none}.editor-shell input:focus,.editor-shell textarea:focus,.editor-shell select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px #8b6f2a1f;background:#fffef8}.editor-shell input::placeholder,.editor-shell textarea::placeholder{color:var(--ink-faint);font-style:italic}.editor-shell select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B6F2A' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right .875rem center;padding-right:2.5rem}.editor-shell label{font-family:var(--body);font-size:.8125rem;font-weight:500;color:var(--ink-soft);letter-spacing:.01em}.editor-shell input[type=range]{width:100%;height:4px;background:var(--rule-soft);border-radius:999px;appearance:none;-webkit-appearance:none;cursor:pointer;border:none;padding:0}.editor-shell input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:18px;width:18px;background:var(--card);border:2px solid var(--gold);border-radius:50%;cursor:grab;box-shadow:0 2px 6px #1a161226;transition:transform .12s ease}.editor-shell input[type=range]::-webkit-slider-thumb:active{transform:scale(1.1);cursor:grabbing}.editor-shell input[type=range]::-moz-range-thumb{height:18px;width:18px;background:var(--card);border:2px solid var(--gold);border-radius:50%;cursor:grab}.editor-shell input[type=checkbox]{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:1.5px solid var(--rule);border-radius:3px;background:var(--card);cursor:pointer;position:relative;flex-shrink:0;transition:all .15s ease}.editor-shell input[type=checkbox]:checked{background:var(--gold);border-color:var(--gold)}.editor-shell input[type=checkbox]:checked:after{content:"";position:absolute;inset:2px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat}.editor-shell .ed-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.6875rem 1.25rem;font-family:var(--body);font-size:.875rem;font-weight:500;letter-spacing:.02em;border-radius:4px;cursor:pointer;transition:all .18s ease;border:1px solid transparent;white-space:nowrap}.editor-shell .ed-btn-primary{background:var(--ink);color:var(--paper);border-color:var(--ink)}.editor-shell .ed-btn-primary:hover:not(:disabled){background:var(--gold);border-color:var(--gold)}.editor-shell .ed-btn-gold{background:var(--gold);color:#fff;border-color:var(--gold)}.editor-shell .ed-btn-gold:hover:not(:disabled){background:var(--gold-bright);border-color:var(--gold-bright)}.editor-shell .ed-btn-ghost{background:transparent;color:var(--ink);border-color:var(--rule)}.editor-shell .ed-btn-ghost:hover:not(:disabled){background:var(--card-tinted);border-color:var(--gold)}.editor-shell .ed-btn-quiet{background:transparent;color:var(--ink-mute);border:none;padding:.5rem .75rem}.editor-shell .ed-btn-quiet:hover:not(:disabled){color:var(--ink)}.editor-shell .ed-btn:disabled{opacity:.5;cursor:not-allowed}.editor-shell .ed-rule{position:relative;height:1px;background:var(--rule-soft)}.editor-shell .ed-rule-ornament{display:flex;align-items:center;justify-content:center;gap:.875rem;color:var(--gold)}.editor-shell .ed-rule-ornament:before,.editor-shell .ed-rule-ornament:after{content:"";flex:1;height:1px;background:linear-gradient(to right,transparent,var(--rule),transparent)}.editor-shell .ed-toggle{position:relative;width:44px;height:24px;background:var(--rule-soft);border-radius:999px;cursor:pointer;transition:background-color .2s ease;flex-shrink:0;border:none;padding:0}.editor-shell .ed-toggle:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:var(--card);border-radius:50%;box-shadow:0 1px 3px #1a161240;transition:transform .2s cubic-bezier(.4,0,.2,1)}.editor-shell .ed-toggle[data-on=true]{background:var(--gold)}.editor-shell .ed-toggle[data-on=true]:before{transform:translate(20px)}.editor-shell .ed-pill{display:inline-flex;align-items:center;gap:.375rem;padding:.1875rem .625rem;border-radius:999px;font-size:.6875rem;font-family:var(--body);font-weight:500;letter-spacing:.04em}.editor-shell .ed-pill-ok{background:#5e7a4a1f;color:var(--ok)}.editor-shell .ed-pill-warn{background:#b07a2a1f;color:var(--warn)}.editor-shell .ed-pill-empty{background:var(--paper-deep);color:var(--ink-mute)}.editor-shell .ed-pill-gold{background:var(--gold-pale);color:var(--gold)}.editor-shell .ed-chapter{position:relative;background:var(--card);border:1px solid var(--rule-soft);border-radius:6px;padding:1.75rem 1.5rem 1.5rem;box-shadow:0 1px #1a161205,0 12px 28px -20px #1a16122e}@media(min-width:640px){.editor-shell .ed-chapter{padding:2.25rem 2.25rem 2rem}}.editor-shell .ed-chapter:before{content:"";position:absolute;top:-1px;left:1.5rem;right:1.5rem;height:2px;background:linear-gradient(to right,transparent,var(--gold-soft),transparent)}.editor-shell .ed-section-row{position:relative;display:flex;align-items:stretch;gap:0;background:var(--card);border:1px solid var(--rule-soft);border-radius:6px;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.editor-shell .ed-section-row:hover{border-color:var(--rule);box-shadow:0 6px 20px -16px #1a161240}.editor-shell .ed-section-row[data-open=true]{border-color:var(--gold);box-shadow:0 12px 32px -22px #8b6f2a66}.editor-shell .ed-section-handle{display:flex;flex-direction:column;align-items:center;justify-content:center;width:36px;background:var(--card-tinted);border-right:1px solid var(--rule-soft);color:var(--ink-mute);flex-shrink:0}.editor-shell .ed-section-handle button{background:none;border:none;padding:.25rem;color:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center}.editor-shell .ed-section-handle button:hover:not(:disabled){color:var(--ink)}.editor-shell .ed-section-body{flex:1;display:flex;align-items:center;gap:.875rem;padding:1rem;cursor:pointer;background:transparent;border:none;text-align:left;font-family:inherit;color:inherit;min-width:0}.editor-shell .ed-section-numeral{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--paper-deep);color:var(--gold);font-family:var(--display);font-size:.75rem;font-weight:500;flex-shrink:0}.editor-shell .ed-section-row[data-on=true] .ed-section-numeral{background:var(--gold);color:var(--paper)}.editor-shell .ed-section-meta{flex:1;min-width:0}.editor-shell .ed-section-title{font-family:var(--display);font-size:.875rem;letter-spacing:.06em;color:var(--ink);text-transform:uppercase}.editor-shell .ed-section-preview{font-family:var(--serif);font-style:italic;font-size:.875rem;color:var(--ink-mute);margin-top:.125rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-shell .ed-help{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:var(--paper-deep);color:var(--ink-mute);font-size:.625rem;font-weight:600;font-family:var(--body);cursor:help;vertical-align:middle;margin-left:.375rem;border:none;position:relative;transition:all .15s ease}.editor-shell .ed-help:hover,.editor-shell .ed-help:focus-visible{background:var(--gold);color:var(--paper);outline:none}.editor-shell .ed-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:var(--ink);color:var(--paper);font-family:var(--body);font-style:normal;font-size:.75rem;font-weight:400;padding:.625rem .875rem;border-radius:4px;white-space:normal;width:240px;box-shadow:0 8px 24px #1a16124d;z-index:50;text-align:left;letter-spacing:0;line-height:1.4;pointer-events:none}.editor-shell .ed-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-top-color:var(--ink)}.preview-pane{position:sticky;top:0;height:100vh;background:radial-gradient(ellipse at center top,rgba(184,143,53,.08),transparent 70%),linear-gradient(180deg,var(--paper-warm),var(--paper-deep));display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem;border-left:1px solid var(--rule-soft);overflow:hidden}.preview-pane:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:repeating-linear-gradient(45deg,transparent 0,transparent 22px,rgba(139,111,42,.025) 22px,rgba(139,111,42,.025) 23px)}.preview-phone{position:relative;width:min(360px,100%);aspect-ratio:9 / 19.5;background:#0a0a0a;border-radius:38px;padding:12px;box-shadow:0 30px 60px -20px #00000073,0 0 0 1px #0009,inset 0 1px #ffffff1a}.preview-phone-screen{position:relative;width:100%;height:100%;background:var(--card);border-radius:28px;overflow:hidden}.preview-phone-notch{position:absolute;top:8px;left:50%;transform:translate(-50%);width:96px;height:24px;background:#0a0a0a;border-radius:999px;z-index:10}.preview-phone iframe{width:100%;height:100%;border:0;background:var(--card)}.preview-meta{margin-top:1.5rem;text-align:center;font-family:var(--body);font-size:.75rem;color:var(--ink-mute);letter-spacing:.04em}.save-bar{position:fixed;left:50%;bottom:5rem;transform:translate(-50%);z-index:60;display:flex;align-items:center;gap:1rem;padding:.75rem .875rem .75rem 1.25rem;background:var(--ink);color:var(--paper);border-radius:999px;box-shadow:0 24px 60px -20px #1a16128c,0 0 0 1px #ffffff14;max-width:calc(100vw - 1.5rem)}@media(min-width:1024px){.save-bar{bottom:1.5rem;left:calc((100vw - clamp(380px,40%,520px))/2)}}.save-bar .save-bar-text{font-family:var(--body);font-size:.8125rem;letter-spacing:.02em;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.save-bar .save-bar-dot{width:7px;height:7px;border-radius:50%;background:var(--gold-bright);box-shadow:0 0 0 4px #d6a23540;animation:dot-pulse 1.6s ease-in-out infinite}@keyframes dot-pulse{0%,to{box-shadow:0 0 0 4px #d6a23540}50%{box-shadow:0 0 0 7px #d6a2350d}}.save-bar .save-bar-btn{background:var(--gold-bright);color:var(--ink);border:none;font-family:var(--body);font-weight:600;font-size:.8125rem;letter-spacing:.04em;padding:.625rem 1.125rem;border-radius:999px;cursor:pointer;transition:background .18s ease,transform .18s ease}.save-bar .save-bar-btn:hover{background:#e0b952}.save-bar .save-bar-btn:active{transform:scale(.97)}.save-bar .save-bar-discard{background:transparent;color:#f5f0e28c;border:none;font-size:.75rem;cursor:pointer;padding:.5rem .625rem;letter-spacing:.04em;border-radius:999px}.save-bar .save-bar-discard:hover{color:var(--paper)}.fab{position:fixed;bottom:5rem;right:1rem;z-index:50;display:inline-flex;align-items:center;gap:.625rem;padding:.75rem 1.125rem;background:var(--ink);color:var(--gold-bright);border:1px solid rgba(214,162,53,.35);border-radius:999px;font-family:var(--body);font-weight:500;font-size:.8125rem;letter-spacing:.04em;cursor:pointer;box-shadow:0 16px 40px -10px #1a16128c;transition:transform .18s ease,background .18s ease;white-space:nowrap}.fab:hover{background:#261f18;transform:translateY(-2px)}.fab[data-published=true]{background:var(--gold-bright);color:var(--ink);border-color:var(--gold-bright)}.fab[data-published=true]:hover{background:#e0b952}@media(min-width:1024px){.fab{bottom:1.5rem;right:calc(clamp(380px,40%,520px) + 1.5rem)}}.mobile-tabs{position:fixed;bottom:1rem;left:1rem;right:1rem;z-index:55;display:flex;background:var(--ink);border-radius:999px;padding:4px;box-shadow:0 16px 40px -10px #1a16128c}.mobile-tabs button{flex:1;padding:.75rem 1rem;background:transparent;border:none;color:#f5f0e299;font-family:var(--body);font-size:.875rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;border-radius:999px;transition:all .18s ease}.mobile-tabs button[data-active=true]{background:var(--gold-bright);color:var(--ink)}@media(min-width:1024px){.mobile-tabs{display:none}}.wizard-shell{min-height:100vh;background:radial-gradient(ellipse at top,rgba(184,143,53,.12),transparent 50%),var(--paper);display:flex;align-items:center;justify-content:center;padding:2rem 1.25rem;position:relative}.wizard-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle at 50% 0%,rgba(184,143,53,.08),transparent 60%)}.wizard-card{position:relative;width:100%;max-width:520px;background:var(--card);border:1px solid var(--rule-soft);border-radius:8px;padding:2.5rem 2rem;box-shadow:0 32px 80px -24px #1a16124d}.wizard-progress{display:flex;gap:4px;margin-bottom:2rem}.wizard-progress span{flex:1;height:2px;background:var(--rule-soft);border-radius:1px;transition:background .28s ease}.wizard-progress span[data-state=done],.wizard-progress span[data-state=active]{background:var(--gold)}.theme-card{position:relative;cursor:pointer;background:transparent;border:1px solid transparent;border-radius:6px;padding:0;text-align:left;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;overflow:hidden}.theme-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px -16px #1a16124d}.theme-card[data-active=true]{border-color:var(--gold);box-shadow:0 0 0 3px #8b6f2a2e,0 12px 32px -16px #8b6f2a4d}.theme-card-preview{aspect-ratio:4 / 5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;text-align:center;border-radius:6px;position:relative;overflow:hidden}.theme-card-preview:before{content:"";position:absolute;inset:8px;border:1px solid currentColor;border-radius:4px;opacity:.18;pointer-events:none}.theme-card-name{position:absolute;bottom:.5rem;left:0;right:0;font-family:var(--body);font-size:.75rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);text-align:center;padding-top:.625rem;background:var(--card);border-top:1px solid var(--rule-soft);z-index:1}.dash-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100vh - 60px)}@media(min-width:1024px){.dash-layout{grid-template-columns:minmax(0,1fr) clamp(380px,40%,520px)}}.dash-editor-pane{padding:1.5rem 1rem 8rem;min-width:0}@media(min-width:1024px){.dash-editor-pane{padding:2rem 2rem 6rem}}.dash-preview-pane-wrap{display:none}@media(min-width:1024px){.dash-preview-pane-wrap{display:block;position:relative}}.dash-editor-pane[data-mobile-hidden=true]{display:none}@media(min-width:1024px){.dash-editor-pane[data-mobile-hidden=true]{display:block}}.dash-tabs-desktop{display:none}.dash-tabs-mobile{display:flex}@media(min-width:768px){.dash-tabs-desktop{display:flex}.dash-tabs-mobile{display:none}}.dash-show-desktop{display:none}@media(min-width:640px){.dash-show-desktop{display:inline-flex}}.editor-shell .ed-grain{position:absolute;inset:0;pointer-events:none;opacity:.5;mix-blend-mode:multiply;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0.2 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}@keyframes ed-fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.editor-shell .ed-fade-up{animation:ed-fade-up .36s cubic-bezier(.4,0,.2,1) both}
