* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7faf8;
    color: #17212b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select {
    font: inherit;
}

.app-shell {
    min-height: 100vh;
}

.sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.topbar {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #dbe7e2;
    display: flex;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 28px;
}

.brand,
.topbar-actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.brand {
    font-weight: 750;
}

.brand-mark {
    align-items: center;
    background: #126b63;
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.main-content {
    margin: 0 auto;
    max-width: 1180px;
    padding: 32px 20px 56px;
}

.icon-button,
.primary-button,
.secondary-button,
.small-button,
.text-button {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
}

.icon-button {
    align-items: center;
    background: #e8f3ef;
    font-size: 20px;
    height: 42px;
    width: 42px;
}

.primary-button {
    background: #126b63;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 18px;
}

.secondary-button,
.small-button {
    background: #e8f3ef;
    color: #123f3a;
    font-weight: 650;
    padding: 10px 14px;
}

.small-button {
    padding: 8px 10px;
}

.text-button {
    background: transparent;
    color: #33524d;
    padding: 10px;
}

.env-nav-link {
    background: #fff5df;
    color: #744b00;
    font-weight: 800;
}

.topbar-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-group {
    position: relative;
}

.nav-group::after {
    content: "";
    display: none;
    height: 14px;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
}

.nav-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #33524d;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 7px;
    min-height: 42px;
    padding: 10px 12px;
}

.nav-trigger::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    margin-top: 2px;
}

.nav-trigger:hover,
.nav-group:focus-within .nav-trigger,
.nav-group:hover .nav-trigger,
.text-button:hover,
.icon-button:hover {
    background: #e8f3ef;
    color: #123f3a;
}

.nav-dropdown {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(18, 62, 58, 0.14);
    display: grid;
    gap: 8px;
    left: 0;
    min-width: 220px;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateY(-4px);
    transition: opacity 120ms ease, transform 120ms ease;
    visibility: hidden;
    z-index: 40;
}

.nav-dropdown-right {
    left: auto;
    right: 0;
}

.nav-dropdown-narrow {
    width: 240px;
}

.nav-dropdown-wide {
    align-items: start;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    width: min(620px, calc(100vw - 32px));
}

.nav-dropdown-wide .nav-menu-section:nth-child(3) {
    grid-column: span 2;
}

.nav-group:hover::after,
.nav-group:focus-within::after,
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.nav-menu-section {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.nav-menu-heading {
    color: #657a75;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 10px 4px;
    text-transform: uppercase;
}

.nav-dropdown a,
.nav-menu-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #25443e;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 650;
    justify-content: flex-start;
    min-height: 40px;
    padding: 10px;
    text-align: left;
    width: 100%;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus,
.nav-menu-button:hover,
.nav-menu-button:focus {
    background: #e8f3ef;
    color: #123f3a;
    outline: 0;
}

.notice {
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.notice.success {
    background: #e6f6ef;
    border: 1px solid #b9e4d2;
}

.notice.error {
    background: #fff0f0;
    border: 1px solid #f0c1c1;
}

.access-panel,
.settings-panel {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(18, 62, 58, 0.06);
}

.access-panel {
    display: grid;
    gap: 28px;
    margin: 54px auto 0;
    max-width: 620px;
    padding: 34px;
}

.page-heading {
    margin-bottom: 24px;
}

.eyebrow {
    color: #126b63;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 8px;
    text-transform: uppercase;
}

h1,
h2 {
    letter-spacing: 0;
    margin: 0;
}

h1 {
    font-size: 34px;
    line-height: 1.15;
}

h2 {
    font-size: 24px;
}

.lede,
.panel-header p,
.setting-copy p {
    color: #526963;
    line-height: 1.55;
}

.settings-layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: 250px minmax(0, 1fr);
}

.tabs {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 8px;
}

.tab-link {
    border-radius: 7px;
    color: #36534e;
    font-weight: 700;
    padding: 12px 14px;
}

.tab-link.active,
.tab-link:hover {
    background: #e8f3ef;
    color: #123f3a;
}

.settings-panel {
    min-width: 0;
    padding: 26px;
}

.panel-header {
    align-items: start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.settings-form,
.form-stack {
    display: grid;
    gap: 18px;
}

.setting-row {
    align-items: center;
    border-top: 1px solid #e5eeea;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    padding: 18px 0;
}

.setting-row:first-child {
    border-top: 0;
}

label {
    color: #1a2e2a;
    font-weight: 750;
}

input,
select,
textarea {
    background: #ffffff;
    border: 1px solid #bfd3cc;
    border-radius: 8px;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

textarea {
    resize: vertical;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.field-error {
    color: #9a3412;
    font-weight: 700;
}

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

.switch input {
    height: 22px;
    min-height: auto;
    width: 22px;
}

.readonly-value {
    display: block;
    font-weight: 750;
}

.readonly-chip {
    color: #526963;
    display: inline-block;
    font-size: 13px;
    margin-top: 4px;
}

.filter-grid {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.empty-state {
    background: #f2f7f5;
    border: 1px dashed #b8d1c8;
    border-radius: 8px;
    color: #48615b;
    padding: 22px;
}

.log-list {
    display: grid;
    gap: 14px;
}

.metric-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 20px;
}

.metric-card span {
    color: #526963;
    font-weight: 700;
}

.metric-card strong {
    font-size: 32px;
}

.quick-links,
.inline-form,
.table-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-links,
.step-up-panel {
    margin-bottom: 22px;
}

.data-table {
    border-collapse: collapse;
    width: 100%;
}

.dashboard-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-card {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    padding: 20px;
}

.detail-list {
    display: grid;
    gap: 10px;
}

.detail-list div,
.plain-list li,
.copy-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.detail-list dt,
.plain-list span {
    color: #526963;
}

.detail-list dd {
    margin: 0;
    font-weight: 650;
}

.plain-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.metric-line strong {
    font-size: 30px;
}

.subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.subnav a {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    color: #123f3a;
    font-weight: 650;
    padding: 10px 12px;
}

.narrow-form {
    max-width: 680px;
}

.table-wrap {
    overflow-x: auto;
}

.danger {
    background: #fde8e8;
    color: #8f1d1d;
}

.security-note {
    color: #526963;
    margin-top: 0;
}

.copy-row input {
    flex: 1;
    min-width: 0;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid #e5eeea;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.copy-card {
    background: #f2f7f5;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.log-card {
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    overflow: hidden;
}

.log-card-header {
    align-items: center;
    background: #f2f7f5;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.log-card-header span {
    color: #526963;
    display: block;
    font-size: 13px;
    margin-top: 2px;
}

pre {
    margin: 0;
    max-height: 430px;
    overflow: auto;
    padding: 16px;
    white-space: pre-wrap;
}

code {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
}

.document-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.document-upload {
    display: grid;
    gap: 16px;
}

.drop-zone {
    background: #f7faf9;
    border: 1px dashed #9fb9b1;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 18px;
}

.status-row,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-chip {
    background: #e8f2ef;
    border: 1px solid #cfe2dc;
    border-radius: 999px;
    color: #1f4d43;
    font-size: 12px;
    padding: 5px 8px;
}

.hash-text {
    overflow-wrap: anywhere;
}

.template-preview {
    background: #ffffff;
    color: #172033;
    line-height: 1.65;
}

.recipient-card {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 18px;
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
        display: grid;
        gap: 12px;
        padding: 0 16px;
        padding-bottom: 14px;
        padding-top: 14px;
    }

    .topbar-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .nav-group {
        position: static;
    }

    .nav-dropdown,
    .nav-dropdown-right,
    .nav-dropdown-wide,
    .nav-dropdown-narrow {
        grid-template-columns: 1fr;
        left: 16px;
        right: 16px;
        top: auto;
        width: auto;
    }

    .nav-dropdown-wide .nav-menu-section:nth-child(3) {
        grid-column: auto;
    }

    .settings-layout,
    .setting-row,
    .filter-grid,
    .metric-grid,
    .dashboard-grid,
    .env-status-grid,
    .env-admin-layout,
    .env-command-bar,
    .env-form-grid,
    .env-row,
    .env-inline-form,
    .env-preset,
    .env-key-card,
    .env-edit-row,
    .env-edit-form,
    .env-field-row,
    .env-provider-help,
    .env-provider-value {
        grid-template-columns: 1fr;
    }

    .env-side-panel {
        position: static;
    }

    .env-row-head {
        display: none;
    }

    .env-preset input {
        grid-column: auto;
    }

    .env-provider-value small {
        grid-column: auto;
    }

    .env-integration-header {
        display: grid;
    }

    .env-card-actions {
        justify-content: stretch;
    }

    .env-card-actions .primary-button,
    .env-field-row .small-button {
        width: 100%;
    }

    .panel-header {
        display: grid;
    }
}
.ai-help-panel { margin-top: 24px; border: 1px solid #d8dee9; border-radius: 8px; padding: 16px; background: #f8fafc; }
.ai-help-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-help-result { margin-top: 12px; color: #334155; white-space: pre-wrap; }
.stacked-form {
    display: grid;
    gap: 12px;
}

.stacked-form fieldset {
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 12px;
}

.inline-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.danger-button {
    color: #8a2a2a;
}

.env-form-grid {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(180px, 280px) minmax(260px, 1fr) auto;
}

.env-form-grid label {
    display: grid;
    gap: 8px;
}

.env-preset-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.env-preset {
    align-items: center;
    border: 1px solid #e1ebe7;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 120px auto;
    padding: 10px;
}

.env-preset span {
    font-weight: 750;
    overflow-wrap: anywhere;
}

.env-preset small {
    color: #657a75;
}

.env-preset input {
    grid-column: 1 / span 2;
}

.env-table {
    border: 1px solid #e1ebe7;
    border-radius: 8px;
    overflow: hidden;
}

.env-row {
    align-items: center;
    border-top: 1px solid #e1ebe7;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(180px, 260px) minmax(120px, 190px) minmax(260px, 1fr) auto;
    padding: 10px 12px;
}

.env-row:first-child {
    border-top: 0;
}

.env-row-head {
    background: #f4f8f6;
    color: #506a64;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.env-row strong,
.env-row span {
    overflow-wrap: anywhere;
}

.env-inline-form {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.env-page-header {
    align-items: end;
}

.env-path {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.env-status-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 18px;
}

.env-admin-layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.env-side-panel {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 18px;
}

.env-compact-panel,
.env-section-panel {
    box-shadow: none;
}

.env-compact-panel {
    padding: 20px;
}

.env-section-panel {
    padding: 22px;
}

.env-main-panel,
.env-group-stack {
    display: grid;
    gap: 18px;
}

.env-group {
    border-top: 1px solid #e1ebe7;
    display: grid;
    gap: 10px;
    padding-top: 16px;
}

.env-group:first-child {
    border-top: 0;
    padding-top: 0;
}

.env-group h3 {
    color: #173a35;
    font-size: 16px;
    letter-spacing: 0;
    margin: 0;
}

.env-key-list,
.env-edit-list {
    display: grid;
    gap: 8px;
}

.env-key-card,
.env-edit-row {
    align-items: center;
    background: #f8fbfa;
    border: 1px solid #e1ebe7;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 10px;
}

.env-key-card {
    grid-template-columns: minmax(190px, 260px) minmax(220px, 1fr) auto;
}

.env-key-card strong,
.env-key-meta strong {
    color: #17212b;
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.env-key-card span,
.env-key-meta span {
    color: #657a75;
    display: inline-flex;
    font-size: 12px;
    margin-top: 4px;
}

.env-edit-row {
    grid-template-columns: minmax(190px, 260px) minmax(260px, 1fr) auto;
}

.env-edit-form {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.env-delete-form {
    justify-self: end;
}

.env-secret-pill {
    background: #fff5df;
    border-radius: 999px;
    color: #744b00;
    font-weight: 800;
    padding: 4px 8px;
}

.env-value-preview {
    max-width: 260px;
    overflow-wrap: anywhere;
}

.env-command-bar {
    align-items: end;
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(240px, 1fr) auto minmax(160px, 210px);
    margin-bottom: 18px;
    padding: 14px;
}

.env-search,
.env-sort-label {
    display: grid;
    gap: 7px;
}

.env-filter-group {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.env-filter {
    background: #edf5f2;
    border: 0;
    border-radius: 8px;
    color: #244942;
    cursor: pointer;
    font-weight: 750;
    min-height: 40px;
    padding: 9px 12px;
}

.env-filter.active,
.env-filter:hover {
    background: #126b63;
    color: #ffffff;
}

.env-admin-layout-wide {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
}

.env-integration-grid {
    display: grid;
    gap: 16px;
}

.env-integration-card {
    background: #ffffff;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(18, 62, 58, 0.06);
    display: grid;
    gap: 16px;
    padding: 20px;
}

.env-integration-card[hidden] {
    display: none;
}

.env-integration-header {
    align-items: start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.env-integration-header h2 {
    font-size: 22px;
}

.env-integration-header p {
    color: #5b716c;
    line-height: 1.45;
    margin: 7px 0 0;
}

.env-group-label {
    color: #126b63;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.env-status-pill {
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 850;
    padding: 7px 10px;
}

.env-status-pill.ready {
    background: #dff5ec;
    color: #126146;
}

.env-status-pill.missing {
    background: #fff5df;
    color: #744b00;
}

.env-status-pill.disabled {
    background: #edf1f0;
    color: #536763;
}

.env-missing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.env-missing-list span {
    background: #fff5df;
    border-radius: 999px;
    color: #744b00;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 750;
    padding: 5px 8px;
}

.env-warning-list {
    display: grid;
    gap: 8px;
}

.env-warning-list div {
    background: #fff9eb;
    border: 1px solid #f1d596;
    border-radius: 8px;
    color: #624209;
    display: grid;
    gap: 3px;
    padding: 10px;
}

.env-warning-list strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.env-warning-list span {
    font-size: 13px;
    line-height: 1.4;
}

.env-provider-help {
    background: #f6faf8;
    border: 1px solid #dbe7e2;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1.3fr);
    padding: 14px;
}

.env-provider-column {
    display: grid;
    gap: 9px;
}

.env-provider-column h3 {
    color: #123f3a;
    font-size: 13px;
    margin: 0;
    text-transform: uppercase;
}

.env-provider-links {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.env-provider-links a {
    background: #ffffff;
    border: 1px solid #bdd4ce;
    border-radius: 999px;
    color: #126b63;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 10px;
    text-decoration: none;
}

.env-provider-links a:hover {
    border-color: #126b63;
}

.env-provider-values {
    display: grid;
    gap: 8px;
}

.env-provider-value {
    align-items: start;
    background: #ffffff;
    border: 1px solid #e1ebe7;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    padding: 9px;
}

.env-provider-value span {
    color: #244942;
    font-size: 13px;
    font-weight: 800;
}

.env-provider-value code {
    color: #17212b;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.env-provider-value small {
    color: #657a75;
    font-size: 12px;
    grid-column: 2;
    line-height: 1.35;
}

.env-field-list {
    border: 1px solid #e1ebe7;
    border-radius: 8px;
    overflow: hidden;
}

.env-field-row {
    align-items: center;
    background: #fbfdfc;
    border-top: 1px solid #e1ebe7;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(190px, 250px) minmax(220px, 1fr) auto;
    padding: 10px;
}

.env-field-row:first-child {
    border-top: 0;
}

.env-field-meta {
    display: grid;
    gap: 3px;
}

.env-field-meta strong {
    color: #17212b;
}

.env-field-meta code {
    color: #526963;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.env-field-meta span {
    color: #657a75;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.env-radio-group {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    justify-content: flex-start;
}

.env-radio-option {
    align-items: center;
    background: #f4f8f6;
    border: 1px solid #bfd3cc;
    border-radius: 999px;
    color: #244942;
    cursor: pointer;
    display: flex;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    white-space: nowrap;
}

.env-radio-option:has(input:checked) {
    background: #e8f3ef;
    border-color: #126b63;
    color: #123f3a;
    font-weight: 850;
}

.env-radio-option input {
    height: 14px;
    min-height: 0;
    padding: 0;
    width: 14px;
}

.env-card-actions {
    display: flex;
    justify-content: flex-end;
}

.env-advanced-panel {
    padding: 18px;
}

.env-advanced-panel summary {
    color: #123f3a;
    cursor: pointer;
    font-weight: 850;
}

.env-advanced-panel[open] summary {
    margin-bottom: 18px;
}

.landing-page {
    background: #f6faf8;
    color: #14221f;
}

.landing-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #dce9e4;
    display: flex;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 clamp(18px, 4vw, 56px);
    position: sticky;
    top: 0;
    z-index: 5;
}

.landing-brand,
.landing-nav-actions,
.landing-actions,
.trust-strip {
    align-items: center;
    display: flex;
}

.landing-brand {
    font-size: 18px;
    font-weight: 800;
    gap: 12px;
}

.landing-nav-actions {
    gap: 18px;
}

.landing-nav-actions a {
    color: #31544d;
    font-weight: 700;
}

.landing-login,
.landing-primary,
.landing-secondary {
    border-radius: 8px;
    font-weight: 800;
}

.landing-login {
    background: #e8f3ef;
    padding: 10px 14px;
}

.landing-hero {
    display: grid;
    gap: clamp(24px, 4vw, 54px);
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    min-height: calc(100vh - 76px);
    padding: clamp(38px, 6vw, 76px) clamp(18px, 5vw, 70px) clamp(28px, 4vw, 52px);
}

.landing-hero-copy {
    align-self: center;
    max-width: 740px;
}

.landing-kicker {
    color: #126b63;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.landing-hero h1 {
    font-size: clamp(42px, 5.8vw, 76px);
    line-height: 1.02;
    max-width: 820px;
}

.landing-lead {
    color: #4f665f;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
    margin: 24px 0;
    max-width: 680px;
}

.landing-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.landing-primary,
.landing-secondary {
    min-height: 50px;
    padding: 14px 18px;
}

.landing-primary {
    background: #126b63;
    color: #ffffff;
}

.landing-secondary {
    background: #ffffff;
    border: 1px solid #bed4cd;
    color: #123f3a;
}

.trust-strip {
    flex-wrap: wrap;
    gap: 10px;
}

.trust-strip span,
.trust-grid div {
    background: #ffffff;
    border: 1px solid #d8e8e2;
    border-radius: 999px;
    color: #244841;
    font-weight: 750;
    padding: 9px 12px;
}

.landing-hero-media {
    align-self: center;
}

.landing-hero-media img {
    aspect-ratio: 16 / 11;
    border: 1px solid #d4e4df;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(19, 67, 60, 0.14);
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.landing-section,
.level-section,
.landing-band,
.landing-cta {
    padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 70px);
}

.landing-intro,
.landing-band,
.trust-section {
    display: grid;
    gap: clamp(24px, 4vw, 58px);
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.landing-section h2,
.level-section h2,
.landing-band h2,
.landing-cta h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.landing-section p,
.section-heading p,
.landing-band p,
.landing-cta p,
.level-card p,
.proof-grid p {
    color: #526963;
    font-size: 17px;
    line-height: 1.62;
}

.section-heading {
    margin: 0 auto 28px;
    max-width: 840px;
    text-align: center;
}

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

.level-card {
    background: #ffffff;
    border: 1px solid #d9e8e2;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    min-height: 285px;
    padding: 22px;
}

.level-card.featured {
    border-color: #126b63;
    box-shadow: 0 18px 36px rgba(18, 107, 99, 0.12);
}

.level-card span {
    align-items: center;
    background: #e8f3ef;
    border-radius: 8px;
    color: #126b63;
    display: inline-flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 46px;
}

.level-card h3,
.proof-grid h3 {
    font-size: 22px;
    margin: 0;
}

.level-card strong {
    align-self: end;
    color: #123f3a;
}

.landing-band {
    background: #ffffff;
    border-bottom: 1px solid #dce9e4;
    border-top: 1px solid #dce9e4;
}

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

.proof-grid article {
    background: #f6faf8;
    border: 1px solid #dce9e4;
    border-radius: 8px;
    padding: 20px;
}

.trust-grid {
    align-content: start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-cta {
    background: #123f3a;
    color: #ffffff;
    text-align: center;
}

.landing-cta .landing-kicker,
.landing-cta p {
    color: #d8eee7;
}

.landing-cta p {
    margin: 18px auto 0;
    max-width: 720px;
}

.landing-cta .landing-actions {
    justify-content: center;
}

.landing-cta .landing-primary {
    background: #ffffff;
    color: #123f3a;
}

.landing-cta .landing-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.48);
    color: #ffffff;
}

@media (max-width: 980px) {
    .landing-nav {
        align-items: flex-start;
        display: grid;
        gap: 12px;
        padding-bottom: 14px;
        padding-top: 14px;
    }

    .landing-nav-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .landing-hero,
    .landing-intro,
    .landing-band,
    .trust-section,
    .level-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .landing-nav-actions a:not(.landing-login) {
        display: none;
    }

    .landing-hero h1 {
        font-size: 38px;
    }

    .landing-primary,
    .landing-secondary {
        width: 100%;
    }
}
