/* ═══ SIGN-INS (js/signins.js) ═════════════════════════════════════════════════════════════
   Second draft. His four complaints about the first were the tabs, the coloured tags, weak
   hierarchy and an empty strip on top — so: no tabs, no tags, no pills, no count bubbles, no
   boxes, and FOUR text sizes only (18 section · 15 name · 14 line · 13 detail), with the detail
   in --ink-soft rather than the faintest grey. Everything prefixed si-; named colours only, so
   dark mode needs nothing of its own. */

#siPage{padding-top:6px}
/* the same size as every other screen's title (27px), so it reads as this app's name */
.si-title-page{font-size:27px;margin:0 0 26px;letter-spacing:-.015em}
/* the title and Refresh on one line; the title's own bottom gap stays the page's gap */
.si-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.si-refresh{display:inline-flex;align-items:center;gap:6px;flex:none;margin-top:4px}
/* ⚠ narrow: the floating capsule sits in the top-right corner and covered it — so it drops under the title */
@media(max-width:560px){.si-head{flex-direction:column;gap:0}.si-refresh{margin:-12px 0 22px}}
.si-msg{font-family:'Inter',sans-serif;font-size:14px;color:var(--ink-soft);padding:32px 0}
.si-link{border:none;background:none;padding:0;font:inherit;color:var(--accent-deep);font-weight:500;cursor:pointer}
.si-link:hover{text-decoration:underline}
.si-more{display:block;margin:12px 0 0;font-family:'Inter',sans-serif;font-size:14px}
.si-foot{font-family:'Inter',sans-serif;font-size:13px;color:var(--ink-soft);margin:36px 0 12px;padding-top:14px;border-top:1px solid var(--rule-soft)}
.si-quiet{font-weight:400;color:var(--ink-soft)}

/* ── GOOGLE ───────────────────────────────────────────────────────────────── */
/* ⚠ ONE WIDTH FOR EVERY SECTION — the table was wider than the sections above it, so their
   rules ended at two different places on one page */
.si-sec{max-width:1180px;margin:0 0 40px}
.si-h{font-family:'Inter',sans-serif;font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--ink);margin:0 0 6px}
.si-day{font-family:'Inter',sans-serif;font-size:14px;font-weight:600;color:var(--ink);margin:18px 0 2px}

/* a problem: a mark, the person, the sentence */
.si-item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--rule-soft);cursor:pointer}
.si-item.ok{cursor:default}
.si-mark{flex:none;width:20px;height:20px;margin-top:1px}
.si-item.red .si-mark{color:var(--accent)}
.si-item.amber .si-mark{color:var(--star)}
.si-item.ok .si-mark{color:var(--ok)}
.si-body{flex:1;min-width:0}
.si-title{font-family:'Inter',sans-serif;font-size:15px;font-weight:600;color:var(--ink);margin:0 0 3px}
.si-line{font-family:'Inter',sans-serif;font-size:14px;color:var(--ink);margin:0;line-height:1.5}
.si-sub{font-family:'Inter',sans-serif;font-size:13px;color:var(--ink-soft);margin:4px 0 0;line-height:1.5}
.si-item:not(.ok):hover .si-title{color:var(--accent-deep)}

/* a sign-in line and a person line share one grid */
.si-list,.si-hlist{list-style:none;margin:0;padding:0}
.si-feed,.si-hrow{display:grid;grid-template-columns:64px minmax(140px,220px) minmax(150px,1fr) auto;column-gap:18px;
  align-items:baseline;padding:10px 0;border-bottom:1px solid var(--rule-soft);font-family:'Inter',sans-serif}
.si-hrow{grid-template-columns:120px minmax(150px,1fr) auto}
.si-when{font-size:13px;color:var(--ink-soft);font-variant-numeric:tabular-nums;white-space:nowrap}
.si-when.r{text-align:right}
.si-who{font-size:15px;font-weight:600;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.si-what{font-size:14px;color:var(--ink)}
.si-dev{font-size:13px;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bad .si-what{color:var(--accent-deep);font-weight:500}

.si-person{border-bottom:1px solid var(--rule-soft);cursor:pointer}
.si-prow{display:grid;grid-template-columns:minmax(140px,220px) 1fr auto;column-gap:18px;align-items:baseline;padding:11px 0}
.si-person:hover .si-who{color:var(--accent-deep)}
.si-hist{padding:2px 0 14px}
.si-item .si-hist{padding-top:8px}
.si-hist .si-hrow:last-child{border-bottom:none}

/* ── LAST SIGN-IN TABLE ───────────────────────────────────────────────────── */
/* the heading and the app's own rounded search (.m3s, styled in app.css) on one line */
.si-hbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 8px}
.si-hbar .si-h{margin:0}
/* the search is the app's .m3s (app.css) — only its width lives here */
.si-q{flex:0 1 300px;width:300px}
.si-table{width:100%;border-collapse:collapse;font-family:'Inter',sans-serif}
.si-table th{text-align:left;font-size:13px;font-weight:600;color:var(--ink-soft);padding:10px 16px 10px 0;
  border-bottom:1px solid var(--rule);vertical-align:bottom;line-height:1.3;white-space:nowrap}
.si-table td{font-size:14px;color:var(--ink);padding:12px 16px 12px 0;border-bottom:1px solid var(--rule-soft);vertical-align:baseline}
.si-table .n{text-align:right;padding-right:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.si-table td.n.bad{color:var(--accent-deep);font-weight:600}
.si-table .c-p{white-space:nowrap}
.si-table .c-p b{font-size:15px;font-weight:600}
.si-table .c-p .si-quiet{font-size:13px}
.si-table .c-r,.si-table .c-d,.si-table .c-c{color:var(--ink-soft);font-size:13px;white-space:nowrap}
.si-table .c-t{white-space:nowrap;font-variant-numeric:tabular-nums}
.si-tr{cursor:pointer}
.si-tr:hover td,.si-tr.open td{background:var(--paper)}
.si-tr:hover .c-p b{color:var(--accent-deep)}
.si-tr-hist td{padding:0 0 6px;background:var(--paper)}

@media (max-width:760px){
  .si-feed{grid-template-columns:52px 1fr;row-gap:2px}
  .si-feed .si-what,.si-feed .si-dev{grid-column:2}
  .si-hrow{grid-template-columns:1fr;row-gap:2px}
  .si-prow{grid-template-columns:1fr auto}
  .si-prow .si-dev{grid-column:1}
  .si-hbar{flex-wrap:wrap}
  .si-q{flex:1 1 100%}
  /* on a phone the table keeps who, when and the count; device, where, role and last active drop */
  .si-table .c-r,.si-table .c-d,.si-table .c-c,.si-table td:nth-child(6),
  .si-table th:nth-child(2),.si-table th:nth-child(4),.si-table th:nth-child(5),.si-table th:nth-child(6){display:none}
}
