/*
 * ═══════════════════════════════════════════════════════════════
 *  trellint.css  —  Trellint Brand System  v1.1
 *  Canonical stylesheet for all Trellint products.
 *
 *  Copied verbatim from ReportWebModernApp (src\ReportWeb.Web\wwwroot\css\trellint.css)
 *  so MERGE and ReportWeb share the same design tokens and utility classes.
 *  Do not edit this file without design sign-off — mirror any changes back
 *  to the ReportWeb copy so the two stay in sync.
 * ═══════════════════════════════════════════════════════════════
 */

/* ────────────────────────────────────────────────────────────────
   1. GOOGLE FONT IMPORT
   ──────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;500;600;700&display=swap');


/* ────────────────────────────────────────────────────────────────
   2. DESIGN TOKENS  (:root CSS variables)
   ──────────────────────────────────────────────────────────────── */
:root {

  /* ── BRAND PALETTE — PRIMARY ── */
  --t-dark-plum:    #3E0628;
  --t-lime:         #CEEF95;
  --t-stone:        #A49892;
  --t-cream:        #F7F0E2;
  --t-plaster:      #F9F6EF;

  /* ── BRAND PALETTE — SECONDARY ── */
  --t-plum:         #66234E;
  --t-light-plum:   #9E3F81;
  --t-moss:         #A6C969;
  --t-highlighter:  #DBF44A;  /* charts / graphics only — NOT interactive accent */
  --t-medium-gray:  #3F3A34;
  --t-raisin:       #260219;
  --t-coral:        #F47856;

  /* ── UI TOKENS (adopted from GateKeeper, now official) ── */
  --t-ui-primary:        #4A0E27;
  --t-ui-primary-dark:   #3A0B1E;
  --t-ui-text:           #1D0517;
  --t-ui-muted:          #6B5E65;
  --t-ui-page-bg:        #FFFFFF;  /* main content area — always white (v1.1) */
  --t-ui-content-bg:     #FFFFFF;  /* updated v1.1: was #F5F3EE — see CHANGELOG */
  --t-ui-card-bg:        #FFFFFF;
  --t-ui-input-bg:       #F0ECE8;
  --t-ui-border:         #EAE6E2;
  --t-ui-topbar-border:  #E8E3DF;
  --t-ui-divider:               rgba(255, 255, 255, 0.10);
  --t-ui-sidebar-hover:         rgba(255, 255, 255, 0.07);
  --t-ui-sidebar-active:        rgba(255, 255, 255, 0.13);
  --t-ui-section-label:         rgba(255, 255, 255, 0.38);
  --t-ui-overlay:               rgba(0, 0, 0, 0.35);   /* drawer / modal backdrop */
  --t-ui-placeholder:    #A899A0;

  /* ── SEMANTIC / STATUS ── */
  --t-status-ok-bg:      #E8F5E9;
  --t-status-ok-text:    #1B5E20;
  --t-status-ok-border:  #43A047;
  --t-status-fail-bg:    #FCE4EC;
  --t-status-fail-text:  #880E4F;
  --t-status-fail-border:#E53935;
  --t-status-warn-bg:    #FFF8E1;
  --t-status-warn-text:  #5D4037;
  --t-status-warn-border:#FFB300;

  /* ── TYPOGRAPHY ── */
  --t-font:          'Epilogue', Arial, sans-serif;
  --t-font-mono:     'Consolas', 'Courier New', monospace;

  /* ── RADIUS ── */
  --t-radius-sm:     6px;
  --t-radius-md:     10px;
  --t-radius-lg:     18px;
  --t-radius-pill:   9999px;

  /* ── ELEVATION ── */
  --t-shadow-card:   0 1px 3px rgba(0, 0, 0, 0.06);
  --t-shadow-modal:  0 20px 60px rgba(0, 0, 0, 0.25);
  --t-shadow-drawer: -4px 0 32px rgba(0, 0, 0, 0.14);  /* right-side drawer panels */

  /* ── SPACING SCALE ── */
  --t-space-xs:   4px;
  --t-space-sm:   8px;
  --t-space-md:   16px;
  --t-space-lg:   24px;
  --t-space-xl:   32px;
  --t-space-2xl:  48px;

  /* ── LAYOUT ── */
  --t-sidebar-width:  235px;
  --t-topbar-height:   56px;
  --t-content-pad:     28px;
}


/* ────────────────────────────────────────────────────────────────
   3. BASE RESET
   ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}


/* ────────────────────────────────────────────────────────────────
   4. TYPOGRAPHY UTILITIES
   ──────────────────────────────────────────────────────────────── */

/* Headings */
.t-h1 { font-family: var(--t-font); font-size: 64px; font-weight: 300; color: var(--t-raisin); line-height: 1.1; }
.t-h2 { font-family: var(--t-font); font-size: 42px; font-weight: 300; color: var(--t-raisin); line-height: 1.15; }
.t-h3 { font-family: var(--t-font); font-size: 36px; font-weight: 300; color: var(--t-raisin); line-height: 1.2; }
.t-h4 { font-family: var(--t-font); font-size: 26px; font-weight: 400; color: var(--t-raisin); line-height: 1.25; }
.t-h5 { font-family: var(--t-font); font-size: 22px; font-weight: 600; color: var(--t-raisin); line-height: 1.3; }
.t-h6 { font-family: var(--t-font); font-size: 14px; font-weight: 600; color: var(--t-raisin); letter-spacing: 0.08em; text-transform: uppercase; }

/* Body */
.t-body     { font-family: var(--t-font); font-size: 14px; font-weight: 400; line-height: 1.57; color: var(--t-medium-gray); }
.t-body-big { font-family: var(--t-font); font-size: 18px; font-weight: 400; line-height: 1.56; color: var(--t-medium-gray); }
.t-muted    { color: var(--t-ui-muted); }

/* On-dark overrides */
.t-on-dark .t-h1,
.t-on-dark .t-h2,
.t-on-dark .t-h3,
.t-on-dark .t-h4,
.t-on-dark .t-h5,
.t-on-dark .t-h6  { color: var(--t-plaster); }
.t-on-dark .t-body,
.t-on-dark .t-body-big { color: var(--t-cream); }


/* ────────────────────────────────────────────────────────────────
   5. LAYOUT — SIDEBAR + MAIN
   ──────────────────────────────────────────────────────────────── */
.t-sidebar {
  width: var(--t-sidebar-width);
  min-height: 100vh;
  background: var(--t-dark-plum);
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.t-sidebar-brand {
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--t-ui-divider);
}

.t-sidebar-brand svg,
.t-sidebar-brand img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

.t-sidebar-nav { flex: 1; padding: 12px 0; }

.t-nav-section {
  font-family: var(--t-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--t-ui-section-label);
  padding: 16px 18px 5px;
}

.t-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  color: #ffffff;
  font-family: var(--t-font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.12s, color 0.12s;
  position: relative;
}

.t-nav-item i,
.t-nav-item svg {
  font-size: 1.05rem;
  width: 20px;
  flex-shrink: 0;
}

.t-nav-item:hover  { background: var(--t-ui-sidebar-hover); color: #fff; }

.t-nav-item.active { background: var(--t-ui-sidebar-active); color: #fff; }

.t-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--t-lime);
  border-radius: 0 2px 2px 0;
}

.t-sidebar-footer {
  border-top: 1px solid var(--t-ui-divider);
  padding: 14px 18px;
}

.t-sidebar-user {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--t-font);
  font-size: 0.78rem;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main content area (offset for sidebar) */
.t-main {
  margin-left: var(--t-sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--t-ui-page-bg);   /* white — see v1.1 changelog */
  font-family: var(--t-font);
  color: var(--t-ui-text);
}

/* Topbar */
.t-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--t-ui-topbar-border);
  padding: 0 var(--t-content-pad);
  height: var(--t-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.t-topbar-title {
  font-family: var(--t-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--t-ui-text);
  margin: 0;
}

/* Content region */
.t-content { padding: var(--t-content-pad); flex: 1; }

/* Page header row */
.t-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.t-page-subtitle {
  font-family: var(--t-font);
  font-size: 0.85rem;
  color: var(--t-ui-muted);
  margin-top: 2px;
}

/* Avatar */
.t-avatar {
  width: 34px; height: 34px;
  background: var(--t-ui-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
}


/* ────────────────────────────────────────────────────────────────
   6. CARDS
   ──────────────────────────────────────────────────────────────── */
.t-card {
  background: var(--t-ui-card-bg);
  border-radius: var(--t-radius-md);
  border: 1px solid var(--t-ui-border);
  box-shadow: var(--t-shadow-card);
}

.t-stat-card {
  background: var(--t-ui-card-bg);
  border-radius: var(--t-radius-md);
  border: 1px solid var(--t-ui-border);
  padding: 20px 22px 22px;
}

.t-stat-card .t-stat-label {
  font-family: var(--t-font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t-ui-text);
  margin-bottom: 6px;
}

.t-stat-card .t-stat-number {
  font-family: var(--t-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--t-ui-text);
  line-height: 1;
  margin-bottom: 4px;
}

.t-stat-card .t-stat-sub {
  font-family: var(--t-font);
  font-size: 0.78rem;
  color: var(--t-ui-muted);
}


/* ────────────────────────────────────────────────────────────────
   7. BUTTONS
   ──────────────────────────────────────────────────────────────── */
.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--t-radius-sm);
  font-family: var(--t-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.12s, transform 0.08s;
  white-space: nowrap;
}

.t-btn:active { transform: scale(0.98); }

/* Primary — dark plum fill */
.t-btn-primary { background: var(--t-ui-primary); color: #ffffff; }
.t-btn-primary:hover { opacity: 0.88; color: #ffffff; }

/* Accent — lime fill */
.t-btn-accent  { background: var(--t-lime); color: var(--t-dark-plum); }
.t-btn-accent:hover  { opacity: 0.88; }

/* Outline — transparent with plum border */
.t-btn-outline { background: transparent; color: var(--t-ui-primary); border: 1.5px solid var(--t-ui-primary); }
.t-btn-outline:hover { background: var(--t-ui-primary); color: #ffffff; }

/* Ghost — for use on dark sidebar backgrounds */
.t-btn-ghost { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.20); }
.t-btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: #ffffff; }

/* Danger outline */
.t-btn-danger { background: transparent; color: var(--t-status-fail-text); border: 1.5px solid var(--t-status-fail-border); }
.t-btn-danger:hover { background: var(--t-status-fail-bg); }

/* Size modifier */
.t-btn-sm { padding: 6px 14px; font-size: 13px; }
.t-btn-lg { padding: 14px 28px; font-size: 16px; }

/* Full width */
.t-btn-block { width: 100%; }

/* Sign-out (sidebar footer specific) */
.t-btn-signout {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.65);
  font-family: var(--t-font);
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: var(--t-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.12s, color 0.12s;
}

.t-btn-signout:hover { border-color: rgba(255,255,255,0.45); color: #ffffff; }


/* ────────────────────────────────────────────────────────────────
   8. FORM ELEMENTS
   ──────────────────────────────────────────────────────────────── */
.t-field { margin-bottom: 20px; }

.t-label {
  display: block;
  font-family: var(--t-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-ui-text);
  margin-bottom: 6px;
}

.t-input,
.t-select,
.t-textarea {
  width: 100%;
  background: var(--t-ui-input-bg);
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 13px;
  font-family: var(--t-font);
  font-size: 0.9rem;
  color: var(--t-ui-text);
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
  appearance: auto;
}

.t-input::placeholder,
.t-textarea::placeholder { color: var(--t-ui-placeholder); }

.t-input:focus,
.t-select:focus,
.t-textarea:focus {
  border-color: var(--t-lime);
  box-shadow: 0 0 0 3px rgba(206, 239, 149, 0.30);
  background: #ffffff;
}

.t-textarea { resize: vertical; min-height: 100px; }

.t-form-hint {
  font-family: var(--t-font);
  font-size: 0.78rem;
  color: var(--t-ui-muted);
  margin-top: 4px;
}

/* Login panel wrapper — uses cream bg + large radius */
.t-login-panel {
  background: var(--t-cream);
  border-radius: 0 0 var(--t-radius-lg) var(--t-radius-lg);
  padding: 28px;
}

.t-login-header {
  background: var(--t-dark-plum);
  border-radius: var(--t-radius-lg) var(--t-radius-lg) 0 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}


/* ────────────────────────────────────────────────────────────────
   9. BADGES & TAGS
   ──────────────────────────────────────────────────────────────── */
.t-badge {
  display: inline-block;
  font-family: var(--t-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--t-radius-pill);
}

.t-badge-lime  { background: var(--t-lime);      color: var(--t-dark-plum); }
.t-badge-plum  { background: var(--t-dark-plum);  color: var(--t-plaster); }
.t-badge-ok    { background: var(--t-status-ok-bg);   color: var(--t-status-ok-text);   border: 1px solid var(--t-status-ok-border); }
.t-badge-fail  { background: var(--t-status-fail-bg); color: var(--t-status-fail-text); border: 1px solid var(--t-status-fail-border); }
.t-badge-warn  { background: var(--t-status-warn-bg); color: var(--t-status-warn-text); border: 1px solid var(--t-status-warn-border); }

/* Inline audit event tags */
.t-tag-event {
  display: inline-block;
  background: rgba(62, 6, 40, 0.08);
  color: var(--t-dark-plum);
  font-family: var(--t-font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}


/* ────────────────────────────────────────────────────────────────
   10. ALERTS
   ──────────────────────────────────────────────────────────────── */
.t-alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--t-font);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.t-alert i, .t-alert svg { margin-top: 1px; flex-shrink: 0; }

.t-alert-success { background: var(--t-status-ok-bg);   color: var(--t-status-ok-text);   border-left: 4px solid var(--t-status-ok-border);   border-radius: 0 8px 8px 0; }
.t-alert-error   { background: var(--t-status-fail-bg); color: var(--t-status-fail-text); border-left: 4px solid var(--t-status-fail-border); border-radius: 0 8px 8px 0; }
.t-alert-warning { background: var(--t-status-warn-bg); color: var(--t-status-warn-text); border-left: 4px solid var(--t-status-warn-border); border-radius: 0 8px 8px 0; }


/* ────────────────────────────────────────────────────────────────
   11. TABLES (audit / data tables)
   ──────────────────────────────────────────────────────────────── */
.t-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--t-font);
  font-size: 0.875rem;
}

.t-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-ui-text);
  padding: 10px 14px;
  border-bottom: 2px solid var(--t-ui-border);
  text-align: left;
  white-space: nowrap;
}

.t-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--t-ui-border);
  color: var(--t-ui-text);
  vertical-align: middle;
}

.t-table tbody tr:last-child td { border-bottom: none; }

.t-table tbody tr:hover td { background: rgba(206, 239, 149, 0.06); }


/* ────────────────────────────────────────────────────────────────
   12. MODAL
   ──────────────────────────────────────────────────────────────── */
.t-modal-content {
  border-radius: var(--t-radius-md);
  border: none;
  box-shadow: var(--t-shadow-modal);
}

.t-modal-header {
  background: var(--t-ui-primary);
  color: #ffffff;
  border-bottom: none;
  border-radius: var(--t-radius-md) var(--t-radius-md) 0 0;
  padding: 16px 20px;
}


/* ────────────────────────────────────────────────────────────────
   13. CODE & MONOSPACE
   ──────────────────────────────────────────────────────────────── */
code, .t-code-inline {
  background: var(--t-ui-input-bg);
  color: var(--t-ui-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--t-font-mono);
  font-size: 0.82em;
}

/* API key display box */
.t-api-key-box {
  font-family: var(--t-font-mono);
  background: var(--t-ui-primary);
  color: var(--t-lime);
  padding: 14px 18px;
  border-radius: 8px;
  word-break: break-all;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}


/* ────────────────────────────────────────────────────────────────
   14. UTILITY HELPERS
   ──────────────────────────────────────────────────────────────── */

/* Spacing */
.t-mt-xs { margin-top: var(--t-space-xs); }
.t-mt-sm { margin-top: var(--t-space-sm); }
.t-mt-md { margin-top: var(--t-space-md); }
.t-mt-lg { margin-top: var(--t-space-lg); }
.t-mt-xl { margin-top: var(--t-space-xl); }

.t-mb-xs { margin-bottom: var(--t-space-xs); }
.t-mb-sm { margin-bottom: var(--t-space-sm); }
.t-mb-md { margin-bottom: var(--t-space-md); }
.t-mb-lg { margin-bottom: var(--t-space-lg); }
.t-mb-xl { margin-bottom: var(--t-space-xl); }

/* Flex helpers */
.t-flex         { display: flex; }
.t-flex-center  { display: flex; align-items: center; }
.t-flex-between { display: flex; align-items: center; justify-content: space-between; }
.t-gap-sm { gap: var(--t-space-sm); }
.t-gap-md { gap: var(--t-space-md); }

/* Text */
.t-text-muted    { color: var(--t-ui-muted); }
.t-text-primary  { color: var(--t-ui-primary); }
.t-text-lime     { color: var(--t-lime); }
.t-text-plaster  { color: var(--t-plaster); }

/* Backgrounds */
.t-bg-dark-plum  { background: var(--t-dark-plum); }
.t-bg-cream      { background: var(--t-cream); }
.t-bg-plaster    { background: var(--t-plaster); }
.t-bg-content    { background: var(--t-ui-page-bg); }
.t-bg-white      { background: #FFFFFF; }


/* ────────────────────────────────────────────────────────────────
   15. DRAWER / SIDE PANEL
   Observed in: Citation Review detail, Ticket Details, User Management
   New Person form, Reports detail view.
   Pattern: fixed right panel slides over page content. Page dims
   behind an overlay. Drawer itself is always white.
   ──────────────────────────────────────────────────────────────── */

/* Overlay that dims the page behind an open drawer */
.t-drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--t-ui-overlay);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.t-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.t-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  background: var(--t-ui-page-bg);   /* always white */
  box-shadow: var(--t-shadow-drawer);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  overflow: hidden;
}
.t-drawer.open { transform: translateX(0); }

/* Wider variant for detail/form drawers */
.t-drawer-lg { width: 520px; }

/* Drawer header */
.t-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--t-ui-border);
  flex-shrink: 0;
}
.t-drawer-title {
  font-family: var(--t-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--t-ui-text);
  margin: 0;
}

/* Close button */
.t-drawer-close {
  width: 28px;
  height: 28px;
  border-radius: var(--t-radius-sm);
  border: 1px solid var(--t-ui-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-ui-muted);
  font-size: 1rem;
  transition: background 0.12s, color 0.12s;
  flex-shrink: 0;
}
.t-drawer-close:hover { background: var(--t-ui-input-bg); color: var(--t-ui-text); }

/* Drawer body — scrollable */
.t-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
}

/* Drawer section label */
.t-drawer-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--t-font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--t-ui-text);
  margin-top: 20px;
  margin-bottom: 10px;
}
.t-drawer-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--t-ui-border);
}

/* Drawer detail row (label + value pairs) */
.t-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--t-ui-border);
  font-family: var(--t-font);
  font-size: 0.875rem;
}
.t-detail-row:last-child { border-bottom: none; }
.t-detail-label { color: var(--t-ui-muted); font-size: 0.8rem; }
.t-detail-value { color: var(--t-ui-text); font-weight: 600; text-align: right; }

/* Drawer footer (action buttons) */
.t-drawer-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--t-ui-border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
  background: var(--t-ui-page-bg);
}

/* Timeline / audit trail — used in Ticket Details drawer */
.t-timeline { list-style: none; padding: 0; margin: 0; }

.t-timeline-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--t-ui-border);
  font-family: var(--t-font);
  font-size: 0.875rem;
}
.t-timeline-item:last-child { border-bottom: none; }

.t-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--t-ui-border);
  background: var(--t-ui-page-bg);
  flex-shrink: 0;
  margin-top: 3px;
}
.t-timeline-dot.active {
  border-color: var(--t-ui-primary);
  background: var(--t-ui-primary);
}

.t-timeline-content { flex: 1; }
.t-timeline-event   { font-weight: 700; color: var(--t-ui-text); }
.t-timeline-meta    { font-size: 0.78rem; color: var(--t-ui-muted); margin-top: 2px; }
.t-timeline-ts      { font-size: 0.75rem; color: var(--t-ui-muted); white-space: nowrap; flex-shrink: 0; }
