@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Open+Sans:wght@400;600;700&family=Roboto+Condensed:wght@400;500;600;700&display=swap');

:root {
    --ink: #ecf3f1;
    --muted: #8ea29e;
    --faint: #5d706c;
    --line: #2b3b38;
    --panel: #17221f;
    --panel-strong: #1c2b27;
    --canvas: #101715;
    --teal: #5ee0c1;
    --teal-deep: #183d37;
    --amber: #f3ba68;
    --red: #ff8e80;
    --blue: #7eb7ff;
     --bg: #151619;
     --bar: #090a0d;
     --header: #20242c;
     --panel-raised: #202329;
     --line-soft: #272a30;
     --green: #8bdd78;
     --green-dark: #26432b;
     --blue: #a9c3ff;
     --amber: #f4c56b;
     --red: #ff8d8d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--canvas);
    font-family: Manrope, sans-serif;
    background-image: linear-gradient(135deg, rgba(94, 224, 193, .035), transparent 36%), radial-gradient(circle at 88% 8%, rgba(126, 183, 255, .06), transparent 28%);
     background: var(--bg);
     color: var(--text);
     font-family: 'Open Sans', sans-serif;
     font-size: 13px;
}

button, input { font: inherit; }
button { cursor: pointer; }

.shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 28px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 42px; }
.eyebrow { margin: 0 0 10px; color: var(--teal); font: 500 11px/1.2 'DM Mono', monospace; letter-spacing: 1.6px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(32px, 5vw, 58px); line-height: 1; letter-spacing: -1px; }
h2 { margin-bottom: 7px; font-size: 18px; line-height: 1.2; }
.subtitle { margin: 0; color: var(--muted); font-size: 14px; }
.status-chip, .mode-label { border: 1px solid var(--line); background: rgba(28, 43, 39, .65); color: var(--muted); border-radius: 999px; padding: 9px 13px; font: 500 11px 'DM Mono', monospace; white-space: nowrap; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 13px var(--teal); }

.workspace { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.45fr); gap: 18px; align-items: start; }
.controls-panel, .results-panel { min-width: 0; }
.drop-zone { min-height: 316px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px; border: 1px dashed #47615a; background: linear-gradient(145deg, rgba(28, 43, 39, .95), rgba(21, 32, 29, .96)); text-align: center; transition: border-color .2s, background .2s, transform .2s; }
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.is-dragging { border-color: var(--teal); background: linear-gradient(145deg, rgba(29, 57, 50, 1), rgba(21, 39, 35, 1)); outline: none; }
.drop-zone.is-dragging { transform: translateY(-3px); }
.drop-mark { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #4c7268; color: var(--teal); font: 400 30px/1 'DM Mono', monospace; }
.drop-zone h2 { font-size: 20px; }
.drop-zone p { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.primary-button { border: 0; background: var(--teal); color: #10231f; padding: 12px 18px; font-weight: 800; }
.primary-button:hover { background: #87f1d6; }

.options-panel { margin-top: 18px; padding: 23px; border: 1px solid var(--line); background: var(--panel); }
.option-heading, .results-header, .progress-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.option-heading { margin-bottom: 22px; }
.mode-label { color: var(--teal); border-color: #315f54; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { margin-bottom: 5px; font-size: 13px; }
.toggle-row small, .fine-print { color: var(--muted); font-size: 12px; line-height: 1.5; }
.fine-print { margin: 16px 0 0; }
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; height: 100%; border-radius: 20px; background: #34453f; transition: background .2s; }
.switch span::after { content: ''; display: block; width: 18px; height: 18px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #aebdb8; transition: transform .2s, background .2s; }
.switch input:checked + span { background: var(--teal-deep); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--teal); }

.results-panel { min-height: 500px; padding: 25px; border: 1px solid var(--line); background: var(--panel); }
.results-header { align-items: center; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.text-button { border: 0; padding: 5px 0; background: transparent; color: var(--muted); font-size: 12px; }
.results-actions { display: flex; align-items: center; gap: 18px; }
.repair-all-button { color: var(--amber); }
.text-button:hover:not(:disabled) { color: var(--ink); }
.text-button:disabled { opacity: .35; cursor: default; }
.progress-wrap { padding: 18px 0 4px; }
.progress-meta { color: var(--muted); font: 11px 'DM Mono', monospace; }
.progress-track { height: 5px; margin-top: 9px; overflow: hidden; background: #283733; }
.progress-bar { width: 0; height: 100%; background: var(--teal); transition: width .25s ease; }
.summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.summary-item { padding: 7px 10px; background: var(--panel-strong); color: var(--muted); font: 11px 'DM Mono', monospace; }
.summary-item strong { color: var(--ink); }
.results-list { display: grid; gap: 10px; padding-top: 18px; }
.empty-state { min-height: 270px; display: grid; place-content: center; justify-items: center; color: var(--faint); text-align: center; }
.empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 17px; border: 1px solid var(--line); color: #6b807a; font: 500 14px 'DM Mono', monospace; }
.empty-state p { font-size: 13px; }
.file-card { border: 1px solid var(--line); background: var(--panel-strong); }
.file-card summary { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; list-style: none; }
.file-card summary::-webkit-details-marker { display: none; }
.file-card summary::before { content: '›'; color: var(--faint); font-size: 21px; transition: transform .2s; }
.file-card[open] summary::before { transform: rotate(90deg); }
.file-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 13px; }
.file-size { color: var(--muted); font: 11px 'DM Mono', monospace; }
.badge { padding: 5px 8px; font: 500 10px 'DM Mono', monospace; }
.badge-valid { background: rgba(94, 224, 193, .12); color: var(--teal); }
.badge-warning { background: rgba(243, 186, 104, .12); color: var(--amber); }
.badge-invalid { background: rgba(255, 142, 128, .12); color: var(--red); }
.badge-repaired { background: rgba(126, 183, 255, .12); color: var(--blue); }
.file-body { padding: 0 17px 17px; }
.finding { display: grid; grid-template-columns: 72px 90px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid #263632; font-size: 12px; line-height: 1.45; }
.finding-level, .finding-offset { font: 10px 'DM Mono', monospace; }
.finding-level { color: var(--red); }
.finding-warning .finding-level { color: var(--amber); }
.finding-offset { color: var(--muted); }
.repair-note { margin-top: 13px; padding: 11px 12px; border-left: 2px solid var(--blue); background: rgba(126, 183, 255, .07); color: #b9d4f5; font-size: 12px; line-height: 1.5; }
.download-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding: 14px 16px; border: 1px solid #315f54; background: rgba(29, 57, 50, .55); }
.download-bar p { margin: 0; color: var(--muted); font-size: 12px; }
.download-button { border: 1px solid var(--teal); background: transparent; color: var(--teal); padding: 9px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.download-button:hover { background: var(--teal); color: #10231f; }
.footer-note { margin-top: 18px; padding: 16px 0 0; border-top: 1px solid var(--line-soft); color: var(--faint); font: 13px/1.55 'Roboto Condensed', sans-serif; }
.footer-note strong { color: #aeb6c2; }
.footer-note span { display: block; margin-top: 8px; color: #707985; font-size: 12px; }

.automation-panel { margin-top: 18px; padding: 23px; border: 1px solid var(--line); background: var(--panel); }
.section-divider { height: 1px; margin: 48px 0; background: var(--line-soft); }
.automation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.automation-heading h2 { margin-bottom: 8px; }
.automation-intro { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.55; }
.script-download { flex: 0 0 auto; text-decoration: none; }
.script-inline-link { color: var(--blue); font-weight: 700; }
.automation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px 0 16px; }
.automation-unified { grid-template-columns: minmax(0, 1fr); }
.automation-block { min-width: 0; }
.automation-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 14px; padding: 14px; border: 1px solid #30343b; background: #1b1e23; }
.automation-step:first-of-type { margin-top: 0; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--blue); color: var(--blue); font: 600 14px 'Roboto Condensed', sans-serif; }
.step-content { display: flex; min-width: 0; min-height: 28px; flex-direction: column; justify-content: center; }
.step-content > p:first-child { margin-bottom: 12px; color: #dce3eb; }
.step-content pre + p { margin-top: 14px; }
.automation-block h3 { margin: 0 0 7px; color: #eef0f3; font: 600 17px 'Roboto Condensed', sans-serif; }
.automation-block p, .automation-note { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.automation-block pre + p { margin-top: 22px; }
.scan-note { margin-top: 10px !important; }
code { color: #d5e3ff; font-family: 'DM Mono', monospace; font-size: .9em; }
pre { overflow-x: auto; margin: 0; padding: 14px; border: 1px solid #30343b; background: #111317; color: #d8e4db; font: 12px/1.65 'DM Mono', monospace; white-space: pre; }
.syntax-command, .syntax-keyword { color: #7ed7c2; }
.syntax-path, .syntax-string { color: #f0c674; }
.syntax-flag, .syntax-variable { color: #9cc7ff; }
.syntax-pipe, .syntax-type { color: #d6a8ff; }
.syntax-module, .syntax-function { color: #82cfff; }
.syntax-comment { color: #718078; }
.automation-note { margin: 16px 0 0; }
.automation-note strong { color: #e7e9ed; }
.automation-help { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

@media (max-width: 800px) {
    .shell { width: min(100% - 28px, 640px); padding-top: 30px; }
    .topbar { flex-direction: column; margin-bottom: 28px; }
    .workspace { grid-template-columns: 1fr; }
    .drop-zone { min-height: 270px; }
    .results-panel { min-height: 400px; }
}

@media (max-width: 520px) {
    .results-panel, .options-panel { padding: 18px; }
    .finding { grid-template-columns: 62px 72px 1fr; font-size: 11px; }
    .file-size { display: none; }
    .download-bar { align-items: flex-start; flex-direction: column; }
}

/* MTA site chrome and utility surfaces. */
:root {
    --bg: #151619;
    --bar: #090a0d;
    --header: #20242c;
    --panel: #1a1c20;
    --panel-raised: #202329;
    --line-soft: #272a30;
    --text: #e7e9ed;
    --green: #8bdd78;
    --green-dark: #26432b;
}

body { color: var(--text); background: var(--bg); font-family: 'Open Sans', sans-serif; font-size: 16px; }
html { color-scheme: dark; scrollbar-color: #59616d #151619; scrollbar-width: thin; }
* { scrollbar-color: #59616d #151619; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #151619; }
*::-webkit-scrollbar-thumb { border: 2px solid #151619; border-radius: 2px; background: #59616d; }
*::-webkit-scrollbar-thumb:hover { background: #788492; }
*::-webkit-scrollbar-corner { background: #151619; }
.utility-nav { height: 38px; background: var(--bar); color: #b0b5be; font-size: 13px; }
.utility-inner, .brand-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.utility-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.utility-nav a, .brandbar a { color: inherit; text-decoration: none; }
.utility-nav a:hover, .brandbar a:hover { color: #fff; }
.utility-links, .brand-links { display: flex; gap: 18px; }
.online-status { margin-left: auto; }
.brandbar { background: var(--header); border-bottom: 1px solid #343944; }
.brand-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-name { display: flex; align-items: center; gap: 18px; font-family: 'Roboto Condensed', sans-serif; }
.brand-name strong { color: #f2f3f5; font-size: 32px; font-weight: 700; letter-spacing: -.4px; }
.brand-name img { display: block; width: 250px; height: auto; }
.brand-name span, .brand-links { color: #b8bec8; font-size: 14px; }
.accent-rule { height: 2px; background-image: url("data:image/webp;base64,UklGRpAAAABXRUJQVlA4TIQAAAAvn4UAAAWbyLadyPj1J+ecVVBlARkP1CjAA1ZPzSiNZKv5/xMkDgrAU0DOIOm/ERxCaSRbzW/uF0EqD4WkDLDJ43N0v/8TsKiOeemC+XzC7JrBzK3HtCljCoeYRpKY4WCYzVGYPj3M9n3MkzbmXB3mfS3m6zXmJwOmBMBUTcVMgDD/nwE="); background-position: center; background-repeat: repeat-x; background-size: auto 2px; }
.shell { width: min(1060px, calc(100% - 48px)); padding: 32px 0 28px; }
.topbar { padding-bottom: 25px; border-bottom: 1px solid var(--line-soft); margin-bottom: 0; }
.info-button { flex: 0 0 auto; border: 1px solid #59616d; border-radius: 2px; padding: 8px 12px; background: #272b33; color: #d7dde5; font-size: 12px; font-weight: 700; }
.info-button span { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 2px; border: 1px solid #9ca5b2; border-radius: 50%; color: #c8d9f7; font: 700 11px/1 'DM Mono', monospace; }
.info-button:hover, .info-button:focus-visible { border-color: var(--green); color: var(--green); outline: none; }
.checks-dialog { width: min(900px, calc(100% - 32px)); max-height: min(760px, calc(100% - 32px)); overflow: auto; padding: 25px; border: 1px solid #59616d; border-top: 3px solid var(--green); background: #1a1c20; color: var(--text); box-shadow: 0 22px 70px rgba(0, 0, 0, .55); }
.checks-dialog::backdrop { background: rgba(5, 7, 10, .76); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line-soft); }
.dialog-heading h2 { margin-bottom: 0; color: #f2f3f5; font-size: 25px; }
.dialog-close { width: 31px; height: 31px; flex: 0 0 auto; border: 1px solid #59616d; border-radius: 2px; background: transparent; color: #b8bec8; font-size: 23px; line-height: 1; }
.dialog-close:hover, .dialog-close:focus-visible { border-color: var(--green); color: var(--green); outline: none; }
.dialog-intro { max-width: 720px; margin: 17px 0 20px; color: var(--muted); line-height: 1.55; }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check-section { min-width: 0; padding: 18px; border: 1px solid #30343b; background: #202329; }
.check-label { margin-bottom: 7px; color: var(--green); font: 700 11px 'DM Mono', monospace; letter-spacing: 1.3px; }
.check-label-blue { color: var(--blue); }
.check-section h3 { margin: 0 0 17px; color: #eef0f3; font: 600 21px 'Roboto Condensed', sans-serif; }
.check-list { margin: 0; }
.check-list div { padding: 12px 0; border-top: 1px solid #30343b; }
.check-list div:first-child { padding-top: 0; border-top: 0; }
.check-list dt { margin-bottom: 4px; color: #e7e9ed; font-weight: 700; }
.check-list dd { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.repair-callout { margin: 16px 0 0; padding: 11px 12px; border-left: 3px solid var(--amber); background: #493d24; color: #f6d48e; font-size: 12px; line-height: 1.5; }
.repair-callout strong { color: #ffe0a3; }
.txd-callout { border-left-color: var(--blue); background: #293b58; color: #c8d9f7; }
.txd-callout strong { color: var(--blue); }
h1, h2 { font-family: 'Roboto Condensed', sans-serif; }
h1 { margin-bottom: 9px; color: #f2f3f5; font-size: clamp(36px, 4.5vw, 50px); font-weight: 600; letter-spacing: -.4px; }
h2 { color: #eef0f3; font-weight: 600; }
.eyebrow { color: #b5bdca; font-family: 'Roboto Condensed', sans-serif; font-size: 10px; }
.subtitle { color: var(--muted); font-size: 14px; }
.status-chip, .mode-label { border-radius: 2px; background: #272b33; padding: 7px 10px; font-family: 'Roboto Condensed', sans-serif; }
.workspace { gap: 16px; padding-top: 22px; }
.drop-zone { min-height: 292px; border-color: #59616d; background: #1b1e23; }
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.is-dragging { border-color: var(--green); background: #20272a; }
.drop-mark { width: 48px; height: 48px; margin-bottom: 17px; border-color: #65717d; color: var(--green); font-family: 'Roboto Condensed', sans-serif; }
.drop-zone h2 { font-size: 26px; }
.drop-zone p { font-size: 14px; }
.primary-button { border: 1px solid #a9df9b; border-radius: 2px; background: var(--green); color: #17231a; padding: 11px 17px; font-size: 14px; }
.options-panel, .results-panel { border-color: var(--line); background: var(--panel); }
.options-panel { margin-top: 16px; padding: 20px; }
.option-heading { margin-bottom: 19px; }
.mode-label { color: var(--green); border-color: #46624b; background: #202923; }
.mode-label.mode-validate { color: #9ec4ff; border-color: #4a6791; background: #202c40; }
.mode-label.mode-repair { color: #ffc36e; border-color: #8e6030; background: #3a2b1d; }
.toggle-row { padding: 14px 0; }
.toggle-row strong { font-size: 14px; }
.toggle-row small, .fine-print { font-size: 13px; }
.switch { width: 38px; height: 21px; }
.switch span { border: 1px solid #4b535e; border-radius: 12px; background: #2a2e35; }
.switch span::after { width: 15px; height: 15px; top: 2px; background: #9ea5af; }
.switch input:checked + span { border-color: #527d51; background: var(--green-dark); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--green); }
.results-panel { min-height: 480px; padding: 21px; }
.results-header { padding-bottom: 18px; }
.text-button:hover:not(:disabled) { color: var(--green); }
.repair-all-button { border: 1px solid #d49a45; border-radius: 2px; padding: 9px 13px; background: #4a351d; color: #ffd98a; font-size: 13px; font-weight: 800; box-shadow: 0 0 0 1px rgba(244, 197, 107, .08); }
.repair-all-button:hover:not(:disabled) { border-color: #ffd98a; background: #65471f; color: #fff1c9; }
.repair-all-button:focus-visible { outline: 2px solid #ffd98a; outline-offset: 3px; }
.progress-wrap { padding: 16px 0 3px; }
.progress-track { height: 4px; background: #30353d; }
.progress-bar { background: var(--green); }
.summary-item { padding: 6px 8px; border: 1px solid #363b44; background: #23262c; font-family: 'Roboto Condensed', sans-serif; }
.empty-icon { border-color: #3d434d; color: #9ca5b2; font-family: 'Roboto Condensed', sans-serif; }
.file-card { background: var(--panel-raised); }
.file-card summary { padding: 13px 14px; }
.file-card summary::before { font-family: 'Roboto Condensed', sans-serif; }
.file-name { font-size: 14px; }
.badge { border-radius: 2px; font-family: 'Roboto Condensed', sans-serif; }
.badge-valid { background: #263d2b; color: var(--green); }
.badge-warning { background: #493d24; color: var(--amber); }
.badge-invalid { background: #48282d; color: var(--red); }
.badge-repaired { background: #293b58; color: var(--blue); }
.finding { border-color: #30343b; font-size: 13px; }
.finding-level, .finding-offset, .progress-meta, .footer-note { font-family: 'Roboto Condensed', sans-serif; }
.repair-note { background: #222d3d; font-size: 13px; }
.download-bar { border-color: #46624b; background: #202923; }
.download-button { border-radius: 2px; border-color: var(--green); color: var(--green); }
.automation-panel { border: 1px solid #49658d; border-top: 3px solid var(--blue); background: linear-gradient(135deg, #1d222c, var(--panel)); box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.automation-panel h2 { color: var(--blue); }
.automation-panel .automation-heading { border-bottom-color: #38465f; }
.automation-panel .download-button { border-color: var(--blue); color: var(--blue); }
.automation-panel .download-button:hover { background: var(--blue); color: #1b202a; }
.backup-warning { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #8e3e48; border-left: 4px solid var(--red); background: #48282d; color: #ffc6c6; line-height: 1.5; }
.backup-warning-copy { min-width: 0; }
.backup-warning strong { color: #ffe1e1; }
.backup-warning-icon { flex: 0 0 auto; color: #ff9d9d; font-size: 34px; line-height: 1; }
.overwrite-warning { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--amber); background: #493d24; color: #f6d48e; }
.overwrite-warning strong { color: #ffe0a3; }
.repair-scope-note { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--blue); background: #293b58; color: #c8d9f7; line-height: 1.5; }
.repair-scope-note strong { color: var(--blue); }
.last-updated { margin: 13px 0 0; color: var(--faint); font: 13px 'Roboto Condensed', sans-serif; }
.support-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 20px 21px; border: 1px solid #46624b; background: #202923; }
.support-panel h2 { margin-bottom: 6px; color: var(--green); }
.support-panel p:not(.eyebrow) { margin: 0; max-width: 680px; color: var(--muted); line-height: 1.5; }
.support-button { flex: 0 0 auto; border: 1px solid var(--green); border-radius: 2px; padding: 9px 13px; color: var(--green); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.support-button:hover { background: var(--green); color: #17231a; }

@media (max-width: 800px) {
    .utility-inner, .brand-inner, .shell { width: min(100% - 28px, 640px); }
    .utility-links, .brand-links { display: none; }
    .shell { padding-top: 27px; }
    .topbar { flex-direction: column; gap: 15px; }
    .info-button { align-self: flex-start; }
    .utility-nav { height: 34px; font-size: 13px; }
    .brand-inner { height: 70px; }
    .brand-name img { width: 180px; }
    .brand-name span { font-size: 15px; }
    .automation-heading { flex-direction: column; gap: 16px; }
    .automation-grid { grid-template-columns: 1fr; }
    .support-panel { align-items: flex-start; flex-direction: column; gap: 16px; }
    .checks-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .automation-panel { padding: 18px; }
    .script-download { width: 100%; text-align: center; }
    .support-button { width: 100%; text-align: center; }
}

