:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #182641;
  background: #f6f8fc;
  --muted: #5b6983;
  --blue: #3457d3;
  --border: #e0e6f0;
  --shadow: 0 8px 22px #20366009;
  --nav-offset: 87px;
}
* {box-sizing:border-box}
html {scroll-padding-top:var(--nav-offset)}
body {margin:0;min-width:280px}
button,input {font:inherit}
button {color:inherit;cursor:pointer}
a {color:var(--blue);text-underline-offset:3px}
:focus-visible {outline:2px solid #4169eb;outline-offset:3px}
[hidden] {display:none!important}
.symbols {position:absolute;width:0;height:0;overflow:hidden}
svg {width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.topbar {position:sticky;top:0;z-index:10;min-height:77px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:12px max(4%,24px);background:#fff;border-bottom:1px solid var(--border)}
.brand {display:flex;align-items:center;gap:11px;width:max-content;color:#162542;text-decoration:none}
.brand-icon {width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#4b6ef1,#2d4cb9);color:white;display:grid;place-items:center;box-shadow:0 4px 10px #3a60dd32}
.brand-icon svg {width:23px;height:23px}
.brand strong,.brand small {display:block}
.brand strong {font-size:20px;letter-spacing:-.55px;line-height:1.05}
.brand small {font-size:9px;letter-spacing:1.3px;font-weight:750;color:var(--muted);margin-top:4px}
.topnav {display:flex;gap:7px;align-items:center}
.topnav button {display:flex;align-items:center;gap:8px;border:0;background:transparent;border-radius:8px;font-size:13px;font-weight:650;padding:10px 13px;white-space:nowrap;color:var(--muted)}
.topnav svg {width:16px;height:16px}
.topnav button:hover,.topnav .active {background:#edf1ff;color:#2b50c7}
.progress-box {justify-self:end;width:min(100%,190px)}
.progress-box span {display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px;margin-bottom:5px}
.progress-box b {color:var(--blue)}
progress {display:block;width:100%;height:6px;border:0;border-radius:10px;appearance:none;background:#e9edf6;overflow:hidden;color:var(--blue)}
progress::-webkit-progress-bar {background:#e9edf6}
progress::-webkit-progress-value {background:linear-gradient(90deg,#5079ff,#7559ed)}
progress::-moz-progress-bar {background:var(--blue)}
main {width:min(100% - 64px,1690px);margin:0 auto}
.intro {padding:31px 0 25px;display:flex;align-items:end;justify-content:space-between;gap:22px}
.eyebrow {color:#566482;font-size:10px;letter-spacing:1.28px;font-weight:800;margin:0}
.intro .eyebrow {color:#3458c1;display:flex;align-items:center;gap:8px}
.intro .eyebrow span {display:block;width:7px;height:7px;background:#5075f0;border-radius:50%;box-shadow:0 0 0 4px #e3ebff}
h1 {font-size:clamp(29px,3.4vw,49px);line-height:1.08;letter-spacing:-.055em;margin:11px 0 8px;font-weight:800}
h1 em {color:var(--blue);font-style:normal;white-space:nowrap}
.subtitle {color:var(--muted);margin:0;font-size:14px;line-height:1.5}
.search-wrap {position:relative;width:min(31%,340px);min-width:230px}
.search {height:44px;display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--border);border-radius:10px;padding:0 12px;color:#597097;box-shadow:var(--shadow)}
.search:focus-within {border-color:#7795f2}
.search svg {width:17px;height:17px}
.search input {width:100%;min-width:0;border:0;background:transparent;color:#182641;font-size:13px;outline:none}
.search input::placeholder {color:#61718d}
kbd {font-family:inherit;font-size:12px;background:#f4f6fb;border:1px solid #e3e8f2;border-radius:4px;padding:0 5px}
.search-results {position:absolute;z-index:5;left:0;right:0;top:51px;background:white;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 36px #22386324;padding:8px;font-size:13px}
.search-results button {display:grid;grid-template-columns:1fr auto;gap:3px 7px;text-align:left;background:none;border:0;border-radius:7px;padding:8px;width:100%}
.search-results button:hover,.search-results button:focus-visible {background:#eef3ff}
.search-results small {grid-row:2;color:var(--muted)}
.search-results svg {grid-area:1/2/3;align-self:center;width:15px;color:var(--blue)}
.workspace {display:grid;grid-template-columns:minmax(204px,228px) minmax(0,1fr) minmax(267px,320px);gap:14px;align-items:start}
.journey,.map-panel,.detail {background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);min-width:0}
.side-head {padding:18px 15px 11px}
.side-head h2 {margin:5px 0 0;font-size:16px;letter-spacing:-.3px}
#phases {display:grid;gap:3px;padding:0 7px}
.phase-button {display:grid;grid-template-columns:31px minmax(0,1fr) 13px;align-items:center;gap:8px;text-align:left;width:100%;min-height:53px;padding:6px 7px;border:1px solid transparent;border-radius:9px;background:white}
.phase-button:hover,.phase-button[aria-current] {background:#f0f4ff;border-color:#e3eaff}
.phase-button strong,.phase-button small {display:block}
.phase-button strong {font-size:12px;line-height:1.2}
.phase-button small {font-size:10px;color:var(--muted);line-height:1.25;margin-top:3px}
.phase-button > svg {width:13px;height:13px;color:#687da2}
.phase-icon,.node-icon,.detail-icon {display:grid;place-items:center;background:color-mix(in srgb,var(--tone),white 90%);color:var(--tone);border-radius:8px}
.phase-icon {width:29px;height:29px}
.phase-icon svg {width:16px;height:16px}
.legend {margin:12px 15px 0;padding:13px 0;border-top:1px solid var(--border);display:grid;gap:6px;font-size:11px;color:var(--muted)}
.legend h3 {font-size:11px;margin:0 0 3px;color:#304260}
.legend span {display:flex;gap:8px;align-items:center}
.legend-dot {width:9px;height:9px;border:1px solid #546fe3;border-radius:3px;background:#dce6ff}
.optional-dot {border-style:dashed;background:#fff}
.done-dot {border-color:#218769;background:#d8f7e9}
.legend-clock {width:13px;height:13px;color:#825209}
.victory-marker,.gantt-scroll th button .victory-marker {display:inline-block;vertical-align:baseline;margin-inline-end:.3em;font-style:normal}
.node-copy .victory-marker,.gantt-scroll th button strong .victory-marker,.step-title .victory-marker,.timing-jump strong .victory-marker,.detail h2 .victory-marker {display:block;width:max-content;margin:0 0 3px;font-size:26px;line-height:1.1}
.local-note {border-top:1px solid var(--border);padding:11px 15px 13px;color:var(--muted);font-size:11px;line-height:1.5;display:flex;align-items:flex-start;gap:7px}
.local-note svg {width:14px;height:14px;margin-top:1px;color:#6278a0}
.map-panel {overflow:hidden;scroll-margin:10px}
.map-head {min-height:54px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border)}
.live {display:flex;align-items:center;gap:7px;letter-spacing:1px;color:#466098;font-size:10px;font-weight:800;white-space:nowrap}
.live i {width:7px;height:7px;border-radius:50%;background:#5177eb;box-shadow:0 0 0 3px #e9efff}
.route-label {border:1px solid #cde8e3;background:#edf9f6;color:#17655c;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:750;white-space:nowrap}
.map-head-actions {display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.flow-modes {display:flex;gap:3px;align-items:center;padding:3px;border:1px solid var(--border);border-radius:9px;background:#f4f7fc}
.flow-modes button {border:0;background:transparent;border-radius:6px;padding:6px 8px;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
.flow-modes button[aria-pressed=true] {background:white;color:var(--blue);box-shadow:0 1px 4px #263a6d21}
.flow-modes svg {width:14px;height:14px}
.workspace.gantt-mode {grid-template-columns:minmax(0,1fr) minmax(246px,320px)}
.gantt-mode .journey {display:none}
#gantt-display {min-width:0}
.gantt-intro,.gantt-block {padding:12px}
.gantt-intro h2,.gantt-block h3 {margin:0;font-size:16px}
.gantt-intro p,.gantt-block p {margin:5px 0 9px;color:var(--muted);font-size:12px;line-height:1.5}
.gantt-intro nav {display:flex;gap:12px;font-size:12px}
.gantt-block {border-top:1px solid var(--border)}
.gantt-scroll {overflow:auto;max-height:clamp(260px,46dvh,440px);border:1px solid var(--border);border-radius:8px}
.gantt-scroll table {width:100%;min-width:710px;table-layout:fixed;border-spacing:0;font-size:12px;text-align:left}
.gantt-scroll th,.gantt-scroll td {padding:6px;border-bottom:1px solid var(--border)}
.gantt-scroll td {border-left:1px solid var(--border)}
.gantt-scroll thead th {position:sticky;top:0;z-index:2;background:#edf2fa;color:#34466a;text-align:center}
.gantt-scroll th:first-child {position:sticky;left:0;width:215px;z-index:1}
.gantt-scroll thead th:first-child {z-index:3}
.gantt-scroll tbody th {padding:0;background:white}
.gantt-scroll tr.selected td,.gantt-scroll tr.selected th {background-color:#eef3ff}
.gantt-scroll th button {display:grid;gap:3px;width:100%;min-height:48px;border:0;border-left:3px solid var(--tone);background:none;text-align:left;padding:6px 7px;font-size:12px}
.gantt-scroll th button:hover {background:#edf3ff}
.gantt-scroll th button:focus-visible {outline-offset:-2px}
.gantt-scroll th button span {display:flex;align-items:center;gap:5px}
.gantt-scroll th button small {font-size:10px;color:var(--muted);font-weight:500}
.gantt-scroll th button svg {width:14px;height:14px;color:var(--tone)}
.gantt-done {font-size:10px;color:#12644b}
.gantt-scroll .gantt-scale {padding:0;background-image:repeating-linear-gradient(to right,transparent 0 calc(12.5% - 1px),#e0e6f0 calc(12.5% - 1px) 12.5%)}
.gantt-scale > div {position:relative;height:15px}
.gantt-range,.gantt-diamond {position:absolute;left:var(--start);display:block}
.gantt-range {height:100%;width:var(--width);min-width:6px;border-radius:4px;background:linear-gradient(to right,var(--tone) var(--solid),color-mix(in srgb,var(--tone),white 72%) var(--solid))}
.gantt-diamond {width:11px;height:11px;top:2px;transform:translateX(-50%) rotate(45deg);background:var(--tone)}
.gantt-event {display:block;padding:4px;border:1px solid color-mix(in srgb,var(--tone),white 75%);border-radius:5px;text-align:center;color:var(--tone);font-size:10px;font-weight:700;background:color-mix(in srgb,var(--tone),white 94%)}
.gantt-event.variable {background:repeating-linear-gradient(135deg,#f1f4fa 0 4px,#fff 4px 8px);border-style:dashed}
@media (min-width:961px) {
  .gantt-mode .detail {position:sticky;top:var(--nav-offset)}
}
.timing-button {border:1px solid #ecd7b4;background:#fff9ef;color:#73450b;padding:5px 8px;border-radius:8px;font-size:11px;font-weight:750;white-space:nowrap}
.timing-button:hover {background:#fbefd9}
.timing-button svg {width:13px;height:13px}
.viewport {position:relative;overflow:clip;height:clamp(480px,calc(100dvh - 280px),960px);background-color:#f2f6fc;background-image:radial-gradient(circle,#c7d5ea 1px,transparent 1.3px);background-size:18px 18px;touch-action:none;cursor:grab;user-select:none}
.viewport.dragging,.viewport.dragging button {cursor:grabbing}
.viewport:focus-visible {outline-offset:-3px}
.world {position:absolute;left:0;top:0;transform-origin:0 0}
#edges {width:100%;height:100%;position:absolute;inset:0;pointer-events:none;overflow:visible}
.edge {stroke:#7890ba;stroke-width:2;fill:none}
.edge.dashed {stroke-dasharray:6 6}
.stage-label {position:absolute;white-space:nowrap;font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:800;color:var(--tone);padding:3px 8px;background:#f2f6fc;border-radius:5px}
.map-node {position:absolute;display:flex;align-items:center;text-align:left;gap:9px;padding:8px 9px 8px 11px;border:1px solid #d8e2f2;border-radius:11px;background:white;box-shadow:0 3px 12px #2a498b13}
.map-node.optional {border-style:dashed}
.timing-marker {position:absolute;top:-8px;right:10px;display:grid;place-items:center;width:23px;height:21px;border:1px solid var(--timing-border);border-radius:7px;background:var(--timing-bg);color:var(--timing-ink)}
.timing-marker svg {width:13px;height:13px}
[data-timing-type] {--timing-bg:#eef3ff;--timing-border:#d6e2fb;--timing-ink:#3655a0}
[data-timing-type=deadline] {--timing-bg:#fff4df;--timing-border:#eed7aa;--timing-ink:#76500c}
[data-timing-type=validity] {--timing-bg:#f3edff;--timing-border:#e2d7fa;--timing-ink:#6742a2}
[data-timing-type=prep] {--timing-bg:#f0f7f7;--timing-border:#d7e8e8;--timing-ink:#315e62}
.map-node.selected,.map-node:hover {border-color:var(--tone);box-shadow:0 0 0 3px color-mix(in srgb,var(--tone),transparent 84%),0 6px 18px #284b9024;z-index:2}
.map-node.done {background:#f0fcf6;border-color:#79bfa3}
.node-icon {height:36px;width:36px;flex:none}
.node-icon svg {height:18px;width:18px}
.node-copy {flex:1;min-width:0;display:grid;gap:3px}
.node-copy strong {font-size:13px;line-height:1.2;letter-spacing:-.12px}
.node-copy small {font-size:11px;line-height:1.2;color:var(--muted)}
.node-end svg {width:14px;height:14px;color:var(--tone)}
.done .node-end svg {color:#087954}
.map-tools {position:absolute;top:13px;right:12px;display:grid;gap:2px;background:#fff;border:1px solid var(--border);padding:4px;border-radius:9px;box-shadow:var(--shadow);cursor:default}
.map-tools button,.icon-button {width:31px;height:31px;background:white;border:0;border-radius:5px;display:grid;place-items:center;color:#476087;padding:0}
.map-tools button:hover,.icon-button:hover {background:#edf2ff;color:var(--blue)}
.map-tools svg {width:16px;height:16px}
.map-tools output {text-align:center;font-size:9px;font-weight:750;line-height:15px;color:var(--muted)}
.map-tools #fit {border-top:1px solid var(--border)}
.mini {position:absolute;bottom:12px;right:12px;padding:6px 5px 3px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow);text-align:center;cursor:default}
.mini span {display:block;color:#536b97;font-size:8px;letter-spacing:.65px;font-weight:800}
.mini canvas {display:block;width:94px;height:105px;cursor:crosshair}
.map-footer {min-height:39px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:7px 11px;color:var(--muted);font-size:10px;border-top:1px solid var(--border)}
.map-footer svg {width:13px;height:13px}
#visible-count {margin-left:auto;color:#4162a8;font-weight:700}
.detail {padding:17px;max-height:calc(clamp(480px,calc(100dvh - 280px),960px) + 95px);overflow:auto;scroll-margin:10px}
.detail-label,.detail-items-head {display:flex;align-items:center;justify-content:space-between;gap:6px}
.detail-label span {color:#5e7092;font-weight:750;font-size:10px}
.detail-icon {height:44px;width:44px;margin:16px 0 12px;border-radius:11px}
.detail-icon svg {width:22px;height:22px}
.badge {display:inline-block;color:var(--tone);background:color-mix(in srgb,var(--tone),white 92%);border-radius:4px;padding:4px 6px;font-size:9px;font-weight:800;letter-spacing:.65px}
.detail h2 {font-size:23px;letter-spacing:-.6px;line-height:1.1;margin:8px 0}
.detail-desc {color:var(--muted);font-size:12px;line-height:1.55;margin:0}
.timing-detail {margin-top:12px;border:1px solid var(--timing-border);border-radius:8px;background:var(--timing-bg);font-size:12px;color:var(--timing-ink)}
.timing-detail summary {display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:8px;cursor:pointer;font-weight:750;list-style:none}
.timing-detail summary::-webkit-details-marker {display:none}
.timing-detail summary::after {content:'+';font-size:14px}
.timing-detail[open] summary::after {content:'−'}
.timing-detail summary small {display:block;font-size:10px;font-weight:600;margin-top:2px}
.timing-detail summary svg {width:16px;height:16px}
.timing-detail dl {margin:0;padding:2px 9px 8px;line-height:1.45}
.timing-detail dt {font-weight:750;margin-top:8px}
.timing-detail dd {margin:2px 0 0;color:#334463}
.timing-sources {display:flex;flex-wrap:wrap;gap:4px 8px;padding:0 9px 9px;font-size:11px}
.detail-rule {height:1px;background:var(--border);margin:15px 0 12px}
.detail-items-head h3 {font-size:12px;margin:0;display:flex;align-items:center;gap:6px}
.detail-items-head svg {height:15px;width:15px;color:var(--tone)}
#item-count,#action-count {font-size:11px;font-weight:750;color:var(--muted);white-space:nowrap}
.action-help {font-size:11px;color:var(--muted);line-height:1.45;margin:5px 0 9px}
.action-list {display:grid;gap:7px;list-style:none;padding:0;margin:0;counter-reset:action}
.action-list li {position:relative;counter-increment:action;border:1px solid #e2e9f5;border-radius:8px;background:#f8faff;padding:8px 8px 8px 32px}
.action-list li::before {content:counter(action);position:absolute;top:8px;left:7px;width:18px;height:18px;border-radius:5px;display:grid;place-items:center;background:#e7eeff;color:#3156b4;font-size:10px;font-weight:750}
.action-list li:has(input:checked) {background:#f0fbf6;border-color:#d4eee1}
.action-list li:has(input:checked)::before {background:#d6f1e5;color:#12644b}
.action-list label {display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;cursor:pointer}
.action-list input {order:1;flex:none;width:15px;height:15px;accent-color:var(--blue);margin:1px 0 0}
.action-list p,.action-result {font-size:12px;line-height:1.5;color:#435572;margin:4px 0 0;overflow-wrap:anywhere}
.action-result {margin:9px 0;padding:8px 9px;border-left:3px solid #7fa699;border-radius:4px;background:#eff8f5}
.action-result strong {display:block;color:#245a4b;margin-bottom:2px}
.reference-checklist {margin:8px 0 12px;border:1px solid var(--border);border-radius:7px;padding:7px 8px}
.reference-checklist summary {font-size:12px;font-weight:700;cursor:pointer;color:#38517a}
.reference-checklist summary span {float:right}
.detail-items {margin:8px 0 12px;color:var(--muted);font-size:12px}
.item {display:grid;grid-template-columns:14px minmax(0,1fr);align-items:start;gap:8px;padding:8px 7px;border:1px solid #e6ebf4;background:#f9fbff;border-radius:6px;line-height:1.45;margin-top:5px;overflow-wrap:anywhere}
.item input {width:13px;height:13px;margin:2px 0 0;accent-color:var(--blue);cursor:pointer}
.item:has(input:checked) {background:#f0fbf6;border-color:#d4eee1}
.item strong {color:#2d4268}
.complete-button {display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:8px 6px;min-height:36px;border:1px solid #3457d3;border-radius:7px;color:white;background:#3457d3;font-size:11px;font-weight:750}
.complete-button:hover {background:#2647bb}
.complete-button.completed {background:#e5f7ef;color:#11664d;border-color:#87cdb6}
.complete-button svg,.connections svg {width:15px;height:15px}
.connections {display:grid;gap:4px;margin-top:9px}
.connections button {display:flex;text-align:left;align-items:center;gap:7px;padding:6px 5px;border:0;background:white;color:var(--blue);border-radius:5px;font-size:11px}
.connections button:hover {background:#f0f4ff}
footer {font-size:11px;color:var(--muted);padding:14px 0 20px}
.footer-sources {background:none;border:0;padding:4px;color:var(--blue);font-weight:650}
.footer-sources svg {width:13px;height:13px}
.steps-view {max-width:1040px;margin:0 auto}
.steps-head,.step-group {background:white;border:1px solid var(--border);border-radius:14px;padding:clamp(12px,2.3vw,24px);box-shadow:var(--shadow)}
.steps-head {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px}
.steps-head > :first-child {flex:1 1 380px}
.steps-head h2 {margin:4px 0;font-size:25px}
.steps-head p:not(.eyebrow) {margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.steps-head button:disabled {opacity:.65;cursor:default}
#step-groups {display:grid;gap:12px;margin-top:12px}
.step-group h3 {display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:16px;color:var(--tone)}
.step-card {border:1px solid var(--border);border-radius:8px;margin-top:6px;scroll-margin-top:14px}
.step-card > summary {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 14px;padding:10px 12px;cursor:pointer;background:#f9faff;border-radius:inherit;font-size:14px}
.step-card > summary::after {content:'+';color:var(--tone);font-weight:750}
.step-card[open] > summary::after {content:'−'}
.step-card > summary > :first-child {flex:1 1 220px}
.step-estimate {display:block;color:var(--muted);margin-top:4px;font-size:12px}
.step-count {font-size:11px;color:var(--tone);font-weight:700}
.step-done > summary {background:#f0fbf6}
.step-body {padding:10px 12px 12px}
.step-body > p {margin:0 0 7px;font-size:13px;line-height:1.5;color:#435572}
.step-body .action-plan {margin-top:12px}
dialog {width:min(720px,100% - 28px);max-height:85dvh;padding:0;border:1px solid var(--border);border-radius:13px;background:white;color:#182641;box-shadow:0 25px 70px #1b315840}
dialog::backdrop {background:#1a2d5880}
.dialog-head {position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--border);padding:14px 17px;z-index:1}
.dialog-head h2 {font-size:22px;margin:3px 0 0}
#dialog-body {padding:12px 17px 18px;font-size:14px;color:var(--muted)}
#dialog-body h3 {font-size:15px;color:#24395d;margin:14px 0 6px}
.source-item {padding:8px;border-bottom:1px solid var(--border)}
.source-item p {margin:4px 0 0;font-size:12px}
.timing-jump {width:100%;display:grid;grid-template-columns:20px 1fr 16px;align-items:center;gap:9px;margin-top:6px;padding:9px;border:1px solid var(--timing-border);border-radius:7px;background:var(--timing-bg);color:var(--timing-ink);text-align:left}
.timing-jump:hover {filter:brightness(.97)}
.timing-jump small {display:block;margin-top:3px;color:#465474}
.timing-jump svg {width:16px;height:16px}
@media (max-width:1150px) {
  main {width:calc(100% - 36px)}
  .workspace {grid-template-columns:186px minmax(0,1fr) 246px;gap:10px}
  .detail {padding:13px}
}
@media (max-width:960px) {
  :root {--nav-offset:110px}
  .topbar {grid-template-columns:1fr 1fr;gap:8px;padding:9px 16px}
  .topnav {grid-row:2;grid-column:1/-1;justify-content:center}
  .progress-box {grid-row:1;grid-column:2}
  .workspace,.workspace.gantt-mode {grid-template-columns:1fr}
  .side-head {padding:10px 12px 7px}
  #phases {grid-auto-flow:column;grid-auto-columns:168px;overflow:auto;padding-bottom:9px}
  .legend,.local-note {display:none}
  .detail {max-height:none}
  .viewport {height:clamp(400px,61dvh,650px)}
}
@media (max-width:570px) {
  .topnav {gap:2px}
  .topnav button {gap:4px;padding:8px 6px;font-size:12px}
  .topnav svg {width:14px;height:14px}
  main {width:calc(100% - 22px)}
  .intro {display:block;padding:20px 0 14px}
  .search-wrap {width:100%;min-width:0;margin-top:13px}
  .map-head {flex-wrap:wrap}
  .gantt-scroll th:first-child {width:140px}
  .mini canvas {width:66px;height:78px}
  .mini {right:6px;bottom:6px}
  .map-tools {right:6px;top:6px}
  .map-tools button {width:26px;height:28px}
  .viewport {height:clamp(355px,58dvh,530px)}
}
