@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #0d1110;
  --panel: #151b18;
  --panel-raised: #1b231e;
  --panel-soft: #111713;
  --text: #f0f3eb;
  --muted: #9ba69d;
  --faint: #6e7b70;
  --line: #2b352d;
  --lime: #c8f27a;
  --lime-soft: #27351f;
  --lime-ink: #17220c;
  --amber: #edc68a;
  --danger: #f4a7a0;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; }
button { border: 0; }
input, textarea, select { max-width: 100%; }
input::placeholder, textarea::placeholder { color: #708074; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--lime); }
textarea { resize: vertical; }
svg { vertical-align: middle; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }
strong { font-weight: 600; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { width: 252px; position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; display: flex; flex-direction: column; padding: 32px 20px 22px; border-right: 1px solid var(--line); background: #101512; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 10px 45px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 39px; background: var(--lime); color: #18230f; border-radius: 11px 11px 11px 3px; font-size: 21px; line-height: 1; font-weight: 800; letter-spacing: -2px; }
.brand-copy { color: var(--text); font-size: 14px; font-weight: 650; line-height: 1.25; letter-spacing: -.35px; }
.brand-copy span, .brand-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: 1.25px; text-transform: uppercase; }
.side-label { color: #718075; padding: 0 14px; margin: 0 0 13px; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #a1aea4; font-size: 13px; font-weight: 500; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 10px; transition: background .18s, color .18s, border-color .18s; }
.nav-item:hover { color: var(--text); background: #1b231d; }
.nav-item.active { color: var(--lime); border-color: #35422c; background: #222d1e; }
.nav-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; font-size: 17px; font-weight: 400; }
.nav-icon svg { width: 18px; height: 18px; }
.nav-item .tag { margin-left: auto; font-size: 9px; padding: 2px 5px; }
.chapter-card { margin: 34px 6px 24px; padding: 18px 15px; background: #171f18; border: 1px solid var(--line); border-radius: 12px; }
.chapter-label { font-size: 9px; color: var(--lime); font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; }
.chapter-title { font-size: 13px; margin-top: 9px; font-weight: 500; line-height: 1.5; }
.chapter-progress { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; margin-top: 19px; }
.chapter-track { height: 4px; border-radius: 4px; margin-top: 8px; overflow: hidden; background: #303b2d; }
.chapter-track span { display: block; height: 100%; min-width: 0; background: var(--lime); border-radius: inherit; transition: width .4s; }
.sidebar-bottom { margin-top: auto; padding: 20px 10px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.avatar { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; background: #2f3c32; color: #d0dccd; border: 1px solid #435045; border-radius: 50%; font-size: 11px; font-weight: 600; }
.profile-name { font-size: 12px; font-weight: 600; }
.profile-role { font-size: 10px; color: var(--muted); margin-top: 3px; }
.main-shell { margin-left: 252px; min-width: 0; }
.topbar { height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 44px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.breadcrumb span:last-child { color: #d7dfd5; }
.breadcrumb .separator { color: #5d6b60; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #a6b99c; border: 1px solid #35402f; border-radius: 20px; font-size: 10px; padding: 5px 10px; }
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a8cd7a; box-shadow: 0 0 0 3px #a8cd7a0d; }
.help-button { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #465247; border-radius: 50%; background: transparent; color: #b5c0b5; font-size: 12px; }
.help-button:hover { color: var(--lime); border-color: var(--lime); }
.workspace { width: 100%; max-width: 1368px; margin: 0 auto; padding: 39px 44px 64px; }
.page-heading { margin-bottom: 29px; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--lime); font-weight: 600; letter-spacing: 1.7px; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 16px; height: 1px; background: currentColor; }
.page-title { font-size: clamp(27px, 2.6vw, 38px); letter-spacing: -1.35px; font-weight: 550; }
.page-subtitle { margin-top: 11px; max-width: 640px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.page-heading > .button { margin-top: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 12px 19px; border: 1px solid transparent; border-radius: 9px; background: var(--panel-raised); color: var(--text); font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .18s, border-color .18s, transform .18s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.button.primary:hover:not(:disabled) { background: #d8ff95; border-color: #d8ff95; }
.button.secondary { background: #1c251e; border-color: #3a463b; color: #e3eadd; }
.button.secondary:hover:not(:disabled) { background: #283329; border-color: #64785b; }
.button.ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.button.ghost:hover:not(:disabled) { background: var(--panel); border-color: #58674e; color: var(--text); }
.button.small { min-height: 34px; padding: 8px 12px; font-size: 11px; border-radius: 7px; }
.button.danger { color: var(--danger); border-color: #64423e; background: #382724; }
.button svg { width: 15px; height: 15px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); min-height: 355px; overflow: hidden; border: 1px solid #35422d; border-radius: var(--radius); background: linear-gradient(118deg, #1b251c 0%, #172019 63%, #202c1b 100%); }
.hero-copy { position: relative; z-index: 2; padding: 37px 0 33px 34px; }
.hero-copy > .eyebrow { font-size: 9px; margin-bottom: 22px; letter-spacing: 1.5px; }
.hero-title { max-width: 510px; font-weight: 500; font-size: clamp(30px, 3.05vw, 46px); line-height: 1.13; letter-spacing: -1.8px; }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-lead { max-width: 460px; margin-top: 18px; color: #a8b5a6; line-height: 1.8; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; font-size: 10px; color: #9ea99a; margin-top: 20px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 60% 48%, #526a2a20 0, transparent 63%); }
.hero-visual::after { content: ""; position: absolute; height: 1px; width: 75%; background: linear-gradient(90deg, transparent, #b9e56c3b, transparent); bottom: 64px; left: 13%; transform: rotate(-9deg); }
.orbit { position: absolute; width: 330px; height: 330px; border: 1px solid #a5c56c1c; border-radius: 50%; transform: rotate(-28deg) scaleY(.64); }
.orbit::after { content: ""; position: absolute; inset: 28px; border: 1px solid #a5c56c12; border-radius: inherit; }
.bank-building { position: relative; z-index: 1; width: 200px; height: 195px; margin-top: 15px; transform: perspective(600px) rotateY(-20deg) rotateX(5deg); filter: drop-shadow(18px 24px 17px #0005); }
.building-roof { height: 66px; background: linear-gradient(135deg, #e2edbd, #97b36b); clip-path: polygon(50% 0, 100% 76%, 100% 100%, 0 100%, 0 76%); border-bottom: 8px solid #688548; position: relative; }
.building-roof::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid #638046; border-radius: 50%; left: calc(50% - 10px); top: 29px; }
.building-body { height: 112px; display: flex; justify-content: space-evenly; align-items: stretch; padding: 7px 13px 0; background: #354c2e; border-right: 7px solid #283f24; }
.building-body::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: 5px; height: 17px; background: linear-gradient(#bdd29b 0 45%, #779256 45% 100%); box-shadow: 0 8px 0 #506b3c; }
.building-column { width: 22px; background: linear-gradient(90deg, #a0b77e, #ccdbac 45%, #839e61 48%, #6e8c50); border-top: 7px solid #c2d6a2; border-bottom: 7px solid #b5cb94; }
.visual-tag { position: absolute; z-index: 3; right: 22px; top: 37px; padding: 9px 12px; background: #283420df; color: #c8f27a; border: 1px solid #50623a; border-radius: 7px; transform: rotate(5deg); box-shadow: 0 8px 25px #0002; font-size: 10px; font-weight: 600; }
.visual-tag::before { content: "↗"; margin-right: 5px; }
.visual-label { position: absolute; bottom: 35px; left: 30px; font-size: 9px; letter-spacing: 2px; color: #9dad8d; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 23px 0 34px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-card { padding: 0 24px; border-right: 1px solid var(--line); }
.stat-card:first-child { padding-left: 0; }
.stat-card:last-child { border-right: 0; }
.stat-value { font-size: 24px; font-weight: 500; letter-spacing: -.8px; line-height: 1.25; }
.stat-value span { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.stat-label { margin-top: 5px; font-size: 11px; color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 29px 0 17px; }
.section-title { font-size: 17px; font-weight: 550; letter-spacing: -.35px; }
.text-muted { color: var(--muted); font-size: 12px; line-height: 1.7; }
.mission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.mission-card { position: relative; display: flex; flex-direction: column; padding: 21px; min-height: 250px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); transition: border-color .18s, transform .18s; }
.mission-card.current { border-color: #59743c; background: linear-gradient(140deg, #202b1e, #171e18); }
.mission-card.current:hover { border-color: #94b565; transform: translateY(-2px); }
.mission-card.locked { background: #121814; }
.mission-card.locked .mission-card-title { color: #a2aca2; }
.mission-card.done { border-color: #3f5633; }
.mission-number { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: #829778; margin-bottom: 28px; }
.mission-status { position: absolute; right: 19px; top: 20px; color: var(--muted); font-size: 10px; }
.mission-card.current .mission-status, .mission-card.done .mission-status { color: var(--lime); }
.mission-card-title { font-size: 16px; font-weight: 550; letter-spacing: -.4px; line-height: 1.35; }
.mission-desc { color: var(--muted); font-size: 11px; line-height: 1.75; margin-top: 11px; margin-bottom: 22px; }
.mission-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid #303a2e; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 500; color: #b2c1aa; border: 1px solid #3b4934; padding: 4px 7px; border-radius: 5px; line-height: 1.3; }
.arrow-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: var(--lime); background: transparent; padding: 0; }
.arrow-link:hover { color: #e1ffa6; }
.mentor-card { display: flex; align-items: center; gap: 17px; border: 1px solid var(--line); border-radius: 12px; background: #141b16; padding: 19px 21px; margin-top: 23px; }
.portrait { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid #5a6d4d; border-radius: 50%; background: linear-gradient(135deg, #5d7350, #2b3e2d); color: #e0edd1; font-size: 14px; font-weight: 500; }
.mentor-copy { font-size: 12px; color: var(--muted); line-height: 1.7; }
.mentor-copy strong { display: block; color: #e1e8dc; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 23px; }
.split-layout > * { min-width: 0; }
.content-panel, .context-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 27px; }
.content-panel + .content-panel { margin-top: 20px; }
.context-panel { padding: 22px; position: sticky; top: 24px; }
.context-panel .mentor-card { padding: 0 0 18px; margin: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; align-items: flex-start; gap: 10px; }
.context-panel .portrait { width: 36px; height: 36px; flex-basis: 36px; font-size: 11px; }
.panel-kicker { color: #a4b19b; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 11px; }
.panel-title { font-size: 19px; font-weight: 550; letter-spacing: -.55px; line-height: 1.35; margin-bottom: 16px; }
.context-panel .panel-title { font-size: 14px; margin-bottom: 13px; }
.content-panel > p { color: #b5c0b1; font-size: 13px; line-height: 1.85; margin: 12px 0; }
.content-panel > p:first-child { margin-top: 0; }
.message { border: 1px solid var(--line); background: #111713; border-radius: 11px; padding: 20px; margin-bottom: 21px; }
.message-head { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.message-author { font-size: 12px; font-weight: 600; }
.message-role { color: var(--muted); font-size: 10px; margin-top: 2px; }
.message-body { color: #c0cbbc; font-size: 13px; line-height: 1.85; }
.message-body p + p { margin-top: 12px; }
.message-body strong { color: var(--text); }
.attachment { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid #3d4836; border-radius: 8px; margin-top: 16px; color: #baceaa; font-size: 11px; background: #1b241a; }
.attachment small { color: var(--muted); margin-left: auto; }
.option-list { display: grid; gap: 11px; margin: 19px 0; }
.option-card { position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid #364132; border-radius: 10px; background: #141b15; color: var(--text); text-align: left; cursor: pointer; transition: border-color .18s, background .18s; }
.option-card:hover { border-color: #6c825a; background: #1c261c; }
.option-card.selected { background: #27341f; border-color: #a9ce72; }
.option-marker { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border: 1px solid #59664f; border-radius: 6px; color: #aebda4; font-size: 10px; font-weight: 600; margin-top: 1px; }
.option-card.selected .option-marker { border-color: var(--lime); background: var(--lime); color: #223015; }
.option-card input[type="radio"], .option-card input[type="checkbox"] { margin-top: 6px; flex-shrink: 0; }
.option-title { display: block; font-size: 13px; font-weight: 550; line-height: 1.6; }
.option-desc { display: block; color: var(--muted); margin-top: 5px; font-size: 11px; line-height: 1.7; }
.task-form { display: grid; gap: 21px; margin-top: 21px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-label { font-size: 12px; font-weight: 550; color: #d5dfcf; line-height: 1.6; }
.field-label small { font-size: 10px; color: var(--muted); font-weight: 400; }
.input-field, .textarea-field { display: block; width: 100%; border: 1px solid #3d4938; border-radius: 8px; padding: 12px 13px; background: #101611; color: var(--text); line-height: 1.6; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.input-field:hover, .textarea-field:hover { border-color: #5b6b50; }
.input-field:focus, .textarea-field:focus { outline: none; border-color: #a2c772; box-shadow: 0 0 0 3px #b5df7620; }
.textarea-field { min-height: 112px; }
.field-help { color: #94a28d; font-size: 10px; line-height: 1.65; }
.formula-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 19px 0; }
.formula-card { padding: 17px 14px; background: #1d271d; border: 1px solid #3b4b32; border-radius: 10px; }
.formula-card .input-field { margin-top: 10px; }
.metric-number { font-size: 25px; line-height: 1.2; font-weight: 500; letter-spacing: -.7px; color: #d2edb1; }
.metric-caption { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; margin: 19px 0; }
.data-table th { color: #94a58c; font-size: 9px; text-transform: uppercase; letter-spacing: .7px; font-weight: 550; background: #1c261c; }
.data-table th, .data-table td { padding: 13px 12px; border-bottom: 1px solid #313c2e; vertical-align: middle; }
.data-table td { color: #d1dbcb; }
.data-table td:first-child { color: #b4c1ad; }
.data-table tbody tr:hover { background: #1d261b; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap .data-table { min-width: 440px; }
.question-card { padding: 18px; border: 1px solid #394733; border-radius: 11px; background: #1b241a; margin: 17px 0; }
.question-card > p { font-size: 12px; color: #d9e2d2; line-height: 1.75; }
.answer-reveal { padding: 16px; margin: 14px 0; border-left: 2px solid var(--lime); border-radius: 0 8px 8px 0; background: #23301d; color: #cadbb9; font-size: 12px; line-height: 1.8; }
.evidence-list { display: grid; gap: 12px; margin: 16px 0; }
.evidence-item { padding: 14px; border: 1px solid #33402f; border-radius: 8px; background: #121a13; color: #b3c0ab; font-size: 11px; line-height: 1.8; }
.evidence-item strong { display: block; color: #dae5d2; font-size: 11px; margin-bottom: 5px; }
.priority-list { display: grid; gap: 10px; margin: 20px 0; }
.priority-item { display: flex; align-items: flex-start; gap: 13px; padding: 16px; border: 1px solid #384632; border-radius: 10px; background: #151e16; }
.priority-rank { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid #506346; border-radius: 7px; color: var(--lime); font-size: 11px; }
.priority-item > div:nth-child(2) { min-width: 0; flex: 1; }
.priority-item h3, .priority-item h4 { font-size: 12px; font-weight: 550; line-height: 1.6; }
.priority-item p { color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 5px; }
.priority-item .tag { margin-top: 8px; }
.priority-actions { display: flex; flex-direction: column; gap: 5px; margin-left: auto; }
.priority-actions button { width: 25px; height: 25px; display: grid; place-items: center; background: #253120; border: 1px solid #43553a; border-radius: 5px; color: #c0d6ad; padding: 0; font-size: 12px; }
.priority-actions button:hover:not(:disabled) { background: #3a4a2d; }
.capacity-bar { height: 7px; overflow: hidden; background: #313c2a; border-radius: 6px; margin: 10px 0; }
.capacity-bar > span, .capacity-bar > div { display: block; height: 100%; background: var(--lime); border-radius: inherit; transition: width .3s; }
.capacity-bar.over-budget > span, .capacity-bar.over-budget > div, .over-budget .capacity-bar > span { background: #e8b180; }
.over-budget { color: var(--amber); }
.feedback-panel { border: 1px solid #645738; border-radius: 12px; padding: 22px; background: #28271b; margin-top: 23px; }
.feedback-panel.positive { border-color: #516b3d; background: #202d1c; }
.feedback-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.feedback-header h3 { font-size: 16px; font-weight: 550; letter-spacing: -.3px; line-height: 1.4; }
.feedback-header p { font-size: 11px; color: var(--muted); margin-top: 5px; }
.score-gain { white-space: nowrap; border: 1px solid #829f55; border-radius: 7px; padding: 5px 8px; color: var(--lime); font-size: 11px; font-weight: 600; background: #324226; }
.feedback-panel > p { font-size: 12px; line-height: 1.8; color: #c5d1bb; }
.criteria-list { display: grid; gap: 9px; margin-top: 16px; }
.criteria-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-top: 9px; border-top: 1px solid #405036; color: #b8c6ae; font-size: 11px; line-height: 1.65; }
.criteria-row > :last-child { flex-shrink: 0; color: #d5e6c4; font-weight: 500; }
.consequence { border-top: 1px solid #435237; padding-top: 14px; margin-top: 17px; font-size: 11px; color: #c4d3b7; line-height: 1.85; }
.consequence strong { display: block; font-size: 10px; color: var(--lime); margin-bottom: 6px; letter-spacing: .3px; }
.step-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.step-footer > div { display: flex; gap: 9px; align-items: center; }
.step-dots { display: flex; align-items: center; gap: 7px; }
.step-dot { width: 6px; height: 6px; padding: 0; border-radius: 50%; border: 0; background: #46523e; }
.step-dot.done { background: #779956; }
.step-dot.active { width: 21px; border-radius: 6px; background: var(--lime); }
.error-message { margin: 11px 0 0; padding: 11px 13px; background: #3a2624; border: 1px solid #734c44; border-radius: 8px; color: #ffc0b5; font-size: 11px; line-height: 1.7; }
.resource-tabs { display: flex; gap: 5px; overflow-x: auto; padding: 5px; background: #111713; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 23px; }
.resource-tab { flex: 1; min-width: max-content; padding: 10px 14px; border-radius: 6px; color: #95a58d; background: transparent; font-size: 11px; text-align: center; }
.resource-tab:hover { background: #1e2a1b; color: #d2e0c6; }
.resource-tab.active { color: var(--lime); background: #2b3922; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 22px 0; }
.kpi-card { padding: 21px; border: 1px solid #35422e; border-radius: 12px; background: var(--panel); }
.kpi-card .metric-number { margin-top: 13px; }
.progress-ring { display: grid; place-items: center; width: 134px; height: 134px; margin: 10px auto 22px; border: 7px solid #3d5030; border-top-color: var(--lime); border-right-color: var(--lime); border-radius: 50%; color: var(--lime); font-size: 34px; font-weight: 500; letter-spacing: -1px; box-shadow: inset 0 0 0 7px #151e15; }
.progress-ring small { display: block; color: var(--muted); font-size: 10px; line-height: 1; letter-spacing: 0; }
.results-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 23px; margin: 23px 0; align-items: start; }
.skill-row { margin-top: 18px; }
.skill-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; color: #b9c8b0; }
.skill-track { height: 5px; background: #303c29; border-radius: 4px; overflow: hidden; margin-top: 9px; }
.skill-fill { height: 100%; background: var(--lime); border-radius: inherit; transition: width .5s; }
.certificate-card { position: relative; padding: 30px; text-align: center; color: #283222; background: #e8ecd8; border: 1px solid #b8c4a0; border-radius: 13px; overflow: hidden; }
.certificate-card::before { content: ""; position: absolute; inset: 11px; border: 1px solid #a6b38c; border-radius: 5px; pointer-events: none; }
.certificate-card > * { position: relative; }
.certificate-card .eyebrow { justify-content: center; color: #617443; font-size: 8px; letter-spacing: 1.4px; margin-bottom: 25px; }
.certificate-card .eyebrow::before { display: none; }
.certificate-card h2 { font-size: 27px; letter-spacing: -.9px; font-weight: 500; }
.certificate-card h3 { font-size: 21px; font-weight: 500; line-height: 1.5; margin-top: 20px; }
.certificate-card p { color: #647056; font-size: 11px; line-height: 1.8; margin-top: 11px; }
.certificate-card .stat-value { font-size: 31px; margin: 18px 0 6px; color: #3b5027; }
.certificate-card .stat-label { color: #647056; }
.certificate-card small { display: block; color: #6d795d; font-size: 9px; margin-top: 24px; }
.certificate-seal { width: 55px; height: 55px; border: 1px solid #8ca274; border-radius: 50%; display: grid; place-items: center; margin: 22px auto 0; color: #617b44; font-size: 25px; box-shadow: 0 0 0 4px #cbd5b9, 0 0 0 5px #a7b68e; }
.badge-preview { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 25px 10px; }
.badge-preview > svg { width: 78px; height: 78px; color: var(--lime); }
.badge-preview > span:first-child { font-size: 50px; color: var(--lime); }
.badge-preview h3 { font-size: 16px; }
.badge-preview p { font-size: 11px; color: var(--muted); max-width: 240px; line-height: 1.8; }
.summary-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.summary-list li { display: flex; align-items: flex-start; gap: 10px; color: #b4c2ac; font-size: 11px; line-height: 1.8; }
.summary-list li::before { content: "↗"; color: var(--lime); flex-shrink: 0; }
.empty-state { min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 35px; border: 1px dashed #3b4933; border-radius: var(--radius); background: #121a13; text-align: center; }
.empty-state h2, .empty-state h3 { font-size: 20px; font-weight: 500; letter-spacing: -.5px; }
.empty-state p { font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 470px; }
.toast { position: fixed; z-index: 100; right: 26px; bottom: 25px; max-width: min(440px, calc(100vw - 32px)); padding: 14px 20px; color: #d7e8c8; background: #263821; border: 1px solid #68854b; border-radius: 10px; box-shadow: 0 10px 40px #0007; font-size: 12px; line-height: 1.7; animation: toast-in .2s ease-out; }
.modal-backdrop { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 24px; background: #050905c9; backdrop-filter: blur(7px); overflow-y: auto; }
.modal-card { position: relative; width: 100%; max-width: 490px; margin: auto; padding: 30px; border: 1px solid #4c5e3d; border-radius: 17px; background: #192218; box-shadow: 0 30px 120px #0009; }
.modal-card h2 { font-size: 23px; letter-spacing: -.7px; font-weight: 500; }
.modal-card > p { font-size: 12px; color: #b3c1aa; line-height: 1.9; margin-top: 16px; }
.modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.completed-label { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); font-size: 10px; padding: 6px 10px; background: #293b20; border: 1px solid #4d6938; border-radius: 20px; }
.completed-label::before { content: "✓"; font-weight: 700; }
.name-form { display: flex; align-items: stretch; gap: 10px; margin-top: 20px; }
.name-form .input-field { flex: 1; min-width: 0; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 1600px) {
  .workspace { padding-top: 46px; }
  .hero-grid { min-height: 390px; }
  .hero-copy { padding: 43px 0 40px 40px; }
  .hero-title { font-size: 49px; }
  .hero-visual { min-height: 360px; }
  .bank-building { transform: perspective(600px) rotateY(-20deg) rotateX(5deg) scale(1.13); }
}

@media (max-width: 1220px) {
  .sidebar { width: 224px; padding-left: 15px; padding-right: 15px; }
  .main-shell { margin-left: 224px; }
  .topbar { padding: 0 28px; }
  .workspace { padding: 31px 28px 50px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
  .hero-copy { padding-left: 27px; }
  .hero-title { font-size: 35px; }
  .hero-lead { font-size: 12px; }
  .hero-visual .bank-building { transform: perspective(600px) rotateY(-20deg) rotateX(5deg) scale(.88); }
  .visual-tag { right: 14px; font-size: 9px; }
  .split-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
  .content-panel { padding: 23px; }
  .context-panel { padding: 19px; }
  .mission-grid { gap: 12px; }
  .mission-card { padding: 18px; }
  .mission-card-title { font-size: 14px; }
}

@media (max-width: 1040px) {
  .sidebar { width: 205px; padding: 26px 12px 20px; }
  .brand { margin-left: 7px; gap: 8px; }
  .brand-copy { font-size: 12px; }
  .brand-copy span, .brand-copy small { font-size: 8px; letter-spacing: 1px; }
  .main-shell { margin-left: 205px; }
  .nav-item { padding: 11px; font-size: 12px; }
  .topbar { height: 73px; padding: 0 24px; }
  .workspace { padding: 29px 24px 45px; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr); }
  .hero-title { font-size: 32px; letter-spacing: -1.2px; }
  .hero-copy { padding: 28px 0 27px 25px; }
  .hero-visual .bank-building { transform: perspective(600px) rotateY(-20deg) rotateX(5deg) scale(.76); }
  .visual-tag { top: 41px; right: 14px; padding: 7px; font-size: 8px; }
  .visual-label { left: 6px; font-size: 7px; letter-spacing: 1.6px; }
  .split-layout { grid-template-columns: minmax(0, 1fr); }
  .context-panel { position: static; }
  .context-panel .evidence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-grid { grid-template-columns: minmax(0, 1fr); }
  .mission-card { min-height: 0; padding: 20px; }
  .mission-number { margin-bottom: 16px; }
  .mission-card-title { font-size: 17px; }
  .mission-desc { max-width: 600px; margin-bottom: 16px; }
  .results-grid { gap: 17px; }
  .certificate-card { padding: 27px 22px; }
}

@media (max-width: 760px) {
  :root { font-size: 14px; }
  .sidebar { position: relative; inset: auto; width: 100%; padding: 17px 20px 0; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0 0 18px; gap: 10px; }
  .brand-mark { width: 32px; height: 34px; flex-basis: 32px; border-radius: 9px 9px 9px 3px; font-size: 18px; }
  .brand-copy { font-size: 13px; }
  .brand-copy span, .brand-copy small { display: none; }
  .side-label, .chapter-card, .sidebar-bottom { display: none; }
  .sidebar nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 -6px; padding: 0 6px 12px; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; width: auto; gap: 7px; padding: 8px 11px; font-size: 11px; white-space: nowrap; }
  .nav-icon { width: 15px; height: 17px; flex-basis: 15px; font-size: 15px; }
  .nav-icon svg { width: 15px; height: 15px; }
  .nav-item .tag { display: none; }
  .main-shell { margin-left: 0; }
  .topbar { height: 56px; padding: 0 22px; gap: 10px; }
  .breadcrumb { font-size: 9px; gap: 6px; }
  .topbar-actions { gap: 10px; }
  .status-pill { padding: 4px 8px; font-size: 8px; }
  .help-button { width: 23px; height: 23px; font-size: 10px; }
  .workspace { padding: 27px 22px 42px; }
  .page-heading { margin-bottom: 23px; gap: 12px; }
  .page-heading > .button { margin-top: 0; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; margin-bottom: 10px; }
  .page-title { font-size: 29px; letter-spacing: -1px; }
  .page-subtitle { font-size: 12px; margin-top: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(170px, .85fr); min-height: 330px; }
  .hero-copy { padding: 26px 0 26px 24px; }
  .hero-copy > .eyebrow { margin-bottom: 17px; font-size: 8px; }
  .hero-title { font-size: 31px; }
  .hero-lead { font-size: 11px; line-height: 1.8; }
  .hero-actions { margin-top: 22px; }
  .hero-meta { gap: 10px; font-size: 9px; margin-top: 17px; }
  .hero-visual { min-height: 320px; }
  .visual-tag { font-size: 8px; }
  .stat-strip { margin: 20px 0 27px; padding: 20px 0; }
  .stat-card { padding: 0 18px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 10px; }
  .section-heading { margin-top: 26px; }
  .section-title { font-size: 17px; }
  .mentor-card { padding: 17px; gap: 12px; }
  .mentor-copy { font-size: 11px; }
  .content-panel, .context-panel { padding: 23px; border-radius: 14px; }
  .results-grid { grid-template-columns: minmax(0, 1fr); }
  .certificate-card { max-width: 540px; width: 100%; margin: 0 auto; }
  .kpi-card { padding: 16px; }
  .kpi-grid { gap: 11px; }
  .kpi-card .metric-number { font-size: 22px; }
}

@media (max-width: 510px) {
  .sidebar { padding: 16px 16px 0; }
  .topbar { padding: 0 17px; }
  .breadcrumb > span:first-child, .breadcrumb .separator:first-of-type { display: none; }
  .topbar .status-pill { font-size: 8px; }
  .workspace { padding: 24px 17px 35px; }
  .page-title { font-size: 27px; }
  .page-subtitle { font-size: 11px; }
  .hero-grid { display: block; position: relative; min-height: 0; }
  .hero-copy { padding: 25px 23px 28px; }
  .hero-copy > .eyebrow { padding-right: 55px; max-width: 100%; }
  .hero-title { max-width: 310px; font-size: 34px; line-height: 1.12; letter-spacing: -1.3px; }
  .hero-lead { max-width: 340px; margin-top: 16px; font-size: 12px; }
  .hero-actions .button { min-height: 43px; padding: 11px 16px; }
  .hero-visual { position: absolute; right: -4px; top: 13px; width: 70px; height: 80px; min-height: 0; opacity: .9; pointer-events: none; }
  .hero-visual .bank-building { transform: scale(.28) rotate(-8deg); transform-origin: 50% 50%; margin: 0; flex-shrink: 0; }
  .hero-visual .orbit, .hero-visual .visual-tag, .hero-visual .visual-label, .hero-visual::after { display: none; }
  .stat-strip { gap: 0; padding: 17px 0; }
  .stat-card { padding: 0 11px; }
  .stat-value { font-size: 20px; }
  .stat-value span { font-size: 10px; }
  .stat-label { font-size: 9px; line-height: 1.6; margin-top: 5px; }
  .section-heading { gap: 10px; margin-bottom: 14px; }
  .section-heading .text-muted { font-size: 10px; }
  .mission-card { padding: 20px; }
  .mission-card-title { font-size: 16px; }
  .mission-desc { font-size: 11px; }
  .mentor-card { align-items: flex-start; padding: 17px 15px; gap: 11px; }
  .mentor-card .portrait { width: 36px; height: 36px; flex-basis: 36px; font-size: 11px; }
  .content-panel, .context-panel { padding: 19px 17px; }
  .panel-title { font-size: 18px; }
  .content-panel > p { font-size: 12px; }
  .message { padding: 16px; }
  .message-body { font-size: 12px; }
  .option-card { padding: 15px 13px; gap: 10px; }
  .option-title { font-size: 12px; }
  .option-desc { font-size: 10px; }
  .option-marker { width: 21px; height: 21px; flex-basis: 21px; }
  .formula-row { gap: 8px; }
  .formula-card { padding: 13px 10px; }
  .metric-number { font-size: 22px; }
  .metric-caption { font-size: 9px; }
  .formula-card .input-field { padding: 9px; }
  .field-label { font-size: 11px; }
  .input-field, .textarea-field { font-size: 16px; padding: 11px; }
  .data-table { font-size: 10px; }
  .data-table th { font-size: 8px; letter-spacing: .2px; }
  .data-table th, .data-table td { padding: 11px 7px; }
  .context-panel .evidence-list { grid-template-columns: 1fr; }
  .priority-item { padding: 14px 11px; gap: 9px; }
  .priority-rank { width: 23px; height: 23px; flex-basis: 23px; }
  .priority-item h3, .priority-item h4 { font-size: 11px; }
  .priority-item p { font-size: 10px; }
  .feedback-panel { padding: 18px 16px; }
  .feedback-header h3 { font-size: 15px; }
  .score-gain { font-size: 9px; padding: 5px 6px; }
  .criteria-row { font-size: 10px; }
  .step-footer { flex-wrap: wrap; gap: 18px; }
  .step-footer > .step-dots { order: 2; width: 100%; justify-content: center; }
  .step-footer .button { font-size: 11px; padding: 11px 14px; }
  .step-footer > div:not(.step-dots) { flex-wrap: wrap; }
  .resource-tab { padding: 9px 11px; font-size: 10px; }
  .kpi-grid { gap: 8px; }
  .kpi-card { padding: 14px 11px; }
  .kpi-card .metric-number { font-size: 21px; }
  .kpi-card .metric-caption { font-size: 9px; }
  .certificate-card { padding: 29px 25px; }
  .name-form { flex-direction: column; }
  .modal-backdrop { padding: 17px; }
  .modal-card { padding: 25px 23px; }
  .modal-card h2 { font-size: 22px; }
  .modal-actions .button { flex: 1; }
  .toast { right: 16px; bottom: 16px; padding: 12px 15px; font-size: 11px; }
}

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

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #182212; }
  .sidebar, .topbar, .page-heading, .hero-grid, .stat-strip, .section-heading, .mission-grid, .mentor-card, .context-panel, .button, .toast, .modal-backdrop, .step-footer, .name-form { display: none !important; }
  .main-shell { margin: 0; }
  .workspace { padding: 0; max-width: none; }
  .results-grid { display: block; }
  .results-grid > :not(:has(.certificate-card)):not(.certificate-card) { display: none; }
  .certificate-card { max-width: none; width: 100%; margin: 0; padding: 70px; border: 1px solid #71845a; background: #f7f8ed; color: #26391e; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .certificate-card::before { inset: 16px; }
  .certificate-card h2 { font-size: 40px; }
  .certificate-card h3 { font-size: 30px; margin-top: 30px; }
  .certificate-card p { font-size: 15px; }
}

/* The simulator's live workspace and learning activities. */
.brand { padding: 0; border: 0; background: transparent; text-align: left; }
.brand-mark { display: flex; justify-content: center; align-items: center; letter-spacing: -3px; font-size: 25px; font-weight: 650; }
.brand-mark > span { margin-top: 7px; }
.brand-copy { font-size: 10px; line-height: 1.25; font-weight: 650; letter-spacing: 1px; }
.brand-copy > span { display: block; color: var(--text); font-size: 20px; font-weight: 600; margin-top: 2px; letter-spacing: -.5px; line-height: 1; }
.brand-copy .brand-dot { display: inline; color: var(--lime); font-size: inherit; font-weight: inherit; letter-spacing: 0; }
.nav-count { margin-left: auto; display: grid; place-items: center; min-width: 17px; height: 17px; border: 1px solid #3c4a36; border-radius: 4px; background: #283421; color: #bdd7aa; font-size: 9px; }
.sidebar-bottom { display: block; }
.profile-row { display: flex; align-items: center; gap: 11px; }
.profile-name { overflow-wrap: anywhere; }
.reset-link { display: flex; align-items: center; gap: 7px; padding: 0; margin: 19px 0 20px; background: transparent; color: #9ba995; font-size: 11px; }
.reset-link:hover { color: var(--lime); }
.prototype-label { color: #677963; font-size: 7px; font-weight: 600; letter-spacing: 1.1px; }
.avatar.mini { display: inline-grid; width: 29px; height: 29px; flex-basis: 29px; font-size: 10px; }
.portrait.small { display: inline-grid; width: 29px; height: 29px; flex-basis: 29px; font-size: 10px; }
.chapter-title { font-size: 15px; }
.chapter-card .field-help { display: block; margin-top: 12px; color: #93a288; font-size: 9px; }
.status-pill { font-size: 11px; }
.status-pill > i { display: none; }
.topbar-actions > .tag { font-size: 10px; color: #c5d8b8; background: #1b2519; }
.breadcrumb { font-size: 12px; }
.breadcrumb > span { color: #56664f; }
.breadcrumb > strong { color: #c9d5c1; font-weight: 400; }
.home-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 19px; }
.home-intro .eyebrow { margin: 0; }
.tag.subtle { border-color: #3a4732; color: #a4b49a; }
.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(290px, .88fr); min-height: 420px; }
.hero-copy { padding-top: 34px; padding-bottom: 32px; }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: #c7d8b5; font-size: 8px; font-weight: 550; letter-spacing: 1.4px; margin-bottom: 19px; }
.live-dot { display: inline-block; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #b9ef6620; }
.hero-title { font-size: clamp(29px, 2.6vw, 42px); letter-spacing: -1.6px; }
.hero-title > span { color: var(--lime); }
.hero-lead { font-size: 13px; max-width: 410px; line-height: 1.85; }
.hero-meta { font-size: 10px; gap: 13px; }
.name-form { display: block; margin-top: 24px; max-width: 460px; }
.name-form > label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 400; color: #bfccb5; }
.name-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.name-row > .input-field { flex: 1 1 110px; min-width: 0; width: 110px; max-width: 200px; padding: 11px 12px; font-size: 12px; }
.name-row > .button { flex: 0 1 auto; min-height: 42px; padding: 11px 13px; gap: 7px; font-size: 11px; }
.visual-grid { position: absolute; width: 440px; height: 350px; top: 40px; right: -90px; opacity: .2; background-image: linear-gradient(#8daf5d2b 1px, transparent 1px), linear-gradient(90deg, #8daf5d2b 1px, transparent 1px); background-size: 42px 42px; transform: perspective(500px) rotateX(55deg) rotateZ(-25deg); mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.orbit-one { width: 370px; height: 370px; }
.orbit-two { width: 300px; height: 300px; transform: rotate(29deg) scaleY(.77); border-color: #b6dd7422; }
.hero-visual .visual-tag { top: 35px; right: 24px; font-size: 8px; letter-spacing: .7px; padding: 8px 10px; transform: rotate(-4deg); }
.visual-tag::before { content: ""; margin: 0; }
.hero-visual .bank-building { margin-top: -3px; width: 190px; height: 195px; }
.building-roof { height: 65px; }
.building-roof > span { position: absolute; top: 41px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 750; letter-spacing: 3px; color: #3d5b28; }
.building-roof > i { display: none; }
.building-roof::after { width: 11px; height: 11px; left: calc(50% - 5px); top: 24px; border-width: 1px; }
.building-base { position: absolute; bottom: 0; left: -14px; width: calc(100% + 28px); height: 8px; background: #9dbb77; border-bottom: 4px solid #526d3c; }
.visual-label { display: flex; align-items: center; gap: 9px; left: 22px; right: 22px; bottom: 28px; padding: 12px 13px; border: 1px solid #4c6037; border-radius: 9px; background: #25331fe6; backdrop-filter: blur(12px); letter-spacing: 0; color: #c9d8bc; box-shadow: 0 6px 20px #0002; }
.visual-label strong { display: block; font-size: 9px; font-weight: 550; }
.visual-label div > span { display: block; font-size: 9px; margin-top: 3px; color: #a6b997; }
.visual-label > .live-dot { margin-left: auto; }
.floating-note { position: absolute; z-index: 2; top: 132px; right: 8px; padding: 11px 12px; border: 1px solid #5c7145; border-radius: 8px; background: #c9dca8; color: #2e4022; font-size: 10px; font-weight: 600; line-height: 1.6; transform: rotate(7deg); box-shadow: 0 12px 30px #0003; }
.floating-note span { display: block; font-size: 9px; color: #637548; font-weight: 400; }
.stat-value, .stat-label { display: block; }
.stat-label { font-size: 12px; }
.mission-card { text-align: left; cursor: pointer; }
.mission-card:disabled { opacity: 1; cursor: not-allowed; }
.mission-card.locked { color: #7c8d73; }
.mission-card.locked .mission-desc, .mission-card.locked .mission-footer { color: #87967f; }
.mission-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 21px; }
.mission-card-top .mission-number { margin: 0; }
.mission-card-top .mission-status { position: static; display: inline-flex; align-items: center; gap: 4px; font-size: 9px; }
.mission-card-title { font-size: 17px; }
.mission-desc { font-size: 13px; line-height: 1.8; }
.mission-footer { font-size: 11px; color: #a1b095; }
.mission-footer > span { display: flex; align-items: center; gap: 5px; }
.mission-footer > svg { margin-left: auto; }
.mentor-copy, .mentor-copy strong { font-size: 13px; }
.page-heading { display: block; }
.page-subtitle { max-width: 710px; font-size: 14px; }
.mission-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.mission-heading-row > .page-heading { flex: 1; min-width: 0; margin-bottom: 21px; }
.mission-heading-row > .tag { white-space: nowrap; margin-top: 7px; font-size: 11px; }
.workspace > .step-dots { gap: 10px; margin: 0 0 25px; }
.step-dot { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #415136; background: #1b271a; color: #9eb08f; border-radius: 9px; font-size: 11px; font-weight: 550; line-height: 1; }
.step-dot.active { width: 32px; border-radius: 9px; background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.step-dot.done { background: #283b20; border-color: #587a3c; color: var(--lime); }
.step-dot.done.active { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.step-dot:disabled { opacity: .5; border-color: #2d3a26; background: #121b12; }
.step-dot:not(:disabled):hover { border-color: var(--lime); }
.content-panel { padding: 29px; }
.content-panel > p, .message-body { font-size: 16px; line-height: 1.9; }
.content-panel > p.text-muted { font-size: 14px; }
.panel-title { font-size: 21px; line-height: 1.4; }
.message { padding: 23px; }
.message-head { gap: 10px; }
.message-head > div { min-width: 0; flex: 1; }
.message-author { display: block; font-size: 13px; }
.message-role { display: block; font-size: 11px; }
.message-head time { font-size: 10px; }
.attachment { gap: 12px; padding: 14px 16px; margin: 0 0 24px; }
.attachment > svg { flex-shrink: 0; }
.attachment > div { min-width: 0; }
.attachment strong { display: block; font-size: 12px; color: #d0e1c0; }
.attachment span { display: block; font-size: 12px; color: #a9bd9a; margin-top: 5px; line-height: 1.7; }
.task-form { gap: 18px; }
.task-form > .panel-title, .task-form > .section-heading { margin: 0; }
.task-form > .field-help { margin-top: -8px; }
.task-form > .option-list { margin: 0; }
.option-list { gap: 12px; }
.option-card { position: relative; align-items: flex-start; padding: 18px; }
.option-card > span:last-child { flex: 1; min-width: 0; }
.option-title { font-size: 15px; line-height: 1.7; font-weight: 550; }
.option-desc { font-size: 13px; line-height: 1.8; }
.option-card > span > .tag { display: inline-flex; margin-top: 10px; font-size: 10px; }
.option-card input[type="radio"], .option-card input[type="checkbox"] { appearance: none; position: absolute; left: 18px; top: 22px; margin: 0; width: 24px; height: 24px; opacity: 0; z-index: 1; }
.option-card:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 4px; }
.option-card:has(input:disabled) { cursor: not-allowed; opacity: .5; }
.option-card:has(input:disabled):hover { border-color: #364132; background: #141b15; }
.option-marker { margin-top: 2px; flex-basis: 24px; width: 24px; height: 24px; font-size: 13px; border-radius: 6px; }
.option-card:has(input[type="radio"]) .option-marker { border-radius: 50%; }
.option-card.selected:has(input[type="radio"]) .option-marker::after { content: ""; width: 8px; height: 8px; background: #293c17; border-radius: 50%; }
.option-card.selected:has(input[type="checkbox"]) .option-marker::after { content: "✓"; font-weight: 750; }
.question-card { padding: 0; border: 0; background: transparent; margin: 0; }
.question-card > label { display: flex; width: 100%; }
.question-card .answer-reveal { margin: 0 8px; padding: 18px; font-size: 14px; }
.answer-reveal p { color: #d4e6c5; }
.answer-reveal > span { display: block; color: #a8c193; font-size: 12px; margin-top: 12px; }
.field-label { font-size: 14px; }
.input-field, .textarea-field { font-size: 15px; }
.field-help { font-size: 12px; line-height: 1.8; }
.field > .field-help { font-size: 11px; }
select.input-field { color-scheme: dark; padding-right: 30px; white-space: normal; }
select.input-field option { color: var(--text); background: #172116; }
.formula-row { gap: 12px; margin: 0; }
.formula-card { display: flex; flex-direction: column; padding: 16px; }
.formula-card .field-label { flex: 1; font-size: 12px; line-height: 1.65; }
.percent-input { display: flex; align-items: center; position: relative; margin-top: 10px; }
.percent-input .input-field { padding: 11px 30px 11px 12px; margin: 0; font-size: 17px; }
.percent-input > span { position: absolute; right: 11px; color: #95aa85; font-size: 13px; pointer-events: none; }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 15px 0 25px; }
.data-table { margin: 0; min-width: 420px; }
.data-table caption { caption-side: bottom; text-align: left; color: #95a78a; padding: 14px 0 0; font-size: 11px; line-height: 1.7; }
.data-table th { font-size: 10px; white-space: nowrap; }
.data-table td { font-size: 13px; }
.data-table th, .data-table td { padding: 15px 13px; }
.data-table td:first-child { white-space: nowrap; }
.table-step { display: inline-block; min-width: 26px; margin-right: 9px; color: #667e58; font-size: 10px; }
.table-bar { display: inline-block; vertical-align: middle; width: 50px; height: 4px; background: #35492c; border-radius: 4px; margin-right: 9px; overflow: hidden; }
.table-bar > span { display: block; height: 100%; background: #a5cc74; border-radius: inherit; }
.context-panel { padding: 24px; }
.context-panel .panel-title { font-size: 19px; line-height: 1.4; margin-bottom: 24px; }
.context-fact { margin-top: 19px; }
.context-fact > span { display: block; color: #829778; font-size: 10px; margin-bottom: 6px; }
.context-fact > strong { display: block; color: #c4d2b9; font-size: 13px; font-weight: 450; line-height: 1.8; }
.context-divider { width: 100%; height: 1px; background: #32412c; margin: 23px 0; }
.mentor-inline { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.mentor-inline > strong { font-size: 11px; font-weight: 550; color: #cfddc4; }
.context-tip { color: #a6ba99; font-size: 13px; line-height: 1.85; }
.context-panel > .field-help { display: block; color: #99ae8d; font-size: 12px; margin: 8px 0 20px; }
.context-panel > .button { max-width: 100%; }
.priority-item { gap: 13px; }
.priority-item > div:nth-child(2) > strong { display: block; font-size: 14px; line-height: 1.7; font-weight: 500; }
.priority-item > div:nth-child(2) > .field-help { display: block; margin-top: 6px; font-size: 11px; }
.priority-actions button { width: 27px; height: 27px; }
.empty-state.compact { min-height: 100px; padding: 25px; color: #91a482; font-size: 13px; }
.feedback-panel { margin-top: 0; margin-bottom: 28px; padding: 25px; }
.feedback-panel > p { font-size: 15px; line-height: 1.9; }
.feedback-panel .panel-title { font-size: 24px; margin: 21px 0 15px; }
.completed-label { font-size: 9px; font-weight: 550; padding: 6px 9px; gap: 6px; }
.completed-label::before { display: none; }
.score-gain { font-size: 22px; border: 0; padding: 0; background: transparent; }
.score-gain small { font-size: 11px; font-weight: 400; color: #91ab7c; }
.criteria-row { font-size: 14px; padding: 12px 0 0; }
.criteria-row > :last-child { font-size: 12px; }
.consequence { font-size: 14px; line-height: 1.9; }
.consequence > p { margin-top: 9px; }
.step-footer > .field-help { font-size: 10px; max-width: 250px; line-height: 1.7; }
.step-footer > .field-help > svg { margin-right: 3px; }
.resource-tab { font-size: 13px; }
.evidence-item { padding: 18px; font-size: 14px; }
.evidence-item strong { font-size: 13px; }
.evidence-item .tag { font-size: 10px; margin-bottom: 10px; }
.evidence-item + .evidence-item { margin-top: 9px; }
.text-muted { font-size: 13px; }
.portfolio-list { display: grid; gap: 20px; }
.portfolio-list > .content-panel { margin: 0; }
.content-panel .section-heading:first-child { margin-top: 0; }
.content-panel .section-heading .panel-title { margin-bottom: 0; }
.written-work { padding: 18px; border: 1px solid #3c4e31; border-radius: 9px; background: #1c281a; font-size: 14px; line-height: 1.85; margin: 18px 0; white-space: pre-line; overflow-wrap: anywhere; }
.written-work > strong { display: block; color: #c5dcb3; font-size: 12px; }
.written-work > p { margin: 8px 0 18px; color: #bbccaf; }
.written-work .field-help { color: #8fa67d; font-size: 10px; }
.result-score-panel { text-align: center; }
.result-score-panel > .eyebrow { justify-content: center; margin: 0 0 24px; }
.progress-ring { position: relative; width: 164px; height: 164px; margin: 12px auto 26px; border: 0; background: conic-gradient(var(--lime) calc(var(--score, 0) * 1%), #33432a 0); box-shadow: none; isolation: isolate; }
.progress-ring::before { content: ""; position: absolute; z-index: -1; inset: 8px; border: 1px solid #3a4e2d; border-radius: 50%; background: var(--panel); }
.progress-ring > div { text-align: center; }
.progress-ring strong { display: block; font-size: 44px; font-weight: 500; letter-spacing: -2px; line-height: 1.1; }
.progress-ring span { display: block; color: #9cb28b; font-size: 10px; letter-spacing: 0; margin-top: 7px; }
.result-score-panel > .field-help { display: block; font-size: 10px; max-width: 300px; margin: 16px auto 0; }
.result-score-panel .panel-title { margin-bottom: 12px; }
.skill-row { margin-top: 22px; }
.skill-row > div:first-child { font-size: 13px; }
.skill-row > div:first-child > strong { font-size: 11px; white-space: nowrap; }
.skill-track { height: 6px; margin-top: 10px; }
.skill-fill { display: block; }
.certificate-card { padding: 32px 29px; }
.certificate-card .certificate-seal { margin: 0 auto 25px; }
.certificate-card .field-help { display: block; color: #596b46; font-size: 10px; margin: 13px auto 0; max-width: 280px; }
.certificate-card .hero-actions { justify-content: center; margin-top: 22px; }
.certificate-card > p { font-size: 14px; color: #455b31; margin-top: 19px; }
.badge-panel { text-align: center; }
.badge-preview { position: relative; width: 158px; height: 183px; margin: 0 auto 22px; padding: 19px 17px; gap: 7px; border: 1px solid #657e46; border-radius: 19px 19px 44px 44px; background: linear-gradient(160deg, #334b24, #1f3019); box-shadow: inset 0 0 0 5px #172414, inset 0 0 0 6px #4d6537; }
.badge-preview > span:first-child { font-size: 18px; font-weight: 500; line-height: 1; margin-top: 4px; }
.badge-preview > svg { width: 28px; height: 28px; }
.badge-preview > strong { color: #cfefa8; font-size: 12px; font-weight: 600; line-height: 1.45; letter-spacing: 1px; }
.badge-preview > small { color: #8ca775; font-size: 6px; letter-spacing: .9px; margin-top: 3px; }
.badge-panel .hero-actions { justify-content: center; }
.modal-card > p { font-size: 14px; }
.modal-card { max-width: 540px; }
.error-message { font-size: 13px; }

@media (min-width: 1600px) {
  .hero-title { font-size: 44px; }
  .hero-grid { min-height: 445px; }
}

@media (max-width: 1220px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); }
  .hero-title { font-size: 33px; }
  .hero-lead { font-size: 13px; }
  .name-row > .input-field { max-width: none; }
  .name-row > .button { padding-left: 11px; padding-right: 11px; font-size: 10px; }
  .hero-meta { font-size: 9px; gap: 10px; }
  .visual-label { left: 13px; right: 13px; bottom: 28px; padding: 11px 9px; gap: 7px; }
  .visual-label strong { font-size: 8px; }
  .visual-label div > span { font-size: 8px; }
  .hero-visual .visual-tag { right: 16px; font-size: 7px; }
  .floating-note { right: 8px; font-size: 8px; padding: 9px; top: 132px; }
  .floating-note span { font-size: 8px; }
  .context-panel { padding: 21px; }
  .content-panel { padding: 25px; }
  .message { padding: 21px; }
  .mission-card-title { font-size: 16px; }
}

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 29px; }
  .hero-title { font-size: 36px; max-width: 540px; }
  .hero-lead { max-width: 490px; }
  .hero-visual { display: none; }
  .name-row > .input-field { max-width: 200px; }
  .name-row > .button { font-size: 11px; padding: 11px 14px; }
  .context-panel { position: static; }
  .context-panel > .context-fact { display: inline-block; width: 31%; vertical-align: top; padding-right: 17px; margin-top: 4px; }
  .context-panel > .panel-title br { display: none; }
  .context-panel .panel-title { margin-bottom: 19px; }
  .context-fact > strong { font-size: 13px; }
  .mission-card-title { font-size: 18px; }
  .mission-card { padding: 23px; }
  .mission-card .mission-desc { max-width: 650px; }
  .mission-card-top .mission-status { font-size: 10px; }
  .result-score-panel .text-muted { max-width: 540px; margin-left: auto; margin-right: auto; }
  .results-grid { grid-template-columns: 1fr; }
  .certificate-card { max-width: none; }
}

@media (max-width: 760px) {
  .brand-copy { font-size: 9px; }
  .brand-copy > span { display: inline; font-size: 13px; margin-left: 5px; line-height: 1; letter-spacing: .2px; }
  .brand-copy .brand-dot { display: inline; font-size: inherit; }
  .brand-mark > span { margin-top: 6px; }
  .sidebar-bottom { display: none; }
  .nav-count { display: none; }
  .home-intro .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
  .home-intro > .tag { font-size: 8px; }
  .status-pill { font-size: 9px; }
  .breadcrumb { font-size: 10px; }
  .breadcrumb > strong { max-width: 135px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar-actions > .tag { font-size: 9px; padding: 4px 6px; }
  .hero-copy { padding: 29px; }
  .hero-title { font-size: 37px; }
  .hero-lead { font-size: 14px; max-width: 520px; }
  .hero-meta { font-size: 10px; }
  .name-form > label { font-size: 12px; }
  .name-row > .input-field { font-size: 16px; max-width: 225px; }
  .name-row > .button { font-size: 12px; }
  .stat-label { font-size: 11px; }
  .page-title { font-size: 29px; }
  .page-subtitle { font-size: 14px; }
  .mission-heading-row { gap: 15px; }
  .mission-heading-row > .tag { font-size: 10px; }
  .content-panel { padding: 25px; }
  .message { padding: 21px; }
  .panel-title { font-size: 20px; }
  .option-title { font-size: 15px; }
  .option-desc { font-size: 13px; }
  .message-body, .content-panel > p { font-size: 15px; }
  .field-label { font-size: 13px; }
  .field-help { font-size: 12px; }
  .input-field, .textarea-field { font-size: 16px; }
  .resource-tab { font-size: 12px; }
  .mentor-copy, .mentor-copy strong { font-size: 12px; }
  .context-panel > .context-fact { width: 31%; }
  .criteria-row { font-size: 13px; }
  .step-footer > .field-help { max-width: 190px; }
  .result-score-panel .panel-title { font-size: 22px; }
}

@media (max-width: 510px) {
  .brand { margin-bottom: 15px; }
  .topbar { height: 52px; gap: 8px; }
  .topbar-actions { gap: 8px; }
  .status-pill { display: none; }
  .breadcrumb { font-size: 10px; }
  .breadcrumb > span { display: inline; }
  .home-intro { margin-bottom: 15px; gap: 8px; }
  .home-intro .eyebrow { font-size: 7px; letter-spacing: 1px; gap: 6px; }
  .home-intro .eyebrow::before { width: 10px; }
  .home-intro > .tag { font-size: 7px; padding: 3px 5px; }
  .hero-visual { display: none; }
  .hero-copy { padding: 27px 22px; }
  .hero-kicker { font-size: 7px; letter-spacing: 1.4px; margin-bottom: 19px; }
  .hero-title { font-size: 31px; letter-spacing: -1.25px; max-width: none; }
  .hero-lead { margin-top: 17px; font-size: 13px; line-height: 1.85; }
  .hero-meta { gap: 13px 11px; font-size: 8px; }
  .hero-meta svg { width: 13px; height: 13px; }
  .name-form { margin-top: 23px; }
  .name-row { display: flex; flex-direction: column; gap: 9px; }
  .name-row > .input-field { width: 100%; max-width: none; flex: 0 1 auto; font-size: 16px; min-height: 44px; }
  .name-row > .button { width: 100%; font-size: 12px; min-height: 44px; justify-content: space-between; padding-left: 14px; padding-right: 14px; }
  .stat-value { font-size: 18px; line-height: 1.4; }
  .stat-value span { display: block; font-size: 9px; }
  .stat-label { font-size: 10px; line-height: 1.7; }
  .stat-card { padding-right: 9px; padding-left: 11px; }
  .stat-card:last-child { padding-right: 0; }
  .section-title { font-size: 18px; line-height: 1.45; }
  .section-heading .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .section-heading .text-muted { font-size: 11px; }
  .mission-card { padding: 21px; }
  .mission-card-title { font-size: 18px; }
  .mission-desc { font-size: 13px; }
  .mission-card-top { margin-bottom: 20px; }
  .mission-card-top .mission-status { font-size: 9px; }
  .mission-heading-row { display: block; }
  .mission-heading-row .page-heading { margin-bottom: 13px; }
  .mission-heading-row > .tag { font-size: 9px; margin: 0 0 19px; }
  .page-title { font-size: 27px; line-height: 1.23; }
  .page-subtitle { font-size: 13px; line-height: 1.8; }
  .workspace > .step-dots { margin-bottom: 22px; gap: 9px; }
  .step-dot, .step-dot.active { width: 32px; height: 32px; font-size: 11px; }
  .content-panel, .context-panel { padding: 21px 17px; }
  .message { padding: 18px 15px; }
  .message-head { gap: 8px; margin-bottom: 15px; }
  .message-author { font-size: 12px; }
  .message-role { font-size: 10px; }
  .message-head time { font-size: 9px; }
  .message-body, .content-panel > p { font-size: 14px; line-height: 1.9; }
  .attachment { padding: 14px 12px; gap: 9px; }
  .attachment strong, .attachment span { font-size: 11px; }
  .attachment > svg { width: 17px; height: 17px; }
  .panel-title { font-size: 20px; }
  .task-form { gap: 18px; }
  .option-card { padding: 16px 13px; gap: 10px; }
  .option-marker { flex-basis: 22px; width: 22px; height: 22px; margin-top: 2px; }
  .option-card input[type="radio"], .option-card input[type="checkbox"] { left: 13px; top: 18px; width: 22px; height: 22px; }
  .option-title { font-size: 14px; line-height: 1.7; }
  .option-desc { font-size: 12px; line-height: 1.8; }
  .question-card .answer-reveal { margin-left: 4px; margin-right: 4px; padding: 16px; font-size: 13px; }
  .answer-reveal > span { font-size: 11px; }
  .field-label { font-size: 13px; }
  .field-help { font-size: 11px; }
  .field > .field-help { font-size: 10px; }
  .formula-row { grid-template-columns: 1fr; gap: 9px; }
  .formula-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; padding: 13px; }
  .formula-card .field-label { max-width: 190px; font-size: 12px; }
  .percent-input { flex: 0 0 90px; width: 90px; margin: 0; }
  .percent-input .input-field { padding: 8px 25px 8px 10px; font-size: 16px; }
  .data-table { min-width: 400px; }
  .data-table th { font-size: 9px; }
  .data-table td { font-size: 12px; }
  .data-table th, .data-table td { padding: 13px 10px; }
  .table-step { min-width: 20px; margin-right: 5px; font-size: 9px; }
  .table-bar { width: 40px; }
  .data-table caption { font-size: 10px; }
  .context-panel > .context-fact { display: block; width: auto; padding-right: 0; margin-top: 19px; }
  .context-panel .panel-title { font-size: 19px; }
  .context-fact > strong { font-size: 13px; }
  .context-tip { font-size: 13px; }
  .context-panel > .field-help { font-size: 11px; }
  .priority-item { gap: 9px; padding: 15px 12px; }
  .priority-item > div:nth-child(2) > strong { font-size: 13px; }
  .priority-item > div:nth-child(2) > .field-help { font-size: 10px; }
  .priority-actions button { width: 25px; height: 25px; }
  .feedback-panel { padding: 20px 16px; }
  .feedback-panel .panel-title { font-size: 21px; }
  .feedback-panel > p { font-size: 14px; }
  .completed-label { font-size: 8px; padding: 5px 7px; }
  .score-gain { font-size: 22px; }
  .score-gain small { font-size: 10px; }
  .criteria-row { font-size: 12px; }
  .criteria-row > :last-child { font-size: 11px; }
  .consequence { font-size: 13px; }
  .step-footer { gap: 15px; }
  .step-footer > .field-help { display: block; flex-basis: 100%; max-width: none; font-size: 10px; }
  .step-footer > .button { flex: 1 1 auto; min-height: 44px; font-size: 11px; padding: 11px 13px; }
  .resource-tab { font-size: 11px; padding: 10px 11px; }
  .resource-tabs { gap: 3px; }
  .evidence-item { padding: 16px; font-size: 13px; }
  .evidence-item strong { font-size: 12px; }
  .evidence-item .tag { font-size: 9px; }
  .text-muted, .content-panel > p.text-muted { font-size: 13px; }
  .written-work { padding: 16px; font-size: 13px; }
  .skill-row > div:first-child { font-size: 12px; }
  .skill-row > div:first-child > strong { font-size: 10px; }
  .certificate-card { padding: 30px 24px; }
  .certificate-card h2 { font-size: 27px; }
  .certificate-card > p { font-size: 13px; }
  .certificate-card .field-help { font-size: 9px; }
  .certificate-card .hero-actions > .button { font-size: 11px; }
  .modal-card { padding: 25px 22px; }
  .modal-card > p { font-size: 13px; }
}

@media print {
  .home-intro, .mission-heading-row, .step-dots, .badge-panel { display: none !important; }
  .certificate-card { padding: 70px; color: #26391e; }
  .certificate-card .field-help { color: #455b31; font-size: 11px; }
}

/* A quiet collection of rewards that reveals itself as the player progresses. */
.achievements-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.achievements-heading .page-heading { margin-bottom: 0; }
.achievements-summary { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; margin-top: 2px; padding: 15px 20px; border: 1px solid #34402e; border-radius: 12px; background: #172015; }
.achievement-count { color: var(--lime); font-size: 29px; font-weight: 500; letter-spacing: -1.1px; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.achievement-count strong { font-weight: 550; }
.achievement-count-label { max-width: 100px; color: #a2b199; font-size: 11px; line-height: 1.55; }
.achievements-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 31px; }
.achievement-slot { position: relative; display: grid; place-items: center; isolation: isolate; min-width: 0; min-height: 186px; padding: 16px 11px; overflow: hidden; border: 1px solid #2b372d; border-radius: 15px; background: linear-gradient(145deg, #182019, #111713 75%); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.achievement-slot.is-locked:disabled { opacity: 1; cursor: default; border-style: dashed; border-color: #2e392e; background: linear-gradient(145deg, #151c17, #111612 75%); }
.achievement-slot.is-locked::before { content: ""; position: absolute; z-index: -1; width: 116px; height: 116px; border: 1px solid #273126; border-radius: 50%; background: radial-gradient(circle, #2330213b, transparent 70%); }
.achievement-mystery { display: grid; place-items: center; width: 106px; height: 122px; color: #53634f; }
.achievement-mystery svg { display: block; width: 100%; height: 100%; opacity: .64; }
.achievement-slot.is-unlocked { border-color: #5b7540; background: linear-gradient(145deg, #25351c, #151d13 76%); box-shadow: inset 0 1px 0 #a8cf6720; }
.achievement-slot.is-unlocked::before { content: ""; position: absolute; z-index: -1; inset: 12%; border-radius: 50%; background: radial-gradient(ellipse, #b5e46a21, #9fcc4c09 45%, transparent 72%); }
.achievement-slot.is-unlocked::after { content: ""; position: absolute; right: 12px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px #c8f27a44; }
.achievement-slot.is-unlocked:hover { border-color: #9bb963; background: linear-gradient(145deg, #2d3d20, #1a2315 76%); box-shadow: 0 10px 28px #0003, inset 0 1px 0 #a8cf6733; transform: translateY(-3px); }
.achievement-slot.is-unlocked:active { transform: translateY(-1px); }
.achievement-art { display: grid; place-items: center; width: 100%; max-width: 164px; }
.achievement-art svg { display: block; width: 100%; height: auto; max-height: 158px; overflow: visible; filter: drop-shadow(0 10px 12px #0004); }
.achievement-note { max-width: 650px; margin-top: 23px; color: #97a58f; font-size: 13px; line-height: 1.9; }
.achievement-share-modal { max-width: 500px; }
.achievement-share-preview { display: grid; place-items: center; min-height: 260px; margin: 22px 0 17px; padding: 19px; border: 1px solid #3d4d32; border-radius: 13px; background: radial-gradient(ellipse at 50% 48%, #78964729, transparent 67%), #121a10; }
.achievement-share-preview > svg { display: block; width: min(100%, 260px); height: auto; max-height: 260px; filter: drop-shadow(0 12px 16px #0005); }
.achievement-share-preview > img { display: block; width: 100%; height: auto; border-radius: 8px; }
.achievement-share-status { min-height: 22px; color: #aabb9b; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.achievement-share-status:empty { display: none; }
.achievement-share-status.is-error { color: var(--danger); }
.achievement-share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.achievement-share-actions > .button { flex: 1 1 170px; }
.achievement-share-actions > .button:disabled { cursor: wait; opacity: .6; }
.achievement-share-card { gap: 3px; padding-bottom: 20px; }
.achievement-share-card > div { width: min(100%, 220px); }
.achievement-share-card svg { display: block; width: 100%; height: auto; }
.achievement-share-card figcaption { max-width: 100%; color: #eef6e8; font-size: clamp(17px, 4vw, 22px); font-weight: 650; text-align: center; overflow-wrap: anywhere; }
.achievement-share-card .achievement-share-reason { display: block; margin: 4px 0 0; color: #b9c9af; font-size: 13px; font-weight: 400; line-height: 1.5; text-align: center; }
.achievement-share-modal .achievement-share-actions > .button { flex-basis: 100%; }
.achievement-unlock-notice { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 15px 17px; border: 1px solid #526d3a; border-radius: 10px; background: #25371e; color: #d3e9ba; font-size: 13px; line-height: 1.8; }
.achievement-unlock-notice > svg { flex: 0 0 23px; width: 23px; height: 23px; color: var(--lime); }
.achievement-unlock-notice .button { margin-left: auto; flex: 0 0 auto; }

@media (min-width: 761px) and (max-height: 760px) {
  .sidebar { padding-top: 24px; padding-bottom: 18px; }
  .sidebar .brand { margin-bottom: 28px; }
  .chapter-card { margin-top: 21px; margin-bottom: 19px; padding-top: 15px; padding-bottom: 15px; }
  .chapter-progress { margin-top: 14px; }
  .sidebar-bottom { padding-top: 17px; }
  .reset-link { margin-top: 13px; margin-bottom: 14px; }
}

@media (max-width: 1200px) {
  .achievements-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .achievement-slot { min-height: 180px; }
  .achievements-summary { padding: 13px 15px; gap: 10px; }
}

@media (max-width: 760px) {
  .achievements-heading { gap: 18px; }
  .achievements-summary { padding: 12px 14px; }
  .achievement-count { font-size: 25px; }
  .achievement-count-label { font-size: 10px; max-width: 80px; }
  .achievements-gallery { gap: 12px; margin-top: 25px; }
}

@media (max-width: 510px) {
  .achievements-heading { display: block; }
  .achievements-summary { display: inline-flex; margin-top: 21px; padding: 10px 13px; }
  .achievement-count { font-size: 23px; }
  .achievement-count-label { max-width: none; }
  .achievements-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 22px; }
  .achievement-slot { min-height: 158px; padding: 14px 9px; border-radius: 12px; }
  .achievement-mystery { width: 88px; height: 104px; }
  .achievement-slot.is-locked::before { width: 98px; height: 98px; }
  .achievement-art { max-width: 140px; }
  .achievement-art svg { max-height: 132px; }
  .achievement-note { margin-top: 20px; font-size: 12px; }
  .achievement-share-preview { min-height: 230px; padding: 15px; margin-top: 19px; }
  .achievement-share-preview > svg { max-height: 230px; }
  .achievement-share-actions { gap: 9px; }
  .achievement-share-actions > .button { flex-basis: 100%; }
  .achievement-unlock-notice { flex-wrap: wrap; padding: 14px; font-size: 12px; }
  .achievement-unlock-notice .button { margin-left: 0; width: 100%; }
}

@media print {
  .achievements-heading, .achievements-gallery, .achievement-note, .achievement-unlock-notice { display: none !important; }
}

.topbar .breadcrumb { flex: 1 1 auto; min-width: 0; }
.topbar .breadcrumb > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { flex: 0 0 auto; }
.xp-header { display: inline-flex; align-items: center; gap: 10px; padding: 6px 9px; border: 1px solid #3b4e2e; border-radius: 9px; background: #1b2719; white-space: nowrap; }
.xp-level { color: var(--lime); font-size: 11px; font-weight: 650; line-height: 1.4; }
.xp-header-progress { display: grid; gap: 4px; width: 61px; padding-left: 10px; border-left: 1px solid #3e4e33; }
.xp-header-value { color: #d0dfc5; font-size: 10px; font-weight: 550; font-variant-numeric: tabular-nums; line-height: 1.15; }
.xp-header-track { height: 3px; overflow: hidden; border-radius: 5px; background: #45583a; }
.xp-header-track > span { display: block; max-width: 100%; height: 100%; border-radius: inherit; background: var(--lime); transition: width .25s ease; }
.xp-level-summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px 10px; margin: 15px 0 0; }

@media (max-width: 760px) {
  .xp-header { gap: 7px; padding: 5px 7px; }
  .xp-level, .xp-header-value { font-size: 10px; }
  .xp-header-progress { width: 49px; padding-left: 7px; }
}

@media (max-width: 510px) {
  .topbar .breadcrumb { font-size: 0; gap: 0; }
  .topbar .breadcrumb > span { display: none; }
  .topbar .breadcrumb > strong { max-width: none; font-size: 11px; }
  .xp-header { min-height: 32px; }
}

.account-screen { display: grid; grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr); min-height: 100vh; min-height: 100svh; background: #0d1110; }
.account-screen > * { min-width: 0; }
.account-story { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; min-height: 680px; padding: clamp(30px, 5.5vw, 84px); border-right: 1px solid #34432f; background: radial-gradient(ellipse at 55% 95%, #354b23 0, transparent 55%), linear-gradient(155deg, #233221 0%, #182319 56%, #172218 100%); }
.account-screen .brand { align-self: flex-start; margin: 0; }
.account-story-copy { position: relative; z-index: 1; max-width: 480px; margin-top: clamp(58px, 10vh, 150px); }
.account-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--lime); font-size: 10px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 17px; }
.account-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.account-story-copy :is(h1, h2) { font-size: clamp(30px, 3.3vw, 56px); line-height: 1.09; font-weight: 540; letter-spacing: -.045em; }
.account-story-copy :is(h1, h2) em { color: var(--lime); font-style: normal; }
.account-story-copy > p { margin-top: 20px; max-width: 350px; color: #bdd0b3; font-size: 15px; line-height: 1.8; }
.account-story-art { position: relative; width: min(100%, 390px); height: 260px; margin: auto auto 0; align-self: center; isolation: isolate; pointer-events: none; display: grid; place-items: center; color: #c8f27a; }
.account-story-art::before { content: ""; position: absolute; z-index: -2; inset: 26px -38px -18px; background: linear-gradient(#a9c98c35 1px, transparent 1px), linear-gradient(90deg, #a9c98c35 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, #000, transparent 71%); transform: perspective(410px) rotateX(38deg) rotateZ(-16deg); }
.account-story-art::after { content: ""; position: absolute; z-index: -1; inset: 48px 3% 49px; border: 1px solid #aacb8459; border-radius: 50%; box-shadow: inset 0 0 0 12px #76a35019, 0 0 30px #b1f06d10; transform: rotate(-25deg) scaleY(.64); }
.account-story-art svg { display: block; width: min(100%, 320px); height: auto; }
.account-main { display: flex; flex-direction: column; width: 100%; max-width: 870px; min-height: 100%; margin: 0 auto; padding: clamp(28px, 5vw, 65px); }
.account-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: transparent; color: #a7b4a6; font-size: 13px; text-align: left; }
.account-back:hover { color: var(--lime); }
.account-back svg { flex: 0 0 16px; width: 16px; height: 16px; }
.account-card { width: min(100%, 510px); min-width: 0; margin: auto; padding: clamp(24px, 3.4vw, 39px); border: 1px solid #303c30; border-radius: 20px; background: linear-gradient(156deg, #1a241b, #151b18 70%); box-shadow: 0 18px 55px #0003; }
.account-back + .account-card { margin-top: clamp(18px, 5vh, 60px); }
.account-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 26px; border: 1px solid #344231; border-radius: 10px; background: #111813; }
.account-tabs > :is(button, a) { display: block; min-height: 37px; padding: 8px 9px; border-radius: 7px; color: #a7b9a1; background: transparent; text-align: center; font-size: 13px; line-height: 1.5; }
.account-tabs > :is(button, a):hover { background: #1d2a1c; color: var(--text); }
.account-tabs > :is([aria-current="page"], [aria-current="true"], [aria-selected="true"], .active) { background: #2b3c24; color: var(--lime); font-weight: 650; }
.account-title { font-size: clamp(26px, 2.7vw, 37px); font-weight: 580; line-height: 1.14; letter-spacing: -.04em; overflow-wrap: anywhere; }
.account-subtitle { margin: 13px 0 22px; color: #aebcad; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.account-notice { margin: 16px 0; padding: 11px 13px; border: 1px solid #43553b; border-radius: 8px; background: #222f20; color: #c6d7bd; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.account-notice[data-kind="success"] { border-color: #5d7a42; color: #dcf1c3; background: #273c22; }
.account-notice[data-kind="error"] { border-color: #744a43; color: #ffc6b9; background: #382622; }
.account-google { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 11px 15px; border: 1px solid #495a45; border-radius: 9px; background: #1d271d; color: #edf2e9; font-size: 13px; font-weight: 600; }
.account-google:hover:not(:disabled) { border-color: #859f70; background: #273526; }
.account-google > :is(img, svg) { flex: 0 0 16px; width: 16px; height: 16px; }
.account-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 19px 0; color: #9bae95; font-size: 11px; }
.account-divider::before, .account-divider::after { content: ""; flex: 1; height: 1px; background: #384536; }
.account-form { display: grid; gap: 16px; }
.account-field { display: grid; gap: 7px; min-width: 0; }
.account-field > label, .account-field > span:first-child { color: #dce6d7; font-size: 13px; font-weight: 550; }
.account-field :is(input:not([type="checkbox"]):not([type="radio"]), .input-field) { min-height: 45px; width: 100%; padding: 11px 13px; border: 1px solid #42503f; border-radius: 8px; background: #111712; color: var(--text); font-size: 15px; line-height: 1.5; }
.account-field :is(input, .input-field):focus { outline: 0; border-color: #aacd80; box-shadow: 0 0 0 3px #c8f27a24; }
.account-field :is(small, .field-help) { color: #a4b39e; font-size: 11px; line-height: 1.7; }
.account-input-row { position: relative; min-width: 0; }
.account-field .account-input-row :is(input, .input-field) { padding-right: 100px; }
.account-password-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 6px 8px; border-radius: 5px; background: transparent; color: #aebda8; font-size: 11px; white-space: nowrap; }
.account-password-toggle:hover { background: #263424; color: var(--lime); }
.account-password-toggle svg { width: 16px; height: 16px; }
.account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 17px; }
.account-form .account-actions { margin-top: 2px; }
.account-form > button[type="submit"], .account-form .account-actions > button[type="submit"] { width: 100%; }
.account-actions .button, .account-form > .button { min-height: 42px; font-size: 13px; }
.account-link { display: inline; padding: 0; background: transparent; color: #c2df9e; font-size: inherit; line-height: 1.6; text-align: left; text-decoration: underline; text-decoration-color: #617b4d; text-underline-offset: 3px; overflow-wrap: anywhere; }
.account-link:hover { color: var(--lime); text-decoration-color: currentColor; }
.account-profile { display: flex; align-items: center; gap: 13px; padding: 17px 0 18px; overflow-wrap: anywhere; }
.account-profile > :last-child { min-width: 0; }
.account-profile strong { display: block; }
.account-profile p { color: #afbfaa; font-size: 13px; }
.account-avatar { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 1px solid #698353; border-radius: 50%; background: #2d4228; color: #daf2c0; font-size: 13px; font-weight: 650; }
.account-progress-box { margin: 14px 0 0; padding: 14px 16px; border: 1px solid #42563b; border-radius: 10px; background: #202d1e; color: #c8d9bd; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.account-progress-box strong { color: #deefcf; }
.account-progress-box p + p { margin-top: 8px; }
.topbar-actions :is(.account-entry.button, .account-entry .button) { min-height: 33px; padding: 7px 10px; border-color: #405139; color: #d4e4cb; white-space: nowrap; font-size: 11px; }
.topbar-actions :is(.account-entry.button, .account-entry .button):hover { border-color: #738f56; color: var(--lime); }

@media (max-width: 900px) {
  .account-screen { grid-template-columns: minmax(270px, .83fr) minmax(0, 1.17fr); }
  .account-story { padding: 36px 29px; }
  .account-main { padding: 34px 27px; }
}

@media (max-width: 680px) {
  .account-screen { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .account-story { min-height: 0; padding: 21px 22px 24px; border-right: 0; border-bottom: 1px solid #34432f; }
  .account-story-copy { margin-top: 25px; }
  .account-story-copy :is(h1, h2) { font-size: 28px; }
  .account-story-copy > p { margin-top: 10px; max-width: 460px; font-size: 13px; }
  .account-eyebrow { margin-bottom: 10px; font-size: 9px; }
  .account-story-art { display: none; }
  .account-main { padding: 18px 17px 40px; }
  .account-card { margin-top: 8px; padding: 24px 19px; border-radius: 15px; }
  .account-back + .account-card { margin-top: 14px; }
  .account-tabs { margin-bottom: 21px; }
  .account-subtitle { margin-bottom: 18px; }
  .account-field :is(input:not([type="checkbox"]):not([type="radio"]), .input-field) { font-size: 16px; }
}

@media (max-width: 390px) {
  .topbar-actions { gap: 6px; }
  .topbar-actions :is(.account-entry.button, .account-entry .button) { padding: 6px 7px; font-size: 10px; }
  .topbar-actions :is(.account-entry.button, .account-entry .button) > svg { display: none; }
  .topbar-actions .xp-header { gap: 6px; padding: 5px 6px; }
  .topbar-actions .xp-header-progress { width: 44px; padding-left: 6px; }
}

/* Product directions and bank KPIs */
.branch-heading > .button { margin: 0 0 18px; }
.branch-portfolio { margin-top: 24px; }
.branch-overview, .branch-kpi-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px 22px;
  border: 1px solid #425339;
  border-radius: 14px;
  background: #1b271a;
}
.branch-overview { align-items: stretch; }
.branch-overview-main { display: flex; flex: 1 1 420px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.branch-overview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 18px; }
.branch-overview-stats > div + div { padding-left: 18px; border-left: 1px solid #41513a; }
.branch-overview-stats strong, .branch-overview-stats span, .branch-career strong { display: block; }
.branch-overview-stats strong { color: var(--lime); font-size: 24px; line-height: 1.2; letter-spacing: -.5px; }
.branch-overview-stats span, .branch-unlock p, .branch-kpi-intro p { margin-top: 4px; color: #b0c1a9; font-size: 12px; }
.branch-unlock strong, .branch-kpi-intro strong { font-size: 15px; }
.branch-career { flex: 1 1 250px; padding: 0 15px 0 0; border-right: 1px solid #41513a; }
.branch-career strong { margin: 3px 0 5px; font-size: 16px; line-height: 1.4; }
.branch-career p { color: #b0c1a9; font-size: 12px; line-height: 1.6; }
.branch-grid, .branch-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.branch-card, .branch-metric { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.branch-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 213px; }
.branch-card[data-status="locked"] { background: var(--panel-soft); }
.branch-card[data-status="active"], .branch-card[data-status="done"] { border-color: #4b623d; background: #192218; }
.branch-category { color: #a4b698; font-size: 11px; font-weight: 550; }
.branch-status { flex: 0 0 auto; padding: 4px 8px; border: 1px solid #3c4838; border-radius: 6px; color: #b3c1ac; font-size: 11px; line-height: 1.45; }
.branch-card[data-status="active"] .branch-status, .branch-card[data-status="done"] .branch-status, .branch-status.is-active { border-color: #54723c; background: #26391e; color: var(--lime); }
.branch-card h2 { margin-top: 12px; font-size: 17px; letter-spacing: -.15px; line-height: 1.4; }
.branch-card > p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.branch-card-foot { display: flex; width: 100%; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 15px; }
.branch-card-progress { flex: 1 1 88px; min-width: 0; color: #b0bdab; font-size: 11px; line-height: 1.4; }
.branch-card-progress strong { display: block; white-space: nowrap; color: #d5e4cc; }
.branch-completion { display: flex; gap: 4px; margin-bottom: 5px; }
.branch-completion > span { width: 18px; height: 3px; border-radius: 999px; background: #3a4836; }
.branch-completion > .is-complete { background: var(--lime); }
.branch-card-foot .button { flex: 0 1 auto; min-height: 39px; }
.branch-card-foot .button > span { color: var(--lime); }
.branch-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; }
.branch-tab { display: inline-flex; flex: 0 1 auto; gap: 8px; align-items: center; padding: 7px 10px 7px 8px; min-height: 42px; max-width: 100%; background: var(--panel); border: 1px solid #3b4936; border-radius: 9px; color: var(--muted); font-size: 12px; text-align: left; }
.branch-tab:hover:not(:disabled), .branch-tab[aria-current] { border-color: #6e8a50; color: #dceacd; }
.branch-tab[aria-current] { background: #23321d; }
.branch-tab > span:first-child { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 6px; color: var(--lime); background: #354729; font-weight: 650; }
.branch-mission { max-width: 820px; }
.branch-task-head, .branch-feedback-head, .branch-section-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.branch-task-head h2 { margin-top: 4px; font-size: clamp(20px, 2.7vw, 27px); letter-spacing: -.5px; line-height: 1.3; }
.branch-mission > .branch-brief { margin: 15px 0 21px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: #c9d4c7; line-height: 1.75; white-space: pre-line; }
.branch-choices { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.branch-choices .panel-title { padding: 0; margin-bottom: 12px; font-size: 17px; }
.branch-choices .option-list { margin: 0; }
.branch-option:has(:checked) { border-color: #a9ce72; background: #27341f; }
.branch-option :checked + .option-marker { border-color: var(--lime); background: var(--lime); }
.branch-option :checked + .option-marker::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #293c17; }
.branch-form .account-notice { margin: 0; }
.branch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.branch-feedback .branch-actions { margin-top: 17px; }
.branch-feedback .panel-title { margin-bottom: 5px; }
.branch-score { display: inline-flex; padding: 6px 10px; border: 1px solid #54723c; border-radius: 7px; background: #26391e; color: var(--lime); font-size: 15px; font-weight: 600; }
.branch-feedback > p { margin-top: 12px; color: #c9d4c7; line-height: 1.75; }
.branch-selected { color: #c5d6b9; font-size: 13px; }
.branch-effects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 16px 0 0; }
.branch-effects > div { display: flex; justify-content: space-between; gap: 9px; padding: 7px 9px; border-radius: 6px; background: #202a20; color: #becdb8; font-size: 12px; }
.branch-effects dd, .branch-metric-range dd { margin: 0; font-variant-numeric: tabular-nums; }
.branch-effects dd { white-space: nowrap; font-weight: 600; }
.branch-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.branch-metric h2 { color: #d2dfd0; font-size: 15px; letter-spacing: -.1px; line-height: 1.4; }
.branch-metric-current { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; }
.branch-metric-current > strong { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.2; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.branch-metric-delta { color: var(--muted); font-size: 11px; line-height: 1.5; }
.branch-metric-delta[data-trend="positive"] { color: var(--lime); }
.branch-metric-delta[data-trend="negative"] { color: var(--amber); }
.branch-metric-track { height: 5px; margin: 13px 0 8px; overflow: hidden; border-radius: 999px; background: #334232; }
.branch-metric-track > span { display: block; height: 100%; border-radius: inherit; background: var(--lime); }
.branch-metric-range { display: flex; justify-content: space-between; gap: 8px; margin: 0; color: #a5b3a1; font-size: 11px; }
.branch-metric-range > div:last-child { text-align: right; }
.branch-metric-range dd { color: #d0dfc8; font-size: 13px; font-weight: 550; }
.branch-synergies { margin-top: 19px; }
.branch-section-head .panel-title { margin: 0 0 4px; }
.branch-section-head p, .branch-synergies li p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.branch-synergies ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.branch-synergies li { display: flex; justify-content: space-between; align-items: flex-start; gap: 7px 14px; padding: 13px 0 0; border-top: 1px solid var(--line); }
.branch-synergies li strong { display: block; margin-bottom: 3px; font-size: 14px; }
.branch-synergies li .branch-effects { display: flex; flex-wrap: wrap; margin-top: 9px; }

@media (max-width: 1150px) {
  .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-career { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid #41513a; }
}

@media (max-width: 540px) {
  .branch-grid, .branch-metric-grid, .branch-effects { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .branch-card, .branch-metric { padding: 15px; }
  .branch-card { min-height: 0; }
  .branch-overview, .branch-kpi-intro { gap: 12px; margin-bottom: 16px; padding: 14px 15px; }
  .branch-overview-main { display: grid; grid-template-columns: minmax(0, 1fr); }
  .branch-overview-stats { gap: 10px; }
  .branch-overview-stats > div + div { padding-left: 10px; }
  .branch-overview-stats strong { font-size: 19px; }
  .branch-overview-stats span { font-size: 11px; }
  .branch-tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
  .branch-synergies li { flex-wrap: wrap; }
}

.admin-heading { margin-bottom: 16px; }
.admin-heading .eyebrow { margin: 0; }
.admin-nav, .admin-paging, .admin-paging > div, .admin-search > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-nav { margin-bottom: 24px; }
.admin-nav [aria-current="page"] { color: var(--lime); background: var(--lime-soft); }
.admin-search { max-width: 640px; margin-bottom: 20px; }
.admin-search input { flex: 1 1 220px; width: auto; max-width: 100%; }
.admin-people, .admin-answer-list, .admin-events, .admin-branch-answers { padding: 0; margin: 0; list-style: none; }
.admin-people { display: grid; gap: 8px; }
.admin-person {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.admin-person-id { display: grid; gap: 4px; overflow-wrap: anywhere; }
.admin-person-id span, .admin-profile p { color: var(--muted); }
.admin-person-progress, .admin-detail-progress dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.admin-person-progress, .admin-profile dl, .admin-detail-progress dl, .admin-person-progress dd, .admin-profile dd, .admin-detail-progress dd { margin: 0; }
.admin-person-progress dt, .admin-profile dt, .admin-detail-progress dt { font-size: 12px; color: var(--muted); }
.admin-person-progress dd, .admin-profile dd, .admin-detail-progress dd { margin-top: 4px; }
.admin-paging { justify-content: space-between; margin-top: 16px; }
.admin-profile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; overflow-wrap: anywhere; }
.admin-profile dl { display: grid; gap: 12px; }
.admin-identity { margin-top: 12px; font-size: 12px; color: var(--muted); }
.admin-detail-section { margin-top: 16px; }
.admin-detail-progress dl { margin-top: 16px; }
.admin-answer-list > li, .admin-events > li { padding: 16px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-answer-list > li:first-child, .admin-events > li:first-child { border-top: 0; }
.admin-answer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.admin-answer-head h3, .admin-answer-head h4, .admin-written h4 { margin: 0; }
.admin-written { margin-top: 12px; }
.admin-written p { white-space: pre-wrap; }
.admin-branch-answers { padding-left: 12px; border-left: 1px solid var(--line); }
.admin-branch-answers > li { padding: 10px 0; }
.admin-table-wrap { overflow-x: auto; }
.admin-directions table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-directions caption { text-align: left; font-weight: 700; padding-bottom: 12px; }
.admin-directions th, .admin-directions td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.admin-directions th:not(:first-child), .admin-directions td { text-align: right; }
.admin-directions thead { color: var(--muted); font-size: 13px; }
.admin-event-import summary { cursor: pointer; margin-top: 8px; color: var(--lime); }
@media (max-width: 850px) {
  .admin-person { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-person-progress { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .admin-profile { grid-template-columns: minmax(0, 1fr); }
  .admin-person { grid-template-columns: minmax(0, 1fr); }
  .admin-person-progress { grid-row: auto; }
  .admin-person > button { justify-self: start; }
}

/* Work desk chapter cards */
.chapter-desk { width: 100%; }
.chapter-desk-intro { margin-bottom: 26px; }
.chapter-desk-intro .page-subtitle { max-width: 560px; }
.chapter-desk-list { display: grid; gap: 14px; }
.chapter-desk-chapter {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.chapter-desk-chapter[data-status="active"] { border-color: #50663a; background: var(--panel); }
.chapter-desk-chapter[data-status="available"] { border-color: #50663a; }
.chapter-desk-summary { padding: 16px 22px 18px; }
.chapter-desk-summary > h2 { width: 100%; }
.chapter-desk-chapter[data-status="locked"] .chapter-desk-summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.chapter-desk-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 4px;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}
.chapter-desk-toggle:hover .chapter-desk-chapter-title { color: var(--lime); }
.chapter-desk-label { min-width: 0; }
.chapter-desk-chapter-id {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
}
.chapter-desk-chapter-title {
  display: block;
  margin-top: 3px;
  font-size: clamp(18px, 2.55vw, 24px);
  line-height: 1.17;
  font-weight: 630;
  letter-spacing: -.55px;
}
.chapter-desk-chapter[data-status="locked"] .chapter-desk-chapter-title { color: #bbc7bb; }
.chapter-desk-meta { color: var(--muted); display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.chapter-desk-status {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  text-align: center;
}
.chapter-desk-chapter[data-status="active"] .chapter-desk-status,
.chapter-desk-chapter[data-status="available"] .chapter-desk-status {
  color: var(--lime);
  border-color: #546a40;
  background: var(--lime-soft);
}
.chapter-desk-chevron { display: grid; place-items: center; transition: transform .18s; }
.chapter-desk-toggle[aria-expanded="true"] .chapter-desk-chevron { transform: rotate(180deg); }
.chapter-desk-description { padding-inline: 4px; margin-top: 6px; color: var(--muted); line-height: 1.6; font-size: 13px; }
.chapter-desk-progress { padding-inline: 4px; margin-top: 3px; color: #c3cfc0; font-size: 12px; }
.chapter-desk-chapter[data-status="locked"] .chapter-desk-description,
.chapter-desk-chapter[data-status="locked"] .chapter-desk-progress { padding-inline: 0; }
.chapter-desk-summary.chapter-desk-placeholder { align-items: center; padding-block: 9px; }
.chapter-desk-placeholder .chapter-desk-chapter-id { color: #bbc7bb; font-size: 15px; }
.chapter-desk-body { min-width: 0; padding: 20px 22px 24px; border-top: 1px solid var(--line); }
.chapter-desk-body > :first-child { margin-top: 0; }
.chapter-desk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.chapter-unlock-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #50663a;
  border-radius: 12px;
  background: var(--lime-soft);
}
.chapter-unlock-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chapter-desk-body .branch-card-title { margin-top: 12px; font-size: 17px; letter-spacing: -.15px; line-height: 1.4; }
.chapter-desk-body .branch-heading { margin-bottom: 16px; }
.chapter-desk-access {
  display: flex;
  align-items: start;
  gap: 14px;
  border: 1px solid #425335;
  border-radius: 12px;
  background: #202b1e;
  padding: 16px;
}
.chapter-desk-access-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--lime);
}
.chapter-desk-access h3 { font-size: 17px; }
.chapter-desk-access p { max-width: 530px; margin-top: 6px; color: #c2cdbf; font-size: 13px; }
.chapter-desk-access .button { margin-top: 14px; }
.chapter-desk-access .field-help { color: var(--muted); font-size: 11px; }
@media (max-width: 640px) {
  .chapter-desk-intro { margin-bottom: 18px; }
  .chapter-desk-list { gap: 10px; }
  .chapter-desk-summary { padding: 13px 12px; }
  .chapter-desk-body { padding: 14px 12px 16px; }
  .chapter-desk-meta { gap: 5px; }
  .chapter-desk-status { max-width: 92px; font-size: 10px; padding: 4px 6px; }
  .chapter-desk-access { padding: 12px; gap: 9px; }
  .chapter-desk-access-icon { width: 24px; height: 24px; flex-basis: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-desk-chevron { transition: none; }
}

/* First payment quest map and exercises */
.quest-map-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.quest-map-intro .page-title { font-size: clamp(31px, 4vw, 49px); }
.quest-map-intro .page-subtitle { max-width: 595px; }
.quest-map-progress {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 11px;
  padding: 13px 17px;
  border: 1px solid #435532;
  border-radius: 12px;
  background: var(--lime-soft);
}
.quest-map-progress > strong { color: var(--lime); font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quest-map-progress > span { color: #c4d3bc; font-size: 12px; }
.quest-map-progress > button { grid-column: 1 / -1; margin-top: 7px; }
.quest-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.quest-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-soft);
}
.quest-card[data-status="available"] { border-color: #4d623a; }
.quest-card[data-key] { background: #1b2519; }
.quest-card[data-key][data-status="locked"] { border-color: #3a4435; background: #171e17; }
.quest-card-marker {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.quest-card[data-status="available"] .quest-card-marker,
.quest-card[data-status="completed"] .quest-card-marker { color: var(--lime); background: var(--lime-soft); }
.quest-card-info h3 { font-size: 15px; overflow-wrap: anywhere; }
.quest-card-key { display: block; margin-bottom: 3px; color: #c7d6a9; font-size: 11px; font-weight: 600; }
.quest-card-progress, .quest-card-dependency { margin-top: 4px; font-size: 12px; color: var(--muted); }
.quest-card-dependency { color: #bbc8b6; }
.quest-card-action > button { min-height: 40px; padding: 8px 12px; }
.quest-epilogue-card .chapter-desk-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quest-epilogue-card h2 { width: auto; }
.quest-epilogue-card .button { flex-shrink: 0; }
.quest-work { max-width: 830px; }
.quest-page-heading { display: grid; gap: 9px; justify-items: start; margin-bottom: 20px; }
.quest-page-heading .page-subtitle { margin-top: 0; }
.quest-page-meta { margin-top: 8px; color: var(--muted); font-size: 12px; }
.quest-page-tags, .quest-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.quest-page-tags .tag { padding: 4px 9px; }
.quest-key-tag { color: var(--lime); }
.quest-actions { margin-top: 18px; }
.quest-brief { max-width: 68ch; font-size: 15px; line-height: 1.75; white-space: pre-line; }
.quest-brief p + p, .quest-evidence p + p { margin-top: 8px; }
.quest-evidence {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #394634;
  border-radius: 10px;
  background: var(--panel-soft);
  color: #d2decf;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}
.quest-evidence h2, .quest-saved-answer h2 { margin-bottom: 7px; font-size: 14px; font-weight: 650; }
.quest-form { margin-top: 18px; }
.quest-form fieldset { padding: 0; margin: 0; min-width: 0; border: 0; }
.quest-form legend { font-size: 16px; font-weight: 650; }
.quest-form .field { margin: 14px 0 0; }
.quest-form .input-field { width: 100%; }
.quest-form .quest-options { margin: 11px 0; }
.quest-calculations, .quest-calculation-review { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px 14px; }
.quest-calculations { margin-bottom: 18px; }
.quest-calculation-review { margin: 0; }
.quest-calculation-review > div { padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.quest-calculation-review dt { color: var(--muted); font-size: 12px; }
.quest-calculation-review dd { margin: 3px 0 0; color: var(--lime); overflow-wrap: anywhere; }
.quest-option:has(input:checked) { background: var(--lime-soft); border-color: #a9ce72; }
.quest-option:has(input:checked) .option-marker { border-color: var(--lime); background: var(--lime); }
.quest-option:has(input:checked) .option-marker::after { content: ""; width: 8px; height: 8px; background: #293c17; border-radius: 50%; }
.quest-feedback {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #765348;
  border-radius: 10px;
  background: #352822;
}
.quest-feedback[data-passed="true"] { border-color: #536939; background: var(--lime-soft); }
.quest-feedback h2 { margin-bottom: 6px; font-size: 16px; }
.quest-feedback p, .quest-saved-answer p { color: #d2ddce; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.quest-feedback strong { display: inline-block; margin-top: 8px; color: var(--lime); }
.quest-saved-answer { margin-top: 18px; }
.quest-review + .quest-review { margin-top: 14px; }
.quest-review h3 { margin: 10px 0 5px; }
.quest-review p { color: #d2ddce; }
.quest-skill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0; list-style: none; }
.quest-skill-basis { margin-top: 8px; font-size: 13px; }
.quest-skill-list > li { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-soft); }
.quest-skill-list h3 { margin: 0 0 4px; font-size: 14px; }
.quest-skill-list p, .quest-skill-list ul { color: var(--muted); font-size: 12px; }
.quest-skill-list ul { padding: 0 0 0 17px; margin: 6px 0 0; }
.quest-review #epilogue-form legend { margin-top: 16px; }
.quest-reflection-summary { display: grid; gap: 11px; }
.quest-reflection-summary dt { color: var(--muted); font-weight: 600; }
.quest-reflection-summary dd { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.quest-final-score { margin-top: 8px; }
.quest-final-score strong { color: var(--lime); }
.quest-certificate-form { width: 100%; margin: 0 0 4px; }
.quest-certificate-form .quest-actions { margin-top: 6px; }
.quest-certificate-form .input-field { width: auto; flex: 1 1 190px; }
@media (max-width: 620px) {
  .quest-map-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .quest-map-progress { justify-content: start; justify-items: start; }
  .quest-card { gap: 8px; }
  .quest-card-action { grid-column: 2 / -1; }
  .quest-epilogue-card .chapter-desk-summary { flex-wrap: wrap; }
  .quest-skill-list { grid-template-columns: minmax(0, 1fr); }
}
