:root {
  color-scheme: light;
  --ink: #181b1a;
  --muted: #5c655f;
  --subtle: #727873;
  --line: #dedfdb;
  --soft: #f4f5f1;
  --blue: #252b26;
  --blue-hover: #101511;
  --rail: 224px;
  --radius: 15px;
  font:
    14px/1.55 "Geist",
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: #f7f7f3;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary,
a {
  touch-action: manipulation;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  padding: 7px 13px;
  border: 1px solid #d9dcd5;
  border-radius: 7px;
  background: #fff;
  color: #313930;
  font-weight: 570;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.14s,
    border-color 0.14s,
    color 0.14s;
}
button:hover,
.button:hover {
  background: #f4f5f0;
  border-color: #a9b1a5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #87975e;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.52;
  cursor: default;
}
button.primary,
.button.primary,
.req form button:not(.quiet) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px #151c1429;
}
button.primary:hover,
.button.primary:hover,
.req form button:not(.quiet):hover {
  background: var(--blue-hover);
}
button.text-btn,
button.danger {
  background: transparent;
  border: 0;
  min-height: 32px;
  padding: 4px 6px;
}
button.text-btn {
  color: #414e43;
  font-size: 13px;
}
button.text-btn:hover {
  background: #edf0e8;
  color: var(--blue);
}
button.danger {
  color: #97534f;
  font-size: 13px;
}
button.danger:hover {
  color: #9d2525;
  background: #fff1ef;
}
.icon,
.group-glyph svg {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 29px 15px 16px;
  color: #262c26;
  background: #f3f4ef;
  border-right: 1px solid #dadfd3;
}
.brand,
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  padding: 2px 9px 27px;
  border-bottom: 1px solid #dadfd4;
}
.brand strong,
.login-brand strong {
  display: block;
  font-family:
    "Avenir Next",
    Inter,
    -apple-system,
    sans-serif;
  font-size: 23px;
  font-weight: 670;
  letter-spacing: -1.25px;
  line-height: 1.12;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: #5e685d;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-content: center;
  gap: 2px;
  flex: none;
  border-radius: 12px;
  background: #c1f76b;
  box-shadow:
    inset 0 0 0 1px #ffffff2b,
    0 2px 5px #323b1420;
  transform: translateZ(0);
}
.brand-mark b {
  display: block;
  height: 4px;
  background: #222c1d;
  border-radius: 1.2px;
  transform: skew(-29deg);
}
.brand-mark b:nth-child(1) {
  width: 12px;
  margin-left: 8px;
}
.brand-mark b:nth-child(2) {
  width: 19px;
  margin-left: 3px;
}
.brand-mark b:nth-child(3) {
  width: 13px;
  margin-left: 0;
}
.main-nav {
  display: grid;
  gap: 5px;
  margin-top: 25px;
}
.main-nav button {
  width: 100%;
  justify-content: start;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #455043;
  padding: 11px 14px;
  text-align: left;
  min-height: 43px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.main-nav button .icon {
  width: 18px;
  height: 18px;
  color: #677364;
}
.main-nav button:hover {
  background: #e7ebe1;
  color: #222a20;
}
.main-nav button[aria-current="true"] {
  color: #fff;
  background: #252b23;
  border-color: #252b23;
  box-shadow: 0 2px 3px #1b26141a;
}
.main-nav button[aria-current="true"] .icon {
  color: #c1f76b;
}
.rail-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 17px 5px 0;
  border-top: 1px solid #dadfd4;
  font-size: 13px;
}
.account-avatar {
  display: grid;
  place-items: center;
  background: #dee9d0;
  color: #384831;
  width: 31px;
  height: 31px;
  border: 1px solid #c7d4ba;
  border-radius: 10px;
  font-weight: 650;
}
#accountName {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.icon-button {
  border: 0;
  background: transparent;
  color: #5a6855;
  margin-left: auto;
  padding: 5px;
  min-height: 32px;
}
.icon-button:hover {
  color: white;
  background: #394135;
}
.is-signed .main-shell {
  min-height: 100vh;
  margin-left: var(--rail);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0 clamp(22px, 3.1vw, 50px);
}
.crumb,
.deployment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.crumb {
  color: var(--muted);
  font-size: 13px;
}
.crumb > .icon {
  color: #677063;
  width: 17px;
}
.crumb strong {
  color: #262b26;
  font-weight: 560;
}
.slash {
  color: #adb1a9;
}
.deployment {
  gap: 6px;
  background: #f7f7f3;
  border: 1px solid #dfe2da;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  color: #535d55;
}
.deployment .icon {
  width: 14px;
  height: 14px;
}
.content {
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
  padding: 30px clamp(22px, 3.1vw, 50px) 60px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.page-head h1,
.sign h1 {
  font-size: clamp(27px, 2.3vw, 37px);
  font-weight: 680;
  line-height: 1.23;
  letter-spacing: -0.055em;
}
.page-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.card,
.directory-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 5px #1c251407;
}
.card {
  padding: 23px;
  margin-bottom: 18px;
  min-width: 0;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.025em;
  font-weight: 670;
  line-height: 1.45;
}
h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
}
.card-title,
.directory-head,
.members-title,
.group-banner,
.group-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-title {
  margin: 0 0 20px;
}
.card-title > button,
.members-title > button {
  margin-left: auto;
}
.tile,
.group-glyph,
.group-large {
  display: grid;
  place-items: center;
  flex: none;
}
.tile {
  height: 34px;
  width: 34px;
  border-radius: 10px;
  background: #edf0e9;
  color: #3e4d43;
}
.tile.violet {
  background: #eeedf1;
  color: #585362;
}
label {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 590;
  color: #414a43;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 11px;
  min-height: 38px;
  border: 1px solid #d5d8d1;
  border-radius: 7px;
  background: white;
  color: #242b24;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 440;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #737b73;
}
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: #6f8059;
  box-shadow: 0 0 0 3px #78964a26;
}
select {
  appearance: none;
  padding-right: 33px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23687990' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 10px center;
}
textarea {
  resize: vertical;
}
input[type="password"] {
  font-family: ui-monospace, monospace;
}
.row,
.actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 14px;
}
.row > label {
  flex: 1 1 150px;
}
.row:empty,
.muted:empty,
.hint:empty {
  display: none;
}
.form-actions {
  margin-top: 20px;
}
.muted,
.hint,
.status-line,
.task-status {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.muted:not(:empty) {
  margin: 9px 0;
}
.hint:not(:empty) {
  margin: -8px 0 19px;
}
.status-line,
.task-status {
  margin: 14px 0 2px;
}
.chip,
.config-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  border: 1px solid #d8ddd2;
  border-radius: 20px;
  padding: 3px 9px;
  color: #485347;
  background: #f4f5ef;
  font-size: 12px;
  font-weight: 580;
}
.chip:before,
.config-state:before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #858c81;
}
.chip[data-online="true"],
.config-state[aria-label="已配置"],
.config-state[data-configured="true"] {
  color: #286657;
  background: #eff8f3;
  border-color: #c9e6d8;
}
.chip[data-online="true"]:before,
.config-state[data-configured="true"]:before {
  background: #439579;
}
.subnav {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin: -3px 0 22px;
}
.subnav button {
  position: relative;
  gap: 7px;
  background: none;
  border: 0;
  border-radius: 0;
  min-height: 44px;
  padding: 5px 1px 11px;
  color: var(--muted);
  font-size: 14px;
}
.subnav button[aria-current="true"] {
  color: var(--blue);
}
.subnav button[aria-current="true"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
}
.group-layout {
  display: grid;
  grid-template-columns: minmax(195px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.directory-card {
  min-width: 0;
  padding: 16px 9px 7px;
}
.directory-head {
  padding: 0 7px 13px;
  gap: 8px;
}
.directory-head h2 {
  font-size: 14px;
}
.counter {
  font:
    600 11px/1.5 ui-monospace,
    monospace;
  min-width: 19px;
  text-align: center;
  padding: 0 4px;
  background: #eaede5;
  color: #475448;
  border-radius: 5px;
}
.group-cards {
  display: grid;
  gap: 3px;
}
.group-card {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  gap: 9px;
  padding: 9px 8px;
  border-color: transparent;
  background: transparent;
  border-radius: 8px;
}
.group-card:hover {
  border-color: transparent;
  background: #f4f5f1;
}
.group-card[aria-current="true"] {
  background: #edf1e6;
  border-color: #cdd8bc;
}
.group-glyph {
  width: 30px;
  height: 30px;
  background: #f1f2ed;
  border-radius: 8px;
  color: #606b61;
}
.group-glyph svg {
  width: 16px;
  height: 16px;
}
.group-card[data-purpose="operations"] .group-glyph {
  color: #3e5940;
  background: #e3edce;
}
.group-card[data-purpose="development"] .group-glyph {
  color: #8a5740;
  background: #f6e6d6;
}
.group-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.group-copy strong,
.group-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-copy strong {
  font-size: 13px;
  font-weight: 615;
  line-height: 1.45;
}
.group-copy small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.directory-foot {
  border-top: 1px solid #e3e5dd;
  padding: 7px 2px 0;
  margin-top: 14px;
}
.directory-card .muted {
  padding: 0 8px;
}
.mobile-group-picker {
  display: none;
}
.group-detail {
  padding: 0;
  overflow: hidden;
}
.group-banner {
  padding: 18px 21px;
  border-bottom: 1px solid #dce0d5;
  background:
    radial-gradient(ellipse at 102% 0%, #e2e9d7, transparent 59%), #f5f7ef;
  gap: 11px;
}
.group-large {
  width: 41px;
  height: 41px;
  border-radius: 12px;
  background: #273025;
  border: 1px solid #273025;
  color: #c4f583;
}
.group-large svg {
  width: 22px;
  height: 22px;
}
.group-heading {
  min-width: 0;
}
.group-heading h2 {
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.group-heading > span {
  font-size: 12px;
  color: #546251;
}
.group-banner .config-state {
  margin-left: auto;
}
.group-routing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 19px 21px;
  border-bottom: 1px solid #e5e7df;
}
.members-section {
  padding: 16px 21px 13px;
}
.members-title {
  justify-content: space-between;
}
.members-section .muted {
  font-size: 12px;
}
.member-list {
  margin-top: 0;
}
.member {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  padding: 7px 1px;
  border-top: 1px solid #e5e7e0;
}
.member-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.member-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 650;
  background: #e8edfc;
  color: #4b5992;
}
.member:nth-child(3n + 2) .member-avatar {
  background: #e2f2ed;
  color: #417565;
}
.member:nth-child(3n + 3) .member-avatar {
  background: #f5eaf3;
  color: #915784;
}
.member-labels {
  display: grid;
  min-width: 0;
}
.member-name {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.member-id {
  color: #697268;
  font:
    10px/1.4 ui-monospace,
    monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 510;
}
.check input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--blue);
}
.manual {
  border-top: 1px solid #e5e7df;
  margin-top: 3px;
  padding-top: 9px;
}
.manual summary {
  color: #4c6250;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  font-size: 12px;
  cursor: pointer;
}
.manual summary .icon {
  width: 14px;
  height: 14px;
}
.group-actions {
  border-top: 1px solid var(--line);
  background: #f8f9f5;
  justify-content: space-between;
  padding: 13px 21px;
  gap: 12px;
}
.group-actions .primary {
  margin-left: auto;
}
.notice {
  background: #fff6e7;
  border: 1px solid #edd5ae;
  color: #774710;
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 13px;
  margin-bottom: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.model-card {
  max-width: 700px;
}
.model-card .status-line {
  margin: -6px 0 20px;
}
.model-card form label {
  margin: 14px 0 0;
}
.disclosure {
  padding: 12px 0;
  margin: 14px 0;
  border-top: 1px solid #e0e4d9;
  border-bottom: 1px solid #e0e4d9;
  color: #586553;
}
.disclosure summary,
.req summary {
  cursor: pointer;
  font-weight: 570;
}
.disclosure p {
  margin-top: 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
code,
.id,
pre {
  font-family: ui-monospace, SFMono-Regular, monospace;
}
code {
  font-size: 0.92em;
}
.id {
  font-size: 12px;
  color: #63705e;
  overflow-wrap: anywhere;
}
.listitem {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 11px 0;
  border-top: 1px solid #e1e4dc;
}
.listitem button {
  margin-left: auto;
}
.choices {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.choices:not(:empty) {
  margin-top: 12px;
}
.req {
  margin: 12px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 15px;
}
.req[open] {
  padding-bottom: 16px;
}
.req summary {
  font-size: 15px;
}
.req p {
  margin: 9px 0;
  overflow-wrap: anywhere;
}
.req a {
  display: inline-block;
  color: var(--blue);
  margin: 5px 10px 5px 0;
}
.req form,
.req > button {
  margin-top: 12px;
}
pre {
  background: #f4f5f1;
  border: 1px solid #e0e3da;
  padding: 12px;
  border-radius: 8px;
  color: #334033;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
body:not(.is-signed) {
  background:
    radial-gradient(ellipse at 80% 5%, #dae6ca 0%, transparent 48%),
    linear-gradient(135deg, #f1f2e9, #fafbf7 46%, #eaeee2);
  min-height: 100vh;
}
body:not(.is-signed) .content {
  min-height: 100vh;
  display: grid;
  place-content: center;
}
body:not(.is-signed) .notice {
  max-width: 470px;
}
.sign {
  width: min(440px, calc(100vw - 34px));
  background: #fff;
  border: 1px solid #d7dcd1;
  border-radius: 18px;
  box-shadow: 0 18px 65px #23395916;
  padding: 34px;
}
.login-brand {
  color: #283324;
  margin-bottom: 36px;
}
.login-brand .brand-mark {
  width: 35px;
  height: 35px;
}
.sign h1 {
  font-size: 28px;
}
.sign .primary {
  width: 100%;
  margin-top: 15px;
}
.sign form {
  margin-top: 22px;
}
.sign .disclosure {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  font-size: 12px;
}
@media (min-width: 1450px) {
  :root {
    --rail: 245px;
  }
  .group-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .card {
    padding: 28px;
  }
  .group-detail {
    padding: 0;
  }
}
@media (max-width: 1180px) {
  :root {
    --rail: 194px;
  }
  .content {
    padding-left: 23px;
    padding-right: 23px;
  }
  .toolbar {
    padding: 0 23px;
  }
  .group-layout {
    grid-template-columns: 188px minmax(0, 1fr);
    gap: 14px;
  }
  .group-routing,
  .group-banner,
  .members-section,
  .group-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .member {
    gap: 8px;
  }
}
@media (max-width: 960px) {
  :root {
    --rail: 72px;
  }
  .rail {
    padding: 22px 8px 14px;
  }
  .brand {
    padding: 0 0 20px;
    justify-content: center;
  }
  .brand > div:not(.brand-mark) {
    display: none;
  }
  .main-nav button {
    font-size: 10px;
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 0;
    line-height: 1.5;
  }
  .rail-foot {
    justify-content: center;
    flex-wrap: wrap;
    padding: 13px 0 0;
    gap: 6px;
  }
  .rail-foot #accountName {
    display: none;
  }
  .rail-foot .icon-button {
    margin: 0;
  }
  .group-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 730px) {
  .group-layout {
    display: block;
  }
  .directory-card {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .directory-head,
  .group-cards {
    display: none;
  }
  .mobile-group-picker {
    display: block;
    flex: 1 1 130px;
  }
  .directory-foot {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .group-detail {
    margin-bottom: 10px;
  }
  .subnav {
    margin-bottom: 16px;
  }
  .content {
    padding-top: 24px;
  }
  .card {
    padding: 17px;
  }
  .group-detail {
    padding: 0;
  }
  .row {
    gap: 9px;
  }
  .page-head {
    align-items: start;
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .rail {
    position: static;
    width: 100%;
    padding: 10px 14px 0;
  }
  .brand {
    justify-content: flex-start;
    padding: 0;
    border: 0;
    gap: 8px;
  }
  .brand > .brand-mark {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }
  .brand > div:not(.brand-mark) {
    display: block;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand small {
    display: none;
  }
  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0 0;
  }
  .main-nav button {
    display: inline-flex;
    flex: 1;
    min-height: 35px;
    font-size: 12px;
    gap: 5px;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
  }
  .main-nav button .icon {
    width: 14px;
    height: 14px;
  }
  .main-nav button[aria-current="true"] {
    box-shadow: inset 0 -2px #b3df6c;
  }
  .rail-foot {
    position: absolute;
    right: 14px;
    top: 7px;
    flex-wrap: nowrap;
    border: 0;
    padding: 0;
    gap: 6px;
  }
  .rail-foot #accountName {
    display: block;
    font-size: 11px;
  }
  .account-avatar {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 11px;
  }
  .icon-button .icon {
    width: 15px;
  }
  .is-signed .main-shell {
    margin: 0;
  }
  .toolbar {
    height: 39px;
    padding: 0 15px;
  }
  .content {
    padding: 20px 13px 36px;
  }
  .page-head {
    gap: 10px;
    margin-bottom: 18px;
  }
  .page-head h1 {
    font-size: 26px;
  }
  .page-head p {
    font-size: 12px;
  }
  .subnav {
    gap: 16px;
  }
  .subnav button {
    font-size: 13px;
  }
  .group-routing {
    gap: 10px;
  }
  .group-heading h2 {
    font-size: 16px;
  }
  .group-large {
    width: 35px;
    height: 35px;
  }
  .members-section,
  .group-banner,
  .group-actions,
  .group-routing {
    padding-left: 13px;
    padding-right: 13px;
  }
  .check {
    font-size: 11px;
    gap: 3px;
  }
  .member {
    gap: 7px;
  }
  .member-id {
    max-width: 30vw;
  }
  .member .check input {
    width: 14px;
    height: 14px;
  }
  .member-avatar {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .row > label {
    flex-basis: 180px;
  }
  .notice {
    margin-bottom: 12px;
  }
  .form-actions {
    margin-top: 15px;
  }
  .sign {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Node identity and its most recent contact share one surface. */
.station-overview {
  isolation: isolate;
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 228px;
  border-radius: 17px;
  background: #191c20;
  color: #fff;
  margin-bottom: 22px;
}
.station-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: clamp(320px, 52%, 620px);
  background: url("/site-device.webp") no-repeat center / cover;
  mask-image: linear-gradient(to right, transparent 0%, #000 37%);
}
.station-body {
  min-width: 0;
  padding: 24px clamp(20px, 2.4vw, 38px);
}
.station-label {
  color: #c6c9c3;
  font-size: 13px;
  font-weight: 530;
}
.station-selector {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.station-selector select {
  min-height: 0;
  margin: 6px 0 9px;
  padding: 0 25px 2px 0;
  background: transparent;
  border: none;
  color: #fff;
  font:
    540 clamp(34px, 3.3vw, 51px)/1.13 "Geist",
    "Helvetica Neue",
    sans-serif;
  letter-spacing: -0.06em;
  cursor: pointer;
}
.station-selector::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: 3px;
  top: 41%;
  width: 6px;
  height: 6px;
  border: solid #c1c4bf;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.station-selector[data-multiple="false"]::after {
  display: none;
}
.station-selector select option {
  background: #fff;
  color: var(--ink);
}
.station-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}
.connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 640;
  font-size: 12px;
  color: #ddded8;
}
.connection-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #92958e;
}
.connection-badge[data-online="true"] {
  color: #c6f88e;
}
.connection-badge[data-online="true"]::before {
  background: #b2e867;
}
.station-heartbeat {
  border-left: 1px solid #555957;
  padding-left: 11px;
  color: #c3c7c0;
  font-size: 12px;
}
.station-heartbeat time {
  font-variant-numeric: tabular-nums;
  margin-left: 3px;
}
.station-check {
  margin-top: 23px;
  background: #edf5e1;
  border-color: #edf5e1;
  color: #20271d;
}
.station-check:hover {
  background: #d6f3b6;
  border-color: #d6f3b6;
}
.station-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(275px, 1fr);
  gap: 20px;
  align-items: start;
}
.section-icon {
  color: #626c5c;
  width: 19px;
}
.jobs-card .card-title,
.operation-card .card-title {
  margin-bottom: 18px;
}
.task-picker {
  display: none;
}
.task-row {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-top-color: var(--line);
  border-radius: 0;
  padding: 11px 10px;
}
.task-row:hover {
  background: #f4f5f0;
  border-color: transparent;
}
.task-row[aria-pressed="true"] {
  background: #f1f4e9;
  border-color: #d9e1ce;
  border-radius: 8px;
}
.task-identity {
  display: grid;
  gap: 3px;
}
.task-identity strong {
  font-size: 13px;
  font-weight: 620;
}
.task-identity small {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.task-badge {
  flex: none;
  font-size: 11px;
  font-weight: 520;
  color: #625741;
  background: #f2eee4;
  border: 1px solid #e7dfd2;
  border-radius: 999px;
  padding: 2px 8px;
}
.task-badge[data-state="succeeded"] {
  background: #eef6eb;
  color: #33603e;
  border-color: #d1e4d0;
}
.task-badge[data-state="failed"],
.task-badge[data-state="unknown"] {
  color: #913b2d;
  background: #ffefe9;
  border-color: #f2d6c9;
}
.receipt {
  padding: 13px 1px 0;
}
.task-status {
  margin: 0;
  font-size: 12px;
}
#taskCard #result {
  font-family: inherit;
  line-height: 1.65;
  font-size: 13px;
  background: none;
  border: none;
  padding: 3px 0;
  margin: 4px 0;
}
.task-details {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.task-details > summary {
  cursor: pointer;
}
.task-details pre,
#taskCard #result {
  max-height: 15rem;
  overflow: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.operation-card .form-actions {
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.member-columns,
.member {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 72px;
  gap: 10px;
  align-items: center;
}
#memberList[data-infra="false"] .member,
.member-columns[data-infra="false"] {
  grid-template-columns: minmax(0, 1fr) 72px;
}
.member-columns {
  margin-top: 14px;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--muted);
  background: #f4f5f0;
  border-radius: 5px;
}
.member {
  padding: 7px 8px;
  min-height: 53px;
}
.member-columns > :not(:first-child),
.member > .check {
  justify-self: center;
}
.member > .check {
  min-height: 32px;
  width: 32px;
  justify-content: center;
}
.member .check input {
  appearance: none;
  cursor: pointer;
  border: 1px solid #a9b2a4;
  border-radius: 4px;
  background: white;
  width: 17px;
  height: 17px;
}
.member .check input:checked {
  background: #31392c;
  border-color: #31392c;
}
.member .check input:checked::before {
  content: "";
  display: block;
  width: 7px;
  height: 4px;
  border: solid #cefa8b;
  border-width: 0 0 2px 2px;
  transform: translate(3px, 3px) rotate(-45deg);
}
.member .check input:disabled {
  background: #f0f1ec;
  border-color: #dde1d6;
  cursor: default;
}
@media (max-width: 800px) {
  .station-panels {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 730px) {
  .station-body {
    padding: 20px;
  }
  .station-overview {
    min-height: 208px;
    margin-bottom: 14px;
  }
  .member-columns,
  .member {
    grid-template-columns: minmax(0, 1fr) 58px 58px;
    gap: 3px;
  }
  #memberList[data-infra="false"] .member,
  .member-columns[data-infra="false"] {
    grid-template-columns: minmax(0, 1fr) 58px;
  }
}
@media (max-width: 560px) {
  .station-art {
    inset: 0 0 0 33%;
    width: auto;
    background-size: auto 106%;
    background-position: 57% center;
    mask-image: linear-gradient(to right, transparent 1%, #0009 59%, #000);
  }
  .station-heartbeat {
    display: grid;
    border: 0;
    padding: 0;
    gap: 1px;
    font-size: 11px;
  }
  .station-heartbeat time {
    margin: 0;
  }
  .station-meta {
    gap: 13px;
  }
  .station-check {
    min-height: 34px;
    font-size: 12px;
    margin-top: 17px;
  }
  .task-rows {
    display: none;
  }
  .task-picker {
    display: block;
  }
  .station-selector select {
    max-width: 75vw;
  }
  .member-columns,
  .member {
    padding-left: 1px;
    padding-right: 1px;
  }
}

.machine-directory, .machine-card { margin-bottom: 20px; }
.machine-directory .card-title { margin-bottom: 10px; }
.machine-link, .machine-data-row {
  display: grid; gap: 16px; align-items: center;
  border-top: 1px solid var(--line); padding: 13px 0;
  overflow-wrap: anywhere;
}
.machine-link {
  grid-template-columns: 1fr auto 12px;
  text-decoration: none; color: inherit;
}
.machine-link:hover strong { text-decoration: underline; }
.machine-link-name { display: grid; gap: 3px; }
.machine-link small, .machine-data-row small, .machine-platform { color: var(--muted); }
.machine-back { display: inline-block; margin-bottom: 18px; color: var(--muted); }
.machine-platform { margin: -8px 0 24px; }
.machine-card-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.machine-card-head h2 { margin: 0; font-size: 18px; }
.machine-card-head p { margin: 5px 0 0; font-size: 12px; }
.machine-data-row { grid-template-columns: minmax(90px, 1fr) minmax(85px, .65fr) minmax(0, 2fr); font-size: 14px; }
.machine-data-row small { font-size: 13px; }
@media (max-width: 620px) {
  .machine-data-row { grid-template-columns: 1fr auto; gap: 5px; }
  .machine-data-row small:not(:empty) { grid-column: 1/-1; }
  .machine-data-row small:empty { display: none; }
}
