/* Euralogics Sales — calm B2B workspace. Colour is reserved for actions, statuses and urgency. */
:root {
  --green-900: #0B2F23; --green-800: #0F3D2E; --green-700: #155240; --green-600: #1C6B51; --green-500: #23855F;
  --green-100: #E3F1EA; --green-50: #F1F8F4;
  --bg: #F5F6F3; --card: #FFFFFF; --line: #E3E6E0; --line-strong: #CDD3CB;
  --text: #18211D; --muted: #5F6B65; --faint: #8A948F;
  --red: #B42318; --red-bg: #FEF0EE; --amber: #A35F00; --amber-bg: #FFF6E0; --blue: #1D4ED8; --blue-bg: #E8EFFF;
  --violet: #6D28D9; --violet-bg: #F1EBFE;
  --radius: 10px; --radius-sm: 7px; --shadow: 0 1px 2px rgba(16, 24, 20, .05), 0 1px 3px rgba(16, 24, 20, .04);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sidebar: 236px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14.5px; line-height: 1.5; color: var(--text); background: var(--bg); }
a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 1.45rem; font-weight: 650; }
h2 { font-size: 1.1rem; font-weight: 650; }
h3 { font-size: .98rem; font-weight: 650; }
p { margin: 0 0 .75rem; }
small, .muted { color: var(--muted); }
.faint { color: var(--faint); }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- layout ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); background: var(--green-800); color: #DCEBE3; position: fixed; inset: 0 auto 0 0;
  display: flex; flex-direction: column; padding: 18px 12px; z-index: 40; }
.sidebar .brand { display: flex; flex-direction: column; gap: 4px; padding: 4px 10px 18px; }
.sidebar .brand img { height: 26px; width: auto; align-self: flex-start; }
.sidebar .brand span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #9FC3B2; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #D3E6DC; font-weight: 500; }
.nav a:hover { background: var(--green-700); text-decoration: none; color: #fff; }
.nav a.active { background: var(--green-600); color: #fff; }
.nav .ico { width: 18px; text-align: center; opacity: .9; }
.nav .count { margin-left: auto; background: var(--red); color: #fff; font-size: .72rem; border-radius: 99px; padding: 0 7px; font-weight: 600; }
.nav-sep { height: 1px; background: rgba(255,255,255,.08); margin: 10px 6px; }
.sidebar .foot { margin-top: auto; padding: 10px; font-size: .82rem; color: #A9C8B9; }
.sidebar .foot .who { color: #fff; font-weight: 600; }
.sidebar .foot button { background: none; border: 0; color: #A9C8B9; padding: 0; cursor: pointer; font: inherit; text-decoration: underline; }
.ai-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7C8A83; margin-right: 6px; vertical-align: middle; }
.ai-dot.on { background: #5BD69A; }
.main { flex: 1; margin-left: var(--sidebar); min-width: 0; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 28px; border-bottom: 1px solid var(--line); background: rgba(245,246,243,.92);
  backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 30; }
.topbar form { flex: 1; max-width: 640px; }
.topbar .menu-btn { display: none; }
.content { padding: 24px 28px 64px; max-width: 1280px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 2px 0 0; color: var(--muted); }

/* ---------- cards & grid ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.card + .card { margin-top: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stat { padding: 14px 16px; }
.stat .n { font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: .82rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); font-size: .86rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: #fff; color: var(--text); font: inherit; font-weight: 550; cursor: pointer; white-space: nowrap; line-height: 1.3; }
.btn:hover { background: #F3F5F2; text-decoration: none; }
.btn-primary { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-call { background: var(--green-500); border-color: var(--green-500); color: #fff; font-size: 1rem; padding: 9px 16px; }
.btn-call:hover { background: var(--green-600); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-danger { color: var(--red); border-color: #F1C6C0; }
.btn-sm { padding: 4px 9px; font-size: .84rem; }
.btn-lg { padding: 11px 18px; font-size: 1.02rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
label { display: block; font-size: .84rem; color: var(--muted); font-weight: 550; margin-bottom: 4px; }
input[type=text], input[type=search], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=date],
input[type=password], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--text); }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(35,133,95,.15); }
.field { margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 14px; }
.inline-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { margin: 0; }
.check { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 500; }
.check input { width: auto; }
.search-big { position: relative; }
.search-big input { padding: 10px 14px 10px 36px; border-radius: 99px; background: #fff; }
.search-big::before { content: "⌕"; position: absolute; left: 13px; top: 50%; transform: translateY(-52%); color: var(--faint); font-size: 1.1rem; }
.quick-dates { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.quick-dates button { font-size: .76rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; color: var(--muted); }
.quick-dates button:hover { border-color: var(--green-500); color: var(--green-600); }

/* ---------- pills & badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: .78rem; font-weight: 600; white-space: nowrap;
  background: #EEF0ED; color: #4B5550; }
.st-new { background: #EEF0ED; color: #4B5550; }
.st-to_call { background: var(--blue-bg); color: var(--blue); }
.st-called { background: #E9EEF2; color: #3F5566; }
.st-interested { background: var(--amber-bg); color: var(--amber); }
.st-demo { background: var(--violet-bg); color: var(--violet); }
.st-customer { background: var(--green-100); color: var(--green-700); }
.st-not_relevant { background: #F1F1F0; color: #8A8F8C; text-decoration: line-through; }
.tier { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 6px;
  font-weight: 700; font-size: .82rem; color: #fff; background: #9AA39E; }
.tier-A { background: var(--green-600); }
.tier-B { background: #C08A20; }
.tier-C { background: #A3ABA7; }
.score { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .84rem; }
.ai-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .03em; padding: 1px 7px; border-radius: 5px;
  background: linear-gradient(90deg, #EDE7FE, #E3F1EA); color: #4B2C9A; border: 1px solid #DCD2FB; vertical-align: middle; }
.ai-badge.rule { background: #F1F2F0; color: #5F6B65; border-color: #E0E3DF; }
.ai-meta { font-size: .76rem; color: var(--faint); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 5px; background: #F0F2EF; color: #4B5550; font-size: .78rem; margin: 0 3px 3px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; border-radius: 99px; background: var(--green-50); border: 1px solid #CFE6DA;
  color: var(--green-700); font-size: .82rem; font-weight: 550; }
.chip a { color: var(--green-700); font-weight: 700; padding: 0 4px; border-radius: 50%; }
.chip a:hover { background: #CFE6DA; text-decoration: none; }
.dm { color: #B7791F; font-size: .82rem; font-weight: 600; }
.overdue-txt { color: var(--red); font-weight: 650; }
.today-txt { color: var(--amber); font-weight: 650; }

/* ---------- alerts ---------- */
.alert { padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; margin-bottom: 12px; }
.alert-ok { border-color: #BFE2CF; background: var(--green-50); color: var(--green-700); }
.alert-warn { border-color: #F3D9A4; background: var(--amber-bg); color: #7A4A00; }
.alert-err { border-color: #F1C6C0; background: var(--red-bg); color: var(--red); }
.notice-ai { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--radius-sm); background: #F6F4FE; border: 1px dashed #D5CAF8; color: #4B2C9A; font-size: .88rem; }
.flashes { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.flashes .alert { box-shadow: 0 6px 24px rgba(0,0,0,.08); margin: 0; animation: slidein .25s ease-out; }
@keyframes slidein { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; background: #FAFBF9; position: sticky; top: 0; }
tr:hover td { background: #FAFBF9; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.row-overdue td:first-child { box-shadow: inset 3px 0 0 var(--red); }

/* ---------- Vandaag / Belijst cards ---------- */
.section-title { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.section-title .n { background: #E6E9E4; color: var(--text); border-radius: 99px; padding: 0 8px; font-size: .75rem; }
.section-title.overdue { color: var(--red); }
.section-title.overdue .n { background: var(--red); color: #fff; }
.section-title.today { color: var(--amber); }
.section-title.today .n { background: #E8A33B; color: #fff; }
.task { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.task + .task { margin-top: 10px; }
.task.is-overdue { border-left: 4px solid var(--red); }
.task.is-today { border-left: 4px solid #E8A33B; }
.task-top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.task-name { font-size: 1.04rem; font-weight: 650; color: var(--text); }
.task-sub { color: var(--muted); font-size: .86rem; }
.task-know { margin: 8px 0 6px; color: #2E3833; }
.task-next { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.task-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.task details { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.task summary { cursor: pointer; font-weight: 600; color: var(--green-600); list-style: none; }
.task summary::-webkit-details-marker { display: none; }
.reason { font-size: .86rem; }
.logged { padding: 12px 16px; border-radius: var(--radius); background: var(--green-50); border: 1px solid #CFE6DA; color: var(--green-700); }

/* ---------- dossier ---------- */
.dossier-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.dossier-head h1 { margin: 0; }
.dossier-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.next-box { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 9px 12px; border-radius: var(--radius-sm); background: #F7F8F6; border: 1px solid var(--line); }
.next-box.overdue { background: var(--red-bg); border-color: #F1C6C0; }
.next-box.today { background: var(--amber-bg); border-color: #F3D9A4; }
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 16px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--green-700); border-bottom-color: var(--green-600); }
.tabs .badge { background: var(--violet); color: #fff; border-radius: 99px; font-size: .7rem; padding: 0 6px; margin-left: 4px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.prose { white-space: pre-wrap; }
.prose-md p { margin: 0 0 .5rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline .tl-ico { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #EFF1EE; font-size: .9rem; }
.tl-call .tl-ico { background: var(--green-100); }
.tl-ai .tl-ico { background: var(--violet-bg); }
.tl-status_change .tl-ico { background: var(--blue-bg); }
.tl-transcript .tl-ico { background: #FFF1E6; }
.timeline .tl-meta { font-size: .78rem; color: var(--faint); }
.sugg { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.sugg .from { color: var(--faint); text-decoration: line-through; font-size: .84rem; }
.sugg .src { font-size: .76rem; color: var(--faint); }
.sugg input[type=text] { padding: 5px 8px; }
.conf { display: inline-block; height: 6px; width: 46px; background: #E6E9E4; border-radius: 99px; overflow: hidden; vertical-align: middle; }
.conf i { display: block; height: 100%; background: var(--green-500); }
.bar { height: 8px; background: #ECEFEA; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green-500); border-radius: 99px; }
.bar.unknown i { background: repeating-linear-gradient(45deg, #C9D0CB, #C9D0CB 4px, #DDE2DE 4px, #DDE2DE 8px); }
.score-big { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; }
.editable summary { cursor: pointer; color: var(--green-600); font-weight: 600; font-size: .86rem; list-style: none; }
.editable summary::-webkit-details-marker { display: none; }
.editable[open] summary { margin-bottom: 10px; }
.planning { background: linear-gradient(180deg, #F3F8F5, #fff); }

/* recorder */
.recorder { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px; background: #FBFCFA; }
.rec-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: 0 2px 6px rgba(180,35,24,.35); }
.rec-btn.recording { animation: pulse 1.4s infinite; background: #8E1B13; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(180,35,24,.45); } 70% { box-shadow: 0 0 0 14px rgba(180,35,24,0); } 100% { box-shadow: 0 0 0 0 rgba(180,35,24,0); } }
.rec-time { font-size: 1.5rem; font-variant-numeric: tabular-nums; font-weight: 650; }
.consent { font-size: .84rem; color: #7A4A00; background: var(--amber-bg); border: 1px solid #F3D9A4; border-radius: var(--radius-sm); padding: 6px 10px; }

/* ICP editor */
.crit { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.crit + .crit { margin-top: 12px; }
.crit table td, .crit table th { padding: 5px 6px; }
.crit input, .crit select { padding: 5px 8px; }
.weight-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.weight-bar span { display: block; height: 100%; }

/* login */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-brand { background: radial-gradient(circle at 20% 20%, #1C6B51 0%, #0F3D2E 55%, #0B2F23 100%); color: #DCEBE3; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.login-brand img { height: 40px; width: auto; align-self: flex-start; }
.login-brand h2 { font-size: 1.7rem; color: #fff; font-weight: 650; max-width: 420px; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 32px; }
.login-form .card { width: 100%; max-width: 380px; padding: 28px; }

/* misc */
.pagination { display: flex; gap: 6px; margin-top: 14px; align-items: center; }
.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; background: #F0F2EF; border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; }
pre { background: #0F1A15; color: #D7E9DF; padding: 12px 14px; border-radius: var(--radius-sm); overflow-x: auto; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid #CFE6DA; border-top-color: var(--green-600); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.hide-sm { }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .main { margin-left: 0; }
  .topbar { padding: 10px 14px; }
  .topbar .menu-btn { display: inline-flex; }
  .content { padding: 16px 14px 80px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-brand { padding: 28px; min-height: 180px; }
  .hide-sm { display: none; }
  .task-top { flex-direction: column; }
  .task-actions { width: 100%; }
  .task-actions .btn-call { flex: 1; font-size: 1.05rem; padding: 12px; }
  .quick-actions .btn-call { width: 100%; }
  .stat .n { font-size: 1.3rem; }
  th, td { padding: 8px 6px; }
}
@media print { .sidebar, .topbar, .quick-actions, .tabs { display: none; } .main { margin: 0; } .tab-panel { display: block; } }

/* ------------------------------------------------------------------ Socials / LinkedIn */
.nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(220,235,227,.55); padding: 2px 10px 4px; font-weight: 600; }
.li-ico { font-weight: 800; font-size: .72rem; border: 1.5px solid currentColor; border-radius: 4px; line-height: 14px; height: 16px; width: 16px !important; display: inline-block; }
.ps-draft { background: #EEF0ED; color: #4B5550; }
.ps-approved { background: var(--green-100); color: var(--green-700); }
.ps-posted { background: var(--blue-bg); color: var(--blue); }
.ps-rejected { background: var(--red-bg); color: var(--red); }
.tgt { display: inline-flex; padding: 1px 8px; border-radius: 99px; font-size: .74rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.filterbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filterbar .lbl { color: var(--muted); font-size: .82rem; margin-right: 2px; }
.post-row-title { font-weight: 600; color: var(--text); }
.post-row-sub { color: var(--muted); font-size: .84rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc { font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--muted); }
.cc.warn { color: var(--amber); font-weight: 600; }
.cc.over { color: var(--red); font-weight: 700; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 16px; align-items: start; }
.post-layout textarea.post-text { min-height: 340px; font-size: .95rem; line-height: 1.5; }
.li-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow); font-size: .92rem; }
.li-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.li-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.li-avatar.co { border-radius: 6px; }
.li-avatar img { width: 34px; }
.li-name { font-weight: 650; color: var(--text); line-height: 1.2; }
.li-sub { color: var(--muted); font-size: .78rem; }
.li-text { white-space: pre-wrap; word-wrap: break-word; line-height: 1.45; color: #1d2226; }
.li-text.fold { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.li-more { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 0; margin-top: 2px; }
.li-tag, .li-text a { color: #0a66c2; font-weight: 600; }
.li-visual { margin-top: 10px; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 10px; color: var(--muted); font-size: .84rem; background: var(--bg); }
.li-actions { display: flex; justify-content: space-around; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.status-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.status-actions form { margin: 0; }
.feedback-log { white-space: pre-wrap; background: var(--amber-bg); border: 1px solid #F3D9A4; border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.src-list { margin: 0; padding-left: 18px; }
.src-list li { word-break: break-all; }
@media (max-width: 980px) { .post-layout { grid-template-columns: 1fr; } }
