/* WAIIS Deal Desk theme: KK Advisors colours (dark green #093717, gold #FDC010), brightened for screens. */
:root {
  --brand: #fdc010; --brand-strong: #0f7a36; --brand-soft: #e6f5ea; --brand-ink: #093717;
  --side: #093717; --side-2: #10491f; --side-t: #b7cbbd; --side-on: rgba(253, 192, 16, .13); --side-mark: #fdc010;
  --hero-a: #fff4cf; --hero-b: #e0f4e7; --hero-art: #0f7a36;
  --gold: #b7860b; --gold-l: #fff3cc;
}
.c-gold { --c: #a87a00; --cl: #fff3cc; }
.sb-ws .ava { width: 36px; height: 36px; border-radius: 10px; background: var(--side-mark); color: var(--side); }
.sb-ws .ava .ic { width: 18px; height: 18px; }
.sb-brand { padding-bottom: 18px; }
.sb-brand img.word { height: 46px; }
.hero h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--brand); margin-top: 14px; }
.tiles.t5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tiles.t5 .tile { flex-direction: column; gap: 12px; }
.tiles.t5 .tile .flow { position: absolute; right: 14px; top: 22px; color: var(--ink-3); }

/* Deal Desk pieces */
.count { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--brand-strong); }
.funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.funnel > div { padding: 4px 14px; border-left: 1px solid var(--line-2); }
.funnel > div:first-child { border-left: 0; padding-left: 0; }
.funnel .n { font-size: 24px; font-weight: 800; }
.funnel .l { color: var(--ink-2); font-size: 12.5px; }
.funnel .cap { color: var(--ink-3); font-size: 12px; }
.todo { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-top: 1px solid var(--line-2); cursor: pointer; transition: background .12s; }
.todo:hover { background: var(--tint); }
.todo .n { min-width: 38px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--line-2); color: var(--ink-2); }
.todo .n.hot { background: var(--rose-l); color: var(--rose); }
.todo .n.warm { background: var(--amber-l); color: #b45309; }
.todo .n.zero { color: var(--ink-3); background: transparent; border: 1px dashed var(--line); }
.todo .t { flex: 1; min-width: 0; }
.todo .go { color: var(--ink-3); display: flex; }

/* the schedule line */
.timeline { position: relative; height: 104px; margin: 14px 18px 6px; }
.timeline .axis { position: absolute; left: 0; right: 0; top: 46px; height: 4px; border-radius: 4px; background: var(--line); }
.timeline .done-axis { position: absolute; left: 0; top: 46px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand-strong), #22c55e); }
.timeline .ev { position: absolute; top: 38px; transform: translateX(-50%); text-align: center; width: 0; }
.timeline .ev i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); margin: 0 auto; position: relative; left: -10px; box-shadow: 0 0 0 4px #fff; }
.timeline .ev.big i { border-color: var(--brand-strong); }
.timeline .ev.na i { border-color: var(--later); }
.timeline .ev.done i { background: var(--green); border-color: var(--green); }
.timeline .ev.dn i { border-color: var(--brand); background: var(--brand); }
.timeline .ev span { position: absolute; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink-2); transform: translateX(-50%); }
.timeline .ev.up span { bottom: 28px; } .timeline .ev.dn span { top: 28px; }
.timeline .ev span b { display: block; font-weight: 800; color: var(--ink); font-size: 13px; }
.timeline .today { position: absolute; top: 20px; height: 58px; width: 2px; background: var(--rose); }
.timeline .today span { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: #fff; background: var(--rose); padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
.wk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 22px 20px; }

.score-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line-2); }
.score-row input { grid-column: 1 / -1; }
.dots { display: inline-flex; gap: 5px; }
.dots button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; color: var(--ink-2); transition: all .12s; }
.dots button.on { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; box-shadow: 0 6px 14px -8px var(--brand-strong); }
.dots button:hover:not(.on) { border-color: #b8c4bd; background: var(--tint); }
.sbar { display: inline-block; width: 70px; height: 7px; border-radius: 4px; background: var(--line-2); vertical-align: middle; overflow: hidden; margin-right: 8px; }
.sbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-strong), #22c55e); }

.fin { width: 100%; border-collapse: collapse; }
.fin td { padding: 10px 6px 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.fin td:first-child { width: 34%; color: var(--ink-2); font-weight: 650; }
.fin tr.res td { border-bottom: 0; font-weight: 800; padding-top: 14px; color: var(--ink); }
.fin input { max-width: 160px; }

.rec { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: var(--tint); }
.rec .facts { grid-template-columns: 120px minmax(0, 1fr); }
.drop { border: 2px dashed #c9d3cd; border-radius: var(--r-lg); padding: 26px; text-align: center; color: var(--ink-2); background: #fff; transition: all .15s; }
.drop.over { border-color: var(--brand-strong); background: var(--brand-soft); }
.ai-out { white-space: pre-wrap; font-size: 13.5px; line-height: 1.6; background: var(--tint); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; max-height: 480px; overflow: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 650; color: var(--ink-2); font-size: 13px; transition: all .12s; }
.chip:hover { border-color: #b8c4bd; }
.chip.on { background: var(--brand-ink); color: #fff; border-color: var(--brand-ink); }
.chip .c { background: rgba(0, 0, 0, .06); border-radius: 99px; padding: 0 7px; font-size: 11.5px; }
.chip.on .c { background: var(--brand); color: var(--brand-ink); }
.conflict { border-left: 4px solid var(--rose); }
.proposed td { background: #fffaeb; }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--line-2); padding: 1px 6px; border-radius: 6px; }
.snip { font-size: 12.5px; color: var(--ink-2); background: var(--tint); border-left: 3px solid var(--brand); padding: 5px 9px; margin-top: 5px; border-radius: 0 8px 8px 0; }
mark { background: #fde68a; padding: 0 2px; border-radius: 3px; }
.cand-nm { font-weight: 750; color: var(--ink); }
.annex { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; background: var(--gold-l); color: #8a6400; margin-left: 6px; }

@media (max-width: 1280px) { .tiles.t5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .funnel { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .score-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 820px) {
  .timeline { margin: 14px 8px 6px; }
  .timeline .ev span { font-size: 10.5px; } .timeline .ev span b { font-size: 11.5px; }
  .todo, .score-row, .wk { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 820px) { .tiles.t5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles.t5 .tile:first-child { grid-column: span 2; } }
.t td .row > div { min-width: 0; }
.t .cand-nm { min-width: 200px; }
@media (max-width: 1400px) and (min-width: 1181px) { .grid.side { grid-template-columns: minmax(0, 1fr) 320px; } }
.hero-side.grid { background: rgba(255, 255, 255, .82); padding: 14px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--sh-1); }
