/* Data tables (values 1:1 from the original design). */

/* Shared table grid */
.tn-table__head{display:grid;gap:12px;padding:16px 24px;color:#fff;font-size:13px;font-weight:700}
.tn-table__head--purple{background:#8B17F7}
.tn-table__head--navy{background:#06005A}
.tn-table__row{display:grid;gap:12px;border-top:1px solid #F1ECFB;align-items:center}
.tn-muted{color:#4B4880}
.tn-strong{font-weight:700}

/* Readiness (chapter 15) */
.tn-table--readiness{min-width:900px}
.tn-table--readiness .tn-table__head,
.tn-table__row--readiness{grid-template-columns:52px minmax(0,1.5fr) 60px 150px 80px minmax(0,2.4fr)}
.tn-table__row--readiness{padding:11px 24px;font-size:14px}
.tn-dots{display:flex;gap:4px;align-items:center}
.tn-dot{width:14px;height:14px;border-radius:50%}
.tn-dots__label{margin-left:6px;font-weight:800}
.tn-small{font-size:12px}
.tn-reason{font-size:13px;line-height:1.5;color:#4B4880}

/* Data gaps (chapter 18) */
.tn-table--gaps{min-width:860px}
.tn-table--gaps .tn-table__head,
.tn-table__row--gaps{grid-template-columns:60px minmax(0,1.3fr) minmax(0,2fr) minmax(0,1.2fr) 100px 90px}
.tn-table__row--gaps{padding:12px 24px;font-size:14px;line-height:1.45}
.tn-priority{font-weight:800;color:#8B17F7}

/* Evidence ledger (chapter 19) */
.tn-table--ledger{min-width:920px}
.tn-table--ledger .tn-table__head,
.tn-table__row--ledger{grid-template-columns:70px minmax(0,2.6fr) minmax(0,1.3fr) 160px 100px 70px}
.tn-table__row--ledger{padding:11px 24px;font-size:13px;line-height:1.45}
.tn-id{font-weight:800;color:#8B17F7}

/* Heatmap (chapter 04) */
.tn-heat{min-width:900px;display:grid;grid-template-columns:240px repeat(5,minmax(0,1fr)) 110px;gap:6px}
.tn-heat__col{background:#06005A;color:#fff;font-weight:800;font-size:14px;text-align:center;padding:14px 6px;border-radius:8px;display:flex;flex-direction:column;gap:2px}
.tn-heat__col-meta{font-size:11px;font-weight:600;color:#AAFF03}
.tn-heat__corner{font-size:12px;font-weight:700;color:#4B4880;display:flex;align-items:center;justify-content:center;text-align:center}
.tn-heat__row{color:#fff;font-weight:700;font-size:14px;padding:14px 16px;border-radius:8px;display:flex;align-items:center}
.tn-heat__cell{border-radius:8px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:800;font-size:18px}
.tn-heat__tag{font-size:10px;font-weight:700}
.tn-heat__growth{font-size:13px;font-weight:700;color:#06005A;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}
.tn-heat__growth-meta{font-size:10px;font-weight:600;color:#4B4880}

/* Heatmap mode "fields": fields of application instead of calculated values */
.tn-heat--fields .tn-heat__cell{background:#FBFAFF;border:1px solid #EEE9FA;color:#06005A;font-size:13px;font-weight:600;line-height:1.35;text-align:center;padding:10px 8px}
.tn-heat--fields .tn-heat__cell--empty{color:#B9B3D9;font-weight:700}
/* Readiness mode "status" */
.tn-table--status .tn-table__head,
.tn-table--status .tn-table__row--readiness{grid-template-columns:52px minmax(0,1.5fr) 140px minmax(0,2.4fr)}
.tn-status{display:inline-block;font-size:12px;font-weight:800;padding:4px 10px;border-radius:20px;white-space:nowrap}
.tn-status--belegt{background:#AAFF03;color:#06005A}
.tn-status--pruefen{background:#FFF7DF;color:#8A6318}
.tn-status--fehlt{background:#F1ECFB;color:#4B4880}
.tn-heat--values .tn-heat__cell{border:0;padding:10px 8px;gap:4px}
.tn-heat__val{font-size:18px;font-weight:800;line-height:1}
.tn-heat__field{font-size:11.5px;font-weight:600;line-height:1.3}
.tn-heat__q{font-size:10px;letter-spacing:1.5px;line-height:1;opacity:.8;margin-top:2px}
