/* Shared GihonLink light palette for the Admin and Config workspaces. */
.notification-bell { position: relative; min-width: 42px; min-height: 42px; }
.notification-badge { position: absolute; top: -4px; right: -5px; min-width: 20px; padding: 2px 5px; border-radius: 12px; color: #fff; background: #b42338; font-size: .7rem; font-weight: 700; line-height: 1.3; }
.notification-badge[hidden] { display: none; }
.notification-dialog { width: min(720px, calc(100vw - 32px)); max-height: 85vh; overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: #fff; box-shadow: var(--shadow); }
.notification-dialog::backdrop { background: rgba(10, 43, 78, .4); }
.notification-dialog [hidden] { display: none; }
.notification-detail-dialog::backdrop { background: rgba(10, 43, 78, .22); }
.notification-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 12px; }
.notification-header h2 { margin: 0; overflow-wrap: anywhere; }
.notification-status, .notification-time, .notification-resolution { color: var(--muted); font-size: .875rem; }
.notification-list { padding: 0; list-style: none; display: grid; gap: 8px; }
.notification-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); text-align: left; }
.notification-item.unread { border-inline-start: 4px solid var(--accent); background: #f0faf9; }
.notification-item:hover { background: #f4f9fb; }
.notification-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.notification-preview, .notification-item .notification-time { grid-column: 1 / -1; overflow-wrap: anywhere; }
.notification-read-state { font-size: .75rem; color: var(--accent-2); }
.notification-message { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
@media (max-width: 640px) { .notification-dialog { padding: 16px; } .notification-header { flex-wrap: wrap; } }
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f9fb;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --panel-strong: #f4f9fb;
  --text: #0a2b4e;
  --soft: #244562;
  --muted: #536b7f;
  --line: #d8e4eb;
  --border: #d8e4eb;
  --accent: #00858c;
  --accent-2: #006a76;
  --good: #167344;
  --warn: #946000;
  --danger: #b42338;
  --shadow: 0 16px 48px rgba(10, 43, 78, .09);
}
html, body { background: #fff; color: var(--text); }
body .bg-glow { display: none; }
body .sidebar, body .topbar, body .glass-card,
body .card, body .auth-card, body .hero-card,
body .toast, body .crud-modal, body .wrapped-select-menu {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
body .workspace, body .main-panel, body .content, body .content-area { background: #fff; }
body .hero-metrics div, body .user-chip, body .telemetry-info,
body .telemetry-empty, body .telemetry-details details,
body .telemetry-metric, body .telemetry-service-card,
body .wrapped-select-button, body .json-box {
  background: #f4f9fb;
  color: var(--text);
  border-color: var(--line);
}
body .field, body input, body select, body textarea {
  color: var(--text);
  background: #fff;
  border-color: #b9cdd9;
}
body input::placeholder, body textarea::placeholder { color: #61788a; opacity: 1; }
body label span, body .field-label, body th { color: var(--soft); }
body th { background: #f4f9fb; }
body th, body td, body .telemetry-table th, body .telemetry-table td { border-color: var(--line); }
body code { color: #006a76; background: #e8f5f4; }
body .nav-item { color: var(--soft); }
body .nav-item.active, body .nav-item:hover,
body .wrapped-select-option:hover { color: #006a76; background: #e8f5f4; border-color: #a8d9d7; }
body .primary-button { background: linear-gradient(110deg, #00858c, #006a76); color: #fff; }
body .secondary-button, body .small-btn, body .icon-button,
body .crud-modal-close { background: #f4f9fb; color: var(--text); border-color: var(--line); }
body .danger-button { color: #fff; background: #b42338; }
body .small-btn.danger { color: #a61b30; background: #fff0f2; }
body .badge, body .status-pill, body .telemetry-badge { color: var(--soft); background: #f4f9fb; border-color: var(--line); }
body .badge.good, body .telemetry-badge.ok { color: #126239; background: #e8f5ee; border-color: #a9d3bb; }
body .badge.warn, body .telemetry-badge.warn { color: #805200; background: #fff5dc; border-color: #e5ce95; }
body .badge.danger, body .telemetry-badge.off { color: #a61b30; background: #fff0f2; border-color: #eab7bf; }
body .badge.secret { color: #006a76; background: #e8f5f4; border-color: #a8d9d7; }
body .avatar, body .eyebrow, body .multi-check { color: #006a76; }
body .relay-banner { background: #f0faf9; border-color: #a8d9d7; }
body .soft-divider { background: var(--line); }
body .capability-multi-option.selected { color: #006a76; background: #e8f5f4 !important; border-color: #a8d9d7 !important; }
body .field:focus, body input:focus, body select:focus, body textarea:focus { background: #fff; outline-color: #00858c; }

.table-action-cell {
  width: 1%;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
td.table-action-cell { padding-block: 8px; }
.table-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  inline-size: max-content;
  margin-inline-start: auto;
}
.table-action-button {
  --action-surface: #fff;
  --action-hover: #f0f6fa;
  --action-border: #b9cdd9;
  --action-color: var(--soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid var(--action-border);
  border-radius: 8px;
  background: var(--action-surface);
  color: var(--action-color);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}
.table-action-button .ui-icon { width: 15px; height: 15px; }
.table-action-button:hover:not(:disabled) { background: var(--action-hover); border-color: var(--action-color); }
.table-action-button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.table-action-button:disabled { cursor: default; opacity: .65; }
.table-action-public {
  --action-surface: #edf8f7;
  --action-hover: #daf1ef;
  --action-border: #a8d9d7;
  --action-color: var(--accent-2);
}
.table-action-enable {
  --action-hover: #e8f5ee;
  --action-border: #a9d3bb;
  --action-color: #126239;
}
.table-action-disable {
  --action-hover: #fff5dc;
  --action-border: #e5ce95;
  --action-color: #805200;
}
.table-action-delete {
  --action-hover: #fff0f2;
  --action-border: #eab7bf;
  --action-color: #a61b30;
}
@media (max-width: 640px) {
  .table-actions { max-inline-size: 13rem; flex-wrap: wrap; }
  .table-action-button { min-height: 44px; }
}

.field-tooltip-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  margin-inline-start: .4em;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  cursor: help;
}
body label .field-tooltip-label-text { font: inherit; color: inherit; }
body .field-tooltip-icon { color: var(--accent-2); }
.field-tooltip-icon:hover, .field-tooltip-icon:focus-visible { background: #e8f5f4; }
.field-tooltip-icon:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.field-tooltip {
  position: fixed;
  z-index: 10000;
  width: max-content;
  max-width: min(22rem, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  overflow: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: .875rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.api-docs-panel { min-width: 0; }
.api-docs-frame {
  display: block;
  width: 100%;
  height: max(28rem, calc(100dvh - 12rem));
  border: 0;
}

.ui-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.metric-icon { display: grid; place-items: center; color: #006a76; }
.metric-icon .ui-icon { width: 24px; height: 24px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; }
.icon-button.desktop-hidden, .icon-button.mobile-only { display: none; }
@media (max-width: 860px) { .icon-button.desktop-hidden { display: inline-flex; } }
@media (max-width: 980px) { .icon-button.mobile-only { display: inline-flex; } }

.public-access-dialog { width: min(860px, calc(100vw - 32px)); max-height: 90vh; overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--text); box-shadow: var(--shadow); }
.public-access-dialog::backdrop { background: rgba(10, 43, 78, .4); }
.public-access-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 0; border: 0; margin: 0; min-width: 0; }
.public-access-fields .wide { grid-column: 1 / -1; }
.public-access-fields textarea { min-height: 120px; font-family: ui-monospace, monospace; }
.public-access-fields:disabled { opacity: .65; }
.public-access-error { color: #a61b30; }
.public-access-dialog [data-public-feedback]:not([hidden]) { padding: 12px; border: 1px solid currentColor; border-radius: 8px; }
.public-access-fingerprint { overflow-wrap: anywhere; }
.public-store-controls { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 640px) { .public-access-fields { grid-template-columns: 1fr; } .public-access-dialog { padding: 18px; } }
