:root {
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:#182b41;
  background:#f4f6f8;
  font-size:15px;
  line-height:1.55;
  --ink:#162c48;
  --muted:#55697d;
  --line:#dce3e9;
  --brand:#256887;
  --navy:#142745;
  --pale:#edf4f6;
  --surface:white;
  --radius:13px;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input,textarea,select {
  font:inherit;
}

button,a {
  touch-action:manipulation;
}

button {
  color:inherit;
  cursor:pointer;
}

button:disabled {
  opacity:.55;
  cursor:wait;
}

button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #2991b7;
  outline-offset:3px;
}

button,a,input,textarea,select {
  max-width:100%;
}

a {
  color:var(--brand);
}

h1,h2,h3,p {
  margin:0;
}

h1 {
  font-size:clamp(26px,3vw,37px);
  line-height:1.23;
  letter-spacing:-.045em;
}

h2 {
  font-size:19px;
  line-height:1.4;
}

h3 {
  font-size:15px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
}

.skip:not(:focus-visible) {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.skip:focus-visible {
  background: white;
  padding: 10px;
  border-radius: 6px;
}

.starting {
  padding:10vh 8vw;
}

.topbar {
  background:#fff;
  border-bottom:1px solid var(--line);
}

.bar-inner,.shell {
  width:min(1230px,100%);
  margin:auto;
  padding:0 clamp(16px,4vw,58px);
}

.bar-inner {
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand,.account,.toolbar,.section-title,.actions,.inline,.card-top,.item-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.brand {
  gap:12px;
  min-width:0;
}

.brand img {
  width:33px;
  height:34px;
  object-fit:contain;
}

.brand strong {
  font-size:18px;
  font-weight:750;
  letter-spacing:.025em;
  white-space:nowrap;
}

.brand small {
  border-left:1px solid var(--line);
  padding-left:12px;
  color:var(--muted);
  white-space:nowrap;
}

.toolbar,.actions,.item-actions {
  flex-wrap:wrap;
}

.account {
  flex-shrink:0;
}

.account button,.text-btn,.navbtn {
  border:0;
  background:transparent;
}

.avatar {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#deebf0;
  color:#305d74;
  font-weight:700;
}

.account button {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
}

.view-nav {
  display:flex;
  gap:3px;
  padding:3px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#f5f7f9;
}

.navbtn {
  min-height:35px;
  border-radius:5px;
  padding:5px 12px;
  color:var(--muted);
}

.navbtn[aria-current=page] {
  background:#fff;
  color:#193852;
  font-weight:650;
  box-shadow:0 1px 4px #152c471c;
}

.shell {
  padding-top:26px;
  padding-bottom:max(56px,env(safe-area-inset-bottom));
}

.hero {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(106deg,#142745 12%,#1b3f58 72%,#285666);
  color:white;
  border-radius:16px;
  padding:clamp(22px,3.4vw,42px);
  margin-bottom:22px;
}

.hero small {
  display:block;
  color:#cbdee6;
  margin-bottom:8px;
  font-size:13px;
  letter-spacing:.045em;
}

.hero p {
  color:#d7e4ea;
  margin-top:8px;
}

.hero .metrics {
  display:flex;
  flex:none;
  gap:clamp(14px,2.4vw,32px);
}

.metric {
  min-width:58px;
  border-left:1px solid #ffffff42;
  padding-left:16px;
}

.metric b {
  font-size:34px;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
  display:block;
  font-weight:570;
}

.metric span {
  color:#d4e3e8;
  font-size:12px;
}

.grid {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:18px;
}

.panel {
  min-width:0;
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:clamp(17px,2.2vw,28px);
}

.full {
  grid-column:1/-1;
}

.section-title {
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:16px;
  flex-wrap:wrap;
}

.section-title h2 {
  margin-right:auto;
}

.count {
  font-size:12px;
  color:var(--muted);
  font-weight:500;
  margin-left:8px;
}

.empty,.subtle,.meta,.field small {
  color:var(--muted);
  font-size:13px;
}

.empty {
  padding:15px 0;
}

.rows,.tiles,.stack {
  display:grid;
  gap:0;
}

.row {
  padding:13px 0;
  border-top:1px solid #e5eaee;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.row:first-child {
  border-top:0;
  padding-top:2px;
}

.row:last-child {
  padding-bottom:2px;
}

.row-main {
  min-width:0;
  overflow-wrap:anywhere;
}

.row-main strong,.tile strong {
  display:block;
  font-weight:650;
}

.meta {
  display:block;
  margin-top:3px;
  font-size:12px;
}

.row-main a {
  text-decoration:none;
}

.tiles {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));
  gap:10px;
}

.tile {
  padding:14px;
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}

.tile>div {
  min-width:0;
  flex:1;
  overflow-wrap:anywhere;
}

.tile .actions {
  margin-top:10px;
}

.tile-mark {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:8px;
  color:#20526d;
  background:var(--pale);
  font-weight:700;
  flex:none;
}

.btn,.chip,.icon-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:1px solid #cbd7df;
  border-radius:7px;
  background:white;
  min-height:37px;
  padding:6px 13px;
  white-space:nowrap;
  font-weight:560;
  color:var(--ink);
}

.btn.primary {
  background:var(--ink);
  border-color:var(--ink);
  color:white;
}

.btn.light,.chip[aria-pressed=true] {
  background:var(--pale);
  border-color:#bed4df;
  color:#225970;
}

.btn:hover,.chip:hover {
  filter:brightness(.97);
}

.btn.danger {
  color:#8d342d;
}

.btn.sm,.chip {
  font-size:13px;
  min-height:33px;
  padding:4px 10px;
}

.text-btn {
  color:var(--brand);
  padding:6px;
}

.icon-btn {
  font-size:22px;
  line-height:1;
  width:38px;
  height:38px;
  padding:0;
  flex:none;
}

.fav {
  font-size:19px;
  width:36px;
  padding:0;
}

.fav[aria-pressed=true] {
  color:#935d16;
  background:#fffaed;
}

.pill {
  display:inline-flex;
  font-size:12px;
  color:#395868;
  padding:3px 8px;
  background:#edf3f5;
  border-radius:5px;
}

.tag-warn {
  color:#88551b;
  background:#fff2db;
}

.tag-fail {
  color:#913c39;
  background:#fceeed;
}

.admin-layout {
  display:grid;
  grid-template-columns:185px minmax(0,1fr);
  gap:18px;
  align-items:start;
}

.side {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:10px;
  display:grid;
  gap:3px;
  position:sticky;
  top:12px;
}

.side button {
  border:0;
  background:transparent;
  text-align:left;
  padding:9px 12px;
  border-radius:7px;
  color:var(--muted);
}

.side button[aria-current=page] {
  color:#154f6e;
  background:#e9f2f6;
  font-weight:680;
}

.stack {
  gap:15px;
}

.panel h3.group-title {
  margin:18px 0 4px;
}

.field {
  display:grid;
  gap:5px;
  margin-bottom:13px;
  font-size:14px;
  font-weight:600;
}

.field input,.field textarea,.field select,.search {
  width:100%;
  min-width:0;
  border:1px solid #bdcbd4;
  border-radius:7px;
  background:#fff;
  color:var(--ink);
  padding:8px 10px;
  min-height:40px;
}

.field input[type=checkbox] {
  width:20px;
  min-height:20px;
}

.field small {
  font-weight:400;
}

.fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:15px;
}

.actions {
  margin-top:12px;
}

.section-title .actions {
  margin:0;
}

.search {
  width:min(100%,300px);
  font-size:14px;
}

.panel details,dialog details {
  border-top:1px solid var(--line);
  padding:10px 0;
}

.panel details summary,dialog summary {
  cursor:pointer;
  font-weight:650;
}

.readable {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.8;
}

.status-line {
  min-height:0;
  color:#933e36;
  font-size:14px;
  background:#fff0ec;
  border-radius:7px;
  padding:8px 11px;
  margin-bottom:10px;
}

.status-line:empty {
  display:none;
}

.dialog-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:17px 20px;
  border-bottom:1px solid var(--line);
  background:white;
  position:sticky;
  top:0;
  z-index:1;
}

dialog {
  padding:0;
  width:min(620px,calc(100% - 24px));
  max-height:88dvh;
  border:1px solid var(--line);
  border-radius:13px;
  color:var(--ink);
  box-shadow:0 18px 70px #122d4940;
}

dialog::backdrop {
  background:#0e1e34a8;
}

#detail-body {
  padding:19px 20px;
  overflow-wrap:anywhere;
}

.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-top:18px;
}

#notice {
  position:fixed;
  bottom:max(18px,env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  max-width:90%;
  border-radius:8px;
  color:white;
  background:#193a51;
  padding:9px 15px;
  z-index:9;
  box-shadow:0 4px 20px #172b4029;
}

#notice:empty {
  display:none;
}

.login-wrap {
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
}

.login-brand {
  background:linear-gradient(135deg,#142745,#234d60);
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(30px,7vw,95px);
  gap:22px;
}

.login-brand .brand img {
  background:white;
  border-radius:7px;
  padding:2px;
}

.login-brand h1 {
  font-size:clamp(34px,4.5vw,60px);
}

.login-brand p {
  color:#d5e3e8;
}

.login-main {
  display:grid;
  place-items:center;
  padding:25px;
}

.login-panel {
  width:min(100%,390px);
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:clamp(22px,4vw,38px);
}

.login-panel h2 {
  font-size:24px;
  margin-bottom:20px;
}

.login-panel .btn {
  width:100%;
  margin-top:8px;
}

.login-password {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  border:1px solid #bdcbd4;
  border-radius:7px;
}
.login-password:focus-within {
  outline:2px solid var(--ink);
  outline-offset:1px;
}
.field .login-password input {
  border:0;
  min-height:44px;
}
.login-password input:focus-visible {
  outline:none;
}
.login-password input::-ms-reveal {
  display:none;
}
.login-password button {
  display:grid;
  place-items:center;
  width:44px;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
}
.login-password button:focus-visible {
  outline-offset:-4px;
}
.login-password button:active {
  color:var(--brand);
  background:var(--pale);
}
@media (hover:hover) {
  .login-password button:hover {
    color:var(--brand);
    background:var(--pale);
  }
}
.login-password .icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}

@media(max-width:780px) {
  .bar-inner {
    gap:8px;
    flex-wrap:wrap;
    padding-top:9px;
    padding-bottom:9px;
  }
  .brand {
    gap:7px;
  }
  .brand strong {
    font-size:16px;
  }
  .brand small {
    display:none;
  }
  .view-nav {
    order:3;
    width:100%;
  }
  .navbtn {
    flex:1;
  }
  .shell {
    padding-top:15px;
  }
  .hero {
    flex-wrap:wrap;
    gap:16px;
  }
  .hero .metrics {
    width:100%;
    justify-content:stretch;
  }
  .metric {
    flex:1;
    padding-left:12px;
  }
  .metric:first-child {
    border-left:0;
    padding-left:0;
  }
  .metric b {
    font-size:25px;
  }
  .grid {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }
  .admin-layout {
    display:block;
  }
  .side {
    position:static;
    display:flex;
    flex-wrap:wrap;
    margin-bottom:12px;
    padding:6px;
  }
  .side button {
    font-size:13px;
    min-height:42px;
    padding:6px 10px;
  }
  .btn,.chip,.navbtn,.text-btn,.fav,.btn.sm {
    min-height:42px;
  }
  .item-actions {
    gap:5px;
  }
  .row {
    align-items:flex-start;
    gap:8px;
  }
  .row .item-actions {
    justify-content:flex-end;
  }
  .login-wrap {
    display:flex;
    flex-direction:column;
  }
  .login-brand {
    padding:25px;
    gap:9px;
  }
  .login-main {
    padding-top:24px;
  }
  .fields {
    grid-template-columns:minmax(0,1fr);
  }
  .section-title {
    gap:7px;
  }
  .search {
    width:100%;
  }
}

@media(max-width:430px) {
  .shell,.bar-inner {
    padding-left:12px;
    padding-right:12px;
  }
  .hero {
    padding:19px;
  }
  .tiles {
    grid-template-columns:minmax(0,1fr);
  }
  .row:has(.item-actions .btn:nth-child(3)) {
    align-items:stretch;
    flex-direction:column;
  }
  .dialog-head {
    padding:13px 15px;
  }
  #detail-body {
    padding:15px;
  }
  .login-brand h1 {
    font-size:30px;
  }
  .grid .panel {
    padding:15px;
  }
}

.subnav  {
  gap: 6px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.subnav button  {
  padding: 7px 12px;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: transparent;
}

.subnav [aria-current=page]  {
  background: var(--pale);
  color: var(--brand);
  font-weight: 650;
}

.row[hidden]  {
  display: none;
}

.test-result  {
  margin-top: 12px;
  color: var(--brand);
}

.result-preview {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.result-preview h3 {
  margin-bottom: 8px;
}

/* Shared desktop rail and mobile drawer for both workbench views. */
.hub-layout {
  --rail-width: 228px;
  --rail-bg: #192543;
  --accent: #474d90;
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0,1fr);
  min-height: 100vh;
  background:#f4f5fa;
}
.hub-layout .icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hub-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
  display:flex;
  flex-direction:column;
  height:100vh;
  height:100dvh;
  padding:26px 15px 16px;
  color:#f5f6fd;
  background:linear-gradient(160deg,var(--rail-bg),#202c4c 80%,#28365a);
  overflow-y:auto;
}
.hub-brand {display:flex; align-items:center; gap:12px; padding:0 10px 30px;}
.hub-brand img {width:40px;height:40px;padding:6px;background:white;border-radius:11px;object-fit:contain;}
.hub-brand strong,.hub-brand small {display:block;}
.hub-brand strong {font-size:19px;letter-spacing:.07em;}
.hub-brand small {font-size:11px;color:#bdc8e1;margin-top:1px;}
.hub-nav .rail-caption {color:#afbdd8;font-size:12px;font-weight:540;padding:0 12px;margin:12px 0;}
.hub-nav .side {display:block;background:none;border:0;padding:0;position:static;border-radius:0;overflow:visible;}
.hub-nav nav button,.hub-nav .nav-bottom button {
  display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:9px 13px;margin:3px 0;
  color:#e2e6f3;background:transparent;border:0;border-radius:8px;text-align:left;font-size:14px;
}
.hub-nav button:hover {background:#354361;}
.hub-nav button[aria-current=page] {background:#414d75;color:white;font-weight:650;box-shadow:inset 3px 0 #b7b8ff;}
.hub-nav nav .icon,.nav-bottom .icon {width:18px;height:18px;color:#c5cde5;}
.nav-bottom {margin-top:auto;padding-top:12px;border-top:1px solid #ffffff24;}
.hub-body {min-width:0;}
.hub-bar {
  display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;
  padding:0 clamp(16px,3vw,45px);border-bottom:1px solid #dde1eb;background:white;
}
.hub-location,.hub-account {display:flex;align-items:center;gap:10px;}
.hub-location {color:#67738a;min-width:0;font-size:13px;}
.hub-location b {color:#26344b;font-weight:600;}
.hub-location>.icon {width:13px;height:13px;color:#9aa4b5;}
.hub-bar button,.drawer-close {display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;background:transparent;}
.hub-bar .hub-location button {min-width:44px;border-radius:8px;color:#475575;}
.hub-bar button:hover {background:#f1f2f8;}
.hub-account {padding:4px 8px;border-radius:10px;color:#334059;font-size:14px;}
.hub-account .avatar {background:#e9e9f7;color:#494d8a;}
.hub-layout .shell {width:min(1376px,100%);padding:clamp(18px,2.4vw,36px) clamp(16px,3vw,45px) 46px;margin:auto;}
.hub-layout .hero,.page-heading {
  color:#1e2d48;background:transparent;padding:0 0 23px;margin:0 0 21px;border-radius:0;border-bottom:1px solid #dae0eb;
}
.hub-layout .hero h1,.page-heading h1 {font-size:clamp(25px,2.45vw,36px);letter-spacing:-.035em;}
.hub-layout .hero small,.page-heading small {color:#5b6683;margin-bottom:6px;display:block;}
.hub-layout .hero p {color:#58677d;margin-top:5px;}
.hub-layout .hero .metrics {gap:7px;}
.hub-layout .metric {padding:8px 15px;min-width:78px;border:1px solid #dce1ef;border-radius:9px;background:#fff;}
.hub-layout .metric b {font-size:24px;color:#414984;font-weight:670;line-height:1.2;}
.hub-layout .metric span {color:#54627c;}
.hub-layout .panel {border-color:#dce1eb;border-radius:12px;box-shadow:0 2px 5px #24385605;}
.hub-layout .panel h2 {font-size:18px;color:#26344e;}
.focused-module .page-heading {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;}
.home-panels {align-items:start;grid-template-areas:"tasks apps" "skills recent" "skills knowledge";grid-template-rows:auto auto 1fr;}
.home-tasks {grid-area:tasks;}
.home-apps {grid-area:apps;}
.home-skills {grid-area:skills;}
.home-recent {grid-area:recent;}
.home-knowledge {grid-area:knowledge;}
.hub-layout .tile-mark {color:#4b548c;background:#eaeaf7;}
.hub-layout .btn.primary {color:white;background:#474d90;border-color:#474d90;}
[data-park-objects] {border-top:1px solid var(--line);margin-top:16px;padding-top:14px;}
[data-park-objects] h3 {font-size:15px;margin-bottom:8px;}
.hub-scrim,.hub-nav .drawer-close {display:none;}
.nav-compact {--rail-width:76px;}
.nav-compact .hub-nav {padding:22px 10px 16px;}
.nav-compact .hub-brand {padding:0 8px 30px;}
.nav-compact .hub-brand div,.nav-compact .hub-nav .rail-caption,.nav-compact .hub-nav button span {display:none;}
.nav-compact .hub-nav nav button,.nav-compact .nav-bottom button {justify-content:center;padding:12px 5px;}
@media(max-width:1050px) and (min-width:881px){
  .hub-layout:not(.nav-compact) {--rail-width:202px;}
  .hub-layout .grid {gap:14px;}
  .hub-layout .metric {padding:7px 9px;min-width:64px;}
}
@media(max-width:880px){
  .hub-layout {display:block;}
  .hub-nav {
    position:fixed;inset:0 auto 0 0;z-index:8;width:min(282px,calc(100% - 52px));padding-top:max(24px,env(safe-area-inset-top));
    padding-bottom:max(16px,env(safe-area-inset-bottom));visibility:hidden;transform:translateX(-105%);
    transition:transform .15s ease,visibility .15s;
  }
  .nav-open .hub-nav {visibility:visible;transform:translateX(0);}
  .nav-open .hub-scrim {display:block;position:fixed;inset:0;z-index:7;border:0;background:#101b38a8;}
  .hub-nav .drawer-close {display:grid;place-items:center;position:absolute;right:10px;top:18px;width:44px;height:44px;color:white;font-size:24px;}
  .drawer-active {overflow:hidden;}
  .hub-bar {min-height:57px;padding:0 12px;}
  .hub-layout .hero {display:block;}
  .hub-layout .hero .metrics {display:flex;margin-top:14px;gap:9px;width:100%;}
  .hub-layout .metric {flex:1;min-width:0;}
  .hub-layout .grid {grid-template-columns: minmax(0,1fr);}
  .hub-layout .home-panels {display:flex;flex-direction:column;align-items:stretch;}
}
@media(max-width:430px){
  .hub-account>span:not(.avatar) {display:none;}
  .hub-layout .shell {padding:21px 14px max(32px,env(safe-area-inset-bottom));}
  .hub-location {gap:5px;}
}
@media(prefers-reduced-motion:reduce){.hub-nav {transition:none;}}

/* Workbench modules share the same title, collection and detail controls. */
.hub-bar {position:sticky;top:0;z-index:3;}
.crumb-home {display:inline-flex;align-items:center;min-height:44px;color:#475677;text-decoration:none;}
.crumb-home:hover {text-decoration:underline;}
.module-page {--edge:#dce1ec;--module-muted:#58657b;--section-pad:clamp(16px,2vw,26px);}
.module-page .module-header {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-bottom:22px;padding-bottom:20px;}
.module-header h1 {margin:0;}
.module-header h1:focus {outline:none;}
.module-header p {margin:6px 0 0;color:var(--module-muted);font-size:14px;}
.module-header>form {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.module-header input {min-height:40px;padding:6px 10px;border:1px solid var(--edge);border-radius:7px;}
.module-page .subnav {display:flex;gap:4px;flex-wrap:wrap;border:0;border-bottom:1px solid var(--edge);border-radius:0;background:transparent;padding:0;margin:-5px 0 20px;}
.module-page .subnav button {color:#56637a;border-radius:0;border-bottom:3px solid transparent;padding:9px 15px;}
.module-page .subnav button[aria-current=page] {color:#404784;background:transparent;border-bottom-color:#525b9d;font-weight:650;}
.module-page .subnav button:hover {background:#e8ebf4;}
.module-page>.panel,.module-page .records,.park-panel,.module-empty,.skill-card,.cost-figures>div {
  background:#fff;border:1px solid var(--edge);border-radius:12px;
}
.module-page>.records+.panel,.park-panel {margin-top:16px;}
.park-panel {padding:var(--section-pad);}
.park-panel [data-park-objects] {border:0;padding:0;margin:0;}
.records {overflow:clip;--columns:minmax(0,1.8fr) minmax(0,1.05fr) minmax(110px,.8fr);}
.records.two-col {--columns:minmax(0,1.6fr) minmax(0,1fr);}
.record-head,.records .record {display:grid;grid-template-columns:var(--columns);gap:12px 20px;align-items:center;}
.record-head {padding:10px var(--section-pad);background:#f7f8fc;border-bottom:1px solid var(--edge);color:#526079;font-size:12px;font-weight:600;}
.record-head span:nth-child(3) {text-align:right;}
.records .record {padding:16px var(--section-pad);min-height:72px;border:0;border-bottom:1px solid #e8ebf1;}
.records .record:last-child {border-bottom:0;}
.records .record:hover {background:#fafbfe;}
.records .record[hidden],.no-hits[hidden],#detail [hidden] {display:none;}
.record-object,.skill-top,.skill-card footer,.list-search,.library-tools {display:flex;align-items:center;gap:12px;min-width:0;}
.record-object .row-main {flex:1;}
.object-mark {display:inline-grid;place-items:center;min-width:38px;width:38px;height:38px;flex:none;border-radius:11px;}
.tone-indigo {color:#4c5998;background:#e9edf9;}
.tone-teal {color:#286a65;background:#e5f1ee;}
.tone-ochre {color:#875c24;background:#f7eedf;}
.tone-violet {color:#6a4c91;background:#f0eaf9;}
.tone-slate {color:#52677d;background:#eaf0f4;}
.record-value {color:#45556c;font-size:14px;overflow-wrap:anywhere;min-width:0;}
.record-value small {display:block;color:var(--module-muted);margin-top:4px;line-height:1.44;}
.value-label {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;}
.records .item-actions {justify-content:flex-end;}
.records .item-actions>span {font-size:14px;color:#46546c;}
.state-label {display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:6px;font-size:12px;line-height:1.5;font-weight:600;color:#46566b;background:#edf0f4;}
.state-label::before {content:"";width:6px;height:6px;border-radius:100%;background:currentColor;}
.state-label.good {background:#e6f2ed;color:#27634d;}
.state-label.pending {background:#fbf0de;color:#85551c;}
.state-label.off {background:#f7e9e7;color:#8b473f;}
.list-tools {padding:13px var(--section-pad);border-bottom:1px solid var(--edge);}
.list-search {gap:8px;max-width:330px;padding:0 12px;min-height:40px;border:1px solid #d3dbe7;border-radius:8px;background:#fafbfe;color:#66768b;}
.list-search .icon {width:17px;height:17px;}
.list-search:focus-within {outline:2px solid #5864a0;outline-offset:1px;}
.list-search input {width:100%;min-width:0;outline:none;border:0;background:transparent;font-size:14px;min-height:38px;}
.no-hits,.module-empty {text-align:center;padding:24px 16px;color:#506079;}
.module-empty {padding:clamp(26px,4vw,52px) 18px;}
.records .module-empty {border:0;}
.module-empty .empty {font-size:14px;padding:12px 0 0;}
.library-tools {margin-bottom:16px;}
.library-tools .toolbar {display:inline-flex;gap:3px;padding:3px;border:1px solid #d7ddeb;border-radius:9px;background:#e9ecf4;}
.library-tools .chip {border-color:transparent;color:#55617a;background:transparent;}
.library-tools .chip[aria-pressed=true] {background:#fff;color:#3e477e;box-shadow:0 1px 4px #23314b17;}
.skill-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px;}
.skill-card {padding:20px;display:flex;flex-direction:column;min-width:0;}
.skill-top,.skill-card footer {justify-content:space-between;gap:8px;}
.skill-top .object-mark {width:43px;height:43px;}
.skill-card h2 {font-size:19px;color:#263450;margin:15px 0 4px;}
.skill-card p,.skill-card footer>span {color:#53617a;font-size:14px;overflow-wrap:anywhere;}
.skill-card p {flex:1;line-height:1.55;margin:0 0 20px;}
.skill-card footer {border-top:1px solid #e4e8ef;padding-top:12px;}
.skill-card footer>span {font-size:12px;}
.skill-card .fav {border-color:transparent;color:#65718a;}
.skill-card .fav[aria-pressed=true] {color:#8a5917;}
.action-link {background:#f0f1fa;border-color:#d9ddef;color:#414a88;min-height:36px;}
.cost-figures {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;}
.cost-figures>div {padding:16px;color:#53617a;font-size:13px;}
.cost-figures strong {display:inline-block;font-size:clamp(21px,2.1vw,30px);margin:5px 4px 0 0;color:#303e64;font-variant-numeric:tabular-nums;}
.cost-figures span {display:block;}
#detail {overscroll-behavior:contain;border-color:#d9dfeb;}
#detail[open] {display:flex;flex-direction:column;overflow:hidden;}
#detail .dialog-head {flex:none;position:static;background:#fbfcff;}
#detail .dialog-head h2 {min-width:0;flex:1;overflow-wrap:anywhere;}
#detail .dialog-head button {flex:none;}
#detail-body {overflow:auto;overscroll-behavior:contain;scroll-padding:12px;min-height:0;line-height:1.6;}
#detail-body .btn.primary {background:#474d90;border-color:#474d90;}
#detail-body .field {gap:6px;margin-bottom:15px;}
#detail-body form+.actions,#detail-body .actions+form {margin-top:18px;border-top:1px solid #e0e5ee;padding-top:16px;}
#detail-body .readable {line-height:1.85;}
#detail .btn[aria-busy=true],.module-page .btn[aria-busy=true] {opacity:.65;cursor:progress;}
@media (max-width:680px) {
  .module-page .module-header {gap:10px;margin-bottom:15px;padding-bottom:15px;}
  .module-header p {font-size:13px;}
  .module-page .subnav {gap:0;margin:0 0 14px;}
  .module-page .subnav button {padding:7px 10px;}
  .record-head {display:none;}
  .records .record {grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:16px;align-items:center;}
  .record-object {grid-column:1/-1;gap:10px;}
  .record-object .row-main strong {font-size:15px;}
  .record-value {grid-column:1;min-width:0;font-size:13px;}
  .value-label {position:static;width:auto;height:auto;clip-path:none;display:block;font-size:11px;color:#58657a;margin-bottom:2px;}
  .record .item-actions {grid-column:2;max-width:100%;gap:5px;}
  .records.two-col .record-value {grid-column:1/-1;margin-left:48px;}
  .list-tools {padding:12px 14px;}
  .list-search {max-width:none;}
  .module-page button,.module-page .btn,.module-page .chip,.module-page input,.module-page .fav,#detail button,#detail .btn,#detail .field input,#detail .field select {min-height:44px;}
  .module-page .fav,#detail .icon-btn {min-width:44px;}
  .module-page input,#detail input,#detail select,#detail textarea {font-size:16px;}
  .module-page .record .item-actions:has(.btn:nth-child(2)) {grid-column:1/-1;justify-content:flex-start;}
  .skill-card {padding:16px;}
  .cost-figures {grid-template-columns:1fr 1fr;gap:8px;}
  #detail {width:100%;max-width:100%;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)));margin:auto 0 0;border-radius:18px 18px 0 0;}
  #detail-body {padding:16px max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));}
  #detail .dialog-head {padding:10px 14px;}
  #detail-body .dialog-actions>button:only-child {width:100%;}
  #detail-body details summary {min-height:44px;align-content:center;}
}
@media (max-width:370px) {
  .module-page .subnav button {padding-inline:7px;}
  .records .record {padding:14px 12px;}
}
.detail-info {display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;background:#f5f6fb;border:1px solid #e1e5ef;border-radius:9px;padding:12px 14px;margin-bottom:18px;}
.detail-info small {flex-basis:100%;color:var(--muted);overflow-wrap:anywhere;}
.detail-info strong {font-size:14px;overflow-wrap:anywhere;}
.dialog-feedback:not(:empty) {padding:8px 12px;margin:0 0 12px;color:#266348;background:#edf6f0;border-radius:7px;}
#detail-title:focus {outline:none;}
#detail-body .detail-stages {margin-top:18px;padding-bottom:5px;}
#detail-body .detail-stages summary {color:#475471;}
#detail-body .detail-stages[open] summary {margin-bottom:8px;}
@media (min-width:681px) and (max-width:1550px){
  .skill-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:680px){
  .skill-grid {grid-template-columns:minmax(0,1fr);}
  .hub-location b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .crumb-home,.hub-account {flex:none;}
}
.knowledge-document {margin-top:18px;}
.knowledge-document p+p {margin-top:12px;}
.knowledge-document :is(h3,h4,h5,h6) {margin:22px 0 7px;color:#283857;font-size:16px;line-height:1.45;}
.knowledge-document h3 {font-size:19px;}
.knowledge-document>:first-child {margin-top:0;}
.raw-source {margin-top:20px;}
.raw-source .readable {margin-top:10px;}
@media (max-width:680px){
  .records.two-col .record {grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);}
  .records.two-col .record-object {grid-column:1;}
  .records.two-col .record-value {grid-column:2;margin-left:0;text-align:right;}
  .records.two-col .value-label {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;}
}
#main {scroll-margin-top:70px;}
.search-summary {margin:16px 0 8px;color:#54637b;font-size:13px;}
[data-knowledge-matches][aria-busy=true] {opacity:.6;}

.park-checks {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:12px 16px}
.park-check {padding:14px;border:1px solid var(--line,#d9e1e8);border-radius:10px;overflow-wrap:anywhere}
.check-title {display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.park-check p {font-size:.9rem;line-height:1.55;margin:8px 0 4px}
.park-check small {font-size:.76rem;color:var(--muted,#526473)}
@media(max-width:760px){.park-checks{grid-template-columns:1fr;gap:8px}.park-check{padding:12px}}

.account-method,.account-fields{margin:0 0 14px;padding:0;border:0;min-width:0}
.account-method legend{font-weight:650;margin-bottom:8px}
.account-method label{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-right:20px;cursor:pointer}
.account-method input{accent-color:#494b9a;width:17px;height:17px}
.account-fields[hidden]{display:none}
.grant-choice::before{content:"";display:inline-grid;place-items:center;width:14px;height:14px;border:1px solid #8a94a8;border-radius:3px;line-height:1;margin-right:6px}
.grant-choice[aria-pressed="true"]::before{content:"✓";color:white;background:#424780;border-color:#424780}
