/* Radar Licitații — a dense, quiet working tool. Colour is reserved for information:
   deadlines (red / amber), notice type, domains. Everything else is ink on paper. */
:root, html[data-theme=light]:root {
  --ink: #142133;          /* top bar, headings */
  --text: #1c2633;
  --muted: #66727f;
  --paper: #f3f5f7;        /* page background */
  --surface: #ffffff;
  --line: #dfe4ea;
  --line-soft: #eef1f4;
  --accent: #0b6e72;       /* links, primary actions */
  --accent-soft: #e3f1f1;
  --danger: #b42318;
  --warning: #b54708;
  --radius: 6px;
  --side: 18.5rem;

  --pico-font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --pico-font-size: 14px;
  --pico-line-height: 1.45;
  --pico-spacing: .75rem;
  --pico-color: var(--text);
  --pico-muted-color: var(--muted);
  --pico-background-color: var(--paper);
  --pico-primary: var(--accent);
  --pico-primary-background: var(--accent);
  --pico-primary-border: var(--accent);
  --pico-primary-hover: #08585b;
  --pico-primary-hover-background: #08585b;
  --pico-primary-hover-border: #08585b;
  --pico-primary-underline: rgba(11, 110, 114, .35);
  --pico-primary-focus: rgba(11, 110, 114, .25);
  --pico-border-radius: var(--radius);
  --pico-form-element-spacing-vertical: .4rem;
  --pico-form-element-spacing-horizontal: .6rem;
  --pico-form-element-border-color: #cfd6de;
  --pico-form-element-focus-color: var(--accent);
  --pico-typography-spacing-vertical: .75rem;
}
body { background: var(--paper); color: var(--text); font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.01em; }
a { text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.err { color: var(--danger); }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.nowrap { white-space: nowrap; }
.empty { color: var(--muted); padding: 1rem .25rem; margin: 0; }

/* --- top bar ------------------------------------------------------------------ */
.topbar { display: flex; align-items: center; gap: .5rem 1.75rem; flex-wrap: wrap;
  padding: .55rem 1.25rem; background: var(--ink); color: #c9d3de; position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; letter-spacing: -.01em; }
.brand::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: #3fc1b8;
  box-shadow: 0 0 0 3px rgba(63, 193, 184, .25); }
.brand:hover { color: #fff; }
.mainnav { display: flex; gap: .15rem; }
.mainnav a { color: #c9d3de; text-decoration: none; padding: .35rem .7rem; border-radius: var(--radius); font-weight: 500; }
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.mainnav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); }
.topright { margin-left: auto; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.lastrun { font-size: .8rem; color: #9fb0c2; }
.topright input.username { width: 9.5rem; margin: 0; padding: .3rem .55rem; height: auto; font-size: .82rem;
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.topright input.username::placeholder { color: #8fa1b4; }
#refresh-box { position: relative; }
.refresh-form { display: flex; gap: .4rem; align-items: center; margin: 0; }
.refresh-form button, .refresh-progress button { margin: 0; padding: .35rem .95rem; width: auto; font-size: .85rem; }
.refresh-form button[type=submit] { background: #3fc1b8; border-color: #3fc1b8; color: var(--ink); font-weight: 600; }
.refresh-form button[type=submit]:hover { background: #5fd0c8; border-color: #5fd0c8; }
.sources-menu { margin: 0; }
.sources-menu summary { font-size: .8rem; padding: .3rem .6rem; height: auto; color: #c9d3de;
  background: transparent; border-color: rgba(255, 255, 255, .2); }
.sources-menu ul { min-width: 14rem; color: var(--text); }
.refresh-progress { min-width: 16rem; color: #c9d3de; }
.progress-list, .refresh-result { font-size: .8rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.progress-list li { margin: 0; list-style: none; }
.config-banner { background: #fdecea; color: #8a1c13; padding: .45rem 1.25rem; font-size: .85rem; }

main { padding: 1.25rem 1.25rem 2rem; }
main.container-fluid { padding-left: 1.25rem; padding-right: 1.25rem; }
footer { padding: 1rem 1.25rem; font-size: .78rem; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.page-head h1 { font-size: 1.45rem; margin: 0; }
.filters-toggle { display: none; width: auto; margin: 0; padding: .3rem .8rem; }

/* --- list page: filters + results ------------------------------------------------ */
.list-layout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.filters { position: sticky; top: 4.1rem; max-height: calc(100vh - 5.2rem); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1rem; font-size: .86rem; scrollbar-width: thin; }
.filters fieldset, .filters .fgroup { margin: 0; padding: .85rem 0; border: 0; border-bottom: 1px solid var(--line-soft); }
.filters .fhead, .filters legend.fhead { display: block; float: none; width: 100%; padding: 0; margin: 0 0 .4rem;
  font-size: .78rem; font-weight: 600; color: var(--ink); }
.filters .fgroup > .fhead ~ .fhead { margin-top: .75rem; }
.filters input:not([type=checkbox]):not([type=radio]), .filters select {
  margin: 0; padding: .38rem .55rem; height: auto; font-size: .86rem; width: 100%; }
.filters input[type=search]:not([type=checkbox]):not([type=radio]) { padding-inline-start: 2rem; background-position: center left .6rem; background-size: .9rem auto; }
.filters select[multiple] { padding: .2rem; }
.filters select[multiple] option { padding: .15rem .35rem; border-radius: 3px; }
.filters .hint { margin: .35rem 0 0; font-size: .76rem; color: var(--muted); line-height: 1.35; }
.filters label.check { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .35rem; font-size: .86rem;
  line-height: 1.3; cursor: pointer; }
.filters label.check:last-child { margin-bottom: 0; }
.filters label.check input { flex: none; margin: .05rem 0 0; width: 1rem; height: 1rem; }
.filters .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; margin-bottom: .35rem; }
.filters .check-grid label.check { margin: 0; }
.filters .range { display: grid; gap: .4rem; margin-top: .5rem; }
.filters .range:first-child { margin-top: 0; }
.filters .range.two { grid-template-columns: 1fr 1fr; margin-top: 0; }
.filters .range label { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; gap: .4rem;
  margin: 0; font-size: .8rem; color: var(--muted); }
.filters-foot { position: sticky; bottom: 0; background: var(--surface); padding: .75rem 0 .9rem;
  border-top: 1px solid var(--line-soft); margin-top: -1px; }
.filters-foot [role=button], .filters-foot button { width: 100%; margin: 0; padding: .4rem; font-size: .85rem; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: .6rem; }
.results-bar strong { font-size: 1rem; color: var(--ink); }
.bar-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.bar-actions button, .bar-actions [role=button] { width: auto; margin: 0; padding: .35rem .85rem; font-size: .84rem; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin: 1rem 0; font-size: .88rem; }

/* --- notice table ------------------------------------------------------------- */
.overflow-auto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table.notices { font-size: .84rem; margin: 0; --pico-background-color: transparent; }
table.notices th, table.notices td { padding: .5rem .55rem; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
table.notices thead th { position: sticky; top: 0; background: #f7f9fa; color: var(--muted); font-weight: 600;
  font-size: .76rem; border-bottom: 1px solid var(--line); white-space: nowrap; z-index: 1; }
table.notices th a { color: inherit; text-decoration: none; }
table.notices th a:hover { color: var(--accent); }
table.notices.striped tbody tr:nth-child(odd) td { background: transparent; }
table.notices tbody tr:hover td { background: #f6fafa; }
table.notices tbody tr:last-child td { border-bottom: 0; }
table.notices td a { font-weight: 500; text-decoration: none; color: #0a4f6b; }
table.notices td a:hover { text-decoration: underline; color: var(--accent); }
table.notices .sub { color: var(--muted); font-size: .76rem; margin-top: .1rem; font-weight: 400; }
table.notices select { margin: 0; padding: .15rem 1.6rem .15rem .4rem; font-size: .78rem; height: auto; min-width: 7.5rem;
  background-position: center right .35rem; }
td.nowrap, th.nowrap { white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }

.tag { display: inline-block; padding: .08rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 600;
  background: #eef1f4; color: #3b4754; white-space: nowrap; line-height: 1.5; }
.tag-participare { background: #e2eefb; color: #164f8c; }
.tag-publicitate { background: #efe8f8; color: #5b2d91; }
.tag-atribuire { background: #e4f3e8; color: #1d5f30; }
.tag-directa { background: #fdf0e1; color: #8a4510; }
.tag-new { background: var(--danger); color: #fff; }
.tag-domain { background: var(--accent-soft); color: #0a5457; font-weight: 500; margin: 0 .15rem .15rem 0; }
.dl-danger { color: var(--danger); font-weight: 700; }
.dl-warning { color: var(--warning); font-weight: 600; }
.dl-expired { text-decoration: line-through; color: #9aa4ae; }
.star { background: none; border: none; padding: 0; margin: 0; font-size: 1.05rem; line-height: 1; cursor: pointer;
  color: #c2c9d1; width: auto; box-shadow: none; }
.star:hover { color: #e0a800; background: none; }
.star.on { color: #e0a800; }

/* --- dashboard ------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: .9rem 1rem; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--accent); background: #fbfdfd; }
.card .num { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.card .lbl { font-size: .84rem; color: var(--muted); margin-top: .2rem; }
.panel { margin-bottom: 1.5rem; }
.panel-title { font-size: 1.05rem; margin: 0 0 .6rem; }
.panel-more { margin: .5rem 0 0; font-size: .86rem; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.domain-table { width: 100%; }
.upcoming { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); }
.upcoming li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; margin: 0;
  padding: .6rem .8rem; border-bottom: 1px solid var(--line-soft); font-size: .86rem; }
.upcoming li:last-child { border-bottom: 0; }
.upcoming .sub { grid-column: 1; color: var(--muted); font-size: .76rem; }
.upcoming li > span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.panel > .empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem; }

/* --- detail page ------------------------------------------------------------------ */
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: 1.25rem; align-items: start; }
.detail-grid > div:last-child { position: sticky; top: 4.1rem; }
hgroup h2 { font-size: 1.35rem; line-height: 1.3; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem;
  margin-bottom: 1rem; }
.box h3 { font-size: 1rem; margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-soft); }
details.box summary { font-weight: 600; color: var(--ink); }
dl.kv { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .4rem 1rem; margin: 0; font-size: .88rem; }
dl.kv dt { color: var(--muted); font-weight: 400; }
dl.kv dd { margin: 0; }
dd.pre { white-space: pre-line; }
pre.raw { max-height: 30rem; overflow: auto; font-size: .75rem; }
#details h4, #documents h4 { font-size: .9rem; margin: 1.1rem 0 .4rem; color: var(--ink); }
.small-btn { width: auto; padding: .12rem .55rem; font-size: .76rem; margin: 0 0 0 .5rem; }

.doc-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.doc-list li { display: flex; gap: .65rem; align-items: center; padding: .45rem .65rem; margin: 0;
  border-bottom: 1px solid var(--line-soft); font-size: .86rem; list-style: none; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list li:hover { background: #f8fafb; }
.doc-icon { width: 1.4rem; flex: none; text-align: center; }
.doc-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.doc-name .sub { display: block; color: var(--muted); font-size: .75rem; }
.doc-actions { display: inline-flex; gap: .75rem; flex: none; white-space: nowrap; font-size: .84rem; }

/* --- settings / runs ----------------------------------------------------------------- */
.config-error { background: #fdecea; color: #8a1c13; }
.ok-msg { background: #e6f4ea; color: #1d5f30; }
.ok { color: #1d7a3a; font-weight: 600; }
.actions { display: flex; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.actions button { width: auto; }

/* --- narrow screens ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .topbar { gap: .4rem 1rem; padding: .5rem 1rem; }
  .topright { margin-left: 0; width: 100%; }
  .lastrun { display: none; }
  main, main.container-fluid { padding: 1rem; }
  .list-layout, .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div:last-child { position: static; }
  .filters-toggle { display: inline-block; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  dl.kv { grid-template-columns: 1fr; gap: 0; }
  dl.kv dd { margin-bottom: .5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.filters label.check input[type=checkbox] { border-radius: 3px; }

/* --- bids / company profile (stage 7) ---------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 0 1rem; }
.form-grid label { font-size: .84rem; }
.form-grid label.changed input, .form-grid label.changed textarea { background: #fff8d6; border-color: #e0c341; }
.inline-form { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.inline-form input[type=file] { flex: 1; min-width: 14rem; margin: 0; }
.inline-form button { width: auto; margin: 0; }
.notice-msg { background: #fff8e1; color: #6b4e00; }
.err { color: #b3261e; }
.ai-job { margin: .6rem 0; font-size: .88rem; }
.spinner { display: inline-block; width: .85rem; height: .85rem; border: 2px solid var(--line-soft);
  border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.lib-add { margin: .8rem 0 1.2rem; padding: .8rem; background: #f8fafb; border-radius: var(--radius); }
.lib-add button { width: auto; }
.doc-name .summary { white-space: pre-line; color: var(--ink); margin-top: .2rem; }
details > summary { cursor: pointer; margin: .6rem 0; }
.bid-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; margin-bottom: 1rem; font-size: .9rem; }
.inline-select { width: auto; display: inline-block; margin: 0; padding: .15rem 1.8rem .15rem .5rem; font-size: .84rem; height: auto; }
nav.steps { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 2px solid var(--line-soft); margin-bottom: 1rem; }
nav.steps a { padding: .5rem .9rem; text-decoration: none; border-radius: var(--radius) var(--radius) 0 0; color: var(--muted); }
nav.steps a[aria-current=page] { background: var(--line-soft); color: var(--ink); font-weight: 600; }
.section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.section-head .actions { margin: 0; }
.dropzone { margin: 1rem 0; padding: 1rem; border: 2px dashed var(--line-soft); border-radius: var(--radius); }
.dropzone button { width: auto; }
.warn-list { color: #8a5a00; font-size: .85rem; }
.prewrap { white-space: pre-line; }
.match { padding: .1rem .45rem; border-radius: 999px; font-size: .78rem; white-space: nowrap; }
.match-acoperit { background: #e6f4ea; color: #1d5f30; }
.match-partial { background: #fff4d6; color: #7a5600; }
.match-neacoperit { background: #fdecea; color: #8a1c13; }
.match-de_verificat { background: #e8eef7; color: #2b4a7a; }
.edit-table td { vertical-align: top; padding: .25rem; }
.edit-table input, .edit-table select, .edit-table textarea { margin: 0; font-size: .82rem; padding: .3rem .4rem; min-width: 7rem; }
.edit-table textarea { min-width: 16rem; }
.lib-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: .5rem 1.5rem; }
.lib-pick fieldset { margin: 0; }
.lib-pick label.check { font-size: .86rem; display: block; margin: .2rem 0; }
.edit-table input.narrow { min-width: 3.5rem; width: 3.5rem; }
details.chapter { border-bottom: 1px solid var(--line-soft); padding: .3rem 0; }
.md-editor { font-family: ui-monospace, Consolas, monospace; font-size: .84rem; }
.tag-warn { background: #fff4d6; color: #7a5600; }
.price-table textarea { min-width: 18rem; }
.num-input { text-align: right; min-width: 7rem; }
.edit-table input.missing { border-color: #e0c341; background: #fff8d6; }
article.form-result { padding: .8rem 1rem; margin: .8rem 0; }
article.form-result header { margin: 0; padding: 0; background: none; border: 0; }
ul.checklist { list-style: none; padding: 0; }
ul.checklist li { list-style: none; padding: .3rem .6rem; margin: .2rem 0; border-radius: var(--radius); font-size: .88rem; }
.cl-ok { background: #e6f4ea; color: #1d5f30; }
.cl-warn { background: #fff4d6; color: #6b4e00; }
.cl-missing { background: #fdecea; color: #8a1c13; }
select.state-lipsa { border-color: #d9534f; }
select.state-generat { border-color: #2e8b57; }
.box h4 { font-size: .95rem; margin: 1rem 0 .5rem; color: var(--ink); }

.elig-eligibil { border-left: 4px solid #1d5f30; }
.elig-eligibil_cu_conditii { border-left: 4px solid #7a5600; }
.elig-neeligibil { border-left: 4px solid #8a1c13; }
.elig-de_verificat { border-left: 4px solid #2b4a7a; }
.elig-eligibil .elig-badge { background: #e6f4ea; color: #1d5f30; }
.elig-eligibil_cu_conditii .elig-badge { background: #fff4d6; color: #7a5600; }
.elig-neeligibil .elig-badge { background: #fdecea; color: #8a1c13; }
.elig-de_verificat .elig-badge { background: #e8eef7; color: #2b4a7a; }

/* CPV tree picker */
#cpv-dialog article.cpv-picker { max-width: 1200px; width: 95vw; padding-bottom: 1rem; }
.cpv-search { display: flex; gap: .5rem; margin-right: 2.5rem; }
.cpv-search input { margin: 0; }
.cpv-search button { width: auto; margin: 0; }
.cpv-body { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; height: 65vh; }
.cpv-tree, .cpv-selected { overflow: auto; }
.cpv-selected { border-left: 1px solid var(--pico-muted-border-color); padding-left: 1rem; }
.cpv-tree ul, #cpv-chosen { padding-left: 1.2rem; margin: 0; }
.cpv-tree > ul, #cpv-chosen { padding-left: 0; }
.cpv-tree li, #cpv-chosen li { list-style: none; margin: 0; }
.cpv-row { display: flex; align-items: flex-start; gap: .3rem; font-size: .9rem; }
.cpv-row label { margin: 0; }
.cpv-row input[type=checkbox] { margin: 0 .3rem 0 0; }
.cpv-tog { width: 1.4rem; min-width: 1.4rem; height: 1.4rem; padding: 0; margin: 0; line-height: 1; font-size: .9rem;
  background: none; color: var(--pico-color); border: 1px solid var(--pico-muted-border-color); }
.cpv-tog:disabled { border-color: transparent; }
#cpv-chosen li { font-size: .9rem; padding: .25rem 0; border-bottom: 1px solid var(--pico-muted-border-color); }
.cpv-del { padding: 0 .3rem; margin: 0; width: auto; background: none; border: none; color: inherit; }
#cpv-apply { width: auto; margin-top: 1rem; }
#cpv-title { display: block; margin-bottom: .5rem; }
.cpv-group { font-weight: 600; cursor: pointer; }
.cpv-icon { display: inline-block; width: 1.5em; text-align: center; }
.cpv-chip { display: inline-block; padding: 0 .35rem; margin: 0 .1rem .2rem 0; border-radius: .3rem; font-size: .85rem;
  background: var(--pico-secondary-background); color: var(--pico-secondary-inverse); cursor: help; }
.cpv-edit, .cpv-delete { width: auto; margin: .3rem 0 0; padding: .2rem .6rem; font-size: .8rem; }
.cpv-new { display: flex; gap: .5rem; margin-top: 1rem; }
.cpv-new input { margin: 0; max-width: 24rem; }
.cpv-new button { width: auto; margin: 0; }
@media (max-width: 700px) { .cpv-body { grid-template-columns: 1fr; height: auto; } .cpv-selected { border-left: none; padding-left: 0; } }
.cpv-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.cpv-head button, .cpv-small { width: auto; margin: 0 0 .8rem; padding: .2rem .6rem; font-size: .8rem; }
.cpv-selected label { font-size: .9rem; }
.cpv-selected textarea, .cpv-selected input:not([type=checkbox]) { margin-bottom: .5rem; }
.cpv-selected fieldset .check { display: inline-flex; margin-right: .8rem; }
.cpv-counties { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); font-size: .85rem; }
#cpv-chosen { margin-bottom: 1rem; }

/* --- account pages -------------------------------------------------------- */
.auth-wrap { max-width: 28rem; padding-top: 3rem; }
.auth-brand { text-align: center; font-weight: 700; font-size: 1.3rem; }
.auth-brand a { text-decoration: none; }
.auth-foot { text-align: center; }
.account-menu { margin: 0; }
.account-menu summary { font-size: .85rem; }
p.ok { color: var(--pico-ins-color, #2e7d32); }
/* htmx indicator styles (htmx would inject them inline; the CSP forbids inline styles) */
.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; transition: opacity 200ms ease-in; }
.table-wrap { overflow-x: auto; }
.tag-danger { background: #fde7e7; color: #b3261e; }
#admin-page .inline-form input { width: 7rem; margin: 0; }
