/* Approved warm paper, dark ink and soft gold, with a route diagram and usable exits. */
main:has(.career-journey){padding-top:20px}
.career-journey{--route-ink:#30271f;--route-gold:#f1d69d;--route-border:#c5b798;--route-muted:#756b5c;margin-bottom:22px}
.career-journey .journey-icon{display:block;width:24px;height:24px;flex:0 0 24px;object-fit:contain}
.journey-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin-top:11px;padding:8px 16px;color:var(--route-ink);font-size:14px;font-weight:600;border:1px solid var(--route-border);border-radius:7px;background:#faf5e8}
.journey-save .journey-icon{width:18px;height:18px;flex-basis:18px}
.journey-save:hover{background:#eee2c9}
.journey-heading{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);align-items:center;gap:24px;margin-bottom:24px}
.journey-heading>div:first-child{min-width:0}
.journey-heading .eyebrow{font-size:12px;margin:0 0 6px;letter-spacing:.12em;color:#8d3b2e}
.journey-heading h1{font-size:clamp(28px,2.9vw,39px);line-height:1.25;letter-spacing:-.045em;margin:0 0 9px}
.journey-lead{font-size:14px;color:var(--route-muted);margin:0}
.journey-target{min-width:0;text-align:center;padding:0 18px;border-left:1px solid var(--route-border)}
.journey-target>span,.journey-target>a{display:block;color:var(--route-muted);font-size:12px;line-height:1.6;text-decoration:none}
.journey-target>strong{display:block;font:700 clamp(30px,3vw,42px)/1.25 var(--serif);letter-spacing:-.03em;margin:4px 0;color:#8d3b2e}
.journey-layout{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);gap:24px;align-items:start}
.journey-board{position:sticky;top:20px;min-width:0;border:1px solid var(--route-border);border-radius:13px;background:linear-gradient(155deg,#fcf7e9,#f3ead5);box-shadow:0 4px 0 #cbbd9e,0 15px 28px -22px #55402855}
.map-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 23px 10px}
.map-kicker{font-size:11px;letter-spacing:.1em;color:var(--route-muted)}
.map-heading h2{font-size:21px;line-height:1.4;letter-spacing:-.025em;margin:3px 0 0}
.map-hint{display:flex;gap:6px;align-items:center;font-size:12px;color:#94523b;white-space:nowrap}
.map-hint .journey-icon{width:16px;height:16px;flex-basis:16px;opacity:.65}
.journey-map{height:382px;position:relative;margin:18px 15px 0;isolation:isolate}
.has-experience .journey-map{height:435px}
.road-connections{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.road-connections path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.road-under{stroke:#dfcca6;stroke-width:15px}
.road-main{stroke:#fdf8e9;stroke-width:2px;stroke-dasharray:3 8}
.road-side{stroke:#b9aa88;stroke-width:1.5px;stroke-dasharray:4 7}
.road-growth{stroke:#a98d5f;stroke-width:2px;stroke-dasharray:5 6}
.map-node{position:absolute;left:var(--node-x);top:var(--node-y);transform:translate(-50%,-50%);width:190px;padding:11px 13px;text-align:left;background:linear-gradient(135deg,#fffdf5,#f3e9d2);border:1px solid #bead8a;border-radius:9px;color:var(--route-ink);box-shadow:0 4px 0 #cfbf9c,0 8px 16px -12px #59462e66;z-index:2;transition:transform .18s,box-shadow .18s,border-color .18s}
.map-node:hover{transform:translate(-50%,calc(-50% - 3px));border-color:#79623f;box-shadow:0 6px 0 #c7b28a,0 13px 21px -11px #59462e55}
.map-node.is-active{background:linear-gradient(135deg,#46382b,#2e261f);border-color:#30271f;color:#fff3da;box-shadow:0 4px 0 #b6965e,0 12px 23px -12px #48372388}
.map-node:focus-visible{outline:3px solid var(--red);outline-offset:5px}
.station-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:5px}
.station-top .journey-icon{width:21px;height:21px;flex-basis:21px;opacity:.78}
.station-index{font-size:12px;font-weight:650;color:var(--route-muted);font-variant-numeric:tabular-nums}
.station-title{display:block;font:700 17px/1.45 var(--serif);letter-spacing:-.02em}
.station-state{display:flex;align-items:flex-start;gap:5px;font-size:11px;line-height:1.6;margin-top:5px;color:var(--route-muted)}
.station-state i{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:currentColor;margin-top:6px}
.map-node.is-done .station-state{color:#49624a}
.map-node.is-active .station-state,.map-node.is-active .station-index{color:#e3ccab}
.map-node.is-active .journey-icon{filter:invert(1);opacity:.85}
.station-priority{position:absolute;right:9px;top:-12px;border:1px solid #cfb783;border-radius:5px;background:#f4dca9;color:#654922;box-shadow:0 2px 4px #50391b15;padding:3px 7px;font-size:11px;font-weight:650;line-height:1.35;white-space:nowrap}
.map-node-education{width:176px;border-style:dashed;background:#faf5e9;box-shadow:0 3px 0 #ded2b8}
.map-node-goal{background:linear-gradient(130deg,#fbe9bf,#efdaad);border-color:#baa170}
.map-node.is-branch{border-style:dashed}.map-node.is-branch .station-index{font-size:11px}
.route-start{position:absolute;left:2%;bottom:13px;width:38%;z-index:1;text-align:center}
.route-character{display:block;width:250px;height:250px;max-width:120%;object-fit:contain;margin:0 auto -5px;filter:drop-shadow(0 9px 7px #54402218);pointer-events:none}
.route-person{display:inline-flex;padding:20px;border-radius:50%;border:1px solid #bcab85;background:#f3dfb8;margin-bottom:10px}
.route-person .journey-icon{width:40px;height:40px}
.route-start-label{padding:9px 7px;background:#f9f1dfdb;border:1px solid #dfd2b8;border-radius:9px;position:relative}
.start-kicker{font-size:11px;letter-spacing:.1em;color:#8e4d35;display:block;margin-bottom:3px}
.route-start-label strong{display:block;font:700 16px/1.5 var(--serif)}
.route-start-label>span:last-of-type{display:block;font-size:11px;line-height:1.5;color:var(--route-muted);margin-top:2px}
.route-start-label button{font-size:11px;min-height:30px;color:#8d4835;border:0;background:transparent;padding:5px 4px;text-decoration:underline;text-underline-offset:3px}
.journey-education{margin:13px 22px 0;position:relative;z-index:3}
.journey-education .map-node-education{position:relative;left:auto;top:auto;transform:none;width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:13px 16px;min-height:59px}
.journey-education .map-node-education:hover{transform:translateY(-2px)}
.journey-education .station-top{justify-content:flex-start;gap:8px;margin:0}
.journey-education .station-title{font-size:17px}.journey-education .station-state{margin:0;font-size:11px}
.journey-education>p{font-size:11px;color:#85775f;margin:8px 1px 0;line-height:1.5}
.map-footnote{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;font-size:11px;color:var(--route-muted);padding:13px 12px 15px;border-top:1px solid #dfd1b5;margin-top:8px;line-height:1.5}
.map-active-key{width:8px;height:8px;border-radius:2px;background:var(--route-ink)}
.map-parallel-key{width:15px;border-top:1px dashed #9e8b68;margin-left:8px}
.journey-entrance-choice{display:block;margin:0 20px 8px;padding:0;border:0;border-top:1px solid #d8caad;background:transparent}
.journey-board:has(.journey-entrance-choice[open]){position:static}
.journey-entrance-choice>summary{cursor:pointer;font-size:13px;padding:13px 0 5px;color:var(--route-ink)}
.journey-entrance-choice>summary small{font-size:11px;color:var(--route-muted);margin-left:8px}
.journey-entrance-content{padding:5px 0 12px}
.journey-entrance-content .career-path-choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:0}
.journey-entrance-content .career-path-choice{flex:1 1 130px;border-radius:6px;padding:10px;font-size:12px}
.journey-detail{min-width:0;border:1px solid #bbaa8a;border-radius:13px;background:#fbf6e9;box-shadow:0 4px 0 #cbbd9e,0 15px 28px -22px #55402855;scroll-margin-top:16px;overflow:hidden}
.journey-detail-head{padding:20px 23px 22px;color:#fff2d9;background:linear-gradient(115deg,#433629,#2d251e)}
.detail-kicker{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#e1c9a8;font-size:12px;line-height:1.6;margin-bottom:12px}
.detail-status{font-size:11px;border:1px solid #826d4e;padding:3px 7px;border-radius:4px;text-align:right}
.detail-title{display:flex;gap:12px;align-items:center}
.detail-title>.journey-icon{width:29px;height:29px;flex-basis:29px;filter:invert(1);opacity:.86}
.detail-title h2{font-size:26px;line-height:1.4;letter-spacing:-.025em;margin:0}
.detail-title h2:focus{outline:none}
.journey-detail-content{padding:21px 23px 23px}
.detail-intro{font-size:14px;line-height:1.8;color:#675c4f;margin:0 0 18px}
.detail-summary{font-size:16px;font-weight:650;line-height:1.7;margin:0 0 10px;color:var(--route-ink)}
.module-list-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--route-muted);margin:0 0 10px}
.module-list-label>span:last-child{font-size:11px;white-space:nowrap}
.journey-modules{display:grid;gap:12px;list-style:none;padding:0;margin:0}
.journey-module{padding:16px;border:1px solid #ded1b8;border-radius:9px;background:#fffaf0;box-shadow:0 2px 0 #e5dac4}
.journey-module.is-learned{border-color:#c0cdb7;background:#f5f7ed}
.module-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.module-heading h3{margin:0;font-size:20px;line-height:1.4;letter-spacing:-.02em}
.module-stage{flex-shrink:0;font-size:11px;padding:2px 6px;border:1px solid #cfc2aa;border-radius:4px;color:#776447}
.module-stage.is-foundation{background:#eee1c6;border-color:#d7c49c;color:#6c522a}
.journey-module>p{font-size:13px;line-height:1.7;color:#726656;margin:0 0 12px}
.module-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.module-actions>a{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:38px;padding:8px 12px;font-size:13px;font-weight:650;line-height:1.4;color:#533c22;text-decoration:none;background:#f2dfb5;border:1px solid #d7be8b;border-radius:6px}
.module-actions>a:hover{background:#ead09a}
.module-actions .journey-icon{width:17px;height:17px;flex-basis:17px;opacity:.7}
.module-actions>button{display:flex;align-items:center;gap:6px;min-height:38px;padding:8px 0 8px 6px;color:#7d705d;background:transparent;border:0;font-size:12px}
.module-actions>button[aria-pressed="true"]{color:#416144}
.module-check{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #bbae98;border-radius:3px;font-size:11px;line-height:1}
.module-actions>button[aria-pressed="true"] .module-check{background:#e5eddc;border-color:#819572}
.module-unavailable{font-size:12px;color:var(--route-muted)}
.module-source{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-top:9px;color:#867966;font-size:11px}
.module-note{max-width:100%}.module-note>summary{cursor:pointer}.module-note[open]{width:100%}
.module-note p{font-size:12px;line-height:1.75;margin:8px 0 0}
.learning-mark-note{font-size:11px;color:var(--route-muted);line-height:1.7;margin:13px 0}
.journey-resources{margin:0 0 18px;border:1px solid #d8c6a4;border-radius:8px;background:#f7f0df;overflow:hidden}
.journey-resources>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 14px;cursor:pointer;list-style:none;color:var(--route-ink)}
.journey-resources>summary::-webkit-details-marker{display:none}
.journey-resources>summary::after{content:"";width:16px;height:16px;margin-left:auto;flex:0 0 16px;background:url('./assets/icons/lucide/chevron-down.svg') center/contain no-repeat;transition:transform .15s}
.journey-resources[open]>summary::after{transform:rotate(180deg)}
.journey-resources>summary strong{font-size:14px}.journey-resources>summary>span{font-size:11px;color:#786444}
.journey-resources>summary:focus-visible{outline:2px solid var(--red);outline-offset:-4px}
.resource-content{padding:0 14px 14px}.resource-content .resource-intro{margin:0 0 13px;color:#79694e;font-size:12px;line-height:1.7}
.resource-content ul{list-style:none;padding:0;margin:0}.resource-content li{padding:14px 0;border-top:1px solid #dfd1b6;overflow-wrap:anywhere}.resource-content li:last-child{padding-bottom:0}
.resource-meta{font-size:10px;color:#897044;margin-bottom:5px}.resource-content a{display:flex;align-items:flex-start;gap:8px;font-size:15px;font-weight:650;line-height:1.6;color:#804033;text-underline-offset:3px}
.resource-content a .journey-icon{width:16px;height:16px;flex:0 0 16px;margin:4px 0 0 auto}.resource-content p{font-size:13px;line-height:1.75;margin:7px 0}
.resource-content small{display:block;color:#7b705e;font-size:11px;line-height:1.6}.resource-content .resource-note{color:#7b705e;font-size:11px;margin:5px 0 0}
@media(prefers-reduced-motion:reduce){.journey-resources>summary::after{transition:none}}
.journey-links-label{font-size:12px;letter-spacing:.025em;color:#8b7150;border-top:1px solid #d9cbb0;padding-top:15px;margin:0 0 9px}
.journey-node-links{display:grid;gap:10px}
.journey-node-links>div{border:1px solid #cad7c9;border-radius:8px;background:#f0f5ed;padding:14px}
.journey-node-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;font-weight:650;line-height:1.65;color:#344f42;text-decoration:none}
.journey-node-links a:hover{text-decoration:underline}
.journey-node-links .journey-icon{width:19px;height:19px;flex-basis:19px;opacity:.65}
.journey-node-links p{font-size:12px;line-height:1.7;color:#687868;margin:6px 0 0}
.journey-explanation{border-top:1px solid #ddd0b7;margin-top:18px;padding-top:13px;color:#7c6d57;font-size:12px}
.journey-explanation>summary{cursor:pointer;font-size:13px}.journey-explanation p{font-size:13px;line-height:1.85;margin:10px 0 0}
.journey-next{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;padding:15px 16px;margin-top:19px;background:#eee0c4;border:1px solid #c8b18a;border-radius:8px;color:var(--route-ink)}
.journey-next small{display:block;font-size:11px;color:#816b4c;margin-bottom:3px}.journey-next strong{font:700 17px/1.5 var(--serif)}
.journey-next:hover{background:#e8d6b3}.journey-next .journey-icon{opacity:.65}
.journey-map-return{display:none}
.journey-footnote{font-size:12px;color:var(--route-muted);text-align:center;line-height:1.8;margin:21px 0 0}
@media(min-width:921px) and (max-width:1150px){
  .journey-layout{gap:18px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
  .map-heading{padding:18px 16px 8px;display:block}.map-hint{margin-top:7px}
  .journey-map{height:382px;margin-inline:10px}.has-experience .journey-map{height:435px}.map-node{width:166px;padding:10px}
  .station-title{font-size:16px}.station-state{font-size:10px}.route-character{width:188px;height:188px}
  .route-start-label strong{font-size:14px}.journey-education{margin-inline:16px}.journey-education .map-node-education{gap:8px;padding:12px}
  .journey-detail-content{padding:18px}.journey-detail-head{padding:18px}.detail-title h2{font-size:24px}
  .module-heading h3{font-size:18px}.journey-target>strong{font-size:34px}
}
@media(max-width:920px){
  .journey-layout{grid-template-columns:1fr;gap:22px}.journey-board{position:static}
  .journey-heading{gap:18px}.journey-heading h1{font-size:31px}
  .journey-target>strong{font-size:30px}.journey-map{height:385px}.has-experience .journey-map{height:435px}.map-node{width:190px}
  .route-start{width:36%}.route-character{width:220px;height:220px}
  .journey-map-return{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0;margin:0 0 8px;color:#e6d0ae;border:0;background:transparent;font-size:12px}
  .journey-map-return .journey-icon{filter:invert(1);opacity:.7;width:17px;height:17px;flex-basis:17px}
  .journey-modules{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  main:has(.career-journey){padding-top:12px}.career-journey{margin-bottom:14px}
  .journey-save{font-size:13px;min-height:40px;margin-top:9px;padding:7px 13px;gap:6px}
  .journey-heading{display:block;margin-bottom:20px}.journey-heading .eyebrow{font-size:11px}
  .journey-heading h1{font-size:28px;margin-bottom:6px;line-height:1.3}.journey-lead{font-size:12px}
  .journey-target{border:0;border-top:1px solid #cfc0a2;padding:13px 0 0;margin-top:14px}
  .journey-target>span:first-child{font-size:11px}.journey-target>strong{font-size:28px;line-height:1.3;margin:3px 0}
  .journey-target>.journey-target-source{font-size:10px;margin-top:3px}
  .journey-board,.journey-detail{border-radius:10px}.map-heading{display:block;padding:16px 16px 0}
  .map-kicker{display:none}.map-heading h2{font-size:21px;display:block;margin:0}
  .map-heading>div{display:block}
  .map-hint{font-size:11px;margin-top:5px}.map-hint .journey-icon{display:none}
  .journey-map,.has-experience .journey-map{height:auto;margin:10px 14px 0}.road-connections{display:none}
  .route-start{position:relative;left:auto;bottom:auto;display:flex;align-items:center;width:100%;min-height:87px;margin-bottom:13px;text-align:left;gap:3px}
  .route-character{width:95px;height:100px;max-width:none;flex:0 0 95px;margin:-7px 0 -5px -5px}
  .route-start-label{background:transparent;border:0;padding:0;flex:1}.route-start-label strong{font-size:15px}
  .route-start-label>span:last-of-type{font-size:11px}.start-kicker{font-size:10px;margin-bottom:1px}
  .route-start-label button{font-size:11px;min-height:27px;padding:4px 0}.route-person{margin:5px 13px 5px 0;padding:12px}
  .road-nodes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding-top:3px}
  .map-node{position:relative;left:auto;top:auto;transform:none;width:100%;min-height:92px;padding:10px 11px;border-radius:7px}
  .map-node:hover{transform:translateY(-2px)}
  .journey-education{margin:15px 14px 0}.journey-education>p{font-size:10px;margin:7px 0 0}
  .journey-education .map-node-education{grid-template-columns:1fr auto;gap:2px 12px;min-height:64px;padding:9px 11px}
  .journey-education .station-top{grid-column:1;grid-row:1;gap:6px}
  .journey-education .station-top .journey-icon{width:17px;height:17px;flex-basis:17px}
  .journey-education .station-title{grid-column:1;grid-row:2;font-size:15px}
  .journey-education .station-state{grid-column:2;grid-row:1/3;align-self:center;max-width:104px;font-size:10px}
  .station-top{margin-bottom:4px}.station-top .journey-icon{width:18px;height:18px;flex-basis:18px}
  .station-index{font-size:11px}.station-title{font-size:16px}.station-state{font-size:10px;line-height:1.5;gap:4px;margin-top:4px}
  .station-priority{font-size:10px;top:-10px;right:8px;padding:2px 6px}.station-state i{margin-top:5px}
  .map-footnote{font-size:10px;padding:11px 10px 12px;margin-top:15px;gap:4px}.map-parallel-key{margin-left:5px}
  .journey-entrance-choice{margin:13px 14px 0}.journey-entrance-choice>summary{font-size:12px;padding:10px 0 4px}
  .journey-entrance-choice>summary small{display:block;font-size:10px;margin:3px 0 0 12px}
  .journey-detail-head{padding:13px 17px 18px}.detail-kicker{font-size:11px;margin-bottom:9px;align-items:flex-start}
  .detail-status{font-size:10px;max-width:48%;padding:2px 5px}.detail-title h2{font-size:24px}
  .detail-title>.journey-icon{width:25px;height:25px;flex-basis:25px}.detail-title{gap:9px}
  .journey-detail-content{padding:17px}.detail-intro{font-size:13px;margin-bottom:15px}.detail-summary{font-size:15px}
  .journey-modules{grid-template-columns:1fr;gap:11px}.journey-module{padding:14px}
  .module-heading h3{font-size:19px}.module-stage{font-size:10px}.journey-module>p{font-size:12px}
  .module-list-label{font-size:11px}.module-list-label>span:last-child{font-size:10px}
  .module-actions>a{font-size:12px;min-height:40px;padding:8px 10px}.module-actions>button{min-height:40px;font-size:11px}
  .module-source{font-size:10px}.journey-node-links>div{padding:12px}.journey-node-links a{font-size:14px}
  .journey-node-links p{font-size:11px}.journey-footnote{text-align:left;font-size:11px;margin:18px 2px 0}
}
@media(max-width:480px){
  body:has(.career-journey) .flow-stage-list>li:has([data-stage="2"]){display:flex}
  body:has(.career-journey) .flow-stage-list{gap:12px}
  body:has(.career-journey) .step-nav .flow-stage .flow-stage-label{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.map-node{transition:none}}
@media(max-height:780px){.journey-board{position:static}}
@media print{
  .journey-layout{display:block}.journey-board{position:static;break-inside:avoid}.journey-detail{margin-top:24px;overflow:visible}
  .journey-save,.journey-next,.journey-map-return,.route-start-label button,.module-actions button{display:none}
  .journey-heading{margin-top:0}.journey-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-module{break-inside:avoid}
}
