:root {
  --bg: #f5f3ee;
  --panel: #ffffff;
  --panel-2: #faf9f6;
  --ink: #1d2320;
  --muted: #6b726e;
  --line: #e3e0d8;
  --accent: #1f5a43;
  --accent-ink: #ffffff;
  --accent-soft: #e3efe9;
  --side: #15342a;
  --side-ink: #dfe9e4;
  --warn: #a8650b;
  --warn-soft: #fdf1dc;
  --danger: #b3261e;
  --danger-soft: #fbe5e3;
  --ok: #1f7a4a;
  --internal: #7a5b12;
  --internal-bg: #fff8e6;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121614; --panel: #1b201d; --panel-2: #20262293; --ink: #e8ece9; --muted: #98a19c;
    --line: #2f3632; --accent: #4fae84; --accent-ink: #0d1a14; --accent-soft: #1f3a2e;
    --side: #0c100e; --side-ink: #cfdcd5; --warn: #e3a64a; --warn-soft: #3a2c14;
    --danger: #ef7a72; --danger-soft: #3d1c1a; --ok: #5fc48d; --internal: #e2c06f; --internal-bg: #2d2714;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121614; --panel: #1b201d; --panel-2: #20262293; --ink: #e8ece9; --muted: #98a19c;
  --line: #2f3632; --accent: #4fae84; --accent-ink: #0d1a14; --accent-soft: #1f3a2e;
  --side: #0c100e; --side-ink: #cfdcd5; --warn: #e3a64a; --warn-soft: #3a2c14;
  --danger: #ef7a72; --danger-soft: #3d1c1a; --ok: #5fc48d; --internal: #e2c06f; --internal-bg: #2d2714;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }

#app { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
#sidebar { background: var(--side); color: var(--side-ink); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.brand { display: flex; gap: 10px; align-items: center; padding: 0 6px; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: #c9a54b; color: #15342a; display: grid; place-items: center; font-weight: 800; }
.brand-name { font-weight: 700; }
.brand-sub { font-size: 11px; opacity: .7; }
#nav { display: flex; flex-direction: column; gap: 2px; }
#nav a { color: var(--side-ink); text-decoration: none; padding: 9px 10px; border-radius: 8px; }
#nav a:hover { background: rgba(255,255,255,.07); }
#nav a.active { background: rgba(255,255,255,.13); color: #fff; font-weight: 600; }
#nav a.nav-cta { background: #c9a54b; color: #15342a; font-weight: 700; text-align: center; margin-bottom: 10px; }
.side-foot { margin-top: auto; font-size: 11px; opacity: .6; padding: 0 6px; }
#view { padding: 22px 26px 60px; min-width: 0; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.span2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 6px; }
.spacer { flex: 1; }

label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
label.chk { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink); cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; width: 100%; min-width: 0; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
textarea { resize: vertical; }
input.num { text-align: right; }
input:disabled, select:disabled { opacity: .55; }

.btn { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 8px; padding: 7px 12px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn.sm { padding: 4px 8px; font-size: 12px; }
.icon { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 6px; font: inherit; }
.icon:hover { background: var(--accent-soft); color: var(--ink); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--panel); padding: 6px 12px; cursor: pointer; font: inherit; color: var(--ink); }
.seg button.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.badge.neuf { background: #e3eefc; color: #1d4f91; }
.badge.occasion { background: #fbeedd; color: #8a4e0a; }
.badge.reconditionne { background: #efe6fb; color: #5b2f91; }
.badge.eco { background: #eceeed; color: #555; }
.badge.origine { background: #e3efe9; color: #1f5a43; }
.badge.premium { background: #f6ecd2; color: #7b5a0c; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.st-brouillon { background: #eceeed; color: #555; }
.badge.st-payee, .badge.st-accepte, .badge.st-termine, .badge.st-recu { background: #dff3e7; color: #1f7a4a; }
.badge.st-refuse, .badge.st-expire { background: var(--danger-soft); color: var(--danger); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge.neuf { background: #1c2d44; color: #9cc3f5; }
  :root:not([data-theme="light"]) .badge.occasion { background: #3a2a14; color: #f0b56a; }
  :root:not([data-theme="light"]) .badge.reconditionne { background: #2c2140; color: #c4a2f0; }
  :root:not([data-theme="light"]) .badge.eco, :root:not([data-theme="light"]) .badge.st-brouillon { background: #2a2e2c; color: #b7bdb9; }
  :root:not([data-theme="light"]) .badge.premium { background: #3a3015; color: #e8c86c; }
  :root:not([data-theme="light"]) .badge.st-payee, :root:not([data-theme="light"]) .badge.st-accepte, :root:not([data-theme="light"]) .badge.st-termine, :root:not([data-theme="light"]) .badge.st-recu { background: #173525; color: #6fd29b; }
}

table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl tr.click { cursor: pointer; }
table.tbl tr.click:hover td { background: var(--panel-2); }
.tbl-wrap { overflow-x: auto; }
.thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line); display: block; }
.thumb.ph { display: grid; place-items: center; color: var(--muted); font-size: 18px; }
.internal { color: var(--internal); }
td.internal, th.internal { background: var(--internal-bg); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi .v { font-size: 22px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 12px; color: var(--muted); font-weight: 600; }

/* Search dropdown */
.searchbox { position: relative; }
.searchbox input.big { font-size: 16px; padding: 11px 14px; }
.results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15); max-height: 420px; overflow: auto; }
.res { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; padding: 8px 10px; align-items: center; cursor: pointer; border-bottom: 1px solid var(--line); }
.res:last-child { border-bottom: 0; }
.res.hl, .res:hover { background: var(--accent-soft); }
.res .t { font-weight: 600; }
.res .s { font-size: 12px; color: var(--muted); }
.res .p { text-align: right; font-variant-numeric: tabular-nums; }

/* Editor */
.ed-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ed-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.back { font-size: 12px; text-decoration: none; }
.dropdown { position: relative; }
.dropdown .menu { display: none; position: absolute; right: 0; top: calc(100% + 4px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15); min-width: 250px; z-index: 40; padding: 5px; }
.dropdown:focus-within .menu, .dropdown.open .menu { display: block; }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 7px; font: inherit; color: var(--ink); cursor: pointer; }
.menu button:hover { background: var(--accent-soft); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.banner { padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.banner.info { background: var(--accent-soft); color: var(--accent); }

.lines-wrap { overflow-x: auto; }
table.lines { width: 100%; min-width: 1080px; border-collapse: collapse; margin-top: 12px; }
.c-des { min-width: 240px; }
table.lines th { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.lines td { padding: 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.lines input, table.lines select, table.lines textarea { padding: 5px 6px; font-size: 13px; border-color: transparent; background: transparent; }
table.lines input:hover, table.lines select:hover, table.lines textarea:hover { border-color: var(--line); }
table.lines textarea { font-size: 12px; color: var(--muted); min-height: 26px; }
table.lines tr.sec td { background: var(--accent-soft); }
table.lines tr.sec input { font-weight: 700; color: var(--accent); }
table.lines tr.txt textarea { font-style: italic; color: var(--ink); }
table.lines tr.dragging { opacity: .4; }
table.lines tr.over td { border-top: 2px solid var(--accent); }
.drag { cursor: grab; color: var(--muted); user-select: none; width: 18px; text-align: center; padding-top: 9px !important; }
td.tot, td.mg { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 9px !important; }
td.mg { font-size: 12px; }
.c-code { width: 120px; }
.c-code .oem { font-size: 11px; color: var(--muted); padding: 0 6px; }
.c-var { width: 130px; }
.c-var select { font-size: 12px !important; }
.w-qty { width: 64px; } .w-unit { width: 78px; } .w-money { width: 92px; } .w-disc { width: 58px; } .w-vat { width: 62px; }
td.bad input { background: var(--danger-soft) !important; color: var(--danger); }
.line-tools { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.totals { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.totals td { padding: 5px 0; }
.totals td:last-child { text-align: right; }
.totals tr.grand td { font-size: 18px; font-weight: 800; border-top: 2px solid var(--ink); padding-top: 8px; }
.totals tr.internal td { color: var(--internal); }
.totals input { width: 80px; text-align: right; padding: 3px 6px; }
.checks-btn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.checks-btn.ok { background: #dff3e7; color: #1f7a4a; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(10,16,13,.45); display: grid; place-items: start center; padding: 5vh 16px; z-index: 100; overflow: auto; }
.modal { background: var(--panel); border-radius: 14px; width: min(560px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; max-height: 90vh; }
.modal.wide { width: min(1040px, 100%); }
.modal-backdrop > .modal { min-width: 0; max-width: 100%; }
.modal-body, .doc-preview { min-width: 0; }
.modal-head { padding: 16px 20px 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; }
.modal-body { padding: 16px 20px; overflow: auto; }
.modal-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 14px; margin: 0 0 14px; }
legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; }
.photo { position: relative; }
.photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo button { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 6px; cursor: pointer; }
.photo-add { width: 96px; height: 96px; border: 2px dashed var(--line); border-radius: 8px; display: grid; place-items: center; text-align: center; color: var(--muted); cursor: pointer; font-size: 12px; }
.dropzone { border: 2px dashed var(--line); border-radius: 12px; padding: 30px; text-align: center; color: var(--muted); cursor: pointer; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }

#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(30px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 200; max-width: 90vw; }
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { background: var(--danger); color: #fff; }

/* Print document (A4) */
#print-area { display: none; }
.doc-page { background: #fff; color: #1a1a1a; width: 210mm; min-height: 297mm; padding: 14mm 14mm 18mm; margin: 0 auto; font: 10pt/1.4 "Helvetica Neue", Arial, sans-serif; position: relative; }
.doc-page * { color: inherit; }
.doc-preview { background: #888; padding: 20px; overflow: auto; max-height: 75vh; }
.doc-page .dh { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.doc-page .logo { max-height: 70px; max-width: 200px; display: block; margin-bottom: 6px; }
.doc-page .co-name { font-size: 14pt; font-weight: 700; }
.doc-page .dt { text-align: right; }
.doc-page .dt .title { font-size: 20pt; font-weight: 800; letter-spacing: -.01em; color: var(--acc, #15342a); }
.doc-page .boxes { display: flex; gap: 14px; margin-bottom: 14px; }
.doc-page .box { flex: 1; border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px; }
.doc-page .box .lbl { font-size: 8pt; text-transform: uppercase; color: #777; letter-spacing: .05em; margin-bottom: 3px; }
.doc-page table.dl { width: 100%; border-collapse: collapse; margin-top: 4px; }
.doc-page table.dl th { background: var(--acc, #15342a); color: #fff; font-size: 8.5pt; text-align: left; padding: 5px 6px; }
.doc-page table.dl td { padding: 5px 6px; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.doc-page table.dl td.n, .doc-page table.dl th.n { text-align: right; white-space: nowrap; }
.doc-page table.dl tr.sec td { font-weight: 700; background: #f0f4f2; color: var(--acc, #15342a); }
.doc-page table.dl tr.txt td { font-style: italic; color: #555; }
.doc-page table.dl tr { page-break-inside: avoid; }
.doc-page .ld { font-size: 8.5pt; color: #666; white-space: pre-wrap; }
.doc-page .lphoto { width: 42px; height: 42px; object-fit: cover; border-radius: 4px; float: left; margin-right: 6px; }
.doc-page .tg { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; page-break-inside: avoid; }
.doc-page table.tt { border-collapse: collapse; min-width: 260px; }
.doc-page table.tt td { padding: 3px 0 3px 18px; text-align: right; }
.doc-page table.tt td:first-child { text-align: left; padding-left: 0; }
.doc-page table.tt tr.g td { font-size: 13pt; font-weight: 800; border-top: 2px solid var(--acc, #15342a); padding-top: 6px; }
.doc-page .pay { border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px; display: flex; gap: 12px; align-items: center; }
.doc-page .ogm { font-family: "Courier New", monospace; font-weight: 700; font-size: 11pt; }
.doc-page .notes { margin-top: 14px; white-space: pre-wrap; font-size: 9pt; }
.doc-page .sign { margin-top: 20px; display: flex; gap: 20px; page-break-inside: avoid; }
.doc-page .sign div { flex: 1; border: 1px solid #ccc; border-radius: 6px; height: 80px; padding: 6px 8px; font-size: 8.5pt; color: #666; }
.doc-page .foot { position: absolute; bottom: 8mm; left: 14mm; right: 14mm; font-size: 7.5pt; color: #777; text-align: center; border-top: 1px solid #ddd; padding-top: 4px; }
.doc-page .wm { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-size: 70pt; font-weight: 900; color: rgba(200,0,0,.08); transform: rotate(-20deg); pointer-events: none; }
.doc-page .cb { display: inline-block; width: 12px; height: 12px; border: 1.5px solid #333; border-radius: 2px; }
.doc-page .vehicle-big { font-size: 14pt; font-weight: 800; }

@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  #app, #modal-root, #toast { display: none !important; }
  #print-area { display: block; }
  .doc-page { margin: 0; width: auto; min-height: 297mm; }
}

@media (max-width: 860px) {
  #app { grid-template-columns: 1fr; }
  #sidebar { position: static; height: auto; }
  #nav { flex-direction: row; flex-wrap: wrap; }
  .side-foot { display: none; }
  #view { padding: 16px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .span2 { grid-column: auto; }
  .tbl-wrap, .lines-wrap { overflow-x: auto; }
  table.lines { min-width: 980px; }
}

/* v2 */
body.role-atelier .internal, body.role-atelier th.internal, body.role-atelier td.internal { display: none !important; }
body.role-atelier .admin-only, body.role-bureau .admin-only { display: none !important; }
.nav-sec { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .5; padding: 10px 10px 2px; }
#nav a .cnt { float: right; background: #c9a54b; color: #15342a; border-radius: 99px; font-size: 11px; font-weight: 800; padding: 0 7px; }
.user-chip { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.07); cursor: pointer; font-size: 13px; }
.user-chip .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 12px; }
.lock { position: fixed; inset: 0; background: var(--side); z-index: 300; display: grid; place-items: center; }
.lock .box { background: var(--panel); border-radius: 16px; padding: 28px; width: min(380px, 92vw); text-align: center; }
.lock .users { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0; }
.lock .users button { border: 2px solid var(--line); background: var(--panel); border-radius: 12px; padding: 10px 14px; cursor: pointer; font: inherit; color: var(--ink); }
.lock .users button.on { border-color: var(--accent); }
.sigpad { border: 2px dashed var(--line); border-radius: 10px; background: #fff; touch-action: none; width: 100%; height: 200px; display: block; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bars .b i { display: block; width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; }
.bars .b i.m { background: var(--internal); opacity: .6; }
.bars .b span { font-size: 10px; color: var(--muted); }
.bars .pair { display: flex; gap: 2px; width: 100%; align-items: flex-end; height: 100%; }
.planning { display: grid; grid-template-columns: 130px repeat(6, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.planning > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; min-height: 70px; }
.planning .ph { background: var(--panel-2); font-weight: 700; font-size: 12px; min-height: 0; }
.planning .today { background: var(--accent-soft); }
.planning .slot.over { outline: 2px dashed var(--accent); outline-offset: -3px; }
.ot-card { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 4px 6px; font-size: 11px; margin-bottom: 4px; cursor: grab; }
.ot-card b { font-size: 12px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--danger); }
.help-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.help-item summary { cursor: pointer; font-weight: 600; }
.notif { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.notif .ic { width: 28px; text-align: center; }

.ot-card .small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.planning .slot { min-height: 80px; }
