/* =====================================================================
   VEHICUL — ecranul instructorului (.ad-*). Foaia de hârtie + unelte.
   ===================================================================== */
.ad {
  --ad-paper: #FBF8F1; --ad-cell: #FFFEFA; --ad-head: #DEDAD0; --ad-pencil: #6E7585;
  --ad-tcol: 94px; --ad-ncol: 36px; --ad-rowh: 40px;
  min-height: 100vh; min-height: 100dvh; background: var(--bg);
  padding-bottom: calc(76px + var(--safe-b));
}

/* ------------------------------------------------ antet */
.ad-top { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); padding-top: var(--safe-t); }
.ad-top-in { max-width: 1680px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 6px 12px 6px 14px; min-height: 58px; }
.ad-brand { border: 0; background: none; padding: 4px 0; display: flex; }
.ad-brand .logo-car { width: 42px; }
.ad-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ad-tools .lang-switch button { min-width: 40px; height: 34px; }
.ad-logout { display: none; }
.ad-tabs { display: none; }
.ad-badge { position: absolute; top: -6px; right: -12px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pend-line); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px var(--paper); }
.ad-nav-ic { position: relative; display: inline-flex; }

/* bara de jos (telefon) */
.ad-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 4px 4px calc(4px + var(--safe-b));
}
.ad-bt { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 6px; min-height: 58px; color: var(--ink-3); font-size: 12.5px; font-weight: 650; border-radius: 14px; }
.ad-bt.on { color: var(--pen); }
.ad-bt.on .ad-nav-ic { background: var(--conf-bg); }
.ad-bt .ad-nav-ic { padding: 3px 16px; border-radius: 99px; transition: background .2s; }
.ad-bt .ad-badge { right: 2px; top: -4px; }

@media (min-width: 760px) {
  .ad { padding-bottom: 32px; }
  .ad-bottom { display: none; }
  .ad-tabs { display: flex; gap: 4px; margin-left: 18px; }
  .ad-tab { border: 0; background: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 650; font-size: 16px; color: var(--ink-2); }
  .ad-tab:hover { background: rgba(0, 0, 0, .04); }
  .ad-tab.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
  .ad-tab .ad-badge { position: static; margin-left: 2px; box-shadow: none; }
  .ad-tab .ad-nav-ic { gap: 8px; align-items: center; }
  .ad-logout { display: inline-grid; }
  .ad-top-in { padding: 8px 20px; min-height: 66px; }
}
@media (min-width: 760px) and (max-width: 979px) { .ad-tab .ad-nav-ic > .ic { display: none; } .ad-tab { padding: 0 10px; } }

/* ------------------------------------------------ conținut */
.ad-main { max-width: 1680px; margin: 0 auto; padding: 14px 12px 24px; }
@media (min-width: 760px) { .ad-main { padding: 20px 20px 32px; } .ad-h1 { font-size: 26px; } }
.ad-loading { display: grid; place-items: center; gap: 12px; min-height: 55vh; color: var(--ink-3); }
.ad-h1 { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.ad-h1row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ad-h2 { font-size: 19px; font-weight: 750; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ad-h2 .ic { color: var(--pen); }
.ad-h3 { font-size: 16px; font-weight: 750; margin: 18px 0 10px; }
.ad-lead { color: var(--ink-2); margin: 0 0 14px; font-size: 16px; }
.ad-hint { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-3); font-size: 14.5px; margin: 10px 0 0; line-height: 1.4; }
.ad-hint .ic { margin-top: 2px; flex: none; }
.ad-mt { margin-top: 14px; } .ad-mb { margin-bottom: 14px; }
.ad-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--pend-line); color: #fff; font-family: var(--font); font-size: 15px; font-weight: 800; }
.ad-count-n { background: var(--line-2); color: var(--ink-2); }
.ad-chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 99px; height: 40px; padding: 0 14px; font-weight: 650; font-size: 15px; color: var(--ink); }
.ad-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 48px 16px; color: var(--ink-3); }
.ad-empty h2 { color: var(--ink); font-size: 20px; }
.ad-empty p { margin: 0; max-width: 420px; }
.ad-empty-sm { padding: 24px 8px; }

/* ------------------------------------------------ orar: bara săptămânii */
.ad-sched-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.ad-weeknav { display: flex; align-items: center; gap: 2px; }
.ad-wn-btn { width: 44px; height: 44px; background: var(--card); box-shadow: var(--shadow-1); border-radius: 12px; color: var(--ink); }
.ad-week-title { display: flex; flex-direction: column; align-items: center; min-width: 168px; padding: 0 8px; line-height: 1.15; }
.ad-week-label { font-family: var(--font-display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.ad-week-sub { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.ad-today-btn { margin-left: 6px; }
.ad-open-pill { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; min-height: 48px; padding: 4px 12px; text-align: left; color: var(--ink); }
.ad-open-pill span { display: flex; flex-direction: column; line-height: 1.2; }
.ad-open-pill b { font-size: 15px; }
.ad-open-pill small { font-size: 13px; color: var(--ink-3); }
.ad-open-pill.is-open { border-color: #BFE3C8; background: var(--free-bg); } .ad-open-pill.is-open > .ic:first-child { color: var(--free); }
.ad-open-pill.is-closed > .ic:first-child { color: var(--ink-3); }
.ad-open-pill > .ic:last-child { color: var(--ink-3); }
.ad-stats b { color: var(--ink-2); }
.ad-stats .is-pend b { color: var(--pend); }
.ad-stats .is-free b { color: var(--free); }
.ad-wtools { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.ad-wtools .btn { background: var(--card); }
.ad-week-body { transition: opacity .2s; }
.ad-week-body.is-loading { opacity: .45; pointer-events: none; }

/* coloane: foaia + cereri */
.ad-sched-cols { display: grid; gap: 18px; }
.ad-side { display: none; }
@media (min-width: 1480px) {
  .ad-sched.has-side .ad-sched-cols { grid-template-columns: minmax(0, 1fr) 310px; align-items: start; }
  .ad-sched.has-side .ad-side { display: block; }
  .ad-sched.has-side .ad-pend-banner-d { display: none; }
}
.ad-pend-banner.ad-pend-banner-d { flex: 1 1 340px; max-width: 520px; margin: 0; min-height: 48px; padding: 8px 14px; font-size: 15.5px; }

/* ------------------------------------------------ foaia de hârtie */
.ad-paper { background: var(--ad-paper); border-radius: 6px; padding: 18px; box-shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 8px 24px rgba(40, 30, 10, .07); border: 1px solid #ECE6D8; }
.ad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; align-items: start; }
@media (max-width: 1099px) { .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ad-day { border: 1.5px solid var(--rule); background: var(--ad-cell); }
.ad-dh { display: grid; grid-template-columns: var(--ad-tcol) 1fr; width: 100%; border: 0; padding: 0; background: none; text-align: center; font: inherit; color: var(--ink); min-height: 38px; }
.ad-dh-wd { background: var(--sheet-head); border-right: 1.5px solid var(--rule); display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 0 4px; }
.ad-dh-dt { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.ad-dh:hover .ad-dh-dt { background: rgba(31, 111, 209, .05); }
.ad-today { font-style: normal; background: var(--pen); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.ad-ovr { font-style: normal; color: var(--ink-3); display: inline-flex; }
.ad-day.is-today { box-shadow: 0 0 0 3px rgba(26, 58, 138, .18); }
.ad-day.is-today .ad-dh-wd { background: #CFD7EA; }

.ad-r { display: grid; grid-template-columns: var(--ad-tcol) minmax(0, 1fr) var(--ad-ncol); width: 100%; min-height: var(--ad-rowh); border: 0; border-top: 1px solid var(--rule); padding: 0; background: transparent; text-align: left; font: inherit; color: var(--ink); position: relative; }
.ad-r > span { display: flex; align-items: center; min-width: 0; }
.ad-r > span + span { border-left: 1px solid var(--rule); }
.ad-t { justify-content: center; gap: 3px; font-weight: 700; font-size: 13px; white-space: nowrap; letter-spacing: -.01em; }
.ad-n { padding: 0 8px; gap: 6px; position: relative; overflow: hidden; }
.ad-no { justify-content: center; font-family: var(--font-hand); font-size: 23px; font-weight: 700; color: var(--pen); }
button.ad-r:hover { background: rgba(31, 111, 209, .06); }
button.ad-r:focus-visible { outline-offset: -3px; border-radius: 0; }
.ad-r-pad { pointer-events: none; }
.ad-nm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ad-nm-t { font-family: var(--font-hand); font-size: 23px; font-weight: 700; line-height: 1; color: var(--pen); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 0 1px; }
.ad-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); position: relative; z-index: 1; background: var(--ad-cell); padding: 1px 6px; border-radius: 4px; margin: 0 auto; }
.ad-plus { display: inline-flex; align-items: center; gap: 6px; color: var(--free-line); opacity: .55; font-size: 14px; font-weight: 650; }
.ad-r.is-free:hover .ad-plus { opacity: 1; }
.ad-r.is-free { background: transparent; }

/* stări */
.ad-r.is-pend { background: var(--pend-bg); }
.ad-r.is-pend .ad-nm-t { color: var(--ad-pencil); text-decoration: underline dashed var(--pend-line) 1.5px; text-underline-offset: 4px; }
.ad-r.is-pend .ad-nm .ic { color: var(--pend); flex: none; }
.ad-r.is-pend .ad-no { color: var(--ad-pencil); }
.ad-r.is-pend .ad-t::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pend-line); }
.ad-r.is-label .ad-nm-t { color: #2B4C9B; }
.ad-r.is-block, .ad-r.is-closed { background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(43, 43, 43, .09) 7px 8px); }
.ad-z { position: absolute; inset: 5px 8px; width: calc(100% - 16px); height: calc(100% - 10px); color: #2E4FA8; opacity: .75; }
.ad-r.is-past > span { opacity: .5; }
.ad-r.is-past.is-conf .ad-nm-t { color: #6C7BA6; }
.ad-r.is-empty .ad-n::after { content: ''; }
.ad-r.is-orphan .ad-t { color: var(--danger); }
.ad-r-off { min-height: calc(var(--ad-rowh) * 2); grid-template-columns: 1fr; background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(43, 43, 43, .09) 7px 8px); }
.ad-off-l { justify-content: center; gap: 8px; font-weight: 750; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; background: var(--ad-cell); padding: 4px 12px; margin: auto; border-radius: 6px; }

/* subsolul foii: logo + legendă */
.ad-foot { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: stretch; }
.ad-foot.with-sun { grid-column: auto / span 2; grid-template-columns: 1fr 1fr; }
@media (max-width: 1099px) { .ad-foot.with-sun { grid-column: 1 / -1; } }
.ad-logo-cell { border: 1.5px solid var(--rule); background: #fff; display: grid; place-items: center; padding: 14px; }
.ad-logo-cell .brand-name { font-size: 24px; }
.ad-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: center; font-size: 14px; color: var(--ink-2); padding: 6px 4px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: repeating-linear-gradient(transparent 0 33px, rgba(43, 43, 43, .35) 33px 34px); }
.ad-foot .ad-legend { background: none; border-top: 0; border-bottom: 0; align-content: end; }
.ad-lg { display: inline-flex; align-items: center; gap: 8px; }
.ad-lg i { display: inline-grid; place-items: center; min-width: 40px; height: 26px; border: 1px solid var(--rule); font-style: normal; background: var(--ad-cell); padding: 0 6px; }
.ad-lg i.ad-lg-hand { font-family: var(--font-hand); color: var(--pen); font-size: 19px; font-weight: 700; }
.ad-lg-pend i { background: var(--pend-bg); color: var(--pend); border-left: 4px solid var(--pend-line); }
.ad-lg-block i { background: repeating-linear-gradient(135deg, var(--ad-cell) 0 5px, rgba(43, 43, 43, .2) 5px 6px); }
.ad-lg-free i { color: var(--free-line); }

/* ------------------------------------------------ cereri (card) */
.ad-side { background: var(--card); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-1); position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.ad-side-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ad-side-head h2 { font-size: 17px; font-weight: 750; }
.ad-req-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 759px) { .ad-req-list { grid-template-columns: 1fr; } }
.ad-pc { background: var(--card); border: 1px solid var(--line-2); border-left: 5px solid var(--pend-line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-1); transition: opacity .3s, transform .3s; }
.ad-pc.is-gone { opacity: .3; transform: scale(.98); }
.ad-pc.is-compact { padding: 12px; margin-bottom: 10px; box-shadow: none; border-color: var(--line); border-left-color: var(--pend-line); }
.ad-pc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ad-pc-name { font-family: var(--font-hand); font-size: 28px; font-weight: 700; color: var(--ad-pencil, #6E7585); line-height: 1.05; color: #3E4757; }
.ad-pc.is-compact .ad-pc-name { font-size: 24px; }
.ad-pc-no { font-weight: 750; color: var(--ink-2); white-space: nowrap; font-size: 15px; }
.ad-pc-no small { font-weight: 600; color: var(--ink-3); font-size: 13px; }
.ad-pc-when { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px 0; font-size: 16px; color: var(--ink); text-align: left; min-height: 36px; }
.ad-pc-when .ic { color: var(--ink-3); }
.ad-pc.is-compact .ad-pc-when { font-size: 14.5px; }
.ad-pc-meta { font-size: 14px; color: var(--ink-3); }
.ad-pc-btns { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.ad-pc-btns .btn-primary { flex: 1.4; }
.ad-pc-btns .btn-ghost { flex: 1; background: #F1EEE7; border-color: transparent; }
.ad-pc.is-compact .ad-pc-btns .btn { min-height: 44px; font-size: 15px; padding: 0 10px; }
.ad-pc-call { flex: none; background: var(--action-soft); color: var(--action); width: 52px; height: 52px; border-radius: var(--r); }
.ad-rel { margin-top: 8px; }
.ad-rel-bar { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.ad-rel-bar i { display: block; height: 100%; background: var(--pend-line); border-radius: 3px; }
.ad-rel span { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--pend); font-weight: 650; margin-top: 5px; }

/* ------------------------------------------------ telefon: orarul unei zile */
.ad-sched.is-phone .ad-sched-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
.ad-sched.is-phone .ad-weeknav { justify-content: space-between; }
.ad-sched.is-phone .ad-week-title { flex: 1; min-width: 0; }
.ad-sched.is-phone .ad-week-label { font-size: 15.5px; white-space: normal; text-align: center; }
.ad-sched.is-phone .ad-week-sub { text-align: center; font-size: 12.5px; }
.ad-sched.is-phone .ad-weeknav { gap: 6px; }
.ad-sched.is-phone .ad-wn-btn { flex: none; }
.ad-row2 .ad-today-btn { margin: 0; height: auto; border-radius: 14px; padding: 0 12px; }
.ad-row2 { display: flex; gap: 8px; align-items: stretch; }
.ad-row2 .ad-open-pill { flex: 1; min-width: 0; }
.ad-row2 .ad-open-pill small { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ad-row2 .ad-open-pill span { min-width: 0; flex: 1; }
.ad-more { background: var(--card); border: 1.5px solid var(--line); width: 52px; height: auto; border-radius: 14px; color: var(--ink); }
.ad-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
.ad-sd { border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; display: flex; flex-direction: column; align-items: center; padding: 6px 0 5px; min-height: 66px; color: var(--ink); line-height: 1.1; }
.ad-sd-wd { font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; }
.ad-sd-n { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 2px 0 3px; }
.ad-sd-c { display: flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.ad-sd-c .ic { color: var(--pend); }
.ad-sd.is-today .ad-sd-n { color: var(--pen); }
.ad-sd.is-today { border-color: #AFC0E6; }
.ad-sd.is-off { background: repeating-linear-gradient(135deg, var(--card) 0 6px, #EEEBE4 6px 7px); }
.ad-sd.on { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.ad-sd.on .ad-sd-wd, .ad-sd.on .ad-sd-c { color: rgba(255, 255, 255, .75); }
.ad-sd.on .ad-sd-n { color: #fff; }
.ad-sd.on .ad-sd-c .ic { color: var(--yellow); }
.ad-pend-banner { display: flex; align-items: center; gap: 10px; width: 100%; border: 1.5px solid #EBC970; background: var(--pend-bg); color: var(--pend); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 16px; margin-bottom: 12px; text-align: left; min-height: 52px; }
.ad-pend-banner span { flex: 1; }
.ad-paper-day { padding: 10px; border-radius: 6px; }
.ad-sched.is-phone .ad-day { --ad-tcol: 78px; --ad-ncol: 46px; --ad-rowh: 60px; }
.ad-sched.is-phone .ad-dh { min-height: 46px; }
.ad-sched.is-phone .ad-dh-wd { font-size: 12px; }
.ad-sched.is-phone .ad-dh-dt { font-size: 17px; }
.ad-sched.is-phone .ad-t { flex-direction: column; justify-content: center; gap: 0; font-size: 17px; line-height: 1.15; }
.ad-sched.is-phone .ad-t small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.ad-sched.is-phone .ad-n { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 0 10px; }
.ad-sched.is-phone .ad-nm-t { font-size: 27px; }
.ad-sched.is-phone .ad-no { font-size: 27px; }
.ad-sched.is-phone .ad-plus { opacity: .8; font-size: 15px; }
.ad-sched.is-phone .ad-r.is-block .ad-n, .ad-sched.is-phone .ad-r.is-closed .ad-n { align-items: center; }
.ad-pend-l { font-size: 13px; font-weight: 700; color: var(--pend); line-height: 1; }
.ad-day-actions { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.ad-day-actions .btn { background: var(--card); }
.ad-sched.is-phone .ad-legend { background: none; border: 0; justify-content: center; gap: 8px 14px; font-size: 13px; }

/* ------------------------------------------------ foi de jos (sheet) */
.ad-sheet .sheet-title { font-size: 19px; }
.ad-sheet .ad-h3:first-child { margin-top: 4px; }
.ad-cur { border-radius: 16px; padding: 14px; background: var(--conf-bg); margin-bottom: 6px; }
.ad-cur.is-pend { background: var(--pend-bg); border: 1.5px dashed var(--pend-line); }
.ad-cur.is-block { display: flex; gap: 12px; align-items: center; position: relative; background: repeating-linear-gradient(135deg, #fff 0 8px, #EEEBE4 8px 9px); border: 1px solid var(--line); }
.ad-cur.is-block .ad-z { position: static; width: 80px; height: 36px; flex: none; }
.ad-cur.is-block p { margin: 2px 0 0; font-size: 14.5px; }
.ad-cur-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ad-cur-name { font-family: var(--font-hand); font-size: 30px; font-weight: 700; color: var(--pen); line-height: 1.05; }
.ad-cur.is-pend .ad-cur-name { color: #3E4757; }
.ad-cur-no { font-weight: 750; color: var(--ink-2); white-space: nowrap; }
.ad-cur-st { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 650; margin-top: 4px; color: var(--conf); }
.ad-cur.is-pend .ad-cur-st { color: var(--pend); }
.ad-cur-st .muted { font-weight: 500; }
.ad-decide { margin-top: 12px; }
.ad-decide .btn-ghost { background: #fff; }
.ad-call { margin-top: 10px; }
.ad-search { position: relative; }
.ad-search > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.ad-search .input { padding-left: 44px; }
.ad-pick { margin-top: 8px; max-height: min(42vh, 330px); overflow: auto; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--paper); overscroll-behavior: contain; }
.ad-pk { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n c" "m c"; align-items: center; gap: 1px 10px; width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: none; padding: 10px 14px; text-align: left; min-height: 52px; color: var(--ink); }
.ad-pk:last-child { border-bottom: 0; }
.ad-pk:hover { background: rgba(31, 111, 209, .05); }
.ad-pk-n { grid-area: n; font-weight: 650; font-size: 16.5px; display: flex; align-items: center; gap: 6px; }
.ad-pk-m { grid-area: m; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.ad-pk > .ic { grid-area: c; }
.ad-pk-m b { color: var(--ink); }
.ad-plus-b { color: var(--conf); font-weight: 650; }
.ad-pk .ic-check { color: var(--pen); }
.ad-pk.on { background: var(--conf-bg); }
.ad-pk.on .ad-pk-n { color: var(--pen); }
.ad-pk-free .ad-pk-n { color: var(--action); }
.ad-pk-empty { padding: 14px; margin: 0; color: var(--ink-3); font-size: 15px; }
.ad-slot-opts { display: grid; grid-template-columns: 96px 1fr; gap: 12px; margin-top: 14px; align-items: end; }
.ad-slot-opts .field { margin-bottom: 0; }
.ad-no-hint { margin: 6px 0 12px; }
.ad-seg { display: inline-flex; background: #EFECE5; border-radius: var(--r); padding: 3px; gap: 2px; flex-wrap: wrap; }
.ad-seg button { border: 0; background: transparent; min-height: 48px; padding: 0 12px; border-radius: 11px; font-weight: 650; font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; white-space: nowrap; }
.ad-seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.ad-seg button[data-status="pending"].on { color: var(--pend); }
.ad-seg button[data-status="confirmed"].on { color: var(--conf); }
.ad-seg button b { color: var(--ink-3); font-weight: 700; }
.ad-seg-wide { display: flex; width: 100%; margin-bottom: 16px; }
.ad-slot-opts .ad-seg { display: flex; flex-wrap: nowrap; }
.ad-slot-opts .ad-seg button { padding: 0 8px; min-width: 0; }
.ad-slot-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.ad-slot-more .btn { flex: 1 1 auto; }
.ad-save { margin-top: 4px; }
.ad-slotform .field-error { margin: 0 0 10px; }

/* opțiuni (radio mari) și meniuri */
.ad-opts { display: grid; gap: 8px; margin: 14px 0; }
.ad-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 14px; text-align: left; min-height: 60px; color: var(--ink); }
.ad-opt.on { border-color: var(--pen); background: var(--conf-bg); }
.ad-opt-ic { color: var(--ink-2); }
.ad-opt-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ad-opt-t small { color: var(--ink-3); font-size: 14px; line-height: 1.35; }
.ad-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.ad-opt.on .ad-radio { border: 7px solid var(--pen); }
.ad-menu { display: grid; gap: 6px; }
.ad-menu button { display: flex; align-items: center; gap: 14px; border: 0; background: var(--paper); border-radius: 14px; padding: 12px 14px; text-align: left; min-height: 60px; color: var(--ink); border: 1px solid var(--line-2); }
.ad-menu button:hover { background: var(--conf-bg); }
.ad-menu button > .ic { color: var(--pen); }
.ad-menu span { display: flex; flex-direction: column; }
.ad-menu small { color: var(--ink-3); font-size: 14px; }

/* editorul de ore */
.ad-se-list { display: grid; gap: 8px; }
.ad-se-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 12px minmax(0, 1fr) 44px; align-items: center; gap: 6px; }
.ad-se-row .input { min-height: 48px; padding: 0 10px; text-align: center; font-weight: 650; }
.ad-se-row.invalid .input { border-color: var(--danger); background: var(--danger-bg); }
.ad-se-n { color: var(--ink-3); font-weight: 700; font-size: 14px; text-align: right; }
.ad-se-dash { text-align: center; color: var(--ink-3); }
.ad-se-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ad-se-gen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; padding: 12px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line-2); align-items: end; }
.ad-se-gen label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.ad-se-gen .input { min-height: 48px; }
.ad-se-gen .btn { grid-column: 1 / -1; }
.ad-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; cursor: pointer; }
.ad-switch-row > span:first-child { display: flex; flex-direction: column; }
.ad-switch-row small { color: var(--ink-3); font-size: 14px; line-height: 1.35; }
.ad-copy-to { margin-top: 16px; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-chipbox { position: relative; }
.ad-chipbox input { position: absolute; opacity: 0; }
.ad-chipbox span { display: grid; place-items: center; min-width: 48px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; background: #fff; }
.ad-chipbox input:checked + span { background: var(--pen); border-color: var(--pen); color: #fff; }
.ad-chipbox input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.ad-exp-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ------------------------------------------------ elevi */
.ad-stu-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; align-items: center; }
.ad-stu-tools .ad-search { flex: 1 1 280px; max-width: 460px; }
.ad-stu-filter button { min-height: 44px; flex: none; }
@media (max-width: 759px) {
  .ad-stu-filter { display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ad-stu-filter button { padding: 0 10px; font-size: 14.5px; }
}
.ad-stu-list { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.ad-stu-hrow { display: none; }
.ad-sr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "name name sw" "login prog prog"; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; align-items: center; }
.ad-sr:last-child { border-bottom: 0; }
.ad-sr:hover { background: #FBFAF6; }
.ad-sr:focus-visible { outline-offset: -3px; }
.ad-sr-name { grid-area: name; display: flex; flex-direction: column; min-width: 0; }
.ad-sr-name b { font-size: 17.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-sr-name small { color: var(--ink-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-sr-login { grid-area: login; }
.ad-sr-prog { grid-area: prog; display: flex; align-items: center; gap: 10px; }
.ad-sr-sw { grid-area: sw; }
.ad-sr.is-off .ad-sr-name b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.ad-sr.is-off .ad-sr-prog, .ad-sr.is-off .ad-sr-login { opacity: .55; }
.ad-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 650; border-radius: 99px; padding: 4px 10px; background: var(--line-2); color: var(--ink-2); }
.ad-pill.ok { background: var(--ok-bg); color: var(--ok); }
.ad-pill.wait { background: var(--pend-bg); color: var(--pend); }
.ad-code-s { font-family: var(--font-display); letter-spacing: .06em; font-weight: 700; }
.ad-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; display: flex; max-width: 220px; }
.ad-bar i { display: block; height: 100%; background: var(--pen); }
.ad-bar i.b { background: repeating-linear-gradient(135deg, #8EA6DA 0 3px, #C9D6F0 3px 6px); }
.ad-bar-lg { height: 12px; border-radius: 6px; max-width: none; margin-bottom: 6px; }
.ad-sr-n { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.ad-sr-n b { color: var(--ink); font-size: 16px; }
.ad-sr-n em { font-style: normal; color: var(--conf); font-weight: 650; }
@media (min-width: 900px) {
  .ad-stu-hrow, .ad-sr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 1.1fr) 80px; grid-template-areas: "name login prog sw"; gap: 16px; }
  .ad-stu-hrow { padding: 12px 16px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); border-bottom: 1px solid var(--line-2); }
  .ad-sr { padding: 10px 16px; min-height: 64px; }
  .ad-sr-sw { justify-self: start; }
}

/* foaia elevului */
.ad-stu-sum { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.ad-stu-sum > div:last-child { flex: 1; }
.ad-big-prog { font-family: var(--font-display); white-space: nowrap; }
.ad-big-prog b { font-size: 34px; font-weight: 700; color: var(--pen); }
.ad-big-prog span { font-size: 18px; color: var(--ink-3); font-weight: 600; }
.ad-acc { border-top: 1px solid var(--line-2); margin-top: 14px; }
.ad-acc > .btn { margin-top: 10px; }
.ad-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.ad-stu-form { border-top: 1px solid var(--line-2); margin-top: 18px; }
.ad-code { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; }
.ad-code-l { font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); text-align: center; }
.ad-code-v { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: .12em; text-align: center; color: var(--ink); margin: 4px 0 10px; user-select: all; display: flex; justify-content: center; gap: 0; }
.ad-code-v span { width: 18px; }
.ad-code-msg { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; }
.ad-code-msgh { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.ad-mini-seg { display: inline-flex; background: var(--line-2); border-radius: 8px; padding: 2px; }
.ad-mini-seg button { border: 0; background: none; font-size: 12.5px; font-weight: 750; padding: 5px 10px; border-radius: 6px; color: var(--ink-3); min-height: 32px; }
.ad-mini-seg button.on { background: #fff; color: var(--ink); }
.ad-msg-pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 14.5px; color: var(--ink-2); max-height: 180px; overflow: auto; }
.ad-code-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ad-code-btns .btn-primary { flex: 1 1 100%; }
.ad-code-btns .btn:not(.btn-primary) { flex: 1; }
.ad-added { display: grid; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; margin-top: 12px; }
.ad-added-r { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--line-2); }
.ad-added-r:last-child { border-bottom: 0; }
.ad-many { font-size: 17px; line-height: 1.5; }

/* ------------------------------------------------ setări */
.ad-set .ad-h1 { margin-bottom: 14px; }
.ad-set-cols { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1000px) { .ad-set-cols { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.ad-set-col { display: grid; gap: 16px; }
.ad-card { padding: 18px; }
.ad-wk-list { display: grid; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.ad-wk-row { display: grid; grid-template-columns: auto 1fr 44px; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-bottom: 1px solid var(--line-2); }
.ad-wk-row:last-child { border-bottom: 0; }
.ad-wk-b { border: 0; background: none; text-align: left; display: flex; flex-direction: column; padding: 4px 0; min-height: 44px; justify-content: center; color: var(--ink); }
.ad-wk-b small { color: var(--ink-3); font-size: 14px; }
.ad-wk-row.is-off .ad-wk-b b { color: var(--ink-3); }
.ad-sub { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.ad-rule { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.ad-rule-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ad-rule-t b { font-size: 16px; }
.ad-rule-t small { color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.ad-rule-c { flex: none; }
.ad-rule.is-col { flex-direction: column; align-items: stretch; }
.ad-rule.is-dis { opacity: .45; }
.ad-inline { display: flex; gap: 8px; }
.ad-inline .select { flex: 1; }
.ad-time { width: 150px; flex: none; text-align: center; }
.ad-step { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; position: relative; }
.ad-step.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179, 0, 27, .1); }
.ad-step-b { border: 0; background: none; width: 44px; height: 48px; font-size: 22px; font-weight: 600; color: var(--ink-2); border-radius: 12px; }
.ad-step-b:hover { background: rgba(0, 0, 0, .04); }
.ad-step-v { width: 54px; border: 0; text-align: center; font-size: 18px; font-weight: 750; background: none; padding: 0; height: 48px; -moz-appearance: textfield; appearance: textfield; }
.ad-step-v::-webkit-inner-spin-button, .ad-step-v::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ad-step-v:focus { outline: none; }
.ad-step:focus-within { border-color: var(--blue); }
.ad-step-u { position: absolute; right: -22px; color: var(--ink-3); font-weight: 650; font-size: 15px; }
.ad-step:has(.ad-step-u) { margin-right: 22px; }
@media (max-width: 600px) {
  .ad-rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: center; }
  .ad-rule-t { display: contents; }
  .ad-rule-t b { order: 1; }
  .ad-rule-c { order: 2; }
  .ad-rule-t small { order: 3; grid-column: 1 / -1; }
  .ad-rule.is-col .ad-rule-c { grid-column: 1 / -1; order: 4; margin-top: 6px; }
  .ad-step-b { width: 40px; }
  .ad-step-v { width: 46px; }
}
.ad-save-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ad-save-bar .btn { min-width: 160px; }
.ad-dirty { display: inline-flex; align-items: center; gap: 6px; color: var(--pend); font-weight: 650; font-size: 14.5px; margin-right: auto; }
#set-rules .ad-save-bar { position: sticky; bottom: calc(76px + var(--safe-b)); background: var(--card); padding: 12px 0 4px; margin-bottom: -4px; }
@media (min-width: 760px) { #set-rules .ad-save-bar { bottom: 0; } }
#set-rules .field-error { margin-top: 12px; }
.ad-push-state { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--line-2); font-weight: 600; font-size: 15px; }
.ad-push-state.is-granted { background: var(--ok-bg); color: var(--ok); }
.ad-push-state.is-denied { background: var(--danger-bg); color: var(--danger); }
.ad-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ad-ev { list-style: none; margin: 0; padding: 0; display: grid; }
.ad-ev li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.ad-ev li:last-child { border-bottom: 0; }
.ad-ev-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--ink-2); flex: none; }
.ev-confirmed .ad-ev-ic { background: var(--conf-bg); color: var(--conf); }
.ev-booked .ad-ev-ic, .ev-added .ad-ev-ic { background: var(--free-bg); color: var(--free); }
.ev-rejected .ad-ev-ic, .ev-cancelled .ad-ev-ic, .ev-removed .ad-ev-ic { background: var(--danger-bg); color: var(--danger); }
.ev-released .ad-ev-ic { background: var(--pend-bg); color: var(--pend); }
.ad-ev-t { display: flex; flex-direction: column; font-size: 15px; }
.ad-ev-t small { color: var(--ink-3); font-size: 13px; }
.ad-logout-big { background: var(--card); }
@media (min-width: 760px) { .ad-logout-big { display: none; } }

/* notificări */
.ad-nt { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ad-nt-r { display: flex; gap: 12px; width: 100%; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 12px; text-align: left; color: var(--ink); }
.ad-nt-r.is-new { background: var(--conf-bg); border-color: #C8D8F3; }
.ad-nt-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; flex: none; }
.nt-booking_new .ad-nt-ic { background: var(--pend-bg); color: var(--pend); }
.nt-booking_cancelled .ad-nt-ic { background: var(--danger-bg); color: var(--danger); }
.nt-booking_new_auto .ad-nt-ic { background: var(--free-bg); color: var(--free); }
.ad-nt-t { display: flex; flex-direction: column; gap: 1px; font-size: 15px; }
.ad-nt-t small { color: var(--ink-3); font-size: 13px; }

/* ------------------------------------------------ tipar: foaia A4 culcată */
.ad-print-host { display: none; }
@media print {
  body.ad-printing { background: #fff !important; min-height: 0; }
  body.ad-printing > *:not(.ad-print-host) { display: none !important; }
  body.ad-printing .ad-print-host { display: block; }
}
.ad-print {
  --gap: 4mm; --bottom: 34mm;
  width: 283mm; height: 195mm; display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr; align-content: space-between; gap: var(--gap) 5mm; font-family: Arial, 'Onest', sans-serif; color: #111;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.ad-print.seven { grid-template-rows: auto auto auto; }
.ad-print .pday { width: 100%; align-self: start; border-collapse: collapse; table-layout: fixed; border: 1.6px solid #222; }
.ad-print col.c1 { width: 26mm; }
.ad-print tbody tr { height: var(--rh, 8mm); } .ad-print col.c3 { width: 9mm; }
.ad-print th, .ad-print td { border: 1px solid #222; padding: 0 1.5mm; font-size: 10.5pt; overflow: hidden; white-space: nowrap; }
.ad-print th { background: #DCDCDC; font-weight: 700; font-size: 8.5pt; height: 8mm; letter-spacing: -.01em; }
.ad-print th.pdt { background: #fff; font-size: 11pt; }
.ad-print td.pt { font-weight: 700; font-size: 9.5pt; text-align: center; }
.ad-print td.pn { font-family: 'Caveat', cursive; font-size: 15pt; color: #1A3A8A; font-weight: 700; position: relative; text-overflow: ellipsis; }
.ad-print td.pno { text-align: center; font-family: 'Caveat', cursive; font-size: 15pt; color: #1A3A8A; font-weight: 700; }
.ad-print tr.z td.pn { padding: 0; }
.ad-print .ad-z { position: absolute; inset: 1mm 1.5mm; width: calc(100% - 3mm); height: calc(100% - 2mm); color: #1A3A8A; opacity: .9; }
.ad-print .plogo { border: 1.6px solid #222; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1mm; padding: 2mm; }
.ad-print .plogo .logo-car { width: 46mm; height: auto; }
.ad-print .plogo-w { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ad-print .plogo-w b { font-family: 'Unbounded', Arial, sans-serif; font-size: 18pt; letter-spacing: .06em; }
.ad-print .plogo-w span { color: #D7262E; font-weight: 800; letter-spacing: .2em; font-size: 8pt; margin-top: 1mm; }
.ad-print .plines { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-around; padding: 2mm 0; }
.ad-print.seven .plines { grid-column: span 1; }
.ad-print .plines i { display: block; border-bottom: 1px solid #333; }
.ad-print.seven .plogo { grid-row: 3; }
.ad-pc-when b { white-space: nowrap; }

/* ------------------------------------------------ QA: ținte de atingere ≥ 44px, aliniere, texte lungi */
.ad-tools .lang-switch button { min-width: 44px; height: 44px; }
.ad-tools .lang-switch { padding: 2px; }
.ad-brand { min-height: 44px; align-items: center; }
.ad-pc-when { min-height: 44px; }
.ad-sr-sw::after, .ad-rule-c .switch::after, .ad-wk-row .switch::after { content: ''; position: absolute; inset: -8px -6px; }
@media (max-width: 600px) { .ad-step-b { width: 44px; } .ad-step-v { width: 44px; } }
/* toate „stepper”-ele aliniate la dreapta, fie că au unitate („ч”) sau nu */
#set-rules .ad-step { margin-right: 22px; }
/* numele foarte lungi pe cardul cererii: cel mult 2 rânduri */
.ad-pc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; min-width: 0; }
.ad-pc-top { align-items: flex-start; }
.ad-pc-no { padding-top: 6px; }
/* editorul de ore: ora încape și în format 12 h („07:30 AM”) pe 390px */
.ad-se-row { grid-template-columns: 18px minmax(0, 1fr) 10px minmax(0, 1fr) 44px; gap: 4px; }
.ad-se-row .input { padding: 0 4px; font-variant-numeric: tabular-nums; }
.ad-se-row .input::-webkit-calendar-picker-indicator { margin-left: 0; padding: 0; }
/* tipar: un singur Z peste orele închise la rând */
.ad-print td.pz { padding: 0; position: relative; }
@media (max-width: 759px) { .ad-req-list { grid-template-columns: minmax(0, 1fr); } }
.ad-pc { min-width: 0; }
.ad-pc-when { max-width: 100%; }
.ad-pc-when > span { min-width: 0; flex: 1; }
.ad-pc.is-compact .ad-pc-top { flex-direction: column; gap: 2px; }
.ad-pc.is-compact .ad-pc-no { padding-top: 0; }
.ad-pc.is-compact .ad-pc-when > span { min-width: 0; }
/* foaia: „ПОНЕДЕЛЬНИК” / „MIERCURI” încap în celula gri */
.ad { --ad-tcol: 100px; }
.ad-dh-wd { letter-spacing: .01em; }
/* calculator < 1480px cu cereri: butoanele Tipar/Export/Calendar devin doar iconițe, ca bara să rămână pe un rând */
@media (min-width: 760px) and (max-width: 1479px) {
  .ad-sched.has-side .ad-wt-l { display: none; }
  .ad-sched.has-side .ad-wtools .btn { width: 44px; min-height: 44px; padding: 0; }
  .ad-sched.has-side .ad-pend-banner-d { flex: 1 1 200px; min-width: 0; }
  .ad-sched.has-side .ad-pend-banner-d span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
