/* ═══ THE BUTTONS, ONE PREMIUM SCALE (founder 5 Dec 2026: "also the buttons!", "i want a premium feel") ═══
   Audit of the screens edited on 5 Dec (Calendar, Inputs, the top bar): three heights and three type
   sizes for the same job. One scale now, restrained, no shouting:
   · primary: the lit pill, 48px (the height she validated for Save on Inputs), 15px / 600, a top
     highlight, a quiet glow, a 1px lift on hover, a press;
   · secondary: the hairline pill, 44px, 14px / 600, the line brightens on hover;
   · quiet: the ice text link, never under 44px to touch.
   Kept as she loved it (3 Dec): the watch cards' own Connect. Loaded before the prebuilt sheet. */

/* primary */
#view-calendar .cl-gopen, #view-sensors #sn-sleep .sn-primary{ min-height:48px; height:48px; padding:0 24px; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:999px; font:600 var(--fs-15)/1 var(--f-body); letter-spacing:.005em; text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 10px 28px -12px rgba(47,127,224,.75);
  transition:filter .18s ease, transform .18s ease, box-shadow .18s ease; }
#view-calendar .cl-gopen:hover, #view-sensors #sn-sleep .sn-primary:hover{ filter:brightness(1.08); transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26), 0 14px 32px -12px rgba(47,127,224,.9); }
#view-calendar .cl-gopen:active, #view-sensors #sn-sleep .sn-primary:active{ transform:translateY(0) scale(.98); filter:brightness(.98); }
#view-calendar .cl-gopen::after{ content:"\2197"; font:500 var(--fs-13)/1 var(--f-body); opacity:.8; }

/* secondary */
#view-calendar #cal-feed-save, #view-calendar #cal-paste-btn, #view-sensors .sn-quietrow .ui-btn--pill{ min-height:44px; height:44px; padding:0 20px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; border:1px solid rgba(160,225,255,.26); background:rgba(140,220,255,.04); color:rgb(var(--ink));
  font:600 var(--fs-14)/1 var(--f-body); letter-spacing:.005em; box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:border-color .18s ease, background .18s ease, transform .18s ease; }
#view-calendar #cal-feed-save:hover, #view-calendar #cal-paste-btn:hover, #view-sensors .sn-quietrow .ui-btn--pill:hover{ border-color:rgba(159,207,255,.6); background:rgba(159,207,255,.08); }
#view-calendar #cal-feed-save:active, #view-calendar #cal-paste-btn:active, #view-sensors .sn-quietrow .ui-btn--pill:active{ transform:scale(.98); }

/* quiet */
#view-sensors #sn-sleep .sn-quiet{ min-height:44px; display:inline-flex; align-items:center; }

/* every one of them: the same focus ring */
#view-calendar .cl-gopen:focus-visible, #view-sensors #sn-sleep .sn-primary:focus-visible, #view-calendar #cal-feed-save:focus-visible,
#view-calendar #cal-paste-btn:focus-visible, #view-sensors .sn-quietrow .ui-btn--pill:focus-visible{ outline:2px solid #7FD3FF; outline-offset:3px; }

/* the top bar's Check a decision, on every screen: 11px bold was under the floor; now 13px, slim to the eye, 44px to the touch */
.intercept-hdr-btn{ position:relative; font-size:var(--fs-13) !important; font-weight:600 !important; letter-spacing:.005em; padding:0 14px; }
.intercept-hdr-btn::after{ content:""; position:absolute; inset:-4px 0; }

/* the step titles read at the same size as the row names on Inputs */
#view-calendar .cx-steps__t{ font-size:var(--fs-16); }

@media (prefers-reduced-motion:reduce){
  #view-calendar .cl-gopen, #view-sensors #sn-sleep .sn-primary, #view-calendar #cal-feed-save, #view-calendar #cal-paste-btn, #view-sensors .sn-quietrow .ui-btn--pill{ transition:none; }
  #view-calendar .cl-gopen:hover, #view-sensors #sn-sleep .sn-primary:hover{ transform:none; }
}

/* the float window in the top bar, on every screen (founder 5 Dec 2026: "it has to be accessible!!"):
   a quiet hairline pill beside Check a decision, the same height, never louder than it */
.hdr-float{ position:relative; display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 14px; margin-right:8px; border-radius:999px;
  border:1px solid rgba(160,225,255,.22); background:transparent; color:rgb(var(--ink2)); font:600 var(--fs-13)/1 var(--f-body); letter-spacing:.005em; cursor:pointer;
  transition:border-color .18s ease, color .18s ease; }
.hdr-float::before{ content:"\2197"; font-weight:500; opacity:.8; }
.hdr-float::after{ content:""; position:absolute; inset:-6px 0; }
.hdr-float:hover{ border-color:rgba(159,207,255,.55); color:rgb(var(--ink)); }
.hdr-float:focus-visible{ outline:2px solid #7FD3FF; outline-offset:3px; }
@media (max-width:640px){ .hdr-float{ display:none; } }
@media (prefers-reduced-motion:reduce){ .hdr-float{ transition:none; } }

/* one text button in the top bar, never two (founder 5 Dec 2026: "so it won't get crowded"):
   on Today and Decide the page carries Check a decision, so the bar keeps only Float, with its word;
   on every other screen Check a decision stays and Float is a quiet 32px circle, the arrow only */
body:has(#view-brief:not(.hidden)) #intercept-btn, body:has(#view-simulator:not(.hidden)) #intercept-btn{ display:none !important; }
body:not(:has(#view-brief:not(.hidden))):not(:has(#view-simulator:not(.hidden))) .hdr-float{ width:32px; padding:0; justify-content:center; font-size:0; gap:0; }
body:not(:has(#view-brief:not(.hidden))):not(:has(#view-simulator:not(.hidden))) .hdr-float::before{ font-size:var(--fs-14); opacity:.9; }
