[data-roadmap-tree][hidden],[data-roadmap-view-controls][hidden]{display:none!important}
.roadmap-view-controls{display:flex;gap:4px;align-items:center;margin:14px 0}
.roadmap-view-controls button{min-height:44px;border:1px solid #a6b8c8;background:white;color:#193c58;border-radius:8px;padding:8px 16px;font:inherit;cursor:pointer}
.roadmap-view-controls button[aria-pressed="true"]{background:#1c435f;color:white;border-color:#1c435f}
/* A closed shell renders as the original list block. No controls are cloned,
   detached from their form, or reordered when the popup opens. */
.roadmap-tree-dialog:not([open]){display:contents}
.roadmap-tree-dialog:not([open])>.roadmap-tree-dialog-heading,
.roadmap-tree-dialog:not([open])>.roadmap-tree-dialog-footer{display:none}
body.roadmap-tree-mode{max-width:none!important;margin:0!important;padding:0!important;background:#111e2b;color:#e2e9ed}
body.roadmap-tree-mode main{max-width:none!important;margin:0!important}
.roadmap-tree-mode .roadmap-tree-surrounding,
.roadmap-tree-mode .roadmap-tree-dialog:not([open]),
.roadmap-tree-mode [data-roadmap-list]>.save-row{display:none!important}
.roadmap-tree{position:relative;min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#29394c88,transparent 65%),radial-gradient(circle at 1px 1px,#e4d7ad0b 1px,transparent 0),#111e2b;background-size:auto,28px 28px,auto}
.roadmap-tree-dock{border-radius:0;position:sticky;top:0;z-index:30;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;min-height:64px;padding:8px 22px;background:#111e2bef;border-bottom:1px solid #b7b19b25;backdrop-filter:blur(12px);box-sizing:border-box}
.roadmap-tree-brand{display:flex;align-items:center;gap:10px;color:#ede5d2;font:500 16px/1.3 system-ui,sans-serif;white-space:nowrap}
.roadmap-tree-brand>svg{height:25px;width:25px;fill:none;stroke:#cdbb8b;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.roadmap-tree-progress{font-size:12px;color:#a6bcba;border-left:1px solid #ffffff25;padding-left:12px}
.roadmap-tree-dock-actions{display:flex;gap:10px;align-items:center;margin-left:auto}
.roadmap-tree-dock .roadmap-view-controls{margin:0;border:1px solid #6e7e8b55;border-radius:8px;overflow:hidden;gap:0}
.roadmap-tree-dock .roadmap-view-controls button{min-height:40px;border:0;border-radius:0;padding:6px 14px;font-size:13px;color:#b4c5d1;background:transparent}
.roadmap-tree-dock .roadmap-view-controls button[aria-pressed="true"]{background:#3d53677a;color:#f0e9d8}
.roadmap-tree-utility{min-height:44px;padding:6px 10px;background:transparent;border:0;color:#bbcad4;cursor:pointer;font:inherit;font-size:12px}
.roadmap-tree-legend{display:flex;gap:12px;color:#9dabb7;font:11px/1.5 system-ui,sans-serif;white-space:nowrap}
.roadmap-tree-legend .legend-complete{color:#80c2ac}.roadmap-tree-legend .legend-verified{color:#b6d4b9}
.roadmap-tree-canvas{position:relative;isolation:isolate;margin:auto;max-width:2600px}
.roadmap-tree-lines{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.tree-region{stroke:none;pointer-events:none}
.tree-branch,.tree-twig{fill:none;stroke:#8396a3;stroke-opacity:.35;stroke-width:1.5}
.tree-branch{stroke-width:2}.tree-branch.completed,.tree-branch.verified{stroke:#a8c4ad;stroke-opacity:.65}
.tree-twig.completed,.tree-twig.verified{stroke:#9ac0ac;stroke-opacity:.7;stroke-width:2}
.roadmap-tree-node-wrap{position:absolute;transform:translate(-50%,-33px);display:flex;flex-direction:column;align-items:center;text-align:center;width:170px;font-family:system-ui,sans-serif}
.roadmap-tree-node{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:66px;height:66px;padding:0;border:2px solid #82929e;border-radius:50%;background:radial-gradient(circle at 40% 25%,#34485b,#1c2c3b 75%);color:#c8d4db;box-shadow:0 0 0 5px #0b162250,0 6px 20px #0004;cursor:pointer;box-sizing:border-box}
.phase .roadmap-tree-node::before{content:'';position:absolute;inset:-7px;border-radius:50%;background:conic-gradient(#a7ccb5 var(--progress,0deg),#8b9aab20 0);mask:radial-gradient(farthest-side,transparent calc(100% - 2px),black 0);pointer-events:none}
.root .roadmap-tree-node{width:82px;height:82px;color:#eee0b9;border-color:#b8a778;background:radial-gradient(circle at 40% 25%,#5a5747,#2d3540 80%)}
.root{transform:translate(-50%,-41px)}
.roadmap-tree-node svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.root .roadmap-tree-node svg{width:42px;height:42px}.tree-icon-mark{font:700 7px system-ui,sans-serif;stroke:none;fill:currentColor;text-anchor:middle}
.roadmap-tree-node.available{border-color:#d3bd86;color:#ead9af;box-shadow:0 0 0 5px #b9a37113,0 0 20px #bba77318}
.roadmap-tree-node.completed{border-color:#88b9a0;background:radial-gradient(circle at 40% 25%,#477966,#254f43);color:#e0efdf}
.roadmap-tree-node.verified{border:4px double #bfd7bc;background:radial-gradient(circle at 40% 25%,#648273,#315348);color:#f3efcf}
.roadmap-tree-node.pending{border-style:dashed;color:#bfcbd6}
.roadmap-tree-node.locked{border-color:#697b8a;color:#91a3b2;background:radial-gradient(circle at 40% 25%,#2a3b4b,#192936);box-shadow:0 0 0 4px #101c2a80}
.roadmap-tree-node.not_applicable{border-style:dotted;color:#a8b6c1}
.roadmap-tree-node.selected{outline:2px solid #ecd49b;outline-offset:9px}
.roadmap-tree-state-badge{position:absolute;right:-4px;bottom:-3px;width:18px;height:18px;font:700 11px/18px system-ui,sans-serif;color:#d2dce3;background:#3c4f60;border:1px solid #111e2b;border-radius:50%;text-align:center}
.completed .roadmap-tree-state-badge,.verified .roadmap-tree-state-badge{background:#699d80;color:#102b20}.available .roadmap-tree-state-badge{display:none}
.roadmap-tree-label{font-size:13px;line-height:1.25;font-weight:600;color:#dde3e5;margin-top:12px;max-width:160px;overflow-wrap:anywhere;text-shadow:0 1px 6px #101c2b}
.root .roadmap-tree-label{font-size:16px;color:#eddfbb}.roadmap-tree-count{font-size:11px;line-height:1.5;color:#9aadb7;margin-top:2px}
.task{width:65px;transform:translate(-50%,-23px)}.task .roadmap-tree-node{height:46px;width:46px;border-width:1.5px;box-shadow:0 0 0 4px #0b162250,0 3px 10px #0004}
.task .roadmap-tree-node svg{width:29px;height:29px}.task .roadmap-tree-node.verified{border:3px double #bed5ba}
.task.optional .roadmap-tree-node:not(.verified){border-style:dashed}
.roadmap-tree-task-caption{font-size:10px;line-height:1.2;color:#b0bec8;max-width:65px;max-height:2.4em;overflow:hidden;margin-top:7px;overflow-wrap:anywhere}
.roadmap-tree-tooltip{position:fixed;z-index:80;padding:14px 16px;border:1px solid #899ba66b;background:#172839f5;color:#e7e9e4;border-radius:10px;box-shadow:0 8px 28px #0006;pointer-events:none;max-height:65vh;overflow:auto;box-sizing:border-box;font:13px/1.45 system-ui,sans-serif}
.roadmap-tree-tooltip[hidden]{display:none}.roadmap-tree-tooltip strong{color:#ebd7a4}.roadmap-tree-tooltip p{margin:5px 0 0}
.roadmap-tree-save-message{position:fixed;bottom:12px;right:16px;z-index:35;color:#cfdfd9;background:#173040e6;border-radius:8px;padding:6px 10px;font:12px/1.4 system-ui,sans-serif}.roadmap-tree-save-message:empty{display:none}
.roadmap-tree-dialog[open],.roadmap-tree-resources[open]{display:block;position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #8ba1b466;border-radius:16px;overflow:auto;box-sizing:border-box;background:#f8fafc;color:#213749;box-shadow:0 24px 90px #0008;font:16px/1.5 system-ui,sans-serif}
.roadmap-tree-dialog::backdrop,.roadmap-tree-resources::backdrop{background:#06101ac9;backdrop-filter:blur(5px)}
.roadmap-tree-dialog-heading{position:sticky;top:0;z-index:5;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 22px;background:#f8fafcf5;border-bottom:1px solid #d9e2ea;backdrop-filter:blur(12px)}
.roadmap-tree-dialog-heading h2{font:600 20px/1.3 system-ui,sans-serif;margin:0;color:#173a56;overflow-wrap:anywhere}.roadmap-tree-dialog-eyebrow{display:block;color:#657d90;font-size:12px;margin-bottom:4px}
.roadmap-tree-close{min-width:60px;min-height:44px;flex-shrink:0;border:1px solid #bccbd6;background:white;border-radius:7px;color:#274c65;font:14px system-ui,sans-serif;cursor:pointer;padding:8px}
.roadmap-tree-dialog[open]>.roadmap-stage{display:block!important;border:0!important;background:transparent!important;margin:0!important;padding:12px 22px!important;box-shadow:none!important;border-radius:0!important;color:#213749}
.roadmap-tree-dialog[open]>.roadmap-stage>summary{display:none}
.roadmap-tree-dialog[open] .stage-body{padding:0!important}.roadmap-tree-dialog[open] .item-row{scroll-margin-top:130px}
.roadmap-tree-dialog[data-task] .stage-body>:not(.tree-active-item){display:none!important}
.roadmap-tree-dialog[data-task] .tree-active-item{border-top:0;margin:0;padding-top:0}
.roadmap-tree-dialog-footer{padding:0 22px 16px}.roadmap-tree-dialog-footer:has(button[hidden]):not(:has(output:not(:empty))){display:none}
.roadmap-tree-full-phase{border:0;border-bottom:1px dotted #476d88;padding:10px 0;background:transparent;color:#315e7e;font:14px system-ui,sans-serif;cursor:pointer;min-height:44px}
.roadmap-tree-resources-body{padding:18px 22px}.roadmap-tree-resources-body .header-card{margin:0 0 1rem;padding:1rem;background:#173f5e;border-radius:10px;color:white}.roadmap-tree-resources-body .header-card a{color:#d4e7f5}.roadmap-tree-resources-body img{max-width:120px;max-height:60px}.roadmap-tree-resources-body .docs-card{display:block;background:transparent;border:0;box-shadow:none;padding:0}
.roadmap-tree-node:focus-visible,.roadmap-tree-utility:focus-visible,.roadmap-tree-close:focus-visible,.roadmap-view-controls button:focus-visible{outline:3px solid #dabf7f;outline-offset:5px}
@media(max-width:759px){.roadmap-tree-dock{padding:6px 10px;gap:3px 8px;min-height:94px}.roadmap-tree-brand{font-size:14px}.roadmap-tree-brand>svg{width:21px}.roadmap-tree-dock-actions{width:100%;justify-content:space-between;margin:0}.roadmap-tree-legend{display:none}.roadmap-tree-dock .roadmap-view-controls button{min-height:44px;padding:6px 15px}.roadmap-tree-utility{font-size:12px}.roadmap-tree-node-wrap.phase{width:160px}.roadmap-tree-task-caption{font-size:11px}.roadmap-tree-dialog[open],.roadmap-tree-resources[open]{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.roadmap-tree-dialog-heading{padding:14px}.roadmap-tree-dialog-heading h2{font-size:18px}.roadmap-tree-dialog[open]>.roadmap-stage{padding:12px 14px!important}.roadmap-tree-dialog-footer{padding:0 14px 14px}}
@media(prefers-reduced-motion:no-preference){.roadmap-tree-node{transition:border-color .16s,box-shadow .16s,transform .16s}.roadmap-tree-node:hover{transform:translateY(-2px);box-shadow:0 0 0 5px #b9a37118,0 6px 22px #0005}}
@media print{.roadmap-tree-mode .roadmap-tree-surrounding{display:revert!important}.roadmap-tree-dock,[data-roadmap-tree],[data-roadmap-view-controls]{display:none!important}.roadmap-tree-mode .roadmap-tree-dialog:not([open]){display:contents!important}.roadmap-tree-dialog[open]{position:static!important;display:contents!important}.roadmap-tree-dialog-heading,.roadmap-tree-dialog-footer{display:none!important}.roadmap-tree-mode{color:black!important;background:white!important}}

.roadmap-tree-popup-save{display:block;color:#355e72;font-size:13px;margin-top:8px}.roadmap-tree-popup-save:empty{display:none}.roadmap-tree-popup-save.error{color:#a33131}

.roadmap-tree-utility.has-notices{color:#e1bd74}

.roadmap-tree-dialog-footer{position:sticky;bottom:0;z-index:6;background:#f8fafcf5;border-top:1px solid #d9e2ea;padding-top:8px;backdrop-filter:blur(10px)}

.roadmap-tree-sample{font-size:10px;font-weight:400;border:1px solid #a99b6e66;color:#c8b98e;border-radius:4px;padding:2px 5px}

/* One compact header in either view; full account and reference content stays accessible. */
.roadmap-compact-mode .roadmap-compact-source{display:none!important}
body.roadmap-compact-mode:not(.roadmap-tree-mode)>.roadmap-tree-dock,
.roadmap-compact-mode:not(.roadmap-tree-mode) .roadmap-tree-dock{position:relative;margin-bottom:20px;border-radius:0}
.roadmap-compact-mode:not(.roadmap-tree-mode) .roadmap-tree-legend{display:none}
@media print{.roadmap-compact-mode .roadmap-compact-source{display:revert!important}}

.roadmap-list-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;border-top:1px solid #ffffff30;padding-top:10px}
.roadmap-list-actions .roadmap-view-controls{margin:0}
.roadmap-list-actions .roadmap-tree-utility{color:#e1edf7;border:1px solid #ffffff55;border-radius:7px;padding:8px 16px;font-size:14px}
.roadmap-compact-mode:not(.roadmap-tree-mode) .header-card h1{font-size:1.5rem!important}
.roadmap-compact-mode .header-card .status-card{background:transparent;border:0;box-shadow:none;color:inherit;padding:0;margin:12px 0 0}
.roadmap-compact-mode .header-card .guest-login-notice{background:transparent;border:0;box-shadow:none;color:inherit;padding:0;margin:12px 0 0}

/* Progress guides the eye: finished paths, the open frontier, then locked work. */
.roadmap-tree-node.completed,.roadmap-tree-node.verified{border-color:#a4e5b6;background:radial-gradient(circle at 40% 25%,#498c63,#20513b);color:#e8ffdf;box-shadow:0 0 0 4px #75c89520,0 0 22px #5db48522}
.roadmap-tree-node.available{border-color:#f2d18a;background:radial-gradient(circle at 40% 25%,#7a653a,#403829);color:#fff0c8;box-shadow:0 0 0 5px #e6bc6530,0 0 26px #e6bc6535}
.roadmap-tree-node.locked{border-color:#46535f;background:#17232e;color:#667581;box-shadow:none}
.roadmap-tree-node.pending{border-color:#8994b1;background:#252e40;color:#aab5cf;box-shadow:none}
.roadmap-tree-node-wrap[data-status="locked"] .roadmap-tree-label,
.roadmap-tree-node-wrap[data-status="locked"] .roadmap-tree-task-caption{color:#778590}
.roadmap-tree-node-wrap[data-status="available"] .roadmap-tree-label,
.roadmap-tree-node-wrap[data-status="available"] .roadmap-tree-task-caption{color:#f5d99f}
.roadmap-tree-node-wrap[data-status="completed"] .roadmap-tree-task-caption,
.roadmap-tree-node-wrap[data-status="verified"] .roadmap-tree-task-caption{color:#b1dec0}
.tree-branch.locked,.tree-twig.locked{stroke:#566675;stroke-opacity:.23;stroke-width:1}
.tree-branch.pending,.tree-twig.pending{stroke:#8b96b3;stroke-opacity:.35;stroke-dasharray:3 6}
.tree-branch.available,.tree-twig.available{stroke:#e7c57b;stroke-opacity:.85;stroke-width:2}
.tree-branch.completed,.tree-branch.verified,.tree-twig.completed,.tree-twig.verified{stroke:#83c79c;stroke-opacity:.85;stroke-width:2}
.roadmap-tree-legend .legend-available{color:#f5d18b}.roadmap-tree-legend .legend-locked{color:#778590}.roadmap-tree-legend .legend-pending{color:#aab5cf}
.roadmap-compact-mode .header-card{position:relative}
.roadmap-compact-mode .header-login-cta{position:static;float:none;margin:0;color:#fff!important;text-decoration:none;white-space:nowrap}
.roadmap-account-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;margin-left:auto}
.roadmap-compact-mode .roadmap-account-actions .roadmap-browser-notice{display:inline-block;margin:0;padding:3px 8px;border:1px solid #edc56b;border-radius:4px;background:#fff0c8;color:#5b4008;font-size:12px;line-height:1.4}
.roadmap-list-actions{clear:both;flex-wrap:wrap}
@media(max-width:760px){.roadmap-account-actions{justify-content:flex-start;margin:0}.roadmap-list-actions{gap:10px}}
.roadmap-footer{padding:18px 0;text-align:center;font-size:.85rem}
.roadmap-tree-mode .roadmap-footer a{color:#a9bed1}

.roadmap-tree-compact .roadmap-tree-label{font-size:10px;line-height:1.1;margin-top:5px;max-width:150px}
.roadmap-tree-compact .root .roadmap-tree-label{font-size:14px;max-width:120px}
.roadmap-tree-compact .roadmap-tree-count{display:none}
.roadmap-tree-compact .roadmap-tree-task-caption{font-size:10px;line-height:1.15;margin-top:5px}

.roadmap-tree-compact .task{width:min(65px,calc(var(--tree-pitch) - 2px))}
.roadmap-tree-compact .roadmap-tree-task-caption{max-width:min(65px,calc(var(--tree-pitch) - 2px))}

/* One light-switch control stays in the top bar in both views. */
.roadmap-compact-mode:not(.roadmap-tree-mode) .roadmap-tree-dock{position:sticky;top:0;margin-bottom:16px;border-radius:0}
.roadmap-view-controls.roadmap-view-switch{display:flex;align-items:center;gap:3px;margin:0;border:0;border-radius:0;overflow:visible;background:transparent}
.roadmap-view-controls.roadmap-view-switch>button[data-roadmap-view]{min-height:44px;padding:6px 7px;border:0;border-radius:0;background:transparent;color:#abc1d1;font-size:13px;box-shadow:none}
.roadmap-view-controls.roadmap-view-switch>button[data-roadmap-view][aria-pressed=true]{background:transparent;color:#fff;font-weight:700}
.roadmap-view-controls.roadmap-view-switch>.roadmap-view-knob{position:relative;flex:0 0 46px;width:46px;min-height:44px;padding:0;border:0;border-radius:24px;background:transparent;box-shadow:none}
.roadmap-view-knob::before{content:'';position:absolute;inset:10px 0;border:1px solid #91a9b6;background:#435d70;border-radius:20px}
.roadmap-view-knob::after{content:'';position:absolute;top:13px;left:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 4px #0005}
.roadmap-view-knob[aria-checked=true]::before{background:#2383ad;border-color:#70bddb}
.roadmap-view-knob[aria-checked=true]::after{transform:translateX(22px)}
.roadmap-view-switch button:focus-visible{outline:2px solid #e9cc8b;outline-offset:2px}
.roadmap-review-tools{margin:0;gap:8px;flex-wrap:wrap}
.roadmap-review-student{font-size:12px;color:#d2e5f4;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roadmap-review-mode .docschool-staff-topbar{position:sticky;top:0;z-index:30}
.roadmap-review-mode.roadmap-tree-mode .page-shell{max-width:none;margin:0;padding:0}
.roadmap-review-mode.roadmap-tree-mode .review-card{margin:0;padding:0}
@media(prefers-reduced-motion:no-preference){.roadmap-view-knob::after{transition:transform .18s ease}.roadmap-view-knob::before{transition:background .18s ease}}
@media(max-width:759px){.roadmap-review-student{max-width:160px}.roadmap-review-tools{width:auto}.roadmap-view-controls.roadmap-view-switch>button[data-roadmap-view]{padding:6px}}
@media print{.roadmap-review-tools{display:none!important}}
body.roadmap-compact-mode:not(.roadmap-review-mode){max-width:none;margin:0;padding:0}
.roadmap-page-content{max-width:1050px;margin:16px auto 0;padding:0 16px 32px;box-sizing:border-box}
.roadmap-tree-mode .roadmap-page-content{max-width:none;margin:0;padding:0}
.roadmap-list-actions:empty{display:none}
.roadmap-review-mode.roadmap-tree-mode .docschool-staff-topbar{margin-bottom:0}
body.roadmap-tree-mode{overflow-anchor:none}
/* Verification is blue; self-reported completion remains green. */
.roadmap-tree-node.verified{border-color:#a1d7ff;background:radial-gradient(circle at 40% 25%,#367fba,#153e66);color:#e6f5ff;box-shadow:0 0 0 4px #69b7ef25,0 0 22px #69b7ef30}
.verified .roadmap-tree-state-badge{background:#86c4f3;color:#133856}
.tree-branch.verified,.tree-twig.verified{stroke:#79bdf0}
.roadmap-tree-node-wrap[data-status="verified"] .roadmap-tree-task-caption{color:#a8d7f6}
.roadmap-tree-legend{position:absolute;top:8px;left:16px;z-index:2;max-width:calc(50% - 70px);flex-wrap:wrap;white-space:normal;gap:4px 12px}
.roadmap-tree-legend .legend-verified{color:#9bd2fa}
@media(max-width:759px){.roadmap-tree-legend{display:flex;max-width:calc(100% - 32px);font-size:10px}.roadmap-tree-legend .legend-available,.roadmap-tree-legend .legend-locked,.roadmap-tree-legend .legend-pending{display:none}}

.roadmap-account-actions .header-login-cta{min-height:44px;padding:10px 18px;font-size:16px;line-height:1.5}

.roadmap-tree-dock-actions{flex-wrap:wrap;min-width:0}
.roadmap-guest-brand{flex:1 1 380px;min-width:0;white-space:normal}
.roadmap-guest-brand>svg{flex-shrink:0}
.roadmap-guest-heading{min-width:0}
.roadmap-guest-heading h1{font-size:16px;line-height:1.35;margin:0;color:inherit}
.roadmap-guest-heading p{font-size:12px;line-height:1.4;margin:4px 0 0;color:#c5d6e2}
.roadmap-guest-brand .roadmap-tree-progress{display:none}
@media(max-width:759px){.roadmap-tree-dock-actions .roadmap-account-actions{flex:1 0 100%;min-width:0}.roadmap-account-actions .roadmap-browser-notice{max-width:100%;box-sizing:border-box}.roadmap-guest-heading h1{font-size:14px}}

.roadmap-footer{margin-top:24px;padding:0;background:#edf4fa;border-top:1px solid #d3e0eb;color:#334e68;text-align:left;font-size:13px}
.roadmap-footer-inner{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;max-width:1200px;margin:0 auto;padding:20px 22px;box-sizing:border-box}
.roadmap-footer h2{font-size:13px;font-weight:700;color:inherit;margin:0}
.roadmap-footer-links{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:0}
.roadmap-footer a{color:#145a87;text-decoration:none}
.roadmap-footer a:hover{text-decoration:underline}
.roadmap-footer a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.roadmap-footer-statistics{margin-left:auto;font-weight:600}
.roadmap-tree-mode .roadmap-footer{background:#142333;border-color:#344958;color:#c0d2df}
.roadmap-tree-mode .roadmap-footer a{color:#b5dcf4}
@media(max-width:759px){.roadmap-footer-inner{padding:18px 16px;gap:12px}.roadmap-footer-links{flex-basis:100%;gap:12px 20px}.roadmap-footer-statistics{margin-left:0}}

.roadmap-review-picker{display:flex;align-items:center;gap:8px;margin:0;min-width:0}
.roadmap-review-picker label{margin:0;font-size:13px;color:#d2e5f4}
.roadmap-review-picker select{width:280px;max-width:38vw;font-size:13px;min-height:40px}
@media(max-width:759px){.roadmap-review-picker{flex:1 0 100%}.roadmap-review-picker select{flex:1;width:0;max-width:none}}

.roadmap-review-mode .docschool-staff-topbar .roadmap-review-picker select,
.roadmap-review-mode .docschool-staff-topbar .roadmap-review-picker option{color:#193c58;background-color:#fff;color-scheme:light}

/* Completed paths should support the hierarchy without dominating the nodes. */
.tree-branch.verified,.tree-twig.verified{stroke-opacity:.45}
.tree-branch.completed,.tree-twig.completed{stroke-opacity:.45}

.tree-branch.tree-spine{stroke:#8da6b9;stroke-opacity:.65}

.roadmap-tree-lattice .roadmap-tree-label,.roadmap-tree-lattice .roadmap-tree-task-caption{background:#111e2be8;border-radius:3px;padding:1px 3px;box-sizing:border-box}
.roadmap-tree-lattice .phase .roadmap-tree-node{width:66px;height:66px}
.roadmap-tree-lattice .root .roadmap-tree-node{width:82px;height:82px}
.roadmap-tree-lattice .task .roadmap-tree-node{width:46px;height:46px}
.roadmap-tree-lattice .roadmap-tree-task-caption{max-width:min(76px,calc(var(--tree-pitch) - 6px));font-size:11px;line-height:1.15}
.roadmap-tree-lattice .roadmap-tree-count{display:none}
.roadmap-tree-lattice .tree-branch{stroke-opacity:.6}

.roadmap-tree-lattice .task{width:min(76px,calc(var(--tree-pitch) - 6px))}
.roadmap-tree-lattice .roadmap-tree-task-caption{font-size:10px}

.roadmap-tree{overflow-x:auto;overscroll-behavior-x:contain}
.roadmap-tree-lattice .roadmap-tree-canvas{max-width:none;margin-left:0;margin-right:0}

/* Category junctions share the staggered lattice with ordinary tasks. */
.roadmap-tree-lattice .phase:not(.root){transform:translate(-50%,-28px);width:var(--tree-pitch)}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node{width:56px;height:56px;border:0;border-radius:0;background:none;box-shadow:none}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node::before{inset:0;border-radius:0;mask:none;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);background:currentColor;opacity:.7}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node::after{content:'';position:absolute;inset:2px;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);background:#1c2c3b}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node.verified::after{background:#245b83}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node.completed::after{background:#254f43}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node.available::after{background:#51452d}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node svg{position:relative;z-index:1;width:28px;height:28px}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-state-badge{z-index:2}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-label{max-width:calc(var(--tree-pitch) - 6px);font-size:11px;line-height:1.15}
.roadmap-tree-lattice .tree-branch,.roadmap-tree-lattice .tree-twig{stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:.36}
.roadmap-tree-lattice .tree-branch.locked,.roadmap-tree-lattice .tree-twig.locked{stroke-opacity:.22}
.roadmap-tree-lattice .tree-branch.available,.roadmap-tree-lattice .tree-twig.available{stroke-opacity:.6}
.roadmap-tree-lattice .root .roadmap-tree-node{border:0;border-radius:0;background:none;box-shadow:none}
.roadmap-tree-lattice .root .roadmap-tree-node::before{inset:0;border-radius:0;mask:none;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);background:currentColor;opacity:.8}
.roadmap-tree-lattice .root .roadmap-tree-node::after{content:'';position:absolute;inset:3px;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);background:#293a4b}
.roadmap-tree-lattice .root .roadmap-tree-node.verified::after{background:#245b83}
.roadmap-tree-lattice .root .roadmap-tree-node.completed::after{background:#254f43}
.roadmap-tree-lattice .root .roadmap-tree-node.available::after{background:#51452d}
.roadmap-tree-lattice .root .roadmap-tree-node svg{position:relative;z-index:1}
.roadmap-tree-lattice .root .roadmap-tree-state-badge{z-index:2}

/* Restore a clear visual hierarchy without changing the category icons. */
.roadmap-tree-lattice .phase:not(.root){width:calc(var(--tree-pitch) + 28px);transform:translate(-50%,-34px)}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node{width:68px;height:68px}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node::after{inset:3px}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node svg{width:34px;height:34px}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-label{max-width:calc(var(--tree-pitch) + 28px);font-size:12px;font-weight:650;line-height:1.15;color:#e8dfcc;background:none;padding:0;text-shadow:0 1px 4px #08131b,0 -1px 4px #08131b}
.roadmap-tree-lattice .roadmap-tree-task-caption{background:none;padding:0;font-size:10.5px;text-shadow:0 1px 3px #08131b,0 -1px 3px #08131b,1px 0 3px #08131b,-1px 0 3px #08131b}
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-label{width:max-content;max-width:none;white-space:nowrap}
.roadmap-tree-lattice .root .roadmap-tree-label{background:none;padding:0;font-weight:700}

/* Reflowed category groups stay readable on phones and narrow windows. */
.roadmap-tree[data-layout="stacked"]{overflow-x:hidden}
.roadmap-tree[data-layout="stacked"] .roadmap-tree-legend{position:relative;top:auto;left:auto;max-width:none;padding:12px 16px 0;box-sizing:border-box}
.roadmap-tree[data-layout="stacked"] .phase .roadmap-tree-label{position:absolute;bottom:100%;margin:0 0 10px;background:none;white-space:nowrap;width:max-content;max-width:none;font-size:13px}
.roadmap-tree[data-layout="stacked"] .root .roadmap-tree-label{font-size:16px}
.roadmap-tree[data-layout="board"] .phase:not(.root) .roadmap-tree-label{font-size:clamp(11px,calc(var(--tree-pitch) / 9),12px)}

/* A category-led overview: full size labels, quiet grouping, distinct states. */
.roadmap-tree[data-layout="board"] .roadmap-tree-task-caption{font-size:12px;line-height:1.15;max-height:none;max-width:84px}
.roadmap-tree[data-layout="board"] .task{width:84px}
.roadmap-tree[data-layout="board"] .phase:not(.root) .roadmap-tree-label{font-size:13px}
.roadmap-tree-node-wrap[data-status="locked"] .roadmap-tree-task-caption{color:#9baab7}
.roadmap-tree-lattice .tree-group-link{stroke-dasharray:2 5;stroke-opacity:.28}
.roadmap-tree[data-layout="board"] .roadmap-tree-legend{max-width:none}

/* Categories retain the original circular language, with a larger root. */
.roadmap-tree-lattice .phase .roadmap-tree-node::before,
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node::before{clip-path:none;border-radius:50%}
.roadmap-tree-lattice .phase .roadmap-tree-node::after,
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node::after{clip-path:none;border-radius:50%}
.roadmap-tree-lattice .phase .roadmap-tree-node,
.roadmap-tree-lattice .phase:not(.root) .roadmap-tree-node{border-radius:50%}
.roadmap-tree[data-layout="board"] .task,.roadmap-tree[data-layout="board"] .roadmap-tree-task-caption{width:calc(var(--tree-pitch) - 8px);max-width:84px}
.roadmap-tree[data-layout="board"] .roadmap-tree-task-caption{font-size:11.5px;overflow-wrap:normal;width:calc(var(--tree-pitch) - 2px)}
.roadmap-tree-legend .legend-links{color:#93a6b6;margin-left:12px}
@media(max-width:759px){.roadmap-tree-legend .legend-links{display:none}}

.roadmap-tree[data-layout="board"] .roadmap-tree-legend{position:relative;top:auto;left:auto;max-width:none;min-height:36px;padding:8px 16px;box-sizing:border-box}

.roadmap-tree[data-layout="board"] .roadmap-tree-task-caption{margin-top:2px}

/* All connections use the same straight, solid visual language. */
.roadmap-tree-lattice .tree-branch,.roadmap-tree-lattice .tree-twig{stroke-dasharray:none}

/* Keep a possible duplicate account visible above the student's roadmap. */
.roadmap-account-warning{display:flex;align-items:center;gap:16px;margin:14px 20px;padding:16px 20px;border:1px solid #d4a34b;border-left:6px solid #a45b00;border-radius:8px;background:#fff1cf;color:#593600;box-shadow:0 3px 12px #00000012;font:15px/1.45 system-ui,sans-serif;box-sizing:border-box}
.roadmap-account-warning-icon{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border:2px solid currentColor;border-radius:50%;font-size:23px;font-weight:800}
.roadmap-account-warning-copy{flex:1;min-width:0}
.roadmap-account-warning h2{margin:0 0 4px;font:700 18px/1.3 system-ui,sans-serif;color:inherit}
.roadmap-account-warning p{margin:0;color:inherit}
.roadmap-account-warning-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #694000;border-radius:6px;background:#694000;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;box-sizing:border-box}
.roadmap-account-warning-action:hover{background:#4b2d00;color:#fff;text-decoration:underline}
.roadmap-account-warning-action:focus-visible{outline:3px solid #694000;outline-offset:4px}
@media(max-width:759px){.roadmap-account-warning{flex-wrap:wrap;align-items:flex-start;gap:12px;margin:12px;padding:14px}.roadmap-account-warning-copy{flex-basis:calc(100% - 48px)}.roadmap-account-warning-action{width:100%}}

.roadmap-supervisor-priority details{margin-top:8px}.roadmap-supervisor-priority summary{cursor:pointer;font-weight:600}.roadmap-supervisor-priority.is-confirmed{background:#eaf5ed;border-color:#74a786;border-left-color:#287747;color:#214b30}

.study-leave-panel{box-sizing:border-box;padding:20px;color:#243746;background:#fff;font:15px/1.5 system-ui,sans-serif;border:1px solid #ccd7df;border-radius:10px;margin:16px 20px}
.study-leave-panel h2{font-size:20px;margin:0 0 12px}.study-leave-panel p{margin:10px 0}.study-leave-panel summary{cursor:pointer;font-weight:600;padding:10px 0}.study-leave-panel label{display:block;margin:12px 0}.study-leave-panel input,.study-leave-panel textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #9bafbf;border-radius:5px;padding:9px;background:#fff;color:#243746;font:inherit}.study-leave-panel button{border:1px solid #25577a;border-radius:5px;padding:9px 14px;background:#25577a;color:#fff;cursor:pointer;font:inherit;margin-top:8px}.study-leave-panel small{display:block;color:#526575}.study-leave-panel .border-top{border-top:1px solid #ccd7df;padding:12px 0}
.roadmap-study-leave-control{position:fixed;right:20px;bottom:20px;z-index:1040;display:grid;place-items:center;width:48px;height:48px;border:1px solid #7fa5bf;border-radius:50%;background:#19394f;color:#eef7ff;box-shadow:0 3px 12px #0005;font:22px/1 system-ui,sans-serif;cursor:pointer}.roadmap-study-leave-control:hover{background:#285875}.roadmap-study-leave-control.is-paused{background:#725514;border-color:#e2bf69}.roadmap-study-leave-control:focus-visible{outline:3px solid #e9c76d;outline-offset:3px}
.roadmap-study-leave-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:0;border:1px solid #8da4b5;border-radius:12px;background:#fff;color:#243746;box-shadow:0 12px 60px #0007}.roadmap-study-leave-dialog::backdrop{background:#081522b8}.roadmap-study-leave-dialog .study-leave-panel{margin:0;border:0;border-radius:0}.roadmap-study-leave-dialog .study-leave-panel>h2{display:none}.roadmap-study-leave-dialog .roadmap-tree-dialog-heading{background:#19394f;color:#fff;padding:12px 20px}.roadmap-study-leave-dialog .roadmap-tree-dialog-heading h2{color:inherit;margin:0;font-size:20px}
@media(max-width:759px){.roadmap-study-leave-control{right:12px;bottom:12px}}
.field-budget{display:block;margin:6px 0;font:13px/1.4 system-ui,sans-serif;color:#725000}.field-budget[hidden]{display:none}.field-budget.is-over-limit{color:#a32222;font-weight:600}[data-field-limit][aria-invalid=true]{border:2px solid #a32222!important}
