:root {
  --ink: #14212c;
  --muted: #66727d;
  --paper: #f1eee7;
  --white: #fffdf8;
  --line: #d4d0c7;
  --blue: #1768a8;
  --blue-dark: #0a3e67;
  --cyan: #41d8ed;
  --orange: #db7a22;
  --black: #10171d;
  --sidebar: 245px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { transition: 160ms ease; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.kicker { margin: 0 0 10px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.brand { display: inline-flex; flex-direction: column; color: #fff; text-decoration: none; line-height: 1; }
.brand b { font-size: 29px; letter-spacing: -.06em; }
.brand span { margin-top: 5px; color: var(--cyan); font: 900 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.brand.dark { color: #fff; }

/* Public landing */
.landing { background: #0d141a; color: #fff; }
.landing-nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 27px clamp(22px, 5vw, 76px); }
.nav-enter { padding: 12px 15px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; backdrop-filter: blur(8px); }
.nav-enter:hover { border-color: var(--cyan); color: var(--cyan); }
.landing-hero { position: relative; min-height: 100vh; overflow: hidden; }
.landing-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,18,.96) 0%, rgba(8,13,18,.75) 35%, rgba(8,13,18,.08) 70%), linear-gradient(0deg, rgba(8,13,18,.7), transparent 35%); }
.landing-copy { position: relative; z-index: 2; width: min(680px, 88vw); padding: clamp(170px, 22vh, 240px) 0 190px clamp(24px, 8vw, 125px); }
.landing-copy .kicker { color: var(--cyan); }
.landing-copy h1 { margin: 0; font-size: clamp(70px, 10vw, 154px); line-height: .78; letter-spacing: -.09em; }
.landing-lede { width: min(560px, 85vw); margin: 35px 0; color: #bac4cb; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.65; }
.landing-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-block; padding: 15px 18px; font-size: 12px; font-weight: 900; text-decoration: none; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: #2280c7; }
.button.ghost { border: 1px solid #68747d; color: #fff; }
.hero-readout { position: absolute; z-index: 3; right: clamp(22px, 5vw, 76px); bottom: 40px; width: min(390px, 88vw); padding: 19px; border: 1px solid rgba(255,255,255,.25); background: rgba(10,17,23,.78); backdrop-filter: blur(12px); }
.hero-readout > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.hero-readout span { color: var(--cyan); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.hero-readout strong { font-size: 34px; }
.landing-meter { height: 4px; margin: 12px 0; background: #34414b; }
.landing-meter i { display: block; width: 0; height: 100%; background: var(--cyan); transition: width 600ms ease; }
.hero-readout p { margin: 0; color: #9eabb4; font-size: 10px; }
.landing-overview { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); padding: 120px clamp(24px, 8vw, 125px); background: var(--paper); color: var(--ink); }
.landing-overview h2, .landing-identity h2 { margin: 0; max-width: 550px; font-size: clamp(40px, 5vw, 72px); line-height: .95; letter-spacing: -.06em; }
.landing-overview ol { margin: 0; padding: 0; list-style: none; }
.landing-overview li { display: grid; grid-template-columns: 55px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.landing-overview li > span { color: var(--blue); font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.landing-overview li b { font-size: 18px; }
.landing-overview li p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.landing-identity { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; background: #121a21; }
.landing-identity figure { position: relative; margin: 0; min-height: 600px; overflow: hidden; }
.landing-identity img { width: 100%; height: 100%; object-fit: cover; }
.landing-identity figcaption { position: absolute; right: 20px; bottom: 20px; padding: 9px 11px; background: var(--black); color: var(--cyan); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.landing-identity > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 8vw, 120px); }
.landing-identity h2 { color: #fff; }
.landing-identity > div > p:not(.kicker) { max-width: 550px; color: #a8b4bd; line-height: 1.7; }
.landing-identity a { margin-top: 20px; color: var(--cyan); font-weight: 900; text-decoration: none; }
.landing footer { display: flex; justify-content: space-between; gap: 30px; padding: 30px clamp(24px, 8vw, 125px); border-top: 1px solid #27343e; color: #83909a; font-size: 10px; }
.landing footer p { margin: 0; }

/* Login */
.login-page { min-height: 100vh; background: radial-gradient(circle at 70% 20%, #164c72, transparent 35%), var(--black); color: #fff; }
.login-shell { min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: 28px; padding: 40px 20px; }
.login-card { width: min(520px, 100%); padding: clamp(28px, 6vw, 55px); border: 1px solid #3b4b57; background: rgba(18,28,36,.94); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.login-card h1 { margin: 0; font-size: clamp(45px, 8vw, 70px); line-height: .9; letter-spacing: -.07em; }
.login-card > p:not(.kicker):not(.login-status) { margin: 24px 0; color: #aeb9c1; line-height: 1.6; }
.login-optic { width: 62px; height: 62px; margin-bottom: 25px; padding: 7px; border: 2px solid var(--blue); border-radius: 50%; }
.login-optic i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--cyan); box-shadow: inset 0 0 0 14px #0d2635, 0 0 25px rgba(65,216,237,.4); }
.login-status { min-height: 18px; margin: 18px 0 0; color: #81909b; font-size: 10px; }
.back-link { color: #8b99a3; font-size: 11px; text-decoration: none; }

/* Private console shell */
.console-page { background: var(--paper); color: var(--ink); }
.console-sidebar { position: fixed; z-index: 15; inset: 0 auto 0 0; display: flex; width: var(--sidebar); flex-direction: column; padding: 31px 21px 23px; border-right: 5px solid var(--blue); background: var(--black); color: #fff; }
.sidebar-caption { margin: 17px 0 28px; color: #77858f; font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.console-sidebar nav { display: grid; gap: 2px; margin: auto -5px; }
.console-sidebar nav button { border: 0; border-left: 3px solid transparent; padding: 10px; background: transparent; color: #8997a1; text-align: left; font-size: 12px; }
.console-sidebar nav button span { display: inline-block; width: 33px; color: #53616c; font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-sidebar nav button:hover { color: #fff; }
.console-sidebar nav button.active { border-left-color: var(--cyan); background: #1c2831; color: #fff; }
.console-sidebar nav button.active span { color: var(--cyan); }
.sidebar-progress { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid #34414b; }
.sidebar-progress b, .sidebar-progress small { display: block; }
.sidebar-progress b { font-size: 12px; }
.sidebar-progress small { margin-top: 4px; color: #81909b; font-size: 9px; }
.mini-optic { width: 37px; height: 37px; padding: 5px; border: 2px solid var(--blue); border-radius: 50%; }
.mini-optic i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--cyan); box-shadow: inset 0 0 0 8px #0d2635; }
.console-main { min-height: 100vh; margin-left: var(--sidebar); }
.console-topbar { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 25px; border-bottom: 1px solid var(--line); background: var(--white); color: var(--muted); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.console-topbar > div { display: flex; align-items: center; gap: 12px; }
.console-topbar button { border: 0; background: none; color: var(--blue); font-weight: 900; }
.mobile-console-head { display: none; }
.console-content { width: min(1280px, 100%); min-height: calc(100vh - 46px); margin: auto; padding: 38px clamp(26px, 5vw, 70px) 80px; }
.loading-panel { padding: 35px; border: 1px solid var(--line); background: var(--white); color: var(--muted); }
.section-title { max-width: 920px; margin-bottom: 34px; }
.section-title h1 { margin: 0; font-size: clamp(45px, 6vw, 78px); line-height: .92; letter-spacing: -.07em; }
.section-title > p:last-child { max-width: 780px; color: var(--muted); line-height: 1.6; }
.panel { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.panel h2, .panel h3 { margin-top: 0; }
.panel p { color: var(--muted); line-height: 1.6; }
.primary-action, form button { border: 0; padding: 13px 16px; background: var(--blue); color: #fff; font-weight: 900; }
.primary-action:hover, form button:hover { background: var(--blue-dark); }
.console-hero { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 470px; overflow: hidden; border: 1px solid #bfc4c7; background: #dfe2e3; }
.console-hero > div { position: relative; z-index: 2; padding: clamp(35px, 5vw, 68px); background: #dfe2e3; }
.console-hero h1 { margin: 0; font-size: clamp(55px, 7vw, 92px); line-height: .84; letter-spacing: -.08em; }
.console-hero p:not(.kicker) { max-width: 480px; margin: 25px 0; color: #53616b; line-height: 1.6; }
.console-hero img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.credit-strip { display: flex; gap: 17px; margin: 10px 0 20px; padding: 12px 15px; border-left: 4px solid var(--orange); background: var(--white); color: var(--muted); font-size: 11px; }
.credit-strip b { color: var(--orange); white-space: nowrap; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; border: 1px solid var(--line); background: var(--white); }
.metrics article { min-height: 140px; padding: 22px; border-right: 1px solid var(--line); }
.metrics article:last-child { border: 0; }
.metrics span, .metrics strong, .metrics small { display: block; }
.metrics span { color: var(--blue); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.metrics strong { margin: 12px 0; font-size: 35px; }
.metrics strong em { color: var(--muted); font-size: 16px; font-style: normal; }
.metrics small { color: var(--muted); }
.meter { height: 4px; margin: -3px 0 10px; background: #dde2e4; }
.meter i { display: block; height: 100%; background: var(--cyan); }
.overview-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.overview-grid .panel h2 { font-size: 33px; }
.next-list { margin: 20px 0; padding: 0; list-style: none; }
.next-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.next-list span { color: var(--blue); font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.next-list p { margin: 0; color: var(--ink); }
.warning { display: flex; gap: 13px; margin: 18px 0; padding: 15px; border-left: 4px solid var(--orange); background: #fff3e6; color: #744920; }
.warning > b { display: grid; flex: 0 0 auto; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; }
.warning p { margin: 0; font-size: 12px; line-height: 1.5; }
.actual-build { margin: 0; border: 1px solid var(--line); background: var(--white); }
.actual-build img { width: 100%; height: 510px; object-fit: cover; }
.actual-build figcaption, .render-cards figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; }
.actual-build span, .render-cards span { color: var(--muted); font-size: 10px; text-align: right; }
.render-section { margin-top: 30px; }
.split-heading { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 15px; }
.split-heading h2 { margin: 0; font-size: 34px; }
.split-heading > p { max-width: 480px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.render-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.render-cards figure { margin: 0; border: 1px solid var(--line); background: var(--white); }
.render-cards img { width: 100%; height: 280px; padding: 15px; object-fit: contain; background: #e3e5e4; }

/* Guides, roadmap, tables and resources */
.momentum-callout { margin-bottom: 20px; padding: 28px; border-left: 6px solid var(--cyan); background: var(--black); color: #fff; }
.momentum-callout h2 { margin: 0; font-size: 32px; }
.momentum-callout p:not(.kicker) { margin-bottom: 0; color: #aeb8c0; }
.guide-grid { display: grid; gap: 10px; }
.guide-card { border: 1px solid var(--line); background: var(--white); }
.guide-card summary { display: flex; align-items: center; gap: 18px; padding: 20px; cursor: pointer; list-style: none; }
.guide-card summary > span { color: var(--blue); font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.guide-card summary b, .guide-card summary small { display: block; }
.guide-card summary small { margin-top: 5px; color: var(--muted); }
.guide-body { padding: 0 25px 28px 58px; }
.guide-objective { font-size: 18px; line-height: 1.6; }
.why, .done-box { padding: 15px; background: #edf4f8; }
.why b, .done-box b { color: var(--blue); font: 900 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.why p, .done-box p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.prep { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.prep h3 { margin-bottom: 5px; font-size: 12px; text-transform: uppercase; }
.prep ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.65; }
.instructions { padding: 0; list-style: none; }
.instructions li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
.instructions span { color: var(--blue); font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.instructions p { margin: 0; line-height: 1.55; }
.help-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.help-links a { position: relative; min-height: 100px; padding: 15px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.help-links a:hover { border-color: var(--blue); }
.help-links span, .help-links b, .help-links small { display: block; }
.help-links span { color: var(--blue); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.help-links b { margin-top: 14px; font-size: 12px; }
.help-links small { margin-top: 4px; color: var(--muted); }
.help-links i { position: absolute; top: 12px; right: 12px; color: var(--blue); font-style: normal; }
.timeline { position: relative; display: grid; gap: 6px; }
.timeline::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 22px; width: 2px; background: var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 19px; padding: 15px; border: 1px solid var(--line); background: var(--white); }
.timeline article > button { z-index: 2; width: 46px; height: 46px; border: 2px solid var(--blue); border-radius: 50%; background: var(--white); color: var(--blue); font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline article.complete > button { background: var(--blue); color: #fff; }
.timeline article span { color: var(--blue); font: 900 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.timeline h3 { margin: 6px 0; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.5; }
.toolbar { display: grid; grid-template-columns: 1fr 240px; gap: 10px; margin-bottom: 14px; }
input, select, textarea { border: 1px solid var(--line); padding: 12px; background: var(--white); color: var(--ink); }
.bom-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 12px; }
th { padding: 12px; background: var(--black); color: #fff; text-align: left; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td b, td small, td a { display: block; }
td small { margin-top: 5px; color: var(--muted); }
td a { margin-bottom: 5px; color: var(--blue); font-weight: 800; text-decoration: none; }
.caution-text { color: #9d5b22; }
.affiliate-setting { display: grid; grid-template-columns: 1fr 240px auto; gap: 10px; align-items: end; margin-top: 14px; padding: 16px; border: 1px solid var(--line); background: var(--white); }
.affiliate-setting b, .affiliate-setting small { display: block; }
.affiliate-setting small { margin-top: 4px; color: var(--muted); }
.printed-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; border: 1px solid var(--line); background: var(--white); }
.printed-metrics article { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.printed-metrics span, .printed-metrics strong, .printed-metrics small { display: block; }
.printed-metrics span { color: var(--blue); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.printed-metrics strong { margin: 7px 0; font-size: 29px; }
.printed-metrics small { color: var(--muted); }
.green-note { display: flex; align-items: center; gap: 13px; margin: 15px 0; padding: 13px 15px; border: 1px solid #b8d1bb; background: #edf7ed; color: #39543d; font-size: 12px; }
.green-note i { width: 13px; height: 13px; border-radius: 50%; background: #34a853; box-shadow: 0 0 0 4px rgba(52,168,83,.15); }
.green-note p { margin: 0; }
.file-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.file-list article { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); background: var(--white); }
.file-list article > div { min-width: 0; }
.file-list span, .file-list b, .file-list small { display: block; }
.file-list span { color: var(--blue); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.file-list b { margin: 5px 0; overflow-wrap: anywhere; font-size: 12px; }
.file-list small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.file-list em { padding: 5px 7px; background: #dff0e2; color: #25743b; font: normal 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.power-plan { display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; gap: 12px; align-items: center; margin-bottom: 20px; }
.power-plan article { padding: 18px; border: 1px solid var(--line); background: var(--white); }
.power-plan > i { color: var(--blue); font-style: normal; font-size: 24px; }
.power-plan > div { display: grid; gap: 8px; }
.power-plan span, .power-plan b, .power-plan small { display: block; }
.power-plan span { color: var(--blue); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.power-plan b { margin: 8px 0; }
.power-plan small { color: var(--muted); }
.power-plan .accent { border-color: var(--orange); }
.recommendation { display: grid; grid-template-columns: 55px 1fr auto; gap: 20px; align-items: center; margin-bottom: 18px; padding: 28px; border: 1px solid var(--blue); background: #e8f1f7; }
.recommendation > span { display: grid; width: 52px; height: 52px; place-items: center; background: var(--blue); color: #fff; font-size: 24px; font-weight: 900; }
.recommendation h2 { margin: 0; font-size: 28px; }
.recommendation p:not(.kicker) { max-width: 750px; color: var(--muted); line-height: 1.55; }
.recommendation a, .controller-cards a, .reference-cards a { color: var(--blue); font-weight: 900; text-decoration: none; }
.controller-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.controller-cards h3 { font-size: 21px; }
.controller-cards .input { display: block; color: var(--blue); font-size: 11px; }
.controller-cards h4 { margin: 18px 0 5px; font-size: 10px; }
.controller-cards ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.shadow-lead { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 35px; border-left: 6px solid var(--cyan); background: var(--black); color: #fff; }
.shadow-lead h2 { margin: 0; font-size: clamp(30px, 4vw, 47px); letter-spacing: -.04em; }
.shadow-lead p:not(.kicker) { max-width: 850px; color: #aeb8c0; line-height: 1.6; }
.shadow-lead > span { padding: 8px 10px; border: 1px solid var(--cyan); color: var(--cyan); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; white-space: nowrap; }
.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 15px 0; }
.discord-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.discord-grid a { position: relative; min-height: 105px; padding: 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.discord-grid a:hover { border-color: var(--blue); transform: translateY(-2px); }
.discord-grid span, .discord-grid b { display: block; }
.discord-grid span { color: var(--blue); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.discord-grid b { margin-top: 20px; }
.discord-grid i { position: absolute; top: 15px; right: 15px; color: var(--blue); font-style: normal; }
.reference-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reference-cards .panel > span { color: var(--blue); font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.local-file { display: block; margin-top: 18px; color: var(--muted); overflow-wrap: anywhere; }
.source-note { margin-top: 15px; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.journal-grid form { display: grid; gap: 9px; }
.journal-grid textarea { min-height: 120px; resize: vertical; }
.journal-grid form button { justify-self: start; }
.notes, .sessions { margin-top: 20px; border-top: 1px solid var(--line); }
.notes article { position: relative; padding: 14px 60px 14px 0; border-bottom: 1px solid var(--line); }
.notes p { margin: 0 0 6px; color: var(--ink); white-space: pre-wrap; }
.notes span { color: var(--muted); font-size: 9px; }
.notes button { position: absolute; top: 13px; right: 0; border: 0; background: none; color: #9d443e; font-size: 9px; }
.sessions article { display: grid; grid-template-columns: 65px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sessions strong { font-size: 22px; }
.sessions strong small { font-size: 9px; }
.sessions p { margin: 0; color: var(--ink); }
.sessions time { color: var(--muted); font-size: 9px; }
.photo-upload { grid-column: 1 / -1; }
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 15px; }
.photo-gallery figure { margin: 0; border: 1px solid var(--line); background: var(--white); }
.photo-gallery img { width: 100%; height: 260px; object-fit: cover; }
.photo-gallery figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 12px; }
.photo-gallery figcaption b, .photo-gallery figcaption small { display: block; }
.photo-gallery figcaption small { margin-top: 4px; color: var(--muted); }
.photo-gallery button { border: 0; background: none; color: #9d443e; font-size: 9px; }
.empty { color: var(--muted); }
.toast { position: fixed; z-index: 40; right: 20px; bottom: 20px; padding: 12px 16px; border-left: 4px solid var(--cyan); background: var(--black); color: #fff; font-size: 11px; box-shadow: 0 12px 35px rgba(0,0,0,.25); }

@media (max-width: 1050px) {
  :root { --sidebar: 210px; }
  .landing-overview { grid-template-columns: 1fr; }
  .console-content { padding-inline: 28px; }
  .console-hero { grid-template-columns: 1fr 1fr; }
  .three-cards { grid-template-columns: 1fr; }
  .reference-cards { grid-template-columns: repeat(2, 1fr); }
  .discord-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .landing-nav { align-items: flex-start; padding: 18px; }
  .nav-enter { font-size: 9px; }
  .landing-copy { padding: 150px 20px 230px; }
  .landing-copy h1 { font-size: 74px; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,13,18,.92), rgba(8,13,18,.25)), linear-gradient(0deg, rgba(8,13,18,.9), transparent 50%); }
  .hero-readout { right: 18px; bottom: 22px; left: 18px; width: auto; }
  .landing-overview, .landing-identity { grid-template-columns: 1fr; }
  .landing-overview { padding: 75px 20px; }
  .landing-identity figure { min-height: 520px; }
  .landing-identity > div { padding: 70px 20px; }
  .landing footer { flex-direction: column; padding: 25px 20px; }
  .mobile-console-head { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 3px solid var(--blue); background: var(--black); }
  .mobile-console-head .brand b { font-size: 21px; }
  .mobile-console-head button { border: 1px solid #46545f; padding: 8px; background: transparent; color: var(--cyan); font-size: 9px; }
  .console-sidebar { display: none; top: 55px; width: 100%; padding: 22px; }
  .console-sidebar.open { display: flex; }
  .console-sidebar > .brand, .sidebar-caption, .sidebar-progress { display: none; }
  .console-main { margin: 0; }
  .console-topbar { height: 42px; padding: 0 14px; }
  .console-topbar small { display: none; }
  .console-content { min-height: auto; padding: 23px 15px 55px; }
  .console-hero { display: flex; flex-direction: column-reverse; }
  .console-hero img { min-height: 330px; }
  .credit-strip { flex-direction: column; }
  .metrics, .overview-grid, .render-cards, .prep, .help-links, .toolbar, .file-list, .controller-cards, .shadow-lead, .reference-cards, .journal-grid, .photo-gallery, .discord-grid { grid-template-columns: 1fr; }
  .metrics article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .actual-build img { height: 430px; }
  .split-heading { display: block; }
  .guide-body { padding: 0 18px 20px; }
  .printed-metrics { grid-template-columns: repeat(2, 1fr); }
  .power-plan { grid-template-columns: 1fr; }
  .power-plan > i { text-align: center; transform: rotate(90deg); }
  .recommendation { grid-template-columns: 1fr; }
  .affiliate-setting { grid-template-columns: 1fr; }
  .sessions article { grid-template-columns: 55px 1fr; }
  .sessions time { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
