/* DMS AUTO — aceeasi familie vizuala ca PV-ERP / Monitor RM (dark, accent albastru) */
:root {
  --bg: #232936; --surface: #2C3342; --surface-2: #343C4E; --side: #1F2430;
  --ink: #E8EBF2; --ink-2: #A7AFC0; --line: rgba(255,255,255,.09);
  --accent: #2A6EBB; --accent-2: #6BA8EE; --topbar1: #1C5699; --topbar2: #2A6EBB; --focus: #7DB4F2;
  --good: #3DD68C; --good-bg: rgba(61,214,140,.14);
  --warn: #F0BE5E; --warn-bg: rgba(232,176,75,.15);
  --crit: #F58A84; --crit-bg: rgba(240,113,106,.15);
  --info-bg: rgba(42,110,187,.2);
  --on-color: #1F2430;
  --crit-ink: #FFA9A3; --info-ink: #8DBDF4; --warn-ink: #F5CB77;   /* text pe *-bg */   /* text pe fundal colorat deschis (contoare, badge-uri) */
  --fs-min: .75rem;      /* 12px: minimul pentru text functional */
  --tap: 44px;           /* tinta minima pe ecrane tactile */
  color-scheme: dark;
  --shadow: 0 4px 16px rgba(0,0,0,.28);
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
::selection { background: rgba(107,168,238,.35); color: var(--ink); }
html { scrollbar-color: #4A5366 var(--bg); accent-color: var(--accent-2); caret-color: var(--accent-2); }
a { text-underline-offset: .18em; }
td.num, .num, .tile b, .nav-c, .ototals, .od-tot, .hb-v { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.16em; flex: 0 0 auto; }
.ico svg { width: 100%; height: 100%; display: block; }
/* utilitare pentru randurile de actiuni (inlocuiesc stilurile scrise in cod) */
.actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; margin-top: 1rem; }
.actions.tight { margin-top: .6rem; }
.actions.between { justify-content: space-between; }
.mt-s { margin-top: .5rem; } .mt { margin-top: .8rem; } .mb-s { margin-bottom: .6rem; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; }
[hidden] { display: none !important; }
a { color: var(--accent-2); }
code, .mono { font-family: var(--mono); font-size: max(.92em, var(--fs-min)); }

/* ---- login ---- */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: radial-gradient(circle at 30% 20%, #2B4B75, var(--bg) 60%); }
.login-box { width: 100%; max-width: 380px; background: var(--surface); border-radius: .8rem; box-shadow: var(--shadow); padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.login-box label { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; color: var(--ink-2); }
.login-brand { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.login-demo { font-size: .8rem; color: var(--ink-2); }

/* ---- bara de sus ---- */
.topbar { position: sticky; top: 0; z-index: 40; height: 56px; display: flex; align-items: center; gap: 1rem; padding: 0 1.2rem;
  background: linear-gradient(90deg, var(--topbar1), var(--topbar2)); color: #fff; box-shadow: var(--shadow); }
.topbar-brand { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.brand-mark { background: rgba(255,255,255,.18); border-radius: .4rem; padding: .25rem .5rem; font-weight: 700; font-size: .85rem; color: #fff; }
.login .brand-mark { background: var(--accent); }
.brand-name { font-size: 1.05rem; letter-spacing: .04em; font-weight: 300; }
.brand-name b { font-weight: 700; }
.vin-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; font-size: .82rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vin-pill .chip { background: rgba(255,255,255,.16); border-color: transparent; color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.topbar-marca { height: 30px; width: auto; }
.fisa-btn { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.fisa-btn span { background: #fff; color: var(--topbar1); border-radius: 1rem; padding: 0 .45rem; font-weight: 700; margin-left: .3rem; }

/* ---- layout ---- */
.layout { display: flex; min-height: calc(100vh - 56px); }
.side { width: 226px; flex: 0 0 226px; background: var(--side); display: flex; flex-direction: column; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; }
.profil { display: flex; align-items: center; gap: .7rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.profil-info b { display: block; font-size: .85rem; }
.profil-info small { color: var(--ink-2); font-size: var(--fs-min); }
#nav { display: flex; flex-direction: column; padding: .7rem; gap: .1rem; }
.nav-label { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); padding: .8rem .6rem .35rem; }
#nav a { color: var(--ink-2); text-decoration: none; padding: .52rem .7rem; border-radius: .45rem; display: flex; align-items: center; gap: .6rem; }
#nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
#nav a.active { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 3px 10px rgba(46,125,209,.35); }
#nav a.soon { opacity: .45; cursor: default; }
#nav a.soon small { margin-left: auto; font-size: var(--fs-min); border: 1px solid var(--line); border-radius: .3rem; padding: 0 .3rem; }
.side-foot { margin-top: auto; padding: .9rem 1rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; }
.side-foot a { color: var(--ink-2); display: inline-block; padding: .3rem .1rem; }
#foot-info { margin-top: .4rem; opacity: .75; }
.main { flex: 1; padding: 1.4rem 1.7rem 5rem; min-width: 0; }
h1 { font-size: 1.25rem; margin: 0 0 .25rem; font-weight: 650; color: var(--accent-2); }
h2 { font-size: 1rem; margin: 0 0 .6rem; font-weight: 650; }
h3 { font-size: .9rem; margin: 1rem 0 .45rem; font-weight: 650; }
.sub { color: var(--ink-2); font-size: .84rem; margin: 0 0 1.1rem; }
.muted { color: var(--ink-2); }
.small { font-size: .78rem; }

/* ---- carduri, grile ---- */
.card { background: var(--surface); border-radius: .6rem; box-shadow: var(--shadow); padding: 1rem 1.15rem 1.15rem; margin-bottom: 1rem; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.grid-2 { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: 1rem; align-items: start; }
.grid-2b { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (max-width: 1100px) { .grid-2, .grid-2b { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.tile { background: var(--surface); border-radius: .6rem; box-shadow: var(--shadow); padding: .8rem 1rem; border-left: 3px solid var(--accent); }
.tile b { display: block; font-size: 1.45rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.tile span { font-size: .8rem; color: var(--ink-2); }
.tile.warn { border-left-color: var(--warn); } .tile.warn b { color: var(--warn); }
.tile.crit { border-left-color: var(--crit); } .tile.crit b { color: var(--crit); }
.tile.good { border-left-color: var(--good); } .tile.good b { color: var(--good); }

/* ---- formulare ---- */
input, select, button, textarea { font: inherit; color: inherit; }
input[type=text], input[type=search], input[type=password], input[type=number], input:not([type]), select, textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: .4rem; padding: .48rem .65rem; color: var(--ink); min-width: 0; width: 100%; }
textarea { resize: vertical; min-height: 70px; }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: .7; }
:focus { outline: none; }
:focus-visible, input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
[data-act]:not(button):not(a):focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: .3rem; }
button { background: var(--surface-2); border: 1px solid var(--line); border-radius: .4rem; padding: .45rem .95rem; cursor: pointer; color: var(--ink); white-space: nowrap; }
button:hover { border-color: var(--accent); }
button:disabled { opacity: .45; cursor: not-allowed; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.primary:hover { background: #3074BF; border-color: #3074BF; }
button.mic { padding: .2rem .55rem; font-size: .78rem; }
button.link { background: none; border: none; color: var(--accent-2); padding: 0; }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 180px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .7rem; }
.form label, .fld { display: flex; flex-direction: column; gap: .25rem; font-size: var(--fs-min); color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.form label.full { grid-column: 1 / -1; }
.err { background: var(--crit-bg); color: var(--crit); border-radius: .4rem; padding: .5rem .7rem; font-size: .82rem; }

/* ---- chipuri, badge-uri ---- */
.chip { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: 1rem; padding: .12rem .55rem; font-size: .8rem; color: var(--ink-2); background: var(--surface-2); }
.chip.good { color: var(--good); background: var(--good-bg); border-color: transparent; }
.chip.warn { color: var(--warn-ink); background: var(--warn-bg); border-color: transparent; }
.chip.crit { color: var(--crit-ink); background: var(--crit-bg); border-color: transparent; }
.chip.info { color: var(--info-ink); background: var(--info-bg); border-color: transparent; }
.lvl { font-weight: 700; font-size: var(--fs-min); border-radius: .3rem; padding: .1rem .4rem; }
.lvl-3 { background: var(--crit-bg); color: var(--crit-ink); } .lvl-2 { background: var(--warn-bg); color: var(--warn-ink); } .lvl-1, .lvl- { background: var(--info-bg); color: var(--info-ink); }
.tabs { display: flex; gap: .3rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tabs button { border-radius: 2rem; }
.tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* ---- vehicul ---- */
.vin-bar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.vin-bar input { max-width: 260px; font-family: var(--mono); text-transform: uppercase; }
.veh { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem 1rem; margin-top: .8rem; }
.veh div small { display: block; font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.veh div b { font-weight: 600; }
.pdi { margin-top: .7rem; font-size: .8rem; background: var(--warn-bg); color: var(--warn); padding: .45rem .7rem; border-radius: .4rem; }
.vin-results { display: flex; flex-direction: column; gap: .3rem; margin-top: .5rem; }
.vin-results button { text-align: left; display: flex; gap: .6rem; }

/* ---- diagnoza ---- */
.sug { display: flex; flex-direction: column; gap: .3rem; }
.sug button { text-align: left; display: flex; justify-content: space-between; gap: .6rem; background: var(--surface-2); white-space: normal; }
.sug button.on { border-color: var(--accent); background: var(--info-bg); }
.sug small { color: var(--ink-2); font-size: max(.85em, var(--fs-min)); }
.sug-h { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: .8rem 0 .35rem; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .45rem; }
.picker button { text-align: left; white-space: normal; padding: .55rem .7rem; }
.picker button small { display: block; color: var(--ink-2); font-size: var(--fs-min); }
.dtc-list { display: flex; flex-direction: column; gap: .35rem; max-height: 62vh; overflow: auto; padding-right: .2rem; }
.dtc-row { display: grid; grid-template-columns: 74px 1fr auto; gap: .6rem; align-items: center; text-align: left; white-space: normal; }
.dtc-row .cd { font-family: var(--mono); font-weight: 700; color: var(--accent-2); }
.dtc-row small { display: block; color: var(--ink-2); }
.dtc-row.on { border-color: var(--accent); background: var(--info-bg); }
.box-dtc { border-left: 3px solid var(--accent); padding: .6rem .85rem; background: var(--surface-2); border-radius: .4rem; margin-bottom: .8rem; }
.box-dtc.l3 { border-left-color: var(--crit); } .box-dtc.l2 { border-left-color: var(--warn); }
.advice { background: var(--info-bg); padding: .55rem .8rem; border-radius: .4rem; font-size: .86rem; margin: .5rem 0; }
.advice.client { background: var(--warn-bg); color: var(--warn); }
.steps { margin: .2rem 0 .4rem; padding-left: 1.2rem; }
.steps li { margin: .18rem 0; line-height: 1.4; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .8rem; font-size: .82rem; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; }
.hv { color: var(--crit); font-weight: 600; }
.mimg { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.mimg img { height: 110px; border-radius: .35rem; background: #fff; cursor: zoom-in; }

/* ---- explode ---- */
.explode { position: relative; background: #fff; border-radius: .5rem; overflow: hidden; }
.explode img { width: 100%; display: block; cursor: zoom-in; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.legend button { padding: .15rem .5rem; font-size: .8rem; border-radius: 1rem; }
.legend button b { color: var(--info-ink); margin-right: .25rem; }
.legend button.hl { background: var(--accent); color: #fff; border-color: var(--accent); }
.legend button.hl b { color: #fff; }

/* ---- tabele ---- */
.tbl { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: .83rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; position: sticky; top: 0; background: var(--surface); }
tr.sugg td { background: rgba(46,125,209,.08); }
tr.block td { opacity: .5; }
tr.click { cursor: pointer; } tr.click:hover td { background: rgba(255,255,255,.03); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thumb { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: .3rem; cursor: zoom-in; display: block; }
.thumb.none { display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-min); text-align: center; cursor: default; }
.code { font-family: var(--mono); cursor: copy; }
.pos { display: inline-block; min-width: 1.6rem; text-align: center; background: var(--surface-2); border-radius: 1rem; font-weight: 700; font-size: .75rem; }
.pager { display: flex; gap: .3rem; align-items: center; margin-top: .7rem; flex-wrap: wrap; }

/* ---- modal, toast, zoom ---- */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 1rem; overflow: auto; }
.modal { background: var(--surface); border-radius: .7rem; box-shadow: var(--shadow); width: 100%; max-width: 900px; padding: 1.2rem 1.4rem; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.modal-head h2 { margin: 0; }
.toast { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); padding: .6rem 1rem; border-radius: .5rem; z-index: 80; }
.toast.ok { border-color: var(--good); } .toast.bad { border-color: var(--crit); color: var(--crit); }
.zoom { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: zoom-out; padding: 2rem; }
.zoom img { max-width: 100%; max-height: 88vh; background: #fff; border-radius: .4rem; }
.zoom-cap { color: #fff; margin-top: .6rem; font-size: .85rem; }
.empty { text-align: center; color: var(--ink-2); padding: 1.6rem .5rem; }
.empty .ic { font-size: 1.6rem; margin-bottom: .3rem; }
.totals { display: flex; justify-content: flex-end; gap: 1.6rem; margin-top: .7rem; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.totals div { text-align: right; } .totals small { display: block; font-size: var(--fs-min); text-transform: uppercase; color: var(--ink-2); }
.totals b { font-size: 1.05rem; }
.log { font-size: .78rem; color: var(--ink-2); margin: 0; padding-left: 1rem; }
pre.report { white-space: pre-wrap; font-size: .78rem; background: var(--surface-2); padding: .8rem; border-radius: .4rem; max-height: 60vh; overflow: auto; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.photo-grid figure { margin: 0; background: var(--surface-2); border-radius: .4rem; padding: .4rem; font-size: var(--fs-min); }
.photo-grid img { width: 100%; height: 110px; object-fit: contain; background: #fff; border-radius: .3rem; }

/* ---- print: fisa de diagnoza / deviz ---- */
.print-only { display: none; }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  #app, .toast, .zoom, .modal-bg { display: none !important; }
  .print-only { display: block !important; }
  .print-only table th, .print-only table td { border-bottom: 1px solid #999; color: #000; background: #fff; position: static; }
  .print-only h1 { color: #000; }
}

/* ---- test ghidat, remedieri cunoscute ---- */
.gt-box { margin-top: .7rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.gt-list { padding-left: 1.2rem; margin: .5rem 0; }
.gt-list li.gt { margin: .45rem 0; padding: .45rem .6rem; border-radius: .4rem; background: var(--surface); border-left: 3px solid transparent; }
.gt-list li.cur { border-left-color: var(--accent); }
.gt-list li.ok { border-left-color: var(--good); opacity: .8; }
.gt-list li.nok { border-left-color: var(--crit); }
button.bad { background: var(--crit); border-color: var(--crit); color: #fff; }
.kf { margin-top: .9rem; padding: .7rem .85rem; border-radius: .45rem; background: var(--surface-2); font-size: .85rem; }

/* ---- martori bord, proceduri oficiale, deviz ---- */
.lights { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .4rem; }
.lights button.light { display: flex; align-items: center; gap: .5rem; text-align: left; white-space: normal; padding: .5rem .65rem; }
.lights button.light.on { border-color: var(--accent); background: var(--info-bg); }
.ldot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; box-shadow: 0 0 6px currentColor; }
.gt-d { margin: .3rem 0; padding-left: 1.1rem; font-size: .8rem; color: var(--ink-2); }
.gt-d li { margin: .12rem 0; }
.totals.deviz { border-top: 1px solid var(--line); padding-top: .6rem; }

/* ---- fisa tehnica: date esentiale + sectiuni pliabile ---- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin: .4rem 0 1rem; }
.fact { background: var(--surface); border-radius: .55rem; box-shadow: var(--shadow); padding: .65rem .85rem; border-left: 3px solid var(--accent); cursor: help; }
.fact small { display: block; font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); margin-bottom: .2rem; }
.fact b { font-size: .95rem; font-weight: 650; line-height: 1.3; }
.teh-bar { margin-bottom: 1rem; }
.teh-bar input#teh-q { max-width: 640px; }
.acc-cat { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 1.1rem 0 .4rem .2rem; }
.acc { background: var(--surface); border-radius: .55rem; margin-bottom: .45rem; box-shadow: var(--shadow); overflow: hidden; }
.acc-h { width: 100%; display: flex; align-items: center; gap: .7rem; background: none; border: none; border-radius: 0; padding: .75rem 1rem; text-align: left; font-size: .95rem; }
.acc-h:hover { background: rgba(255,255,255,.04); border: none; }
.acc.open .acc-h { border-bottom: 1px solid var(--line); background: rgba(46,125,209,.08); }
.acc-ic { width: 1.6rem; text-align: center; font-size: 1.05rem; }
.acc-t { flex: 1; font-weight: 600; }
.acc-n { font-size: var(--fs-min); color: var(--ink-2); background: var(--surface-2); border-radius: 1rem; padding: .05rem .55rem; }
.acc-n:empty { display: none; }
.acc-c { color: var(--ink-2); width: 1rem; text-align: center; }
.acc-b { padding: .4rem 1rem .9rem; }
.spec-sub { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); margin: .8rem 0 .2rem; font-weight: 600; }
.spec-row { display: grid; grid-template-columns: minmax(180px, 32%) 1fr 1.6rem; gap: .9rem; padding: .5rem .4rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-row:nth-child(even) { background: rgba(255,255,255,.015); }
.spec-row:last-child { border-bottom: none; }
.spec-l { color: var(--ink-2); font-size: .84rem; }
.spec-v { font-weight: 600; font-size: .88rem; line-height: 1.45; }
.spec-src { font-weight: 400; font-size: var(--fs-min); color: var(--ink-2); margin-top: .15rem; }
.spec-i { color: var(--ink-2); font-size: .8rem; cursor: help; text-align: right; opacity: .6; }
.spec-i:hover { opacity: 1; }
mark { background: rgba(232,176,75,.35); color: inherit; border-radius: .15rem; padding: 0 .1rem; }
@media (max-width: 700px) { .spec-row { grid-template-columns: 1fr 1.2rem; } .spec-l { grid-column: 1 / -1; } }
@media print { .print-only .acc-h { font-weight: 700; margin-top: 10pt; border-bottom: 1px solid #999; } .print-only .spec-row { display: grid; grid-template-columns: 35% 1fr; } .print-only .spec-i { display: none; } .print-only .facts { display: grid; grid-template-columns: repeat(3, 1fr); } }

/* ---- ecrane mici (telefon / tableta in atelier): meniul trece sus, pe orizontala ---- */
@media (max-width: 800px) {
  .layout { flex-direction: column; }
  .side { width: 100%; flex: none; height: auto; position: static; }
  .profil { padding: .5rem 1rem; }
  #nav { flex-direction: row; overflow-x: auto; white-space: nowrap; padding: .4rem .6rem; }
  #nav .nav-label, #nav a.soon, .side-foot #foot-info { display: none; }
  .side-foot { padding: .4rem 1rem; }
  .main { padding: 1rem .9rem 4rem; }
  .topbar { padding: 0 .7rem; gap: .5rem; }
  .vin-pill > span:not(.chip), .vin-pill .vp-m, .topbar-marca { display: none; }
  .vin-pill .vp { padding: .25rem .4rem .25rem .5rem; gap: .45rem; } .vin-pill .vp-vin { font-size: .8rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---- comanda piese (dupa aplicatia HTML initiala) ---- */
.eyebrow { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: .2rem; }
.cart-bar { position: fixed; right: 1.4rem; bottom: 1.2rem; z-index: 50; display: flex; align-items: center; gap: 1.2rem; background: var(--surface-2); border: 1px solid var(--accent); border-radius: .7rem; box-shadow: 0 8px 28px rgba(0,0,0,.45); padding: .7rem 1rem; }
.cart-bar .t { font-weight: 700; font-size: 1.05rem; }
a.btn-primary { background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; padding: .5rem .95rem; border-radius: .4rem; white-space: nowrap; }
a.btn-primary:hover { background: var(--accent-2); }
button.cart-in { background: var(--good-bg); border-color: var(--good); color: var(--good); }
.cust-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 1rem; }
.cust-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .4rem; max-height: 240px; overflow: auto; margin: .5rem 0; }
.cust-opt { text-align: left; white-space: normal; }
.cart-lines { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto 150px 2rem; gap: 1rem; align-items: center; background: var(--surface); border-radius: .55rem; box-shadow: var(--shadow); padding: .7rem 1rem; }
.cart-line.block { opacity: .55; }
.cart-line .rm { background: none; border: none; font-size: 1.3rem; color: var(--ink-2); padding: 0; }
.cart-line .rm:hover { color: var(--crit); }
.cl-sum { text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: .4rem; overflow: hidden; }
.qty button { border: none; border-radius: 0; padding: .3rem .65rem; }
.qty span { min-width: 2.2rem; text-align: center; font-weight: 600; }
.ototals .r { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.ototals .r.grand { font-size: 1.1rem; font-weight: 700; border-bottom: none; color: var(--good); }
.order-done { text-align: center; padding: 1rem 0; }
.order-done .big { font-size: 2.6rem; color: var(--good); }
.order-done .ordernum { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; color: var(--accent-2); margin: .3rem 0; }
.ost { display: inline-block; font-size: var(--fs-min); font-weight: 600; border-radius: 1rem; padding: .12rem .55rem; background: var(--surface-2); color: var(--ink-2); }
.ost.st-proc { background: rgba(214,138,16,.2); color: #F0A93A; } .ost.st-prep { background: rgba(59,111,196,.22); color: #7FA8EA; }
.ost.st-ship { background: rgba(124,77,196,.22); color: #B090EA; } .ost.st-done { background: var(--good-bg); color: var(--good); } .ost.st-fin { background: rgba(154,163,181,.18); color: var(--ink-2); }
.mo-card { padding: 1rem 1.1rem; }
.ord-tbl tr.ord-row.on > td { background: var(--surface-2, rgba(127, 127, 127, .08)); border-bottom: 0; }
.ord-tbl .chev { display: inline-block; width: 1em; color: var(--ink-2); }
.ord-tbl tr.ord-xr > td { padding: 0 .8rem .9rem 2.2rem; background: var(--surface-2, rgba(127, 127, 127, .08)); }
.ord-x { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem .9rem; }
.mo-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: .5rem; }
.mo-items { border-top: 1px solid var(--line); margin-top: .4rem; }
.mo-item { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .85rem; }
.mo-status { margin-top: .7rem; }
.stbtns { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }
.ost-track { display: flex; flex-wrap: wrap; gap: .2rem 1rem; list-style: none; margin: .4rem 0 .55rem; padding: 0; font-size: .76rem; color: var(--ink-2); }
.ost-track li { display: flex; align-items: center; gap: .35rem; opacity: .55; }
.ost-track li::before { content: ''; width: .62rem; height: .62rem; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.ost-track li.done { opacity: .9; } .ost-track li.done::before { background: currentColor; }
.ost-track li.cur { opacity: 1; font-weight: 700; color: var(--ink); } .ost-track li.cur::before { border: 0; width: .75rem; height: .75rem; background: var(--accent); }
.ost-track li.cur.st-proc::before { background: #d68a10; } .ost-track li.cur.st-prep::before { background: #3b6fc4; } .ost-track li.cur.st-ship::before { background: #7c4dc4; } .ost-track li.cur.st-done::before { background: #1f9d60; } .ost-track li.cur.st-fin::before { background: #5b6477; }
.ost-other { width: auto; font-size: .78rem; padding: .25rem .4rem; }
.stbtn { border-radius: 1.2rem; padding: .3rem .75rem; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.stbtn.on { color: #fff; border-color: transparent; }
.stbtn.on.st-proc { background: #d68a10; } .stbtn.on.st-prep { background: #3b6fc4; } .stbtn.on.st-ship { background: #7c4dc4; } .stbtn.on.st-done { background: #1f9d60; } .stbtn.on.st-fin { background: #5b6477; }
.mo-tl { margin: .3rem 0; } .tl-row { display: flex; gap: .6rem; align-items: center; padding: .15rem 0; }
.mo-cmts { margin-top: .6rem; } .cmt { padding: .35rem 0; border-top: 1px dashed var(--line); font-size: .84rem; }
.cmt-by { font-weight: 700; } .cmt.dealer .cmt-by { color: var(--crit); } .cmt.magazie .cmt-by { color: var(--accent-2); } .cmt-at { color: var(--ink-2); font-size: var(--fs-min); }
.mo-reply { margin-top: .7rem; display: flex; flex-direction: column; gap: .4rem; } .mo-reply textarea { min-height: 54px; } .mo-reply select { max-width: 360px; } .mo-reply button { align-self: flex-end; }
.od-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .5rem 1rem; margin-bottom: .6rem; }
.od-meta small { display: block; font-size: var(--fs-min); text-transform: uppercase; color: var(--ink-2); }
.od-tot { text-align: right; margin-top: .5rem; font-size: .88rem; } .od-tot .ok { color: var(--good); }
.bell { position: relative; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: .35rem .6rem; }
.bell-c { position: absolute; top: -6px; right: -6px; background: var(--crit); color: var(--on-color); border-radius: 1rem; font-size: var(--fs-min); font-weight: 700; padding: 0 .35rem; }
.nt-item { padding: .6rem .4rem; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .86rem; } .nt-item.new { background: var(--info-bg); } .nt-item:hover { background: rgba(255,255,255,.04); }
@media (max-width: 800px) { .cart-line { grid-template-columns: 1fr auto; } .cl-sum { text-align: left; } .cart-bar { left: .8rem; right: .8rem; bottom: .8rem; justify-content: space-between; } }

/* ---- deviz spre aprobare, garantii ---- */
.deviz-box { border-left: 3px solid var(--warn); }
.ok { color: var(--good); } .bad-t { color: var(--crit); }
.claim-p { padding: .35rem 0; border-bottom: 1px dashed var(--line); gap: .5rem; flex-wrap: wrap; }

/* ---- meniu lateral pe categorii, cu contoare ---- */
#nav a { position: relative; }
#nav a .nav-svg { flex: 0 0 16px; opacity: .85; }
#nav a.active .nav-svg { opacity: 1; }
#nav a .nav-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-c { font-size: var(--fs-min); font-weight: 700; min-width: 1.35rem; text-align: center; padding: .05rem .4rem; border-radius: 1rem; background: rgba(255,255,255,.08); color: var(--ink-2); }
.nav-c.hot { background: var(--warn); color: #1c1c1c; }
#nav a.active .nav-c { background: rgba(255,255,255,.25); color: #fff; }
#nav a.active .nav-c.hot { background: var(--warn); color: #1c1c1c; }
.nav-label { margin-top: .35rem; }
.nav-bottom { margin-top: .9rem; padding-top: .6rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .1rem; }
@media (max-width: 800px) { .nav-bottom { margin: 0; padding: 0; border: none; flex-direction: row; } .nav-c { margin-left: .3rem; } }

/* stoc piese (app-stock.js) */
.st-ok { color: var(--good); } .st-bad { color: var(--crit); }
.st-tbl td, .st-tbl th { padding: .35rem .5rem; font-size: .8rem; }
.st-note { border-left: 3px solid var(--warn); color: var(--warn); }
.tile-go { display: block; color: inherit; text-decoration: none; cursor: pointer; } .tile-go:hover { filter: brightness(1.12); }
.tile-go em { display: block; margin-top: .25rem; font-style: normal; font-size: .72rem; color: var(--accent); }
.tile.click { cursor: pointer; } .tile.click:hover { filter: brightness(1.15); } .tile.on { outline: 2px solid var(--accent); }
a.chip { text-decoration: none; cursor: pointer; }

/* logo Allview Auto (allview-auto.ro), varianta pentru antetul albastru: marca alba, placuta verde a brandului cu AUTO inchis, fundal transparent; originalul: logo-allview-auto.png */
.topbar-logo { height: 34px; width: auto; }

/* ===== 25.09: administrare, rapoarte, registru, programari, garantii complete, conturi ===== */
.acc-req { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.acc-act { display: grid; gap: .4rem; }
.perm-box { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .4rem; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .3rem .8rem; }
.pr-in { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.btn-lnk { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: .4rem; padding: .35rem .7rem; font-size: .82rem; text-decoration: none; color: var(--ink); background: var(--surface-2); white-space: nowrap; }
.btn-lnk:hover { border-color: var(--accent); }
.copy-tools { display: inline-flex; gap: .3rem; }
.rg-f select, .rg-f input { font-size: .85rem; }
/* rapoarte */
.bi-filters { gap: 1rem; align-items: flex-end; margin-bottom: 1rem; }
.bi-filters .fld { min-width: 170px; }
.bi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.bi-box { margin: 0; } .bi-wide { grid-column: 1 / -1; }
.hbars { display: grid; gap: .35rem; }
.hb-row { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: .5rem; align-items: center; font-size: .8rem; }
.hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.hb-t { background: var(--surface-2); border-radius: .3rem; height: .8rem; overflow: hidden; }
.hb-b { display: block; height: 100%; background: var(--accent); border-radius: .3rem; }
.hb-v { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 3.5rem; text-align: right; }
.vbars { width: 100%; height: auto; display: block; }
/* programari */
.slot-pick { display: grid; gap: .5rem; }
.slot-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.slot { padding: .3rem .6rem; border-radius: .4rem; font-variant-numeric: tabular-nums; font-size: .82rem; }
.slot.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.slot.off { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.ap-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem; }
.ap-day { margin: 0; } .ap-day.today { outline: 2px solid var(--accent); }
.ap-dh { display: flex; gap: .4rem; align-items: center; margin-bottom: .4rem; }
.ap-item { display: grid; grid-template-columns: 54px 1fr; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.ap-item.anulata, .ap-item.neprezentat { opacity: .55; }
.ap-time { font-weight: 700; font-variant-numeric: tabular-nums; } .ap-time small { display: block; font-weight: 400; font-size: var(--fs-min); color: var(--ink-2); }
.ap-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .3rem; }
/* garantii: fisiere */
.cl-files { display: flex; flex-wrap: wrap; gap: .5rem; }
.cl-file { display: flex; gap: .5rem; align-items: center; border: 1px solid var(--line); border-radius: .4rem; padding: .3rem .5rem .3rem .3rem; text-decoration: none; color: var(--ink); font-size: .8rem; max-width: 280px; }
.cl-file img, .cl-file .pdf { width: 44px; height: 44px; object-fit: cover; border-radius: .3rem; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-min); flex: 0 0 auto; }
.cl-file small { display: block; color: var(--ink-2); font-size: var(--fs-min); }
.cl-extra { margin-top: .4rem; }
/* conturi */
.auth-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; font-size: .85rem; }
.login-box .reg-form { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.login-box:has(.reg-form) { max-width: 720px; }
.demo-note { margin-top: .5rem; background: var(--warn-bg); color: var(--warn); border-radius: .4rem; padding: .45rem .6rem; }
@media (max-width: 800px) { .acc-req { grid-template-columns: 1fr; } .hb-row { grid-template-columns: 38% 1fr auto; } }
/* campuri de data / ora / email / fisier pe tema aplicatiei (programari, jurnal, inregistrare) */
input[type=date], input[type=time], input[type=email], input[type=file] { background: var(--surface-2); border: 1px solid var(--line); border-radius: .4rem; padding: .42rem .6rem; color: var(--ink); min-width: 0; max-width: 100%; color-scheme: dark; }
input[type=date], input[type=time], input[type=email] { width: 100%; }
.slot-pick input[type=date] { max-width: 220px; }

/* casute de bifat in formulare: pe acelasi rand cu textul */
.form label.chk, label.chk { flex-direction: row; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--ink); }

/* ===== tinte de atingere pe ecrane tactile (WCAG 2.5.5) ===== */
@media (pointer: coarse) {
  button, .btn-lnk, #nav a, .tabs button, select, input[type=text], input[type=search], input[type=number], input[type=date], input[type=time], input[type=email], input[type=password], input:not([type]) { min-height: var(--tap); }
  button.mic { min-height: 36px; padding: .35rem .7rem; }
  .slot { min-height: var(--tap); min-width: 64px; }
  input[type=checkbox], input[type=radio] { width: 22px; height: 22px; }
  .side-foot a { padding: .6rem .2rem; }
  td .code, .code[data-act] { display: inline-block; padding: .35rem 0; }
}
/* ===== telefon: ferestre si formulare pe o coloana ===== */
@media (max-width: 600px) {
  .modal-bg { padding: 0; }
  .modal { border-radius: 0; min-height: 100%; padding: 1rem; }
  .modal .form, .form { grid-template-columns: 1fr; }
  .modal-head { position: sticky; top: 0; background: var(--surface); z-index: 2; padding-bottom: .5rem; }
  .cl-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .cl-table td { border: 0; padding: 0; }
  .cl-table td:first-child { grid-column: 1 / -1; }
  .cl-table td[style] { width: auto !important; }
  .od-meta { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}

.h3, h2.h3 { font-size: .9rem; margin: 0 0 .45rem; font-weight: 650; }
h1.login-brand { font-size: 1.2rem; font-weight: 400; margin: 0; color: var(--ink); }

/* utilitare (inlocuiesc stilurile scrise in cod) */
.nt { text-transform: none; letter-spacing: 0; } .m0 { margin: 0; } .my-xs { margin: .4rem 0; } .my-m { margin: .6rem 0; }
.mt-0 { margin-top: 0; } .mt-xs { margin-top: .4rem; } .mt-m { margin-top: .6rem; } .mb-xs { margin-bottom: .4rem; }
.between { justify-content: space-between; } .ta-r { text-align: right; } .w-full { width: 100%; }
.w-150 { max-width: 150px; } .w-160 { max-width: 160px; } .w-170 { max-width: 170px; } .w-200 { max-width: 200px; } .w-220 { max-width: 220px; }

/* tinte minime 24px pentru linkurile si codurile din tabele */
.tbl td a, td .code[data-act], td a.chip { display: inline-block; padding-block: .22rem; }

/* titlul paginii primeste focus la navigare (cititoare de ecran), fara chenar vizibil */
h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible, #modal:focus, #zoom:focus { outline: none; }


.st-tbl td a, .vin-hist a, .veh a { display: inline-block; padding-block: .32rem; }

/* meniu: grupe pliabile (deschisa: grupa paginii curente); inchise arata totalul contoarelor */
.nav-grp, .nav-gi { display: flex; flex-direction: column; gap: .1rem; }
.nav-gh { display: flex; align-items: center; gap: .45rem; width: 100%; margin-top: .3rem; padding: .5rem .6rem; background: none; border: none; border-radius: .45rem; color: var(--ink-2); font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .12em; text-align: left; }
.nav-gh:hover { color: var(--ink); background: rgba(255,255,255,.05); border: none; }
.nav-gh .nav-c { margin-left: auto; letter-spacing: 0; text-transform: none; }
.nav-chev { flex: 0 0 12px; transition: transform .15s ease-out; }
.nav-grp.open .nav-chev { transform: rotate(90deg); }
.nav-grp.open .nav-gh { color: var(--ink); }
@media (min-width: 801px) { .nav-grp.closed .nav-gi { display: none; } }
@media (max-width: 800px) { .nav-gh { display: none; } .nav-grp, .nav-gi { flex-direction: row; } }
@media (prefers-reduced-motion: reduce) { .nav-chev { transition: none; } }
/* pagina Administrare: dale pe sectiuni */
h2.hub-h { margin: 1.5rem 0 .6rem; }
h2.hub-h:first-of-type { margin-top: .4rem; }
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.hub-card { display: grid; grid-template-columns: 20px 1fr; gap: .25rem .75rem; align-items: start; padding: .9rem 1rem; background: var(--surface); border: 1px solid transparent; border-radius: .6rem; box-shadow: 0 4px 16px rgba(0,0,0,.28); color: var(--ink); text-decoration: none; }
.hub-card:hover { border-color: var(--accent); }
.hub-card .nav-svg { grid-row: span 2; width: 20px; height: 20px; margin-top: .1rem; color: var(--accent-2); }
.hub-t { font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.hub-d { color: var(--ink-2); font-size: .8rem; line-height: 1.35; }

/* Rapoarte › Prognoza masini */
.fc-stack { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 1rem; }
.fc-cfg, .fc-note { white-space: nowrap; }
@media (max-width: 600px) { .fc-grid { grid-template-columns: 1fr; } }
.fc-stack td:first-child, .fc-cfg { white-space: nowrap; }
.fc-grid th { white-space: normal; }
.fc-rec th, .fc-rec td { padding-left: .45rem; padding-right: .45rem; }

/* ===== Rapoarte in model BI ===== */
.bi-fbar { padding: .7rem .9rem; } .bi-fbar .row { gap: .5rem .7rem; align-items: flex-end; } .bi-fbar .fld select, .bi-fbar .fld input { min-width: 130px; }
.bi-chips .chip { cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.bi-per { margin: -.3rem 0 .8rem; }
.kcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.kc { position: relative; background: var(--surface); border-radius: .6rem; padding: .8rem .95rem .7rem; box-shadow: 0 4px 16px rgba(0,0,0,.28); border: 1px solid transparent; min-height: 104px; }
.kc.click { cursor: pointer; } .kc.click:hover { border-color: var(--accent); }
.kc-l { color: var(--ink-2); font-size: .78rem; }
.kc-v { font-size: 1.45rem; font-weight: 650; margin: .15rem 0 .2rem; font-variant-numeric: tabular-nums; }
.kc-d, .kc-sub { font-size: var(--fs-min); display: inline-flex; align-items: center; gap: .2rem; color: var(--ink-2); }
.kc-d.up { color: var(--good); } .kc-d.dn { color: var(--crit-ink); }
.kc.good .kc-v { color: var(--good); } .kc.warn .kc-v { color: var(--warn-ink); } .kc.crit .kc-v { color: var(--crit-ink); }
.kc-s { position: absolute; right: .8rem; top: .8rem; width: 96px; height: 26px; opacity: .9; }
.bi-bh { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .55rem; }
.bi-g21 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1rem; margin-bottom: 1rem; }
.bi-g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.bi-g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.bi-box.mb { margin-bottom: 1rem; }
.tc .tc-b { cursor: pointer; } .tc .tc-b:hover rect { fill-opacity: .8; }
.xb .hb-row { width: 100%; background: none; border: 1px solid transparent; border-radius: .35rem; padding: .12rem .3rem; color: inherit; text-align: left; cursor: pointer; }
.xb .hb-row:hover { border-color: var(--line); background: rgba(255,255,255,.03); }
.xb .hb-row.on { border-color: var(--accent); background: var(--info-bg); }
.heat { display: grid; gap: 3px; align-items: center; font-size: var(--fs-min); overflow-x: auto; }
.heat .hh { text-align: center; color: var(--ink-2); } .heat .hl { color: var(--ink-2); white-space: nowrap; padding-right: .3rem; }
.heat .hc { min-height: 26px; padding: 0; border: none; border-radius: 3px; font-size: var(--fs-min); color: var(--ink); background: color-mix(in srgb, var(--accent) var(--a), var(--surface-2)); cursor: pointer; }
.heat .hc:hover { outline: 1px solid var(--accent-2); }
.cmap { display: grid; grid-template-columns: repeat(8, minmax(30px, 1fr)); grid-template-rows: repeat(7, auto); gap: 3px; }
.cmap .ct { aspect-ratio: 1.15; padding: 0; border: 1px solid transparent; border-radius: 4px; background: color-mix(in srgb, var(--accent) var(--a), var(--surface-2)); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; cursor: pointer; min-height: 30px; }
.cmap .ct b { font-size: var(--fs-min); } .cmap .ct small { font-size: var(--fs-min); color: var(--ink); opacity: .85; }
.cmap .ct:hover { border-color: var(--accent-2); } .cmap .ct.on { border-color: var(--warn); box-shadow: 0 0 0 1px var(--warn); }
.funnel .fn-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr 70px 80px; gap: .5rem; align-items: center; margin: .35rem 0; font-size: .82rem; }
.fn-t { height: 14px; background: var(--surface-2); border-radius: 3px; } .fn-b { display: block; height: 14px; border-radius: 3px; background: var(--accent); }
.fn-v { text-align: right; font-variant-numeric: tabular-nums; }
.alerts { display: flex; flex-direction: column; gap: .45rem; }
.al { display: flex; gap: .55rem; align-items: flex-start; text-align: left; width: 100%; padding: .55rem .65rem; border-radius: .45rem; border: 1px solid transparent; white-space: normal; line-height: 1.35; font-size: .8rem; cursor: pointer; }
.al b { display: block; font-weight: 650; } .al .al-t { display: block; color: var(--ink-2); margin-top: .1rem; }
.al-crit { background: var(--crit-bg); color: var(--crit-ink); } .al-warn { background: var(--warn-bg); color: var(--warn-ink); } .al-info { background: var(--info-bg); color: var(--info-ink); } .al-good { background: var(--good-bg); color: var(--good); }
.al:hover { border-color: currentColor; }
.trust { margin-top: .5rem; color: var(--ink-2); } .trust b { color: var(--ink); }
.bi-drill { max-height: 62vh; } .w-110 { width: 110px; }
@media (max-width: 900px) { .bi-g21 { grid-template-columns: 1fr; } .bi-g2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kcs { grid-template-columns: 1fr 1fr; } .kc-s { display: none; } .funnel .fn-row { grid-template-columns: 1fr 60px; } .funnel .fn-t, .funnel .fn-d { display: none; } }
.kc-row { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.kc .kc-s { position: static; flex: 0 0 96px; margin-bottom: .35rem; }
.bi-g21, .bi-g2, .bi-g3 { align-items: start; }
.fc-stack.m0 { margin-bottom: 0; }
.kc .kc-v { white-space: nowrap; } .kc .kc-s { flex: 0 1 96px; min-width: 36px; }
.ord-for { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; padding: .7rem 1rem; }
.ord-for .chk { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.tl-more summary { cursor: pointer; color: var(--accent-2); padding: .15rem 0; width: max-content; } .tl-more[open] summary { margin-bottom: .1rem; }
button.danger { color: var(--crit-ink); border-color: color-mix(in srgb, var(--crit) 45%, transparent); } button.danger:hover:not(:disabled) { background: var(--crit-bg); }
/* bara testului ghidat: ramane vizibila la derularea pasilor */
.gt-bar { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: .6rem; padding: .6rem .7rem; background: var(--surface-2); border: 1px solid var(--accent); border-radius: .5rem; box-shadow: 0 -6px 14px rgba(0,0,0,.25); }
.gt-bar .mic:last-child { margin-left: auto; }
label.ph-up { display: inline-flex; align-items: center; background: var(--accent); border: 1px solid var(--accent); color: #fff; font-weight: 600; border-radius: .4rem; padding: .2rem .55rem; font-size: .78rem; cursor: pointer; white-space: nowrap; } label.ph-up:hover { background: #3074BF; } label.ph-up:focus-within { outline: 2px solid var(--accent-2); outline-offset: 2px; } .row.nw { flex-wrap: nowrap; gap: .35rem; }
label.ph-up { position: relative; } label.ph-up input { position: absolute; inset: 0; opacity: 0; width: 1px; height: 1px; }
/* titlul paginii cu „Schimba masina” (Diagnoza, Vehicule): buton alb, cel mai vizibil element de langa titlu */
.h1row { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; margin-bottom: .3rem; } .h1row h1 { margin: 0; }
button.swap-car { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; font-weight: 650; background: #fff; color: #1d4f91; border: 1px solid #fff; border-radius: .45rem; }
button.swap-car:hover { background: #E3EDF9; border-color: #E3EDF9; } button.swap-car:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
button.swap-car .ico svg { width: 18px; height: 18px; }
/* masina selectata in bara de sus: placuta alba, VIN pe primul rand, modelul pe al doilea */
.vin-pill .vp { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; max-width: 100%; background: #fff; color: #12325E; border-radius: .55rem; padding: .28rem .45rem .28rem .7rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.vin-pill .vp > .ico svg { width: 20px; height: 20px; } .vin-pill .vp-t { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.vin-pill .vp-vin { font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.vin-pill .vp-m { font-size: .76rem; font-weight: 600; color: #3C5A85; overflow: hidden; text-overflow: ellipsis; }
.vin-pill .vp .chip { font-weight: 700; border-color: transparent; background: #E8EEF6; color: #12325E; }
.vin-pill .vp .chip.good { background: #DDF3E6; color: #11703F; } .vin-pill .vp .chip.crit { background: #FCE3E1; color: #A32620; } .vin-pill .vp .chip.warn { background: #FFF1D6; color: #7A4F00; }
.vin-pill .vp-vs { display: none; }
/* telefon: doar ultimele 6 cifre din VIN (bara nu are loc pentru tot) */
@media (max-width: 600px) {
  .topbar-brand .brand-name, .vin-pill .vp-vin, .vin-pill .vp > .ico, .vin-pill .vp .chip { display: none; }
  .vin-pill .vp-vs { display: block; font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: .85rem; }
}
/* audit 26.09: contrast ≥ 4,5:1 la etichetele de stare, butonul de stare activ, contorul din meniul activ, textul alertelor */
.ost.st-prep { color: #A3C2F3; } .ost.st-ship { color: #C7B1F4; } .ost.st-fin { color: #C4CAD6; }
.stbtn.on.st-proc { color: #1F2430; }
#nav a.active .nav-c { background: rgba(0,0,0,.28); color: #fff; }
.al .al-t { color: inherit; }
/* ecrane tactile: codurile de copiat si linkurile mici au tinta de 44 px */
@media (pointer: coarse) {
  .code[data-act] { display: inline-flex; align-items: center; min-height: var(--tap); }
  .auth-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
}

/* ===== Diagnoza, varianta A (26.09): pasi numerotati pe o coloana ===== */
.step { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .65rem; font-size: 1.12rem; font-weight: 650; margin: 1.5rem 0 .7rem; scroll-margin-top: 72px; }
.step small { font-size: .85rem; font-weight: 400; color: var(--ink-2); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .92rem; font-weight: 700; flex: none; }
.veh-strip { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem; padding: .7rem 1rem; margin: .8rem 0 0; }
.veh-strip .vs-id { display: flex; flex-direction: column; line-height: 1.25; } .veh-strip .vs-vin { font-size: 1rem; font-weight: 700; } .veh-strip .vs-m { font-size: .85rem; color: var(--ink-2); }
.veh-strip .vs-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .85rem; } .veh-strip .vs-open { margin-left: auto; }
.diag-q .card { margin-bottom: 0; }
/* rezultatul: doua coloane de text pe ecran lat; titlul, sfaturile si testul ghidat pe toata latimea */
.diag-res > .card { columns: 2 340px; column-gap: 2.2rem; }
.diag-res > .card > .card-head, .diag-res > .card > .advice, .diag-res > .card > .box-dtc, .diag-res > .card > .gt-box, .diag-res > .card > .empty { column-span: all; }
.diag-res > .card ul, .diag-res > .card details, .diag-res > .card .mimg, .diag-res > .card .kf { break-inside: avoid; } .diag-res > .card h3 { break-after: avoid; }
.diag-res .steps li, .diag-res .advice { font-size: .92rem; line-height: 1.55; } .diag-res h3 { font-size: .98rem; margin-top: 1.1rem; }
/* piese: desenul ramane pe ecran la derularea tabelului */
.parts-grid { display: grid; grid-template-columns: minmax(260px, 32%) minmax(0, 1fr); gap: 1rem; align-items: start; }
.parts-draw { position: sticky; top: 70px; } .legend-box { margin-bottom: .6rem; }
.legend-box summary { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; padding: .45rem .9rem; border: 1px solid var(--accent); border-radius: .5rem; font-weight: 600; font-size: .9rem; color: var(--accent-2); background: var(--surface); }
.legend-box summary::-webkit-details-marker { display: none; }
.legend-box summary:hover, .legend-box[open] summary { background: var(--accent); color: #fff; } .legend-box[open] summary .chip { color: inherit; }
.pt-compact td { padding-top: .45rem; padding-bottom: .45rem; } .pt-compact td:nth-child(3) { min-width: 200px; } .pt-compact .code { color: var(--ink-2); }
.pt-compact .thumb { width: 38px; height: 38px; } td.nw { white-space: nowrap; }
.sug-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); margin-left: .35rem; vertical-align: middle; }
@media (max-width: 900px) { .parts-grid { grid-template-columns: 1fr; } .parts-draw { position: static; max-width: 520px; } }
.st-card { max-width: 760px; } .st-card + #ap-sched .st-card, #ap-sched .st-card { margin-top: 1rem; }
/* De urmarit */
.tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--surface-2); color: var(--ink); text-decoration: none; }
.tabs a.on { background: var(--accent); border-color: var(--accent); color: #fff; } .tabs a.on .nav-c { background: rgba(0,0,0,.28); color: #fff; }
tr.wt-done td { opacity: .6; }
/* De urmarit, varianta B (acordeon compact) */
.wt-top { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin: 0 0 .7rem; font-size: .8rem; color: var(--ink-2); } .wt-top .grow { flex: 1; } .wt-top .btn-lnk { padding: .2rem .55rem; font-size: .76rem; }
.wt-list { background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; margin-bottom: .4rem; }
.wt-list > summary { list-style: none; display: flex; align-items: center; gap: .7rem; padding: .5rem .8rem; cursor: pointer; min-height: 44px; } .wt-list > summary::-webkit-details-marker { display: none; }
.wt-list > summary b { font-size: .92rem; min-width: 240px; white-space: nowrap; } .wt-desc { flex: 1; color: var(--ink-2); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt-k { display: inline-flex; gap: .3rem; } .wt-x { padding: .12rem .45rem; font-size: .72rem; } .wt-chev { color: var(--ink-2); font-size: .7rem; transition: transform .15s; } .wt-list[open] > .wt-chev, .wt-list[open] > summary .wt-chev { transform: rotate(90deg); }
.wt-list[open] > summary { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); } .wt-list > .tbl { padding: .3rem .8rem .5rem; overflow-x: auto; } .wt-empty { padding: .6rem; }
.wt-list table { font-size: .8rem; } .wt-list td, .wt-list th { padding: .28rem .45rem; white-space: nowrap; } .wt-list tbody tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.wt-list td:first-child a { font-family: var(--mono); font-weight: 600; } .wt-mdl { color: var(--ink-2); font-size: .72rem; margin-left: .45rem; }
.wt-list .chip { padding: .02rem .4rem; font-size: .72rem; } .wt-st { color: var(--ink-2); font-size: .72rem; }
.wt-rec { margin-top: .8rem; }
@media (max-width: 800px) { .wt-list > summary { flex-wrap: wrap; } .wt-list > summary b { min-width: 0; } .wt-desc { flex-basis: 100%; white-space: normal; } }
.wt-list td.c-owner, .wt-list td.c-rm_cargo { white-space: normal; max-width: 230px; }

/* audit 27.09: etichetele de stare folosesc aceeasi forma ca .chip */
.ost, .lvl-1, .lvl-2, .lvl-3, .lvl- { display: inline-flex; align-items: center; gap: .3rem; border-radius: 1rem; padding: .12rem .55rem; font-size: .8rem; line-height: 1.3; }
.vs-pdi { font-size: .8rem; color: var(--warn-ink); } .vs-pdi b { font-weight: 650; }
.mo-rep > summary { cursor: pointer; color: var(--accent-2); font-size: .82rem; padding: .2rem 0; width: max-content; } .mo-rep[open] > summary { margin-bottom: .3rem; }

/* testul ghidat: bara fixa nu acopera ultimul pas; butoane OK / NOK de 44 px pe tactil */
.gt-list { padding-bottom: 3.4rem; } .gt-bar { margin-top: -3rem; }
@media (pointer: coarse) { .gt-list .mic { min-height: 44px; min-width: 64px; font-size: .9rem; } }
/* Diagnoza pe telefon: piesele ca randuri stivuite, cu „+ fisa” pe toata latimea */
@media (max-width: 600px) {
  .pt-compact thead { display: none; }
  .pt-compact tbody tr { display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
  .pt-compact td { display: block; padding: 0; border: 0; white-space: normal; }
  .pt-compact td:nth-child(1) { grid-row: 1 / 3; align-self: start; } .pt-compact td:nth-child(2) { display: none; }
  .pt-compact td:nth-child(3) { grid-column: 2; } .pt-compact td.num, .pt-compact td:nth-last-child(2) { grid-column: 2; display: inline; margin-right: .6rem; }
  .pt-compact td.c-avail { grid-column: 2; }
  .pt-compact td:last-child { grid-column: 1 / 3; display: flex; gap: .5rem; margin-top: .3rem; }
  .pt-compact td:last-child .mic { flex: 1; min-height: 44px; font-size: .9rem; }
}
@media (max-width: 600px) {
  .pt-compact td.num { display: inline; background: none; padding-right: .6rem; text-align: left; }
  .pt-compact td.num:nth-last-child(4)::before { content: 'buc. '; color: var(--ink-2); font-size: .78rem; }
  .pt-compact td.num:nth-last-child(3)::before { content: 'pret '; color: var(--ink-2); font-size: .78rem; }
  .pt-compact td.num .muted.small { display: inline; margin-left: .3rem; }
}
/* inspectia digitala in fisa */
.insp-box-d > summary { cursor: pointer; list-style: none; } .insp-box-d > summary::-webkit-details-marker { display: none; } .insp-h { display: inline; } .insp-box-d > summary::after { content: ' ▾'; color: var(--ink-2); }
.insp-sum { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .4rem 0 .6rem; }
.insp-g { margin-bottom: .6rem; } .insp-gh { font-size: var(--fs-min); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 600; margin: .5rem 0 .2rem; }
.insp-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) auto minmax(160px, 1fr) minmax(120px, 1.2fr); gap: .35rem .6rem; align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.insp-l { font-size: .85rem; } .insp-st { display: flex; gap: .25rem; } .insp-st .mic.on.good { background: var(--good-bg); color: var(--good); border-color: var(--good); } .insp-st .mic.on.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn); } .insp-st .mic.on.crit { background: var(--crit-bg); color: var(--crit-ink); border-color: var(--crit); }
.insp-note { font-size: .82rem; padding: .3rem .5rem; }
.insp-ph { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; } .insp-m { position: relative; }
.insp-img { width: 44px; height: 44px; object-fit: cover; border-radius: .3rem; cursor: zoom-in; background: #fff; display: block; } .insp-img.big { width: 64px; height: 64px; }
.insp-vid { display: inline-flex; align-items: center; gap: .2rem; height: 44px; padding: 0 .5rem; border-radius: .3rem; background: var(--surface-2); color: var(--ink); font-size: .75rem; text-decoration: none; }
.insp-x { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; padding: 0; border-radius: 50%; font-size: .7rem; line-height: 1; background: var(--crit); color: #fff; border: none; }
.insp-add { display: inline-flex; align-items: center; gap: .25rem; height: 32px; padding: 0 .55rem; border: 1px dashed var(--line); border-radius: .35rem; font-size: .75rem; color: var(--ink-2); cursor: pointer; position: relative; }
.insp-add input { position: absolute; inset: 0; opacity: 0; width: 1px; height: 1px; } .insp-add:hover { border-color: var(--accent); color: var(--ink); }
.insp-act { margin-top: .7rem; gap: .5rem; }
.insp-ro .insp-r { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .insp-row { grid-template-columns: 1fr; } .insp-st .mic { flex: 1; min-height: 40px; } .insp-add { height: 44px; } }
@media print { .insp-pt td, .insp-pt th { vertical-align: top; } .insp-pg { background: #eee !important; text-align: left; } .insp-ps.good { color: #137a49; } .insp-ps.warn { color: #8a5a00; } .insp-ps.crit { color: #a32620; font-weight: 700; } .insp-pp img { width: 120px; height: 90px; object-fit: cover; margin: 4px 4px 0 0; border: 1px solid #ccc; } }
.bi-sub { margin: 1.4rem 0 .6rem; }

/* acces pe zone (27.09): nivel pe zona, un rand pe zona */
.perm-lv { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .35rem 1.2rem; }
.perm-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .88rem; }
.perm-row select { width: auto; min-width: 9.5rem; }

/* Sistem (27.09): casete de sanatate, perechi eticheta-valoare, contoare, previzualizare logo */
.sys-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.sys-tile { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .25rem; }
.sys-tile.good { border-left-color: var(--good); } .sys-tile.warn { border-left-color: var(--warn); } .sys-tile.crit { border-left-color: var(--crit); }
.sys-t { font-weight: 600; display: flex; align-items: center; gap: .45rem; }
.sys-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-2); flex: none; }
.sys-tile.good .sys-dot { background: var(--good); } .sys-tile.warn .sys-dot { background: var(--warn); } .sys-tile.crit .sys-dot { background: var(--crit); }
.sys-v { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sys-m { color: var(--ink-2); font-size: .85rem; line-height: 1.4; flex: 1; }
.sys-kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; font-size: .88rem; }
.sys-kv > span { color: var(--ink-2); } .sys-kv b { font-weight: 500; word-break: break-word; }
.crit-t { color: var(--crit-ink); }
.sys-counts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; color: var(--ink-2); } .sys-counts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.br-prev { background: var(--topbar1); border-radius: 8px; padding: 1rem; display: flex; justify-content: center; margin-bottom: .6rem; } .br-prev img { max-height: 56px; max-width: 100%; }
.warn-box { border-left: 4px solid var(--warn); }

/* Nomenclatoare › Masini (27.09): miniatura culorii, capul ferestrei cu poza */
.car-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; display: block; background: var(--surface-2); }
.car-nopic { display: inline-block; width: 64px; text-align: center; color: var(--ink-2); }
.car-head { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 1rem; align-items: start; margin-bottom: .8rem; }
.car-pic img { width: 100%; max-height: 180px; object-fit: contain; border-radius: 8px; background: var(--surface-2); }
@media (max-width: 640px) { .car-head { grid-template-columns: 1fr; } }
.nowrap { white-space: nowrap; }

/* modele fara catalog (28.09): mesajul din Diagnoza / fisa si formularul pentru piese scrise manual */
.nocat { border-left: 4px solid var(--warn); font-size: .9rem; }
.man-add { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .6rem 0; }
.man-add input { width: auto; flex: 1 1 8rem; } .man-add #mp-name { flex: 2 1 14rem; } .man-add #mp-qty { flex: 0 0 5rem; }

/* Stoc de vanzare (28.09): previzualizarea mailului pe fond alb, ca in Outlook */
.sv-mail { background: #fff; color: #1f2430; border-radius: 8px; padding: 1rem 1.2rem; overflow-x: auto; }
.sv-mail table { width: auto; }

/* dovezile obligatorii din cererea de garantie (30.09) */
.claim-ev { list-style: none; padding: 0; margin: .3rem 0; } .claim-ev li { padding: .15rem 0; } .claim-ev li.good { color: var(--good, #1a7f37); } .claim-ev li.crit { color: var(--crit, #c62828); font-weight: 600; }
.tst-x { border: 0; background: none; padding: 0 .15rem; margin-left: .2rem; cursor: pointer; color: inherit; font-size: 1rem; line-height: 1; } #tst-box .chip { max-width: 100%; overflow-wrap: anywhere; }
