/* Core One — scheduled activities (activity.js) and the CRM pipeline (crm.js, the kanban's
   stars, clocks and stage bar). Status colours follow Odoo: late red, today amber, planned green. */
:root {
  --act-late: #c0392f;
  --act-today: #b45309;
  --act-plan: #0d7a4f;
  --act-none: #9aa1b1;
  --act-late-bg: #fdecea;
  --act-today-bg: #fef3e2;
  --act-plan-bg: #e5f5ec;
  --star: #f5a524;
  --star-off: #dcdfe6;
}
:root[data-theme="dark"] {
  --act-late: #f87171;
  --act-today: #fbbf24;
  --act-plan: #34d399;
  --act-none: #6b7280;
  --act-late-bg: #3a1d1d;
  --act-today-bg: #3a2a12;
  --act-plan-bg: #12302a;
  --star: #fbbf24;
  --star-off: #3a404c;
}
.aico { width: 15px; height: 15px; flex: none; vertical-align: -2px; }

/* ---------- top bar: the clock and its panel ---------- */
.act-btn {
  position: relative; background: none; border: 1px solid var(--line); color: var(--muted); width: 32px; height: 32px;
  border-radius: 999px; display: grid; place-items: center; margin-right: 6px; flex: none;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.act-btn:hover, .act-btn[aria-expanded="true"] { border-color: var(--faint); color: var(--ink); }
.act-btn .act-btn-ico { width: 17px; height: 17px; }
.act-badge {
  position: absolute; top: -5px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--act-late); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px var(--paper);
}
.act-panel, .act-pop {
  position: absolute; z-index: 120; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--e3); padding: 6px; max-height: min(70vh, 520px); overflow: auto;
}
.act-panel { position: fixed; }
.act-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.act-panel-head a { font-size: 12.5px; font-weight: 600; }
.act-panel-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); }
.act-panel-row:hover { background: var(--line-2); }
.act-panel-model { color: var(--ink); font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-panel-chips { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.act-chip { font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.act-chip.s-overdue { background: var(--act-late-bg); color: var(--act-late); }
.act-chip.s-today { background: var(--act-today-bg); color: var(--act-today); }
.act-chip.s-planned { background: var(--act-plan-bg); color: var(--act-plan); }
.act-pop-empty { padding: 14px 10px; color: var(--muted); font-size: 13px; }
.act-pop-add { display: block; width: 100%; text-align: left; border: 0; background: none; color: var(--accent); font-weight: 600;
  padding: 9px 10px; border-radius: var(--r-sm); margin-top: 2px; }
.act-pop-add:hover { background: var(--accent-soft); }

/* ---------- a record's planned activities (the chatter) ---------- */
.rec-acts:empty { display: none; }
.rec-acts { margin-top: 14px; }
.act-head { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 12.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; padding: 0 4px 6px; border-bottom: 1px solid var(--line-2); }
.act-count { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px;
  background: var(--line-2); color: var(--ink-2); font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.act-row { display: flex; gap: 11px; padding: 11px 4px; border-bottom: 1px solid var(--line-2); }
.act-pop .act-row { padding: 9px 6px; }
.act-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--act-none); }
.act-ico.s-overdue { background: var(--act-late); }
.act-ico.s-today { background: var(--act-today); }
.act-ico.s-planned { background: var(--act-plan); }
.act-table .act-ico { display: inline-grid; width: 24px; height: 24px; vertical-align: middle; margin-right: 4px; }
.act-main { flex: 1; min-width: 0; }
.act-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; }
.act-due { font-weight: 700; }
.act-due.s-overdue { color: var(--act-late); }
.act-due.s-today { color: var(--act-today); }
.act-due.s-planned { color: var(--act-plan); }
.act-type { font-weight: 600; }
.act-sum { color: var(--ink-2); }
/* a summary that is one long unbroken word (a pasted link) wraps instead of stretching the page */
.act-main, .act-line, .act-sum { min-width: 0; overflow-wrap: anywhere; }
.act-table td { overflow-wrap: anywhere; }
.act-sum::before { content: '“'; } .act-sum::after { content: '”'; }
.act-who { color: var(--muted); font-size: 12.5px; }
.act-note { color: var(--muted); font-size: 12.5px; margin-top: 3px; white-space: pre-line; overflow-wrap: anywhere; }
.act-btns { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; }
.act-btns .act-b { border: 0; background: none; padding: 0; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.act-btns .act-b:hover { text-decoration: underline; }
.act-btns .act-b[data-do="cancel"] { color: var(--muted); }
.msg.activity .dot { background: var(--act-plan-bg); color: var(--act-plan); }
.msg.activity .body { white-space: pre-line; }
.chatter .notebox .btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 560px) {
  .chatter .notebox { flex-wrap: wrap; }
  .chatter .notebox input { flex: 1 1 100%; }
}

/* ---------- the dialogs ---------- */
.dlg.act-dlg { width: 480px; max-width: calc(100vw - 32px); }
.act-dlg textarea { width: 100%; }
.act-dlg .dlg-actions .spacer, .crm-conv .dlg-actions .spacer { flex: 1; }
.act-dlg-what { display: flex; align-items: center; gap: 8px; margin: -8px 0 14px; color: var(--ink-2); }
/* On a phone a dialog is the bottom sheet mobile.css makes of every dialog. */
@media (max-width: 760px) {
  .dlg.act-dlg, .dlg.crm-conv { width: 100%; max-width: 100%; }
}
@media (max-width: 560px) {
  .act-dlg .fieldrow, .crm-conv .fieldrow { grid-template-columns: 1fr; gap: 4px; }
  .act-dlg .dlg-actions, .crm-conv .dlg-actions { flex-wrap: wrap; }
}

/* ---------- kanban cards: stars, the clock, the salesperson ---------- */
.kmeta { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.kmeta .spacer { flex: 1; }
.prio { display: inline-flex; gap: 1px; line-height: 1; }
.prio .star { color: var(--star-off); font-size: 15px; border: 0; background: none; padding: 0 1px; }
.prio .star.on { color: var(--star); }
.prio.edit .star { cursor: pointer; }
.prio.edit .star:hover, .prio.edit .star:focus-visible { transform: scale(1.18); }
.prio-field .prio .star { font-size: 19px; }
.kava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); flex: none; }
.kact-clock { border: 0; background: none; padding: 2px; border-radius: 50%; display: grid; place-items: center; color: var(--act-none); }
.kact-clock:hover { background: var(--line-2); }
.kact-clock.s-overdue { color: var(--act-late); }
.kact-clock.s-today { color: var(--act-today); }
.kact-clock.s-planned { color: var(--act-plan); }
.kact-clock.s-none { opacity: .55; }
.kcard:hover .kact-clock.s-none { opacity: 1; }
.kbar.acts { display: flex; gap: 0; }
.kbar-seg { display: block; height: 100%; transition: width .5s var(--ease); }
.kbar-seg.s-overdue { background: var(--act-late); }
.kbar-seg.s-today { background: var(--act-today); }
.kbar-seg.s-planned { background: var(--act-plan); }
.kbar-seg.s-none { background: var(--line); }
.kquick .kq-row { margin-bottom: 8px; }
.kquick input[data-field] { border-bottom: 1px solid var(--line-2); padding-bottom: 4px; font-weight: 500; }
.kquick input[data-field]:first-child { font-weight: 600; }
.kquick-a { flex-wrap: wrap; }

/* ---------- the form's clickable stage bar ---------- */
.statusbar.stagebar .step { border: 0; background: none; cursor: pointer; font: inherit; }
.statusbar.stagebar .step:hover:not(.current) { background: var(--paper); color: var(--ink); }
.statusbar.stagebar .step.folded { opacity: .75; }

/* ---------- list chips ---------- */
.cpanel.odoo .cp-search .chip.act { background: var(--act-today-bg); color: var(--act-today); }

/* ---------- My Activities ---------- */
.act-list-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.act-segs { display: inline-flex; background: var(--line-2); padding: 3px; border-radius: 999px; gap: 2px; }
.act-seg { border: 0; background: none; padding: 5px 12px; border-radius: 999px; color: var(--muted); font-weight: 550; font-size: 13px; }
.act-seg.on { background: var(--paper); color: var(--ink); box-shadow: var(--e1); }
.act-list-bar select { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; background: var(--paper); }
.act-table td { vertical-align: top; }
.act-table .act-due { display: block; }
.act-date { display: block; color: var(--faint); font-size: 11.5px; }
.act-mlabel { color: var(--muted); font-size: 12px; }
.act-tbtns { white-space: nowrap; text-align: right; }
.act-tbtns .btn + .btn { margin-left: 4px; }
.act-hint { font-size: 12.5px; }
.act-big { width: 34px; height: 34px; }
@media (max-width: 760px) {
  .act-table thead { display: none; }
  .act-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
  .act-table td { display: block; padding: 0; border: 0; }
  .act-table td.act-tbtns { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
}

/* ---------- Convert to Opportunity ---------- */
.dlg.crm-conv { width: 680px; max-width: calc(100vw - 32px); }
.crm-radios { display: flex; flex-direction: column; gap: 7px; }
.crm-radios label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.crm-pick { margin: 0 0 4px 24px; }
.crm-muted { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.crm-dups { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: auto; max-height: 260px; }
.crm-dups.off { opacity: .55; }
.crm-dups-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 650; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.crm-dups table.list { width: 100%; }
.crm-dups td, .crm-dups th { white-space: nowrap; }

/* ---------- sales teams: the dashboard (salesteams.js) ---------- */
.tm-board { display: flex; flex-direction: column; gap: 14px; }
.tm-bar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tm-orphans { font-size: 13px; font-weight: 600; color: var(--act-today); background: var(--act-today-bg); padding: 5px 12px; border-radius: 999px; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.tm-card {
  --tmc: #6b7280;
  position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--tmc); border-radius: var(--r-md);
  box-shadow: var(--e1); padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 12px; cursor: pointer;
  transition: box-shadow .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.tm-card:hover { box-shadow: var(--e2); transform: translateY(-1px); }
.tm-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tm-card.off { opacity: .6; }
.tm-c1 { --tmc: #dc2626; } .tm-c2 { --tmc: #ea580c; } .tm-c3 { --tmc: #ca8a04; } .tm-c4 { --tmc: #16a34a; } .tm-c5 { --tmc: #0891b2; }
.tm-c6 { --tmc: #2563eb; } .tm-c7 { --tmc: #7c3aed; } .tm-c8 { --tmc: #db2777; } .tm-c9 { --tmc: #65a30d; }
.tm-head { display: flex; align-items: flex-start; gap: 8px; }
.tm-title { flex: 1; min-width: 0; }
.tm-name { font-size: 16px; font-weight: 650; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-who { color: var(--muted); font-size: 12.5px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-none { color: var(--faint); font-size: 12.5px; }
.tm-manual { background: var(--line-2); color: var(--muted); }
.tm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tm-stat {
  display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--line-2); color: var(--ink);
  text-decoration: none; min-width: 0; transition: background .12s var(--ease);
}
.tm-stat:hover { background: var(--accent-soft); }
.tm-stat b { font-size: 21px; font-weight: 680; letter-spacing: -.02em; line-height: 1.15; }
.tm-stat.zero b { color: var(--faint); }
.tm-stat.warn { background: var(--act-today-bg); } .tm-stat.warn b { color: var(--act-today); }
.tm-stat.bad { background: var(--act-late-bg); } .tm-stat.bad b { color: var(--act-late); }
.tm-lab { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.tm-sub { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.tm-inv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; }
.tm-of { color: var(--muted); font-weight: 500; }
.tm-bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-top: 6px; }
.tm-bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.tm-bar-fill.done { background: var(--act-plan); }
.tm-members { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-height: 26px; }
.tm-av {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); border: 2px solid var(--paper); margin-left: -6px;
}
.tm-av:first-child { margin-left: 0; }
.tm-av.off { background: var(--line-2); color: var(--faint); }
.tm-av.more { background: var(--line-2); color: var(--muted); }
.tm-count { color: var(--muted); font-size: 12.5px; margin-left: 8px; }
.tm-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 2px; }
@media (max-width: 640px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-stat b { font-size: 19px; }
}

/* ---------- lead generation: Send Email, Enrich, Lead Mining, the AI score (leadgen.js) ---------- */
.dlg.lg-dlg { width: 560px; max-width: calc(100vw - 32px); }
.dlg.lg-dlg.wide { width: 660px; }
.dlg.lg-dlg.lg-review { width: 1000px; }
.lg-dlg textarea { width: 100%; }
.lg-dlg .dlg-actions .spacer { flex: 1; }
.lg-dlg .btn:disabled { opacity: .5; cursor: not-allowed; }
.lg-from { margin: -6px 0 14px; color: var(--muted); font-size: 13px; }
.lg-from.warn, .lg-note.warn { color: var(--act-late); }
.lg-wait { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; }
.lg-spin { flex: none; width: 18px; height: 18px; margin-top: 2px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: lgspin .8s linear infinite; }
@keyframes lgspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lg-spin { animation-duration: 2.4s; } }
.lg-bar { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; margin: 6px 0 8px; }
.lg-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.lg-note { margin: 12px 0; padding: 9px 12px; border-radius: var(--r-sm); background: var(--line-2); color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.lg-src { margin-top: 8px; }
.lg-tbl { width: 100%; }
.lg-tbl td, .lg-tbl th { vertical-align: top; }
.lg-scroll { max-height: min(56vh, 520px); overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.lg-tools { display: flex; gap: 14px; margin: 0 0 8px; }
.lg-desc { max-width: 340px; white-space: normal; }
.lg-tbl tr.dim { opacity: .62; }
.warnc { color: var(--act-today); }
.lg-score span { display: block; }
.lg-factors { display: flex; flex-direction: column; gap: 1px; margin-top: 3px; }
.lg-f { font-size: 12.5px; }
.lg-f.up { color: var(--act-plan); }
.lg-f.down { color: var(--act-late); }
.msg.email .dot { background: var(--accent); color: #fff; }
.msg.email .body { white-space: pre-wrap; }
@media (max-width: 760px) {
  .dlg.lg-dlg, .dlg.lg-dlg.wide, .dlg.lg-dlg.lg-review { width: 100%; max-width: 100%; }
  .lg-dlg .lg-tbl thead { display: none; }
  .lg-dlg .lg-tbl tbody tr { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; padding: 10px 6px; border-bottom: 1px solid var(--line-2); }
  .lg-dlg .lg-tbl tbody td { display: block; padding: 0 !important; border: 0 !important; min-width: 0; overflow-wrap: anywhere; }
  .lg-dlg .lg-tbl tbody td:first-child { grid-row: span 5; }
  .lg-dlg .lg-tbl tbody td:empty { display: none; }
  .lg-desc { max-width: none; }
}
@media (max-width: 560px) { .lg-dlg .fieldrow { grid-template-columns: 1fr; gap: 4px; } .lg-dlg .dlg-actions { flex-wrap: wrap; } .dlg-suggest { margin-left: 0; } }

/* ---------- CRM Overview and Forecast (crmreports.js) ---------- */
.fc-wrap, .ov-wrap { display: flex; flex-direction: column; gap: 14px; }
.fc-search { flex-wrap: wrap; gap: 8px 12px; }
.fc-search select { max-width: 200px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); padding: 5px 8px; font: inherit; font-size: 13px; }
.fc-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.viewswitch .vs-link { display: inline-flex; align-items: center; padding: 4px 11px; font-size: 12.5px; font-weight: 550; color: var(--ink-2); text-decoration: none; border-radius: calc(var(--r-sm) - 2px); }
.viewswitch .vs-link:hover { background: var(--paper); color: var(--ink); }
.fc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fc-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-tile b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.fc-tl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.fc-ts { font-size: 12.5px; color: var(--muted); }
.fc-board { padding-bottom: 14px; align-items: stretch; }
.fc-col { min-width: 270px; flex: 0 0 270px; }
.fc-col .kcards { min-height: 120px; }
.fc-now .kcol-head h4 { color: var(--accent); }
.fc-late .kcol-head h4 { color: var(--act-late); }
.fc-none .kcol-head h4 { color: var(--muted); }
.fc-sums { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0 4px 9px; font-size: 12px; color: var(--muted); }
.fc-sums b { color: var(--ink); font-weight: 650; }
.fc-card a.fc-name { display: block; color: inherit; text-decoration: none; }
.fc-card a.fc-name:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.fc-money { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; font-weight: 650; }
.fc-pr { font-size: 12px; font-weight: 500; color: var(--muted); }
.fc-card.won { border-inline-start: 3px solid var(--act-plan); cursor: pointer; }
.fc-when { position: relative; display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--line-2); font-size: 11.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.fc-when:hover { background: var(--accent-soft); color: var(--accent); }
.fc-when.fc-won-on { cursor: default; background: var(--act-plan-bg); color: var(--act-plan); }
.fc-when.fc-won-on:hover { background: var(--act-plan-bg); color: var(--act-plan); }
.fc-when:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.fc-when select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.fc-more { font-size: 12.5px; color: var(--muted); padding: 4px 6px; }
.fc-addcol { flex: 0 0 auto; display: flex; align-items: flex-start; padding-top: 2px; }
.ov-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px;
  color: var(--ink); text-decoration: none; min-width: 0; transition: box-shadow .15s var(--ease), transform .15s var(--ease); }
.ov-tile:hover { box-shadow: var(--e2); transform: translateY(-1px); }
.ov-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ov-l { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ov-big { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ov-s { font-size: 12.5px; color: var(--muted); }
.ov-tile.bad .ov-big { color: var(--act-late); }
.ov-tile.warn .ov-big { color: var(--act-today); }
.ov-delta { font-weight: 650; }
.ov-delta.up { color: var(--act-plan); }
.ov-delta.down { color: var(--act-late); }
.ov-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.ov-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1); padding: 14px 16px; min-width: 0; }
.ov-wide { grid-column: 1 / -1; }
.ov-card h3 { margin: 0 0 10px; font-size: 14px; font-weight: 650; display: flex; align-items: baseline; gap: 8px; }
.ov-hint { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.ov-more { margin-inline-start: auto; font-size: 12.5px; font-weight: 550; }
.ov-none { color: var(--muted); font-size: 13px; padding: 6px 0; }
.ov-stage { display: grid; grid-template-columns: minmax(70px, 130px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 5px 0; font-size: 13px; }
.ov-sn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-sb, .ov-bar { display: block; height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.ov-sb i, .ov-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.ov-bar i.done { background: var(--act-plan); }
.ov-sv { text-align: end; white-space: nowrap; }
.ov-att a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 13px; }
.ov-att a:last-child { border-bottom: 0; }
.ov-att a:hover { color: var(--accent); }
.ov-att b { min-width: 30px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ov-att b.bad { color: var(--act-late); }
.ov-att b.warn { color: var(--act-today); }
.ov-team { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto auto; gap: 8px 16px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 13px; }
.ov-team:last-child { border-bottom: 0; }
.ov-team:hover .ov-tn { color: var(--accent); }
.ov-tn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-bar.off { background: repeating-linear-gradient(45deg, var(--line-2), var(--line-2) 6px, transparent 6px, transparent 12px); }
.ov-tv { white-space: nowrap; }
.ov-table td, .ov-table th { white-space: nowrap; }
.ov-table td:first-child { white-space: normal; min-width: 160px; }
@media (max-width: 900px) {
  .ov-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-grid { grid-template-columns: minmax(0, 1fr); }
  .fc-tiles { grid-template-columns: minmax(0, 1fr); }
  .fc-tile { flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .ov-tiles { grid-template-columns: minmax(0, 1fr); }
  .ov-big { font-size: 24px; }
  .ov-team { grid-template-columns: minmax(0, 1fr) auto; }
  .ov-team .ov-bar { grid-column: 1 / -1; order: 3; }
  .ov-table { display: block; overflow-x: auto; }
  .fc-col { min-width: 250px; flex-basis: 250px; }
}
