/* ==========================================================================
   Consolidate — CAASM console. Dark SOC aesthetic.
   ========================================================================== */

:root {
  --bg:            #0a0e14;
  --bg-2:          #0d1117;
  --surface:       #161b22;
  --surface-2:     #1c232c;
  --surface-hover: #1f2733;
  --border:        #21262d;
  --border-2:      #2d343d;

  --text:          #e6edf3;
  --text-dim:      #9da7b3;
  --text-mute:     #6e7681;

  --accent:        #2dd4bf;
  --accent-2:      #38bdf8;
  --accent-dim:    rgba(45, 212, 191, 0.14);

  --critical:      #f85149;
  --high:          #fb8500;
  --medium:        #f0c000;
  --low:           #3fb950;
  --info:          #8b949e;

  --radius:        10px;
  --radius-sm:     7px;
  --shadow:        0 6px 24px rgba(0,0,0,0.4);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  --sidebar-w: 232px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .35em; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }

code, .mono, .id { font-family: var(--mono); font-size: 0.86em; }

::selection { background: var(--accent-dim); }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a424d; }

/* ===== App shell ======================================================== */

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--border);
}
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }

.sidebar__nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar__foot { padding: 10px; border-top: 1px solid var(--border); }

.nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-weight: 520;
  transition: background .12s, color .12s;
}
.nav-link:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav-link--active { background: var(--accent-dim); color: var(--accent); }
.nav-link--active .nav-ico { color: var(--accent); }
.nav-link--logout:hover { color: var(--critical); }
.nav-ico { width: 18px; height: 18px; flex: 0 0 18px; }

.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ===== Top bar ========================================================== */

.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 22px;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.topbar__toggle {
  display: none; background: none; border: none; color: var(--text-dim);
  cursor: pointer; padding: 6px; border-radius: 6px;
}
.topbar__toggle svg { width: 20px; height: 20px; }
.topbar__toggle:hover { background: var(--surface); color: var(--text); }

.topbar__search {
  flex: 1; max-width: 520px;
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 12px;
}
.topbar__search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
.topbar__search svg { width: 16px; height: 16px; color: var(--text-mute); flex: 0 0 16px; }
.topbar__search input {
  flex: 1; background: none; border: none; color: var(--text);
  font-size: .9rem; outline: none;
}
.topbar__search input::placeholder { color: var(--text-mute); }

.topbar__user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-email { color: var(--text-dim); font-size: .85rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.role-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .05em;
  padding: 3px 8px; border-radius: 20px; border: 1px solid var(--border-2);
  color: var(--text-dim); background: var(--surface);
}
.role-badge--admin   { color: var(--accent); border-color: rgba(45,212,191,.4); background: var(--accent-dim); }
.role-badge--analyst { color: var(--accent-2); border-color: rgba(56,189,248,.4); background: rgba(56,189,248,.12); }
.role-badge--viewer  { color: var(--text-dim); }

/* ===== Content ========================================================== */

.content { padding: 24px 28px 60px; max-width: 1480px; width: 100%; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head__title h1 { margin-bottom: 2px; }
.page-head__sub { color: var(--text-dim); font-size: .9rem; }
.page-head__actions { display: flex; gap: 10px; align-items: center; }

.breadcrumb { font-size: .82rem; color: var(--text-mute); margin-bottom: 10px; }
.breadcrumb a { color: var(--text-dim); }

/* ===== Cards & grid ===================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
}
.card--pad-lg { padding: 22px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card__head h3 { margin: 0; }
.card__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 650; }

.grid { display: grid; gap: 16px; }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 1100px) {
  .col-3, .col-4, .col-5 { grid-column: span 6; }
  .col-6, .col-7, .col-8 { grid-column: span 12; }
}
@media (max-width: 720px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

/* ===== Stat tiles ======================================================= */

.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 650; }
.stat__value { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat__value.mono { font-family: var(--mono); }
.stat__sub { font-size: .78rem; color: var(--text-dim); }
.stat--accent .stat__value { color: var(--accent); }
.stat--critical .stat__value { color: var(--critical); }
.stat--high .stat__value { color: var(--high); }

/* ===== Chips (breakdowns) ============================================== */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 11px; font-size: .82rem;
}
.chip b { color: var(--text); font-weight: 700; }
.chip span { color: var(--text-dim); text-transform: capitalize; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ===== Badges (severity / band) ======================================= */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px; border: 1px solid transparent; white-space: nowrap;
}
.badge--critical { color: var(--critical); background: rgba(248,81,73,.13); border-color: rgba(248,81,73,.35); }
.badge--high     { color: var(--high);     background: rgba(251,133,0,.13);  border-color: rgba(251,133,0,.35); }
.badge--medium   { color: var(--medium);   background: rgba(240,192,0,.13);  border-color: rgba(240,192,0,.35); }
.badge--low      { color: var(--low);      background: rgba(63,185,80,.13);  border-color: rgba(63,185,80,.35); }
.badge--info     { color: var(--info);     background: rgba(139,148,158,.13);border-color: rgba(139,148,158,.3); }
.badge--neutral  { color: var(--text-dim); background: var(--surface-2); border-color: var(--border-2); }
.badge--kev      { color: #fff; background: var(--critical); border-color: var(--critical); }
.badge--ok       { color: var(--low); background: rgba(63,185,80,.13); border-color: rgba(63,185,80,.35); }
.badge--warn     { color: var(--high); background: rgba(251,133,0,.13); border-color: rgba(251,133,0,.35); }
.badge--err      { color: var(--critical); background: rgba(248,81,73,.13); border-color: rgba(248,81,73,.35); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--critical { background: var(--critical); }
.dot--high { background: var(--high); }
.dot--medium { background: var(--medium); }
.dot--low { background: var(--low); }
.dot--info { background: var(--info); }

/* vuln-count mini cluster */
.vcounts { display: inline-flex; gap: 4px; align-items: center; }
.vcount { font-family: var(--mono); font-size: .74rem; font-weight: 700; padding: 1px 6px; border-radius: 5px; min-width: 26px; text-align: center; }
.vcount--critical { color: var(--critical); background: rgba(248,81,73,.12); }
.vcount--high     { color: var(--high);     background: rgba(251,133,0,.12); }
.vcount--medium   { color: var(--medium);   background: rgba(240,192,0,.12); }
.vcount--low      { color: var(--low);      background: rgba(63,185,80,.12); }
.vcount--zero     { color: var(--text-mute); background: var(--surface-2); }

/* ===== Tables ========================================================== */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.data { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.data thead th {
  position: sticky; top: 0; z-index: 5;
  background: var(--surface-2); color: var(--text-dim);
  text-align: left; font-weight: 650; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.data thead th.sortable { cursor: pointer; user-select: none; }
table.data thead th.sortable:hover { color: var(--text); }
table.data thead th .sort-ind { color: var(--accent); margin-left: 3px; }
table.data tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .1s; }
table.data tbody tr:hover { background: var(--surface-hover); }
table.data tbody tr.clickable { cursor: pointer; }
table.data .num { text-align: right; font-family: var(--mono); }
table.data .nowrap { white-space: nowrap; }
.cell-host { font-weight: 600; }
.cell-sub { color: var(--text-mute); font-size: .78rem; }

.risk-score { font-family: var(--mono); font-weight: 700; }
.risk-score--critical { color: var(--critical); }
.risk-score--high { color: var(--high); }
.risk-score--medium { color: var(--medium); }
.risk-score--low { color: var(--low); }

/* ===== Forms / controls =============================================== */

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); font-weight: 650; }

input[type=text], input[type=search], input[type=password], input[type=email],
input[type=number], select, textarea {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 8px 11px; font-size: .88rem; font-family: var(--font);
  outline: none; transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
input::placeholder { color: var(--text-mute); }
select { cursor: pointer; }
textarea { resize: vertical; min-height: 80px; font-family: var(--mono); font-size: .82rem; }
.input-inline { min-width: 150px; }

.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .85rem; color: var(--text-dim); }
.checkbox input { accent-color: var(--accent); width: 15px; height: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: .85rem; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: background .12s, border-color .12s, opacity .12s;
}
.btn:hover { background: var(--surface-hover); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }
.btn--primary { background: var(--accent); color: #04201c; border-color: var(--accent); }
.btn--primary:hover { background: #34e3cf; }
.btn--accent2 { background: var(--accent-2); color: #042435; border-color: var(--accent-2); }
.btn--ghost { background: transparent; }
.btn--danger { color: var(--critical); border-color: rgba(248,81,73,.4); }
.btn--danger:hover { background: rgba(248,81,73,.12); }
.btn--sm { padding: 5px 10px; font-size: .78rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; gap: 9px; flex-wrap: wrap; }

/* ===== States ========================================================== */

.loading, .empty, .error-box {
  padding: 28px; text-align: center; color: var(--text-dim);
  border: 1px dashed var(--border-2); border-radius: var(--radius); font-size: .9rem;
}
.error-box { color: var(--critical); border-color: rgba(248,81,73,.4); background: rgba(248,81,73,.06); }
.spinner {
  width: 20px; height: 20px; border: 2px solid var(--border-2);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.inline-msg { font-size: .82rem; padding: 7px 11px; border-radius: var(--radius-sm); display: none; }
.inline-msg.show { display: block; }
.inline-msg--ok { color: var(--low); background: rgba(63,185,80,.1); border: 1px solid rgba(63,185,80,.3); }
.inline-msg--err { color: var(--critical); background: rgba(248,81,73,.1); border: 1px solid rgba(248,81,73,.3); }
.inline-msg--info { color: var(--accent-2); background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3); }

/* ===== Pagination ===================================================== */

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pagination__info { color: var(--text-dim); font-size: .82rem; }
.pagination__ctrls { display: flex; gap: 8px; align-items: center; }

/* ===== Charts ========================================================= */

.chart-box { position: relative; height: 220px; }
.chart-box--sm { height: 180px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: .8rem; }
.legend-item { display: flex; align-items: center; gap: 6px; color: var(--text-dim); }

/* ===== Login ========================================================== */

.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(45,212,191,.10), transparent 60%),
    radial-gradient(800px 500px at 90% 110%, rgba(56,189,248,.10), transparent 60%),
    var(--bg);
  padding: 20px;
}
.login-card {
  width: 100%; max-width: 380px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 32px 30px;
  box-shadow: var(--shadow);
}
.login-brand { display: flex; align-items: center; gap: 11px; justify-content: center; margin-bottom: 6px; }
.login-brand .brand-mark { width: 32px; height: 32px; color: var(--accent); }
.login-brand .brand-name { font-size: 1.4rem; font-weight: 700; }
.login-sub { text-align: center; color: var(--text-dim); font-size: .85rem; margin-bottom: 24px; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form .field input { padding: 10px 12px; }
.login-foot { margin-top: 18px; text-align: center; color: var(--text-mute); font-size: .75rem; }

/* ===== Modal ========================================================== */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(3,6,10,.7); backdrop-filter: blur(3px);
  display: none; align-items: flex-start; justify-content: center; z-index: 100; padding: 50px 16px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%; max-width: 560px; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: 12px; box-shadow: var(--shadow);
}
.modal--wide { max-width: 760px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal__head h2 { margin: 0; }
.modal__close { background: none; border: none; color: var(--text-mute); cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 4px; }
.modal__close:hover { color: var(--text); }
.modal__body { padding: 22px; display: flex; flex-direction: column; gap: 16px; max-height: 65vh; overflow-y: auto; }
.modal__foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .field { width: 100%; }
.form-grid .span-2 { grid-column: span 2; }
.field-help { font-size: .76rem; color: var(--text-mute); }
.field input, .field select, .field textarea { width: 100%; }

/* ===== Tabs =========================================================== */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  padding: 9px 14px; cursor: pointer; color: var(--text-dim); font-weight: 600; font-size: .86rem;
  border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none;
}
.tab:hover { color: var(--text); }
.tab--active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel--active { display: block; }

/* ===== Key/value lists =============================================== */

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 9px 16px; font-size: .87rem; }
.kv dt { color: var(--text-mute); }
.kv dd { margin: 0; color: var(--text); word-break: break-word; }
.kv dd.mono { font-family: var(--mono); }

.tag-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 6px; padding: 2px 8px; font-size: .78rem; font-family: var(--mono); margin: 2px; }
.tag-pill b { color: var(--accent); font-weight: 600; }

/* ===== Connector cards ================================================ */

.connector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.connector {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.connector__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.connector__logo {
  width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #04201c; flex: 0 0 42px;
}
.connector__name { font-weight: 650; font-size: 1rem; }
.connector__type { color: var(--text-mute); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.connector__meta { font-size: .8rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 5px; }
.connector__meta .row { display: flex; justify-content: space-between; gap: 8px; }
.connector__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* Brand colours for connectors */
.logo-aws { background: #ff9900; } .logo-azure { background: #0078d4; color:#fff; }
.logo-defender { background: #00bcf2; } .logo-qualys { background: #ed1c24; color:#fff; }
.logo-prisma { background: #fa582d; color:#fff; }

/* ===== Misc =========================================================== */

.muted { color: var(--text-mute); }
.dim { color: var(--text-dim); }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.scroll-y { max-height: 360px; overflow-y: auto; }
.divider { height: 1px; background: var(--border); margin: 16px 0; border: none; }

.bar { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 4px; background: var(--accent); }

.contrib-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.contrib-row:last-child { border-bottom: none; }

/* ===== Responsive ===================================================== */

@media (max-width: 900px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 50;
    transform: translateX(-100%); transition: transform .2s ease;
    box-shadow: var(--shadow);
  }
  .app-shell.nav-open .sidebar { transform: translateX(0); }
  .topbar__toggle { display: inline-flex; }
  .content { padding: 18px 16px 50px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
}

.nav-scrim {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 45;
}
.app-shell.nav-open .nav-scrim { display: block; }
@media (min-width: 901px) { .nav-scrim { display: none !important; } }

/* Live ingestion-run indicators (run history) */
.row-active { background: rgba(45, 212, 191, 0.06); }
.spin-inline {
  display: inline-block; width: 10px; height: 10px; margin-right: 6px;
  vertical-align: middle; border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent, #2dd4bf); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Multi-line connector diagnostics (Test Connection) render line breaks */
.inline-msg.show { white-space: pre-wrap; word-break: break-word; }
