/* The QR redesign part 3, notifications (T-246; the approved round-2 sketch ~/projects/tm30-scratch-keep/redesign/new2/notify.css):
   THE notes at the top of Guests (src/core/notify.js), loaded by the website and the extension (the build copies it to lib/notify.css).
   .nt = passports arrived from her phone · .nt.ok = a batch finished reading. Stacked, never one covering another; one line, 44 px
   actions; built only on the tokens both pages define. And the Settings switch "Pop-up notifications" (ON by default, his ruling 23 Oct; only to turn them off and on). */
.nt-stack{display:grid;gap:6px;min-width:0}
.nt-stack[hidden]{display:none}
.nt{display:flex;align-items:center;gap:8px;min-height:48px;margin:0;padding:2px 2px 2px 10px;box-sizing:border-box;border:1px solid var(--brand-text);border-radius:var(--radius,8px);background:var(--surface-2);color:var(--ink);min-width:0}
.nt.ok{border-color:var(--ok)}
.nt-ic{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--brand-soft);color:var(--brand-text)}
.nt.ok .nt-ic{background:var(--ok-bg);color:var(--ok)}
.nt-ic svg{width:16px;height:16px}
.nt-line{flex:1 1 auto;min-width:0;margin:0;font-weight:600;font-size:var(--fs-1,13.5px);line-height:1.3;overflow-wrap:anywhere}
.nt-time{font-weight:400;color:var(--ink-2);white-space:nowrap}
.nt .nt-act{flex:none;min-height:44px;margin:0;padding:0 10px;border:0;border-radius:var(--radius-s,6px);background:transparent;color:var(--brand-text);font:inherit;font-weight:600;font-size:var(--fs-1,13.5px);cursor:pointer;width:auto;box-shadow:none}
.nt .nt-x{flex:none;display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:var(--radius-s,6px);background:transparent;color:var(--ink-2);cursor:pointer;box-shadow:none}
.nt-x svg{width:16px;height:16px}
@media (hover:hover){.nt .nt-act:hover,.nt .nt-x:hover{background:var(--surface);color:var(--ink)}}
/* Settings: "Pop-up notifications" */
.nt-check{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font-weight:500;color:var(--ink);cursor:pointer}
.nt-check input{width:20px;height:44px;min-height:44px;margin:0;flex:none;accent-color:var(--brand-text)}
.nt-hint{margin:0;font-size:var(--fs-0,12.5px);color:var(--ink-2)}
.nt-msg:empty{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* T-261 (docs/plans/2026-10-24-NOTIFICATIONS-TAB-PLAN.md §11.6): the bell (an icon tab, last in each tab row) and THE Notifications tab
   (src/core/notify-tab.js), the website's and the extension's; the tokens both pages define (light + dark free). */
#appTablist{grid-template-columns:repeat(4,minmax(0,1fr)) 56px}
@media (min-width:560px){#appTablist{grid-template-columns:none}}
#tablist{grid-template-columns:repeat(3,minmax(0,1fr)) 52px}
.tab-bell{position:relative}
.tab-bell svg{width:20px;height:20px}
.nbell-n{position:absolute;top:4px;left:calc(50% + 2px);min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--brand);color:var(--brand-ink);font-size:11px;font-weight:700;line-height:18px;text-align:center;pointer-events:none}
.nbell-n[hidden]{display:none}
.ntab{display:grid;gap:10px;min-width:0}
.ntab-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ntab-title{margin:0;font-size:var(--fs-3,18px);line-height:1.2}
.ntab-range{margin:0;font-size:var(--fs-0,12.5px);color:var(--ink-2)}
.ntab-msg{margin:0;color:var(--bad);font-size:var(--fs-1,13.5px)}
.ntab-msg:empty{display:none}
.ntab-list{display:grid;gap:12px;min-width:0}
.ntab-day{display:grid;gap:4px;min-width:0}
.ntab-dayname{margin:0;font-size:var(--fs-0,12.5px);font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--ink-2)}
.ntab-items{list-style:none;margin:0;padding:0;display:grid;gap:4px;min-width:0}
.ntab-row{min-width:0}
.ntab-item{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:0;padding:6px 10px;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius,8px);background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer;box-shadow:none}
.ntab-item:disabled{cursor:default}
@media (hover:hover){.ntab-item:not(:disabled):hover{background:var(--surface-2)}}
.ntab-item:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.ntab-ic{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--brand-soft);color:var(--brand-text)}
.ntab-ic svg{width:16px;height:16px}
.ntab-ic-ok{background:var(--ok-bg);color:var(--ok)}
.ntab-text{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.ntab-line{flex:1 1 12em;min-width:0;font-size:var(--fs-1,13.5px);line-height:1.35;overflow-wrap:anywhere}
.ntab-time{flex:none;font-size:var(--fs-0,12.5px);color:var(--ink-2);white-space:nowrap}
.ntab-unread .ntab-item{border-color:var(--brand-text);background:var(--surface-2)}
.ntab-unread .ntab-line{font-weight:650}
.ntab-unread .ntab-ic{position:relative}
.ntab-unread .ntab-ic::after{content:"";position:absolute;top:-1px;right:-1px;width:9px;height:9px;border-radius:50%;background:var(--brand-text);border:2px solid var(--surface)}
.ntab-badge{flex:none;padding:1px 7px;border-radius:999px;background:var(--brand-soft);color:var(--brand-text);font-size:11px;font-weight:700;letter-spacing:.02em}
.ntab-chev{flex:none;display:grid;place-items:center;color:var(--ink-2);transition:transform .15s ease}
.ntab-chev svg{width:16px;height:16px}
.ntab-item[aria-expanded="true"] .ntab-chev{transform:rotate(90deg)}
.ntab-lines{margin:4px 0 2px;padding:8px 12px 8px 30px;border-left:3px solid var(--brand-soft);display:grid;gap:4px;font-size:var(--fs-1,13.5px);line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.ntab-lines[hidden]{display:none}
.ntab-empty{margin:0;padding:14px;border:1px dashed var(--line);border-radius:var(--radius,8px);color:var(--ink-2);text-align:center}
.ntab-empty[hidden]{display:none}
.ntab-more{justify-self:start;min-height:44px;margin:0;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius-s,6px);background:var(--surface);color:var(--brand-text);font:inherit;font-weight:600;cursor:pointer;width:auto;box-shadow:none}
.ntab-more[hidden]{display:none}
.nt.nt-wn{border-color:var(--brand-text)}
/* 0.3.32 G3 (his OK 26 Nov "option B yes", tm30-scratch-keep/p7/g3-mockup.html): "N guests to sign today", one row a day: the row's own
   button opens its lines, "Open Records" beside it (a line of its own under the words when narrow: the phone and the extension) */
.ntab-split{padding:0 4px 0 0;flex-wrap:nowrap;cursor:default}
.ntab-main{flex:1 1 auto;display:flex;align-items:center;gap:10px;min-width:0;min-height:46px;width:auto;margin:0;padding:6px 0 6px 10px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;box-shadow:none}
.ntab-main:focus-visible,.ntab-act:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.ntab-split .ntab-badge{align-self:center}
.ntab-act{flex:none;display:inline-flex;align-items:center;min-height:44px;width:auto;margin:0 0 0 2px;padding:0 10px 0 12px;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;color:var(--brand-text);font:inherit;font-weight:700;font-size:var(--fs-1,13.5px);cursor:pointer;box-shadow:none;white-space:nowrap}
@media (hover:hover){.ntab-act:hover{text-decoration:underline}}
.ntab-split .ntab-chev{cursor:pointer;padding:0 6px}
.ntab-split[data-open="true"] .ntab-chev{transform:rotate(90deg)}
.ntab-row[data-kind="sign_due"] .ntab-lines li+li{color:var(--ink-2)}
.ntab-row[data-kind="sign_due"] .ntab-lines{list-style:none}
@media (max-width:600px){
  .ntab-split{flex-wrap:wrap;padding:0 4px 4px 0}
  .ntab-split .ntab-main{flex:1 1 calc(100% - 40px)}
  .ntab-split .ntab-act{order:3;flex-basis:calc(100% - 48px);justify-content:flex-start;min-height:40px;margin:0 0 0 48px;padding:0;border-left:0}
  .ntab-split .ntab-chev{order:2}
}
