:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #172033;
  --muted: #65758b;
  --line: #dfe6ef;
  --line-soft: #edf1f6;
  --blue: #4c6fff;
  --blue-dark: #3655d9;
  --blue-soft: #eef2ff;
  --green: #149867;
  --green-soft: #eaf8f2;
  --red: #cf4a55;
  --red-soft: #fff0f2;
  --amber: #b26a00;
  --sidebar: #172033;
  --sidebar-muted: #91a0b6;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(23, 32, 51, .06);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 18px;
  color: #fff;
  background: var(--sidebar);
}
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 7px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: #fff;
  background: var(--blue);
}
.brand-mark .icon { width: 20px; height: 20px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.brand small { margin-top: 2px; color: var(--sidebar-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.rail nav { display: grid; gap: 5px; margin-top: 42px; }
.rail nav a, .rail-logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #aeb9ca;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}
.rail nav a:hover, .rail-logout:hover { color: #fff; background: rgba(255,255,255,.06); }
.rail nav a.active { color: #fff; background: rgba(76,111,255,.24); }
.rail nav a.active .icon { color: #8fa5ff; }
.rail-foot { margin-top: auto; padding: 16px 2px 0; border-top: 1px solid rgba(255,255,255,.09); }
.rail-status { display: flex; align-items: center; gap: 8px; padding: 0 12px 10px; color: var(--sidebar-muted); font-size: 13px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #36d399; box-shadow: 0 0 0 4px rgba(54,211,153,.12); }
.rail-logout { font-size: 14px; }

.workspace {
  width: 100%;
  padding: 30px 32px 52px;
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 26px; }
.page-head h1, .issued-wrap h1, .activate-shell h1, .login-panel h1 { margin: 4px 0 7px; font-size: clamp(29px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.eyebrow { margin: 0; color: var(--blue); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.lede { max-width: 690px; margin: 0; color: var(--muted); font-size: 16px; }
.detail-head { margin-top: 12px; align-items: center; }
.head-actions, .inline-actions { display: flex; align-items: center; gap: 8px; }
.head-actions { flex-wrap: wrap; justify-content: flex-end; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, color .14s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 16px rgba(76,111,255,.18); }
.button.primary:hover:not(:disabled) { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button.ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button.key { color: var(--blue-dark); background: var(--blue-soft); border-color: #dbe2ff; }
.button.danger { color: var(--red); background: var(--red-soft); border-color: #ffd8dc; }
.button.small { min-height: 34px; padding: 0 11px; font-size: 13px; }
.button.full { width: 100%; margin-top: 24px; }
.button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.button .icon { width: 17px; height: 17px; }

.sheet, .action-pane, .group-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.sheet { min-width: 0; }
.section-head { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.section-head h2, .action-pane h2 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.section-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.section-head a { color: var(--blue-dark); font-size: 14px; font-weight: 650; text-decoration: none; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.groups-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.action-pane { position: sticky; top: 24px; padding: 24px; }
.action-pane > p:not(.eyebrow) { margin: 8px 0 21px; color: var(--muted); }
.action-pane h2 { margin-top: 7px; font-size: 21px; }
.action-icon, .issued-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 9px; color: var(--blue); background: var(--blue-soft); }
.action-icon .icon, .issued-icon .icon { width: 21px; height: 21px; }
.disabled-pane { background: #f8fafc; }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.metric-strip > div { min-height: 112px; padding: 22px; border-right: 1px solid var(--line-soft); }
.metric-strip > div:last-child { border-right: 0; }
.metric-strip span, .metric-strip strong { display: block; }
.metric-strip span { color: var(--muted); font-size: 13px; }
.metric-strip strong { margin-top: 9px; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 22px; }

.group-list, .member-list, .server-list, .device-list { display: grid; }
.group-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(220px, 1fr) 190px 108px 36px;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background .14s ease;
}
.group-row:last-child, .member-row:last-child, .server-row:last-child, .device-row:last-child { border-bottom: 0; }
.group-row:hover { background: #f9fbff; }
.row-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: var(--blue); background: var(--blue-soft); }
.row-icon .icon { width: 19px; height: 19px; }
.group-main strong, .group-main small, .member-identity strong, .member-identity small, .device-row strong, .device-row small, .server-row strong, .server-row small { display: block; }
.group-main strong, .member-identity strong { font-size: 15px; }
.group-main small, .member-identity small, .device-row small, .server-row small { margin-top: 3px; color: var(--muted); font-size: 13px; }
.row-arrow { width: 36px; height: 36px; display: grid; place-items: center; justify-self: end; border-radius: 8px; color: #9aa8ba; }
.group-row:hover .row-arrow { color: var(--blue); background: var(--blue-soft); }
.row-arrow .icon { width: 18px; height: 18px; }
.muted-row { opacity: .62; }

.capacity { min-width: 0; }
.capacity > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.capacity > span b { color: var(--ink); font-size: 15px; }
.capacity i { height: 6px; display: block; overflow: hidden; border-radius: 6px; background: #e7ecf3; }
.capacity em { height: 100%; display: block; border-radius: inherit; background: var(--blue); }
.capacity.wide { width: min(410px, 44%); }
.capacity.wide > span { font-size: 14px; }
.capacity.wide > span b { font-size: 20px; }
.capacity.wide i { height: 8px; }

.state { width: max-content; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); font-size: 12px; font-weight: 650; }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a8b2c0; }
.state.on { color: var(--green); }
.state.on::before { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.state.off { color: var(--red); }
.state.off::before { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.state.idle { color: var(--muted); }
.state.idle::before { background: #98a5b7; box-shadow: 0 0 0 3px #edf1f5; }

.group-summary { min-height: 104px; display: flex; align-items: center; gap: 32px; margin-bottom: 22px; padding: 18px 22px; }
.summary-status { min-width: 145px; display: grid; gap: 8px; }
.summary-status small { color: var(--muted); }
.limit-form { display: flex; align-items: flex-end; gap: 8px; margin-left: auto; padding-left: 24px; border-left: 1px solid var(--line); }
.limit-form label { display: grid; gap: 5px; }
.limit-form label span { color: var(--muted); font-size: 12px; font-weight: 650; }
.limit-form select { min-height: 34px; }
.member-layout { margin-top: 0; }
.member-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.member-identity { min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--blue-dark); background: var(--blue-soft); font-weight: 700; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); background: var(--surface); cursor: pointer; text-decoration: none; }
.icon-button:hover { color: var(--blue); border-color: #bac7ff; }
.icon-button.danger:hover { color: var(--red); border-color: #efb6bc; background: var(--red-soft); }
.icon-button .icon { width: 16px; height: 16px; }

.access-panel {
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(170px, .55fr) minmax(170px, .55fr) auto;
  align-items: center;
  gap: 26px;
  margin-bottom: 16px;
  padding: 20px 22px;
  border: 1px solid #d9e1ff;
  border-radius: var(--radius);
  background: #f8f9ff;
}
.access-heading { display: flex; align-items: center; gap: 13px; }
.access-heading .action-icon { margin: 0; background: #e7ecff; }
.access-heading h2 { margin: 0; font-size: 19px; }
.access-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.credential-field > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 650; }
.credential-field > div { min-height: 40px; display: flex; align-items: center; gap: 8px; }
.credential-field code { overflow: hidden; color: var(--ink); font-family: "Cascadia Mono", Consolas, monospace; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.copy-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 0; border-radius: 7px; color: var(--blue); background: #e7ecff; cursor: pointer; }
.copy-icon .icon { width: 15px; height: 15px; }
.lease-note { color: var(--muted); font-size: 13px; }
.group-device-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(220px, 1fr) minmax(180px, .65fr) 92px 36px;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.group-device-row:last-child { border-bottom: 0; }
.device-main strong, .device-main small, .device-seen strong, .device-seen small { display: block; }
.device-main strong { font-size: 15px; }
.device-main small, .device-seen small { color: var(--muted); font-size: 12px; }
.device-seen strong { margin-top: 3px; font-size: 13px; font-weight: 600; }
.action-spacer { width: 36px; }

.credentials-page { width: min(880px, 100%); padding-top: 34px; }
.credentials-page h1 { margin: 5px 0 8px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.04em; }
.credentials-card { margin: 28px 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.credential-copy-row { min-height: 78px; display: grid; grid-template-columns: 150px minmax(0, 1fr) 126px; align-items: center; gap: 18px; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); }
.credential-copy-row:last-child { border-bottom: 0; }
.credential-copy-row > span { color: var(--muted); font-size: 13px; font-weight: 650; }
.credential-copy-row code { overflow: auto; color: var(--ink); font-family: "Cascadia Mono", Consolas, monospace; font-size: 16px; font-weight: 650; }

.stack-form { display: grid; gap: 15px; margin-top: 18px; }
.stack-form label, .stack-form label > span { display: block; }
.stack-form label > span, .choice-field legend { margin-bottom: 6px; color: #435168; font-size: 13px; font-weight: 650; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cfd8e5;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
input, select { min-height: 42px; padding: 0 12px; }
textarea { padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76,111,255,.12); }
input:disabled { color: #98a4b5; background: #eef2f6; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-field { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.choice-field legend { grid-column: 1 / -1; }
.choice-field label { position: relative; }
.choice-field input { position: absolute; opacity: 0; pointer-events: none; }
.choice-field label span { min-height: 42px; display: grid; place-items: center; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); background: #fff; cursor: pointer; }
.choice-field input:checked + span { color: var(--blue-dark); border-color: #aebeff; background: var(--blue-soft); }

.route-spine { padding: 8px 22px 18px; }
.route-stop { position: relative; min-height: 72px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.route-stop:not(:last-child)::before { content: ""; position: absolute; top: 46px; bottom: -26px; left: 8px; width: 1px; background: var(--line); }
.route-node { width: 17px; height: 17px; z-index: 1; border: 4px solid #eef1f5; border-radius: 50%; background: #a8b2c0; }
.route-node.active { border-color: var(--green-soft); background: var(--green); }
.route-stop strong, .route-stop small { display: block; }
.route-stop small { margin-top: 2px; color: var(--muted); }
.activity-list { padding: 4px 22px 14px; }
.activity-list article { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.activity-list article:last-child { border-bottom: 0; }
.activity-list time { color: var(--muted); font-size: 12px; }
.activity-list strong, .activity-list span { display: block; }
.activity-list strong { font-size: 14px; }
.activity-list span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.server-row { min-height: 78px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.priority { width: 37px; height: 37px; display: grid; place-items: center; border-radius: var(--radius-sm); color: var(--blue-dark); background: var(--blue-soft); font-size: 12px; font-weight: 700; }
.device-row { min-height: 78px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.identity-line { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: -8px 0 22px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); background: var(--surface); font-size: 13px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; }
.key-history { padding-bottom: 20px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.key-row small, .muted-copy { color: var(--muted); }
.muted-copy { margin: 18px 20px; }

.settings-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: 22px; align-items: start; }
.settings-section { padding-bottom: 22px; }
.settings-section .stack-form { max-width: 520px; padding: 0 22px; }
.endpoint { display: block; margin: 22px 22px 12px; padding: 14px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--blue-dark); background: var(--blue-soft); }
.settings-section > .muted-copy { margin: 0 22px; }

.empty-state, .empty-cell { padding: 42px 22px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); }
.empty-state p { margin: 5px 0 0; }
.back-link { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.back-link .icon { width: 16px; height: 16px; }
.flash-stack { display: grid; gap: 8px; margin-bottom: 18px; }
.flash { padding: 12px 15px; border: 1px solid #cdd7ff; border-radius: var(--radius-sm); color: var(--blue-dark); background: var(--blue-soft); }
.flash.success { color: #087950; border-color: #c9ebde; background: var(--green-soft); }
.flash.error { color: #a72e39; border-color: #f6cbd0; background: var(--red-soft); }

.issued-wrap, .activate-shell { width: min(760px, 100%); }
.issued-wrap { padding-top: 42px; }
.activation-box { margin: 26px 0 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.activation-box label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.activation-box .button { margin-top: 10px; }
.notice { margin: 0 0 18px; padding: 15px 17px; border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--blue-soft); }
.notice p { margin: 4px 0 0; color: var(--muted); }

.public-page { color: var(--ink); background: #eef2f7; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .8fr) minmax(480px, 1.2fr); }
.login-intro { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 54px; color: #fff; background: var(--sidebar); }
.login-intro > p { max-width: 440px; margin: 0; color: #aeb9ca; font-size: 18px; }
.brand.large { padding: 0; }
.brand.large .brand-mark { width: 42px; height: 42px; }
.route-figure { display: flex; align-items: center; width: min(430px, 100%); }
.route-figure .node { width: 18px; height: 18px; border: 4px solid #2b3850; border-radius: 50%; background: #77869b; }
.route-figure .node.active { border-color: rgba(76,111,255,.35); background: #7891ff; }
.route-figure i { height: 1px; flex: 1; background: #45536b; }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: 54px 8vw; background: var(--surface); }
.login-panel > div, .login-panel > form, .login-panel > .flash { width: min(440px, 100%); }
.login-panel .stack-form { margin-top: 28px; }
.activate-shell { min-height: 100vh; margin: 0 auto; padding: 48px 28px; }
.activate-shell .brand { margin-bottom: 80px; color: var(--ink); }
.activate-shell ol { margin: 28px 0; padding-left: 22px; color: var(--muted); }
.activate-shell li { margin: 8px 0; padding-left: 4px; }
.activate-shell textarea { margin-bottom: 10px; }
.privacy-copy { color: var(--muted); font-size: 13px; }

@media (max-width: 1050px) {
  .split-layout, .groups-layout, .detail-grid, .settings-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .action-pane { position: static; }
  .group-row { grid-template-columns: 42px minmax(160px, 1fr) 170px 100px 36px; }
  .capacity.wide { width: 100%; }
  .group-summary { flex-wrap: wrap; }
  .limit-form { margin-left: 0; }
  .access-panel { grid-template-columns: minmax(240px, 1fr) 1fr 1fr; }
  .access-panel > form { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .rail { position: static; width: 100%; height: auto; padding: 14px; }
  .rail nav { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
  .rail nav a { justify-content: center; padding: 0 8px; }
  .rail nav a span { display: none; }
  .rail-foot { display: none; }
  .workspace { padding: 24px 16px 40px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head .button { width: 100%; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip > div:nth-child(2) { border-right: 0; }
  .metric-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .group-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .group-row .capacity { grid-column: 2 / -1; }
  .group-row .state { grid-column: 2; }
  .row-arrow { grid-column: 3; grid-row: 1; }
  .member-row, .device-row, .server-row { grid-template-columns: minmax(0, 1fr) auto; }
  .member-identity { grid-column: 1 / -1; }
  .member-row .inline-actions, .server-row .inline-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .device-row .row-icon { display: none; }
  .group-summary { align-items: stretch; flex-direction: column; gap: 18px; }
  .limit-form { padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .login-shell { display: block; }
  .login-intro { min-height: 260px; padding: 32px 24px; }
  .route-figure { display: none; }
  .login-panel { min-height: calc(100vh - 260px); padding: 40px 24px; }
  .activate-shell .brand { margin-bottom: 52px; }
  .access-panel { grid-template-columns: 1fr; gap: 18px; }
  .access-panel > form { grid-column: auto; }
  .group-device-row { grid-template-columns: 42px minmax(0, 1fr) 36px; }
  .group-device-row .device-seen, .group-device-row .state { grid-column: 2; }
  .group-device-row form, .group-device-row .action-spacer { grid-column: 3; grid-row: 1; }
  .credential-copy-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .credential-copy-row > span { grid-column: 1 / -1; }
}
