:root {
    color-scheme: light;
    --bg: #f5f8fc;
    --surface: #ffffff;
    --surface-soft: #f1f8e8;
    --panel-bg: rgba(255, 255, 255, 0.92);
    --card-soft: #fbfff6;
    --pill-bg: #ecfccb;
    --pill-border: #d9f99d;
    --pill-text: #4d7c0f;
    --text: #102033;
    --muted: #64748b;
    --line: #dfe9d2;
    --primary: #65a30d;
    --primary-dark: #4d7c0f;
    --primary-soft: #ecfccb;
    --primary-contrast: #ffffff;
    --success: #0f9f6e;
    --success-soft: #ecfdf5;
    --success-border: #bbf7d0;
    --warning: #d97706;
    --warning-soft: #fff7ed;
    --warning-border: #fed7aa;
    --danger: #b91c1c;
    --danger-dark: #991b1b;
    --danger-soft: #fef2f2;
    --danger-border: #fecaca;
    --code-bg: #10170d;
    --code-text: #e6edf7;
    --code-toolbar: #dce8f7;
    --code-border: #213118;
    --body-bg: linear-gradient(180deg, #f4fce9 0, #fafff4 340px, var(--bg) 720px);
    --topbar-bg: #1f2a17;
    --topbar-text: #ecfccb;
    --topbar-badge-bg: rgba(101, 163, 13, 0.24);
    --topbar-badge-text: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.92);
    --input-bg: #ffffff;
    --footer-bg: #ffffff;
    --brand-logo-filter: none;
    --soft-border: #bef264;
    --status-stop-bg: #f8fafc;
    --status-stop-border: #cbd5e1;
    --status-stop-text: #475569;
    --focus-ring: rgba(101, 163, 13, 0.14);
    --primary-shadow: rgba(101, 163, 13, 0.26);
    --danger-shadow: rgba(185, 28, 28, 0.22);
    --card-shadow: rgba(31, 42, 23, 0.08);
    --shadow: 0 18px 55px rgba(15, 33, 58, 0.11);
    --radius: 8px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0d1116;
    --surface: #141a20;
    --surface-soft: #1b242c;
    --panel-bg: rgba(20, 26, 32, 0.94);
    --card-soft: #121a20;
    --pill-bg: #17202a;
    --pill-border: #2e3b47;
    --pill-text: #b7e56b;
    --text: #eef2f4;
    --muted: #9aa7b3;
    --line: #26323d;
    --primary: #7bc50d;
    --primary-dark: #a3e635;
    --primary-soft: #203014;
    --primary-contrast: #0b1208;
    --success: #4ade80;
    --success-soft: #0d2a1a;
    --success-border: #1f6f3a;
    --warning: #facc15;
    --warning-soft: #2b240d;
    --warning-border: #806411;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-soft: #331719;
    --danger-border: #7d2428;
    --code-bg: #070a0d;
    --code-text: #e7eef5;
    --code-toolbar: #d7e1ea;
    --code-border: #1f2c35;
    --body-bg: linear-gradient(180deg, #121c12 0, #0f1517 360px, var(--bg) 760px);
    --topbar-bg: #080c0a;
    --topbar-text: #d9f99d;
    --topbar-badge-bg: #151d24;
    --topbar-badge-text: #d9f99d;
    --header-bg: rgba(14, 19, 24, 0.9);
    --input-bg: #0f151a;
    --footer-bg: #0e1217;
    --brand-logo-filter: brightness(0) invert(1);
    --soft-border: #65a30d;
    --status-stop-bg: #18222c;
    --status-stop-border: #364553;
    --status-stop-text: #c6d1dc;
    --focus-ring: rgba(123, 197, 13, 0.22);
    --primary-shadow: rgba(123, 197, 13, 0.16);
    --danger-shadow: rgba(239, 68, 68, 0.16);
    --card-shadow: rgba(0, 0, 0, 0.28);
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0d1116;
        --surface: #141a20;
        --surface-soft: #1b242c;
        --panel-bg: rgba(20, 26, 32, 0.94);
        --card-soft: #121a20;
        --pill-bg: #17202a;
        --pill-border: #2e3b47;
        --pill-text: #b7e56b;
        --text: #eef2f4;
        --muted: #9aa7b3;
        --line: #26323d;
        --primary: #7bc50d;
        --primary-dark: #a3e635;
        --primary-soft: #203014;
        --primary-contrast: #0b1208;
        --success: #4ade80;
        --success-soft: #0d2a1a;
        --success-border: #1f6f3a;
        --warning: #facc15;
        --warning-soft: #2b240d;
        --warning-border: #806411;
        --danger: #ef4444;
        --danger-dark: #dc2626;
        --danger-soft: #331719;
        --danger-border: #7d2428;
        --code-bg: #070a0d;
        --code-text: #e7eef5;
        --code-toolbar: #d7e1ea;
        --code-border: #1f2c35;
        --body-bg: linear-gradient(180deg, #121c12 0, #0f1517 360px, var(--bg) 760px);
        --topbar-bg: #080c0a;
        --topbar-text: #d9f99d;
        --topbar-badge-bg: #151d24;
        --topbar-badge-text: #d9f99d;
        --header-bg: rgba(14, 19, 24, 0.9);
        --input-bg: #0f151a;
        --footer-bg: #0e1217;
        --brand-logo-filter: brightness(0) invert(1);
        --soft-border: #65a30d;
        --status-stop-bg: #18222c;
        --status-stop-border: #364553;
        --status-stop-text: #c6d1dc;
        --focus-ring: rgba(123, 197, 13, 0.22);
        --primary-shadow: rgba(123, 197, 13, 0.16);
        --danger-shadow: rgba(239, 68, 68, 0.16);
        --card-shadow: rgba(0, 0, 0, 0.28);
        --shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--body-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--text);
    color: #fff;
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    font-size: 14px;
}

.topbar__inner {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.topbar__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 6px;
    background: var(--topbar-badge-bg);
    color: var(--topbar-badge-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.topbar a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
}

.header-grid {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__logo {
    display: block;
    width: 135px;
    height: auto;
    max-height: 42px;
    filter: var(--brand-logo-filter);
    object-fit: contain;
}

.brand__text {
    display: grid;
    gap: 0;
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.brand small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 10px;
}

.main-nav a {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: var(--surface-soft);
    color: var(--primary-dark);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--soft-border);
    background: var(--surface-soft);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.theme-toggle__icon {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.theme-toggle__icon::before {
    content: "";
    position: absolute;
    inset: 2px 0 2px 7px;
    border-radius: 0 8px 8px 0;
    background: currentColor;
}

.tool-section {
    padding: 56px 0 36px;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.intro-panel,
.diagnostic-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-bg);
    box-shadow: var(--shadow);
}

.intro-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 12px;
    align-items: center;
    min-height: 0;
    padding: 28px;
}

.intro-copy {
    grid-column: span 2;
}

.intro-panel::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--soft-border));
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.02;
}

h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.lead {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.address-panel {
    display: grid;
    grid-column: 3;
    gap: 10px;
}

.address-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card-soft);
}

.address-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 1px solid var(--pill-border);
    border-radius: 6px;
    background: var(--pill-bg);
    color: var(--pill-text);
    font-size: 12px;
    font-weight: 950;
}

.address-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font: 15px/1.3 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.facts {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
}

.facts div {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card-soft);
}

.facts dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.facts dd {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 900;
}

.diagnostic-panel {
    display: grid;
    gap: 22px;
    padding: 26px;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--pill-text);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.is-running {
    border-color: var(--warning-border);
    background: var(--warning-soft);
    color: var(--warning);
}

.status-pill.is-done {
    border-color: var(--success-border);
    background: var(--success-soft);
    color: var(--success);
}

.status-pill.is-error {
    border-color: var(--danger-border);
    background: var(--danger-soft);
    color: var(--danger);
}

.status-pill.is-stopped {
    border-color: var(--status-stop-border);
    background: var(--status-stop-bg);
    color: var(--status-stop-text);
}

.tool-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card-soft);
}

.tool-switch__button,
.primary-button,
.ghost-button,
.download-button,
.copy-command {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.tool-switch__button {
    background: transparent;
    color: var(--muted);
    transition: none;
}

.tool-switch__button:hover,
.tool-switch__button:focus-visible {
    color: var(--primary-dark);
}

.tool-switch__button.is-active {
    background: var(--surface);
    color: var(--primary-dark);
    border-color: var(--line);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.lookup-form {
    display: grid;
    gap: 10px;
}

.lookup-form label {
    font-size: 14px;
    font-weight: 900;
}

.lookup-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.lookup-form input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text);
    outline: none;
}

.lookup-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.primary-button {
    min-width: 132px;
    padding: 0 18px;
    background: var(--primary);
    color: var(--primary-contrast);
    box-shadow: 0 14px 28px var(--primary-shadow);
}

.primary-button:hover,
.primary-button:focus-visible,
.download-button:hover,
.download-button:focus-visible {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.primary-button:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.primary-button.is-stop {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 14px 28px var(--danger-shadow);
}

.primary-button.is-stop:hover,
.primary-button.is-stop:focus-visible {
    background: var(--danger-dark);
}

.output-wrap {
    overflow: hidden;
    border: 1px solid var(--code-border);
    border-radius: var(--radius);
    background: var(--code-bg);
}

.output-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 8px 10px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--code-toolbar);
    font-size: 13px;
    font-weight: 900;
}

.ghost-button {
    min-height: 34px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--code-toolbar);
}

.ghost-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

pre {
    min-height: 282px;
    max-height: 420px;
    margin: 0;
    padding: 18px;
    overflow: auto;
    color: var(--code-text);
    font: 13px/1.55 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    white-space: pre;
    word-break: normal;
}

.iperf-section,
.download-section {
    padding: 48px 0 68px;
}

.section-heading {
    display: grid;
    max-width: 680px;
    gap: 8px;
    margin-bottom: 22px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.iperf-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 16px;
}

.iperf-facts div {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 28px var(--card-shadow);
}

.iperf-facts dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.iperf-facts dd {
    margin: 5px 0 0;
    font-weight: 950;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.command-card {
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 36px var(--card-shadow);
}

.command-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.command-card__heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.command-card code {
    display: block;
    min-height: 82px;
    padding: 14px;
    overflow: auto;
    border-radius: 6px;
    background: var(--code-bg);
    color: var(--code-text);
    font: 13px/1.55 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.copy-command {
    min-height: 36px;
    padding: 0 11px;
    border-color: var(--line);
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 13px;
}

.copy-command:hover,
.copy-command:focus-visible {
    border-color: var(--soft-border);
    background: var(--primary-soft);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.download-card {
    display: flex;
    min-height: 188px;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 36px var(--card-shadow);
}

.download-card__size {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
}

.download-card p:not(.download-card__size) {
    margin: 10px 0 0;
    color: var(--muted);
}

.download-button {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    background: var(--primary);
    color: var(--primary-contrast);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--footer-bg);
    color: var(--muted);
}

.footer-grid {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
}

.footer-grid p {
    margin: 0;
}

.footer-grid div {
    display: flex;
    gap: 16px;
}

.footer-grid a {
    font-weight: 800;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--primary-dark);
}

.button-icon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.button-icon--pulse {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.button-icon--pulse::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: currentColor;
}

.button-icon--route::before,
.button-icon--route::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: currentColor;
}

.button-icon--route::before {
    top: 1px;
    left: 1px;
    width: 6px;
    height: 6px;
    box-shadow: 8px 8px 0 currentColor;
}

.button-icon--route::after {
    top: 7px;
    left: 4px;
    width: 10px;
    height: 2px;
    transform: rotate(45deg);
}

.button-icon--run::before {
    content: "";
    position: absolute;
    inset: 2px 1px 2px 4px;
    border-left: 11px solid currentColor;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.button-icon--stop::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 2px;
    background: currentColor;
}

.button-icon--copy {
    border: 2px solid currentColor;
    border-radius: 3px;
}

.button-icon--copy::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 3px;
    background: var(--code-bg);
}

.button-icon--download::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 1px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.button-icon--download::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

@media (max-width: 920px) {
    .command-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .intro-panel,
    .facts {
        grid-template-columns: 1fr;
    }

    .intro-copy,
    .address-panel {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar__inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
        gap: 8px 12px;
    }

    .header-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        align-items: center;
        padding: 14px 0;
        gap: 12px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-actions {
        display: contents;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        min-height: 36px;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .theme-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .tool-section {
        padding: 26px 0 22px;
    }

    .intro-panel,
    .diagnostic-panel,
    .command-card,
    .download-card {
        padding: 18px;
    }

    .intro-panel {
        gap: 16px;
    }

    h1 {
        font-size: clamp(31px, 10vw, 42px);
    }

    h2 {
        font-size: 24px;
    }

    .lead {
        font-size: 16px;
    }

    .iperf-facts {
        grid-template-columns: 1fr;
    }

    .lookup-form__row {
        grid-template-columns: 1fr;
    }

    .panel-heading,
    .command-card__heading {
        flex-wrap: wrap;
    }

    .panel-heading,
    .footer-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .output-toolbar {
        align-items: flex-start;
    }

    .primary-button {
        width: 100%;
    }

    pre {
        min-height: 238px;
        max-height: 58vh;
        padding: 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .brand__text,
    .theme-toggle__text {
        display: none;
    }

    .brand__logo {
        width: 118px;
    }

    .theme-toggle {
        width: 42px;
        min-height: 42px;
        padding: 0;
    }

    .address-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .address-row span {
        justify-self: start;
        min-width: 56px;
        padding: 0 8px;
    }

    .footer-grid div {
        flex-wrap: wrap;
    }
}
