/* =====================================================================
   VEHICUL — ecranul elevului (dev-student). Totul sub .st / .st-*
   ===================================================================== */
.st, .st-sheet {
  --tc: 120px;            /* coloana orei */
  --nc: 46px;             /* coloana nr. lecției */
  --rh: 60px;             /* înălțimea unui rând */
  --bw: 1.5px;            /* grosimea liniilor foii */
  --hatch: repeating-linear-gradient(135deg, transparent 0 7px, rgba(43, 43, 43, .09) 7px 8.5px);
}
.st { min-height: 100vh; min-height: 100dvh; }
.st-wrap { max-width: 1180px; margin: 0 auto; padding: 0 14px calc(28px + var(--safe-b)); }

/* ------------------------------------------------ antet */
.st-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(10px + var(--safe-t)) 0 6px;
}
.st-head .brand { min-width: 0; }
.st-head-r { display: flex; align-items: center; gap: 2px; }
.st-head .st-lang { margin-right: 4px; }
.st-bell .badge-dot { top: 4px; right: 3px; }

/* ------------------------------------------------ salut, anunț, progres */
.st-hello { margin: 10px 2px 12px; font-size: 18px; color: var(--ink-2); }
.st-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 18px 18px 16px; }
.st-cap { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.st-h2 { font-size: 19px; font-weight: 750; margin-bottom: 10px; }
.st-top-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }

.st-ann {
  background: var(--paper); border: 1.5px solid var(--line); border-left: 5px solid var(--yellow);
  border-radius: var(--r); padding: 12px 16px 14px; margin-bottom: 14px;
}
.st-ann-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.st-ann-t { margin: 6px 0 0; font-size: 17.5px; white-space: pre-line; color: var(--ink); }

.st-prog-big { font-family: var(--font-display); font-weight: 600; font-size: 25px; margin: 6px 0 14px; letter-spacing: -.01em; color: var(--ink-2); }
.st-prog-big b { font-weight: 800; color: var(--ink); font-size: 34px; }
.st-prog-big span { color: var(--ink); font-weight: 700; }
.st-tally { display: flex; flex-wrap: wrap; gap: 4px; }
.st-tally i, .st-tally-key i {
  flex: 1 1 0; min-width: 6px; max-width: 22px; height: 20px; border-radius: 3px; background: var(--line-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.st-tally i.d, .st-tally-key i.d { background: var(--pen); box-shadow: none; }
.st-tally i.u, .st-tally-key i.u { background: var(--conf-bg); box-shadow: inset 0 0 0 2px var(--pen); }
.st-tally i.p, .st-tally-key i.p { background: var(--pend-bg); box-shadow: none; outline: 2px dashed var(--pend-line); outline-offset: -2px; }
.st-prog-sub { margin: 12px 0 0; font-size: 16.5px; color: var(--ink-2); }
.st-tally-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.st-tally-key span { display: inline-flex; align-items: center; gap: 6px; }
.st-tally-key i { flex: none; width: 10px; min-width: 10px; height: 16px; display: inline-block; }

/* ------------------------------------------------ lecțiile mele */
.st-up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-up-item { display: flex; align-items: stretch; gap: 6px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); }
.st-up-pending { border-style: dashed; border-color: var(--pend-line); background: #FFFCF2; }
.st-up-main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; padding: 10px 4px 10px 10px; min-height: 76px; border-radius: var(--r);
}
.st-up-day {
  flex: none; width: 52px; border-radius: 10px; background: var(--sheet-head); display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; color: var(--ink-2);
}
.st-up-day b { font-family: var(--font-display); font-size: 21px; color: var(--ink); line-height: 1.15; }
.st-up-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-up-when { font-weight: 700; font-size: 17px; }
.st-up-meta { white-space: normal; font-size: 16px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.st-up-go { color: var(--ink-3); margin-left: auto; }
@media (max-width: 699px) { .st-up-go { display: none; } }
.st-up-cal { align-self: center; margin-right: 6px; color: var(--action); }
.st-chip-s { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 650; margin-top: 2px; }
.st-chip-pend { color: var(--pend); }
.st-chip-conf { color: var(--conf); }
.st-empty { margin: 0; color: var(--ink-3); font-size: 16.5px; }

/* ------------------------------------------------ comutator săptămâni */
.st-weeks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 26px 0 12px;
  background: rgba(0,0,0,.06); border-radius: 18px;
}
.st-wk {
  border: 0; background: transparent; border-radius: 14px; min-height: 62px; padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink-2);
}
.st-wk-t { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16.5px; }
.st-wk-r { font-size: 14px; white-space: nowrap; }
.st-wk.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.st-wk.on .st-wk-r { color: var(--ink-2); }

.st-count { display: flex; align-items: center; gap: 10px; margin: 4px 2px 12px; font-size: 16.5px; color: var(--ink-2); }
.st-count.is-full { color: var(--ink); font-weight: 600; }
.st-boxes { display: inline-flex; gap: 5px; }
.st-boxes i { width: 22px; height: 22px; border-radius: 5px; border: 2px solid var(--ink-3); display: grid; place-items: center; color: #fff; }
.st-boxes i.on { background: var(--pen); border-color: var(--pen); }
.st-note { margin: 0 0 14px; font-size: 16.5px; }

/* ------------------------------------------------ numărătoarea inversă */
.st-lock {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; margin-bottom: 16px;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); border: 1.5px solid var(--line);
}
.st-lock-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--action-soft); color: var(--action); }
.st-lock-b { min-width: 0; }
.st-lock-t { font-size: 19px; font-weight: 750; }
.st-lock-p { margin: 6px 0 0; font-size: 17px; color: var(--ink); }
.st-lock-cd { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 16px; }
.st-lock-cd b { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--action); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.st-lock-rule { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-3); }
.st-lock-btn { margin-top: 12px; }
@media (max-width: 420px) {
  .st-lock { padding: 16px; gap: 10px; }
  .st-lock-ic { width: 36px; height: 36px; border-radius: 10px; }
}
.st-week.is-locked .st-paper { opacity: .62; filter: grayscale(.4); }

/* ------------------------------------------------ banda zilelor (telefon) */
.st-strip {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px;
  padding: calc(8px + var(--safe-t)) 0 8px; margin: 0 -14px; padding-left: 14px; padding-right: 14px;
  background: linear-gradient(var(--bg) 82%, rgba(243, 241, 236, 0));
}
.st-sd {
  min-height: 64px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 4px 0;
}
.st-sd-w { font-size: 13px; font-weight: 650; text-transform: lowercase; color: var(--ink-3); }
.st-sd-n { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.st-sd-dots { display: flex; gap: 3px; height: 7px; margin-top: 2px; }
.st-sd-dots i { width: 7px; height: 7px; border-radius: 50%; }
.st-sd-dots i.f { background: var(--free-line); }
.st-sd-dots i.p { background: var(--pend-line); }
.st-sd-dots i.c { background: var(--pen); }
.st-sd.is-past { opacity: .55; background: transparent; }
.st-sd.is-today .st-sd-w { color: var(--red); font-weight: 750; }
.st-sd.on { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); opacity: 1; }

/* ------------------------------------------------ foaia */
.st-paper {
  background: var(--paper); border-radius: 6px; padding: 14px 10px 18px; margin: 2px -4px 0;
  box-shadow: 0 1px 2px rgba(20,22,26,.06), 0 6px 24px rgba(20,22,26,.07);
}
.st-grid { display: grid; gap: 18px; }
.st-day { border: var(--bw) solid var(--rule); background: #fff; scroll-margin-top: 92px; }
.st-dh {
  display: grid; grid-template-columns: var(--tc) minmax(0, 1fr) auto; align-items: stretch; width: 100%; min-height: 52px;
  border: 0; padding: 0; background: #fff; color: var(--ink); text-align: left; font: inherit;
}
.st-dh-wd {
  display: flex; align-items: center; justify-content: center; text-align: center; background: var(--sheet-head); border-right: var(--bw) solid var(--rule);
  font-weight: 800; font-size: 12.5px; letter-spacing: .01em; text-transform: uppercase; padding: 4px 3px; line-height: 1.15; word-break: break-word;
}
.st-dh-date { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; padding: 6px 8px; font-weight: 750; font-size: 18px; letter-spacing: .02em; }
.st-today { font-style: normal; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 999px; }
.st-dh-past { font-weight: 500; font-size: 15px; color: var(--ink-3); letter-spacing: 0; }
.st-dh-chev { display: grid; place-items: center; padding: 0 12px; color: var(--ink-3); transition: transform .2s var(--ease); }

.st-rows { position: relative; }
.st-row {
  display: grid; grid-template-columns: var(--tc) 1fr var(--nc); width: 100%; height: var(--rh);
  border: 0; border-top: var(--bw) solid var(--rule); padding: 0; margin: 0; background: #fff; color: var(--ink); text-align: left; font: inherit;
}
.st-row > span { display: flex; align-items: center; min-width: 0; }
.st-t { justify-content: center; border-right: var(--bw) solid var(--rule); font-weight: 700; font-size: 16px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-n { padding: 0 8px 0 12px; }
.st-no { justify-content: center; border-left: var(--bw) solid var(--rule); }

/* stări */
.st-word { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--taken); }
.st-free { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--free); }
.st-free .ic { display: none; }
.st-plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--free-line); color: var(--free); background: #fff; }

.st-s-free { cursor: pointer; transition: background-color .15s; }
.st-s-free .st-n { box-shadow: inset 4px 0 0 var(--free-line); }
.st-s-free:hover .st-n, .st-s-free:focus-visible .st-n { background: var(--free-bg); }
.st-s-free:active .st-plus { background: var(--free-line); color: #fff; }

.st-s-taken .st-n, .st-s-taken .st-no { background: var(--taken-bg); }
.st-s-closed .st-n, .st-s-closed .st-no { background: var(--hatch), #F7F6F2; }
.st-s-closed .st-word { color: var(--closed); }
.st-s-past { color: var(--ink-3); }
.st-s-past .st-t { color: #9A9EA4; font-weight: 600; }
.st-s-past .st-word { color: #9A9EA4; letter-spacing: .04em; font-weight: 600; text-transform: none; font-size: 15px; }
.st-s-past .st-n, .st-s-past .st-no { background: var(--hatch); }
.st-s-locked .st-word, .st-s-too_soon .st-word, .st-s-limit .st-word { color: var(--ink-3); letter-spacing: .03em; text-transform: none; font-size: 15px; font-weight: 600; }
.st-lockic { color: #A3A7AD; }
.st-s-limit .st-n, .st-s-too_soon .st-n, .st-s-limit .st-no, .st-s-too_soon .st-no { background: #FAF9F6; }

/* rândul meu: numele scris de mână */
.st-hand { font-family: var(--font-hand); font-weight: 700; font-size: 24px; line-height: 1; color: var(--pen); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-hand-no { font-size: 27px; }
.st-mine { display: flex; flex-direction: column; gap: 3px; min-width: 0; width: 100%; }
.st-mine-s { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.st-s-mine.is-conf .st-n, .st-s-mine.is-conf .st-no { background: var(--conf-bg); }
.st-s-mine.is-conf .st-mine-s { color: var(--conf); }
.st-s-mine.is-pend .st-n, .st-s-mine.is-pend .st-no { background: var(--pend-bg); }
.st-s-mine.is-pend .st-n { outline: 2px dashed var(--pend-line); outline-offset: -5px; }
.st-s-mine.is-pend .st-hand { color: #4B5266; }
.st-s-mine.is-pend .st-mine-s { color: var(--pend); }
.st-s-mine.is-done { opacity: .65; }
.st-s-mine.is-done .st-n { outline: 0; }

/* „Z”-ul instructorului */
.st-z { position: absolute; left: var(--tc); right: 0; top: calc(var(--rh) * var(--i)); height: calc(var(--rh) * var(--k)); width: calc(100% - var(--tc)); pointer-events: none; overflow: visible; }
.st-z path { fill: none; stroke: var(--pen); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }

/* zile trecute: strânse pe telefon */
.st-day.is-past { border-color: #A9A9A9; }
.st-day.is-past .st-dh-wd { background: #E9E9E7; color: var(--ink-3); border-right-color: #A9A9A9; }
.st-day.is-past .st-dh-date { color: var(--ink-3); justify-content: flex-start; font-size: 16px; min-width: 0; }
.st-day.is-past .st-row { border-top-color: #BDBDBD; }
.st-day.is-past .st-t { border-right-color: #BDBDBD; }
.st-day.is-past .st-no { border-left-color: #BDBDBD; }
.st-day.is-past:not(.is-open) .st-rows { display: none; }
.st-day.is-past.is-open .st-dh-chev { transform: rotate(180deg); }
.st-dh[data-act] { cursor: pointer; }

/* legenda */
.st-legend { margin: 18px 0 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-1); }
.st-legend summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; font-weight: 650; cursor: pointer; list-style: none; color: var(--ink-2); }
.st-legend summary::-webkit-details-marker { display: none; }
.st-legend summary .ic:last-child { margin-left: auto; transition: transform .2s; }
.st-legend[open] summary .ic:last-child { transform: rotate(180deg); }
.st-legend-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; padding: 0 14px 14px; }
.st-lg { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border: var(--bw) solid var(--rule); background: #fff; }
.st-lg.st-s-free { background: var(--free-bg); box-shadow: inset 4px 0 0 var(--free-line); }
.st-lg.st-s-free .ic { display: block; }
.st-lg.st-s-mine.is-pend { background: var(--pend-bg); color: var(--pend); outline: 2px dashed var(--pend-line); outline-offset: -5px; }
.st-lg.st-s-mine.is-conf { background: var(--conf-bg); color: var(--conf); }
.st-lg.st-s-taken { background: var(--taken-bg); }
.st-lg.st-s-closed { background: var(--hatch), #F7F6F2; }

.st-foot { margin-top: 20px; text-align: center; }
.st-foot-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.st-fail { margin-top: 30px; text-align: center; display: grid; justify-items: center; gap: 10px; color: var(--danger); }
.st-fail p { color: var(--ink); margin: 0; }

/* ------------------------------------------------ foile de jos (programare, lecția mea, meniu) */
.st-sheet .sheet-title { font-size: 20px; }
.st-sh { display: grid; gap: 12px; padding-bottom: 4px; }
.st-sh-date { text-wrap: balance; font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: -.01em; }
.st-sh-time { font-size: 21px; font-weight: 700; color: var(--ink-2); margin-top: -6px; font-variant-numeric: tabular-nums; }
.st-sh-no { font-weight: 550; font-size: 17px; }
.st-mini { border: var(--bw) solid var(--rule); background: #fff; margin: 4px 0 2px; }
.st-mini-h { display: grid; grid-template-columns: var(--tc, 116px) 1fr; border-bottom: var(--bw) solid var(--rule); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.st-mini-h span { padding: 8px 6px; text-align: center; }
.st-mini-h span:first-child { background: var(--sheet-head); border-right: var(--bw) solid var(--rule); }
.st-mini-h span:last-child { font-size: 16px; text-transform: none; }
.st-mini-r { display: grid; grid-template-columns: var(--tc, 116px) 1fr 46px; height: 58px; }
.st-mini-r > span { display: flex; align-items: center; min-width: 0; }
.st-mini-r .st-t { justify-content: center; font-weight: 700; font-size: 16px; }
.st-mini-r .st-hand { padding: 0 8px 0 12px; font-size: 22px; display: block; line-height: 58px; }
.st-mini-r .st-hand-no { justify-content: center; border-left: var(--bw) solid var(--rule); padding: 0; text-align: center; }
.st-mini.is-draft .st-mini-r .st-hand:not(.st-hand-no) { background: var(--free-bg); }
.st-mini.is-pend .st-mini-r > span:not(.st-t) { background: var(--pend-bg); }
.st-mini.is-pend .st-hand { color: #4B5266; }
.st-mini.is-conf .st-mini-r > span:not(.st-t) { background: var(--conf-bg); }
.st-write { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; clip-path: inset(0 100% 0 0); animation: st-write 1.1s var(--ease) .25s forwards; }
@keyframes st-write { to { clip-path: inset(0 0 0 0); } }

.st-facts { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.st-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink); line-height: 1.4; }
.st-facts li .ic { color: var(--ink-3); margin-top: 1px; }
.st-facts b { font-weight: 750; }
.st-facts li.is-warn { color: var(--danger); font-weight: 600; }
.st-facts li.is-warn .ic { color: var(--danger); }
.st-sh-btns { display: grid; gap: 10px; margin-top: 6px; }
.st-big { min-height: 58px; font-size: 18.5px; }
.st-sh-err .notice { font-size: 16px; }
.st-sh .notice.st-note { margin: 0; }
.st-note-ok { background: var(--conf-bg); } .st-note-ok .ic { color: var(--conf); }
.st-hint { margin: 8px 2px 0; font-size: 15px; color: var(--ink-3); text-align: center; }
.st-hint b { color: var(--ink-2); }
.st-cancel { display: grid; gap: 4px; margin-top: 4px; }
.st-cancel .notice { margin-bottom: 8px; }
.st-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; animation: st-pop .45s var(--ease); }
.st-done-mark.is-pend { background: var(--pend-bg); color: var(--pend); }
@keyframes st-pop { from { transform: scale(.6); opacity: 0; } }
.st-offer { border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 8px; }
.st-offer p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.st-offer-h { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.st-offer-h .ic { color: var(--action); }
.st-ok .ic { color: var(--ok); }
.st-fail-msg { font-size: 17px; }

/* notificări */
.st-nl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-ni { display: flex; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--line-2); }
.st-ni.is-new { background: var(--action-soft); border-color: #C9DAF5; }
.st-ni b { font-size: 16.5px; }
.st-ni p { margin: 2px 0 4px; font-size: 16px; color: var(--ink-2); }
.st-ni time { font-size: 14px; color: var(--ink-3); }
.st-ni-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink-2); }
.st-ni-approved .st-ni-ic, .st-ni-added .st-ni-ic { color: var(--conf); }
.st-ni-rejected .st-ni-ic, .st-ni-removed .st-ni-ic, .st-ni-released .st-ni-ic { color: var(--danger); }
.st-nsw { margin-top: 14px; padding-top: 8px; border-top: 1.5px solid var(--line-2); }
.st-nsw .st-hint { text-align: left; margin: 0 0 6px; }

/* meniu */
.st-menu { display: grid; gap: 4px; }
.st-mi {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 8px 6px; border: 0; background: none; border-radius: 12px;
  text-align: left; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600;
}
.st-mi:hover { background: rgba(0,0,0,.04); }
.st-mi > .ic:last-child { color: var(--ink-3); }
.st-mi-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); }
.st-mi-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.st-mi-t small { font-size: 14.5px; font-weight: 450; color: var(--ink-3); }
.st-mi-sw { cursor: pointer; }
.st-menu .st-nsw { margin-top: 0; padding-top: 0; border-top: 0; }
.st-menu-lang { display: flex; justify-content: center; margin: 8px 0 12px; }
.st-pw-hint { margin: -8px 0 14px; }
.st-pw .st-sh-err { margin-bottom: 12px; }

/* ------------------------------------------------ telefoane mici */
@media (max-width: 370px) {
  .st { --tc: 104px; --nc: 40px; }
  .st-t { font-size: 15px; }
  .st-head .brand-words { display: none; }
}

/* ------------------------------------------------ tabletă / calculator */
@media (min-width: 700px) {
  .st-wrap { padding: 0 24px 40px; }
  .st-top-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .st-weeks { max-width: 560px; }
}
@media (min-width: 1000px) {
  .st { --tc: 112px; --nc: 42px; --rh: 52px; }
  .st-head { padding-top: 18px; }
  .st-hello { font-size: 19px; }
  .st-top-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 18px; }
  .st-ann { margin-bottom: 18px; }
  .st-weeks { display: inline-grid; min-width: 520px; margin: 30px 0 14px; }
  .st-strip { display: none; }
  .st-paper { padding: 26px 24px 28px; margin: 0; border-radius: 8px; }
  .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; align-items: start; }
  .st-hand { font-size: 23px; }
  .st-hand-no { font-size: 24px; }
  .st-t { font-size: 15.5px; }
  .st-dh { min-height: 48px; }
  .st-dh-date { font-size: 17px; }
  .st-mine { gap: 1px; }
  .st-mine-s { font-size: 13px; }
  .st-plus { width: 30px; height: 30px; }
  /* pe calculator foaia rămâne întreagă, ca pe hârtie: zilele trecute doar estompate */
  .st-day.is-past .st-rows { display: block !important; }
  .st-day.is-past .st-dh-chev { display: none; }
  .st-dh[data-act] { cursor: default; pointer-events: none; }
  .st-day.is-past .st-dh-date { justify-content: center; }
  .st-legend { display: inline-block; min-width: 520px; }
  .st-legend-l { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .st-legend[open] { display: block; }
}
.st-pw .input-wrap { display: block; }

.st-nw { white-space: nowrap; }
/* titluri lungi (nume foarte lungi) nu strâng butonul de închidere sub 44px */
.st-sheet .sheet-head > .icon-btn { flex: none; }
.st-sheet .sheet-title { min-width: 0; overflow-wrap: anywhere; }
