:root {
  --canvas: #ffffff;
  --ink: #111114;
  --muted: #6e6d80;
  --line: #e8e8f2;
  --soft: #f5f5ff;
  --violet: #6e40ff;
  --violet-deep: #4b22d6;
  --sky: #0797ff;
  --mint: #00b99a;
  --sunshine: #ffe045;
  --red: #d33f55;
  --header-height: 72px;
  --gutter: clamp(20px, 3.4vw, 54px);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(110, 64, 255, .28);
  outline-offset: 3px;
}

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.brand span { color: var(--violet); }

.site-nav { display: flex; justify-content: center; align-items: center; gap: 3px; }
.site-nav a {
  color: #44434f;
  text-decoration: none;
  font-size: .79rem;
  font-weight: 650;
  padding: 9px 10px;
  border-radius: 11px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--violet-deep); background: #f0ecff; }

.account-button {
  min-width: 78px;
  min-height: 40px;
  border: 1px solid #cdccdc;
  border-radius: 13px;
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.account-button:hover { border-color: var(--violet); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(73, 56, 147, .12); }
.account-button .avatar { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; background: var(--violet); color: #fff; font-size: .7rem; }

.industry-strip {
  min-height: 55px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-strip::-webkit-scrollbar { display: none; }
.industry-button {
  flex: 0 0 auto;
  min-width: 110px;
  min-height: 54px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #555463;
  font-size: .78rem;
  font-weight: 650;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.industry-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.industry-button:hover { color: var(--ink); background: #fafaff; }
.industry-button.is-active { color: var(--violet-deep); border-bottom-color: var(--violet); }

.career-layout {
  width: min(1510px, 100%);
  margin: 0 auto;
  padding: 26px var(--gutter) 30px;
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 30px;
  flex: 1;
}

.role-rail {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 78px);
}
.rail-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.rail-heading span { color: var(--muted); font-size: .72rem; font-weight: 650; }
.rail-heading button { border: 0; background: transparent; color: var(--violet-deep); font-size: .7rem; font-weight: 700; padding: 4px; cursor: pointer; }
.role-rail h2 { margin: 0 8px 8px; font-size: .78rem; color: #737184; font-weight: 650; }
.role-list { display: grid; gap: 5px; }
.role-button {
  width: 100%;
  min-height: 47px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-size: .82rem;
  font-weight: 650;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.role-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role-button:hover { background: #f7f6ff; border-color: #ece9ff; }
.role-button.is-active { color: var(--violet-deep); background: #eee9ff; border-color: #ded3ff; }
.rail-note { margin: 24px 6px 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.rail-note strong { font-size: .72rem; }
.rail-note p { margin: 6px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.6; }

.workspace { min-width: 0; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.workspace-heading h1 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.workspace-heading p { margin: 10px 0 0; max-width: 690px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.tools-shortcut { flex: 0 0 auto; color: var(--violet-deep); font-size: .76rem; font-weight: 700; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }

.view-tabs { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.view-tabs button { min-height: 43px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #666577; font-size: .8rem; font-weight: 650; padding: 0 5px; cursor: pointer; }
.view-tabs button:hover { color: var(--ink); }
.view-tabs button.is-active { color: var(--violet-deep); border-bottom-color: var(--violet); }

.matrix-layout { display: grid; grid-template-columns: minmax(0, 1fr) 214px; gap: 20px; align-items: start; }
.matrix-scroll { min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 17px; }
.matrix-table { min-width: 760px; }
.matrix-head, .matrix-row { display: grid; grid-template-columns: 150px 1.08fr 1fr 1.22fr .9fr; }
.matrix-head { min-height: 42px; align-items: center; background: #fbfbff; border-bottom: 1px solid var(--line); color: #686779; font-size: .69rem; font-weight: 700; }
.matrix-head > div { padding: 0 13px; }
.matrix-row { min-height: 106px; border-bottom: 1px solid var(--line); }
.matrix-row:last-child { border-bottom: 0; }
.task-cell {
  margin: 7px;
  border: 0;
  border-radius: 13px;
  background: var(--violet);
  padding: 14px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.matrix-row:nth-child(4n + 2) .task-cell { background: var(--violet); }
.matrix-row:nth-child(4n + 3) .task-cell { background: var(--sky); }
.matrix-row:nth-child(4n + 4) .task-cell { background: var(--mint); }
.matrix-row:nth-child(4n + 5) .task-cell { background: var(--sunshine); color: #1d1a08; }
.task-title { display: flex; align-items: center; gap: 7px; font-size: .91rem; font-weight: 750; }
.task-title svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.task-cell p { margin: 7px 0 0; color: inherit; opacity: .83; font-size: .67rem; line-height: 1.45; }
.resource-cell { min-width: 0; border-left: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.resource-button { width: 100%; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; }
.resource-title { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--ink); font-size: .75rem; font-weight: 720; line-height: 1.35; }
.resource-title svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; color: var(--violet); }
.resource-title a { color: inherit; text-decoration: none; }
.resource-title a:hover { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.resource-cell p { margin: 0; color: var(--muted); font-size: .66rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.resource-more { align-self: flex-start; border: 0; background: transparent; color: var(--violet-deep); font-size: .63rem; font-weight: 720; padding: 0; cursor: pointer; }
.resource-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.tool-pair { display: grid; gap: 7px; }
.tool-line { display: flex; align-items: center; gap: 7px; font-size: .71rem; font-weight: 700; }
.tool-mark { width: 21px; height: 21px; border-radius: 7px; display: grid; place-items: center; color: #fff; background: var(--violet); font-size: .64rem; }
.tool-line:nth-child(2) .tool-mark { background: var(--mint); }
.tool-line a { color: inherit; text-decoration: none; }
.tool-line a:hover { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }

.starter-rail { border: 1px solid var(--line); border-radius: 17px; padding: 16px 15px; }
.starter-rail h2 { margin: 0 0 16px; font-size: .92rem; }
.starter-step { position: relative; display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding-bottom: 15px; }
.starter-step:last-of-type { padding-bottom: 4px; }
.starter-step:not(:last-of-type)::after { content: ""; position: absolute; left: 12px; top: 25px; bottom: 0; width: 1px; background: #cfc9ef; }
.starter-number { width: 25px; height: 25px; border-radius: 9px; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: .66rem; font-weight: 800; z-index: 1; }
.starter-step:nth-of-type(3n) .starter-number { background: var(--sky); }
.starter-step:nth-of-type(4n) .starter-number { background: var(--mint); }
.starter-step strong { display: block; padding-top: 3px; font-size: .72rem; line-height: 1.35; }
.starter-step p { margin: 4px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.5; }
.starter-link { width: 100%; min-height: 38px; margin-top: 12px; border: 1px solid var(--violet); border-radius: 11px; background: #fff; color: var(--violet-deep); font-size: .72rem; font-weight: 750; cursor: pointer; }

.workday-view { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; }
.day-canvas { min-width: 0; }
.day-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; padding-bottom: 25px; }
.day-path::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: 9px; height: 3px; background: linear-gradient(90deg, var(--mint) 0 25%, var(--violet) 25% 50%, var(--sky) 50% 75%, #e8b900 75%); border-radius: 3px; }
.day-stage { min-height: 104px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 13px; text-align: left; cursor: pointer; position: relative; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.day-stage:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(75, 62, 143, .1); }
.day-stage.is-active { border: 2px solid var(--violet); background: #faf8ff; }
.day-stage::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 14px; height: 14px; margin-left: -7px; border: 3px solid #fff; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 2px var(--violet); z-index: 2; }
.day-stage:nth-child(1)::after { background: var(--mint); box-shadow: 0 0 0 2px var(--mint); }
.day-stage:nth-child(3)::after { background: var(--sky); box-shadow: 0 0 0 2px var(--sky); }
.day-stage:nth-child(4)::after { background: #e8b900; box-shadow: 0 0 0 2px #e8b900; }
.day-stage time { color: var(--violet-deep); font-size: .65rem; font-weight: 800; }
.day-stage strong { display: block; margin-top: 8px; font-size: .8rem; }
.day-stage span { display: block; margin-top: 5px; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.day-detail { margin-top: 16px; border: 1px solid var(--violet); border-radius: 17px; overflow: hidden; }
.day-detail-heading { padding: 14px 17px; background: var(--violet); color: #fff; }
.day-detail-heading h2 { margin: 0; font-size: 1.05rem; }
.day-detail-heading p { margin: 4px 0 0; color: rgba(255, 255, 255, .8); font-size: .7rem; }
.day-resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.day-resource { min-height: 150px; padding: 16px; border-right: 1px solid var(--line); }
.day-resource:last-child { border-right: 0; }
.day-resource > span { color: var(--muted); font-size: .66rem; font-weight: 700; }
.day-resource .resource-title { margin-top: 14px; }
.day-resource p { color: var(--muted); font-size: .67rem; line-height: 1.55; }
.today-panel { border: 1px solid var(--line); border-radius: 17px; padding: 18px; align-self: start; }
.today-panel h2 { margin: 0; font-size: .95rem; }
.today-panel > p { margin: 6px 0 17px; color: var(--muted); font-size: .69rem; line-height: 1.5; }
.today-steps { display: grid; gap: 14px; }
.today-step { display: grid; grid-template-columns: 25px 1fr; gap: 9px; align-items: start; }
.today-step span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); color: var(--violet-deep); font-size: .66rem; font-weight: 800; }
.today-step strong { display: block; padding-top: 3px; font-size: .72rem; }
.today-step p { margin: 4px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.primary-action { width: 100%; min-height: 42px; margin-top: 18px; border: 0; border-radius: 12px; background: var(--violet); color: #fff; font-size: .75rem; font-weight: 750; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.primary-action:hover { background: var(--violet-deep); transform: translateY(-1px); }

.path-view { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 22px; }
.path-main { min-width: 0; }
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; margin-bottom: 18px; }
.milestones::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: #dedbe9; z-index: -1; }
.milestone { min-height: 89px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px; text-align: left; cursor: pointer; }
.milestone span { display: block; color: var(--violet); font-size: .65rem; font-weight: 800; }
.milestone strong { display: block; margin-top: 6px; font-size: .75rem; line-height: 1.4; }
.milestone.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.milestone.is-active span { color: rgba(255,255,255,.8); }
.path-detail { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.path-detail h2 { margin: 0; padding: 14px 18px; background: var(--violet); color: #fff; font-size: .95rem; }
.mission-list { padding: 5px 18px; }
.mission-row { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mission-row:last-child { border-bottom: 0; }
.mission-label { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 750; }
.mission-label svg { width: 18px; height: 18px; fill: none; stroke: var(--violet); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mission-value strong { display: block; font-size: .76rem; }
.mission-value p { margin: 4px 0 0; color: var(--muted); font-size: .67rem; line-height: 1.5; }
.path-standard { border: 1px solid var(--line); border-radius: 17px; padding: 18px; align-self: start; }
.path-standard h2 { margin: 0 0 15px; font-size: .94rem; }
.standard-item { display: grid; grid-template-columns: 20px 1fr; gap: 9px; margin-bottom: 13px; }
.standard-item svg { width: 18px; height: 18px; fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.standard-item strong { display: block; font-size: .71rem; }
.standard-item p { margin: 4px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.capability-map { margin-top: 22px; border: 1px solid var(--line); border-radius: 17px; padding: 17px 18px; }
.capability-map h2 { margin: 0 0 17px; font-size: .9rem; }
.capabilities { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.capabilities::before { content: ""; position: absolute; left: 8%; right: 8%; top: 18px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--sky), var(--mint), var(--sunshine)); }
.capability { position: relative; z-index: 1; text-align: center; }
.capability span { width: 38px; height: 38px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 13px; background: #eee9ff; color: var(--violet-deep); }
.capability svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.capability:nth-child(2) span { background: #e3f4ff; color: #006ba9; }
.capability:nth-child(3) span { background: #dff8f2; color: #007d69; }
.capability:nth-child(4) span { background: #fff4b8; color: #6b5600; }
.capability:nth-child(5) span { background: #eee9ff; color: var(--violet-deep); }
.capability strong { font-size: .68rem; }

.site-footer { min-height: 54px; border-top: 1px solid var(--line); padding: 14px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: .69rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--violet-deep); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 49; background: rgba(17, 17, 20, .26); }
.resource-drawer {
  width: min(430px, 100vw);
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(32, 25, 72, .16);
  padding: 56px 30px 30px;
  overflow-y: auto;
  transform: translateX(104%);
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}
.resource-drawer.is-open { transform: translateX(0); }
.drawer-close { position: absolute; top: 17px; right: 19px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drawer-kind { color: var(--violet-deep); font-size: .71rem; font-weight: 750; }
.drawer-title { margin: 8px 0 10px; font-size: 1.65rem; letter-spacing: -.03em; }
.drawer-summary { color: var(--muted); font-size: .83rem; line-height: 1.7; }
.drawer-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.drawer-section h3 { margin: 0 0 10px; font-size: .83rem; }
.drawer-section p, .drawer-section li { color: var(--muted); font-size: .75rem; line-height: 1.65; }
.drawer-section ol { margin: 0; padding-left: 20px; }
.drawer-prompt { margin: 0; padding: 14px; border-radius: 13px; background: var(--soft); color: #343245; font-size: .73rem; line-height: 1.7; white-space: pre-wrap; }
.drawer-link { min-height: 43px; margin-top: 22px; border-radius: 12px; background: var(--violet); color: #fff; text-decoration: none; font-size: .76rem; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; }
.drawer-link:hover { background: var(--violet-deep); }
.drawer-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.auth-notice { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 13px; background: #24232d; color: #fff; font-size: .78rem; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.auth-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .site-header { gap: 14px; }
  .site-nav a { padding-inline: 7px; font-size: .74rem; }
  .career-layout { grid-template-columns: 188px minmax(0, 1fr); gap: 20px; }
  .matrix-layout, .workday-view, .path-view { grid-template-columns: minmax(0, 1fr); }
  .starter-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .starter-rail h2, .starter-link { grid-column: 1 / -1; }
  .starter-step { padding-bottom: 0; }
  .starter-step::after { display: none; }
  .today-panel, .path-standard { display: none; }
}

@media (max-width: 860px) {
  :root { --header-height: 122px; }
  .site-header { grid-template-columns: 1fr auto; grid-template-rows: 67px 55px; padding-inline: 20px; position: relative; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 3px 20px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; min-height: 43px; display: inline-flex; align-items: center; }
  .industry-strip { padding-inline: 12px; }
  .career-layout { grid-template-columns: 1fr; padding: 22px 20px 30px; }
  .role-rail { position: static; padding: 12px; }
  .rail-heading, .role-rail h2, .rail-note { display: none; }
  .role-list { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
  .role-list::-webkit-scrollbar { display: none; }
  .role-button { flex: 0 0 auto; width: auto; padding-inline: 14px; }
  .workspace-heading { align-items: flex-start; }
  .workspace-heading h1 { font-size: 2.2rem; }
  .day-resource-grid { grid-template-columns: repeat(2, 1fr); }
  .day-resource:nth-child(2) { border-right: 0; }
  .day-resource:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .milestones::after { display: none; }
}

@media (max-width: 620px) {
  .brand { font-size: 1.35rem; }
  .account-button { min-width: 70px; padding-inline: 11px; }
  .industry-button { min-width: 98px; padding-inline: 10px; }
  .workspace-heading { display: block; }
  .workspace-heading h1 { font-size: 1.9rem; }
  .workspace-heading p { font-size: .82rem; }
  .tools-shortcut { display: inline-block; margin-top: 13px; }
  .view-tabs { gap: 12px; overflow-x: auto; }
  .view-tabs button { flex: 0 0 auto; }
  .starter-rail { grid-template-columns: 1fr 1fr; }
  .day-path { grid-template-columns: repeat(4, 180px); overflow-x: auto; padding: 0 3px 28px; }
  .day-path::after { left: 60px; right: auto; width: 600px; }
  .day-resource-grid { grid-template-columns: 1fr; }
  .day-resource { border-right: 0; border-bottom: 1px solid var(--line); }
  .day-resource:last-child { border-bottom: 0; }
  .mission-row { grid-template-columns: 1fr; gap: 7px; }
  .capability-map { overflow-x: auto; }
  .capabilities { min-width: 520px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .resource-drawer { padding-inline: 22px; }
}

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