/* 99g · Sleep first in Inputs, every watch as its own card, Areté on WhatsApp (js/99g-connect.js).
   The room's own tokens only: a hairline, the raised surface, no glow, no hue carrying meaning. */
#view-sensors [data-cn-rest][aria-pressed="true"]{ color:rgb(var(--ink)); text-decoration:underline; text-underline-offset:4px; }

/* ── INPUTS, ONE READ (founder 2026-12-03, "in a premium way") ─────────────────────────────
   Title · status · Sleep · Signals · Desktop reader · How your data is kept. Sections sit on the
   ground, separated by hairlines, never boxed (constitution §4, §6). One primary pill: Log last night. */
#view-sensors .sn{ max-width:720px; }
#view-sensors .sn-head{ min-height:0; }
#view-sensors .sn-title{ margin:0; font:500 var(--fs-28)/1.08 var(--f-disp); letter-spacing:-.022em; color:rgb(var(--ink)); text-wrap:balance; max-width:22ch; }
#view-sensors .sn-exp{ margin:10px 0 0; font:400 var(--fs-16)/1.5 var(--f-body); color:rgb(var(--ink2)); max-width:46ch; }

#view-sensors .sn-status{ margin:18px 0 0; }
#view-sensors .sn-status__sum{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:8px; min-height:44px; font:400 var(--fs-14)/1.45 var(--f-body); color:rgb(var(--ink2)); border-radius:8px; }
#view-sensors .sn-status__sum::-webkit-details-marker{ display:none; }
#view-sensors .sn-status__sum::after{ content:'+'; color:rgb(var(--ink3)); margin-left:2px; }
#view-sensors .sn-status[open] .sn-status__sum::after{ content:'\2212'; }
#view-sensors .sn-status__sum:hover{ color:rgb(var(--ink)); }
#view-sensors .sn-status__more{ padding:2px 0 6px; }
#view-sensors .sn-status__p{ margin:0 0 6px; font:400 var(--fs-14)/1.5 var(--f-body); color:rgb(var(--ink3)); max-width:52ch; }
#view-sensors .sn-status__p[hidden]{ display:none; }

#view-sensors .sn-sec{ margin-top:30px; padding-top:24px; border-top:1px solid var(--hair); }
#view-sensors .sn-sec__t{ margin:0 0 6px; font:500 var(--fs-14)/1.3 var(--f-body); color:rgb(var(--ink3)); }
#view-sensors .sn-k{ margin:6px 0 2px; font:400 var(--fs-14)/1.4 var(--f-body); color:rgb(var(--ink3)); }
#view-sensors .sn-last{ margin:0; font:500 var(--fs-20)/1.3 var(--f-body); color:rgb(var(--ink)); max-width:40ch; }
#view-sensors .sn-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; margin-top:18px; }
#view-sensors .sn-entry .sn-acts{ grid-column:1 / -1; margin-top:6px; }
#view-sensors .sn-quiet{ min-height:44px; padding:0 2px; background:none; border:0; cursor:pointer; font:500 var(--fs-14) var(--f-body); color:rgb(var(--ink2)); }
#view-sensors .sn-quiet:hover{ color:rgb(var(--ink)); }
#view-sensors .sn-quiet:focus-visible, #view-sensors .sn-status__sum:focus-visible, #view-sensors .sn-more__sum:focus-visible, #view-sensors .sn-fold__sum:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; border-radius:8px; }
#view-sensors .sn-primary:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
#view-sensors .sn-rest{ grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px; }
#view-sensors .sn-rest__l{ font:400 var(--fs-13) var(--f-body); color:rgb(var(--ink3)); margin-right:4px; }
#view-sensors .sn-nights:empty{ display:none; }
#view-sensors .sn-nights{ margin-top:24px; padding-top:0; }

#view-sensors .sn-rows .sn-row + .sn-row{ border-top:1px solid var(--hair); }
#view-sensors .sn-row__head{ grid-template-areas:"name right"; }
#view-sensors .sn-row__read{ margin:2px 0 0; }
#view-sensors .sn-more{ margin-top:4px; }
#view-sensors .sn-more[hidden]{ display:none; }
#view-sensors .sn-more__sum{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; min-height:44px; font:500 var(--fs-13) var(--f-body); color:rgb(var(--ink2)); }
#view-sensors .sn-more__sum::-webkit-details-marker{ display:none; }
#view-sensors .sn-more__sum:hover{ color:rgb(var(--ink)); }
#view-sensors .sn-row__fine[hidden]{ display:none; }
#view-sensors #sn-sense-normal:empty{ display:none; }

#view-sensors .sn-sentinel{ margin-top:30px; border-top:1px solid var(--hair); padding-top:6px; }
#view-sensors .sn-sentinel + .sn-sentinel{ margin-top:0; }
#view-sensors ul.sn-privacy{ margin:0; padding:0 0 0 18px; display:grid; gap:6px; font:400 var(--fs-14)/1.5 var(--f-body); color:rgb(var(--ink2)); max-width:56ch; }

@media (max-width:767px){
  #view-sensors .sn-title{ font-size:var(--fs-26); }
  #view-sensors .sn-primary{ width:100%; }
  #view-sensors .sn-acts{ gap:4px 22px; }
}
@media (prefers-reduced-motion:reduce){ #view-sensors .sn-primary{ transition:none; } #view-sensors .sn-primary:hover{ transform:none; } }

/* Areté on WhatsApp, coming soon (founder 2026-12-03): one calm line, no Connect button */
#view-sensors .sn-soon{ display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:56px; margin:0; }
#view-sensors .sn-soon__t{ font:500 var(--fs-16)/1.3 var(--f-body); color:rgb(var(--ink)); }
#view-sensors .sn-soon__s{ font:400 var(--fs-14) var(--f-body); color:rgb(var(--ink3)); }
#view-sensors .sn-last--empty{ font:400 var(--fs-15)/1.55 var(--f-body); color:rgb(var(--ink2)); }

/* the watches square in Inputs (js/99g, founder validated 2026-12-04): each watch a quiet card, no hairline (premium pass 2026-12-03) */
#sn-watches .cn-label{ margin:22px 0 10px; font:500 var(--fs-14)/1.3 var(--f-body); color:rgb(var(--ink3)); }
#sn-watches .cn-watches{ list-style:none; margin:0; padding:0; }
#sn-watches .cn-watches{ display:grid; gap:6px; }
#sn-watches .cn-watch{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:2px 16px; min-height:48px; padding:8px 16px; border:0; border-radius:12px; background:var(--card-wash); }
#sn-watches .cn-watch__n{ font:500 var(--fs-15)/1.3 var(--f-body); color:rgb(var(--ink)); }
#sn-watches .cn-watch__s{ flex:1 1 100%; order:3; font:400 var(--fs-13)/1.45 var(--f-body); color:rgb(var(--ink3)); }
#sn-watches .cn-watch__s:empty{ display:none; }
#sn-watches .cn-watch[data-on="1"] .cn-watch__s{ color:rgb(var(--ink2)); }
#sn-watches .cn-cards{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; }
#sn-watches .cn-card{ display:flex; align-items:center; gap:14px; min-height:64px; padding:12px 14px 12px 12px; border-radius:16px; background:var(--card-wash); box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
#sn-watches .cn-mark{ flex:none; width:36px; height:36px; border-radius:10px; display:grid; place-items:center; font:500 var(--fs-16)/1 var(--f-disp); color:#CFF3FF;
  background:linear-gradient(150deg,rgba(0,191,255,.14),rgba(10,122,205,.08)); box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
#sn-watches .cn-card__n{ flex:1 1 auto; display:grid; gap:2px; font:500 var(--fs-15)/1.3 var(--f-body); color:rgb(var(--ink)); }
#sn-watches .cn-card__s{ font:400 var(--fs-13)/1.3 var(--f-body); color:rgb(var(--ink2)); }
#sn-watches .cn-btn{ flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 16px; border-radius:999px; cursor:pointer; text-decoration:none;
  /* the Connect accent (founder 2026-12-03: "their own accent colour"): Ice Blue from the palette, deep ink on it */
  border:0; background:var(--mg-ice,#7FD3FF); color:#03101f; font:600 var(--fs-14)/1 var(--f-body);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 8px 20px -12px rgba(127,211,255,.7); transition:background var(--dur-1); position:relative; }
#sn-watches .cn-btn::after{ content:''; position:absolute; inset:-4px 0; }
#sn-watches .cn-btn:hover{ background:#CFF3FF; }
#sn-watches .cn-btn:disabled{ opacity:.4; cursor:default; }
#sn-watches .cn-btn:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
#sn-watches .cn-chips{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
#sn-watches .cn-chip{ display:inline-flex; align-items:center; min-height:34px; padding:0 14px; border-radius:999px; background:rgba(127,211,255,.06); font:500 var(--fs-14)/1 var(--f-body); color:rgb(var(--ink)); }
#sn-watches .cn-chip[data-on="1"]{ background:rgba(31,126,219,.22); }
#sn-watches .cn-chip__on{ color:rgb(var(--ink2)); font-weight:400; }
#sn-watches .cn-chips--soon .cn-chip{ background:rgba(127,211,255,.03); color:rgb(var(--ink3)); font-weight:400; }
#sn-watches .cn-row{ margin-top:12px; }
#sn-watches .cn-fold{ margin-top:22px; }
#sn-watches .cn-how{ padding:2px 0 4px; }
#sn-watches .cn-how .cn-p:first-child{ margin-top:0; }
#sn-watches .cn-p{ margin:10px 0 0; font:400 var(--fs-14)/1.5 var(--f-body); color:rgb(var(--ink2)); max-width:52ch; }
#sn-watches .cn-p:empty{ display:none; }
#sn-watches .cn-act{ display:inline-flex; align-items:center; min-height:44px; padding:0 2px; background:none; border:0; cursor:pointer; font:500 var(--fs-14) var(--f-body); color:rgb(var(--ink)); text-decoration:underline; text-underline-offset:4px; text-decoration-color:var(--hair2); }
#sn-watches .cn-act:hover{ text-decoration-color:currentColor; }
#sn-watches .cn-act:disabled{ opacity:.35; cursor:default; }
#sn-watches .cn-fold{ margin-top:6px; }
#sn-watches .cn-fold__sum{ cursor:pointer; min-height:44px; display:flex; gap:8px; list-style:none; align-items:center; font:500 var(--fs-14) var(--f-body); color:rgb(var(--ink2)); }
#sn-watches .cn-fold__sum::-webkit-details-marker{ display:none; }
#sn-watches .cn-fold__sum::before{ content:'+'; width:12px; color:rgb(var(--ink3)); }
#sn-watches .cn-fold[open] .cn-fold__sum::before{ content:'\2212'; }
#sn-watches .cn-steps{ margin:0 0 6px; padding-left:20px; font:400 var(--fs-14)/1.7 var(--f-body); color:rgb(var(--ink2)); }
#sn-watches .cn-act:focus-visible, #sn-watches .cn-fold__sum:focus-visible, #sn-watches .ui-btn:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; border-radius:8px; }

/* ── CALENDAR, TWO CLICKS (founder 2026-12-03, "make it frictionless"): open the settings, paste. ── */
#view-calendar .cl-gopen{ display:inline-flex; align-items:center; justify-content:center; text-decoration:none; margin:6px 0 0; }
#view-calendar .cl-gopen:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
#view-calendar .cl-gstep{ margin:10px 0 18px; font-size:var(--fs-14); color:rgb(var(--ink2)); }
#view-calendar .cl-paste{ margin-top:4px; }
#view-calendar .cl-other{ margin:22px 0 0; }
#view-calendar .cl-next{ list-style:none; margin:8px 0 10px; padding:0; }
#view-calendar .cl-next li{ min-height:36px; display:flex; align-items:center; font:400 var(--fs-14)/1.45 var(--f-body); color:rgb(var(--ink2)); }
#view-calendar .cl-next:empty{ display:none; }
/* BLUE FOR WHAT TO READ (founder 5 Dec 2026, "some stuff need to be in blue for the calendar to be understandable"):
   the facts' labels in the brand blue, their values in full ink, the way the room's own State / Takes / Reads read;
   the next three moments get a blue heading and their time in blue, the kind in ink. */
#view-calendar .cl-facts .cl-k{ color:var(--ice); }
#view-calendar .cl-facts .cl-k, #view-calendar .cl-facts .cl-v{ white-space:nowrap; }
#view-calendar .cl-facts .cl-v{ color:rgb(var(--ink)); font-weight:500; font-variant-numeric:tabular-nums; }
#view-calendar .cl-nexth{ margin:16px 0 0; font:600 var(--fs-14)/1.3 var(--f-body); color:rgb(var(--ink)); }   /* white like You's When: / What happens: (founder 5 Dec 2026) */
#view-calendar .cl-nexth:has(+ .cl-next:empty){ display:none; }
#view-calendar .cl-next li{ gap:14px; }
#view-calendar .cl-next .cl-when{ min-width:150px; color:var(--ice); font-variant-numeric:tabular-nums; }
#view-calendar .cl-next .cl-what{ color:rgb(var(--ink)); }
@media (max-width:767px){ #view-calendar .cl-gopen{ width:100%; } }

/* LAST NIGHT IN TWO TAPS (founder 2026-12-03): hours, then how rested, then Save; the health yes in one line */
#view-sensors .sn-entry--taps{ display:block; margin-top:6px; }
#view-sensors .sn-tl{ margin:14px 0 8px; font:400 var(--fs-13)/1.3 var(--f-body); color:rgb(var(--ink3)); }
#view-sensors .sn-taps{ display:flex; flex-wrap:wrap; gap:8px; }
#view-sensors .sn-tap{ min-width:48px; min-height:44px; padding:0 16px; border-radius:999px; border:0; cursor:pointer;
  background:rgba(127,211,255,.07); color:rgb(var(--ink)); font:500 var(--fs-15)/1 var(--f-body); transition:background var(--dur-1), box-shadow var(--dur-1); }
#view-sensors .sn-tap:hover{ background:rgba(127,211,255,.12); }
#view-sensors .sn-tap[aria-pressed="true"]{ background:rgba(31,126,219,.45); box-shadow:inset 0 0 0 1px rgba(207,243,255,.55); color:#fff; }
#view-sensors .sn-tap:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
#view-sensors .sn-yes{ display:flex; align-items:flex-start; gap:10px; min-height:44px; margin:16px 0 0; font:400 var(--fs-14)/1.5 var(--f-body); color:rgb(var(--ink2)); cursor:pointer; max-width:52ch; }
#view-sensors .sn-yes input{ width:18px; height:18px; margin-top:2px; flex:none; accent-color:var(--ice); }
#view-sensors .sn-tap[data-cn-rest][aria-pressed="true"]{ text-decoration:none; }

/* WhatsApp on a computer: the QR code, white on its own small card, beside one line (founder 2026-12-03) */
#view-sensors .sn-qr{ display:flex; align-items:center; gap:22px; margin:10px 0 12px; }
#view-sensors .sn-qr svg{ flex:none; border-radius:12px; }
#view-sensors .sn-qr .sn-p{ margin:0; max-width:30ch; }
@media (max-width:759px){ #view-sensors .sn-qr{ flex-direction:column; align-items:flex-start; } }
