@layer reset, base, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  button, input, select { font: inherit; }
  button, a, input, select { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; border: 0; }
  button:disabled { cursor: not-allowed; }
  a { color: inherit; }
  svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
}
@layer base {
  :root { --bg: #f4f3ed; --panel: #fffefa; --ink: #283d35; --body: #455149; --muted: #737c70; --line: #e3e5db; --green: #355d47; --green-soft: #e8eee2; --sage: #92a98b; --gold: #b89450; --rose: #b77a69; --blue: #729598; --red: #ac584a; --radius: 12px; font-family: 'Segoe UI', Arial, sans-serif; color: var(--body); font-size: 14px; background: var(--bg); font-synthesis: none; text-rendering: optimizeLegibility; }
  body { min-width: 340px; line-height: 1.5; }
  button { color: inherit; background: none; touch-action: manipulation; }
  button, a, input, select { outline-offset: 4px; }
  :focus-visible { outline: 2px solid #9c643c; }
  button, a { transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s; }
  button:disabled { opacity: .48; }
  button:not(:disabled):active { filter: brightness(.96); }
  h1, h2, h3 { color: var(--ink); font-weight: 600; }
  h1, .welcome h1, .panorama-copy h2, .quote-card { font-family: Georgia, 'Times New Roman', serif; }
  h2 { font-size: 17px; line-height: 1.4; }
  h3 { font-size: 16px; }
  input, select { color: var(--ink); background: #fffefb; border: 1px solid #d9ded1; border-radius: 7px; padding: 12px; width: 100%; min-height: 46px; }
  select { cursor: pointer; }
  input[type=range] { padding: 0; accent-color: var(--green); min-height: 30px; }
  input::placeholder { color: #696f65; }
  ::selection { background: #dce8cf; }
  .icon { width: 20px; height: 20px; }
  .skip-link { position: fixed; z-index: 200; top: -80px; left: 12px; background: var(--green); color: white; padding: 12px 20px; border-radius: 6px; }
  .skip-link:focus { top: 12px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
}
@layer components {
  .brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
  .brand > svg { width: 43px; height: 49px; }
  .brand > span { font-family: Georgia, serif; font-size: 28px; line-height: .93; letter-spacing: -.9px; }
  .brand b { font-weight: 400; }
  .brand-dot, .heading-dot { color: #976046; }
  .sidebar { width: 216px; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 32px 18px 19px; border-right: 1px solid var(--line); background: #eeefe7; z-index: 30; }
  .sidebar .brand { margin: 0 12px 47px; }
  .sidebar-caption { font-size: 10px; letter-spacing: 1.7px; color: #697063; padding-left: 17px; margin-bottom: 13px; font-weight: 600; }
  .navigation { display: grid; gap: 5px; }
  .nav-item { display: flex; align-items: center; text-align: left; gap: 12px; min-height: 45px; width: 100%; padding: 11px 14px; border-radius: 7px; font-size: 13px; color: #667162; }
  .nav-item .icon { width: 18px; height: 18px; }
  .nav-item:hover { color: var(--green); background: #e2e8db; }
  .nav-item.active { background: #dde6d7; color: #35543c; font-weight: 600; }
  .nav-count { margin-left: auto; font-size: 11px; color: #63715b; }
  .sidebar-note { margin: auto 14px 27px; padding-top: 38px; color: #687161; }
  .sidebar-note .icon { width: 29px; height: 29px; stroke-width: 1.1; margin-bottom: 11px; }
  .sidebar-note p { font-family: Georgia, serif; font-size: 16px; line-height: 1.6; font-style: italic; }
  .sidebar-bottom { border-top: 1px solid #dde1d4; padding-top: 14px; }
  .sidebar-bottom .nav-item { font-size: 12px; min-height: 40px; }
  .local-label { display: flex; gap: 8px; align-items: center; font-size: 8px; letter-spacing: 1.3px; color: #637259; font-weight: 600; white-space: nowrap; }
  .sidebar .local-label { margin: 19px 7px 0; font-size: 7.5px; letter-spacing: 1px; }
  .local-label > span, .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #7e9a6c; display: inline-block; box-shadow: 0 0 0 3px #7e9a6c12; flex-shrink: 0; }
  .local-label small { font-size: 9px; margin-left: auto; font-weight: 400; }
  .app-area { margin-left: 216px; }
  .topbar { display: flex; justify-content: space-between; height: 75px; align-items: center; padding: 0 42px; border-bottom: 1px solid var(--line); background: #f7f6f0; }
  .topbar-quote { font-size: 12px; color: #677062; }
  .topbar-right { display: flex; gap: 23px; align-items: center; }
  .save-status { color: #676f61; font-size: 11px; display: flex; align-items: center; gap: 5px; }
  .save-status .icon { width: 13px; height: 13px; }
  .icon-btn { width: 40px; height: 40px; padding: 10px; display: inline-flex; justify-content: center; align-items: center; border-radius: 8px; }
  .icon-btn:hover { background: #e9ede2; }
  .icon-btn.small { width: 32px; height: 32px; padding: 7px; }
  .icon-btn.small .icon { width: 17px; height: 17px; }
  .mobile-brand { display: none; }
  #main { max-width: 1440px; padding: 31px 42px 124px; margin: 0 auto; outline: none; }
  .page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
  .eyebrow { letter-spacing: 1.7px; font-size: 9px; font-weight: 600; color: #65705e; }
  .page-heading h1 { font-size: clamp(28px, 2.7vw, 42px); font-weight: 400; line-height: 1.3; letter-spacing: -.9px; margin: 7px 0 11px; }
  .person-meta { display: flex; flex-wrap: wrap; gap: 17px; align-items: center; font-size: 11px; color: #696f64; }
  .person-meta > span { display: inline-flex; gap: 5px; align-items: center; }
  .person-meta .icon { width: 13px; height: 13px; }
  .person-meta .meta-life { color: #5c7454; }
  .person-meta .meta-life::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: #8da27d; margin-right: 2px; }
  .age-display { display: flex; align-items: center; padding-right: 5px; gap: 11px; }
  .age-display strong { font-family: Georgia, serif; font-size: 64px; line-height: 1; letter-spacing: -3px; font-weight: 400; color: var(--ink); }
  .age-display div { display: flex; flex-direction: column; padding-top: 10px; }
  .age-display div > span { font-size: 16px; color: #647160; }
  .age-display small { font-size: 10px; color: #697062; margin-top: 3px; }
  .life-panorama { position: relative; border: 1px solid #d6decb; border-radius: var(--radius); overflow: hidden; background: #e7ecdc; }
  .panorama-heading { position: absolute; z-index: 2; top: 19px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .chapter-label { font-size: 8px; color: #52684c; font-weight: 600; letter-spacing: 1.5px; display: flex; align-items: center; gap: 11px; }
  .chapter-label i { width: 16px; height: 1px; background: #819375; }
  .weather-label { display: flex; gap: 5px; align-items: center; font-size: 10px; color: #5f7259; }
  .weather-label .icon { width: 15px; height: 15px; }
  .panorama-copy { position: relative; z-index: 1; padding: 50px 24px 4px; pointer-events: none; background: #e1e8d9; }
  .panorama-copy h2 { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.27; font-weight: 400; letter-spacing: -.5px; text-shadow: 0 1px 10px #e9eddc; }
  .panorama-copy h2 em { color: #586f4d; font-weight: 400; }
  .life-panorama canvas { width: 100%; display: block; height: auto; aspect-ratio: 960 / 280; image-rendering: pixelated; margin-top: -16px; }
  .panorama-bottom { min-height: 37px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; font-size: 9px; color: #637259; background: #eef0e3; border-top: 1px solid #dce3cf; }
  .panorama-bottom span:first-child { display: flex; align-items: center; gap: 7px; }
  .panorama-bottom .icon { width: 13px; height: 13px; }
  .stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 21px 0 27px; }
  .stat-card { background: var(--panel); border: 1px solid var(--line); padding: 17px 17px 14px; border-radius: 10px; --stat: #8eaa87; }
  .stat-card.gold { --stat: #c7a664; }
  .stat-card.blue { --stat: #85a2a2; }
  .stat-card.rose { --stat: #c19785; }
  .stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
  .stat-top > span { display: flex; align-items: center; gap: 8px; font-size: 11px; }
  .stat-top .icon { color: var(--stat); width: 17px; height: 17px; }
  .stat-top strong { font-family: Georgia, serif; font-size: 24px; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
  .stat-top small { color: #6b6f66; font-family: 'Segoe UI', sans-serif; font-size: 9px; margin-left: 3px; }
  .meter { width: 100%; height: 4px; background: #edf0e7; border-radius: 4px; overflow: hidden; }
  .meter > span { display: block; height: 100%; background: var(--stat, #8aa47f); border-radius: inherit; transition: width .35s; }
  .meter.large { height: 7px; margin-top: 20px; }
  .meter.rose > span { background: #b89680; }
  .stat-caption { font-size: 9px; color: #697063; margin-top: 8px; }
  .overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 22px; align-items: start; }
  .main-column, .side-column, .detail-grid > aside { display: grid; gap: 21px; min-width: 0; }
  .panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
  .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
  .section-heading h2 { font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
  .section-heading p { font-size: 10px; color: #697062; margin-top: 4px; }
  .section-heading > .icon { color: #66705d; }
  .section-heading > span { font-size: 10px; color: var(--muted); }
  .pill { display: inline-flex; align-items: center; border: 1px solid #dce3d5; padding: 4px 8px; border-radius: 4px; font-size: 9px; color: #637255; line-height: 1.4; white-space: nowrap; }
  .pill.subtle { background: #f4f5ee; color: #676f5f; border-color: #e6e8dd; }
  .pill.positive { background: #ecf1e7; color: #4e7144; border-color: #d9e5d0; }
  .next-step { border: 1px solid #dce0d1; border-radius: var(--radius); padding: 23px; background: #eceedf; display: flex; gap: 17px; }
  .next-step-icon { width: 37px; height: 37px; border: 1px solid #cfd8bf; background: #e4e9d7; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #64724f; flex-shrink: 0; }
  .next-step .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .next-step h2 { margin: 6px 0 7px; font-family: Georgia, serif; font-weight: 400; font-size: 20px; }
  .next-step p { font-size: 11px; line-height: 1.75; color: #67715c; }
  .next-step .text-btn { margin-top: 9px; font-size: 10px; font-weight: 600; }
  .focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .focus-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 15px 13px 13px; border: 1px solid #e5e8dd; background: #fffefa; border-radius: 8px; min-height: 121px; }
  .focus-card > .icon { width: 21px; height: 21px; color: #65705f; margin-bottom: 11px; }
  .focus-card b { font-size: 11px; color: #4b5d42; font-weight: 600; margin-bottom: 5px; }
  .focus-card > span:not(.focus-check) { font-size: 9px; line-height: 1.5; color: #686f60; }
  .focus-card:hover { background: #f3f5eb; border-color: #b8c6aa; }
  .focus-card.selected { background: #edf2e6; border-color: #9bad86; box-shadow: inset 0 0 0 .5px #9bad86; }
  .focus-card.selected > .icon { color: #5b7448; }
  .focus-check { position: absolute; right: 10px; top: 11px; background: #8da57b; color: white; border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; }
  .focus-check .icon { width: 10px; height: 10px; stroke-width: 2; }
  .energy-strip { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 13px; display: flex; align-items: center; gap: 20px; font-size: 9px; color: #696f62; }
  .energy-strip > span { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
  .energy-strip .icon { width: 12px; height: 12px; color: #7a6d44; }
  .energy-strip b { font-weight: 500; color: #627159; }
  .energy-meter { height: 3px; flex: 1; background: #edf0e6; border-radius: 4px; }
  .energy-meter span { display: block; height: 3px; background: #bcae86; border-radius: inherit; }
  .actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .expand-actions { width: 100%; justify-content: center; margin: 13px 0 -7px; font-size: 10px; }
  .pregnancy-note { display: flex; gap: 16px; align-items: flex-start; background: #ecefdf; margin-bottom: 20px; }
  .pregnancy-note > .icon { color: #69815b; margin-top: 4px; }
  .pregnancy-note h2 { font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
  .pregnancy-note p { color: #64745b; font-size: 12px; line-height: 1.8; margin-top: 8px; }
  .action-card { display: flex; text-align: left; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; min-height: 62px; }
  .action-card:hover { background: #f1f4e9; }
  .action-card > .icon:first-child { width: 17px; height: 17px; color: #65715a; }
  .action-card div { display: grid; gap: 4px; }
  .action-card b { font-size: 10px; font-weight: 600; color: #5a6b4f; }
  .action-card span { font-size: 9px; color: #68705e; }
  .action-card > .icon:last-child { margin-left: auto; width: 12px; height: 12px; color: #68715e; }
  .action-card.unavailable { opacity: .63; }
  .panel-label { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 1.1px; color: #66705e; }
  .panel-label > .icon { width: 15px; height: 15px; }
  .panel-label .icon-btn { margin-left: auto; }
  .money-panel { padding: 17px 20px 0; overflow: hidden; }
  .cash-label { margin-top: 14px; font-size: 10px; color: #687060; }
  .cash-value { color: var(--ink); font-family: Georgia, serif; font-size: 33px; letter-spacing: -.8px; margin-top: 3px; line-height: 1.4; }
  .sparkline { width: 100%; height: 44px; margin: 4px 0 12px; }
  .finance-row { display: flex; justify-content: space-between; gap: 5px; align-items: center; font-size: 10px; margin-bottom: 12px; }
  .finance-row > span { display: flex; align-items: center; gap: 6px; color: #68705f; }
  .finance-row b { font-weight: 500; color: #53654a; }
  .tiny-circle { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
  .tiny-circle.green { background: #8ca67c; }
  .tiny-circle.orange { background: #bd9b74; }
  .finance-balance { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 6px; border-top: 1px solid var(--line); padding: 13px 0 18px; font-size: 9px; color: #67715e; }
  .finance-balance b { font-size: 11px; font-weight: 600; }
  .text-green { color: #507646 !important; }
  .text-red { color: #9c5c4d !important; }
  .budget-link { border-top: 1px solid var(--line); background: #f9faf3; display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; width: calc(100% + 40px); margin-left: -20px; font-size: 10px; color: #637155; }
  .budget-link:hover { background: #ebf0e2; }
  .budget-link .icon { width: 13px; height: 13px; }
  .context-panel { padding: 20px; }
  .context-panel .panel-label { font-size: 8px; margin-bottom: 6px; }
  .context-row { display: flex; gap: 11px; align-items: center; width: 100%; text-align: left; padding: 15px 0; border-bottom: 1px solid #eceee4; }
  .context-row:last-child { border-bottom: none; padding-bottom: 0; }
  .context-row:hover b { color: #3b6847; }
  .context-icon { background: #f0f2e8; border: 1px solid #e6eadd; border-radius: 7px; width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; color: #65705b; flex-shrink: 0; }
  .context-icon .icon { width: 16px; height: 16px; }
  .context-row > span:nth-child(2) { display: grid; gap: 2px; }
  .context-row small { font-size: 9px; color: #686e60; }
  .context-row b { font-size: 10px; font-weight: 500; color: #5c6a51; }
  .context-row > .icon { margin-left: auto; width: 11px; height: 11px; color: #696f5f; }
  .life-map-panel { padding: 20px; }
  .life-map-panel .section-heading h2 { font-size: 13px; }
  .life-map-panel .section-heading .icon { width: 16px; height: 16px; }
  .life-dots { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 5px; margin: 3px 0 15px; }
  .life-dot { aspect-ratio: 1; border-radius: 2px; background: #e9eddf; border: 1px solid #e4e8db; }
  .life-dot.lived { background: #9baf89; border-color: #95a881; }
  .life-dot.current { background: #c29c68; border-color: #b9905f; box-shadow: 0 0 0 2px #c29c6822; }
  .map-legend { display: flex; justify-content: space-between; font-size: 7px; color: #69705d; gap: 3px; }
  .map-legend span { display: inline-flex; align-items: center; gap: 4px; }
  .map-legend i { width: 5px; height: 5px; border-radius: 1px; display: inline-block; }
  .map-legend i.lived { background: #9baf89; }
  .map-legend i.current { background: #c29c68; }
  .life-map-panel p { font-size: 11px; color: #69705e; font-family: Georgia, serif; line-height: 1.8; margin-top: 18px; font-style: italic; }
  .recent-entries { display: grid; gap: 17px; }
  .recent-entry { display: flex; gap: 10px; align-items: flex-start; }
  .entry-dot { width: 6px; height: 6px; border: 1px solid #a9b497; border-radius: 50%; margin-top: 5px; background: #dce6cf; flex-shrink: 0; }
  .recent-entry > div { display: grid; gap: 4px; }
  .recent-entry b { font-size: 11px; font-weight: 500; color: #627054; }
  .recent-entry div > span { font-size: 10px; color: #696f60; line-height: 1.6; }
  .recent-entry small { margin-left: auto; white-space: nowrap; font-size: 9px; color: #6b7061; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 19px; border-radius: 7px; font-size: 11px; font-weight: 500; min-height: 43px; white-space: nowrap; border: 1px solid transparent; text-decoration: none; }
  .btn .icon { width: 15px; height: 15px; }
  .btn-primary { color: #f8f8f0; background: #355941; border-color: #355941; box-shadow: 0 3px 5px #3559410c; }
  .btn-primary:hover { background: #274934; border-color: #274934; }
  .btn-secondary { background: #fffefa; color: #627256; border-color: #dce1d2; }
  .btn-secondary:hover { background: #edf2e4; border-color: #b8c9a6; }
  .btn-disabled { background: #f0f1e9; color: #68705f; border-color: #e2e5d9; }
  .btn-large { padding: 16px 24px; font-size: 13px; min-height: 52px; }
  .full-width { width: 100%; }
  .text-btn { display: inline-flex; align-items: center; gap: 7px; color: #5d734f; font-size: 11px; min-height: 32px; padding: 4px 0; }
  .text-btn:hover { color: #284d31; }
  .text-btn .icon { width: 13px; height: 13px; }
  .inline-icon { width: 22px; height: 24px; padding: 4px; vertical-align: middle; border-radius: 4px; }
  .inline-icon .icon { width: 13px; height: 13px; }
  .inline-icon:hover { background: #e4eadb; }
  .page-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; color: #6a7061; font-size: 9px; }
  .page-footer > span:first-child { font-family: Georgia, serif; font-style: italic; font-size: 11px; }
  .timebar { position: fixed; bottom: 0; left: 216px; right: 0; z-index: 20; border-top: 1px solid #dce1d3; background: #fafaf4f5; backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 84px; padding: 13px 42px max(13px, env(safe-area-inset-bottom)); }
  .timebar-date { display: flex; gap: 12px; align-items: center; }
  .timebar-date > .icon { color: #65705b; width: 18px; height: 18px; }
  .timebar-date > div { display: grid; gap: 3px; }
  .timebar-date strong { font-size: 12px; font-weight: 500; color: #596e4d; }
  .timebar-date small { font-size: 9px; color: #686f5e; }
  .timebar-controls { display: flex; gap: 10px; align-items: center; }
  .play-btn { border: 1px solid #e0e5d7; width: 37px; height: 37px; color: #607352; background: #fffefa; }
  .play-btn .icon { width: 15px; height: 15px; }
  .play-btn.is-running { background: #e2ebd6; }
  .speed-controls { display: flex; gap: 1px; align-items: center; }
  .speed-controls button { min-width: 30px; height: 35px; border-radius: 5px; color: #686f5f; font-size: 10px; }
  .speed-controls .active { color: #50713f; background: #e9eedf; }
  .speed-controls button:hover { color: #355941; }
  .time-divider { height: 26px; width: 1px; background: #e1e5d9; margin: 0 3px; }
  .decision-card { position: relative; display: flex; align-items: flex-start; gap: 16px; background: #f3eddd; border: 1px solid #dfd1ad; border-radius: var(--radius); padding: 24px; }
  .decision-symbol { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: #eae0c6; border-radius: 50%; color: #7f6c3b; flex-shrink: 0; }
  .decision-card .eyebrow { color: #7d6b3f; font-size: 8px; }
  .decision-card h2 { font-family: Georgia, serif; font-size: 22px; font-weight: 400; margin: 8px 0; }
  .decision-card p { color: #736c54; font-size: 11px; line-height: 1.8; }
  .decision-card .btn { margin-top: 16px; }
  .decision-indicator { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #b59b5f; top: 20px; right: 20px; }
  .section-intro { font-size: 13px; line-height: 1.8; color: #67705e; margin: -2px 0 26px; max-width: 800px; }
  .detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 25px; align-items: start; }
  .detail-grid > div, .detail-grid > aside { min-width: 0; }
  .detail-grid > aside > .panel h2 { margin-bottom: 18px; }
  .education-current { background: #edf0e2; padding: 27px; min-height: 187px; }
  .large-section-icon { float: right; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #647154; border: 1px solid #cfd9c0; margin-left: 15px; }
  .large-section-icon .icon { width: 26px; height: 26px; }
  .education-current h2 { font-family: Georgia, serif; font-weight: 400; font-size: 27px; margin: 8px 0 12px; }
  .education-current p { max-width: 570px; font-size: 12px; line-height: 1.8; color: #65705a; }
  .section-heading.outside { margin: 28px 0 17px; }
  .opportunity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
  .opportunity { display: flex; flex-direction: column; min-height: 290px; padding: 23px; }
  .opportunity-top { display: flex; justify-content: space-between; align-items: center; }
  .opportunity-top > .icon { width: 23px; height: 23px; color: #607252; }
  .opportunity h3 { margin: 17px 0 8px; font-size: 18px; font-family: Georgia, serif; font-weight: 400; }
  .opportunity p { font-size: 11px; line-height: 1.8; color: #686e5f; margin-bottom: 17px; }
  .opportunity-detail { display: flex; flex-wrap: wrap; gap: 9px; justify-content: space-between; align-items: center; font-size: 10px; margin-top: auto; }
  .opportunity-detail b { font-size: 12px; color: #607450; font-weight: 600; }
  .opportunity-detail > span { color: #696e61; }
  .requirement { min-height: 36px; font-size: 9px; color: #736b59; display: flex; align-items: center; gap: 6px; margin: 9px 0; }
  .requirement .icon { width: 12px; height: 12px; }
  .skill-list { display: grid; gap: 22px; margin-top: 24px; }
  .skill-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 11px; color: #66715b; }
  .skill-row b { font-weight: 500; font-size: 12px; color: #5f7352; }
  .skill-row .meter { grid-column: 1 / -1; }
  .muted-note { font-size: 11px; color: #6a7061; line-height: 1.8; margin-top: 21px; }
  .quote-card { padding: 30px 20px; color: #64705a; font-size: 23px; font-style: italic; line-height: 1.6; }
  .quote-card span { display: block; font-family: 'Segoe UI', sans-serif; font-size: 10px; font-style: normal; margin-top: 15px; color: #696f61; }
  .current-career { display: flex; align-items: center; gap: 20px; background: #edf0e2; }
  .current-career h2 { font-family: Georgia, serif; font-size: 24px; font-weight: 400; margin: 6px 0; }
  .current-career p { font-size: 11px; line-height: 1.8; color: #65705a; }
  .career-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: #e1e8d4; border: 1px solid #d1dbbf; border-radius: 10px; color: #637154; flex-shrink: 0; }
  .current-career > .pill { align-self: flex-start; margin-left: auto; }
  .big-stat { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 17px; }
  .big-stat strong { font-family: Georgia, serif; color: #617352; font-size: 47px; line-height: 1.2; font-weight: 400; }
  .big-stat small { font-family: 'Segoe UI', sans-serif; color: #696e61; font-size: 13px; }
  .big-stat > span { font-size: 11px; color: #666f5d; }
  .big-stat ~ .btn { margin-top: 21px; }
  .finance-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 25px; }
  .finance-totals > .panel { display: grid; gap: 8px; padding: 25px; }
  .finance-totals > .panel > span { font-size: 11px; color: #67705c; }
  .finance-totals strong { font-family: Georgia, serif; font-size: 33px; font-weight: 400; color: #576d48; letter-spacing: -.5px; }
  .finance-totals small { font-size: 9px; color: #696f61; }
  .budget-table { margin-top: 15px; }
  .budget-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; padding: 12px 0; color: #67705c; }
  .budget-line b { font-weight: 500; color: #647257; white-space: nowrap; }
  .budget-line.subtotal { border-top: 1px solid #e4e9dc; margin: 4px 0; color: #617251; }
  .budget-line.total { border-top: 1px solid #d9e2ce; padding-top: 20px; margin-top: 7px; color: #5e734b; font-size: 13px; font-weight: 600; }
  .field-label { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #657159; margin: 20px 0 8px; }
  .field-label small { font-size: 10px; color: #696f5f; font-weight: 400; }
  .field-label b { font-weight: 500; color: #5f744b; }
  .field-help { color: #676e5e; font-size: 10px; display: block; margin-top: 6px; line-height: 1.6; }
  .range-labels { display: flex; justify-content: space-between; font-size: 10px; color: #69705f; margin: -1px 0 24px; }
  .hint-card { display: flex; gap: 14px; padding: 19px; background: #e9eedf; border: 1px solid #d9e2cd; border-radius: 8px; color: #637254; }
  .hint-card p { font-size: 11px; line-height: 1.8; }
  .people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .person-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
  .person-avatar { width: 55px; height: 55px; border-radius: 50%; background: #e2e9d5; color: #637252; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 22px; flex-shrink: 0; }
  .avatar-1 { background: #e5e9df; color: #66705e; }.avatar-2 { background: #ebe1d3; color: #7c6852; }.avatar-3 { background: #dfe8e3; color: #617168; }
  .person-card h2 { font-family: Georgia, serif; font-size: 23px; font-weight: 400; margin: 4px 0 2px; }
  .person-card .eyebrow { font-size: 8px; }
  .person-card p { color: #696f60; font-size: 10px; }
  .closeness { width: 100%; display: grid; grid-template-columns: 1fr auto; font-size: 10px; color: #69705f; gap: 8px; padding-top: 16px; border-top: 1px solid #e5eadd; margin-top: 5px; }
  .closeness b { font-weight: 500; color: #667258; }
  .closeness .meter { grid-column: 1 / -1; }
  .relationship-note { margin: 22px 0; display: flex; gap: 17px; background: #efecdf; border-color: #e1dcc7; }
  .relationship-note > .icon { margin-top: 4px; color: #7a6a54; }
  .relationship-note h2 { font-family: Georgia, serif; font-weight: 400; font-size: 22px; }
  .relationship-note p { font-size: 11px; color: #716c59; line-height: 1.8; margin-top: 9px; }
  .journal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 35px; }
  .journal-toolbar > p { color: #68705e; font-size: 11px; }
  .segmented { display: inline-flex; padding: 4px; background: #e9eee1; border-radius: 7px; gap: 3px; flex-shrink: 0; }
  .segmented button { padding: 9px 12px; border-radius: 4px; color: #676f5e; font-size: 10px; display: flex; align-items: center; gap: 6px; }
  .segmented .active { background: #fffefa; color: #5f734d; box-shadow: 0 1px 3px #5f704018; }
  .segmented .icon { width: 13px; height: 13px; }
  .journal-list { max-width: 950px; }
  .journal-entry { position: relative; display: flex; align-items: flex-start; gap: 25px; padding-bottom: 38px; }
  .journal-entry:not(:last-child)::after { content: ''; width: 1px; position: absolute; top: 36px; bottom: 0; left: 117px; background: #dce4d2; }
  .journal-age { width: 77px; display: grid; padding-top: 4px; flex-shrink: 0; text-align: right; }
  .journal-age strong { font-family: Georgia, serif; font-size: 29px; color: #637055; font-weight: 400; line-height: 1.2; }
  .journal-age > span { font-size: 10px; color: #676e5d; }
  .journal-node { width: 31px; height: 31px; border: 1px solid #d7e0ca; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e9efde; color: #637156; flex-shrink: 0; margin-top: 3px; }
  .journal-node .icon { width: 15px; height: 15px; }
  .journal-copy { padding-top: 4px; flex: 1; }
  .journal-copy h2 { font-family: Georgia, serif; font-size: 23px; font-weight: 400; margin: 6px 0 9px; }
  .journal-copy p { font-size: 12px; line-height: 1.9; color: #68705d; max-width: 650px; }
  .journal-copy .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .bookmark { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #6b6f62; flex-shrink: 0; }
  .bookmark:hover { background: #e9eddd; color: #786d41; }
  .bookmark.bookmarked { color: #7d6c3c; }
  .bookmark.bookmarked .icon { fill: #d8c99b55; }
  .bookmark .icon { width: 17px; height: 17px; }
  .empty-state { padding: 50px 30px; text-align: center; color: #697060; font-size: 13px; line-height: 1.8; }
  .end-banner { display: flex; gap: 20px; align-items: center; padding: 25px; border: 1px solid #dce0ca; background: #e9edda; border-radius: 10px; margin-bottom: 25px; }
  .end-banner > .icon { color: #667156; width: 35px; height: 35px; }
  .end-banner b { color: #637252; font-size: 15px; font-family: Georgia, serif; }
  .end-banner p { color: #68715b; font-size: 11px; margin-top: 8px; }
  .end-banner .btn { margin-left: auto; }
  .welcome { min-height: 100dvh; background: #f5f4ed; }
  .welcome-header { max-width: 1360px; margin: 0 auto; padding: 27px 45px; display: flex; justify-content: space-between; align-items: center; }
  .welcome-header .local-label { margin-left: auto; margin-right: 35px; font-size: 9px; }
  .welcome-header .brand > span { font-size: 25px; }
  .welcome-header .brand svg { width: 37px; height: 44px; }
  .welcome #main { padding: 42px 45px 20px; text-align: center; max-width: 1250px; }
  .welcome-eyebrow { color: #647057; font-size: 9px; letter-spacing: 2.5px; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .tiny-line { display: block; width: 22px; height: 1px; background: #9ba98a; }
  .welcome h1 { font-size: clamp(50px, 6.4vw, 80px); line-height: 1.1; font-weight: 400; letter-spacing: -2px; color: #354e3c; margin: 24px 0 21px; }
  .welcome h1 em { font-weight: 400; color: #647151; }
  .welcome-intro { font-size: 13px; line-height: 1.9; color: #68705d; }
  .welcome-actions { display: flex; align-items: center; justify-content: center; gap: 27px; margin-top: 27px; }
  .underline-btn { font-size: 11px; border-bottom: 1px solid #b8c3a8; min-height: 25px; }
  .welcome-scene { margin-top: 47px; border: 1px solid #dbe3cd; border-radius: 12px; overflow: hidden; text-align: left; background: #e6ecd8; }
  .scene-caption { display: flex; align-items: center; gap: 10px; padding: 13px 20px; font-size: 8px; letter-spacing: 1.2px; color: #637252; border-bottom: 1px solid #d9e3ca; }
  .scene-caption > span:last-child { margin-left: auto; font-size: 10px; }
  .welcome-scene canvas { width: 100%; height: auto; aspect-ratio: 960 / 280; display: block; }
  .welcome-scene-labels { display: flex; justify-content: space-between; padding: 13px 24px; color: #647154; font-size: 10px; background: #eef1e3; }
  .welcome-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 33px; text-align: left; }
  .welcome-features > div { display: flex; align-items: flex-start; gap: 13px; }
  .welcome-features .icon { color: #677159; width: 20px; height: 20px; margin-top: 3px; }
  .welcome-features p { display: grid; gap: 7px; }
  .welcome-features b { font-size: 11px; font-weight: 500; color: #647254; }
  .welcome-features p > span { font-size: 9px; color: #686f5e; }
  .welcome-footer { max-width: 1360px; margin: 28px auto 0; display: flex; justify-content: space-between; padding: 20px 45px; color: #6a7060; font-size: 9px; }
  .welcome-footer > span:first-child { font-family: Georgia, serif; font-style: italic; font-size: 12px; }
  .modal { position: fixed; border: 1px solid #dce3cf; border-radius: 16px; padding: 36px; width: min(570px, calc(100% - 32px)); max-height: calc(100dvh - 56px); color: var(--body); background: #fafbf3; box-shadow: 0 24px 100px #21341e33; overflow: auto; }
  .modal::backdrop { background: #26312277; backdrop-filter: blur(4px); }
  .modal-close { position: absolute; top: 15px; right: 15px; color: #657059; }
  .modal-close .icon { width: 18px; height: 18px; }
  .modal h2 { font-family: Georgia, serif; font-size: 35px; line-height: 1.2; letter-spacing: -.5px; font-weight: 400; margin: 11px 0 14px; padding-right: 15px; }
  .modal-intro { color: #667059; font-size: 12px; line-height: 1.85; margin-bottom: 22px; }
  .modal .eyebrow { font-size: 8px; color: #637055; letter-spacing: 1.5px; }
  .modal-symbol { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: #e7efda; border: 1px solid #d7e2c7; border-radius: 50%; color: #637350; margin-bottom: 22px; }
  .form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .setup-details { margin: 22px 0; }
  .setup-details summary { cursor: pointer; font-size: 11px; color: #657056; list-style: none; display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid #e2e8d8; }
  .setup-details summary .icon { width: 14px; height: 14px; }
  .setup-note { display: flex; gap: 9px; padding: 13px; background: #edf2e3; border-radius: 7px; font-size: 10px; line-height: 1.8; color: #677059; margin: 23px 0; }
  .setup-note .icon { width: 14px; height: 14px; margin-top: 2px; }
  .modal-footnote { margin-top: 20px; font-size: 10px; line-height: 1.7; color: #666f58; display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; }
  .modal-footnote .icon { width: 12px; height: 12px; }
  .event-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
  .event-meta .modal-symbol { margin-bottom: 0; }
  .event-story { font-size: 13px; line-height: 1.95; color: #657158; margin: 19px 0 27px; }
  .event-choices { display: grid; gap: 12px; }
  .event-choice { width: 100%; border: 1px solid #dce6cd; background: #fffef9; border-radius: 9px; display: flex; gap: 14px; text-align: left; padding: 18px; align-items: flex-start; }
  .event-choice:hover { border-color: #a6bc8c; background: #eff5e5; }
  .choice-index { font-size: 10px; border: 1px solid #dce6cd; border-radius: 5px; width: 27px; height: 27px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #677059; }
  .event-choice > span:nth-child(2) { display: grid; gap: 6px; }
  .event-choice b { color: #5e734c; font-size: 12px; font-weight: 600; }
  .event-choice span > span { color: #67715c; font-size: 11px; line-height: 1.7; }
  .event-choice small { color: #776d4d; font-size: 10px; line-height: 1.7; }
  .event-choice > .icon { width: 15px; height: 15px; color: #666e5a; margin: 3px 0 0 auto; }
  .setting-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #e3ead8; }
  .setting-row > div { display: grid; gap: 6px; }
  .setting-row b { color: #627252; font-size: 12px; font-weight: 500; }
  .setting-row div > span { color: #676f5c; font-size: 10px; }
  .switch { width: 42px; height: 25px; background: #dce5cf; border-radius: 20px; padding: 3px; flex-shrink: 0; }
  .switch > span { display: block; border-radius: 50%; width: 19px; height: 19px; background: white; box-shadow: 0 1px 2px #384b2922; transition: transform .2s; }
  .switch.on { background: #9fb886; }
  .switch.on > span { transform: translateX(17px); }
  .settings-section { margin-top: 23px; }
  .settings-section h3 { font-size: 13px; color: #617350; margin-bottom: 8px; }
  .settings-section p { font-size: 11px; line-height: 1.85; color: #67705c; }
  .settings-buttons { display: flex; gap: 11px; margin-top: 17px; flex-wrap: wrap; }
  .file-label { cursor: pointer; }
  .file-label:focus-within { outline: 2px solid #9c643c; outline-offset: 4px; }
  .archive-list { display: grid; margin-top: 13px; }
  .archive-entry { display: flex; gap: 20px; align-items: center; text-align: left; border-top: 1px solid #e0e8d3; padding: 13px 0; }
  .archive-entry > span { display: grid; gap: 4px; }
  .archive-entry b { font-weight: 500; font-size: 12px; color: #627250; }
  .archive-entry small { color: #68705c; font-size: 10px; }
  .archive-entry > .icon { margin-left: auto; width: 15px; height: 15px; color: #667057; }
  .modal-brand { color: #657257; margin-bottom: 22px; }
  .modal-brand svg { width: 47px; height: 47px; }
  .about-body h3 { font-size: 13px; color: #627350; margin: 23px 0 8px; }
  .about-body p { font-size: 12px; line-height: 1.9; color: #666f5a; margin-bottom: 12px; }
  .about-body a { color: #5d7448; }
  .about-footer { display: flex; align-items: center; gap: 10px; color: #656f59; font-size: 10px; padding-top: 15px; border-top: 1px solid #e0e9d3; margin-top: 23px; }
  .end-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; border-block: 1px solid #dce6cc; padding: 20px 0; }
  .end-stats > div { display: grid; gap: 7px; text-align: center; }
  .end-stats b { font-family: Georgia, serif; font-size: 30px; font-weight: 400; color: #637251; }
  .end-stats span { font-size: 10px; color: #67705b; }
  #toast { position: fixed; bottom: 100px; left: calc(50% + 108px); transform: translateX(-50%) translateY(16px); background: #304d36; color: #f6faed; max-width: min(580px, calc(100% - 36px)); padding: 14px 24px; border-radius: 9px; box-shadow: 0 8px 35px #304d3622; opacity: 0; pointer-events: none; z-index: 100; font-size: 12px; line-height: 1.7; transition: opacity .2s, transform .2s; }
  #toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@layer responsive {
  @media (min-width: 1600px) { .overview-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }.panel { padding: 25px; }.money-panel { padding-bottom: 0; }.cash-value { font-size: 40px; }.focus-card { min-height: 130px; }.focus-card b { font-size: 13px; }.focus-card > span:not(.focus-check) { font-size: 11px; }.stat-top > span { font-size: 13px; }.stat-caption { font-size: 11px; }.section-heading h2 { font-size: 17px; }.section-heading p { font-size: 12px; }.panorama-copy h2 { font-size: 34px; }.next-step p { font-size: 13px; }.context-row b { font-size: 12px; }.context-row small { font-size: 11px; } }
  @media (max-width: 1240px) { .sidebar { width: 190px; padding-inline: 12px; }.app-area { margin-left: 190px; }.timebar { left: 190px; padding-inline: 26px; }.topbar { padding-inline: 28px; }#main { padding-inline: 28px; }.overview-grid { grid-template-columns: minmax(0, 1fr) 245px; gap: 17px; }.panel { padding: 18px; }.money-panel { padding-bottom: 0; }.budget-link { width: calc(100% + 36px); margin-left: -18px; padding-inline: 18px; }.stat-card { padding: 15px 13px 12px; }.stat-top > span { font-size: 10px; gap: 5px; }.stat-top strong { font-size: 22px; }.stat-top small { display: none; }.focus-card { padding: 12px 10px; }.focus-card > span:not(.focus-check) { font-size: 8px; }.focus-card b { font-size: 10px; }.focus-grid { gap: 8px; }.detail-grid { grid-template-columns: minmax(0, 1fr) 255px; gap: 20px; }.timebar-controls { gap: 8px; }.timebar .btn { padding-inline: 14px; font-size: 10px; }.current-career { flex-wrap: wrap; }.current-career > div:nth-child(2) { flex: 1; }.current-career > .pill { display: none; }.action-card { gap: 8px; padding: 9px; }.action-card b { font-size: 9px; }.action-card span { font-size: 8px; }.panorama-copy h2 { font-size: 24px; }#toast { left: calc(50% + 95px); } }
  @media (max-width: 1030px) { .sidebar { width: 77px; align-items: center; padding-inline: 10px; }.sidebar .brand { margin-inline: 0; margin-bottom: 44px; }.sidebar .brand > span { display: none; }.sidebar .brand > svg { width: 38px; height: 44px; }.sidebar-caption,.nav-item > span,.sidebar-note,.sidebar .local-label { display: none; }.navigation { width: 100%; gap: 8px; }.nav-item { justify-content: center; gap: 0; font-size: 0 !important; width: 48px; height: 45px; padding: 13px; }.nav-item .icon { width: 21px; height: 21px; }.sidebar-bottom { margin-top: auto; }.sidebar-bottom .nav-item { font-size: 0; }.app-area { margin-left: 77px; }.timebar { left: 77px; }.topbar { height: 63px; }.page-heading h1 { font-size: 34px; }#main { padding-top: 27px; }.panorama-copy h2 { font-size: 23px; }.overview-grid { grid-template-columns: minmax(0, 1fr) 250px; }.detail-grid { grid-template-columns: minmax(0, 1fr) 250px; }.stats-grid { gap: 11px; }.timebar .year-button { display: inline-flex; }.timebar-date { gap: 9px; }.timebar-date strong { font-size: 11px; }.timebar-date small { font-size: 8px; }#toast { left: calc(50% + 38px); }.journal-toolbar { flex-wrap: wrap; }.opportunity { padding: 19px; }.welcome #main { padding-top: 32px; }.welcome h1 { font-size: 66px; } }
  @media (max-width: 850px) { .overview-grid { grid-template-columns: 1fr; }.side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }.life-map-panel { grid-column: 1 / -1; }.life-dots { grid-template-columns: repeat(30, minmax(0, 1fr)); }.panorama-copy h2 { font-size: 25px; }.focus-card > span:not(.focus-check) { font-size: 10px; }.focus-card b { font-size: 12px; }.focus-card { padding: 16px; }.focus-check { right: 13px; top: 14px; }.detail-grid { grid-template-columns: 1fr; }.detail-grid > aside { grid-template-columns: 1fr 1fr; }.detail-grid > aside > .quote-card { align-self: center; }.detail-grid > aside > .panel { height: 100%; }.finance-totals { gap: 13px; }.finance-totals > .panel { padding: 20px; }.finance-totals strong { font-size: 27px; }.finance-totals small { font-size: 8px; }.section-intro { font-size: 12px; }.action-card b { font-size: 11px; }.action-card span { font-size: 10px; }.stats-grid { gap: 12px; }.stat-caption { font-size: 8px; }.stat-top .icon { width: 15px; height: 15px; }.welcome-features { gap: 16px; }.welcome-features b { font-size: 10px; }.welcome-features p > span { font-size: 8px; } }
  @media (max-width: 600px) { :root { font-size: 16px; }body { min-width: 340px; }.sidebar { width: auto; inset: auto 0 0; height: 65px; padding: 0; border-right: 0; border-top: 1px solid #dce4ce; background: #f3f5ebf5; backdrop-filter: blur(15px); flex-direction: row; }.sidebar .brand,.sidebar-bottom { display: none; }.navigation { display: flex; justify-content: space-around; gap: 0; padding: 4px 2px; }.navigation .nav-item { display: flex; flex-direction: column; width: auto; min-width: 45px; height: 55px; padding: 7px 7px; border-radius: 7px; gap: 5px; }.navigation .nav-item > span { display: inline; font-size: 8px; font-weight: 500; white-space: nowrap; }.navigation .nav-item .nav-count { display: none; }.navigation .nav-item .icon { width: 18px; height: 18px; }.nav-item.active { background: #e3ebd7; }.app-area { margin-left: 0; }.topbar { padding: 0 20px; height: 61px; background: #f7f8ef; }.topbar-quote { display: none; }.mobile-brand { display: flex; align-items: center; gap: 9px; color: #536d43; }.mobile-brand svg { width: 27px; height: 31px; }.mobile-brand span { font-family: Georgia, serif; font-size: 21px; letter-spacing: -.6px; }.topbar-right { gap: 5px; }.save-status { font-size: 0; gap: 0; }.save-status .icon { width: 14px; height: 14px; color: #656f58; }.topbar-right .icon-btn { width: 35px; height: 35px; }.topbar-right .icon-btn .icon { width: 17px; height: 17px; }#main { padding: 25px 18px 220px; }.page-heading { margin-bottom: 23px; gap: 10px; }.page-heading h1 { font-size: 29px; letter-spacing: -.6px; margin: 8px 0 12px; }.eyebrow { font-size: 7px; letter-spacing: 1.4px; }.person-meta { font-size: 9px; gap: 7px 13px; }.person-meta .icon { width: 11px; height: 11px; }.person-meta .meta-life { display: none; }.age-display { gap: 7px; }.age-display strong { font-size: 48px; letter-spacing: -2px; }.age-display div { padding-top: 4px; }.age-display div > span { font-size: 12px; }.age-display small { font-size: 8px; }.life-panorama { border-radius: 9px; }.panorama-heading { top: 13px; left: 16px; right: 13px; gap: 8px; }.chapter-label { font-size: 6px; letter-spacing: .8px; gap: 7px; }.chapter-label i { width: 9px; }.weather-label { font-size: 7px; gap: 3px; }.weather-label .icon { width: 11px; height: 11px; }.panorama-copy { top: 0; left: 0; padding: 43px 16px 8px; }.panorama-copy h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.5px; }.life-panorama canvas { width: 170%; max-width: none; height: 240px; object-fit: cover; object-position: center; margin-left: -35%; }.panorama-bottom { padding: 10px 13px; font-size: 7px; gap: 15px; }.panorama-bottom span:first-child { gap: 4px; }.panorama-bottom .icon { width: 11px; height: 11px; }.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 17px 0 22px; }.stat-card { padding: 14px 13px 12px; border-radius: 8px; }.stat-top { margin-bottom: 11px; }.stat-top > span { font-size: 11px; gap: 7px; }.stat-top .icon { width: 16px; height: 16px; }.stat-top strong { font-size: 26px; }.stat-top small { display: inline; font-size: 8px; }.stat-caption { font-size: 9px; margin-top: 8px; }.overview-grid,.main-column,.side-column { gap: 17px; }.panel { padding: 20px; border-radius: 10px; }.section-heading h2 { font-size: 15px; }.section-heading p { font-size: 10px; }.focus-panel .section-heading > .pill { display: none; }.focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.focus-card { padding: 15px 12px; min-height: 120px; }.focus-card b { font-size: 12px; }.focus-card > span:not(.focus-check) { font-size: 10px; }.focus-check { top: 12px; right: 10px; }.energy-strip { gap: 12px; font-size: 8px; }.next-step { padding: 21px 18px; gap: 13px; }.next-step-icon { width: 32px; height: 32px; }.next-step .eyebrow { font-size: 7px; letter-spacing: 1px; }.next-step h2 { font-size: 21px; margin: 8px 0; }.next-step p { font-size: 11px; }.next-step .text-btn { font-size: 11px; }.actions-grid { grid-template-columns: 1fr; gap: 8px; }.action-card { padding: 12px; gap: 13px; min-height: 65px; }.action-card b { font-size: 12px; }.action-card span { font-size: 10px; }.action-card > .icon:first-child { width: 19px; height: 19px; }.side-column { grid-template-columns: 1fr; }.life-map-panel { grid-column: auto; }.life-dots { grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 7px; }.money-panel { padding-bottom: 0; }.cash-label { font-size: 11px; }.cash-value { font-size: 39px; }.panel-label { font-size: 10px; }.finance-row { font-size: 12px; margin-bottom: 16px; }.finance-balance { font-size: 10px; }.finance-balance b { font-size: 12px; }.budget-link { width: calc(100% + 40px); margin-left: -20px; padding: 15px 20px; font-size: 12px; }.context-row b { font-size: 12px; }.context-row small { font-size: 10px; }.context-panel .panel-label { font-size: 9px; }.life-map-panel .section-heading h2 { font-size: 15px; }.map-legend { font-size: 9px; }.life-map-panel p { font-size: 13px; }.recent-entry div > span { font-size: 10px; }.recent-entry b { font-size: 12px; }.recent-entry small { font-size: 8px; }.recent-panel .text-btn { font-size: 10px; }.recent-panel .section-heading h2 { font-size: 14px; }.page-footer { font-size: 8px; gap: 10px; flex-direction: column; padding-top: 25px; }.timebar { left: 0; bottom: 65px; min-height: 114px; padding: 9px 18px 13px; flex-wrap: wrap; gap: 8px; backdrop-filter: blur(15px); }.timebar-date { gap: 7px; width: 100%; justify-content: flex-start; }.timebar-date > .icon { width: 13px; height: 13px; }.timebar-date > div { display: flex; gap: 8px; align-items: center; }.timebar-date strong { font-size: 10px; }.timebar-date small { font-size: 8px; }.timebar-controls { width: 100%; gap: 8px; justify-content: space-between; }.timebar .btn { padding: 12px 15px; min-height: 44px; font-size: 11px; margin-left: auto; }.timebar .year-button { display: inline-flex; font-size: 10px; padding-inline: 11px; margin-left: 0; }.timebar .play-btn { width: 38px; height: 40px; }.speed-controls button { min-width: 24px; font-size: 9px; }.time-divider { display: none; }#toast { left: 50%; bottom: 195px; font-size: 12px; width: calc(100% - 32px); padding: 13px 17px; }.detail-grid { gap: 20px; }.detail-grid > aside { grid-template-columns: 1fr; }.quote-card { padding: 12px 20px; font-size: 24px; }.opportunity-grid { grid-template-columns: 1fr; gap: 16px; }.opportunity { padding: 24px; }.opportunity h3 { font-size: 24px; }.opportunity p { font-size: 12px; }.opportunity .btn { font-size: 13px; }.opportunity-detail b { font-size: 14px; }.requirement { font-size: 11px; }.opportunity-detail span { font-size: 11px; }.section-intro { font-size: 12px; line-height: 1.9; }.education-current { padding: 23px; }.education-current h2 { font-size: 25px; }.education-current p { font-size: 12px; }.finance-totals { grid-template-columns: 1fr; gap: 12px; }.finance-totals > .panel { display: grid; grid-template-columns: 1fr auto; padding: 19px; align-items: center; gap: 8px; }.finance-totals > .panel > span { font-size: 12px; }.finance-totals strong { font-size: 27px; }.finance-totals small { font-size: 9px; grid-column: 1 / -1; }.budget-line { font-size: 12px; }.budget-line.total { font-size: 12px; }.field-label { font-size: 12px; }input,select { font-size: 16px; }.hint-card p { font-size: 12px; }.people-grid { grid-template-columns: 1fr; }.person-card h2 { font-size: 25px; }.person-card .eyebrow { font-size: 9px; }.person-card p { font-size: 12px; }.closeness { font-size: 11px; }.relationship-note p { font-size: 12px; }.journal-toolbar { gap: 20px; margin-bottom: 26px; }.journal-toolbar > p { font-size: 12px; line-height: 1.9; }.segmented button { font-size: 11px; min-height: 38px; }.journal-entry { gap: 12px; padding-bottom: 32px; }.journal-age { width: 31px; padding-top: 5px; }.journal-age strong { font-size: 24px; }.journal-age > span { font-size: 8px; }.journal-node { width: 27px; height: 27px; }.journal-entry:not(:last-child)::after { left: 56px; top: 32px; }.journal-node .icon { width: 13px; height: 13px; }.journal-copy h2 { font-size: 20px; margin-top: 7px; }.journal-copy p { font-size: 11px; line-height: 1.85; }.journal-copy .eyebrow { font-size: 7px; }.bookmark { width: 27px; height: 34px; }.bookmark .icon { width: 15px; height: 15px; }.current-career h2 { font-size: 23px; }.current-career { padding: 20px; gap: 15px; }.current-career p { font-size: 11px; }.career-icon { width: 40px; height: 40px; }.end-banner { padding: 20px; flex-wrap: wrap; }.end-banner > div { flex: 1; }.end-banner > .icon { width: 25px; height: 25px; }.end-banner .btn { width: 100%; }.welcome-header { padding: 21px 22px; }.welcome-header .brand > svg { width: 33px; height: 40px; }.welcome-header .brand > span { font-size: 23px; }.welcome-header .local-label { margin-right: 0; font-size: 7px; letter-spacing: 1px; }.welcome-header .text-btn { display: none; }.welcome #main { padding: 34px 22px 22px; }.welcome-eyebrow { font-size: 7px; letter-spacing: 1.5px; gap: 8px; }.welcome h1 { font-size: 52px; line-height: 1.13; letter-spacing: -1.9px; margin: 24px 0 20px; }.welcome-intro { font-size: 12px; }.desktop-only { display: none; }.welcome-actions { flex-direction: column; gap: 13px; margin-top: 25px; }.welcome-actions > .btn { font-size: 13px; width: 100%; max-width: 290px; }.underline-btn { font-size: 11px; }.welcome-scene { margin-top: 30px; }.scene-caption { font-size: 6px; letter-spacing: .5px; gap: 7px; padding: 12px; }.scene-caption > span:last-child { font-size: 8px; }.welcome-scene canvas { width: 190%; max-width: none; margin-left: -45%; height: 220px; object-fit: cover; }.welcome-scene-labels { padding: 12px; font-size: 7px; gap: 10px; }.welcome-features { grid-template-columns: 1fr; gap: 20px; margin-top: 27px; padding: 0 8px; }.welcome-features b { font-size: 12px; }.welcome-features p > span { font-size: 10px; }.welcome-features p { gap: 5px; }.welcome-features .icon { width: 21px; height: 21px; }.welcome-footer { padding: 12px 25px 25px; flex-direction: column; align-items: center; gap: 14px; margin-top: 10px; text-align: center; }.welcome-footer > span:first-child { font-size: 11px; }.welcome-footer > span:last-child { font-size: 8px; }.modal { padding: 30px 24px; max-height: calc(100dvh - 32px); width: calc(100% - 24px); border-radius: 12px; }.modal h2 { font-size: 31px; }.modal .eyebrow { font-size: 7px; }.modal-intro { font-size: 12px; }.form-two { gap: 12px; }.setup-note { font-size: 10px; }.modal-footnote { font-size: 9px; }.event-story { font-size: 13px; }.event-choice { padding: 15px 13px; gap: 10px; }.event-choice b { font-size: 12px; }.event-choice span > span { font-size: 11px; }.event-choice small { font-size: 10px; }.choice-index { width: 24px; height: 25px; font-size: 9px; }.event-choice > .icon { width: 12px; height: 12px; }.settings-buttons { gap: 9px; }.settings-buttons .btn { font-size: 11px; padding-inline: 14px; }.about-body p { font-size: 12px; }.about-footer { font-size: 9px; } }
  @media (max-width: 370px) { .navigation .nav-item { padding-inline: 4px; min-width: 42px; }.navigation .nav-item > span { font-size: 7px; }.timebar-controls { gap: 5px; }.timebar .btn { padding-inline: 11px; font-size: 10px; }.timebar .year-button { padding-inline: 8px; }.speed-controls button { min-width: 21px; font-size: 8px; }.welcome h1 { font-size: 47px; } }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }.meter > span { transition: none; } }
}
