/* ============================================================
   AIGW Admin v2.1 — Shared layout shell (Variant A — utilitarian)
   Loaded by every page after tokens.css. Per-page styles add on top.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";  /* Inter ligature niceties */
  display: flex;
  overflow: hidden;
}

a { color: var(--acn-purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ Sidebar ============ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* Brand banner: Logo + tenant/workspace switcher (D1·b — 紫底 120px) */
.brand-banner {
  height: var(--brand-banner-h);
  background: var(--brand-banner-bg);
  color: var(--brand-banner-fg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.brand-banner::after {
  /* subtle diagonal sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.brand-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.brand-mark {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 800;
}
.brand-mark::before { content: ">"; }
.brand-row .product { letter-spacing: 0.02em; }
.brand-row .env-pill {
  margin-left: auto;
  font-size: 10px; font-weight: 600;
  padding: 2px 7px;
  background: var(--brand-banner-subtle);
  border-radius: 10px;
  letter-spacing: 0.06em;
}

.switcher-stack {
  display: flex; flex-direction: column; gap: 4px;
  position: relative; z-index: 1;
}
.switcher-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
  transition: background 0.15s;
}
.switcher-row:hover { background: rgba(255,255,255,0.18); }
.switcher-row .label {
  color: var(--brand-banner-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  min-width: 30px;
}
.switcher-row .value {
  color: white; font-weight: 600; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.switcher-row .chevron {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

/* Nav */
.nav { flex: 1; overflow-y: auto; padding: 10px 8px 16px; }
.nav-group { margin-top: 14px; }
.nav-group:first-child { margin-top: 4px; }
.nav-group-title {
  padding: 8px 10px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px;
  margin: 1px 0;
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
.nav-item:hover { background: var(--gray-100); color: var(--gray-900); text-decoration: none; }
.nav-item.active {
  background: var(--acn-purple-bg);
  color: var(--acn-purple-dark);
  font-weight: 600;
}
.nav-item.active::before {
  content: ""; position: absolute; left: -8px; top: 6px; bottom: 6px;
  width: 3px; background: var(--acn-purple); border-radius: 0 2px 2px 0;
}
.nav-item .ico { width: 16px; display: inline-block; text-align: center; opacity: 0.85; }
.nav-item .badge {
  margin-left: auto;
  font-size: 10px; font-weight: 600;
  padding: 1px 6px;
  background: var(--gray-200); color: var(--gray-600);
  border-radius: 10px;
}
.nav-item.active .badge { background: var(--acn-purple); color: white; }

/* User card pinned bottom */
.user-card {
  border-top: 1px solid var(--gray-200);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acn-purple), var(--acn-purple-dark));
  color: white; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-meta { flex: 1; min-width: 0; }
.user-meta .name { font-size: 12px; font-weight: 600; color: var(--gray-900); }
.user-meta .role { font-size: 11px; color: var(--gray-500); }
.user-card .more { color: var(--gray-400); cursor: pointer; }

/* ============ Main ============ */
.main {
  flex: 1;
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--main-bg);
}

.topbar {
  height: var(--topbar-h);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.breadcrumb { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--acn-purple); text-decoration: none; }
.breadcrumb .sep { color: var(--gray-300); }
.breadcrumb b { color: var(--gray-900); font-weight: 600; }

.search-box {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  min-width: 260px;
  color: var(--gray-500);
  font-size: 12px;
  cursor: text;
}
.search-box:hover { border-color: var(--gray-300); }
.search-box .kbd {
  margin-left: auto;
  font-size: 10px;
  padding: 1px 5px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  color: var(--gray-500);
  font-family: var(--font-mono);
}

.topbar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
}
.icon-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.icon-btn .dot {
  position: absolute; transform: translate(8px, -8px);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-500);
  border: 1.5px solid var(--white);
}

/* Buttons */
.btn {
  font-family: inherit;
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gray-700);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.btn:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.btn:active { transform: translateY(0.5px); }
.btn:focus-visible { outline: 2px solid var(--acn-purple); outline-offset: 2px; }
.btn.primary {
  background: var(--acn-purple); border-color: var(--acn-purple);
  color: white;
  box-shadow: var(--shadow-purple);
}
.btn.primary:hover { background: var(--acn-purple-dark); border-color: var(--acn-purple-dark); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--gray-600); }
.btn.ghost:hover { background: var(--surface-hover); color: var(--gray-900); }
.btn.danger { color: var(--status-red); border-color: var(--border); }
.btn.danger:hover { background: var(--status-red); border-color: var(--status-red); color: white; }
.btn.sm { padding: 4px 10px; font-size: var(--text-sm); }
.btn.lg { padding: 9px 18px; font-size: var(--text-md); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Content shell */
.content {
  flex: 1; overflow-y: auto;
  padding: var(--main-pad-y) var(--main-pad-x);
}
.content-inner { max-width: var(--main-max-w); margin: 0 auto; }

.page-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.page-header .titles { flex: 1; min-width: 0; }
.page-header h1 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: var(--lh-tight);
}
.page-header .subtitle {
  color: var(--text-muted); font-size: var(--text-base);
  margin-top: 4px;
}
.page-header .actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* Tabs */
.tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  position: relative;
}
.tab {
  padding: 10px 14px;
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tab:hover { color: var(--text); text-decoration: none; }
.tab.active { color: var(--acn-purple); border-color: var(--acn-purple); font-weight: var(--fw-semibold); }
.tab:focus-visible { outline: none; color: var(--acn-purple); }

/* ============ Card / Section ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base);
}
.card.hoverable:hover { box-shadow: var(--shadow-md); }
.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
}
.card-header h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  letter-spacing: -0.01em;
}
.card-header .actions { margin-left: auto; display: flex; gap: 6px; }
.card-body { padding: 18px; }
.card-body.flush { padding: 0; }

/* ============ Table ============ */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tbl thead th {
  text-align: left;
  padding: 10px 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
.tbl tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
  transition: background var(--t-fast);
}
.tbl tbody tr { transition: background var(--t-fast); }
.tbl tbody tr:hover { background: var(--surface-hover); }
.tbl tbody tr:hover td { color: var(--text); }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
.tbl td.center, .tbl th.center { text-align: center; }
.tbl td.mono { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--gray-800); }
.tbl td.primary-cell { color: var(--text); font-weight: var(--fw-medium); }
.tbl td .row-actions {
  display: inline-flex; gap: 4px;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.tbl tbody tr:hover .row-actions { opacity: 1; }

/* ============ Pill / Badge ============ */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--text-xs); font-weight: var(--fw-medium);
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--pill-bg);
  color: var(--pill-text);
  border: 1px solid var(--pill-border);
  white-space: nowrap;
  line-height: 1.5;
}
.pill.ok   { background: var(--status-green-bg);  color: var(--status-green);  border-color: transparent; }
.pill.warn { background: var(--status-yellow-bg); color: var(--status-yellow); border-color: transparent; }
.pill.err  { background: var(--status-red-bg);    color: var(--status-red);    border-color: transparent; }
.pill.info { background: var(--status-blue-bg);   color: var(--status-blue);   border-color: transparent; }
.pill.brand { background: var(--acn-purple-bg); color: var(--acn-purple-dark); border-color: transparent; }
.pill.dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* Code chip (强制中性灰，禁紫) */
.chip {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--text-xs);
  padding: 1px 6px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-sm);
  color: var(--gray-800);
  line-height: 1.5;
}

/* Health bars */
.bar {
  position: relative;
  width: 100%; height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}
.bar > i {
  display: block; height: 100%;
  background: var(--status-green);
  border-radius: 3px;
  transition: width var(--t-slow);
}
.bar.warn > i { background: var(--status-yellow); }
.bar.err > i  { background: var(--status-red); }

/* Empty state */
.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-base);
}
.empty .icon {
  font-size: 36px;
  opacity: 0.4;
  margin-bottom: 12px;
  display: block;
  color: var(--gray-400);
}
.empty h4 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: 6px;
}
.empty p {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 16px;
  line-height: var(--lh-normal);
}
.empty .btn { margin: 0 auto; }

/* Toolbar above tables */
.toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.toolbar input[type="text"] {
  font-family: inherit; font-size: var(--text-sm);
  padding: 7px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  min-width: 280px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.toolbar input[type="text"]::placeholder { color: var(--text-faint); }
.toolbar input[type="text"]:hover { border-color: var(--border-strong); }
.toolbar input[type="text"]:focus { outline: none; border-color: var(--acn-purple); background: var(--white); box-shadow: 0 0 0 3px var(--acn-purple-bg); }
.toolbar .filler { flex: 1; }
.toolbar .filter {
  font-size: var(--text-sm);
  padding: 7px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gray-700);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.toolbar .filter:hover { border-color: var(--border-strong); background: var(--surface-hover); }

/* Pagination footer */
.pager {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 12px; color: var(--gray-500);
}
.pager .filler { flex: 1; }
.pager .pg-btn {
  font-size: 11px; padding: 4px 8px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700); cursor: pointer;
}
.pager .pg-btn:hover { border-color: var(--gray-400); }
.pager .pg-btn.active { background: var(--acn-purple); color: white; border-color: var(--acn-purple); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ============ Detail page template ============ */
.entity-meta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.entity-meta .meta-head { display: flex; align-items: flex-start; gap: 14px; }
.entity-meta .ent-logo {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: var(--fw-bold); font-size: var(--text-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.entity-meta h1 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--text);
  line-height: var(--lh-tight);
}
.entity-meta .meta-sub {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  color: var(--text-muted); font-size: var(--text-sm);
  margin-top: 6px;
  align-items: center;
}
.entity-meta .meta-sub .sep { color: var(--gray-300); }
.entity-meta .meta-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-self: center; }
.mini-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.mini-stat:hover { border-color: var(--border-strong); }
.mini-stat .label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--fw-semibold);
}
.mini-stat .value {
  font-size: 19px;
  font-weight: var(--fw-bold);
  margin-top: 4px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.mini-stat .delta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 4px;
  display: flex; align-items: center; gap: 3px;
}
.mini-stat .delta.up { color: var(--status-green); }
.mini-stat .delta.down { color: var(--status-red); }
.mini-stat.alert { background: var(--status-yellow-bg); border-color: transparent; }
.mini-stat.alert .label { color: var(--status-yellow); }

/* 7/3 detail grid with sticky side column */
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
  gap: 16px; align-items: start;
}
.detail-grid > .side-col {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - var(--topbar-h) - 32px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  /* hide scrollbar but keep scroll */
  scrollbar-width: thin;
}
.detail-grid > .side-col::-webkit-scrollbar { width: 6px; }
.detail-grid > .side-col::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

.side-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-md); }
.side-card h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gray-500);
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-200);
}
.side-card .body { padding: 8px; }
.side-card .foot {
  padding: 8px 14px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
}
.side-card .foot a { color: var(--acn-purple); font-weight: 500; }

.side-action {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius);
  cursor: pointer; font-size: 12px; color: var(--gray-700);
}
.side-action:hover { background: var(--gray-100); color: var(--gray-900); }
.side-action .ico { width: 16px; text-align: center; color: var(--gray-500); }
.side-action .arrow { margin-left: auto; color: var(--gray-300); }
.side-action.danger { color: var(--red-500); }
.side-action.danger:hover { background: var(--red-100); }

.ev-row {
  display: flex; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 12px;
}
.ev-row:last-child { border-bottom: none; }
.ev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-300);
  margin-top: 5px; flex-shrink: 0;
}
.ev-dot.brand { background: var(--acn-purple); }
.ev-dot.warn { background: var(--amber-500); }
.ev-dot.err { background: var(--red-500); }
.ev-body { flex: 1; min-width: 0; }
.ev-body .ev-title { color: var(--gray-900); font-weight: 500; }
.ev-body .ev-meta { color: var(--gray-500); font-size: 11px; margin-top: 2px; }

.quota-block { padding: 14px; border-bottom: 1px solid var(--gray-100); }
.quota-block:last-child { border-bottom: none; }
.quota-head { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.quota-head .lbl { color: var(--gray-700); font-weight: 500; }
.quota-head .val { color: var(--gray-500); font-family: var(--font-mono); font-size: 11px; }

/* Member face-stack */
.face-stack { display: inline-flex; }
.face-stack .av {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid white;
  background: linear-gradient(135deg, var(--acn-purple), var(--acn-purple-dark));
  color: white; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: -6px;
}
.face-stack .av:first-child { margin-left: 0; }
.face-stack .av.more { background: var(--gray-200); color: var(--gray-700); }

/* Drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  z-index: 50;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 480px; max-width: 96vw;
  background: white;
  box-shadow: -8px 0 28px rgba(0,0,0,0.18);
  display: none;
  flex-direction: column;
  z-index: 51;
}
.drawer.open { display: flex; }
.drawer-head { padding: 16px 20px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; }
.drawer-head h3 { font-size: 15px; font-weight: 600; }
.drawer-head .close { margin-left: auto; cursor: pointer; color: var(--gray-400); font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { padding: 12px 20px; border-top: 1px solid var(--gray-200); display: flex; gap: 8px; justify-content: flex-end; }

/* Definition list (used in detail pages) */
.dl {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 8px 16px; font-size: 13px;
}
.dl dt { color: var(--gray-500); }
.dl dd { color: var(--gray-900); word-break: break-word; }
