/* === Task Management page === */

/* Hero */
.tm-hero {
  position: relative;
  padding-top: 32px;
  padding-bottom: 80px;
  overflow: hidden;
}
.tm-hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 720px;
  background:
    radial-gradient(60% 60% at 70% 20%, rgba(64,204,191,0.18), transparent 60%),
    radial-gradient(50% 60% at 20% 30%, rgba(64,204,191,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.tm-hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.tm-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-top: 16px;
}
.tm-hero h1 .accent {
  background: linear-gradient(120deg, var(--teal-500) 0%, var(--teal-400) 60%, var(--teal-700) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tm-hero .lede {
  color: var(--muted);
  font-size: 18px;
  margin-top: 22px;
  max-width: 52ch;
  text-wrap: pretty;
}
.tm-hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.tm-hero .benefits-row { justify-content: flex-start; margin-top: 24px; }

/* Hero — Today board mock */
.tm-board-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,0.6);
  overflow: hidden;
  position: relative;
}
.tm-board-mock .mock-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
}
.tm-board-mock .mock-bar .traf { display: flex; gap: 6px; }
.tm-board-mock .mock-bar .traf i {
  width: 10px; height: 10px; border-radius: 999px;
  background: #e1e3df; display: inline-block;
}
.tm-board-mock .mock-bar .crumbs {
  font-size: 12px; color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.tm-board-mock .mock-bar .crumbs b { color: var(--ink); font-weight: 600; }

.tm-board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
}
.tm-board-head .title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
}
.tm-board-head .title .day {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 3px 8px;
  border-radius: 999px;
}
.tm-board-head .stats {
  display: flex; gap: 16px;
  font-size: 11px; color: var(--muted);
  font-weight: 500;
}
.tm-board-head .stats b { color: var(--ink); font-weight: 700; }

.tm-tasks { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.tm-task {
  display: grid;
  grid-template-columns: 22px 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .15s;
  background: white;
  border: 1px solid var(--line-2);
  min-width: 0;
}
.tm-task:hover { background: var(--bg); }
.tm-task .check {
  width: 18px; height: 18px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tm-task.done .check {
  background: var(--teal-500); border-color: var(--teal-500); color: white;
}
.tm-task .title-cell { min-width: 0; }
.tm-task .ttl {
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tm-task.done .ttl { text-decoration: line-through; color: var(--muted-2); font-weight: 500; }
.tm-task .sub {
  font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tm-task .av {
  width: 24px; height: 24px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--teal-100);
  flex-shrink: 0;
}
.tm-task .av img { width: 100%; height: 100%; object-fit: cover; }
.tm-task .pri {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tm-task .pri.high { background: #FEE7E2; color: #C13B1F; }
.tm-task .pri.med { background: #FEF3C7; color: #B25E09; }
.tm-task .pri.low { background: var(--teal-50); color: var(--teal-700); }
.tm-task .due {
  font-size: 11px; color: var(--muted);
  white-space: nowrap;
  font-feature-settings: "tnum";
}
.tm-task .due.overdue { color: #C13B1F; font-weight: 600; }

.tm-board-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.tm-board-foot .meter {
  flex: 1; max-width: 240px;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  margin: 0 16px;
  overflow: hidden;
}
.tm-board-foot .meter i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  border-radius: 999px;
}

/* Hero floating chips */
.tm-hero-chip {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
  animation: tmFloat 6s ease-in-out infinite;
}
.tm-hero-chip .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tm-hero-chip b { display: block; font-weight: 600; font-size: 13px; }
.tm-hero-chip small { color: var(--muted); font-size: 11px; }
.tm-hero-chip-1 { top: -16px; left: -28px; animation-delay: 0s; }
.tm-hero-chip-2 { bottom: 28px; right: -32px; animation-delay: -3s; }
@keyframes tmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Stats band */
.tm-stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0;
}
.tm-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: end; }
.tm-stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 56px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tm-stat .num small {
  font-size: 28px; font-weight: 600;
  margin-left: 2px;
  color: var(--teal-500);
  -webkit-text-fill-color: var(--teal-500);
}
.tm-stat .lbl {
  margin-top: 10px; font-size: 14px;
  color: var(--muted);
  max-width: 24ch; line-height: 1.4;
}

/* Feature blocks (alternating) — same chassis as lead-mgmt */
.tm-feature { padding: var(--gutter) 0; }
.tm-feature .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.tm-feature.reverse .container > .tm-feature-copy { order: 2; }
.tm-feature.reverse .container > .tm-feature-visual { order: 1; }
.tm-feature-copy h2 {
  font-size: 40px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  margin-top: 16px;
}
.tm-feature-copy .lede {
  color: var(--muted);
  font-size: 17px;
  margin-top: 18px;
  max-width: 50ch;
  text-wrap: pretty;
}
.tm-feature-bullets {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 14px;
}
.tm-feature-bullets li {
  display: flex; gap: 12px;
  align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.tm-feature-bullets li .check {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  flex-shrink: 0; margin-top: 1px;
}
.tm-feature-bullets li b { color: var(--ink); font-weight: 600; }
.tm-feature-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.tm-feature-visual {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tm-feature-visual.tinted {
  background: linear-gradient(180deg, var(--teal-50), var(--surface) 60%);
}
.tm-feature-visual.dark {
  background: linear-gradient(180deg, #0E1614, #1A2724);
  border-color: #1A2724; color: white;
}
.tm-feature-visual .v-title {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600;
  margin-bottom: 16px;
}
.tm-feature-visual.dark .v-title { color: rgba(255,255,255,0.6); }

/* Visual: Assignment composer */
.v-assigner {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.v-assigner .field {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}
.v-assigner .field:last-of-type { border-bottom: none; }
.v-assigner .field .lbl {
  font-size: 11px; color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.v-assigner .field .val {
  font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.v-assigner .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  background: var(--teal-50);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: var(--teal-700);
}
.v-assigner .chip .av-sm {
  width: 20px; height: 20px;
  border-radius: 999px; overflow: hidden;
  background: var(--teal-200);
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; color: var(--teal-700);
}
.v-assigner .chip .av-sm img { width: 100%; height: 100%; object-fit: cover; }
.v-assigner .pri-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.v-assigner .pri-pill.high { background: #FEE7E2; color: #C13B1F; }
.v-assigner .actions {
  margin-top: 12px; display: flex; gap: 8px;
}
.v-assigner .actions .btn-mini {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line);
  background: white; color: var(--ink-2);
}
.v-assigner .actions .btn-mini.primary {
  background: var(--ink); color: white; border-color: var(--ink);
}

/* Visual: Reminders timeline */
.v-reminders { display: grid; gap: 8px; }
.v-reminders .row {
  display: grid;
  grid-template-columns: 60px 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.v-reminders .row.alert { border-color: var(--teal-200); background: var(--teal-50); }
.v-reminders .time {
  font-feature-settings: "tnum";
  font-size: 11px; color: var(--muted);
  font-weight: 600;
}
.v-reminders .ic {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: grid; place-items: center;
}
.v-reminders .row.alert .ic { background: var(--teal-500); color: white; }
.v-reminders .meta { min-width: 0; }
.v-reminders .ttl { font-weight: 600; color: var(--ink); font-size: 13px; }
.v-reminders .sub { font-size: 11px; color: var(--muted); }
.v-reminders .channel {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v-reminders .channel.wa { background: #E6F7EC; color: #1B8B43; }
.v-reminders .channel.push { background: var(--line-2); color: var(--ink-2); }
.v-reminders .channel.mail { background: #FEF3C7; color: #B25E09; }

/* Visual: Recurring task / automation */
.v-recurring {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.v-recurring .head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.v-recurring .head .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
}
.v-recurring .head .ttl { font-weight: 700; font-size: 14px; }
.v-recurring .head .sub { font-size: 12px; color: var(--muted); }
.v-recurring .schedule {
  display: flex; gap: 4px;
  margin: 10px 0 14px;
}
.v-recurring .day-pill {
  flex: 1; height: 30px;
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
}
.v-recurring .day-pill.on {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: white;
}
.v-recurring .upcoming {
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.v-recurring .upcoming .lbl {
  font-size: 11px; color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 8px;
}
.v-recurring .next {
  display: flex; gap: 6px;
}
.v-recurring .next .date {
  flex: 1; padding: 6px 8px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 11px;
  text-align: center;
}
.v-recurring .next .date b {
  display: block; font-size: 14px; color: var(--ink);
  margin-top: 2px;
}

/* Visual: Activity feed (history) */
.v-history {
  position: relative;
  padding-left: 20px;
}
.v-history::before {
  content: ""; position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.v-history .item {
  position: relative;
  padding: 8px 0 16px;
  font-size: 13px;
}
.v-history .item::before {
  content: "";
  position: absolute;
  left: -19px; top: 12px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: white;
  border: 2px solid var(--teal-500);
  box-shadow: 0 0 0 3px var(--surface);
}
.v-history .item.muted::before { border-color: var(--muted-2); }
.v-history .item.done::before { background: var(--teal-500); }
.v-history .item .when { font-size: 11px; color: var(--muted-2); }
.v-history .item .what { color: var(--ink-2); }
.v-history .item .what b { color: var(--ink); font-weight: 600; }
.v-history .item .who {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: var(--ink);
}

/* Visual: Insights / report */
.v-insights {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.v-insights .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.v-insights .head .ttl { font-weight: 700; font-size: 14px; }
.v-insights .head .delta {
  font-size: 12px; color: var(--teal-600); font-weight: 600;
  background: var(--teal-50);
  padding: 3px 10px;
  border-radius: 999px;
}
.v-insights .donut-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
}
.v-insights .donut {
  width: 130px; height: 130px;
  position: relative;
}
.v-insights .donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.v-insights .donut .pct {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.v-insights .donut .pct small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v-insights .legend { display: grid; gap: 10px; }
.v-insights .legend .row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-2);
}
.v-insights .legend .sw {
  width: 12px; height: 12px;
  border-radius: 4px;
}
.v-insights .legend .val { color: var(--muted); font-weight: 600; }

/* Pipeline grid -- per-rep load */
.v-load {
  margin-top: 14px;
  display: grid; gap: 8px;
}
.v-load .row {
  display: grid;
  grid-template-columns: 28px 1fr 60px 36px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.v-load .av {
  width: 28px; height: 28px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--teal-100);
}
.v-load .av img { width: 100%; height: 100%; object-fit: cover; }
.v-load .nm { font-weight: 600; color: var(--ink); }
.v-load .role { font-size: 10px; color: var(--muted); display: block; }
.v-load .meter {
  height: 6px;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
}
.v-load .meter i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  border-radius: 999px;
}
.v-load .count { text-align: right; font-weight: 600; color: var(--muted); font-feature-settings: "tnum"; }

/* Visual: Calendar/today */
.v-calendar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.v-calendar .month {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-weight: 700; font-size: 14px;
}
.v-calendar .month .arrows { display: flex; gap: 6px; color: var(--muted); }
.v-calendar .grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 11px;
}
.v-calendar .grid .dow {
  font-size: 10px; color: var(--muted-2);
  text-align: center;
  font-weight: 600;
  padding: 4px 0;
}
.v-calendar .grid .day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
}
.v-calendar .grid .day.muted { color: var(--muted-2); }
.v-calendar .grid .day.has::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--teal-500);
}
.v-calendar .grid .day.today {
  background: var(--ink);
  color: white;
}
.v-calendar .grid .day.today::after { background: white; }

/* Workflow steps band */
.tm-workflow {
  padding: var(--gutter) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tm-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tm-workflow-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.tm-workflow-card .num {
  font-size: 13px; font-weight: 700;
  color: var(--teal-600);
  font-feature-settings: "tnum";
  letter-spacing: 0.04em;
}
.tm-workflow-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
}
.tm-workflow-card h4 { font-size: 18px; }
.tm-workflow-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Cross-sell card linking to other features */
.tm-crosssell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tm-crosssell-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tm-crosssell-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}
.tm-crosssell-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center;
}
.tm-crosssell-card h4 { font-size: 18px; }
.tm-crosssell-card p { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.tm-crosssell-card .more {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: var(--teal-600); font-size: 14px;
}

/* Visual: New Task form */
.v-task-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v-tf-field { display: flex; flex-direction: column; gap: 5px; }
.v-tf-lbl { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.v-tf-req { color: #C13B1F; }
.v-tf-select {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px; color: var(--ink);
  background: white;
}
.v-tf-input {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px; color: var(--ink);
  background: white;
}
.v-tf-types { display: flex; gap: 6px; }
.v-tf-type {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--ink-2);
  background: white;
}
.v-tf-type.active {
  border-color: var(--teal-400);
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 600;
}
.v-tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-tf-save {
  width: 100%;
  height: 40px;
  background: var(--teal-500);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  cursor: default;
  margin-top: 4px;
}

/* Visual: Pending / Due tasks list */
.v-pending-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 10px;
}
.v-ph-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.v-ph-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.v-ph-badge {
  background: #C13B1F;
  color: white;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.v-pending-group {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding: 6px 0 8px;
  border-top: 1px solid var(--line);
}
.v-pending-cards { display: flex; flex-direction: column; gap: 10px; }
.v-pending-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
}
.v-pc-left {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding-right: 10px;
  border-right: 1px solid var(--line-2);
}
.v-pc-type-ic {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
}
.v-pc-type-ic.meeting { background: var(--teal-50); color: var(--teal-600); }
.v-pc-type-ic.call { background: #EEF2FF; color: #4F46E5; }
.v-pc-time { font-size: 12px; font-weight: 700; color: var(--ink); text-align: center; }
.v-pc-type-lbl { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.v-pc-mid { display: flex; flex-direction: column; gap: 4px; }
.v-pc-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.v-pc-meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--ink-2);
}
.v-pc-badge {
  font-size: 10px; font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--teal-50); color: var(--teal-700);
  border: 1px solid var(--teal-100);
}
.v-pc-note {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.v-pc-note-lbl { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; }
.v-pc-note-text { font-size: 12px; color: var(--ink); font-style: italic; }
.v-pc-note-meta { font-size: 10px; color: var(--muted-2); }
.v-pc-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.v-pc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  border: 1px solid var(--line);
  background: white; color: var(--ink-2);
  white-space: nowrap;
  cursor: default;
}
.v-pc-btn.primary {
  background: var(--teal-500); color: white; border-color: var(--teal-500);
}

/* Visual: Task views (sidebar + content) */
.v-task-views {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.v-tv-sidebar {
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 12px 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.v-tv-label {
  font-size: 10px; font-weight: 700;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px 8px;
}
.v-tv-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--ink-2);
  cursor: default;
}
.v-tv-item.active {
  background: #FFF3E0;
  color: #B45309;
  font-weight: 600;
}
.v-tv-item-ic { flex-shrink: 0; display: grid; place-items: center; }
.v-tv-item-lbl { flex: 1; }
.v-tv-badge {
  font-size: 10px; font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: #C13B1F;
  color: white;
  flex-shrink: 0;
}
.v-tv-content { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.v-tv-head { font-size: 14px; font-weight: 700; color: var(--ink); }
.v-tv-sub { font-size: 11px; color: var(--muted); margin-top: -4px; margin-bottom: 4px; }
.v-tv-task {
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
}
.v-tv-task-av {
  width: 24px; height: 24px;
  border-radius: 999px; overflow: hidden;
  background: var(--teal-100);
  flex-shrink: 0;
}
.v-tv-task-av img { width: 100%; height: 100%; object-fit: cover; }
.v-tv-task-body { flex: 1; min-width: 0; }
.v-tv-task-ttl { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-tv-task-sub { font-size: 10px; color: var(--muted); }
.v-tv-task-pri {
  font-size: 9px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.v-tv-task-pri.high { background: #FEE7E2; color: #C13B1F; }
.v-tv-task-pri.med  { background: #FEF3C7; color: #B25E09; }
.v-tv-task-pri.low  { background: var(--teal-50); color: var(--teal-700); }

/* Responsive */
@media (max-width: 980px) {
  .tm-hero .container { grid-template-columns: 1fr; gap: 48px; }
  .tm-feature .container { grid-template-columns: 1fr; gap: 40px; }
  .tm-feature.reverse .container > .tm-feature-copy { order: 1; }
  .tm-feature.reverse .container > .tm-feature-visual { order: 2; }
  .tm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-crosssell { grid-template-columns: 1fr; }
  .tm-hero-chip-1, .tm-hero-chip-2 { display: none; }
  .v-insights .donut-wrap { grid-template-columns: 1fr; }
  .v-insights .donut { margin: 0 auto; }
}
