/* Fonturi gazduite local (licenta SIL OFL 1.1, vezi assets/fonts/LICENSE-*.txt). */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-latin-600-normal.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-latin-700-normal.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400-normal.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600-normal.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-400-normal.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;
}

/* Portal Politia Orasului Steal – negru, albastru si galben, ca in emblema. */

:root {
  --bg: #08090B;
  --panel: #121317;
  --line: #2C2F37;
  --line-strong: #3C404A;
  --text: #E6EAF2;
  --muted: #A6AAB3;
  --accent: #F5C518;
  --accent-hover: #FFD84D;
  --on-accent: #1A1400;
  --band-bg: #17398F;
  --band-fg: #FFD84D;
  --glow: 23, 57, 143;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.55 Inter, system-ui, sans-serif;
  background-color: var(--bg);
}

.page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(circle at 82% 4%, rgba(var(--glow), 0.30), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(var(--glow), 0.12), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px);
}

/* Emblema estompata din fundal */
.ghost {
  position: absolute;
  z-index: -1;
  right: -380px;
  top: 60px;
  width: 1200px;
  height: auto;
  opacity: 0.06;
  filter: grayscale(1);
  pointer-events: none;
}
.page:has(.hero) .ghost { right: auto; left: -460px; top: 720px; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Bara de sus */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand:hover { color: var(--text); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.top-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.chip img, .chip .noavatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line-strong);
}
.btn-line {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.btn-line:hover { color: var(--text); border-color: var(--line-strong); }
.btn-line.accent { border-color: var(--accent); color: var(--accent); font-weight: 600; }

/* Banda care se misca */
.band { overflow: hidden; background: var(--band-bg); color: var(--band-fg); border-bottom: 2px solid var(--accent); }
.band-track {
  display: flex;
  width: max-content;
  padding: 9px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: band 45s linear infinite;
}
.band-track span { padding-right: 40px; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* Continut */
.wrap {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.wrap.narrow { max-width: 720px; }

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
h1 { font-size: clamp(56px, 9vw, 120px); line-height: 1.14; }
h1.medium { font-size: clamp(48px, 7vw, 88px); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1; }
h3 { font-size: 24px; letter-spacing: 0.02em; }
.lead { margin: 0; max-width: 620px; font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.stack { display: flex; flex-direction: column; gap: 28px; }
.stack.tight { gap: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > .side { flex: 1 1 420px; min-width: 0; }
.split > .side h1 { font-size: clamp(52px, 6.5vw, 96px); }
.split > .main { flex: 999 1 520px; min-width: 0; }
.section { margin-top: 88px; }

/* Butoane */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 36px;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.ghost-btn { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.ghost-btn:hover { border-color: var(--text); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* Hero pagina publica */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; min-height: 440px; }
.hero > .stack { flex: 1 1 480px; min-width: 0; }
.hero-emblem { flex: 0 0 auto; width: clamp(300px, 44vw, 600px); height: auto; margin: -20px -150px -20px 0; }

/* Panouri si formulare */
.panel { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.panel-head { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.panel-body { display: flex; flex-direction: column; gap: 22px; padding: 28px; }
.fields { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.fields > .field { flex: 1 1 240px; }
.fields > .field.short { flex: 0 1 240px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 17px;
}
.field .hint { font-size: 13px; color: var(--muted); }
.note { margin: 0; padding: 14px 16px; background: var(--bg); border: 1px dashed var(--accent); font-size: 14px; }
.err { margin: 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--accent); font-weight: 600; }

/* Liste numerotate */
.points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.points li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.points .num { flex: 0 0 auto; font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1; color: var(--accent); }
.points h3 { margin-bottom: 4px; }
.points p { margin: 0; color: var(--muted); }

/* Carduri din panou */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 104px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
a.card:hover { border-color: var(--accent); color: var(--text); }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card .soon { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.group { display: flex; flex-direction: column; gap: 14px; }
.group.lead-group .label { color: var(--accent); }

.facts { display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; }

/* Subsol */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .top { padding: 12px 20px; }
  .wrap { padding: 40px 20px 56px; }
  .foot { padding: 24px 20px; }
  .hero-emblem { margin: 0 auto; width: 260px; }
  .panel-body { padding: 20px; }
  .panel-head { padding: 18px 20px; }
  .section { margin-top: 64px; }
}

/* Textarea, bife, etichete de stare */
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; }
.check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }

.status {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-in_asteptare { border-color: var(--accent); color: var(--accent); }
.status-acceptata { border-color: var(--text); color: var(--bg); background: var(--text); }
.status-respinsa { color: var(--muted); }

/* Card de aplicatie / cerere */
.app { display: flex; flex-direction: column; gap: 18px; padding: 24px 28px; background: var(--panel); border: 1px solid var(--line); }
.app-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.reply { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); }
.reply p { margin: 0; overflow-wrap: anywhere; }

/* Lista de articole (cod penal, decizii) */
.articles { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.article { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.article[hidden] { display: none; }
.article-nr { flex: 0 0 64px; font-family: var(--mono); font-size: 20px; color: var(--accent); }
.article h3 { flex: 999 1 260px; min-width: 0; }
.article .facts { flex: 1 1 240px; }

@media (max-width: 640px) {
  .app { padding: 20px; }
}

/* Liste derulante si date */
.field select,
.field input[type="date"] {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  color-scheme: dark;
}

.btn.small { min-height: 48px; padding: 0 22px; font-size: 20px; }

/* Rand intreg pe care se poate apasa (lista de tichete) */
a.row-link { color: var(--text); text-decoration: none; }
a.row-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
a.row-link:hover h3 { color: var(--accent); }

/* Conversatia dintr-un tichet */
.thread { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.msg { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); }
.msg-staff { border-left: 3px solid var(--accent); }
.msg-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.msg p { margin: 0; overflow-wrap: anywhere; }

/* Textul unui document (regulament, proceduri) */
.doc { max-width: 820px; font-size: 17px; line-height: 1.65; }
.doc h2 { margin: 48px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 36px; }
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { margin: 28px 0 8px; font-size: 24px; color: var(--accent); }
.doc p { margin: 0 0 14px; overflow-wrap: anywhere; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--accent); }

/* Fapta + descriere intr-un articol */
.article .art-main { flex: 999 1 260px; min-width: 0; }
.art-main p { margin: 6px 0 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }

/* Valoare evidentiata (amenda, risc) */
.facts dd.price { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--accent); }

/* Filtre (pastile) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); color: var(--muted); text-decoration: none; font-size: 15px; }
.pill:hover { color: var(--text); border-color: var(--text); }
.pill.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.shot a { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.shot a:hover img { transform: scale(1.04); }
.shot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

/* Cifre pe pagina principala */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--panel); }
.stat strong { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--accent); }
.stat span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Conducerea */
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.crew-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--panel); border: 1px solid var(--line); }
.crew-card img, .crew-card .noavatar { width: 52px; height: 52px; border-radius: 50%; background: var(--line-strong); flex: 0 0 auto; }
.crew-card strong { display: block; font-size: 17px; }
.crew-card span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

@media (max-width: 640px) {
  .stat { padding: 16px; }
  .stat strong { font-size: 36px; }
}

/* Persoane cautate */
.wanted { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.wanted[hidden], .wanted-card[hidden] { display: none; }
.wanted-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--line-strong); }
.wanted-card.risc-bar-ridicat { border-top-color: #E5484D; }
.wanted-card.risc-bar-mediu { border-top-color: var(--accent); }
.wanted-reason { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.risc-ridicat { border-color: #E5484D; color: #FF8A8E; }
.risc-mediu { border-color: var(--accent); color: var(--accent); }
.risc-scazut { color: var(--muted); }

/* Poza persoanei cautate */
.mugshot { display: block; margin: -22px -22px 4px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.mugshot img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
.mugshot-preview { display: block; width: 100%; max-width: 280px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line-strong); }
.mugshot-thumb { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; background: var(--bg); border: 1px solid var(--line); }
.mugshot-none {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  background:
    repeating-linear-gradient(to bottom, transparent 0 19px, rgba(255, 255, 255, 0.07) 19px 20px),
    linear-gradient(to bottom, #1a2338, #0d111b);
}
.mugshot-none .sil { width: 70%; height: auto; max-height: 92%; display: block; }
.mugshot-none .sil circle, .mugshot-none .sil path { fill: #2b3550; }
.mugshot-none .sil text { font-family: var(--display, sans-serif); font-weight: 700; font-size: 26px; fill: var(--accent); }
.mugshot-eticheta {
  position: absolute; top: 12px; left: 12px; padding: 4px 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: rgba(8, 9, 11, 0.7); border: 1px solid var(--line);
}
.mugshot-none.mic { display: flex; overflow: hidden; background-size: auto, auto; background-image: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(255, 255, 255, 0.07) 9px 10px), linear-gradient(to bottom, #1a2338, #0d111b); }
.mugshot-none.mic .sil { width: 80%; }

/* Alegerea articolelor intr-un raport */
.pick { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; }
.pick legend { padding: 0 0 8px; }
.pick-row { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 14px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.pick-row[hidden] { display: none; }
.pick-row:hover { border-color: var(--line-strong); }
.pick-row.on { border-color: var(--accent); background: rgba(245, 197, 24, 0.06); }
.pick-row input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.pick-nr { flex: 0 0 44px; font-family: var(--mono); color: var(--accent); }
.pick-name { flex: 1 1 auto; min-width: 0; }
.pick-val { flex: 0 0 auto; font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.sticky-side { position: sticky; top: 16px; align-self: flex-start; }
.article.dim { opacity: .55; }
@media (max-width: 900px) {
  .sticky-side { position: static; }
  .pick-val { white-space: normal; text-align: right; }
}
@media (max-width: 520px) { .stats.trei .stat:last-child { grid-column: 1 / -1; } }
.tbar { display: none; }
@media (max-width: 900px) {
  .tbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 14px; align-items: baseline; justify-content: space-between; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--band-bg); color: #fff; text-decoration: none; font-size: 13px; border-top: 2px solid var(--accent); }
  .tbar strong { font-family: var(--display, inherit); font-size: 20px; color: var(--accent); white-space: nowrap; }
  #raport { padding-bottom: 64px; }
}

/* Dovezi la formulare */
input[type="file"] { padding: 12px; background: var(--bg); border: 1px dashed var(--line-strong); color: var(--muted); width: 100%; cursor: pointer; }
input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 0; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; cursor: pointer; }
.poze-preview, .dovezi-poze { display: flex; flex-wrap: wrap; gap: 10px; }
.poze-preview:empty { display: none; }
.poze-preview img { width: 84px; height: 84px; object-fit: cover; border: 1px solid var(--line); }
.dovezi-poze { margin-top: 8px; }
.dovezi-poze img { display: block; width: 160px; height: 120px; object-fit: cover; border: 1px solid var(--line); }
.dovezi-poze a:hover img { border-color: var(--accent); }
.dovezi-linkuri { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dovezi-linkuri a { overflow-wrap: anywhere; }
.dovezi-linkuri .status { margin-right: 8px; }

.inline-form { display: inline-flex; margin: 0; }
button.btn-line { font: inherit; background: transparent; cursor: pointer; }

.pick-buc { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pick-buc input { width: 76px; min-height: 36px; padding: 4px 8px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font: inherit; }
.pick-row:not(.on) .pick-buc { opacity: .45; }
@media (max-width: 900px) { .pick-row { flex-wrap: wrap; } .pick-buc { margin-left: 58px; } }

/* Categorii in codul penal si in raport */
.categorii { margin-top: 8px; }
.categorii .pill { background: transparent; font: inherit; cursor: pointer; gap: 8px; }
.pill-n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pill.on .pill-n { color: var(--accent); }
.capitol[hidden], .pick[hidden] { display: none; }
.capitol-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); margin-bottom: 6px; }
.capitol-head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
