:root {
  color-scheme: light;
  --ink: #172b3c;
  --ink-soft: #314657;
  --muted: #667784;
  --navy: #18324b;
  --navy-deep: #10273b;
  --blue: #42647d;
  --teal: #1e7774;
  --teal-dark: #155f5d;
  --teal-pale: #eaf5f2;
  --paper: #f6f5f1;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --line: #e2e6e5;
  --line-strong: #ccd5d6;
  --amber: #9a681f;
  --amber-pale: #fff6e7;
  --red: #a4473d;
  --red-pale: #fff0ee;
  --shadow: 0 14px 36px rgba(24, 50, 75, .055), 0 2px 8px rgba(24, 50, 75, .035);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --content: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.6; }
button, input, textarea, select { font: inherit; }
button, a, select, label[for] { -webkit-tap-highlight-color: transparent; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button { color: inherit; }
:focus-visible { outline: 3px solid #3d9e99; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.sr-only, .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { position: sticky; z-index: 10; top: 0; width: 100%; border-bottom: 1px solid rgba(204, 213, 214, .74); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.header-inner { width: min(var(--content), calc(100% - 48px)); min-height: 70px; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--navy); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e9f0f3; color: var(--navy); }
.brand-mark svg { width: 27px; height: 27px; }
.brand-word { font-size: 15px; letter-spacing: -.025em; font-weight: 760; }
.primary-nav { display: flex; align-items: center; gap: 7px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: #536473; white-space: nowrap; text-decoration: none; font-size: 13px; font-weight: 620; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: #f0f4f4; color: var(--navy); }
.language-picker { display: flex; align-items: center; gap: 7px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); }
.language-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 12px; }
.language-picker select { max-width: 102px; border: 0; background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 650; cursor: pointer; }

.page-shell { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 44px 0 54px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 58px; padding: 10px 0 30px; }
.hero-copy { max-width: 765px; }
.eyebrow, .section-kicker { margin: 0 0 9px; color: var(--teal-dark); font-size: 11px; font-weight: 780; letter-spacing: .105em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(30, 119, 116, .11); }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 13px; color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4.4vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.hero-lede { max-width: 765px; margin-bottom: 0; color: #4b5e6d; font-size: 16px; line-height: 1.72; }
.hero-facts { display: grid; gap: 9px; padding: 16px 18px; border: 1px solid #e0e6e5; border-radius: var(--radius-md); background: rgba(255,255,255,.65); }
.fact-row { display: flex; align-items: center; gap: 10px; color: #435765; font-size: 12px; font-weight: 590; line-height: 1.45; }
.fact-icon { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 8px; }
.fact-icon svg { width: 17px; height: 17px; }
.fact-icon-teal { color: var(--teal); background: var(--teal-pale); }
.fact-icon-blue { color: var(--blue); background: #edf2f6; }
.fact-icon-amber { color: var(--amber); background: var(--amber-pale); }

.trust-panel { margin: 0 0 22px; overflow: hidden; border: 1px solid #d7e0e3; border-radius: var(--radius-md); background: #eef3f4; }
.trust-panel summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 17px; color: var(--navy); cursor: pointer; font-size: 13px; font-weight: 720; list-style: none; }
.trust-panel summary::-webkit-details-marker, .tool-disclosure summary::-webkit-details-marker { display: none; }
.trust-symbol { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 20px; border: 1.5px solid var(--blue); border-radius: 50%; color: var(--blue); font-family: Georgia, serif; font-size: 13px; font-weight: 700; }
.summary-chevron { display: inline-block; margin-left: auto; color: #71818b; font-size: 19px; line-height: 1; transition: transform .2s ease; }
details[open] > summary .summary-chevron { transform: rotate(180deg); }
.trust-content { padding: 0 18px 14px 47px; }
.trust-content p { margin-bottom: 6px; color: #435867; font-size: 12.5px; line-height: 1.58; }
.trust-content .trust-note { margin-bottom: 0; color: #627482; font-style: italic; }

.workspace-card, .utility-section, .utility-card { border: 1px solid #e4e7e4; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.workspace-card { padding: 28px 30px 24px; }
.section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 22px; }
.section-number { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #d9e5e4; border-radius: 11px; background: #eff6f4; color: var(--teal-dark); font-size: 12px; font-weight: 760; }
.section-number-small { width: 34px; height: 34px; flex-basis: 34px; }
.section-heading .section-kicker { margin-bottom: 4px; }
.section-heading h2 { margin-bottom: 5px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 520; letter-spacing: -.025em; line-height: 1.25; }
.section-description { max-width: 800px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.input-block { margin-top: 2px; }
.label-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.field-label { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 700; line-height: 1.4; }
.field-meta, .char-count { color: var(--muted); font-size: 11px; }
textarea, input[type="text"], input[type="url"], select { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
textarea { min-height: 208px; padding: 15px 16px; resize: vertical; line-height: 1.62; }
textarea::placeholder, input::placeholder { color: #88959b; opacity: 1; }
textarea:focus, input:focus, select:focus { outline: none; border-color: #4d9692; box-shadow: 0 0 0 3px rgba(30, 119, 116, .12); }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(164, 71, 61, .1) !important; }
.input-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 7px; }
.field-hint { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.char-count { flex: 0 0 auto; padding-top: 1px; font-variant-numeric: tabular-nums; }
.validation-message { margin: 8px 0 0; color: var(--red); font-size: 12px; font-weight: 600; }
.action-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.primary-actions, .export-actions, .briefing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; text-align: center; text-decoration: none; font-size: 12.5px; font-weight: 730; line-height: 1.25; transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button-primary { border-color: var(--teal); background: var(--teal); color: #fff; box-shadow: 0 2px 4px rgba(30,119,116,.12); }
.button-primary:hover:not(:disabled) { border-color: var(--teal-dark); background: var(--teal-dark); }
.button-secondary { border-color: #cdd8da; background: #fff; color: var(--navy); }
.button-secondary:hover:not(:disabled) { border-color: #90aaa9; background: #f7faf9; }
.button-quiet { border-color: transparent; background: transparent; color: var(--teal-dark); }
.button-quiet:hover:not(:disabled) { background: #eff6f4; }
.button-small { min-height: 36px; padding: 0 10px; font-size: 11.5px; }
.upload-button { cursor: pointer; }
.upload-button.focus-visible { outline: 3px solid #3d9e99; outline-offset: 3px; }
.upload-button svg { width: 16px; height: 16px; }
.text-button { min-height: 42px; padding: 5px 3px; border: 0; background: none; color: #62727d; cursor: pointer; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--navy); }
.text-button-danger { color: #85554e; }
.text-button-danger:hover { color: var(--red); }
.file-status { min-height: 0; margin: 0; color: var(--muted); font-size: 11px; }
.file-status:not(:empty) { margin-top: 6px; }
.feedback-line { margin-top: 10px; padding: 9px 12px; border-radius: 8px; background: #eef6f4; color: #205a57; font-size: 12px; }
.feedback-line.is-error { background: var(--red-pale); color: #873e35; }
.feedback-line.is-neutral { background: #f1f4f5; color: #536875; }

.results-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e9ecea; }
.results-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.results-heading-row h3, .briefing-results h3 { margin: 0; color: var(--navy); font-size: 15px; font-weight: 740; }
.result-count { margin: 7px 0 11px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-state { display: flex; align-items: center; gap: 14px; min-height: 78px; padding: 15px 17px; border: 1px dashed #ccd7d7; border-radius: var(--radius-sm); background: #fbfcfa; color: #536976; }
.empty-state strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 12.5px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11.5px; }
.empty-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 10px; background: #edf3f4; color: #527188; }
.empty-mark svg { width: 28px; height: 28px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { padding: 11px 12px; background: #f4f7f6; color: #556a78; text-align: left; font-size: 10.5px; font-weight: 760; letter-spacing: .035em; }
.data-table td { padding: 12px; border-top: 1px solid #ebefed; color: #354957; vertical-align: top; line-height: 1.5; }
.data-table tbody tr:hover { background: #fbfcfa; }
.results-table th:first-child, .results-table td:first-child { width: 44px; color: #70808a; text-align: center; }
.results-table th:nth-child(2) { width: 18%; }
.results-table th:nth-child(3) { width: 23%; }
.results-table th:nth-child(4) { width: 20%; }
.results-table a { display: inline-block; margin: 2px 8px 2px 0; font-size: 11.5px; font-weight: 650; }
.result-label { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid #e6d9ba; border-radius: 999px; background: #fff7e8; color: #76561e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 750; }
.label-explanation { display: block; margin-top: 4px; color: #667781; font-size: 10.5px; }
.not-checked-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #f7f6f1; }
.not-checked-note p { margin: 0; color: #5c6b72; font-size: 11.5px; line-height: 1.55; }
.note-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 5px; border-radius: 50%; background: var(--amber); }

.utility-card { margin-top: 17px; overflow: hidden; box-shadow: 0 8px 24px rgba(24,50,75,.035); }
.tool-disclosure > summary { list-style: none; }
.tool-summary { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 19px 24px; cursor: pointer; }
.tool-summary:hover { background: #fcfdfb; }
.summary-copy { display: grid; gap: 3px; min-width: 0; }
.summary-copy .section-kicker { margin: 0; font-size: 9.5px; }
.summary-title { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.25; }
.summary-subtitle { max-width: 830px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.disclosure-body { padding: 2px 24px 23px 72px; }
.query-steps { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; }
.query-box { padding: 13px; border: 1px solid #e4e9e7; border-radius: 9px; background: #fbfcfa; }
.query-box > strong, .query-box .field-label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 11.5px; font-weight: 710; }
.query-box textarea { min-height: 86px; }
.query-original { margin: 0; color: #576b79; overflow-wrap: anywhere; font-size: 12px; }
.disclosure-body > .field-hint { margin: 10px 0 0; }
.inline-status { margin: 0; color: #516a76; font-size: 11.5px; line-height: 1.5; }

.utility-section { margin-top: 17px; padding: 25px 28px; }
.section-heading-compact { margin-bottom: 18px; }
.warning-card, .briefing-warning { display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px; border: 1px solid #eedab8; border-radius: 10px; background: var(--amber-pale); color: #664e2b; }
.warning-card { margin: 0 0 12px; }
.warning-card strong, .briefing-warning strong { color: #654d2c; font-size: 12px; line-height: 1.58; }
.warning-icon { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 21px; border: 1.5px solid #a77d37; border-radius: 50%; color: #8a662c; font-size: 12px; font-weight: 800; }
.translation-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 12px 0 19px; }
.translation-notes p { margin: 0; padding: 10px 11px; border-radius: 8px; background: #f6f7f5; color: #65727a; font-size: 10.7px; line-height: 1.55; }
.field-block { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-block > textarea { min-height: 128px; }
.translation-controls { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; align-items: end; gap: 12px; margin: 14px 0 18px; }
.endpoint-field { min-width: 0; }
.endpoint-field .field-label { margin-bottom: 7px; }
.endpoint-field input { padding: 0 12px; font-size: 11.5px; }
.translation-target select, .field-block select { padding: 0 11px; color: var(--ink-soft); }
.translation-target .field-label { margin-bottom: 7px; }
.translate-action { white-space: nowrap; }
.translation-table th { width: 50%; }
.translation-table td { width: 50%; min-width: 260px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }

.briefing-card .summary-title { font-family: inherit; font-size: 17px; font-weight: 720; }
.briefing-card .disclosure-body { padding-top: 3px; }
.briefing-warning { margin-bottom: 16px; }
.briefing-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.briefing-form-grid .field-block-wide { grid-column: 1 / -1; }
.briefing-form-grid .field-block input, .briefing-form-grid .field-block select { padding: 0 11px; }
.briefing-form-grid .field-block textarea { min-height: 78px; padding: 11px; font-size: 12px; }
.local-storage-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; padding: 10px 12px; border-radius: 8px; background: #f4f6f6; color: #5c6d77; font-size: 11px; line-height: 1.55; }
.local-storage-note .note-dot { background: var(--teal); }
.briefing-actions { margin-top: 14px; }
.briefing-results { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.briefing-results h3 { margin-bottom: 8px; }
.briefing-overview { display: flex; flex-wrap: wrap; gap: 8px; color: var(--teal-dark); font-size: 12px; font-weight: 650; }
#briefingResults > h4 { margin: 17px 0 8px; color: var(--navy); font-size: 13px; }
#briefingResults > div { margin: 0 0 8px; padding: 12px 14px; border: 1px solid #e5e9e7; border-radius: 9px; background: #fcfcfa; }
#briefingResults > div p { margin: 0; color: #61727b; font-size: 11.5px; line-height: 1.6; }
#briefingResults > div p > a { color: var(--navy); font-size: 13px; font-weight: 720; }
#briefingResults > div p strong { color: var(--amber); }
.manual-mode { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.manual-mode summary { margin-bottom: 10px; color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 720; }
.manual-mode textarea { min-height: 100px; margin: 9px 0; padding: 10px; font-size: 12px; }

.cli-body .cli-explainer { max-width: 830px; color: #5b6c77; font-size: 12px; }
.code-panel { overflow: hidden; border: 1px solid #dce3e3; border-radius: 10px; background: #f8faf9; }
.code-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #e4e9e8; color: #5c6e78; font-size: 10.5px; font-weight: 700; }
.copy-code-button { min-height: 32px; padding: 0 9px; border: 1px solid #d0dbdb; border-radius: 7px; background: white; color: var(--navy); cursor: pointer; font-size: 10.5px; font-weight: 650; }
.copy-code-button:hover { background: #eef6f4; }
.code-panel pre { margin: 0; padding: 14px; overflow-x: auto; color: #243d50; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.75; white-space: pre; }
.source-link { display: inline-flex; margin-top: 12px; font-size: 12px; font-weight: 680; }

.site-footer { margin-top: 25px; padding: 17px 2px 0; border-top: 1px solid #dfe4e2; }
.site-footer p { max-width: 950px; margin-bottom: 9px; color: #62717a; font-size: 10.5px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #526977; font-size: 10.5px; font-weight: 640; }

@media (max-width: 900px) {
  .header-inner { gap: 14px; }
  .brand-word { font-size: 13px; }
  .primary-nav { gap: 1px; }
  .primary-nav a { padding: 0 9px; font-size: 11.5px; }
  .hero { grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; }
  .workspace-card { padding: 24px; }
  .results-heading-row { align-items: flex-start; flex-direction: column; }
  .export-actions { width: 100%; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 118px; }
  .header-inner { width: min(100% - 28px, var(--content)); min-height: 62px; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; padding: 8px 0 0; }
  .brand { min-height: 38px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-word { font-size: 13px; }
  .language-picker { margin-left: auto; padding-left: 8px; }
  .language-picker select { max-width: 75px; font-size: 11px; }
  .language-icon { width: 21px; height: 21px; font-size: 10px; }
  .primary-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; width: 100%; margin: 3px 0 0; padding: 3px 0 5px; overflow: visible; border-top: 1px solid #eff1ef; }
  .primary-nav a { min-height: 31px; padding: 0 8px; white-space: normal; font-size: 10px; }
  .page-shell { width: min(100% - 28px, var(--content)); padding: 25px 0 38px; }
  .hero { display: block; padding: 4px 0 20px; }
  h1 { margin-bottom: 10px; font-size: clamp(34px, 9vw, 44px); }
  .hero-lede { font-size: 14px; line-height: 1.65; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 9px 10px; margin-top: 16px; padding: 12px; }
  .fact-row { align-items: flex-start; gap: 7px; font-size: 10px; }
  .fact-row:last-child { grid-column: 1 / -1; }
  .fact-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .fact-icon svg { width: 15px; height: 15px; }
  .trust-panel { margin-bottom: 14px; }
  .trust-panel summary { min-height: 45px; padding: 8px 12px; font-size: 11.5px; }
  .trust-content { padding: 0 12px 12px 42px; }
  .trust-content p { font-size: 11px; }
  .workspace-card { padding: 18px 15px 16px; border-radius: 14px; }
  .section-heading { gap: 11px; margin-bottom: 16px; }
  .section-number { width: 31px; height: 31px; flex-basis: 31px; border-radius: 9px; font-size: 10px; }
  .section-heading h2 { font-size: 21px; }
  .section-description { font-size: 11.5px; }
  .section-kicker { font-size: 9.5px; }
  .label-line { align-items: flex-start; flex-direction: column; gap: 2px; }
  .field-label { font-size: 12px; }
  textarea { min-height: 190px; padding: 12px; font-size: 13px; }
  .input-footer { flex-direction: column; gap: 3px; }
  .field-hint { font-size: 10.5px; }
  .char-count { align-self: flex-end; }
  .action-row { align-items: stretch; flex-direction: column; gap: 6px; }
  .primary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .primary-actions .button-primary { grid-column: 1 / -1; }
  .primary-actions .button { width: 100%; min-height: 44px; padding: 0 8px; font-size: 11px; }
  .action-row > .text-button { align-self: flex-end; min-height: 34px; }
  .results-section { margin-top: 17px; padding-top: 15px; }
  .results-heading-row { gap: 8px; }
  .results-heading-row h3 { font-size: 14px; }
  .export-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .export-actions .button { min-height: 38px; font-size: 10px; }
  .empty-state { align-items: flex-start; min-height: 68px; gap: 10px; padding: 12px; }
  .empty-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .empty-mark svg { width: 24px; height: 24px; }
  .empty-state strong { font-size: 11.5px; }
  .empty-state p { font-size: 10.5px; }
  .not-checked-note { padding: 9px; }
  .not-checked-note p { font-size: 10.5px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
  .data-table tr { padding: 7px 11px; border-bottom: 1px solid var(--line); }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td { display: grid; grid-template-columns: minmax(90px, 32%) minmax(0, 1fr); gap: 9px; padding: 8px 0; border-top: 0; font-size: 11px; text-align: left !important; overflow-wrap: anywhere; }
  .data-table td::before { content: attr(data-label); color: #657780; font-size: 9.5px; font-weight: 740; }
  .results-table th:first-child, .results-table td:first-child { width: 100%; }
  .results-table a { margin-right: 8px; }
  .result-label { font-size: 9px; }
  .label-explanation { font-size: 9.5px; }
  .tool-summary { min-height: 80px; gap: 10px; padding: 15px 13px; }
  .section-number-small { width: 30px; height: 30px; flex-basis: 30px; }
  .summary-title { font-size: 17px; }
  .summary-subtitle { font-size: 10.5px; }
  .summary-copy .section-kicker { font-size: 8.5px; }
  .disclosure-body { padding: 0 13px 17px; }
  .query-steps { grid-template-columns: 1fr; gap: 9px; }
  .query-box { padding: 10px; }
  .query-box textarea { min-height: 75px; }
  .utility-section { padding: 18px 14px; border-radius: 14px; }
  .translation-notes { grid-template-columns: 1fr; gap: 7px; }
  .translation-notes p { font-size: 10px; }
  .warning-card { padding: 10px; }
  .warning-card strong, .briefing-warning strong { font-size: 10.8px; }
  .field-block > textarea { min-height: 130px; }
  .translation-controls { grid-template-columns: 1fr 116px; gap: 9px; }
  .endpoint-field { grid-column: 1 / -1; }
  .translate-action { width: 100%; }
  .translation-table tr { padding: 0; }
  .translation-table td { min-width: 0; width: 100%; padding: 10px 0; white-space: pre-wrap; }
  .briefing-card .summary-title { font-size: 15px; }
  .briefing-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .briefing-form-grid .field-block-wide { grid-column: auto; }
  .briefing-form-grid .field-block textarea { min-height: 72px; }
  .briefing-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .briefing-actions .button { min-height: 42px; padding: 0 8px; font-size: 10.5px; }
  .briefing-actions .text-button { grid-column: 1 / -1; justify-self: end; }
  .local-storage-note { font-size: 10px; }
  .manual-mode textarea { min-height: 95px; }
  .code-panel pre { padding: 11px; font-size: 10.5px; }
  .site-footer { margin-top: 19px; }
  .site-footer p { font-size: 9.5px; }
  .footer-links { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
