:root {
  /* LionRun Consulting palette (lionrunconsulting.com) */
  --bg: #f2f2f3;
  --panel: #ffffff;
  --ink: #1e1e1e;
  --warm-black: #15110d;
  --muted: rgba(61, 61, 61, 0.62);
  --line: #e3e1dc;
  --gold: #f5ce7f;
  --gold-soft: #f5d9a0;
  --gold-deep: #c9963c;
  --cream: #fff5e0;
  --accent: #1e1e1e;      /* primary actions: warm black, gold text */
  --accent-ink: #f5d9a0;
  --soft: #fff5e0;
  --danger: #c2402a;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(30, 25, 15, 0.07), 0 8px 24px rgba(30, 25, 15, 0.05);
  font-size: 15px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
h1, h2, h3, .brand-name, .side-label {
  font-family: "Poppins", "SF Pro Display", -apple-system, sans-serif;
}
#topbar h1, .empty-state h2 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
#app { display: flex; height: 100vh; }

/* ---------- sidebar ---------- */
#sidebar {
  width: 240px; flex: none; background: var(--warm-black); color: #efe8da;
  display: flex; flex-direction: column; padding: 18px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: var(--warm-black); font-weight: 700; font-size: 16px;
  font-family: "Poppins", sans-serif; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; font-size: 13.5px; }
.brand-sub { font-size: 11.5px; color: #b3a483; }
.side-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #b3a483; margin: 4px 6px 8px;
}
#company-list { overflow-y: auto; flex: 1; }
.company-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 10px; border-radius: 9px; cursor: pointer;
  border: none; background: none; color: #e3dccb; font-size: 14px; text-align: left;
}
.company-item:hover { background: rgba(245, 206, 127, 0.09); }
.company-item.active { background: rgba(245, 206, 127, 0.16); color: var(--gold-soft); font-weight: 600; }
.company-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.side-footer { margin-top: 12px; border-top: 1px solid rgba(245, 206, 127, 0.14); padding-top: 12px; }
.engine-status { font-size: 11.5px; color: #b3a483; margin-top: 8px; line-height: 1.5; }

/* ---------- main ---------- */
#main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
#workspace { display: flex; flex-direction: column; height: 100%; }
#topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 26px 0;
}
#topbar h1 { margin: 0; font-size: 18px; }
#share-btn { white-space: nowrap; flex: none; margin-right: 10px; }
#topbar > div:first-child { min-width: 0; margin-right: auto; }
#tabs { display: flex; gap: 4px; background: #e7e5df; border-radius: 10px; padding: 4px; }
.tab {
  border: none; background: none; padding: 7px 16px; border-radius: 8px;
  font-size: 13.5px; color: var(--muted); cursor: pointer; font-weight: 600;
}
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tab-panel { flex: 1; overflow-y: auto; padding: 18px 26px 26px; display: flex; flex-direction: column; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small-text { font-size: 12.5px; }
.spacer { flex: 1; }

.empty-state { margin: auto; max-width: 440px; text-align: center; }
.empty-state h2 { font-size: 24px; }
.empty-state p { color: var(--muted); line-height: 1.6; }

/* ---------- buttons & inputs ---------- */
.btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 9px; padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  cursor: pointer;
}
.btn:hover { border-color: var(--gold-deep); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--warm-black); color: var(--gold); }
.btn.primary:disabled { opacity: 0.55; cursor: default; }
.btn.ghost { background: transparent; }
.btn.danger { background: #fdf1ee; border-color: #f0c9c0; color: var(--danger); }
.btn.small { padding: 6px 12px; font-size: 12.5px; }
#sidebar .btn { color: #e3dccb; border-color: rgba(245, 206, 127, 0.28); width: 100%; margin-top: 8px; }
#sidebar .btn:hover { background: rgba(245, 206, 127, 0.09); color: var(--gold-soft); }
textarea, input[type="text"], input[type="password"], input[type="datetime-local"], select {
  width: 100%; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 11px; font: inherit; color: var(--ink); background: #fff;
  margin: 6px 0 10px; resize: vertical;
}
textarea:focus, input:focus, select:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold-deep); }
select { width: auto; margin: 0 0 0 6px; }
label { font-size: 13px; font-weight: 600; color: var(--ink); }

/* ---------- chat / generate ---------- */
#tab-generate { padding-bottom: 0; }
#chat-scroll { flex: 1; overflow-y: auto; }
#chat-log { max-width: 860px; margin: 0 auto; padding-bottom: 12px; }
.chat-user {
  background: var(--warm-black); color: var(--cream); border-radius: 14px 14px 3px 14px;
  padding: 10px 15px; margin: 14px 0 14px auto; max-width: 70%; width: fit-content;
  white-space: pre-wrap; font-size: 14px;
}
.chat-error {
  background: #fdf1ee; border: 1px solid #f0c9c0; color: var(--danger);
  border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: 13px;
}
.chat-time { font-size: 11px; color: var(--muted); text-align: right; margin-top: -8px; }
.idea-grid { display: grid; gap: 14px; margin: 6px 0 18px; }
.idea-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px;
}
.idea-card h4 { margin: 0 0 2px; font-size: 14px; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.05em; }
.idea-hook { font-weight: 700; margin: 6px 0; }
.idea-body { white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: #2a3040; }
.idea-body.clamped { max-height: 130px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.idea-grounding {
  font-size: 12px; color: var(--muted); margin-top: 10px;
  border-top: 1px dashed var(--line); padding-top: 7px;
}
.idea-actions { display: flex; gap: 8px; margin-top: 12px; }
.thinking { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 14px 0; font-size: 14px; }
.thinking .dots::after { content: "…"; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

#composer {
  border-top: 1px solid var(--line); background: var(--panel);
  margin: 0 -26px; padding: 14px 26px 18px;
}
#composer textarea { margin-bottom: 8px; }
.composer-row { display: flex; align-items: center; gap: 10px; }

/* ---------- drafts pipeline ---------- */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted);
  cursor: pointer;
}
.pill:hover { border-color: #c9cfdb; }
.pill.active { background: var(--warm-black); border-color: var(--warm-black); color: var(--gold-soft); }
.draft-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 15px 18px; margin-bottom: 12px; max-width: 860px;
}
.draft-head { display: flex; align-items: center; gap: 10px; }
.draft-title { font-weight: 700; font-size: 14.5px; flex: 1; }
.status-badge {
  border-radius: 999px; padding: 3px 11px; font-size: 11.5px; font-weight: 700; color: #fff;
  white-space: nowrap;
}
.draft-sub { font-size: 12px; color: var(--muted); margin: 3px 0 8px; }
.pillar-tag {
  background: var(--cream); color: var(--gold-deep); border-radius: 999px;
  padding: 2px 10px; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.comment-badge { font-size: 12px; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.comment-item {
  background: var(--cream); border-radius: 9px; padding: 8px 12px; margin: 6px 0;
  font-size: 13px; line-height: 1.5;
}
.comment-item.approved { background: #e8f5ee; }
.comment-item.resolved { opacity: 0.55; }
.resolve-btn {
  float: right; border: 1px solid var(--line); background: #fff; border-radius: 7px;
  padding: 2px 9px; font-size: 11px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.resolve-btn:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.draft-body { white-space: pre-wrap; font-size: 13.5px; line-height: 1.5; color: #2a3040; }
.draft-body.clamped { max-height: 84px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.draft-actions { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.draft-actions select { margin: 0; width: auto; padding: 6px 8px; font-size: 12.5px; }
.full-select { width: 100%; margin: 6px 0 10px; }
.media-strip { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.media-strip:empty::after { content: "No media attached"; font-size: 12px; color: var(--muted); }
.media-thumb {
  position: relative; width: 88px; height: 88px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--line); background: #eef1f6; flex: none;
}
.media-strip.small .media-thumb { width: 58px; height: 58px; }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumb .kind-tag {
  position: absolute; left: 4px; bottom: 4px; background: rgba(10, 15, 30, 0.72); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 5px; padding: 1px 6px;
}
.media-del {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%;
  border: none; background: rgba(10, 15, 30, 0.72); color: #fff; font-size: 11px;
  cursor: pointer; line-height: 1;
}
.media-del:hover { background: var(--danger); }
.media-add-btn { margin-bottom: 10px; }
.modal-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cal-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }

/* ---------- voices library ---------- */
.voice-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 12px; max-width: 900px;
}
.voice-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.voice-name { font-weight: 700; font-size: 15.5px; }
.voice-title { color: var(--muted); font-size: 13px; }
.voice-why { font-size: 13px; color: #4a4640; margin: 6px 0 10px; line-height: 1.5; }
.vformat {
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px;
  padding: 10px 13px; margin: 8px 0; font-size: 13px;
}
.vformat-name { font-weight: 700; margin-bottom: 3px; }
.vformat-structure { white-space: pre-wrap; color: #4a4640; line-height: 1.5; }
.vformat-actions { margin-top: 7px; display: flex; gap: 8px; }
.vpost { background: var(--cream); border-radius: 8px; padding: 10px 13px; margin: 8px 0; font-size: 13px; }
.vpost-text { white-space: pre-wrap; max-height: 110px; overflow: hidden; }
.vpost-text.open { max-height: none; }

/* ---------- profile optimizer ---------- */
.audit-section { margin-bottom: 16px; }
.audit-section h3 { display: flex; align-items: center; gap: 8px; }
.audit-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 10px 0 4px;
}
.audit-rewrite {
  background: var(--cream); border-radius: 10px; padding: 12px 15px; white-space: pre-wrap;
  font-size: 13.5px; line-height: 1.55; position: relative;
}
.audit-current {
  background: #f0efec; border-radius: 10px; padding: 10px 15px; white-space: pre-wrap;
  font-size: 13px; color: var(--muted);
}
.audit-why { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.audit-copy { margin-top: 8px; }
.quick-win { display: flex; gap: 9px; margin: 6px 0; font-size: 13.5px; }
.quick-win::before { content: "→"; color: var(--gold-deep); font-weight: 700; }

/* ---------- news radar ---------- */
.news-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 16px; margin-bottom: 9px; max-width: 860px;
}
.news-title { font-weight: 650; font-size: 14px; line-height: 1.4; }
.news-title a { color: var(--ink); text-decoration: none; }
.news-title a:hover { color: var(--gold-deep); }
.news-meta { font-size: 12px; color: var(--muted); margin: 3px 0 6px; }
.news-topic-tag {
  background: var(--cream); color: var(--gold-deep); border-radius: 999px;
  padding: 1px 9px; font-size: 11px; font-weight: 700; margin-left: 6px;
}
.news-snippet { font-size: 12.5px; color: #4a4640; line-height: 1.5; }
.news-actions { margin-top: 8px; display: flex; gap: 8px; }
.topic-chip { display: inline-flex; align-items: center; gap: 6px; }
.topic-chip .x { cursor: pointer; opacity: 0.6; }
.topic-chip .x:hover { opacity: 1; color: var(--danger); }

/* ---------- context ---------- */
.context-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px;
}
.card h3 { margin: 0 0 4px; font-size: 15px; }
#dropzone {
  border: 2px dashed #c8d2e2; border-radius: 10px; padding: 26px 12px; text-align: center;
  color: var(--muted); cursor: pointer; margin-top: 8px; font-size: 13.5px;
}
#dropzone.drag { border-color: var(--gold-deep); background: var(--cream); color: var(--gold-deep); }
.repo-heading { margin: 22px 0 10px; }
.repo-item {
  display: flex; align-items: center; gap: 12px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px;
}
.repo-icon { font-size: 18px; }
.repo-name { font-weight: 600; font-size: 13.5px; }
.repo-sub { font-size: 12px; color: var(--muted); }
.repo-note-text { font-size: 13px; color: #3a4152; white-space: pre-wrap; margin-top: 3px; max-height: 72px; overflow: hidden; }
.repo-del { margin-left: auto; border: none; background: none; color: var(--muted); cursor: pointer; font-size: 15px; }
.repo-del:hover { color: var(--danger); }

/* ---------- calendar ---------- */
.cal-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
#cal-title { font-weight: 700; font-size: 17px; min-width: 160px; text-align: center; }
#cal-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); /* equal columns; titles truncate instead of stretching */
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--line); gap: 1px; flex: 1;
}
.cal-dow {
  background: #eceae4; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); padding: 7px 9px;
}
.cal-cell { background: var(--panel); min-height: 92px; padding: 6px 7px; position: relative; min-width: 0; }
.cal-cell.other { background: #faf9f7; color: #bcb8b0; }
.cal-cell .daynum { font-size: 12px; font-weight: 600; }
.cal-cell.today .daynum {
  background: var(--gold-deep); color: #fff; border-radius: 50%;
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
}
.cal-chip {
  display: block; width: 100%; text-align: left; border: none; cursor: pointer;
  border-radius: 6px; padding: 3px 7px; margin-top: 4px; font-size: 11.5px; font-weight: 600;
  color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.cal-chip.posted { opacity: 0.55; text-decoration: line-through; }
#cal-legend { margin-top: 10px; font-size: 12.5px; display: flex; gap: 16px; flex-wrap: wrap; }
.legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }

/* ---------- modals & toast ---------- */
#modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 22, 40, 0.45);
  display: flex; align-items: center; justify-content: center; z-index: 50;
}
.modal {
  background: #fff; border-radius: 16px; padding: 22px 24px; width: min(560px, 92vw);
  max-height: 88vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(10, 20, 40, 0.35);
}
.modal h3 { margin: 0 0 10px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
#lightbox {
  position: fixed; inset: 0; background: rgba(10, 8, 5, 0.88); z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
#lightbox-content img, #lightbox-content video {
  max-width: 92vw; max-height: 82vh; border-radius: 10px; display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
#lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 17px; cursor: pointer;
}
#lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
#lightbox-name { color: #cfc7b8; font-size: 13px; }
.media-thumb { cursor: zoom-in; }
.plan-row {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 12px; margin-bottom: 7px; font-size: 13.5px;
}
.plan-date { font-weight: 700; white-space: nowrap; min-width: 118px; }
.plan-reason { color: var(--muted); font-size: 12px; }

#toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--warm-black); color: var(--cream); padding: 10px 20px; border-radius: 10px;
  font-size: 13.5px; z-index: 100; box-shadow: var(--shadow);
}

/* -------- admin login -------- */
#login-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
#login-overlay.hidden { display: none; }
.login-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 36px 40px; width: 320px;
  display: flex; flex-direction: column; gap: 12px; text-align: center;
}
.login-brand {
  font-family: "Poppins", sans-serif; font-weight: 300; letter-spacing: 4px;
  font-size: 18px; color: var(--warm-black); text-transform: uppercase;
}
.login-brand span { color: var(--gold-deep); }
.login-card input {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; text-align: center;
}
#login-error { color: #b05959; min-height: 16px; }

/* -------- visual suggestion -------- */
.idea-visual { margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
.visual-tag {
  display: inline-block; background: var(--cream); border: 1px solid var(--gold-soft);
  color: var(--warm-black); border-radius: 999px; padding: 2px 10px;
  font-weight: 600; font-size: 11.5px; white-space: nowrap;
}
.visual-idea { color: var(--muted); }

/* -------- graphic maker -------- */
.graphic-card { margin-bottom: 16px; }
.slide-strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 10px 0; align-items: flex-start;
}
.slide-thumb {
  width: 168px; height: 210px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); cursor: zoom-in; background: #fff; flex: none;
  transition: transform .12s ease;
}
.slide-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.attach-select { max-width: 260px; }

/* -------- graphic editor modal -------- */
#gfx-modal { width: min(860px, 92vw); }
.gfx-slide {
  display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.gfx-slide img {
  width: 180px; height: 225px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); flex: none; background: #fff;
}
.gfx-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gfx-lines input { margin: 0; font-size: 13px; padding: 7px 10px; }

/* -------- direct-manipulation canvas editor -------- */
.gfx-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.gfx-tools { display: flex; gap: 6px; align-items: center; }
#gfx-color {
  width: 36px; height: 30px; padding: 2px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer;
}
#gfx-canvas-wrap {
  position: relative; display: flex; justify-content: center;
  background: #e7e4de; border: 1px solid var(--line); border-radius: 12px; padding: 16px;
}
svg.gfx-canvas {
  max-width: 100%; max-height: 56vh; height: auto; width: auto;
  box-shadow: var(--shadow); touch-action: none; border-radius: 4px;
}
svg.gfx-canvas text, svg.gfx-canvas tspan { cursor: move; user-select: none; }
svg.gfx-canvas rect, svg.gfx-canvas circle, svg.gfx-canvas path,
svg.gfx-canvas line, svg.gfx-canvas polygon, svg.gfx-canvas ellipse { cursor: move; }
.gfx-inline-input {
  position: absolute; z-index: 30; border: 2px solid #1d6ae5; border-radius: 6px;
  padding: 3px 8px; background: #fff; color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

/* -------- quoted-line comments (admin view) -------- */
.comment-quote {
  border-left: 3px solid var(--gold-deep); padding: 2px 8px; margin: 4px 0 2px;
  color: var(--muted); font-size: 12.5px; font-style: italic; background: var(--cream);
  border-radius: 0 6px 6px 0;
}

/* -------- auto-growing textareas -------- */
textarea.autogrow { resize: none; overflow: hidden; min-height: 2.6em; line-height: 1.45; }

/* -------- calendar drag & drop -------- */
.cal-chip[draggable="true"] { cursor: grab; }
.cal-chip[draggable="true"]:active { cursor: grabbing; }
.cal-cell.drop-ok { outline: 2px dashed var(--gold-deep); outline-offset: -2px; background: var(--cream); }

/* -------- resolved feedback tag -------- */
.resolved-tag {
  display: inline-block; background: #e7f5ee; color: #2fa36b;
  border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700;
  margin-left: 6px; vertical-align: middle;
}
.comment-item.resolved .resolve-btn { opacity: 0.7; }
