:root {
  color-scheme: dark;
  --ink: #f4f2eb;
  --muted: #a7a69f;
  --paper: #10110f;
  --panel: #171815;
  --panel-2: #1d1e1a;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --acid: #d9ff6b;
  --violet: #8d7cff;
  --coral: #ff806b;
  --success: #89e6b2;
  --danger: #ff9c91;
  --preview-width: 82%;
  --accent: #6657e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 300px; overflow-x: hidden; background: var(--paper); color: var(--ink); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 12px; padding: 11px 15px; border-radius: 9px; background: var(--acid); color: #111; font-weight: 850; }
.skip-link:focus { top: 12px; }

.app-header { position: relative; z-index: 30; display: grid; grid-template-columns: auto minmax(180px,.75fr) minmax(360px,1fr) auto; align-items: center; gap: 22px; min-height: 72px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: rgba(16,17,15,.94); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; color: var(--ink); font-size: 1.02rem; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.brand > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--acid); color: #12130f; font-size: .83rem; transform: rotate(-3deg); }
.product-name { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.product-name span { display: block; color: var(--acid); font: 800 .57rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.product-name strong { display: block; overflow: hidden; margin-top: 3px; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { display: flex; justify-content: end; gap: 6px; min-width: 0; }
.header-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #1b1c18; color: #d8d6ce; font-size: .72rem; font-weight: 760; text-decoration: none; cursor: pointer; }
.header-button:hover { border-color: var(--line-strong); background: #22231e; color: #fff; }
.header-button--accent { border-color: rgba(217,255,107,.34); background: rgba(217,255,107,.1); color: var(--acid); }
.header-button--file { position: relative; overflow: hidden; }
.header-button--file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.header-button--quiet { color: #888981; }
.truth-badges { display: flex; gap: 5px; }
.truth-badges span { padding: 6px 7px; border: 1px solid var(--line); border-radius: 5px; color: #777970; font: 750 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; white-space: nowrap; }

.studio-shell { display: grid; grid-template-columns: minmax(540px,.94fr) minmax(590px,1.06fr); align-items: start; }
.editor-panel { min-width: 0; padding: clamp(34px,4.8vw,74px) clamp(26px,4vw,66px) 130px; border-right: 1px solid var(--line); background: radial-gradient(circle at 8% 2%,rgba(217,255,107,.055),transparent 32rem),var(--paper); }
.editor-intro { max-width: 690px; }
.eyebrow { margin: 0 0 10px; color: #aaa99f; font: 830 .63rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.editor-intro h1 { max-width: 780px; margin: 0; font-size: clamp(3rem,5vw,5.9rem); font-weight: 730; line-height: .89; letter-spacing: -.072em; }
.editor-intro h1 em { color: var(--acid); font-family: Georgia,"Times New Roman",serif; font-weight: 500; letter-spacing: -.055em; }
.editor-intro > p:last-child { max-width: 650px; margin: 28px 0 0; color: #aaa9a3; font-size: 1.02rem; line-height: 1.65; }

.mobile-view-toggle { display: none; }
.step-nav { position: sticky; z-index: 10; top: 0; display: flex; gap: 5px; margin: 38px 0 0; padding: 10px 0; background: linear-gradient(var(--paper) 72%,transparent); }
.step-nav button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: #171815; color: #999a92; font-size: .7rem; font-weight: 780; cursor: pointer; }
.step-nav button:hover { border-color: rgba(217,255,107,.32); color: var(--ink); }
.step-nav span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #272821; color: var(--acid); font-size: .57rem; }

.editor-section { padding: 48px 0 54px; border-bottom: 1px solid var(--line); scroll-margin-top: 66px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.section-heading > div { display: flex; align-items: center; gap: 13px; }
.section-heading > div > span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(217,255,107,.26); border-radius: 50%; color: var(--acid); font: 800 .6rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem,2.6vw,2.5rem); line-height: 1; letter-spacing: -.05em; }
.section-heading > small { max-width: 230px; color: #73746d; font-size: .7rem; text-align: right; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.field--wide { grid-column: 1/-1; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { color: #bebdb5; font-size: .69rem; font-weight: 780; }
.field input:not([type="color"]), .field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #181916; color: var(--ink); transition: border-color .16s ease,box-shadow .16s ease,background .16s ease; }
.field input:not([type="color"]) { min-height: 45px; padding: 0 12px; }
.field textarea { min-height: 88px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
.field input::placeholder,.field textarea::placeholder { color: #62635d; }
.field input:focus,.field textarea:focus { border-color: rgba(217,255,107,.58); background: #1c1d19; box-shadow: 0 0 0 4px rgba(217,255,107,.065); }
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,128,107,.08); }
.field > small { color: #82837b; font-size: .66rem; }
.field-count { justify-self: end; margin-top: -28px; margin-right: 9px; padding: 3px 6px; border-radius: 5px; background: #11120f; }

.list-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 28px 0 13px; }
.list-heading:first-of-type { margin-top: 0; }
.list-heading .eyebrow { margin-bottom: 5px; color: var(--acid); }
.list-heading h3 { margin: 0; font-size: 1.16rem; letter-spacing: -.03em; }
.mini-button,.text-button { border: 0; background: transparent; color: var(--acid); font-size: .71rem; font-weight: 800; cursor: pointer; }
.mini-button { min-height: 35px; padding: 0 11px; border: 1px solid rgba(217,255,107,.25); border-radius: 8px; background: rgba(217,255,107,.06); }
.mini-button:hover { background: rgba(217,255,107,.11); }
.entry-list { display: grid; gap: 10px; }
.entry-empty { padding: 19px; border: 1px dashed var(--line); border-radius: 12px; color: #6e7069; font-size: .76rem; text-align: center; }
.entry-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #151613; }
.entry-card[open] { border-color: rgba(255,255,255,.18); }
.entry-card summary { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 52px; padding: 8px 12px; cursor: pointer; list-style: none; }
.entry-card summary::-webkit-details-marker { display: none; }
.entry-index { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #26271f; color: var(--acid); font: 800 .62rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.entry-label { min-width: 0; }
.entry-label strong,.entry-label small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-label strong { color: #dcdbd3; font-size: .79rem; }
.entry-label small { margin-top: 2px; color: #83847c; font-size: .65rem; }
.entry-state { color: #6c6d66; font-size: .65rem; }
.entry-card[open] .entry-state { color: var(--acid); }
.entry-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; padding: 16px; border-top: 1px solid var(--line); background: #191a16; }
.entry-body .field--wide { grid-column: 1/-1; }
.entry-remove { justify-self: end; grid-column: 1/-1; padding: 5px 0; border: 0; background: transparent; color: #a7837b; font-size: .67rem; font-weight: 750; cursor: pointer; }
.entry-remove:hover { color: var(--danger); }

.editor-section--target { border: 1px solid rgba(141,124,255,.22); border-radius: 18px; margin-top: 50px; padding: 28px; background: linear-gradient(155deg,rgba(141,124,255,.08),rgba(255,255,255,.015)); }
.language-coverage { margin-top: 18px; }
.coverage-empty { padding: 17px; border: 1px dashed rgba(141,124,255,.28); border-radius: 11px; color: #92918c; }
.coverage-empty strong { color: #d8d5ec; }
.coverage-empty p { margin: 5px 0 0; font-size: .72rem; }
.coverage-head { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.coverage-head strong { font-size: 1.05rem; }
.coverage-head p { max-width: 480px; margin: 4px 0 0; color: #85857f; font-size: .69rem; }
.coverage-meter { display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--accent) var(--coverage),#292a25 0); }
.coverage-meter span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #171815; font: 850 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.term-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 13px; }
.term-group { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.1); }
.term-group h3 { margin: 0 0 8px; color: #83847c; font: 800 .59rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .09em; }
.term-list { display: flex; flex-wrap: wrap; gap: 5px; }
.term { padding: 5px 7px; border-radius: 6px; background: #272820; color: #c0c0b8; font-size: .63rem; }
.term--matched { background: rgba(137,230,178,.1); color: var(--success); }
.term--missing { background: rgba(255,128,107,.08); color: #efaba0; }
.coverage-rule { margin: 10px 0 0; color: #70716b; font-size: .64rem; }

.editor-section--privacy { padding-bottom: 22px; }
.check-field { display: flex; align-items: start; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #171815; cursor: pointer; }
.check-field input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--acid); }
.check-field strong,.check-field small { display: block; }
.check-field strong { font-size: .77rem; }
.check-field small { margin-top: 3px; color: #86887e; font-size: .66rem; }
.text-button { margin-top: 12px; color: #898a82; }
.text-button:hover { color: var(--danger); }

.editor-dock { position: fixed; z-index: 25; left: 0; bottom: 0; display: grid; grid-template-columns: minmax(170px,1fr) minmax(220px,auto); align-items: center; gap: 16px; width: calc(47% - 1px); min-height: 91px; padding: 13px clamp(22px,3.8vw,62px); border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line); background: rgba(20,21,18,.93); box-shadow: 0 -18px 45px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.editor-dock > div span,.preview-export-bar span { display: block; color: var(--acid); font: 800 .57rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .09em; }
.editor-dock > div strong,.editor-dock > div small { display: block; }
.editor-dock > div strong { margin-top: 4px; font-size: .86rem; }
.editor-dock > div small { margin-top: 3px; color: #696a64; font-size: .61rem; }
.download-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 49px; padding: 0 10px 0 17px; border: 0; border-radius: 10px; background: var(--acid); color: #11120f; font-size: .76rem; font-weight: 900; cursor: pointer; box-shadow: 0 10px 30px rgba(217,255,107,.08); }
.download-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.download-button:disabled { opacity: .52; cursor: wait; transform: none; }
.download-button i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: rgba(0,0,0,.12); font-style: normal; }

.preview-panel { position: sticky; top: 0; display: flex; flex-direction: column; min-width: 0; min-height: 100vh; max-height: 100vh; overflow: auto; background: #20211d; }
.preview-toolbar { position: sticky; z-index: 18; top: 0; display: grid; grid-template-columns: minmax(150px,1fr) auto auto auto; align-items: center; gap: 12px; min-height: 83px; padding: 13px 20px; border-bottom: 1px solid var(--line); background: rgba(28,29,25,.94); backdrop-filter: blur(16px); }
.preview-toolbar .eyebrow { margin-bottom: 3px; }
.preview-toolbar h2 { margin: 0; font-size: 1.05rem; letter-spacing: -.03em; }
.template-switch,.zoom-controls { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #141512; }
.template-switch button,.zoom-controls button { min-height: 31px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #85867e; font-size: .64rem; font-weight: 780; cursor: pointer; }
.template-switch button[aria-pressed="true"] { background: #30312a; color: var(--ink); }
.zoom-controls { align-items: center; }
.zoom-controls button { width: 29px; padding: 0; font-size: .9rem; }
.zoom-controls output { min-width: 37px; color: #aaa9a3; font: 750 .6rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-align: center; }
.accent-control { display: grid; grid-template-columns: auto 27px; align-items: center; gap: 6px; color: #8b8c84; font-size: .61rem; font-weight: 760; }
.accent-control input { width: 27px; height: 27px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: transparent; cursor: pointer; }

.readiness-panel { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: #191a17; }
.readiness-chip { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; color: #85867f; font-size: .61rem; }
.readiness-chip::before { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #5f605a; content: ""; }
.readiness-chip[data-pass="true"] { color: #b2d6be; }
.readiness-chip[data-pass="true"]::before { background: var(--success); box-shadow: 0 0 0 4px rgba(137,230,178,.07); }
.readiness-chip[data-kind="coaching"][data-pass="false"]::before { background: #dcbb71; }

.preview-stage { flex: 1; min-height: 560px; padding: 28px 18px 34px; overflow: auto; background: radial-gradient(circle at 50% -20%,rgba(141,124,255,.11),transparent 35rem),linear-gradient(#242520,#1d1e1a); }
.preview-pages { display: grid; justify-items: center; gap: 20px; width: 100%; }
.resume-page { container-type: inline-size; position: relative; width: var(--preview-width); aspect-ratio: 210/297; overflow: hidden; background: #fbfaf6; color: #202225; box-shadow: 0 18px 48px rgba(0,0,0,.32); }
.resume-page__body { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 6.6cqw 7.4cqw 5.4cqw; }
.resume-page__continuation { display: flex; justify-content: space-between; margin-bottom: 3.4cqw; padding-bottom: 1.3cqw; border-bottom: .12cqw solid #d8d8d5; color: #737477; font-size: 1.14cqw; }
.resume-head { padding-bottom: 2.3cqw; border-bottom: .25cqw solid var(--resume-accent,var(--accent)); }
.resume-head h1 { margin: 0; color: #17191c; font-size: 4.2cqw; font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.resume-head .resume-role { margin: 1.1cqw 0 0; color: var(--resume-accent,var(--accent)); font-size: 1.68cqw; font-weight: 760; }
.resume-contact { display: flex; flex-wrap: wrap; gap: .45cqw 1.4cqw; margin-top: 1.3cqw; color: #575a5e; font-size: 1.3cqw; overflow-wrap: anywhere; }
.resume-contact span:not(:last-child)::after { margin-left: 1.4cqw; color: #bbb; content: "·"; }
.resume-block { margin-top: 2.35cqw; }
.resume-section-title { display: flex; align-items: center; gap: 1.4cqw; margin: 0 0 1.2cqw; color: #383a3e; font-size: 1.26cqw; font-weight: 900; letter-spacing: .15em; }
.resume-section-title::after { height: .1cqw; flex: 1; background: #dededb; content: ""; }
.resume-summary { margin: 0; color: #3f4246; font-size: 1.55cqw; line-height: 1.48; }
.resume-entry { margin-top: 1.7cqw; }
.resume-entry:first-of-type { margin-top: 0; }
.resume-entry-top { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.5cqw; align-items: baseline; }
.resume-entry-top strong { color: #202226; font-size: 1.72cqw; letter-spacing: -.02em; }
.resume-entry-top time { max-width: 32cqw; color: #65686c; font-size: 1.22cqw; overflow-wrap: anywhere; text-align: right; }
.resume-entry-meta { margin: .25cqw 0 0; color: var(--resume-accent,var(--accent)); font-size: 1.3cqw; font-weight: 720; }
.resume-bullets { display: grid; gap: .55cqw; margin: .75cqw 0 0; padding: 0; color: #3d4044; font-size: 1.53cqw; line-height: 1.4; list-style: none; }
.resume-bullets li { position: relative; padding-left: 1.7cqw; }
.resume-bullets li::before { position: absolute; left: .2cqw; top: .62em; width: .48cqw; height: .48cqw; border-radius: 50%; background: var(--resume-accent,var(--accent)); content: ""; }
.resume-skills { display: flex; flex-wrap: wrap; gap: .65cqw; margin: 0; padding: 0; list-style: none; }
.resume-skills li { padding: .48cqw .8cqw; border-radius: .45cqw; background: #f0efeb; color: #44464a; font-size: 1.35cqw; }
.resume-page__footer { display: flex; justify-content: space-between; margin-top: auto; padding-top: 1cqw; color: #a1a19d; font-size: .9cqw; }
.resume-page[data-template="classic"] { font-family: Georgia,"Times New Roman",serif; }
.resume-page[data-template="classic"] .resume-head { border-bottom-width: .12cqw; }
.resume-page[data-template="classic"] .resume-head h1 { font-weight: 650; letter-spacing: -.035em; }
.resume-page[data-template="classic"] .resume-role,.resume-page[data-template="classic"] .resume-entry-meta { color: #36383b; }
.resume-page[data-template="classic"] .resume-section-title { color: var(--resume-accent,var(--accent)); font-family: Inter,ui-sans-serif,system-ui,sans-serif; }
.resume-page[data-template="compact"] .resume-page__body { padding: 5.6cqw 6.6cqw 4.7cqw; }
.resume-page[data-template="compact"] .resume-head h1 { font-size: 3.55cqw; }
.resume-page[data-template="compact"] .resume-block { margin-top: 1.65cqw; }
.resume-page[data-template="compact"] .resume-entry { margin-top: 1.1cqw; }
.resume-page[data-template="compact"] .resume-bullets { gap: .32cqw; font-size: 1.4cqw; line-height: 1.32; }

.verification-panel { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 11px; margin: 12px 18px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #181916; }
.verification-panel[data-state="success"] { border-color: rgba(137,230,178,.28); background: rgba(137,230,178,.055); }
.verification-panel[data-state="error"] { border-color: rgba(255,128,107,.3); background: rgba(255,128,107,.055); }
.verification-panel[data-state="working"] .verification-icon { animation: spin 1s linear infinite; }
.verification-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #2b2c25; color: var(--acid); font-weight: 900; }
.verification-panel strong { font-size: .76rem; }
.verification-panel p { margin: 3px 0 0; color: #83847d; font-size: .65rem; line-height: 1.45; }
.verification-panel code { grid-column: 2; color: #6f7169; font-size: .56rem; overflow-wrap: anywhere; }
.preview-export-bar { display: none; }

.proof-section,.next-section { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(430px,1.25fr) minmax(240px,.72fr); gap: clamp(28px,5vw,70px); width: min(1320px,calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.proof-section h2,.next-section h2 { margin: 0; font-size: clamp(2.6rem,5vw,5rem); line-height: .92; letter-spacing: -.065em; }
.proof-section ol { margin: 0; padding: 0; list-style: none; }
.proof-section li { display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.proof-section li > span { color: var(--acid); font: 800 .64rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; }
.proof-section li strong { font-size: .95rem; }
.proof-section li p,.source-note p { margin: 5px 0 0; color: #8f9088; font-size: .76rem; line-height: 1.55; }
.source-note { align-self: start; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #171815; }
.source-note > strong { color: var(--acid); font-size: .75rem; }
.source-note a { display: block; margin-top: 11px; color: #c4c2bb; font-size: .67rem; font-weight: 720; text-decoration: none; }
.source-note a:hover { color: var(--acid); }
.next-section { grid-template-columns: minmax(260px,.7fr) minmax(540px,1.3fr); border-top: 1px solid var(--line); }
.next-section nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.next-section nav a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; min-height: 120px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #171815; text-decoration: none; transition: transform .18s ease,border-color .18s ease; }
.next-section nav a:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.next-section nav span { grid-column: 1; color: var(--acid); font: 800 .57rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; }
.next-section nav strong { align-self: end; font-size: .86rem; }
.next-section nav i { grid-column: 2; grid-row: 1/3; font-style: normal; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; padding: 20px clamp(24px,5vw,72px); border-top: 1px solid var(--line); color: #85877e; font-size: .7rem; }
.footer p { margin: 0; }
.footer > a:last-child { text-decoration: none; }
.noscript { margin: 0; padding: 18px; background: #4c211a; color: #fff; text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1260px) {
  .app-header { grid-template-columns: auto 1fr auto; }
  .product-name { display: none; }
  .truth-badges { display: none; }
  .studio-shell { grid-template-columns: minmax(500px,.96fr) minmax(520px,1.04fr); }
  .editor-dock { width: 48%; }
  .preview-toolbar { grid-template-columns: minmax(120px,1fr) auto auto; }
  .accent-control { display: none; }
  .proof-section { grid-template-columns: .8fr 1.25fr; }
  .source-note { grid-column: 2; }
}

@media (max-width: 960px) {
  .app-header { position: sticky; top: 0; grid-template-columns: auto minmax(0,1fr); min-height: 61px; padding: 8px 12px; }
  .header-actions { overflow-x: auto; justify-content: start; }
  .header-button { flex: 0 0 auto; min-height: 36px; }
  .studio-shell { display: block; }
  .editor-panel { padding: 32px 18px 118px; border-right: 0; }
  .editor-intro h1 { font-size: clamp(2.65rem,12vw,5rem); }
  .editor-intro > p:last-child { margin-top: 21px; }
  .mobile-view-toggle { display: grid; grid-template-columns: repeat(2,1fr); gap: 4px; margin: 26px 0 4px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #171815; }
  .mobile-view-toggle button { min-height: 39px; border: 0; border-radius: 7px; background: transparent; color: #84857e; font-size: .72rem; font-weight: 800; }
  .mobile-view-toggle button[aria-pressed="true"] { background: #303129; color: var(--ink); }
  .step-nav { top: 61px; }
  .preview-panel { position: static; display: none; min-height: calc(100vh - 61px); max-height: none; overflow: visible; }
  .studio-shell[data-mobile-view="preview"] .editor-panel { display: none; }
  .studio-shell[data-mobile-view="preview"] .preview-panel { display: flex; }
  .mobile-view-toggle--preview { margin: 12px; }
  .preview-toolbar { position: sticky; top: 61px; grid-template-columns: minmax(110px,1fr) auto auto; min-height: 72px; padding: 10px 12px; }
  .preview-stage { min-height: 540px; padding-inline: 9px; }
  .resume-page { --preview-width: min(96%,680px); }
  .editor-dock { left: 0; right: 0; width: 100%; min-height: 82px; padding: 10px 14px; border-right: 0; }
  .studio-shell[data-mobile-view="preview"] .editor-dock { display: none; }
  .preview-export-bar { position: sticky; z-index: 19; bottom: 0; display: grid; grid-template-columns: minmax(110px,1fr) minmax(190px,auto); gap: 11px; align-items: center; min-height: 76px; padding: 10px 13px; border-top: 1px solid var(--line-strong); background: rgba(20,21,18,.94); backdrop-filter: blur(18px); }
  .preview-export-bar strong { display: block; margin-top: 4px; font-size: .75rem; }
  .proof-section,.next-section { grid-template-columns: 1fr; width: min(100% - 34px,720px); padding-block: 78px; }
  .source-note { grid-column: auto; }
}

@media (max-width: 620px) {
  .brand { font-size: .9rem; }
  .brand > span { width: 26px; height: 26px; }
  .app-header { position: relative; grid-template-columns: 1fr; gap: 9px; padding-block: 11px 13px; }
  .header-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; overflow: visible; }
  .header-button { min-width: 0; min-height: 44px; padding: 8px 10px; font-size: .67rem; line-height: 1.25; text-align: center; white-space: normal; }
  .step-nav,.preview-toolbar { top: 0; }
  .editor-panel { padding-inline: 14px; }
  .editor-intro h1 { letter-spacing: -.065em; }
  .field-grid,.entry-body,.term-groups { grid-template-columns: 1fr; }
  .field--wide,.entry-body .field--wide { grid-column: auto; }
  .editor-section { padding-block: 38px; }
  .section-heading { align-items: start; }
  .section-heading > small { display: none; }
  .editor-section--target { margin-inline: -2px; padding: 20px 14px; }
  .step-nav button { padding-inline: 9px; }
  .step-nav button span { display: none; }
  .preview-toolbar { grid-template-columns: minmax(100px,1fr) auto; }
  .zoom-controls { display: none; }
  .template-switch button { padding-inline: 6px; }
  .readiness-panel { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 10px; }
  .resume-page { --preview-width: 100%; }
  .verification-panel { margin-inline: 10px; }
  .editor-dock { grid-template-columns: 1fr minmax(180px,auto); }
  .editor-dock > div small { display: none; }
  .download-button { min-height: 45px; padding-left: 13px; }
  .next-section nav { grid-template-columns: 1fr; }
  .footer { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
