/* Components added for the PHP screens. Loads after tokens.css and base.css.
   Colours: red = late, amber = missed update, green = on track, grey = nothing due. Never reused for anything else. */

/* Tile: one big number with a label (Chairman home) */
.tile { background: var(--c-surface); border: 1px solid #e6e9ef; border-radius: 20px; padding: 24px 28px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.tile-label { color: var(--c-muted); font-size: var(--fs-body); font-weight: 600; }
.tile-value { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.tile-note { color: var(--c-muted); font-size: var(--fs-sm); }

/* List row: icon / text / action, used for people, tasks and attention items */
.list { display: grid; }
.list-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px; min-height: var(--tap); border-bottom: 1px solid var(--c-line-2); }
.list-row:last-child { border-bottom: 0; }
.list-main { min-width: 0; }
.list-title { font-weight: 700; overflow-wrap: anywhere; }
.list-meta { color: var(--c-muted); font-size: var(--fs-sm); }

/* Empty state */
.empty { text-align: center; color: var(--c-muted); padding: 40px 16px; font-size: var(--fs-body); }

/* Pill sizes for the Chairman */
.chairman .pill { font-size: 15px; padding: 5px 12px; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid #93b4ff; outline-offset: 2px; }

/* Components sheet only */
.sheet { max-width: 1100px; margin: 0 auto; padding: 32px 24px 64px; display: grid; gap: 32px; }
.sheet h2 { font-size: 22px; margin-bottom: 12px; }
.sheet .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sheet .grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
