/* Colours for features added to the teammate's screen layout. */
:root {
  --brand: var(--action);
  --brand-strong: #d5e6ff;
  --muted-ink: var(--ink-soft);
  --surface: var(--panel);
  --surface-muted: var(--surface-raised);
  --page: var(--bg);
  --border: var(--rule);
  --focus: #a6c8ff;
}
#desktop-nav a:hover, #desktop-nav a[aria-current="page"] { background: var(--tint); color: var(--brand-strong); }
#mobile-nav { background: #151d28; border-color: var(--rule); }
.app-shell .app-footer { color: var(--muted); border-color: var(--rule); }
#info-dialog { max-height: 86dvh; overflow: auto; }
.help-methods { margin: 14px 0; border-block: 1px solid var(--rule); }
.help-methods summary { padding-block: 12px; cursor: pointer; }
.home-pathways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-path { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); }
.home-path > :is(.start-detection, .home-campus-action) {
  flex: 1; display: grid; align-content: center; justify-items: start; gap: 10px;
  min-height: 196px; padding: 22px clamp(16px, 2.5vw, 30px); border: 0; border-radius: 0; box-shadow: none;
}
.home-path > a:focus-visible { outline-offset: -4px; }
.home-campus-action { background: #193b40; color: #eefaf7; }
.home-campus-action strong { display: block; font-size: clamp(21px, 2.55vw, 35px); line-height: 1.3; }
.home-campus-action small { display: block; margin-top: 6px; color: #d0e9e5; font-size: 14px; }
.home-campus-action .start-symbol { width: 34px; height: 34px; border-radius: 8px; background: #335755; color: #e0f3ee; }
.home-campus-action .start-arrow { width: 48px; height: 30px; margin: 2px 0 0; border-radius: 20px; background: #deefeb; color: #153f3c; }
.home-campus-action:hover { background: #22464a; }
.home-related { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; padding: 3px clamp(16px, 2.5vw, 30px); }
.home-related .text-link { display: inline-flex; align-items: center; padding: 3px 0; min-height: 44px; color: var(--action); font: inherit; font-size: 13px; }
.home-related .home-archive { height: auto; width: auto; border: 0; border-radius: 0; }
.home-related button, .home-related .home-archive { background: transparent; }
.home-related .text-link strong { font-weight: inherit; }
.mobile-home .home-sections { grid-template-columns: minmax(0, 1fr); }
.mobile-home [hidden] { display: none; }
.home-intent { width: 56%; min-width: 0; overflow-wrap: anywhere; }
.home-intent small { line-height: 1.6; }
.mobile-home .discovery-surface > * + * { border-top: 1px solid var(--rule); }
.mobile-home .section-head { min-height: 44px; }
.home-sections > section { min-width: 0; }
.mobile-home .demo-entry { text-decoration: none; }
.home-empty { padding-block: 18px; }
.home-record { color: var(--ink); text-decoration: none; }
.home-record:hover .home-record-id strong { text-decoration: underline; }
.home-record-symbol { display: grid; place-items: center; color: var(--action); background: var(--tint); }
.home-record-symbol svg { width: 19px; height: 19px; }
.home-record > svg { flex: none; width: 16px; height: 16px; color: var(--muted); }
.home-record-id strong { font-size: 15px; }
.home-record-id small { margin-top: 3px; color: var(--muted); }
.professional-details .report-lab-link, .task-archive-link { color: var(--action); }
.report-lab-link { display: inline-flex; align-items: center; gap: 6px; }
.result-page-nav a svg { width: 17px; height: 17px; }
body .swap-soc :is(.swap-soc-note, .swap-soc-label, .swap-soc-header p, dt) { color: var(--muted); }
body .swap-soc-values div { background: var(--surface-raised); border-color: var(--rule); }
body .swap-soc-detail { border-color: var(--rule); }
body .swap-soc:is([data-state="conditional"],[data-state="unavailable"]) .swap-soc-value { color: var(--amber); }
@media (max-width: 650px) {
  .home-greeting h1 { font-size: 28px; }
  .home-pathways { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-path > :is(.start-detection, .home-campus-action) { min-height: 134px; gap: 5px; padding: 15px 18px; }
  .home-campus-action .start-symbol { width: 26px; height: 26px; }
  .home-campus-action .start-arrow { width: 37px; height: 24px; }
  .home-campus-action small { font-size: 12px; margin-top: 4px; }
  .home-related { padding-inline: 18px; }
  .home-intent { width: 61%; }
}
