/* Compliance › MTD Income Tax Readiness (#mtd). Colours come from styles.css's tokens, so light and dark both work. */
.mtd-kpis { margin-bottom: 14px; }
.mtd-filters { margin: 4px 0 12px; }
.mtd-filters select { max-width: 15rem; }
.mtd-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.mtd-pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; background: var(--line-2); color: var(--muted); }
.mtd-pill.red { background: var(--red-soft); color: var(--red); }
.mtd-pill.amber { background: var(--amber-soft); color: var(--amber); }
.mtd-pill.green { background: var(--green-soft); color: var(--green); }
.mtd-list td small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.mtd-row { cursor: pointer; }
.mtd-row:hover > td, .mtd-row.open > td { background: var(--line-2); }
.mtd-row:focus-visible { outline: 2px solid var(--pma-blue); outline-offset: -2px; }
.mtd-edit > td { background: var(--line-2); }
.mtd-form { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); align-items: end; padding: 6px 0; }
.mtd-form label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.mtd-form textarea { min-height: 4.5rem; }
.mtd-form .mtd-notes { grid-column: 1 / -1; }
.mtd-form-actions { display: flex; gap: 8px; align-items: center; }
.mtd-missing { color: var(--amber); }
.mtd-chase { margin-bottom: 16px; }
.mtd-chase-h { font-size: 13px; margin: 12px 0 4px; }
.mtd-chase .cl-rows small { display: block; font-size: 11.5px; color: var(--muted); }
