/* ============ BOARD / KANBAN ============ */
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
}

.col {
  background: var(--carbon);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.col.drop {
  outline: 2px dashed var(--red);
  outline-offset: -3px;
}

.col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line-soft);
}

.col-head .acc {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}

.col-head h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.col-head .c {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.col[data-st='todo'] .acc { background: var(--faint); }
.col[data-st='inprogress'] .acc { background: var(--red); box-shadow: 0 0 8px var(--red); }
.col[data-st='review'] .acc { background: #ff6b78; }
.col[data-st='done'] .acc { background: var(--ok); }

.col-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.col-empty {
  color: var(--faint);
  font-size: 12px;
  text-align: center;
  padding: 18px 8px;
  font-family: var(--mono);
}

/* Cards */
.card {
  background: var(--carbon-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px;
  cursor: grab;
  transition: 0.12s;
  position: relative;
}

.card:hover {
  border-color: #3d3d44;
  transform: translateY(-1px);
}

.card.dragging {
  opacity: 0.4;
}

.card .title {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  margin-bottom: 9px;
  padding-right: 4px;
}

.card.is-done .title {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--faint);
}

.card .meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.card .row2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}

.card .due {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card .due.over {
  color: var(--red);
}

.card .due svg {
  width: 11px;
  height: 11px;
}

.card .spacer {
  flex: 1;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 600;
  transition: 0.12s;
  cursor: pointer;
}

.step:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-glow);
}

.step svg {
  width: 12px;
  height: 12px;
}

.timechip {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timechip.run {
  color: var(--red);
}

.timechip svg {
  width: 11px;
  height: 11px;
}

.mini-timer {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 22px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: 0.12s;
}

.mini-timer:hover {
  border-color: var(--red);
  color: var(--red);
}

.mini-timer.run {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-glow);
}

.mini-timer svg {
  width: 12px;
  height: 12px;
}

/* ============ DASHBOARD / FOCUS ============ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.focus-card {
  background: var(--carbon);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
}

.focus-card .fc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.focus-card .who {
  font-weight: 600;
  font-size: 14px;
}

.focus-card .role {
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
}

.focus-card .fc-stat {
  margin-left: auto;
  text-align: right;
}

.focus-card .fc-stat b {
  font-family: var(--mono);
  font-size: 16px;
}

.focus-card .fc-stat span {
  display: block;
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flist {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.frow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  background: var(--carbon-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: 0.12s;
}

.frow:hover {
  border-color: var(--line);
}

.frow .st-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.frow.todo .st-dot { background: var(--faint); }
.frow.inprogress .st-dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
.frow.review .st-dot { background: #ff6b78; }
.frow.done .st-dot { background: var(--ok); }

.frow .ft {
  font-size: 12.5px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frow.done .ft {
  color: var(--muted);
  text-decoration: line-through;
}

.frow .fadv {
  flex: none;
}

.empty-focus {
  color: var(--faint);
  font-size: 12px;
  font-family: var(--mono);
  padding: 6px 2px;
}

/* ============ STANDUP CARDS ============ */
.standup {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.su {
  background: var(--carbon);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  flex: 1;
  min-width: 170px;
}

.su .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.su .v {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 4px;
}

.su.live {
  border-color: #3a181c;
}

.su.live .v {
  color: var(--red);
}

.su .bar {
  height: 4px;
  background: var(--carbon-2);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.su .bar i {
  display: block;
  height: 100%;
  background: var(--red);
  border-radius: 3px;
}

/* ============ LEAVE STRIP ============ */
.leave-strip {
  background: var(--carbon);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.leave-strip .lab {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.leave-strip .ppl {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.leave-strip .one {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
