/* ============================================================
   Textile Chemical ERP — Technoronix theme
   Design tokens lifted from the v3 prototype: teal accent,
   flat surfaces, 12px radius, soft shadows, Poppins.
   ============================================================ */
:root{
  --font-ui:Poppins, ui-sans-serif, system-ui, sans-serif;
  --font-mono:Poppins, ui-sans-serif, system-ui, sans-serif;

  --surface-page:#f4f7f7;
  --surface-raised:#ffffff;
  --surface-sunken:#f5f8f8;
  --surface-hover:#f0f6f5;
  --surface-selected:#eaf5f3;

  --border-subtle:#e7edec;
  --border-default:#d9e3e1;
  --border-strong:#adc0bd;
  --border-focus:#15988d;

  --fg-primary:#162724;
  --fg-secondary:#536763;
  --fg-tertiary:#849591;
  --fg-on-accent:#ffffff;

  --accent-bg:#0f766e;
  --accent-hover:#0b625c;
  --accent-subtle:#e7f5f3;
  --accent-fg:#0b6b64;

  --success-bg:#e8f4eb; --success-border:#74a884; --success-fg:#23643b;
  --warning-bg:#fbf2df; --warning-border:#c49a43; --warning-fg:#79560d;
  --danger-bg:#fae8e4;  --danger-border:#cf766b;  --danger-fg:#9a3329;
  --info-bg:#e8f2fa;    --info-border:#72a5c8;    --info-fg:#24628c;

  --radius:12px;
  --radius-lg:18px;
  --shell-gap:8px;
  --sidebar-width:264px;
  --sidebar-collapsed-width:76px;
  --navbar-height:64px;
  --shadow-card:0 1px 2px rgb(19 50 46/.03), 0 8px 24px rgb(19 50 46/.035);
  --shadow-pop:0 18px 48px rgb(18 47 43/.16);
}

[data-theme="dark"]{
  --surface-page:#0f1724;
  --surface-raised:#172234;
  --surface-sunken:#111b2a;
  --surface-hover:#1d2b40;
  --surface-selected:#233650;

  --border-subtle:#26364c;
  --border-default:#344760;
  --border-strong:#61738c;
  --border-focus:#56b8c3;

  --fg-primary:#edf4fb;
  --fg-secondary:#b6c4d4;
  --fg-tertiary:#8293a8;

  --accent-bg:#3b9eaa;
  --accent-hover:#4aafbb;
  --accent-subtle:#173b4b;
  --accent-fg:#83d8df;

  --success-bg:#15382f; --success-fg:#8ed7bd; --success-border:#3f7a63;
  --warning-bg:#3a3020; --warning-fg:#e5c683; --warning-border:#8a6f34;
  --danger-bg:#40282d;  --danger-fg:#efadb5;  --danger-border:#8d5057;
  --info-bg:#172f49;    --info-fg:#91c8ef;    --info-border:#3f6f9c;

  --shadow-card:0 1px 2px rgb(0 0 0/.18), 0 12px 32px rgb(3 8 18/.22);
}

html{ color-scheme:light }
[data-theme="dark"]{ color-scheme:dark }
*{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
body{
  background:var(--surface-page); color:var(--fg-primary);
  font:14px/1.5 var(--font-ui); overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{ font-family:var(--font-ui); font-weight:600; letter-spacing:-.02em; margin:0 0 .4em }
h3{ font-size:22px }
h6{ font-size:14px }
a{ color:inherit; text-decoration:none }
a:hover{ color:var(--accent-fg) }
.mono,.text-mono{ font-family:var(--font-mono); font-variant-numeric:tabular-nums }
.text-main{ color:var(--fg-primary) !important }
.text-muted{ color:var(--fg-tertiary) !important }
.text-success{ color:var(--success-fg) !important }
.text-danger{ color:var(--danger-fg) !important }
:focus-visible{ outline:3px solid color-mix(in srgb, var(--border-focus), transparent 65%); outline-offset:2px }

/* ---------------- shell ---------------- */
.wrapper{ display:flex; min-height:100vh }

#sidebar{
  position:sticky; top:0; align-self:flex-start;
  width:var(--sidebar-width); flex:0 0 var(--sidebar-width); height:100vh;
  display:flex; flex-direction:column; overflow-y:auto;
  padding:1.1rem .75rem; background:var(--surface-raised);
  border-right:1px solid var(--border-subtle); z-index:20;
  transition:width .2s ease, flex-basis .2s ease;
}
#sidebar.collapsed{ width:var(--sidebar-collapsed-width); flex-basis:var(--sidebar-collapsed-width) }
#sidebar.collapsed .nav-text,
#sidebar.collapsed .nav-section{ display:none }
#sidebar.collapsed .nav-link{ justify-content:center }

.sidebar-header{
  display:flex; align-items:center; gap:.6rem;
  padding:.4rem .55rem 1rem; margin-bottom:.4rem;
  border-bottom:1px solid var(--border-subtle);
}
.brand-mark{
  display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px;
  border-radius:11px; background:var(--accent-bg); color:#fff;
  font-weight:700; font-size:14px; letter-spacing:-.02em; box-shadow:none;
}
.sidebar-content{ display:flex; flex-direction:column }

.nav-section{ margin:.9rem 0 .15rem; padding:.55rem .7rem 0; border-top:1px solid var(--border-subtle) }
.nav-section small{
  display:block; font-size:9.5px; font-weight:700; letter-spacing:.11em;
  text-transform:uppercase; color:var(--fg-tertiary);
}
#sidebar .nav-link{
  position:relative; min-height:40px; display:flex; align-items:center; gap:.7rem;
  padding:.5rem .65rem; margin-bottom:2px; border-radius:var(--radius);
  color:var(--fg-secondary); font-size:12.5px; font-weight:500; border:0;
}
#sidebar .nav-link i{ width:20px; flex:0 0 20px; text-align:center; font-size:13px; color:var(--fg-tertiary) }
#sidebar .nav-link:hover{ background:var(--surface-hover); color:var(--fg-primary) }
#sidebar .nav-link:hover i{ color:var(--accent-fg) }
#sidebar .nav-link.active{ background:var(--accent-subtle); color:var(--accent-fg); font-weight:600 }
#sidebar .nav-link.active i{ color:var(--accent-fg) }
#sidebar .nav-link.active:after{
  content:""; position:absolute; right:.6rem; width:6px; height:6px; border-radius:50%;
  background:var(--accent-bg); box-shadow:0 0 0 4px color-mix(in srgb, var(--accent-bg), transparent 88%);
}

#main-content{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column }
.navbar{
  position:sticky; top:0; z-index:15; height:var(--navbar-height);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 1.75rem; background:var(--surface-raised);
  border-bottom:1px solid var(--border-subtle);
}
.navbar .btn{ border:0; background:transparent; color:var(--fg-secondary); padding:.35rem .5rem }
.navbar .btn:hover{ background:var(--surface-hover); color:var(--fg-primary) }
.navbar img.rounded-circle{ border:1px solid var(--border-subtle) !important }

@media (max-width:992px){
  #sidebar{
    position:fixed; left:0; top:0; transform:translateX(-100%);
    box-shadow:var(--shadow-pop); transition:transform .2s ease;
  }
  #sidebar.show{ transform:none }
  .navbar{ padding:0 1rem }
}

/* ---------------- cards ---------------- */
.glass-card{
  background:var(--surface-raised);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  backdrop-filter:none;
}
.stat-mini .label{
  font-size:10px; text-transform:uppercase; letter-spacing:.09em;
  color:var(--fg-tertiary); font-weight:700;
}
.stat-mini .value{ font-size:24px; font-weight:600; letter-spacing:-.02em; line-height:1.2; margin-top:3px }
.section-title{
  font-size:10px; text-transform:uppercase; letter-spacing:.1em; font-weight:700;
  color:var(--fg-tertiary); margin-bottom:12px;
}

/* ---------------- tables ---------------- */
.table{ --bs-table-bg:transparent; width:100%; border-collapse:collapse; margin:0; color:var(--fg-secondary) }
.table > :not(caption) > * > *{ background:transparent; box-shadow:none }
.table thead th{
  height:38px; padding:0 1rem; background:var(--surface-sunken);
  border-bottom:1px solid var(--border-default); border-top:0;
  color:var(--fg-tertiary); font-size:10px; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase; white-space:nowrap; vertical-align:middle;
}
.table thead th:first-child{ border-top-left-radius:10px }
.table thead th:last-child{ border-top-right-radius:10px }
.table tbody td{
  padding:.7rem 1rem; border-bottom:1px solid var(--border-subtle);
  color:var(--fg-secondary); font-size:12.5px; vertical-align:middle;
}
.table tbody tr:last-child td{ border-bottom:0 }
.table tbody tr:nth-child(even) td{ background:color-mix(in srgb, var(--surface-sunken), transparent 55%) }
.table tbody tr:hover td{ background:var(--surface-selected) }
.table tbody td b,.table tbody td strong,.table tbody td .fw-bold{ color:var(--fg-primary); font-weight:600 }
.table-sm tbody td{ padding:.5rem .75rem }
.table-sm thead th{ height:32px; padding:0 .75rem }
.table-responsive{ border-radius:12px }

/* ---------------- buttons ---------------- */
.btn{
  min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:.4rem;
  padding:.45rem .9rem; border:1px solid var(--border-default); border-radius:var(--radius);
  background:var(--surface-raised); color:var(--fg-primary);
  font-size:12.5px; font-weight:600; white-space:nowrap; transition:background .12s, border-color .12s;
}
.btn:hover{ background:var(--surface-hover); color:var(--fg-primary) }
.btn:active{ transform:translateY(1px) }
.btn-sm{ min-height:32px; padding:.3rem .7rem; font-size:11.5px; border-radius:9px }
.btn-primary-custom,.btn-primary{
  background:var(--accent-bg); border-color:var(--accent-bg); color:#fff;
}
.btn-primary-custom:hover,.btn-primary:hover{ background:var(--accent-hover); border-color:var(--accent-hover); color:#fff }
.btn-outline-secondary{ background:var(--surface-raised); border-color:var(--border-default); color:var(--fg-secondary) }
.btn-outline-secondary:hover{ background:var(--surface-hover); border-color:var(--border-strong); color:var(--fg-primary) }
.btn-outline-primary{ background:var(--accent-subtle); border-color:transparent; color:var(--accent-fg) }
.btn-outline-primary:hover{ background:var(--accent-bg); color:#fff }
.btn-outline-danger{ background:var(--danger-bg); border-color:transparent; color:var(--danger-fg) }
.btn-outline-danger:hover{ background:var(--danger-fg); color:#fff }
.btn-link{ min-height:auto; border:0; background:none; padding:0; color:var(--accent-fg); font-weight:600 }
.btn-link:hover{ background:none; text-decoration:underline }

/* ---------------- forms ---------------- */
.form-label,label{
  display:block; margin-bottom:.35rem; color:var(--fg-secondary);
  font-size:11px; font-weight:600; letter-spacing:.01em; text-transform:none;
}
.form-control,.form-select,input,select,textarea{
  width:100%; min-height:42px; padding:.55rem .8rem;
  border:1px solid var(--border-default); border-radius:11px;
  background:var(--surface-raised); color:var(--fg-primary); font-size:13px;
  transition:border-color .15s, box-shadow .15s;
}
.form-control-sm,.form-select-sm{ min-height:34px; padding:.35rem .6rem; font-size:12px; border-radius:9px }
.form-control:focus,.form-select:focus,input:focus,select:focus,textarea:focus{
  outline:0; border-color:var(--border-focus);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--accent-bg), transparent 92%);
  background:var(--surface-raised);
}
.form-control::placeholder{ color:var(--fg-tertiary) }
.input-group-text{
  background:var(--surface-sunken); border:1px solid var(--border-default);
  border-right:0; color:var(--fg-tertiary); border-radius:11px 0 0 11px; font-size:12.5px;
}
.input-group > .form-control{ border-radius:0 11px 11px 0 }

/* ---------------- pills / badges ---------------- */
.status-pill{
  display:inline-flex; align-items:center; gap:.35rem; min-height:22px;
  padding:2px 9px; border-radius:999px; border:1px solid transparent;
  font-size:10.5px; font-weight:600; white-space:nowrap; line-height:1.6;
}
.status-pill:before{ content:""; width:5px; height:5px; border-radius:50%; background:currentColor }
.tone-ok{     background:var(--success-bg); border-color:color-mix(in srgb,var(--success-border),transparent 55%); color:var(--success-fg) }
.tone-warn{   background:var(--warning-bg); border-color:color-mix(in srgb,var(--warning-border),transparent 55%); color:var(--warning-fg) }
.tone-danger{ background:var(--danger-bg);  border-color:color-mix(in srgb,var(--danger-border),transparent 55%);  color:var(--danger-fg) }
.tone-info{   background:var(--info-bg);    border-color:color-mix(in srgb,var(--info-border),transparent 55%);    color:var(--info-fg) }
.tone-muted{  background:var(--surface-sunken); border-color:var(--border-default); color:var(--fg-tertiary) }

.alert{ border-radius:var(--radius); border:1px solid; font-size:12.5px; padding:.7rem 1rem }
.alert-success{ background:var(--success-bg); border-color:color-mix(in srgb,var(--success-border),transparent 55%); color:var(--success-fg) }
.alert-danger{ background:var(--danger-bg); border-color:color-mix(in srgb,var(--danger-border),transparent 55%); color:var(--danger-fg) }

/* ---------------- tabs ---------------- */
.nav-pills .nav-link{
  border:1px solid var(--border-default); background:var(--surface-raised); color:var(--fg-secondary);
  font-size:12.5px; font-weight:600; padding:.45rem .85rem; border-radius:var(--radius);
}
.nav-pills .nav-link:hover{ background:var(--surface-hover); color:var(--fg-primary) }
.nav-pills .nav-link.active{ background:var(--accent-bg); border-color:var(--accent-bg); color:#fff }
.badge-count{
  display:inline-block; min-width:20px; padding:1px 6px; margin-left:4px; border-radius:999px;
  background:var(--surface-sunken); color:var(--fg-tertiary); font-size:10px; font-weight:700;
}
.nav-pills .nav-link.active .badge-count{ background:rgba(255,255,255,.22); color:#fff }

/* ---------------- document chain ---------------- */
.trail{ display:flex; flex-wrap:wrap; align-items:center; gap:8px }
.trail .node{
  display:inline-flex; flex-direction:column; gap:3px; padding:9px 14px;
  border:1px solid var(--border-subtle); border-radius:var(--radius);
  background:var(--surface-sunken); color:var(--fg-primary); min-width:130px;
}
.trail .node:hover{ border-color:var(--accent-bg); background:var(--surface-selected) }
.trail .node small{ font-size:9.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--fg-tertiary); font-weight:700 }
.trail .node b{ font-size:12.5px; font-weight:600 }
.trail .node.here{ border-color:var(--accent-bg); background:var(--accent-subtle) }
.trail .sep{ color:var(--fg-tertiary) }

.step-strip{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:11.5px }
.step-strip .s{
  padding:4px 12px; border-radius:999px; border:1px solid var(--border-default);
  color:var(--fg-tertiary); background:var(--surface-raised); font-weight:600;
}
.step-strip .s.done{ background:var(--success-bg); border-color:transparent; color:var(--success-fg) }
.step-strip .s.now{ background:var(--accent-bg); border-color:transparent; color:#fff }
.step-strip .s.dead{ background:var(--surface-sunken); border-color:transparent; color:var(--fg-tertiary) }

.chain-card{
  border:1px solid var(--border-subtle); border-radius:var(--radius-lg);
  padding:16px 18px; background:var(--surface-raised); margin-bottom:12px;
}
.chain-card:last-child{ margin-bottom:0 }
.chain-card .trail .node{ min-width:152px }

.doc-ico,.pr-ico{
  width:32px; height:32px; flex:0 0 32px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent-subtle); color:var(--accent-fg); font-size:.85rem;
}
.pr-ico{ width:30px; height:30px; flex:0 0 30px; border-radius:9px }

.line-table th{ font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--fg-tertiary); font-weight:700 }
.kv-list{ display:grid; grid-template-columns:auto 1fr; gap:8px 20px; font-size:12.5px; margin:0 }
.kv-list dt{ font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--fg-tertiary); font-weight:700; padding-top:2px }
.kv-list dd{ margin:0; color:var(--fg-primary) }
.rule-note{
  font-size:11.5px; color:var(--fg-secondary); background:var(--surface-sunken);
  border-left:3px solid var(--accent-bg); border-radius:0 10px 10px 0;
  padding:10px 14px; margin-top:14px;
}
.empty-state{ text-align:center; padding:34px 10px; color:var(--fg-tertiary) }
.empty-state i{ font-size:1.6rem; display:block; margin-bottom:8px; opacity:.55 }
.empty-state div{ font-size:12.5px }

/* ---------------- party profile ---------------- */
.avatar-lg{
  width:60px; height:60px; flex:0 0 60px; border-radius:16px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent-bg); color:#fff; font-weight:700; font-size:20px; letter-spacing:-.02em;
}
.profile-head{ overflow:hidden }
.identity-toggle{ background:transparent; border:0; padding:0; color:inherit; cursor:pointer; min-width:0 }
.identity-toggle:focus-visible{ outline:3px solid color-mix(in srgb,var(--border-focus),transparent 65%); outline-offset:4px; border-radius:10px }
.identity-toggle:hover h3{ color:var(--accent-fg) }
.identity-toggle .chev{
  display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border-radius:50%; background:var(--accent-subtle); color:var(--accent-fg);
  font-size:.72rem; transition:transform .2s ease;
}
.identity-toggle[aria-expanded="true"] .chev{ transform:rotate(180deg) }
.identity-toggle .expand-hint{ color:var(--accent-fg); font-weight:600 }
.identity-toggle[aria-expanded="true"] .expand-hint::after{ content:' — hide' }
.identity-toggle[aria-expanded="false"] .expand-hint::after{ content:' — show' }
.profile-body{ border-top:1px solid var(--border-subtle); padding-top:20px }

.profile-row{ display:flex; gap:12px; align-items:flex-start; padding:9px 0; border-bottom:1px solid var(--border-subtle) }
.profile-row:last-of-type{ border-bottom:0 }
.pr-lab{ font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--fg-tertiary); font-weight:700 }
.pr-val{ font-size:12.5px; color:var(--fg-primary) }
.pr-val a{ color:var(--accent-fg) }

.tax-chip{
  display:inline-flex; flex-direction:column; gap:1px; padding:7px 12px;
  border:1px solid var(--border-subtle); border-radius:10px; background:var(--surface-sunken);
}
.tax-chip span{ font-size:9.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--fg-tertiary); font-weight:700 }
.tax-chip b{ font-size:12.5px; font-weight:600; color:var(--fg-primary) }

.credit-bar{ height:6px; border-radius:6px; background:var(--surface-sunken); overflow:hidden }
.credit-bar span{ display:block; height:100%; border-radius:6px; background:var(--accent-bg) }
.credit-bar span.warn{ background:var(--warning-border) }
.credit-bar span.over{ background:var(--danger-border) }

.custom-block{ border:1px dashed var(--border-default); border-radius:var(--radius); padding:14px 16px; background:var(--surface-sunken) }
.extra-chip{
  display:inline-block; margin:2px 3px 0 0; padding:1px 8px; border-radius:999px;
  background:var(--accent-subtle); color:var(--accent-fg); font-size:9.5px; font-weight:700;
}

/* ---------------- payments ---------------- */
.invoice-box{ border:1px solid var(--border-subtle); border-radius:var(--radius); padding:16px 18px; background:var(--surface-sunken) }
.amount-tile{ border:1px solid var(--border-subtle); border-radius:10px; padding:10px 8px; height:100%; background:var(--surface-raised) }
.amount-tile .label{ font-size:9.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--fg-tertiary); font-weight:700 }
.amount-tile .value{ font-weight:600; font-size:15px; margin-top:2px; color:var(--fg-primary) }
.amount-tile.strong{ border-color:var(--accent-bg); background:var(--accent-subtle) }
.pay-bar{ height:7px; border-radius:7px; background:var(--surface-raised); border:1px solid var(--border-subtle); overflow:hidden }
.pay-bar span{ display:block; height:100%; width:0; background:var(--accent-bg); transition:width .2s ease }
.pay-log{ max-height:560px; overflow-y:auto; margin-right:-6px; padding-right:6px }
.pay-row{ display:flex; gap:12px; align-items:flex-start; padding:11px 0; border-bottom:1px solid var(--border-subtle) }
.pay-row:last-child{ border-bottom:0 }
.pay-ico{ width:32px; height:32px; flex:0 0 32px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; font-size:.85rem }
.pay-ico.in{ background:var(--success-bg); color:var(--success-fg) }
.pay-ico.out{ background:var(--danger-bg); color:var(--danger-fg) }
.min-w-0{ min-width:0 }

/* bootstrap odds and ends */
.border{ border-color:var(--border-subtle) !important }
.border-top{ border-top-color:var(--border-subtle) !important }
.rounded{ border-radius:var(--radius) !important }
hr{ border-color:var(--border-subtle); opacity:1 }
::-webkit-scrollbar{ width:10px; height:10px }
::-webkit-scrollbar-thumb{ background:var(--border-default); border-radius:10px; border:3px solid var(--surface-page) }
::-webkit-scrollbar-track{ background:transparent }

/* a rate that still has to be decided */
.form-control.is-blank{
  border-color:var(--warning-border);
  background:var(--warning-bg);
}
.form-control.is-blank::placeholder{ color:var(--warning-fg); opacity:.75 }
.add-row td{ background:var(--surface-sunken) !important }

/* a quantity that is owned by the parent document */
.qty-locked{
  display:inline-block; min-width:70px; padding:.35rem .6rem; border-radius:9px;
  background:var(--surface-sunken); border:1px dashed var(--border-default);
  color:var(--fg-secondary); font-size:12px; text-align:right;
}

/* an invoice that has not been confirmed yet */
.draft-banner{ border-color:var(--warning-border) !important; background:var(--warning-bg) !important }
.draft-banner h6{ color:var(--warning-fg) }
.draft-ico{
  width:42px; height:42px; flex:0 0 42px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, var(--warning-border), transparent 70%); color:var(--warning-fg); font-size:1.1rem;
}

/* cheque alerts */
.bell-count{
  position:absolute; top:2px; right:0; min-width:16px; height:16px; padding:0 4px;
  border-radius:999px; background:var(--danger-fg); color:#fff;
  font-size:9.5px; font-weight:700; line-height:16px; text-align:center;
}
.alert-menu{ width:340px; border:1px solid var(--border-subtle); border-radius:var(--radius);
             box-shadow:var(--shadow-pop); background:var(--surface-raised); overflow:hidden }
.alert-menu__head{ display:flex; align-items:center; gap:8px; padding:10px 14px;
                   border-bottom:1px solid var(--border-subtle); background:var(--surface-sunken); font-size:.85rem }
.alert-row{ display:flex; gap:10px; align-items:flex-start; padding:10px 14px;
            border-bottom:1px solid var(--border-subtle) }
.alert-row:last-child{ border-bottom:0 }
.alert-row a{ color:var(--fg-primary) }
.alert-empty{ padding:22px 14px; text-align:center; color:var(--fg-tertiary); font-size:.82rem }
.cheque-alerts{ border:1px solid var(--warning-border); border-radius:var(--radius);
                background:var(--warning-bg); padding:12px 14px; color:var(--warning-fg) }
.cheque-alerts .alert-row{ border-bottom-color:color-mix(in srgb, var(--warning-border), transparent 65%) }
