/* LICEENII — identitate „Evidențiatorul”: alb curat, albastru cobalt, galbenul markerului de pe caiet pentru ce contează.
   Layout: hero cu previzualizare de produs, grilă bento pentru zone, bandă de culoare pentru acțiuni. */
:root{
  --bg:#f8f9fe; --surface:#ffffff; --ink:#0e1120; --muted:#5a6079; --line:#e2e5f0;
  --brand:#2545f2; --on-brand:#ffffff; --brand-tint:#e7ecff;
  --marker:#ffe14a; --on-marker:#0e1120;
  --coral:#c8321f; --coral-tint:#ffe9e5; --mint:#0b7a48; --mint-tint:#ddf6e9;
  --deep:#0e1120; --on-deep:#f1f3fb;
  --f-display:"Unbounded","Avenir Next",system-ui,sans-serif;
  --f-body:"Onest","Segoe UI",system-ui,sans-serif;
  --r-lg:28px; --r:18px; --r-sm:12px;
  --shadow:0 1px 2px rgba(14,17,32,.04),0 12px 32px -12px rgba(14,17,32,.14);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0a0c16; --surface:#141828; --ink:#f1f3fb; --muted:#9ba2be; --line:#252a41;
  --brand:#7b8cff; --on-brand:#0a0c16; --brand-tint:#1b2142;
  --coral:#ff7d6e; --coral-tint:#2a1a1c; --mint:#4fd895; --mint-tint:#14281f;
  --deep:#141828; --on-deep:#f1f3fb;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0a0c16; --surface:#141828; --ink:#f1f3fb; --muted:#9ba2be; --line:#252a41;
  --brand:#7b8cff; --on-brand:#0a0c16; --brand-tint:#1b2142;
  --coral:#ff7d6e; --coral-tint:#2a1a1c; --mint:#4fd895; --mint-tint:#14281f;
  --deep:#141828; --on-deep:#f1f3fb;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme:dark}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:90px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto} *{animation:none!important; transition:none!important}}
body{margin:0; background:var(--bg); color:var(--ink); font-family:var(--f-body); font-size:17px; line-height:1.6}
img,svg{max-width:100%; height:auto}
a{color:var(--brand); text-underline-offset:3px}
h1,h2,h3{font-family:var(--f-display); margin:0; line-height:1.05; text-wrap:balance}
h1{font-size:clamp(2.2rem,5.6vw,4.6rem); font-weight:800; letter-spacing:-.035em}
h2{font-size:clamp(1.65rem,3.6vw,2.7rem); font-weight:700; letter-spacing:-.03em}
h3{font-size:1.08rem; font-weight:600; letter-spacing:-.01em; line-height:1.25}
p{margin:0}
mark{background:linear-gradient(transparent 12%,var(--marker) 12%,var(--marker) 88%,transparent 88%); color:var(--on-marker); padding:0 .12em; border-radius:4px; -webkit-box-decoration-break:clone; box-decoration-break:clone}
:focus-visible{outline:3px solid var(--coral); outline-offset:3px; border-radius:8px}
.skip{position:absolute; left:-999px; top:10px; background:var(--surface); padding:8px 12px; border-radius:8px; z-index:20}
.skip:focus{left:16px}

:root{--latime-pagina:1440px}
.wrap{max-width:var(--latime-pagina); margin:0 auto; padding-inline:20px}
.eyebrow{font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:var(--brand)}
.lead{color:var(--muted); font-size:1.12rem; max-width:60ch}
.small{font-size:.86rem; color:var(--muted)}
.stack{display:grid; gap:14px}
.section{padding-block:88px; display:grid; gap:36px}
@media (max-width:640px){.section{padding-block:60px}}
.chip{display:inline-flex; align-items:center; gap:8px; justify-self:start; font-size:.85rem; font-weight:600; padding:6px 12px 6px 8px; border-radius:999px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow)}
.chip i{width:8px; height:8px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 4px var(--coral-tint)}

/* Nav */
.logo{font-family:var(--f-display); font-weight:800; font-size:1.05rem; letter-spacing:-.03em; color:var(--ink); text-decoration:none; display:inline-flex; align-items:center; gap:8px}
.logo b{display:inline-grid; place-items:center; width:30px; height:30px; border-radius:9px; background:var(--brand); color:var(--on-brand); font-size:.95rem}
.logo .lw{color:var(--ink)}
.logo .lw span{color:var(--brand)}

.btn{white-space:nowrap; display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:700; font-size:1rem; line-height:1;
  padding:15px 22px; border-radius:999px; border:0; background:var(--brand); color:var(--on-brand); cursor:pointer; text-decoration:none; transition:transform .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn.sm{padding:11px 18px; font-size:.92rem}
.btn.light{background:var(--surface); color:var(--ink); border:1px solid var(--line)}
.btn.marker{background:var(--marker); color:var(--on-marker)}

/* Hero */
.hero{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:56px; align-items:center; padding-block:72px 88px}
.hero-text{display:grid; gap:24px}
.actions{display:flex; flex-wrap:wrap; gap:12px}
.facts{display:flex; flex-wrap:wrap; gap:10px 28px; color:var(--muted); font-size:.95rem}
.facts b{color:var(--ink); font-variant-numeric:tabular-nums}
@media (max-width:920px){.hero{grid-template-columns:minmax(0,1fr); gap:44px; padding-block:48px 64px}}

/* Previzualizare produs */
.preview{position:relative; display:grid; gap:14px; padding:22px; border-radius:var(--r-lg); background:var(--brand-tint); border:1px solid var(--line)}
.preview .label{position:absolute; top:-12px; right:20px; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:var(--surface); color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:3px 10px}
.ui{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px 18px; box-shadow:var(--shadow); display:grid; gap:10px}
.ui:nth-child(3){margin-left:28px}
.ui:nth-child(4){margin-right:28px}
@media (max-width:480px){.ui:nth-child(3),.ui:nth-child(4){margin:0}}
.ui-head{display:flex; justify-content:space-between; align-items:center; gap:10px}
.ui-head h3{font-size:.95rem}
.pill{font-size:.75rem; font-weight:700; padding:3px 9px; border-radius:999px; white-space:nowrap}
.pill.blue{background:var(--brand-tint); color:var(--brand)}
.pill.mint{background:var(--mint-tint); color:var(--mint)}
.pill.coral{background:var(--coral-tint); color:var(--coral)}
.steps-ui{list-style:none; margin:0; padding:0; display:grid; gap:8px}
.steps-ui li{display:grid; grid-template-columns:62px 1fr; gap:10px; align-items:center; font-size:.92rem}
.steps-ui time{font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted)}
.steps-ui li.now time{color:var(--brand)}
.steps-ui li.now span{font-weight:700}
.person{display:grid; grid-template-columns:44px 1fr; gap:12px; align-items:center}
.avatar{width:44px; height:44px; border-radius:14px; display:grid; place-items:center; font-family:var(--f-display); font-weight:700; background:var(--marker); color:var(--on-marker)}
.person p{font-size:.85rem; color:var(--muted)}
.checks{display:flex; flex-wrap:wrap; gap:6px}
.vbadge{display:inline-flex; align-items:center; gap:5px; font-size:.75rem; font-weight:700; color:var(--mint)}
.vbadge::before{content:"✓"; display:inline-grid; place-items:center; width:16px; height:16px; border-radius:50%; background:var(--mint); color:var(--surface); font-size:.75rem}

/* Bandă de acțiune (lista de așteptare) */
.band{background:var(--brand); color:var(--on-brand); border-radius:var(--r-lg); padding:clamp(28px,5vw,56px); display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:40px; align-items:start}
.band .eyebrow{color:var(--on-brand)}
.band .lead,.band .small{color:color-mix(in srgb,var(--on-brand) 78%,transparent)}
.band a{color:var(--on-brand)}
.band h2{color:var(--on-brand)}
@media (max-width:920px){.band{grid-template-columns:1fr; gap:28px}}

/* Formulare */
form{display:grid; gap:14px}
.field{display:grid; gap:6px; min-width:0}
label,.legend{font-weight:600; font-size:.92rem}
.opt{font-weight:400; opacity:.85}   /* .75 dădea 4,36:1 pe banda albastră (axe, runda 2); .85 trece AA */
input[type=text],input[type=email],input[type=tel],select{width:100%; font:inherit; font-size:1rem; color:var(--ink); background:var(--surface);
  border:1.5px solid color-mix(in srgb,var(--muted) 55%,transparent); border-radius:var(--r-sm); padding:12px 14px; min-height:48px}
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,select:focus{border-color:var(--brand); outline:none; box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 22%,transparent)}
.band :focus-visible{outline-color:var(--marker)}
.band input[type=text]:focus,.band input[type=email]:focus,.band select:focus{box-shadow:0 0 0 4px var(--marker)}
.band input,.band select{border-color:transparent}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width:520px){.row2{grid-template-columns:1fr}}
fieldset{border:0; padding:0; margin:0; min-width:0}
.radios{display:flex; flex-wrap:wrap; gap:8px}
.radios label{display:inline-flex; gap:8px; align-items:center; font-weight:500; font-size:.95rem; padding:9px 14px; border-radius:999px; cursor:pointer;
  background:color-mix(in srgb,var(--on-brand) 12%,transparent); border:1.5px solid color-mix(in srgb,var(--on-brand) 28%,transparent)}
.radios label:has(input:checked){background:var(--marker); color:var(--on-marker); border-color:var(--marker)}
.radios input{accent-color:var(--ink); margin:0}
.check{display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; font-weight:400; font-size:.88rem}
.check input{width:24px; height:24px; margin:2px 0 0; accent-color:var(--brand)}
.band .check input{accent-color:var(--marker)}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

/* Parcurs */
.journey{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}
@media (max-width:980px){.journey{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:540px){.journey{grid-template-columns:1fr}}
.stage{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:22px; display:grid; gap:14px; align-content:start}
.stage .big{font-family:var(--f-display); font-weight:800; font-size:1.9rem; letter-spacing:-.04em; color:var(--brand); line-height:1}
.stage .age{font-size:.88rem; color:var(--muted)}
.stage ul{list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:.93rem; border-top:1px dashed var(--line); padding-top:12px}
.stage .t{display:block; font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:700}

/* Bento zone */
.bento{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}
@media (max-width:980px){.bento{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:540px){.bento{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px} .tile{padding:16px} .tile h3{font-size:.98rem} .tile p{font-size:.86rem}}
.tile{border-radius:var(--r); padding:22px; display:grid; gap:10px; align-content:start; background:var(--surface); border:1px solid var(--line); min-width:0}
.tile p{font-size:.93rem; color:var(--muted)}
.tile .tag{justify-self:start; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 9px; border-radius:999px; border:1px solid var(--line); color:var(--muted)}
.tile.big{grid-column:span 2; padding:28px; gap:12px}

.tile.big h3{font-size:1.45rem}
.tile.t-brand{background:var(--brand); border-color:var(--brand); color:var(--on-brand)}
.tile.t-brand p{color:color-mix(in srgb,var(--on-brand) 80%,transparent)}
.tile.t-marker{background:var(--marker); border-color:var(--marker); color:var(--on-marker)}
.tile.t-marker p{color:color-mix(in srgb,var(--on-marker) 72%,transparent)}
.tile.t-mint{background:var(--mint-tint); border-color:transparent}
.tile.t-coral{background:var(--coral-tint); border-color:transparent}
.tile .tag.on{background:var(--ink); color:var(--bg); border-color:var(--ink)}
.tile .tag.sim{background:var(--marker); color:var(--on-marker); border-color:var(--marker)}
.tile.t-brand .tag.on{background:var(--marker); color:var(--on-marker); border-color:var(--marker)}

/* Siguranță */
.dark{background:var(--deep); color:var(--on-deep); border-radius:var(--r-lg); padding:clamp(28px,5vw,56px); display:grid; gap:32px}
.dark .lead{color:color-mix(in srgb,var(--on-deep) 72%,transparent)}
.dark .eyebrow{color:var(--marker)}
.rules{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px}
@media (max-width:900px){.rules{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:540px){.rules{grid-template-columns:1fr}}
.rules li{border:1px solid color-mix(in srgb,var(--on-deep) 16%,transparent); border-radius:var(--r); padding:18px; display:grid; gap:8px; align-content:start}
.rules strong{font-family:var(--f-display); font-weight:600; font-size:1rem; line-height:1.3}
.rules strong::before{content:"✓"; display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--mint); color:var(--deep); font-size:.75rem; margin-right:8px; vertical-align:2px}
.rules span{font-size:.92rem; color:color-mix(in srgb,var(--on-deep) 70%,transparent)}

/* Împreună cu noi */
.join{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:start}
@media (max-width:980px){.join{grid-template-columns:1fr}}
.jcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:24px; display:grid; gap:14px; box-shadow:var(--shadow)}
.jcard .ico{width:48px; height:48px; border-radius:14px; display:grid; place-items:center; font-family:var(--f-display); font-weight:800; font-size:1.1rem}
.ico.i1{background:var(--brand-tint); color:var(--brand)}
.ico.i2{background:var(--marker); color:var(--on-marker)}
.ico.i3{background:var(--mint-tint); color:var(--mint)}
.jcard ul{margin:0; padding-left:18px; display:grid; gap:4px; font-size:.93rem; color:var(--muted)}
.jcard details{border-top:1px dashed var(--line); padding-top:14px}
.jcard summary{list-style:none; cursor:pointer}
.jcard summary::-webkit-details-marker{display:none}
.jcard details[open] summary{margin-bottom:14px}
.jcard details[open] summary .btn{background:var(--brand-tint); color:var(--brand)}

/* FAQ */
.faq{display:grid; gap:10px; max-width:860px}
.faq details{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px 22px}
.faq summary{cursor:pointer; font-weight:700; font-size:1.05rem; list-style:none; display:flex; justify-content:space-between; gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; font-family:var(--f-display); color:var(--brand); font-size:1.3rem; line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{margin-top:10px; color:var(--muted)}

/* Pagini text */
.prose{max-width:72ch; display:grid; gap:14px; padding-block:56px 80px}
.prose h1{font-size:clamp(2rem,5vw,3.2rem)}
.prose h2{font-size:1.35rem; margin-top:20px}
.prose ul{margin:0; padding-left:22px; display:grid; gap:6px}
.notice{background:var(--brand-tint); border-radius:var(--r-sm); padding:14px 16px}

/* Footer */
.foot{padding-block:56px 40px; display:grid; gap:28px}
.wordmark{font-family:var(--f-display); font-weight:800; font-size:clamp(2.6rem,11vw,9rem); letter-spacing:-.05em; line-height:.9; color:var(--ink); opacity:.07; user-select:none}
.foot-row{display:flex; flex-wrap:wrap; gap:10px 28px; justify-content:space-between; color:var(--muted); font-size:.92rem}
.foot-row a{color:var(--muted)}

/* ---------- Calendar ---------- */
.cal-hero{display:grid; gap:22px; padding-block:64px 24px}
.section.tight{padding-block:48px; gap:24px}
.section.tight + .section.tight{border-top:0}
.yearbar-wrap{display:grid; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:20px}
.yearbar{display:flex; height:56px; border-radius:12px; overflow:hidden; gap:3px}
.seg{display:block; min-width:4px}
.s-modul{background:var(--brand)}
.s-vacanta{background:var(--marker)}
.s-mobila{background:repeating-linear-gradient(135deg,var(--marker) 0 6px,var(--coral-tint) 6px 12px)}
.yearmonths{display:flex; font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:700}
.yearmonths span{border-left:1px solid var(--line); padding-left:4px; overflow:hidden; white-space:nowrap}
.yearbar-wrap>*{min-width:0}
@media (max-width:560px){.yearmonths span{font-size:.75rem; padding-left:1px; letter-spacing:0}}
.legend{display:flex; flex-wrap:wrap; gap:8px 20px; font-size:.86rem; color:var(--muted)}
.legend span{display:inline-flex; align-items:center; gap:8px}
.sw{display:inline-block; width:14px; height:14px; border-radius:4px; flex:none}
.table-wrap{overflow-x:auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--r)}
.cal-table{width:100%; border-collapse:collapse; font-size:.97rem}
.cal-table th,.cal-table td{text-align:left; padding:13px 16px; border-bottom:1px solid var(--line); vertical-align:top}
.cal-table th{font-size:.75rem; text-transform:uppercase; letter-spacing:.07em; color:var(--muted)}
.cal-table tr:last-child td{border-bottom:0}
.pname{display:grid; grid-template-columns:14px 1fr; gap:4px 10px; align-items:center}
.pname .small{grid-column:2}
.cal-table .num{text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums}
.cal-table tr.r-vacanta,.cal-table tr.r-mobila{background:color-mix(in srgb,var(--marker) 14%,transparent)}
@media (max-width:560px){
  .cal-table thead{display:none}
  .cal-table tr{display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:14px 16px; border-bottom:1px solid var(--line)}
  .cal-table tr:last-child{border-bottom:0}
  .cal-table td{border:0; padding:0}
  .cal-table td:nth-child(2){grid-row:2; grid-column:1; padding-left:24px; color:var(--muted); font-size:.92rem}
  .cal-table td.num{grid-row:1; grid-column:2}
}
.split2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (max-width:760px){.split2{grid-template-columns:1fr}}
.card-soft{background:var(--brand-tint); border-radius:var(--r); padding:20px; display:grid; gap:12px; align-content:start}
.events{list-style:none; margin:0; padding:0; display:grid; gap:0}
.events li{display:grid; grid-template-columns:minmax(150px,auto) 1fr; gap:4px 16px; padding:10px 0; border-bottom:1px dashed var(--line); font-size:.95rem}
.events li:last-child{border-bottom:0}
.events time{font-weight:700; font-variant-numeric:tabular-nums; color:var(--muted); font-size:.88rem}
.events li.key time{color:var(--brand)}
.events li.key span{font-weight:700}
.events li.key{background:linear-gradient(90deg,color-mix(in srgb,var(--marker) 30%,transparent),transparent 70%); border-radius:8px; padding-inline:8px; margin-inline:-8px}
.events.compact li{grid-template-columns:1fr}
@media (max-width:560px){.events li{grid-template-columns:1fr; gap:2px}}
.exams{display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start}
@media (max-width:900px){.exams{grid-template-columns:1fr}}
.exam{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(20px,3vw,30px); display:grid; gap:18px; box-shadow:var(--shadow); scroll-margin-top:90px}
.exam-head{display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap}
.exam-head h2{font-size:clamp(1.4rem,2.6vw,1.9rem)}
.exam-foot{display:grid; gap:10px; border-top:1px solid var(--line); padding-top:16px}
.exam-foot .btn{justify-self:start}
.state{font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:999px; white-space:nowrap}
.state.ok{background:var(--mint-tint); color:var(--mint)}
.state.warn{background:var(--coral-tint); color:var(--coral)}
.soon{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:12px}
.soon li{border:1.5px dashed var(--line); border-radius:var(--r); padding:18px; display:grid; gap:6px}
.soon span{color:var(--muted); font-size:.93rem}
.sources{list-style:none; margin:0; padding:0; display:grid; gap:10px; font-size:.93rem}
.sources li{display:flex; gap:10px; align-items:baseline; flex-wrap:wrap}
.tile-link{font-weight:700; color:inherit; justify-self:start; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px}
.stage .t{display:block; font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:700}

/* ---------- Licee ---------- */
.crumbs{padding-top:40px; font-size:.92rem; color:var(--muted); display:flex; gap:8px; flex-wrap:wrap}
.crumbs a{color:var(--muted)}
.school-hero{display:grid; gap:12px; padding-block:18px 28px}
.school-hero h1{font-size:clamp(1.9rem,4.6vw,3.4rem)}
.h3{font-size:1.15rem; letter-spacing:-.01em}
.stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px}
.stat{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px 20px; display:grid; gap:4px; align-content:start}
.stat:first-child{background:var(--brand); border-color:var(--brand); color:var(--on-brand)}
.stat:first-child .k,.stat:first-child .s{color:color-mix(in srgb,var(--on-brand) 78%,transparent)}
.stat .k{font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.stat b{font-family:var(--f-display); font-size:clamp(1.6rem,3vw,2.2rem); letter-spacing:-.03em; font-variant-numeric:tabular-nums}
.stat .s{font-size:.85rem; color:var(--muted)}
.data-table{width:100%; border-collapse:collapse; font-size:.96rem}
.data-table th,.data-table td{text-align:left; padding:12px 16px; border-bottom:1px solid var(--line); vertical-align:top}
.data-table th{font-size:.75rem; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); white-space:nowrap}
.data-table tr:last-child td{border-bottom:0}
.data-table td .small{display:block; margin-top:2px}
.data-table .num{text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap}
.data-table .big{font-family:var(--f-display); font-weight:700; font-size:1.05rem}
.data-table a{color:var(--ink); text-decoration:none}
.data-table a:hover b{color:var(--brand); text-decoration:underline}
.data-table.list tbody tr:hover{background:var(--brand-tint)}
.tr{font-size:.8rem; font-weight:700; padding:2px 7px; border-radius:999px}
.tr.up{background:var(--coral-tint); color:var(--coral)}
.tr.down{background:var(--mint-tint); color:var(--mint)}
.tr.eq{color:var(--muted)}
@media (max-width:640px){
  .data-table thead{display:none}
  .data-table tr{display:flex; flex-wrap:wrap; align-items:flex-end; gap:6px 18px; padding:12px 14px; border-bottom:1px solid var(--line)}
  .data-table td{border:0; padding:0}
  .data-table td:first-child{flex-basis:100%}
  .data-table .num{text-align:left}
  .data-table td[data-label]::before{content:attr(data-label); display:block; font-family:var(--f-body); font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
  .data-table td.num:empty{display:none}
}
.kv{list-style:none; margin:0; padding:0; display:grid; gap:10px; font-size:.95rem; overflow-wrap:anywhere}
.kv .k{display:block; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.plain-list{margin:0; padding-left:18px; display:grid; gap:6px; color:var(--muted); font-size:.95rem}
.counties{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr)); gap:10px}
.counties a{display:grid; gap:2px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm); padding:14px 16px; text-decoration:none; color:var(--ink)}
.counties a:hover{border-color:var(--brand); background:var(--brand-tint)}
.counties span{font-size:.85rem; color:var(--muted)}
.src-note{border-top:1px dashed var(--line)}
.state.mid{background:var(--brand-tint); color:var(--brand)}
.weeks{display:grid; grid-template-columns:1fr 2.2fr 1fr; gap:14px; align-items:start}
@media (max-width:900px){.weeks{grid-template-columns:1fr}}
.wk{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px; display:grid; gap:10px}
.wk:nth-child(2) ul{columns:2; column-gap:18px}
@media (max-width:560px){.wk:nth-child(2) ul{columns:1}}
.wk ul{list-style:none; margin:0; padding:0}
.wk li{display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:center; padding:6px 0; border-bottom:1px dashed var(--line); break-inside:avoid; font-size:.93rem}
.wk li .state{padding:1px 7px; font-size:.75rem}
.wk li a{font-size:.8rem; font-weight:700; white-space:nowrap}
form.off fieldset{display:grid; gap:14px; opacity:.6}
.notice-off{font-size:.85rem; font-weight:700; padding:8px 12px; border-radius:10px; background:var(--marker); color:var(--on-marker); justify-self:start}

/* ---------- Burse ---------- */
.urgent{background:var(--coral-tint); border-radius:var(--r); padding:18px 22px; display:grid; gap:10px; margin-bottom:8px}
.urgent ul{list-style:none; margin:0; padding:0; display:grid; gap:6px}
.urgent li{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:.95rem}
.urgent a{color:var(--ink)}
.burse{display:grid; gap:18px}
.filters-css{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.filters-css .fr{position:absolute; opacity:0; width:1px; height:1px; margin:0; clip:rect(0 0 0 0); pointer-events:none}
.filters-css label{font-size:.9rem; font-weight:600; padding:8px 14px; border-radius:999px; border:1px solid var(--line); background:var(--surface); cursor:pointer}
.filters-css .fr:focus-visible + label{outline:3px solid var(--coral); outline-offset:2px}
.flabel{font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin:0 4px 0 10px}
.flabel:first-child{margin-left:0}
.blist{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr)); gap:14px; align-items:start}
.bc{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:20px; display:grid; gap:10px; scroll-margin-top:90px}
.bhead{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.bmeta{display:flex; flex-wrap:wrap; gap:6px}
.bmeta span{font-size:.78rem; font-weight:600; padding:3px 9px; border-radius:999px; background:var(--brand-tint); color:var(--brand)}
.bmeta .sum{background:var(--marker); color:var(--on-marker)}
.bc > p{font-size:.93rem; color:var(--muted)}
.bc details summary{cursor:pointer; font-weight:600; font-size:.92rem; color:var(--brand)}
.bc details p{margin-top:8px; font-size:.92rem}
.bterm{color:var(--ink)!important}
.pill-urg{font-size:.75rem; font-weight:700; padding:2px 8px; border-radius:999px; background:var(--coral); color:#fff}
.bwarn{font-size:.85rem!important; color:var(--coral)!important; font-weight:600}
.bsrc a{color:var(--muted)}
.state.off{background:var(--line); color:var(--muted)}

/* ---------- Școli ---------- */
.locgroups{display:grid; gap:10px}
.locgrp{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.locgrp summary{cursor:pointer; padding:14px 18px; display:flex; justify-content:space-between; gap:12px; list-style:none}
.locgrp summary::-webkit-details-marker{display:none}
.locgrp summary span{color:var(--muted); font-size:.9rem}
.locgrp[open] summary{border-bottom:1px solid var(--line)}
.locgrp .table-wrap{border:0; border-radius:0}
.stat b.txt{font-size:1.25rem; line-height:1.25; letter-spacing:-.01em}

/* ---------- Olimpiade & ghiduri ---------- */
.etape{list-style:none; margin:0; padding:0; display:grid; gap:4px; font-size:.92rem}
.etape b{display:inline-block; min-width:90px}
.guide{display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:24px; align-items:start}
@media (max-width:900px){.guide{grid-template-columns:1fr}}
.gmain,.gside{display:grid; gap:16px; min-width:0}
.gsec{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:22px; display:grid; gap:12px}
.steps-list{margin:0; padding-left:22px; display:grid; gap:10px}
.steps-list li::marker{font-family:var(--f-display); font-weight:700; color:var(--brand)}
.guides{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr)); gap:12px}
.guides a{display:grid; gap:6px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px; text-decoration:none; color:var(--ink); height:100%}
.guides a:hover{border-color:var(--brand)}
.guides a span:not(.state){font-size:.9rem; color:var(--muted)}
.guides .state{justify-self:start}
.va-card{display:grid; gap:14px}
.va-big{justify-self:start; font-size:1rem; padding:8px 16px}
.va-stats .stat:first-child{background:var(--surface); border-color:var(--line); color:var(--ink)}
.va-stats .stat:first-child .k,.va-stats .stat:first-child .s{color:var(--muted)}

/* ---------- Navigare și „Găsește rapid” ---------- */
.sheet{display:none; position:fixed; inset:0; z-index:100; background:var(--bg); overflow-y:auto; -webkit-overflow-scrolling:touch; padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)}
.sheet:target{display:block}
.sheet-in{max-width:560px; margin:0 auto; padding:12px 16px 28px; display:grid; gap:6px}
.sheet-top{display:flex; justify-content:space-between; align-items:center; padding:6px 4px 10px}
/* sus în meniu, logo + „Închide” + căutarea rămân pe loc; se derulează doar lista (cerut de user 4.11.2026) */
.sheet-fix{position:sticky; top:0; z-index:5; background:var(--bg); margin:-12px -16px 0; padding:12px 16px 8px; display:grid; gap:6px}
.sheet-x{font-weight:700; font-size:.95rem; color:var(--ink); text-decoration:none; padding:9px 14px; border-radius:999px; border:1px solid var(--line); background:var(--surface)}
.sheet-h{margin:10px 4px 2px; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted)}
.sheet-list{display:grid; background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden}
.sheet-list a{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; min-height:50px; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink)}
.sheet-list a:last-child{border-bottom:0}
.sheet-list a b{font-weight:600; font-size:1rem}
.sheet-list a span{font-size:.85rem; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap}
.sheet-list a span:empty::after{content:"›"; font-size:1.2rem}
.sheet-list a:active,.sheet-list a:hover{background:var(--brand-tint)}
.sheet-list a.hl{background:var(--brand); color:var(--on-brand)} .sheet-list a.hl span{color:var(--on-brand)}

.quick{display:grid; gap:14px; padding-bottom:56px}
.quick-t{font-size:1.1rem; letter-spacing:-.01em}
.quick-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px}
.q{display:grid; gap:4px; align-content:start; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px 18px; text-decoration:none; color:var(--ink); transition:border-color .15s, transform .15s}
.q:hover{border-color:var(--brand); transform:translateY(-1px)}
.q b{font-family:var(--f-display); font-size:1.05rem; letter-spacing:-.02em}
.q span{font-size:.86rem; color:var(--muted); line-height:1.4}
.q1{background:var(--brand); border-color:var(--brand); color:var(--on-brand)} .q1 span{color:color-mix(in srgb,var(--on-brand) 80%,transparent)}
.q2{background:var(--marker); border-color:var(--marker); color:var(--on-marker)} .q2 span{color:color-mix(in srgb,var(--on-marker) 70%,transparent)}
.q3{background:var(--mint-tint); border-color:transparent}
@media (max-width:900px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px} .q{padding:12px 14px} .q b{font-size:.98rem} .q span{font-size:.8rem}}

/* ---------- Telefon: mai compact ---------- */
@media (max-width:600px){
  body{font-size:16px}
  .wrap{padding-inline:16px}
  h1{font-size:clamp(1.8rem,8.5vw,2.3rem)}
  h2{font-size:1.45rem}
  .hero{padding-block:24px 28px; gap:18px}
  .hero-text{gap:16px}
  .hero .preview{display:none}
  .facts{gap:4px 16px; font-size:.86rem}
  .actions .btn{padding:12px 18px; font-size:.95rem}
  .quick{padding-bottom:36px}
  .band{padding:22px; gap:20px}
  .section{padding-block:40px; gap:22px}
  .section.tight{padding-block:24px; gap:16px}
  .cal-hero{padding-block:28px 8px; gap:14px}
  .school-hero{padding-block:10px 18px; gap:8px}
  .crumbs{padding-top:24px}
  .lead{font-size:.98rem}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
  .stat{padding:12px 14px; gap:2px; border-radius:14px}
  .stat .k{font-size:.75rem}
  .stat b{font-size:1.35rem}
  .stat b.txt{font-size:.95rem}
  .stat .s{font-size:.75rem; line-height:1.3}
  .stats .stat:only-child,.stats .stat:last-child:nth-child(odd){grid-column:1 / -1}
  .card-soft,.gsec,.bc,.exam,.jcard{padding:16px}
  .dark{padding:22px; gap:20px; border-radius:20px}
  .rules li{padding:14px}
  .data-table tr{padding:12px 14px}
  .yearbar{height:40px}
  .foot{padding-block:36px 28px}
}
@media (max-width:600px){
  .urgent{padding:14px 16px; gap:8px}
  .urgent ul{gap:8px}
  .urgent li{display:grid; gap:0; font-size:.88rem}
  .urgent li span{color:var(--muted); font-size:.8rem}
  .filters-css label{padding:6px 11px; font-size:.84rem}
}

/* ---------- Căutare ---------- */
.cauta{position:relative; max-width:620px}
.cauta input{width:100%; font:inherit; font-size:1.02rem; padding:14px 16px 14px 46px; border-radius:16px; border:1.5px solid color-mix(in srgb,var(--muted) 45%,transparent); background:var(--surface); color:var(--ink); min-height:54px; box-shadow:var(--shadow)}
.cauta input:focus{outline:none; border-color:var(--brand); box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 22%,transparent)}
.cauta::before{content:""; position:absolute; left:17px; top:19px; width:13px; height:13px; border:2px solid var(--muted); border-radius:50%; pointer-events:none}
.cauta::after{content:""; position:absolute; left:29px; top:32px; width:7px; height:2px; background:var(--muted); transform:rotate(45deg); pointer-events:none}
.cauta-rez{position:absolute; left:0; right:0; top:calc(100% + 6px); background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); list-style:none; margin:0; padding:6px; z-index:40; max-height:60vh; overflow-y:auto}
.cauta-rez a{display:grid; gap:1px; padding:10px 12px; border-radius:10px; text-decoration:none; color:var(--ink)}
.cauta-rez a:hover,.cauta-rez a:focus-visible{background:var(--brand-tint)}
.cauta-rez b{font-size:.95rem}
.cauta-rez small{font-size:.78rem; color:var(--muted)}
.cauta-rez .gol{padding:12px; color:var(--muted); font-size:.9rem}
.sheet .cauta{max-width:none; margin-bottom:4px}
.nav a.btn,.nav a.btn:hover{color:var(--on-brand)}
.section,.stack,.weeks,.exams,.split2,.guide{grid-template-columns:minmax(0,1fr)}
@media (min-width:901px){.weeks{grid-template-columns:1fr 2.2fr 1fr} .exams{grid-template-columns:1fr 1fr}}
@media (min-width:761px){.split2{grid-template-columns:1fr 1fr}}
@media (min-width:901px){.guide{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}
.wk li{min-width:0} .wk li .jn{min-width:0; overflow-wrap:anywhere}

/* ---------- Fundal de caiet cu pătrățele (ca pe hartă) ---------- */
:root{--grid:rgba(37,69,242,.07)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--grid:rgba(160,180,255,.055)}}
:root[data-theme="dark"]{--grid:rgba(160,180,255,.055)}
body{background-color:var(--bg);
  background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:22px 22px; background-position:-1px -1px}
@media (max-width:600px){body{background-size:18px 18px}}
.sheet{background-color:var(--bg); background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px); background-size:18px 18px}

/* ---------- Comutator zi / noapte ---------- */
.tema{display:inline-grid; place-items:center; width:40px; height:40px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:1.1rem; line-height:1; cursor:pointer; padding:0}
.tema:hover{border-color:var(--brand)}
.tema .t-zi{display:none}
:root[data-theme="dark"] .tema .t-zi{display:inline}
:root[data-theme="dark"] .tema .t-noapte{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tema .t-zi{display:inline} :root:not([data-theme="light"]) .tema .t-noapte{display:none}}
@media (max-width:440px){.tema{width:36px; height:36px; font-size:1rem}}

/* ---------- Sănătate și sprijin: linii de ajutor ---------- */
.help{display:grid; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:22px; margin-bottom:24px; box-shadow:var(--shadow)}
.help h2{font-size:clamp(1.3rem,2.6vw,1.8rem)}
.help-112{font-size:1.05rem; font-weight:600}
.help-112 a{font-family:var(--f-display); font-weight:800; background:var(--coral); color:#fff; padding:2px 10px; border-radius:8px; text-decoration:none}
.hl-t{font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-top:6px}
.hlines{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:10px}
.hl{display:grid; gap:4px; align-content:start; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-sm); padding:14px 16px; min-width:0}
.hl > span:not(.state){font-size:.92rem; color:var(--muted)}
.hl > .state{justify-self:start}
.hl-nr{font-family:var(--f-display); font-weight:800; font-size:1.35rem; letter-spacing:-.02em; color:var(--brand); text-decoration:none; font-variant-numeric:tabular-nums}
.hl-nr.hl-web{font-size:1rem}
.hl details{font-size:.88rem}
.hl summary{cursor:pointer; color:var(--brand); font-weight:600}
.gmain .help{box-shadow:none; padding:18px; margin-bottom:8px}
.q.q4{grid-column:span 2}
@media (max-width:600px){.help{padding:16px} .hl{padding:12px 14px} .hl-nr{font-size:1.2rem}}
.bhead{flex-wrap:wrap; min-width:0} .bhead h1{min-width:0; hyphens:auto; overflow-wrap:break-word}

/* ---------- Calculatoare ---------- */
.calc-nav{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px}
.calc-nav a{font-size:.9rem; font-weight:600; padding:8px 14px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); text-decoration:none}
.calc-nav a:hover{border-color:var(--brand)}
.calcs{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr)); gap:16px; align-items:start}
.calc{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:22px; display:grid; gap:12px; box-shadow:var(--shadow); min-width:0}
.calc-f{display:grid; gap:14px}
.calc-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:12px; align-items:end}
.calc-grid .check,.calc-grid [data-lm],.calc-grid [data-eb],.calc-wide{grid-column:1/-1}
.calc-out{background:var(--brand-tint); border-radius:var(--r-sm); padding:14px 16px; display:grid; gap:4px; font-weight:600}
.calc-out.ok{background:var(--mint-tint)}
.calc-out.warn{background:var(--coral-tint)}
.calc-out span{font-weight:400; font-size:.9rem; color:var(--muted)}
.calc-out span b{color:var(--ink)}
.calc-n{font-family:var(--f-display); font-size:2rem; letter-spacing:-.03em; color:var(--ink); font-variant-numeric:tabular-nums}
.calc-src summary{cursor:pointer; color:var(--brand); font-weight:600; font-size:.9rem}
.calc-src[open]{display:grid; gap:8px}
@media (max-width:600px){.calc{padding:16px} .calc-n{font-size:1.7rem}}
.calc-big{margin-bottom:16px}
.unde-rez{display:grid; gap:10px}
.u-t{font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-top:6px}
.unde-l{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); gap:8px}
.unde-l li{display:grid; gap:3px; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-sm); padding:12px 14px; min-width:0}
.unde-l li > span{font-size:.88rem; color:var(--muted)}
.unde-l a{color:var(--ink); text-decoration:none} .unde-l a:hover b{color:var(--brand); text-decoration:underline}
.unde-l .u-m b{color:var(--ink); font-variant-numeric:tabular-nums}
.unde-l .state{margin-left:4px}
.fisa-gasite{margin-top:10px}
.fisa-gasite li > span:last-child{margin-top:4px}
.fisa-mea{margin-top:18px}
.fisa-l{list-style:none; margin:8px 0 0; padding:0; display:grid; gap:8px}
.fisa-l li{background:var(--bg); border:1px solid var(--line); border-radius:var(--r-sm); padding:12px 14px}
.fisa-r{display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:start}
.fisa-r > div{display:grid; gap:3px; min-width:0}
.fisa-r > div > span{font-size:.88rem; color:var(--muted)}
.fisa-r a{color:var(--ink); text-decoration:none} .fisa-r a:hover b{color:var(--brand); text-decoration:underline}
.fisa-n{font-variant-numeric:tabular-nums; min-width:1.6em}
.fisa-b{display:flex; gap:4px}
.fisa-b .chip{min-width:36px; min-height:36px; justify-content:center}
.fisa-b .chip:disabled{opacity:.35}
.fisa-act{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.fisa-gol{color:var(--muted)}
.cost-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr)); gap:12px}
.cost-v{border:1px solid var(--line); border-radius:var(--r-sm); padding:12px 14px; margin:0; min-width:0; display:grid; gap:8px; background:var(--bg)}
.cost-v legend{font-weight:700; padding:0 6px}
.cost-v .small{margin:0}
.cost-l{list-style:none; margin:12px 0 0; padding:0; display:grid; gap:10px}
.cost-l li{display:grid; gap:6px}
.cost-l li > span{font-size:.88rem; color:var(--muted)}
.cost-r{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.cost-r b:last-child{font-variant-numeric:tabular-nums}
.cost-bar{height:10px; border-radius:999px; background:var(--line); overflow:hidden}
.cost-bar span{display:block; height:100%; background:var(--brand); border-radius:999px}
@media (max-width:520px){ .fisa-r{grid-template-columns:auto 1fr} .fisa-b{grid-column:2} }
@media print{
  body.tipar-fisa *{visibility:hidden}
  body.tipar-fisa .fisa-mea, body.tipar-fisa .fisa-mea *{visibility:visible}
  body.tipar-fisa .fisa-mea{position:absolute; left:0; top:0; width:100%}
  body.tipar-fisa .fisa-b, body.tipar-fisa .fisa-act{display:none}
  body.tipar-fisa .fisa-l li{break-inside:avoid; border-color:#999}
}

/* Sugestiile (combobox): grupate pe categorii, literele găsite cu markerul galben */
.cs-gazda{position:relative}
.cs-panou{position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:40; background:var(--surface); border:1px solid var(--line); border-radius:20px;
  box-shadow:var(--shadow); padding:6px; max-height:min(70vh,560px); overflow-y:auto; overscroll-behavior:contain; text-align:left}
.cs-g{font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:10px 12px 4px}
.cs-o{display:grid; gap:1px; padding:9px 12px; border-radius:12px; text-decoration:none; color:var(--ink); min-width:0}
.cs-o:hover,.cs-o.act{background:var(--brand-tint)}
.cs-o.act{box-shadow:inset 3px 0 0 var(--brand)}
.cs-t{font-weight:600; font-size:.96rem; line-height:1.3; overflow-wrap:anywhere}
.cs-t mark{padding:0 .04em; border-radius:3px}
.cs-m{font-size:.8rem; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.cs-p{font-weight:700; color:var(--ink); padding:1px 7px; border-radius:999px; background:var(--brand-tint); margin-right:2px}
.cs-p-gratuit{background:var(--mint-tint); color:var(--mint)}
.cs-p-nou{background:var(--marker); color:var(--on-marker)}
.cs-tot{margin-top:4px; border-top:1px dashed var(--line); border-radius:0 0 12px 12px; color:var(--brand); font-weight:600; font-size:.92rem; display:block; padding:12px}
.cs-tot b{color:var(--ink)}
.cs-jos{border-top:1px dashed var(--line); padding:6px 6px 2px; display:flex; justify-content:flex-end}
.cs-sterge{font:inherit; font-size:.84rem; font-weight:600; color:var(--muted); background:none; border:0; padding:8px 10px; border-radius:10px; cursor:pointer; text-decoration:underline; text-underline-offset:3px}
.cs-sterge:hover{color:var(--coral)}
.sheet .cs-panou{position:static; margin-top:8px; max-height:none; box-shadow:none}
@media (max-width:600px){.cs-panou{left:-2px; right:-2px; border-radius:16px; max-height:min(64vh,520px)} .cs-o{padding:10px}}
/* ---------- Antetul (ca la marile magazine online) ----------
   Rândul 1 (lipit sus): logo · căutarea (categorie ▾ · câmp · Caută) · Contul meu · Anunță-mă · zi / noapte.
   Rândul 2 (de la 768 px): bara de categorii, pe un singur rând; ce nu încape trece în „Mai mult ▾” (tema.js).
   Telefon (sub 768 px): rândul 1 = logo · Contul meu · zi / noapte · ☰ Meniu; căutarea pe rândul ei, dedesubt, tot în antet. */
.vh{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap}
.top{position:sticky; top:10px; z-index:10; padding-inline:12px; margin-top:10px}
.top-in{max-width:var(--latime-pagina); margin:0 auto; display:flex; align-items:center; gap:14px; padding:7px 7px 7px 18px;
  background:color-mix(in srgb,var(--surface) 84%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1px solid var(--line); border-radius:999px; box-shadow:var(--shadow)}
.top-in .logo{flex:none}
.top-act{display:flex; align-items:center; gap:8px; flex:none; margin-left:auto}

/* căutarea din antet: compactă, cu chenarul cobalt */
form.bara-cauta{flex:1 1 auto; min-width:0; max-width:600px; margin:0 auto; display:flex; align-items:stretch; gap:3px; height:44px; padding:3px;
  background:var(--surface); border:2px solid var(--brand); border-radius:999px; position:relative}
.bara-cauta:focus-within{box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 22%,transparent)}
.bc-cat{position:relative; display:flex; flex:none; font-weight:600}
.bc-cat select{appearance:none; -webkit-appearance:none; font:inherit; font-size:.84rem; font-weight:600; color:var(--brand); background:var(--brand-tint);
  border:0; border-radius:999px; padding:0 28px 0 14px; cursor:pointer; max-width:150px; min-height:0; height:100%; text-overflow:ellipsis}
.bc-cat::after{content:"▾"; position:absolute; right:11px; top:50%; transform:translateY(-50%); color:var(--brand); pointer-events:none; font-size:.85rem}
.bc-cat select:focus{box-shadow:none}
.bc-cat select:focus-visible{outline:3px solid var(--coral); outline-offset:1px}
.bc-camp{flex:1; min-width:0; display:flex}
.bc-camp input{flex:1; min-width:0; width:100%; border:0; background:transparent; color:var(--ink); font:inherit; font-size:.96rem; padding:0 10px; outline:none}
.bc-camp input::placeholder{color:var(--muted)}
.bc-buton{flex:none; display:inline-flex; align-items:center; gap:8px; border:0; border-radius:999px; background:var(--brand); color:var(--on-brand);
  font:inherit; font-weight:700; font-size:.9rem; padding:0 18px; cursor:pointer; transition:transform .15s ease}
.bc-buton:hover{transform:translateY(-1px)}
.bc-lupa{position:relative; display:inline-block; width:14px; height:14px; border:2.5px solid currentColor; border-radius:50%; flex:none; margin:-3px 2px 0 0}
.bc-lupa::after{content:""; position:absolute; width:2.5px; height:6px; background:currentColor; border-radius:2px; right:-3px; bottom:-5px; transform:rotate(-45deg)}

/* butoanele din dreapta */
.cont-btn{display:inline-flex; align-items:center; justify-content:center; gap:7px; height:40px; min-width:40px; padding:0; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); text-decoration:none; font-weight:400; font-size:.9rem; flex:none}
.cont-btn:hover{border-color:var(--brand); color:var(--brand)}
.cont-btn svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round}
.cont-btn-t{display:none}
@media (min-width:1280px){.cont-btn{padding:0 15px 0 11px} .cont-btn-t{display:inline}}
.top-act .anunta-btn{height:40px; padding:0 18px; font-size:.9rem; color:var(--on-brand)}
.menu-btn{display:none; align-items:center; justify-content:center; gap:8px; height:40px; padding:0 15px 0 13px; border-radius:999px; background:var(--brand); color:var(--on-brand); font-weight:700; font-size:.9rem; text-decoration:none; flex:none}
.menu-ic{position:relative; display:inline-block; width:16px; height:2px; border-radius:2px; background:currentColor; box-shadow:0 -5px 0 currentColor,0 5px 0 currentColor}

/* rândul 2: categoriile */
.nav-cat{position:relative; z-index:9; padding-inline:12px; margin-top:8px}
.nav-cat-in{max-width:var(--latime-pagina); margin:0 auto; display:flex; align-items:center; gap:4px; padding-inline:6px}
.nc-l{flex:0 1 auto; min-width:0; display:flex; align-items:center; gap:4px; overflow:hidden; padding-block:2px}
.nc-l a,.nav-mai summary{flex:none; white-space:nowrap; display:inline-flex; align-items:center; gap:5px; padding:7px 14px; border-radius:999px; border:1px solid transparent;
  font-size:.9rem; font-weight:600; color:var(--ink); text-decoration:none; line-height:1.25}
.nc-l a:hover,.nav-mai summary:hover,.nav-mai[open] summary{background:var(--surface); border-color:var(--line); color:var(--brand)}
.nc-l a:focus-visible{outline-offset:-3px}
.nc-l a[aria-current],.nav-mai.are-activ summary{background:var(--marker); border-color:var(--marker); color:var(--on-marker)}
html:not(.js) .nc-l .nc-mm,html:not(.js) .nav-mai-l .nc-pp{display:none}
.nav-mai{position:relative; flex:none}
.nav-mai summary{list-style:none; cursor:pointer}
.nav-mai summary::-webkit-details-marker{display:none}
.nav-mai-s{font-size:1.05em; line-height:1; transition:transform .15s ease}
.nav-mai[open] .nav-mai-s{transform:rotate(180deg)}
.nav-mai-l{position:absolute; top:calc(100% + 8px); right:0; z-index:20; min-width:210px; display:grid; padding:6px;
  background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow)}
.nav-mai-l a{display:block; padding:10px 14px; border-radius:10px; white-space:nowrap; color:var(--ink); text-decoration:none; font-weight:500}
.nav-mai-l a:hover{background:var(--brand-tint); color:var(--brand)}
.nav-mai-l a[aria-current]{background:var(--marker); color:var(--on-marker); font-weight:600}

@media (max-width:1023px){
  .top-in{gap:10px}
  .bc-t{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap}
  .bc-buton{padding:0; width:42px; justify-content:center}
  .bc-buton .bc-lupa{margin:-3px -2px 0 0}
  .bc-cat select{max-width:118px; padding:0 24px 0 12px}
  .bc-cat::after{right:9px}
}
@media (max-width:767px){
  html{scroll-padding-top:140px}
  .nav-cat,.top-act .anunta-btn{display:none}
  .menu-btn{display:inline-flex}
  .top-in{flex-wrap:wrap; row-gap:8px; column-gap:6px; padding:7px; border-radius:24px}
  .top-in .logo{margin-left:6px}
  .top-act{gap:6px}
  form.bara-cauta{order:3; flex:1 0 100%; max-width:none; height:46px; margin:0}
  .bc-cat select{max-width:112px; font-size:.82rem}
}
@media (max-width:440px){
  .logo{font-size:.95rem} .logo b{width:26px; height:26px}
  .cont-btn,.tema,.menu-btn{height:36px} .cont-btn,.tema{width:36px; min-width:36px}
  .cont-btn svg{width:18px; height:18px} .tema{font-size:1rem}
  .menu-btn{padding:0 12px 0 11px; font-size:.86rem; gap:7px}
}
@media (max-width:374px){
  .top-in{column-gap:4px} .top-act{gap:4px}
  .menu-t{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap}
  .menu-btn{width:36px; padding:0}
}
.top{background:color-mix(in srgb,var(--bg) 70%,transparent)}

/* Bara de jos pe telefon (ca în aplicații): Pentru elev · Termene · ＋ Pune anunț · Piața · Salvate (generatori/aplicatie.py). Antetul de sus rămâne neschimbat. */
.tabbar{display:none}
@media (max-width:767px){
  .tabbar{display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:50;
    background:color-mix(in srgb,var(--surface) 92%,transparent); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
    border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))}
  .tabbar a{display:flex; flex-direction:column; align-items:center; gap:3px; min-height:48px; justify-content:center; border-radius:12px;
    color:var(--muted); text-decoration:none; font-size:.75rem; font-weight:700; line-height:1.1; text-align:center}
  .tabbar svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
  .tabbar a[aria-current="page"]{color:var(--brand)}
  .tabbar a[aria-current="page"] svg{background:var(--brand-tint); border-radius:999px; padding:3px 12px; width:48px; height:30px; box-sizing:border-box; margin:-3px 0}
  .tabbar a:focus-visible{outline:2px solid var(--brand); outline-offset:-2px}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
}

/* butonul din mijloc: Pune anunț, ca la aplicațiile de anunțuri */
@media (max-width:767px){
  .tabbar .tab-plus svg{width:44px; height:44px; padding:10px; margin:-16px 0 0; border-radius:999px; background:var(--brand); color:var(--on-brand); stroke-width:2.4; box-shadow:0 6px 16px color-mix(in srgb,var(--brand) 35%,transparent); box-sizing:border-box}
  .tabbar .tab-plus{color:var(--ink)}
  .tabbar .tab-plus[aria-current="page"] svg{background:var(--brand); padding:10px; width:44px; height:44px; margin:-16px 0 0}
}
/* Termene, Pentru elevul meu, Salvate */
.tm-bara{display:flex; flex-wrap:wrap; gap:12px; align-items:end}
.clasa-sel{display:grid; gap:6px; font-weight:700; font-size:.9rem}
.clasa-sel select{font:inherit; font-weight:600; height:46px; padding:0 14px; border-radius:14px; border:1px solid var(--line); background:var(--surface); color:var(--ink); min-width:220px}
.tm-luna{margin-top:26px} .tm-luna h2{margin-bottom:10px}
.tm-list{list-style:none; margin:0; padding:0; display:grid; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.tm{display:grid; grid-template-columns:130px 1fr; gap:14px; padding:14px 16px; border-bottom:1px solid var(--line)}
.tm:last-child{border-bottom:0}
.tm time{font-weight:700; color:var(--brand); font-size:.92rem}
.tm a{display:grid; gap:3px; color:var(--ink); text-decoration:none} .tm a span{color:var(--muted); font-size:.85rem}
.tm[hidden],.tm-luna[hidden],.cm-etapa[hidden],[data-cm-burse] li[hidden]{display:none}
@media (max-width:600px){ .tm{grid-template-columns:1fr; gap:4px} .clasa-sel,.clasa-sel select{width:100%} }
.salveaza{font:inherit; font-weight:700; font-size:.9rem; justify-self:start; margin:4px 0 6px; padding:8px 16px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer}
.salveaza[aria-pressed="true"]{background:var(--brand-tint); color:var(--brand); border-color:transparent}
[data-salvate] li{display:flex; align-items:center; gap:8px} [data-salvate] li > a{flex:1}
.salv-scoate{font:inherit; font-size:.82rem; font-weight:600; padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--muted); cursor:pointer; margin-right:10px}

/* text doar pentru cititoarele de ecran (etichetele câmpurilor din barele de filtre) */
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

/* ☰ Toate categoriile (3.11.2026, ca la marile magazine online): butonul din stânga barei de categorii deschide panoul vertical pe grupe;
   la trecerea peste o categorie, subcategoriile apar în dreapta; pe telefon, meniul ☰ are categoriile care se deschid */
.nav-toate{position:relative; flex:none; margin-right:6px}
.nav-toate summary{list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:7px; padding:7px 14px; border-radius:999px; font-weight:700; white-space:nowrap;
  background:var(--brand); color:var(--on-brand)}
.nav-toate summary::-webkit-details-marker{display:none}
.nav-toate[open] summary{box-shadow:0 0 0 3px var(--brand-tint)}
.nt-ic{font-size:1.05em; line-height:1}
.nt-panou{position:absolute; top:calc(100% + 8px); left:0; z-index:30; width:min(860px,calc(100vw - 48px)); height:min(74vh,600px); overflow:auto; padding:8px 8px 8px 8px;
  background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow)}
.nt-g,.nt-c{width:270px}
.nt-g{margin:8px 10px 2px; font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.nt-g:first-child{margin-top:2px}
.nt-a{display:flex; justify-content:space-between; align-items:center; gap:8px; padding:7px 12px; border-radius:10px; color:var(--ink); text-decoration:none; font-weight:600}
.nt-a span{color:var(--muted)}
.nt-c:hover > .nt-a,.nt-a:focus-visible{background:var(--brand-tint); color:var(--brand)}
/* subcategoriile: în dreapta listei, în același panou; implicit prima categorie */
.nt-sub{display:none; position:absolute; top:var(--nt-top,8px); max-height:calc(min(74vh,600px) - 16px); overflow:auto; left:290px; right:8px; padding:6px 10px 10px 18px; border-left:1px solid var(--line);
  grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 14px; align-content:start}
.nt-c:hover > .nt-sub,.nt-c:focus-within > .nt-sub,.nt-panou:not(:has(.nt-c:hover)):not(:has(.nt-c:focus-within)) .nt-c:first-of-type > .nt-sub{display:grid}
.nt-sub a{display:block; padding:7px 10px; border-radius:8px; color:var(--ink); text-decoration:none; font-size:.93rem}
.nt-sub a:hover{background:var(--brand-tint); color:var(--brand)}
.nt-sub-h{grid-column:1 / -1; font-family:var(--f-display); font-weight:800; font-size:1.05rem !important; border-bottom:1px solid var(--line); border-radius:0 !important; margin-bottom:4px}
.nt-sub-h small{font-family:var(--f-body,inherit); font-weight:500; font-size:.78rem; color:var(--muted); margin-left:6px}
/* meniul ☰ pe categorii */
.sheet-cats{display:grid; gap:4px}
.sheet-cat{display:grid; background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden}
.sheet-cat details{border-bottom:1px solid var(--line)}
.sheet-cat details:last-child{border-bottom:0}
.sheet-cat summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; min-height:50px}
.sheet-cat summary::-webkit-details-marker{display:none}
.sheet-cat summary b{font-weight:600; font-size:1rem}
.sheet-cat summary span{font-size:.85rem; color:var(--muted); white-space:nowrap}
.sheet-cat summary span::after{content:" ▾"}
.sheet-cat details[open] summary{background:var(--brand-tint)}
.sheet-cat details[open] summary span::after{content:" ▴"}
.sheet-sub{display:grid; padding:4px 8px 10px}
.sheet-sub a{padding:10px 12px; border-radius:10px; color:var(--ink); text-decoration:none}
.sheet-sub a:hover,.sheet-sub a:active{background:var(--brand-tint); color:var(--brand)}

/* inspectoratul școlar: cardul de pe paginile de județ și pagina /inspectorate/ */
.isj-doua{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:12px 28px; align-items:start}
.isj-nav{display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px}
.isj-nav a{font-size:.84rem; font-weight:600; padding:5px 11px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); text-decoration:none}
.isj-nav a:hover{border-color:var(--brand); color:var(--brand)}
.isj-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); gap:12px; margin-bottom:28px}
.isj-c{display:grid; gap:8px; align-content:start; scroll-margin-top:120px}
.isj-c h2{margin:0}
/* bara „Termene și noutăți” (rândul 2, lângă „Toate categoriile”): informații care nu se repetă în meniu */
.nav-info{flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:4px; overflow:hidden; white-space:nowrap}
.ni-x{flex:none; display:inline-flex; align-items:center; padding:6px 11px; border-radius:999px; font-size:.88rem; font-weight:600; color:var(--ink); text-decoration:none; border:1px solid transparent}
.ni-x:hover{background:var(--surface); border-color:var(--line); color:var(--brand)}
.ni-t{flex:0 1 auto; min-width:0; max-width:520px; overflow:hidden; text-overflow:ellipsis; display:block}
.ni-sos{margin-left:auto; color:#c62828; font-weight:800}
@media (max-width:1240px){.nav-info .ni-x:nth-child(4),.nav-info .ni-x:nth-child(5){display:none}}

/* filtrele compacte (toate barele de filtre): butoane pe un rând, opțiunile se deschid la apăsare (tema.js) */
.bl-filtre,.pfilt{position:relative}
.bl-filtre:has(.fdd){display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.pfilt:has(.fdd){display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.pfilt:has(.fdd) .pf-sus,.pfilt:has(.fdd) .pfilt-r{flex-basis:100%}
.bl-rand:has(.fdd),.pf-rand:has(.fdd){display:block}
.fdd{position:relative}
.fdd summary{list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:5px; max-width:260px; padding:7px 13px; border-radius:999px; border:1px solid var(--line);
  background:var(--surface); color:var(--ink); font-size:.88rem; font-weight:600; white-space:nowrap}
.fdd summary::-webkit-details-marker{display:none}
.fdd summary::after{content:"▾"; color:var(--muted)}
.fdd[open] summary::after{content:"▴"}
.fdd-l{color:var(--muted); font-weight:600}
.fdd-v{overflow:hidden; text-overflow:ellipsis}
.fdd.activ summary{background:var(--brand); border-color:var(--brand); color:var(--on-brand)}
.fdd.activ .fdd-l,.fdd.activ summary::after{color:inherit; opacity:.85}
.fdd-p{position:absolute; top:calc(100% + 6px); left:0; z-index:25; width:max-content; max-width:min(560px,calc(100vw - 32px)); padding:10px;
  background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); display:grid; gap:6px}
.fdd-p .chips,.fdd-p .pf-chips{display:flex; flex-wrap:wrap !important; overflow:visible !important; gap:6px}
@media (max-width:600px){
  .fdd{position:static}
  .fdd-p{left:8px; right:8px; width:auto; max-width:none}
}

/* Antetul ca la marile magazine online (cerut de user, adaptat la LICEENII), doar pe calculator: rândul 1 plat, pe toată lățimea (logo · căutare lată · Contul meu ·
   ♡ Salvate · Biletele mele · zi/noapte); rândul 2 = banda colorată: tab-ul alb „☰ Toate categoriile”, scurtăturile, în dreapta ajutorul și „＋ Pune un anunț” */
.top-ic{display:none}
@media (min-width:768px){
  .top{top:0; margin-top:0; padding-inline:0; background:var(--surface); border-bottom:1px solid var(--line)}
  .top-in{border:0; border-radius:0; box-shadow:none; background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; padding:10px 20px; gap:18px}
  .top-in form.bara-cauta{flex:1 1 auto; max-width:none}
  .top-ic{position:relative; display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 10px; border-radius:999px; color:var(--ink); text-decoration:none; font-weight:400; font-size:.92rem; white-space:nowrap}
  .top-ic:hover{color:var(--brand); background:var(--brand-tint)}
  .top-ic svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  .top-ic-t{display:none}
  .top-nr{position:absolute; top:2px; left:22px; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:#e11d48; color:#fff; font-size:.75rem; line-height:18px; text-align:center}
  .nav-cat{margin-top:0; padding-inline:0; background:linear-gradient(90deg,var(--brand),#6d28d9); box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)}
  .nav-cat-in{min-height:50px; padding:0 20px; align-items:flex-end; gap:6px}
  .nav-toate{margin:0 6px 0 0; align-self:flex-end}
  .nav-toate summary{background:var(--surface); color:var(--ink); border-radius:12px 12px 0 0; padding:12px 16px 12px 14px; height:44px; box-shadow:none; font-weight:500}
  .nav-toate[open] summary{box-shadow:none}
  .nav-info{align-self:center}
  .nav-info .ni-x,.nav-dr .ni-x{color:#fff; font-weight:400; font-size:.84rem}   /* spațiu câștigat doar din font: fără îngroșare, puțin mai mic (cerut de user 4.11.2026) */
  .nav-info .ni-x:hover,.nav-dr .ni-x:hover{background:rgba(255,255,255,.14); border-color:transparent; color:#fff}
  .nav-dr{display:flex; align-items:center; gap:4px; margin-left:auto; align-self:center; flex:none}
  .nav-dr .ni-sos{color:#fff; font-weight:400}
  .nav-vinde{display:inline-flex; align-items:center; padding:7px 14px; border-radius:999px; background:rgba(15,10,60,.35); color:#fff; font-weight:500; font-size:.88rem; text-decoration:none; white-space:nowrap; border:1px solid rgba(255,255,255,.25)}
  .nav-vinde:hover{background:rgba(15,10,60,.55)}
  .ni-sos{margin-left:0}
}
@media (min-width:1280px){.top-ic-t{display:inline}}
@media (max-width:1366px){.nav-dr a[href="/#anunta-ma"]{display:none}}
@media (min-width:768px) and (max-width:1100px){.nav-info .ni-x:nth-child(n+3){display:none} .nav-dr .ni-sos{display:none}}

/* Iconițele desenate din banda de sus (în loc de emoji) și coșul */
.nav-cat .ic{width:17px; height:17px; flex:none; opacity:.95}
.nav-info .ni-x,.nav-dr .ni-x,.nav-vinde{display:inline-flex; align-items:center; gap:6px}
.nav-vinde .ic{width:16px; height:16px; stroke-width:2.4}
.top-cos{display:none}
@media (max-width:767px){
  .top-cos{position:relative; display:inline-grid; place-items:center; width:36px; height:36px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink)}
  .top-cos svg{width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
  .top-cos .top-ic-t{display:none}
  .top-cos .top-nr{position:absolute; top:-4px; right:-4px; min-width:17px; height:17px; padding:0 4px; border-radius:999px; background:#e11d48; color:#fff; font-size:.75rem; line-height:17px; text-align:center}
}
@media (min-width:768px){.top-cos{display:inline-flex}}
.cos-grupa{margin:18px 0}
.cos-rand{display:grid; grid-template-columns:1fr auto auto; gap:12px; align-items:center; padding:12px 0; border-top:1px solid var(--line)}
.cos-rand .cos-titlu{font-weight:700; display:block}
.cos-pret{white-space:nowrap}
.cos-final{margin-top:18px; display:grid; gap:10px; justify-items:start}
.cos-total{font-size:1.25rem; font-weight:800; margin:0}
@media (max-width:520px){.cos-rand{grid-template-columns:1fr auto} .cos-rand .btn{grid-column:1/-1; justify-self:start}}
@media (max-width:440px){.menu-t{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap} .menu-btn{width:36px; padding:0; justify-content:center}}
@media (max-width:380px){.cont-btn,.tema,.menu-btn,.top-cos{width:33px; min-width:33px; height:33px} .logo{font-size:.86rem} .logo b{width:24px; height:24px} .top-in .logo{margin-left:2px} .top-in{column-gap:3px} .top-act{gap:3px}}

/* Comparatorul de licee */
.cmp-cauta{position:relative; max-width:560px; margin:6px 0 16px}
.cmp-cauta input{width:100%; height:46px; padding:0 16px; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); color:var(--ink); font:inherit}
.cmp-cauta input:focus{outline:none; border-color:var(--brand)}
.cmp-sug{position:absolute; z-index:5; left:0; right:0; top:50px; margin:0; padding:6px; list-style:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow)}
.cmp-sug button{width:100%; text-align:left; padding:9px 10px; border:0; border-radius:10px; background:none; color:var(--ink); font:inherit; cursor:pointer}
.cmp-sug button:hover{background:var(--brand-tint)}
.cmp-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:18px; background:var(--surface)}
.cmp{width:100%; border-collapse:collapse; min-width:560px}
.cmp th,.cmp td{padding:11px 14px; border-top:1px solid var(--line); text-align:left; vertical-align:top; font-size:.93rem}
.cmp thead th{border-top:0; position:relative; padding-right:34px}
.cmp thead th a{font-weight:700}
.cmp tbody th{font-weight:600; color:var(--muted); width:220px; position:sticky; left:0; background:var(--surface)}
.cmp-bun{color:#047857; font-weight:700}
:root[data-theme="dark"] .cmp-bun{color:#34d399}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cmp-bun{color:#34d399}}
.cmp-x{position:absolute; top:8px; right:8px; width:24px; height:24px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--muted); cursor:pointer; line-height:1}
@media (max-width:600px){.cmp tbody th{width:130px; font-size:.82rem}}
.tel-nr{font-weight:700; white-space:nowrap} .hl-nr.tel-nr,span.hl-nr{font-size:1.15rem}

/* Recenziile părinților pe fișele de licee și școli */
.rec-medii{display:flex; flex-wrap:wrap; gap:10px; margin:6px 0 14px}
.rec-m{display:grid; padding:10px 14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); min-width:110px}
.rec-m b{font-size:1.4rem}
.rec{padding:12px 0; border-top:1px solid var(--line)}
.rec-h{display:flex; flex-wrap:wrap; align-items:baseline; gap:8px}
.rec-stele{color:#f59e0b; letter-spacing:1px}
.rec p{margin:6px 0 0}
.rec-scrie{margin-top:12px}
.rec-scrie summary{display:inline-flex; list-style:none; cursor:pointer}
.rec-scrie summary::-webkit-details-marker{display:none}
.rec-f{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:10px; margin-top:12px}
.rec-f label{display:grid; gap:4px}
.rec-f .rec-txt,.rec-f .btn,.rec-f p{grid-column:1/-1}
.rec-f select,.rec-f textarea{font:inherit; padding:9px 11px; border-radius:12px; border:1px solid var(--line); background:var(--surface); color:var(--ink)}
.rec-f .btn{justify-self:start}

/* Planul de pregătire (/subiecte/#plan) */
[data-plan] .chips{display:flex; gap:6px; flex-wrap:wrap; margin:6px 0}
[data-plan] .chip{font:inherit; padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer}
[data-plan] .chip[aria-pressed="true"]{background:var(--brand); border-color:var(--brand); color:var(--on-brand)}
.plan-p{position:relative; font-weight:700; margin:8px 0; padding-bottom:10px}
.plan-p::after{content:""; position:absolute; left:0; bottom:0; height:6px; width:100%; border-radius:6px; background:linear-gradient(90deg,var(--brand) var(--p,0%),var(--line) var(--p,0%))}
.plan-l{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:4px 14px}
.plan-l label{display:flex; gap:8px; align-items:flex-start; padding:6px 0; cursor:pointer}
.plan-l input{width:24px; height:24px; margin-top:2px; accent-color:var(--brand)}
.prof-cal{list-style:none; margin:8px 0 0; padding:0} .prof-cal li{display:grid; grid-template-columns:130px 1fr; gap:10px; padding:8px 0; border-top:1px solid var(--line)} .prof-cal li:first-child{border-top:0} @media (max-width:520px){.prof-cal li{grid-template-columns:1fr; gap:2px}}

/* Donații */
.don-filt{display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 12px}
.don-filt .chip,.don-doneaza .chip{font:inherit; padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer}
.don-filt .chip[aria-pressed="true"],.don-doneaza .chip[aria-pressed="true"]{background:var(--brand); border-color:var(--brand); color:var(--on-brand)}
.don-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:14px}
.don-card{display:grid; gap:6px; padding:16px; border:1px solid var(--line); border-radius:18px; background:var(--surface); color:var(--ink); text-decoration:none}
.don-card:hover{border-color:var(--brand)}
.don-card.gata{opacity:.75}
.don-card .state{justify-self:start}
.don-bara{height:9px; border-radius:9px; background:var(--line); overflow:hidden}
.don-bara i{display:block; height:100%; background:linear-gradient(90deg,#10b981,var(--brand)); border-radius:9px}
.don-doneaza{display:grid; gap:10px; align-content:start}
.don-doneaza .chips{display:flex; flex-wrap:wrap; gap:6px}
.don-doneaza input[type=number]{font:inherit; padding:9px 12px; border-radius:12px; border:1px solid var(--line); background:var(--surface); color:var(--ink)}
.don-sum{font-size:2rem; font-weight:800; margin:0}
[data-don-campanie] .split2 > div{display:grid; gap:14px; align-content:start}
.av-sus{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px} .av-a{padding:12px 0; border-top:1px solid var(--line)} .av-a.urg{border-left:3px solid #f59e0b; padding-left:12px} .av-a p{margin:6px 0}
.br-l{list-style:none; margin:0; padding:0; display:grid; gap:6px} .br-l li{display:flex; align-items:center; gap:8px; flex-wrap:wrap} .br-cul{width:22px; height:22px; border-radius:6px; border:1px solid var(--line); flex:none}
.tara-nav{display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 14px} .tara-nav a{padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); text-decoration:none; font-size:.9rem} .tara-nav a:hover{border-color:var(--brand); color:var(--brand)}
.tara-nav a[aria-current]{background:var(--brand); border-color:var(--brand); color:var(--on-brand)}

/* Cărți digitale */
.ca-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:14px; margin:14px 0 22px}
.ca-card{display:grid; gap:6px; align-content:start; padding:16px; border:1px solid var(--line); border-radius:18px; background:var(--surface)}
.ca-sus{display:flex; flex-wrap:wrap; align-items:center; gap:8px}
.ca-card .btn{justify-self:start; margin-top:6px}
.ca-spons{font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); border:1px solid var(--line); border-radius:6px; padding:1px 6px}
.ca-grid{align-items:start}

/* Testul de interese */
.ti-f{display:grid; gap:10px; margin:10px 0}
.ti-q{border:1px solid var(--line); border-radius:14px; padding:10px 14px; margin:0; background:var(--surface)}
.ti-q legend{font-weight:600; padding:0 4px}
.ti-o{display:flex; flex-wrap:wrap; gap:14px; margin-top:6px}
.ti-o label{display:flex; align-items:center; gap:6px; cursor:pointer}
.ti-o input{accent-color:var(--brand); width:24px; height:24px}
.ti-jos{display:flex; align-items:center; gap:12px}
.ti-rez{display:grid; gap:12px; margin-top:16px}
.ti-leg{display:grid; gap:8px}
.ti-h{margin:10px 0 0; font-size:1.05rem}
.ti-ul{margin:0; padding-left:20px; display:grid; gap:6px}
.ti-ul li{overflow-wrap:anywhere}
.ti-bare{display:grid; gap:6px}
.ti-b{display:grid; grid-template-columns:120px 1fr; gap:8px; align-items:center}
.ti-bw{display:block; height:10px; border-radius:10px; background:var(--line); overflow:hidden}
.ti-bw i{display:block; height:100%; background:var(--brand)}

/* autentificarea în doi pași: fereastra cu codul (creier.js → cereCod) */
.dp-strat{position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(14,17,32,.55); backdrop-filter:blur(4px)}
.dp-card{width:min(420px,100%); background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow); padding:24px}
.dp-card p{margin:10px 0 14px; color:var(--muted); font-size:.95rem}
.dp-cod{width:100%; font:inherit; font-size:1.6rem; letter-spacing:.4em; text-align:center; font-variant-numeric:tabular-nums; padding:12px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--bg); color:var(--ink)}
.dp-cod:focus{outline:2px solid var(--brand); outline-offset:2px}
.dp-msg{min-height:1.2em; color:var(--coral)!important; margin:8px 0!important}
.dp-rand{display:flex; gap:10px; flex-wrap:wrap}
.dp-rand .btn{flex:1 1 140px}
/* ferestrele proprii în locul prompt / confirm / alert (creier.js → fereastraText / fereastraDa / fereastraInfo): același card */
.dp-fer{max-height:calc(100dvh - 32px); overflow:auto}
.dp-fer h2{line-height:1.3; margin-bottom:8px}
.dp-fer .dp-mesaj{color:var(--ink); font-size:1rem; white-space:pre-line; overflow-wrap:anywhere}
.dp-fer .field{margin:4px 0}
.dp-fer textarea{width:100%; font:inherit; font-size:1rem; color:var(--ink); background:var(--surface); border:1.5px solid color-mix(in srgb,var(--muted) 55%,transparent); border-radius:var(--r-sm); padding:12px 14px; resize:vertical}
.dp-fer textarea:focus{border-color:var(--brand); outline:none; box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 22%,transparent)}
.dp-fer .dp-nr{margin:0 0 6px}
.dp-fer .btn.dp-rosu{color:var(--coral); border-color:color-mix(in srgb,var(--coral) 40%,var(--line))}

/* Partea de sus a primei pagini (cerută de user 4.11.2026, ca la marile magazine online):
   calculator = meniul de categorii în stânga + sliderul ca banner, cu săgețile pe mijloc în lateral și bulinele în dreapta jos;
   telefon = doar sliderul, cu bulinele centrate și butonul de oprire (schimbi cu degetul). Fără JavaScript se vede primul diapozitiv. */
.hero.hero-hs{position:relative; grid-template-columns:224px minmax(0,1fr); gap:0; align-items:stretch; padding-block:0 40px}
/* calculator: meniul alb e lipit sub butonul „☰ Toate categoriile” din bara albastră, de aceeași lățime; sliderul stă imediat lângă el */
@media (min-width:768px){ .nav-toate summary{width:224px} }
.hm{display:flex; flex-direction:column; justify-content:space-between; background:var(--surface); border:1px solid var(--line); border-top:0; border-radius:0 0 0 var(--r); padding:6px 0}
.hm-l{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; justify-content:space-between; height:100%}
.hm-a{display:flex; align-items:center; gap:10px; padding:7px 14px; color:var(--ink); text-decoration:none; font-size:.95rem}
.hm-a b{font-weight:500}
.hm-ic{width:21px; height:21px; flex:none; color:var(--muted)}
.hm-c:hover > .hm-a,.hm-a:focus-visible{color:var(--brand)}
.hm-c:hover > .hm-a .hm-ic,.hm-a:focus-visible .hm-ic{color:var(--brand)}
/* subcategoriile acoperă tot sliderul, pe coloane (ca la marile magazine online) */
.hm-sub{display:none; position:absolute; z-index:6; top:0; bottom:40px; left:224px; right:0; align-content:start; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px 24px;
  padding:22px 30px; background:var(--surface); border:1px solid var(--line); border-top:0; border-radius:0 0 var(--r) 0; box-shadow:var(--shadow); overflow:auto}
.hm-c:hover > .hm-sub,.hm-c:focus-within > .hm-sub{display:grid}
.hm-sub::before{content:""; position:absolute; top:0; bottom:0; left:-10px; width:10px}   /* „punte”: mouse-ul nu pierde panoul */
.hm-sub a{display:block; padding:7px 10px; border-radius:8px; color:var(--ink); text-decoration:none; font-size:.95rem}
.hm-sub a:hover{background:var(--brand-tint); color:var(--brand)}
.hm-sub-h{grid-column:1 / -1; font-family:var(--f-display); font-weight:800; font-size:1.1rem !important; border-bottom:1px solid var(--line); border-radius:0 !important; margin-bottom:6px; padding-bottom:10px !important}
.hm-sub-h small{font-family:var(--f-body); font-weight:500; font-size:.8rem; color:var(--muted); margin-left:6px}

.hs{position:relative; min-width:0; border-radius:0 0 var(--r) 0; background:var(--brand-tint); border:1px solid var(--line); border-top:0; border-left:0; overflow:hidden}
.hs-track{display:grid; height:100%}
.hs-slide{grid-area:1/1; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:36px; align-items:center; padding:36px 68px 56px;
  opacity:0; visibility:hidden; transform:translateX(24px); transition:opacity .45s ease, transform .45s ease, visibility 0s linear .45s}
.hs-slide.is-on{opacity:1; visibility:visible; transform:none; transition:opacity .45s ease, transform .45s ease, visibility 0s}
.hs-text{display:grid; gap:20px; align-content:center}
.hs-text h1,.hs-t{font-family:var(--f-display); font-size:clamp(2rem,3.3vw,3.4rem); font-weight:800; letter-spacing:-.035em; line-height:1.05; margin:0}
.hs-vis.preview{background:var(--surface); align-self:center}
.hs-et{display:flex; flex-wrap:wrap; align-items:center; gap:8px}
.hs-spons{display:inline-flex; align-items:center; padding:4px 10px; border-radius:999px; font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; background:var(--marker); color:var(--on-marker)}
.hs-sag{position:absolute; top:50%; transform:translateY(-50%); z-index:3; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; border:1px solid var(--line);
  background:color-mix(in srgb,var(--surface) 88%,transparent); color:var(--brand); cursor:pointer; box-shadow:var(--shadow)}
.hs-sag svg{width:22px; height:22px}
.hs-sag:hover{background:var(--surface)}
.hs-prev{left:16px} .hs-next{right:16px}
.hs-nav{position:absolute; right:28px; bottom:18px; z-index:3; display:flex; align-items:center; gap:12px}
.hs-dots{display:flex; gap:0; align-items:center}
.hs-dot{position:relative; width:24px; height:24px; padding:0; border:0; background:transparent; cursor:pointer}
.hs-dot::before{content:""; position:absolute; inset:6px; box-sizing:border-box; border-radius:50%; border:2px solid var(--brand); background:transparent; transition:background .25s ease, transform .25s ease}
.hs-dot[aria-current="true"]::before{background:var(--brand); transform:scale(1.1)}
.hs-pauza{position:relative; width:28px; height:28px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer; padding:0}
.hs-pauza::before,.hs-pauza::after{content:""; position:absolute; top:9px; width:3px; height:10px; border-radius:1px; background:currentColor}
.hs-pauza::before{left:10px} .hs-pauza::after{left:15px}
.hs-pauza[aria-pressed="true"]::before{left:11px; top:8px; width:0; height:0; border-radius:0; background:none; border-style:solid; border-width:6px 0 6px 9px; border-color:transparent transparent transparent currentColor}
.hs-pauza[aria-pressed="true"]::after{display:none}
.hs-sag:focus-visible,.hs-dot:focus-visible,.hs-pauza:focus-visible{outline:2px solid var(--brand); outline-offset:2px}
@media (max-width:1180px){.hs-slide{grid-template-columns:minmax(0,1fr); padding:32px 64px 56px} .hs-vis{display:none}}
@media (max-width:920px){
  .hero.hero-hs{display:block; padding-block:16px 28px}
  .hero-hs .hm,.hs-sag{display:none!important}
  .hs{background:none; border:0; border-radius:0; overflow:visible}
  .hs-track{overflow-x:clip}
  .hs-slide{padding:0; gap:16px; transform:translateX(18px)}
  .hs-nav{position:relative; right:auto; bottom:auto; justify-content:center; margin-top:18px}
  .hs-pauza{position:absolute; right:0; top:50%; transform:translateY(-50%)}
}
@media (max-width:600px){.hs-text h1,.hs-t{font-size:clamp(1.8rem,8.5vw,2.3rem)} .hs-text{gap:16px}}
@media (prefers-reduced-motion:reduce){.hs-slide,.hs-slide.is-on{transition:none; transform:none}}

/* Ferestrele din antet (aplicatie.js): Coșul meu, Salvate, Contul meu — doar pe calculator, la trecerea cu mouse-ul */
.td{position:relative; display:flex; align-items:center}
@media (max-width:767px){.td[data-td="salvate"]{display:none}}
.td-p{display:none; position:absolute; top:calc(100% + 12px); right:-8px; z-index:60; width:260px; padding:12px 14px 14px; background:var(--surface); color:var(--ink);
  border:1px solid var(--line); border-radius:var(--r); box-shadow:0 18px 40px -12px rgba(14,17,32,.28); text-align:left; font-weight:400}
.td-p::before{content:""; position:absolute; top:-7px; right:30px; width:12px; height:12px; background:var(--surface); border-left:1px solid var(--line); border-top:1px solid var(--line); transform:rotate(45deg)}
.td-p::after{content:""; position:absolute; top:-14px; left:0; right:0; height:14px}   /* „punte”: fereastra nu se închide între buton și ea */
.td.td-on .td-p{display:block}
.td[data-td="cont"] .td-p{right:auto; left:-8px; width:240px}
.td[data-td="cont"] .td-p::before{right:auto; left:34px}
.td-h{margin:0 0 8px; font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--brand); text-align:center}
.td-gol{margin:4px 0 10px; font-size:.86rem; line-height:1.45; color:var(--muted)}
.td-l{display:grid; border-top:1px solid var(--line)}
.td-r{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 8px; align-items:baseline; padding:9px 0; border-bottom:1px solid var(--line); font-size:.88rem}
.td-t{color:var(--ink); text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.td-t:hover{color:var(--brand)}
.td-n{color:var(--muted); font-size:.82rem; white-space:nowrap}
.td-p2{color:var(--brand); white-space:nowrap}
.td-tot{display:flex; justify-content:space-between; padding:10px 0 12px; font-size:.92rem; color:var(--muted)}
.td-tot b{color:var(--ink)}
.td-btn{display:flex; width:100%; margin-top:6px; font-weight:600; padding:10px 14px; font-size:.88rem}
.td-salut{margin:2px 0 8px; padding-bottom:10px; border-bottom:1px solid var(--line); font-family:var(--f-display); font-weight:800; font-size:1.05rem}
.td-meniu{display:grid}
.td-meniu a{padding:7px 4px; color:var(--ink); text-decoration:none; font-size:.93rem; border-radius:8px}
.td-meniu a:hover{color:var(--brand); background:var(--brand-tint)}
.td-iesi{display:block; margin-top:8px; padding:10px 4px 2px; border-top:1px solid var(--line); color:var(--ink); text-decoration:none; font-size:.93rem}
.td-iesi:hover{color:var(--coral)}

/* Clasamentele (/clasamente/…, clasament.js) */
.cl-cifre{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px}
.cl-cifre div{display:grid; gap:4px; padding:16px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r)}
.cl-cifre b{font-family:var(--f-display); font-size:1.6rem}
.cl-cifre span{color:var(--muted); font-size:.9rem}
.cl-tab th button{all:unset; cursor:pointer; font:inherit; font-weight:700}
.cl-tab th button:focus-visible{outline:2px solid var(--brand); outline-offset:2px; border-radius:4px}
.cl-tab th[aria-sort="ascending"] button::after{content:" ▲"; font-size:.7em}
.cl-tab th[aria-sort="descending"] button::after{content:" ▼"; font-size:.7em}
.cl-tab td .small{display:block; color:var(--muted)}
.cl-tab td:first-child{font-weight:700}
.cl-filtre{display:flex; flex-wrap:wrap; gap:12px 18px; align-items:end}
.cl-filtre label{display:grid; gap:4px; font-size:.85rem; font-weight:600; color:var(--muted)}
.cl-filtre select,.cl-filtre input{font:inherit; padding:10px 12px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface); color:var(--ink); min-width:220px}
.cl-atentie{margin-top:22px}
@media (max-width:600px){.cl-cifre{grid-template-columns:1fr} .cl-filtre select,.cl-filtre input{min-width:0; width:100%} .cl-filtre label{width:100%}}

.td-r .td-p2{grid-column:2; grid-row:1 / span 2; align-self:center}
.td-r .td-n{grid-column:1}
.td-meniu a{font-weight:400}

/* „Toate categoriile” pe toate paginile: același meniu ca pe prima pagină, lipit sub buton (cerut de user 4.11.2026) */
.nt-panou{top:100%; width:224px; height:auto; overflow:visible; padding:0; background:none; border:0; border-radius:0; box-shadow:none}
.nt-panou .hm{display:flex!important; border-radius:0 0 var(--r) var(--r); box-shadow:var(--shadow); padding:6px 0}
.nt-panou .hm-l{height:auto}
.nt-panou .hm-sub{top:0; bottom:auto; left:100%; right:auto; width:min(760px,calc(100vw - 290px)); min-height:100%; border-radius:0 var(--r) var(--r) 0}
.hm-sub > span.hm-sub-h{display:block; padding:0 10px 10px}

/* bifa LICEENII: aceeași în ambele teme, ca să fie recunoscută */
.bf{display:inline-flex; align-items:center; gap:5px; font-size:.82rem; font-weight:700; color:var(--ink); max-width:100%}
.bf-s{display:inline-block; width:1.3em; height:1.3em; flex:none; vertical-align:-.28em}
.bf-s svg{display:block; width:100%; height:100%}
.bf-f{fill:#2545f2}
.bf-t{fill:none; stroke:#ffe14a; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round}
.bf-d{display:inline-block; max-width:100%}
.bf-d>summary{cursor:pointer; list-style:none}
.bf-d>summary::-webkit-details-marker{display:none}
.bf-d>summary:focus-visible{outline:2px solid var(--brand); outline-offset:2px; border-radius:4px}
.bf-f2{margin-top:8px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); display:grid; gap:5px; font-size:.86rem}
.bf-f2 ul{margin:0; padding-left:18px}
.bf-ver{display:grid; gap:12px}
.bf-rol{display:grid; gap:8px}
.bf-pas{display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; justify-content:space-between; padding:8px 0; border-top:1px solid var(--line)}
.bf-pas>div:first-child{flex:1 1 220px; min-width:0}
.bf-pas small{display:block; color:var(--muted)}
.bf-trim{display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.bf-trim input{min-width:0; max-width:100%}
/* /cum-ma-conectez/ */
.cc h4.cc-t{font-size:.76rem; letter-spacing:.06em; text-transform:uppercase; color:var(--brand); margin:0 0 6px}
.cc-l{margin:0 0 12px; padding-left:20px; display:grid; gap:5px; font-size:.95rem}
.cc-l:last-child{margin-bottom:0}
.cc-c{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:16px}
.cc-c>div{min-width:0}
.cc-h{display:grid; gap:4px; margin-bottom:12px}
.cc-bf{margin:4px 0 0; font-size:.88rem}
.cc-lista{display:grid; gap:14px; margin-top:14px}
.cc-cat{scroll-margin-top:90px}
.cc-salt a{text-decoration:none}
.pv-rez{background:var(--marker); color:var(--on-marker)}
.pa-poza{margin:0; display:grid; gap:4px; justify-items:start}
.pfig-db img{width:100%; height:100%; object-fit:cover; display:block; position:absolute; inset:0}
.pfig-db{position:relative; overflow:hidden}
.cs{display:grid; gap:14px}
.cs .field{display:grid; gap:4px}
.cs-k{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.cs-pub{margin-bottom:10px}

/* Direcția „mai calm” (test, 5.11.2026): titluri mai mici pe paginile interioare, ca să apară conținutul mai sus. Prima pagină (.hero-hs) și pictogramele rămân neatinse. */
@media (min-width:601px){
  body:not(.pn):not(:has(.hero-hs)) h1,body:not(.pn):not(:has(.hero-hs)) .school-hero h1{font-size:clamp(2rem,3.4vw,3rem); font-weight:700; letter-spacing:-.03em; line-height:1.1}
  body:not(.pn):not(:has(.hero-hs)) h2:not(.h3){font-size:clamp(1.35rem,2vw,1.75rem); letter-spacing:-.025em; line-height:1.2}
}

/* „Mai calm”, pasul 2: textele din pagină. Titlurile de card trec pe fontul de text; cifrele mari rămân în Unbounded. */
body:not(.pn):not(:has(.hero-hs)) h3{font-family:var(--f-body); font-weight:600; font-size:1.06rem; letter-spacing:-.005em; line-height:1.3}
body:not(.pn):not(:has(.hero-hs)) .eyebrow{font-size:.9rem; font-weight:600; letter-spacing:0; text-transform:none}
body:not(.pn):not(:has(.hero-hs)) .lead{font-size:1.05rem}
body:not(.pn):not(:has(.hero-hs)) .btn{font-weight:600}
body:not(.pn):not(:has(.hero-hs)) .pill,body:not(.pn):not(:has(.hero-hs)) .state{font-weight:600; font-size:.78rem}
@media (min-width:601px){
  /* Salvează, eticheta de prototip și butoanele stau pe același rând, ca anunțurile să urce pe primul ecran */
  body:not(.pn):not(:has(.hero-hs)) .cal-hero{display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding-block:28px 16px}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero>.eyebrow,body:not(.pn):not(:has(.hero-hs)) .cal-hero>h1{flex:0 0 100%; margin:0}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero>.lead{flex:0 1 60ch; margin:0 calc(100% - 60ch) 0 0}
}

/* ---------- Telefon „mai calm” (5.11.2026): paginile interioare la 360–430 px. Prima pagină (.hero-hs) și panoul (.pn) rămân neatinse.
   Scara de mărimi: titlu 25–30 px · subtitlu 21 px · text 16 px · text secundar 14 px · etichete cu majuscule 11 px (excepție asumată).
   Ținte de atingere de cel puțin 44 px pe butoane, filtre și rânduri; cardurile lungi (burse) țin la vedere numele, starea și termenul, restul la apăsare. */
@media (max-width:600px){
  body:not(.pn):not(:has(.hero-hs)) :is(h1,.school-hero h1,.prose h1){font-size:clamp(1.55rem,6.4vw,1.85rem); font-weight:700; letter-spacing:-.025em; line-height:1.15}
  body:not(.pn):not(:has(.hero-hs)) h2:not(.h3){font-size:1.3rem; letter-spacing:-.02em; line-height:1.2}
  body:not(.pn):not(:has(.hero-hs)) :is(.h3,h2.h3,.quick-t){font-size:1.1rem}
  body:not(.pn):not(:has(.hero-hs)) .lead{font-size:1rem}
  /* text secundar: 14 px, nu 13 */
  body:not(.pn):not(:has(.hero-hs)) :is(.small,.bwarn,.counties span,.tm a span,.tm time,.urgent li span,.urgent li,.wk li,.wk li a,.tile p,.q span,.guides a span:not(.state),.bc > p,.bc details p,.bc details summary,.pc-m,.cs-m,.events time,.facts,.person p,.stage .age,.check,.calc-out span,.calc-src summary,.hl > span:not(.state),.hl details,.unde-l li > span,.jcard ul,.sources,.etape,.rules span,.stage ul,.legend,.foot-row,.td-gol,.crumbs,.cal-table td:nth-child(2),.salv-scoate,.cs-sterge,.notice-off,.proto,.banda-test,.tm-add,.filters-css label,.fdd summary,.chip,.calc-nav a,.isj-nav a,.tara-nav a,.ni-x,.cc-bf,.sheet-list a span){font-size:.875rem}
  body:not(.pn):not(:has(.hero-hs)) :is(.state,.pill,.bmeta span){font-size:.875rem; padding-block:4px}
  body:not(.pn):not(:has(.hero-hs)) :is(.tr,.pv,.pav,.pill-urg,.md-tag,.bl-exclusiv,.bl-varsta,.bl-unde,.bl-afis-data,.bl-afis-cat,.ca-spons,.vbadge,.pc-tags .pv){font-size:.8125rem}
  /* etichetele cu majuscule rămân mici, dar nu sub 11 px */
  body:not(.pn):not(:has(.hero-hs)) :is(.stat .k,.kv .k,.flabel,.cc h4.cc-t,.pf-et,.bl-et,.p3-k,.hl-t,.u-t,.stage .t,.tile .tag,.cal-table th,.data-table th,.steps-ui time){font-size:.75rem}
  body:not(.pn):not(:has(.hero-hs)) .data-table td[data-label]::before{font-size:.75rem}
  body:not(.pn):not(:has(.hero-hs)) .stat .s{font-size:.8125rem; line-height:1.3}

  /* partea de sus: titlul mai jos de antet cu puțin, Salvează și butoanele pe același rând, conținutul începe mai sus */
  body:not(.pn):not(:has(.hero-hs)) .crumbs{padding-top:12px; gap:4px 8px; align-items:center}
  body:not(.pn):not(:has(.hero-hs)) .crumbs a{display:inline-block; padding:11px 0}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero{display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding-block:16px 10px}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > :is(.eyebrow,h1,.lead,p,.actions-row,.actions){flex:0 0 100%; margin:0; min-width:0}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > .lead{margin-bottom:2px}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > :is(.salveaza,.proto,.actions,.actions-row){flex:0 1 auto; margin:0}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > :is(.actions,.actions-row){gap:8px}
  body:not(.pn):not(:has(.hero-hs)) .school-hero{display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding-block:6px 14px}
  body:not(.pn):not(:has(.hero-hs)) .school-hero > :is(h1,.lead){flex:0 0 100%; margin:0; min-width:0}
  body:not(.pn):not(:has(.hero-hs)) .school-hero > :is(p:not(.lead),.salveaza,.actions,.actions-row){flex:0 1 auto; margin:0}
  body:not(.pn):not(:has(.hero-hs)) .section{padding-block:32px; gap:18px}
  body:not(.pn):not(:has(.hero-hs)) .section.tight{padding-block:20px; gap:14px}
  body:not(.pn):not(:has(.hero-hs)) .prose{padding-block:20px 40px}
  body:not(.pn):not(:has(.hero-hs)) .calc-nav{margin-bottom:12px; gap:6px}
  body:not(.pn):not(:has(.hero-hs)) .tm-luna{margin-top:18px}
  body:not(.pn):not(:has(.hero-hs)) .wrap > .proto{margin-top:8px}

  /* ținte de atingere: 44 px pe butoane, filtre, pastile de navigare și rândurile cu „detalii” */
  body:not(.pn):not(:has(.hero-hs)) :is(.btn,.btn.sm,.salveaza,.calc-nav a,.isj-nav a,.tara-nav a,.chips .chip,a.chip,button.chip,.fdd summary,.filters-css label,.tm-add,.salv-scoate,.sheet-x,.radios label,[data-plan] .chip,.don-filt .chip){min-height:44px; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box}
  body:not(.pn):not(:has(.hero-hs)) :is(.salveaza,.btn.sm){padding:10px 16px}
  body:not(.pn):not(:has(.hero-hs)) :is(.filters-css label,.calc-nav a,.isj-nav a,.tara-nav a){padding:9px 14px}
  body:not(.pn):not(:has(.hero-hs)) .filters-css{gap:6px}
  body:not(.pn):not(:has(.hero-hs)) .flabel{flex-basis:100%; margin:4px 0 0}
  body:not(.pn):not(:has(.hero-hs)) .tm-add{padding:8px 12px}
  body:not(.pn):not(:has(.hero-hs)) :is(.bc details summary,.calc-src summary,.hl summary,.jcard summary,.rec-scrie summary,.bf-d > summary){display:flex; align-items:center; min-height:44px; padding-block:6px}
  body:not(.pn):not(:has(.hero-hs)) .locgrp summary{min-height:48px; align-items:center}
  body:not(.pn):not(:has(.hero-hs)) .check{min-height:44px; align-items:center}
  body:not(.pn):not(:has(.hero-hs)) .wk li a{display:inline-flex; align-items:center; min-height:44px}
  body:not(.pn):not(:has(.hero-hs)) main :is(select,textarea,input[type=number],input[type=date],input[type=time],.rec-f select,.cl-filtre select,.cl-filtre input){min-height:44px}

  /* Burse: carduri scurte; criteriile și sursa apar la apăsarea pe „Cum aplici și ce mai trebuie știut” (fără JavaScript) */
  body:not(.pn):not(:has(.hero-hs)) .bc{padding:14px 16px; gap:8px}
  body:not(.pn):not(:has(.hero-hs)) .bc .bhead{flex-wrap:nowrap; gap:10px; align-items:flex-start}
  body:not(.pn):not(:has(.hero-hs)) .bc .bhead > div{min-width:0}
  body:not(.pn):not(:has(.hero-hs)) .bc h3{font-size:1rem; line-height:1.3}
  body:not(.pn):not(:has(.hero-hs)) .bc .bhead .state{margin-top:2px}
  body:not(.pn):not(:has(.hero-hs)) .bc .bmeta{gap:5px}
  body:not(.pn):not(:has(.hero-hs)) .bc:has(details:not([open])) > p:not(.bterm):not(.bwarn){display:none}
  body:not(.pn):not(:has(.hero-hs)) .bc details[open] summary{margin-bottom:2px}
  body:not(.pn):not(:has(.hero-hs)) .bc details p{margin-top:6px}
  body:not(.pn):not(:has(.hero-hs)) .bterm{font-size:.9375rem}
  body:not(.pn):not(:has(.hero-hs)) .blist{gap:10px}
  body:not(.pn):not(:has(.hero-hs)) .urgent{padding:10px 16px 12px}
  body:not(.pn):not(:has(.hero-hs)) .urgent ul{gap:0}
  body:not(.pn):not(:has(.hero-hs)) .urgent li a{display:block; padding-block:10px}

  /* listele cu tabele (licee, școli): numele pe un rând, cifrele cu etichetă pe rândul următor, împărțite egal */
  body:not(.pn):not(:has(.hero-hs)) .data-table tr{gap:6px 10px; padding:10px 14px; align-items:flex-start}
  body:not(.pn):not(:has(.hero-hs)) .data-table td:not(:first-child){flex:1 1 72px; min-width:0}
  body:not(.pn):not(:has(.hero-hs)) .data-table td .small{margin-top:0}
  body:not(.pn):not(:has(.hero-hs)) .data-table td.num,body:not(.pn):not(:has(.hero-hs)) .data-table td[data-label]::before{white-space:normal; line-height:1.3}
  body:not(.pn):not(:has(.hero-hs)) .data-table .big{font-size:1rem}

  /* Termene: „＋ În calendarul meu” lângă dată, nu pe un rând în plus */
  body:not(.pn):not(:has(.hero-hs)) .tm{padding:12px 14px}
  body:not(.pn):not(:has(.hero-hs)) .tm:has(.tm-add){grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; align-items:start}
  body:not(.pn):not(:has(.hero-hs)) .tm:has(.tm-add) time{grid-column:1; grid-row:1; align-self:center; line-height:1.3}
  body:not(.pn):not(:has(.hero-hs)) .tm:has(.tm-add) > a{grid-column:1 / -1; grid-row:2}
  body:not(.pn):not(:has(.hero-hs)) .tm:has(.tm-add) .tm-add{grid-column:2; grid-row:1; justify-self:end; margin:0}

  /* liste de legături în carduri: județe pe două coloane, ghiduri și universități mai strânse */
  body:not(.pn):not(:has(.hero-hs)) .counties{grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
  body:not(.pn):not(:has(.hero-hs)) .counties a{padding:12px; min-height:44px}
  body:not(.pn):not(:has(.hero-hs)) .guides{gap:8px}
  body:not(.pn):not(:has(.hero-hs)) .guides a{padding:12px 14px; gap:3px}
  body:not(.pn):not(:has(.hero-hs)) .guides a b{font-size:.9375rem; line-height:1.3}
  body:not(.pn):not(:has(.hero-hs)) :is(.card-soft,.gsec,.exam,.jcard,.calc,.help){padding:14px}
  body:not(.pn):not(:has(.hero-hs)) .stats{gap:8px}
  body:not(.pn):not(:has(.hero-hs)) .stat b{font-size:1.3rem}
}

/* titlurile nu rup cuvintele în silabe („pen-tru”) pe nicio lățime */
body:not(.pn):not(:has(.hero-hs)) h1,body:not(.pn):not(:has(.hero-hs)) h2,body:not(.pn):not(:has(.hero-hs)) h3{hyphens:manual; -webkit-hyphens:manual; overflow-wrap:break-word}
/* ===== CALM-CALCULATOR: început (aliniere pe calculator, 5.11.2026; doar ≥601 px, doar paginile interioare „calme”; prima pagină și telefonul rămân neatinse) =====
   Scara fixă de text (6 mărimi): titlu 2.5rem · secțiune 1.5rem · card 1.08rem · text 1rem · meta .9rem · etichete .76rem; cifrele mari 1.9rem.
   Ritm vertical: secțiune 48 px, secțiune strânsă 28 px. Cardurile de pe același rând au aceeași înălțime, conținutul sus; rândurile de butoane pe o linie. */
@media (min-width:601px){
  /* 1. Scara de text */
  body:not(.pn):not(:has(.hero-hs)) h1,body:not(.pn):not(:has(.hero-hs)) .school-hero h1,body:not(.pn):not(:has(.hero-hs)) .prose h1{font-size:clamp(1.8rem,2.8vw,2.5rem); line-height:1.12}
  body:not(.pn):not(:has(.hero-hs)) h2:not(.h3),body:not(.pn):not(:has(.hero-hs)) .prose h2,body:not(.pn):not(:has(.hero-hs)) .exam-head h2,body:not(.pn):not(:has(.hero-hs)) .help h2{font-size:1.5rem; line-height:1.2}
  body:not(.pn):not(:has(.hero-hs)) h3,body:not(.pn):not(:has(.hero-hs)) .h3,body:not(.pn):not(:has(.hero-hs)) .quick-t,body:not(.pn):not(:has(.hero-hs)) .tile.big h3,body:not(.pn):not(:has(.hero-hs)) .pmodel h3,body:not(.pn):not(:has(.hero-hs)) .faq summary,body:not(.pn):not(:has(.hero-hs)) .td-salut{font-family:var(--f-body); font-size:1.08rem; font-weight:600; letter-spacing:-.005em; line-height:1.3}
  body:not(.pn):not(:has(.hero-hs)) .lead{font-size:1rem; max-width:64ch}
  body:not(.pn):not(:has(.hero-hs)) .small,body:not(.pn):not(:has(.hero-hs)) .tile p,body:not(.pn):not(:has(.hero-hs)) .bc > p,body:not(.pn):not(:has(.hero-hs)) .guides a span:not(.state),body:not(.pn):not(:has(.hero-hs)) .q span,body:not(.pn):not(:has(.hero-hs)) .counties span,body:not(.pn):not(:has(.hero-hs)) .stat .s,body:not(.pn):not(:has(.hero-hs)) .kv,body:not(.pn):not(:has(.hero-hs)) .plain-list,body:not(.pn):not(:has(.hero-hs)) .jcard ul,body:not(.pn):not(:has(.hero-hs)) .rules span,body:not(.pn):not(:has(.hero-hs)) .sources,body:not(.pn):not(:has(.hero-hs)) .etape,body:not(.pn):not(:has(.hero-hs)) .facts,body:not(.pn):not(:has(.hero-hs)) .hl > span:not(.state),body:not(.pn):not(:has(.hero-hs)) .hl details,body:not(.pn):not(:has(.hero-hs)) .soon span,body:not(.pn):not(:has(.hero-hs)) .calc-out span,body:not(.pn):not(:has(.hero-hs)) .person p,body:not(.pn):not(:has(.hero-hs)) .legend,body:not(.pn):not(:has(.hero-hs)) .events li,body:not(.pn):not(:has(.hero-hs)) .wk li,body:not(.pn):not(:has(.hero-hs)) .crumbs,body:not(.pn):not(:has(.hero-hs)) .foot-row,body:not(.pn):not(:has(.hero-hs)) .bc details p,body:not(.pn):not(:has(.hero-hs)) .bc details summary,body:not(.pn):not(:has(.hero-hs)) .cc-l,body:not(.pn):not(:has(.hero-hs)) .tm a span,body:not(.pn):not(:has(.hero-hs)) .cl-cifre span,body:not(.pn):not(:has(.hero-hs)) .don-card span:not(.state),body:not(.pn):not(:has(.hero-hs)) .p3-c span:last-child,body:not(.pn):not(:has(.hero-hs)) .pfig-n,body:not(.pn):not(:has(.hero-hs)) .td-gol{font-size:.9rem}
  body:not(.pn):not(:has(.hero-hs)) .data-table,body:not(.pn):not(:has(.hero-hs)) .cal-table,body:not(.pn):not(:has(.hero-hs)) .cmp th,body:not(.pn):not(:has(.hero-hs)) .cmp td,body:not(.pn):not(:has(.hero-hs)) .urgent li,body:not(.pn):not(:has(.hero-hs)) .tm time,body:not(.pn):not(:has(.hero-hs)) .steps-ui li{font-size:.9rem}
  body:not(.pn):not(:has(.hero-hs)) .eyebrow{font-size:.9rem}
  body:not(.pn):not(:has(.hero-hs)) .stat .k,body:not(.pn):not(:has(.hero-hs)) .kv .k,body:not(.pn):not(:has(.hero-hs)) .flabel,body:not(.pn):not(:has(.hero-hs)) .pf-et,body:not(.pn):not(:has(.hero-hs)) .bl-et,body:not(.pn):not(:has(.hero-hs)) .tile .tag,body:not(.pn):not(:has(.hero-hs)) .data-table th,body:not(.pn):not(:has(.hero-hs)) .cal-table th,body:not(.pn):not(:has(.hero-hs)) .hl-t,body:not(.pn):not(:has(.hero-hs)) .u-t,body:not(.pn):not(:has(.hero-hs)) .p3-k,body:not(.pn):not(:has(.hero-hs)) .ppret .k,body:not(.pn):not(:has(.hero-hs)) .stage .t,body:not(.pn):not(:has(.hero-hs)) .yearmonths,body:not(.pn):not(:has(.hero-hs)) .steps-ui time,body:not(.pn):not(:has(.hero-hs)) .bl-cat,body:not(.pn):not(:has(.hero-hs)) .cc h4.cc-t,body:not(.pn):not(:has(.hero-hs)) .preview .label{font-size:.76rem}
  body:not(.pn):not(:has(.hero-hs)) .pill,body:not(.pn):not(:has(.hero-hs)) .state,body:not(.pn):not(:has(.hero-hs)) .bmeta span,body:not(.pn):not(:has(.hero-hs)) .pv,body:not(.pn):not(:has(.hero-hs)) .pav,body:not(.pn):not(:has(.hero-hs)) .tr,body:not(.pn):not(:has(.hero-hs)) .pill-urg,body:not(.pn):not(:has(.hero-hs)) .vbadge,body:not(.pn):not(:has(.hero-hs)) .bl-varsta,body:not(.pn):not(:has(.hero-hs)) .ca-spons,body:not(.pn):not(:has(.hero-hs)) .wk li .state{font-size:.76rem}
  body:not(.pn):not(:has(.hero-hs)) .stat b:not(.txt),body:not(.pn):not(:has(.hero-hs)) .calc-n,body:not(.pn):not(:has(.hero-hs)) .p3-c b,body:not(.pn):not(:has(.hero-hs)) .ppret > b,body:not(.pn):not(:has(.hero-hs)) .don-sum,body:not(.pn):not(:has(.hero-hs)) .cl-cifre b,body:not(.pn):not(:has(.hero-hs)) .stage .big{font-size:1.9rem; line-height:1.05}
  body:not(.pn):not(:has(.hero-hs)) .stat b.txt,body:not(.pn):not(:has(.hero-hs)) .hl-nr,body:not(.pn):not(:has(.hero-hs)) .rec-m b,body:not(.pn):not(:has(.hero-hs)) .cos-total{font-size:1.25rem}
  body:not(.pn):not(:has(.hero-hs)) .btn{font-size:.95rem; padding:13px 20px}
  body:not(.pn):not(:has(.hero-hs)) .btn.sm{font-size:.9rem; padding:10px 16px}

  /* 2. Ritm vertical: secțiuni mai apropiate, titlul lipit de conținutul lui */
  body:not(.pn):not(:has(.hero-hs)) .section{padding-block:40px; gap:20px}
  body:not(.pn):not(:has(.hero-hs)) .section.tight{padding-block:24px; gap:16px}
  body:not(.pn):not(:has(.hero-hs)) .section.tight.src-note{padding-block:24px 40px}
  body:not(.pn):not(:has(.hero-hs)) .wrap > .section:first-child,body:not(.pn):not(:has(.hero-hs)) .cal-hero + .section,body:not(.pn):not(:has(.hero-hs)) .school-hero + .section{padding-top:16px}
  body:not(.pn):not(:has(.hero-hs)) .section > .stack{gap:6px}
  body:not(.pn):not(:has(.hero-hs)) .section > h2 + .small,body:not(.pn):not(:has(.hero-hs)) .section > h2 + p{margin-top:-8px}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero{padding-block:24px 12px}
  body:not(.pn):not(:has(.hero-hs)) .crumbs{padding-top:22px}
  body:not(.pn):not(:has(.hero-hs)) .prose{padding-block:28px 56px; gap:12px}
  body:not(.pn):not(:has(.hero-hs)) .prose h2{margin-top:14px}
  body:not(.pn):not(:has(.hero-hs)) .foot{padding-block:40px 32px; gap:20px}
  body:not(.pn):not(:has(.hero-hs)) .quick{padding-bottom:40px}
  body:not(.pn):not(:has(.hero-hs)) .tm-luna{margin-top:18px}
  body:not(.pn):not(:has(.hero-hs)) .bl-info{margin-bottom:24px}
  body:not(.pn):not(:has(.hero-hs)) .wrap > .dark{margin-block:16px}
  body:not(.pn):not(:has(.hero-hs)) .dark{gap:22px}
  body:not(.pn):not(:has(.hero-hs)) .wrap > .counties{margin-top:8px}
  body:not(.pn):not(:has(.hero-hs)) .wrap > .counties + p{margin-top:14px}

  /* 3. Titlul, textul și butoanele de deschidere, pe aceeași linie de stânga; butoanele („Salvează”, „Compară”, prototipul) pe un singur rând */
  body:not(.pn):not(:has(.hero-hs)) .cal-hero{gap:8px 12px}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > .lead,body:not(.pn):not(:has(.hero-hs)) .school-hero > .lead{flex:0 1 64ch; max-width:none; margin:0 max(0px,calc(100% - 64ch)) 4px 0}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > .salveaza,body:not(.pn):not(:has(.hero-hs)) .school-hero > .salveaza{margin:0}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > p:has(> .btn),body:not(.pn):not(:has(.hero-hs)) .school-hero > p:has(> .btn){display:contents}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero > .proto{margin:0}
  body:not(.pn):not(:has(.hero-hs)) .school-hero{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding-block:12px 20px}
  body:not(.pn):not(:has(.hero-hs)) .school-hero > :not(.salveaza):not(.btn):not(p:has(> .btn)):not(.lead){flex:0 0 100%; margin:0}
  /* titlul cu etichetă (.bhead): „Salvează” intră în .bhead (aplicatie.js), așa că trece pe rândul de sub titlu, nu în dreapta lui */
  body:not(.pn):not(:has(.hero-hs)) .school-hero > .bhead{justify-content:flex-start; align-items:center; gap:8px 12px; row-gap:0}
  body:not(.pn):not(:has(.hero-hs)) .school-hero > .bhead::after{content:""; flex:0 0 100%; order:2; height:0}
  body:not(.pn):not(:has(.hero-hs)) .school-hero > .bhead > .salveaza{order:3; margin:10px 0 0}
  body:not(.pn):not(:has(.hero-hs)) .wrap > p:has(> .btn),body:not(.pn):not(:has(.hero-hs)) .section > p:has(> .btn){display:flex; flex-wrap:wrap; gap:8px 10px; align-items:center}
  body:not(.pn):not(:has(.hero-hs)) .tara-nav,body:not(.pn):not(:has(.hero-hs)) .calc-nav,body:not(.pn):not(:has(.hero-hs)) .isj-nav{margin:4px 0 12px}
  body:not(.pn):not(:has(.hero-hs)) .cal-hero + .tara-nav,body:not(.pn):not(:has(.hero-hs)) .cal-hero + .calc-nav{margin-top:0}

  /* 4. Rânduri de text: lățime de citit, aliniate la stânga cu titlul */
  body:not(.pn):not(:has(.hero-hs)) .section > p,body:not(.pn):not(:has(.hero-hs)) .section > .small,body:not(.pn):not(:has(.hero-hs)) .wrap > p:not(:has(> .btn)),body:not(.pn):not(:has(.hero-hs)) .src-note p,body:not(.pn):not(:has(.hero-hs)) .help-112,body:not(.pn):not(:has(.hero-hs)) .section > .stack > p,body:not(.pn):not(:has(.hero-hs)) .section > div > p.small:only-child,body:not(.pn):not(:has(.hero-hs)) .cl-atentie p,body:not(.pn):not(:has(.hero-hs)) .notice,body:not(.pn):not(:has(.hero-hs)) .card-soft > p,body:not(.pn):not(:has(.hero-hs)) .gsec > p,body:not(.pn):not(:has(.hero-hs)) .help > p{max-width:76ch}
  body:not(.pn):not(:has(.hero-hs)) .section > h2,body:not(.pn):not(:has(.hero-hs)) .section > .stack h2{max-width:40ch}
  body:not(.pn):not(:has(.hero-hs)) .school-hero > .small,body:not(.pn):not(:has(.hero-hs)) .cal-hero > .small,body:not(.pn):not(:has(.hero-hs)) .section > :is(ul,ol):not([class]),body:not(.pn):not(:has(.hero-hs)) .card-soft > :is(ul,ol){max-width:76ch}

  /* 5. Cardurile de pe același rând au aceeași înălțime; conținutul rămâne sus, butonul/eticheta la aceeași linie */
  body:not(.pn):not(:has(.hero-hs)) .counties li,body:not(.pn):not(:has(.hero-hs)) .guides li,body:not(.pn):not(:has(.hero-hs)) .unde-l li,body:not(.pn):not(:has(.hero-hs)) .hlines li{display:grid; min-width:0}
  body:not(.pn):not(:has(.hero-hs)) .counties a,body:not(.pn):not(:has(.hero-hs)) .guides a{height:auto; min-height:100%; align-content:start}
  body:not(.pn):not(:has(.hero-hs)) .guides a{grid-template-rows:auto 1fr auto}
  body:not(.pn):not(:has(.hero-hs)) .guides a .state{align-self:end}
  body:not(.pn):not(:has(.hero-hs)) .blist,body:not(.pn):not(:has(.hero-hs)) .calcs,body:not(.pn):not(:has(.hero-hs)) .ca-grid,body:not(.pn):not(:has(.hero-hs)) .pmodel,body:not(.pn):not(:has(.hero-hs)) .join,body:not(.pn):not(:has(.hero-hs)) .isj-doua,body:not(.pn):not(:has(.hero-hs)) .cc-c,body:not(.pn):not(:has(.hero-hs)) .exams,body:not(.pn):not(:has(.hero-hs)) .weeks{align-items:stretch}
  body:not(.pn):not(:has(.hero-hs)) .calc,body:not(.pn):not(:has(.hero-hs)) .ca-card,body:not(.pn):not(:has(.hero-hs)) .pmodel > *,body:not(.pn):not(:has(.hero-hs)) .jcard,body:not(.pn):not(:has(.hero-hs)) .card-soft,body:not(.pn):not(:has(.hero-hs)) .gsec,body:not(.pn):not(:has(.hero-hs)) .exam,body:not(.pn):not(:has(.hero-hs)) .wk,body:not(.pn):not(:has(.hero-hs)) .stat,body:not(.pn):not(:has(.hero-hs)) .tile,body:not(.pn):not(:has(.hero-hs)) .q,body:not(.pn):not(:has(.hero-hs)) .rules li,body:not(.pn):not(:has(.hero-hs)) .soon li,body:not(.pn):not(:has(.hero-hs)) .hl,body:not(.pn):not(:has(.hero-hs)) .cl-cifre div,body:not(.pn):not(:has(.hero-hs)) .isj-c,body:not(.pn):not(:has(.hero-hs)) .p3-c,body:not(.pn):not(:has(.hero-hs)) .ppret,body:not(.pn):not(:has(.hero-hs)) .pc-b,body:not(.pn):not(:has(.hero-hs)) .bl-corp{align-content:start}
  /* butonul sau eticheta de la baza cardului stă pe aceeași linie în tot rândul */
  body:not(.pn):not(:has(.hero-hs)) .bc,body:not(.pn):not(:has(.hero-hs)) .don-card{align-content:start; grid-template-rows:none}
  body:not(.pn):not(:has(.hero-hs)) .bc > :last-child,body:not(.pn):not(:has(.hero-hs)) .don-card > .don-bara,body:not(.pn):not(:has(.hero-hs)) .exam > .exam-foot,body:not(.pn):not(:has(.hero-hs)) .ca-card > .btn,body:not(.pn):not(:has(.hero-hs)) .jcard > details{margin-top:auto}
  body:not(.pn):not(:has(.hero-hs)) .bc,body:not(.pn):not(:has(.hero-hs)) .don-card,body:not(.pn):not(:has(.hero-hs)) .exam,body:not(.pn):not(:has(.hero-hs)) .ca-card,body:not(.pn):not(:has(.hero-hs)) .jcard{display:flex; flex-direction:column}
  body:not(.pn):not(:has(.hero-hs)) .split2 > *{min-width:0}
  /* grile la jumătate de ecran: un singur element (mesaj, „nicio ofertă”) ocupă tot rândul */
  body:not(.pn):not(:has(.hero-hs)) .ps-grid > :only-child:is(p,.card-soft,.pgol,.gol,[data-fara-js]),body:not(.pn):not(:has(.hero-hs)) .bl-grid > :only-child:is(p,.card-soft,.pgol,.gol,[data-fara-js]),body:not(.pn):not(:has(.hero-hs)) .plist > :only-child:is(p,.card-soft,.pgol,.gol,[data-fara-js]),body:not(.pn):not(:has(.hero-hs)) .don-grid > :only-child:is(p,.card-soft,.pgol,.gol,[data-fara-js]),body:not(.pn):not(:has(.hero-hs)) .guides > :only-child:is(p,.card-soft,.pgol,.gol,[data-fara-js]){grid-column:1 / -1}
  body:not(.pn):not(:has(.hero-hs)) .ps-grid > .card-soft:only-child{max-width:60ch}
  /* formularele de pe toată lățimea (newsletter, incubator, campanii) nu întind câmpurile pe 1.400 px */
  body:not(.pn):not(:has(.hero-hs)) main form.card-soft,body:not(.pn):not(:has(.hero-hs)) main form[name="campanii"]{max-width:760px}
  /* comunitate: temele și căutarea pe același rând */
  body:not(.pn):not(:has(.hero-hs)) .in-sus{align-items:center; gap:10px 16px}
  body:not(.pn):not(:has(.hero-hs)) .in-cauta{display:flex; align-items:center; gap:8px}
  /* cele două carduri de informații (Bilete, PASS, Meditații, Tabere, Foștii liceeni) stau alături, nu unul sub altul */
  body:not(.pn):not(:has(.hero-hs)) .two{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
  body:not(.pn):not(:has(.hero-hs)) .two > *{min-width:0}

  /* 6. Filtre și etichete pe un rând comun */
  body:not(.pn):not(:has(.hero-hs)) .filters-css{gap:8px 6px; align-items:center}
  body:not(.pn):not(:has(.hero-hs)) .flabel{margin:0 2px 0 8px}
  body:not(.pn):not(:has(.hero-hs)) .pf-rand,body:not(.pn):not(:has(.hero-hs)) .bl-rand{align-items:flex-start}
  body:not(.pn):not(:has(.hero-hs)) .pf-et,body:not(.pn):not(:has(.hero-hs)) .bl-et{padding-top:8px; line-height:1.2}
  body:not(.pn):not(:has(.hero-hs)) .cl-filtre{align-items:end; gap:10px 14px}
  body:not(.pn):not(:has(.hero-hs)) .tm-bara{align-items:end; gap:10px 12px}
  body:not(.pn):not(:has(.hero-hs)) :is(.wrap,.section) > .clasa-sel{justify-self:start; width:min(100%,360px)}
}
/* grile echilibrate, pe toată lățimea (doar grilele de sub titlul secțiunii, nu cele din coloane): rândul se umple — 1–2 carduri pe 2 coloane, 3/6/9 pe 3,
   4/7/8 pe 4, 5/10 pe 5; nu rămân rânduri cu un singur card rătăcit — doar pe ecrane late */
@media (min-width:1280px){
  body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(-n+2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(3):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(6):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(9):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(4):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(7):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(8):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(5):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .guides:has(> li:nth-child(10):last-child),body:not(.pn):not(:has(.hero-hs)) .counties:not(.pcats):has(> li:nth-child(5):last-child),body:not(.pn):not(:has(.hero-hs)) .don-grid:has(> :nth-child(5):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .pmodel:has(> :nth-child(5):last-child),body:not(.pn):not(:has(.hero-hs)) .help:not(.gmain .help) > .hlines:has(> li:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) .don-grid:has(> :nth-child(3):last-child),body:not(.pn):not(:has(.hero-hs)) .don-grid:has(> :nth-child(6):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .pmodel:has(> :nth-child(6):last-child),body:not(.pn):not(:has(.hero-hs)) .help:not(.gmain .help) > .hlines:has(> li:nth-child(6):last-child),body:not(.pn):not(:has(.hero-hs)) :is(.section,.wrap) > .ca-grid:has(> :nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) .counties:not(.pcats):has(> li:nth-child(7):last-child){grid-template-columns:repeat(7,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) .bl-grid:has(> :nth-child(-n+4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) .rules:has(> li:nth-child(4):last-child),body:not(.pn):not(:has(.hero-hs)) .rules:has(> li:nth-child(8):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  body:not(.pn):not(:has(.hero-hs)) .rules:has(> li:nth-child(5):last-child),body:not(.pn):not(:has(.hero-hs)) .rules:has(> li:nth-child(10):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
}
/* ===== CALM-CALCULATOR: sfârșit ===== */

/* Socrate: chatul (socrate.js) și fereastra din dreapta jos (socrate-buton.js) */
.sx{display:flex; flex-direction:column; min-height:0; flex:1}
.sx-pagina{max-width:720px; height:min(640px,calc(100dvh - 220px)); min-height:420px; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-sm,16px); overflow:hidden}
.sx-fir{flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:14px 14px 8px; display:flex; flex-direction:column; gap:10px}
.sx-rand{display:flex}
.sx-u{justify-content:flex-end}
.sx-bula{max-width:88%; padding:10px 14px; border-radius:18px; line-height:1.5; overflow-wrap:anywhere}
.sx-u .sx-bula{background:var(--brand); color:var(--on-brand); border-bottom-right-radius:6px}
.sx-s .sx-bula{background:var(--surface); border:1px solid var(--line); border-bottom-left-radius:6px}
.sx-eroare .sx-bula{border-color:var(--coral)}
.sx-scrie .sx-bula{color:var(--muted); font-style:italic}
.sx-bula p{margin:0 0 8px}
.sx-bula p:last-child{margin-bottom:0}
.sx-eticheta,.socrate-ai{display:inline-block; margin:0 0 6px; padding:2px 10px; border:1px solid var(--line); border-radius:999px; font-size:.8125rem; font-weight:700; color:var(--muted)}
.sx-sursa{font-size:.875rem; font-weight:700; margin:10px 0 4px}
.sx-pastile{display:flex; flex-wrap:wrap; gap:8px}
.sx-pastila{min-height:44px; padding:8px 14px; border:1px solid var(--brand); border-radius:999px; background:transparent; color:inherit; font:inherit; font-size:.9375rem; text-align:left; cursor:pointer}
.sx-pastila:hover,.sx-pastila:focus-visible{background:color-mix(in srgb,var(--brand) 14%,transparent)}
.sx-form{display:flex; align-items:flex-end; gap:8px; padding:8px 12px; border-top:1px solid var(--line)}
.sx-form textarea{flex:1; min-width:0; max-height:120px; padding:10px 12px; font:inherit; font-size:16px; color:var(--ink,inherit); background:var(--surface); border:1px solid var(--line); border-radius:20px; resize:none}
.sx-trimite{display:grid; place-items:center; flex:none; width:44px; height:44px; border:0; border-radius:50%; background:var(--brand); color:var(--on-brand); cursor:pointer}
.sx-trimite:disabled{opacity:.5; cursor:default}
.sx-trimite svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.sx-jos{display:flex; justify-content:space-between; align-items:center; gap:10px; padding:0 12px 10px}
.sx-jos .small{flex:1; line-height:1.3}
.sx-nou,.sx-semn{flex:none; min-height:44px; padding:6px 12px; border:1px solid var(--line); border-radius:999px; background:none; color:inherit; font:inherit; font-size:.875rem; font-weight:700; cursor:pointer}
.sx-semn{min-height:36px}
.socrate-semn{margin-top:10px}
.socrate-semn-rand{display:flex; flex-wrap:wrap; gap:8px}
.sx-semn{display:inline-flex; align-items:center; gap:6px}
.sx-semn svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none}
.sx-semn:disabled{opacity:.5; cursor:default}
.socrate-pasi{margin:0 0 8px; padding-left:20px}
.socrate-pasi li{margin-bottom:4px}
.socrate-semn-form{display:grid; gap:8px}
.socrate-semn-form label{font-weight:700}
.socrate-semn-form select,.socrate-semn-form textarea{width:100%; padding:10px 12px; font:inherit; font-size:16px; color:var(--ink,inherit); background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm,12px)}
.socrate-semn-form .btn{justify-self:start}
.socrate-surse{margin:0 0 8px; padding-left:18px}
.socrate-surse li{margin-bottom:8px}
.socrate-det{display:block; color:var(--muted)}
.socrate-criza{padding:10px 12px; border-radius:var(--r-sm); background:color-mix(in srgb,var(--coral) 16%,transparent); font-weight:700}
.sb-buton{position:fixed; right:20px; bottom:20px; z-index:60; display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:10px 18px 10px 14px; border:0; border-radius:999px; background:var(--brand); color:var(--on-brand); font:inherit; font-weight:700; cursor:pointer; box-shadow:0 12px 28px -10px rgba(0,0,0,.55)}
.sb-buton[hidden]{display:none}
/* X013-T (P1, 02.12.2026): de la 768 px în sus, butonul plutitor Socrate (dreapta jos, 48 px + 20 px) ascundea focusul tastaturii (WCAG 2.2 · 2.4.11):
   ultimele linkuri din subsol și butoanele din dreapta listelor. Focusul se oprește acum deasupra lui, iar subsolul lasă loc dedesubt. Doar spațiere, nimic vizual schimbat. */
@media (min-width:768px){
  html:has(.sb-buton:not([hidden])){scroll-padding-bottom:84px}
  body:has(.sb-buton:not([hidden])) .foot.foot.foot{padding-bottom:88px}
}
.sb-buton svg,.sb-inchide svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none}
.sb-fereastra{position:fixed; right:20px; bottom:20px; z-index:60; width:400px; max-width:calc(100vw - 24px); height:min(640px,calc(100dvh - 40px)); display:flex; flex-direction:column; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-sm,16px); box-shadow:0 24px 60px -20px rgba(0,0,0,.6); overflow:hidden}
.sb-fereastra[hidden]{display:none}
.sb-antet{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 12px 12px 16px; border-bottom:1px solid var(--line)}
.sb-antet b{display:block}
.sb-inchide{display:grid; place-items:center; width:44px; height:44px; border:0; background:none; color:inherit; cursor:pointer; border-radius:12px}
@media (max-width:767px){
  .sb-buton{right:12px; bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .sb-fereastra{inset:0; width:auto; max-width:none; height:100dvh; border:0; border-radius:0; z-index:80}
}
/* pictograme SVG în locul emoji-urilor din interfețe (L.ic / L.elIc din creier.js): ≈1.1em, în culoarea textului */
.ic-e{width:1.1em; height:1.1em; flex:none; vertical-align:-.2em; margin-right:.35em}
.cu-ic{display:inline-flex; align-items:center; gap:.4em}
.cu-ic .ic-e{margin-right:0; vertical-align:baseline}
.bl-afis-semn .ic-e{width:1em; height:1em; margin:0}

/* Lista de așteptare cu regulile de vârstă (abonare.js): nota pentru sub 16, mesajele, pagina /abonare/ */
.ab-ic{width:20px; height:20px; flex:none}
.band .abonare .legend{color:var(--on-brand)}
.ab-nota{display:flex; gap:10px; align-items:flex-start; margin:0; padding:12px 14px; border-radius:var(--r-sm); font-size:.9rem;
  background:color-mix(in srgb,var(--on-brand) 12%,transparent); border:1.5px solid color-mix(in srgb,var(--on-brand) 28%,transparent)}
.ab-nota .ab-ic{margin-top:1px}
.ab-sub16{display:grid; gap:14px}
.ab-sub16[hidden],.abonare [hidden]{display:none}
.ab-msg{margin:0; min-height:1.2em}
.ab-msg.ab-err{font-weight:600}
.band .ab-msg.ab-err{color:var(--marker)}
.ab-gata{display:grid; gap:8px; padding:20px; border-radius:var(--r-sm); background:color-mix(in srgb,var(--on-brand) 12%,transparent); outline:none}
.ab-gata-t{display:flex; gap:10px; align-items:center; margin:0; font-weight:700; font-size:1.1rem}
.ab-gata .small{margin:0}
.ab-pagina .ab-gata{background:var(--surface); border:1.5px solid var(--line)}
.ab-link{display:grid; gap:14px; justify-items:start}
.ab-link .check{max-width:60ch}
.ab-h{margin:0}
.ab-actiuni{display:flex; flex-wrap:wrap; gap:10px}

/* Bara de jos pentru elevi (modulul „aplicatie_bara_elev”): patru file, cu clopoțel pe „Contul meu” (generatori/cont_elev.py) */
@media (max-width:767px){
  .tabbar.tb4{grid-template-columns:repeat(4,1fr)}
  .tabbar a{position:relative}
  .tabbar .tb-nr{position:absolute; top:2px; left:calc(50% + 6px); min-width:17px; height:17px; padding:0 4px; border-radius:999px; background:#e11d48; color:#fff; font-size:.75rem; line-height:17px; text-align:center; box-sizing:border-box}
}
.top-clopot{position:relative}
.top-clopot .top-nr{position:absolute; top:-4px; right:-4px; left:auto; min-width:17px; height:17px; padding:0 4px; border-radius:999px; background:#e11d48; color:#fff; font-size:.75rem; line-height:17px; text-align:center}

/* butonul „Înapoi la Contul meu” pe subpaginile din /cont/ (build.py → buton_inapoi_cont) */
.cont-inapoi-r{margin:22px 0 0; padding:0}
.cont-inapoi{display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 18px 0 14px; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); color:var(--ink); font-weight:700; font-size:.95rem; text-decoration:none; max-width:100%}
.cont-inapoi svg{width:20px; height:20px; flex:none}
.cont-inapoi:hover,.cont-inapoi:focus-visible{border-color:var(--brand); color:var(--brand)}
.cont-inapoi-r + .cal-hero,.cont-inapoi-r + .school-hero{padding-top:12px}
@media (max-width:760px){.cont-inapoi-r{margin-top:14px}}

/* rândul de legătură spre calendar pe /bilete/ și /tabere/: butonul lung se rupe pe rânduri pe telefon (30.11) */
.vz-leg .btn{white-space:normal; max-width:100%; text-align:center; line-height:1.25}

/* ---------- Runda 2 design (Claude, 30.11.2026): telefonul ----------
   1) Antetul rămâne cu căutarea universală mereu vizibilă (cerință), dar mai compact: margini, rânduri și butoane mai strânse.
   2) Focusul nu mai ajunge ascuns sub bara de jos (WCAG 2.2 · 2.4.11): scroll-padding sus și jos, egale cu barele.
   3) Filtrele de la Meditații se pliază sub butonul „Filtre” (aplicatie.js), ca primul profesor să apară pe primul ecran.
   Varianta cu căutarea pliată în lupă (bare ~14%) e păstrată ca propunere: design-claude/variante-neselectate/2026-11-30-r2/. */
@media (max-width:767px){
  html{scroll-padding-top:118px; scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .top{top:4px; margin-top:4px; padding-inline:8px}
  .top-in{row-gap:6px; padding:5px 6px; border-radius:22px}
  form.bara-cauta{height:42px}
  .tabbar{padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px))}
  .tabbar a{min-height:46px}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:440px){.cont-btn,.tema,.menu-btn,.top-cos{height:36px}}
.filtre-tel-btn{display:none}
@media (max-width:767px){
  html:not(.js) .filtre-tel-btn{display:none!important}
  .filtre-tel-btn{display:inline-flex; align-items:center; gap:8px; margin:4px 0 12px}
  .filtre-tel-btn svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round}
  .filtre-tel-nr{display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:999px; background:var(--brand); color:var(--on-brand); font-size:.78rem}
  .filtre-tel:not(.deschis){display:none!important}
  .js [data-med-filtre]:not(.deschis){display:none!important}   /* ascuns din CSS înainte de JS: fără salt de layout (CLS) */
  .filtre-tel.deschis{border:1px solid var(--line); border-radius:var(--r); padding:14px; background:var(--surface); margin-bottom:14px}
}

/* ---------- CLS (01.12): locul ținut la încărcare pentru părțile pe care le desenează scripturile ----------
   Fără JavaScript (html fără .js) nu se schimbă nimic. Cu JavaScript, cât timp scriptul paginii pregătește partea lui, locul ei e deja ocupat (cu markup-ul real,
   nevăzut, sau cu înălțimea măsurată a variantei finale), ca restul paginii să nu sară. Nimic din conținut nu e ascuns după ce scriptul a terminat. */
/* Acte și bani: formularul calculatorului și primul panou al modelelor de dosar își țin locul până se încarcă datele (data-gata pus de cost-an.js / dosar-modele.js) */
.js [data-cost]:not([data-gata]) form[data-cost-form][hidden]{display:grid!important; visibility:hidden}
.js [data-dosar]:not([data-gata]) nav[data-dosar-tabs][hidden]{display:flex!important; visibility:hidden}
.js [data-dosar]:not([data-gata]) section[data-dosar-panou="scrisoare"][hidden]{display:grid!important; visibility:hidden; min-height:100vh}
/* Piață / cazări: bara de filtre (deja compactă din construire) se vede de la început când există JavaScript; mesajul „au nevoie de JavaScript” nu mai apare */
.js form.pfilt[data-cazare-filtre][hidden],.js form.pfilt[data-piata-filtre][hidden]{display:flex!important}
.js form.pfilt[data-cazare-filtre] ~ p[data-fara-js],.js form.pfilt[data-piata-filtre] ~ p[data-fara-js]{display:none}
/* Lista clasei: invitația de intrare în cont (aceeași pe care o scrie lista-banca.js pentru vizitator) e în HTML; se vede cu modulul pornit */
.js:not([data-oprite~="lista_clasei_cont"]) section[data-lc-reale][hidden]:not([data-gata]){display:block!important}
/* Căutarea: până la prima desenare (tema.js: .cz-asteapta, scoasă de cauta-pagina.js), zona rezultatelor ține un ecran, ca subsolul să nu sară */
.js.cz-asteapta .cz-grid{min-height:calc(100vh - 250px)}
/* Bursele potrivite mie (burse-potrivite.js): înălțimea formularului desenat, măsurată pe lățimi */
.js [data-bp]:not(:has(.bp-f)){min-height:701px}
@media (max-width:1099px){.js [data-bp]:not(:has(.bp-f)){min-height:790px}}
@media (max-width:899px){.js [data-bp]:not(:has(.bp-f)){min-height:830px}}
@media (max-width:600px){.js [data-bp]:not(:has(.bp-f)){min-height:1166px}}
/* Meditații: bara de căutare desenată de meditatii-deschise.js */
.js [data-med-d-cauta]:not(:has(.mdd-bara)){min-height:475px}
@media (max-width:899px){.js [data-med-d-cauta]:not(:has(.mdd-bara)){min-height:585px}}
@media (max-width:767px){.js [data-med-d-cauta]:not(:has(.mdd-bara)){min-height:182px}}
/* Incubator: fereastra de intrare în cont / echipa, desenată de script în locul lui „Se încarcă…” */
.js [data-inc]:has(> [data-inc-incarc]){min-height:367px}
@media (max-width:600px){.js [data-inc]:has(> [data-inc-incarc]){min-height:390px}}
/* Lista clasei: totalul (piata.js) și panourile din coloana din dreapta își țin locul înainte de script */
.js [data-lista-total]:has(> [data-fara-js]:not([hidden])){min-height:452px}
@media (max-width:1100px){.js [data-lista-total]:has(> [data-fara-js]:not([hidden])){min-height:429px}}
.js:not([data-oprite~="piata_alerte"]):not([data-lc-gata]) [data-lista-urmareste][hidden]{display:block!important; visibility:hidden; min-height:169px}
/* Căutarea cu o întrebare în adresă (?q=…, marcată de tema.js înainte de afișare): bara cu filtre și ordonare își ține locul */
.js.cz-q .cz-bara[hidden]{display:flex!important; visibility:hidden}
@media (min-width:901px){.js.cz-q .cz-filtre[hidden]{display:block!important; visibility:hidden}}   /* coloana filtrelor din stânga, pe calculator */
/* Cazări: filtrul de distanță (cazare-extins.js) intră direct pe toată lățimea barei de filtre, cum ajunge oricum după încărcare */
.pfilt:has(.fdd) .cz-filtru-km{flex-basis:100%}
/* Parcurs școlar fără clasă aleasă (tema.js: .fara-clasa): înainte de drumul-meu.js arătăm deja ce arată el — „Alege clasa” în locul listei întregi */
.js.fara-clasa [data-dm-lista]:not([data-gata]){display:none!important}
.js.fara-clasa main:has([data-dm-lista]:not([data-gata])) [data-dm-gol][hidden]{display:block!important}
.js main:has([data-dm-lista]:not([data-gata])) p[data-fara-js]{display:none}
/* Termene (02.12): ce era deja trecut în ziua construirii (data-trecut) aplicatie.js ascunde oricum la încărcare; cu JavaScript nu mai apare deloc, ca lista să nu se strângă sub ochii omului */
.js .tm[data-trecut],.js .tm-luna[data-trecut]{display:none}
/* Contul meu: fereastra de intrare (cont.js) își ține locul cât timp se vede încă mesajul „are nevoie de JavaScript” */
.js [data-cont]:has(> [data-fara-js]:not([hidden])){min-height:431px}
@media (max-width:900px){.js [data-cont]:has(> [data-fara-js]:not([hidden])){min-height:669px}}
@media (max-width:600px){.js [data-cont]:has(> [data-fara-js]:not([hidden])){min-height:761px}}
