/* ─────────────────────────────────────────────────────────────
   Workfied app UI components — rebuilt in HTML/CSS (Geist, amber)
   These mirror the real V3 app cards so they can float in layouts
   without using full screenshots. Prefix: ac-
   ───────────────────────────────────────────────────────────── */
:root {
  --ac-bg: #FBFAF8; --ac-line: #ECEAE4; --ac-line2: #E0DDD5;
  --ac-ink: #1A1A1E; --ac-ink2: #52525B; --ac-ink3: #8A8A93;
  --ac-a50: #FEF6EE; --ac-a100: #FBE8D5; --ac-a200: #F6CFA8;
  --ac-a500: #E5832E; --ac-a600: #D26E1C; --ac-a700: #A8550F;
  --ac-green: #1F8A52; --ac-greenBg: #E8F5ED;
  --ac-red: #C8442E; --ac-redBg: #FBEBE8;
  --ac-violet: #6D4AAA; --ac-violetBg: #F0EBF8;
  --ac-blue: #2563C9; --ac-blueBg: #EAF1FC;
}

.ac-card {
  background: #fff; border: 1px solid var(--ac-line); border-radius: 18px;
  padding: 18px 20px; font-family: var(--font); color: var(--ac-ink);
  box-shadow: 0 1px 2px rgba(26,26,30,.04), 0 8px 24px rgba(26,26,30,.06);
  text-align: left;
}
.ac-label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ac-ink3); display: flex; align-items: center; gap: 7px;
}
.ac-label.amber { color: var(--ac-a700); }
.ac-title { font-size: 17px; font-weight: 600; letter-spacing: -0.016em; margin: 6px 0 0; }
.ac-sub { font-size: 13.5px; color: var(--ac-ink2); line-height: 1.5; margin: 4px 0 0; }

/* progress bar */
.ac-bar { height: 7px; border-radius: 99px; background: var(--ac-a100); margin-top: 14px; overflow: hidden; }
.ac-bar i { display: block; height: 100%; width: 67%; border-radius: 99px; background: linear-gradient(90deg, var(--ac-a500), var(--ac-a600)); }
.ac-bar-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--ac-ink3); }
.ac-bar-meta b { color: var(--ac-a700); font-weight: 600; }

/* extracted-item rows */
.ac-items { display: flex; flex-direction: column; gap: 10px; }
.ac-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--ac-line); border-radius: 14px;
  padding: 12px 14px; font-family: var(--font);
  box-shadow: 0 1px 2px rgba(26,26,30,.04);
}
.ac-item .ic {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ac-item .ic.task { background: var(--ac-a50); color: var(--ac-a600); }
.ac-item .ic.win { background: var(--ac-greenBg); color: var(--ac-green); }
.ac-item .ic.block { background: var(--ac-redBg); color: var(--ac-red); }
.ac-item .ic.person { background: var(--ac-violetBg); color: var(--ac-violet); font-weight: 600; font-size: 14px; }
.ac-item .tx { min-width: 0; flex: 1; }
.ac-item .k { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ac-ink3); }
.ac-item .t { font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; color: var(--ac-ink); margin-top: 1px; }
.ac-item .s { font-size: 12.5px; color: var(--ac-ink3); margin-top: 1px; }
.ac-item .ok {
  width: 26px; height: 26px; border-radius: 99px; flex-shrink: 0;
  background: var(--ac-a600); color: #fff; display: flex; align-items: center; justify-content: center;
}

/* dark transcript card */
.ac-rec {
  background: #161618; border-radius: 18px; padding: 18px 20px; color: #fff;
  font-family: var(--font); border: 1px solid #2A2A2E;
  box-shadow: 0 12px 32px rgba(26,26,30,.18); text-align: left;
}
.ac-rec .top { display: flex; justify-content: space-between; align-items: center; }
.ac-rec .live { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ac-rec .live::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--ac-a500); }
.ac-rec .time { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ac-rec .words { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.86); letter-spacing: -0.008em; }
.ac-rec .words .hl { color: var(--ac-a500); font-weight: 550; }
.ac-rec .words .hg { color: #5CC78F; font-weight: 550; }
.ac-chiprow { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.ac-chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; letter-spacing: .02em; white-space: nowrap; }
.ac-chip.amber { background: rgba(229,131,46,.16); color: var(--ac-a500); }
.ac-chip.green { background: rgba(92,199,143,.14); color: #5CC78F; }
.ac-chip.red { background: rgba(232,109,86,.14); color: #E8836B; }
.ac-card .ac-chip.amber { background: var(--ac-a50); color: var(--ac-a700); }
.ac-card .ac-chip.green { background: var(--ac-greenBg); color: var(--ac-green); }
.ac-card .ac-chip.red { background: var(--ac-redBg); color: var(--ac-red); }
.ac-card .ac-chip.violet { background: var(--ac-violetBg); color: var(--ac-violet); }

/* generated doc */
.ac-doc .dhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ac-doc .sec { margin-top: 14px; }
.ac-doc .sn { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-a700); }
.ac-doc .sp { font-size: 14px; color: var(--ac-ink2); line-height: 1.6; margin: 4px 0 0; }
.ac-doc .sp b { color: var(--ac-ink); font-weight: 600; }
.ac-doc hr { border: 0; border-top: 1px solid var(--ac-line); margin: 14px 0 0; }

/* recap stats */
.ac-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ac-stat { border: 1px solid var(--ac-line); border-radius: 12px; padding: 10px 12px; }
.ac-stat .n { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ac-stat .l { font-size: 11.5px; color: var(--ac-ink3); margin-top: 1px; }
.ac-stat .n.green { color: var(--ac-green); } .ac-stat .n.amber { color: var(--ac-a600); }

/* goal card */
.ac-goal .ghead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ac-goal .due { font-size: 11.5px; font-weight: 600; color: var(--ac-a700); background: var(--ac-a50); border: 1px solid var(--ac-a100); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.ac-metrics { margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ac-metric { display: flex; gap: 9px; font-size: 13.5px; color: var(--ac-ink2); line-height: 1.45; align-items: baseline; }
.ac-metric::before { content: "✓"; color: var(--ac-green); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.ac-metric.todo::before { content: "○"; color: var(--ac-ink3); font-weight: 400; }

/* streak */
.ac-streak { display: flex; flex-direction: column; gap: 12px; }
.ac-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ac-day { aspect-ratio: 1; border-radius: 7px; background: var(--ac-a100); }
.ac-day.hi { background: var(--ac-a500); }
.ac-day.off { background: #F1EFEA; }
.ac-streak .meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ac-ink3); }
.ac-streak .meta b { color: var(--ac-a700); font-weight: 600; }

/* person row */
.ac-person { display: flex; align-items: center; gap: 12px; }
.ac-person .av { width: 38px; height: 38px; border-radius: 99px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 15px; }
.ac-person .nm { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.ac-person .mt { font-size: 12.5px; color: var(--ac-ink3); margin-top: 1px; }

/* ask q&a */
.ac-ask .q { font-size: 14.5px; font-weight: 550; color: var(--ac-ink); background: var(--ac-bg); border: 1px solid var(--ac-line); border-radius: 12px; padding: 10px 14px; }
.ac-ask .a { font-size: 13.5px; color: var(--ac-ink2); line-height: 1.55; margin-top: 10px; padding: 0 2px; }
.ac-ask .cite { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--ac-a700); background: var(--ac-a50); border: 1px solid var(--ac-a100); border-radius: 99px; padding: 1.5px 8px; white-space: nowrap; }

/* mic capture row */
.ac-capture { background: linear-gradient(165deg, #FDF1E3, #FBE8D5); border-color: var(--ac-a100); }
.ac-capture .row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.ac-mic {
  width: 52px; height: 52px; border-radius: 17px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--ac-a500), var(--ac-a600));
  box-shadow: 0 4px 14px rgba(210,110,28,.28);
  display: flex; align-items: center; justify-content: center;
}
.ac-capture .row .t { font-size: 15px; font-weight: 600; }
.ac-capture .row .s { font-size: 12.5px; color: var(--ac-ink3); margin-top: 1px; }

/* generic stack for composing fragments */
.ac-stack { display: flex; flex-direction: column; gap: 12px; }
