/* Text keys, 5.11.2026 («בכל מקום שיש כפתורים כאלה פשוטים תעשה יותר עם נוכחות אבל גם אסתטי ונקי», ג׳ «שורה»); the same as the bot's actions.css.
   Loaded last, over each room's own rules. One class (.linkbtn) is split by what the word is doing where it stands:
     action  – the default: a white paper pill you can see is a button
     quiet   – beside a real key, or the same tool on every row (ביטול, הסרה, הגדרות): an outline, never competes
     danger  – removing something: the err colour, the same shape as quiet
     inline  – inside a sentence or on a dark band: stays an underlined word */

:root {
  --act-bg: var(--sheet);
  --act-bg-hover: #fff;
  --act-edge: 0 0 0 1px rgba(27, 26, 23, 0.075);
  --act-lift: 0 1px 1px rgba(27, 26, 23, 0.04), 0 6px 14px -6px rgba(27, 26, 23, 0.2);
  --act-lift-hover: 0 2px 3px rgba(27, 26, 23, 0.06), 0 10px 20px -8px rgba(27, 26, 23, 0.28);
  --act-quiet-edge: rgba(27, 26, 23, 0.2);
  --act-quiet-hover: rgba(27, 26, 23, 0.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --act-bg: rgba(246, 243, 236, 0.1);
    --act-bg-hover: rgba(246, 243, 236, 0.16);
    --act-edge: inset 0 0 0 0.5px rgba(246, 243, 236, 0.2);
    --act-lift: 0 6px 14px -8px rgba(0, 0, 0, 0.6);
    --act-lift-hover: 0 10px 20px -8px rgba(0, 0, 0, 0.7);
    --act-quiet-edge: rgba(246, 243, 236, 0.26);
    --act-quiet-hover: rgba(246, 243, 236, 0.07);
  }
}

/* ── action ── */
.linkbtn {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  color: var(--ink);
  background: var(--act-bg);
  border: 0;
  border-radius: 999px;
  box-shadow: var(--act-edge), var(--act-lift);
  font: 16px/1.25 var(--f-ui);
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}
@media (hover: hover) {
  html:root .linkbtn:hover {
    background: var(--act-bg-hover);
    box-shadow: var(--act-edge), var(--act-lift-hover);
    text-decoration: none;
    transform: translateY(-1px);
  }
}
html:root .linkbtn:active { transform: scale(0.97); box-shadow: var(--act-edge); opacity: 1; transition-duration: 0.08s; }
html:root .linkbtn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
html:root .linkbtn:disabled { color: var(--ink-soft); background: none; box-shadow: inset 0 0 0 1px var(--act-quiet-edge); transform: none; cursor: not-allowed; }
/* the one that is open: yellow, as before */
html:root .linkbtn[aria-expanded="true"] { color: var(--ink); background: var(--yellow); }

/* ── quiet: beside a real key, on every row, or the way back ── */
html:root :is(.btn ~ .linkbtn, .linkbtn:has(~ .btn), .gate__other, .pay__back, .callchips__seen, .carrier-more, .item__acts > .linkbtn, .weekrow .linkbtn, #push-more .linkbtn, #sub-billing .linkbtn, #sub-cancel .linkbtn, .askchange__btns .linkbtn, .helpline .linkbtn, .apps-rule .linkbtn, #agent-foot .linkbtn, #ag-hook-more .linkbtn, #ag-leads-live .linkbtn, .voicebar__acts .linkbtn) {
  color: var(--ink-2);
  background: none;
  box-shadow: inset 0 0 0 1px var(--act-quiet-edge);
  font-size: 15px;
}
@media (hover: hover) {
  html:root :is(.btn ~ .linkbtn, .linkbtn:has(~ .btn), .gate__other, .pay__back, .callchips__seen, .carrier-more, .item__acts > .linkbtn, .weekrow .linkbtn, #push-more .linkbtn, #sub-billing .linkbtn, #sub-cancel .linkbtn, .askchange__btns .linkbtn, .helpline .linkbtn, .apps-rule .linkbtn, #agent-foot .linkbtn, #ag-hook-more .linkbtn, #ag-leads-live .linkbtn, .voicebar__acts .linkbtn):hover {
    background: var(--act-quiet-hover);
    box-shadow: inset 0 0 0 1px var(--act-quiet-edge);
    transform: none;
  }
}

/* ── small: a line's own tools, where a full key would outweigh the line ── */
html:root :is(.weekrow, .item__acts, .apps-rule, .voicebar__acts, .callchips__seen, .carrier-more) :is(.linkbtn),
html:root :is(.callchips__seen, .carrier-more) { min-height: 36px; padding: 4px 14px; }
html:root :is(.weekrow, .item__acts, .apps-rule, .voicebar__acts) .linkbtn::after,
html:root :is(.callchips__seen, .carrier-more)::after { content: ""; position: absolute; inset: -4px 0; }

/* ── danger: one notch over quiet, or a word that deletes beside a real key reads as «ביטול» ── */
html:root:root :is(#contacts-clear, #delete-ask, #ag-hook-del, [data-apps-remove].linkbtn, .linkbtn[data-remove], .item__acts > .linkbtn, .linkbtn.is-danger) {
  color: var(--err);
  background: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--err) 34%, transparent);
}
@media (hover: hover) {
  html:root:root :is(#contacts-clear, #delete-ask, #ag-hook-del, [data-apps-remove].linkbtn, .linkbtn[data-remove], .item__acts > .linkbtn, .linkbtn.is-danger):hover {
    background: color-mix(in srgb, var(--err) 8%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--err) 50%, transparent);
    transform: none;
  }
}

/* ── inline: inside a sentence, or on a band that has its own colour ── */
html:root :is(.plancard__state, .demobar, .gate__app, #push-help, .loadfail, .tour__acts) .linkbtn {
  display: inline;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
  transform: none;
}
html:root :is(.tour__acts, .demobar, .loadfail) .linkbtn { display: inline-flex; min-height: 44px; }
html:root .plancard__state .linkbtn { color: var(--ink); }

/* ── the underlined ones outside .linkbtn: «לכל השיחות», «ועוד 2 מחכים», what opens more.
   #_ only lifts the weight over a room's own #id rule. A key that opens has a chevron that turns. ── */
html:root :is(.cb-quiet, .slip__all, .agree__read, #login-mail > summary, .codes > summary, .sumprev > summary, .memadd > summary, #_):not([hidden]) {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-inline: 0;
  padding: 6px 16px;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--act-quiet-edge);
  font: 16px/1.25 var(--f-ui);
  text-decoration: none;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s ease;
}
html:root :is(#login-mail, .codes, .sumprev, .memadd, #_) > summary::-webkit-details-marker { display: none; }
html:root :is(#login-mail, .codes, .sumprev, .memadd, #_) > summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-block-start: -3px;
  border: 0;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}
html:root :is(#login-mail, .codes, .sumprev, .memadd, #_)[open] > summary::after { margin-block-start: 3px; transform: rotate(-135deg); }
@media (hover: hover) {
  html:root :is(.cb-quiet, .slip__all, .agree__read, #login-mail > summary, .codes > summary, .sumprev > summary, .memadd > summary, #_):hover { background: var(--act-quiet-hover); text-decoration: none; }
}
html:root :is(.cb-quiet, .slip__all, .agree__read, #login-mail > summary, .codes > summary, .sumprev > summary, .memadd > summary, #_):focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* smaller, under a door's own key */
html:root :is(.fi-more, .fi-in, #_) {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 2px 14px;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--act-quiet-edge);
  font: 14.5px/1.25 var(--f-ui);
  text-decoration: none;
}

/* the row of a sign-in's other ways keeps its centre and its distance */
html:root .gate__other { display: flex; width: fit-content; margin: 12px auto 0; }

@media (prefers-reduced-motion: reduce) {
  .linkbtn { transition: none; }
  html:root .linkbtn:hover, html:root .linkbtn:active { transform: none; }
}

/* ── tiles, 5.11.2026 («זה מידי מלל דחוס», «דברים כאלה אמורים להיות מתוחמים»); the language of the bot's «תיק»
   (app-rooms.css .cc-fact): each thing in its own tile, a small grey word over its value. Short ones pair up, a long one
   takes the row (app.js factGrid). What has passed and matters less: the same shape, outlined. ── */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 10px; margin: 0; }
.fact--wide { grid-column: 1 / -1; }
.fact { display: grid; align-content: start; gap: 2px; min-width: 0; margin: 0; padding: 14px 16px; background: var(--ivory); border-radius: 18px; }
.fact--past { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); }
.fact__k { color: var(--ink-soft); font: 14.5px/1.3 var(--f-ui); }
.fact__v { margin: 0; color: var(--ink); font: 16px/1.4 var(--f-ui); overflow-wrap: anywhere; }
.fact__v[dir="ltr"] { justify-self: start; }
.fact--big .fact__v { font: 22px/1.3 var(--f-display); font-variant-numeric: tabular-nums lining-nums; }
.fact__act { justify-self: start; margin-top: 10px; }
#sub-receipts { display: grid; gap: 8px; margin-top: 10px; }
/* 8.11.2026, as the bot's (PR 52, «שהכל יראה יותר מקובע… קווים ברורים ומתוחמים»): in a caller's card and a call's own
   screen each fact stands in its own clear frame on the paper; what has passed keeps its quieter line */
:is(.item__body, .callsum, .callscreen, .callpane) .fact:not(.fact--past) { background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
/* one short fact of one thing (a call's length): a chip, not a line joined by «·» */
.fact-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: var(--ink); background: var(--ivory); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 15px/1.2 var(--f-ui); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* a payment: a boxed row, when, what and how much in their own places, its receipt's number at its end */
.pay-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 16px; background: var(--ivory); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.pay-row__at, .pay-row__no { color: var(--ink-2); font: 15px/1.4 var(--f-ui); font-variant-numeric: tabular-nums; }
.pay-row__what { flex: 1 1 14ch; min-width: 0; }
.pay-row__ils { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* a price beside its words, as its own small tag; on a key of the payment window just its bold */
.fee { display: inline-block; margin-inline-start: 8px; padding: 1px 10px; color: var(--ink); background: color-mix(in srgb, var(--yellow) 28%, var(--sheet)); border-radius: 999px; font: inherit; font-weight: 600; white-space: nowrap; }
.seg .fee { margin-inline-start: 6px; padding: 0; background: none; }
#details-now:empty { display: none; }
:is(.slip, .plancard, .calltalk, .item__body) .facts, .plancard > .fact, .editor > #act-block > .fact { margin-top: 12px; }
#act-block > .fact + .editor__acts { margin-top: 14px; }
.monthfacts { margin-top: 18px; }
.apptstate:not([hidden]) { margin-top: 2px; }
.slip__meta { margin-top: 4px; }
.row--appt .row__value { white-space: normal; }
#conn { white-space: pre-line; }

/* the same tile on what was already a line of its own */
html:root .connrow, html:root .learned li, html:root :is(#agent-state, #tasks-state):has(.state__sub:not(:empty)), html.lg #lead-reminder, html:root .callwhy { padding: 14px 16px; background: var(--ivory); border-radius: 18px; }
html:root .connrow { overflow-wrap: anywhere; }
html:root .learned li { position: relative; display: block; padding-inline-end: 44px; }
html:root .learned .xbtn { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; }
html:root .callwhy { margin-top: 0; gap: 2px; }
html:root .callwhy .calltalk__label { margin: 0; color: var(--ink-soft); font: 14.5px/1.3 var(--f-ui); }
html:root .callwhy .callrow__what { padding: 0; color: var(--ink); background: none; border: 0; font: 16px/1.4 var(--f-ui); }
html:root .callwhy > .linkbtn { margin-top: 8px; }
html:root .callwhy > .linkbtn + .linkbtn { margin-top: 2px; }
/* the line that was over «חזרתי» belonged to the quiet rows, and this one is not */
html:root :is(.callscreen, .callpane) .callscreen__handled > button { border-top: 0; }

/* what a list means, a chip to each: joined by «·» it broke mid-sentence under the road's picture */
html:root .cpath__note { display: flex; flex-wrap: wrap; gap: 6px; }
html:root .cpath__note > span { padding: 3px 10px; color: var(--ink-2); background: var(--ivory); border-radius: 12px; font: 15px/1.35 var(--f-ui); }

/* numbers and people: a line each, no stripes between them, its × always in sight (7.11.2026, Achiya on the contacts:
   «יש מקומות בעיצוב של עונים לי שזה מידי ארוך»; three keys under every name made a person 114px tall, and the drawing,
   its chips and the form pushed the first one under the fold). Chosen from three at long-lists.onimli.pages.dev («א׳ נפתחת»):
     • the list is the screen: the drawing explains an empty list only, and adding waits behind one line
     • a person's rare keys open in their own line; removing is always in sight and is undone from the toast */
.numlist { display: grid; gap: 8px; }
.numlist .numrow { gap: 10px 12px; min-height: 56px; max-height: 160px; padding-block: 6px; padding-inline: 16px 6px; background: var(--ivory); border: 0; border-radius: 18px; }
.numrow__num { white-space: nowrap; }

:is(#ed-contacts:has(#contacts-list > .numrow), #ed-blocked:has(#blocked-list > .numrow)) :is(.cpath, .cpath__note) { display: none; }
#ed-contacts:not(.is-adding) :is(#contacts-new, #contacts-new + .editor__acts, #contacts-ios),
#ed-blocked:not(.is-adding) :is(label[for="blocked-input"], #blocked-input, #blocked-pick, .file-pick, #blocked-input ~ .editor__acts) { display: none; }
:is(#ed-contacts, #ed-blocked).is-adding :is(#contacts-new, label[for="blocked-input"]) { margin-top: 12px; }
:is(#ed-contacts, #ed-blocked, #ed-hangups) .editor__acts [data-close], #ed-hangups > .editor__acts { display: none; }   /* the sheet's × closes */
:is(#contacts-status, #blocked-status):empty { display: none; }

.numadd {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; column-gap: 12px;
  width: 100%; min-height: 60px; margin: 16px 0 0; padding: 8px 14px;
  color: var(--ink); background: none; border: 0; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font: 16.5px/1.25 var(--f-ui); text-align: start; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color .16s ease, transform .12s ease;
}
.numadd:active { transform: scale(.985); }
.numadd__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17; }
.numadd__ic .i { width: 18px; height: 18px; }
.numadd__go { width: 9px; height: 9px; justify-self: center; border-right: 1.8px solid var(--ink-soft); border-bottom: 1.8px solid var(--ink-soft); transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.numadd[aria-expanded="true"] { background: var(--ivory); box-shadow: none; }
.numadd[aria-expanded="true"] .numadd__ic { color: var(--ink); background: var(--ivory); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.numadd[aria-expanded="true"] .numadd__go { transform: translateY(2px) rotate(-135deg); }

/* one quiet search that stays on top while the list scrolls, clear of the sheet's × */
#contacts-filter:not([hidden]) {
  position: sticky; top: 0; z-index: 6; display: block; width: 100%; height: 48px; margin: 12px 0 10px; padding: 0 46px 0 56px;
  color: var(--ink); border: 0; border-radius: 16px; -webkit-appearance: none; appearance: none; font: 16.5px/1.3 var(--f-body);
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a7a2' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.6-4.6'/%3E%3C/svg%3E") no-repeat right 15px center / 19px 19px;
}
#contacts-filter::placeholder { color: var(--ink-soft); }
#contacts-filter:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 0; }
.sheet__close { z-index: 8; }

/* a person: the first letter, the name over the number, the ×; a tap opens «לשנות שם» and «לחסום» under them */
#contacts-list > .numrow {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 44px; align-items: center; column-gap: 12px; row-gap: 0;
  min-height: 60px; max-height: 240px; padding-block: 8px; padding-inline: 14px 6px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
#contacts-list > .numrow:active:not(:has(:is(button, input):active)) { transform: scale(.988); }
#contacts-list > .numrow.is-open { background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 12px 26px -16px rgba(0, 0, 0, .4); }
#contacts-list .numrow__who--stack { gap: 1px; font: inherit; }
#contacts-list .numrow__who--stack > span:first-child { overflow: hidden; font: 16.5px/1.3 var(--f-ui); white-space: nowrap; text-overflow: ellipsis; }
#contacts-list .numrow__num { font: 14px/1.3 var(--f-body); color: var(--ink-soft); }
.numrow__av {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink); background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font: 17px/1 var(--f-ui); transition: background-color .18s ease, box-shadow .18s ease;
}
.numrow.is-open .numrow__av { color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17; }
.numrow__more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .22s cubic-bezier(.32, .72, 0, 1), visibility 0s .22s; }
.numrow.is-open .numrow__more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .22s cubic-bezier(.32, .72, 0, 1); }
.numrow__keys { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; overflow: hidden; padding-inline-start: 52px; }
.numrow__keys::before { content: ""; flex-basis: 100%; height: 10px; }
.numrow__keys::after { content: ""; flex-basis: 100%; height: 6px; }
.numrow.is-editing .numrow__x { visibility: hidden; }

/* a key on a line: drawn, 44 to the finger */
.numrow__x {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0;
  color: var(--ink-soft); background: none; border: 0; border-radius: 50%; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color .14s ease, color .14s ease, transform .1s ease;
}
.numrow__x .i { width: 16px; height: 16px; }
.numrow__x:active { transform: scale(.9); background: var(--act-quiet-hover); }
@media (hover: hover) { .numrow__x:hover { color: var(--err); background: color-mix(in srgb, var(--err) 9%, transparent); } }
:is(.numrow__x, .numrow__key, .numadd, .hangups__key):focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.numrow__key {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding-block: 4px; padding-inline: 16px 14px;
  color: var(--ink-2); background: none; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--act-quiet-edge);
  font: 15px/1.2 var(--f-ui); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color .14s ease, transform .1s ease;
}
.numrow__key .i { width: 15px; height: 15px; }
.numrow__key:active { transform: scale(.96); }
.numrow__key--danger { color: var(--err); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--err) 38%, transparent); }
.numrow__key--go { color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17; }
.numrow__edit {
  width: 100%; min-width: 0; height: 40px; margin: 0; padding: 0 12px; color: var(--ink);
  background: var(--field-white, #fff); border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ink); font: 16.5px/1.2 var(--f-ui);
}
.numrow__edit:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px color-mix(in srgb, var(--yellow) 45%, transparent); }

/* who hung up: a line each, the call back and WhatsApp as round drawn keys on it (was a card 143px tall).
   «למי עוד לא חזרתם» keeps its big card (#callback-list, chosen 4.11) */
#hangups-list { gap: 8px; }
#hangups-list > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who keys" "when keys"; align-items: center; column-gap: 10px;
  min-height: 64px; padding-block: 8px; padding-inline: 16px 8px; background: var(--ivory); border: 0; border-radius: 18px;
}
#hangups-list .hangups__who { grid-area: who; overflow: hidden; font: 16.5px/1.3 var(--f-ui); white-space: nowrap; text-overflow: ellipsis; }
#hangups-list .hangups__when { grid-area: when; margin: 0; font: 14px/1.3 var(--f-body); }
#hangups-list .hangups__keys { grid-area: keys; display: flex; gap: 8px; margin: 0; }
.hangups__key {
  display: grid; place-items: center; width: 46px; height: 46px; color: var(--ink); background: var(--sheet); border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); -webkit-tap-highlight-color: transparent; transition: transform .1s ease;
}
.hangups__key:active { transform: scale(.92); }
.hangups__key .i { width: 19px; height: 19px; }
.hangups__key--go { color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17; }

/* a line leaving folds away instead of jumping; one just added lights up where it landed */
.numrow.is-leaving { overflow: hidden; animation: numrow-leave .2s ease forwards; pointer-events: none; }
@keyframes numrow-leave { to { opacity: 0; min-height: 0; max-height: 0; padding-block: 0; margin-block: -4px; } }
.numrow.is-new .numrow__av { animation: numrow-hello .9s ease; }
@keyframes numrow-hello { 0%, 40% { color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17, 0 0 0 6px color-mix(in srgb, var(--yellow) 30%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  :is(.numrow__more, .numrow__av, .numadd, .numadd__go, .numrow__x, .numrow__key, .hangups__key) { transition: none !important; }
  .numrow.is-leaving, .numrow.is-new .numrow__av { animation: none !important; }
}

/* a list's row: the name and the time on one line, the tags on their own, the words under them. Three in one line cut
   the number short («0-000-0202...»), and with a date they broke somewhere different on every row */
html:root:root :is(#calls-list, .rowlist) .callrow__top { flex-wrap: wrap; gap: 6px 8px; }
html:root:root :is(#calls-list, .rowlist) .callrow__who { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html:root:root :is(#calls-list, .rowlist) .callrow__when { order: 0; flex: none; margin-inline-start: 0; }
html:root:root :is(#calls-list, .rowlist) .callrow__top > :is(.badge, .tstate) { order: 2; }
html:root:root :is(#calls-list, .rowlist) .callrow__top:has(> :is(.badge, .tstate))::after { content: ""; order: 1; flex-basis: 100%; height: 0; }

/* «הקלטת השיחות»: the note takes the whole width, or three sentences stand in a column a third of the row wide */
#record-row .toggle__text { display: contents; }
#record-row small { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; font: 14.5px/1.5 var(--f-body); color: var(--ink-soft); }
#record-row > input { grid-row: 1; grid-column: 3; }

/* «א׳ נפתחת» in the notifications (7.11.2026, «מידי ארוך»): a row is one line, its picture, its name, where it comes
   and its switch; a tap opens the rest under it (app.js notifyRow). #nset-types leads every rule: the editor's own
   label rules weigh (0,4,1) */
#nset-types { display: grid; gap: 8px; }
#nset-types .nrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px;
  min-height: 60px; padding-inline-end: 10px; background: var(--ivory); border-radius: 18px;
  transition: background-color .18s ease, box-shadow .18s ease;
}
#nset-types .nrow.is-open { background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 12px 26px -16px rgba(0, 0, 0, .4); }
#nset-types .nrow__head {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 12px;
  min-height: 60px; margin: 0; padding: 8px 0; padding-inline-start: 14px;
  color: var(--ink); background: none; border: 0; border-radius: 18px; font: inherit; text-align: start; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .12s ease;
}
#nset-types .nrow.is-kept .nrow__head { grid-column: 1 / -1; }
#nset-types .nrow__head:active { transform: scale(.985); }
#nset-types .nrow__head:focus-visible { outline: 2.5px solid var(--ink); outline-offset: -2px; }
#nset-types .nrow__ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink); background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color .18s ease, box-shadow .18s ease;
}
#nset-types .nrow__ic .i { width: 20px; height: 20px; }
#nset-types .nrow.is-open .nrow__ic { color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17; }
#nset-types .nrow__txt { display: grid; gap: 1px; min-width: 0; }
#nset-types .nrow__txt b { font: 16.5px/1.3 var(--f-ui); }
#nset-types .nrow__txt small { font: 14px/1.35 var(--f-body); color: var(--ink-soft); }
#nset-types .nrow.is-off :is(.nrow__ic, .nrow__txt) { opacity: .55; }
#nset-types .nrow__go { grid-column: 3; width: 9px; height: 9px; margin-inline: 8px 10px; border-right: 1.8px solid var(--ink-soft); border-bottom: 1.8px solid var(--ink-soft); transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
#nset-types .nrow.is-open .nrow__go { transform: translateY(2px) rotate(-135deg); }
#nset-types .nrow__sw { display: flex; gap: 0; }
#nset-types .nrow__more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .22s cubic-bezier(.32, .72, 0, 1), visibility 0s .22s; }
#nset-types .nrow.is-open .nrow__more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .22s cubic-bezier(.32, .72, 0, 1); }
#nset-types .nrow__in { min-height: 0; overflow: hidden; padding-inline-start: 66px; }   /* under the words: 14 + 40 + 12 */
#nset-types .nrow__what { margin: 0; font: 14.5px/1.4 var(--f-body); color: var(--ink-soft); }
#nset-types .nrow__in > .nset__where { gap: 6px; margin-top: 10px; }
#nset-types .nrow__in .nset__where .chip { min-height: 40px; padding: 6px 9px; }   /* the three places on one line at 390 */
#nset-types .nrow__in > .nset__snd { margin-top: 8px; }
#nset-types .nrow__in > .nset__subrow { margin-top: 10px; padding: 0 !important; border: 0 !important; }
#nset-types .nrow__in > :last-child { margin-bottom: 14px; }
#nset-types .nrow > .nset__why { grid-column: 1 / -1; margin: -4px 0 12px; padding-inline-start: 66px; }

/* «א׳ נפתחת» in «שיחות» and «ספאם» (8.11.2026, «מידי ארוך»): which calls and which day are one line that stays on
   top while the list scrolls; a row is two lines, its name and time, then its tags and its words (app.js appCallRow);
   «סימון הכל כנקרא» ends the first day's line (renderCallGroups); in «ספאם» a call opens in its place (spamOpen) */
html:root:root #calls-toolbar:not([hidden]) { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
html:root:root #calls-toolbar .callchips { flex: 1 1 auto; min-width: 0; margin: 0; }
html:root:root #calls-toolbar .filters { flex: none; margin: 0; }
html:root:root #calls-toolbar .callchips__seen { display: none; }
/* four keys beside the round one: each as wide as its words (Safari's letters are wider than Chrome's, and four equal
   quarters pushed «2 פתוחות» past the screen's edge) */
html:root:root #calls-toolbar .callchips .chip { flex: 1 1 auto; padding-inline: 6px; }
html:root:root #calls-toolbar .datepick {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: clip;   /* Safari: the hidden select inside is wider than the key */
  color: var(--ink); background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
html:root:root #calls-toolbar .datepick .i { width: 22px; height: 22px; }
/* the dropdown's own key (app.js fancySelect) lies over the round key, its words unseen: its name says the day */
html:root:root #calls-toolbar .datepick .pick { position: absolute; inset: 0; min-height: 0; padding: 0; border-radius: 50%; color: transparent; background: none; box-shadow: none; }
html:root:root #calls-toolbar .datepick .pick > :is(.pick__text, .pick__chev, .pick__label) { display: none; }
html:root:root #calls-toolbar .datepick.is-set { color: #1b1a17; background: var(--yellow); box-shadow: inset 0 0 0 1.5px #1b1a17; }
@media (max-width: 899px) {
  html:root:root #calls-toolbar:not([hidden]) { position: sticky; top: 61px; z-index: 6; margin-inline: -16px; padding: 8px 16px; background: var(--page); }
}
html:root:root .callday { margin-top: 16px; }
html:root:root .callday__head { justify-content: flex-start; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 4px; }
html:root:root .callday__seen { margin-inline-start: auto; min-height: 36px; padding: 4px 12px; color: var(--ink-soft); font-size: 14.5px; }
html:root:root :is(#calls-list .rowlist, #calls-list .callline, #spam-calls-list, #acalls-list, #tasks-list) > .callrow { gap: 3px; padding-block: 11px; }
html:root:root :is(#calls-list .rowlist, #calls-list .callline, #spam-calls-list, #acalls-list, #tasks-list) > .callrow > .callrow__what {
  display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; overflow: hidden; white-space: nowrap;
  font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); -webkit-line-clamp: unset;
}
html:root:root :is(#calls-list .rowlist, #calls-list .callline, #spam-calls-list, #acalls-list, #tasks-list) > .callrow > .callrow__what > :is(.badge, .tstate) { flex: none; }
html:root:root :is(#calls-list .rowlist, #spam-calls-list, #acalls-list, #tasks-list) .callrow__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* «ספאם»: a row opens under itself, why it was filtered and «צדק?» */
html:root:root #spam-calls-list > .callrow { position: relative; padding-inline-end: 40px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html:root:root #spam-calls-list > .callrow::after {
  content: ""; position: absolute; inset-inline-end: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 1.8px solid var(--ink-soft); border-bottom: 1.8px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
html:root:root #spam-calls-list > .callrow.is-open { background: var(--ivory); }
html:root:root #spam-calls-list > .callrow.is-open::after { transform: translateY(-30%) rotate(-135deg); }
html:root:root #spam-calls-list > .callrow:focus-visible { outline: 2.5px solid var(--ink); outline-offset: -2px; }
html:root:root #spam-calls-list > .spamopen { display: grid; gap: 10px; padding: 4px 16px 14px; background: var(--ivory); animation: spamopen .22s cubic-bezier(.32, .72, 0, 1); }
html:root:root #spam-calls-list > .spamopen .callwhy { padding: 0; background: none; border: 0; }
html:root:root #spam-calls-list > .spamopen .verdict { margin: 0; }
html:root:root #spam-calls-list > .spamopen .linkbtn { justify-self: start; }
@keyframes spamopen { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { html:root:root #spam-calls-list > .spamopen { animation: none; } html:root:root #spam-calls-list > .callrow::after { transition: none; } }

/* «א׳ נפתחת» in the products' rooms (8.11.2026, round 4): the drawing at the top of «בשבילכם» explains an empty room,
   so it waits for one; with calls in it, the list comes up (products.js taskRow and acallRow are two lines, as «שיחות») */
html:root:root #room-tasks:has(#tasks-list > .callrow) > .ink-scene { display: none; }
html:root:root #sd-alerts .sd-alday { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
html:root:root #sd-alerts .sd-alday > .sd-alall { margin: 0; min-height: 36px; padding: 4px 14px; font-size: 14.5px; }

/* ── Bounded, 9.11.2026 (Achiya, on the bot's «תורים»: «אסור שיהיה משהו כזה ארוך … ותחקור על כל המערכת אם יש עוד מקומות
   כאלה … שכל הגדרה לא תראה נבלעת ולא מתוחמת וגם לא מקום ארוך בלי סוף כמו מגילה»). Every setting stands in the frame of
   8.11's facts: white paper inside a clear line (--sheet, an inset 1.5px --line-strong, radius 18); ivory stays for what
   sits inside a frame. The same in the bot's bounds.css. ── */

/* the picture rows of the assistant's room and of the account are tiles, three in a row on a wide screen and two on a
   phone: the object on top, its word, its value under it. A row that holds its own keys or switch (this phone's alerts,
   recording, Face ID) takes the whole row in the same frame. The road's line goes: a grid has no one road to draw.
   A last row that is not full shares its width (flex), so no tile stands beside a hole. */
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more) {
  --tile: calc((100% - 10px) / 2);
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; max-width: none;
}
@media (min-width: 900px) { html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more) { --tile: calc((100% - 20px) / 3); } }
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more) > * { flex: 1 1 100%; min-width: 0; }
html:root #pp-more:not([hidden]) { display: contents; }   /* its one row is a tile among the others */
html:root #agent-road::before, html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more) > *::before { content: none; }
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) {
  flex: 1 1 var(--tile); container-type: inline-size; grid-template-columns: auto minmax(0, 1fr); align-content: start; justify-items: start; column-gap: 14px; row-gap: 2px;
  min-height: 0; padding: 12px 16px 14px; background: var(--sheet); border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > * { grid-column: 1 / -1; }
/* a tile alone on its row (an odd one on a phone, a pair on a wide screen) lays its object beside its words: a long
   low frame, not a tall empty one */
@container (min-width: 300px) {
  html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > .stop__pic { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; }
  html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > :is(.stop__label, .stop__val) { grid-column: 2; }
  html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:has(> .stop__val:empty) > .stop__label { grid-row: 1 / span 2; align-self: center; }
}
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > .stop__pic {
  justify-self: start; width: 64px; height: 52px; margin-bottom: 6px; background: none;
}
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > .stop__pic img { width: 64px; height: 52px; }
html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > .stop__val {
  justify-self: start; justify-content: flex-start; max-width: 100%; text-align: start;
}
@media (max-width: 599px) {   /* a phone: the same tile, a size down, so nine of them stay a short page */
  html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) { padding: 10px 14px 12px; }
  html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > .stop__pic { width: 56px; height: 44px; margin-bottom: 4px; }
  html:root :is(#agent-road, #account-rows, #pp-rows-list, #account-more, #pp-more) > .stop:not(.stop--push, .stop--switch, .stop--answer) > .stop__pic img { width: 56px; height: 44px; }
}
html:root #account-rows > :is(.stop--push, .stop--switch) {
  --rail: 60px; min-height: 76px; padding-block: 8px; padding-inline: 10px 16px;
  background: var(--sheet); border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
html:root #account-rows > :is(.stop--push, .stop--switch) > .stop__pic { height: 56px; background: none; }
html:root #account-rows > :is(.stop--push, .stop--switch) > .stop__pic img { width: 56px; height: 48px; }
html:root #account-rows > .stop--push > :is(.push__more, .push__help) { margin-top: -4px; padding-bottom: 2px; }
/* the other devices, and in «ספאם» the numbers you marked: a frame with its title on top, the rows inside it */
html:root :is(#push-others, #trusted-wrap, #muted-wrap):not([hidden]) {
  display: block; padding: 12px 16px 14px; background: var(--sheet); border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
html:root :is(#trusted-wrap, #muted-wrap):not([hidden]) { margin-top: 12px; }
html:root :is(#push-others, #trusted-wrap, #muted-wrap) > .help { margin: 0 0 8px; }
html:root :is(#push-others, #trusted-wrap, #muted-wrap) > .help strong { display: block; color: var(--ink); font: 16px/1.35 var(--f-ui); }
/* the end of her road: her logo and «נועה עונה» head the chat you try her in, which stands in the same frame */
html:root #agent-road > .stop--answer { grid-template-columns: 56px minmax(0, 1fr); min-height: 0; margin-top: 12px; padding-inline: 2px; }
html:root #agent-road > .stop--answer > .stop__pic { width: 56px; height: 56px; background: none; }
html:root #agent-road > .stop--answer > .stop__pic::after { inset: 5px; }
html:root #agent-road > .stop--answer > .stop__label { font: 20px/1.25 var(--f-ui); }
html:root #agent-road > #agent-try { margin: 0; padding: 16px; background: var(--sheet); border: 0; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
html:root #agent-try > .voicebar { padding: 0 0 12px; background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; box-shadow: none; }   /* the frame is the card's: no box inside it */
html:root #room-agent > .agentlive { max-width: none; }   /* as wide as the tiles under it */
/* the packs two by two once the plan card is wide (a computer): half the rows, the same buttons */
html:root .plancard { container-type: inline-size; }
@container (min-width: 560px) { html:root .plancard > .pplist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home: who waits after the first, in one frame with its title, three of them and «עוד» to the rest (simple.js paintHome) */
html:root .sd-chats { margin-top: 22px; padding: 4px 12px; background: var(--sheet); border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
html:root .sd-chats > .sd-quiet { margin: 10px 6px 2px; }
html:root .sd-chats > .sd-chat + :is(.sd-chat, .sd-more) { border-top: 1px solid var(--hair); }
html:root .sd-chats > .sd-more { display: flex; align-items: center; min-height: 48px; padding: 0 6px; color: var(--ink); font: 16px/1.3 var(--f-ui); text-decoration: none; }
html:root .sd-chats > .sd-more::after { content: ""; flex: none; width: 8px; height: 8px; margin-inline-start: auto; border-bottom: 1.8px solid var(--ink-soft); border-left: 1.8px solid var(--ink-soft); transform: rotate(45deg); }

/* «עזרה ותנאים»: the help line in a frame of its own, and the links one frame of rows, not a column of loose words */
html:root #ed-help .helpline > p:first-child { display: flex; align-items: center; gap: 10px; min-height: 56px; margin: 0; padding: 8px 16px; background: var(--sheet); border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 16px; }
html:root #ed-help .helpline nav { display: grid; gap: 1px; margin-top: 12px; overflow: hidden; background: var(--hair); border-radius: 18px; box-shadow: 0 0 0 1.5px var(--line-strong); }
html:root #ed-help .helpline nav a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; background: var(--sheet); font-size: 16px; text-decoration: none; }
html:root #ed-help .helpline nav a::after { content: ""; flex: none; width: 8px; height: 8px; margin-inline-start: auto; border-bottom: 1.8px solid var(--ink-soft); border-left: 1.8px solid var(--ink-soft); transform: rotate(45deg); }
html:root #ed-help .helpline > p:last-child { margin-top: 14px; }

/* a sheet of several settings (when away, ring time, the test call): a part the board did not make a tile of (a list,
   dates, the calendar) stands in a frame like the board's tiles beside it, not as one run split by dashes. A legend in a
   padded frame would sit on its top line, so it floats into the frame as its title */
html:root:root .sheet .editor__part { padding: 13px 16px 16px; background: var(--sheet); border-radius: 20px; box-shadow: 0 0 0 1px var(--hair); }
html:root:root .sheet .editor__part + .editor__part { margin-top: 12px; padding-top: 13px; border-top: 0; }
/* a part whose lines are all hidden for now (the connection test once the line answers) shows no empty frame */
html:root:root .sheet .editor__part:not(:has(> :not([hidden], .editor__acts, .msg:empty), > .editor__acts > :not([hidden]))) { padding: 0; background: none; box-shadow: none; }
html:root:root .sheet .awayparts { margin-block: 12px; }
html:root:root .sheet fieldset.editor__part > legend { float: inline-start; width: 100%; margin: 0 0 4px; }
html:root:root .sheet fieldset.editor__part > legend + * { clear: both; }
/* the dates of a pause ahead: two in a row only where both fit whole (products.css's three-column .pair of the hours
   reached here and cut «10.11.2026» to «0.11.2026») */
html:root:root #ed-away .pair { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: 10px; margin-top: 8px; }

/* the settings on a wide screen: the groups in two columns, read down the first and then the second */
@media (min-width: 900px) {
  html:root #sd-tree { columns: 2; column-gap: 16px; margin-top: 22px; }
  html:root #sd-tree > .sd-group { margin: 0 0 22px; break-inside: avoid; }
}
