/* ═══ INPUTS, THE DIAL (founder 4 Dec 2026, "okay build": premium, institutional, not gamified) ═══════
   The mock she approved, QUEUE/WEEK-1204/INPUTS-DIAL/app.html, built on the room's real data (js/26b draws
   the dial and the signal tracks, js/26 the words, js/99g the sleep taps, the watches and WhatsApp).
   The dial left and what it means right; Signals and Last night side by side; the watches, WhatsApp and the
   desktop reader below, quieter. On the phone everything stacks, the words first. Nothing on the dial moves.
   Day labels and counts are IBM Plex Mono (css/arete-fonts.css). Labels are 12px or more. Loaded after
   css/connect.css; every rule is scoped to the room. */

#view-sensors{ --sn-mono:"IBM Plex Mono",ui-monospace,"Cascadia Mono",monospace; --sn-hair:rgba(170,200,240,.11); --sn-hair2:rgba(170,200,240,.2); }
#view-sensors .sn{ max-width:1120px; margin:0 auto; }

/* ── THE HERO: the dial, and beside it the eyebrow, the title, the lead and the strip ── */
#view-sensors .sn-hero{ display:grid; grid-template-columns:420px minmax(0,1fr); gap:56px; align-items:center; margin-top:10px; }
#view-sensors .sn-eyebrow{ margin:0 0 12px; font:500 var(--fs-12)/1.2 var(--sn-mono); letter-spacing:.02em; color:rgb(var(--ink2)); }
#view-sensors .sn-title{ margin:0 0 14px; font:600 var(--fs-40)/1.06 var(--f-disp); letter-spacing:-.025em; color:rgb(var(--ink)); text-wrap:balance; }
#view-sensors .sn-title em{ font:italic 500 1.2em/1 var(--f-em); letter-spacing:0; color:var(--ice-hi,#DFF4FF); }
#view-sensors .sn-exp{ margin:0; font:400 var(--fs-16)/1.55 var(--f-body); color:rgb(var(--ink2)); max-width:46ch; }
#view-sensors .sn-meta{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:30px 0 0; border-top:1px solid var(--sn-hair); border-bottom:1px solid var(--sn-hair); }
#view-sensors .sn-meta > div{ padding:14px 0; min-width:0; }
#view-sensors .sn-meta > div + div{ border-left:1px solid var(--sn-hair); padding-left:18px; }
#view-sensors .sn-meta dt{ margin:0 0 3px; font:500 var(--fs-12)/1.3 var(--sn-mono); letter-spacing:.02em; color:rgb(var(--ink2)); }
#view-sensors .sn-meta dd{ margin:0; font:500 var(--fs-16)/1.3 var(--f-body); color:rgb(var(--ink)); }
#view-sensors .sn-meta dd em{ font:italic 500 var(--fs-20)/1 var(--f-em); color:var(--ice-hi,#DFF4FF); }
#view-sensors .sn-status{ margin:14px 0 0; }

/* ── THE DIAL: engraved ticks, two bezel rings, one arc, seven square marks, a glass disc ── */
#view-sensors .sn-dial{ position:relative; width:420px; height:420px; }
#view-sensors .sn-dial__svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
#view-sensors .sn-dial__day{ font:400 var(--fs-12) var(--sn-mono); letter-spacing:0; fill:#8FA2BC; }
#view-sensors .sn-dial__day.is-on{ fill:#C9D6E8; }
#view-sensors .sn-dial__disc{ position:absolute; left:50%; top:50%; width:250px; height:250px; margin:-125px; border-radius:50%;
  background:radial-gradient(circle at 50% 30%,rgba(60,120,200,.28) 0%,rgba(14,38,72,.55) 46%,rgba(5,16,32,.9) 100%);
  box-shadow:inset 0 1px 0 rgba(220,236,255,.14), inset 0 -24px 40px rgba(0,0,0,.35), 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(170,200,240,.10); }
#view-sensors .sn-dial__disc::after{ content:""; position:absolute; inset:10px; border-radius:50%; border:1px solid rgba(170,200,240,.07); }
#view-sensors .sn-dial__core{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; pointer-events:none; }
#view-sensors .sn-dial__k{ font:500 var(--fs-12)/1.3 var(--sn-mono); letter-spacing:.02em; color:rgb(var(--ink2)); max-width:18ch; }
#view-sensors .sn-dial__v{ margin:12px 0 4px; font:300 var(--fs-72)/1 var(--f-body); letter-spacing:-.05em; color:rgb(var(--ink)); font-variant-numeric:tabular-nums; }
#view-sensors .sn-dial__v span{ margin-left:6px; font:400 var(--fs-24) var(--f-body); letter-spacing:0; color:rgb(var(--ink2)); }
#view-sensors .sn-dial__s{ font:400 var(--fs-14)/1.3 var(--f-body); color:rgb(var(--ink2)); }

/* ── SIGNALS and LAST NIGHT side by side; the rest below, quieter ── */
#view-sensors .sn-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; margin-top:54px; }
#view-sensors .sn-grid > .sn-sq{ margin-top:0; }
#view-sensors .sn-below{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; margin-top:24px; }
#view-sensors .sn-below > .sn-sq{ margin-top:0; background:none; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; border-color:var(--sn-hair); }
#view-sensors .sn-sub{ margin:4px 0 6px; font:400 var(--fs-14)/1.5 var(--f-body); color:rgb(var(--ink2)); }
#view-sensors .sn-onrows .sn-row{ border-top:1px solid var(--sn-hair); }
#view-sensors .sn-sq .sn-row__c{ grid-column:2; grid-row:1; align-self:end; justify-self:end; font:400 var(--fs-13)/1.3 var(--sn-mono); color:rgb(var(--ink2)); font-variant-numeric:tabular-nums; }
#view-sensors .sn-sq .sn-row:has(.sn-row__right) .sn-row__c{ grid-column:2; margin-right:60px; }
#view-sensors .sn-sq .sn-track{ grid-column:1 / -1 !important; grid-row:3; display:grid; grid-template-columns:repeat(7,1fr); gap:3px; height:3px; margin:10px 0 2px; }
#view-sensors .sn-sq .sn-track i{ background:rgba(170,200,240,.13); }
#view-sensors .sn-sq .sn-track i.on{ background:#9FCFFF; }
#view-sensors .sn-addfold{ border-top:1px solid var(--sn-hair); }
#view-sensors .sn-addfold[hidden]{ display:none; }
#view-sensors .sn-addfold__s{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:50px; border-radius:6px;
  font:500 var(--fs-14)/1.4 var(--f-body); color:var(--ice); }
#view-sensors .sn-addfold__s::-webkit-details-marker{ display:none; }
#view-sensors .sn-addfold__p{ font:400 var(--fs-14) var(--sn-mono); color:rgb(var(--ink2)); transition:transform .2s ease; }
#view-sensors .sn-addfold[open] .sn-addfold__p{ transform:rotate(45deg); }
#view-sensors .sn-addfold__go{ display:flex; flex-wrap:wrap; gap:4px 22px; margin:4px 0 6px; }
#view-sensors .sn-addfold__l{ min-height:44px; padding:0 2px; border:0; background:none; cursor:pointer; font:500 var(--fs-14)/1 var(--f-body); color:var(--ice); }
#view-sensors .sn-addfold__l[hidden]{ display:none; }
#view-sensors .sn-addfold__s:focus-visible, #view-sensors .sn-addfold__l:focus-visible{ outline:2px solid #7FD3FF; outline-offset:3px; border-radius:6px; }

/* ── THE SQUARES: the one glass, at section strength ── */
#view-sensors .sn-sq{ position:relative; margin-top:18px; padding:26px 30px; border-radius:22px; border:1px solid rgba(160,225,255,.09);
  background:linear-gradient(160deg,rgba(127,211,255,.055),rgba(127,211,255,.012) 60%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 24px 60px -44px rgba(18,64,184,.9);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
#view-sensors .sn-sq__t{ margin:0; font:500 var(--fs-20)/1.2 var(--f-disp); letter-spacing:-.015em; color:rgb(var(--ink)); }
#view-sensors .sn-sq__t:focus{ outline:none; }
#view-sensors .sn-sq--rows{ padding-top:10px; padding-bottom:10px; }

/* Last night: the taps */
#view-sensors #sn-sleep .sn-k{ display:none; }
#view-sensors .sn-last{ margin:12px 0 0; font:500 var(--fs-18)/1.35 var(--f-body); }
#view-sensors .sn-tl{ margin:16px 0 0; font:500 var(--fs-12)/1.3 var(--sn-mono); letter-spacing:.02em; color:rgb(var(--ink2)); }
#view-sensors .sn-taps{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
#view-sensors .sn-tap{ min-width:56px; height:44px; min-height:44px; padding:0 16px; border-radius:999px; display:inline-grid; place-items:center; cursor:pointer;
  font:500 var(--fs-15)/1 var(--f-body); color:rgb(var(--ink2)); background:none; border:1px solid var(--sn-hair2);
  transition:background .18s ease, border-color .18s ease, color .18s ease; }
#view-sensors .sn-tap:hover{ border-color:rgba(170,200,240,.4); color:rgb(var(--ink)); }
#view-sensors .sn-tap[aria-pressed="true"]{ background:rgba(159,207,255,.08); border-color:#9FCFFF; box-shadow:none; color:rgb(var(--ink)); }
#view-sensors #sn-sleep .sn-primary{ height:48px; min-height:48px; padding:0 22px; border-radius:999px; font:600 var(--fs-15)/1 var(--f-body); }
#view-sensors #sn-sleep .sn-primary:focus-visible{ outline:2px solid #7FD3FF; outline-offset:3px; }
#view-sensors .sn-fine{ margin:12px 0 0; font:400 var(--fs-13)/1.5 var(--f-body); color:rgb(var(--ink3)); max-width:46ch; }
#view-sensors #sn-sleep .sn-acts{ gap:10px 22px; margin-top:18px; }
#view-sensors .sn-quiet{ min-height:38px; font:500 var(--fs-14) var(--f-body); color:rgb(var(--ink2)); transition:color .18s ease; }

/* Signals: name and its one line on the left, the switch on the right */
#view-sensors .sn-sq .sn-row{ display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; align-items:center; min-height:64px; padding:10px 0; }
#view-sensors .sn-sq.sn-rows .sn-row + .sn-row{ border-top:0; }
#view-sensors .sn-sq .sn-row__head{ display:contents; }
#view-sensors .sn-sq .sn-row__name{ grid-column:1; grid-row:1; align-self:end; font:500 var(--fs-16)/1.3 var(--f-body); color:rgb(var(--ink)); }
#view-sensors .sn-sq .sn-row__right{ grid-column:2; grid-row:1 / span 2; }
#view-sensors .sn-sq .sn-row__read{ grid-column:1; grid-row:2; align-self:start; margin:3px 0 0; font:400 var(--fs-14)/1.45 var(--f-body); color:rgb(var(--ink3)); }
#view-sensors .sn-sq .sn-row > :not(.sn-row__head):not(.sn-row__read){ grid-column:1 / -1; }
#view-sensors .sn-sq .sn-row:first-of-type{ margin-top:8px; }
#view-sensors .sn-sq .sense-switch{ position:relative; width:44px; height:24px; border-radius:12px; border:1px solid rgba(160,225,255,.3); background:transparent; box-shadow:none; transition:background .2s ease, border-color .2s ease; }
#view-sensors .sn-sq .sense-switch::after{ content:''; position:absolute; top:4px; left:4px; width:14px; height:14px; border-radius:50%; background:rgb(var(--ink3)); box-shadow:none; transform:none; transition:left .2s ease, background .2s ease; }
#view-sensors .sn-sq [aria-checked="true"] .sense-switch{ background:rgba(31,126,219,.45); border-color:rgba(160,225,255,.55); box-shadow:none; }
#view-sensors .sn-sq [aria-checked="true"] .sense-switch::after{ left:24px; transform:none; background:#CFF3FF; }

/* Watches: the validated card design (css/connect.css, #sn-watches), set into the square */
#view-sensors #sn-watches .cn-label:first-child{ margin-top:16px; }
#view-sensors #sn-watches .cn-card{ background:rgba(0,31,63,.45); border:1px solid rgba(160,225,255,.08); transition:border-color .18s ease; }
#view-sensors #sn-watches .cn-card:hover{ border-color:rgba(160,225,255,.22); }
#view-sensors #sn-watches .cn-chip{ border:1px solid rgba(160,225,255,.08); }
#view-sensors #sn-watches .cn-chip[data-on="1"]{ background:transparent; border-color:rgba(207,243,255,.55); }

/* WhatsApp and the desktop reader: quiet rows inside one square, no hairlines */
#view-sensors .sn-sq--rows .sn-sentinel{ margin:0; padding:0; border:0; }
#view-sensors .sn-sq--rows .sn-sentinel[hidden]{ display:none; }
#view-sensors .sn-sq--rows:not(:has(> .sn-sentinel:not([hidden]))){ display:none; }   /* nothing to show: no empty glass */
#view-sensors .sn-sq--rows .sn-fold__sum{ min-height:64px; font:500 var(--fs-16)/1.3 var(--f-body); color:rgb(var(--ink)); }
#view-sensors .sn-sq--rows .sn-fold__sum::before{ content:none; }
#view-sensors .sn-sq--rows .sn-fold__state{ font:400 var(--fs-14) var(--f-body) !important; color:rgb(var(--ink3)) !important; }
#view-sensors .sn-sq--rows .sn-fold > *:not(summary){ margin-left:0; }
#view-sensors .sn-soon{ display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:64px; 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)/1.3 var(--f-body); color:rgb(var(--ink3)); }

/* The foot: the one promise, then How your data is kept */
#view-sensors .sn-foot{ margin-top:30px; padding:0; border:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:0 6px; font:400 var(--fs-14)/1.5 var(--f-body); color:rgb(var(--ink3)); }
#view-sensors .sn-foot__l{ margin:0; }
#view-sensors .sn-foot__l[hidden]{ display:none; }
#view-sensors .sn-foot__a{ list-style:none; cursor:pointer; display:inline; color:rgb(var(--ink2)); text-decoration:underline; text-decoration-color:rgba(127,211,255,.25); text-underline-offset:4px; transition:color .18s ease; }
#view-sensors .sn-foot__a::-webkit-details-marker{ display:none; }
#view-sensors .sn-foot__a:hover{ color:rgb(var(--ink)); }
#view-sensors .sn-foot__fold[open]{ flex-basis:100%; }
#view-sensors .sn-foot__fold ul.sn-privacy{ margin-top:12px; }

/* Focus: one ring for everything that answers a key */
#view-sensors .sn-tap:focus-visible, #view-sensors #sn-watches .cn-btn:focus-visible, #view-sensors #sn-watches .cn-fold__sum:focus-visible,
#view-sensors .sn-sq .sense-toggle:focus-visible, #view-sensors .sn-quiet:focus-visible, #view-sensors .sn-foot__a:focus-visible,
#view-sensors .sn-wfold > summary:focus-visible, #view-sensors .sn-sq--rows .sn-fold__sum:focus-visible, #view-sensors .sn-status__sum:focus-visible{ outline:2px solid #7FD3FF; outline-offset:3px; border-radius:8px; }
#view-sensors .sn-tap:focus-visible, #view-sensors #sn-watches .cn-btn:focus-visible{ border-radius:999px; }

/* ── narrower than a wide desktop: one column, the object first and centred ── */
@media (max-width:1099px){
  #view-sensors .sn-hero{ grid-template-columns:360px minmax(0,1fr); gap:36px; }
  #view-sensors .sn-dial{ width:360px; height:360px; }
  #view-sensors .sn-dial__day{ font-size:var(--fs-14); }   /* drawn at 360/420: 12px as seen */
}
@media (max-width:900px){
  #view-sensors .sn-hero{ grid-template-columns:minmax(0,1fr); gap:20px; }
  #view-sensors .sn-hero__t{ order:1; }
  #view-sensors .sn-dial{ order:2; width:320px; height:320px; margin:0 auto; }
  #view-sensors .sn-dial__disc{ width:190px; height:190px; margin:-95px; }
  #view-sensors .sn-dial__day{ font-size:var(--fs-16); }   /* drawn at 320/420: 12px as seen */
  #view-sensors .sn-dial__v{ font-size:var(--fs-64); margin:8px 0 2px; }
  #view-sensors .sn-dial__v span{ font-size:var(--fs-20); }
  #view-sensors .sn-grid, #view-sensors .sn-below{ grid-template-columns:minmax(0,1fr); margin-top:28px; }
}
/* ── the phone: one column, the object first, every tap 44px ── */
@media (max-width:767px){
  #view-sensors .sn-title{ font-size:var(--fs-32); }
  #view-sensors .sn-meta{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  #view-sensors .sn-meta > div:nth-child(3){ grid-column:1 / -1; border-left:0; padding-left:0; border-top:1px solid var(--sn-hair); }
  #view-sensors #sn-sleep .sn-primary{ width:auto; }
  #view-sensors .sn-sq{ padding:22px 20px; }
  #view-sensors #sn-watches .cn-btn{ min-height:44px; }
  #view-sensors .sn-quiet{ min-height:44px; }
  #view-sensors .sn-foot__a{ display:inline-flex; align-items:center; min-height:44px; }
}
@media (prefers-reduced-motion:reduce){
  #view-sensors .sn-addfold__p{ transition:none; }
  #view-sensors .sn-tap, #view-sensors #sn-watches .cn-card, #view-sensors .sn-quiet, #view-sensors .sn-foot__a, #view-sensors .sn-sq .sense-switch, #view-sensors .sn-sq .sense-switch::after{ transition:none; }
}
#view-sensors .sn-sq .sn-row[hidden]{ display:none; }

/* The count sits in its own column beside the switch, never on it (founder 5 Dec 2026: "3 / 7 it is not in the circle fix it") */
#view-sensors .sn-sq .sn-row:has(.sn-row__c){ grid-template-columns:minmax(0,1fr) auto auto; }
#view-sensors .sn-sq .sn-row:has(.sn-row__c) .sn-row__c{ grid-column:2; grid-row:1 / span 2; align-self:center; justify-self:end; margin-right:0; }
#view-sensors .sn-sq .sn-row:has(.sn-row__c) .sn-row__right{ grid-column:3; }
