/* Charroi-BAZ · same family as the Lion's Security and Local Champions tools: light blue dégradé, white top bar, soft cards, Plus Jakarta Sans. */
:root {
  --navy: #0d1f38; --ink: #1b2c4a; --text: #46586b; --muted: #637487; --faint: #94a3b3;
  --mist: #f3f6f9; --line: #e2e9ef; --line2: #eef2f6; --card: #fff;
  --brand: #263c63; --brand2: #2f5d8a; --grad: linear-gradient(120deg, #2f4f7c 0%, #36608f 40%, #3f78a8 75%, #4d8cbb 100%);
  --brass: #b8975a; --brass-soft: #f6f0e4; --brass-ink: #6e5526; --sky-soft: #e8f2fb;
  --ok: #0f7a52; --okbg: #e5f4ec; --warn: #a8660e; --warnbg: #fbf1e1; --err: #b3261e; --errbg: #fbecea;
  --radius: 18px; --shadow: 0 1px 2px #0d1f3808, 0 10px 28px -20px #0d1f3833;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; color: var(--text); background: var(--mist); line-height: 1.5; font-size: 14.5px; }
body.lock { overflow: hidden; }
p { text-align: justify; hyphens: none; -webkit-hyphens: none; margin: 0 0 .8em; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.2; letter-spacing: -.01em; font-weight: 800; }
h2 { font-size: 1.08rem; } h2 small { color: var(--muted); font-weight: 700; font-size: .8rem; margin-left: 4px; } h3 { font-size: .95rem; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: var(--brand2); text-decoration: none; }
input, select, textarea { font: inherit; color: var(--navy); }
.muted { color: var(--muted); } .tneg { color: var(--err) !important; } .tpos { color: var(--ok) !important; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; } .sp { flex: 1; } .grow { flex: 1; min-width: 0; }
.boot { padding: 80px 20px; text-align: center; color: var(--muted); }
.lab { font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; }
.ic { flex: none; vertical-align: -3px; }
.grid { display: grid; gap: 16px; margin-bottom: 16px; } .grid > * { margin-bottom: 0 !important; min-width: 0; }
@media (min-width: 960px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g21 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); } .g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); } }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1320px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 11px; } .logo { display: block; flex: none; }
.prod { line-height: 1.15; } .prod b { display: block; color: var(--navy); font-size: 1rem; font-weight: 800; letter-spacing: .1em; } .prod small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.seg { display: flex; gap: 2px; background: var(--line2); border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.seg button { border: 0; background: none; font-weight: 800; font-size: .74rem; padding: 6px 10px; border-radius: 8px; color: var(--muted); letter-spacing: .04em; }
.seg button.on { background: var(--brand); color: #fff; }
.iconbtn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; position: relative; color: var(--navy); flex: none; }
.iconbtn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--err); box-shadow: 0 0 0 2px #fff; }
.me { display: flex; align-items: center; gap: 9px; font-size: .76rem; line-height: 1.2; color: var(--muted); } .me b { color: var(--navy); display: block; font-size: .82rem; }
.av { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .84rem; flex: none; overflow: hidden; } .av img { width: 100%; height: 100%; object-fit: cover; }
.av.lg { width: 54px; height: 54px; font-size: 1.15rem; } .av.mute { background: var(--line); color: var(--muted); }

/* hero and main tabs */
.hero { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -200px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid #ffffff0a; pointer-events: none; }
.hero::before { content: ""; position: absolute; left: 38%; bottom: -260px; width: 420px; height: 420px; border-radius: 50%; border: 50px solid #ffffff07; pointer-events: none; }
.hero .in { max-width: 1320px; margin: 0 auto; padding: 24px 20px 0; position: relative; z-index: 1; }
.htop { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.hero .eb { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #cfdcec; } .hero .eb a { color: #fff; }
.hero h1 { color: #fff; font-size: 1.75rem; margin: 6px 0 4px; } .hero h1 small { font-size: .95rem; font-weight: 600; color: #dbe5f1; margin-left: 8px; letter-spacing: 0; }
.hero .lede { color: #dbe5f1; margin: 0; text-align: left; }
.hright { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pills { display: flex; gap: 2px; padding: 3px; border-radius: 12px; flex-wrap: wrap; }
.pills.glass { background: #ffffff1a; border: 1px solid #ffffff30; }
.pills button { border: 0; background: none; color: #e4ecf5; font-weight: 700; font-size: .78rem; padding: 7px 11px; border-radius: 9px; white-space: nowrap; }
.pills button.on { background: #fff; color: var(--navy); }
.tabs { display: flex; gap: 4px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; }
.tabs a { color: #d6e1ee; font-weight: 700; font-size: .86rem; padding: 11px 15px; border-radius: 12px 12px 0 0; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; }
.tabs a:hover { color: #fff; background: #ffffff12; } .tabs a.on { background: var(--mist); color: var(--navy); }
.cnt { background: var(--err); color: #fff; border-radius: 999px; font-size: .68rem; padding: 1px 7px; font-weight: 800; }
main { max-width: 1320px; margin: 0 auto; padding: 22px 20px 40px; }
.bottom { display: none; }
.credit { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .7rem; color: var(--faint); padding: 26px 0 0; } .credit img { height: 18px; }
.banner { background: var(--sky-soft); border: 1px solid #cfe1f3; color: var(--ink); border-radius: 14px; padding: 11px 15px; margin-bottom: 16px; font-size: .84rem; text-align: justify; }
.banner.warn { background: var(--warnbg); border-color: #f0dcb8; color: #6b4308; }
.crumb { font-size: .82rem; color: var(--muted); margin: 0 0 12px; text-align: left; font-weight: 600; }
.sechd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 12px; } .sechd .crumb { margin: 0; }

/* cards and tiles */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; margin-bottom: 16px; display: block; color: inherit; }
.card > .hd, .hd.in { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .hd h2 { margin: 0; flex: 1; } .hd.in { margin-top: 22px; }
.hd .sub { color: var(--muted); font-size: .8rem; width: 100%; margin-top: -6px; }
.card.flushb { padding-bottom: 6px; } .more { font-size: .8rem; font-weight: 700; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px 12px; box-shadow: var(--shadow); position: relative; min-width: 0; overflow: hidden; }
.kpi .v { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .v small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.kpi .lab { padding-right: 40px; display: flex; gap: 7px; align-items: center; } .kpi .lab i { width: 10px; height: 10px; border-radius: 3px; }
.kpi .t { font-size: .78rem; color: var(--muted); margin-top: 3px; min-height: 1.2em; }
.kpi .kic { position: absolute; right: 14px; top: 13px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--brand); }
.kpi.alert { border-color: #efc2bd; } .kpi.alert .kic { background: var(--errbg); color: var(--err); } .kpi.alert .v { color: var(--err); }
.kpi.warn .kic { background: var(--warnbg); color: var(--warn); } .kpi.good .kic { background: var(--okbg); color: var(--ok); }
.kpi .spark { display: block; width: 100%; height: 34px; margin-top: 8px; }
.note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; } .note b { color: var(--ink); } .note.bad { color: var(--err); font-weight: 700; } .note.pad { padding: 0 0 12px; }
.empty { color: var(--faint); font-size: .86rem; text-align: center; padding: 22px 8px; margin: 0; }

/* pills, tags, buttons */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; background: var(--line2); color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.good { background: var(--okbg); color: var(--ok); } .pill.bad { background: var(--errbg); color: var(--err); } .pill.warn { background: var(--warnbg); color: var(--warn); } .pill.watch { background: var(--brass-soft); color: var(--brass-ink); } .pill.info { background: var(--sky-soft); color: var(--brand); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 7px; background: var(--line2); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; } .tag i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 11px; padding: 10px 16px; font-weight: 800; font-size: .86rem; white-space: nowrap; background: #fff; color: var(--navy); }
.btn.primary { background: var(--brass); color: #fff; box-shadow: 0 6px 16px -10px #0007; } .btn.primary:hover { filter: brightness(.96); }
.btn.navy { background: var(--brand); color: #fff; } .btn.navy:hover { background: var(--ink); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); } .btn.ghost:hover { border-color: var(--brand2); }
.btn.glass { background: #ffffff1c; border: 1px solid #ffffff36; color: #fff; }
.btn.danger.ghosty { background: #fff; color: var(--err); border: 1px solid #efc2bd; }
.btn.sm { padding: 7px 11px; font-size: .78rem; border-radius: 9px; } .btn.wide { width: 100%; } .btn[disabled] { opacity: .5; cursor: wait; }
.linkbtn { background: none; border: 0; color: var(--brand2); font-weight: 700; padding: 0; } .foot { text-align: center; margin: 10px 0 8px; font-size: .84rem; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font-size: .78rem; font-weight: 700; color: var(--text); }
.chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; } .chips .c { opacity: .7; margin-left: 4px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 0 12px; min-width: 240px; color: var(--faint); }
.search input { border: 0; outline: 0; padding: 9px 0; width: 100%; background: transparent; }

/* charts */
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line2); stroke-width: 1; } .chart .axis { stroke: #b9c6d3; stroke-width: 1; } .chart .ref { stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart text { font-family: inherit; fill: var(--muted); font-size: 11px; font-weight: 600; } .chart .xl { text-anchor: middle; } .chart .xl.b { fill: var(--navy); font-weight: 800; }
.chart .vl { text-anchor: middle; fill: var(--ink); font-weight: 800; font-size: 11.500px; } .chart .endl { fill: var(--ink); font-weight: 800; font-size: 11px; }
.chart .netline { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; } .chart .link { stroke: #b9c6d3; stroke-dasharray: 3 3; }
.chart path, .chart rect, .chart circle { transition: opacity .15s; } .chart a path:hover, .chart path[data-tip]:hover, .chart rect[data-tip]:hover { opacity: .78; }
.chart .band { fill: #2638630d; pointer-events: none; } .chart .hitcol { fill: transparent; } .chart .hitcol:hover { fill: #26386308; } .chart .hl { stroke: var(--navy); stroke-width: 2; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; } .legend i.ln { height: 3px; width: 16px; border-radius: 2px; vertical-align: 3px; }
.donut { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; } .donut svg { width: 170px; height: 170px; flex: none; margin: 0 auto; }
.donut .dmid { text-anchor: middle; font-size: 22px; font-weight: 800; fill: var(--navy); font-family: inherit; } .donut .dsub { text-anchor: middle; font-size: 11px; fill: var(--muted); font-weight: 700; font-family: inherit; }
.donut ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 170px; display: grid; gap: 2px; }
.donut li, .donut li a { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--text); } .donut li { padding: 7px 0; border-bottom: 1px solid var(--line2); } .donut li:last-child { border: 0; } .donut li a { flex: 1; }
.donut li i { width: 11px; height: 11px; border-radius: 3px; flex: none; } .donut li span { flex: 1; } .donut li b { color: var(--navy); font-variant-numeric: tabular-nums; }
.spark { display: block; }
.track { display: block; height: 9px; background: var(--line2); border-radius: 99px; overflow: hidden; flex: 1; min-width: 40px; } .track i { display: block; height: 100%; border-radius: 99px; }
.hlist { display: grid; gap: 2px; } .hrow { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: .84rem; color: var(--text); border-bottom: 1px solid var(--line2); } .hrow:last-child { border: 0; }
.hrow .hl { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hrow b { color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ranks { display: grid; } .rank { display: grid; grid-template-columns: 54px 104px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line2); color: var(--text); } .rank:last-child { border: 0; } .rank:hover .pl { color: var(--brand2); }
.rank img { width: 54px; height: 40px; object-fit: cover; border-radius: 9px; background: var(--line2); } .rank .pl { font-weight: 800; color: var(--navy); line-height: 1.2; } .rank .pl small { display: block; font-size: .7rem; color: var(--muted); font-weight: 700; } .rank b { color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bullet { padding: 26px 0 0; } .btrack { height: 14px; background: var(--line2); border-radius: 99px; position: relative; } .btrack i { display: block; height: 100%; border-radius: 99px; }
.bneed { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--navy); } .bneed em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .7rem; font-weight: 800; color: var(--navy); white-space: nowrap; padding-bottom: 2px; }
.bleg { margin-top: 12px; font-size: .86rem; } .bleg b { font-size: 1.5rem; font-weight: 800; }
.roi .v { font-size: 1.9rem; font-weight: 800; color: var(--navy); } .roi .bar { height: 10px; background: var(--line2); border-radius: 99px; overflow: hidden; margin-top: 8px; } .roi .bar i { display: block; height: 100%; border-radius: 99px; }
.minmax { font-size: .76rem; color: var(--muted); } .minmax b { color: var(--navy); }
.tip { position: fixed; z-index: 90; background: var(--navy); color: #fff; padding: 9px 12px; border-radius: 11px; font-size: .78rem; pointer-events: none; box-shadow: 0 14px 34px -14px #000a; max-width: 280px; }
.tip b { display: block; margin-bottom: 3px; } .tip span { display: block; color: #d6e1ee; }

/* alerts, rates strip, rows */
.als { display: grid; gap: 8px; } .al { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .86rem; } .al b { color: var(--navy); }
.al .ai { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--sky-soft); color: var(--brand); }
.al.bad { border-color: #f0c9c4; background: #fffafa; } .al.bad .ai { background: var(--errbg); color: var(--err); } .al.warn .ai { background: var(--warnbg); color: var(--warn); } .al.good .ai { background: var(--okbg); color: var(--ok); }
.rmini { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; } .rm { border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; color: var(--text); display: grid; gap: 1px; } .rm small { font-size: .7rem; font-weight: 700; color: var(--muted); } .rm b { color: var(--navy); font-size: 1.1rem; } .rm em { font-style: normal; font-size: .72rem; font-weight: 800; } .rm .spark { width: 100%; height: 30px; }
.rows { display: grid; } .row { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line2); background: none; text-align: left; width: 100%; color: var(--text); font-size: .86rem; } .row:last-child { border-bottom: 0; } .row:hover b { color: var(--brand2); }
.row b { color: var(--navy); display: block; } .row small { color: var(--muted); font-size: .76rem; display: block; }
.ri { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--sky-soft); color: var(--brand); } .ri[style] { background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.ri.bad { background: var(--errbg); color: var(--err); } .ri.warn { background: var(--warnbg); color: var(--warn); } .ri.watch { background: var(--brass-soft); color: var(--brass-ink); } .ri.good { background: var(--okbg); color: var(--ok); }
.scan { display: inline-flex; gap: 4px; align-items: center; color: var(--brand2); font-size: .74rem; font-weight: 800; }

/* company cards */
.cocard { border-top: 4px solid var(--c); transition: transform .15s, box-shadow .15s; } .cocard:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px #0d1f3866; }
.cotop { display: flex; gap: 12px; align-items: center; } .cotop b { color: var(--navy); font-size: 1.05rem; display: block; letter-spacing: .02em; } .cotop small { color: var(--muted); font-size: .76rem; } .cotop > div { flex: 1; }
.cobadge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); } .go { font-size: .76rem; font-weight: 800; color: var(--brand2); white-space: nowrap; }
.cobig { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 16px 0 14px; } .cobig .v { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.15; white-space: nowrap; } .cobig .t { font-size: .78rem; color: var(--muted); } .cobig .spark { width: 46%; height: 54px; }
.duo { display: grid; gap: 7px; } .duo div { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; font-size: .78rem; } .duo span { color: var(--muted); font-weight: 700; } .duo i { height: 8px; border-radius: 99px; min-width: 3px; } .duo b { color: var(--navy); font-variant-numeric: tabular-nums; }

/* vehicles */
.vgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); margin-bottom: 16px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; } .vcard:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px #0d1f3866; } .vcard.sold { opacity: .6; }
.vimg { position: relative; aspect-ratio: 16 / 10; background: var(--line2); overflow: hidden; flex: none; } .vimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; } .vimg .pill { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 8px #0003; }
.vimg .pill.good { background: #fff; } .vimg .pill.warn { background: #fff; } .vimg .pill.bad { background: var(--err); color: #fff; }
.vbody { padding: 12px 14px 14px; display: grid; gap: 3px; } .vtop { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .plate { font-weight: 800; color: var(--navy); font-size: 1.05rem; letter-spacing: .03em; }
.vbody small { color: var(--muted); font-size: .78rem; } .drv { display: flex; gap: 5px; align-items: center; }
.vres { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 9px; border-top: 1px solid var(--line2); font-size: .78rem; color: var(--muted); font-weight: 700; } .vres b { color: var(--navy); font-size: 1rem; white-space: nowrap; }
.vhead { display: grid; gap: 20px; padding: 14px; } @media (min-width: 760px) { .vhead { grid-template-columns: 340px 1fr; } }
.vph { position: relative; border-radius: 13px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--line2); } .vph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.illus { position: absolute; left: 10px; top: 10px; background: #0d1f38b3; color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.phbtn { position: absolute; right: 10px; bottom: 10px; border: 0; background: #fff; color: var(--navy); font-weight: 800; font-size: .74rem; padding: 7px 11px; border-radius: 9px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 4px 14px #0004; }
.vinfo { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 4px 6px 4px 0; } .vinfo h2.plate { font-size: 1.7rem; }
.vmeta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--text); } .vmeta span { display: inline-flex; gap: 6px; align-items: center; }
.vnums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .vnums div { background: var(--mist); border-radius: 13px; padding: 10px 13px; } .vnums small { display: block; font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; } .vnums b { font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.subtabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; box-shadow: var(--shadow); } .subtabs::-webkit-scrollbar { display: none; }
.subtabs a { padding: 9px 16px; border-radius: 10px; font-weight: 800; font-size: .84rem; color: var(--muted); white-space: nowrap; } .subtabs a.on { background: var(--brand); color: #fff; } .subtabs a:hover:not(.on) { background: var(--line2); color: var(--navy); }
.vchip { display: flex; gap: 10px; align-items: center; background: #ffffff1c; border: 1px solid #ffffff36; border-radius: 14px; padding: 6px 14px 6px 6px; color: #dbe5f1; font-size: .78rem; line-height: 1.25; } .vchip img { width: 58px; height: 42px; object-fit: cover; border-radius: 9px; } .vchip b { display: block; color: #fff; font-size: .95rem; }
.fiche { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 26px; margin: 0; } .fiche div { padding: 9px 0; border-bottom: 1px solid var(--line2); } .fiche dt { font-size: .7rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; } .fiche dd { margin: 2px 0 0; color: var(--navy); font-weight: 700; }
.scans { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; } .scans .empty { grid-column: 1 / -1; }
.scanTile { border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 0; overflow: hidden; text-align: left; } .scanTile:hover { border-color: var(--brand2); box-shadow: var(--shadow); } .scanTile img { width: 100%; height: 104px; object-fit: cover; object-position: top; display: block; background: var(--line2); } .scanTile .pdf { width: 100%; height: 104px; display: grid; place-items: center; background: var(--line2); color: var(--muted); font-weight: 800; font-size: .74rem; } .scanTile b { display: block; padding: 8px 10px; font-size: .78rem; color: var(--navy); }
.pgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); } .pgrid .card { margin: 0; }
.pcard { display: flex; gap: 13px; align-items: center; padding: 12px 0; color: var(--text); } .pcard.card { padding: 15px; } .pcard.sold { opacity: .55; } .pcard b { color: var(--navy); display: block; } .pcard small { display: block; font-size: .76rem; color: var(--muted); } .pcard .pill { margin-top: 5px; } .pcard + .pcard { border-top: 1px solid var(--line2); }
.tl { position: relative; padding-left: 22px; } .tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl .st { position: relative; padding: 0 0 15px; font-size: .84rem; display: block; background: none; border: 0; text-align: left; width: 100%; color: var(--text); } .tl .st::before { content: ""; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand2); }
.tl .st.now::before { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-soft); } .tl .st b { color: var(--navy); } .tl .d { color: var(--muted); font-size: .76rem; } .tl .rs { display: inline-block; margin-top: 3px; font-size: .74rem; background: var(--line2); color: var(--ink); border-radius: 7px; padding: 2px 8px; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 0 -20px; } .tbl-wrap.tall { max-height: 460px; overflow-y: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tbl th { text-align: left; font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; position: sticky; top: 0; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; } .tbl td b { color: var(--navy); } .tbl th:first-child, .tbl td:first-child { padding-left: 20px; } .tbl th:last-child, .tbl td:last-child { padding-right: 20px; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: #f7fafd; } .tbl .r { text-align: right; } .tbl .mb { width: 120px; } .dotc { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; }

/* entry */
.entry { display: grid; gap: 20px; } .tgroup .lab { margin-bottom: 9px; display: flex; gap: 7px; align-items: center; } .tgroup .lab i { width: 10px; height: 10px; border-radius: 3px; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tile { border: 1px solid var(--line); background: #fff; border-radius: 15px; padding: 14px; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center; transition: border-color .15s, box-shadow .15s; } .tile:hover { border-color: var(--c); box-shadow: var(--shadow); }
.tic { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); } .tile b { color: var(--navy); font-size: .95rem; } .tile span:last-child { color: var(--muted); font-size: .78rem; line-height: 1.35; }

/* forms */
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 50; background: #0d1f3870; padding: 16px; animation: fade .18s; } @keyframes fade { from { opacity: 0; } }
.sheet { background: #fff; border-radius: 22px; width: min(640px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; box-shadow: 0 30px 80px -30px #000a; overflow: hidden; } .sheet.wide { width: min(900px, 100%); }
.sheet header { background: var(--grad); color: #fff; padding: 18px 60px 18px 22px; position: relative; flex: none; } .sheet header h2 { color: #fff; margin: 4px 0 0; font-size: 1.25rem; } .sheet header p { color: #dbe5f1; margin: 6px 0 0; font-size: .84rem; }
.sheet header .eb { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #cfdcec; font-weight: 700; }
.sheet .x, .cline .x { width: 34px; height: 34px; border-radius: 10px; font-size: 1.15rem; line-height: 1; } .sheet header .x { position: absolute; top: 14px; right: 14px; border: 1px solid #ffffff40; background: #ffffff1a; color: #fff; }
.sheetbody { padding: 18px 22px; overflow-y: auto; flex: 1; } .sheetbody h3 { margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--line2); } .sheetbody h3.full { grid-column: 1 / -1; margin: 8px 0 0; }
.sheet footer { display: flex; gap: 8px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); background: #fafbfd; flex: none; flex-wrap: wrap; }
.fgrid { display: grid; gap: 13px 14px; grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } @media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.fld { display: grid; gap: 5px; align-content: start; position: relative; min-width: 0; } .fld label, .cline label { font-size: .74rem; font-weight: 800; color: var(--ink); } .fld label i { color: var(--err); font-style: normal; } .fld small { color: var(--muted); font-size: .74rem; }
.fld input, .fld textarea, .cline input, .wel-card input { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fff; width: 100%; min-width: 0; outline: 0; transition: border-color .15s, box-shadow .15s; }
.fld input:focus, .fld textarea:focus, .cline input:focus, .wel-card input:focus, .ddbtn:focus-visible, .dd.open .ddbtn { border-color: var(--brand2); box-shadow: 0 0 0 3px var(--sky-soft); }
.fld textarea { resize: vertical; min-height: 84px; } .fld input[type=file] { padding: 8px; border-style: dashed; font-size: .82rem; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink); font-size: .86rem; padding: 6px 0; } .check input { width: 18px; height: 18px; accent-color: var(--brand); }
.err { color: var(--err); background: var(--errbg); border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: .84rem; margin: 14px 0 0; text-align: left; }
.dd { position: relative; min-width: 0; }
.ddbtn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fff; color: var(--navy); font-weight: 600; text-align: left; outline: 0; transition: border-color .15s, box-shadow .15s; }
.ddbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ddbtn span.ph { color: var(--faint); font-weight: 500; } .ddbtn svg { color: var(--muted); flex: none; transition: transform .15s; } .dd.open .ddbtn svg { transform: rotate(180deg); }
.ddpan { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 50px -20px #0d1f3877; padding: 6px; animation: drop .14s; } .ddpan.up { top: auto; bottom: calc(100% + 6px); } @keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.ddpan input { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; margin-bottom: 6px; outline: 0; } .ddlist { max-height: 250px; overflow-y: auto; display: grid; gap: 1px; }
.ddlist button { border: 0; background: none; text-align: left; padding: 9px 11px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: .86rem; } .ddlist button:hover { background: var(--mist); } .ddlist button.on { background: var(--sky-soft); color: var(--brand); font-weight: 800; } .ddlist em { color: var(--faint); font-style: normal; } .ddlist p { margin: 8px; color: var(--faint); text-align: center; }
.clines { display: grid; gap: 10px; } .cline { display: grid; grid-template-columns: 1.15fr 1.5fr .7fr .9fr .7fr 34px; gap: 10px; align-items: end; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; } .cline > div { display: grid; gap: 4px; min-width: 0; }
.cline .x { border: 1px solid var(--line); background: #fff; color: var(--muted); height: 41px; } .cline .x:hover { color: var(--err); border-color: #efc2bd; }
@media (min-width: 761px) { .cl-cat { grid-column: 1; } .cl-lab { grid-column: 2; } .cl-qty { grid-column: 3; } .cl-amt { grid-column: 4; } .cl-cur { grid-column: 5; } .cline .x { grid-column: 6; } }
@media (max-width: 760px) { .cline { grid-template-columns: 1fr 1fr; } .cline .cl-lab { grid-column: 1 / -1; } .cline .x { grid-column: 1 / -1; width: 100%; } }
.addline { margin-top: 12px; }
.tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; } .tot div { background: var(--mist); border-radius: 13px; padding: 10px 13px; } .tot small { display: block; font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; } .tot b { font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
.tot .pos { background: var(--okbg); } .tot .pos b { color: var(--ok); } .tot .neg { background: var(--errbg); } .tot .neg b { color: var(--err); } .tot p { grid-column: 1 / -1; font-size: .76rem; color: var(--muted); margin: 0; text-align: left; }
.checks { display: grid; gap: 8px; } .chk { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .86rem; color: var(--ink); font-weight: 600; } .chk > input { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.okko { display: flex; gap: 4px; } .okko input { position: absolute; opacity: 0; } .okko b { display: block; padding: 6px 11px; border-radius: 9px; border: 1px solid var(--line); font-size: .76rem; color: var(--muted); cursor: pointer; } .okko input:checked + b { background: var(--okbg); border-color: var(--okbg); color: var(--ok); } .okko .ko input:checked + b { background: var(--errbg); border-color: var(--errbg); color: var(--err); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; } .thumb { position: relative; } .thumb img { width: 86px; height: 66px; object-fit: cover; border-radius: 10px; display: block; } .thumb button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; line-height: 1; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; } .pk { position: relative; border: 2px solid var(--line); border-radius: 13px; overflow: hidden; cursor: pointer; } .pk input { position: absolute; opacity: 0; } .pk img { width: 100%; height: 104px; object-fit: cover; object-position: top; display: block; } .pk .pdf { width: 100%; height: 104px; display: grid; place-items: center; background: var(--line2); color: var(--muted); } .pk b { display: block; padding: 7px 9px; font-size: .74rem; color: var(--navy); line-height: 1.3; }
.pk i { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: transparent; display: grid; place-items: center; box-shadow: 0 2px 6px #0003; } .pk:has(input:checked) { border-color: var(--brand2); } .pk:has(input:checked) i { background: var(--brand2); color: #fff; }
.viewer { display: grid; gap: 18px; } @media (min-width: 760px) { .viewer { grid-template-columns: 1.6fr 1fr; } }
.vpic { background: var(--navy); border-radius: 14px; overflow: hidden; display: grid; place-items: center; min-height: 260px; } .vpic img { max-width: 100%; max-height: 62vh; display: block; } .vpic iframe { width: 100%; height: 62vh; border: 0; background: #fff; }
.noscan { color: #cfdcec; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 34px 20px; } .noscan b { color: #fff; } .noscan span { font-size: .82rem; max-width: 280px; }
.vside .fiche { grid-template-columns: 1fr; } .vstat { margin-bottom: 8px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: .86rem; opacity: 0; transition: all .25s; z-index: 95; box-shadow: 0 14px 40px -14px #000a; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); } .toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; font-style: normal; font-size: .8rem; } .toast.bad i { background: var(--err); }

/* sign-in: the house standard */
.wel { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr; background: var(--mist); } @media (min-width: 900px) { .wel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.wel-l { background: var(--grad); color: #fff; padding: 48px clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.wel-l::after { content: ""; position: absolute; right: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid #ffffff0a; }
.wel-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; position: relative; z-index: 1; } .wel-brand .logo rect { fill: #ffffff24; } .wel-brand b { display: block; letter-spacing: .14em; font-size: 1.05rem; } .wel-brand span { color: #cfdcec; font-size: .86rem; }
.wel-slogan { font-size: clamp(2rem, 3.500vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; max-width: 720px; position: relative; z-index: 1; }
.wel-r { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 20px; gap: 18px; position: relative; }
.wel-lang { position: absolute; top: 20px; right: 20px; background: #fff; }
.wel-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px -40px #0d1f3888; padding: 32px 30px; width: min(440px, 100%); display: grid; gap: 14px; }
.wel-card h2 { font-size: 1.7rem; margin: -6px 0 0; } .wel-card p { text-align: left; margin: -8px 0 4px; color: var(--muted); font-weight: 700; font-size: .8rem; letter-spacing: .06em; } .wel-card .err { margin: 0; color: var(--err); letter-spacing: 0; }
.wel-go { padding: 15px 18px; font-size: 1rem; margin-top: 4px; }
.wel-foot { font-size: .68rem; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; width: min(440px, 100%); } .wel-foot img { height: 18px; }
@media (min-width: 900px) { .wel-foot { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); } }

/* phone */
@media (max-width: 1100px) { .me div { display: none; } }
@media (max-width: 760px) {
  body { font-size: 14px; padding-bottom: 68px; }
  .topbar .in { padding: 8px 12px; gap: 8px; } .prod small, .topbar .iconbtn[href] { display: none; } .prod b { font-size: .86rem; } .topbar .logo { width: 30px; height: 30px; } .seg button { padding: 6px 8px; }
  .hero .in { padding: 16px 14px 16px; } .hero h1 { font-size: 1.35rem; } .hero .tabs { display: none; } .hright { width: 100%; } .pills { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; max-width: 100%; }
  main { padding: 14px 12px 30px; } .card { padding: 15px; border-radius: 16px; } .tbl-wrap { margin: 0 -15px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 12px; } .kpi .v { font-size: 1.15rem; } .kpi .kic { display: none; } .kpi .lab { padding: 0; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 10px; } .vbody { padding: 10px; } .plate { font-size: .95rem; } .vres { flex-direction: column; align-items: flex-start; gap: 2px; }
  .rank { grid-template-columns: 44px 84px 1fr auto; gap: 8px; } .rank img { width: 44px; height: 34px; } .donut svg { width: 150px; height: 150px; } .vnums b { font-size: .95rem; } .vinfo h2.plate { font-size: 1.35rem; }
  .bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom a { flex: 1; display: grid; justify-items: center; gap: 2px; font-size: .64rem; font-weight: 700; color: var(--muted); padding: 5px 2px; border-radius: 10px; position: relative; } .bottom a.on { color: var(--brand); background: var(--sky-soft); } .bottom .cnt { position: absolute; top: 0; right: 18%; }
  .modal { padding: 0; place-items: end center; } .sheet { border-radius: 22px 22px 0 0; max-height: 94dvh; width: 100%; } .sheet footer .btn { flex: 1; } .tot { grid-template-columns: 1fr; }
  .prod b { white-space: nowrap; letter-spacing: .04em; } .me .av, .me .iconbtn { display: none; } .tbl td:first-child { white-space: nowrap; }
  .search { min-width: 0; width: 100%; } .credit { flex-direction: column; text-align: center; }
}

/* period control */
.per { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .pills button[disabled] { opacity: .35; cursor: default; }
.step { display: flex; align-items: center; border-radius: 12px; padding: 3px; } .step.glass { background: #ffffff1a; border: 1px solid #ffffff30; }
.step button { border: 0; background: none; color: #fff; width: 34px; height: 32px; border-radius: 9px; font-size: 1.25rem; line-height: 1; font-weight: 700; } .step button:hover { background: #ffffff22; }
.step b { color: #fff; font-size: .9rem; padding: 0 10px; min-width: 128px; text-align: center; white-space: nowrap; }
.kpi .v .alt, .alt { display: block; font-size: .86rem; color: var(--muted); font-weight: 700; margin-top: 3px; letter-spacing: 0; }

/* dashboard options (phone first) */
.sec { margin: 22px 2px 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); }
.bigcard { background: var(--grad); color: #fff; border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -22px #263c63aa; position: relative; overflow: hidden; margin-bottom: 4px; } .bigcard.neg { background: linear-gradient(120deg, #7c2f2f, #a84a3f); }
.bigcard .lab { color: #cfdcec; } .bigcard .bv { font-size: clamp(2.1rem, 9vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; white-space: nowrap; } .bigcard .bs { color: #e4ecf5; font-weight: 700; font-size: .95rem; }
.bigcard .spark { width: 100%; height: 56px; margin: 12px 0 10px; opacity: .9; } .bduo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .bduo div { background: #ffffff1c; border: 1px solid #ffffff2e; border-radius: 14px; padding: 10px 13px; display: grid; }
.bduo small { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #cfdcec; } .bduo b { font-size: 1.1rem; white-space: nowrap; } .bduo span { font-size: .78rem; color: #dbe5f1; }
.colist { display: grid; gap: 10px; } @media (min-width: 960px) { .colist { grid-template-columns: repeat(3, 1fr); } }
.corow { display: flex; gap: 12px; align-items: center; margin: 0; padding: 14px; border-left: 4px solid var(--c); color: var(--text); } .corow b { color: var(--navy); display: block; font-size: 1rem; } .corow small { display: block; font-size: .74rem; color: var(--muted); } .corow .track { margin: 7px 0 4px; height: 7px; } .corow .cr { text-align: right; white-space: nowrap; } .corow .cr b { font-size: 1.1rem; } .corow > .ic { color: var(--faint); }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; } .hscroll::-webkit-scrollbar { display: none; }
.hscroll .als { display: flex; gap: 10px; } .hscroll .al { flex: none; white-space: nowrap; scroll-snap-align: start; box-shadow: var(--shadow); }
.vmini { flex: none; width: 148px; background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); color: var(--text); display: grid; scroll-snap-align: start; padding-bottom: 10px; }
.vm-img { position: relative; height: 92px; display: block; background: var(--line2); } .vm-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .vm-img .pill { position: absolute; left: 7px; top: 7px; background: #fff; font-size: .64rem; } .vm-img .pill.bad { background: var(--err); color: #fff; }
.vmini b { color: var(--navy); padding: 8px 11px 0; letter-spacing: .03em; } .vmini small { padding: 0 11px; font-size: .7rem; color: var(--muted); font-weight: 700; } .vmini em { font-style: normal; font-weight: 800; color: var(--ok); padding: 4px 11px 0; white-space: nowrap; font-size: .92rem; }
.vmini.allv { place-items: center; align-content: center; gap: 6px; color: var(--brand2); padding: 10px; text-align: center; } .vmini.allv b { padding: 0; color: var(--brand2); font-size: .82rem; }
.cotabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 14px; box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.cotabs button { flex: 1; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 800; font-size: .84rem; color: var(--muted); white-space: nowrap; } .cotabs button.on { background: var(--c, var(--brand)); color: #fff; }
.ringcard .donut svg { width: 170px; height: 170px; } .rl li { align-items: flex-start; } .rl b { text-align: right; white-space: nowrap; font-size: 1rem; } .rl b small { display: block; font-size: .74rem; color: var(--muted); font-weight: 700; }
.stack { display: flex; gap: 3px; height: 12px; border-radius: 99px; overflow: hidden; margin: 16px 0 10px; } .stack i { display: block; border-radius: 4px; } .ringcard .legend { margin: 0; } .ringcard .legend b { color: var(--navy); }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; } .t3 { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; box-shadow: var(--shadow); display: grid; min-width: 0; }
.t3 small { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .t3 b { color: var(--navy); font-size: clamp(.95rem, 4.2vw, 1.5rem); white-space: nowrap; letter-spacing: -.02em; } .t3 span { font-size: .76rem; color: var(--muted); font-weight: 700; white-space: nowrap; } .t3.pos b { color: var(--ok); } .t3.neg b { color: var(--err); }
.cmp { padding: 4px 0 12px; } .cmp + .cmp { border-top: 1px solid var(--line2); padding-top: 14px; } .cmp .lab { margin-bottom: 2px; } .cmp .hrow { border: 0; padding: 6px 0; grid-template-columns: 92px 1fr auto; }
@media (max-width: 760px) { .bottom a span { white-space: nowrap; font-size: .6rem; } .per { width: 100%; } .per .pills { flex: 1 1 100%; overflow: visible; } .per .pills button { flex: 1; } .step { flex: 1; justify-content: space-between; } .step b { min-width: 0; } .tri { gap: 7px; } .t3 { padding: 10px; } }

.need { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .need div { background: var(--mist); border-radius: 14px; padding: 12px 14px; display: grid; } .need small { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); } .need b { font-size: 1.9rem; color: var(--navy); line-height: 1.15; } .need span { font-size: .78rem; color: var(--muted); } .need .pos { background: var(--okbg); } .need .pos b { color: var(--ok); } .need .neg { background: var(--errbg); } .need .neg b { color: var(--err); }

/* larger windows, floating drop-downs */
.sheet { width: min(780px, 100%); min-height: min(520px, calc(100dvh - 32px)); } .sheet.wide { width: min(980px, 100%); }
.ddpan { position: fixed; z-index: 80; right: auto; top: auto; min-width: 0; } .ddlist { max-height: none; } .ddlist button { padding: 11px 12px; font-size: .9rem; }
.tot.one { grid-template-columns: 1fr; } .cotabs button i { font-style: normal; font-size: .7rem; font-weight: 800; background: var(--line2); color: var(--muted); border-radius: 99px; padding: 1px 7px; margin-left: 7px; } .cotabs button.on i { background: #ffffff33; color: #fff; }
.occ { display: grid; } .orow { display: grid; grid-template-columns: 96px 1fr 110px auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line2); color: var(--text); font-size: .86rem; } .orow:last-child { border: 0; } .orow > b { color: var(--navy); } .orow .track { height: 12px; } .od { color: var(--muted); white-space: nowrap; } .od b { color: var(--navy); font-size: 1rem; } .orow .num { font-weight: 800; color: var(--navy); min-width: 80px; text-align: right; }
@media (max-width: 760px) { .sheet { min-height: 0; } .orow { grid-template-columns: 78px 1fr auto; } .orow .num { display: none; } }

.vdue { margin-top: 6px; }

.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; } .catc { display: grid; grid-template-columns: 12px 1fr; gap: 2px 10px; align-items: center; border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; background: #fff; text-align: left; } .catc i { width: 12px; height: 12px; border-radius: 4px; } .catc b { color: var(--navy); font-size: .88rem; } .catc small { grid-column: 2; font-size: .72rem; color: var(--muted); min-height: 1em; display: flex; gap: 8px; } .catc em { font-style: normal; color: var(--faint); } .catc.own { border-color: #cfe1f3; background: var(--sky-soft); cursor: pointer; } .catc.own:hover { border-color: var(--brand2); }

.vper { font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: -6px; }

.logf { margin-bottom: 10px; } #logRows { max-height: 520px; overflow-y: auto; } #logRows .row b { font-weight: 700; }

.note.top { margin: 0 0 12px; font-size: .9rem; color: var(--text); }

/* Paramètres as cards, and the locked screen */
.setgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.setcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 20px; display: grid; gap: 6px; color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; min-height: 168px; align-content: start; }
.setcard:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px #0d1f3866; border-color: var(--brand2); }
.setcard .sic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--sky-soft); color: var(--brand); margin-bottom: 8px; }
.setcard b { color: var(--navy); font-size: 1.05rem; } .setcard > span:not(.sic) { font-size: .84rem; color: var(--muted); line-height: 1.45; padding-right: 20px; }
.setcard > i { position: absolute; right: 18px; top: 24px; color: var(--faint); } .setcard em { font-style: normal; display: inline-flex; gap: 5px; align-items: center; width: max-content; margin-top: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-ink); background: var(--brass-soft); padding: 4px 10px; border-radius: 99px; }
.setcard.locked .sic { background: var(--brass-soft); color: var(--brass-ink); } .setcard.locked { border-color: #e6d6b4; }
.lockbox { max-width: 520px; margin: 30px auto; text-align: center; padding: 38px 32px 30px; display: grid; gap: 12px; justify-items: center; }
.lockbox .lk { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 30px -16px #263c63aa; }
.lockbox h2 { font-size: 1.4rem; } .lockbox p { text-align: center; margin: 0; max-width: 400px; } .lockbox small { color: var(--faint); font-size: .76rem; max-width: 400px; }
#pinForm { display: grid; gap: 10px; width: min(300px, 100%); margin-top: 8px; } #pinForm input { border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; font-size: 1.6rem; letter-spacing: .5em; font-weight: 800; outline: 0; width: 100%; } #pinForm input:focus { border-color: var(--brand2); box-shadow: 0 0 0 3px var(--sky-soft); } #pinForm .btn { padding: 13px; } #pinForm .err { margin: 0; text-align: center; }
.banner.ok { background: var(--okbg); border-color: #bfe3cf; color: #0b5c3e; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.tarifbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; } .tarifbox:empty { display: none; } .tarifbox div { background: var(--mist); border-radius: 13px; padding: 11px 13px; display: grid; } .tarifbox small { font-size: .66rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; } .tarifbox b { font-size: 1.08rem; color: var(--navy); white-space: nowrap; } .tarifbox p { grid-column: 1 / -1; margin: 0; color: var(--err); font-weight: 700; text-align: left; } .similar b { font-size: .78rem; } @media (max-width: 760px) { .tarifbox { grid-template-columns: 1fr; } }

.warnbox { margin-top: 16px; background: var(--warnbg); border: 1px solid #f0dcb8; border-radius: 14px; padding: 14px 16px; color: #6b4308; } .warnbox > b { display: flex; gap: 8px; align-items: center; font-size: .95rem; } .warnbox ul { margin: 8px 0; padding-left: 20px; } .warnbox li { margin: 3px 0; } .warnbox p { margin: 0; font-size: .84rem; text-align: left; }

/* Saisies: layout options */
.ratebox { width: 100%; display: flex; gap: 16px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--warn); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-bottom: 16px; }
.ratebox.done { border-left-color: var(--ok); } .ratebox .tic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--warnbg); color: var(--warn); flex: none; } .ratebox.done .tic { background: var(--okbg); color: var(--ok); }
.ratebox div { flex: 1; display: grid; min-width: 0; } .ratebox small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .ratebox b { font-size: 1.2rem; color: var(--navy); } .ratebox span { color: var(--muted); font-size: .84rem; } .ratebox em { font-style: normal; font-weight: 800; color: var(--brand2); white-space: nowrap; font-size: .86rem; }
.bigtiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 16px; }
.bigtile { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 5px; text-align: left; min-height: 178px; align-content: start; transition: transform .15s, box-shadow .15s; } .bigtile:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px #0d1f3866; }
.bigtile .tic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); margin-bottom: 6px; } .bigtile em { position: absolute; left: 86px; top: 34px; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--c); }
.bigtile b { color: var(--navy); font-size: 1.1rem; } .bigtile > span:not(.tic) { color: var(--muted); font-size: .84rem; } .bigtile small { margin-top: 6px; font-size: .74rem; font-weight: 800; color: var(--ink); background: var(--mist); border-radius: 99px; padding: 3px 10px; width: max-content; } .bigtile > i { position: absolute; right: 18px; top: 22px; width: 34px; height: 34px; border-radius: 11px; background: var(--c); color: #fff; display: grid; place-items: center; }
.cocol { border-top: 4px solid var(--c); display: grid; gap: 10px; align-content: start; } .cchead { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; } .cchead b { display: block; color: var(--navy); font-size: 1.05rem; } .cchead small { color: var(--muted); font-size: .76rem; } .cocol .act { background: var(--c); color: #fff; padding: 13px; font-size: .95rem; } .cocol p { margin: 0; font-size: .82rem; color: var(--muted); text-align: left; }
.cstat { display: flex; gap: 8px; align-items: baseline; background: var(--mist); border-radius: 12px; padding: 8px 12px; } .cstat b { font-size: 1.25rem; color: var(--navy); } .cstat span { font-size: .8rem; color: var(--muted); }
.steps { display: grid; } .dstep { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line2); } .dstep:last-child { border: 0; } .dnum { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); flex: none; } .dstep.done .dnum { background: var(--okbg); color: var(--ok); }
.dstep b { display: block; color: var(--navy); } .dstep small { color: var(--muted); font-size: .8rem; }
@media (max-width: 760px) { .ratebox { flex-wrap: wrap; } .ratebox em { width: 100%; } }

/* our own calendar: day / month / year */
.dp .ddbtn span { font-variant-numeric: tabular-nums; letter-spacing: .02em; } .ddpan.cal { padding: 12px; }
.calh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .calh b { color: var(--navy); font-size: .95rem; } .calh button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; line-height: 1; color: var(--navy); }
.calw, .calg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; } .calw span { font-size: .68rem; font-weight: 800; color: var(--faint); padding: 4px 0; }
.calg button { border: 0; background: none; height: 36px; border-radius: 10px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; } .calg button:hover { background: var(--mist); } .calg button.today { box-shadow: inset 0 0 0 1.5px var(--brass); } .calg button.on { background: var(--brand); color: #fff; }
.calf { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line2); } .calf button { border: 0; background: none; color: var(--brand2); font-weight: 800; font-size: .82rem; padding: 4px 6px; }

/* Saisies: entries as dated rows; inline forms (rates, mileage) that need no pop-up */
.entries { display: grid; }
.entry-row { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line2); background: none; text-align: left; color: var(--text); font: inherit; }
button.entry-row { cursor: pointer; } button.entry-row:hover { background: #f6f8fb; }
.entry-row .grow { min-width: 0; display: grid; gap: 2px; }
.entry-row small { color: var(--muted); font-size: .76rem; }
.eday { width: 46px; flex: none; display: grid; justify-items: center; line-height: 1.05; padding: 5px 0; border-radius: 12px; background: #f1f5fa; color: var(--navy); }
.eday b { font-size: 1.1rem; } .eday small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.eline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.eline b { color: var(--navy); font-size: .92rem; }
.ktag { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #e9eef5; color: #2f5d8a; white-space: nowrap; }
.ktag.trip, .ktag.egbt { background: #e4f1ec; color: #0f7a52; }
.ktag.tour, .ktag.bazit, .ktag.rent { background: #fbf0dd; color: #8a5a0b; }
.ktag.km { background: #e8eefb; color: #2f5d8a; }
.ktag.insp { background: #efe9f7; color: #5b3d8f; }
.ktag.exp { background: #f9e7e6; color: #b3261e; }
.eamt { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eamt.pos { color: var(--ok); } .eamt.neg { color: var(--err); }
.inlform { display: grid; gap: 12px; }
.inlform .fgrid { gap: 12px 14px; }
.inlfoot { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.inlfoot .err { margin: 0 auto 0 0; color: var(--err); font-weight: 700; font-size: .85rem; }
.inlform .warnbox { border-radius: 14px; padding: 12px 14px; background: var(--warnbg); color: var(--warn); }
.inlform .warnbox ul { margin: 6px 0; padding-left: 18px; }
.crewbox { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f1f5fa; }
.crewbox small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crewbox b { color: var(--navy); }
.crewbox p { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--muted); }
.kmi { display: inline-flex; align-items: baseline; gap: 6px; }
.kmi b { color: var(--navy); } .kmi small { color: var(--muted); font-size: .76rem; }
a.ratebox { text-decoration: none; color: inherit; }

.grid.top { align-items: start; }
.roadcard summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; } .roadcard summary::-webkit-details-marker { display: none; }
.roadcard summary .hd { flex: 1; margin: 0; } .roadcard .chev { color: var(--muted); transition: transform .15s; } .roadcard details[open] .chev { transform: rotate(90deg); }
.roadcard .search { margin: 12px 0 4px; display: flex; } .roadlist { max-height: 460px; overflow-y: auto; } .roadlist .entry-row[hidden] { display: none; }
.roadcard summary .hd { display: grid; gap: 5px; } .roadcard summary .hd h2 { margin: 0; }
.roadlist { max-height: 560px; } .eamt { color: var(--navy); }

/* Échéances: the three layouts under review (/echeances.html) */
.wks { display: grid; grid-template-columns: repeat(13, 1fr); gap: 8px; height: 220px; align-items: end; padding-top: 8px; }
.wk { display: grid; grid-template-rows: auto 1fr auto; height: 100%; justify-items: center; gap: 5px; min-width: 0; }
.wk b { color: var(--navy); font-size: .9rem; min-height: 1.1em; } .wk i { display: block; width: 100%; max-width: 46px; align-self: end; border-radius: 9px 9px 3px 3px; min-height: 3px; background: var(--ok); }
.wk.bad i { background: var(--err); } .wk.warn i { background: #c98a1f; } .wk.watch i { background: #c9a227; }
.wk small { font-size: .66rem; color: var(--muted); white-space: nowrap; font-weight: 700; } .wk.bad small { color: var(--err); }
.dueitems { display: grid; } .dueitems.scrolly { max-height: 420px; overflow-y: auto; }
.dueitem { display: flex; gap: 12px; align-items: center; width: 100%; padding: 9px 2px; border: 0; border-bottom: 1px solid var(--line2); background: none; text-align: left; font: inherit; color: var(--text); text-decoration: none; cursor: pointer; }
.dueitem:hover { background: #f6f8fb; } .dueitem .grow { min-width: 0; display: grid; gap: 2px; } .dueitem b { color: var(--navy); } .dueitem small { color: var(--muted); font-size: .76rem; }
.dth { width: 58px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; background: #e9eef5; } .dth.av { display: grid; place-items: center; font-weight: 800; color: #2f5d8a; font-size: 1.05rem; }
.dcount { flex: none; min-width: 74px; display: grid; justify-items: center; padding: 6px 10px; border-radius: 12px; line-height: 1.1; background: var(--okbg); color: var(--ok); }
.dcount b { font-size: 1.15rem; color: inherit; } .dcount small { font-size: .62rem; color: inherit; font-weight: 700; }
.dcount.bad { background: var(--errbg); color: var(--err); } .dcount.warn { background: var(--warnbg); color: var(--warn); } .dcount.watch { background: #faf3d6; color: #8a6d0b; }
.dmx td, .dmx th { white-space: nowrap; } .dmx th:first-child, .dmx td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.dcell { border: 0; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 800; text-decoration: none; }
.months { align-items: start; } .mcard .hd { display: flex; align-items: center; justify-content: space-between; } .mcard.late { border-top: 4px solid var(--err); }
.mcount { min-width: 30px; text-align: center; padding: 3px 9px; border-radius: 999px; background: #e9eef5; color: var(--navy); font-weight: 800; font-size: .8rem; }
.mrows { display: grid; max-height: 330px; overflow-y: auto; }
.mrow { display: flex; gap: 11px; align-items: center; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--line2); background: none; text-align: left; font: inherit; color: var(--text); text-decoration: none; cursor: pointer; width: 100%; }
.mrow .grow { min-width: 0; display: grid; } .mrow b { color: var(--navy); font-size: .88rem; } .mrow small { color: var(--muted); font-size: .74rem; }
.mday { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--okbg); color: var(--ok); }
.mday.bad { background: var(--errbg); color: var(--err); } .mday.warn { background: var(--warnbg); color: var(--warn); } .mday.watch { background: #faf3d6; color: #8a6d0b; }
@media (max-width: 760px) { .wks { gap: 4px; height: 180px; } .wk small { font-size: .52rem; } .wk:nth-child(2n+3) small { visibility: hidden; } .dth { width: 46px; height: 38px; } }

.morebar { padding: 10px 20px 14px; text-align: center; border-top: 1px solid var(--line2); } .morebar .linkbtn { font-weight: 800; }

/* Échéances: 31–60 days reads blue, so it cannot be confused with the orange of « dans les 30 jours » */
.dmx .pill.watch, .dcount.watch, .mday.watch { background: #e6effa; color: #23578f; } .wk.watch i { background: #2f6fb5; } .wk.warn i { background: #e07b1a; }
.dmx .pill.warn { background: #fdebd8; color: #b4570a; }

/* Personnel and Paramètres: layouts under review (/personnel.html, /parametres.html) */
.pcell { display: inline-flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; } .pcell b { color: var(--navy); } .pcell .av { width: 34px; height: 34px; font-size: .85rem; flex: none; }
.pcell .av img, .prow .av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
tr.gone, .prow.gone { opacity: .5; } .dth.sm { width: 46px; height: 34px; border-radius: 9px; }
.cocols { align-items: start; } .prows { display: grid; max-height: 520px; overflow-y: auto; } .prows.tallp { max-height: 640px; }
.prow { display: flex; gap: 11px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line2); color: var(--faint); text-decoration: none; }
.prow .av { width: 38px; height: 38px; flex: none; font-size: .9rem; } .prow .grow { min-width: 0; display: grid; } .prow b { color: var(--navy); font-size: .9rem; } .prow small { color: var(--muted); font-size: .75rem; }
.prow:hover { background: #f6f8fb; }
.setgh { margin: 22px 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .setgh:first-child { margin-top: 0; }
.setcard.fig strong { font-size: 1.9rem; color: var(--navy); line-height: 1; display: flex; gap: 8px; align-items: baseline; } .setcard.fig strong small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.setlist { padding: 6px 20px; } .setrow { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line2); color: var(--faint); text-decoration: none; } .setrow:last-child { border-bottom: 0; }
.setrow .sic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--sky-soft); color: var(--brand); flex: none; } .setrow.locked .sic { background: var(--brass-soft); color: var(--brass-ink); }
.setrow .grow { display: grid; gap: 2px; min-width: 0; } .setrow b { color: var(--navy); } .setrow small { color: var(--muted); font-size: .8rem; } .setn { font-weight: 800; color: var(--navy); font-size: .82rem; white-space: nowrap; background: #eef2f6; padding: 4px 11px; border-radius: 999px; }
.setrow:hover b { color: var(--brand); }
.setsplit { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; } .setnav { padding: 8px; display: grid; gap: 2px; position: sticky; top: 12px; }
.setnav a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; color: var(--muted); text-decoration: none; } .setnav a .grow { display: grid; } .setnav a b { color: var(--navy); font-size: .9rem; } .setnav a small { font-size: .74rem; color: var(--muted); }
.setnav a.on { background: var(--brand); color: #fff; } .setnav a.on b, .setnav a.on small { color: #fff; } .setnav a:not(.on):hover { background: #f1f5fa; } .setmain { min-width: 0; }
@media (max-width: 860px) { .setsplit { grid-template-columns: 1fr; } .setnav { position: static; grid-auto-flow: column; overflow-x: auto; } .setnav a small { display: none; } .setnav a { white-space: nowrap; } }

/* Saisies: the day's rate typed on the first card; Personnel: two figures, four company cards */
.ratecard { border-left: 5px solid var(--warn); } .ratecard.done { border-left-color: var(--ok); } .ratecard .hd { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .ratecard .hd .sub { flex-basis: 100%; }
.fgrid.r5 { grid-template-columns: 1.1fr repeat(4, 1fr); } @media (max-width: 900px) { .fgrid.r5 { grid-template-columns: 1fr 1fr; } .fgrid.r5 > :first-child { grid-column: 1 / -1; } }
.kpis.two { grid-template-columns: repeat(2, minmax(0, 320px)); } @media (max-width: 640px) { .kpis.two { grid-template-columns: 1fr 1fr; } }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .grid.c4 { grid-template-columns: 1fr; } }
.rm b i { font-style: normal; font-size: .7rem; color: var(--muted); font-weight: 700; } .kpi.rk .t + .t { margin-top: 2px; } .tbl th small { font-weight: 700; opacity: .7; }

/* Cours de change: layouts under review (/cours.html) */
.rbig { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; } .rbig > b { font-size: 3rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; } .rbig span b { color: var(--navy); } .rbig small { font-size: 1.05rem; font-weight: 800; color: var(--muted); }
.rbig span { font-size: .86rem; color: var(--muted); margin-left: 8px; } .rbig.sm > b { font-size: 1.9rem; } .rbig.sm { margin: 2px 0 4px; }
.rstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; } .rstats div { background: #f1f5fa; border-radius: 13px; padding: 10px 14px; display: grid; gap: 2px; }
.rstats small { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); } .rstats b { color: var(--navy); font-size: 1.15rem; }
.rside { display: grid; gap: 16px; align-content: start; } .rside .card { margin: 0; } .rstep { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
.rtab tr.sel td { background: #f1f5fa; } .rtab td { white-space: nowrap; } .chips.rcur { margin-bottom: 14px; } .card .chips.rcur { margin: 0; }
@media (max-width: 760px) { .rstats { grid-template-columns: 1fr 1fr; } .rbig > b { font-size: 2.3rem; } }

.fld input.fixed { background: #f1f5fa; color: var(--navy); font-weight: 800; border-color: transparent; cursor: default; } .cal .calg button:disabled { opacity: .28; cursor: not-allowed; }

/* Paramètres (menu on the left): the right pane always stands as tall as the menu, whatever the section */
.setsplit { align-items: start; } .setmain > .card, .setmain > .lockbox { margin: 0; } .setmain > .lockbox { max-width: none; align-content: center; }
.setmain > .card.fixedh { display: flex; flex-direction: column; overflow: hidden; } .setmain > .card.fixedh #logRows { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }
.tiles.rows3 { grid-template-columns: 1fr; grid-auto-rows: 1fr; height: 100%; } .setmain > .card:has(.rows3) { display: grid; grid-template-rows: auto 1fr; } .tiles.rows3 .tile { padding: 18px; }
.setmain #logRows { max-height: 430px; } .setmain #userRows .row { padding: 13px 2px; }
.setgh.co { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; } .setgh.co i { width: 10px; height: 10px; border-radius: 3px; } .setgh.co small { font-weight: 800; color: var(--navy); letter-spacing: 0; }
a.catc { text-decoration: none; color: inherit; } a.catc:hover { border-color: var(--brand2); } .catc.gone { opacity: .5; }
.wel-card .linkbtn { margin-top: 10px; justify-self: center; }

.morebar.in { padding: 12px 0 2px; border-top: 0; }

[hidden] { display: none !important; }

/* the locked-tariffs card is exactly as tall as the menu beside it */
.setmain > .lockbox { padding: 20px 28px; gap: 8px; margin: 0; box-sizing: border-box; overflow: hidden; } .setmain > .lockbox .lk { width: 56px; height: 56px; border-radius: 18px; } .setmain > .lockbox h2 { font-size: 1.2rem; margin: 0; } .setmain > .lockbox p, .setmain > .lockbox small { max-width: 520px; }

.lockline { margin: 10px 4px 0; font-size: .78rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .lockline .linkbtn { font-size: .78rem; }

.setmain > .card.fixedh #userRows { flex: 1; min-height: 0; overflow-y: auto; }

/* trip page: the margin read as a sum */
.calc { display: grid; gap: 2px; } .crow { display: grid; grid-template-columns: 18px minmax(120px, 1.1fr) 2fr auto 52px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line2); }
.csign { font-weight: 800; color: var(--muted); text-align: center; } .clab { color: var(--text); font-size: .9rem; } .cbar { height: 12px; border-radius: 99px; background: #f1f5fa; overflow: hidden; } .cbar i { display: block; height: 100%; border-radius: 99px; background: #c98a1f; }
.cval { color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; } .cpct { color: var(--muted); font-size: .76rem; text-align: right; }
.crow.first .cbar i { background: #2f6fb5; } .crow.first .clab, .crow.last .clab { font-weight: 800; color: var(--navy); } .crow.last { border-bottom: 0; border-top: 2px solid var(--navy); margin-top: 4px; padding-top: 12px; } .crow.last .cbar i { background: var(--ok); } .crow.last .cval { color: var(--ok); font-size: 1.1rem; } .crow.last .csign { color: var(--navy); }
.crow.neg .cbar i { background: var(--err); } .crow.neg .cval { color: var(--err); }
@media (max-width: 640px) { .crow { grid-template-columns: 14px 1fr auto; } .cbar, .cpct { display: none; } }

/* trip page: breakdown of the price billed */
.psplit { display: flex; gap: 3px; height: 34px; border-radius: 12px; overflow: hidden; margin: 6px 0 16px; } .psplit i { display: block; min-width: 4px; }
.plist { display: grid; } .prw { display: grid; grid-template-columns: 12px 1fr auto 56px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line2); } .prw:last-child { border-bottom: 0; }
.prw i { width: 12px; height: 12px; border-radius: 4px; } .prw span { color: var(--text); font-size: .9rem; } .prw b { color: var(--navy); font-variant-numeric: tabular-nums; } .prw small { color: var(--muted); font-size: .8rem; text-align: right; }
.prw.mg span, .prw.mg b { font-weight: 800; color: var(--ok); } .prw.mg.neg span, .prw.mg.neg b { color: var(--err); }

/* dashboard: one sentence under each ranked vehicle saying why it is there */
.ranks.rwhy .rw { border-bottom: 1px solid var(--line2); padding: 4px 0 10px; } .ranks.rwhy .rw:last-child { border-bottom: 0; } .ranks.rwhy .rank { border: 0; padding-bottom: 4px; }
.why { margin: 0 0 0 66px; font-size: .82rem; line-height: 1.45; color: var(--text); } @media (max-width: 760px) { .why { margin-left: 0; } }

/* confidentiality: the page blurs when the window is not active, nothing can be selected or printed */
#shield { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; background: rgba(13, 31, 56, .95); color: #fff; text-align: center; font-size: 1.1rem; font-weight: 700; cursor: pointer; padding: 24px; }
#shield span { font-size: .88rem; color: #e3c98f; font-weight: 600; }
body.shielded #shield { display: grid; } body.shielded #app, body.shielded .modal, body.shielded .ddpan, body.shielded .toast { filter: blur(18px); }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } input, textarea, select { -webkit-user-select: text; user-select: text; }
@media print { body * { visibility: hidden !important; } body::after { content: 'Charroi-BAZ · données confidentielles : impression désactivée.'; visibility: visible; position: fixed; top: 40%; left: 0; right: 0; text-align: center; font-size: 20px; } }

/* export window in the look of « Tarifs confidentiels »; new-device alert; sign-in history */
.modal .lockpop { position: relative; width: min(520px, 100%); margin: 0; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -30px #000a; }
.lockpop .x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1.15rem; line-height: 1; color: var(--muted); cursor: pointer; }
.banner.newdev { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .banner.newdev span { flex: 1; min-width: 240px; } .banner.newdev a { font-weight: 800; }
.setmain > .card.fixedh #loginRows { flex: 1; min-height: 0; overflow-y: auto; }
.setmain > .card.fixedh #loginRows, .setmain > .card.fixedh #logRows, .setmain > .card.fixedh #userRows { align-content: start; }

/* GPS tab (demonstration) */
#gpsmap { height: 560px; border-radius: 16px; overflow: hidden; background: #e9eef5; z-index: 0; } .gpscard .hd { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .gpscard .hd h2 { margin-right: auto; } .gpscard .hd .sub { flex-basis: 100%; }
.gpsleg { margin: 12px 0 0; } .gpsleg i.ring { background: #fff; border: 2.5px solid var(--muted); border-radius: 50%; box-sizing: border-box; } .gpsleg i { border-radius: 50%; }
.cdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; } .chips button.on .cdot { box-shadow: 0 0 0 1.5px #fff; }
.leaflet-tooltip { font-family: inherit; font-size: .78rem; line-height: 1.45; border-radius: 10px; border: 0; box-shadow: 0 10px 26px -12px #0d1f3899; padding: 8px 11px; color: var(--text); } .leaflet-tooltip b { color: var(--navy); }
.leaflet-container { font-family: inherit; } body.shielded .leaflet-container { filter: blur(18px); }
@media (max-width: 760px) { #gpsmap { height: 420px; } }

/* GPS: layouts under review (/gps.html) */
.gsplit { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr); gap: 16px; align-items: stretch; } .gsplit .card { margin: 0; } .gsplit #gpsmap { height: 640px; } .gside { display: flex; flex-direction: column; }
.glist { display: grid; align-content: start; overflow-y: auto; max-height: 690px; } .glist.short { max-height: 300px; }
.gline { display: flex; gap: 11px; align-items: center; width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line2); background: none; text-align: left; font: inherit; color: var(--text); cursor: pointer; } .gline:hover { background: #f6f8fb; }
.gline .grow { display: grid; gap: 1px; min-width: 0; } .gline b { color: var(--navy); } .gline small { font-size: .76rem; color: var(--text); } .gline small.muted { color: var(--muted); }
.gdot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--c); } .gdot.stop { background: #fff; box-shadow: 0 0 0 2.5px var(--c); }
.gspd { font-weight: 800; color: var(--navy); font-size: .82rem; white-space: nowrap; }
button.gco { text-align: left; font: inherit; cursor: pointer; width: 100%; } button.gco.on { box-shadow: 0 0 0 2px var(--c); }
.gnums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .gnums div { background: #f1f5fa; border-radius: 12px; padding: 9px 10px; display: grid; } .gnums b { color: var(--navy); font-size: 1.25rem; } .gnums span { font-size: .7rem; color: var(--muted); font-weight: 700; }
.gzones { align-items: start; } .gzones .hd { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 900px) { .gsplit { grid-template-columns: 1fr; } .gsplit #gpsmap { height: 420px; } .glist { max-height: 360px; } }

/* GPS: every route card is the same height; a longer list scrolls inside its card */
.gzones { align-items: stretch; } .gzones > .card { height: 368px; display: flex; flex-direction: column; margin: 0; } .gzones .glist.short { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }

/* phone: the four company tabs sit two by two instead of running off the screen */
@media (max-width: 760px) { .cotabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; } .cotabs button { padding: 11px 8px; } }

/* phone: each group of filter buttons stays on one line and slides sideways, instead of wrapping unevenly */
@media (max-width: 760px) { .toolbar { gap: 8px; } .toolbar .sp { display: none; } .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; } .toolbar .chips::-webkit-scrollbar { display: none; } .toolbar .chips button { flex: none; } .toolbar .search { width: 100%; min-width: 0; } }

/* phone: the bottom bar carries the same eight entries as the computer, in the same order; it slides sideways */
@media (max-width: 760px) { .bottom { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 2px; } .bottom::-webkit-scrollbar { display: none; } .bottom a { flex: none; min-width: 78px; } }

/* BL TRANSIT: account between the partners */
.stmt { padding: 0 20px 16px; } .stmt summary { cursor: pointer; font-weight: 800; color: var(--brand2); padding: 10px 0; } .stmt .tbl td { vertical-align: top; }

/* ---- step « Flotte et personnel »: progress, files, verification */
.prog { display: grid; gap: 4px; }
.prow2 { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 74px; gap: 14px; align-items: center; background: none; border: 0; padding: 9px 8px; border-radius: 10px; text-align: left; width: 100%; font: inherit; color: inherit; cursor: pointer; }
.prow2:hover { background: var(--line2); }
.prow2 .pn { display: flex; align-items: center; gap: 9px; min-width: 0; } .prow2 .pn i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .prow2 .pn b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow2 .stack { margin: 0; height: 14px; background: var(--line2); } .prow2 .pc { text-align: right; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; } .prow2 .pc b { color: var(--navy); font-size: 1.05rem; }
.prog + .legend { margin: 14px 8px 0; }
.kpi .v small.of { font-size: 1rem; }
.todoh { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 14px 0 6px; } .todoh:first-child { margin-top: 0; } .todoh small { font-weight: 700; }
.row.todo { width: 100%; }
.verif { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--line2); margin-top: 14px; font-size: .9rem; } .verif:first-child { margin-top: 0; } .verif > span { flex: 1; min-width: 200px; } .verif .ic { flex: none; color: var(--muted); }
.verif.ok { background: var(--okbg); color: var(--ok); } .verif.ok .ic { color: var(--ok); }
.card.dossier { margin-bottom: 16px; } .card.dossier .hd .pill { margin-left: 6px; }
.toolbar.in { padding: 0 0 4px; }
.tile.on { border-color: #2f5d8a; box-shadow: 0 0 0 2px #2f5d8a2e; } .tile[disabled] { cursor: default; }
.tbl td .pill.mute { margin: 2px 0; display: inline-block; }
@media (max-width: 640px) { .prow2 { grid-template-columns: 1fr 60px; } .prow2 .stack { grid-column: 1 / -1; order: 3; } }

.widelab .hrow { grid-template-columns: minmax(150px, 52%) 1fr auto; } .widelab .hrow .hl { white-space: normal; }
.tiles.three { grid-template-columns: repeat(3, 1fr); } @media (max-width: 860px) { .tiles.three { grid-template-columns: 1fr; } }
