:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --line: #e2e2e5;
  --accent: #2f6fde;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111113; --card: #1c1c1f; --text: #f2f2f4; --muted: #a0a0a8; --line: #2c2c31; --accent: #6ea0ff; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 ui-rounded, -apple-system, "Hiragino Maru Gothic ProN", system-ui, sans-serif;
}
main { max-width: 560px; margin: 0 auto; padding: 16px 16px 48px; }
h1 { font-size: 1.4rem; margin: 8px 0 0; }
h2 { font-size: 1.05rem; margin: 24px 0 8px; }
h3 { font-size: .95rem; margin: 0 0 4px; color: var(--muted); font-weight: 600; }
ul { list-style: none; margin: 0; padding: 0; }
.updated, .empty, .message, .me { color: var(--muted); font-size: .9rem; }
.message { margin-top: 32px; text-align: center; }
.days > li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.shifts li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 2px 0; }
.shifts .time { font-variant-numeric: tabular-nums; font-weight: 600; }
.shifts .break { color: var(--muted); font-size: .85rem; }
.shifts .off .time { color: var(--muted); }
.who { display: inline-flex; align-items: center; gap: 6px; min-width: 7em; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.names li { margin-bottom: 8px; }
.names button {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
}
button.link { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
