/* ════════════════════════════════════════════════════════════════════════
   Koma — how the approved system is assembled in the real app.
   koma.css and koma-mobile.css are the system itself (tokens + components, ported 1:1).
   This file holds what the prototype did not need: the shell wiring, the phone breakpoint, the real file
   previews (no thumbnail service, so no drawings), native selects, skeleton sizes, the sign-in screens.
   Tokens only, logical properties only. Rules for new screens are scoped with :where(.k).
   ════════════════════════════════════════════════════════════════════════ */

/* ───────── 1. base ───────── */
#app{block-size:100%}
.k-sprite{position:absolute;inline-size:0;block-size:0;overflow:hidden}
.skip-link{position:absolute;inset-inline-start:var(--sp-3);inset-block-start:-64px;z-index:100;padding:var(--sp-2) var(--sp-3);border-radius:var(--r-md);background:var(--c-ink);color:#fff;font-size:var(--fs-13);font-weight:500}
.skip-link:focus{inset-block-start:var(--sp-3)}
.boot{min-block-size:100vh;display:grid;place-content:center;justify-items:center;gap:var(--sp-2)}
.boot__brand{display:grid;justify-items:center;gap:var(--sp-2)}
.boot__word{font-family:'Outfit',var(--sans);font-size:28px;line-height:36px;font-weight:800;color:var(--c-accent)}
.boot__text{font-size:var(--fs-13);color:var(--c-text-3)}
/* index.html's app skeleton (perf 5.11): painted before any script runs when boot-title.js found that someone was signed in
   on this browser (html.boot-app); otherwise the brand loader above. The app replaces both on boot. No text: the loader's
   sentence stays for screen readers. Tokens only; the global reduced-motion rule stops the pulse. */
.boot__shell,.boot__nav{display:none}
.boot-app .boot{display:block;justify-items:stretch}
.boot-app .boot__brand{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.boot-app .boot__shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-block-size:100vh;background:var(--c-app)}
.boot__side{display:flex;flex-direction:column;gap:var(--sp-4);padding:var(--sp-4) var(--sp-3);border-inline-end:1px solid var(--c-line)}
.boot__logo{inline-size:120px;block-size:28px}
.boot__body{display:flex;flex-direction:column;min-inline-size:0}
.boot__top{display:flex;align-items:center;block-size:var(--h-topbar);flex:none;padding-inline:var(--sp-6);background:var(--c-surface);border-block-end:1px solid var(--c-line)}
.boot__top>.skel{inline-size:180px}
.boot__main{flex:1;padding:var(--sp-6)}
.boot__row{display:flex;align-items:center;gap:var(--sp-4);block-size:56px;border-block-end:1px solid var(--c-line)}
.boot__lines{display:flex;flex:1;flex-direction:column;gap:var(--sp-2);max-inline-size:520px}
@media (max-width:759px){
  .boot-app .boot__shell{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
  .boot__side{display:none}
  .boot__top{block-size:var(--m-h-bar,56px);padding-inline:var(--sp-4)}
  .boot__main{padding:var(--sp-4)}
  .boot-app .boot__nav{display:block;block-size:56px;background:var(--c-surface);border-block-start:1px solid var(--c-line)}
}
:where(.k) .ic--12{inline-size:12px;block-size:12px}
:where(.k) .form__opt{font-weight:400}
:where(.k) .k-end{margin-inline-start:auto}
:where(.k) .k-indent{padding-inline-start:28px}
:where(.k) .k-flat{margin:0;padding:0}
:where(.k) .k-center{margin-block:auto}
:where(.k) a.btn,:where(.k) a.row,:where(.k) a.m-row{cursor:pointer}
:where(.k) .btn[aria-busy="true"]{color:transparent!important;pointer-events:none}
:where(.k) .btn[aria-busy="true"] .ic{visibility:hidden}
:where(.k) .btn[aria-busy="true"]::after{content:"";position:absolute;inset:0;margin:auto;inline-size:14px;block-size:14px;border-radius:50%;border:2px solid var(--c-text-3);border-block-start-color:transparent;animation:k-spin .7s linear infinite}
:where(.k) .btn--primary[aria-busy="true"]::after{border-color:#fff;border-block-start-color:transparent}
:where(.k) .form-error{padding:var(--sp-2) var(--sp-3);border-radius:var(--r-md);background:var(--c-return-tint);color:var(--c-return-text);font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .form-error[hidden]{display:none}
:where(.k) .thumb img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
:where(.k) .banner>.ic{flex:none}
:where(.k) .banner__action{flex:none;cursor:pointer}
:where(.k) .banner__action--next{margin-inline-start:var(--sp-3)}
:where(.k) .toast-host:empty{display:none}
:where(.k) .toast-host{inset-block-end:72px}

/* skeleton sizes (no inline styles under the CSP) */
:where(.k) .k-w20{inline-size:20%} :where(.k) .k-w30{inline-size:30%} :where(.k) .k-w35{inline-size:35%} :where(.k) .k-w40{inline-size:40%}
:where(.k) .k-w45{inline-size:45%} :where(.k) .k-w50{inline-size:50%} :where(.k) .k-w55{inline-size:55%} :where(.k) .k-w60{inline-size:60%}
:where(.k) .k-w65{inline-size:65%} :where(.k) .k-w70{inline-size:70%} :where(.k) .k-w-end{inline-size:56px}
:where(.k) .k-fw120{inline-size:120px} :where(.k) .k-fw264{inline-size:264px}
:where(.k) .row__body .skel--text+.skel--text{margin-block-start:var(--sp-2)}
:where(.k) .skel--stage{block-size:260px;border-radius:var(--r-lg)}
:where(.k) .skel--btn{inline-size:132px;block-size:var(--h-ctl);border-radius:var(--r-md)}
:where(.k) .skel--field{block-size:var(--h-ctl);border-radius:var(--r-md);flex:none}
:where(.k) .skel--paper{aspect-ratio:3/2;inline-size:100%}
:where(.k) .sheet-card__body .skel--text{margin-block:var(--sp-1)}
:where(.k) .k-skel-head{display:flex;flex-direction:column;gap:var(--sp-2);inline-size:100%}
:where(.k) .k-skel-head>.skel--text:first-child{block-size:20px}

/* ───────── 2. shell ───────── */
.app__side{display:contents}
.app__top,.app__banner,.app__bottom{flex:none;min-inline-size:0}
.app__main>#main{flex:1;min-block-size:0;min-inline-size:0;overflow:auto;display:flex;flex-direction:column;outline:none}
.view{flex:none;min-inline-size:0}
.view.k{display:flex;flex-direction:column}
/* the floating uploads panel must not cover the last rows of a scrolling page; screens that fill the window manage their own space */
body.has-uploads #main{padding-bottom:0}
body.has-uploads .legacy.view{padding-bottom:160px}
body.has-uploads .view .page>.pl-body,body.has-uploads .view .split__list,body.has-uploads .view .m-scroll{padding-block-end:160px}
.view--fill{flex:1;min-block-size:0;overflow:hidden;position:relative}
:where(.k) .sidebar{block-size:100vh;overflow:hidden}
:where(.k) .sidebar__scroll{flex:1;min-block-size:0;overflow-y:auto;margin-inline:calc(var(--sp-3)*-1);padding-inline:var(--sp-3);padding-block-end:var(--sp-3)}
:where(.k) .sidebar__foot{margin-block-start:0;padding-block-start:var(--sp-2);border-block-start:1px solid var(--c-line)}
:where(.k) .sidebar__note{padding-inline:var(--sp-2);font-size:var(--fs-13);line-height:var(--lh-13);color:var(--c-text-3)}
:where(.k) .nav__item--quiet{font-weight:400;font-size:var(--fs-13);color:var(--c-text-3)}
:where(.k) .nav__item--quiet .ic{opacity:.85}
:where(.k) .nav__end{margin-inline-start:auto;color:var(--c-text-3)}
:where(.k) .k-usermenu{display:block}
:where(.k) .k-usermenu .more__menu{inset-inline:0;min-inline-size:0;max-inline-size:none}
:where(.k) .menu__item{cursor:pointer}
:where(.k) .menu__item[aria-current="page"]{font-weight:600;background:var(--c-hover)}
:where(.k) .menu__item:focus-visible{box-shadow:inset 0 0 0 2px var(--c-accent)}
:where(.k) .topbar__actions{display:flex;align-items:center;gap:var(--sp-2);flex:none}
:where(.k) .topbar__actions:empty{display:none}
:where(.k) .k-menu-scroll{max-block-size:60vh;overflow-y:auto}
:where(.k) .topbar>.more{flex:none}
:where(.k) .topbar__sub:empty{display:none}
:where(.k) .crumbs--lead{flex:none;min-inline-size:0}
:where(.k) .topbar .avatars{flex:none}
:where(.k) #team-avatars{display:inline-flex;flex:none}
:where(.k) .pl-strip>.more{flex:none}
:where(.k) .pl-strip>.select{block-size:var(--h-ctl-sm);flex:none}
:where(.k) .pl-strip a.tabs__tab{cursor:pointer}
:where(.k) .pj-band{border-block-end:0;min-inline-size:0;overflow:hidden}
:where(.k) .pj-stages{flex:none}
:where(.k) .pj-stages li{inline-size:auto;min-inline-size:60px;white-space:nowrap}
:where(.k) .pj-facts{min-inline-size:0}
:where(.k) .pj-facts dd{overflow:hidden;text-overflow:ellipsis;max-inline-size:220px}

/* native <select> inside the approved .select control: accessible, keyboard-ready, no custom listbox */
:where(.k) .select{position:relative;cursor:pointer}
:where(.k) .select:focus-within{border-color:var(--c-accent);box-shadow:0 0 0 3px var(--c-accent-ring)}
:where(.k) .select__native{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;font-weight:600;color:inherit;max-inline-size:176px;text-overflow:ellipsis;cursor:pointer;outline:0}
:where(.k) .select__native:focus-visible{box-shadow:none}

/* ───────── 3. "עליי": previews of the real file, threads, forms ───────── */
:where(.k) .detail__body>*{flex:none}
:where(.k) .stage--frame{padding:0;overflow:hidden;border:1px solid var(--c-line-strong);background:var(--sheet)}
:where(.k) .stage__frame{display:block;inline-size:100%;block-size:clamp(280px,52vh,640px);border:0;background:var(--sheet)}
:where(.k) .stage--img{display:grid;place-items:center}
:where(.k) .stage__img{display:block;max-inline-size:100%;max-block-size:clamp(280px,52vh,640px);background:var(--sheet);box-shadow:0 0 0 1px var(--c-line-strong)}
:where(.k) .stage--pdf{grid-template-columns:minmax(0,1fr);justify-items:center;gap:var(--sp-2)}
:where(.k) .stage--pdf>.skel{inline-size:100%}
:where(.k) .stage__pdf{block-size:auto}
:where(.k) .stage__pages{font-size:var(--fs-12);line-height:var(--lh-12);color:var(--c-text-3)}
:where(.k) .stage--text{padding:0;border:1px solid var(--c-line-strong);background:var(--sheet)}
:where(.k) .stage__text{max-block-size:clamp(200px,44vh,520px);overflow:auto;padding:var(--sp-4);font-family:var(--sans);font-size:var(--fs-13);line-height:var(--lh-13);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--c-ink)}
:where(.k) .stage--none{display:flex;flex-direction:column;align-items:center;gap:var(--sp-3);padding:var(--sp-8) var(--sp-6);text-align:center;font-size:var(--fs-13);line-height:var(--lh-13);color:var(--c-text-2)}
:where(.k) .stage--none p{max-inline-size:360px;text-wrap:balance}
:where(.k) .thread-card .note__text{margin-block-start:var(--sp-2)}
:where(.k) .k-lead{font-size:var(--fs-16);line-height:var(--lh-16)}
:where(.k) .k-reply{font-size:var(--fs-13);line-height:var(--lh-13);color:var(--c-text-2)}
:where(.k) .k-reply b{font-weight:600;color:var(--c-ink)}
:where(.k) .k-replyrow{display:flex;gap:var(--sp-2);margin-block-start:var(--sp-3)}
:where(.k) .k-footform{display:flex;gap:var(--sp-2);flex:1 1 280px;min-inline-size:0;max-inline-size:560px}
:where(.k) .k-footform .field{flex:1 1 auto;min-inline-size:0;max-inline-size:none}
:where(.k) .pin--static .ic{inline-size:12px;block-size:12px}
:where(.k) .detail__meta a:hover{color:var(--c-ink);text-decoration:underline;text-underline-offset:3px}
:where(.k) .detail__meta .due--late{color:var(--c-accent);font-weight:600}
:where(.k) .split__list .empty{margin-block:var(--sp-6) 0}
:where(.k) .row__num .num{font:inherit}
:where(.k) .dropzone>.btn{margin-block-start:var(--sp-3)}
:where(.k) .dropzone--row>.btn{margin-block-start:0}
/* the confirmation on a phone: a bottom sheet above everything */
.k-modal{position:fixed;inset:0;z-index:70}
:where(.k) [data-m-modal="confirm"] [data-m-sheet="confirm"]{display:flex}

/* ───────── 4. project workspace ───────── */
:where(.k) .paper{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--sheet);border:1px solid var(--c-line-strong)}
:where(.k) .paper img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
:where(.k) .paper--thumb img,:where(.k) .thumb--pic img{object-fit:contain;background:var(--sheet)}      /* a stored page-1 picture: the whole sheet, never cropped */
:where(.k) .paper--tile{display:grid;place-content:center;justify-items:center;gap:6px;color:var(--c-text-3);font-size:var(--fs-12);line-height:var(--lh-12);direction:ltr}
:where(.k) .paper--tile .ic{inline-size:24px;block-size:24px}
:where(.k) .paper--tile b{font-weight:600;letter-spacing:.04em}
:where(.k) .sheet-card{cursor:pointer}
:where(.k) .sheet-card__top{min-block-size:20px}
:where(.k) .sheet-card__meta--flat{margin:0}
:where(.k) .sheet-card__meta .clip{flex:1 1 auto}
/* disciplines flow next to each other on a 4-column grid; a discipline with many sheets wraps inside its own block */
:where(.k) .pj-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-4);container-type:normal}
:where(.k) .pj-group__cards{display:grid;grid-auto-flow:row;grid-auto-columns:auto;gap:var(--sp-4)}
:where(.k) .pj-group--s1{grid-column:span 1} :where(.k) .pj-group--s1 .pj-group__cards{grid-template-columns:minmax(0,1fr)}
:where(.k) .pj-group--s2{grid-column:span 2} :where(.k) .pj-group--s2 .pj-group__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.k) .pj-group--s3{grid-column:span 3} :where(.k) .pj-group--s3 .pj-group__cards{grid-template-columns:repeat(3,minmax(0,1fr))}
:where(.k) .pj-group--s4{grid-column:span 4} :where(.k) .pj-group--s4 .pj-group__cards{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1180px){
  :where(.k) .pj-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
  :where(.k) .pj-group--s4{grid-column:span 3} :where(.k) .pj-group--s4 .pj-group__cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:960px){
  :where(.k) .pj-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  :where(.k) .pj-group--s3,:where(.k) .pj-group--s4{grid-column:span 2}
  :where(.k) .pj-group--s3 .pj-group__cards,:where(.k) .pj-group--s4 .pj-group__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
:where(.k) .ws-table .c-num{inline-size:176px} :where(.k) .ws-table .c-ed{inline-size:96px} :where(.k) .ws-table .c-state{inline-size:168px}
:where(.k) .ws-table .c-ball{inline-size:176px} :where(.k) .ws-table .c-comments{inline-size:88px} :where(.k) .ws-table .c-updated{inline-size:128px}
:where(.k) .ws-table tr[data-row]{cursor:pointer}
:where(.k) .ws-title{display:block}
:where(.k) .pj-sheet{min-inline-size:0}
:where(.k) .ws-drop{max-inline-size:640px;margin:var(--sp-10) auto 0}
:where(.k) .ws-drop>.ic{inline-size:20px;block-size:20px;color:var(--c-text-3)}
:where(.k) .pl-bar{min-inline-size:0;flex-wrap:wrap;row-gap:var(--sp-2)}
:where(.k) .pl-bar .field{flex:0 1 264px;min-inline-size:160px}
:where(.k) .pl-bar--dense .field{flex-basis:216px}
:where(.k) .pl-bar--dense .select__native{max-inline-size:120px}

/* ───────── 5. projects list ───────── */
:where(.k) .pl-table .c-company{inline-size:168px} :where(.k) .pl-table .c-stage{inline-size:208px} :where(.k) .pl-table .c-role{inline-size:128px}
:where(.k) .pl-table .c-mine{inline-size:96px} :where(.k) .pl-table .c-unread{inline-size:88px} :where(.k) .pl-table .c-appr{inline-size:80px}
:where(.k) .pl-table .c-late{inline-size:80px} :where(.k) .pl-table .c-pin{inline-size:56px}
:where(.k) .pl-table .mine{display:inline-block;text-align:center}
/* Brief 2 part C2: who holds the ball, at a glance (a small avatar + the name), and the one-click "עליי" filter */
:where(.k) .ws-ball{display:inline-flex;align-items:center;gap:6px;min-inline-size:0;max-inline-size:100%;font-weight:500;color:var(--c-ink)}
:where(.k) .ws-ball .avatar{flex:none}
:where(.k) .ws-minechip .ic{color:var(--c-text-3)}
:where(.k) .ws-minechip.has-items{border-color:var(--c-accent-line);color:var(--c-accent);font-weight:600}
:where(.k) .ws-minechip.has-items .ic{color:var(--c-accent)}
:where(.k) .ws-minechip.has-items .chip__count,:where(.k) .ws-minechip.has-items[aria-pressed="true"] .chip__count{min-inline-size:20px;padding-inline:6px;border-radius:999px;background:var(--c-accent);color:#fff;text-align:center}
:where(.k) .pl-pin{color:var(--c-text-off)}
:where(.k) .pl-pin[aria-pressed="true"]{background:transparent;color:var(--c-ink)}
:where(.k) tr:hover .pl-pin,:where(.k) .pl-big:hover .pl-pin,:where(.k) .pl-pin:focus-visible{color:var(--c-text-2)}
:where(.k) .pl-pin[aria-pressed="true"]:hover{background:var(--c-hover)}
:where(.k) .pl-big__name a:hover{text-decoration:underline;text-underline-offset:3px}
:where(.k) .pl-facts dd{min-inline-size:0;overflow:hidden}
:where(.k) .pl-wait .row__t{flex:0 1 auto;min-inline-size:48px}
:where(.k) .pl-wait .row__what{flex:1 1 0}
:where(.k) .pl-wait .row__num{flex:none}
:where(.k) .pl-wait .row__num .ic{color:var(--c-text-3)}
:where(.k) .pl-wait .row__when--end{margin-inline-start:auto}
:where(.k) .pl-wait__rows:empty{display:none}
:where(.k) .pl-grid .project-card{cursor:pointer}
:where(.k) .pl-skel{padding:var(--sp-2) var(--sp-4)}
:where(.k) .pl-skel__row{display:flex;align-items:center;gap:var(--sp-4);block-size:56px}
:where(.k) .pl-foot:empty{display:none}
:where(.k) .pl-stage{grid-template-columns:minmax(0,1fr) auto}      /* the longer stage names of 8.11.2026 take the room the half-width dots leave */
@media (max-width:1180px){ :where(.k) .pl-two{grid-template-columns:minmax(0,1fr)} }

/* ───────── 6. phone (under 760px): its own layouts ───────── */
.app.is-mobile{display:flex;flex-direction:column;block-size:100vh;block-size:100dvh;font-size:var(--m-fs-15);line-height:var(--m-lh-15);-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}
.app.is-mobile .app__main{flex:1;min-block-size:0}
.app.is-mobile .app__side{display:none}
.app.is-mobile .view .m-more{inset-block-end:0}
.app.is-mobile .view--fill>.m-scroll{flex:1}
:where(.k) .m-bar .m-field{flex:1 1 auto;min-inline-size:0}
:where(.k) .m-bar .more{flex:none}
:where(.k) .m-bar .more__menu{min-inline-size:248px;max-block-size:72vh;overflow-y:auto}
:where(.k) .m-bar .menu__item{block-size:var(--m-tap-min);font-size:var(--m-fs-15)}
:where(.k) .k-menu-nav{display:flex;flex-direction:column}
:where(.k) .k-menu-nav .nav__item{block-size:var(--m-tap-min);font-size:var(--m-fs-15);color:var(--c-ink)}
:where(.k) .m-bar__count:empty{display:none}
:where(.k) .m-head--tight{padding-block-start:var(--sp-1)}
:where(.k) .m-head--flat{padding-block-start:0}
:where(.k) .m-note--top{padding-block:var(--sp-3) 0}
:where(.k) .m-now .thumb--tile .ic{inline-size:28px;block-size:28px}
:where(.k) .m-row__title .num{font:inherit;color:var(--c-text-2)}
:where(.k) .m-row__foot .tag,:where(.k) .m-row__foot .stepper{flex:none}
/* 12 project stages since 8.11.2026 (was 6): half-width dots keep the bar about as long as before, so the row fits at 200 % text */
:where(.k) .m-row__foot .stepper{gap:2px}
:where(.k) .m-row__foot .stepper i{inline-size:4px}
:where(.k) .m-row__foot .m-row__end{min-inline-size:0;overflow:hidden;text-overflow:ellipsis}
:where(.k) .m-detailpage .detail__foot>.grow{display:none}
:where(.k) .m-detailpage{flex:1;min-block-size:0;display:flex}
:where(.k) .m-detailpage .detail{border:0}
:where(.k) .m-detailpage .detail__head,:where(.k) .m-detailpage .detail__body,:where(.k) .m-detailpage .detail__foot{padding-inline:var(--m-gutter)}
:where(.k) .m-detailpage .detail__title{flex-wrap:wrap;font-size:var(--m-fs-18);line-height:var(--m-lh-18)}
:where(.k) .m-detailpage .detail__title h2{white-space:normal}
:where(.k) .m-detailpage .detail__foot{flex-wrap:wrap;padding-block-end:calc(var(--sp-3) + var(--m-safe-b))}
:where(.k) .m-detailpage .detail__foot .btn{block-size:var(--m-tap);font-size:var(--m-fs-15);border-radius:var(--r-lg)}
:where(.k) .m-detailpage .detail__foot .btn--primary{flex:1 1 auto}
:where(.k) .m-detailpage .stage__frame{block-size:46vh}
:where(.k) .m-detailpage .k-replyrow .field,:where(.k) .m-detailpage .k-footform .field{block-size:var(--m-tap)}
:where(.k) .m-detailpage .k-footform{flex:1 1 100%;max-inline-size:none}
:where(.k) .m-detailpage .field__input{font-size:var(--fs-16)}
:where(.k) .m-grid .paper--tile .ic{inline-size:20px;block-size:20px}
@media (max-width:759px){
  :where(.k) .toast-host{inset-block-end:calc(var(--m-h-nav) + 60px + var(--m-safe-b));padding-inline:var(--sp-4)}
  :where(.k) .empty{padding-inline:var(--sp-4)}
}

/* ───────── 7. sign-in screens: one column, the logo, one clear action ───────── */
:where(.k).auth{display:flex;flex-direction:column;align-items:center;block-size:100vh;block-size:100dvh;overflow-y:auto;padding:0 var(--sp-4) var(--sp-8);background:var(--c-app)}
:where(.k) .auth__top{display:flex;align-items:center;gap:var(--sp-3);inline-size:100%;max-inline-size:1120px;block-size:64px;flex:none}
:where(.k) .auth__slogan{font-size:var(--fs-13);line-height:var(--lh-13);color:var(--c-text-3);padding-inline-start:var(--sp-3);border-inline-start:1px solid var(--c-line)}
@media (max-width:479px){:where(.k) .auth__slogan{display:none}}
:where(.k) .seg--lang{max-inline-size:100%}
:where(.k) .seg--lang .seg__btn{min-inline-size:0;flex:1 1 auto;justify-content:center}
/* Phones: the four-language picker is never wider than the screen. In the sign-in header it takes its own full-width row under the logo. */
@media (max-width:479px){
  :where(.k) .seg--lang .seg__btn{padding-inline:6px}
  :where(.k) .auth__top{flex-wrap:wrap;block-size:auto;row-gap:var(--sp-2);padding-block:var(--sp-3)}
  :where(.k) .auth__top .seg--lang{flex:1 1 100%;order:3}
}
:where(.k) .auth__card{display:flex;flex-direction:column;gap:var(--sp-4);inline-size:100%;max-inline-size:400px;margin-block-start:var(--sp-8);padding:var(--sp-8);background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r-xl);outline:none;flex:none}
:where(.k) .auth__card--wide{max-inline-size:640px}
:where(.k) .auth__title{font-size:var(--fs-20);line-height:var(--lh-20);font-weight:700;letter-spacing:-.005em}
:where(.k) .auth__sub{margin-block-start:calc(var(--sp-3)*-1);color:var(--c-text-2)}
:where(.k) .auth__eyebrow{margin-block-end:calc(var(--sp-3)*-1);font-size:var(--fs-12);line-height:var(--lh-12);font-weight:500;color:var(--c-text-3)}
:where(.k) .auth__form,:where(.k) .auth__stack{display:flex;flex-direction:column;gap:var(--sp-4)}
:where(.k) .auth__stack{gap:var(--sp-2)}
:where(.k) .auth__form .form{gap:6px}
:where(.k) .auth__form .field__input{font-size:var(--fs-14)}
:where(.k) .auth__links{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--sp-2) var(--sp-3);font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .auth__link{color:var(--c-accent);font-weight:500;border-radius:var(--r-sm)}
:where(.k) .auth__gate,:where(.k) .auth__gate-alt{display:flex;flex-direction:column;gap:var(--sp-4)}
:where(.k) .auth__gate-alt{gap:var(--sp-2);padding-block-start:var(--sp-4);border-block-start:1px solid var(--c-line)}
:where(.k) .auth__value{display:flex;align-items:flex-start;gap:var(--sp-2);margin:0;padding:var(--sp-3);border-radius:var(--r-md);background:var(--c-accent-tint);color:var(--c-ink);font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .auth__value .ic{flex:none;color:var(--c-accent);margin-block-start:2px}
:where(.k) .auth__value--list{flex-direction:column;gap:var(--sp-2);padding:var(--sp-3) var(--sp-4);list-style:none}
:where(.k) .auth__value--list li{display:flex;align-items:flex-start;gap:var(--sp-2)}
:where(.k) .auth__value--list li .ic{flex:none;color:var(--c-accent);margin-block-start:2px}
:where(.k) .auth__wait{display:flex;align-items:center;justify-content:center;gap:var(--sp-2);margin:0;color:var(--c-text-2);font-size:var(--fs-13);line-height:var(--lh-13);text-align:center}
:where(.k) .auth__wait[hidden]{display:none}
:where(.k) .auth__wait .logo-mark,:where(.k) .auth__wait svg{inline-size:20px;block-size:20px;flex:none}
:where(.k) .auth__pilot{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--sp-1) var(--sp-2);padding-block-start:var(--sp-3);border-block-start:1px solid var(--c-line);font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .auth__link:hover{color:var(--c-accent-hover);text-decoration:underline;text-underline-offset:3px}
:where(.k) .auth__demo{display:flex;flex-direction:column;gap:var(--sp-2);padding-block-start:var(--sp-4);border-block-start:1px solid var(--c-line)}
:where(.k) .auth__demo .row{min-block-size:52px;cursor:pointer}
:where(.k) .auth__cap{display:flex;align-items:center;gap:var(--sp-2);font-size:var(--fs-13);line-height:var(--lh-13);font-weight:600}
:where(.k) .auth__cap .ic{color:var(--c-text-3)}
:where(.k) .auth__foot{display:flex;align-items:center;gap:var(--sp-2);max-inline-size:400px;margin-block-start:var(--sp-4);font-size:var(--fs-12);line-height:var(--lh-12);color:var(--c-text-3);flex:none}
:where(.k) .auth__result{padding:var(--sp-4) 0}
:where(.k) .auth__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.k) .auth__facts>div:last-child:nth-child(even){grid-column:1/-1}
:where(.k) .auth__facts dd{overflow-wrap:break-word}
:where(.k) .auth__mail{display:flex;flex-direction:column;gap:var(--sp-3)}
:where(.k) .auth__mail .card{display:flex;flex-direction:column;gap:var(--sp-2);align-items:flex-start}
:where(.k) .auth__mail .note__head{inline-size:100%}
:where(.k) .auth__mailbody{white-space:pre-wrap;margin:0}
:where(.k) .boot-error{min-block-size:100vh;display:grid;place-items:center}
:where(.k) .auth__card--doc{max-inline-size:760px;gap:var(--sp-5)}
/* The three public pages (privacy, terms, support): linked under every sign-in page. */
:where(.k) .auth__legal{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--sp-2) var(--sp-5);margin-block-start:var(--sp-4);font-size:var(--fs-13);line-height:var(--lh-13);flex:none}
:where(.k) .auth__legal .auth__link{color:var(--c-text-2);font-weight:400}
:where(.k) .legal{display:flex;flex-direction:column;gap:var(--sp-5);color:var(--c-text-2);font-size:var(--fs-14);line-height:var(--lh-14)}
:where(.k) .legal__nav{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
:where(.k) .legal__tab{display:inline-flex;align-items:center;min-block-size:36px;padding:0 var(--sp-3);border-radius:999px;border:1px solid var(--c-line);background:var(--c-surface);color:var(--c-text-2);font-size:var(--fs-13);line-height:var(--lh-13);font-weight:500;transition:background var(--t-fast) var(--ease,ease),color var(--t-fast) var(--ease,ease)}
:where(.k) .legal__tab:hover{background:var(--c-hover-app);color:var(--c-ink)}
:where(.k) .legal__tab[aria-current=page]{background:var(--c-accent-tint);border-color:transparent;color:var(--c-accent);font-weight:600}
:where(.k) .legal__tab:focus-visible{outline:2px solid var(--c-accent);outline-offset:2px}
:where(.k) .legal__head{display:flex;flex-direction:column;gap:var(--sp-2)}
:where(.k) .legal__head .auth__title{color:var(--c-ink)}
:where(.k) .legal__meta{font-size:var(--fs-12);line-height:var(--lh-12);color:var(--c-text-3)}
:where(.k) .legal__lead{font-size:var(--fs-16);line-height:var(--lh-16);color:var(--c-ink);text-wrap:pretty}
:where(.k) .legal__sec{display:flex;flex-direction:column;gap:var(--sp-2);padding-block-start:var(--sp-4);border-block-start:1px solid var(--c-line)}
:where(.k) .legal__h{font-size:var(--fs-16);line-height:var(--lh-16);font-weight:600;color:var(--c-ink)}
/* the accessibility statement's contact (legal.js accessibility): label above value, the email always, name and phone when set */
:where(.k) .legal__contact{display:flex;flex-direction:column;gap:var(--sp-2);margin:0}
:where(.k) .legal__contact div{display:flex;flex-wrap:wrap;gap:0 var(--sp-2)}
:where(.k) .legal__contact dt{font-weight:600;color:var(--c-ink)}
:where(.k) .legal__contact dt::after{content:':'}
:where(.k) .legal__contact dd{margin:0;overflow-wrap:anywhere}
:where(.k) .legal p{text-wrap:pretty;overflow-wrap:break-word}
:where(.k) .legal ul{display:flex;flex-direction:column;gap:var(--sp-1);padding-inline-start:var(--sp-5);list-style:disc}
:where(.k) .legal ol{display:flex;flex-direction:column;gap:var(--sp-1);padding-inline-start:var(--sp-5);list-style:decimal}      /* the numbered steps of /delete-account (delacct.py) */
:where(.k) .legal__back{padding-block-start:var(--sp-2)}
@media (max-width:759px){
  :where(.k) .auth__card{margin-block-start:var(--sp-3);padding:var(--sp-6) var(--sp-5)}
  :where(.k) .auth__form .field,:where(.k) .auth .btn--lg{block-size:var(--m-tap)}
  :where(.k) .auth__form .field__input{font-size:var(--fs-16)}
}

/* "First steps" checklist at the top of "עליי" (brief 2026-10-25, part 3b) */
:where(.k) .ob{display:flex;flex-direction:column;gap:var(--sp-3);margin:var(--sp-4) var(--sp-4) var(--sp-2);padding:var(--sp-4)}
:where(.k) .ob__head{display:flex;align-items:center;gap:var(--sp-2)}
:where(.k) .ob__title{font-size:var(--fs-14);line-height:var(--lh-14);font-weight:600}
:where(.k) .ob__count{font-size:var(--fs-12);line-height:var(--lh-12);color:var(--c-text-3)}
:where(.k) .ob__bar{block-size:4px;border-radius:2px;background:var(--c-pressed);overflow:hidden}
:where(.k) .ob__fill{display:block;block-size:100%;inline-size:0;background:var(--c-accent);transition:inline-size var(--t-base) var(--ease)}
:where(.k) .ob__fill--1{inline-size:25%} :where(.k) .ob__fill--2{inline-size:50%} :where(.k) .ob__fill--3{inline-size:75%} :where(.k) .ob__fill--4{inline-size:100%}
:where(.k) .ob__steps{display:flex;flex-direction:column;gap:var(--sp-2)}
:where(.k) .ob__step{display:flex;align-items:center;gap:var(--sp-2);min-block-size:28px;font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .ob__mark{display:inline-flex;align-items:center;justify-content:center;inline-size:18px;block-size:18px;flex:none;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--c-line-strong)}
:where(.k) .ob__step.is-done .ob__mark{background:var(--c-accent);box-shadow:none;color:#fff}
:where(.k) .ob__step.is-done .ob__mark .ic{inline-size:12px;block-size:12px;stroke-width:2.25}
:where(.k) .ob__step.is-done .ob__label{color:var(--c-text-3)}
:where(.k) .ob__label{flex:1;min-inline-size:0}
:where(.k) .ob__guide{align-self:flex-start;font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .m-scroll>.ob{margin:var(--sp-3) var(--sp-4) 0}
:where(.k) .m-scroll>.ob .btn--sm{block-size:36px}

/* ════════ Stage B (2026-10-25, Liav's decisions 2 and 3; UX review D-1, D-8, D-9, D-10, D-11, D-14, D-15, D-23) ════════ */
/* sidebar project rows: the project's initial in a small tile, the stage under the name (D-14) */
:where(.k) .nav__item--proj{block-size:auto;min-block-size:var(--h-ctl);padding-block:5px;align-items:center}
:where(.k) .nav__init{display:grid;place-items:center;inline-size:20px;block-size:20px;flex:none;border-radius:var(--r-sm);background:var(--c-pressed);color:var(--c-text-2);font-size:11px;line-height:1;font-weight:600}
:where(.k) .nav__item--proj[aria-current="page"] .nav__init{background:var(--c-accent);color:#fff}
:where(.k) .nav__two{display:flex;flex-direction:column;min-inline-size:0;flex:1 1 auto}
:where(.k) .nav__two .nav__label{display:block}
:where(.k) .nav__two .nav__meta{margin-inline-start:0;max-inline-size:none;white-space:nowrap}

/* one-line project header: name, stage chip (facts in its popover), address, team, actions (D-10) */
:where(.k) .topbar--project{block-size:52px}
:where(.k) .topbar--project .topbar__title{flex:0 1 auto}
:where(.k) .topbar--project .topbar__sub{flex:0 1 auto;min-inline-size:0}
:where(.k) .pj-info{flex:none}
:where(.k) .pj-chip{display:inline-flex;align-items:center;gap:var(--sp-2);block-size:var(--h-ctl-sm);padding-inline:10px 8px;border:1px solid var(--c-line-strong);border-radius:999px;background:var(--c-surface);font-size:var(--fs-12);line-height:var(--lh-12);font-weight:500;color:var(--c-text-2);white-space:nowrap;cursor:pointer;transition:background var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease)}
:where(.k) .pj-chip:hover,:where(.k) .pj-chip[aria-expanded="true"]{background:var(--c-hover);color:var(--c-ink)}
:where(.k) .pj-chip:focus-visible{box-shadow:var(--focus)}
:where(.k) .pj-chip__stage{color:var(--c-ink);font-weight:600}
:where(.k) .pj-chip .stepper{gap:2px}
:where(.k) .pj-chip .stepper i{inline-size:5px}
:where(.k) .pj-pop{inset-inline-end:auto;inset-inline-start:0;inline-size:300px;gap:var(--sp-3);padding:var(--sp-4)}
:where(.k) .pj-pop__facts{display:grid;grid-template-columns:auto 1fr;gap:var(--sp-2) var(--sp-4);font-size:var(--fs-13);line-height:var(--lh-13)}
:where(.k) .pj-pop__facts>div{display:contents}
:where(.k) .pj-pop__facts dt{color:var(--c-text-3)}
:where(.k) .pj-pop__facts dd{color:var(--c-ink);font-weight:500;overflow-wrap:anywhere}
:where(.k) .pj-pop__label{font-size:var(--fs-12);line-height:var(--lh-12);color:var(--c-text-3);border-block-start:1px solid var(--c-line);padding-block-start:var(--sp-3)}
:where(.k) .pj-pop__stages{display:flex;flex-wrap:wrap;gap:var(--sp-1)}
:where(.k) .pj-pop__stages li{padding:2px 8px;border-radius:999px;font-size:var(--fs-12);line-height:var(--lh-12);color:var(--c-text-3);background:var(--c-subtle)}
:where(.k) .pj-pop__stages li.is-done{color:var(--c-text-2)}
:where(.k) .pj-pop__stages li.is-now{background:var(--c-accent);color:#fff;font-weight:600}
:where(.k) .pj-pop .btn{align-self:flex-start}
/* the project's tabs: every daily area is a tab; "עוד" sits right after the last tab (D-11, D-23) */
:where(.k) .pj-strip .tabs{flex:0 1 auto}
:where(.k) .pj-strip .tabs .badge{margin-inline-start:2px}
:where(.k) .pj-more.is-on{color:var(--c-ink);font-weight:600}

/* page frames sit in the middle of the content area on wide screens (D-15) */
:where(.k) .pg__in{margin-inline:auto;inline-size:100%}

/* banners: text first, actions after it (stacked on a phone, D-1); × to close (44 px on a phone, D-8); "+N" (D-9) */
:where(.k) .banner__acts{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-1) var(--sp-4);margin-inline-start:auto;flex:none}
:where(.k) .banner__acts .banner__action{margin-inline-start:0}
:where(.k) .banner__x{display:grid;place-items:center;inline-size:28px;block-size:28px;margin-inline-start:auto;flex:none;border-radius:var(--r-md);color:inherit;cursor:pointer}
:where(.k) .banner__x:hover{background:rgba(15,26,46,.06)}
:where(.k) .banner__x:focus-visible{box-shadow:var(--focus)}
:where(.k) .banner__x .ic{inline-size:14px;block-size:14px}
:where(.k) .banner-more{display:flex;align-items:center;inline-size:100%;min-block-size:28px;padding:2px var(--sp-4);background:var(--c-subtle);border-block-end:1px solid var(--c-line);font-size:var(--fs-12);line-height:var(--lh-12);font-weight:500;color:var(--c-accent);cursor:pointer;text-align:start}
:where(.k) .banner-more:hover{text-decoration:underline;text-underline-offset:3px}
:where(.k) .banner-more:focus-visible{box-shadow:inset 0 0 0 2px var(--c-accent)}
@media (max-width:759px){
  .app__banner .banner{flex-wrap:wrap;align-items:flex-start;gap:var(--sp-1) var(--sp-3);padding:var(--sp-2) var(--sp-3) var(--sp-2) var(--sp-3);font-size:var(--fs-14);line-height:var(--lh-14)}
  .app__banner .banner>.ic{margin-block-start:2px}
  .app__banner .banner>span:not(.banner__acts){flex:1 1 0;min-inline-size:0}
  .app__banner .banner__acts{flex:1 0 100%;padding-inline-start:28px;gap:0 var(--sp-4);margin:0}
  .app__banner .banner__action{display:inline-flex;align-items:center;min-block-size:var(--m-tap-min);white-space:normal}
  .app__banner .banner__x{inline-size:var(--m-tap-min);block-size:var(--m-tap-min);margin-block:calc(var(--sp-2)*-1);margin-inline:0 calc(var(--sp-2)*-1)}
  :where(.k) .banner-more{min-block-size:var(--m-tap-min);padding-inline:var(--sp-4);font-size:var(--fs-14)}
  /* the project's areas: a tab strip under the bar (decision 2) */
  :where(.k) .m-ptabs{flex:none;background:var(--c-surface);border-block-end:1px solid var(--c-line);--tabs-bg:var(--c-surface)}
  :where(.k) .m-ptabs .tabs{padding-inline:var(--sp-2);box-shadow:none}
  :where(.k) .m-ptab{block-size:var(--m-tap-min);padding-inline:var(--sp-3);font-size:var(--m-fs-15);margin-block-end:-1px}
  :where(.k) .m-iconbtn--label{inline-size:auto;min-inline-size:var(--m-tap-min);grid-auto-flow:row;gap:0;padding-inline:var(--sp-1)}
  :where(.k) .m-iconbtn--label small{font-size:11px;line-height:12px;color:var(--c-text-2);margin-block-start:-4px}
  :where(.k) .m-iconbtn--label .m-ic{inline-size:20px;block-size:20px}
  /* tap targets of 44 px without changing the look (D-8) */
  .skip-link{min-block-size:var(--m-tap-min);display:inline-flex;align-items:center}
}

/* welcome for an account without a project: the two ways in, never "all done" (D-4) */
:where(.k) .wl{display:flex;flex-direction:column;gap:var(--sp-5);padding-block:var(--sp-4)}
:where(.k) .wl__title{font-size:var(--fs-20);line-height:var(--lh-20);font-weight:700}
:where(.k) .wl__lead{margin-block-start:calc(var(--sp-3)*-1);font-size:var(--fs-14);line-height:var(--lh-14);color:var(--c-text-2);max-inline-size:64ch;text-wrap:pretty}
:where(.k) .wl__ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-4)}
:where(.k) .wl__way{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2);padding:var(--sp-5);background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r-lg)}
:where(.k) .wl__way .btn{margin-block-start:auto}
:where(.k) .wl__ic{display:grid;place-items:center;inline-size:36px;block-size:36px;border-radius:var(--r-md);background:var(--c-accent-tint);color:var(--c-accent)}
:where(.k) .wl__h{font-size:var(--fs-16);line-height:var(--lh-16);font-weight:600}
:where(.k) .wl__p{font-size:var(--fs-13);line-height:var(--lh-13);color:var(--c-text-2);text-wrap:pretty;margin-block-end:var(--sp-2)}
:where(.k) .wl__next{display:flex;flex-direction:column;gap:var(--sp-3)}
:where(.k) .wl__steps{display:flex;flex-direction:column;gap:var(--sp-2)}
:where(.k) .wl__step{display:flex;align-items:center;gap:var(--sp-3);font-size:var(--fs-14);line-height:var(--lh-14)}
:where(.k) .wl__n{display:grid;place-items:center;inline-size:24px;block-size:24px;flex:none;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--c-line-strong);font-size:var(--fs-12);font-weight:600;color:var(--c-text-2)}
:where(.k) .wl .ob{margin:0}
:where(.k) .m-scroll>.wl{padding:var(--sp-4) var(--m-gutter,16px)}
@media (max-width:759px){ :where(.k) .wl__way .btn{inline-size:100%;block-size:var(--m-tap,48px)} }

/* long strings on a phone (D-6): a sheet number never breaks; the "your turn" chip wraps to its own line before it is cut */
:where(.k) .sheet-card__num{white-space:nowrap;flex:none}
:where(.k) .m-card .sheet-card__top{flex-wrap:wrap;row-gap:var(--sp-1)}
:where(.k) .m-card .sheet-card__top .m-mine{max-inline-size:100%}
:where(.k) .sheet-card__meta .ed-badge{flex:0 1 auto;min-inline-size:0}

/* ───────── brief 2 part C4/C5: a new project's three first steps, and the team nudge ───────── */
:where(.k) .ws-start{display:flex;flex-direction:column;gap:var(--sp-2);max-inline-size:760px;margin:0 auto var(--sp-6);padding:var(--sp-6);background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r-lg)}
:where(.k) .ws-start__h{font-size:var(--fs-20);line-height:var(--lh-20);font-weight:700}
:where(.k) .ws-start__list{display:flex;flex-direction:column;gap:var(--sp-3);margin:var(--sp-3) 0 0;padding:0;list-style:none}
:where(.k) .ws-start__step{display:flex;align-items:flex-start;gap:var(--sp-3);padding:var(--sp-4);border:1px solid var(--c-line);border-radius:var(--r-md)}
:where(.k) .ws-start__step.is-done{background:var(--c-app)}
:where(.k) .ws-start__n{flex:none;display:inline-grid;place-items:center;inline-size:28px;block-size:28px;border-radius:999px;background:var(--c-accent-tint);color:var(--c-accent);font-weight:700;font-size:var(--fs-13)}
:where(.k) .ws-start__step.is-done .ws-start__n{background:var(--c-ok);color:#fff}
:where(.k) .ws-start__body{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2);min-inline-size:0}
:where(.k) .ws-start__t{font-size:var(--fs-16);line-height:var(--lh-16);font-weight:600}
:where(.k) .ws-start__body b{color:var(--c-ink);font-weight:600}
:where(.k) .ws-nudge-wrap{padding:var(--sp-4) var(--sp-6) 0}
:where(.k) .ws-nudge{margin-block-end:var(--sp-3)}
@media (max-width:759px){
  :where(.k) .ws-start{margin:var(--sp-3) var(--m-gutter, 16px) var(--sp-4);padding:var(--sp-4)}
  :where(.k) .ws-start .btn{min-block-size:var(--m-tap, 44px)}
  :where(.k) .m-scroll>.ws-nudge{margin:var(--sp-2) var(--m-gutter, 16px) var(--sp-3)}
}

/* Liav, 2026-10-27 (#9): the eye button inside a password field. A 36px target inside the 44px field (48px on phones). */
:where(.k) .field--pw{padding-inline-end:4px}
:where(.k) .field__eye{flex:none;display:grid;place-items:center;inline-size:36px;block-size:36px;border:0;border-radius:var(--r-sm);background:none;color:var(--c-text-3);cursor:pointer;transition:color var(--t-fast) var(--ease),background-color var(--t-fast) var(--ease)}
:where(.k) .field__eye:hover{color:var(--c-ink);background:var(--c-subtle)}
:where(.k) .field__eye:focus-visible{outline:2px solid var(--c-accent);outline-offset:1px}
:where(.k) .field__eye[aria-pressed="true"]{color:var(--c-ink)}

/* #7/#8: the rating box. Five stars as radio buttons (keyboard: arrows), then the free "מה חסר" field. */
:where(.k) .rate{display:flex;flex-direction:column;gap:var(--sp-4)}
:where(.k) .rate__stars{border:0;margin:0;padding:0;min-inline-size:0}
:where(.k) .rate__row{display:flex;gap:var(--sp-1);justify-content:center;margin-block-start:var(--sp-2)}
:where(.k) .rate__star{position:relative;display:grid;place-items:center;inline-size:44px;block-size:44px;border-radius:var(--r-md);color:var(--c-line-strong);cursor:pointer;transition:color var(--t-fast) var(--ease),transform var(--t-fast) var(--ease)}
:where(.k) .rate__star .ic{inline-size:28px;block-size:28px}
:where(.k) .rate__star.is-on{color:#E3A008}
:where(.k) .rate__star.is-on .ic{fill:currentColor}
:where(.k) .rate__star:hover{color:#E3A008}
:where(.k) .rate__star:active{transform:scale(.94)}
:where(.k) .rate__star:has(input:focus-visible){outline:2px solid var(--c-accent);outline-offset:1px}
@media (prefers-reduced-motion:reduce){:where(.k) .rate__star{transition:none}:where(.k) .rate__star:active{transform:none}}

/* P1 (5.10): the pin of a comment on the inbox preview */
:where(.k) .stage__pinbox{position:relative;display:inline-block;max-inline-size:100%;line-height:0}
:where(.k) .stage__pinbox>.stage__img{max-inline-size:100%}
:where(.k) .stage__pin{pointer-events:none;line-height:1}

/* Bug round 30.10 #38: an empty date field shows no mm/dd/yyyy in the computer's format; the segments appear on focus. */
:where(.k) input[type=date][data-empty]:not(:focus)::-webkit-datetime-edit{color:transparent}
/* Liav 13.11.2026: the short terms note on a phone (app.js): one line, the link beside it. */
@media (max-width: 899px){
  .app__banner .banner--short{flex-wrap:nowrap;align-items:center}
  .app__banner .banner--short>span:not(.banner__acts){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .app__banner .banner--short .banner__acts{flex:0 0 auto;padding-inline-start:0}
}
