﻿:root {
    --bg: #eff3ee;
    --bg-soft: #e3e9e1;
    --panel: rgba(248, 251, 246, 0.88);
    --panel-strong: rgba(251, 253, 249, 0.96);
    --line: rgba(51, 63, 46, 0.11);
    --line-strong: rgba(51, 63, 46, 0.18);
    --text: #182019;
    --muted: #59645a;
    --accent: #7a9a43;
    --accent-strong: #465f2a;
    --accent-soft: rgba(122, 154, 67, 0.1);
    --gold: #b99947;
    --warm: #fbfdf9;
    --shadow: 0 24px 52px rgba(25, 31, 25, 0.08);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --container: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 10%, rgba(122, 154, 67, 0.14), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(70, 95, 42, 0.1), transparent 22%),
        linear-gradient(180deg, #eff3ee 0%, #e5ebe5 46%, #f4f7f2 100%);
    color: var(--text);
    font: 500 16px/1.7 "Manrope", "Segoe UI", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.ambient {
    position: fixed;
    width: 26vw;
    height: 26vw;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(74px);
    opacity: 0.16;
    z-index: 0;
}

.ambient-left {
    top: 8%;
    left: -10%;
    background: rgba(122, 154, 67, 0.56);
}

.ambient-right {
    top: 32%;
    right: -8%;
    background: rgba(70, 95, 42, 0.34);
}

.topbar,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.container {
    width: min(var(--container), calc(100% - 42px));
    margin: 0 auto;
}

.topbar {
    padding: 22px 0 8px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(249, 252, 247, 0.82);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 28px rgba(38, 46, 38, 0.06);
}

.topbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-lockup img {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 18px rgba(73, 99, 38, 0.14);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font: 700 1rem/1.1 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.92rem;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.topnav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(73, 99, 38, 0.12);
    border-radius: 999px;
    background: rgba(245, 249, 242, 0.96);
    color: #314129;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 8px 18px rgba(38, 46, 38, 0.08);
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.topnav-toggle:hover {
    background: rgba(250, 253, 247, 1);
    border-color: rgba(73, 99, 38, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 10px 20px rgba(38, 46, 38, 0.1);
}

.topnav-toggle:active {
    transform: translateY(1px);
}

.topnav-toggle span {
    display: block;
    width: 16px;
    height: 1.8px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.topnav-toggle span + span {
    margin-top: 3.5px;
}

.topnav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.3px) rotate(45deg);
}

.topnav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.topnav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.3px) rotate(-45deg);
}

.topnav-toggle[aria-expanded="true"] {
    background: rgba(122, 154, 67, 0.14);
    border-color: rgba(73, 99, 38, 0.18);
    color: #2f4026;
}

.topnav-toggle:focus-visible {
    outline: 2px solid rgba(122, 154, 67, 0.34);
    outline-offset: 2px;
}

.topnav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topnav a:hover {
    background: rgba(73, 99, 38, 0.08);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.hero {
    padding: 26px 0 62px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.hero-copy,
.hero-panel,
.chart-card,
.feature-card,
.stack-card,
.portal-shell,
.app-shell-card,
.error-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--panel-strong), var(--panel));
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 42px;
    border-radius: var(--radius-xl);
    border-color: rgba(122, 154, 67, 0.12);
    background:
        radial-gradient(circle at 12% 10%, rgba(145, 186, 73, 0.16), transparent 28%),
        linear-gradient(145deg, #101511 0%, #151c16 52%, #1a231a 100%);
    box-shadow: 0 30px 60px rgba(16, 21, 16, 0.22);
    color: #f4f8f0;
}

.eyebrow-pill,
.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(111, 143, 57, 0.16);
    background: rgba(111, 143, 57, 0.08);
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(111, 143, 57, 0.12);
}

.hero h1,
.section-head h2,
.usage-copy h2,
.showcase-head h2,
.monitor-copy h2,
.portal-copy h2,
.development-copy h2,
.app-shell-copy h1,
.error-card h1 {
    margin: 0;
    max-width: 12ch;
    font: 800 clamp(2.08rem, 4.35vw, 4.08rem)/1.04 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.hero-lede,
.usage-copy p,
.showcase-head p,
.showcase-meta p,
.section-head p,
.monitor-copy p,
.portal-copy p,
.app-shell-copy p,
.error-card p {
    max-width: 62ch;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.hero-copy h1 {
    color: #f7faf3;
}

.hero-copy .hero-lede,
.hero-copy .coming-soon-note {
    color: rgba(232, 238, 228, 0.78);
}

.hero-copy .hero-lede {
    max-width: none;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(145, 186, 73, 0.12);
    color: #edf3e4;
    font-size: 0.94rem;
    font-weight: 700;
}

.hero-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--gold));
    flex: 0 0 auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(180deg, #6f8f39 0%, #547329 100%);
    color: #fefdf8;
    box-shadow: 0 16px 28px rgba(84, 115, 41, 0.22);
}

.button-primary[aria-disabled="true"] {
    cursor: default;
}

.button-secondary {
    border-color: rgba(73, 99, 38, 0.18);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
}

.coming-soon-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-panel {
    display: grid;
    align-content: start;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    border-radius: var(--radius-xl);
    border-color: rgba(122, 154, 67, 0.12);
    background:
        radial-gradient(circle at top right, rgba(145, 186, 73, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(20, 27, 19, 0.98), rgba(26, 34, 24, 0.98));
    box-shadow: 0 28px 52px rgba(16, 21, 16, 0.2);
    color: #f5f8f1;
    justify-self: end;
}

.hero-panel-head,
.chart-head,
.portal-shell-top,
.footer-brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.hero-panel-head p {
    max-width: 24ch;
    margin: 8px 0 0;
    color: rgba(231, 237, 226, 0.72);
    font-size: 0.9rem;
    line-height: 1.55;
}

.portal-shell-top > div {
    display: grid;
    gap: 4px;
}

.portal-shell-top span {
    display: block;
}

.eyebrow {
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-panel h2,
.chart-head h3,
.showcase-meta h3,
.feature-card h3,
.stack-card h3,
.portal-copy h2,
.portal-shell strong,
.app-shell-card strong {
    margin: 6px 0 0;
    font: 700 clamp(1.08rem, 1.45vw, 1.36rem)/1.18 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-panel h2 {
    font-size: clamp(1.28rem, 2vw, 1.52rem);
    color: #f7faf3;
}

.hero-panel .eyebrow {
    color: #cfe3a7;
}

.hero-panel .status-dot {
    border-color: rgba(145, 186, 73, 0.18);
    background: rgba(145, 186, 73, 0.1);
    color: #d8e7bc;
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.metric-card {
    display: grid;
    align-content: start;
    min-height: 0;
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(145, 186, 73, 0.12);
}

.metric-card span,
.hero-panel-note,
.feature-card p,
.stack-card p,
.portal-shell span,
.portal-shell ul,
.app-shell-card ul,
.site-footer p {
    color: var(--muted);
}

.metric-card span,
.hero-panel-note {
    color: rgba(231, 237, 226, 0.72);
}

.feature-card p a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration-color: rgba(73, 99, 38, 0.24);
    text-underline-offset: 0.14em;
}

.feature-card p a:hover {
    text-decoration-color: currentColor;
}

.metric-card strong {
    display: block;
    margin-top: 12px;
    color: #f7faf3;
    font: 800 clamp(1.72rem, 2.6vw, 2.35rem)/1 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.06em;
}

.hero-panel-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(145, 186, 73, 0.1);
    font-size: 0.92rem;
    line-height: 1.6;
}

.usage-section,
.feature-section,
.showcase-section,
.pricing-section,
.monitor-section,
.stack-section,
.portal-section,
.app-shell-page,
.error-page {
    padding: 26px 0 72px;
}

.usage-grid,
.monitor-grid,
.portal-grid,
.app-shell-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: start;
}

.usage-copy,
.monitor-copy,
.portal-copy,
.app-shell-copy {
    max-width: 620px;
}

.app-shell-card,
.portal-shell {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.chart-card {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 7px;
    border-radius: 999px;
    vertical-align: middle;
}

.legend-apps {
    background: #7a8f54;
}

.legend-agents {
    background: #c49a39;
}

.legend-monitors {
    background: #435d24;
}

.chart-frame {
    position: relative;
    margin-top: 24px;
    padding: 22px;
    min-height: 360px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.46)),
        radial-gradient(circle at top, rgba(111, 143, 57, 0.1), transparent 40%),
        rgba(240, 245, 238, 0.92);
    border: 1px solid rgba(73, 99, 38, 0.08);
}

.chart-svg {
    width: 100%;
    height: 300px;
}

[data-chart-line] {
    fill: none;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: translateY(8px);
    animation: chartLineIn 800ms ease forwards;
}

[data-chart-line="applications_running"] {
    stroke: #7a8f54;
}

[data-chart-line="agents_online"] {
    stroke: #c49a39;
}

[data-chart-line="monitors_total"] {
    stroke: #435d24;
}

.chart-grid-line {
    stroke: rgba(29, 37, 28, 0.08);
    stroke-width: 1;
}

.chart-empty {
    position: absolute;
    inset: 22px;
    display: grid;
    place-items: center;
    padding: 22px;
    text-align: center;
    color: var(--muted);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.74);
}

.chart-empty[hidden] {
    display: none;
}

.chart-axis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: rgba(29, 37, 28, 0.56);
    font-size: 0.82rem;
    font-weight: 700;
}

.chart-axis span {
    white-space: nowrap;
}

.section-head {
    max-width: 760px;
}

.feature-grid,
.stack-grid,
.pricing-grid {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.stack-card,
.pricing-card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
}

.feature-card::before,
.stack-card::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

.pricing-card {
    display: grid;
    align-content: start;
    gap: 18px;
    border: 1px solid rgba(73, 99, 38, 0.1);
    background:
        radial-gradient(circle at top right, rgba(111, 143, 57, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(252, 248, 239, 0.98));
    box-shadow: 0 18px 34px rgba(38, 46, 38, 0.06);
}

.pricing-card-default {
    border-color: rgba(111, 143, 57, 0.26);
    box-shadow: 0 24px 44px rgba(38, 46, 38, 0.08);
}

.pricing-card-soon {
    background:
        radial-gradient(circle at top right, rgba(150, 147, 128, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(252, 251, 246, 0.96), rgba(244, 241, 232, 0.96));
    border-color: rgba(73, 99, 38, 0.06);
    box-shadow: 0 12px 24px rgba(38, 46, 38, 0.04);
}

.pricing-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.pricing-card-copy {
    min-height: 112px;
}

.pricing-card h3 {
    margin: 0;
    font: 700 clamp(1.2rem, 1.55vw, 1.54rem)/1.12 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.pricing-card-note {
    margin: 10px 0 0;
    max-width: 34ch;
    min-height: 3.75em;
    color: rgba(46, 57, 39, 0.72);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.pricing-card-soon h3,
.pricing-card-soon .pricing-card-price,
.pricing-card-soon .pricing-feature-row strong {
    color: rgba(46, 57, 39, 0.74);
}

.pricing-card-soon .pricing-card-note,
.pricing-card-soon .pricing-feature-row span {
    color: rgba(46, 57, 39, 0.56);
}

.pricing-card-soon .pricing-feature-flag-yes::before {
    background: rgba(111, 143, 57, 0.08);
    color: rgba(84, 115, 41, 0.76);
}

.pricing-card-soon .pricing-feature-flag-no::before {
    background: rgba(137, 96, 54, 0.08);
    color: rgba(138, 89, 57, 0.76);
}

.pricing-card-price {
    flex-shrink: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--accent-strong);
}

.pricing-card-price-value {
    font: 700 clamp(1.3rem, 1.9vw, 1.85rem)/1 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
}

.pricing-card-price-suffix {
    color: rgba(46, 57, 39, 0.6);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pricing-primary-list,
.pricing-visible-list,
.pricing-secondary-list {
    display: grid;
    gap: 10px;
}

.pricing-feature-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(73, 99, 38, 0.08);
}

.pricing-feature-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pricing-feature-row span {
    color: rgba(46, 57, 39, 0.7);
}

.pricing-feature-row strong {
    color: var(--ink);
    font-weight: 800;
    text-align: right;
}

.pricing-feature-primary strong {
    font-size: 1.02rem;
}

.pricing-feature-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pricing-feature-flag::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    font-size: 0.86rem;
    line-height: 1;
}

.pricing-feature-flag-yes::before {
    content: "\2713";
    background: rgba(111, 143, 57, 0.12);
    color: var(--accent-strong);
}

.pricing-feature-flag-no::before {
    content: "\00D7";
    background: rgba(137, 96, 54, 0.12);
    color: #8a5939;
}

.pricing-secondary-list {
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(73, 99, 38, 0.08);
}

.pricing-details {
    margin-top: 2px;
}

.pricing-details summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--accent-strong);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.pricing-details summary::-webkit-details-marker {
    display: none;
}

.pricing-details summary::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 180ms ease;
}

.pricing-details[open] summary::after {
    transform: rotate(225deg) translateY(-1px);
}

.pricing-details .pricing-secondary-list {
    margin-top: 14px;
}

.pricing-card-link {
    margin-top: 4px;
    justify-self: start;
}

.pricing-card-link[aria-disabled="true"] {
    cursor: default;
    pointer-events: none;
    color: rgba(46, 57, 39, 0.55);
    background: rgba(240, 239, 232, 0.92);
    border-color: rgba(73, 99, 38, 0.1);
    box-shadow: none;
}

.showcase-shell {
    display: grid;
    gap: 24px;
}

.showcase-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 22px 28px;
    align-items: start;
}

.showcase-head h2 {
    max-width: 11ch;
}

.showcase-head p {
    max-width: none;
    margin: 0;
}

.showcase-stage {
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(73, 99, 38, 0.1);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(251, 253, 249, 0.98), rgba(244, 248, 241, 0.98));
    box-shadow: 0 18px 34px rgba(38, 46, 38, 0.05);
}

.showcase-main {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    background: #f8fbf5;
}

.showcase-main img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.showcase-meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.showcase-meta h3 {
    margin-top: 6px;
    font-size: clamp(1.24rem, 1.8vw, 1.64rem);
}

.showcase-meta p {
    max-width: 44ch;
    margin: 0;
}

.showcase-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.showcase-item {
    display: grid;
    gap: 6px;
    min-width: 220px;
    max-width: 270px;
    padding: 14px 16px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 18px;
    background: rgba(251, 253, 249, 0.94);
    box-shadow: 0 10px 18px rgba(22, 28, 22, 0.04);
    cursor: pointer;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.showcase-item:hover {
    transform: translateY(-2px);
    border-color: rgba(73, 99, 38, 0.16);
    box-shadow: 0 18px 34px rgba(22, 28, 22, 0.07);
}

.showcase-item.is-active {
    border-color: rgba(84, 115, 41, 0.22);
    background:
        radial-gradient(circle at top right, rgba(111, 143, 57, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(251, 253, 249, 1), rgba(244, 248, 241, 0.98));
    box-shadow: 0 14px 24px rgba(22, 28, 22, 0.06);
}

.showcase-item:focus-visible {
    outline: 2px solid rgba(122, 154, 67, 0.3);
    outline-offset: 3px;
}

.showcase-item-thumb {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    background: rgba(244, 248, 241, 0.92);
    box-shadow: 0 6px 14px rgba(29, 37, 28, 0.04);
}

.showcase-item-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.showcase-item-copy {
    display: grid;
    gap: 4px;
}

.showcase-item-eyebrow {
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.showcase-item-copy strong {
    font: 700 1rem/1.2 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
}

.showcase-item-copy span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.development-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px 28px;
    align-items: stretch;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(73, 99, 38, 0.1);
    background:
        radial-gradient(circle at top right, rgba(111, 143, 57, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(252, 248, 239, 0.98));
    box-shadow: 0 18px 34px rgba(38, 46, 38, 0.06);
}

.development-copy {
    display: grid;
    align-content: center;
}

.development-copy h2 {
    max-width: 11ch;
}

.development-copy p {
    max-width: 62ch;
}

.development-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    gap: 18px;
    padding: 28px 24px;
    border-radius: calc(var(--radius-lg) - 8px);
    border: 1px solid rgba(73, 99, 38, 0.08);
    background: rgba(255, 255, 255, 0.58);
}

.development-meta p {
    margin: 0;
    color: rgba(46, 57, 39, 0.74);
    font-size: 0.98rem;
}

.development-meta .button {
    justify-self: start;
}

.monitor-grid {
    align-items: center;
}

.monitor-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.monitor-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(73, 99, 38, 0.1);
    color: #374233;
    font-weight: 700;
}

.portal-shell {
    background:
        radial-gradient(circle at top right, rgba(111, 143, 57, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(252, 248, 239, 0.96));
}

.portal-shell ul,
.app-shell-card ul {
    margin: 20px 0 0;
    padding-left: 20px;
}

.portal-shell-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--accent-strong);
    font-weight: 800;
}

.app-shell-card {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(252, 248, 239, 0.96));
}

.site-footer {
    padding: 10px 0 40px;
}

.cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(1080px, calc(100% - 24px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(248, 250, 244, 0.94);
    box-shadow: 0 24px 60px rgba(17, 24, 15, 0.18);
    backdrop-filter: blur(16px);
    z-index: 80;
}

.cookie-notice-copy {
    display: grid;
    gap: 6px;
}

.cookie-notice-copy strong {
    font: 800 0.92rem/1 "Manrope", "Segoe UI", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.cookie-notice-copy p {
    margin: 0;
    max-width: 70ch;
    color: var(--muted);
}

.cookie-notice-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(249, 252, 247, 0.84);
    box-shadow: 0 16px 32px rgba(38, 46, 38, 0.05);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
}

.footer-links a:hover,
.portal-shell-link:hover {
    color: var(--accent-strong);
}

.error-card {
    max-width: 720px;
    padding: 34px;
    border-radius: var(--radius-xl);
}

.error-card pre {
    overflow: auto;
    padding: 16px;
    border-radius: 18px;
    background: rgba(73, 99, 38, 0.07);
    color: var(--text);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes chartLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .usage-grid,
    .portal-grid,
    .app-shell-grid,
    .development-band {
        grid-template-columns: 1fr;
    }

    .showcase-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pricing-grid,
    .stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-panel-head p {
        max-width: 42ch;
    }

    .hero-panel {
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .topbar-inner,
    .footer-grid {
        display: grid;
        justify-content: stretch;
    }

    .topbar-inner {
        gap: 14px;
        border-radius: 28px;
        padding: 16px;
    }

    .topbar-main {
        width: 100%;
    }

    .topnav {
        justify-content: flex-start;
        width: 100%;
    }

    .hero-copy,
    .hero-panel,
    .chart-card,
    .feature-card,
    .stack-card,
    .pricing-card,
    .showcase-stage,
    .portal-shell,
    .app-shell-card,
    .error-card,
    .footer-grid,
    .development-band {
        padding: 24px;
    }

    .feature-grid,
    .pricing-grid,
    .stack-grid,
    .monitor-grid {
        grid-template-columns: 1fr;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .hero-panel-head,
    .chart-head,
    .showcase-meta,
    .portal-shell-top,
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .development-meta {
        justify-content: flex-start;
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .metric-card {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 15px;
    }

    .cookie-notice {
        bottom: 12px;
        width: calc(100% - 16px);
        padding: 16px;
        border-radius: 20px;
    }

    .cookie-notice-actions {
        width: 100%;
    }

    .cookie-notice-actions .button {
        width: 100%;
        justify-content: center;
    }

    .topbar {
        padding-top: 14px;
    }

    .topnav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .topnav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .topnav a {
        justify-content: center;
        min-height: 42px;
        padding: 0 10px;
        border: 1px solid rgba(73, 99, 38, 0.1);
        background: rgba(255, 255, 255, 0.68);
        font-size: 0.85rem;
        text-align: center;
    }

    .brand-copy span {
        display: none;
    }

    .has-js .topnav {
        display: none;
    }

    .has-js .topnav.is-open {
        display: grid;
    }

    .hero,
    .usage-section,
    .feature-section,
    .showcase-section,
    .pricing-section,
    .monitor-section,
    .stack-section,
    .portal-section,
    .app-shell-page,
    .error-page {
        padding: 20px 0 54px;
    }

    .hero-copy,
    .hero-panel,
    .chart-card,
    .feature-card,
    .stack-card,
    .pricing-card,
    .showcase-stage,
    .development-band,
    .portal-shell,
    .app-shell-card,
    .error-card {
        padding: 20px;
    }

    .hero h1,
    .section-head h2,
    .usage-copy h2,
    .showcase-head h2,
    .monitor-copy h2,
    .portal-copy h2,
    .development-copy h2,
    .app-shell-copy h1,
    .error-card h1 {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .chart-frame {
        padding: 14px;
        min-height: 300px;
    }

    .chart-svg {
        height: 260px;
    }

    .chart-axis {
        font-size: 0.76rem;
    }

    .showcase-strip {
        flex-direction: column;
    }

    .showcase-item {
        padding: 12px;
        min-width: 0;
        max-width: none;
    }

    .footer-links {
        gap: 12px;
    }

    .pricing-card-head,
    .pricing-feature-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-card-copy {
        min-height: 0;
    }

    .pricing-feature-row strong {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .brand-lockup {
        gap: 12px;
    }

    .brand-lockup img {
        width: 42px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 0.95rem;
    }

    .topnav {
        grid-template-columns: 1fr;
    }
}

.site-flash-stack {
    margin-top: 10px;
}

.flash-stack {
    display: grid;
    gap: 10px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(24, 32, 25, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 28px rgba(22, 28, 22, 0.06);
    color: var(--text);
}

.flash-success {
    border-color: rgba(84, 115, 41, 0.2);
    background: rgba(244, 249, 236, 0.96);
}

.flash-error {
    border-color: rgba(149, 73, 41, 0.16);
    background: rgba(253, 244, 239, 0.96);
}

.flash-info {
    border-color: rgba(73, 99, 38, 0.14);
    background: rgba(245, 249, 242, 0.96);
}

.inline-flash {
    margin-bottom: 18px;
}

.topnav-form {
    margin: 0;
}

.topnav-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(73, 99, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topnav-form button:hover {
    background: rgba(73, 99, 38, 0.08);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.button-full {
    width: 100%;
}

.stack-form {
    display: grid;
    gap: 14px;
}

.form-meta {
    margin: 14px 0 0;
}

.form-link {
    color: var(--accent-strong);
    font-weight: 800;
}

.form-link:hover {
    color: #2d4019;
}

.field {
    display: grid;
    gap: 8px;
}

.field-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.field span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(73, 99, 38, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 2px solid rgba(122, 154, 67, 0.22);
    outline-offset: 1px;
    border-color: rgba(84, 115, 41, 0.24);
}

.compact-field input {
    min-height: 48px;
}

.portal-landing,
.portal-complete-page,
.portal-dashboard,
.backstage-page,
.error-page {
    padding: 28px 0 66px;
}

.portal-landing-grid,
.portal-dashboard-grid,
.backstage-grid {
    display: grid;
    gap: 22px;
}

.portal-landing-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: start;
}

.portal-dashboard-grid,
.backstage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-intro,
.portal-card,
.error-card,
.empty-state-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 28px;
    background: rgba(251, 253, 249, 0.9);
    box-shadow: var(--shadow);
}

.portal-intro h1,
.portal-complete-card h1,
.dashboard-hero h1,
.backstage-page h1,
.error-card h1 {
    margin: 10px 0 0;
    font: 700 clamp(2.3rem, 4.6vw, 4rem)/1.02 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.portal-auth-stack,
.portal-steps,
.portal-checklist,
.request-list,
.job-list {
    display: grid;
    gap: 16px;
}

.portal-steps {
    margin-top: 28px;
}

.portal-steps article,
.portal-checklist div {
    padding: 18px 20px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 20px;
    background: rgba(244, 248, 241, 0.88);
}

.portal-steps p,
.portal-checklist p,
.request-note,
.empty-state-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.portal-card h2,
.empty-state-card strong {
    margin: 8px 0 0;
    font: 700 clamp(1.26rem, 2vw, 1.7rem)/1.16 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
}

.portal-card p,
.dashboard-hero p,
.job-row span,
.muted {
    color: var(--muted);
}

.portal-dashboard-shell,
.backstage-shell {
    display: grid;
    gap: 24px;
}

.dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(145, 186, 73, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(20, 27, 19, 0.98), rgba(26, 34, 24, 0.98));
    box-shadow: 0 30px 56px rgba(16, 21, 16, 0.2);
    color: #f7faf3;
}

.dashboard-hero .eyebrow,
.dashboard-hero p,
.dashboard-chip span {
    color: rgba(235, 242, 228, 0.78);
}

.dashboard-actions {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.dashboard-chip {
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid rgba(145, 186, 73, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.dashboard-chip strong {
    display: block;
    margin-top: 6px;
    font-size: 1.05rem;
}

.request-history {
    display: grid;
    gap: 16px;
}

.compact-head {
    margin-bottom: 0;
}

.request-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-list-admin {
    grid-template-columns: 1fr;
}

.request-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    background: rgba(251, 253, 249, 0.94);
    box-shadow: 0 18px 30px rgba(22, 28, 22, 0.05);
}

.request-card-head,
.job-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.request-card-head strong,
.credential-panel strong,
.request-meta-grid strong {
    display: block;
}

.credential-value {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.request-card-head span,
.request-meta-grid span,
.credential-panel span {
    color: var(--muted);
    font-size: 0.88rem;
}

.request-meta-grid,
.credential-panel,
.admin-actions-grid {
    display: grid;
    gap: 14px;
}

.request-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px;
    border-radius: 18px;
    background: rgba(244, 248, 241, 0.92);
    border: 1px solid rgba(73, 99, 38, 0.08);
}

.request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.request-actions form {
    margin: 0;
}

.admin-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.status-pill-pending,
.status-pill-approved,
.status-pill-queued,
.status-pill-provisioning,
.status-pill-running,
.status-pill-deletion_requested {
    background: rgba(122, 154, 67, 0.12);
    color: var(--accent-strong);
}

.status-pill-ready,
.status-pill-completed,
.status-pill-success {
    background: rgba(84, 115, 41, 0.14);
    color: #3d5722;
}

.status-pill-failed,
.status-pill-rejected,
.status-pill-error {
    background: rgba(180, 88, 40, 0.12);
    color: #8a4b25;
}

.subdomain-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(73, 99, 38, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
}

.subdomain-field input {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.subdomain-field input:focus {
    outline: none;
}

.subdomain-field span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.availability-note {
    min-height: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.availability-note.is-success {
    color: #486522;
}

.availability-note.is-error {
    color: #8a4b25;
}

.empty-state-card {
    display: grid;
    gap: 8px;
}

.narrow-container {
    width: min(760px, calc(100% - 42px));
    margin: 0 auto;
}

.portal-complete-card {
    max-width: 760px;
    margin: 0 auto;
}

.job-row {
    padding: 14px 16px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 18px;
    background: rgba(244, 248, 241, 0.92);
}

@media (max-width: 980px) {
    .portal-landing-grid,
    .portal-dashboard-grid,
    .backstage-grid,
    .request-list,
    .admin-actions-grid,
    .credential-panel {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        flex-direction: column;
    }

    .dashboard-actions {
        width: 100%;
        justify-items: stretch;
    }

    .dashboard-chip {
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .topnav-form,
    .topnav-form button {
        width: 100%;
    }

    .topnav-form button {
        justify-content: center;
        min-height: 42px;
        padding: 0 10px;
        border-color: rgba(73, 99, 38, 0.1);
        background: rgba(255, 255, 255, 0.68);
        font-size: 0.85rem;
        text-align: center;
    }

    .portal-landing,
    .portal-complete-page,
    .portal-dashboard,
    .backstage-page {
        padding: 20px 0 54px;
    }

    .portal-intro,
    .portal-card,
    .dashboard-hero,
    .request-card,
    .empty-state-card,
    .error-card {
        padding: 20px;
    }

    .request-meta-grid,
    .credential-panel {
        grid-template-columns: 1fr;
    }

    .request-card-head,
    .job-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.button-danger {
    border-color: rgba(172, 78, 39, 0.18);
    background: rgba(172, 78, 39, 0.1);
    color: #8a431f;
}

.button-danger:hover {
    background: rgba(172, 78, 39, 0.16);
    border-color: rgba(172, 78, 39, 0.28);
}

.button-compact {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
}

.dashboard-chip small {
    display: block;
    margin-top: 6px;
    color: rgba(235, 242, 228, 0.72);
    font-size: 0.84rem;
}

.status-pill-disabled,
.status-pill-suspended,
.status-pill-cancelled {
    background: rgba(88, 101, 68, 0.14);
    color: #566c37;
}

.status-pill-active {
    background: rgba(84, 115, 41, 0.14);
    color: #3d5722;
}

.status-pill-up_to_date {
    background: rgba(84, 115, 41, 0.14);
    color: #3d5722;
}

.status-pill-outdated {
    background: rgba(180, 88, 40, 0.12);
    color: #8a4b25;
}

.status-pill-ahead {
    background: rgba(62, 109, 93, 0.14);
    color: #2f6253;
}

.status-pill-awaiting_heartbeat,
.status-pill-unknown {
    background: rgba(122, 154, 67, 0.12);
    color: var(--accent-strong);
}

.switchboard-shell {
    gap: 28px;
}

.switchboard-hero {
    align-items: stretch;
}

.switchboard-hero-copy {
    max-width: 760px;
}

.switchboard-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(540px, 100%);
}

.switchboard-hero-metrics .dashboard-chip {
    min-width: 0;
}

.switchboard-overview-grid,
.switchboard-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.switchboard-overview-card {
    display: grid;
    gap: 14px;
    align-content: start;
}

.switchboard-overview-card h2 {
    margin: 0;
}

.switchboard-overview-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.switchboard-top-grid,
.switchboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
}

.switchboard-ops-card,
.switchboard-section {
    display: grid;
    gap: 18px;
}

.switchboard-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.switchboard-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.switchboard-mini-stats div {
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    background: rgba(244, 248, 241, 0.88);
}

.switchboard-mini-stats span,
.switchboard-note-list,
.table-primary-cell span,
.table-stat-stack span,
.table-muted-note {
    color: var(--muted);
}

.switchboard-mini-stats strong {
    display: block;
    margin-top: 6px;
    font-size: 1.08rem;
}

.switchboard-mini-stats-usage {
    margin-top: 2px;
}

.switchboard-note-list {
    display: grid;
    gap: 12px;
    padding-left: 18px;
    margin: 0;
}

.switchboard-note-list li {
    line-height: 1.65;
}

.switchboard-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 24px;
    background: rgba(251, 253, 249, 0.82);
    box-shadow: 0 16px 28px rgba(22, 28, 22, 0.04);
}

.switchboard-subnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(73, 99, 38, 0.1);
    background: rgba(244, 248, 241, 0.84);
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.switchboard-subnav a span {
    color: inherit;
}

.switchboard-subnav-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(73, 99, 38, 0.08);
    color: rgba(49, 65, 41, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.switchboard-subnav a:hover {
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(73, 99, 38, 0.16);
    transform: translateY(-1px);
}

.switchboard-subnav a.is-active {
    background: linear-gradient(180deg, rgba(111, 143, 57, 0.14), rgba(84, 115, 41, 0.18));
    border-color: rgba(84, 115, 41, 0.2);
    color: #314129;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.switchboard-subnav a.is-active .switchboard-subnav-meta {
    background: rgba(84, 115, 41, 0.16);
}

.switchboard-inline-note {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(172, 124, 39, 0.14);
    background: rgba(172, 124, 39, 0.08);
    color: #7d5821;
}

.switchboard-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.switchboard-section-head p {
    margin: 6px 0 0;
}

.switchboard-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.72fr) auto;
    gap: 12px;
    align-items: end;
}

.switchboard-filter-form .field {
    margin: 0;
}

.switchboard-table-shell {
    overflow-x: auto;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 24px;
    background: rgba(251, 253, 249, 0.96);
}

.switchboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
}

.switchboard-table thead th {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(73, 99, 38, 0.08);
    background: rgba(244, 248, 241, 0.96);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
}

.switchboard-table tbody tr + tr td {
    border-top: 1px solid rgba(73, 99, 38, 0.07);
}

.switchboard-table td {
    padding: 16px 18px;
    vertical-align: top;
}

.table-primary-cell,
.table-stat-stack,
.table-actions {
    display: grid;
    gap: 6px;
}

.table-primary-cell strong {
    display: block;
}

.compact-copy {
    gap: 4px;
}

.table-stat-stack {
    font-size: 0.95rem;
}

.table-actions {
    min-width: 130px;
}

.table-actions form {
    margin: 0;
}

.table-muted-note {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    font-weight: 700;
}

.table-error-note {
    color: #91522a;
    font-size: 0.88rem;
}

.align-end {
    justify-items: end;
}

.switchboard-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.switchboard-pagination a,
.switchboard-pagination span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(73, 99, 38, 0.1);
    background: rgba(244, 248, 241, 0.9);
}

.switchboard-pagination a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.switchboard-request-list,
.switchboard-job-list {
    display: grid;
    gap: 16px;
}

.switchboard-job-row {
    align-items: center;
}

.table-inline-select {
    display: grid;
    gap: 8px;
    margin-top: 6px;
    min-width: 0;
}

.table-inline-select select {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(73, 99, 38, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
}

.table-inline-select select:focus {
    outline: 2px solid rgba(122, 154, 67, 0.22);
    outline-offset: 1px;
    border-color: rgba(84, 115, 41, 0.24);
}

.packages-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: start;
}

.packages-page code {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(24, 32, 25, 0.06);
    color: var(--text);
    font-size: 0.88em;
}

.package-card-list {
    display: grid;
    gap: 16px;
}

.package-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 24px;
    background: rgba(244, 248, 241, 0.88);
    box-shadow: 0 16px 28px rgba(22, 28, 22, 0.04);
}

.package-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.package-card-head h3,
.package-form-section h3 {
    margin: 0;
    font: 700 clamp(1.02rem, 1.5vw, 1.2rem)/1.2 "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
}

.package-card-head p {
    margin: 8px 0 0;
}

.package-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.package-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.package-card-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    background: rgba(255, 255, 255, 0.82);
    color: #374233;
    font-size: 0.88rem;
    font-weight: 700;
}

.package-card .table-actions,
.package-editor .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.package-card .table-actions form,
.package-editor .table-actions form {
    margin: 0;
}

.package-form-grid {
    gap: 18px;
}

.package-form-section {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 24px;
    background: rgba(244, 248, 241, 0.84);
}

.package-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(73, 99, 38, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--text);
    font-weight: 600;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--accent-strong);
}

.checkbox-field span {
    line-height: 1.6;
}

@media (max-width: 1180px) {
    .cookie-notice {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-notice-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .switchboard-hero,
    .switchboard-section-head {
        flex-direction: column;
    }

    .switchboard-hero-metrics,
    .switchboard-top-grid,
    .switchboard-bottom-grid,
    .switchboard-mini-stats,
    .packages-layout {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .switchboard-filter-form {
        grid-template-columns: 1fr 1fr auto;
        width: 100%;
    }

    .package-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .switchboard-overview-grid,
    .switchboard-review-grid,
    .switchboard-filter-form {
        grid-template-columns: 1fr;
    }

    .switchboard-table {
        min-width: 0;
    }

    .switchboard-table thead {
        display: none;
    }

    .switchboard-table,
    .switchboard-table tbody,
    .switchboard-table tr,
    .switchboard-table td {
        display: block;
        width: 100%;
    }

    .switchboard-table tbody {
        display: grid;
        gap: 14px;
        padding: 16px;
    }

    .switchboard-table tbody tr {
        border: 1px solid rgba(73, 99, 38, 0.08);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.78);
        overflow: hidden;
    }

    .switchboard-table tbody tr + tr td {
        border-top: 0;
    }

    .switchboard-table td {
        padding: 14px 16px;
        border-top: 1px solid rgba(73, 99, 38, 0.07);
    }

    .switchboard-table td:first-child {
        border-top: 0;
    }

    .switchboard-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        color: var(--muted);
        font-size: 0.77rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .table-actions {
        grid-template-columns: 1fr;
    }

    .align-end {
        justify-items: start;
    }

    .package-card-head {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .switchboard-overview-grid,
    .switchboard-review-grid,
    .switchboard-hero-metrics,
    .switchboard-mini-stats,
    .switchboard-top-grid,
    .switchboard-bottom-grid,
    .switchboard-request-list {
        grid-template-columns: 1fr;
    }

    .switchboard-inline-form,
    .switchboard-inline-form .button,
    .switchboard-filter-form .button,
    .table-actions .button {
        width: 100%;
    }

    .switchboard-subnav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .switchboard-subnav a,
    .package-card .table-actions .button,
    .package-editor .table-actions .button,
    .table-inline-select .button {
        width: 100%;
    }

    .package-field-grid {
        grid-template-columns: 1fr;
    }

    .package-form-section,
    .package-card {
        padding: 18px;
    }
}
