.st-today{display:flex;align-items:center;gap:8px}
.st-today-a{display:flex;align-items:center;gap:12px;flex:1;min-width:0;color:inherit;text-decoration:none}
.st-today-a .pill{font-weight:500;vertical-align:middle}
/* The trainer's and owner's everyday screens: היום, the client list, check-ins, clients' requests,
   invite codes, the activity log and the owner's hub. Shared parts are in base.css and kit.css;
   .pg-stat, .pg-two, .pg-sel, .back, .form, .dcode come from the other areas' sheets.
   Tokens only; type in rem. Prefix st-. */

/* ---------- layout ---------- */
.st-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.st-top .btn{flex:none}
.st-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.st-nums .tile{padding:14px 12px;gap:2px}
.st-nums .stat b{font-weight:800}
.st-nums .stat span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-cols,.st-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.st-col:empty,.st-col > div:empty{display:none}
.st-acts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.st-doors{display:flex;flex-wrap:wrap;gap:8px}
.st-doors:empty{display:none}
.st-calm{display:flex;align-items:center;gap:12px}
.st-calm svg{flex:none;width:26px;height:26px;color:var(--secondary)}
.st-ico{display:flex;align-items:center;gap:6px}
.st-ico svg{width:18px;height:18px;color:var(--decor)}
.st-foot{padding-inline:4px}
.st-count{display:flex;align-items:center;justify-content:space-between;gap:12px}
.st-view{flex:none;width:170px}
.st-hint{align-items:center;text-align:center;padding-block:34px}
.st-hint svg{width:30px;height:30px;color:var(--secondary)}
.st-hint p{max-width:30ch}
.st-detail h2{overflow-wrap:anywhere}

/* ---------- rows ---------- */
.st-tags{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:0}
.st-flags{display:inline-flex;gap:4px;color:var(--ink-3)}
.st-flags svg{width:16px;height:16px}
.st-kind{font-weight:500;color:var(--ink-3);font-size:.8rem}
.st-log,.st-food,.st-alt{grid-template-columns:minmax(0,1fr) auto}
.st-code-row,.st-ex{grid-template-columns:minmax(0,1fr) auto auto}
.st-log.is-sec b::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--decor);margin-inline-end:7px;vertical-align:middle}
.st-ex .row-t,.st-alt .row-t,.st-food .row-t{text-align:start;padding:0}
.st-code{font-size:1.0625rem;letter-spacing:.12em;font-variant-numeric:tabular-nums;text-align:start}

/* ---------- the dense table ---------- */
.st-table-wrap{overflow-x:auto;margin-inline:-4px}
.st-table{width:100%;border-collapse:collapse;font-size:.875rem}
.st-table th{font-size:.75rem;font-weight:600;color:var(--ink-3);text-align:start;padding:8px 6px;white-space:nowrap}
.st-table td{padding:10px 6px;border-top:1px solid var(--line);vertical-align:middle;white-space:nowrap}
.st-table td:first-child{white-space:normal}
.st-table .st-tags{display:inline-flex;vertical-align:middle;margin-inline-start:6px}
.st-table tr{cursor:pointer;transition:background-color 120ms ease}
.st-table tbody tr:active{background:var(--tile-2)}
.st-table tr.sel{background:var(--wash)}
.st-name{font-weight:600;text-align:start;color:var(--ink)}
.st-table .is-late{font-weight:700;color:var(--ink)}
.st-table .is-very{font-weight:700;color:var(--ink);background:var(--decor-tint);box-shadow:inset 0 0 0 1px var(--decor)}

/* ---------- a person, a code, a secret ---------- */
.st-who{display:flex;align-items:center;gap:12px}
.st-who .row-t{flex:1}
.st-pills{display:flex;flex-wrap:wrap;gap:6px}
.st-thumb{align-self:flex-start;border-radius:14px;overflow:hidden;transition:transform 120ms var(--ease-out)}
.st-thumb:active{transform:scale(.98)}
.st-thumb img{width:132px;height:132px;object-fit:cover}
.st-photo{width:100%;border-radius:16px}
.st-secret{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:18px 12px;border-radius:16px;background:var(--tile-2)}
.st-secret b{font-size:1.75rem;font-weight:800;letter-spacing:.12em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.st-door{gap:2px;align-items:flex-start}
.st-door svg{width:22px;height:22px;color:var(--secondary-text);margin-bottom:6px}
.st-door b{font-size:1rem;font-weight:700}
.st-door small{font-size:.78rem;color:var(--ink-3)}
.st-flag{display:flex;align-items:flex-start;gap:8px;font-weight:600;padding-block:4px}
.st-flag svg{flex:none;width:18px;height:18px;color:var(--decor);margin-top:2px}
.st-extra h3{margin-bottom:4px}

/* ---------- the review of a client's request ---------- */
.st-review{display:flex;flex-direction:column;gap:12px;min-width:0}
.st-rv-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.st-rv-t{min-width:0;flex:1 1 220px;display:flex;flex-direction:column;gap:2px}
.st-rv-t h1{font-size:1.375rem;overflow-wrap:anywhere}
.icon-btn.st-mini{display:inline-grid;width:32px;height:32px;vertical-align:middle;color:var(--ink-3)}
.icon-btn.st-mini svg{width:17px;height:17px}
.st-note{border-radius:14px;padding:12px 14px;background:var(--decor-tint);box-shadow:inset 0 0 0 1px var(--decor);display:flex;flex-direction:column;gap:4px}
.st-note b{font-size:.8rem}
.st-note p{white-space:pre-wrap;overflow-wrap:anywhere}
.st-day-h{display:flex;align-items:center;gap:10px}
.st-day-h b{flex:1;min-width:0;font-size:1rem;font-weight:700}
.st-day-h .sub{flex:none}
.st-cmp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.st-cmp .pg-stat{padding:10px}
.st-cmp .pg-stat b{font-size:1.125rem}
.st-cmp .pg-stat b small{font-size:.72rem;font-weight:600;color:var(--ink-3)}
.st-rv-more{display:flex;flex-wrap:wrap;gap:8px}
.st-rv-acts{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px;padding-block:10px;background:var(--bg)}
.st-rv-acts .btn.ghost{background:var(--tile)}

@media (max-width: 420px){
  .st-cmp{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-nums .tile{padding:12px 10px}
}
@media (hover: hover) and (pointer: fine){
  .st-table tbody tr:hover{background:var(--tile-2)}
  .st-table tr.sel:hover{background:var(--wash)}
}
@media (min-width: 900px){
  .shell.wide .st-cols{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
  .shell.wide .st-acts{max-width:520px}
  /* a long review scrolls inside its pane, so the answer buttons stay in reach beside the list */
  .shell.wide .st-pane{max-height:calc(100dvh - 96px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .shell.wide .st-pane .st-rv-acts{background:var(--bg)}
}
@media (prefers-reduced-motion: reduce){
  .st-thumb:active{transform:none}
}
