@charset "UTF-8";
/* Fonturi găzduite local (SIL Open Font License 1.1): Inter și Sora variabile, IBM Plex Mono 400/500.
   latin-ext acoperă ă, ș, ț; browserul descarcă un fișier doar dacă pagina folosește caractere din intervalul lui. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: două coloane pe ecran lat. Stânga (lată): datele proiectului, apoi detaliile pe file.
   Dreapta (îngustă, fixată la derulare): punctajul. Pe ecran îngust: date, punctaj, detalii, una sub alta,
   iar o bară de punctaj apare jos când punctajul nu e pe ecran. */
:root {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --field: #f7f9fa;
  --ink: #0f1720;
  --ink-2: #3e4954;
  --muted: #5f6b76;
  --line: #d9dfe4;
  --contrib: #2a78d6;
  --contrib-soft: #e3eefb;
  --contrib-track: #cde2fb;
  --cap: #eb6834;
  --cap-soft: #fdeae2;
  --cap-track: #fbdccf;
  --track: #e4e8eb;
  --on-fill: #ffffff;
  --good-ink: #006300;
  --good-bg: #e2f3e2;
  --warn-ink: #7a4c00;
  --warn-bg: #fff0cc;
  --crit-ink: #b02c2c;
  --crit-bg: #fbe3e3;
  --info-ink: #1c5cab;
  --info-bg: #e8f1fc;
  --row-hi: #eef5fd;
  --focus: #2a78d6;
  --shadow: 0 8px 28px rgba(15, 23, 32, .16);
  --f-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1316; --surface: #161c20; --field: #1b2227;
    --ink: #eef1f3; --ink-2: #c3cbd2; --muted: #96a0a9; --line: #2a333a;
    --contrib: #3987e5; --contrib-soft: #142a44; --contrib-track: #173b66;
    --cap: #d95926; --cap-soft: #3a2015; --cap-track: #4a2516;
    --track: #252d33; --on-fill: #ffffff;
    --good-ink: #4fd24f; --good-bg: #12301a;
    --warn-ink: #fab219; --warn-bg: #33280c;
    --crit-ink: #f08a8a; --crit-bg: #3a1a1a;
    --info-ink: #86b6ef; --info-bg: #132a45;
    --row-hi: #172636; --focus: #5598e7;
    --shadow: 0 8px 28px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1316; --surface: #161c20; --field: #1b2227;
  --ink: #eef1f3; --ink-2: #c3cbd2; --muted: #96a0a9; --line: #2a333a;
  --contrib: #3987e5; --contrib-soft: #142a44; --contrib-track: #173b66;
  --cap: #d95926; --cap-soft: #3a2015; --cap-track: #4a2516;
  --track: #252d33; --on-fill: #ffffff;
  --good-ink: #4fd24f; --good-bg: #12301a;
  --warn-ink: #fab219; --warn-bg: #33280c;
  --crit-ink: #f08a8a; --crit-bg: #3a1a1a;
  --info-ink: #86b6ef; --info-bg: #132a45;
  --row-hi: #172636; --focus: #5598e7;
  --shadow: 0 8px 28px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); }
.page {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 28px 112px;
  display: flex; flex-direction: column; gap: 24px;
}
p { margin: 0; }
svg.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
button { font-family: var(--f-body); cursor: pointer; color: var(--ink); }
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Antet */
.top { display: flex; flex-direction: column; gap: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.eyebrow svg.ic { width: 16px; height: 16px; }
h1 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.4rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.lede { max-width: 62ch; color: var(--ink-2); font-size: 1.05rem; }
h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; text-wrap: balance; }
h2 svg.ic { color: var(--contrib); }

/* Structura principală */
.grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "inputs" "score" "details";
  gap: 24px; align-items: start;
}
.inputs { grid-area: inputs; }
.score-col { grid-area: score; min-width: 0; }
.details { grid-area: details; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 940px) {
  .grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
    grid-template-areas: "inputs score" "details score";
  }
  /* Coloana de punctaj ocupă ambele rânduri, deci rămâne fixată cât derulezi prin stânga. */
  .score-col {
    position: sticky; top: 16px;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
    overflow-y: auto; scrollbar-width: thin; border-radius: 14px;
  }
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.score-card { gap: 16px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.sub { color: var(--ink-2); max-width: 64ch; }

/* Câmpuri */
.inputs { container-type: inline-size; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--info-ink); background: var(--info-bg); border-radius: 10px; padding: 10px 14px; }
.note span { color: var(--ink); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 14px; }
@container (min-width: 300px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields .wide { grid-column: 1 / -1; }
}
@container (min-width: 560px) {
  .fields .wide { grid-column: auto; }
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.field label svg.ic { color: var(--muted); }
.input-wrap { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; background: var(--field); overflow: hidden; }
.input-wrap:focus-within { border-color: var(--focus); outline: 3px solid var(--contrib-soft); }
.input-wrap input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 1.15rem var(--f-body); padding: 11px 14px; font-variant-numeric: tabular-nums; }
.input-wrap input:focus { outline: none; }
.unit { display: flex; align-items: center; padding: 0 14px; border-left: 1.5px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hint { font-size: .9rem; color: var(--ink-2); }
.input-wrap.flash { animation: flash 1.2s ease-out; }
@keyframes flash { from { background: var(--contrib-track); } to { background: var(--field); } }

.grant-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
@container (min-width: 640px) {
  .grant-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.grant-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
input[type="range"] { width: 100%; margin: 2px 0; accent-color: var(--contrib); height: 24px; }
.choices { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-size: .98rem; }
.choice:hover { border-color: var(--contrib); }
.choice-text { display: flex; flex: 1; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.choice-text strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice svg.ic { color: var(--contrib); }
.choice[aria-pressed="true"] { border-color: var(--contrib); background: var(--contrib-soft); }
.choice .ico-on, .copy .ico-on { display: none; }
.choice[aria-pressed="true"] .ico-on { display: inline-flex; }
.choice[aria-pressed="true"] .ico-off { display: none; }
.choice .tag { font-size: .78rem; font-weight: 700; color: var(--contrib); text-transform: uppercase; letter-spacing: .05em; display: none; }
.choice[aria-pressed="true"] .tag { display: inline; }
.ico-on, .ico-off { display: inline-flex; }
.grant-status:empty { display: none; }
.grant-status { font-size: .92rem; font-weight: 500; color: var(--info-ink); }
.max-why { font-size: .86rem; color: var(--muted); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 4px 0; background: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link-btn svg.ic { width: 16px; height: 16px; }

/* Punctaj */
.score-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 14px; }
.score-num { display: flex; align-items: baseline; gap: 10px; }
.big { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2.4rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.of { color: var(--ink-2); font-size: 1.1rem; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .95rem; font-weight: 700; }
.chip.good { background: var(--good-bg); color: var(--good-ink); }
.chip.warn { background: var(--warn-bg); color: var(--warn-ink); }
.chip.crit { background: var(--crit-bg); color: var(--crit-ink); }
.seg { display: flex; gap: 2px; height: 28px; }
.seg > div { min-width: 0; border-radius: 4px; display: flex; align-items: center; padding: 0 10px; font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; transition: flex-grow .25s ease; }
.seg .p-contrib { background: var(--contrib); color: var(--on-fill); }
.seg .p-cap { background: var(--cap); color: var(--on-fill); }
.seg .p-miss { background: var(--track); color: var(--ink-2); }
/* Legenda cu valori: un rând pe criteriu, potrivit pentru coloana îngustă. */
.breakdown { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .94rem; color: var(--ink-2); }
.breakdown li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.breakdown .val { white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown b { color: var(--ink); }
.breakdown small { color: var(--muted); font-size: .86rem; font-weight: 500; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw.c { background: var(--contrib); } .sw.k { background: var(--cap); } .sw.m { background: var(--track); border: 1px solid var(--line); }

.stats { display: flex; flex-direction: column; margin: 0; border-top: 1px solid var(--line); }
.stat { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.stat dt { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-2); min-width: 0; }
.stat dt svg.ic { width: 16px; height: 16px; color: var(--muted); }
.stat dd { margin: 0; font-weight: 700; font-size: 1rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat dd small { font-weight: 500; font-size: .86rem; color: var(--ink-2); }

/* Alerte */
.alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.alerts li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.5; }
.alerts li > span { color: var(--ink); min-width: 0; }
.alerts li svg.ic { margin-top: 2px; }
.alerts .crit-a { background: var(--crit-bg); color: var(--crit-ink); }
.alerts .warn-a { background: var(--warn-bg); color: var(--warn-ink); }
.alerts .info-a { background: var(--info-bg); color: var(--info-ink); }

/* File cu detalii (coloana din stânga) */
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.tabpanel:not(.active) { display: none; }
.tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; padding: 10px 8px; border-radius: 9px; font-size: .95rem; font-weight: 600; color: var(--ink-2); min-width: 0; }
.tabs button:hover { color: var(--ink); background: var(--field); }
.tabs button svg.ic { width: 18px; height: 18px; }
.tabs button[aria-selected="true"] { background: var(--contrib-soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--contrib); }
.tabs button[aria-selected="true"] svg.ic { color: var(--contrib); }
@media (max-width: 560px) { .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Criterii */
.crit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.crit { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); min-width: 0; }
.crit-head { display: flex; align-items: center; gap: 12px; }
.badge { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.badge svg.ic { width: 22px; height: 22px; }
.crit.c .badge { background: var(--contrib-soft); color: var(--contrib); }
.crit.k .badge { background: var(--cap-soft); color: var(--cap); }
.crit-name { font-weight: 700; font-size: 1.02rem; flex: 1; min-width: 0; }
.crit-pts { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; white-space: nowrap; line-height: 1; }
.crit-pts small { font-family: var(--f-body); color: var(--muted); font-weight: 500; font-size: .95rem; }
.meter { height: 10px; border-radius: 999px; overflow: hidden; }
.meter > span { display: block; width: 0; height: 100%; border-radius: 999px; transition: width .25s ease; }
.crit.c .meter { background: var(--contrib-track); } .crit.c .meter > span { background: var(--contrib); }
.crit.k .meter { background: var(--cap-track); } .crit.k .meter > span { background: var(--cap); }
.formula-cap { font-size: .82rem; color: var(--muted); }
.formula { font-family: var(--f-mono); font-size: .92rem; color: var(--ink); background: var(--field); border-radius: 8px; padding: 8px 12px; overflow-x: auto; white-space: nowrap; }
.crit .hint { font-size: .95rem; color: var(--ink); }

/* Valori pentru cerere */
.formvals { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; font-size: .98rem; max-width: 720px; }
.formvals dt, .formvals dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.formvals dt { color: var(--ink-2); padding-right: 14px; }
.formvals dt b { display: inline-block; min-width: 2.6em; color: var(--muted); font-weight: 600; }
.formvals dd { margin: 0; text-align: right; font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.copy { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-size: .95rem; font-weight: 600; }
.copy:hover { border-color: var(--contrib); }
.copy svg.ic { color: var(--contrib); }
.copy[data-done="true"] .ico-on { display: inline-flex; }
.copy[data-done="true"] .ico-off { display: none; }

/* Tabel */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
th { text-align: right; vertical-align: bottom; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; color: var(--muted); padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
td { text-align: right; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr.current td { background: var(--row-hi); font-weight: 700; }
td.score-cell { font-weight: 700; }

/* Departajare */
.ties { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.ties strong { font-variant-numeric: tabular-nums; }
.caution { display: flex; gap: 12px; align-items: flex-start; background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 12px 14px; }
.caution span { color: var(--ink); font-size: .95rem; }
.caution svg.ic { margin-top: 2px; }

footer { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); max-width: 82ch; }
footer > div { display: flex; flex-direction: column; gap: 8px; }
footer svg.ic { color: var(--muted); margin-top: 2px; }
footer a { color: var(--ink); }

/* Bara de punctaj (apare când punctajul principal nu e pe ecran) */
.scorebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: center; pointer-events: none;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  transform: translateY(130%); visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}
.scorebar.show { transform: none; visibility: visible; transition: transform .22s ease; }
.sb-btn {
  pointer-events: auto; width: 100%; max-width: 760px; box-sizing: border-box;
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 10px 14px 10px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow);
}
.sb-btn:hover { border-color: var(--contrib); }
.sb-score { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.sb-score b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.sb-score small { color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.sb-status { display: inline-flex; }
.sb-status.good { color: var(--good-ink); } .sb-status.warn { color: var(--warn-ink); } .sb-status.crit { color: var(--crit-ink); }
.sb-seg { flex: 1; height: 12px; min-width: 60px; }
.sb-seg > div { padding: 0; }
.sb-grant { font-size: .9rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sb-grant b { color: var(--ink); }
.sb-go { display: inline-flex; color: var(--contrib); }
.sb-go .up { display: none; }
.scorebar.above .sb-go .up { display: inline-flex; }
.scorebar.above .sb-go .down { display: none; }
@media (max-width: 600px) { .sb-grant { display: none; } }
/* Pe ecran lat punctajul e mereu vizibil în coloana din dreapta, deci bara nu mai e necesară. */
@media (min-width: 940px) { .scorebar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .seg > div, .meter > span { transition: none; }
  .input-wrap.flash { animation: none; }
  .scorebar, .scorebar.show { transition: none; }
}

.noscript { margin: 0; padding: 12px 16px; background: var(--warn-bg); color: var(--ink); text-align: center; font-weight: 600; }
