:root {
  --cream:        #fdfdfd;
  --ink:          #030203;
  --bg:           #f5f3fb;
  --blue:         #69a3ff;
  --blue-light:   #e8f0ff;
  --salmon:       #ee897c;
  --salmon-light: #fce9e7;
  --hotpink:      #fa5791;
  --purple:       #7a2e82;
  --purple-light: #f0ddf2;
  --red:          #C8392B;
  --red-light:    #fce4e1;
  --yellow:       #b86e00;
  --yellow-light: #fef3d8;
  --stop:         #8B1A1A;
  --stop-light:   #f5d5d2;
  --muted:        #7a7a8a;
  --border:       #e2dff0;
  --green:        #1a6645;
  --green-light:  #d4f0e4;
  --radius:       12px;
  --shadow:       0 2px 10px rgba(3,2,3,0.07);
  --shadow-hover: 0 6px 24px rgba(3,2,3,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TOOLBAR ─────────────────────────────────────────────────────── */
.toolbar {
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 54px;
  z-index: 99;
  flex-shrink: 0;
}
.toolbar-sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }

/* ── JOB SWITCHER ────────────────────────────────────────────────── */
.job-switcher { position: relative; }
.job-switcher-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  background: var(--purple-light);
  color: var(--purple);
  border: 1.5px solid var(--purple);
  transition: all 0.12s;
  max-width: 220px;
}
.job-switcher-btn:hover { background: #e0d4f5; }
#jobSwitcherLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.job-switcher-caret { font-size: 10px; flex-shrink: 0; transition: transform 0.15s; }
.job-switcher.open .job-switcher-caret { transform: rotate(180deg); }

.job-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  min-width: 240px;
  z-index: 200;
  overflow: hidden;
  animation: modal-in 0.15s ease;
}
.job-switcher.open .job-dropdown { display: block; }

.job-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.1s;
  gap: 10px;
}
.job-dropdown-item:hover { background: var(--purple-light); }
.job-dropdown-item.active { font-weight: 700; color: var(--purple); background: var(--purple-light); }
.job-dropdown-item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-dropdown-item-count { font-size: 11px; color: var(--muted); flex-shrink: 0; white-space: nowrap; }
.job-dropdown-item.active .job-dropdown-item-count { color: var(--purple); opacity: 0.7; }
.job-dropdown-footer {
  border-top: 1.5px solid var(--border);
  padding: 6px 8px;
  display: flex;
  gap: 4px;
}
.job-dropdown-footer button {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  flex: 1;
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--muted);
  transition: all 0.12s;
  white-space: nowrap;
}
.job-dropdown-footer button:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }

/* ── VERDICT STRIP ───────────────────────────────────────────────── */
.toolbar-verdict { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.verdict-badge {
  font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 20px;
  white-space: nowrap; transition: all 0.3s;
}
.verdict-badge.green  { background: var(--green-light);  color: var(--green); }
.verdict-badge.yellow { background: var(--yellow-light); color: var(--yellow); }
.verdict-badge.orange { background: var(--salmon-light); color: #a03020; }
.verdict-badge.red    { background: var(--red-light);    color: var(--red); }
.verdict-badge.stop   { background: var(--stop-light);   color: var(--stop); }
.flag-counts { display: flex; gap: 8px; align-items: center; }
.flag-count-item { font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.flag-count-item strong { font-size: 15px; font-weight: 700; }
.flag-count-item.red    strong { color: var(--red); }
.flag-count-item.yellow strong { color: var(--yellow); }

/* ── FILTER BUTTONS ──────────────────────────────────────────────── */
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 8px;
  border: 1.5px solid var(--border);
  background: white; color: var(--muted);
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.view-btn:hover { background: var(--purple-light); color: var(--purple); border-color: var(--purple); }
.view-btn.active { background: var(--purple); color: white; border-color: var(--purple); }

/* ── SEARCH ──────────────────────────────────────────────────────── */
.search-wrap {
  display: flex; align-items: center; gap: 6px;
  background: white; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 5px 10px; margin-left: auto;
}
.search-wrap input {
  border: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--ink); width: 180px; background: transparent;
}
.search-wrap input::placeholder { color: var(--muted); font-style: italic; }

/* ── PRIMARY BUTTON ──────────────────────────────────────────────── */
.btn-primary {
  font-family: 'DM Sans', sans-serif; font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 8px; border: none;
  background: var(--purple); color: white;
  cursor: pointer; transition: opacity 0.15s; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; }

/* ── SYNC INDICATOR ──────────────────────────────────────────────── */
.sync-indicator { font-size: 11px; color: var(--muted); font-style: italic; }

/* ── CONTENT ─────────────────────────────────────────────────────── */
.content-wrap { flex: 1; padding: 20px 24px 48px; min-height: 0; }

/* ── BINGO BANNER ────────────────────────────────────────────────── */
.bingo-banner {
  display: none; background: #b5175e; color: white;
  border-radius: var(--radius); padding: 16px 22px; margin-bottom: 16px;
  position: relative; overflow: hidden; animation: slide-in 0.4s ease;
}
.bingo-banner.visible { display: block; }
@keyframes slide-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bingo-banner::before {
  content: '🚩'; position: absolute; font-size: 60px;
  right: 24px; top: 50%; transform: translateY(-50%);
  opacity: 0.45; pointer-events: none;
}
.bingo-banner h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 900; margin-bottom: 3px; }
.bingo-banner p  { font-size: 13px; opacity: 0.9; max-width: 440px; line-height: 1.5; }

/* ── EDIT HINT ───────────────────────────────────────────────────── */
.edit-hint {
  display: none; font-size: 12px; color: var(--purple); font-style: italic;
  padding: 8px 14px; background: var(--purple-light); border-radius: 8px; margin-bottom: 12px;
}
.edit-hint.visible { display: block; }

/* ── TABLE ───────────────────────────────────────────────────────── */
.table-wrap {
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--purple); color: white; }
th {
  padding: 11px 14px; text-align: left; font-size: 12px;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
th.col-check  { width: 42px; text-align: center; }
th.col-del    { width: 36px; text-align: center; display: none; }
th.col-rating { width: 80px; text-align: center; }
th.col-why    { width: 36px; text-align: center; }
th.col-notes  { width: 220px; }

tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover    { background: #f9f7ff; }
tbody tr.marked   { background: var(--red-light); }
tbody tr.marked:hover { background: #f9d8d5; }
tbody tr.hidden   { display: none; }
@keyframes row-pop { 0% { opacity: 0.4; } 100% { opacity: 1; } }
tbody tr.newly-marked { animation: row-pop 0.25s ease; }

td { padding: 10px 14px; vertical-align: middle; font-size: 13.5px; line-height: 1.45; }
td.col-check  { text-align: center; width: 42px; }
td.col-del    { text-align: center; display: none; }
td.col-text   { font-weight: 600; }
td.col-text .entry-text { color: var(--ink); }
tr.marked td.col-text .entry-text { color: var(--stop); }
td.col-rating { text-align: center; font-size: 16px; }

body.edit-active th.col-del { display: table-cell; }
body.edit-active td.col-del { display: table-cell; }
body.edit-active td.col-text .entry-text { cursor: text; }

.check-box {
  width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--border); background: white;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s; flex-shrink: 0;
}
.check-box:hover { border-color: var(--purple); }
.check-box.checked { background: var(--red); border-color: var(--red); color: white; font-size: 12px; font-weight: 900; }
tr.marked .check-box { background: var(--red); border-color: var(--red); color: white; }

.why-btn {
  width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: var(--muted);
  font-size: 10px; font-weight: 700; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-family: 'DM Sans', sans-serif;
}
.why-btn:hover { background: var(--purple); color: white; }

.del-btn {
  width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: var(--muted);
  font-size: 13px; font-weight: 700; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s; line-height: 1; font-family: 'DM Sans', sans-serif;
}
.del-btn:hover { background: var(--red); color: white; }

.notes-input {
  width: 100%; border: 1.5px solid transparent; border-radius: 6px;
  padding: 5px 8px; font-family: 'DM Sans', sans-serif; font-size: 12.5px;
  background: transparent; color: var(--ink); outline: none;
  transition: all 0.15s; resize: none; height: 34px; min-height: 34px; overflow: hidden;
}
.notes-input:focus { border-color: var(--blue); background: white; height: auto; min-height: 60px; }
.notes-input::placeholder { color: var(--muted); font-style: italic; font-size: 12px; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 13.5px; font-style: italic; }

.add-entry-row {
  display: none; padding: 12px 14px;
  border-top: 1.5px dashed var(--border); background: var(--purple-light);
}
body.edit-active .add-entry-row { display: block; }
.add-entry-row .add-fields { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.add-entry-row input, .add-entry-row textarea, .add-entry-row select {
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  border: 1.5px solid var(--border); border-radius: 6px;
  padding: 6px 10px; background: white; outline: none; color: var(--ink); transition: border-color 0.15s;
}
.add-entry-row input:focus, .add-entry-row textarea:focus, .add-entry-row select:focus { border-color: var(--blue); }
.add-entry-row .add-text   { flex: 2; min-width: 160px; }
.add-entry-row .add-why    { flex: 3; min-width: 200px; resize: vertical; min-height: 38px; }
.add-entry-row .add-rating { width: 100px; }
.add-entry-row .btn-add {
  background: var(--purple); color: white; border: none; border-radius: 8px;
  padding: 7px 14px; font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.add-entry-row .btn-add:hover { background: #5e2063; }
.add-entry-row label { font-size: 11px; font-weight: 600; color: var(--purple); display: block; margin-bottom: 3px; }
.add-entry-row .field-wrap { display: flex; flex-direction: column; }

.inline-edit {
  width: 100%; border: 1.5px solid var(--blue); border-radius: 6px; padding: 4px 7px;
  font-family: 'DM Sans', sans-serif; font-size: 13.5px; background: white;
  color: var(--ink); outline: none; resize: vertical; min-height: 34px;
}
.rating-select {
  border: 1.5px solid var(--blue); border-radius: 6px; padding: 4px 6px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; background: white;
  color: var(--ink); outline: none; cursor: pointer; width: 100%;
}

/* ── TOOLTIP ─────────────────────────────────────────────────────── */
#tooltip {
  display: none; position: fixed; z-index: 999;
  max-width: 280px; width: 280px; background: #1a1535; color: #f5f3ff;
  border-radius: 10px; padding: 12px 14px; box-shadow: 0 8px 30px rgba(0,0,0,0.22);
  pointer-events: none; animation: tooltip-in 0.18s ease;
}
#tooltip.visible { display: block; }
@keyframes tooltip-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
#tooltip .tt-rating { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px; opacity: 0.7; }
#tooltip .tt-why    { font-size: 12.5px; line-height: 1.55; color: #e8e4ff; }
#tooltip::before    { content: ''; position: absolute; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
#tooltip.arrow-up::before   { top: -6px;    left: 18px; border-bottom: 6px solid #1a1535; }
#tooltip.arrow-down::before { bottom: -6px; left: 18px; border-top:    6px solid #1a1535; }

/* ── MODAL BACKDROP ──────────────────────────────────────────────── */
.auth-modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(3,2,3,0.35); z-index: 300;
  align-items: center; justify-content: center;
}
.auth-modal-backdrop.open { display: flex; }

/* ── MANAGE JOBS MODAL ───────────────────────────────────────────── */
.manage-boards-modal {
  background: var(--cream); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(3,2,3,0.18);
  width: 100%; max-width: 480px; max-height: 80vh; overflow-y: auto;
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  animation: modal-in 0.2s ease;
}
.manage-boards-modal h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.manage-boards-list { display: flex; flex-direction: column; gap: 8px; }
.manage-board-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; background: white; transition: border-color 0.12s;
}
.manage-board-row.active-board { border-color: var(--purple); background: var(--purple-light); }
.manage-board-row-info { flex: 1; min-width: 0; overflow: hidden; }
.manage-board-row-name { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manage-board-row-desc { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.manage-board-row-count { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.manage-board-row-actions { display: flex; gap: 4px; flex-shrink: 0; }
.manage-board-btn { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px; cursor: pointer; border: 1.5px solid var(--border); background: white; color: var(--muted); transition: all 0.12s; }
.manage-board-btn:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }
.manage-board-btn.danger:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.manage-board-new { display: flex; gap: 8px; margin-top: 4px; }
.manage-board-new input { font-family: 'DM Sans', sans-serif; font-size: 13px; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 12px; outline: none; flex: 1; color: var(--ink); }
.manage-board-new input:focus { border-color: var(--purple); }
.manage-board-new button { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 8px; background: var(--purple); color: white; border: none; cursor: pointer; white-space: nowrap; }
.manage-board-new button:hover { background: #621870; }

/* ── MODAL INPUTS / BUTTONS ──────────────────────────────────────── */
.modal-input { font-family: 'DM Sans', sans-serif; font-size: 13px; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 12px; outline: none; color: var(--ink); background: white; width: 100%; }
.modal-input:focus { border-color: var(--purple); }
.btn-create-board { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; padding: 10px; border-radius: 10px; background: var(--purple); color: white; border: none; cursor: pointer; width: 100%; margin-top: 4px; transition: background 0.12s; }
.btn-create-board:hover { background: #621870; }

/* ── DELETE CONFIRM MODAL ────────────────────────────────────────── */
.delete-col-msg { font-size: 13px; color: var(--muted); line-height: 1.65; }
.delete-col-actions { display: flex; gap: 8px; margin-top: 4px; }
.btn-delete-col-cancel { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 10px; cursor: pointer; flex: 1; background: white; color: var(--muted); border: 1.5px solid var(--border); transition: background 0.12s; }
.btn-delete-col-cancel:hover { background: #f4f2fb; }
.btn-delete-col-confirm { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 10px; cursor: pointer; flex: 1; background: var(--red); color: white; border: none; transition: all 0.12s; }
.btn-delete-col-confirm:hover { background: #a02e22; }

/* ── EXPORT MODAL ────────────────────────────────────────────────── */
.export-modal {
  background: var(--cream); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(3,2,3,0.18);
  width: 100%; max-width: 480px;
  padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px;
  animation: modal-in 0.2s ease; position: relative;
}
.export-modal-header { margin-bottom: 6px; }
.export-modal-header h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin-bottom: 6px; }
.export-modal-header p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.export-option {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: white;
  cursor: pointer; transition: all 0.14s;
}
.export-option:hover { border-color: var(--purple); background: var(--purple-light); }
.export-option:hover .export-option-arrow { color: var(--purple); transform: translateX(3px); }
.export-option-icon   { font-size: 22px; flex-shrink: 0; width: 34px; text-align: center; }
.export-option-body   { flex: 1; }
.export-option-title  { font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 2px; }
.export-option-desc   { font-size: 12px; color: var(--muted); line-height: 1.4; }
.export-option-arrow  { font-size: 16px; color: var(--muted); transition: all 0.14s; flex-shrink: 0; }

/* ── INFO MODAL ──────────────────────────────────────────────────── */
.info-modal {
  background: var(--cream); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(3,2,3,0.18);
  width: 100%; max-width: 500px; padding: 28px 32px;
  position: relative; animation: modal-in 0.2s ease;
}
.info-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
.info-modal h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900; color: var(--ink); margin-bottom: 14px; }
.info-modal p { font-size: 13.5px; line-height: 1.65; color: var(--ink); margin-bottom: 10px; }
.info-modal p:last-child { margin-bottom: 0; }
.verdict-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.verdict-pill { padding: 7px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.verdict-pill.green  { background: var(--green-light);  color: var(--green); }
.verdict-pill.yellow { background: var(--yellow-light); color: var(--yellow); }
.verdict-pill.orange { background: var(--salmon-light); color: #a03020; }
.verdict-pill.red    { background: var(--red-light);    color: var(--red); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 700px) {
  th.col-notes, td.col-notes { display: none; }
  td { padding: 8px 10px; } th { padding: 10px; }
  .search-wrap input { width: 120px; }
}

/* ── COMPARE VIEW ────────────────────────────────────────────────── */
.compare-view {
  display: none;
  padding: 20px 24px 48px;
  max-width: 740px;
  margin: 0 auto;
}

.compare-pickers {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}
.compare-picker-wrap { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.compare-picker-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}
.compare-select {
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: 8px; background: white; color: var(--ink);
  outline: none; cursor: pointer; width: 100%;
}
.compare-select:focus { border-color: var(--purple); }
.compare-vs {
  font-size: 13px; font-weight: 700; color: var(--muted);
  padding-bottom: 10px; flex-shrink: 0;
}

.compare-summaries {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 20px;
}
.compare-summary-card {
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow);
}
.compare-summary-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px;
}
.compare-summary-name {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.compare-summary-counts { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.compare-total { font-size: 12px; color: var(--muted); margin-left: 2px; }

.compare-section {
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 12px;
}
.compare-section-header {
  background: var(--purple); color: white; padding: 9px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
}
.compare-section-header.section-only-a { background: #3a6bb5; }
.compare-section-header.section-only-b { background: #2a7a5a; }
.compare-section-count {
  background: rgba(255,255,255,0.25); border-radius: 10px;
  padding: 1px 7px; font-size: 11px;
}

.compare-entry {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.compare-entry:last-child { border-bottom: none; }
.compare-entry-emoji { font-size: 15px; flex-shrink: 0; padding-top: 2px; }
.compare-entry-body { flex: 1; }
.compare-entry-text { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.compare-note { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.compare-note-label { font-weight: 700; color: var(--purple); }
.compare-note-label.label-b { color: #2a7a5a; }

.compare-empty {
  padding: 14px 16px; font-size: 13px; color: var(--muted); font-style: italic;
}
.compare-same-msg {
  text-align: center; padding: 40px 20px; color: var(--muted);
  font-size: 13.5px; font-style: italic;
}
.compare-one-job-msg {
  background: var(--purple-light); border: 1.5px solid var(--purple);
  border-radius: 12px; padding: 16px 20px; font-size: 13.5px; color: var(--purple);
  text-align: center;
}

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  nav, .toolbar, .auth-modal-backdrop, #tooltip,
  td.col-del, th.col-del, td.col-why, th.col-why,
  .add-entry-row, .edit-hint { display: none !important; }
  body { background: white; }
  .content-wrap { padding: 16px; }
  .table-wrap { box-shadow: none; border: 1px solid #ccc; }
  tbody tr.hidden { display: none; }
}
