/* The management dashboard. Everything here leans on console.css; these are
   only the arrangements that screen does not already have. */

.sect { margin-bottom: 26px; }
.sect > h2 {
  margin: 0 0 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.sect > h2 .when { color: var(--text); letter-spacing: 0; text-transform: none;
                   font-weight: 500; margin-left: 8px; font-size: 13px; }

.tiles {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
}
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--border); border-radius: 10px;
  padding: 13px 15px; text-decoration: none; color: inherit; display: block;
}
.tile:hover { border-color: var(--muted); }
.tile .n {
  font-size: 27px; font-weight: 700; line-height: 1.1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.tile .n .of { font-size: 15px; font-weight: 500; color: var(--muted); }
.tile .k { display: block; margin-top: 3px; font-size: 13px; }
.tile .why { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.tile.warn { border-left-color: #b8860b; }
.tile.warn .n { color: #8a5a12; }
.tile.bad { border-left-color: #a33; }
.tile.bad .n { color: #9a3626; }
.tile.quiet .n { color: var(--muted); }

/* A day in the fortnight. The bar is the booking against the capacity the
   windows offer — the one comparison that says whether a day is arranged. */
.fill { display: block; height: 5px; border-radius: 3px;
        background: var(--border); margin-top: 7px; overflow: hidden; }
.fill > i { display: block; height: 100%; background: var(--accent, #2f6b4f); }
.fill.hot > i { background: #b8860b; }
.fill.over > i { background: #a33; }

td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.today > td { font-weight: 700; }
.delta { font-size: 12px; color: var(--muted); margin-left: 6px; }
.delta.up { color: #2f6b4f; }
.delta.down { color: #9a3626; }

.note-row { padding: 14px 16px; font-size: 13px; color: var(--muted);
            background: var(--surface); border: 1px dashed var(--border);
            border-radius: 10px; }
.note-row a { color: inherit; }
