/* =====================================================================
   Entity Lists — Today screen concept mocks
   Shared shell, type system, and base components.
   Concept-specific personality is layered via body class.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Geist:wght@300..700&family=Geist+Mono:wght@400..600&display=swap');

:root {
  /* Type */
  --font-display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* Phone metrics — iPhone 15-ish */
  --device-w: 414px;
  --device-h: 868px;
  --screen-w: 390px;
  --screen-h: 844px;

  /* Page (showcase chrome) */
  --page-bg: #ECE6D9;
  --page-ink: #2A2520;

  /* List type accent tokens */
  --c-day: #D97843;       /* warm amber */
  --c-steady: #1F5959;    /* deep teal */
  --c-followups: #7B4A6E; /* muted plum */
  --c-prospecting: #4A5568;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--page-bg);
  color: var(--page-ink);
}

button { font: inherit; color: inherit; }

/* =====================================================================
   Concept stage — used by each concept's standalone HTML page.
   Centers a single phone frame in the viewport.
   ===================================================================== */

body.concept-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
  background-image:
    radial-gradient(ellipse 1100px 800px at 80% -10%, rgba(217, 120, 67, 0.10), transparent 60%),
    radial-gradient(ellipse 800px 600px at -10% 110%, rgba(31, 89, 89, 0.06), transparent 60%);
  overflow: auto;
}

/* =====================================================================
   Phone frame
   ===================================================================== */

.phone {
  width: var(--device-w);
  height: var(--device-h);
  background: linear-gradient(180deg, #1f1f23 0%, #0E0E10 100%);
  border-radius: 54px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.65),
    0 18px 36px -8px rgba(20, 14, 5, 0.34),
    0 36px 72px -18px rgba(20, 14, 5, 0.22),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.phone::before {
  /* dynamic island */
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000;
  border-radius: 999px;
  z-index: 12;
}

.phone::after {
  /* faint rim light along bezel top */
  content: '';
  position: absolute;
  top: 1px; left: 22%; right: 22%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  border-radius: 999px;
}

.screen {
  width: var(--screen-w);
  height: var(--screen-h);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screen::after {
  /* subtle film grain — gives every screen a paper-y depth */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 50;
}

/* Status bar (sits inside the screen, above app content) */
.status-bar {
  height: 50px;
  flex-shrink: 0;
  padding: 18px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  z-index: 5;
  position: relative;
}

.status-bar .time { font-variant-numeric: tabular-nums; }
.status-bar .indicators { display: flex; gap: 6px; align-items: center; }
.status-bar .indicators svg { display: block; }

/* =====================================================================
   Showcase chrome (used by index.html only)
   ===================================================================== */

body.showcase {
  padding: 64px 40px 96px;
  background-image:
    radial-gradient(ellipse 1500px 1000px at 75% -10%, rgba(217, 120, 67, 0.09), transparent 60%),
    radial-gradient(ellipse 900px 700px at -10% 110%, rgba(31, 89, 89, 0.05), transparent 60%);
}

.page-rail {
  max-width: 1480px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(42, 37, 32, 0.55);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 920px;
}

.page-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-day);
}

.page-note {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 720px;
  color: rgba(42, 37, 32, 0.74);
}

.page-note strong {
  font-weight: 600;
  color: var(--page-ink);
}

.page-meta-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(42, 37, 32, 0.45);
}

.page-meta-rule::before,
.page-meta-rule::after {
  content: '';
  flex: 1;
  border-top: 1px solid rgba(42, 37, 32, 0.18);
}

/* Phone grid */
.phones-grid {
  max-width: 1620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(500px, 1fr));
  gap: 48px;
  align-items: start;
}

@media (max-width: 1480px) {
  .phones-grid { grid-template-columns: 1fr; justify-items: center; gap: 72px; }
}

.phone-cell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.phone-cell iframe {
  width: 500px;
  height: 980px;
  border: 0;
  display: block;
  background: transparent;
}

.phone-meta {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px;
}

.phone-meta .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(42, 37, 32, 0.5);
}

.phone-meta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.phone-meta p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(42, 37, 32, 0.72);
}

.phone-meta a.view {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--page-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 1px;
  margin-top: 6px;
  transition: opacity 0.15s ease;
}

.phone-meta a.view:hover { opacity: 0.6; }

/* Footer pushback */
.page-footer {
  max-width: 920px;
  margin: 88px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(42, 37, 32, 0.16);
}

.page-footer h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.page-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-footer li {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(42, 37, 32, 0.78);
  padding-left: 18px;
  position: relative;
}

.page-footer li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--c-day);
}

/* =====================================================================
   CONCEPT A — WORKLIST  (sober / black)
   ===================================================================== */

body.concept-worklist .screen {
  background: #0E0E10;
  color: #F2EBDA;
}

.concept-worklist .status-bar { color: #F2EBDA; }

.ws-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.ws-header {
  padding: 14px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid rgba(242, 235, 218, 0.07);
  background: #0E0E10;
}

.ws-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(242, 235, 218, 0.45);
}

.ws-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: #F2EBDA;
}

.ws-title em {
  font-style: italic;
  font-weight: 300;
  color: #E8B14A;
}

.ws-stats {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(242, 235, 218, 0.6);
  font-variant-numeric: tabular-nums;
  align-items: baseline;
}

.ws-stats .stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.ws-stats .num {
  font-family: var(--font-display);
  font-weight: 500;
  color: #F2EBDA;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.ws-stats .stat + .stat::before {
  content: '·';
  color: rgba(242, 235, 218, 0.32);
  margin-right: 11px;
}

.ws-cta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #E8B14A;
  background-image: linear-gradient(180deg, #ECB958 0%, #E8B14A 100%);
  color: #0E0E10;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px 14px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.012em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 8px 18px -8px rgba(232, 177, 74, 0.55);
  transition: transform 0.15s ease;
}

.ws-cta:hover { transform: translateY(-1px); }

.ws-cta-meta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.7;
}

.ws-stream {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.ws-stream::-webkit-scrollbar { display: none; }

.ws-section-head {
  position: sticky;
  top: 0;
  background: #0E0E10;
  padding: 22px 28px 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(242, 235, 218, 0.42);
  border-bottom: 1px solid rgba(242, 235, 218, 0.06);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-section-head .rule {
  flex: 1;
  border-top: 1px solid rgba(242, 235, 218, 0.1);
}

.ws-section-head .count {
  color: rgba(242, 235, 218, 0.32);
}

.ws-items { list-style: none; }

.ws-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(242, 235, 218, 0.05);
  align-items: start;
}

.ws-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 235, 218, 0.42);
  margin-top: 3px;
  flex-shrink: 0;
  background: transparent;
  position: relative;
}

.ws-item.done .ws-dot {
  background: #E8B14A;
  border-color: #E8B14A;
}

.ws-item.done .ws-dot::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 7px;
  border-bottom: 1.5px solid #0E0E10;
  border-right: 1.5px solid #0E0E10;
  transform: rotate(45deg);
  left: 4px;
  top: 1px;
}

.ws-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: #F2EBDA;
  line-height: 1.2;
}

.ws-sub {
  font-size: 12.5px;
  color: rgba(242, 235, 218, 0.5);
  margin-top: 2px;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}

.ws-reason {
  font-size: 12.5px;
  font-style: italic;
  color: rgba(232, 177, 74, 0.78);
  margin-top: 5px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-item.done .ws-name,
.ws-item.done .ws-sub {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  color: rgba(242, 235, 218, 0.28);
}

.ws-stream-end {
  padding: 28px 28px 80px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(242, 235, 218, 0.25);
  text-align: center;
}

/* =====================================================================
   CONCEPT B — STACK  (layered / structured cream)
   ===================================================================== */

body.concept-stack .screen {
  background: #F4EEE3;
  color: #1B1614;
}

.concept-stack .status-bar { color: #1B1614; }

.st-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.st-header {
  padding: 12px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(27, 22, 20, 0.08);
  background: #F4EEE3;
}

.st-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(27, 22, 20, 0.55);
}

.st-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.st-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.028em;
}

.st-date {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(27, 22, 20, 0.5);
}

.st-stats {
  font-size: 12.5px;
  color: rgba(27, 22, 20, 0.62);
  font-variant-numeric: tabular-nums;
}

.st-stats .num {
  font-family: var(--font-display);
  font-weight: 500;
  color: #1B1614;
  font-size: 13.5px;
  letter-spacing: -0.005em;
}

.st-stream {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 16px 14px 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.st-stream::-webkit-scrollbar { display: none; }

.st-section {
  background: #FBF7EE;
  border-radius: 18px;
  border: 1px solid rgba(27, 22, 20, 0.07);
  overflow: hidden;
  position: relative;
}

.st-section::before {
  /* color stripe by list type */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent, #4A5568);
  z-index: 1;
}

.st-section[data-type="day"] { --accent: var(--c-day); }
.st-section[data-type="steady"] { --accent: var(--c-steady); }
.st-section[data-type="followups"] { --accent: var(--c-followups); }

.st-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px 18px;
}

.st-sec-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.st-sec-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.st-sec-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-sec-count {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(27, 22, 20, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.st-sec-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.st-sec-action {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217, 120, 67, 0.1);
  white-space: nowrap;
}

.st-section[data-type="steady"] .st-sec-action {
  background: rgba(31, 89, 89, 0.1);
}

.st-sec-collapse {
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: rgba(27, 22, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.st-sec-collapse svg {
  display: block;
  transition: transform 0.18s ease;
}

.st-section.collapsed .st-sec-collapse svg { transform: rotate(-90deg); }

.st-sec-lineage {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(27, 22, 20, 0.5);
  padding: 0 16px 12px 38px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.st-sec-lineage .from {
  opacity: 0.5;
}

.st-sec-lineage .pill {
  background: rgba(31, 89, 89, 0.08);
  color: var(--c-steady);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.st-items {
  list-style: none;
  border-top: 1px solid rgba(27, 22, 20, 0.06);
}

.st-section.collapsed .st-items,
.st-section.collapsed .st-sec-lineage {
  display: none;
}

.st-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  padding: 12px 16px 12px 22px;
  border-bottom: 1px solid rgba(27, 22, 20, 0.05);
  align-items: start;
}

.st-item:last-child { border-bottom: 0; }

.st-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 22, 20, 0.32);
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
}

.st-item.done .st-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.st-item.done .st-dot::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 6px;
  border-bottom: 1.4px solid #FBF7EE;
  border-right: 1.4px solid #FBF7EE;
  transform: rotate(45deg);
  left: 3.4px;
  top: 0.5px;
}

.st-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.st-sub {
  font-size: 12px;
  color: rgba(27, 22, 20, 0.55);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.st-reason {
  font-size: 12px;
  font-style: italic;
  color: rgba(27, 22, 20, 0.5);
  margin-top: 4px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-item.done .st-name,
.st-item.done .st-sub {
  text-decoration: line-through;
  color: rgba(27, 22, 20, 0.32);
}

/* =====================================================================
   CONCEPT C — ROUTE QUEUE  (cartographic / paper-map)
   ===================================================================== */

body.concept-route .screen {
  background: #EFE7D2;
  color: #2A2520;
}

.concept-route .status-bar { color: #2A2520; }

.rt-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.rt-header {
  padding: 12px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #EFE7D2;
  z-index: 3;
  border-bottom: 1px solid rgba(42, 37, 32, 0.1);
}

.rt-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(42, 37, 32, 0.55);
}

.rt-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.rt-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.028em;
}

.rt-title .num {
  font-weight: 500;
}

.rt-cta {
  border: 0;
  background: #C5532E;
  background-image: linear-gradient(180deg, #D45D34 0%, #C5532E 100%);
  color: #FBF7EE;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 6px 14px -6px rgba(197, 83, 46, 0.5);
  transition: transform 0.15s ease;
}

.rt-cta:hover { transform: translateY(-1px); }

.rt-stats {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(42, 37, 32, 0.65);
  font-variant-numeric: tabular-nums;
  align-items: baseline;
}

.rt-stats .num {
  font-family: var(--font-display);
  font-weight: 500;
  color: #2A2520;
  font-size: 13.5px;
  letter-spacing: -0.005em;
}

.rt-stats .stat + .stat::before {
  content: '·';
  color: rgba(42, 37, 32, 0.32);
  margin-right: 11px;
}

.rt-map {
  position: relative;
  background: #EFE7D2;
  border-bottom: 1px solid rgba(42, 37, 32, 0.12);
}

.rt-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.rt-stream {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  background: #EFE7D2;
}
.rt-stream::-webkit-scrollbar { display: none; }

.rt-items {
  list-style: none;
}

.rt-item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  padding: 13px 22px 13px 22px;
  border-bottom: 1px solid rgba(42, 37, 32, 0.07);
  align-items: start;
}

.rt-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #C5532E;
  letter-spacing: 0.02em;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  align-self: start;
}

.rt-item.done .rt-step {
  color: rgba(197, 83, 46, 0.4);
}

.rt-content { min-width: 0; }

.rt-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.rt-sub {
  font-size: 12px;
  color: rgba(42, 37, 32, 0.55);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.rt-reason {
  font-size: 12px;
  font-style: italic;
  color: rgba(42, 37, 32, 0.5);
  margin-top: 4px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(42, 37, 32, 0.06);
  color: rgba(42, 37, 32, 0.65);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 500;
  align-self: start;
}

.rt-chip[data-type="day"] { background: rgba(217, 120, 67, 0.14); color: #A14318; }
.rt-chip[data-type="steady"] { background: rgba(31, 89, 89, 0.14); color: #144040; }
.rt-chip[data-type="followups"] { background: rgba(123, 74, 110, 0.14); color: #5B3651; }

.rt-item.done .rt-name,
.rt-item.done .rt-sub {
  text-decoration: line-through;
  color: rgba(42, 37, 32, 0.36);
}

.rt-divider {
  position: sticky;
  top: 0;
  background: #EFE7D2;
  padding: 22px 22px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(42, 37, 32, 0.5);
  border-top: 1px solid rgba(42, 37, 32, 0.14);
  border-bottom: 1px solid rgba(42, 37, 32, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.rt-divider .rule {
  flex: 1;
  border-top: 1px solid rgba(42, 37, 32, 0.12);
}

.rt-off .rt-item {
  grid-template-columns: 1fr auto;
  padding-left: 22px;
}

.rt-stream-end {
  padding: 24px 22px 80px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(42, 37, 32, 0.32);
  text-align: center;
}
