/* ─────────────────────────────────────────────────────────────
   «פשוט כמו וואטסאפ» (6.11.2026, simple.js): the bell and the gear in the top bar, a bottom bar of daily screens,
   home as «N מחכים לכם», the numbers on their own screen, and every setting in one tree of pages that slide in
   from the side (RTL: from the left) with one question per sheet. Achiya, 6.11.2026: «מעולה תעלה הכל לכל ההגדרות,
   ממש על הכל תתאים את זה להכל, תעשה שדברים יהיו מונפשים». Style and motion: SPEC §5–6 (soft layered shadows, the
   yellow key without a black ring, warm light on top; natural pace, no bounce, all off for reduced motion).
   The colours are the family's tokens, so night.css turns them at night by itself.
   ───────────────────────────────────────────────────────────── */

.page-app {
  --sd-shadow: 0 1px 2px rgba(27, 26, 23, .04), 0 14px 34px rgba(27, 26, 23, .07);
  --sd-ease: cubic-bezier(.2, .8, .2, 1);
  --sd-card: var(--sheet);
  --sd-off: #d9d3c4;
  --sd-flash: #fff6a6;
  --sd-col: 640px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-app {
    --sd-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px rgba(0, 0, 0, .28);
    --sd-off: #4a4a50;
    --sd-flash: rgba(255, 232, 26, .22);
  }
}

/* ── the top bar: the product switch, then the bell and the gear; the brand's words and the old pills step back ── */
.page-app .sd-bar { display: inline-flex; flex: none; gap: 8px; margin-inline-start: auto; }
.page-app .app:has(#roomnav[hidden]) .sd-bar { display: none; }
.page-app .sd-icon { position: relative; display: grid; padding: 0; border: 0; cursor: pointer; width: 44px; height: 44px; place-items: center; color: var(--ink); background: var(--sd-card); border-radius: 50%; box-shadow: 0 0 0 1px var(--hair), 0 4px 14px rgba(27, 26, 23, .05); text-decoration: none; transition: transform .12s ease-out, background .2s; }
.page-app .sd-icon .icon { width: 22px; height: 22px; }
.page-app .sd-icon:active { transform: scale(.94); }
.page-app .sd-icon[aria-current="page"] { background: var(--yellow); color: #1b1a17; box-shadow: none; }
/* the bell's dot (12.11.2026, SPEC R4): no number, a small ink dot at the top-end corner; red only for an unread fault */
.page-app .sd-badge { position: absolute; top: 2px; inset-inline-end: 2px; width: 8px; height: 8px; background: var(--ink); border-radius: 50%; box-shadow: 0 0 0 2px var(--page); }
.page-app .sd-badge[data-fault] { background: var(--err); }
.page-app .sd-badge.pop { animation: sd-pop .4s var(--sd-ease); }
.page-app:has(#sd-bell) .appbar .brand__txt { display: none; }
.page-app:has(#sd-bell) .appbar__pill, .page-app:has(#sd-bell) .appbar__try { display: none !important; }
.page-app:has(#sd-bell) .appbar__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── the bottom bar: daily screens only; a small yellow dot slides under the one you are on ── */
.page-app .sd-tabdot { display: none; }
@media (max-width: 899.98px) {
  .page-app .roomtabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .page-app .roomnav { border-top: 0; box-shadow: 0 -1px 0 var(--hair), 0 -10px 30px rgba(27, 26, 23, .06); }
  .page-app .roomtabs a { color: var(--ink-soft); }
  .page-app .roomtabs a[aria-current="page"] { color: var(--ink); }
  .page-app .roomtabs a[aria-current="page"] .roomtabs__ic { border-color: transparent; box-shadow: none; color: #1b1a17; }
  .page-app .roomtabs__n { color: #1b1a17; background: var(--yellow); }
  .page-app .sd-tabdot { display: block; position: absolute; bottom: calc(2px + env(safe-area-inset-bottom)); left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transition: transform .38s var(--sd-ease); pointer-events: none; }
}
@media (min-width: 900px) {
  .page-app .roomtabs { border: 0; box-shadow: 0 0 0 1px var(--hair), var(--sd-shadow); border-radius: 999px; }
  .page-app .roomtabs a { border-radius: 999px; }
  .page-app .roomtabs a[aria-current="page"] { box-shadow: none; color: #1b1a17; }
}

/* ── the layer the tree and the bell's list live in: under the top bar, over the room and the bottom bar ── */
/* the page stays still under it: the root alone (17.11.2026). On body too, body became a box that scrolls of its own, and the
   sticky top bar stuck to it: opened from a scrolled «היום», the bar was gone and the room behind showed through above the layer */
html.sd-on { overflow: hidden; }
.page-app .sd { position: fixed; z-index: 46; inset: var(--sd-top, 0) 0 0 0; overflow: hidden; background: var(--page); animation: sd-in .24s var(--sd-ease) both; }
/* the room under the layer never shows through the top's soft lower edge (8.11.2026: «100%» of the bot's picture peeked) */
html.lg.sd-on .page-app .appbar::before { inset: 0; background: var(--page); -webkit-mask-image: none; mask-image: none; }
.page-app .sd-shade { position: absolute; inset: 0; z-index: 1; background: rgba(27, 26, 23, .18); opacity: 0; pointer-events: none; transition: opacity .3s; }
.page-app .sd-shade.on { opacity: 1; }
.page-app .sd-page { position: absolute; inset: 0; z-index: 2; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(40px + env(safe-area-inset-bottom)); background: radial-gradient(130% 40% at 85% -5%, color-mix(in srgb, var(--yellow) 22%, transparent) 0%, transparent 60%), var(--page); transform: translateX(-100%); transition: transform .32s var(--sd-ease); }
.page-app .sd-page.in { transform: none; }
.page-app .sd-page.under { transform: translateX(28%); }
.page-app .sd-page.now { transition: none; }
.page-app .sd-phead { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px max(10px, calc((100% - var(--sd-col)) / 2)); background: color-mix(in srgb, var(--page) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.page-app .sd-back { display: inline-flex; flex: none; min-width: 72px; min-height: 44px; align-items: center; gap: 2px; padding: 0 8px; color: var(--ink-soft); background: none; border: 0; border-radius: 999px; font: 16px var(--f-body); cursor: pointer; }
.page-app .sd-back svg { width: 20px; height: 20px; }
/* a long way back gives a long title its room (19.11.2026 QA: «מה הבוט אומר» beside «כפתורים, תמונות וקבצים» left the
   title «כפתורים, תמונות…»): where the title is cut (simple.js push, is-tight), the back's word is cut instead */
.page-app .sd-phead.is-tight .sd-back { max-width: 31%; }
.page-app .sd-back__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* a long title takes two even lines, not «לקוחות שמגיעים מ…» (8.11.2026 sweep) */
.page-app .sd-phead__t { flex: 1; min-width: 0; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; font: 21px/1.2 var(--f-ui); text-align: center; text-wrap: balance; }
.page-app .sd-phead__t:focus { outline: none; }
.page-app .sd-phead__end { flex: none; min-width: 72px; display: flex; justify-content: flex-end; }
.page-app button.sd-phead__end { min-width: 44px; }
.page-app .sd-pbody { width: min(100%, var(--sd-col)); margin-inline: auto; }
.page-app .sd-intro { display: flex; align-items: center; gap: 14px; margin: 4px 20px 0; animation: sd-up .42s .08s var(--sd-ease) both; }
.page-app .sd-intro img { width: 64px; height: auto; mix-blend-mode: multiply; }
.page-app .sd-intro p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.page-app .sd-know { margin: 8px 16px 0; text-align: center; }
.page-app .sd-know .ink-scene { width: min(100%, 380px); margin: 0 auto 12px; }
.page-app .sd-know p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* A computer (17.11.2026, «שיהיה קל להגדיר הכל גם בנייד וגם במחשב»; simple.js pushFrom): the tree in two panes. «הגדרות»
   (the root) stays on the right as the index, the row chosen in it marked; the page it opens fills the rest, and deeper
   pages slide in there with their way back. Its first page needs none: the index is beside it. Under 1100px, one page over
   another as on a phone. The bell's list (no root) stays as it is. */
@media (min-width: 1100px) {
  .page-app .sd:has(> .sd-page[data-page="root"]) { --sd-side: clamp(340px, 30vw, 420px); }
  .page-app .sd:has(> .sd-page[data-page="root"]) .sd-shade { display: none; }
  .page-app .sd-page[data-page="root"] { inset-inline-end: auto; width: var(--sd-side); border-inline-end: 1px solid var(--hair); transform: none; transition: none; }
  /* the glow stays in the screen's corner, on the index: the page beside it is plain paper */
  .page-app .sd-page[data-page="root"] ~ .sd-page { inset-inline-start: var(--sd-side); background: var(--page); }
  .page-app .sd-page[data-page="root"] ~ .sd-page.under { transform: none; }
  .page-app .sd-page[data-page="root"] + .sd-page .sd-back { visibility: hidden; }
  .page-app .sd-page[data-page="root"] .sd-row[aria-current="page"] { background: var(--ivory); }
  .page-app .sd-page[data-page="root"] .sd-row[aria-current="page"] .sd-chev { opacity: 1; color: var(--ink); }
  /* the index beside nothing (a link or a search to a row of the root itself, a window made wider): where to start; opened as
     it is, its first page is beside it (simple.js besideFirst) */
  .page-app .sd:has(> .sd-page[data-page="root"]:last-child)::after { content: "בוחרים מימין מה לשנות"; position: absolute; inset-block: 0; inset-inline: var(--sd-side) 0; display: grid; place-items: center; color: var(--ink-soft); font: 17px var(--f-body); pointer-events: none; }
}
@media (min-width: 1100px) and (forced-colors: active) {
  .page-app .sd-page[data-page="root"] .sd-row[aria-current="page"] { outline: 2px solid Highlight; outline-offset: -2px; }
}

/* rows in groups of up to four */
.page-app .sd-group { margin: 22px 16px 0; animation: sd-up .42s var(--sd-ease) both; animation-delay: calc(var(--i, 0) * 60ms + 140ms); }
.page-app .sd-group > h3 { margin: 0 8px 8px; color: var(--ink-soft); font: 14px var(--f-body); }
.page-app .sd-rows { overflow: hidden; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); }
.page-app .sd-row { display: flex; width: 100%; min-height: 64px; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); background: none; border: 0; font: inherit; text-align: start; cursor: pointer; transition: transform .12s ease-out, background .2s; }
.page-app .sd-row + .sd-row { border-top: 1px solid var(--hair); }
.page-app .sd-row:active { transform: scale(.98); }
.page-app .sd-row:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.page-app .sd-ic { display: grid; flex: none; width: 40px; height: 40px; place-items: center; }
.page-app .sd-ic img { max-width: 40px; max-height: 40px; width: auto; height: auto; mix-blend-mode: multiply; }
/* in a group where rows have a drawing, a row without one keeps its place, so the names start on one line (19.11.2026 QA:
   «מצבים מיוחדים» beside «כפתורים, תמונות וקבצים») */
.page-app .sd-rows:has(.sd-ic) .sd-row:not(:has(.sd-ic))::before { content: ""; flex: none; width: 40px; }
.page-app .sd-t { flex: 1; min-width: 0; }
.page-app .sd-t b { display: block; font: 17px/1.3 var(--f-ui); }
.page-app .sd-t small { display: block; color: var(--ink-soft); font-size: 14px; line-height: 1.35; }
/* a sentence, one line under its name: the whole of it is one tap away (19.11.2026: two lines made every row twice as tall) */
.page-app .sd-t small.sd-said { margin-top: 2px; overflow: hidden; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
/* the way out of the account: red, centred, alone in its group (simple.js rowEl `foot`) */
.page-app .sd-row--out { justify-content: center; min-height: 52px; color: var(--err); }
.page-app .sd-row--out b { font: 17px var(--f-ui); }
.page-app .sd-path { color: var(--ink-soft); font-size: 13px; }
/* what is set inside a page, one line under its name (simple.js sumOf, 12.11.2026) */
.page-app .sd-t small.sd-sum { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-app .sd-v { flex: none; max-width: 42%; overflow: hidden; color: var(--ink-soft); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.page-app .sd-t > .sd-v { display: block; max-width: none; margin-top: 2px; white-space: normal; overflow-wrap: anywhere; }   /* simple.js fitValues */
.page-app .sd-n { display: inline-block; }   /* a number whole or not at all where a line is cut (simple.js nums) */
.page-app .sd-chev { flex: none; width: 18px; height: 18px; color: var(--ink-soft); opacity: .7; }
.page-app .sd-row.sd-lit { animation: sd-flash 1.8s ease-out; }

/* a switch: the word only when it is off */
.page-app .sd-sw { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 6px 0; color: var(--ink-soft); background: none; border: 0; font: 14px var(--f-body); cursor: pointer; }
.page-app .sd-sw em { font-style: normal; }
.page-app .sd-sw[aria-checked="true"] em { display: none; }
.page-app .sd-sw i { position: relative; width: 52px; height: 32px; background: var(--sd-off); border-radius: 99px; transition: background .2s; }
.page-app .sd-sw i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .26s var(--sd-ease), width .2s; }
.page-app .sd-sw:active i::after { width: 32px; }
.page-app .sd-sw[aria-checked="true"] i { background: var(--yellow); }
.page-app .sd-sw[aria-checked="true"] i::after { transform: translateX(-20px); }
.page-app .sd-sw[aria-checked="true"]:active i::after { transform: translateX(-14px); }
/* the knob of a switch that is on carries a ✓ (rules/onimli-design-hand.md «משולב»), as on «איך הבוט עונה» (20.11.2026) */
.page-app .sd-sw i::before { content: ""; position: absolute; z-index: 1; top: 9px; right: 9px; width: 14px; height: 14px; background: #1B1A17;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  clip-path: inset(0 100% 0 0); transition: transform .26s var(--sd-ease), clip-path .15s ease-out; }
.page-app .sd-sw[aria-checked="true"] i::before { transform: translateX(-20px); clip-path: inset(0 0 0 0); transition: transform .26s var(--sd-ease), clip-path .26s ease-out .18s; }
.page-app .sd-sw[aria-checked="true"]:active i::before { transform: translateX(-17px); }
.page-app .sd-sw:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 99px; }

/* search on top of the root, and «שהעוזר ישנה» when it finds nothing */
.page-app .sd-findwrap { margin: 6px 16px 0; }
.page-app .sd-find { position: relative; display: block; }
#sd .sd-find input.sd-find__in { width: 100%; height: 52px; padding: 0 46px 0 16px; color: var(--ink); background: var(--sd-card); border: 0; border-radius: 18px; box-shadow: 0 0 0 1px var(--hair), 0 4px 14px rgba(27, 26, 23, .05); font: 17px var(--f-body); }
#sd .sd-find input.sd-find__in:focus { outline: none; box-shadow: 0 0 0 2px var(--ink); }
.page-app .sd-find__in::placeholder { color: var(--placeholder); }
.page-app .sd-find__ic { position: absolute; top: 15px; right: 14px; width: 22px; height: 22px; color: var(--ink-soft); pointer-events: none; }
.page-app .sd-found > .sd-group { margin-inline: 0; }
.page-app .sd-ask { margin-top: 14px; padding: 14px 16px; background: var(--ivory); border-radius: 20px; }
.page-app .sd-ask b { font: 17px var(--f-ui); }
.page-app .sd-ask p { margin: 2px 0 0; color: var(--ink-soft); }
.page-app .sd-ask .btn { width: 100%; margin-top: 10px; }
.page-app .sd-foot { margin: 30px 0 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.page-app .sd-lite { min-height: 44px; padding: 8px 14px; color: var(--ink-soft); background: none; border: 0; font: 15px var(--f-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.page-app .sd-danger { min-height: 44px; padding: 8px 14px; color: var(--err); background: none; border: 0; font: 15px var(--f-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* one setting in its sheet: the rest of its topic steps aside (simple.js solo) */
.page-app .sd-solo .sd-off { display: none !important; }
/* a field of a pair alone takes the row (#tor-settings: «אורך תור» stood in half of it) */
.page-app .sd-solo .tor-sheet__row:has(> .sd-off) { grid-template-columns: 1fr; }
/* a setting a board draws as it is (settings-board.js block) has no save bar under it until it changes (byHand): till then
   a finger's room under it, as the bar has («מתי יוצאת תזכורת» sat on the sheet's edge, «שעה לפני» cut through) */
.page-app .sd-solo form.sx:not(.sx-hand):not(:has(.sx-dock:not([hidden]))) { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
/* ...before the sheet rises (simple.js openLeaf, 8.11.2026, «נפתח הרבה ואז מתכווץ»): it waits below, its scrim clear, and
   rises at the setting's own size */
.page-app .sheet.sd-hold.is-open .sheet__box { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); transition: none; }
.page-app .sheet.sd-hold.is-open .sheet__scrim { opacity: 0; }
/* a conversation stop's number belongs to its title, which steps aside: alone it sat on the setting's own words */
.page-app .sd-solo .flow-stop:has(> .fold > .sd-off)::before { display: none; }
.page-app .sd-chip { position: fixed; z-index: 47; bottom: calc(var(--app-bottom-bar, 0px) + 14px); left: 50%; display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 0 18px; color: var(--on-band); background: var(--band); border: 0; border-radius: 999px; box-shadow: 0 10px 24px rgba(27, 26, 23, .2); font: 16px var(--f-ui); transform: translateX(-50%); cursor: pointer; animation: sd-chip-in .36s var(--sd-ease) both; }
.page-app .sd-say { position: fixed; z-index: 61; bottom: calc(var(--app-bottom-bar, 0px) + 20px); left: 50%; margin: 0; padding: 10px 18px; color: var(--on-band); background: var(--band); border-radius: 999px; font: 16px var(--f-ui); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s var(--sd-ease); }
.page-app .sd-say.on { opacity: 1; transform: translate(-50%, 0); }

/* the yellow key: a soft yellow shadow, no black ring (SPEC §5) */
.page-app .sd-yes { color: #1b1a17; background: var(--yellow); border-color: transparent; box-shadow: 0 10px 24px rgba(240, 200, 0, .35), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.page-app .sd-yes:active { transform: scale(.98); }

/* ── home: today ── */
.page-app #room-home:not([data-mode="stats"]) #sd-stats { display: none; }
.page-app #room-home[data-mode="stats"] #sd-today { display: none; }
/* «לבוט חסר מידע בסיסי» (#home-basics) is only for a bot that already answers (app.js renderBasics), and it holds the short
   questions once they start: it stays under «היום» (17.11.2026: hidden with the old home since 6.11, never seen again) */
.page-app #room-home:not([data-mode="stats"])[data-live="true"] .home > :not(#sd-today, .home__main),
.page-app #room-home:not([data-mode="stats"])[data-live="true"] .home__main > :not(#home-status, .path:has(> #home-basics)),
.page-app #room-home:not([data-mode="stats"])[data-live="true"] #home-status[data-on="true"],
.page-app #room-home:not([data-mode="stats"])[data-live="true"] #hb-open,
.page-app #room-home[data-live="true"] > :not(.room__head, .home, dialog),
.page-app #room-home[data-live="true"] .room__how { display: none !important; }
.page-app #room-home .sd-next:has(.sd-wide) { cursor: pointer; }
/* «לעצב את הבית» arranges the old home, which «נתונים» doesn't show: its key goes too (7.11.2026) */
.page-app #room-home[data-mode="stats"] .home > :not(#sd-stats, #home-more),
.page-app #room-home[data-mode="stats"] #hb-open { display: none !important; }
.page-app #room-home h2 mark { padding: 0 .08em; color: inherit; background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%) no-repeat right / 100% 100%; animation: sd-sweep .7s .25s var(--sd-ease) both; }
.page-app .sd-today, .page-app .sd-stats { width: min(100%, var(--sd-col)); min-width: 0; margin-inline: auto; grid-column: 1 / -1; }
/* what stays of the old home under «היום» (the bot's state, «לבוט חסר מידע בסיסי») stands in its column, not across the room */
.page-app #room-home:not([data-mode="stats"])[data-live="true"] .home__main { width: min(100%, var(--sd-col)); margin-inline: auto; }
.page-app #room-home:has(#sd-today:not([hidden])):not([data-mode="stats"])[data-live="true"] .home,
.page-app #room-home[data-mode="stats"] .home { grid-template-columns: minmax(0, 1fr); }
.page-app .sd-enter > * { animation: sd-up .45s var(--sd-ease) both; }
.page-app .sd-enter > :nth-child(2) { animation-delay: .05s; }
.page-app .sd-enter > :nth-child(3) { animation-delay: .1s; }
.page-app .sd-enter > :nth-child(4) { animation-delay: .15s; }
.page-app .sd-enter > :nth-child(n+5) { animation-delay: .2s; }

.page-app .sd-next { position: relative; margin: 14px 0 0; padding: 22px 22px 18px; background: var(--sd-card); border-radius: 32px; box-shadow: var(--sd-shadow); text-align: center; }
.page-app .sd-next .sd-obj { display: block; width: 96px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 10px 14px rgba(27, 26, 23, .18)); mix-blend-mode: multiply; }
.page-app .sd-next .sd-obj.sd-ring { transform-origin: 50% 80%; animation: sd-ring 1.3s .5s ease-in-out both; }
.page-app .sd-next h3 { margin: 0; font: 26px/1.2 var(--f-ui); }
.page-app .sd-why { max-width: 34ch; margin: 6px auto 0; color: var(--ink-soft); }
.page-app .sd-when { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.page-app .sd-wide { width: 100%; min-height: 52px; margin-top: 20px; font-size: 18px; }
/* «✓ חזרתי» under the card's one yellow key: the quiet key (12.11.2026, SPEC R1), centred by the card */
.page-app .sd-skip { gap: 6px; margin-top: 10px; }
/* «באתר השתנו…» on «היום» (simple.js siteCard): the bot's line over the site's, read from the start of the line */
.page-app .sd-next .sd-diff { text-align: start; }
.page-app .sd-next.sd-leave { opacity: 0; transform: translateX(-115%) rotate(-5deg); transition: transform .32s cubic-bezier(.4, 0, .6, 1), opacity .32s; }
.page-app .sd-next.sd-arrive { animation: sd-arrive .45s var(--sd-ease) both; }
.page-app .sd-calm { padding-block: 26px; }
.page-app .sd-calm .sd-obj { width: 110px; filter: none; }
.page-app .sd-calm h3 { font-size: 24px; }
.page-app .sd-calm p { margin: 4px 0 0; color: var(--ink-soft); }
.page-app .sd-quiet { margin: 28px 8px 8px; color: var(--ink-soft); font-size: 15px; }
.page-app .sd-plain { display: grid; grid-template-columns: minmax(0, 1fr); }
.page-app .sd-chat { display: flex; width: 100%; align-items: center; gap: 12px; padding: 10px 6px; color: var(--ink); background: none; border: 0; border-radius: 16px; font: inherit; text-align: start; cursor: pointer; transition: transform .12s ease-out, background .2s; animation: sd-up .4s var(--sd-ease) both; }
.page-app .sd-chat:nth-child(2) { animation-delay: .06s; }
.page-app .sd-chat:nth-child(n+3) { animation-delay: .12s; }
.page-app .sd-chat:active { transform: scale(.98); }
.page-app .sd-chat:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.page-app .sd-av { position: relative; display: grid; flex: none; width: 48px; height: 48px; place-items: center; overflow: hidden; color: #1b1a17; background: var(--tint, var(--ivory)); border-radius: 50%; font: 20px var(--f-ui); }
.page-app .sd-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-app .sd-av--q { color: var(--ink); background: var(--ivory); }
.page-app .sd-mid { flex: 1; min-width: 0; }
.page-app .sd-name { display: block; overflow: hidden; font: 17px/1.3 var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
/* a question the bot didn't know is read whole, on up to two lines (8.11.2026 sweep: «…לשיער ארו» cut on one) */
.page-app .sd-name.sd-ask { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; }
.page-app .sd-what { display: block; overflow: hidden; color: var(--ink-soft); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.page-app .sd-time { flex: none; align-self: flex-start; margin-top: 4px; color: var(--ink-soft); font-size: 13px; }
.page-app .sd-more { display: block; width: fit-content; margin: 12px auto 0; padding: 8px; color: var(--ink-soft); font-size: 15px; text-underline-offset: 4px; }

/* ── the numbers (נתונים) ── */
.page-app .sd-hero { margin: 8px 0 0; padding: 20px; background: var(--sd-card); border-radius: 26px; box-shadow: var(--sd-shadow); }
.page-app .sd-big { font: 56px/1 var(--f-ui); font-variant-numeric: tabular-nums lining-nums; }
.page-app .sd-sub { margin: 4px 0 0; color: var(--ink-soft); }
.page-app .sd-sub--bars { margin-top: 18px; }
.page-app .sd-bars { display: flex; height: 120px; align-items: flex-end; gap: 8px; margin-top: 10px; }
.page-app .sd-bars > div { display: flex; flex: 1; height: 100%; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; color: var(--ink-soft); font-size: 13px; }
.page-app .sd-bars b { font: 13px var(--f-ui); font-weight: 400; min-height: 1em; }
.page-app .sd-bars span { display: block; width: 100%; background: var(--ivory); border-radius: 8px 8px 3px 3px; box-shadow: inset 0 0 0 1px var(--hair); transform-origin: bottom; animation: sd-grow .6s ease-out both; }
.page-app .sd-bars > div:nth-child(2) span { animation-delay: .04s; }
.page-app .sd-bars > div:nth-child(3) span { animation-delay: .08s; }
.page-app .sd-bars > div:nth-child(4) span { animation-delay: .12s; }
.page-app .sd-bars > div:nth-child(5) span { animation-delay: .16s; }
.page-app .sd-bars > div:nth-child(6) span { animation-delay: .2s; }
.page-app .sd-bars > div:nth-child(7) span { animation-delay: .24s; }
.page-app .sd-bars > .is-today { color: var(--ink); font-family: var(--f-ui); }
.page-app .sd-bars > .is-today span { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.page-app .sd-tip { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 16px 18px; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); }
.page-app .sd-tip img { flex: none; width: 52px; height: auto; mix-blend-mode: multiply; }
.page-app .sd-tip p { margin: 0; font-size: 16px; }
.page-app .sd-link { min-height: 44px; padding: 6px 0; color: var(--ink); background: none; border: 0; font: 16px var(--f-ui); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.page-app .sd-label { margin: 26px 8px 10px; font: 19px var(--f-ui); }
.page-app .sd-label--row { display: flex; align-items: baseline; justify-content: space-between; }
.page-app .sd-label--row h3 { margin: 0; font: inherit; }
.page-app .sd-label--row .sd-link { font: 15px var(--f-body); color: var(--ink-soft); }
.page-app .sd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.page-app .sd-fact { padding: 12px 14px; background: var(--sd-card); border-radius: 18px; box-shadow: var(--sd-shadow); }
.page-app .sd-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* a tile alone in its row: the whole row, not half of it */
.page-app .sd-fact small { display: block; color: var(--ink-soft); font-size: 14px; }
.page-app .sd-fact b { font: 28px/1.1 var(--f-ui); font-weight: 400; font-variant-numeric: tabular-nums; }
/* «משולב» (17.11.26): yellow that marks a value carries a 1.5px ink ring — bare yellow on cream reads 1.2:1 */
.page-app .sd-meter { height: 10px; margin-top: 10px; overflow: hidden; background: var(--ivory); border-radius: 99px; }
.page-app .sd-meter i { display: block; height: 100%; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 99px; transform-origin: right; animation: sd-fill .7s .2s ease-out both; }
.page-app .sd-hero--plan { padding-block: 16px; }
/* «נתונים» as answers (15.11.2026, simple.js monthParts): who answered the month, when they write, what they asked, what to fix */
.page-app .sd-sub--ink { margin-top: 8px; color: var(--ink); }
.page-app .sd-split { display: flex; gap: 4px; height: 12px; margin-top: 18px; }
.page-app .sd-split i { flex: 0 1 0; min-width: 8px; border-radius: 99px; transform-origin: right; animation: sd-fill .7s .2s ease-out both; }
.page-app :is(.sd-split, .sd-legend) .is-bot { background: var(--ink); }
.page-app :is(.sd-split, .sd-legend) .is-you { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.page-app :is(.sd-split, .sd-legend) .is-open { background: repeating-linear-gradient(-45deg, transparent 0 3px, var(--hair) 3px 5px); box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.page-app .sd-legend { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 8px 0 -6px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 15px; }
.page-app .sd-legend li { display: flex; align-items: center; min-height: 44px; }
.page-app .sd-legend b { margin-inline-start: 6px; color: var(--ink); font: 17px var(--f-ui); font-weight: 400; font-variant-numeric: tabular-nums; }
.page-app .sd-key { flex: none; width: 10px; height: 10px; margin-inline-end: 7px; border-radius: 50%; }
.page-app .sd-legend__go { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: inherit; background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.page-app .sd-hero__say { margin: 0; font: 19px/1.35 var(--f-ui); }
.page-app .sd-hours { display: flex; height: 76px; align-items: flex-end; gap: 2px; margin-top: 16px; }
.page-app .sd-hours span { flex: 1; min-width: 0; background: var(--ivory); border-radius: 3px 3px 1px 1px; box-shadow: inset 0 0 0 1px var(--hair); transform-origin: bottom; animation: sd-grow .6s ease-out both; }
.page-app .sd-hours .is-busy { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.page-app .sd-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--ink-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.page-app .sd-topics { display: grid; gap: 18px; }
.page-app .sd-topic__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 16px; }
.page-app .sd-topic__t b { font: 20px var(--f-ui); font-weight: 400; font-variant-numeric: tabular-nums; }
.page-app .sd-topic__bar { display: block; height: 8px; overflow: hidden; background: var(--ivory); border-radius: 99px; box-shadow: inset 0 0 0 1px var(--hair); }
.page-app .sd-topic__bar i { display: block; height: 100%; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 99px; transform-origin: right; animation: sd-fill .7s .2s ease-out both; }
.page-app .sd-topic__go { margin-top: 2px; }
.page-app .sd-fixes { display: grid; padding: 4px 8px; }
.page-app .sd-fix { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 10px; color: var(--ink); background: none; border: 0; font: 16px var(--f-body); text-align: start; cursor: pointer; }
.page-app .sd-fix + .sd-fix { border-top: 1px solid var(--hair); }
.page-app .sd-fix img { flex: none; width: 40px; height: auto; mix-blend-mode: multiply; }
.page-app .sd-fix__t { flex: 1; min-width: 0; }
.page-app .sd-fix__go { flex: none; font: 15px var(--f-ui); text-decoration: underline; text-underline-offset: 4px; }

/* ── the bell's list ── */
.page-app .sd-readall { margin: 8px 16px 0; text-align: end; }
.page-app .sd-readall .sd-link { color: var(--ink-soft); font: 15px var(--f-body); }
.page-app .sd-pbody > div > .sd-label { margin-inline: 24px; }
.page-app .sd-list { margin: 0 16px; overflow: hidden; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); animation: sd-up .42s .1s var(--sd-ease) both; }
.page-app .sd-al { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 14px; color: var(--ink); background: none; border: 0; font: inherit; text-align: start; cursor: pointer; transition: transform .12s ease-out, background .2s; }
.page-app .sd-al + .sd-al { border-top: 1px solid var(--hair); }
.page-app .sd-al:active { transform: scale(.98); }
.page-app .sd-al .sd-ic { width: 44px; height: 44px; }
.page-app .sd-al__t { display: block; font-size: 16px; }
.page-app .sd-al.is-new .sd-al__t { font-family: var(--f-ui); }
.page-app .sd-al small { display: block; color: var(--ink-soft); font-size: 13px; }
.page-app .sd-dot { flex: none; width: 10px; height: 10px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.page-app .sd-pbody .sd-next { margin-inline: 16px; }

/* the cut-paper pictures sit on the page by day (multiply), and night.css swaps in their night twins */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-app :is(.sd-ic, .sd-intro, .sd-next, .sd-tip, .sd-fix) img { mix-blend-mode: normal; }
  :root:not([data-theme="light"]) .page-app .sd-next .sd-obj { filter: none; }
  :root:not([data-theme="light"]) .page-app .sd-yes { box-shadow: 0 8px 22px rgba(255, 232, 26, .16); }
}

@keyframes sd-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes sd-chip-in { from { opacity: 0; transform: translate(-50%, 10px); } }   /* the chip is centred by its own translate: sd-up slid it in from the side */
@keyframes sd-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes sd-pop { 50% { transform: scale(1.35); } }
@keyframes sd-flash { 0%, 40% { background: var(--sd-flash); } 100% { background: transparent; } }
@keyframes sd-sweep { from { background-size: 0 100%; } }
@keyframes sd-ring { 0%, 100% { transform: none; } 10%, 30%, 50% { transform: rotate(-9deg); } 20%, 40%, 60% { transform: rotate(9deg); } 70% { transform: rotate(-3deg); } 80% { transform: none; } }
@keyframes sd-arrive { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes sd-grow { from { transform: scaleY(0); } }
@keyframes sd-fill { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  .page-app :is(.sd, .sd-tabdot, .sd-badge, .sd-icon, .sd-row, .sd-group, .sd-intro, .sd-chat, .sd-al, .sd-list, .sd-next, .sd-obj, .sd-bars span, .sd-meter i, .sd-split i, .sd-hours span, .sd-topic__bar i, .sd-chip, .sd-say, .sd-sw i, .sd-shade, .sd-enter > *),
  .page-app :is(.sd-sw i)::after, .page-app .sd-sw i::before, .page-app #room-home h2 mark, .page-app .sd-page { animation: none !important; transition: none !important; }
}

/* on a wide screen the room's title stands over the same column as «היום» and «נתונים» */
.page-app #room-home:is([data-live="true"], [data-mode="stats"]) > .room__head { width: min(100%, var(--sd-col)); margin-inline: auto; }

/* ── the six parts of the settings (12.11.2026, «א» for each; settings-parts.js), in the tree's own family ── */
.page-app .pt-mount { animation: sd-up .42s .06s var(--sd-ease) both; }
.page-app .pt-mount ::selection { color: #1b1a17; background: var(--yellow); }
.page-app .pt-pic { height: auto; mix-blend-mode: multiply; }
.page-app .pt-box { padding: 14px 16px; background: var(--sd-card); border-radius: 20px; box-shadow: var(--sd-shadow); }
.page-app .pt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.page-app .pt-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; color: var(--ink); background: var(--sd-card); border: 1.5px solid var(--ink); border-radius: 999px; font: 16px/1.2 var(--f-ui); cursor: pointer; transition: transform .12s ease-out, background .2s; }
.page-app .pt-btn:active { transform: scale(.97); }
.page-app .pt-btn:disabled { opacity: .55; cursor: default; transform: none; }
.page-app .pt-btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.page-app .pt-btn--yes { color: #1b1a17; background: var(--yellow); border-color: transparent; box-shadow: 0 10px 24px rgba(240, 200, 0, .35), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.page-app .pt-link { min-height: 44px; padding: 0 6px; color: var(--ink-soft); background: none; border: 0; font: 15px var(--f-body); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.page-app :is(.pt-btn, .pt-link, .pt-line, .pt-wk__day, .pt-opts button, .pt-choices button, .pt-bc__name, .pt-bc__kind):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.page-app .pt-in { display: block; width: 100%; min-height: 48px; padding: 11px 14px; color: var(--ink); background: var(--page); border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font: 16px/1.45 var(--f-body); caret-color: var(--ink); }
.page-app textarea.pt-in { min-height: 76px; resize: vertical; }
.page-app .pt-in:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.page-app .pt-in::placeholder { color: var(--placeholder); }
.page-app .pt-hint { display: block; min-height: 1em; margin-top: 6px; color: var(--ink-soft); font-size: 13.5px; }
.page-app .pt-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.page-app .pt-opts button { min-height: 44px; padding: 0 16px; color: var(--ink); background: var(--page); border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font: 15px var(--f-ui); cursor: pointer; transition: background .18s, box-shadow .18s; }
.page-app .pt-opts button[aria-pressed="true"] { color: #1b1a17; background: var(--yellow); box-shadow: none; }
.page-app :is(.pt-err, .pt-none, .pt-try__none) { margin: 16px 20px 0; color: var(--ink-soft); }
.page-app .pt-try__none { margin: 14px 16px 0; }

/* a short word with a key beside it («לבטל»): the key takes taps while it is in sight */
.page-app .sd-say.has-act { display: flex; width: max-content; max-width: calc(100% - 28px); align-items: center; gap: 12px; padding: 6px; padding-inline-start: 18px; }
.page-app .sd-say.has-act.on { pointer-events: auto; }
.page-app .sd-say button { flex: none; min-height: 40px; padding: 0 18px; color: #1b1a17; background: var(--yellow); border: 0; border-radius: 999px; font: 15px var(--f-ui); cursor: pointer; }
.page-app .sd-say button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* 1. «השבוע»: a column a day, 6:00 at the top and midnight at the foot, the open hours in yellow marker */
.page-app .pt-wk { margin: 6px 16px 0; }
.page-app .pt-wk__sheet { padding: 14px 10px 12px; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); }
.page-app .pt-wk__grid { display: grid; grid-template-columns: 22px repeat(7, minmax(0, 1fr)); gap: 0 3px; }
.page-app .pt-wk__ruler { position: relative; display: block; height: 220px; margin-top: 46px; color: var(--ink-soft); font: 12px/1 var(--f-body); font-variant-numeric: tabular-nums lining-nums; }
.page-app .pt-wk__ruler span { position: absolute; inset-inline-start: 0; top: calc(var(--y) * 1%); translate: 0 -50%; }
.page-app .pt-wk__day { --d: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0 8px; color: var(--ink); background: none; border: 0; border-radius: 14px; font: inherit; cursor: pointer; transition: background .2s; }
.page-app .pt-wk__day[aria-pressed="true"] { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.page-app .pt-wk__day > b { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; font: 16px/1 var(--f-ui); font-weight: 400; }
.page-app .pt-wk__day.is-today > b { color: #1b1a17; background: var(--yellow); }
.page-app .pt-wk__track { position: relative; display: block; width: 100%; height: 220px; background: repeating-linear-gradient(to bottom, var(--hair) 0 1px, transparent 1px calc(100% / 6)); }
.page-app .pt-wk__open { position: absolute; top: calc(var(--a) * 1%); left: 50%; display: block; width: 16px; height: calc((var(--b) - var(--a)) * 1%); background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 6px; translate: -50% 0; animation: pt-down .6s var(--sd-ease) both; animation-delay: calc(var(--d, 0) * 55ms + 160ms); }
.page-app .pt-wk__bot { position: absolute; top: calc(var(--a) * 1%); inset-inline-end: 3px; display: block; width: 2px; height: calc((var(--b) - var(--a)) * 1%); background: var(--ink); border-radius: 2px; }
/* Shabbat: Friday's hours fade into its evening and Saturday's out of its end, with no hour named (the bot keeps the city's) */
.page-app :is(.pt-wk__open, .pt-wk__bot).is-eve { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.page-app :is(.pt-wk__open, .pt-wk__bot).is-after { -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.page-app .pt-wk.is-off .pt-wk__bot, .page-app .pt-wk.is-off:not(.is-book) .pt-wk__open { opacity: .35; }
.page-app .pt-wk__closed { position: absolute; top: 8px; left: 50%; display: flex; translate: -50% 0; }
.page-app .pt-wk__detail { margin-top: 12px; }
.page-app .pt-wk__detail h4 { margin: 0 0 8px; font: 18px/1.25 var(--f-ui); font-weight: 400; }
.page-app .pt-wk__key { display: grid; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; }
.page-app .pt-wk__key li { display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 30px; }
.page-app .pt-wk__key span { color: var(--ink-soft); font-size: 15px; }
.page-app .pt-wk__key b { font: 15.5px/1.35 var(--f-ui); font-weight: 400; text-align: end; }
.page-app .pt-key { display: block; width: 22px; }
.page-app .pt-key--open { height: 13px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 4px; }
.page-app .pt-key--bot { height: 2px; background: var(--ink); border-radius: 2px; }
.page-app .pt-off { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.page-app .pt-wk > .pt-off:first-child { margin: 0 0 12px; }
.page-app .pt-off__t { flex: 1; min-width: 0; }
.page-app .pt-off__t b { display: block; font: 16.5px/1.3 var(--f-ui); font-weight: 400; }
.page-app .pt-off__t small { display: block; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }

/* 2. «לנסות»: the opening as a customer sees it */
.page-app .pt-try { margin: 14px 16px 0; padding: 12px; border-radius: 24px; }
.page-app .pt-try__phone { display: flex; flex-direction: column; overflow: hidden; background: var(--page); border: 1px solid var(--hair); border-radius: 18px; }
.page-app .pt-try__bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--sd-card); box-shadow: 0 1px 0 var(--hair); }
.page-app .pt-try__bar b { display: block; font: 15.5px/1.2 var(--f-ui); font-weight: 400; }
.page-app .pt-try__bar small { display: block; color: var(--ink-soft); font-size: 12.5px; }
.page-app .pt-try__msgs { display: flex; max-height: 268px; flex-direction: column; gap: 6px; margin: 0; padding: 12px; overflow-y: auto; list-style: none; scrollbar-width: thin; }
.page-app .pt-try__msgs > :first-child { margin-top: auto; }
.page-app .pt-msg { max-width: 84%; padding: 7px 12px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; animation: pt-msg .32s var(--sd-ease) both; }
.page-app .pt-msg--in { align-self: flex-start; background: var(--ivory); border-start-start-radius: 4px; }
.page-app .pt-msg--bot { align-self: flex-end; color: var(--on-band); background: var(--band); border-start-end-radius: 4px; }
.page-app .pt-typing { display: inline-flex; align-self: flex-end; gap: 4px; padding: 13px 14px; background: var(--band); border-radius: 16px; border-start-end-radius: 4px; }
.page-app .pt-typing i { width: 6px; height: 6px; background: var(--on-band); border-radius: 50%; animation: pt-dot 1s ease-in-out infinite; }
.page-app .pt-typing i:nth-child(2) { animation-delay: .15s; }
.page-app .pt-typing i:nth-child(3) { animation-delay: .3s; }
.page-app .pt-choices { display: grid; align-self: flex-end; gap: 4px; width: min(84%, 250px); animation: pt-msg .32s .1s var(--sd-ease) both; }
.page-app .pt-choices button { min-height: 40px; color: var(--ink); background: var(--sd-card); border: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--hair), 0 2px 6px rgba(27, 26, 23, .06); font: 15px var(--f-ui); cursor: pointer; }
.page-app .pt-try__note { display: grid; align-self: center; justify-items: center; margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; text-align: center; }
.page-app .pt-try__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 4px 2px; }
.page-app .pt-try__foot small { flex: 1 1 180px; color: var(--ink-soft); font-size: 13.5px; }

/* 3. «כרטיס העסק»: one drawn card, each line changed where it is */
.page-app .pt-card { margin: 18px 16px 0; }
/* «עמוק» (19.11.2026) puts it in «העסק», over the group's rows: a gap under it (20.11.2026: its tilted corner sat on «על העסק») */
.page-app .sd-group > .pt-card { margin-bottom: 18px; }
.page-app .pt-bc { position: relative; padding: 20px 18px 14px; background: var(--ivory); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 0 1px 0 rgba(27, 26, 23, .05), 0 18px 34px rgba(27, 26, 23, .13); rotate: -1.4deg; transition: rotate .4s var(--sd-ease); }
.page-app .pt-bc:focus-within, .page-app .pt-bc:hover { rotate: 0deg; }
.page-app .pt-bc__obj { position: absolute; top: -26px; inset-inline-end: 12px; width: 76px; filter: drop-shadow(0 8px 12px rgba(27, 26, 23, .16)); }
.page-app .pt-bc__head { display: grid; gap: 2px; padding-inline-end: 84px; }
.page-app .pt-bc__name, .page-app .pt-bc__kind { padding: 2px 0; color: var(--ink); background: none; border: 0; border-radius: 8px; text-align: start; cursor: text; }
.page-app .pt-bc__name { font: 27px/1.12 var(--f-display); overflow-wrap: anywhere; }
.page-app .pt-bc__kind { color: var(--ink-soft); font: 16px var(--f-ui); }
/* the card's name and «+ סוג העסק» look as words, and are tapped as buttons: 44px around them (19.11.2026 QA: 38 and 29) */
.page-app :is(.pt-bc__name, .pt-bc__kind) { position: relative; }
.page-app :is(.pt-bc__name, .pt-bc__kind)::after { content: ""; position: absolute; inset: min(0px, (100% - 44px) / 2) -6px; }
.page-app .pt-bc__lines { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.page-app .pt-line { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 12px; padding: 4px 6px; color: var(--ink); background: none; border: 0; border-radius: 12px; font: 15.5px/1.4 var(--f-body); text-align: start; cursor: text; transition: background .18s; }
.page-app .pt-line span { min-width: 0; overflow-wrap: anywhere; }
.page-app .pt-line:hover, .page-app .pt-bc__name:hover, .page-app .pt-bc__kind:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.page-app .pt-line .pt-pic { flex: none; width: 30px; }
/* «מה השתנה באתר?» under the website's address, from where its words start (settings-parts.js cardPart) */
.page-app .pt-check { padding-inline-start: 48px; }
.page-app .pt-check .pt-hint { margin-top: 0; }
.page-app .pt-bc li:has(.pt-in), .page-app .pt-bc__head > div:has(.pt-in) { display: grid; gap: 8px; padding: 6px 0; }

/* 4. «מה הבוט עוד לא יודע»: one question at a time, the rest stacked under it */
.page-app .pt-gap { margin: 0 0 14px; }
.page-app .sd-pbody > .pt-gap { margin: 18px 16px 0; }
/* «עמוק» (19.11.2026) puts it between the groups, under the bot's switch: their own sides and rhythm (20.11.2026: it ran the
   screen's whole width, its title under the switch's card) */
.page-app .sd-tree > .pt-gap { margin: 22px 16px 0; }
.page-app .pt-card > .pt-site { margin: 22px 0 0; }
.page-app .pt-gap__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 0 8px 10px; }
.page-app .pt-gap__head b { font: 17px var(--f-ui); font-weight: 400; }
.page-app .pt-gap__head small { color: var(--ink-soft); font-size: 13.5px; }
.page-app .pt-stack { position: relative; isolation: isolate; }
.page-app .pt-stack.has-more::before, .page-app .pt-stack.has-more::after { position: absolute; z-index: -1; inset: 0; content: ""; transform-origin: 50% 100%; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); }
.page-app .pt-stack.has-more::before { opacity: .55; transform: translateY(14px) scale(.92); }
.page-app .pt-stack.has-more::after { opacity: .85; transform: translateY(7px) scale(.96); }
.page-app .pt-q { position: relative; padding: 16px; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); }
.page-app .pt-q.is-leaving { opacity: 0; transform: translateX(-115%) rotate(-5deg); transition: transform .32s cubic-bezier(.4, 0, .6, 1), opacity .32s; }
.page-app .pt-q.is-arriving { animation: sd-arrive .45s var(--sd-ease) both; }
.page-app .pt-q__obj { position: absolute; top: 12px; inset-inline-end: 12px; width: 44px; }
.page-app .pt-q__who { margin: 0 0 8px; padding-inline-end: 52px; color: var(--ink-soft); font-size: 14.5px; }
.page-app .pt-bub { width: fit-content; max-width: 88%; margin: 0 0 12px; padding: 8px 14px; background: var(--ivory); border-radius: 16px; border-start-start-radius: 4px; font: 17px/1.45 var(--f-ui); overflow-wrap: anywhere; }
.page-app .pt-q__ans { display: grid; gap: 6px; }
.page-app .pt-q__ans > span { font: 15px var(--f-ui); }
.page-app .pt-q .pt-row { margin-top: 10px; }
.page-app .pt-gap__more { margin: 20px 0 0; color: var(--ink-soft); font-size: 14px; text-align: center; }

/* 5. «מה השתנה לאחרונה»: a card a change, «לבטל» on the newest of each */
.page-app .pt-ch { margin: 12px 16px 0; padding: 14px 16px; background: var(--sd-card); border-radius: 22px; box-shadow: var(--sd-shadow); animation: sd-up .42s var(--sd-ease) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
.page-app .pt-ch header { display: flex; align-items: center; gap: 12px; }
.page-app .pt-ch header .pt-pic { flex: none; width: 40px; }
.page-app .pt-ch header b { display: block; font: 17px/1.3 var(--f-ui); font-weight: 400; }
.page-app .pt-ch header small { display: block; color: var(--ink-soft); font-size: 13.5px; }
.page-app .pt-ch.is-undone header b { color: var(--ink-soft); }
.page-app .pt-ch__vals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.page-app .pt-ch__vals.is-long { grid-template-columns: minmax(0, 1fr); }
.page-app .pt-val { padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; }
.page-app .pt-val small { display: block; margin-bottom: 2px; color: var(--ink-soft); font-size: 13px; }
.page-app .pt-val del { color: var(--ink-soft); text-decoration-thickness: 1.5px; }
.page-app .pt-val mark { padding: 0 .08em; color: inherit; background: linear-gradient(transparent 56%, var(--yellow) 56% 92%, transparent 92%); }
.page-app .pt-all { margin: 26px 16px 0; text-align: center; }
.page-app .pt-sure { margin: 8px 0 0; padding: 14px 16px; background: var(--ivory); border-radius: 20px; text-align: start; }
.page-app .pt-sure p { margin: 0 0 8px; }

/* 6. «מה שהיה רק בצ׳אט»: a row with its control in it, and the chat's words under it */
.page-app .sd-row.pt-crow { display: block; min-height: 0; padding: 14px; cursor: default; }
.page-app .sd-row.pt-crow:active { transform: none; }
.page-app .pt-crow__top { display: flex; align-items: center; gap: 12px; }
.page-app .pt-crow__ctl { margin-top: 12px; }
.page-app .pt-more { justify-self: start; }
.page-app .pt-date { align-items: center; }
.page-app .pt-date .pt-in { flex: 1 1 170px; width: auto; min-height: 44px; padding-block: 8px; }
.page-app .pt-nudges { display: grid; gap: 10px; }
.page-app .pt-nudge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.page-app .pt-nudge > :is(input, .pt-link) { grid-column: 1 / -1; }
.page-app .pt-nudge > .pt-link { justify-self: start; min-height: 36px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-app .pt-pic { mix-blend-mode: normal; }
  :root:not([data-theme="light"]) .page-app .pt-bc__obj { filter: none; }
  :root:not([data-theme="light"]) .page-app .pt-btn--yes { box-shadow: 0 8px 22px rgba(255, 232, 26, .16); }
  :root:not([data-theme="light"]) .page-app .pt-bc { box-shadow: 0 18px 34px rgba(0, 0, 0, .35); }
}
@keyframes pt-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pt-msg { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes pt-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .page-app :is(.pt-mount, .pt-wk__open, .pt-msg, .pt-choices, .pt-typing i, .pt-q, .pt-ch, .pt-bc, .pt-btn) { animation: none !important; transition: none !important; }
}
