:root {
  --ink: #141512;
  --muted: #6f7169;
  --paper: #f3f1e9;
  --panel: #fffef9;
  --line: #d9d7cc;
  --acid: #d8ff4f;
  --acid-dark: #a7cb24;
  --blue: #0a66c2;
  --orange: #ff6b3d;
  --shadow: 0 22px 60px rgba(31, 32, 25, 0.08);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif; }
button, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.app-shell { min-height: 100vh; overflow: hidden; }

.topbar { height: 76px; max-width: 1400px; margin: auto; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; font-weight: 800; letter-spacing: -0.04em; font-size: 19px; }
.brand small { color: var(--muted); font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.brand-mark { display: flex; width: 24px; height: 24px; align-items: flex-end; gap: 3px; margin-right: 3px; }
.brand-mark span { width: 5px; background: var(--ink); border-radius: 4px 4px 0 0; }
.brand-mark span:nth-child(1) { height: 9px; }.brand-mark span:nth-child(2) { height: 16px; }.brand-mark span:nth-child(3) { height: 22px; background: var(--acid-dark); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.privacy-pill { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.privacy-dot { width: 7px; height: 7px; border-radius: 50%; background: #49a760; box-shadow: 0 0 0 4px rgba(73,167,96,.12); }

main { width: 100%; max-width: 1400px; margin: auto; padding: 0 34px 80px; }
.hero { padding: 80px 0 60px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.hero .eyebrow { grid-column: 1 / -1; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow i { width: 44px; height: 1px; background: var(--ink); }
.hero h1 { margin: 0; font-size: clamp(58px, 7.3vw, 110px); line-height: .88; letter-spacing: -.075em; font-weight: 500; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--acid-dark); }
.hero p { max-width: 480px; margin: 0 0 7px; color: #52544d; font-size: 19px; line-height: 1.6; }

.workspace { width: 100%; max-width: 100%; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 22px; align-items: start; }
.workspace > *, .editor-card, .preview-column, fieldset { min-width: 0; }
.panel, .linkedin-preview { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.editor-card { width: 100%; max-width: 100%; padding: 30px; overflow: hidden; }
.panel-heading, .preview-header, .section-intro { display: flex; justify-content: space-between; align-items: center; }
.panel-heading > div, .preview-header > div, .section-intro > div { display: flex; align-items: center; gap: 12px; }
.step-number { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 10px; padding: 4px 7px; color: #4c4d47; border: 1px solid var(--line); border-radius: 20px; }
h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.save-status { font-family: "SFMono-Regular", Menlo, Consolas, monospace; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.quick-actions { width: 100%; max-width: 100%; display: flex; gap: 8px; margin: 24px 0 12px; flex-wrap: wrap; }
.inline-toolbar { min-height: 43px; margin-bottom: 7px; padding: 5px 7px; display: flex; align-items: center; gap: 7px; background: #eeece4; border: 1px solid var(--line); border-radius: 4px; }
.style-tools, .order-tools { display: flex; gap: 3px; }
.inline-toolbar button { min-width: 31px; height: 30px; padding: 0 8px; border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 11px; }
.inline-toolbar button:hover { background: var(--panel); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.inline-toolbar .plain-tool { width: auto; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.toolbar-divider { align-self: stretch; width: 1px; margin: 2px 3px; background: var(--line); }
.tool-status { margin-left: auto; color: var(--muted); font-size: 9px; }
.tool-status.success { color: #367d47; }.tool-status.warn { color: #aa4a31; }
.unicode-note { margin: 0 0 10px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.button { min-width: 0; border: 0; border-radius: 4px; padding: 11px 15px; cursor: pointer; font-size: 12px; font-weight: 800; transition: transform .16s ease, background .16s ease, opacity .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, .segmented button:focus-visible, .view-switch button:focus-visible { outline: 3px solid rgba(10,102,194,.22); outline-offset: 2px; }
.button:disabled { opacity: .38; cursor: not-allowed; }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: middle; }
.button-primary { background: var(--ink); color: white; display: flex; align-items: center; gap: 8px; }
.button-ghost { background: transparent; border: 1px solid var(--line); }
.button-text { margin-left: auto; background: transparent; }
.button-small { padding: 8px 11px; }
.danger { color: #a74c35; }
textarea { width: 100%; max-width: 100%; min-height: 395px; resize: vertical; display: block; border: 1px solid var(--line); background: #fbfaf5; color: var(--ink); padding: 22px; outline: none; font-size: 16px; line-height: 1.55; border-radius: 2px; }
textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
textarea::placeholder { color: #9a9a92; }
.editor-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 11px 0 26px; color: var(--muted); font-size: 11px; }
.meter-copy strong { color: var(--ink); }.meter-track { height: 4px; background: #e5e3d9; border-radius: 4px; overflow: hidden; }.meter-track span { display: block; width: 0; height: 100%; background: var(--acid-dark); transition: width .2s; }
.format-controls { border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 18px; align-items: end; }
fieldset { margin: 0; padding: 0; border: 0; } legend { margin-bottom: 9px; font-size: 10px; font-family: "SFMono-Regular", Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .07em; }
.segmented { display: flex; border: 1px solid var(--line); padding: 3px; background: #eeece4; border-radius: 4px; }
.segmented button { flex: 1; border: 0; background: transparent; padding: 8px 7px; font-size: 10px; font-weight: 800; cursor: pointer; border-radius: 2px; }
.segmented button.active { background: var(--panel); box-shadow: 0 1px 5px rgba(0,0,0,.08); }
.bullets button { font-size: 14px; padding: 6px; }
.toggle-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle { width: 34px; height: 19px; flex: 0 0 auto; background: #c8c6bc; border-radius: 20px; position: relative; transition: background .2s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: white; transition: transform .2s; }
.toggle-row input:checked + .toggle { background: var(--ink); }.toggle-row input:checked + .toggle::after { transform: translateX(15px); }
.toggle-row > span:last-child { display: grid; }.toggle-row strong { font-size: 11px; }.toggle-row small { color: var(--muted); font-size: 9px; }

.preview-column { position: sticky; top: 16px; }
.preview-header { margin: 0 2px 14px; }
.view-switch { display: flex; gap: 2px; background: #e4e2d9; padding: 3px; border-radius: 20px; }
.view-switch button { border: 0; border-radius: 16px; background: transparent; cursor: pointer; padding: 6px 10px; color: var(--muted); font-size: 9px; font-weight: 800; }.view-switch button.active { background: var(--panel); color: var(--ink); }
.linkedin-preview { width: 100%; max-width: 520px; margin-left: auto; padding: 18px 18px 0; border-radius: 5px; transition: max-width .2s; }
.linkedin-preview.mobile { max-width: 390px; }.linkedin-preview.desktop { max-width: 520px; }
.profile-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: start; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #252d29; color: var(--acid); font-size: 12px; font-weight: 800; }
.profile-copy { display: grid; line-height: 1.35; }.profile-copy strong { font-size: 12px; }.profile-copy span { color: #777; font-size: 9px; }.profile-row button { background: none; border: 0; font-size: 18px; }
.post-preview { min-height: 285px; max-height: 460px; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 15px 0 19px; font-family: Arial, sans-serif; font-size: 13px; line-height: 1.35; }
.post-preview.empty { color: #989991; }
.preview-engagement { display: flex; justify-content: space-around; border-top: 1px solid #ddd; padding: 11px 0; color: #666; font-size: 9px; font-weight: 700; }
.button-copy { margin-top: 12px; width: 100%; background: var(--acid); border: 1px solid var(--ink); padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; box-shadow: 4px 4px 0 var(--ink); }
.button-copy.copied { background: var(--ink); color: white; box-shadow: none; transform: translate(3px,3px); }
.copy-note { text-align: center; color: var(--muted); font-size: 10px; margin: 12px 0; }

.rewrite-studio { margin-top: 82px; padding-top: 30px; border-top: 1px solid var(--ink); }
.rewrite-intro { align-items: flex-start; }.rewrite-intro > div { align-items: flex-start; }.rewrite-intro p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.local-badge { margin-left: auto; padding: 7px 10px; border: 1px solid #a9bc60; border-radius: 20px; color: #52630d; background: #eff7d2; font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.studio-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: 14px; margin-top: 27px; }
.studio-panel { min-width: 0; padding: 26px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 15px 35px rgba(31,32,25,.045); }
.studio-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.studio-panel-heading > div { display: grid; gap: 6px; }.studio-panel-heading > div > span { color: var(--muted); font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.studio-panel-heading h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.beta-chip { padding: 5px 7px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.audience-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 23px 0 18px; }.audience-fields label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }.audience-fields .outcome-field { grid-column: 1 / -1; }.audience-fields select, .audience-fields input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; outline: 0; background: #fbfaf5; color: var(--ink); font-size: 12px; text-transform: none; letter-spacing: 0; }.audience-fields select:focus, .audience-fields input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.emotion-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }.emotion-grid button { min-height: 105px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 3px; background: #fbfaf5; cursor: pointer; text-align: left; transition: border .15s, transform .15s, background .15s; }.emotion-grid button:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--acid); }.emotion-grid button > span { height: 25px; font-size: 17px; }.emotion-grid strong { font-size: 11px; }.emotion-grid small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }.studio-feedback { min-height: 16px; margin: 15px 0 0; color: var(--muted); font-size: 9px; }
.template-help { margin: 18px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }.template-list { border-top: 1px solid var(--line); }.template-list button { width: 100%; padding: 13px 4px; display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }.template-list button:hover { background: #f2f7df; }.template-list button > span { color: var(--acid-dark); font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 9px; }.template-list button div { display: grid; gap: 2px; }.template-list strong { font-size: 11px; }.template-list small { color: var(--muted); font-size: 8px; }.template-list i { font-style: normal; font-size: 12px; }

.quality-section { margin-top: 82px; padding-top: 30px; border-top: 1px solid var(--ink); }
.section-intro { align-items: flex-start; }.section-intro > div:first-of-type { align-items: flex-start; }.section-intro p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.score-ring { margin-left: auto; width: 78px; height: 78px; border-radius: 50%; display: grid !important; place-content: center; gap: 0 !important; text-align: center; background: conic-gradient(var(--acid-dark) 0deg, #dfddd4 0deg); position: relative; }
.score-ring::after { content: ''; position: absolute; inset: 6px; background: var(--paper); border-radius: 50%; }.score-ring strong, .score-ring span { position: relative; z-index: 1; }.score-ring strong { font-size: 22px; line-height: 1; }.score-ring span { color: var(--muted); font-size: 8px; }
.check-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.check-card { min-height: 145px; padding: 18px; background: rgba(255,255,255,.45); border: 1px solid var(--line); display: flex; flex-direction: column; }
.check-card .status { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e4e2d8; font-size: 11px; }
.check-card.pass .status { background: var(--acid); }.check-card.warn .status { background: #ffd7ca; }
.check-card h3 { margin: 18px 0 7px; font-size: 13px; }.check-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.guide-section { margin-top: 90px; padding: 64px; color: white; background: var(--ink); }
.guide-title { display: grid; grid-template-columns: .65fr 1.35fr; align-items: start; }.guide-title .eyebrow { color: var(--acid); }.guide-title h2 { font-family: Georgia, serif; font-size: clamp(38px,5vw,68px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 60px; background: #3a3b36; }.principles article { min-height: 230px; padding: 25px; background: var(--ink); }.principles span { color: var(--acid); font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 10px; }.principles h3 { margin: 42px 0 10px; font-size: 15px; }.principles p { margin: 0; color: #aaa9a3; font-size: 12px; line-height: 1.65; }
.benchmark-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 40px; }.benchmark-grid article { padding: 20px; border: 1px solid #41423d; }.benchmark-grid span { color: var(--acid); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }.benchmark-grid h3 { margin: 9px 0; font-size: 15px; }.benchmark-grid p { min-height: 52px; margin: 0 0 12px; color: #aaa9a3; font-size: 10px; line-height: 1.55; }.benchmark-grid a { color: white; font-size: 9px; text-decoration: none; }
.research-note { margin-top: 52px; padding-top: 24px; border-top: 1px solid #484943; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: #aaa9a3; font-size: 10px; line-height: 1.7; }.research-note p { margin: 0; }.research-note strong { color: white; }.research-note div { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: start; gap: 16px; }.research-note a { color: var(--acid); text-decoration: none; }
footer { max-width: 1400px; margin: auto; padding: 25px 34px 40px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); } footer span { color: var(--ink); font-weight: 800; } footer p { margin: 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 25px; }.workspace { grid-template-columns: 1fr; }.preview-column { position: static; }.linkedin-preview { max-width: none !important; margin: 0; }.format-controls { grid-template-columns: 1fr 1fr; }.toggle-row { grid-column: 1 / -1; }.studio-grid { grid-template-columns: 1fr; }.check-grid { grid-template-columns: repeat(2,1fr); }.guide-title { grid-template-columns: 1fr; gap: 28px; }.principles { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .topbar, main, footer { padding-left: 18px; padding-right: 18px; }.topbar { height: 64px; }.privacy-pill, .topbar-actions .button { display: none; }.hero { padding: 54px 0 40px; }.hero h1 { font-size: 54px; }.hero p { max-width: 100%; font-size: 15px; overflow-wrap: anywhere; }.editor-card { padding: 18px; }.panel-heading .save-status { display: none; }.quick-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }.quick-actions .button { max-width: 100%; padding-left: 8px; padding-right: 8px; justify-content: center; white-space: nowrap; }.button-text { margin-left: 0; }.inline-toolbar { flex-wrap: wrap; }.tool-status { width: 100%; margin: 2px 0 0; }.unicode-note { margin-bottom: 8px; } textarea { min-height: 330px; padding: 16px; }.editor-footer { grid-template-columns: minmax(0,1fr) auto; }.meter-track { grid-row: 2; grid-column: 1 / -1; }.format-controls { grid-template-columns: minmax(0, 1fr); }.toggle-row { grid-column: auto; }.studio-panel { padding: 18px; }.audience-fields, .emotion-grid { grid-template-columns: 1fr 1fr; }.audience-fields .outcome-field { grid-column: 1 / -1; }.emotion-grid button { min-height: 95px; }.check-grid { grid-template-columns: 1fr; }.check-card { min-height: 110px; }.guide-section { margin-left: -18px; margin-right: -18px; padding: 46px 24px; }.principles, .benchmark-grid { grid-template-columns: 1fr; }.principles article { min-height: 175px; }.benchmark-grid p { min-height: 0; }.research-note { grid-template-columns: 1fr; }.research-note div { justify-content: flex-start; } footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
[hidden] { display: none !important; }
/* Compact working surface and touch-friendly controls. */
.hero { padding: 26px 0; gap: 12px 28px; grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.045em; }
.hero p { font-size: 16px; margin: 0; }
.hero .eyebrow { display: none; }
.button, .segmented button, .view-switch button, .inline-toolbar button { min-height: 44px; font-size: 14px; }
.brand small, .privacy-pill, .save-status, .eyebrow, .step-number, .tool-status, .unicode-note, legend, .editor-footer, .copy-note, .toggle-row small, .profile-copy span, .preview-engagement, .secondary-copy, .template-help, .template-list small, .emotion-grid small, .studio-feedback, .audience-fields label, .beta-chip, .local-badge, .check-card p, .research-note, .benchmark-grid p, .benchmark-grid a, footer { font-size: 12px; }
.toggle-row strong, .template-list strong, .emotion-grid strong, .check-card h3, .profile-copy strong, .principles p { font-size: 14px; }
.audience-fields input, .audience-fields select { height: 46px; font-size: 16px; }
.post-preview { font-size: 16px; line-height: 1.5; }
.inline-toolbar { flex-wrap: wrap; }
.format-controls { grid-template-columns: 1fr 1fr; }.toggle-row { grid-column: 1 / -1; }
.humanizer-button { background: var(--acid); border: 1px solid #9cb72e; }
dialog { width: min(940px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 28px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--panel); overflow: auto; }
dialog::backdrop { background: rgba(15,20,14,.6); backdrop-filter: blur(3px); }
#accountDialog, #privacyDialog { max-width: 520px; }
.dialog-heading, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-heading h2 { margin: 7px 0; font-size: 25px; }
.dialog-close { width: 44px; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 26px; background: transparent; }
dialog p { font-size: 16px; line-height: 1.6; }
.humanizer-options { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0; }
.humanizer-options label { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.humanizer-options input { width: 18px; height: 18px; accent-color: #597700; }
.comparison-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.comparison-grid section { min-width: 0; }.comparison-grid h3 { font-size: 14px; }
.comparison-grid pre, .comparison-grid textarea { margin: 0; min-height: 240px; max-height: 38dvh; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; overflow-y: auto; border: 1px solid var(--line); font-family: inherit; font-size: 16px; line-height: 1.6; }
.comparison-grid pre { background: #f2f1eb; }
.dialog-actions { justify-content: flex-end; margin-top: 20px; }
.provider-button { display: block; padding: 14px 16px; margin: 12px 0; border: 1px solid var(--line); border-radius: 6px; text-align: center; text-decoration: none; font-size: 16px; font-weight: 700; }
.linkedin-login { color: white; background: #0a66c2; }.provider-button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
dialog .secondary-copy { font-size: 13px; color: #60645a; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #0a66c2; outline-offset: 3px; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .topbar { padding: 0 20px; } .brand small, .privacy-pill { display: none; } }
@media (max-width: 620px) {
  .topbar-actions .account-button { display: inline-flex; font-size: 13px; padding: 10px; }
  .brand { font-size: 18px; gap: 5px; }.brand-mark { margin-right: 0; }
  .hero { padding: 20px 0; }.hero h1 { font-size: 32px; }.hero p { font-size: 16px; }
  .editor-card { padding: 14px; }.quick-actions { margin-top: 16px; }.format-controls { grid-template-columns: minmax(0,1fr); }
  .editor-footer { display: flex; flex-wrap: wrap; }.meter-track { flex: 1 1 100%; }.tool-status { min-height: 18px; }
  .preview-header { flex-wrap: wrap; gap: 10px; }.preview-column { min-width: 0; }.linkedin-preview { padding: 16px 14px 0; }
  .comparison-grid { grid-template-columns: minmax(0,1fr); }.comparison-grid pre { min-height: 100px; max-height: 180px; }
  dialog { padding: 20px 16px; }.humanizer-options { display: grid; gap: 2px; }.dialog-actions { position: sticky; bottom: -20px; padding: 12px 0; background: var(--panel); }
  .emotion-grid button { min-height: 125px; }.template-list button { min-height: 68px; }.section-intro { flex-wrap: wrap; gap: 10px; }
  .guide-section { margin-top: 42px; }.quality-section, .rewrite-studio { margin-top: 40px; }
}
.rewrite-intro { gap: 12px; }
#clerkSignIn { display: grid; place-items: center; min-width: 0; }
.model-label { display: grid; gap: 8px; font-size: 14px; }
.model-label select { max-width: 100%; min-height: 44px; padding: 10px; font: inherit; background: var(--panel); border: 1px solid var(--line); }
#clerkSignIn[hidden] { display: none; }
#clerkSignIn .cl-rootBox, #clerkSignIn .cl-cardBox, #clerkSignIn .cl-card { width: 100%; max-width: 100%; min-width: 0; box-shadow: none; }
.comparison-grid textarea { width: 100%; box-sizing: border-box; }
.dialog-actions { flex-wrap: wrap; }
.rewrite-intro > div { display: block; flex: 1; }
.rewrite-intro .local-badge { flex-shrink: 0; }
@media (max-width: 620px) {
  .audience-fields { grid-template-columns: 1fr; }
  .rewrite-intro { flex-wrap: wrap; }
  .rewrite-intro > div { flex-basis: calc(100% - 45px); }
  .rewrite-intro .local-badge { margin-left: 40px; }
}
