@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
    --page: #f4f4ef;
    --surface: #ffffff;
    --surface-soft: #e9e9e2;
    --ink: #11131a;
    --muted: #656771;
    --line: rgba(17, 19, 26, 0.12);
    --accent: #5551ff;
    --accent-dark: #3935d9;
    --accent-soft: #dedcff;
    --mint: #c9f2df;
    --warning: #9a6400;
    --danger: #a62b35;
    --success: #137554;
    --shadow: 0 24px 60px rgba(23, 24, 34, 0.11);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --max-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 14% 8%, rgba(85, 81, 255, 0.1), transparent 30%),
        radial-gradient(circle at 88% 34%, rgba(201, 242, 223, 0.34), transparent 26%);
    content: "";
    pointer-events: none;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

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

.section-shell {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 24px 0;
}

.nav-shell {
    position: relative;
    display: flex;
    width: min(100%, var(--max-width));
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    margin-inline: auto;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 36px rgba(31, 32, 43, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: var(--ink);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link,
.account-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    background: var(--surface-soft);
    color: var(--ink);
}

.account-button {
    gap: 8px;
    margin-left: 5px;
    background: var(--ink);
    color: white;
}

.account-button:hover,
.account-button:focus-visible {
    background: var(--accent-dark);
}

.account-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ffcb65;
}

.account-button.is-authenticated .account-dot {
    background: #76e5b7;
}

.nav-link:active,
.account-button:active,
.button:active {
    transform: scale(0.97);
}

.nav-toggle {
    display: none;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
}

.nav-toggle-icon::before {
    transform: translateY(-5px);
}

.nav-toggle-icon::after {
    transform: translateY(3.5px);
}

.page-main {
    padding-block: 70px 100px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 0.75rem;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: var(--ink);
}

.hero {
    display: grid;
    min-height: 440px;
    align-items: end;
    gap: 46px;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    padding-block: 34px 58px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.075em;
    line-height: 0.96;
}

.hero h1 span {
    color: var(--accent);
}

.hero-copy > p:last-child,
.page-hero-copy > p:last-child {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-status,
.page-meta {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.64);
}

.status-row,
.page-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 18px;
    border-bottom: 1px solid var(--line);
}

.status-row:last-child,
.page-meta-row:last-child {
    border-bottom: 0;
}

.status-row span,
.page-meta-row span {
    color: var(--muted);
    font-size: 0.75rem;
}

.status-row strong,
.page-meta-row strong {
    font-size: 0.78rem;
    font-weight: 600;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1;
}

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

.tool-section {
    padding-block: 76px;
}

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

.tool-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 38px rgba(23, 24, 34, 0.06);
    text-decoration: none;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
    border-color: rgba(85, 81, 255, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.tool-card-top,
.tool-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tool-icon {
    display: inline-grid;
    min-width: 52px;
    height: 52px;
    place-items: center;
    padding-inline: 11px;
    border-radius: 16px;
    background: var(--ink);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tool-state,
.security-badge {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--mint);
    color: #185f47;
    font-size: 0.67rem;
    font-weight: 600;
}

.tool-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.tool-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.tool-card-bottom {
    color: var(--muted);
    font-size: 0.75rem;
}

.tool-card-bottom strong {
    color: var(--ink);
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.tool-card:hover .tool-card-bottom strong {
    transform: translateX(4px);
}

.scope-note {
    display: grid;
    gap: 24px;
    grid-template-columns: 0.8fr 1.2fr;
    padding: 34px;
    border-radius: var(--radius-lg);
    margin-top: 54px;
    background: var(--ink);
    color: white;
}

.scope-note h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.scope-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.page-hero {
    display: grid;
    align-items: end;
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.32fr);
    padding: 34px 0 48px;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.workspace {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
}

.panel {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 38px rgba(23, 24, 34, 0.06);
}

.panel h2,
.panel h3 {
    margin: 0;
    letter-spacing: -0.035em;
}

.panel-intro {
    margin: 8px 0 22px;
    color: var(--muted);
    font-size: 0.86rem;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 7px;
}

.field > span,
.field legend {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: var(--page);
    color: var(--ink);
    font-size: 0.92rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field textarea {
    min-height: 108px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(85, 81, 255, 0.11);
}

.mono,
.field .mono {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.segmented {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(2, 1fr);
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--page);
}

.segmented label {
    position: relative;
    cursor: pointer;
}

.segmented input {
    position: absolute;
    opacity: 0;
}

.segmented span {
    display: grid;
    min-height: 40px;
    place-items: center;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 160ms ease, color 160ms ease;
}

.segmented input:checked + span {
    background: var(--ink);
    color: white;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--ink);
    color: white;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--accent-dark);
}

.button.secondary {
    border-color: var(--line);
    background: var(--surface-soft);
    color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background: var(--accent-soft);
}

.button.danger {
    background: rgba(166, 43, 53, 0.1);
    color: var(--danger);
}

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

.auth-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: grid;
    width: 100%;
    min-height: 100%;
    place-items: center;
    padding: 26px;
    border: 0;
    border-radius: inherit;
    background: rgba(244, 244, 239, 0.52);
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.auth-lock-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: var(--shadow);
    color: white;
    font-size: 0.76rem;
    font-weight: 600;
}

.auth-lock-overlay span::before {
    content: "●";
    color: #ffcb65;
    font-size: 0.65rem;
}

.result-empty {
    display: grid;
    min-height: 310px;
    place-items: center;
    padding: 34px;
    text-align: center;
}

.result-empty strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.result-empty p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.result-content {
    animation: reveal 260ms ease both;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}

.result-header strong {
    font-size: 1.25rem;
}

.result-header span {
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 600;
}

.result-section-title {
    margin: 24px 0 7px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.result-list {
    margin: 0;
}

.result-row {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.result-row dt {
    color: var(--muted);
    font-size: 0.8rem;
}

.result-row dd {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: pre-line;
}

.raw-report,
.clearance-output {
    padding: 17px;
    border-radius: 14px;
    margin: 12px 0 0;
    background: var(--ink);
    color: white;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.notice {
    padding: 13px 15px;
    border: 1px solid rgba(154, 100, 0, 0.2);
    border-radius: 12px;
    margin-top: 12px;
    background: rgba(255, 203, 101, 0.17);
    color: #724c06;
    font-size: 0.78rem;
}

.notice.error {
    border-color: rgba(166, 43, 53, 0.18);
    background: rgba(166, 43, 53, 0.08);
    color: var(--danger);
}

.notice.success {
    border-color: rgba(19, 117, 84, 0.2);
    background: rgba(19, 117, 84, 0.08);
    color: var(--success);
}

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

.runway-option {
    position: relative;
}

.runway-option input {
    position: absolute;
    opacity: 0;
}

.runway-option span {
    display: grid;
    min-height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--page);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
}

.runway-option input:checked + span {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

.clearance-layout {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
}

.clearance-layout .panel {
    margin-bottom: 18px;
}

.squawk-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--page);
}

.squawk-display strong {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
}

.text-button {
    padding: 5px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
}

.saved-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.saved-card {
    display: grid;
    gap: 9px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--page);
}

.saved-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.saved-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
}

.saved-card-actions {
    display: flex;
    gap: 7px;
}

.saved-card-actions button {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.7rem;
}

.forecast-grid {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.forecast-card {
    padding: 15px;
    border-radius: 13px;
    background: var(--page);
}

.forecast-card h4 {
    margin: 0 0 7px;
}

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    content: "Loading…";
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(3px);
}

.site-footer {
    padding: 20px 24px 34px;
}

.footer-inner {
    display: grid;
    align-items: center;
    gap: 22px;
    grid-template-columns: 1fr 1.6fr auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.72rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .brand-mark {
    width: 32px;
    height: 32px;
}

.footer-inner p {
    margin: 0;
}

.ai-disclosure span {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-weight: 600;
}

.auth-dialog {
    width: min(calc(100% - 32px), 480px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.auth-dialog::backdrop {
    background: rgba(17, 19, 26, 0.48);
    backdrop-filter: blur(5px);
}

.auth-dialog-inner {
    padding: 26px;
}

.dialog-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.dialog-header h2 {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.dialog-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.dialog-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 11px;
    background: var(--surface-soft);
    cursor: pointer;
    font-size: 1.1rem;
}

.auth-form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.auth-form .button {
    width: 100%;
}

.auth-footnote {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.7rem;
    text-align: center;
}

.login-shell {
    display: grid;
    min-height: 560px;
    place-items: center;
}

.login-card {
    width: min(100%, 480px);
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

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

    .tool-card {
        min-height: 255px;
    }

    .hero,
    .page-hero,
    .workspace,
    .clearance-layout,
    .scope-note {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        padding-top: 76px;
    }

    .page-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .page-meta-row {
        display: grid;
        gap: 4px;
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .page-meta-row:last-child {
        border-right: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner > p:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .section-shell {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .site-header {
        padding: 10px 12px 0;
    }

    .nav-shell {
        min-height: 60px;
        border-radius: 17px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: grid;
        max-height: 0;
        gap: 3px;
        padding: 0 8px;
        border: 1px solid transparent;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 260ms ease, opacity 180ms ease, padding 260ms ease, transform 180ms ease;
    }

    .nav-shell.is-open .nav-panel {
        max-height: 470px;
        padding: 8px;
        border-color: var(--line);
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link,
    .account-button {
        width: 100%;
        justify-content: flex-start;
        margin: 0;
    }

    .page-main {
        padding-block: 52px 76px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.7rem);
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 14px;
    }

    .page-meta {
        grid-template-columns: 1fr;
    }

    .page-meta-row {
        display: flex;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .form-grid.two-column,
    .runway-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel {
        padding: 20px;
        border-radius: 18px;
    }

    .result-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .result-row dd {
        text-align: left;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner > p:last-child {
        grid-column: auto;
    }
}
