:root {
    --jl-font-sans: "Source Sans 3", sans-serif;
    --midnight: #101827;
    --midnight-deep: #0b1220;
    --panel: #131e30;
    --panel-light: #172337;
    --line: #64748b;
    --muted: #aab4c3;
    --white: #f8f7f3;
    --lime: #a3e635;
    --teal: #14b8a6;
    --purple: #7c3aed;
    --blue: #2563eb;
    --green: #65a30d;
    --orange: #f59e0b;
    --container: 1180px;
    --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--midnight);
    color: var(--white);
    font-family: var(--jl-font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea, optgroup, option { font: inherit; font-family: var(--jl-font-sans); }
button, input, textarea, select { font: inherit; }
svg { display: block; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: 64px 0; }
.section-rule { border-top: 1px solid rgba(148, 163, 184, .72); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--lime); color: #08110b; padding: 10px 16px; border-radius: 6px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.site-header { border-bottom: 1px solid rgba(148, 163, 184, .22); background: rgba(16, 24, 39, .96); position: sticky; top: 0; z-index: 100; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 226px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 50px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: #fff; padding: 32px 0 29px; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--lime); border-bottom-color: var(--lime); }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--white); margin: 5px 0; }

.hero { padding-top: 58px; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: .85fr 1.45fr; gap: 32px; align-items: center; }
.hero-copy { padding-right: 30px; border-right: 1px solid rgba(148, 163, 184, .45); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 5vw, 66px); line-height: .98; letter-spacing: -.045em; margin-bottom: 24px; }
h1 span { color: var(--lime); }
h2 { font-size: clamp(32px, 4vw, 47px); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 20px; }
h3 { line-height: 1.15; }
.hero-copy > p { max-width: 530px; color: #e4e8ee; font-weight: 600; line-height: 1.35; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; padding: 0 20px; text-decoration: none; font-weight: 850; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button svg, .text-link svg, .product-mini span svg, .free-card a svg, .large-product-card span svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--lime); color: #08120c; }
.button-primary:hover { background: #b7f34a; }
.button-secondary { border-color: #64748b; background: transparent; color: var(--white); }
.button-secondary:hover { border-color: var(--white); }

.product-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.product-mini { min-height: 190px; display: flex; flex-direction: column; padding: 18px; border: 1px solid #9aa7b8; border-radius: var(--radius); background: rgba(11, 18, 32, .35); text-decoration: none; transition: border-color .15s ease, transform .15s ease, background .15s ease; }
.product-mini:hover { transform: translateY(-2px); background: var(--panel); }
.product-mini.extend:hover { border-color: var(--purple); }
.product-mini.iq:hover { border-color: var(--lime); }
.product-mini.flow:hover { border-color: var(--teal); }
.product-mini img { width: 100%; height: 42px; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.product-mini p { font-size: 14px; line-height: 1.35; color: #edf0f4; }
.product-mini span { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 850; }
.product-mini.extend span { color: #9b6bff; }.product-mini.iq span { color: var(--lime); }.product-mini.flow span { color: var(--teal); }

.benefits-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--lime); text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: .015em; margin-bottom: 14px; }
.section-intro > p:last-child, .page-hero .narrow > p:not(.eyebrow), .product-hero p { font-size: 20px; color: #e1e5eb; }
.benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.benefit { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; }
.benefit-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 9px; background: rgba(255,255,255,.02); }
.benefit-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 17px; font-style: italic; margin: 1px 0 5px; }
.benefit p { color: #d6dce4; font-size: 12px; line-height: 1.3; }
.benefit-teal { color: var(--teal); }.benefit-lime { color: var(--lime); }.benefit-purple { color: var(--purple); }.benefit-blue { color: var(--blue); }.benefit-green { color: #84cc16; }.benefit-orange { color: var(--orange); }
.benefit h3, .benefit p { color: var(--white); }

.section-heading-row { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.section-heading-row h2 { margin-bottom: 0; }
.text-link { color: var(--lime); text-decoration: none; font-weight: 850; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.free-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.free-card { min-height: 270px; padding: 28px; border-radius: 18px; background: var(--lime); color: #0a1420; display: flex; flex-direction: column; }
.free-card h3 { font-size: 28px; margin: 6px 0 10px; }
.free-card p { line-height: 1.4; }
.free-card .status { text-transform: uppercase; font-size: 12px; letter-spacing: .09em; font-weight: 900; margin: 0; }
.free-card a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; text-decoration: none; }
.free-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 16px; color: white; font-weight: 950; font-size: 22px; }
.free-icon-purple { background: var(--purple); }.free-icon-teal { background: var(--teal); }.free-icon-lime { background: #395800; }

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 720px; margin-bottom: 0; }

.page-hero { min-height: 490px; display: grid; align-items: center; }
.page-hero h1 { max-width: 900px; }
.notice-card { margin-top: 28px; border: 1px solid var(--line); background: var(--panel); padding: 20px; border-radius: 10px; }
.product-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.large-product-card { min-height: 430px; padding: 28px; border: 1px solid #718096; border-radius: 16px; text-decoration: none; display: flex; flex-direction: column; background: var(--midnight-deep); }
.large-product-card img { height: 50px; object-fit: contain; object-position: left; margin-bottom: 45px; }
.large-product-card h2 { font-size: 34px; }
.large-product-card p { color: #dbe1e8; }
.large-product-card span { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; }
.large-product-card.extend span { color: #9b6bff; }.large-product-card.flow span { color: var(--teal); }.large-product-card.iq span { color: var(--lime); }

.product-hero { min-height: 620px; display: grid; align-items: center; }
.product-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.product-page-logo { height: 72px; max-width: 430px; object-fit: contain; object-position: left; margin-bottom: 44px; }
.simple-feature-panel { border: 1px solid #718096; border-radius: 16px; background: var(--midnight-deep); padding: 34px; }
.simple-feature-panel ul { list-style: none; padding: 0; margin: 0; }
.simple-feature-panel li { padding: 16px 0; border-bottom: 1px solid rgba(148, 163, 184, .25); font-size: 19px; font-weight: 750; }
.simple-feature-panel li:last-child { border-bottom: 0; }
.product-purple .eyebrow { color: #9b6bff; }.product-teal .eyebrow { color: var(--teal); }.product-lime .eyebrow { color: var(--lime); }

.site-footer { border-top: 1px solid rgba(148,163,184,.7); padding: 58px 0 24px; background: var(--midnight-deep); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-logo { width: 210px; margin-bottom: 16px; }
.footer-grid p { color: var(--muted); max-width: 320px; }
.footer-grid h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .09em; color: var(--lime); margin-bottom: 16px; }
.footer-grid a { display: block; text-decoration: none; color: #dbe1e8; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(148,163,184,.22); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }.footer-bottom a { color: var(--white); text-decoration: none; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

@media (max-width: 980px) {
    .site-nav { gap: 25px; }
    .hero-grid, .benefits-grid, .product-hero-grid { grid-template-columns: 1fr; }
    .hero-copy { border-right: 0; border-bottom: 1px solid rgba(148,163,184,.45); padding: 0 0 40px; }
    .benefit-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product-page-grid { grid-template-columns: 1fr; }
    .large-product-card { min-height: 320px; }
    .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 48px 0; }
    .header-inner { min-height: 74px; }
    .brand img { width: 190px; }
    .menu-toggle { display: block; }
    .site-nav { position: absolute; left: 14px; right: 14px; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: var(--midnight-deep); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 45px rgba(0,0,0,.35); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 14px; border-bottom: 0; border-left: 3px solid transparent; }
    .site-nav a:hover, .site-nav a.active { border-left-color: var(--lime); background: var(--panel); }
    .product-mini-grid, .free-product-grid { grid-template-columns: 1fr; }
    .product-mini { min-height: 170px; }
    .benefit-list { grid-template-columns: 1fr; }
    .section-heading-row, .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .page-hero { min-height: 410px; }
}

@media (max-width: 480px) {
    h1 { font-size: 43px; }
    .button-row, .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Account and shop portal */
.nav-account {
    color: var(--lime) !important;
}
.nav-logout {
    margin: 0;
}
.nav-logout button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 32px 0 29px;
    cursor: pointer;
}
.nav-logout button:hover,
.nav-logout button:focus-visible {
    color: var(--lime);
}
.flash-wrap { padding-top: 18px; }
.flash {
    border: 1px solid rgba(163, 230, 53, .55);
    background: rgba(163, 230, 53, .1);
    color: #eaffc5;
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 750;
}
.account-section {
    min-height: 680px;
    display: grid;
    align-items: center;
}
.account-narrow { max-width: 640px; }
.account-card,
.action-card {
    border: 1px solid rgba(148, 163, 184, .58);
    background: var(--midnight-deep);
    border-radius: 18px;
    padding: clamp(26px, 4vw, 44px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.account-card h1 { font-size: clamp(42px, 7vw, 64px); }
.account-lead { color: #d7dde5; font-size: 18px; }
.account-divider { height: 1px; background: rgba(148, 163, 184, .28); margin: 28px 0; }
.account-help { margin-bottom: 0; color: var(--muted); }
.account-help a { color: var(--lime); }
.stack-form { display: grid; gap: 18px; }
.stack-form label,
.mini-form label,
.pin-field {
    display: grid;
    gap: 7px;
    font-weight: 800;
}
.stack-form label > span,
.mini-form label > span,
.pin-field > span { font-size: 14px; }
.stack-form input,
.stack-form select,
.mini-form input,
.pin-field input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #64748b;
    border-radius: 9px;
    background: #0c1524;
    color: var(--white);
    padding: 10px 13px;
    font: inherit;
}
.stack-form input:focus,
.stack-form select:focus,
.mini-form input:focus,
.pin-field input:focus { border-color: var(--lime); outline: 2px solid rgba(163, 230, 53, .22); }
.stack-form small,
.form-note { color: var(--muted); font-size: 12px; font-weight: 500; }
.check-row { grid-template-columns: auto 1fr; align-items: center; }
.check-row input { width: 18px; min-height: 18px; }
.form-errors {
    margin: 18px 0;
    border: 1px solid rgba(248, 113, 113, .72);
    border-radius: 10px;
    background: rgba(127, 29, 29, .2);
    color: #fecaca;
    padding: 14px 16px;
}
.form-errors ul { margin: 8px 0 0; padding-left: 20px; }
code { color: var(--lime); }
.portal-hero { padding-bottom: 46px; }
.portal-hero-small { min-height: 360px; display: grid; align-items: end; }
.portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.portal-heading h1 { margin-bottom: 14px; }
.portal-heading p:last-child { color: #d6dde6; max-width: 720px; font-size: 18px; }
.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}
.quick-stats > div {
    border-top: 1px solid rgba(148, 163, 184, .48);
    padding-top: 16px;
    display: grid;
}
.quick-stats strong { font-size: 34px; color: var(--lime); }
.quick-stats span { color: var(--muted); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr); gap: 38px; align-items: start; }
.portal-main { min-width: 0; }
.portal-side { position: sticky; top: 112px; }
.compact-heading { margin-bottom: 22px; }
.dashboard-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dashboard-product {
    min-height: 210px;
    border: 1px solid rgba(148, 163, 184, .5);
    background: #0d1727;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
}
.dashboard-product.extend { border-top-color: var(--purple); }
.dashboard-product.iq { border-top-color: var(--lime); }
.dashboard-product.flow { border-top-color: var(--teal); }
.dashboard-product.free { border-top-color: var(--blue); }
.dashboard-product h3 { font-size: 25px; margin: 18px 0 8px; }
.dashboard-product p { color: #d5dce5; }
.dashboard-product > span:last-child { margin-top: auto; font-weight: 850; color: var(--muted); font-size: 13px; }
.status-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    border-radius: 999px;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 10px;
    font-weight: 950;
}
.status-available { background: rgba(163, 230, 53, .15); color: #c9ff68; }
.status-planned { background: rgba(124, 58, 237, .18); color: #c4a7ff; }
.status-inactive { background: rgba(100, 116, 139, .24); color: #cbd5e1; }
.simple-steps { padding-left: 20px; color: #dce2e9; }
.simple-steps li { margin-bottom: 12px; }
.stack-actions { display: grid; gap: 10px; margin-top: 24px; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(148, 163, 184, .45); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #0d1727; }
.data-table th,
.data-table td { text-align: left; padding: 15px; border-bottom: 1px solid rgba(148, 163, 184, .22); vertical-align: top; }
.data-table th { color: var(--lime); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.data-table tr:last-child td { border-bottom: 0; }
.row-actions summary { cursor: pointer; color: var(--lime); font-weight: 850; }
.row-actions[open] { min-width: 210px; }
.mini-form { display: grid; gap: 10px; padding: 12px 0; }
.mini-form input { min-height: 40px; }
.button-small { min-height: 38px; padding-inline: 12px; font-size: 13px; }
.text-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fca5a5;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
}
.station-list { display: grid; gap: 12px; }
.station-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 12px;
    padding: 18px 20px;
    background: #0d1727;
}
.station-card h3 { margin-bottom: 4px; }
.station-card p { margin: 0; color: var(--muted); }
.station-card > div:last-child { display: grid; justify-items: end; gap: 8px; }
.empty-state { border: 1px dashed #64748b; border-radius: 12px; padding: 24px; color: var(--muted); }
.station-screen { min-height: 720px; display: grid; align-items: center; }
.station-container { max-width: 1040px; }
.station-message { max-width: 680px; margin: auto; }
.station-label { color: var(--lime); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.station-login,
.station-active { text-align: center; }
.station-login > p,
.station-active > p { color: #dbe2ea; font-size: 18px; }
.operator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.operator-choice { position: relative; display: grid; justify-items: center; gap: 5px; border: 1px solid #64748b; border-radius: 14px; padding: 18px 12px; cursor: pointer; background: #0d1727; }
.operator-choice input { position: absolute; opacity: 0; }
.operator-choice:has(input:checked) { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163, 230, 53, .15); background: rgba(163, 230, 53, .06); }
.operator-initial,
.operator-badge { display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #0a1420; font-weight: 950; }
.operator-initial { width: 52px; height: 52px; font-size: 22px; }
.operator-badge { width: 88px; height: 88px; margin: 0 auto 18px; font-size: 38px; }
.operator-choice small { color: var(--muted); }
.station-form { max-width: 820px; margin: auto; }
.pin-field { max-width: 280px; margin: 0 auto 16px; text-align: left; }
.pin-field input { font-size: 28px; text-align: center; letter-spacing: .25em; }
.station-placeholder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px auto; max-width: 760px; text-align: left; }
.station-placeholder-grid article { border: 1px solid rgba(148, 163, 184, .5); border-radius: 14px; padding: 24px; background: #0d1727; }
.station-placeholder-grid span { color: var(--lime); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; font-weight: 900; }
.station-placeholder-grid h2 { font-size: 28px; margin: 10px 0; }

@media (max-width: 1050px) {
    .site-nav { gap: 22px; }
    .portal-grid { grid-template-columns: 1fr; }
    .portal-side { position: static; }
}

@media (max-width: 760px) {
    .nav-logout button { width: 100%; text-align: left; padding: 14px; }
    .portal-heading { align-items: flex-start; flex-direction: column; }
    .quick-stats,
    .dashboard-products,
    .operator-grid,
    .station-placeholder-grid { grid-template-columns: 1fr; }
    .station-card { align-items: flex-start; flex-direction: column; }
    .station-card > div:last-child { justify-items: start; }
    .account-card,
    .action-card { padding: 24px 18px; }
}

/* Juggle IQ Cost Analysis */
.flash-error { border-color: rgba(248,113,113,.72); background: rgba(127,29,29,.22); color: #fecaca; }
.dashboard-product-live { box-shadow: 0 0 0 1px rgba(163,230,53,.18), 0 20px 60px rgba(0,0,0,.18); }
.dashboard-product-live a { margin-top: auto; color: var(--lime); font-weight: 900; text-decoration: none; }
.station-app-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 32px auto; max-width: 800px; text-align: left; }
.station-app-card { border: 1px solid rgba(148,163,184,.5); border-radius: 16px; padding: 26px; background: #0d1727; text-decoration: none; color: var(--white); display: flex; flex-direction: column; min-height: 230px; }
.station-app-card > span { color: var(--lime); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 900; }
.station-app-card h2 { font-size: 30px; margin: 12px 0 8px; }
.station-app-card p { color: #dbe2ea; }
.station-app-card strong { margin-top: auto; color: var(--lime); }
.station-app-card.is-planned { opacity: .58; }
.cost-analysis-app-card:hover { border-color: var(--lime); transform: translateY(-2px); }
.cost-station-screen { min-height: 760px; }
.cost-station-container { max-width: 1100px; }
.cost-app-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(148,163,184,.34); }
.cost-app-bar h1 { margin: 0; font-size: clamp(42px,6vw,68px); }
.cost-operator-chip { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(148,163,184,.5); background: #0d1727; border-radius: 999px; padding: 8px 16px 8px 8px; }
.cost-operator-chip > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0a1420; font-weight: 950; }
.cost-operator-chip div { display: grid; text-align: left; }
.cost-operator-chip small { color: var(--muted); }
.cost-start-intro { text-align: center; padding: 52px 0 26px; }
.cost-start-intro h2 { font-size: clamp(36px,5vw,56px); }
.cost-start-intro p:last-child { color: #dbe2ea; font-size: 18px; }
.cost-activity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.cost-activity-card { border: 1px solid rgba(148,163,184,.55); border-radius: 18px; background: #0d1727; padding: 28px; display: grid; gap: 26px; }
.cost-activity-card.setup-card { border-top-color: var(--purple); }
.cost-activity-card.printing-card { border-top-color: var(--lime); }
.cost-activity-card.teardown-card { border-top-color: var(--teal); }
.cost-activity-card h3 { font-size: 32px; margin: 12px 0 8px; }
.cost-activity-card p { color: #dbe2ea; }
.cost-activity-card form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.cost-activity-card label { display: grid; gap: 7px; font-weight: 850; }
.cost-activity-card input, .finish-timer-form input { min-height: 54px; border: 1px solid #64748b; border-radius: 10px; background: #081321; color: var(--white); padding: 10px 14px; font: inherit; font-size: 20px; }
.activity-number { color: var(--muted); font-size: 13px; font-weight: 900; }
.dark-room-panel { margin-top: 20px; border: 1px solid rgba(20,184,166,.55); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; align-items: center; background: #0d1727; }
.dark-room-panel h2 { font-size: 34px; }
.dark-room-panel p:last-child { color: #dbe2ea; }
.dark-room-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.dark-room-button { width: 100%; min-height: 120px; border: 1px solid #64748b; border-radius: 14px; background: #101c2e; color: var(--white); padding: 18px; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; font: inherit; }
.dark-room-button:hover { border-color: var(--teal); background: rgba(20,184,166,.08); }
.dark-room-button strong { font-size: 19px; }
.dark-room-button span { color: var(--teal); font-weight: 850; }
.cost-station-footer-actions { margin-top: 28px; display: flex; justify-content: space-between; gap: 12px; }
.timer-panel { max-width: 860px; margin: 55px auto 0; border: 1px solid rgba(163,230,53,.55); border-radius: 22px; background: #0d1727; padding: clamp(28px,5vw,54px); text-align: center; box-shadow: 0 22px 80px rgba(0,0,0,.28); }
.timer-panel.is-paused { border-color: var(--purple); }
.timer-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 950; color: var(--lime); }
.timer-panel.is-paused .timer-kicker { color: #c4a7ff; }
.timer-panel h2 { font-size: clamp(40px,6vw,64px); margin: 12px 0 5px; }
.timer-detail { color: #dbe2ea; font-size: 20px; }
.timer-display { font-variant-numeric: tabular-nums; font-size: clamp(82px,15vw,154px); line-height: 1; font-weight: 950; letter-spacing: -.06em; color: var(--lime); margin: 42px 0; }
.timer-panel.is-paused .timer-display { color: #c4a7ff; }
.timer-controls { display: grid; grid-template-columns: .65fr 1.35fr; gap: 16px; align-items: end; }
.timer-controls form { margin: 0; }
.button-large { min-height: 62px; font-size: 18px; width: 100%; }
.button-danger { background: #ef4444; color: #fff; border: 1px solid #ef4444; }
.button-danger:hover { background: #dc2626; }
.finish-timer-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.finish-timer-form label { display: grid; gap: 7px; text-align: left; font-weight: 850; }
.cancel-timer { margin-top: 24px; color: var(--muted); }
.cancel-timer summary { cursor: pointer; }
.cancel-timer form { margin-top: 10px; }
.cost-analysis-hero { padding-bottom: 50px; }
.section-note { color: var(--muted); margin: 0; }
.active-timer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.active-timer-card { border: 1px solid rgba(163,230,53,.5); border-radius: 16px; padding: 22px; background: #0d1727; }
.active-timer-card.is-paused { border-color: rgba(124,58,237,.75); }
.active-timer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.active-timer-card h3 { font-size: 27px; margin: 22px 0 6px; }
.active-timer-card p { color: var(--muted); }
.manager-timer { font-variant-numeric: tabular-nums; font-size: 46px; font-weight: 950; color: var(--lime); margin-top: 24px; }
.active-timer-card.is-paused .manager-timer { color: #c4a7ff; }
.analysis-stat-sections { display: grid; gap: 45px; }
.analysis-stat-block > .section-heading-row > span { color: var(--muted); }
.analysis-table { min-width: 680px; }
.analysis-table td strong { color: var(--white); }
.analysis-table a { color: var(--lime); font-weight: 850; }
.excluded-row { opacity: .55; text-decoration: line-through; }
.stack-form textarea, .stack-form select { width: 100%; border: 1px solid #64748b; border-radius: 9px; background: #0c1524; color: var(--white); padding: 10px 13px; font: inherit; }
.form-grid-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.detail-list { display: grid; gap: 14px; margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(148,163,184,.22); padding-bottom: 12px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 850; text-align: right; }
.session-supplies-card { margin-top: 22px; }
.supply-usage-list { display: grid; gap: 10px; margin: 22px 0; }
.supply-usage-row { display: flex; justify-content: space-between; gap: 20px; border: 1px solid rgba(148,163,184,.32); border-radius: 10px; padding: 14px; }
.supply-usage-row > div { display: grid; gap: 4px; }
.supply-usage-row > div:last-child { justify-items: end; }
.supply-usage-row small { color: var(--muted); }
.inline-supply-form { border-top: 1px solid rgba(148,163,184,.25); padding-top: 22px; }
.adjustment-list { display: grid; gap: 16px; }
.adjustment-list > div { border-bottom: 1px solid rgba(148,163,184,.22); padding-bottom: 14px; }
.adjustment-list p { margin: 5px 0; color: #dbe2ea; }
.adjustment-list small { color: var(--muted); }
.supply-page-grid { grid-template-columns: minmax(0,1.4fr) minmax(340px,.8fr); }
.supply-side { display: grid; gap: 20px; }
.supply-card-list { display: grid; gap: 14px; }
.supply-card { border: 1px solid rgba(148,163,184,.45); border-radius: 15px; background: #0d1727; padding: 22px; }
.supply-card.is-inactive { opacity: .58; }
.supply-card-head { display: flex; justify-content: space-between; gap: 24px; }
.supply-card h3 { font-size: 27px; margin: 12px 0 3px; }
.supply-card p { color: var(--muted); }
.supply-unit-cost { display: grid; text-align: right; align-content: start; }
.supply-unit-cost strong { color: var(--lime); font-size: 24px; }
.supply-unit-cost span { color: var(--muted); }
.rule-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.rule-chip-list span { border: 1px solid rgba(20,184,166,.45); color: #99f6e4; background: rgba(20,184,166,.08); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.supply-manage-grid { display: grid; gap: 12px; padding-top: 14px; }
@media (max-width: 980px) { .cost-activity-grid, .active-timer-grid { grid-template-columns: 1fr 1fr; } .dark-room-panel { grid-template-columns: 1fr; } .supply-page-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .station-app-grid, .cost-activity-grid, .active-timer-grid, .dark-room-actions, .form-grid-two { grid-template-columns: 1fr; } .cost-app-bar { align-items: flex-start; flex-direction: column; } .cost-operator-chip { width: 100%; border-radius: 14px; } .cost-activity-card form, .finish-timer-form, .timer-controls { grid-template-columns: 1fr; } .timer-display { font-size: clamp(66px,25vw,105px); } .cost-station-footer-actions { flex-direction: column; } .cost-station-footer-actions .button, .cost-station-footer-actions form { width: 100%; } .supply-card-head, .supply-usage-row { flex-direction: column; } .supply-unit-cost { text-align: left; } }

/* Dedicated station shell */
.station-app-body { min-height: 100vh; background: var(--midnight); }
.station-shell-header { border-bottom: 1px solid rgba(148,163,184,.24); background: var(--midnight-deep); }
.station-shell-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.station-shell-inner img { width: 190px; height: auto; }
.station-shell-inner > span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 900; }

/* Owner-only payroll and labor-cost details */
.private-notice {
    margin: 18px 0 22px;
    padding: 14px 16px;
    border: 1px solid rgba(163, 230, 53, .38);
    border-radius: 10px;
    background: rgba(163, 230, 53, .07);
    display: grid;
    gap: 3px;
}
.private-notice strong { color: var(--lime); }
.private-notice span, .muted-text { color: var(--muted); }
.private-field {
    padding: 14px;
    border: 1px solid rgba(163, 230, 53, .3);
    border-radius: 10px;
    background: rgba(163, 230, 53, .05);
}
.private-pay-form {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(163, 230, 53, .28);
}
.live-labor-cost {
    margin-top: 8px;
    color: #c9ff68;
    font-size: 13px;
    font-weight: 850;
}
.quick-stats { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
