/* =======================================================================
   THE QUIET ROOM — the sign-in's look for the small pages a customer (or the operator's staff) can reach
   =======================================================================
   (16/11/2026, the operator: "כן, לבצע" to the round of the pages that still wore the old look: a slate card, an amber or orange
   button, a font loaded from Google.) The questionnaire before the meeting (intake.html) and the audit entry (enter.html) wear it.
   It is the sign-in page's look (login.html, THE SIGN-IN, A TEMPLATE OF ITS OWN) held STILL: the dashboards' own room of ring-dots
   (rooms/rings-*.svg), P5 by day and P0 by night by the clock (quiet-room.js, the dashboards' rule), one pane of the card's glass,
   glass wells for fields, the band's navy glass for the one action, the house's faces from our own folder. No living picture here:
   these pages are read and filled in, and they must open at once on any phone.
   THE SIX SHADES ONLY (P0 #111522 · P1 #1E263B · P2 #303D59 · P3 #536684 · P4 #98A9C4 · P5 #DCE3EF), every value the sign-in's own
   token of the same name (--si-* there, --qr-* here). No word under 13.5px. Nothing frosted. */
@font-face{font-family:'QB Heb'; font-style:normal; font-weight:100 900; font-display:swap; src:url(/fonts/heebo-hebrew.woff2) format('woff2');
  unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'QB Num'; font-style:normal; font-weight:100 900; font-display:swap; src:url(/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root{
  color-scheme:light;
  --qr-font:'QB Num','QB Heb',-apple-system,'Segoe UI',Arial,sans-serif;
  --qr-ink:#111522; --qr-ink2:#303D59; --qr-ink3:#536684;
  --qr-hair:rgba(152,169,196,.55);
  --qr-room:#DCE3EF;
  --qr-dots:url(/dashboard/rooms/rings-light.svg?v=2);
  --qr-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .067 0 0 0 0 .082 0 0 0 0 .133 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --qr-sheen:linear-gradient(140deg, rgba(220,227,239,.78) 0%, rgba(220,227,239,.16) 20%, rgba(220,227,239,0) 44%);
  --qr-wall-in:rgba(83,102,132,.24); --qr-wall-lit:rgba(220,227,239,.6);
  --qr-pane-sh:0 0 0 1px rgba(152,169,196,.72), inset 0 0 0 1px rgba(220,227,239,.95), inset 1.5px 1.5px 0 0 #DCE3EF, inset 0 0 0 7px rgba(220,227,239,.16),
    inset 0 16px 26px -20px #DCE3EF, inset 0 -18px 28px -20px rgba(17,21,34,.22),
    30px 44px 60px -22px rgba(17,21,34,.36), 10px 14px 20px -8px rgba(17,21,34,.18);
  --qr-well:rgba(220,227,239,.62); --qr-well-shade:rgba(17,21,34,.10); --qr-well-ring:rgba(152,169,196,.60); --qr-well-ring-hi:rgba(83,102,132,.62);
  --qr-well-ring-on:#536684; --qr-well-halo:rgba(83,102,132,.16);
  --qr-act-a:#536684; --qr-act-b:#303D59;
  --qr-msg:rgba(152,169,196,.24); --qr-msg-sh:inset 0 0 0 1px rgba(83,102,132,.34); --qr-badge:#303D59; --qr-badge-ink:#DCE3EF;
}
:root[data-qb-mode="dark"]{
  color-scheme:dark;
  --qr-ink:#DCE3EF; --qr-ink2:#98A9C4; --qr-ink3:#98A9C4;
  --qr-hair:rgba(152,169,196,.22);
  --qr-room:#111522;
  --qr-dots:url(/dashboard/rooms/rings-dark.svg?v=2);
  --qr-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .863 0 0 0 0 .89 0 0 0 0 .937 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --qr-sheen:linear-gradient(140deg, rgba(152,169,196,.2) 0%, rgba(152,169,196,.05) 20%, rgba(152,169,196,0) 44%);
  --qr-wall-in:rgba(0,0,0,.42); --qr-wall-lit:rgba(152,169,196,.26);
  --qr-pane-sh:0 0 0 1px rgba(152,169,196,.3), inset 0 0 0 1px rgba(152,169,196,.5), inset 1.5px 1.5px 0 0 rgba(220,227,239,.55), inset 0 0 0 7px rgba(152,169,196,.08),
    inset 0 16px 26px -20px rgba(152,169,196,.45), inset 0 -18px 28px -20px rgba(0,0,0,.5),
    30px 44px 64px -22px rgba(0,0,0,.66), 10px 14px 20px -8px rgba(0,0,0,.42);
  --qr-well:rgba(17,21,34,.46); --qr-well-shade:rgba(0,0,0,.35); --qr-well-ring:rgba(152,169,196,.24); --qr-well-ring-hi:rgba(152,169,196,.44);
  --qr-well-ring-on:#98A9C4; --qr-well-halo:rgba(152,169,196,.14);
  --qr-act-a:#98A9C4; --qr-act-b:#536684;
  --qr-msg:rgba(152,169,196,.12); --qr-msg-sh:inset 0 0 0 1px rgba(152,169,196,.28); --qr-badge:#98A9C4; --qr-badge-ink:#111522;
}

/* ---- the room: the dashboards' still room, with the sign-in's grain; it stands still while the page scrolls */
*{box-sizing:border-box; margin:0; padding:0;}
html{background:var(--qr-room);}
body{
  position:relative; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:max(clamp(22px, 6vh, 72px), env(safe-area-inset-top)) 16px max(clamp(22px, 6vh, 72px), env(safe-area-inset-bottom));
  background:var(--qr-room); color:var(--qr-ink);
  font-family:var(--qr-font); font-weight:340; font-synthesis-weight:none; font-size:15px; line-height:1.5;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility;
}
body::before{content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background:var(--qr-grain), var(--qr-dots) center / cover no-repeat;}

/* ---- the pane: the sign-in window's glass, its ground the room's shade whole (no word stands on a dot) */
.card{
  position:relative; isolation:isolate; width:min(392px, 100%); padding:32px 32px 24px; border:0; border-radius:32px;
  background:var(--qr-sheen), var(--qr-room); box-shadow:var(--qr-pane-sh);
  animation:qr-rise .62s cubic-bezier(.34,1.56,.64,1) both, qr-in .4s cubic-bezier(.2,.8,.2,1) both;
}
.card::before{content:""; position:absolute; inset:7px; z-index:-1; border-radius:25px; pointer-events:none; box-shadow:0 0 0 1px var(--qr-wall-in), inset 0 0 0 1px var(--qr-wall-lit);}
.card.wide{width:min(600px, 100%);}
@keyframes qr-in{from{opacity:0;} to{opacity:1;}}
@keyframes qr-rise{from{transform:translateY(26px) scale(.97);} to{transform:none;}}

/* ---- the logo, as at the top of the sign-in's card */
.brand{display:flex; justify-content:center; margin:0 0 26px;}
.brand > .qb-logo{font-size:26px; margin:0;}

/* ---- titles and lines */
.title{margin:0; text-align:center; color:var(--qr-ink); font-size:25px; font-weight:340; line-height:1.15; letter-spacing:-.012em;}
.sub{margin:8px 0 22px; text-align:center; text-wrap:balance; color:var(--qr-ink2); font-size:15px; font-weight:340; line-height:1.55;}
.sub b{color:var(--qr-ink); font-weight:450;}
.empty{padding:6px 0 4px; text-align:center; color:var(--qr-ink2); font-size:15px; line-height:1.6;}
a{color:var(--qr-ink2); text-underline-offset:4px; text-decoration-thickness:1px;}
a:hover{color:var(--qr-ink);}
a:focus-visible{outline:2px solid var(--qr-ink3); outline-offset:3px; border-radius:6px;}

/* ---- the fields: glass wells, their labels always seen */
.field{margin:0 0 13px;}
.field label{display:block; margin:0 0 6px; padding-inline:18px; color:var(--qr-ink2); font-size:13.5px; font-weight:430; line-height:1.3;}
.field input, .field select, .field textarea{
  --ring:var(--qr-well-ring); --ring-w:1px; --halo-w:0px;
  display:block; width:100%; height:46px; padding:0 18px; border:0; border-radius:999px;
  font-family:var(--qr-font); font-size:16px; font-weight:400; color:var(--qr-ink); caret-color:var(--qr-ink3);
  background:var(--qr-well); box-shadow:inset 0 1px 2px var(--qr-well-shade), 0 0 0 var(--ring-w) var(--ring), 0 0 0 var(--halo-w) var(--qr-well-halo);
  transition:box-shadow .18s cubic-bezier(.2,.8,.2,1);
}
.field textarea{height:auto; min-height:96px; padding:12px 18px; border-radius:22px; resize:vertical; line-height:1.5;}
.field input::placeholder, .field textarea::placeholder{color:var(--qr-ink3); opacity:1;}
.field input:hover, .field select:hover, .field textarea:hover{--ring:var(--qr-well-ring-hi);}
.field input:focus, .field select:focus, .field textarea:focus{outline:none; --ring:var(--qr-well-ring-on); --ring-w:1.5px; --halo-w:4px;}
/* a choice of several: the same well, its chevron drawn by two gradients at the line's end (no picture of a colour of its own) */
.field select{
  -webkit-appearance:none; appearance:none; cursor:pointer; padding-inline-end:44px;
  background-image:linear-gradient(45deg, transparent 50%, var(--qr-ink3) 50%), linear-gradient(135deg, var(--qr-ink3) 50%, transparent 50%);
  background-position:left 18px center, left 24px center; background-size:6px 6px, 6px 6px; background-repeat:no-repeat;
  background-color:var(--qr-well);
}
.field select option{background:var(--qr-room); color:var(--qr-ink);}
.field input:-webkit-autofill{-webkit-box-shadow:inset 0 0 0 60px var(--qr-room), 0 0 0 1px var(--qr-well-ring) !important; -webkit-text-fill-color:var(--qr-ink); transition:background-color 9999s;}

/* ---- the one action: the band's navy glass, words in the room's own light */
.btn{
  position:relative; isolation:isolate; display:block; width:100%; height:48px; margin-top:8px; padding:0 22px; border:0; border-radius:999px;
  font-family:var(--qr-font); font-size:15.5px; font-weight:450; letter-spacing:.01em; color:#DCE3EF; text-shadow:0 1px 2px rgba(17,21,34,.45);
  background:
    radial-gradient(90% 75% at 18% 0%, rgba(220,227,239,.18), rgba(220,227,239,0) 60%),
    radial-gradient(75% 80% at 50% 50%, rgba(17,21,34,.40), rgba(17,21,34,0) 80%),
    linear-gradient(160deg, color-mix(in oklab, var(--qr-act-a) 50%, rgba(17,21,34,.86)) 0%, color-mix(in oklab, var(--qr-act-b) 74%, rgba(17,21,34,.84)) 100%);
  box-shadow:
    inset 0 3px 10px rgba(220,227,239,.18), inset 0 0 0 1.5px color-mix(in oklab, var(--qr-act-a) 45%, #DCE3EF), inset 0 1px 0 1px rgba(220,227,239,.50),
    inset 0 0 8px 1px color-mix(in oklab, var(--qr-act-a) 60%, transparent), inset 0 -4px 8px -3px color-mix(in oklab, var(--qr-act-a) 75%, #DCE3EF 25%),
    0 0 9px 0 color-mix(in oklab, var(--qr-act-b) 50%, transparent), 9px 13px 18px -8px rgba(17,21,34,.42), 0 8px 20px color-mix(in oklab, var(--qr-act-b) 28%, transparent);
  cursor:pointer; transition:transform .18s cubic-bezier(.2,.8,.2,1), filter .18s ease;
}
.btn:hover{transform:translateY(-1px); filter:brightness(1.08);}
.btn:active{transform:translateY(0) scale(.985); filter:brightness(.98); transition-duration:.08s;}
.btn:focus-visible{outline:2px solid var(--qr-ink3); outline-offset:3px;}
.btn:disabled{cursor:progress; filter:saturate(.8) brightness(.96); transform:none;}
/* a second, quieter action: the light glass well, the words in ink */
.btn.light{color:var(--qr-ink); text-shadow:none; background:var(--qr-well); box-shadow:inset 0 1px 2px var(--qr-well-shade), 0 0 0 1px var(--qr-well-ring-hi);}

/* ---- what the server says back: one quiet glass line, a small mark at its start (the sign-in's own) */
.msg{display:none; margin-top:14px; padding:10px 14px; border-radius:16px; font-size:14px; font-weight:400; line-height:1.55; color:var(--qr-ink);}
.msg.err, .msg.ok{display:flex; align-items:flex-start; gap:9px; background:var(--qr-msg); box-shadow:var(--qr-msg-sh);}
.msg.err::before, .msg.ok::before{flex:none; display:grid; place-items:center; width:19px; height:19px; margin-top:1px; border-radius:50%; background:var(--qr-badge); color:var(--qr-badge-ink); font:500 13px/1 var(--qr-font);}
.msg.err::before{content:"!";}
.msg.ok::before{content:"\2713";}

/* ---- a plate of quiet glass (a group of fields, a note, a guide): the sign-in's message plate, larger */
.plate{padding:14px 16px; border-radius:22px; background:var(--qr-msg); box-shadow:var(--qr-msg-sh);}
.note{color:var(--qr-ink2); font-size:13.5px; font-weight:380; line-height:1.6;}

/* ---- a phone: the pane a step smaller, the field's text stays 16px so a phone does not zoom into it */
@media (max-width:520px){
  body{padding-inline:12px;}
  .card{padding:24px 18px 18px; border-radius:26px;}
  .card::before{border-radius:19px;}
  .brand{margin-bottom:20px;}
  .brand > .qb-logo{font-size:23px;}
  .title{font-size:21px; font-weight:330;}
  .sub{font-size:14px; margin:6px 0 16px;}
  .field label{padding-inline:14px; margin-bottom:5px;}
  .field input, .field select{height:42px; padding-inline:15px;}
  .field select{padding-inline-end:40px;}
  .btn{height:44px; margin-top:6px; font-size:15px;}
}
@media (prefers-reduced-motion:reduce){ .card{animation:none;} .btn, .field input, .field select, .field textarea{transition:none;} }
