* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 246, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.brand { font-size: 18px; font-weight: 750; color: var(--text); text-decoration: none; }
.topmeta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.menu-divider { color: var(--border); }
.env { color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px; background: var(--surface); font-variant-numeric: tabular-nums; }
.layout { display: grid; grid-template-columns: 108px minmax(0, 1080px); gap: 24px; padding: 28px 36px; justify-content: center; }
nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-side);
  box-shadow: var(--shadow-card);
}
nav a {
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
nav a:hover { background: var(--bg-main); color: var(--text); }
nav a[aria-current="page"] { background: var(--primary); color: var(--hana-paper); }
main { min-width: 0; }
h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.12; font-weight: 700; }
h2 { margin: 28px 0 10px; font-size: 16px; line-height: 1.2; font-weight: 650; }
section[id] { scroll-margin-top: 132px; }
p { color: var(--muted); line-height: 1.5; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; box-shadow: var(--shadow-card); }
.panel:hover { box-shadow: var(--shadow-card); }
.stack { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.row:first-child { border-top: 0; }
.label { font-weight: 650; }
.muted { color: var(--muted); font-size: 12px; }
.pill { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--surface-strong); white-space: nowrap; }
.pill.ok { color: var(--success); background: var(--success-bg); border-color: transparent; }
.pill.warn { color: var(--warning); background: var(--warning-bg); border-color: transparent; }
.pill.error { color: var(--error); background: var(--error-bg); border-color: transparent; }
.success-text { color: var(--success); font-size: 13px; font-weight: 600; }
.error-text { color: var(--error); font-size: 13px; font-weight: 600; line-height: 1.4; margin-top: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border); text-decoration: none; font-size: 13px; font-weight: 600; cursor: pointer; background: var(--surface); color: var(--text); transition: background 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease; }
.button.primary { background: var(--primary-strong); border-color: var(--primary-strong); color: var(--hana-paper); }
.button.primary:hover { background: #252525; border-color: #252525; }
.button.secondary { background: var(--surface); }
.button.secondary:hover { background: var(--bg-main); }
.button.danger { background: var(--surface); border-color: var(--error-bg); color: var(--error); }
.button.danger:hover { background: var(--error-bg); border-color: var(--error); }
.button.active { border-color: var(--primary); color: #ffffff; background: var(--primary); }
.button:disabled { opacity: 0.45; cursor: not-allowed; background: var(--surface-strong); }
.icon-button { width: 34px; min-width: 34px; padding: 0; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
form.inline { display: inline; }
label { display: grid; gap: 6px; font-weight: 650; }
input, textarea, select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 400;
  background: var(--surface);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }
input[type="checkbox"] { width: 16px; min-height: 16px; height: 16px; margin: 0; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .track { position: relative; width: 38px; height: 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-strong); }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 999px; background: var(--muted); transition: transform 120ms ease, background 120ms ease; }
.toggle input:checked + .track { border-color: #9ed8c0; background: var(--success-bg); }
.toggle input:checked + .track::after { transform: translateX(16px); background: var(--success); }
.channel-value[hidden] { display: none; }
.channel-toggle-col { width: 64px; min-width: 64px; text-align: center; }
.channel-toggle-col .toggle { justify-content: center; }
.channel-detail { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.provider-actions-col .channel-table-actions { justify-content: flex-end; flex-wrap: nowrap; margin-top: 0; }
.channel-email-row td { padding-top: 0; }
.channel-discord-row td { border-top: 0; padding-top: 0; }
.channel-email-settings { display: grid; gap: 8px; }
.channel-setting-row { display: grid; grid-template-columns: 180px 120px 58px; align-items: center; gap: 12px; }
.channel-setting-row .pill { width: fit-content; }
.channel-note { max-width: 560px; line-height: 1.45; margin: 2px 0 0; }
.channel-drawer-dialog { width: min(100% - 32px, 720px); }
.channel-drawer { display: grid; gap: 16px; }
.channel-drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.channel-drawer-header h3 { margin: 0 0 6px; font-size: 18px; }
.channel-drawer-header p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.channel-fields { display: grid; gap: 14px; margin-top: 16px; }
.channel-field-panel { display: grid; gap: 14px; }
.channel-field-panel[hidden] { display: none; }
.channel-info-banner { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--accent-soft); border-radius: 8px; background: rgba(226,216,240,0.42); padding: 12px 14px; color: var(--text); line-height: 1.45; }
.channel-info-banner a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.channel-info-banner code { color: var(--primary); background: rgba(255,255,255,0.72); border-color: var(--accent-soft); }
.channel-info-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; border-radius: 999px; background: var(--accent); color: var(--hana-ink); font-size: 12px; font-weight: 700; font-family: Georgia, serif; }
.channel-drawer-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.input-action-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.field-help { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.google-chat-channel-row > td {
  padding: 12px 0 0;
  background: var(--surface);
}
.google-chat-channel-note { margin-top: 2px; }
.identity-help { display: grid; gap: 8px; }
.identity-help p { margin: 0; }
.identity-help ol { margin: 0; padding-left: 18px; }
.identity-help li + li { margin-top: 4px; }
textarea { min-height: 120px; resize: vertical; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-list { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; align-items: center; }
.field-row > .label { color: var(--muted); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.topic-access-table { max-width: 620px; }
.topic-access-table .toggle { justify-content: flex-end; }
.topic-access-table .toggle input:disabled + .track { opacity: 0.58; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.page-command-row { display: flex; align-items: center; gap: 10px; }
.separator { color: var(--muted); }
.page-actions {
  position: sticky;
  top: 60px;
  z-index: 4;
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 0 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-actions-main { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.page-actions h1 { margin: 0; }
.page-actions p { margin: 6px 0 0; }
.page-actions-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.section-nav a { padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; border: 1px solid transparent; }
.section-nav a:hover { color: var(--text); border-color: var(--border); background: var(--surface); }
.header-filters { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.header-filters label { min-width: 150px; font-size: 13px; color: var(--muted); }
.table-controls { display: flex; align-items: center; justify-content: flex-start; margin: 0 0 12px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 13px; box-shadow: var(--shadow-card); }
.table th, .table td {
  padding: 11px 12px;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table th { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-main); line-height: 1.25; }
.table tr:first-child th { border-top: 0; }
.table .cell-tight { width: 48px; text-align: right; }
.table tbody tr:hover { background: var(--bg-main); }
.table a { color: var(--primary); text-decoration: none; font-weight: 600; }
.table a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.table .inline-controls { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.table-fixed { table-layout: fixed; }
.table-wrap { overflow-x: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.activity-log-panel { padding: 18px 20px 24px; overflow: hidden; }
.activity-log-units { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.activity-log-top-scroll {
  height: 16px;
  margin: 0 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
}
.activity-log-top-scroll > div { height: 1px; }
.activity-log-scroll {
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 8px;
}
.activity-log-table { min-width: 1360px; table-layout: fixed; }
.activity-log-table th,
.activity-log-table td { padding: 10px 8px; }
.activity-log-table th {
  white-space: normal;
}
.activity-log-sticky-header {
  position: fixed;
  z-index: 4;
  display: none;
  overflow: hidden;
  pointer-events: none;
}
.activity-log-sticky-header.is-visible { display: block; }
.activity-log-sticky-header-inner { will-change: transform; }
.activity-log-sticky-table {
  margin: 0;
  box-shadow: var(--shadow-card);
}
.activity-log-channel { width: 76px; }
.activity-log-id { width: 170px; }
.activity-log-sender { width: 140px; }
.activity-log-status { width: 116px; }
.activity-log-duration-col { width: 78px; }
.activity-log-id-cell,
.activity-log-sender-cell,
.activity-log-status-cell {
  overflow-wrap: anywhere;
  white-space: normal;
}
.activity-log-sender-cell { line-height: 1.35; }
.activity-log-click-row { cursor: pointer; }
.activity-log-click-row:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.activity-log-click-row a { color: var(--primary); }
.activity-log-duration { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.job-duration { color: var(--text); }
.job-duration.is-empty { color: var(--muted); }
.job-duration.is-warn { color: var(--pending-tx); font-weight: 700; }
.job-duration.is-slow { color: var(--error); font-weight: 700; }
.activity-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.activity-detail-section { margin-top: 16px; }
.detail-list { display: grid; gap: 0; }
.detail-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.detail-row:first-child { border-top: 0; }
.activity-detail-timings { max-width: 520px; }
.activity-event-table { min-width: 1080px; }
.activity-safety-table { min-width: 860px; }
.inbox-cell-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.inbox-cell-button:hover div:first-child { color: var(--primary); }
.message-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.inbox-title { display: inline-flex; align-items: center; gap: 8px; }
.inbox-info { position: relative; display: inline-flex; align-items: center; }
.inbox-info:hover .info-tooltip, .inbox-info:focus-within .info-tooltip { display: block; }
.info-tooltip {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  width: min(360px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-popover);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}
.inbox-controls {
  position: sticky;
  top: 134px;
  z-index: 3;
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 0 10px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.inbox-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: start; }
.inbox-actions form.inline { min-width: 0; }
.inbox-actions label { display: grid; gap: 5px; min-width: 0; font-size: 11px; }
.inbox-actions select { width: 100%; min-width: 0; }
.inbox-actions .button { width: 100%; min-height: 28px; padding: 0 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.button.approve { background: var(--success-bg); border-color: var(--success-bg); color: var(--success); }
.button.approve:hover { border-color: var(--success); }
.button.block { background: var(--error-bg); border-color: var(--error-bg); color: var(--error); }
.button.block:hover { border-color: var(--error); }
.inbox-table { min-width: 1180px; table-layout: fixed; }
.inbox-request-id-col { width: 76px; }
.inbox-received-col { width: 94px; }
.inbox-type-col { width: 88px; }
.inbox-sender-col { width: 176px; }
.inbox-title-col { width: 220px; }
.inbox-preview-col { width: 230px; }
.inbox-status-col { width: 88px; }
.inbox-action-col { width: 69px; }
.inbox-click-row { cursor: pointer; }
.inbox-click-row:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.inbox-click-row a { color: var(--primary); }
.inbox-cell-line {
  min-width: 0;
  display: -webkit-box;
  max-height: 4.2em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  white-space: normal;
}
.inbox-cell-line .muted { display: block; margin: 2px 0 0; font-size: 12px; }
.inbox-date-cell, .inbox-type-cell { color: var(--muted); font-size: 12px; line-height: 1.35; white-space: normal; }
.inbox-status-cell, .inbox-actions-cell { white-space: nowrap; }
.inbox-actions-cell .inbox-actions { justify-content: stretch; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 48vh; overflow: auto; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; min-width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--border); color: var(--primary); font-weight: 700; }
.table-sort { appearance: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-weight: 650; cursor: pointer; }
.filter-input { min-height: 34px; font-size: 13px; }
.provider-table { width: 100%; border-collapse: collapse; }
.provider-row td { padding: 11px 8px; border-top: 1px solid var(--border); vertical-align: middle; }
.provider-row:first-child td { border-top: 0; }
.provider-row-active td:first-child { border-left: 3px solid var(--primary); padding-left: 5px; }
.provider-name-col { width: 96px; max-width: 160px; }
.provider-status-col { width: 110px; }
.provider-model-col { width: 280px; }
.provider-model-col input { width: 100%; }
.provider-key-col input { width: 100%; min-width: 180px; }
.provider-actions-col { white-space: nowrap; }
.channel-about-col { white-space: nowrap; }
.channel-about { overflow: hidden; text-overflow: ellipsis; }
.channel-control-row td { border-top: 0; padding-top: 0; }
.provider-sep-col { width: 24px; text-align: center; color: var(--border); font-size: 16px; padding: 0 4px; }
.provider-use-col { white-space: nowrap; text-align: right; }
.pill.pill-active { color: var(--hana-paper); background: var(--primary); border-color: transparent; }
.info-panel { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--accent-soft); background: rgba(226,216,240,0.42); border-radius: 8px; font-size: 13px; margin-bottom: 18px; }
.info-panel-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--hana-ink); font-size: 11px; font-weight: 700; flex-shrink: 0; font-style: normal; }
.provider-controls { margin-top: 18px; padding-top: 4px; }
.provider-runtime-model { display: grid; grid-template-columns: minmax(150px, 1fr) auto; gap: 8px; align-items: center; }
.runtime-controls-table td { vertical-align: middle; }
.runtime-actions-cell { text-align: right; white-space: nowrap; }
.runtime-info-row td { padding-top: 10px; padding-bottom: 10px; }
.runtime-info-note { margin: 0; align-items: flex-start; }
.runtime-info-note ul { margin: 0; padding-left: 18px; }
.runtime-info-note li + li { margin-top: 3px; }
.button.small { min-height: 30px; padding: 0 10px; font-size: 12px; }
.runtime-url-form { max-width: 560px; }
.soul-location-cell { min-width: min(560px, 72vw); }
.file-location-actions-cell { white-space: nowrap; text-align: right; }
.soul-path-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.soul-upload-form { display: grid; gap: 8px; max-width: 520px; margin-top: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); }
.soul-upload-form[hidden] { display: none; }
.soul-upload-form input[type="file"] { background: var(--surface); }
.soul-restart-banner,
.soul-upload-error-banner { margin-top: 12px; }
.soul-restart-banner p,
.soul-upload-error-banner p { margin: 0; }
.workspace-status-list { display: grid; gap: 0; }
.workspace-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(360px, auto);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.workspace-row:first-child { border-top: 0; }
.workspace-row > .pill { justify-self: start; }
.workspace-row-action { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.settings-note { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); }
.settings-note p { margin: 6px 0 0; }
.settings-note-list { margin: 6px 0 0; padding-left: 18px; }
.settings-note-list li { margin: 4px 0; }
.settings-subsection { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.settings-subsection-heading { margin: 0 0 14px; font-size: 15px; line-height: 1.2; font-weight: 650; }
.workspace-smoke-row {
  grid-template-columns: minmax(190px, 1fr) auto auto minmax(160px, 220px) 6ch auto;
  grid-template-rows: auto auto;
  gap: 6px 10px;
  align-items: end;
}
.workspace-smoke-description { grid-row: 1 / span 2; align-self: center; }
.workspace-smoke-form { display: contents; }
.workspace-smoke-heading { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.workspace-smoke-status { align-self: center; justify-self: start; }
.workspace-smoke-url-input { width: 100%; min-width: 0; }
.workspace-smoke-range-input { width: 6ch; min-width: 6ch; text-align: center; }
.workspace-smoke-toggle { align-self: center; min-height: 38px; white-space: nowrap; }
.workspace-smoke-form button { align-self: center; white-space: nowrap; }
.code { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); font-weight: 600; letter-spacing: 0.04em; }
.provider-flow { margin-top: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); }
.danger-zone { border-color: var(--error-bg); margin-top: 32px; }
dialog { width: min(100% - 32px, 560px); border: 1px solid var(--border); border-radius: 8px; padding: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow-popover); }
dialog::backdrop { background: rgba(0, 0, 0, 0.34); }
.modal-body { padding: 22px; }
.hidden { display: none; }
.external-link { gap: 8px; }
.external-link-icon { font-size: 14px; line-height: 1; }
.hermes-tool-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hermes-description { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.hermes-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  color: transparent;
  font-size: 16px;
  font-weight: 700;
}
.hermes-checkmark.is-on { color: var(--success); }
.hermes-table th:first-child,
.hermes-table td:first-child { width: 74px; }
.hermes-platforms { min-width: 220px; }
.hermes-platform-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.hermes-platform-control:last-child { margin-bottom: 0; }
.hermes-platform-control > .muted { font-weight: 600; }
.skeleton-line {
  display: block;
  height: 12px;
  margin: 7px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--surface-strong), var(--border), var(--surface-strong));
  background-size: 240% 100%;
  animation: skeleton-pulse 1.3s ease-in-out infinite;
}
.skeleton-line.short { width: 82px; }
.skeleton-line.medium { width: 150px; max-width: 90%; }
.skeleton-line.wide { width: 260px; max-width: 100%; }
.tools-skeleton-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(220px, 2fr) minmax(140px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.tools-skeleton-row:first-of-type { border-top: 0; }
@keyframes skeleton-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
.hermes-mcp-server-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.hermes-mcp-server-header p { margin: 4px 0 0; }
.activity-log-row { border-top: 1px solid var(--border); padding: 12px 0; }
.activity-log-row:first-child { border-top: 0; }
.public-message {
  width: min(100% - 32px, 640px);
  margin: 72px auto 0;
}
@media (max-width: 760px) {
  .topbar { padding: 10px 16px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .layout { grid-template-columns: 1fr; padding: 24px 16px 88px; gap: 20px; }
  nav { position: fixed; left: 0; right: 0; bottom: 0; flex-direction: row; overflow-x: auto; padding: 8px 12px; background: var(--surface); border-top: 1px solid var(--border); }
  nav a { white-space: nowrap; }
  .grid, .row, .field-row, .workspace-row, .activity-detail-grid, .detail-row {
    grid-template-columns: 1fr;
  }
  .provider-table { display: block; overflow-x: auto; }
  .page-actions-main { align-items: flex-start; flex-direction: column; }
  .page-actions-extra, .section-nav, .header-filters { justify-content: flex-start; }
  .page-actions { top: 92px; max-height: 54vh; overflow: auto; }
  .table { min-width: 640px; }
  .table-wrap { overflow-x: auto; }
  .channel-setting-row { grid-template-columns: 1fr; gap: 6px; }
  .provider-actions-col .channel-table-actions, .workspace-row-action { justify-content: flex-start; }
  .workspace-smoke-row { grid-template-columns: 1fr; }
  .workspace-smoke-description { grid-row: auto; }
  .workspace-smoke-form { display: grid; grid-template-columns: auto auto minmax(160px, 1fr) 6ch auto; gap: 6px 10px; align-items: end; }
  .provider-runtime-model { grid-template-columns: 1fr; }
  .tools-skeleton-row { grid-template-columns: 1fr; gap: 6px; padding: 10px 0; }
  .checkbox-grid { grid-template-columns: 1fr; }
  section[id] { scroll-margin-top: 180px; }
  .channel-drawer-header { flex-wrap: wrap; }
  .channel-drawer-actions { flex-wrap: wrap; }
  .page-command-row { flex-wrap: wrap; gap: 6px; }
  .topbar > div { max-width: 100%; overflow: hidden; }
  .topmeta { flex-wrap: wrap; }
}
