@font-face { font-family: 'Inter'; src: url('./inter-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --page: #337ab7; --panel: #fff; --soft: #f3f8fc; --ink: #183d61;
  --text: #254661; --muted: #58738b; --line: #dae7f3; --accent: #337ab7;
  --accent-hover: #286090; --highlight: #d5eafb; --tint: #e7f1fc; --blue: #235f9e;
  --orange: #a65725; --danger: #b23d35; --amber: #946615; --shadow: 0 12px 36px #143d6026;
  --radius: 22px; --range-progress: 6.45%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #102d46; --panel: #183950; --soft: #1e405a; --ink: #edf5ff;
  --text: #e0eefe; --muted: #acc6dc; --line: #37566f; --accent: #8dc8f8;
  --accent-hover: #b0dbfd; --highlight: #315b7c; --tint: #254b68; --blue: #8db6f5;
  --orange: #f2ad79; --danger: #ffa89f; --amber: #edc579; --shadow: 0 12px 36px #00000014;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 15px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline-offset: 2px; }
h1, h2, p { margin: 0; }
input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
svg.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 20px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.eyebrow { font-size: 10px; letter-spacing: 1.55px; font-weight: 700; color: var(--muted); }
.small-label { font-size: 10px; font-weight: 700; letter-spacing: 1.7px; color: var(--muted); }
.skip-link { position: absolute; z-index: 20; left: 16px; top: -100px; padding: 12px 20px; border-radius: 10px; background: var(--ink); color: var(--panel); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid #ffffff40; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -.9px; line-height: 1.1; }
.brand-light { font-weight: 450; }
.brand-caption { display: block; margin-top: 6px; font-size: 9px; font-weight: 400; letter-spacing: .45px; color: inherit; }
.site-header .brand { color: #fff; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: #337ab7; border-radius: 13px; }
.brand-mark svg.icon { width: 26px; height: 26px; stroke-width: 1.8; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.version-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); gap: 3px; }
.version-switch a { text-decoration: none; padding: 9px 13px; border-radius: 8px; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-weight: 600; min-height: 38px; }
.version-switch a.active { color: var(--ink); background: var(--tint); }
.version-switch a:hover { color: var(--ink); }
.new-badge { padding: 1px 5px; border-radius: 4px; font-size: 8px; color: #1f4d74; background: #d5eafb; letter-spacing: .6px; }
.icon-button { border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; padding: 0; color: var(--muted); }
.icon-button:hover { background: var(--soft); color: var(--ink); }
.site-header .theme-toggle { border: 1px solid #ffffff60; color: #fff; background: #ffffff0a; }
.site-header .theme-toggle:hover { color: #fff; background: #ffffff20; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 32px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.generator-card { overflow: hidden; }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 20px 24px 0; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.mode-tab { min-height: 44px; padding: 8px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 500; font-size: 13px; }
.mode-tab.active { color: var(--ink); background: var(--panel); box-shadow: 0 2px 7px #00000008; }
.mode-tab:hover { color: var(--ink); }
.mode-tab svg.icon { width: 16px; height: 16px; flex-basis: 16px; }
.word-icon { font-family: Georgia, serif; font-size: 17px; line-height: 1; }
.output-area { padding: 23px 30px 22px; }
.output-heading { display: flex; align-items: center; justify-content: space-between; }
.password-output { font: 500 37px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: .4px; min-height: 83px; display: flex; flex-wrap: wrap; align-content: center; padding: 7px 0 14px; color: var(--ink); word-break: break-all; overflow-wrap: anywhere; user-select: all; cursor: text; }
.password-output span { white-space: pre-wrap; }
.password-output.is-long { font-size: 24px; min-height: 110px; }
.password-output.is-phrase { font-size: 25px; min-height: 110px; display: block; padding-top: 16px; line-height: 1.65; word-break: normal; }
.password-output.is-hidden { letter-spacing: 3px; font-size: 28px; }
.loading-output { font-family: inherit; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.number-text { color: var(--blue) !important; }
.symbol-text { color: var(--orange) !important; }
.output-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.color-legend { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.legend-dot { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; margin-left: 8px; }
.legend-dot.numbers { background: var(--blue); }
.legend-dot.symbols { background: var(--orange); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 13px; transition: background .15s, border-color .15s; }
.button-primary { background: var(--accent); color: var(--panel); }
:root[data-theme="dark"] .button-primary { color: #143550; }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); }
.button-secondary { color: var(--ink); background: var(--panel); border-color: var(--line); }
.button-secondary:hover:not(:disabled) { background: var(--soft); border-color: var(--muted); }
.button-subtle { min-height: 44px; padding: 8px 10px; background: var(--soft); font-size: 12px; }
.button svg.icon { width: 17px; height: 17px; flex-basis: 17px; }
.primary-actions { display: grid; grid-template-columns: 1.15fr 1fr; gap: 11px; }
.strength-box { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; margin-top: 24px; }
.strength-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.strength-heading > span { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent); }
.strength-heading svg.icon { width: 16px; height: 16px; flex-basis: 16px; }
.text-button { background: none; border: none; padding: 9px 3px; font-size: 12px; color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.text-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.info-circle { font: 10px Georgia, serif; border: 1px solid var(--muted); display: grid; place-items: center; border-radius: 50%; width: 12px; height: 12px; }
.strength-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 7px; }
.strength-meter > span { height: 4px; border-radius: 5px; background: var(--line); }
.strength-meter > span.filled { background: var(--accent); }
.strength-box[data-level="low"] .strength-heading > span { color: var(--danger); }
.strength-box[data-level="low"] .filled { background: var(--danger); }
.strength-box[data-level="moderate"] .strength-heading > span { color: var(--amber); }
.strength-box[data-level="moderate"] .filled { background: var(--amber); }
.strength-box > p { font-size: 11px; color: var(--muted); margin-top: 12px; }
.browser-note { color: var(--muted); font-size: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 17px; }
.browser-note svg.icon { width: 13px; height: 13px; flex-basis: 13px; }
.extras { padding: 0 24px; border-top: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.extra-section + .extra-section { border-top: 1px solid var(--line); }
.extra-section > summary { display: flex; align-items: center; justify-content: space-between; padding-block: 17px; font-size: 13px; font-weight: 500; min-height: 54px; }
.extra-section summary > span { display: flex; align-items: center; gap: 10px; }
.extra-section summary svg.icon { color: var(--muted); width: 17px; height: 17px; flex-basis: 17px; }
.chevron { transition: transform .2s; }
details[open] > summary > .chevron { transform: rotate(180deg); }
.count-badge { font-size: 10px; background: var(--soft); color: var(--muted); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.extra-content { padding-bottom: 20px; font-size: 12px; }
.batch-controls { display: flex; align-items: end; gap: 12px; margin-top: 16px; }
.batch-controls label { width: 92px; font-size: 11px; }
.batch-controls input { width: 100%; padding: 10px 12px; height: 46px; margin-top: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-size: 16px; }
.batch-controls .button { min-height: 46px; }
.batch-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
.secret-list { max-height: 290px; overflow-y: auto; margin-block: 14px 8px; border: 1px solid var(--line); border-radius: 10px; }
.secret-row { padding: 6px 8px 6px 12px; display: flex; align-items: center; gap: 8px; min-height: 48px; }
.secret-row + .secret-row { border-top: 1px solid var(--line); }
.secret-row code { font-family: "SFMono-Regular", Consolas, monospace; flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.secret-row .icon-button { width: 38px; height: 38px; flex: 0 0 38px; }
.secret-row .icon-button svg { width: 16px; height: 16px; }
.secret-index { color: var(--muted); font-size: 9px; width: 14px; flex: 0 0 14px; }
.empty-state { padding: 20px 0 2px; color: var(--muted); }
.settings-card { padding: 25px 27px 20px; }
.settings-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 26px; }
.settings-heading .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 5px; }
h2 { color: var(--ink); font-size: 24px; letter-spacing: -.7px; font-weight: 600; line-height: 1.25; }
.settings-heading .text-button { margin-top: 10px; }
.length-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.length-heading label { font-size: 13px; font-weight: 500; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--soft); height: 40px; }
.step-button { border: 0; background: transparent; width: 34px; height: 38px; font-size: 18px; color: var(--muted); }
.step-button:hover { background: var(--line); color: var(--ink); }
.stepper input { width: 44px; text-align: center; height: 36px; border: 0; padding: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1; }
.range-input { width: 100%; height: 40px; appearance: none; background: transparent; margin: 10px 0 0; padding: 0; cursor: pointer; }
.range-input::-webkit-slider-runnable-track { height: 5px; background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--range-progress), var(--line) var(--range-progress), var(--line) 100%); border-radius: 5px; }
.range-input::-webkit-slider-thumb { appearance: none; margin-top: -7px; height: 19px; width: 19px; border: 3px solid var(--panel); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.range-input::-moz-range-track { height: 5px; background: var(--line); border-radius: 5px; }
.range-input::-moz-range-progress { height: 5px; background: var(--accent); border-radius: 5px; }
.range-input::-moz-range-thumb { height: 15px; width: 15px; border: 3px solid var(--panel); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; margin-top: -6px; }
.presets { display: flex; gap: 7px; margin-top: 17px; }
.preset { font-size: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--panel); min-height: 36px; flex: 1; white-space: nowrap; }
.preset span { opacity: .8; margin-left: 3px; }
.preset.active { color: var(--accent); background: var(--tint); border-color: var(--accent); }
.character-fieldset { border: 0; padding: 0; margin: 26px 0 17px; min-width: 0; }
.character-fieldset legend { padding: 0; font-size: 12px; font-weight: 500; margin-bottom: 12px; }
.character-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.character-option { position: relative; display: flex; align-items: center; padding: 12px 10px; border: 1px solid var(--line); border-radius: 9px; min-height: 48px; font-size: 10px; gap: 7px; cursor: pointer; }
.character-option:has(input:checked) { background: var(--soft); border-color: var(--accent); }
.character-option:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.character-option input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.character-example { color: var(--ink); font: 600 12px "SFMono-Regular", Consolas, monospace; }
.check-indicator { margin-left: auto; width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; color: transparent; flex: 0 0 14px; }
.check-indicator svg.icon { width: 11px; height: 11px; stroke-width: 2.5; }
.character-option input:checked ~ .check-indicator { background: var(--accent); border-color: var(--accent); color: var(--panel); }
:root[data-theme="dark"] .character-option input:checked ~ .check-indicator { color: #143550; }
.switch-row { display: flex; align-items: center; gap: 10px; position: relative; padding-block: 14px; cursor: pointer; font-size: 12px; }
.switch-row > span:first-child { flex: 1; font-weight: 500; }
.switch-row small { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; color: var(--muted); }
.switch-row input { position: absolute; right: -5px; opacity: 0; width: 44px; height: 44px; cursor: pointer; z-index: 1; }
.switch-track { width: 34px; height: 20px; border-radius: 30px; background: var(--line); position: relative; flex: 0 0 34px; transition: background .2s; pointer-events: none; }
.switch-track::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); position: absolute; top: 3px; left: 3px; box-shadow: 0 1px 3px #00000020; transition: transform .2s; }
.switch-row input:checked + .switch-track { background: var(--accent); }
.switch-row input:checked + .switch-track::after { transform: translateX(14px); }
:root[data-theme="dark"] .switch-row input:checked + .switch-track::after { background: #143550; }
.switch-row input:focus-visible + .switch-track { outline: 3px solid var(--accent); outline-offset: 4px; }
.advanced-details { border-top: 1px solid var(--line); margin-top: 3px; }
.advanced-details summary { display: flex; align-items: center; justify-content: space-between; font-size: 12px; min-height: 50px; color: var(--muted); }
.advanced-details summary svg.icon { width: 16px; height: 16px; }
.advanced-content { padding-bottom: 15px; }
.checkbox-row { display: flex; gap: 9px; align-items: center; font-size: 11px; min-height: 40px; cursor: pointer; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 7px; }
.field-heading { display: flex; align-items: center; justify-content: space-between; }
.field-heading label { margin-bottom: 0; }
.field input, .field select { width: 100%; height: 44px; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 10px 12px; border-radius: 8px; font-size: 16px; }
.field input { font-family: "SFMono-Regular", Consolas, monospace; }
.field small { display: block; font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.field input:disabled { opacity: .5; }
.mode-explanation { color: var(--muted); font-size: 12px; margin: -10px 0 23px; }
.wordlist-note { display: flex; align-items: start; gap: 7px; flex-wrap: wrap; font-size: 10px; color: var(--muted); background: var(--soft); border-radius: 9px; padding: 12px; margin: 14px 0 18px; }
.wordlist-note .icon { width: 14px; height: 14px; flex-basis: 14px; }
.wordlist-note a { color: var(--accent); }
.preference-footer { border-top: 1px solid var(--line); padding-top: 12px; }
.preference-footer > p { margin: 5px 0 2px 27px; font-size: 9px; color: var(--muted); }
.error-message { color: var(--danger); font-size: 12px; line-height: 1.6; padding: 13px; border: 1px solid var(--danger); border-radius: 9px; margin: 12px 0; }
.clipboard-fallback { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; font-size: 16px; }
.button.copied { box-shadow: 0 0 0 3px var(--highlight); }
.trust-strip { display: flex; justify-content: center; gap: 35px; padding: 28px 0; color: #fff; font-size: 10px; }
.trust-strip > span, .trust-strip > a { display: flex; align-items: center; gap: 7px; }
.trust-strip a { text-decoration: none; }
.trust-strip a:hover { text-decoration: underline; }
.trust-strip svg.icon { width: 14px; height: 14px; flex-basis: 14px; }
.help-section { display: grid; grid-template-columns: 1fr 1.55fr; gap: 70px; padding: 38px 4px 48px; border-top: 1px solid #ffffff40; color: #fff; }
.help-intro .eyebrow { margin-bottom: 12px; font-size: 9px; color: #fff; }
.help-intro h2 { font-size: 26px; line-height: 1.3; color: #fff; }
.help-intro p:not(.eyebrow) { font-size: 12px; color: #fff; margin-top: 12px; }
.keyboard-hint { display: flex; gap: 7px; align-items: center; font-size: 10px; color: #fff; margin-top: 22px; }
kbd { min-width: 20px; min-height: 21px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; font-family: inherit; font-size: 10px; line-height: 18px; }
.keyboard-hint kbd { color: var(--ink); }
.faq-list details { border-bottom: 1px solid #ffffff40; }
.faq-list summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 500; }
.faq-list svg.icon { width: 16px; height: 16px; flex-basis: 16px; color: #fff; }
.faq-list details p { font-size: 12px; color: #fff; padding: 0 25px 18px 0; line-height: 1.8; }
.faq-list details a { color: #fff; }
.site-footer { border-top: 1px solid #ffffff40; padding: 29px 4px 35px; display: flex; justify-content: space-between; gap: 24px; color: #fff; }
.footer-brand { color: #fff; font-size: 19px; letter-spacing: -.6px; font-weight: 650; text-decoration: none; }
.footer-dot { color: #fff; }
.site-footer p { margin-top: 7px; color: #fff; font-size: 10px; }
.site-footer .heart { width: 10px; height: 10px; fill: #d5eafb; stroke: #d5eafb; display: inline; vertical-align: -1px; margin: 0 2px; }
.footer-right { text-align: right; padding-top: 1px; }
.footer-right a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-right a:hover { text-decoration: underline; }
.contact-line { display: flex; align-items: center; gap: 9px; justify-content: end; margin-top: 10px; color: #fff; font-size: 10px; }
.contact-line img { width: 181px; height: auto; display: block; user-select: none; filter: brightness(0) invert(1); }
.site-header :focus-visible, .trust-strip :focus-visible, .help-section :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 12px; background: var(--ink); color: var(--panel); font-size: 13px; box-shadow: 0 8px 30px #00000020; z-index: 50; max-width: calc(100% - 32px); width: max-content; }
.toast svg.icon { width: 17px; height: 17px; flex-basis: 17px; }
.info-dialog { border: 1px solid var(--line); border-radius: 20px; padding: 24px; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--panel); color: var(--text); }
.info-dialog::backdrop { background: #0d284ccc; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.dialog-heading h2 { font-size: 22px; }
.info-dialog p { font-size: 13px; line-height: 1.8; margin-top: 13px; }
.info-dialog p.small { font-size: 11px; }
.entropy-scale { display: grid; gap: 9px; background: var(--soft); padding: 15px; border-radius: 10px; margin: 18px 0; }
.entropy-scale > span { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; color: var(--muted); }
.entropy-scale strong { font-weight: 500; color: var(--ink); }
.noscript-message { padding: 16px; position: fixed; bottom: 0; background: var(--ink); color: var(--panel); width: 100%; text-align: center; font-size: 13px; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 40px); }
  .workspace { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
  .settings-card { padding: 23px 20px 20px; }
  .output-area { padding-inline: 22px; }
  .mode-tabs { margin-inline: 16px; }
  .mode-tab { gap: 6px; font-size: 12px; padding-inline: 5px; }
  .character-grid { gap: 7px; }
  .character-option { gap: 5px; padding-inline: 8px; font-size: 9px; }
  .character-example { font-size: 11px; }
  .preset { font-size: 9px; padding-inline: 5px; }
  .trust-strip { gap: 23px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); max-width: 580px; }
  .site-header { padding-block: 20px; gap: 12px; }
  .brand { font-size: 21px; gap: 9px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-mark svg.icon { width: 23px; height: 23px; }
  .brand-caption { display: none; }
  .header-actions { gap: 8px; }
  .version-switch { padding: 3px; border-radius: 10px; }
  .version-switch a { padding-inline: 10px; font-size: 11px; gap: 5px; }
  .theme-toggle { width: 38px; height: 44px; }
  .new-badge { display: none; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
  .mode-tabs { margin: 16px 16px 0; }
  .mode-tab { font-size: 12px; gap: 7px; }
  .output-area { padding: 18px 22px 21px; }
  .password-output { font-size: 34px; min-height: 79px; }
  .primary-actions { gap: 10px; }
  .primary-actions .button { min-height: 50px; font-size: 12px; padding-inline: 12px; }
  .strength-box { margin-top: 20px; }
  .extras { padding-inline: 20px; }
  .settings-card { padding: 23px 24px 20px; }
  .settings-heading { margin-bottom: 20px; }
  .character-option { padding: 13px 12px; font-size: 11px; gap: 9px; }
  .character-example { font-size: 13px; }
  .preset { font-size: 11px; padding: 8px; min-height: 40px; }
  .character-fieldset { margin-top: 23px; }
  .checkbox-row { font-size: 12px; min-height: 44px; }
  .switch-row { min-height: 57px; font-size: 13px; }
  .switch-row small { font-size: 11px; }
  .preference-footer > p { font-size: 10px; }
  .trust-strip { flex-wrap: wrap; padding-block: 24px; gap: 12px 20px; font-size: 10px; }
  .help-section { grid-template-columns: 1fr; gap: 20px; padding: 28px 2px 34px; }
  .help-intro h2 { font-size: 23px; }
  .help-intro h2 br { display: none; }
  .keyboard-hint { display: none; }
  .help-intro p:not(.eyebrow) { margin-top: 8px; }
  .faq-list summary { font-size: 12px; min-height: 58px; }
  .site-footer { padding-block: 24px 30px; flex-direction: column; gap: 16px; }
  .site-footer p { font-size: 11px; }
  .footer-right { text-align: left; }
  .contact-line { justify-content: start; font-size: 11px; }
  .toast { bottom: 18px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 24px); }
  .brand { font-size: 18px; gap: 7px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-mark svg.icon { width: 20px; height: 20px; }
  .header-actions { gap: 5px; }
  .version-switch a { padding-inline: 7px; font-size: 10px; }
  .theme-toggle { width: 32px; }
  .output-area { padding-inline: 18px; }
  .mode-tabs { margin-inline: 11px; }
  .mode-tab { font-size: 11px; gap: 5px; }
  .password-output { font-size: 29px; }
  .settings-card { padding-inline: 18px; }
  .character-option { padding-inline: 9px; gap: 7px; font-size: 10px; }
  .preset { font-size: 10px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
