:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  color: #17211d;
  background: #f4f6f5;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.topbar {
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: white;
  background: #173d31;
  border-bottom: 4px solid #e5b93f;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 3px; font-size: 22px; letter-spacing: 0; }
h2 { margin-bottom: 6px; font-size: 17px; letter-spacing: 0; }
.topbar p { margin-bottom: 0; color: #cae0d7; font-size: 13px; }
.connection { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #f46d62; }
.dot.online { background: #57d69b; }
.header-button {
  min-height: 30px;
  margin-left: 8px;
  padding: 4px 9px;
  color: white;
  border-color: #759589;
  background: transparent;
}
.header-button:hover { background: #275244; }

main { max-width: 1180px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 36px) 48px; }
.app-nav {
  display: flex;
  gap: 2px;
  padding: 0 clamp(18px, 4vw, 48px);
  overflow-x: auto;
  background: white;
  border-bottom: 1px solid #d9dfdc;
}
.nav-button {
  min-height: 48px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
}
.nav-button.active { color: #173d31; border-bottom-color: #216347; font-weight: 700; }
.view { display: block; }
.page-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.page-heading h2 { font-size: 22px; }
.page-heading p { margin-bottom: 0; color: #68736e; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { min-width: 210px; padding: 8px 10px; border: 1px solid #aeb9b3; border-radius: 4px; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.overview-panel { padding: 18px; border: 1px solid #d9dfdc; border-radius: 6px; background: white; }
.overview-wide { grid-column: 1 / -1; }
.overview-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.overview-panel-head h3 { margin: 0; font-size: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.metric-card { min-height: 74px; padding: 12px; border: 1px solid #dfe5e2; border-radius: 6px; background: #fbfcfb; }
.metric-card strong { display: block; font-size: 24px; line-height: 1.1; }
.metric-card span { display: block; margin-top: 5px; color: #51605a; font-size: 12px; }
.metric-card small { display: block; margin-top: 3px; color: #68736e; font-size: 11px; }
.overview-campaign > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.overview-campaign-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.attention-list, .activity-list { display: grid; gap: 8px; }
.attention-item { padding: 10px 12px; border-left: 4px solid #6d8e80; background: #f6f8f7; border-radius: 4px; font-size: 13px; }
.attention-item.warn { border-left-color: #d09a2b; background: #fff8e8; }
.attention-item.error { border-left-color: #b4473f; background: #fff0ee; }
.activity-item { display: grid; grid-template-columns: 160px 120px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #e1e7e4; font-size: 13px; }
.activity-item span { color: #68736e; }
.activity-item strong { color: #36443d; text-transform: capitalize; }
.activity-item p { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-table table { font-size: 13px; }
.campaign-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid #d9dfdc;
  border-radius: 6px;
  background: white;
}
.form-section { padding: 24px; }
.form-section > label, fieldset legend { font-weight: 700; font-size: 13px; }
.form-section textarea { min-height: 170px; margin-top: 7px; }
.template-library { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #d9dfdc; }
.template-header { display: flex; justify-content: space-between; gap: 16px; }
.template-header h3 { margin: 0 0 4px; font-size: 16px; }
.template-header p { margin: 0; color: #68736e; font-size: 13px; }
.template-actions { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; gap: 8px; margin-top: 12px; }
.template-actions input { min-height: 38px; padding: 8px 10px; border: 1px solid #aeb9b3; border-radius: 4px; }
.template-list { display: grid; gap: 8px; max-height: 300px; margin-top: 12px; overflow-y: auto; padding-right: 4px; }
.saved-template-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: #36443d; font-size: 13px; }
.saved-template-heading span { color: #68736e; }
.mini-empty { padding: 12px; margin-top: 8px; border: 1px dashed #cbd5d0; border-radius: 5px; }
.template-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 11px 12px; border: 1px solid #d9dfdc; border-radius: 5px; background: #fbfcfb; text-align: left; }
.template-item.active { border-color: #216347; background: #edf7f2; }
.template-item > div { min-width: 0; }
.template-item strong { display: block; margin-bottom: 3px; }
.template-item span { display: block; color: #68736e; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.template-item small { align-self: start; color: #68736e; white-space: nowrap; }
fieldset { margin: 20px 0 0; padding: 0; border: 0; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.check-row { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 10px; border: 1px solid #d5dcd8; border-radius: 4px; }
.check-row input { width: 17px; height: 17px; }
.account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.account-card { padding: 18px; border: 1px solid #d6ddda; border-radius: 6px; background: white; }
.account-card-head { display: flex; align-items: center; gap: 11px; }
.account-card h3 { margin: 0 0 3px; font-size: 16px; }
.account-card p { margin: 0; color: #68736e; font-size: 13px; }
.account-actions { margin-top: 16px; }
.group-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 520px; border: 1px solid #d9dfdc; border-radius: 6px; background: white; overflow: hidden; }
.group-list { padding: 10px; border-right: 1px solid #d9dfdc; background: #f7f9f8; }
.group-item { display: flex; flex-direction: column; width: 100%; text-align: left; border: 0; background: transparent; }
.group-item span { color: #68736e; font-size: 12px; }
.group-item.active { color: #173d31; background: #dcebe4; }
.group-editor { padding: 24px; min-width: 0; }
.group-source { padding: 20px 0; }
.group-source > label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13px; }
.group-source textarea { min-height: 110px; margin-bottom: 10px; }
.rules-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; }
.rule-form { padding: 20px; border: 1px solid #d9dfdc; border-radius: 6px; background: white; }
.form-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.form-title-row h3 { margin: 0; font-size: 16px; }
.template-buttons { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; }
.template-buttons button { min-height: 32px; padding: 5px 8px; white-space: nowrap; font-size: 12px; }
.rule-form label { display: grid; gap: 5px; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.rule-form input, .rule-form select { min-height: 39px; padding: 7px 9px; border: 1px solid #aeb9b3; border-radius: 4px; }
.rule-form textarea { min-height: 110px; }
.rule-list { display: grid; align-content: start; gap: 8px; }
.rule-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 15px; border: 1px solid #d9dfdc; border-radius: 5px; background: white; }
.rule-card.disabled { opacity: .65; background: #f3f5f4; }
.rule-card p { margin: 5px 0 0; color: #58645f; font-size: 13px; white-space: pre-wrap; }
.rule-meta { color: #68736e; font-size: 12px; }
.rule-actions { display: flex; align-items: center; gap: 6px; }
.rule-actions button { min-height: 32px; padding: 5px 8px; }
.switch-label { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.switch-label input { width: 17px; height: 17px; }
.inbox-list { display: grid; gap: 8px; }
.inbox-message { max-width: 760px; padding: 14px 16px; border: 1px solid #d5dcd8; border-radius: 6px; background: white; }
.inbox-message.outbound { margin-left: auto; background: #e9f5ef; }
.inbox-meta { display: flex; justify-content: space-between; gap: 16px; }
.inbox-meta span { color: #68736e; font-size: 12px; text-transform: uppercase; }
.inbox-message p { margin: 8px 0; white-space: pre-wrap; }
.inbox-message small { color: #68736e; }
.qr-image { display: block; width: 260px; height: 260px; margin: 16px auto; }
.setup-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 24px;
  margin-bottom: 22px;
  background: #fff8df;
  border: 1px solid #e6cc72;
  border-radius: 6px;
}
.relink-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  margin-bottom: 22px;
  color: #6d312b;
  background: #fff0ee;
  border: 1px solid #e4aaa4;
  border-radius: 6px;
}
.relink-band h2 { margin-bottom: 4px; }
.relink-band p { margin-bottom: 0; }
.setup-band p { margin-bottom: 0; color: #62562f; }
.setup-band img { width: 150px; height: 150px; background: white; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border: 1px solid #d9dfdc;
  background: white;
  border-radius: 6px;
  overflow: hidden;
}
.editor, .campaign-panel, .recipients, .imports-section { padding: 24px; }
.campaign-panel { border-left: 1px solid #d9dfdc; background: #f9faf9; }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.section-heading p, .muted { color: #68736e; font-size: 13px; }
.message-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.message-heading label { font-weight: 700; font-size: 13px; }

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #b9c3be;
  border-radius: 4px;
  padding: 12px;
  color: #17211d;
  background: white;
}
#message { min-height: 200px; line-height: 1.55; }
#manualNumbers { min-height: 120px; }
textarea:focus, input:focus { outline: 3px solid #cde7dc; border-color: #33765d; }

.actions { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #9eaaa4;
  border-radius: 4px;
  color: #22302a;
  background: white;
}
button:hover { background: #eef3f0; }
button:disabled { cursor: not-allowed; opacity: .5; }
.primary { width: 100%; color: white; border-color: #216347; background: #216347; font-weight: 700; }
.primary:hover { background: #194e38; }
.secondary { width: 100%; margin-top: 8px; }
.text-button { border: 0; color: #a33b32; background: transparent; }
.row-action { min-height: 30px; padding: 4px 8px; font-size: 12px; }

dl { margin: 18px 0; }
dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #dde3e0; }
dt { color: #68736e; }
dd { margin: 0; font-weight: 700; }
.progress { height: 7px; margin: 18px 0; overflow: hidden; background: #dfe5e2; border-radius: 3px; }
.progress span { display: block; width: 0; height: 100%; background: #2a8a62; transition: width .2s; }
.warning { margin: 14px 0 0; color: #7d5c19; font-size: 12px; line-height: 1.45; }

.recipients, .imports-section { margin-top: 22px; border: 1px solid #d9dfdc; border-radius: 6px; background: white; }
.imports-section .table-wrap { margin-top: 16px; }
.source-tabs { display: flex; gap: 2px; margin: 18px -24px 0; padding: 0 24px; border-bottom: 1px solid #d9dfdc; }
.tab { border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #58645f; background: transparent; }
.tab.active { border-bottom-color: #216347; color: #173d31; font-weight: 700; }
.source-panel { padding: 20px 0; }
.source-panel label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13px; }
#csvFile { display: block; width: 100%; padding: 12px; margin-bottom: 10px; border: 1px dashed #9eaaa4; }
.database-panel { padding: 20px; margin: 20px 0; background: #f3f7f5; border-left: 4px solid #6d8e80; }
.database-panel p { margin: 5px 0 0; color: #59665f; }
.database-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.database-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.database-grid label, dialog label, .login-panel label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.database-grid select, .database-grid input {
  width: 100%;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid #aeb9b3;
  border-radius: 4px;
  background: white;
}

.notice { padding: 10px 12px; margin-bottom: 14px; border-radius: 4px; background: #edf7f2; color: #245a43; }
.notice.error { color: #832e28; background: #fff0ee; }
.table-wrap { overflow-x: auto; border-top: 1px solid #d9dfdc; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 8px; text-align: left; border-bottom: 1px solid #e5e9e7; white-space: nowrap; }
th { color: #65716b; font-size: 12px; text-transform: uppercase; }
td:last-child, th:last-child { width: 48px; text-align: right; }
.remove { min-height: 30px; padding: 3px 9px; border: 0; color: #a33b32; background: transparent; }
.empty { padding: 28px; margin: 0; text-align: center; color: #748079; }

dialog { width: min(430px, calc(100% - 32px)); border: 1px solid #c7d0cb; border-radius: 6px; padding: 24px; }
dialog::backdrop { background: rgb(17 32 26 / 55%); }
dialog p { color: #5e6a64; line-height: 1.5; }
dialog input { width: 100%; padding: 10px; margin: 8px 0 16px; border: 1px solid #aeb9b3; border-radius: 4px; }
.login-error { padding: 9px; color: #832e28; background: #fff0ee; border-radius: 4px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.dialog-actions button { width: auto; margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.login-page {
  min-height: 100vh;
  background: #eef2f0;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-panel {
  width: min(420px, 100%);
  overflow: hidden;
  background: white;
  border: 1px solid #d1d9d5;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgb(23 61 49 / 12%);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 24px;
  color: white;
  background: #173d31;
  border-bottom: 4px solid #e5b93f;
}
.login-brand h1 { font-size: 20px; }
.login-brand p { margin: 0; color: #cae0d7; font-size: 13px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #173d31;
  background: #e5b93f;
  border-radius: 50%;
  font-weight: 800;
}
.login-panel form { padding: 24px; }
.login-panel form h2 { margin-bottom: 18px; }
.login-panel input {
  width: 100%;
  padding: 10px;
  margin: 0 0 16px;
  border: 1px solid #aeb9b3;
  border-radius: 4px;
}
.login-panel form .primary { margin-top: 4px; }

@media (max-width: 760px) {
  .topbar { align-items: flex-start; }
  .workspace { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-campaign-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-item { grid-template-columns: 1fr; gap: 3px; }
  .campaign-panel { border-left: 0; border-top: 1px solid #d9dfdc; }
  .setup-band { align-items: flex-start; }
  .setup-band img { width: 120px; height: 120px; }
  .database-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-workspace, .group-layout, .rules-layout { grid-template-columns: 1fr; }
  .campaign-panel, .group-list { border-left: 0; border-right: 0; border-top: 1px solid #d9dfdc; }
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .topbar { min-height: 92px; flex-direction: column; gap: 8px; }
  main { padding-top: 16px; }
  .editor, .campaign-panel, .recipients { padding: 18px; }
  .setup-band { flex-direction: column; }
  .relink-band { align-items: stretch; flex-direction: column; }
  .source-tabs { margin-left: -18px; margin-right: -18px; padding: 0 18px; overflow-x: auto; }
  .section-heading { flex-direction: column; gap: 6px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions button { width: 100%; }
  .database-heading { flex-direction: column; }
  .database-grid { grid-template-columns: 1fr; }
  .page-heading, .inline-form { flex-direction: column; }
  .inline-form input, .inline-form button { width: 100%; min-width: 0; }
  .check-list, .account-grid { grid-template-columns: 1fr; }
  .template-actions { grid-template-columns: 1fr; }
}

/* Campaign report + inbox controls */
.inline-actions { display: flex; gap: 12px; align-items: center; }
.report-summary { color: #444; font-size: 14px; margin: 0 0 12px; }
.status-sent { color: #1f7a3d; font-weight: 600; }
.status-failed { color: #a33b32; font-weight: 600; }
.inbox-meta .inbox-delete { flex: 0 0 auto; font-size: 12px; padding: 0; }

/* ---- Campaign lifecycle UI (foundation milestone) ---- */
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; text-transform: capitalize; white-space: nowrap;
}
.status-pending, .status-valid { background: #eceff1; color: #51606b; }
.status-running { background: #e3effb; color: #1f5fa6; }
.status-paused { background: #fdecd2; color: #97631a; }
.status-completed { background: #d8f5dd; color: #1f7a3d; }
.status-cancelled { background: #eceff1; color: #51606b; }
.status-sent { background: #e3effb; color: #1f5fa6; }
.status-delivered { background: #d8f1ea; color: #0f6f59; }
.status-read { background: #d8f5dd; color: #1f7a3d; }
.status-replied { background: #cdebd2; color: #145c2b; }
.status-invalid, .status-unsubscribed { background: #fdecd2; color: #97631a; }
.status-failed { background: #fbe0dd; color: #a33b32; }

.account-badge {
  margin-left: auto; align-self: flex-start; padding: 2px 8px;
  border-radius: 999px; font-size: 11px; font-weight: 600;
}
.badge-ok { background: #d8f5dd; color: #1f7a3d; }
.badge-warn { background: #fdecd2; color: #97631a; }
.badge-danger { background: #fbe0dd; color: #a33b32; }
.badge-muted { background: #eceff1; color: #51606b; }
.account-card-head { display: flex; align-items: flex-start; gap: 10px; }

.breakdown { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.breakdown-card {
  display: flex; flex-direction: column; min-width: 78px; padding: 8px 12px;
  border: 1px solid #e2e6e4; border-radius: 10px; background: #fafbfb;
}
.breakdown-card strong { font-size: 20px; line-height: 1; }
.breakdown-card span { font-size: 11px; color: #68736e; text-transform: uppercase; margin-top: 4px; }

.report-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid #d4dad7; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.chip.active { background: #1f5fa6; border-color: #1f5fa6; color: #fff; }
#reportSearch { padding: 6px 10px; border: 1px solid #d4dad7; border-radius: 8px; min-width: 180px; }
#reportCampaignSelect { max-width: 320px; padding: 6px 8px; border: 1px solid #d4dad7; border-radius: 8px; }

.button-link { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; background: #1f5fa6; color: #fff; text-decoration: none; font-size: 14px; }
.button-link.disabled { background: #c9cfcc; pointer-events: none; }

.campaign-name { width: 100%; padding: 8px 10px; border: 1px solid #d4dad7; border-radius: 8px; margin-bottom: 8px; }
.start-reason { color: #97631a; font-size: 13px; margin: 6px 0 0; min-height: 16px; }
.test-send-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.test-send-row select, .test-send-row input { padding: 6px 8px; border: 1px solid #d4dad7; border-radius: 8px; }
.test-result { background: #1f2421; color: #d8f5dd; padding: 10px; border-radius: 8px; font-size: 12px; white-space: pre-wrap; word-break: break-all; margin-top: 8px; }

/* ---- Rate-limit settings + controls ---- */
.settings-form { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #44504a; }
.settings-grid input { padding: 8px 10px; border: 1px solid #d4dad7; border-radius: 8px; }
.campaign-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pause-reason { color: #97631a; font-size: 13px; margin: 6px 0 0; }
.report-stats { color: #44504a; font-size: 13px; margin: 0 0 12px; }
@media (max-width: 600px) { .settings-grid { grid-template-columns: 1fr; } }

/* ---- Event logs viewer ---- */
.logs-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.logs-filters select, .logs-filters input { padding: 6px 10px; border: 1px solid #d4dad7; border-radius: 8px; }
.log-cat { background: #eceff1; color: #51606b; text-transform: capitalize; }
.level-info { background: #e3effb; color: #1f5fa6; text-transform: uppercase; font-size: 11px; }
.level-warn { background: #fdecd2; color: #97631a; text-transform: uppercase; font-size: 11px; }
.level-error { background: #fbe0dd; color: #a33b32; text-transform: uppercase; font-size: 11px; }
#logRows td { font-size: 13px; vertical-align: top; }
#logRows td:nth-child(6) { word-break: break-word; }
