/* THE READING BY INVITATION (founder 2026-10-15, js/89-reading.js). An account made through a
   colleague's link holds its reading only, so the shell steps back: no rail, no tab bar, no
   header, no way into a room. The question sits on the ground at the end of the reading
   (a form, so no glass, §4); the close is the field with one sentence and one pill.
   Separated by space, no lines (her rule). Dark only. */

html.reading-pass #sidebar, html.reading-pass #sb-backdrop, html.reading-pass #nav-float,
html.reading-pass #content-wrap > header, html.reading-pass #ui-rail, html.reading-pass #ui-tabbar,
html.reading-pass #load-banner, html.reading-pass #read-progress, html.reading-pass #section-ind,
html.reading-pass #view-deep .dr-foot{ display:none !important; }
html.reading-pass #content-wrap{ margin-left:0 !important; padding-bottom:0 !important; }

/* ── the question ── */
.rd-ask{ width:min(560px, calc(100% - 32px)); margin:56px auto 120px; text-align:center; }
.rd-ask__h{ margin:0 auto; max-width:22ch; font:500 var(--fs-28)/1.1 var(--f-disp); letter-spacing:-.022em; color:rgb(var(--ink)); text-wrap:balance; }
.rd-ask__p{ margin:18px auto 0; max-width:46ch; font:400 var(--fs-15)/1.5 var(--f-body); color:rgb(var(--ink2)); }
/* five tappable words in one pill (§9); the chosen one is a brighter hairline, never a filled chip (§3) */
.rd-steps{ display:inline-flex; margin:30px auto 0; padding:4px; gap:2px; border-radius:999px;
  box-shadow:inset 0 0 0 1px rgba(160,225,255,.16); }
.rd-steps button{ min-height:44px; padding:0 16px; border:0; border-radius:999px; background:transparent; cursor:pointer;
  font:500 var(--fs-15)/1 var(--f-body); color:rgb(var(--ink3)); transition:color var(--dur-1,180ms) ease, box-shadow var(--dur-1,180ms) ease; }
.rd-steps button:hover{ color:rgb(var(--ink)); }
.rd-steps button[aria-checked="true"]{ color:rgb(var(--ink)); box-shadow:inset 0 0 0 1px rgba(220,244,255,.55); }
.rd-steps button:focus-visible, .rd-close button:focus-visible, .rd-back button:focus-visible{ outline:2px solid var(--ice2,#7FD3FF); outline-offset:3px; }
.rd-off{ display:flex; flex-direction:column; gap:6px; margin:30px auto 0; max-width:420px; text-align:left; }
.rd-off span{ font:400 var(--fs-14)/1.4 var(--f-body); color:rgb(var(--ink2)); }
.rd-off small{ font:400 var(--fs-13)/1.4 var(--f-body); color:rgb(var(--ink3)); margin-left:6px; }
.rd-off input{ width:100%; min-height:44px; padding:10px 14px; border:0; border-radius:12px; background:rgba(140,220,255,.045);
  color:rgb(var(--ink)); font:400 var(--fs-16)/1.3 var(--f-body); color-scheme:dark; outline:none; }
.rd-off input::placeholder{ color:rgb(var(--ink3)); }
.rd-off input:focus-visible{ background:rgba(0,191,255,.09); }
.rd-ask__act{ margin:36px 0 0; }
.rd-ask__act .ui-btn[disabled]{ opacity:.35; cursor:default; transform:none; }
.rd-ask__msg, .rd-close__msg{ min-height:1.4em; margin:14px 0 0; font:400 var(--fs-14)/1.45 var(--f-body); color:rgb(var(--ink2)); }

/* ── the close ── */
.rd-close{ position:fixed; inset:0; z-index:2147482000; overflow-y:auto; display:grid; place-items:center;
  padding:calc(24px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px));
  background:radial-gradient(120% 80% at 50% 0%, #001F3F 0%, #03101f 62%); }
.rd-close__in{ width:min(560px,100%); text-align:center; }
.rd-close__l{ margin:0; font:400 var(--fs-13)/1.4 var(--f-body); color:rgb(var(--ink3)); }
.rd-close__h{ margin:18px auto 0; max-width:22ch; font:500 var(--fs-32)/1.08 var(--f-disp); letter-spacing:-.024em; color:rgb(var(--ink)); text-wrap:balance; }
.rd-close__h em{ font:italic 500 1.08em var(--f-em); color:#dff4ff; }
.rd-close__p{ margin:18px auto 0; max-width:46ch; font:400 var(--fs-16)/1.5 var(--f-body); color:rgb(var(--ink2)); }
.rd-close__act{ margin:36px 0 0; }
.rd-close__q{ display:flex; flex-wrap:wrap; justify-content:center; gap:0 28px; margin:30px 0 0; }
.rd-close__q button, .rd-back button{ min-height:44px; padding:0 4px; border:0; background:transparent; cursor:pointer;
  font:500 var(--fs-14)/1 var(--f-body); color:rgb(var(--ink2)); }
.rd-close__q button:hover, .rd-back button:hover{ color:rgb(var(--ink)); }
.rd-back{ margin:48px 0 120px; text-align:center; }

/* a phone: the five words stand in one column, each a full-width tap; the pill goes full width (§11) */
@media (max-width:767px){
  .rd-ask{ margin:36px auto 96px; }
  .rd-ask__h{ font-size:var(--fs-26); }
  .rd-steps{ display:flex; flex-direction:column; width:100%; border-radius:22px; }
  .rd-steps button{ width:100%; min-height:48px; border-radius:18px; }
  .rd-ask__act .ui-btn, .rd-close__act .ui-btn{ width:100%; }
  .rd-close__h{ font-size:var(--fs-28); }
}

/* ── NO DIVIDER LINES (her law, UX audit 2026-10-20 P1-15): space separates, a line never does.
   The rooms the sweep found with a rule across them; the frozen Record (js/23) waits for her ruling. ── */
.bsr-floor{ border-top:0 !important; padding-top:24px; }
#view-achievements .rg-line, #view-achievements details{ border-top:0 !important; border-bottom:0 !important; }
#view-proof .pf .proof-exhibit, #view-proof .pf .proof-exhibit:last-child{ border-top:0 !important; border-bottom:0 !important; }
#view-canon .brief-dateline, .brief-dateline{ border-bottom:0 !important; }
#view-canon .brief-row-canon, #view-canon #canon-body > div:last-child{ border-top:0 !important; }

/* the feeling word before the reading: five words inside one pill, sentence case, a selected word
   is brighter, never a filled chip (UX audit 2026-10-20 P1-16; constitution §2, §9) */
.ob-felt-pill{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px; padding:4px; border-radius:999px; border:1px solid rgba(160,225,255,.16); background:rgba(127,211,255,.04); }
.ob-felt-b{ flex:1 1 auto; min-height:44px; padding:0 12px; border:0; border-radius:999px; background:transparent; font:500 var(--fs-14) var(--f-body); letter-spacing:0; text-transform:none; color:rgb(var(--ink2)); cursor:pointer; transition:color .18s, background .18s; }
.ob-felt-b:hover{ color:rgb(var(--ink)); }
.ob-felt-b[aria-pressed="true"]{ color:rgb(var(--ink)); background:rgba(127,211,255,.12); box-shadow:inset 0 0 0 1px rgba(160,225,255,.32); }
.ob-felt-b:focus-visible{ outline:2px solid var(--ice2); outline-offset:3px; }
/* THE CHECK-IN, UX PASS (2026-10-24): the three questions are the content of the sheet, so they read at
   14px in ink, not 12px muted; on a phone each set of five words holds one line inside its pill (it broke
   into a two-line blob at 390px); the device numbers are one quiet text exit (constitution §9) */
#ob-bio p[id$="-lbl"]{ font-size:var(--fs-14); line-height:1.45; color:rgb(var(--ink)); }
.ob-bio-more{ display:flex; align-items:center; min-height:44px; margin:-8px 0 10px; padding:0; border:0; background:none; font:500 var(--fs-14) var(--f-body); color:rgb(var(--ink2)); cursor:pointer; transition:color .18s; }
.ob-bio-more:hover{ color:rgb(var(--ink)); }
.ob-bio-more:focus-visible{ outline:2px solid var(--ice2); outline-offset:3px; }
.ob-bio-more[hidden]{ display:none; }
#ob-bio #ob-bio-sub{ margin-bottom:22px !important; }
/* where the numbers came from is a stamp over the numbers (constitution §2: 13px, ink3, no mono) */
#ob-bio #ob-bio-known{ font:400 var(--fs-13)/1.5 var(--f-body) !important; color:rgb(var(--ink3)) !important; margin:0 0 14px !important; }
#ob-bio #ob-bio-known[hidden]{ display:none; }
@media (max-width:480px){
  #ob-bio .ob-felt-pill{ flex-wrap:nowrap; }
  #ob-bio .ob-felt-b{ flex:1 1 auto; min-width:0; padding:0 4px; white-space:nowrap; }
}
