/* ERProxenos · Βοηθός AI. Χρώμα ενότητας: τιρκουάζ (Apple teal).
   Επανασχεδίαση 17/11/2026: ιστορικό σε πλαϊνή στήλη, φούσκες, κάρτες όπως στις Παραγγελίες και στο CRM. */
:root[data-section="assistant"] { --sec: #0e7c86; --sec-bg: #e3f6f7; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5.5h14a1.5 1.5 0 0 1 1.5 1.5v8.5a1.5 1.5 0 0 1-1.5 1.5H10l-4.5 3.5V17H5a1.5 1.5 0 0 1-1.5-1.5V7A1.5 1.5 0 0 1 5 5.5z'/%3E%3C/svg%3E"); }
:root[data-theme="dark"][data-section="assistant"] { --sec: #40c8e0; --sec-bg: rgba(64, 200, 224, .13); }
:root { --chat-me-ink: #fff; --chat-soft: color-mix(in srgb, var(--sec, #0e7c86) 9%, transparent); --chat-code: rgba(118, 118, 128, .1); }
:root[data-theme="dark"] { --chat-me-ink: #00262c; --chat-code: rgba(118, 118, 128, .22); }

/* ---------- Διάταξη: ιστορικό αριστερά, συνομιλία δεξιά ---------- */
.chatx-mobile { display: none; }
.chatx { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 16px; height: calc(100dvh - 150px); min-height: 440px; }
.main:has(> .chatx) { padding-bottom: 20px; }
.chatx-side, .chatx-main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chatx-side { background: color-mix(in srgb, var(--panel) 82%, transparent); }
.chatx-side-top { display: grid; gap: 10px; padding: 14px 14px 8px; }
.chatx-new { justify-content: center; width: 100%; padding: 9px 15px; }
.chatx-searchbox { display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 10px; background: var(--fill); color: var(--muted); }
.chatx-searchbox:focus-within { outline: 3px solid rgba(0, 113, 227, .35); }
.chatx-searchbox input[type=search] { flex: 1; min-width: 0; border: 0; background: none; outline: none; box-shadow: none; padding: 7px 0; color: var(--ink); font-size: 13.5px; }
.chatx-all { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); padding: 2px 16px 6px; cursor: pointer; }
.chatx-hist { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 8px 12px; overscroll-behavior: contain; }
.chatx-hgroup h3 { margin: 12px 8px 4px; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.chatx-li { display: flex; align-items: center; border-radius: 9px; transition: background-color .15s var(--ease); }
.chatx-li:hover, .chatx-li:focus-within { background: var(--hover); }
.chatx-li.on { background: var(--chat-soft); }
.chatx-li-open { flex: 1; min-width: 0; display: grid; gap: 1px; text-align: left; border: 0; background: none; padding: 8px 8px; cursor: pointer; color: var(--ink); font: inherit; font-size: 13.5px; border-radius: 9px; }
.chatx-li-open span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatx-li.on .chatx-li-open span { font-weight: 600; color: var(--sec); }
.chatx-li-open small { color: var(--muted); font-size: 11.5px; }
.chatx-li-btn { flex: none; display: none; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; transition: background-color .15s; }
.chatx-li:hover .chatx-li-btn, .chatx-li:focus-within .chatx-li-btn, .chatx-li.on .chatx-li-btn { display: grid; }
.chatx-li-btn:hover { background: var(--fill-press); color: var(--ink); }
.chatx-none { padding: 22px 12px; text-align: center; color: var(--muted); font-size: 13px; }

.chatx-bar { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line); min-height: 46px; }
.chatx-bar-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--chat-soft); color: var(--sec); flex: none; }
.chatx-title { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatx-log { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px 12px; display: flex; flex-direction: column; gap: 22px; scroll-behavior: smooth; overscroll-behavior: contain; outline: none; }
.chatx-log:focus-visible { box-shadow: inset 0 0 0 3px rgba(0, 113, 227, .35); }
.chatx-log > .empty { margin: auto; }

/* Κάθε ερώτηση με την απάντησή της. Ο τελευταίος γύρος γεμίζει το ύψος, ώστε η νέα ερώτηση να ανεβαίνει στην κορυφή. */
.chatx-turn { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 860px; margin: 0 auto; scroll-margin-top: 4px; }
.chatx-turn.current { min-height: calc(100% - 4px); }

/* ---------- Μηνύματα ---------- */
.cmsg { display: flex; gap: 10px; }
.cmsg.new { animation: chat-in .28s var(--ease-out) both; }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cmsg.me { justify-content: flex-end; }
.cmsg.me .cbubble { max-width: min(640px, 86%); background: var(--sec); color: var(--chat-me-ink); border-radius: 18px 18px 6px 18px; padding: 9px 15px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; font-size: 14.5px; }
.cavatar { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; background: var(--chat-soft); color: var(--sec); }
.cbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cmsg.bot .cbubble { max-width: 100%; background: var(--fill); border-radius: 6px 18px 18px 18px; padding: 11px 16px; line-height: 1.58; font-size: 14.5px; overflow-wrap: anywhere; }
.cbubble[hidden], .cstatus[hidden], .cmeta[hidden] { display: none; }
.cbubble.streaming > :last-child::after { content: ''; display: inline-block; width: 7px; height: 15px; margin-left: 3px; border-radius: 2px; background: var(--sec); vertical-align: -2px; animation: chat-caret 1s steps(2, start) infinite; }
@keyframes chat-caret { to { visibility: hidden; } }
.cblocks { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.cblocks:empty { display: none; }
.cmeta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-top: -4px; }
.cmeta-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; padding: 3px 7px; border-radius: 7px; cursor: pointer; }
.cmeta-btn:hover { background: var(--fill); color: var(--ink); }

/* Ένδειξη εργασίας */
.cstatus { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; background: var(--fill); border-radius: 999px; padding: 7px 14px; }
.cdots { display: inline-flex; gap: 4px; }
.cdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sec); animation: chat-dot 1.2s infinite ease-in-out; }
.cdots i:nth-child(2) { animation-delay: .15s; }
.cdots i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.85); } 40% { opacity: 1; transform: none; } }

/* ---------- Markdown ---------- */
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 10px; }
.md .md-h { margin: 14px 0 6px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.md h4.md-h { font-size: 14.5px; }
.md ul, .md ol { margin: 4px 0 10px; padding-left: 22px; }
.md li { margin: 3px 0; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.md blockquote { margin: 0 0 10px; padding: 2px 0 2px 12px; border-left: 3px solid var(--sec); color: var(--muted); }
.md blockquote p { margin: 0 0 4px; }
.md code { font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--chat-code); border-radius: 5px; padding: 1px 5px; }
.md-code { margin: 0 0 10px; border-radius: 10px; background: var(--chat-code); overflow: hidden; }
.md-code-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 0 12px; color: var(--muted); font-size: 11.5px; }
.md-code pre { margin: 0; padding: 6px 12px 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.md-code pre code { background: none; padding: 0; }
.md-tablewrap { margin: 0 0 10px; border-radius: 10px; background: var(--panel); overflow: hidden; }
.md-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.md-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 7px 10px; border-bottom: 1px solid var(--line); }
.md-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.md-table tr:last-child td { border-bottom: 0; }
.md-table .num, .chat-grid .num { text-align: right; font-variant-numeric: tabular-nums; }
.applink { color: var(--brand); text-decoration: none; font-weight: 600; }
.applink:hover { text-decoration: underline; }

/* ---------- Κάρτες μέσα στη συνομιλία ---------- */
.ccard { width: 100%; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.ccard-head { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 14px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.ccard-head.static { cursor: default; }
.ccard-head b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard-head .grow { flex: 1; }
button.ccard-head:hover { background: var(--hover); }
button.ccard-head:focus-visible { outline: 3px solid rgba(0, 113, 227, .45); outline-offset: -3px; border-radius: var(--radius); }
.ccard-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--chat-soft); color: var(--sec); }
.ccard-count { margin-left: auto; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.ccard-chev { display: grid; color: var(--muted); transition: transform .2s var(--ease); }
.ccard.open .ccard-chev { transform: rotate(180deg); }

/* Πίνακας αποτελεσμάτων */
.ctable-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.ctable-tools[hidden] { display: none; }
.ctable-tools .grow { flex: 1; }
.ctable-filter[type=search] { width: 170px; max-width: 100%; padding: 4px 10px; font-size: 12.5px; border-radius: 999px; }
.ctable-scroll { max-height: 420px; overflow: auto; border-top: 1px solid var(--line); }
.chat-grid { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.chat-grid th { padding: 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 1; }
.chat-grid th button { display: flex; align-items: center; gap: 4px; width: 100%; padding: 8px 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; text-align: left; }
.chat-grid th.num button { justify-content: flex-end; }
.chat-grid th button:hover { color: var(--ink); }
.chat-grid th button:focus-visible { outline: 3px solid rgba(0, 113, 227, .45); outline-offset: -3px; }
.chat-grid .sort { font-size: 9px; min-width: 9px; }
.chat-grid td { padding: 7px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.chat-grid tbody tr:last-child td { border-bottom: 0; }
.chat-grid tbody tr:hover { background: var(--hover); }
.ctable-note { margin: 0; padding: 8px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.chat-sql { margin: 0 14px 10px; padding: 10px 12px; border-radius: 10px; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--chat-code); }
.chat-sql[hidden] { display: none; }

/* Γράφημα */
.chat-chart { padding: 6px 14px 12px; border-top: 1px solid var(--line); }
.chart-ctl { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.chart-ctl select { width: auto; max-width: 100%; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .grid { stroke: var(--line); stroke-width: 1; }
.chart-svg .ax { fill: var(--muted); font-size: 10.5px; }
.chart-svg .bar { fill: var(--sec); }
.chart-svg .line { stroke: var(--sec); stroke-width: 2.4; }
.chart-svg .dot { fill: var(--panel); stroke: var(--sec); stroke-width: 2; }

/* Κάρτα αλλαγής / διαγραφής: πριν → μετά */
.cconfirm { box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--warn) 45%, transparent); }
.cconfirm .ccard-icon { background: var(--warn-bg); color: var(--warn); }
.cconfirm.danger { box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--bad) 45%, transparent); }
.cconfirm.danger .ccard-icon { background: var(--bad-bg); color: var(--bad); }
.cconfirm.done, .cconfirm.stale, .cconfirm.failed { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.cconfirm.done .ccard-icon { background: var(--ok-bg); color: var(--ok); }
.cconfirm.stale .ccard-icon { background: var(--grey-bg); color: var(--muted); }
.cconfirm.stale .cdiff, .cconfirm.stale .cconfirm-summary { opacity: .7; }
.cconfirm-summary { margin: 0; padding: 0 14px 10px; line-height: 1.5; }
.cconfirm-warn { margin: 0; padding: 0 14px 10px; font-size: 12.5px; color: var(--bad-ink); }
.cconfirm.stale .cconfirm-warn, .cconfirm.done .cconfirm-warn { display: none; }
.cdiff { margin: 0 14px 12px; border-radius: 10px; background: var(--fill); overflow: hidden; }
.cdiff-group { padding: 8px 12px 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cdiff-row { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr) 18px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 7px 12px; font-size: 13.5px; }
.cdiff-row + .cdiff-row { border-top: 1px solid var(--line); }
.cdiff-label { color: var(--muted); }
.cdiff-before { color: var(--muted); overflow-wrap: anywhere; }
.cdiff-after { font-weight: 600; overflow-wrap: anywhere; }
.cdiff-before.none, .cdiff-after.none { font-style: italic; font-weight: 400; color: var(--muted); }
.cdiff-arrow { color: var(--muted); text-align: center; }
.cdiff-more { padding: 7px 12px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.cconfirm-foot { padding: 0 14px 14px; }
.cconfirm-foot:empty { display: none; }
.cconfirm-note { font-size: 12.5px; margin: 0; }
.cresult { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 600; line-height: 1.45; }
.cresult.ok { color: var(--ok); }
.cresult.bad { color: var(--bad-ink); }
.cresult span { display: grid; flex: none; }
.capp { display: flex; }

/* ---------- Κενή συνομιλία ---------- */
.chatx-welcome { width: 100%; max-width: 760px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 8px 0 12px; }
.chatx-group { min-width: 0; }
.chatx-hero { text-align: center; display: grid; justify-items: center; gap: 6px; }
.chatx-hero-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--chat-soft); color: var(--sec); margin-bottom: 4px; }
.chatx-hero h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.chatx-hero p { margin: 0; color: var(--muted); max-width: 56ch; line-height: 1.5; }
.chatx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.chatx-tile { display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 13px 14px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ink); font: inherit; font-size: 13.5px; line-height: 1.4; cursor: pointer; transition: background-color .15s var(--ease), transform .1s var(--ease-out); }
.chatx-tile:hover { background: var(--fill-press); }
.chatx-tile:active { transform: scale(.98); }
.chatx-tile:focus-visible, .chatx-chip:focus-visible, .chatx-chip button:focus-visible, .chatx-li-open:focus-visible, .chatx-li-btn:focus-visible, .cmeta-btn:focus-visible, .chatx-tool:focus-visible, .chatx-send:focus-visible { outline: 3px solid rgba(0, 113, 227, .45); outline-offset: 2px; }
.chatx-tile-icon { flex: none; display: grid; color: var(--sec); margin-top: 1px; }
.chatx-tile.strong { background: var(--chat-soft); font-weight: 600; }
.chatx-group h3 { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.chatx-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chatx-chip, .chatx-chip.saved button { border: 0; background: var(--fill); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background-color .15s var(--ease); }
.chatx-chip:hover, .chatx-chip.saved button:hover { background: var(--fill-press); }
.chatx-chip.saved { display: inline-flex; padding: 0; background: none; overflow: visible; }
.chatx-chip.saved button:first-child { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px 0 0 999px; padding-right: 8px; }
.chatx-chip.saved button:first-child svg { color: var(--sec); flex: none; }
.chatx-chip.saved .x { display: grid; place-items: center; border-radius: 0 999px 999px 0; padding: 6px 10px 6px 6px; color: var(--muted); }

/* ---------- Πεδίο ερώτησης ---------- */
.chatx-composer { padding: 10px 20px 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.chatx-field { display: flex; align-items: flex-end; gap: 6px; width: 100%; max-width: 860px; margin: 0 auto; padding: 6px 6px 6px 14px; border-radius: 22px; background: var(--fill); transition: box-shadow .15s var(--ease), background-color .15s var(--ease); }
.chatx-field:focus-within { background: var(--panel); box-shadow: 0 0 0 1px var(--sec), 0 0 0 4px color-mix(in srgb, var(--sec) 22%, transparent); }
textarea.chatx-input { flex: 1; min-width: 0; min-height: 36px; max-height: 200px; padding: 8px 0; border: 0; outline: none; box-shadow: none; background: transparent; resize: none; font-size: 15px; line-height: 1.4; color: var(--ink); }
.chatx-field-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.chatx-tool { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.chatx-tool:hover { background: var(--fill-press); color: var(--ink); }
.chatx-send { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sec); color: var(--chat-me-ink); cursor: pointer; transition: transform .1s var(--ease-out), opacity .15s; }
.chatx-send:active { transform: scale(.92); }
.chatx-send:disabled { opacity: .35; cursor: default; }
.chatx-hint { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; max-width: 860px; margin: 0 auto; padding: 0 14px; font-size: 11.5px; color: var(--muted); }

.chatx-drawer .body { align-content: start; gap: 10px; }
.chatx-drawer .chatx-hist { padding: 0; overflow: visible; }
.chatx-drawer .chatx-li-btn { display: grid; }

@media (prefers-reduced-motion: reduce) {
  .cmsg, .cdots i, .cbubble.streaming > :last-child::after { animation: none; }
  .chatx-log { scroll-behavior: auto; }
}
@media (prefers-contrast: more) {
  .cmsg.bot .cbubble, .chatx-field, .chatx-tile, .cdiff { box-shadow: 0 0 0 1px var(--line); }
}

/* ---------- Κινητό: μία στήλη, το ιστορικό σε συρτάρι, το πεδίο πάνω από την κάτω μπάρα ---------- */
@media (max-width: 860px) {
  .chatx-mobile { display: inline-flex; }
  .chatx-plus { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .chatx-head h1 { font-size: 24px; }
  .chatx-head { margin-bottom: 12px; }
  .chatx { display: block; height: auto; min-height: 0; }
  .chatx-side { display: none; }
  .chatx-main { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .chatx-bar { display: none; }
  /* Το πεδίο στέκεται πάνω από την κάτω μπάρα (ή το πληκτρολόγιο). Το κάτω κενό της σελίδας είναι το ίδιο ακριβώς ύψος (--chat-bottom, μετρημένο),
     ώστε στο τέλος της κύλισης η απάντηση να τελειώνει πάνω από το πεδίο και όχι πίσω του. */
  .main:has(> .chatx) { padding-bottom: var(--chat-bottom, calc(74px + env(safe-area-inset-bottom))); }
  .chatx-log { overflow: visible; padding: 4px 0 16px; min-height: calc(100dvh - 330px); }
  .chatx-turn { scroll-margin-top: 64px; }
  .chatx-turn.current { min-height: calc(100dvh - 300px); }
  .cmsg.me .cbubble { max-width: 88%; font-size: 15px; }
  .cmsg.bot .cbubble { font-size: 15px; background: var(--panel); }
  .cavatar { display: none; }
  .chatx-welcome { margin: 0 auto; gap: 18px; }
  .chatx-hero h2 { font-size: 21px; }
  .chatx-tiles { grid-template-columns: minmax(0, 1fr); }
  .chatx-tile { background: var(--panel); }
  .chatx-composer { position: sticky; bottom: var(--chat-bottom, calc(74px + env(safe-area-inset-bottom))); z-index: 5; padding: 0; border: 0; }
  .chatx-field { background: var(--panel); box-shadow: 0 4px 24px rgba(0, 0, 0, .14), 0 0 0 1px var(--line); }
  .chatx-hint { display: none; }
  textarea.chatx-input { font-size: 16px; }
  /* Στο κινητό τίποτα δεν κυλά οριζόντια: κάθε γραμμή πίνακα γίνεται μικρή κάρτα «ετικέτα: τιμή». */
  .ctable-scroll { max-height: none; overflow: visible; }
  .chat-grid thead, .md-table thead { display: none; }
  .chat-grid, .chat-grid tbody, .chat-grid tr, .chat-grid td, .md-table, .md-table tbody, .md-table tr, .md-table td { display: block; }
  .chat-grid tr, .md-table tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .chat-grid tbody tr:last-child, .md-table tr:last-child { border-bottom: 0; }
  .chat-grid td, .md-table td { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
  .chat-grid td:empty, .md-table td:empty { display: none; }
  .chat-grid td::before, .md-table td::before { content: attr(data-l); color: var(--muted); font-size: 12.5px; text-align: left; flex: none; max-width: 45%; }
  .chat-grid td:first-child, .md-table td:first-child { font-weight: 600; }
  .ctable-filter[type=search] { width: 100%; }
  .cdiff-row { grid-template-columns: 1fr 18px 1fr; }
  .cdiff-label { grid-column: 1 / -1; font-size: 12.5px; }
  .ccard-count { display: none; }
}
