/* v2.43.0: expiry radar, health score, maintenance windows, access register, Today digest, audit log */
.r9-score { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.15rem; }
.r9-score-n { font-size: 2rem; font-weight: 600; line-height: 1; min-width: 3.2rem; text-align: center; }
.r9-score.band-good .r9-score-n { color: var(--ok, #1a7f4c); }
.r9-score.band-fair .r9-score-n { color: var(--warn, #a35b00); }
.r9-score.band-poor .r9-score-n { color: var(--bad, #b42318); }
.r9-score-meta { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.r9-score-meta .t { font-weight: 600; }
.r9-score-meta ul { margin: .3rem 0 0; padding: 0 0 0 1.1rem; }
.r9-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.r9-chip { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--line, #ddd); border-radius: 999px; padding: .25rem .7rem; text-decoration: none; color: inherit; font-size: .9rem; }
.r9-chip em { font-style: normal; font-weight: 600; }
.r9-chip.on { border-color: var(--accent, #e07a00); background: color-mix(in srgb, var(--accent, #e07a00) 12%, transparent); }
.r9-row { display: grid; grid-template-columns: 7.5rem 1fr auto auto; gap: .75rem; align-items: center; width: 100%; text-align: left; padding: .7rem 1rem; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none; }
.r9-row + .r9-row, a.r9-row + a.r9-row { border-top: 1px solid var(--line, #eee); }
.r9-row .s { display: block; color: var(--muted, #666); font-size: .85rem; }
.r9-when.bad, .r9-when .bad { color: var(--bad, #b42318); }
@media (max-width: 720px) {
  .r9-row { grid-template-columns: 1fr auto; }
  .r9-row .r9-type { grid-column: 1 / -1; }
}
.r9-form { display: grid; gap: .75rem; }
.r9-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 640px) { .r9-form .row2 { grid-template-columns: 1fr; } }

.r9-beside { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-l); align-items: start; }
@media (max-width: 48rem) { .r9-beside { grid-template-columns: 1fr; } }
.r9-month { display: grid; gap: var(--space-s); min-width: 0; }
.r9-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-3xs); }
.r9-cal-wd, .r9-cal-day, .r9-cal-pad { min-height: var(--space-xl); }
.r9-cal-wd { font-size: var(--step--2); font-weight: 600; color: var(--muted, #666); padding: var(--space-3xs); }
.r9-cal-day { display: flex; flex-direction: column; gap: var(--space-3xs); padding: var(--space-2xs); border: 1px solid var(--line, #ddd); border-radius: var(--radius-s); background: var(--card, transparent); min-height: var(--space-2xl); }
.r9-cal-day.is-today { border-color: var(--accent, #e07a00); }
.r9-cal-day.has-win { background: color-mix(in srgb, var(--accent, #e07a00) 8%, transparent); }
.r9-cal-n { font-size: var(--step--1); font-weight: 600; }
.r9-cal-wins { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3xs); }
.r9-cal-wins a { font-size: var(--step--2); text-decoration: none; color: inherit; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
