:root {
    color-scheme: light;
    --ink: #14213a;
    --ink-soft: #53627a;
    --blue: #41a9e8;
    --blue-deep: #167dbb;
    --orange: #f28a2e;
    --orange-deep: #e9711d;
    --cream: #fffaf3;
    --paper: #ffffff;
    --surface: #ffffff;
    --surface-muted: #f7fbfd;
    --control: #ffffff;
    --line: #e8ebf0;
    --pale-blue: #eef8fd;
    --shadow: 0 18px 50px rgba(20, 33, 58, .08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="ocean-light"] {
    --ink: #173a42; --ink-soft: #4e6d73; --blue: #47b8b2; --blue-deep: #238a86;
    --orange: #e6a16c; --orange-deep: #c97b4a; --cream: #eff9f7; --line: #dcebe8; --pale-blue: #e3f5f2;
}
html[data-theme="lavender-light"] {
    --ink: #302d49; --ink-soft: #625e7b; --blue: #9293d5; --blue-deep: #7072b8;
    --orange: #d99bb4; --orange-deep: #bf7897; --cream: #f8f6fc; --line: #e8e3f1; --pale-blue: #f0edfa;
}
html[data-theme="sage-light"] {
    --ink: #263d36; --ink-soft: #5c7067; --blue: #75a997; --blue-deep: #4c8774;
    --orange: #d69a72; --orange-deep: #bb7652; --cream: #f3f8f4; --line: #e0e9e2; --pale-blue: #e8f2eb;
}
html[data-theme="sand-light"] {
    --ink: #42392e; --ink-soft: #756a5c; --blue: #7395a5; --blue-deep: #4e7789;
    --orange: #dca578; --orange-deep: #bd8054; --cream: #fbf6ed; --line: #ece3d5; --pale-blue: #edf3f2;
}
html[data-theme="night-ocean"] {
    color-scheme: dark; --ink: #e6f0fa; --ink-soft: #b6c7d9; --blue: #62c5dc; --blue-deep: #67b9d1;
    --orange: #f1a767; --orange-deep: #ed9b54; --paper: #101a2a; --surface: #19273a; --surface-muted: #142135;
    --control: #111f32; --cream: #17263a; --line: #2a3a50; --pale-blue: #1b3042;
}
html[data-theme="graphite-dark"] {
    color-scheme: dark; --ink: #e9ebf2; --ink-soft: #bec3d0; --blue: #8eb6cb; --blue-deep: #80aabd;
    --orange: #e4ad85; --orange-deep: #d99769; --paper: #17191f; --surface: #23262e; --surface-muted: #1d2027;
    --control: #1a1d24; --cream: #20232b; --line: #373b46; --pale-blue: #252d35;
}
html[data-theme="twilight-dark"] {
    color-scheme: dark; --ink: #f0eafa; --ink-soft: #c9bddc; --blue: #9b9be0; --blue-deep: #aaa4ec;
    --orange: #e0a1bc; --orange-deep: #d48ba9; --paper: #1d1930; --surface: #29233d; --surface-muted: #241e37;
    --control: #211c35; --cream: #28223b; --line: #403854; --pale-blue: #302b4c;
}
html[data-theme="pine-dark"] {
    color-scheme: dark; --ink: #e5f1e9; --ink-soft: #b6cbbd; --blue: #7db8a0; --blue-deep: #76b294;
    --orange: #d8b27d; --orange-deep: #c69b61; --paper: #14211d; --surface: #1d2d27; --surface-muted: #192822;
    --control: #17251f; --cream: #1b2b25; --line: #30453b; --pale-blue: #223b31;
}
html[data-theme="ember-dark"] {
    color-scheme: dark; --ink: #f4e9e4; --ink-soft: #d0bcb2; --blue: #83a6bb; --blue-deep: #8ab1c8;
    --orange: #e8a878; --orange-deep: #dc9662; --paper: #241b1a; --surface: #322523; --surface-muted: #2a201f;
    --control: #281f1e; --cream: #302321; --line: #4a3531; --pale-blue: #303038;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(65, 169, 232, .5); outline-offset: 3px; }
.shell { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.site-header { position: relative; z-index: 3; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(232,235,240,.85); }
.nav-row { min-height: 78px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; font: 800 24px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -1.6px; }
.brand > span > span { color: var(--blue-deep); }
.brand img { display: block; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-right: auto; color: #647188; font-size: 13px; font-weight: 600; }
.main-nav a, .nav-actions a { transition: color .18s ease; }
.main-nav a:hover, .nav-actions a:hover { color: var(--orange-deep); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions form { margin: 0; }
.theme-switcher { display: inline-flex; align-items: center; }
.theme-switcher select { max-width: 154px; min-height: 36px; padding: 0 25px 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); background: var(--control); font-size: 10px; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 13px; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--orange); box-shadow: 0 8px 18px rgba(242,138,46,.2); }
.button-primary:hover { background: var(--orange-deep); box-shadow: 0 12px 24px rgba(242,138,46,.26); }
.button-outline { border-color: #dce5ed; color: var(--ink); background: #fff; }
.button-outline:hover { border-color: var(--blue); background: #f5fbff; }
.button-quiet { min-height: 40px; padding: 0 12px; color: var(--ink-soft); background: transparent; }
.button-small { min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: 12px; }
.button-wide { width: 100%; }
.button-danger { min-height: 38px; padding: 0 13px; color: #b93e37; background: #fff1ef; }
.button-danger:hover { background: #ffe2de; }
.button-light { color: var(--ink); background: #fff; }
.flash { margin-top: 16px; padding: 13px 17px; border-radius: 12px; font-size: 13px; }
.flash-success { color: #185a42; background: #e9f8ef; border: 1px solid #ccebd8; }
.flash-error { color: #922f2a; background: #fff1ef; border: 1px solid #f4d0ca; }
.flash ul { margin: 5px 0 0; padding-left: 18px; }
.hero { position: relative; overflow: hidden; min-height: 575px; background: radial-gradient(ellipse at 87% 24%, rgba(65,169,232,.16), transparent 34%), radial-gradient(ellipse at 74% 89%, rgba(242,138,46,.12), transparent 35%), linear-gradient(120deg, #fff 10%, #fffaf3 100%); }
.hero::before { position: absolute; top: -225px; right: -210px; width: 650px; height: 650px; border: 1px solid rgba(65,169,232,.15); border-radius: 50%; content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 575px; gap: 40px; padding-top: 20px; padding-bottom: 35px; }
.hero-copy { position: relative; z-index: 1; padding: 26px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue-deep); font: 800 10px/1.3 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: 1.5px; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,138,46,.13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", "DM Sans", sans-serif; }
.hero h1 { max-width: 570px; margin: 22px 0 19px; font-size: clamp(42px, 5vw, 65px); line-height: 1.07; letter-spacing: -3.4px; font-weight: 800; }
.hero-lead { max-width: 505px; margin-bottom: 27px; color: #66748a; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: #738096; font-size: 11px; }
.note-check { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #248b61; background: #e7f7ed; font-size: 11px; font-weight: 800; }
.hero-art { position: relative; height: 470px; overflow: hidden; border: 1px solid rgba(65,169,232,.13); border-radius: 34px; background: linear-gradient(145deg, #dff3fc 0%, #f8fbff 45%, #ffe6c8 100%); box-shadow: 0 34px 70px rgba(40,105,143,.16); }
.hero-art::before, .hero-art::after { position: absolute; border-radius: 50%; content: ""; }
.hero-art::before { top: 27px; right: 48px; width: 193px; height: 193px; background: rgba(242,138,46,.16); }
.hero-art::after { bottom: -180px; left: -85px; width: 490px; height: 320px; background: rgba(65,169,232,.14); transform: rotate(-15deg); }
.hero-upload { width: 100%; height: 100%; object-fit: cover; }
.hero-image-caption { position: absolute; bottom: 24px; left: 25px; z-index: 2; display: flex; flex-direction: column; padding: 13px 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; color: #fff; background: rgba(15,26,42,.72); box-shadow: 0 8px 26px rgba(0,0,0,.2); }
.hero-image-caption span { color: #9fdbf6; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.hero-image-caption strong { font: 800 17px/1.3 "Manrope", sans-serif; }
.sun-disc { position: absolute; top: 65px; right: 95px; z-index: 1; width: 105px; height: 105px; border-radius: 50%; background: linear-gradient(145deg, #ffc578, #f28a2e); box-shadow: 0 12px 45px rgba(242,138,46,.26); }
.route-line { position: absolute; right: 1%; bottom: 1%; z-index: 1; width: 98%; height: 82%; overflow: visible; }
.route-label { position: absolute; top: 54px; left: 40px; z-index: 2; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.route-label span { color: #8190a3; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.route-label strong { font: 800 25px/1.1 "Manrope", sans-serif; }
.ride-card { position: absolute; right: 24px; bottom: 25px; z-index: 2; width: 215px; padding: 17px 18px 14px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 16px 35px rgba(20,33,58,.15); }
.ride-card-top { display: flex; align-items: center; gap: 7px; color: #6a788d; font-size: 8px; font-weight: 800; letter-spacing: 1.05px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #48bd8a; box-shadow: 0 0 0 4px rgba(72,189,138,.12); }
.ride-card-value { margin-top: 7px; font: 800 34px/1.05 "Manrope", sans-serif; letter-spacing: -1.8px; }
.ride-card-value small { color: #8390a3; font: 600 12px "DM Sans", sans-serif; letter-spacing: 0; }
.ride-card-caption { color: #778398; font-size: 10px; }
.ride-bars { display: flex; align-items: end; gap: 4px; height: 34px; margin-top: 12px; }
.ride-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--blue); }
.ride-bars i:nth-child(3n), .ride-bars i:nth-child(4n) { background: var(--orange); }
.ride-bars i:nth-child(1) { height: 28%; }.ride-bars i:nth-child(2) { height: 42%; }.ride-bars i:nth-child(3) { height: 72%; }.ride-bars i:nth-child(4) { height: 49%; }.ride-bars i:nth-child(5) { height: 86%; }.ride-bars i:nth-child(6) { height: 56%; }.ride-bars i:nth-child(7) { height: 91%; }.ride-bars i:nth-child(8) { height: 61%; }.ride-bars i:nth-child(9) { height: 77%; }.ride-bars i:nth-child(10) { height: 43%; }.ride-bars i:nth-child(11) { height: 100%; }
.fox-stamp { position: absolute; top: 26px; right: 24px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 6px; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.84); color: #778398; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.trust-strip { border-top: 1px solid #f1f2f4; border-bottom: 1px solid #f1f2f4; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 0; }
.trust-grid > div { display: flex; flex-direction: column; align-items: center; gap: 2px; border-right: 1px solid var(--line); text-align: center; }
.trust-grid > div:last-child { border: 0; }
.trust-grid strong { font: 700 13px "Manrope", sans-serif; }
.trust-grid span { color: #8290a2; font-size: 11px; }
.section { padding: 86px 0; }
.section-tight { padding: 38px 0 75px; }
.section-tinted { background: #f7fbfd; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 32px; }
.section-heading h2, .closing-cta h2 { margin: 12px 0 0; font-size: clamp(28px, 3.2vw, 39px); line-height: 1.18; letter-spacing: -1.55px; }
.section-heading > p { max-width: 390px; margin: 0; color: #748197; font-size: 13px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.experience-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow); }
.experience-art { position: relative; display: grid; height: 212px; overflow: hidden; place-items: center; background: linear-gradient(140deg, #dff3fc, #fff4e6); }

.experience-art-school-teacher { background: linear-gradient(140deg, #e4eefb, #f8f1e8); }
.experience-art-parking-teacher { background: linear-gradient(140deg, #e4f2ee, #eaf0fb); }
.experience-art-velo { background: linear-gradient(140deg, #14253c, #243e5c 55%, #543923); }

.experience-art > img { width: 100%; height: 100%; object-fit: contain; object-position: center 35%; }
.experience-art > span:first-child { color: var(--blue-deep); font-size: 76px; font-weight: 300; }
.experience-status { position: absolute; top: 13px; left: 13px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(23,47,67,.82); font-size: 9px; font-weight: 800; }
.experience-copy { padding: 19px; }
.experience-copy h3 { margin: 0 0 8px; font-size: 17px; }
.experience-copy p { min-height: 50px; margin: 0 0 14px; color: var(--ink-soft); font-size: 11px; }
.platform-list { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-list span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); background: var(--surface-muted); font-size: 8px; }
.platform-list strong { color: var(--ink); }
.product-note { margin: 16px 0 0; color: var(--ink-soft); font-size: 10px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.news-card { padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.news-card > span { color: var(--blue-deep); font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.news-card h3 { margin: 10px 0 7px; font-size: 15px; }
.news-card p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.news-card a { display: inline-flex; margin-top: 12px; color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.news-card-promotion { border-color: color-mix(in srgb, var(--orange) 44%, var(--line)); }
.feature-card { position: relative; min-height: 277px; overflow: hidden; padding: 25px; border: 1px solid #eef0f3; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(20,33,58,.035); }
.feature-number { position: absolute; top: 23px; right: 23px; color: #c3ccd5; font: 800 11px "Manrope", sans-serif; letter-spacing: 1px; }
.feature-icon { display: grid; width: 47px; height: 47px; margin: 4px 0 24px; place-items: center; border-radius: 14px; color: var(--orange-deep); background: #fff0e1; font-size: 26px; font-weight: 700; }
.feature-blue .feature-icon { color: var(--blue-deep); background: #e8f6fd; }
.feature-ink .feature-icon { color: #5365a8; background: #eff0ff; }
.feature-card h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: -.5px; }
.feature-card p { min-height: 51px; margin: 0 0 17px; color: #7a8798; font-size: 12px; line-height: 1.65; }
.feature-card a, .text-link { color: var(--blue-deep); font-size: 12px; font-weight: 700; }
.feature-card a span, .text-link span { margin-left: 5px; color: var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 7px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 370px; padding: 25px; border: 1px solid #e8edf1; border-radius: 19px; background: #fff; }
.plan-card-featured { border: 1px solid rgba(65,169,232,.5); box-shadow: 0 16px 38px rgba(65,169,232,.12); }
.plan-ribbon { position: absolute; top: -12px; right: 21px; padding: 5px 10px; border-radius: 7px; color: #fff; background: var(--blue-deep); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.plan-card-head { display: flex; align-items: center; justify-content: space-between; }
.plan-card h3 { margin: 0; font-size: 18px; }
.plan-spark { color: var(--orange); font-size: 18px; }
.plan-description { min-height: 40px; margin: 9px 0 17px; color: #8390a1; font-size: 11px; }
.plan-price { margin-bottom: 12px; font: 800 34px/1.1 "Manrope", sans-serif; letter-spacing: -1px; }
.plan-price small { color: #8793a3; font: 600 11px "DM Sans", sans-serif; letter-spacing: 0; }
.plan-features { flex: 1; display: flex; flex-direction: column; gap: 9px; margin: 8px 0 22px; padding: 0; list-style: none; }
.plan-features li { display: flex; gap: 8px; color: #617087; font-size: 11px; }
.plan-features li span { color: #30a477; font-weight: 800; }
.plan-footnote { margin: 10px 0 0; color: #a0a9b5; font-size: 9px; text-align: center; }
.plans-grid-compact .plan-card { min-height: 337px; padding: 22px; }
.request-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 65px; }
.request-grid h2 { max-width: 390px; margin: 12px 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.12; letter-spacing: -1.8px; }
.muted { color: #738096; }
.privacy-note { display: flex; align-items: flex-start; gap: 12px; max-width: 390px; margin-top: 27px; padding: 15px; border: 1px solid #e7f1f7; border-radius: 14px; background: #f8fcff; }
.privacy-note > span { color: var(--blue-deep); font-size: 21px; }
.privacy-note p { margin: 0; color: #78889a; font-size: 11px; line-height: 1.65; }
.retention-note { margin: -5px 0 0; color: #8793a2; font-size: 10px; }
.form-card { padding: 26px; border: 1px solid #e8edf1; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(20,33,58,.06); }
.form-card label, .homepage-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; color: #35445c; font-size: 11px; font-weight: 700; }
.form-card input:not([type=checkbox]):not([type=file]), .form-card select, .form-card textarea, .homepage-form input:not([type=file]), .homepage-form textarea, .admin-plan-form input, .admin-plan-form textarea, .inline-form select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dfe5eb; border-radius: 9px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 500; }
.form-card textarea, .homepage-form textarea, .admin-plan-form textarea { resize: vertical; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #a2adba; }
.form-card small { color: #8d99a9; font-size: 10px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-row { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 9px !important; margin: 10px 0 17px !important; color: #66768d !important; font-size: 10px !important; font-weight: 500 !important; line-height: 1.5; }
.check-row input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--blue-deep); }
.closing-cta { padding: 46px 0; color: #fff; background: linear-gradient(110deg, #172641 0%, #1c3e63 100%); }
.closing-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-cta .eyebrow { color: #93d8ff; }
.closing-cta h2 { max-width: 640px; font-size: 29px; }
.site-footer { padding: 23px 0; border-top: 1px solid #edf0f3; background: #fff; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer { font-size: 19px; }
.footer-row p { margin: 0; color: #8792a2; font-size: 10px; }
.footer-row > a:last-child { color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.page-hero { padding: 69px 0 62px; background: linear-gradient(120deg, #fffaf4, #eff9fe); }
.page-hero h1 { margin: 12px 0 11px; font-size: clamp(35px, 5vw, 52px); line-height: 1.12; letter-spacing: -2.2px; }
.page-hero p { max-width: 600px; margin: 0; color: #748196; font-size: 14px; }
.page-hero-short { padding: 43px 0 34px; }
.dashboard-heading, .workout-show-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.dashboard-heading h1, .workout-show-heading h1 { margin: 9px 0 6px; font-size: clamp(32px, 4vw, 43px); letter-spacing: -1.8px; }
.dashboard-heading p, .workout-show-heading p { margin: 0; color: #77859a; }
.dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.dashboard-history-panel { grid-column: 1 / -1; }
.panel { padding: 21px; border: 1px solid #e9edf1; border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(20,33,58,.035); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.panel-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.4px; }
.panel-heading > a { color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 64px; border-top: 1px solid #f0f2f4; }
.list-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--blue-deep); background: #ecf8fe; font-size: 19px; }
.list-main { flex: 1; display: flex; flex-direction: column; }
.list-main strong, .subscription-row strong { font-size: 12px; }
.list-main small, .subscription-row small { color: #8a96a5; font-size: 10px; }
.row-arrow { color: var(--orange); }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 30px 18px; text-align: center; }
.empty-state strong { font: 700 14px "Manrope", sans-serif; }
.empty-state p { max-width: 300px; margin: 0 0 5px; color: #8591a2; font-size: 11px; }
.empty-icon { color: var(--orange); font-size: 29px; }
.ride-history-panel { padding-top: 8px; padding-bottom: 8px; }
.ride-history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 13px 0; border-top: 1px solid #f0f2f4; }
.ride-history-main { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.ride-history-main strong, .ride-history-metrics strong { color: var(--ink); font-size: 12px; }
.ride-history-main small, .ride-history-metrics span { color: #8a96a5; font-size: 10px; }
.ride-history-metrics { display: flex; align-items: flex-end; gap: 5px 12px; flex-wrap: wrap; justify-content: flex-end; }
.ride-history-metrics strong { color: var(--blue-deep); }
.subscription-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-top: 1px solid #f0f2f4; }
.subscription-row > div { display: flex; flex-direction: column; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-active { color: #16835d; background: #e8f7ef; }
.status-pending { color: #9b670e; background: #fff3d8; }
.status-canceled { color: #9a4641; background: #ffefed; }
.status-expired { color: #657187; background: #eff2f5; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 10px; line-height: 1.6; }
.notice-warm { border: 1px solid #f5e6d3; color: #8c6433; background: #fff9f0; }
.notice-success { border: 1px solid #cae9d8; color: #256d50; background: #f0faf4; }
.notice-error { border: 1px solid #f1d2cd; color: #914b43; background: #fff5f3; }
.admin-notice { margin-top: 24px; }
.auth-wrap { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; width: min(920px, calc(100% - 44px)); margin: 57px auto 76px; }
.auth-aside { padding: 22px 0; }
.auth-aside > img { margin-bottom: 28px; }
.auth-aside h1 { margin: 13px 0; font-size: 43px; line-height: 1.08; letter-spacing: -2.2px; }
.auth-aside p { max-width: 340px; color: #738096; font-size: 13px; }
.auth-card h2 { margin: 0 0 22px; font-size: 22px; letter-spacing: -.8px; }
.form-footnote { margin: 17px 0 0; color: #8490a0; font-size: 10px; text-align: center; }
.form-footnote a { color: var(--blue-deep); font-weight: 700; }
.import-card { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; padding: 16px 18px; border: 1px dashed #cadbe7; border-radius: 14px; background: #f8fcff; }
.import-card > div { flex: 1; }
.import-card strong { font-size: 12px; }
.import-card p { margin: 2px 0 0; color: #8290a1; font-size: 10px; }
.file-picker { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 39px; padding: 0 13px; border: 1px solid #dce5ed; border-radius: 9px; color: var(--ink-soft); background: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.file-picker input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.workout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.workout-card { min-height: 220px; padding: 19px; border: 1px solid #e8edf1; border-radius: 15px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.workout-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.workout-card-top { display: flex; align-items: center; justify-content: space-between; }
.workout-card-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--orange-deep); background: #fff1e3; font-size: 22px; }
.mini-tag { padding: 4px 8px; border-radius: 6px; color: #708098; background: #f1f5f8; font-size: 8px; font-weight: 700; }
.workout-card h2 { margin: 16px 0 5px; font-size: 15px; }
.workout-card p { min-height: 34px; margin: 0; color: #8591a2; font-size: 10px; }
.workout-meta { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0f2f4; color: #78869a; font-size: 9px; }
.workout-open { display: block; margin-top: 11px; color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.workout-open span { color: var(--orange); }
.empty-wide { grid-column: 1 / -1; padding: 52px 18px; border: 1px dashed #dce5eb; border-radius: 16px; }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 18px; }
.builder-form > label { margin-bottom: 17px; }
.builder-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 22px 0 11px; }
.builder-toolbar > div { display: flex; flex-direction: column; }
.builder-toolbar strong { font: 700 14px "Manrope", sans-serif; }
.builder-toolbar span { color: #8591a0; font-size: 9px; }
.block-list { display: flex; flex-direction: column; gap: 10px; }
.block-card { padding: 14px; border: 1px solid #e7ecf1; border-radius: 13px; background: #fbfdfe; }
.block-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.block-card-heading strong { font: 700 11px "Manrope", sans-serif; }
.block-actions { display: flex; gap: 4px; }
.block-icon-button { display: grid; width: 26px; height: 26px; place-items: center; border: 0; border-radius: 7px; color: #718198; background: #edf3f7; cursor: pointer; font-weight: 700; }
.block-icon-button:hover { color: var(--blue-deep); background: #e1f3fc; }
.block-card > label { max-width: 300px; }
.block-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.block-fields label, .block-card label { display: flex; flex-direction: column; gap: 5px; color: #728096; font-size: 9px; font-weight: 700; }
.block-fields input, .block-card select { width: 100%; min-height: 37px; padding: 7px 9px; border: 1px solid #dfe6ec; border-radius: 8px; color: var(--ink); background: #fff; font-size: 11px; }
.builder-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 21px; }
.builder-tip { margin-bottom: 12px; padding: 18px; border: 1px solid #f5e6d3; border-radius: 14px; background: #fffaf3; }
.builder-tip > span { color: var(--orange); font-size: 22px; }
.builder-tip h3 { margin: 10px 0 7px; font-size: 13px; }
.builder-tip p { margin: 0; color: #7d8999; font-size: 10px; line-height: 1.65; }
.builder-tip-blue { border-color: #d9edf7; background: #f4fbff; }
.builder-tip-blue > span { color: var(--blue-deep); }
.workout-show-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.workout-show-actions form { margin: 0; }
.workout-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.workout-chart-panel { min-height: 240px; }
.workout-track { display: flex; align-items: center; min-height: 126px; }
.workout-track svg { display: block; width: 100%; height: 118px; overflow: visible; }
.track-legend { display: flex; justify-content: space-between; color: #8995a4; font-size: 9px; }
.block-summary { margin-bottom: 13px; }
.summary-row { display: flex; align-items: center; gap: 11px; min-height: 54px; border-top: 1px solid #f0f2f4; }
.summary-index { color: #a2afbd; font: 800 10px "Manrope", sans-serif; }
.summary-copy { flex: 1; display: flex; flex-direction: column; }
.summary-copy strong { font-size: 10px; }
.summary-copy small { color: #8995a4; font-size: 9px; }
.summary-power { color: var(--blue-deep); font-size: 10px; font-weight: 800; }
.admin-page { padding-top: 45px; }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-title h1 { margin: 7px 0 0; font-size: 36px; letter-spacing: -1.6px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 8px; border: 1px solid #e8edf1; border-radius: 12px; background: #f9fbfc; }
.admin-nav a { padding: 8px 11px; border-radius: 8px; color: #66758a; font-size: 10px; font-weight: 700; }
.admin-nav a:hover { color: var(--blue-deep); background: #e9f7fe; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 24px; }
.metric-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid #e8edf1; border-radius: 14px; background: #fff; }
.metric-card span { color: #8591a2; font-size: 10px; }
.metric-card strong { font: 800 26px "Manrope", sans-serif; }
.table-panel { padding: 0; overflow: hidden; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 13px 15px; border-bottom: 1px solid #eef0f3; vertical-align: middle; font-size: 10px; }
th { color: #8995a4; background: #fafcfd; font-size: 9px; font-weight: 700; }
td strong, td small { display: block; }
td small { margin-top: 3px; color: #8591a2; font-size: 9px; }
.admin-plan-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 15px; }
.admin-plan-form { margin-bottom: 15px; }
.admin-plan-form .form-row { grid-template-columns: repeat(2, 1fr); }
.admin-plan-form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; color: #5e6e84; font-size: 10px; font-weight: 700; }
.admin-plan-form .check-row { flex-direction: row; }
.inline-form { display: flex; align-items: center; gap: 7px; }
.inline-form select { min-width: 105px; min-height: 35px; padding: 6px 8px; }
.chat-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.7fr); align-items: start; gap: 16px; }
.chat-sidebar, .chat-panel { min-width: 0; }
.chat-room-link { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px; color: var(--ink); }
.chat-room-link:hover, .chat-room-link.is-active { background: #edf8fd; }
.chat-create { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.chat-create summary, .chat-report summary { cursor: pointer; }
.chat-create .stack-form { display: grid; gap: 9px; margin-top: 11px; }
.chat-create label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 10px; }
.chat-create input, .chat-report select, .chat-compose textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); font: inherit; }
.chat-heading { align-items: flex-start; }
.chat-heading h2 { margin: 0 0 7px; }
.chat-heading small, .chat-message time { color: var(--ink-soft); font-size: 10px; }
.chat-messages { display: flex; flex-direction: column; gap: 10px; max-height: 600px; overflow-y: auto; padding: 4px 0 16px; }
.chat-message { padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); overflow-wrap: anywhere; }
.chat-message-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-message-head strong { font-size: 11px; }
.chat-message p { margin: 8px 0 0; color: var(--ink); font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.chat-report { margin-top: 9px; color: var(--ink-soft); font-size: 9px; }
.chat-report form { display: flex; gap: 7px; margin-top: 7px; }
.chat-compose { display: flex; align-items: flex-end; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.chat-compose textarea { min-height: 68px; resize: vertical; }
.chat-compose .button { flex: 0 0 auto; }
.chat-admin-section { margin-top: 18px; }
.chat-admin-section td { max-width: 430px; overflow-wrap: anywhere; }
.chat-moderation-note { max-width: 220px; white-space: normal; }
.status-locked { color: #9a4641; background: #ffefed; }
.device-request-list { display: flex; flex-direction: column; gap: 12px; margin-top: 17px; }
.device-request-card h2 { margin: 0; font-size: 14px; }
.device-request-card .panel-heading p { margin: 3px 0 0; color: #8490a0; font-size: 10px; }
.device-request-meta { display: flex; flex-wrap: wrap; gap: 7px 17px; margin: 14px 0; color: #758398; font-size: 9px; }
.device-request-card details { margin-bottom: 13px; color: #617087; font-size: 10px; }
.device-request-card summary { cursor: pointer; font-weight: 700; }
.device-request-card pre { max-height: 220px; overflow: auto; padding: 11px; border-radius: 8px; background: #f5f8fa; font-size: 9px; white-space: pre-wrap; overflow-wrap: anywhere; }
.homepage-form { max-width: 690px; }
.admin-image-preview { display: block; max-width: 100%; max-height: 230px; margin: 0 0 17px; border-radius: 12px; object-fit: contain; }
.pagination { display: flex; justify-content: center; gap: 6px; padding: 15px; list-style: none; }
.pagination a, .pagination span { display: grid; min-width: 30px; height: 30px; padding: 0 7px; place-items: center; border-radius: 7px; color: #66758a; background: #f5f8fa; font-size: 10px; }
.pagination .active span { color: #fff; background: var(--blue-deep); }
.pagination .disabled span { color: #aab4bf; }
.footer-row { flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.footer-links a { color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.world-card { min-height: 184px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.world-card > span { color: var(--orange-deep); font: 800 10px "Manrope", sans-serif; letter-spacing: 1px; }
.world-card h3 { margin: 20px 0 8px; font-size: 15px; }
.world-card p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.faq-list { max-width: 850px; }
.faq-list details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { color: var(--ink); cursor: pointer; font-weight: 750; }
.faq-list details p { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; }
.article-heading { max-width: 850px; }
.article-heading .text-link { margin-bottom: 18px; }
.article-body { max-width: 820px; color: var(--ink); font-size: 16px; line-height: 1.9; white-space: normal; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1.7em 0 .55em; line-height: 1.3; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote { margin: 0 0 1.1em; }
.article-body a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-body img, .article-cover, .news-image { display: block; max-width: 100%; border-radius: 14px; object-fit: cover; }
.article-body img { height: auto; margin: 1.5em auto; }
.article-cover { max-height: 460px; margin-top: 23px; }
.news-image { width: 100%; max-height: 220px; margin-bottom: 13px; }
.article-body blockquote { padding: 5px 0 5px 19px; border-left: 3px solid var(--orange); color: var(--ink-soft); }
.article-body pre { overflow: auto; padding: 15px; border-radius: 10px; background: var(--surface-muted); }
.content-form { max-width: 900px; }
.content-form > label:not(.check-row) { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.content-form input:not([type=checkbox]):not([type=file]), .content-form select, .content-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--control); font-size: 12px; font-weight: 500; }
.content-form small { color: var(--ink-soft); font-size: 10px; font-weight: 500; }
.schedule-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.schedule-fields label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.rich-editor { margin-bottom: 17px; }
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px 10px 0 0; background: var(--surface-muted); }
.rich-editor-toolbar button { min-height: 32px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--surface); cursor: pointer; font-size: 10px; }
.rich-editor-toolbar button:hover { border-color: var(--blue); }
.rich-editor-surface { min-height: 320px; padding: 17px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; color: var(--ink); background: var(--control); font-size: 13px; line-height: 1.7; outline: none; }
.rich-editor-surface:focus { box-shadow: inset 0 0 0 1px var(--blue); }
.rich-editor-surface img { max-width: min(100%, 620px); height: auto; border-radius: 10px; }
.rich-editor-footer { display: grid; gap: 12px; margin-top: 10px; color: var(--ink-soft); font-size: 10px; }
.rich-editor-ai { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 7px 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-muted); }
.rich-editor-ai label, .rich-editor-ai small { grid-column: 1 / -1; }
.rich-editor-ai label { font-weight: 700; }
.rich-editor-ai input { min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--control); }
.rich-editor-ai button:disabled { cursor: not-allowed; opacity: .55; }
.rich-editor-status { min-height: 20px; margin-top: 5px; color: var(--blue-deep); font-size: 10px; }
.blog-editor { max-width: 850px; }
.blog-editor > label:not(.check-row) { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.blog-editor input:not([type=checkbox]), .blog-editor textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--control); font-size: 12px; font-weight: 500; }
.blog-editor textarea { resize: vertical; }
.blog-editor small { color: var(--ink-soft); font-size: 10px; font-weight: 500; }
.batch-import { flex-wrap: wrap; }
.batch-import > div { flex-basis: 100%; }
.batch-publish { flex: 1; margin: 0 !important; }
.batch-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.batch-toolbar > span { flex: 1; color: var(--ink-soft); font-size: 10px; }
.table-actions { display: flex; align-items: center; gap: 6px; }
.table-actions form { margin: 0; }
.table-panel input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue-deep); }

@media (max-width: 900px) {
    .nav-row { gap: 19px; }
    .main-nav { gap: 15px; }
    .hero-grid { grid-template-columns: 1fr .95fr; gap: 22px; }
    .hero-art { height: 415px; }
    .hero h1 { font-size: 51px; }
    .request-grid { gap: 30px; }
    .experience-grid { grid-template-columns: repeat(2, 1fr); }
    .world-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .shell { width: min(100% - 30px, 540px); }
    .nav-row { min-height: 67px; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 11px 0; }
    .brand { font-size: 21px; }
    .brand img { width: 36px; height: 36px; }
    .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 17px; overflow-x: auto; padding: 3px 0 1px; font-size: 11px; white-space: nowrap; }
    .nav-actions { margin-left: auto; }
    .nav-actions .button { min-height: 34px; }
    .theme-switcher select { max-width: 124px; min-height: 34px; }
    .hero-grid { grid-template-columns: 1fr; gap: 15px; padding-top: 42px; }
    .hero { min-height: auto; }
    .hero h1 { max-width: 530px; font-size: clamp(40px, 10vw, 58px); letter-spacing: -2.6px; }
    .hero-lead { font-size: 14px; }
    .hero-art { height: 355px; margin-bottom: 22px; }
    .sun-disc { top: 48px; right: 62px; width: 80px; height: 80px; }
    .route-label { top: 36px; left: 23px; }
    .route-line { height: 85%; }
    .ride-card { right: 13px; bottom: 13px; transform: scale(.88); transform-origin: bottom right; }
    .fox-stamp { top: 13px; right: 13px; transform: scale(.85); transform-origin: top right; }
    .trust-grid { grid-template-columns: 1fr; gap: 11px; padding: 16px 0; }
    .trust-grid > div { border: 0; }
    .experience-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .experience-art { height: 190px; }
    .trust-grid span { font-size: 10px; }
    .section { padding: 62px 0; }
    .section-tight { padding: 28px 0 53px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 24px; }
    .section-heading > p { font-size: 12px; }
    .feature-grid, .plans-grid { grid-template-columns: 1fr; }
    .world-grid { grid-template-columns: 1fr 1fr; }
    .feature-card { min-height: 0; }
    .feature-card p { min-height: 0; }
    .plan-card { min-height: 0; }
    .request-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .closing-row { align-items: flex-start; flex-direction: column; }
    .footer-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .page-hero { padding: 49px 0 40px; }
    .page-hero-short { padding: 32px 0 27px; }
    .dashboard-heading, .workout-show-heading { align-items: flex-start; flex-direction: column; }
    .dashboard-grid, .workout-detail-grid, .builder-layout { grid-template-columns: 1fr; }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-compose { align-items: stretch; flex-direction: column; }
    .auth-wrap { grid-template-columns: 1fr; gap: 16px; width: min(100% - 30px, 500px); margin: 32px auto 52px; }
    .auth-aside { padding: 10px 0; }
    .auth-aside > img { width: 48px; height: 48px; margin-bottom: 13px; }
    .auth-aside h1 { font-size: 35px; }
    .auth-card { padding: 21px; }
    .import-card { align-items: flex-start; flex-wrap: wrap; }
    .import-card > div { flex-basis: 100%; }
    .workout-grid { grid-template-columns: 1fr; }
    .builder-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .builder-tip { margin: 0; }
    .admin-title { align-items: flex-start; flex-direction: column; }
    .batch-toolbar { align-items: stretch; flex-direction: column; }
    .batch-import > * { width: 100%; }
    .batch-publish { width: auto !important; }
    .admin-title h1 { font-size: 31px; }
    .admin-plan-list { grid-template-columns: 1fr; }
    .admin-plan-form .form-row { grid-template-columns: 1fr 1fr; }
    .admin-nav { flex-wrap: nowrap; overflow-x: auto; }
    .admin-nav a { white-space: nowrap; }
    .device-request-card .panel-heading { align-items: flex-start; flex-direction: column; }
}

html[data-theme-mode="dark"] body { color: var(--ink); background: var(--paper); }
html[data-theme-mode="dark"] .site-header,
html[data-theme-mode="dark"] .trust-strip,
html[data-theme-mode="dark"] .site-footer { color: var(--ink); background: var(--surface); border-color: var(--line); }
html[data-theme-mode="dark"] .main-nav,
html[data-theme-mode="dark"] .hero-lead,
html[data-theme-mode="dark"] .section-heading > p,
html[data-theme-mode="dark"] .dashboard-heading p,
html[data-theme-mode="dark"] .workout-show-heading p,
html[data-theme-mode="dark"] .footer-row p { color: var(--ink-soft); }
html[data-theme-mode="dark"] .hero { background: radial-gradient(ellipse at 87% 24%, color-mix(in srgb, var(--blue) 23%, transparent), transparent 34%), radial-gradient(ellipse at 74% 89%, color-mix(in srgb, var(--orange) 15%, transparent), transparent 35%), linear-gradient(120deg, var(--paper), var(--surface-muted)); }
html[data-theme-mode="dark"] .section-tinted,
html[data-theme-mode="dark"] .page-hero { background: var(--surface-muted); }
html[data-theme-mode="dark"] .feature-card,
html[data-theme-mode="dark"] .plan-card,
html[data-theme-mode="dark"] .form-card,
html[data-theme-mode="dark"] .panel,
html[data-theme-mode="dark"] .workout-card,
html[data-theme-mode="dark"] .metric-card,
html[data-theme-mode="dark"] .experience-card,
html[data-theme-mode="dark"] .news-card { color: var(--ink); background: var(--surface); border-color: var(--line); }
html[data-theme-mode="dark"] .privacy-note,
html[data-theme-mode="dark"] .import-card,
html[data-theme-mode="dark"] .block-card,
html[data-theme-mode="dark"] .builder-tip,
html[data-theme-mode="dark"] .admin-nav { color: var(--ink); background: var(--surface-muted); border-color: var(--line); }
html[data-theme-mode="dark"] .form-card label,
html[data-theme-mode="dark"] .homepage-form label,
html[data-theme-mode="dark"] .admin-plan-form label,
html[data-theme-mode="dark"] .check-row { color: var(--ink-soft) !important; }
html[data-theme-mode="dark"] .form-card input:not([type=checkbox]):not([type=file]),
html[data-theme-mode="dark"] .form-card select,
html[data-theme-mode="dark"] .form-card textarea,
html[data-theme-mode="dark"] .homepage-form input:not([type=file]),
html[data-theme-mode="dark"] .homepage-form textarea,
html[data-theme-mode="dark"] .admin-plan-form input,
html[data-theme-mode="dark"] .admin-plan-form textarea,
html[data-theme-mode="dark"] .inline-form select,
html[data-theme-mode="dark"] .block-fields input,
html[data-theme-mode="dark"] .block-card select,
html[data-theme-mode="dark"] .theme-switcher select,
html[data-theme-mode="dark"] .content-form input:not([type=checkbox]):not([type=file]),
html[data-theme-mode="dark"] .content-form select,
html[data-theme-mode="dark"] .content-form textarea,
html[data-theme-mode="dark"] .rich-editor-ai input { color: var(--ink); background: var(--control); border-color: var(--line); }
html[data-theme-mode="dark"] .rich-editor-toolbar,
html[data-theme-mode="dark"] .rich-editor-ai { color: var(--ink); background: var(--surface-muted); border-color: var(--line); }
html[data-theme-mode="dark"] .rich-editor-toolbar button { color: var(--ink); background: var(--surface); border-color: var(--line); }
html[data-theme-mode="dark"] .rich-editor-surface { color: var(--ink); background: var(--control); border-color: var(--line); }
html[data-theme-mode="dark"] .table-panel,
html[data-theme-mode="dark"] .table-panel th { color: var(--ink); background: var(--surface); }
html[data-theme-mode="dark"] .chat-room-link:hover,
html[data-theme-mode="dark"] .chat-room-link.is-active { background: var(--surface-muted); }
html[data-theme-mode="dark"] .notice-success { color: #b9efd0; background: #183629; border-color: #2b5945; }
html[data-theme-mode="dark"] .notice-error,
html[data-theme-mode="dark"] .status-locked { color: #ffd2cb; background: #482925; border-color: #76403a; }
html[data-theme-mode="dark"] th,
html[data-theme-mode="dark"] .list-row,
html[data-theme-mode="dark"] .subscription-row,
html[data-theme-mode="dark"] .ride-history-row,
html[data-theme-mode="dark"] .workout-meta,
html[data-theme-mode="dark"] .summary-row { border-color: var(--line); }
html[data-theme-mode="dark"] th { background: var(--surface-muted); }
html[data-theme-mode="dark"] .closing-cta { background: linear-gradient(110deg, color-mix(in srgb, var(--blue-deep) 35%, var(--paper)), var(--surface)); }
html[data-theme-mode="dark"] .status-active { color: #a4e7c7; background: #193c32; }
html[data-theme-mode="dark"] .status-pending { color: #f1d294; background: #44351e; }
html[data-theme-mode="dark"] .status-canceled { color: #f0b1aa; background: #442925; }
html[data-theme-mode="dark"] .status-expired { color: #c0cad7; background: #303846; }
html[data-theme-mode="dark"] .flash-success { color: #b9efd0; background: #183629; border-color: #2b5945; }
html[data-theme-mode="dark"] .flash-error { color: #ffd2cb; background: #482925; border-color: #76403a; }
html[data-theme-mode="dark"] .button-primary { color: var(--paper); }
html[data-theme-mode="dark"] .button-outline,
html[data-theme-mode="dark"] .button-light { color: var(--ink); background: var(--surface-muted); border-color: var(--line); }
html[data-theme-mode="dark"] .button-outline:hover,
html[data-theme-mode="dark"] .button-light:hover { background: var(--surface); }
@media (max-width: 420px) {
    .hero-art { height: 300px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .builder-aside { grid-template-columns: 1fr; }
    .admin-plan-form .form-row { grid-template-columns: 1fr; }
    .schedule-fields { grid-template-columns: 1fr; gap: 0; }
    .rich-editor-ai { grid-template-columns: 1fr; }
    .rich-editor-ai label, .rich-editor-ai small { grid-column: auto; }
    .builder-toolbar { align-items: flex-start; flex-direction: column; }
}

.brand img.brand-wordmark { width: 150px; height: auto; }
.brand-footer img.brand-wordmark { width: 130px; }
.api-page-actions { align-items: center; margin-top: 21px; }
.api-base-url { color: var(--ink-soft); font-size: 11px; }
.api-doc-list { display: grid; gap: 16px; }
.api-doc-card { padding: 23px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.api-doc-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; font-size: 14px; font-weight: 800; }
.api-doc-card > p { color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.api-doc-card h3 { margin: 20px 0 8px; font-size: 12px; }
.api-doc-card pre, .api-result { overflow: auto; max-width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface-muted); font: 11px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-doc-card pre { margin: 0; }
.method { display: inline-flex; min-width: 48px; min-height: 24px; align-items: center; justify-content: center; border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .5px; }
.method-get { color: #167451; background: #e6f6ed; }
.method-post { color: #9c610f; background: #fff1d7; }
.api-warning { color: #8c6433 !important; }
.api-tester-layout { display: grid; gap: 17px; }
.api-get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.api-test-card h2 { margin: 11px 0 5px; font-size: 15px; }
.api-test-card p { min-height: 34px; color: var(--ink-soft); font-size: 10px; }
.api-result-panel { min-width: 0; }
.api-result-panel .panel-heading p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; }
.api-result { min-height: 125px; margin: 0; }
.api-request-form { max-width: 760px; }
.api-request-form h2 { margin: 0 0 9px; font-size: 19px; }
.api-request-form > p { font-size: 11px; }
.launcher-form { max-width: 850px; margin-top: 18px; }
.launcher-form textarea { min-height: 430px; font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace !important; tab-size: 2; }
.developer-field[hidden] { display: none; }
html[data-theme-mode="dark"] .api-doc-card,
html[data-theme-mode="dark"] .api-doc-card pre,
html[data-theme-mode="dark"] .api-result { color: var(--ink); background: var(--surface-muted); border-color: var(--line); }
html[data-theme-mode="dark"] .method-get { color: #a4e7c7; background: #193c32; }
html[data-theme-mode="dark"] .method-post { color: #f1d294; background: #44351e; }

@media (max-width: 900px) {
    .api-get-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .brand img.brand-wordmark { width: 120px; }
    .brand-footer img.brand-wordmark { width: 120px; }
    .api-page-actions { align-items: flex-start; flex-direction: column; }
    .api-doc-card { padding: 17px; }
    .api-doc-card pre { font-size: 9px; }
    .api-request-form .form-row { grid-template-columns: 1fr; }
}
