/* Atlas Solar, platforma de dosare. Culorile si formele urmeaza pagina Casa Verde Baterii. */
:root {
  --navy: #1a2d5e;
  --blue: #25418f;
  --orange: #f0ab1e;
  --orange-dark: #d89515;
  --green: #2f7d12;
  --green-soft: #eaf5e4;
  --red: #c62828;
  --red-soft: #fdecea;
  --amber: #8a5a00;
  --amber-soft: #fff8e1;
  --ink: #1f2733;
  --text: #333;
  --muted: #6b7280;
  --line: #e0e3ea;
  --bg: #f5f5f5;
  --card: #fff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h2, .h2 { font-size: 1.3rem; font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.pad { padding-top: 40px; padding-bottom: 40px; }
.muted { color: var(--muted); font-size: .93rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* antet si subsol */
.top { background: var(--navy); color: #fff; }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--orange); }
.top-tag { font-size: .85rem; color: rgba(255, 255, 255, .8); flex: 1; }
.top-phone, .top-user { color: #fff; font-weight: 700; text-decoration: none; font-size: .95rem; }
.top-user { font-weight: 500; opacity: .85; }
.foot { margin-top: 48px; padding: 24px 0 32px; background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.foot a { color: #fff; }
.foot p { margin: 0 0 6px; }

/* sectiuni publice */
.hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 44px 0 40px; margin-bottom: 32px; }
.hero-small { padding: 28px 0 24px; }
.hero h1 { color: #fff; max-width: 22ch; }
.hero .lead { font-size: 1.1rem; max-width: 62ch; color: rgba(255, 255, 255, .92); margin: 0; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); margin: 0 0 10px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.steps { padding-left: 1.2em; margin: 0 0 1.2em; }
.steps li { margin-bottom: .7em; padding-left: .3em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.note { background: var(--amber-soft); color: #5c4a12; border-left: 4px solid var(--orange); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; font-size: .95rem; }
.note.ok { background: var(--green-soft); border-left-color: var(--green); color: #1e4d0f; }
.note.bad { background: var(--red-soft); border-left-color: var(--red); color: #7a1c1c; }
.link-box { display: block; margin-top: 8px; padding: 8px 10px; background: #fff; border: 1px dashed var(--green); border-radius: 8px; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; word-break: break-all; }

/* formulare si butoane */
.form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; color: var(--ink); }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #fafafa; border: 2px solid var(--line); border-radius: 8px;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form .check, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: #444; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.err { color: var(--red); font-size: .85rem; margin: 4px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 10px 26px; border: 2px solid var(--orange); border-radius: 40px; cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--orange-dark); }
.form .btn { width: 100%; margin-top: 20px; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #eef2fb; }
.btn-small { min-height: 36px; padding: 6px 16px; font-size: .88rem; }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:hover { background: #256510; }
.btn-red { background: #fff; color: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red-soft); }
a:focus-visible, button:focus-visible, .file-btn:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }

/* rubricile de incarcare */
.slots { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.slot { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 18px; }
.slot.has { border-left-color: var(--green); }
.slot.failed { border-left-color: var(--red); }
.slot h3 { margin: 0 0 4px; }
.slot-head .muted { margin: 0 0 8px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #eef0f4; border-radius: 20px; padding: 2px 8px; vertical-align: middle; }
.slot-status { font-weight: 600; color: var(--ink); margin: 0 0 10px; font-size: .95rem; }
.slot.has .slot-status { color: var(--green); }
.slot-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.file-btn { position: relative; overflow: hidden; min-height: 42px; padding: 8px 20px; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.js .nojs-only, .js .nojs-only-inline { display: none; }
.js-only, .js-only-inline { display: none; }
.js .js-only { display: block; }
.js .js-only-inline { display: inline; }
[hidden] { display: none !important; }
.block { margin-bottom: 22px; }
.block-title { margin: 6px 0 14px; }
.center { text-align: center; margin: 12px 0 0; }
.err:empty { display: none; }
.slot.pending { border-left-color: var(--orange); }
.slot.pending .slot-status { color: var(--amber); }
.slot.confirmed { border-left-color: var(--green); background: #f6fbf3; }
.slot.confirmed .slot-status::before { content: "\2713\00a0"; }
.slot.redo { border-left-color: var(--red); background: #fffafa; }
.slot.redo .slot-status { color: var(--red); }
.redo-reasons { margin: 0 0 12px; padding-left: 1.2em; color: #7a1c1c; font-size: .95rem; }
.redo-reasons li { margin-bottom: 4px; }
.bar { width: 100%; height: 8px; margin-top: 10px; }
.slot-msg { margin: 8px 0 0; font-size: .9rem; }
.slot-msg.bad { color: var(--red); font-weight: 600; }
.slot-msg.ok { color: var(--green); font-weight: 600; }

/* pagina clientului: o coloana pe telefon, doua coloane pe ecran mare */
.mode-new #form-dosar { display: flex; flex-direction: column; }
.mode-new .col-side { display: contents; }   /* pe telefon: date, apoi documente, apoi acord */
.mode-new .side-contact { order: 1; }
.mode-new .col-main { order: 2; }
.mode-new .side-send { order: 3; }
.send-bar .btn { width: 100%; }

@media (max-width: 899px) {
  /* butonul de trimitere ramane mereu vizibil, in josul ecranului */
  .mode-new .send-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, .1);
  }
  .mode-new .send-bar .btn { margin-top: 0; min-height: 52px; padding: 8px 16px; line-height: 1.25; text-align: center; }
  body.has-sendbar { padding-bottom: 84px; }
}

@media (min-width: 900px) {
  .mode-new #form-dosar {
    display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 28px; align-items: start;
  }
  /* coloana din stanga sta fixa cat timp documentele se deruleaza; e compacta ca sa incapa intreaga, fara bara proprie */
  .mode-new .col-side { display: block; position: sticky; top: 16px; }
  .mode-new .col-side .card { padding: 18px 20px; margin-bottom: 12px; }
  .mode-new .col-side h2 { font-size: 1.1rem; margin-bottom: 4px; }
  .mode-new .col-side .form label:not(.check) { margin: 10px 0 4px; font-size: .88rem; }
  .mode-new .col-side input[type="text"], .mode-new .col-side input[type="tel"], .mode-new .col-side input[type="email"] { min-height: 40px; padding: 8px 12px; }
  .mode-new .col-side .check { font-size: .85rem; margin-top: 8px; }
  .mode-new .col-side .send-bar .btn { margin-top: 12px; }
  .mode-new .col-main .block-title { margin-top: 0; }

  /* rubricile: titlul si descrierea in stanga, butonul in dreapta, pe acelasi rand */
  .mode-new .slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 14px 18px; }
  .mode-new .slot > * { grid-column: 1; }
  .mode-new .slot > .slot-form { grid-column: 2; grid-row: 1 / span 2; }
  .mode-new .slot .slot-head .muted { margin-bottom: 4px; font-size: .88rem; }
  .mode-new .slot .slot-status { margin: 0; font-size: .88rem; }
  .mode-new .slot .bar, .mode-new .slot .slot-msg { grid-column: 1 / -1; }
  .mode-new .slot .slot-msg:empty { display: none; }
  .mode-new .slots { gap: 10px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  /* ecrane foarte scunde: coloana se deruleaza odata cu pagina, butonul ramane accesibil la final */
  .mode-new .col-side { position: static; }
}

/* antet compact */
.hero { padding: 26px 0 22px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(1.45rem, 3vw, 2rem); max-width: 30ch; margin-bottom: .35em; }
.hero .lead { font-size: 1rem; }
.hero-small { padding: 20px 0 16px; }
.hero-chip { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 20px; background: rgba(240, 171, 30, .2); color: #ffd27a; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.eyebrow { margin-bottom: 6px; }
.note.compact { padding: 10px 14px; font-size: .9rem; }
.chosen { margin: 0 0 6px; font-size: .92rem; color: var(--ink); }
.small { font-size: .82rem; margin: 10px 0 0; }
.slot:not(.has):not(.pending):not(.failed) .slot-status { color: var(--muted); font-weight: 500; }
.mobile-only { display: none; }
@media (max-width: 899px) { .mobile-only { display: block; } }

/* panoul intern */
.admin main { padding: 24px 0; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar h1 { font-size: 1.5rem; margin: 0; flex: 1; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters input[type="search"] { max-width: 280px; min-height: 40px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbfc; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-new td { background: #fffbea; }
.table a { font-weight: 700; text-decoration: none; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.b-new { background: var(--orange); color: #fff; }
.b-pass { background: var(--green-soft); color: var(--green); }
.b-info { background: #e8eefc; color: var(--blue); }
.b-warn { background: var(--amber-soft); color: var(--amber); }
.b-fail { background: var(--red-soft); color: var(--red); }
.b-muted { background: #eef0f4; color: var(--muted); }
.cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.panel h2 { font-size: 1.05rem; margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rules li { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px; font-size: .92rem; align-items: start; }
.rules small { display: block; color: var(--muted); }
.docrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.docrow:last-child { border-bottom: 0; }
.docrow .grow { flex: 1; min-width: 180px; }
.docrow .grow a { font-weight: 700; text-decoration: none; }
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.pdf-frame { width: 100%; height: 82vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; position: sticky; top: 12px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.reasons { display: grid; gap: 6px; margin: 10px 0; }
.msg-text { width: 100%; min-height: 200px; font-size: .92rem; background: #fff; }
.msg-info { margin: 10px 0 0; }
.lib-text { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .92rem; margin: 0; color: var(--ink); }
.panel h2 .badge { vertical-align: middle; margin-left: 6px; }
.audit { list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--muted); display: grid; gap: 4px; }
.audit b { color: var(--ink); }
.inline { display: inline; }

@media (max-width: 900px) {
  .grid-2, .cols, .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pdf-frame { height: 70vh; position: static; }
  .top-tag { order: 3; flex-basis: 100%; padding-bottom: 8px; }
}

/* ===================================================================
   Pagina clientului, varianta 3 (lista de sarcini, inspirata din GOV.UK task list
   si din fluxurile de verificare KYC). Totul e sub .public, deci panoul intern nu se schimba.
   =================================================================== */
.public { background: #f4f5f7; color: #1f2733; }
.public .top { background: #fff; color: var(--navy); border-bottom: 1px solid #e3e6ec; }
.public .top-in { min-height: 56px; }
.public .brand { color: var(--navy); font-size: 1.15rem; }
.public .top-tag { color: #5b6472; font-size: .85rem; }
.public .foot { background: transparent; color: #5b6472; border-top: 1px solid #e3e6ec; margin-top: 40px; }
.public .foot a { color: #3d4654; }

.public .intro { background: #fff; border-bottom: 1px solid #e3e6ec; padding: 22px 0 20px; }
.public .intro h1 { color: #111827; font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.015em; margin: 0 0 6px; text-wrap: balance; }
.public .intro-text { margin: 0 0 8px; color: #3d4654; max-width: 70ch; }
.public .intro-meta { margin: 0; font-size: .88rem; color: #5b6472; }
.public .intro-meta strong { color: #111827; }

.public #pagina { padding-top: 22px; }
.public .alert { background: #fff; border: 1px solid #e3e6ec; border-left: 4px solid var(--blue); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; font-size: .95rem; }
.public .alert.ok { border-left-color: var(--green); background: #f3faf0; }
.public .alert.bad { border-left-color: var(--red); background: #fdf3f2; }

.public .layout { display: block; }
.public .panel-side { background: #fff; border: 1px solid #e3e6ec; border-radius: 10px; padding: 18px 20px; }
.public .side-h { font-size: 1rem; font-weight: 700; color: #111827; margin: 14px 0 8px; }
.public .field label { display: block; font-size: .85rem; font-weight: 600; color: #3d4654; margin: 8px 0 4px; }
.public .field input { min-height: 42px; padding: 8px 12px; border: 1px solid #c9ced8; border-radius: 6px; background: #fff; font-size: .95rem; }
.public .field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 65, 143, .15); }
.public .field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.public .check { font-size: .86rem; margin-top: 10px; color: #3d4654; }
.public .err { font-size: .82rem; }
.public .progress { height: 6px; background: #eceef2; border-radius: 3px; overflow: hidden; }
.public .progress span { display: block; width: 0; height: 100%; background: var(--green); transition: width .25s ease; }
.public .chosen { margin: 8px 0 0; font-size: .9rem; color: #3d4654; }
.public .chosen strong { color: #111827; }
.public .side-note { font-size: .8rem; color: #5b6472; margin: 10px 0 0; }
.public .btn { border-radius: 8px; background: var(--navy); border-color: var(--navy); min-height: 48px; font-size: 1rem; }
.public .btn:hover { background: #12204a; }
.public .send-bar .btn { width: 100%; margin-top: 14px; }

.public .rules-inline { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: #3d4654; }
.public .rules-inline li { position: relative; padding-left: 20px; }
.public .rules-inline li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* lista documentelor: un singur bloc alb, randuri despartite de linii */
.public .tasklist { background: #fff; border: 1px solid #e3e6ec; border-radius: 10px; gap: 0; margin: 0; }
.public .tasklist .slot {
  border: 0; border-top: 1px solid #eceef2; border-radius: 0; background: transparent; padding: 14px 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: start;
  transition: background .15s ease;
}
.public .tasklist .slot:first-child { border-top: 0; }
.public .tasklist .slot > .bar, .public .tasklist .slot > .slot-msg { grid-column: 1 / -1; }
.public .tasklist .slot h3 { font-size: 1rem; font-weight: 700; color: #111827; margin: 0 0 2px; }
.public .tasklist .opt { font-size: .78rem; font-weight: 500; color: #6b7280; margin-left: 4px; }
.public .tasklist .hint { margin: 0; font-size: .86rem; color: #5b6472; }
.public .tasklist .slot-status { margin: 6px 0 0; font-size: .86rem; font-weight: 600; color: #111827; }
.public .tasklist .slot-status:empty { display: none; }
.public .slot-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 150px; }
.public .slot-form { justify-content: flex-end; }
.public .file-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 6px 14px; border: 1px solid var(--blue); border-radius: 6px; background: #fff;
  color: var(--blue); font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap;
}
.public .file-btn:hover { background: #eef2fb; }
.public .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }

/* etichetele de stare, dreptunghiulare, ca in GOV.UK */
.public .status-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; background: #eceef2; color: #3d4654; white-space: nowrap; }
.public .slot[data-required="1"]:not(.has):not(.pending):not(.failed) .status-tag { background: #fff4e0; color: #8a5a00; }
.public .slot.pending .status-tag { background: #e8eefc; color: var(--blue); }
.public .slot.has .status-tag { background: #e8eefc; color: var(--blue); }
.public .slot.confirmed .status-tag { background: #e6f4df; color: #22660d; }
.public .slot.redo .status-tag, .public .slot.failed .status-tag { background: #fde8e6; color: #a51d1d; }
.public .tasklist .slot.redo { background: #fffafa; }
.public .tasklist .slot.confirmed { background: #f8fcf6; }
.public .tasklist .slot.dragover { background: #eef2fb; outline: 2px dashed var(--blue); outline-offset: -6px; }
.public .redo-reasons { margin: 6px 0 0; }
.public .drop-hint { font-size: .8rem; color: #6b7280; margin: 8px 2px 0; }
.public .after-note { font-size: .88rem; color: #5b6472; margin: 16px 2px 0; }
.public .link-box { border-color: #b9d8ad; }

@media (min-width: 900px) {
  .public .mode-new .layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
  .public .mode-new .col-side { position: sticky; top: 16px; }
  .public .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (min-width: 900px) and (max-height: 640px) {
  .public .mode-new .col-side { position: static; }
}
@media (max-width: 899px) {
  .public .mode-new .layout { display: flex; flex-direction: column; }
  .public .mode-new .col-side { display: contents; }
  .public .mode-new .panel-side { order: 1; margin-bottom: 16px; }
  .public .mode-new .col-main { order: 2; }
  .public .tasklist .slot { grid-template-columns: 1fr; row-gap: 10px; }
  .public .slot-side { flex-direction: row; justify-content: space-between; align-items: center; min-width: 0; }
  .public .mode-new .send-bar { background: #fff; }
  .public .mode-new .send-bar .btn { margin-top: 0; }
}
/* neutralizeaza regulile versiunii anterioare pentru aceeasi pagina */
.public .mode-new #form-dosar { display: block; }
.public .tasklist .slot > .slot-head { grid-column: 1; grid-row: 1; }
.public .tasklist .slot > .slot-side { grid-column: 2; grid-row: 1; }
@media (max-width: 899px) {
  .public .tasklist .slot > .slot-side { grid-column: 1; grid-row: 2; }
}

/* intrarea in panou */
.login-wrap { padding-top: 48px; padding-bottom: 48px; }
.login-card { max-width: 420px; margin: 0 auto; }
.login-h { font-size: 1.35rem; color: #111827; margin: 0 0 10px; }
.login-p { color: #3d4654; font-size: .95rem; }
.login-btn { width: 100%; margin-top: 16px; }
.code-input { font-size: 1.4rem !important; letter-spacing: .3em; text-align: center; }
.login-again { margin-top: 14px; font-size: .88rem; color: #5b6472; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.top-logout { color: #fff; margin-left: 12px; font-size: .9rem; }

/* sigla */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 40px; width: auto; }
@media (max-width: 899px) { .brand-logo { height: 32px; } }

/* panou: cautarea si numele firmei din antet */
.filters input[type="search"] { flex: 1 1 260px; max-width: 360px; min-width: 200px; }
.filters input[type="search"]::placeholder { color: #6b7280; opacity: 1; }
.brand > span { margin-left: .25em; }

/* ===== atribuirea responsabilului ===== */
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .02em; background: #6b7280; }
.avatar-sm { width: 24px; height: 24px; font-size: .64rem; }
.avatar-lg { width: 44px; height: 44px; font-size: .95rem; }
.avatar-empty { background: #eceef2; color: #8a93a3; border: 1px dashed #c9ced8; }
.av-0 { background: #25418f; } .av-1 { background: #2f7d12; } .av-2 { background: #8a5a00; } .av-3 { background: #7a1c5e; }
.av-4 { background: #0f6e74; } .av-5 { background: #5b3fa0; } .av-6 { background: #a14b16; } .av-7 { background: #3d5a80; }

.assign { border-top: 4px solid var(--orange); }
.assign-head { display: flex; align-items: center; justify-content: space-between; }
.assign-head h2 { margin: 0; }
.person { display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; }
.person strong { display: block; color: var(--ink); font-size: 1rem; }
.person small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.person .you { font-size: .7rem; font-weight: 800; color: var(--green); background: var(--green-soft); border-radius: 4px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.assign-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; position: relative; }
/* fereastra se ancoreaza de randul de butoane, ca sa nu iasa din coloana */
.picker { position: static; }
.picker > summary { list-style: none; }
.picker > summary::-webkit-details-marker { display: none; }
.picker-pop {
  position: absolute; z-index: 30; right: 0; top: calc(100% + 6px); width: 320px; max-width: 86vw;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(17, 24, 39, .18); padding: 10px;
}
.picker-search { min-height: 38px !important; margin-bottom: 8px; }
.picker-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.picker-group { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 8px 4px; }
.picker-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.picker-item:hover, .picker-item:focus-visible { background: #f1f4fa; outline: none; }
.picker-item.is-current { background: #eef2fb; box-shadow: inset 3px 0 0 var(--blue); }
.picker-name { flex: 1; min-width: 0; font-size: .9rem; font-weight: 600; line-height: 1.2; }
.picker-name small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.load { min-width: 24px; text-align: center; font-size: .75rem; font-weight: 800; color: #3d4654; background: #eceef2; border-radius: 10px; padding: 2px 6px; }
.load-hi { background: var(--amber-soft); color: var(--amber); }
.picker-empty { font-size: .85rem; color: var(--muted); margin: 8px; }
.picker-free { display: block; margin: 8px 8px 2px; color: var(--red); font-size: .85rem; }
.who { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.who-none { color: var(--amber); font-weight: 600; font-size: .82rem; }
.chip-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--blue); color: #fff; font-size: .72rem; text-align: center; }
.chip.on .chip-n { background: #fff; color: var(--navy); }
.chip-n-warn { background: var(--orange); }
.auto-banner { display: flex; gap: 10px; align-items: center; background: #eef2fb; border: 1px solid #d6def3; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: .9rem; color: #1f2b4d; }
.auto-banner.on { background: #fff8e1; border-color: #f3dfa6; color: #5c4a12; }


/* anexele stau sub documentul principal, ca un rand secundar */
.public .tasklist .slot.annex { border-top: 1px dashed #eceef2; padding: 10px 18px 12px 44px; position: relative; background: #fbfcfd; }
.public .tasklist .slot.annex::before { content: ""; position: absolute; left: 24px; top: 0; width: 10px; height: 22px; border-left: 2px solid #cfd5e0; border-bottom: 2px solid #cfd5e0; border-bottom-left-radius: 6px; }
.public .tasklist .slot.annex h3 { font-size: .92rem; font-weight: 600; color: #374151; }
.public .tasklist .slot.annex .hint { font-size: .82rem; }
.public .tasklist .slot.annex:not(.has) .status-tag { background: transparent; color: #6b7280; border: 1px solid #e3e6ec; }
.docrow.annex { padding-left: 22px; border-left: 2px solid #e3e6ec; }
@media (max-width: 640px) { .public .tasklist .slot.annex { padding-left: 36px; } .public .tasklist .slot.annex::before { left: 16px; } }

/* "Tine-ma conectat" la intrarea in panou */
.remember { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .92rem; color: #1f2937; cursor: pointer; }
.remember input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.remember small { display: block; color: #6b7280; font-size: .8rem; margin-top: 2px; }

.badge.b-auto { background: #fff4e0; color: #8a5a00; }

.assign-actions .picker-pop { left: 0; right: auto; width: min(360px, 100%); max-width: 100%; box-sizing: border-box; }

/* dosar nou si incarcare de catre echipa */
.wrap.narrow { max-width: 880px; }
.new-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.new-form .check { margin: 10px 0; }
.new-form .err { color: var(--red); font-size: .85rem; margin: 4px 0 0; }
@media (max-width: 640px) { .new-form .row2 { grid-template-columns: 1fr; } }
.staff-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.staff-upload-form .field { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
@media (max-width: 760px) { .staff-upload-form { grid-template-columns: 1fr; } }
.alert.ok { background: #e6f4df; color: #22660d; border-radius: 8px; padding: 8px 12px; }
.alert.bad { background: #fde8e6; color: #a51d1d; border-radius: 8px; padding: 8px 12px; }
.badge.b-team { background: #e8eefc; color: var(--blue); }

/* pagina clientului: anexele si documentele "doar daca e cazul" stau restranse */
.public .annex-wrap { list-style: none; border-top: 1px dashed #eceef2; padding: 0; }
.public .annex-more > summary, .public .optional-group > summary { list-style: none; cursor: pointer; }
.public .annex-more > summary::-webkit-details-marker, .public .optional-group > summary::-webkit-details-marker { display: none; }
.public .annex-more > summary { display: flex; align-items: center; gap: 8px; padding: 9px 18px 9px 44px; font-size: .86rem; color: var(--blue); font-weight: 600; }
.public .annex-more > summary:hover { background: #f6f8fc; }
.public .plus { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex: none; }
.public .plus::before, .public .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.public .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s ease; }
.public details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.public .count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #e8eefc; color: var(--blue); font-size: .75rem; text-align: center; }
.public .annex-list { border: 0; border-radius: 0; background: transparent; }
.public .annex-list .slot.annex { border-top: 0; }
.public .optional-group { margin-top: 14px; background: #fff; border: 1px solid #e3e6ec; border-radius: 10px; }
.public .optional-group > summary { display: grid; gap: 2px; padding: 14px 18px 14px 46px; position: relative; }
.public .optional-group > summary::before { content: ""; position: absolute; left: 18px; top: 17px; width: 9px; height: 9px; border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280; transform: rotate(-45deg); transition: transform .15s ease; }
.public .optional-group[open] > summary::before { transform: rotate(45deg); top: 14px; }
.public .og-title { font-weight: 700; color: #111827; }
.public .og-sub { font-size: .84rem; color: #6b7280; }
.public .optional-group > .tasklist { border: 0; border-top: 1px solid #eceef2; border-radius: 0 0 10px 10px; }
/* inlocuirea e discreta cand documentul e in regula; evidenta doar cand trebuie refacut */
.public .file-btn.file-link { min-height: 0; padding: 2px 0; border: 0; background: none; color: #4b5563; font-weight: 600; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.public .file-btn.file-link:hover { background: none; color: var(--blue); }
.public .file-btn.file-urgent { background: #a51d1d; border-color: #a51d1d; color: #fff; }
.public .file-btn.file-urgent:hover { background: #8a1717; }
.public .sent-files { list-style: none; margin: 6px 0 0; padding: 0; font-size: .84rem; color: #4b5563; }
.public .sent-files li { display: flex; gap: 10px; align-items: baseline; }
.danger-link { color: #a51d1d; font-size: .84rem; }
.danger-link:hover { color: #7f1515; }
.public .slot-form { align-items: center; gap: 12px; }

/* comutatorul compact din bara de sus */
.auto-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 16px 0 0; padding: 4px 12px 4px 6px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: .85rem; }
.auto-pill.on { background: #f0ab1e; color: #1a2d5e; }
.auto-pill b { font-weight: 700; }
.auto-pill .lock { font-size: .75rem; opacity: .8; }
.switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 999px; border: 0; padding: 0; background: #cfd5e0; cursor: pointer; transition: background .2s ease; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.switch.switch-sm { width: 36px; height: 20px; background: rgba(255,255,255,.35); }
.switch.switch-sm .knob { top: 2px; left: 2px; width: 16px; height: 16px; }
.switch[aria-checked="true"] { background: var(--navy); }
.switch[aria-checked="true"] .knob { transform: translateX(16px); }
.auto-pill.on .switch.is-locked { background: var(--navy); }
.auto-pill.on .switch.is-locked .knob { transform: translateX(16px); }
.switch:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.switch.is-locked { cursor: not-allowed; opacity: .7; display: inline-block; }
.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; }
.auto-strip { background: #fff4d6; border-bottom: 1px solid #f3dfa6; color: #5c4a12; font-size: .86rem; }
.auto-strip-in { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.auto-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: #f0ab1e; box-shadow: 0 0 0 4px rgba(240,171,30,.25); flex: none; }
.auto-strip .muted-light { opacity: .75; }
.auto-strip .auto-modes { display: flex; gap: 6px; margin: 0 0 0 auto; }
.chip-sm { padding: 3px 10px; font-size: .8rem; cursor: pointer; font-family: inherit; }
@media (max-width: 760px) { .auto-pill-text { display: none; } .auto-pill { padding: 4px; margin-right: 8px; } }

/* lista de dosare */
.h-count { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.fb-search { flex: 1 1 260px; }
.fb-search input { width: 100%; min-height: 40px; }
.fb-select { display: flex; flex-direction: column; gap: 3px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fb-select select { min-height: 40px; min-width: 150px; font-size: .9rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.fb-reset { align-self: center; font-size: .88rem; color: var(--red); font-weight: 600; }
.js .fb-apply.js-hide { display: none; }
.table-list th { padding: 0; white-space: nowrap; }
.table-list th .sort { display: flex; align-items: center; gap: 6px; padding: 10px 12px; color: inherit; font-weight: 700; text-decoration: none; }
.table-list th .sort:hover { color: var(--navy); background: #f1f4fa; }
.table-list th .sort.active { color: var(--navy); }
.table-list th .arrow { font-size: .7rem; opacity: .45; }
.table-list th .sort.active .arrow { opacity: 1; }
.table-list td { vertical-align: middle; }
.table-list tbody tr { transition: background .12s ease; }
.table-list tbody tr:hover td { background: #f7f9fd; }
.table-list .rowlink { color: var(--navy); }
.table-list .small { font-size: .82rem; margin-top: 2px; }
.nowrap { white-space: nowrap; }
.docs { display: inline-flex; align-items: center; gap: 8px; }
.docs-n { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 28px; }
.meter { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: #e8ebf1; overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; }
.meter-fill.full { background: var(--green); }
.pct-10 { width: 10%; } .pct-20 { width: 20%; } .pct-30 { width: 30%; } .pct-40 { width: 40%; } .pct-50 { width: 50%; }
.pct-60 { width: 60%; } .pct-70 { width: 70%; } .pct-80 { width: 80%; } .pct-90 { width: 90%; } .pct-100 { width: 100%; }
.count-pill { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 999px; background: #e8eefc; color: var(--blue); font-weight: 700; text-align: center; font-size: .85rem; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: #eef0f4; color: #374151; white-space: nowrap; }
.status.s-nou { background: #fff4e0; color: #8a5a00; }
.status.s-in_lucru { background: #e8eefc; color: var(--blue); }
.status.s-asteapta_client { background: #f3e8fd; color: #6b21a8; }
.status.s-complet { background: #e6f4df; color: #22660d; }
.panel.empty { text-align: center; padding: 28px; }
@media (max-width: 760px) { .fb-select { flex: 1 1 140px; } .fb-select select { min-width: 0; width: 100%; } }

/* grupul "doar daca e cazul": titlul si lista pe un singur rand cand incap */
.public .optional-group > summary { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.public .optional-group > summary .og-sub { flex: 1 1 260px; }

/* subsol pe un singur rand cand incape */
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 0; }

/* ---- pagina clientului, varianta prietenoasa ---- */
.journey { margin-top: 18px; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 18px 32px; align-items: center; background: #fff; border: 1px solid #e3e6ec; border-radius: 14px; padding: 16px 20px; }
.journey-progress { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; }
.jp-num { font-size: .95rem; color: #4b5563; }
.jp-num b { font-size: 1.9rem; color: var(--navy); line-height: 1; }
.jp-label { font-size: .86rem; color: #4b5563; }
.meter-lg { grid-column: 1 / -1; width: 100%; height: 8px; border-radius: 4px; margin-top: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.steps li { display: flex; gap: 10px; align-items: flex-start; color: #6b7280; font-size: .88rem; position: relative; }
.steps li b { display: block; color: #374151; font-weight: 600; }
.steps li small { display: block; font-size: .8rem; }
.st-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #eef0f4; color: #6b7280; border: 2px solid #eef0f4; }
.steps li.now .st-dot { background: #fff; color: var(--navy); border-color: var(--orange); }
.steps li.now b { color: var(--navy); }
.steps li.done .st-dot { background: var(--green); border-color: var(--green); color: transparent; position: relative; }
.steps li.done .st-dot::after { content: ""; position: absolute; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); top: 9px; left: 8px; }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; gap: 8px; } }

/* fiecare document are un cerc de stare in stanga */
.public .mode-dossier .tasklist .slot > .slot-head { position: relative; padding-left: 40px; }
.public .mode-dossier .tasklist .slot > .slot-head::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; border: 2px dashed #cfd5e0; box-sizing: border-box; }
.public .mode-dossier .tasklist .slot.has > .slot-head::before { border: 0; background: #e8eefc; }
.public .mode-dossier .tasklist .slot.has > .slot-head::after { content: ""; position: absolute; left: 8px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.public .mode-dossier .tasklist .slot.confirmed > .slot-head::before { background: var(--green); }
.public .mode-dossier .tasklist .slot.confirmed > .slot-head::after { width: 9px; height: 5px; border-radius: 0; background: none; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); left: 7px; top: 8px; }
.public .mode-dossier .tasklist .slot.redo > .slot-head::before { background: #a51d1d; }
.public .mode-dossier .tasklist .slot.redo > .slot-head::after { content: "!"; width: auto; height: auto; background: none; color: #fff; font-weight: 800; font-size: .85rem; left: 10px; top: 3px; }
.public .mode-dossier .tasklist .slot[data-required="1"]:not(.has) > .slot-head::before { border-color: var(--orange); }
/* cand documentul e primit, explicatia se ascunde: ramane doar ce conteaza */
.public .mode-dossier .tasklist .slot.has:not(.redo) .hint { display: none; }
.public .mode-dossier .tasklist .slot-status { font-weight: 500; color: #4b5563; }
.public .mode-dossier .tasklist .slot.confirmed .slot-status { color: #22660d; font-weight: 600; }
.public .slot-side .side-remove { margin: 0; }
.public .slot-side { gap: 6px; }
.public .mode-dossier .tasklist .slot.has { background: #fcfdff; }
.public .mode-dossier .tasklist .slot.annex > .slot-head { padding-left: 34px; }
.public .mode-dossier .tasklist .slot.annex > .slot-head::before { width: 18px; height: 18px; }
.public .mode-dossier .tasklist .slot.annex.has > .slot-head::after { left: 6px; top: 6px; width: 6px; height: 6px; }

.public .mode-dossier .slot-side { display: grid; grid-auto-flow: column; justify-content: end; align-items: center; column-gap: 14px; row-gap: 8px; }
.public .mode-dossier .slot-side .status-tag { grid-row: 1; grid-column: 1 / span 2; justify-self: end; }
.public .mode-dossier .slot-side > form, .public .mode-dossier .slot-side > .slot-form { grid-row: 2; }
@media (max-width: 640px) { .public .mode-dossier .slot-side { justify-content: start; } .public .mode-dossier .slot-side .status-tag { justify-self: start; } }

/* pagina Setari */
.settings-card h2 { margin: 0 0 4px; }
.settings-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.ai-state { flex: none; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.ai-state.on { background: #e6f4df; color: #22660d; }
.ai-state.off { background: #fde8e6; color: #a51d1d; }
.key-kv { margin: 0 0 18px; }
.key-kv code { background: #f1f4fa; padding: 2px 8px; border-radius: 6px; }
.key-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.key-form .field { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: .85rem; font-weight: 600; }
.key-form input { min-height: 42px; font-family: ui-monospace, Consolas, monospace; }
.key-notes { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .86rem; line-height: 1.5; }

/* credit si consum */
.credit-box { border: 1px solid #d6e4cf; background: #f6fbf3; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.credit-box.low { border-color: #f3c4bf; background: #fff6f5; }
.credit-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.credit-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); flex-basis: 100%; }
.credit-value { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.credit-box.low .credit-value { color: #a51d1d; }
.credit-sub { font-size: .85rem; color: var(--muted); }
.credit-box .meter-lg { display: block; margin-top: 10px; }
.meter-fill.low { background: #a51d1d; }
.credit-warn { margin: 10px 0 0; color: #a51d1d; font-weight: 600; font-size: .9rem; }
.usage-table { margin-bottom: 16px; }
.usage-table .num, .table .num { text-align: right; font-variant-numeric: tabular-nums; }
.credit-form .field-sm { flex: 0 1 180px; }
.credit-strip { background: #fde8e6; border-bottom: 1px solid #f3c4bf; color: #7f1515; font-size: .86rem; }
.credit-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: #a51d1d; flex: none; }
.credit-strip a { color: #7f1515; font-weight: 700; }
.usage-table th { white-space: nowrap; }
.usage-table td:first-child { white-space: nowrap; }
.credit-form input { font-family: inherit; }

/* butonul "Verifica cu AI" din pagina dosarului */
.docs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.docs-head h2 { margin: 0; }
.ai-recheck { margin: 0; }
.btn-ai { background: linear-gradient(135deg, #25418f, #1a2d5e); border-color: #1a2d5e; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.btn-ai:hover { filter: brightness(1.1); }
.btn-ai[disabled] { background: #cfd5e0; border-color: #cfd5e0; color: #6b7280; cursor: not-allowed; filter: none; }
.btn-ai .spark { color: #f0ab1e; }
.btn-ai[disabled] .spark { color: inherit; }
.ai-recheck-meta { margin: 6px 0 12px; font-size: .84rem; }

/* meniurile coloanelor (sortare + filtru) */
.table-wrap { overflow: visible; }
.table-list th { position: relative; }
.colmenu > summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 10px 12px; cursor: pointer; user-select: none; }
.colmenu > summary::-webkit-details-marker { display: none; }
.colmenu > summary:hover, .colmenu[open] > summary { color: var(--navy); background: #f1f4fa; }
.colmenu.is-sorted > summary, .colmenu.is-filtered > summary { color: var(--navy); }
.colmenu .arrow { font-size: .7rem; opacity: .55; }
.colmenu.is-sorted .arrow { opacity: 1; }
.fdot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.colmenu-pop { position: absolute; z-index: 40; top: 100%; left: 4px; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 36px rgba(17,24,39,.16); padding: 6px; text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 500; }
.table-list th:nth-last-child(-n+2) .colmenu-pop { left: auto; right: 4px; }
.colmenu-pop a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 7px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.colmenu-pop a:hover { background: #f1f4fa; }
.colmenu-pop a.on { color: var(--navy); font-weight: 700; }
.colmenu-pop a.zero { color: #9ca3af; }
.colmenu-sep { margin: 6px 4px 2px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.colmenu-pop .tick { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #cfd5e0; flex: none; }
.colmenu-pop a.on .tick { border-color: var(--navy); background: radial-gradient(circle, var(--navy) 45%, transparent 50%); }
.colmenu-pop .cnt { margin-left: auto; min-width: 22px; text-align: center; font-size: .75rem; background: #eef0f4; border-radius: 999px; padding: 0 6px; color: #4b5563; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #e8eefc; color: var(--navy); font-size: .85rem; font-weight: 600; text-decoration: none; align-self: center; }
.filter-chip:hover { background: #dbe4fa; }
.fb-hint { align-self: center; font-size: .82rem; }
/* responsabilul schimbat direct din rand */
.rowpick { position: relative; display: inline-block; }
.rowpick > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; padding: 3px 6px 3px 3px; border-radius: 999px; border: 1px solid transparent; }
.rowpick > summary::-webkit-details-marker { display: none; }
.rowpick > summary:hover, .rowpick[open] > summary { border-color: var(--line); background: #fff; }
.rowpick .caret { font-size: .7rem; color: var(--muted); }
.rowpick-pop { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; width: 300px; max-width: 80vw; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(17,24,39,.16); padding: 8px; margin: 0; }
.rowpick-pop .picker-list { max-height: 280px; }

/* ---- antetul panoului ---- */
.admin .top { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 14px rgba(17,24,39,.12); }
.admin .top-in { min-height: 56px; flex-wrap: nowrap; gap: 20px; }
.admin .top-tag { display: flex; align-items: center; min-width: 0; }
.top-nav { display: flex; gap: 4px; align-items: center; }
.top-nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .92rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.top-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.top-nav a.on { color: #fff; background: rgba(255,255,255,.14); }
.nav-n { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: var(--navy); font-size: .72rem; font-weight: 800; text-align: center; }
.top-me { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.top-logout-btn { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font: inherit; font-size: .84rem; font-weight: 600; padding: 5px 12px; border-radius: 8px; cursor: pointer; }
.top-logout-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.auto-pill { margin-right: 0; }
/* banda de sub antet: lipita de el, pe un rand */
.auto-strip-in, .credit-strip .auto-strip-in { flex-wrap: nowrap; align-items: flex-start; padding-top: 7px; padding-bottom: 7px; line-height: 1.4; }
.auto-strip .dot, .credit-strip .dot { margin-top: 6px; }
@media (max-width: 860px) {
  .admin .top-in { flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .admin .top-tag { order: 5; flex-basis: 100%; overflow-x: auto; }
  .top-me-name { display: none; }
}

/* situatia la zi, deasupra listei */
.stats { display: grid; gap: 8px; margin-bottom: 16px; }
.stat-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.stat-title { flex: 0 0 96px; align-self: center; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.stat { flex: 1 1 130px; display: flex; flex-direction: column; gap: 1px; padding: 9px 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #cfd5e0; border-radius: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
a.stat:hover { border-color: var(--blue); box-shadow: 0 2px 8px rgba(37,65,143,.1); }
.stat b { font-size: 1.35rem; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: .8rem; color: #4b5563; }
.stat.zero b { color: #9ca3af; }
.stat.t-main { border-left-color: var(--navy); }
.stat.t-info { border-left-color: var(--blue); }
.stat.t-warn { border-left-color: var(--orange); }
.stat.t-wait { border-left-color: #8b5cf6; }
.stat.t-ok { border-left-color: var(--green); }
.stat.t-bad { border-left-color: #a51d1d; }
.stat-pct { flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: #4b5563; padding: 0 6px; }
@media (max-width: 760px) { .stat-title { flex-basis: 100%; } }
.lib-notes { margin-bottom: 16px; border-top: 4px solid var(--orange); }
.lib-notes textarea { width: 100%; font: inherit; font-size: .92rem; line-height: 1.5; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; box-sizing: border-box; }
.lib-notes .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 10px; }

/* starea verificarii, in lista */
.vstate { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.v-done { color: #22660d; } .v-part { color: #8a5a00; } .v-off { color: #6b7280; } .v-run { color: var(--blue); }
.vsub { margin-top: 3px; font-size: .78rem; display: flex; gap: 8px; flex-wrap: wrap; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c9d5f3; border-top-color: var(--blue); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.seg { display: inline-flex; gap: 3px; vertical-align: middle; }
.sg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #e2e6ee; }
.sg.ok { background: var(--green); } .sg.bad { background: #a51d1d; } .sg.todo { background: #fff; border: 1.5px solid #b9c1d0; box-sizing: border-box; }
.t-todo { color: #4b5563; font-weight: 600; } .t-ok { color: #22660d; } .t-bad { color: #a51d1d; font-weight: 600; }
.legend { margin: 10px 2px 0; font-size: .82rem; line-height: 1.6; }
.legend .sg { vertical-align: -1px; margin: 0 2px 0 4px; }
.table-list td.c-team, .table-list td.c-ai { text-align: left; }

/* comutatoarele din antet: citire (albastru) si trimitere (portocaliu) */
.auto-pill.on-read { background: rgba(110,160,255,.28); }
.auto-pill.on-read .switch[aria-checked="true"], .switch.is-locked.is-on { background: #6ea0ff; }
.auto-pill.on .switch[aria-checked="true"] { background: var(--navy); }
.switch.is-locked.is-on .knob { transform: translateX(16px); }
.auto-pill + .auto-pill { margin-left: -8px; }
@media (max-width: 1100px) { .auto-pill-text { display: none; } .auto-pill { padding: 4px; } }
/* sesizarea clientului */
.badge.b-told { background: #e6f4df; color: #22660d; }
.badge.b-untold { background: #fff4e0; color: #8a5a00; border: 1px solid #f3dfa6; }
.sesizare { margin: 0 0 10px; font-size: .9rem; }
.sesizare:empty { display: none; }
.sesizare.untold { background: #fff8e6; border: 1px solid #f3dfa6; border-radius: 8px; padding: 8px 12px; color: #5c4a12; }
.sesizare.told { background: #f6fbf3; border: 1px solid #d6e4cf; border-radius: 8px; padding: 8px 12px; color: #22660d; }
.btn-notify { background: #a51d1d; border-color: #a51d1d; color: #fff; }
.btn-notify:hover { background: #8a1717; }
.btn-notify .chip-n { background: #fff; color: #a51d1d; }
/* Setari: automatizare */
.auto-rows { display: grid; gap: 12px; margin-bottom: 18px; }
.auto-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.auto-row form { margin: 2px 0 0; }
.auto-row b { display: block; }
.auto-row .muted { font-size: .86rem; }
.auto-row .switch[aria-checked="true"], .auto-row .switch.is-on { background: var(--green); }
.auto-row .switch[aria-checked="true"] .knob, .auto-row .switch.is-on .knob { transform: translateX(22px); }
.sub-h { margin: 0 0 4px; font-size: 1rem; }
.program-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; }
.program-row .field { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; margin: 0; }
.program-row input[type="time"] { min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.days { border: 0; padding: 0; margin: 0; display: flex; gap: 4px; align-items: center; }
.days legend { font-size: .85rem; font-weight: 600; padding: 0; margin-bottom: 4px; }
.day input { position: absolute; opacity: 0; }
.day span { display: grid; place-items: center; width: 38px; height: 42px; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; font-weight: 700; color: #6b7280; cursor: pointer; background: #fff; }
.day input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.day input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Setari: perioada de inscriere */
.term-now { flex: none; padding: 6px 12px; border-radius: 10px; background: #fff4e0; color: #8a5a00; font-weight: 800; white-space: nowrap; }
.term-form input[type="date"] { min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

/* stilul mesajului catre client */
.msg-styles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; }
.msg-style-note { font-size: .8rem; }

.bad-text { color: #b42318; }
.sd-form { flex-wrap: wrap; align-items: flex-end; }

/* mesajele catre client: stare si istoric */
.msg-state { margin: 6px 0; padding: 8px 12px; border-radius: 8px; background: #f4f6fb; }
.msg-state.ms-netrimis { background: #fff4e0; color: #8a5a00; }
.msg-state.ms-trimis { background: #e8f6ee; color: #1d6b3c; }
.msg-history { margin: 10px 0; }
.msg-history > summary { cursor: pointer; font-weight: 600; }
.msg-history ol { margin: 8px 0 0; padding-left: 18px; }
.msg-history li { margin: 4px 0; }
.msg-history li summary { cursor: pointer; }
.msg-old { white-space: pre-wrap; font: inherit; font-size: .88rem; background: #f8f9fc; padding: 10px; border-radius: 8px; margin: 6px 0; }
.ok-text { color: #1d6b3c; }
.c-msg .msg-open { font-size: .82rem; margin-left: 6px; }

/* cautarea clientilor din antet */
.top-search { position: relative; flex: 1 1 260px; max-width: 380px; min-width: 160px; margin-left: auto; }
.top-search input { width: 100%; height: 36px; padding: 0 34px 0 32px; border-radius: 9px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .9rem; }
.top-search input::placeholder { color: rgba(255,255,255,.6); }
.top-search input:focus { outline: none; background: #fff; color: var(--ink); border-color: #fff; }
.top-search input:focus::placeholder { color: #8a93a6; }
.top-search input::-webkit-search-cancel-button { display: none; }
.ts-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.7); font-size: 1.05rem; pointer-events: none; }
.top-search:focus-within .ts-icon { color: #8a93a6; }
.ts-key { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 0 6px; border-radius: 5px; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); font: 600 .75rem/18px inherit; }
.top-search:focus-within .ts-key { display: none; }
.ts-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 12px 32px rgba(17,24,39,.22); padding: 6px; z-index: 80; max-height: 70vh; overflow: auto; }
.ts-item { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: inherit; }
.ts-item:hover, .ts-item.on { background: #eef2fb; }
.ts-name { font-weight: 700; color: var(--navy); }
.ts-meta { display: block; font-size: .8rem; color: #5b6476; margin-top: 2px; }
.ts-empty, .ts-all { display: block; padding: 8px 10px; font-size: .85rem; color: #5b6476; }
.ts-all { color: var(--blue); text-decoration: none; font-weight: 600; border-top: 1px solid #eef0f4; margin-top: 4px; }
@media (max-width: 760px) {
  .top-search { order: 3; flex-basis: 100%; max-width: none; }
  .admin .top-in { flex-wrap: wrap; padding-bottom: 8px; }
  .ts-key { display: none; }
}
@media (max-width: 900px) {
  .admin .top-tag { overflow: visible; flex-wrap: wrap; row-gap: 8px; }
  .admin .top-nav { overflow-x: auto; max-width: 100%; }
  .top-search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .ts-list { min-width: 0; }
}

.sd-actions { margin: 10px 0; gap: 8px; }
.sd-test { margin-top: 10px; }

/* previzualizarea documentelor din lista (hover pe numarul de documente) */
.docs[data-peek] { cursor: help; border-radius: 6px; padding: 2px 4px; }
.docs[data-peek]:hover, .docs[data-peek]:focus { background: #eef2fb; outline: none; }
.peek { position: fixed; z-index: 90; width: 380px; max-width: calc(100vw - 24px); max-height: 70vh; overflow: auto; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 14px 36px rgba(17,24,39,.24); padding: 10px 12px; text-align: left; font-size: .86rem; }
.peek-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.peek-h a { font-size: .8rem; font-weight: 600; }
.peek-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 6px 0; border-top: 1px solid #eef0f4; }
.peek-row .lbl { font-weight: 600; }
.peek-row .lbl a { color: inherit; text-decoration: none; }
.peek-row .lbl a:hover { text-decoration: underline; }
.peek-row .sub { grid-column: 1 / -1; color: #5b6476; font-size: .78rem; }
.peek-row.missing .lbl { color: #8a93a6; font-weight: 500; }
.peek-tag { padding: 1px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; align-self: start; }
.peek-tag.confirmat { background: #e8f6ee; color: #1d6b3c; }
.peek-tag.de_refacut { background: #fdecec; color: #a12a2a; }
.peek-tag.todo { background: #eef0f4; color: #4a5266; }
.peek-tag.lipsa { background: #fff4e0; color: #8a5a00; }
.peek-ai.fail { color: #a12a2a; } .peek-ai.warn { color: #8a5a00; } .peek-ai.pass { color: #1d6b3c; }
.peek-load { color: #5b6476; }

/* Setari: legatura cu solardocs */
.sd-switch { display: flex; align-items: center; gap: 8px; flex: none; }
.sd-switch-l { font-weight: 700; color: var(--navy); }
.sd-steps { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; counter-reset: sd; }
.sd-steps li { counter-increment: sd; display: grid; grid-template-columns: 26px minmax(150px, 220px) 1fr; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 8px; background: #f6f7fa; }
.sd-steps li::before { content: counter(sd); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dfe3ea; color: #4a5266; font-size: .78rem; font-weight: 700; }
.sd-steps li.done::before { content: "✓"; background: #1d6b3c; color: #fff; }
.sd-steps li.bad::before { content: "!"; background: #b42318; color: #fff; }
.sd-steps li span { color: #4a5266; font-size: .88rem; word-break: break-word; }
.sd-webhook { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.sd-webhook code { background: #f4f6fb; padding: 4px 8px; border-radius: 6px; }
.sd-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sd-stat { padding: 4px 10px; border-radius: 999px; background: #eef0f4; font-size: .85rem; }
.sd-stat.ok { background: #e8f6ee; color: #1d6b3c; }
.sd-stat.bad { background: #fdecec; color: #a12a2a; }
.sd-errors, .sd-edit, .sd-danger { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.sd-errors summary, .sd-edit summary, .sd-danger summary { cursor: pointer; font-weight: 600; }
.sd-errors ul { margin: 8px 0 0; padding-left: 18px; }
.sd-form { display: grid; gap: 10px; margin-top: 10px; }
.sd-form small { font-weight: 400; }
.sd-danger summary { color: #a12a2a; }
.btn-danger { background: #b42318; border-color: #b42318; color: #fff; }
@media (max-width: 640px) { .sd-steps li { grid-template-columns: 26px 1fr; } .sd-steps li span { grid-column: 2; } }

/* lista: situatia dosarelor */
.overview { margin: 10px 0 14px; }
.ov-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ov-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #c9cfda; text-decoration: none; color: var(--ink); }
.ov-card b { grid-row: 1 / 3; font-size: 1.6rem; line-height: 1; color: var(--navy); }
.ov-l { font-weight: 700; font-size: .9rem; }
.ov-h { font-size: .74rem; color: #5b6476; line-height: 1.25; }
.ov-card:hover { box-shadow: 0 4px 12px rgba(17,24,39,.08); }
.ov-card.on { outline: 2px solid var(--navy); }
.ov-card.zero { opacity: .55; }
.ov-card.t-warn { border-left-color: #f0ab1e; } .ov-card.t-warn b { color: #b26b00; }
.ov-card.t-wait { border-left-color: #7c8db5; }
.ov-card.t-info { border-left-color: #25418f; }
.ov-card.t-ok { border-left-color: #1d6b3c; } .ov-card.t-ok b { color: #1d6b3c; }
.ov-line { margin: 8px 2px 0; font-size: .88rem; }
.ov-line a { color: inherit; }
.empty-list { margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px 12px; }
.empty-list summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.empty-list summary .muted { font-weight: 400; font-size: .85rem; }
.table-compact td, .table-compact th { padding: 6px 8px; font-size: .86rem; }
@media (max-width: 900px) { .ov-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* actiuni pe mai multi clienti */
.c-sel { width: 34px; text-align: center; }
.c-sel input { width: 17px; height: 17px; cursor: pointer; }
tr.is-selected td { background: #eef3ff !important; }
.bulk-bar { position: sticky; top: 64px; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(17,24,39,.18); }
.bulk-bar[hidden] { display: none; }
.bulk-bar .btn-outline { background: #fff; }
.bulk-count { font-size: .95rem; }
.bulk-sep { flex: 1; }
.bulk-assign { display: inline-flex; gap: 6px; align-items: center; }
.bulk-assign select { height: 32px; border-radius: 8px; border: 0; padding: 0 8px; font: inherit; font-size: .85rem; }
.linkish { background: none; border: 0; color: #cfe0ff; text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 0 2px; }
