/* argus 5.5.53 — Frontend CSS (navy / gold / cream editorial)
 *
 * 5.5.53 — full palette rebrand to match the new ARGUS ONE wordmark
 * (argusone-theme 3.4.0): deep-navy ink on warm-cream paper, antique-gold
 * accent for interactive state, luminous champagne-gold on dark sections.
 * Token *names* are preserved so all downstream selectors continue to work
 * without edits — semantic mapping:
 *   --argus-text*   → navy family (was near-black)
 *   --argus-accent* → antique-gold family on cream, luminous on dark
 *   --argus-bg*     → warm cream (was warm off-white)
 *
 * Typography: Newsreader is now BOTH display + body (was Inter for body)
 * — matches the wordmark + the marketing-site body face exactly.
 * IBM Plex Mono retained for codes / numerics / kicker labels.
 * Border radii stay squared at 2px for editorial sharpness.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Fonts: Newsreader (display + body, matches wordmark), IBM Plex Mono
 * (codes / numerics / kicker labels). Inter was dropped in 5.5.53 — the
 * dashboard now uses the same serif body as the marketing site. */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Navy / gold / cream — accent reserved for interactive state (links,
   * focus rings, active buttons) and a small set of brand emphases (entity
   * dots, kicker rules). Never for purely decorative emphasis. */
  --argus-bg:           #faf6ec;          /* warm cream paper */
  --argus-surface:      #ffffff;          /* clean panel on cream */
  --argus-surface-tint: #f0ead8;          /* subtle inset card */
  --argus-surface-warm: #e6dfc7;          /* hover/highlight inset */
  --argus-border:       #d8d2c2;          /* hairline rule */
  --argus-border-soft:  #ebe5d4;          /* extra-subtle divider */
  --argus-text:         #0a1d36;          /* deep navy — primary ink */
  --argus-text-soft:    #1f2d49;          /* secondary navy */
  --argus-muted:        #6b6862;          /* warm grey for meta */
  --argus-accent:       #8a6a1f;          /* deep antique gold (AA on cream) */
  --argus-accent-h:     #a07d2c;          /* hover gold */
  --argus-accent-bg:    #f0ead8;          /* gold-tinted cream panel */
  --argus-accent-soft:  #d4b074;          /* luminous champagne (on dark bg) */
  --argus-ink-deep:     #06182b;          /* very deep navy — dark sections */
  --argus-cream:        #f0e7d2;          /* cream text on navy */
  --argus-danger:       #8a1d1d;
  --argus-danger-bg:    #fbecec;
  --argus-success:      #2d6448;
  --argus-success-bg:   #e6f0ea;
  --argus-warn:         #8a5210;
  --argus-warn-bg:      #fbf0dc;
  --argus-info:         #2d3d5a;
  --argus-info-bg:      #e8eaf0;
  --argus-radius:       2px;              /* sharp editorial corners */
  --argus-radius-pill:  9999px;           /* still need pills for badges */
  --argus-tab-h:        72px;

  --argus-font-display: 'Newsreader', 'Instrument Serif', Georgia, serif;
  --argus-font-body:    'Newsreader', Georgia, serif;
  --argus-font-serif:   'Newsreader', Georgia, serif;
  --argus-font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.argus-body {
  background: var(--argus-bg);
  color: var(--argus-text);
  font-family: var(--argus-font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ================================================================
 * Accessibility: skip-link + global focus rings
 *
 * Skip-link is anchored off-screen until focused via Tab; first thing a
 * keyboard user hits, jumps to <main>. Focus rings use :focus-visible
 * (only when keyboard-driven, not on click) so we keep visual cleanliness
 * for mouse users while ensuring every interactive element has an
 * unmistakable indicator for everyone navigating without a pointer.
 * Required by EN 301 549 / WCAG 2.1 AA: 2.1.1, 2.4.3, 2.4.7.
 * ================================================================ */
.argus-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--argus-text);
  color: var(--argus-bg);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid var(--argus-accent);
  border-radius: var(--argus-radius);
}
.argus-skip-link:focus {
  left: 12px;
  top: 12px;
  color: var(--argus-bg);
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--argus-accent);
  outline-offset: 2px;
}
.argus-tab:focus-visible,
.argus-btn:focus-visible,
.argus-platform-btn:focus-visible,
.argus-btn--cap:focus-visible,
.argus-send-link:focus-visible,
.argus-subject__links a:focus-visible,
.argus-subject__links-more > summary:focus-visible {
  outline: 2px solid var(--argus-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Don't double-indicate: removing the default browser ring on links inside
   focused subjects — they fall back to focus-visible above. */
.argus-subject:focus-within { box-shadow: 0 0 0 2px rgba(138, 106, 31, 0.18); }

/* ---- Header ---------------------------------------------------------- */
.argus-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--argus-bg);
  border-bottom: 1px solid var(--argus-border);
  height: var(--argus-tab-h);
}
.argus-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 20px;
  max-width: 1360px;
  margin: 0 auto;
}
.argus-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--argus-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--argus-text);
  text-decoration: none;
}
.argus-header__brand:hover { color: var(--argus-text); text-decoration: none; }
.argus-header__brand em { color: var(--argus-accent); font-style: normal; }
/* 5.6.8 — full brand composition (navy bg + gold mark + cream wordmark
 * + gold tagline). Aspect 3:2 (was wordmark-only 5.29:1). Heights are
 * bumped UP to give the composition visual weight on the masthead.
 * Container is sized to image native ratio so layout doesn't shift. */
.argus-header__logo {
  display: block;
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .argus-header__logo { height: 38px; }
}
.argus-header__divider {
  color: var(--argus-border);
  font-size: 22px;
  user-select: none;
  pointer-events: none;
}
.argus-header__client-logo {
  display: block;
  height: 28px;
  width: auto;
  border-radius: var(--argus-radius);
}

/* ---- Tabs ------------------------------------------------------------ */
.argus-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.argus-tab {
  background: none;
  border: none;
  color: var(--argus-muted);
  font-family: var(--argus-font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 18px 4px;
  margin-right: 24px;
  cursor: pointer;
  position: relative;
  transition: color .15s;
  letter-spacing: 0;
}
.argus-tab:hover { color: var(--argus-text); }
.argus-tab--active { color: var(--argus-text); }
.argus-tab--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--argus-accent);
}

/* ---- Gear button ----------------------------------------------------- */
.argus-gear-btn {
  background: none;
  border: 1px solid var(--argus-border);
  color: var(--argus-muted);
  padding: 6px 8px;
  border-radius: var(--argus-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color .15s, border-color .15s;
  margin-left: auto;
}
.argus-gear-btn:hover { color: var(--argus-text); border-color: var(--argus-accent); }

/* ---- Settings panel -------------------------------------------------- */
.argus-settings-panel {
  position: fixed;
  top: var(--argus-tab-h);
  right: 0;
  width: 320px;
  height: calc(100vh - var(--argus-tab-h));
  background: var(--argus-surface);
  border-left: 1px solid var(--argus-border);
  z-index: 200;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .2s ease;
}
.argus-settings-panel.is-open {
  transform: translateX(0);
  display: block !important;
}
.argus-settings-panel__inner { padding: 20px; }
.argus-settings-panel__title { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.argus-settings-panel__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--argus-muted); font-size: 16px;
  cursor: pointer;
}
.argus-settings-field { margin-bottom: 20px; }
.argus-settings-field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--argus-muted); margin-bottom: 8px; }

/* ---- Sortable list --------------------------------------------------- */
.argus-sortable { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.argus-sortable__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(10, 29, 54, 0.03);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  cursor: grab;
  user-select: none;
  font-size: 13px;
}
.argus-sortable__item.dragging { opacity: .4; }
.argus-sortable__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.argus-sortable__handle { margin-left: auto; color: var(--argus-muted); font-size: 12px; }

/* ---- Caps list ------------------------------------------------------- */
.argus-caps-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.argus-caps-list li {
  font-size: 12px;
  padding: 4px 8px;
  background: rgba(138,106,31,.1);
  border: 1px solid rgba(138,106,31,.3);
  border-radius: var(--argus-radius);
  color: var(--argus-accent);
}

/* ---- Toast ----------------------------------------------------------- */
.argus-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--argus-accent);
  color: var(--argus-surface);
  padding: 10px 20px;
  border-radius: var(--argus-radius);
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.argus-toast.is-visible { opacity: 1; }

/* ---- Main / tab panels ----------------------------------------------- */
/* 5.5.39 — widened from 1200 → 1360 so the two-column local-hero (map +
 * news cols) has more room before stacking. Operators on widescreen monitors
 * were getting cramped news columns with the old max. */
.argus-main { max-width: 1360px; margin: 0 auto; padding: 28px 20px 48px; }

/* 5.5.40 — Client name banner. Sits at the top of every tab panel, below
 * the universal header chrome. Magazine-masthead vibe: small kicker label
 * over a large serif client name; optional logo (set via client.config.logo_url)
 * on the left, text right-of-it. Doesn't push the rest of the layout — it's
 * just a 1-line identification banner. */
.argus-client-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--argus-border-soft, #ebe5d4);
}
.argus-client-banner__logo {
  display: block;
  height: 44px;
  width: auto;
  flex: 0 0 auto;
  border-radius: 4px;
}
.argus-client-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.argus-client-banner__kicker {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--argus-muted, #888);
}
.argus-client-banner__name {
  font-family: var(--argus-font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--argus-text, #1a1a1a);
}
@media (max-width: 639px) {
  .argus-client-banner__name { font-size: 24px; }
  .argus-client-banner__logo { height: 36px; }
}
.argus-tab-panel { display: none; }
.argus-tab-panel--active { display: block; }
.argus-panel-inner { max-width: 720px; }
.argus-panel-title {
  font-family: var(--argus-font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--argus-text);
}
.argus-panel-desc { color: var(--argus-text-soft); margin-bottom: 24px; font-size: 15px; }

/* ---- Entities + subjects --------------------------------------------- */
.argus-entities { display: flex; flex-direction: column; gap: 40px; }
.argus-entity { scroll-margin-top: calc(var(--argus-tab-h) + 16px); }
.argus-entity__title {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--argus-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--argus-border);
}
.argus-entity__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.argus-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.argus-subject {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  overflow: hidden;
  transition: border-color .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.argus-subject:hover {
  border-color: var(--argus-text-soft);
  transform: translateY(-1px);
}

/* Flash-highlight when arriving via deep link (#stiri/123). Subtle pulse:
   border + shadow flare, fades over ~2s. Auto-cleared by JS afterwards. */
.argus-subject--flash {
  animation: argus-subject-flash 2.2s ease-out;
}
@keyframes argus-subject-flash {
  0%   { border-color: var(--argus-border);  box-shadow: 0 0 0 0   rgba(138, 106, 31, 0); }
  10%  { border-color: var(--argus-accent);  box-shadow: 0 0 0 4px rgba(138, 106, 31, 0.20); }
  100% { border-color: var(--argus-border);  box-shadow: 0 0 0 0   rgba(138, 106, 31, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .argus-subject--flash {
    animation: none;
    border-color: var(--argus-accent);
  }
}

/* Photo treatment — contextpolitic v6 register: 16:9 aspect, no crop fade */
.argus-subject__image {
  position: relative;
  background: var(--argus-surface-tint);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.argus-subject__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.argus-subject__body { padding: 16px 18px 14px; flex: 1; display: flex; flex-direction: column; }
.argus-subject__title {
  font-family: var(--argus-font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.25;
  color: var(--argus-text);
  letter-spacing: -0.01em;
}
.argus-subject__summary {
  font-size: 14px;
  color: var(--argus-text-soft);
  line-height: 1.55;
  margin-bottom: 12px;
}
.argus-subject__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--argus-border-soft);
}
.argus-subject__links a {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  color: var(--argus-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.argus-subject__links a:hover { color: var(--argus-accent); text-decoration: underline; }

/* ---- Cap toggles ----------------------------------------------------- */
.argus-subject__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--argus-border-soft);
  margin-top: auto;
}
.argus-cap-toggle { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--argus-muted); cursor: pointer; }
.argus-cap-toggle input { cursor: pointer; }
.argus-cap-results { width: 100%; margin-top: 6px; }
.argus-cap-result {
  background: rgba(10, 29, 54, 0.025);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 10px;
  font-size: 12px;
  margin-bottom: 6px;
}
.argus-cap-result__label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--argus-muted); margin-bottom: 4px; }
.argus-cap-result--loading { color: var(--argus-muted); font-style: italic; }

/* ---- Buttons --------------------------------------------------------- */
.argus-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--argus-accent);
  color: var(--argus-surface);
  border: none;
  border-radius: var(--argus-radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.argus-btn:hover { background: var(--argus-accent-h); }
.argus-btn:disabled { opacity: .5; cursor: not-allowed; }
.argus-btn--sm { padding: 5px 10px; font-size: 12px; }
.argus-btn--cap { background: rgba(10, 29, 54, 0.05); color: var(--argus-text); border: 1px solid var(--argus-border); }
.argus-btn--cap:hover { background: rgba(10, 29, 54, 0.10); border-color: var(--argus-border); }
.argus-btn--copy { background: rgba(10, 29, 54, 0.07); color: var(--argus-text); }

/* ---- Input ----------------------------------------------------------- */
.argus-input {
  width: 100%;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  color: var(--argus-text);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.argus-input:focus { border-color: var(--argus-accent); }

/* ---- Social tab ------------------------------------------------------ */
.argus-social-input { display: flex; gap: 8px; margin-bottom: 16px; }
.argus-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.argus-platform-btn {
  background: rgba(10, 29, 54, 0.05);
  border: 1px solid var(--argus-border);
  color: var(--argus-text);
  border-radius: var(--argus-radius);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.argus-platform-btn:hover { background: rgba(10, 29, 54, 0.10); border-color: var(--argus-accent); }
.argus-platform-btn.active { background: rgba(138,106,31,.2); border-color: var(--argus-accent); color: var(--argus-accent); }
.argus-social-output {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 14px;
  margin-top: 12px;
}
.argus-social-output__text { font-size: 13px; line-height: 1.7; white-space: pre-wrap; margin-bottom: 10px; }
.argus-social-subject__text { font-size: 13px; color: var(--argus-muted); margin-bottom: 12px; }

/* ---- Activism tab ---------------------------------------------------- */
.argus-activism-input { display: flex; gap: 8px; margin-bottom: 16px; }
.argus-activism-caps { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.argus-activism-subject__text { font-size: 13px; color: var(--argus-muted); margin-bottom: 12px; }

/* ---- Inbox ----------------------------------------------------------- */
.argus-inbox { margin-top: 24px; }
.argus-inbox__title { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: var(--argus-muted); text-transform: uppercase; letter-spacing: .06em; }
.argus-inbox__items { display: flex; flex-direction: column; gap: 10px; }
.argus-inbox__empty { color: var(--argus-muted); font-size: 13px; }
.argus-inbox-item {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 14px;
}
.argus-inbox-item__header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.argus-inbox-item__cap { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--argus-accent); }
.argus-inbox-item__status { font-size: 11px; color: var(--argus-muted); margin-left: auto; }
.argus-inbox-item__output { font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.argus-inbox-item__copy { margin-top: 8px; }

/* ---- Empty state ----------------------------------------------------- */
.argus-empty { text-align: center; padding: 60px 20px; color: var(--argus-muted); }

/* ---- Footer ---------------------------------------------------------- */
.argus-footer {
  border-top: 1px solid var(--argus-border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: var(--argus-muted);
}
.argus-footer__demo { color: var(--argus-accent); }

/* ================================================================
 * 3.1 — Result rendering components
 * ================================================================ */

/* Spinner */
@keyframes argus-spin { to { transform: rotate(360deg); } }
.argus-spinner {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid rgba(10, 29, 54, 0.18);
  border-top-color: var(--argus-accent);
  border-radius: 50%;
  animation: argus-spin .7s linear infinite;
  vertical-align: middle;
  margin-left: 4px;
}

/* Toast variants */
.argus-toast--success { background: var(--argus-success); }
.argus-toast--error   { background: var(--argus-danger); }
.argus-toast--info    { background: var(--argus-accent); }

/* Cap result states */
.argus-cap-result { border-radius: var(--argus-radius); padding: 10px 12px; margin-top: 8px; font-size: 12px; }
.argus-cap-result--loading { background: rgba(10, 29, 54, 0.025); border: 1px solid var(--argus-border); color: var(--argus-muted); }
.argus-cap-result--error   { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); }
.argus-cap-result__label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--argus-muted); margin-bottom: 8px; font-weight: 600; }
.argus-cap-result__error { color: var(--argus-danger); }

/* Plain output fallback */
.argus-output-plain { font-size: 12px; white-space: pre-wrap; color: var(--argus-text); line-height: 1.6; word-break: break-word; }

/* 5.6.0 — markdown-rendered output (deep_dive future, generic md renderer).
 * The .argus-md-output container is what renderMarkdownOutput drops into the
 * job's result panel. Inherits the press-output type ramp so capabilities
 * that emit free-form prose all read the same. */
.argus-md-output {
  font-size: 13.5px;
  color: var(--argus-text);
  line-height: 1.7;
  font-family: var(--argus-font-body);
}
.argus-md-output p { margin: 0 0 10px; }
.argus-md-output p:last-child { margin-bottom: 0; }
.argus-md-output strong { font-weight: 700; }
.argus-md-output em { font-style: italic; }
.argus-md-output a { color: var(--argus-accent); text-decoration: underline; }
.argus-md-output ul,
.argus-md-output ol { margin: 8px 0 10px 22px; padding: 0; }
.argus-md-output li { margin-bottom: 4px; }
.argus-md-output code {
  background: var(--argus-surface-tint);
  padding: 1px 5px;
  border-radius: 2px;
  font-family: var(--argus-font-mono);
  font-size: 12px;
}

/* 5.6.0 — fallback render for capabilities that SHOULD have returned JSON
 * but came back as markdown/text. Wrapped in a subtle warn-tinted card so
 * the operator notices the renderer is in fallback mode and not the
 * structured one. */
.argus-output-fallback {
  background: rgba(138, 106, 31, 0.04);
  border-left: 2px solid var(--argus-accent-soft, #d4b074);
  padding: 10px 12px;
  border-radius: var(--argus-radius);
  font-size: 13px;
  line-height: 1.6;
  color: var(--argus-text);
}
.argus-output-fallback strong { font-weight: 700; }
.argus-output-fallback em { font-style: italic; }
.argus-output-fallback p { margin: 0 0 8px; }
.argus-output-fallback p:last-child { margin-bottom: 0; }
.argus-output-fallback ul,
.argus-output-fallback ol { margin: 6px 0 8px 22px; }

/* Generic result rows (impact etc.) */
.argus-result-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(10, 29, 54, 0.04);
  font-size: 12px;
  line-height: 1.5;
}
.argus-result-row:last-of-type { border-bottom: none; }
.argus-result-label { color: var(--argus-muted); font-weight: 500; }
.argus-result-value { color: var(--argus-text); }

/* Severity badge */
.argus-severity { display: inline-block; padding: 1px 6px; border-radius: 3px; font-weight: 600; font-size: 11px; }
.argus-severity--1 { background: var(--argus-success-bg); color: var(--argus-success); }
.argus-severity--2 { background: rgba(138, 106, 31, 0.10); color: var(--argus-accent); }
.argus-severity--3 { background: var(--argus-danger-bg);  color: var(--argus-danger); }

/* Party blocks */
.argus-party-block { margin-bottom: 10px; }
.argus-party-header { padding: 5px 10px; margin-bottom: 4px; }
.argus-party-name { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--argus-text); }

/* Ordered points list */
.argus-points-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.argus-points-list li { font-size: 12px; line-height: 1.5; color: var(--argus-text); }
.argus-points-list--own li { color: var(--argus-success); }

/* Voter quips grid */
.argus-quips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.argus-quip-card { background: rgba(10, 29, 54, 0.03); border: 1px solid var(--argus-border); border-radius: var(--argus-radius); padding: 10px; }
.argus-quip-party { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .08em; padding: 2px 6px; border-radius: 2px; color: var(--argus-surface); margin-bottom: 6px; }
.argus-quip-text { font-size: 12px; font-style: italic; color: var(--argus-text); margin: 0; line-height: 1.5; }

/* Spectrum */
.argus-spectrum-block { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--argus-border); }
.argus-spectrum-block:last-child { border-bottom: none; }
.argus-spectrum-label { font-size: 11px; font-weight: 600; color: var(--argus-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; }
.argus-spectrum-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--argus-accent); flex-shrink: 0; }
.argus-spectrum-list { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 3px; }
.argus-spectrum-list li { font-size: 12px; line-height: 1.5; }

/* Section title (deep dive) */
.argus-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--argus-muted); margin: 12px 0 8px; font-weight: 600; }

/* Deep dive block */
.argus-deep-block { margin-bottom: 12px; }

/* Segment text (voter_reactions) */
.argus-segment-text { font-size: 12px; line-height: 1.5; margin: 4px 0 0 0; color: var(--argus-text); }

/* Inbox item body */
.argus-inbox-item__body { margin-top: 10px; }
.argus-inbox-item__subject { font-size: 11px; color: var(--argus-muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================================================================
 * 3.2 — Social tab
 * ================================================================ */

.argus-notice {
  background: rgba(138,106,31,.1);
  border: 1px solid rgba(138,106,31,.25);
  border-radius: var(--argus-radius);
  padding: 14px 16px;
  color: var(--argus-muted);
  font-size: 13px;
}

/* Social loading */
.argus-social-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--argus-muted);
  font-size: 13px;
  margin: 12px 0;
}
/* 5.5.22 — the HTML `hidden` attribute sets `display: none` via the UA
 * stylesheet, but `.argus-social-loading { display: flex }` above wins on
 * specificity, so the spinner stayed visible at page load even with no URL
 * entered. Explicit override below restores the intended toggle. */
.argus-social-loading[hidden] { display: none; }

/* Subject preview card */
.argus-subject-card {
  display: flex;
  gap: 12px;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.argus-subject-card__image {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.argus-subject-card__body {
  padding: 12px;
  flex: 1;
  min-width: 0;
}
.argus-subject-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--argus-text);
}
.argus-subject-card__desc {
  font-size: 12px;
  color: var(--argus-muted);
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.argus-subject-card__url {
  font-size: 11px;
  color: var(--argus-accent);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.argus-subject-card__url:hover { text-decoration: underline; }

/* Platform selector */
.argus-platforms-wrap { margin-bottom: 16px; }
.argus-platforms-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--argus-muted); margin-bottom: 8px; }
.argus-platforms { display: flex; flex-wrap: wrap; gap: 8px; }

.argus-platform-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 29, 54, 0.04);
  border: 1px solid var(--argus-border);
  color: var(--argus-text);
  border-radius: var(--argus-radius);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.argus-platform-btn:hover   { background: rgba(10, 29, 54, 0.10); border-color: var(--argus-text-soft); }
.argus-platform-btn.active  { border-color: var(--argus-accent); color: var(--argus-accent); }
.argus-platform-btn.loading { opacity: .6; cursor: wait; }
.argus-platform-btn:disabled { opacity: .4; cursor: not-allowed; }
.argus-platform-btn__icon {
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  min-width: 14px;
  text-align: center;
}
.argus-platform-btn__label { font-size: 12px; }

/* Social output cards */
.argus-social-outputs { display: flex; flex-direction: column; gap: 12px; }

.argus-social-card {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  overflow: hidden;
}
.argus-social-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(10, 29, 54, 0.025);
  border-bottom: 1px solid var(--argus-border);
}
.argus-social-card__platform { font-size: 12px; font-weight: 600; }
.argus-social-card__status   { font-size: 11px; color: var(--argus-muted); margin-left: auto; display: flex; align-items: center; gap: 4px; }
.argus-social-card__limit    { font-size: 11px; color: var(--argus-muted); font-variant-numeric: tabular-nums; }
.argus-social-card__limit--over { color: var(--argus-danger); font-weight: 600; }

.argus-social-card__body { padding: 12px 14px; }
.argus-social-card__textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--argus-text);
  font-size: 13px;
  line-height: 1.7;
  font-family: inherit;
  resize: vertical;
  outline: none;
  min-height: 80px;
}
.argus-social-card__textarea:not([readonly]) {
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 8px;
  background: rgba(10, 29, 54, 0.025);
}
.argus-social-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 14px;
  border-top: 1px solid var(--argus-border);
}

/* ================================================================
 * 3.3 — Activism tab & press generators
 * ================================================================ */

/* Activism subject card variant */
.argus-subject-card--activism { margin-bottom: 16px; }
.argus-subject-card__entity {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--argus-accent);
  background: rgba(138,106,31,.1);
  border: 1px solid rgba(138,106,31,.25);
  border-radius: 3px;
  padding: 2px 6px;
}

/* Cap groups */
.argus-cap-group { margin-bottom: 16px; }
.argus-cap-group__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--argus-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.argus-activism-caps { display: flex; flex-wrap: wrap; gap: 6px; }

.argus-btn--cap {
  background: rgba(10, 29, 54, 0.05);
  border: 1px solid var(--argus-border);
  color: var(--argus-text);
  border-radius: var(--argus-radius);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.argus-btn--cap:hover   { background: rgba(10, 29, 54, 0.10); border-color: var(--argus-text-soft); }
.argus-btn--cap.loading { opacity: .6; cursor: wait; }
.argus-btn--cap-locked  { opacity: .35; cursor: not-allowed; }
.argus-btn--ghost {
  background: none;
  border: 1px solid var(--argus-border);
  color: var(--argus-muted);
}
.argus-btn--ghost:hover { color: var(--argus-danger); border-color: var(--argus-danger); }

/* Inbox */
.argus-inbox { margin-top: 28px; }
.argus-inbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.argus-inbox__title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--argus-muted);
  margin: 0;
}
.argus-inbox__empty { color: var(--argus-muted); font-size: 13px; font-style: italic; }
.argus-inbox__items { display: flex; flex-direction: column; gap: 8px; }

.argus-inbox-item {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  overflow: hidden;
  transition: border-color .15s;
}
.argus-inbox-item:hover { border-color: var(--argus-text-soft); }
.argus-inbox-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(10, 29, 54, 0.025);
  border-bottom: 1px solid var(--argus-border);
  cursor: pointer;
}
.argus-inbox-item__header:hover { background: rgba(10, 29, 54, 0.04); }
.argus-inbox-item__cap {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--argus-accent);
  flex-shrink: 0;
}
.argus-inbox-item__subject {
  font-size: 12px;
  color: var(--argus-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.argus-inbox-item__status {
  font-size: 11px;
  color: var(--argus-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.argus-inbox-item__status--done  { color: var(--argus-success); }
.argus-inbox-item__status--failed { color: var(--argus-danger); }
/* 5.5.24 — stale-job watchdog state. The row stays visible (the underlying
 * job may still complete on its own) but gets a subtle amber tint + visible
 * retry button so the user has a recovery path. */
.argus-inbox-item__status--stale {
  color: #c97a00;
  font-weight: 600;
}
.argus-inbox-item--stale {
  background: rgba(201, 122, 0, 0.05);
  border-left: 3px solid #c97a00;
}

.argus-inbox-item__body { padding: 12px; }

/* Press release output (plain text, formatted) */
.argus-press-output {
  background: rgba(10, 29, 54, 0.025);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 16px;
  font-size: 13px;
  line-height: 1.8;
  /* 5.5.22 — was `white-space: pre-wrap` which preserved literal \n from the
   * markdown source; now we render it as HTML so we want normal flow. */
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--argus-text);
  word-break: break-word;
}
.argus-press-output--declaratie {
  font-style: italic;
  font-size: 14px;
  border-left: 3px solid var(--argus-accent);
  padding-left: 16px;
}
/* 5.5.22 — markdown structural elements inside the press output. The
 * brain returns paragraphs separated by blank lines; mdToHtml emits <p>
 * blocks, plus <strong>/<em>/<ul>/<ol>/<a>. Default WP styles eat the
 * paragraph margins, so we restore them explicitly. */
.argus-press-output p { margin: 0 0 12px; }
.argus-press-output p:last-child { margin-bottom: 0; }
.argus-press-output strong { font-weight: 700; color: inherit; }
.argus-press-output em { font-style: italic; }
.argus-press-output a {
  color: var(--argus-accent, #8a6a1f);
  text-decoration: underline;
}
.argus-press-output ul,
.argus-press-output ol {
  margin: 8px 0 12px 24px;
  padding: 0;
}
.argus-press-output li { margin: 2px 0; }
.argus-press-output code {
  background: rgba(0, 0, 0, 0.05);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

/* ================================================================
 * 3.4 — TikTok section
 * ================================================================ */

.argus-tiktok-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--argus-border);
}
.argus-tiktok-section__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.argus-tiktok-section__icon { font-size: 12px; color: var(--argus-accent); }

.argus-tiktok-jobs { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

.argus-tiktok-job {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  overflow: hidden;
}
.argus-tiktok-job__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(10, 29, 54, 0.025);
  border-bottom: 1px solid var(--argus-border);
}
.argus-tiktok-job__url    { font-size: 11px; color: var(--argus-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.argus-tiktok-job__status { font-size: 11px; color: var(--argus-muted); flex-shrink: 0; display: flex; align-items: center; gap: 4px; }
.argus-tiktok-job__body   { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }

.argus-tiktok-links { display: flex; gap: 8px; flex-wrap: wrap; }
.argus-tiktok-links a { text-decoration: none; }

.argus-tiktok-transcript-wrap { display: flex; flex-direction: column; gap: 6px; }
.argus-tiktok-transcript {
  width: 100%;
  background: rgba(10, 29, 54, 0.025);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  color: var(--argus-text);
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 10px;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

/* ================================================================
 * Executive Summary — 5.7.0
 *
 * Professional editorial layout: larger Newsreader headline + body, even
 * three-column risk/opportunity/action grid that holds equal proportions
 * down to 1024px (the columns stack only at 720px), and a clean rule
 * separating the analysis from the strategic blocks. The point: it has
 * to read like a Sunday-paper editorial brief, not a dashboard card.
 * ================================================================ */

.argus-exec-summary {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: calc(var(--argus-radius) + 4px);
  padding: 36px 44px 40px 48px;
  margin-bottom: 36px;
  position: relative;
  box-shadow: 0 2px 4px rgba(10, 29, 54, .04), 0 1px 1px rgba(10, 29, 54, .02);
}
.argus-exec-summary::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--argus-accent);
  border-radius: 4px 0 0 4px;
}
.argus-exec-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--argus-border);
}
.argus-exec-summary__label {
  font-family: var(--argus-font-mono, ui-monospace, SFMono-Regular, monospace);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--argus-accent);
}
.argus-exec-summary__date {
  font-size: 12px;
  color: var(--argus-muted);
  letter-spacing: .02em;
}
.argus-exec-summary__headline {
  font-family: var(--argus-font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--argus-text);
}
.argus-exec-summary__body {
  font-family: var(--argus-font-display);
  font-size: 17px;
  line-height: 1.65;
  color: var(--argus-text);
  margin-bottom: 32px;
  max-width: 78ch;
}
.argus-exec-summary__body p { margin: 0 0 14px; }
.argus-exec-summary__body p:last-child { margin-bottom: 0; }

.argus-exec-summary__lists {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--argus-border);
}
.argus-exec-list {
  display: flex;
  flex-direction: column;
}
.argus-exec-list__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--argus-font-mono, ui-monospace, SFMono-Regular, monospace);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid currentColor;
}
.argus-exec-list--risks    .argus-exec-list__label { color: var(--argus-danger);  }
.argus-exec-list--opps     .argus-exec-list__label { color: var(--argus-success); }
.argus-exec-list--actions  .argus-exec-list__label { color: var(--argus-accent);  }

.argus-exec-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.argus-exec-list li {
  font-family: var(--argus-font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--argus-text);
  padding-left: 0;
  position: relative;
}
.argus-exec-list li::before { content: none; }

/* Sentiment badges */
.argus-sentiment {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.argus-sentiment--pozitiv { background: var(--argus-success-bg); color: var(--argus-success); border: 1px solid rgba(28,107,82,.20); }
.argus-sentiment--negativ { background: var(--argus-danger-bg);  color: var(--argus-danger);  border: 1px solid rgba(185,28,28,.20); }
.argus-sentiment--neutru  { background: var(--argus-surface-tint); color: var(--argus-text-soft); border: 1px solid var(--argus-border); }
.argus-sentiment--mixt    { background: var(--argus-warn-bg);    color: var(--argus-warn);    border: 1px solid rgba(146,64,14,.20); }

/* ================================================================
 * 3.6 — Cross-tab links + custom entity badge
 * ================================================================ */

.argus-subject__send { display: flex; gap: 6px; margin: 6px 0; }
.argus-send-link {
  font-size: 10px;
  color: var(--argus-muted);
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid var(--argus-border);
  border-radius: 3px;
  transition: color .15s, border-color .15s;
}
.argus-send-link:hover { color: var(--argus-accent); border-color: var(--argus-accent); }

.argus-entity--custom .argus-entity__title { opacity: .85; }
.argus-entity__custom-badge {
  font-size: 9px;
  background: var(--argus-info-bg);
  color: var(--argus-info);
  border: 1px solid rgba(31,78,140,.25);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 6px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ================================================================
 * 3.8 — Source links: expand-more, demo polish
 *
 * Sprint 4.13 dropped the visual "Relevant" badge because clients found
 * it confusing to see only some of their subjects flagged as relevant
 * (the rest read as "irrelevant" rather than "less precisely matched").
 * Relevance now drives sort-order only; no visual decoration on the
 * subject card.
 * ================================================================ */

.argus-subject__links-more {
  margin-top: 4px;
  font-size: 11px;
}
.argus-subject__links-more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  color: var(--argus-muted);
  padding: 2px 8px;
  border: 1px solid var(--argus-border);
  border-radius: 999px;
  transition: color .15s, border-color .15s, background .15s;
  user-select: none;
}
.argus-subject__links-more > summary::-webkit-details-marker { display: none; }
.argus-subject__links-more > summary:hover {
  color: var(--argus-accent);
  border-color: var(--argus-accent);
  background: var(--argus-accent-bg);
}
.argus-subject__links-more[open] > summary {
  color: var(--argus-text);
  background: var(--argus-surface-tint);
  border-color: var(--argus-border);
}
.argus-subject__links-more > .argus-subject__links {
  margin-top: 6px;
  padding-top: 0;
  border-top: none;
}

/* Demo header style additions */
.argus-demo .argus-entity__title { font-size: 11px; }

/* ================================================================
 * Toggle switch (exec summary)
 * ================================================================ */
.argus-toggle-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.argus-toggle-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.argus-toggle-switch__slider {
  position: relative;
  width: 36px;
  height: 20px;
  background: var(--argus-muted);
  border-radius: 10px;
  transition: background .2s;
  flex-shrink: 0;
}
.argus-toggle-switch__slider::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
}
.argus-toggle-switch input:checked ~ .argus-toggle-switch__slider { background: var(--argus-accent); }
.argus-toggle-switch input:checked ~ .argus-toggle-switch__slider::after { left: 18px; }
.argus-toggle-switch__label { font-size: 12px; color: var(--argus-muted); }

/* ================================================================
 * Sprint 4.3 — verifier badge (renders above output for verified caps)
 * Sprint 4.5 — expandable drilldown panel for warn badges with issues
 * ================================================================ */
.argus-verifier {
  margin-bottom: 12px;
}
.argus-verifier-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
  border: 1px solid transparent;
  user-select: none;
}
.argus-verifier--expandable .argus-verifier-badge {
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.argus-verifier--expandable .argus-verifier-badge:hover,
.argus-verifier--expandable .argus-verifier-badge:focus-visible {
  background: rgba(138, 106, 31, 0.08);
  border-color: rgba(138, 106, 31, 0.30);
  outline: none;
}
.argus-verifier-badge__icon {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.argus-verifier-badge__label {
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.argus-verifier-badge__summary {
  color: inherit;
  opacity: 0.85;
  font-weight: 400;
  flex: 1;
  min-width: 0;
}
.argus-verifier-badge__count {
  font-size: 11px;
  font-weight: 600;
  background: rgba(138, 106, 31, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.argus-verifier-badge__chevron {
  font-size: 11px;
  flex-shrink: 0;
  transition: transform .15s;
  opacity: 0.7;
}
.argus-verifier.is-open .argus-verifier-badge__chevron {
  transform: rotate(-180deg);
}
.argus-verifier-badge--ok {
  background: var(--argus-success-bg);
  border-color: rgba(28, 107, 82, 0.25);
  color: var(--argus-success);
}
.argus-verifier-badge--warn {
  background: rgba(138, 106, 31, 0.05);
  border-color: rgba(138, 106, 31, 0.20);
  color: var(--argus-accent);
}

/* Drilldown panel */
.argus-verifier-panel {
  margin-top: 6px;
  padding: 12px 14px;
  background: rgba(138, 106, 31, 0.03);
  border: 1px solid rgba(138, 106, 31, 0.12);
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.55;
}
.argus-verifier-panel__intro {
  color: var(--argus-text);
  margin-bottom: 10px;
  opacity: 0.85;
}
.argus-verifier-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: hv;
}
.argus-verifier-panel__list li {
  counter-increment: hv;
  padding: 8px 10px 8px 28px;
  background: rgba(10, 29, 54, 0.04);
  border-radius: 4px;
  border-left: 2px solid rgba(138, 106, 31, 0.35);
  position: relative;
}
.argus-verifier-panel__list li::before {
  content: counter(hv);
  position: absolute;
  left: 8px;
  top: 8px;
  width: 14px;
  height: 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--argus-accent);
  border: 1px solid rgba(138, 106, 31, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.argus-verifier-panel__claim {
  display: block;
  color: var(--argus-text);
  font-weight: 500;
  margin-bottom: 3px;
}
.argus-verifier-panel__why {
  display: block;
  color: var(--argus-muted);
  font-size: 11.5px;
}
.argus-verifier-panel__foot {
  font-size: 10.5px;
  color: var(--argus-muted);
  font-style: italic;
  margin: 0;
  border-top: 1px solid rgba(138, 106, 31, 0.08);
  padding-top: 8px;
}

/* ================================================================
 * Sprint 4.4 — Responsive (mobile + tablet)
 *
 * Breakpoints:
 *   < 640px   phones: single-column subjects, compressed header,
 *             full-width drawer, smaller paddings everywhere
 *   640-900px tablets / narrow desktops: 2-col subjects allowed
 *   > 900px   keeps current desktop behavior
 * ================================================================ */

/* ----- Phones ---------------------------------------------------------- */
@media (max-width: 639px) {

  /* Header: tighter padding, smaller fonts, allow tabs to shrink */
  .argus-header { height: 64px; }
  .argus-header__inner { padding: 0 14px; gap: 8px; }
  .argus-header__brand { font-size: 18px; }
  /* 5.6.8 — bumped from 26 to 36 to accommodate 3:2 brand composition. */
  .argus-header__logo  { max-height: 36px; height: 36px; }
  :root { --argus-tab-h: 64px; }

  .argus-tabs { gap: 0; flex: 1; min-width: 0; }
  .argus-tab  { padding: 14px 0; margin-right: 18px; font-size: 13px; }
  .argus-tab:last-child { margin-right: 0; }

  .argus-gear-btn { padding: 4px; }

  /* Settings panel becomes a full-width drawer */
  .argus-settings-panel { width: 100%; border-left: none; }
  .argus-settings-panel__inner { padding: 16px; }

  /* Main: tighter container padding */
  .argus-main { padding: 20px 14px 36px; }

  /* Subject grid: single column on phones, full-width image cards */
  .argus-subjects { grid-template-columns: 1fr; gap: 14px; }
  .argus-subject__image { aspect-ratio: 16/9; }
  .argus-subject__body { padding: 14px 16px 14px; }
  .argus-subject__title { font-size: 17px; }
  .argus-subject__summary { font-size: 14px; }

  /* Cap toggles: smaller, wrap aggressively */
  .argus-subject__actions { gap: 4px 8px; }
  .argus-cap-toggle { font-size: 11px; }

  /* Cross-tab quick-send links: smaller */
  .argus-subject__send a { font-size: 10px; padding: 2px 5px; }

  /* Executive summary: stack lists, smaller paddings */
  .argus-exec-summary { padding: 20px 18px 22px 22px; }
  .argus-exec-summary__headline { font-size: 22px; line-height: 1.25; }
  .argus-exec-summary__body { font-size: 15px; line-height: 1.6; }
  .argus-exec-summary__lists { grid-template-columns: 1fr; gap: 22px; padding-top: 18px; }
  .argus-exec-list li { font-size: 14px; line-height: 1.5; }

  /* Sections heading */
  .argus-entity__title { font-size: 11px; margin-bottom: 12px; }

  /* Tab panels */
  .argus-panel-title { font-size: 22px; }
  .argus-panel-desc  { font-size: 14px; margin-bottom: 18px; }
  .argus-social-input,
  .argus-activism-input { gap: 6px; }
  .argus-social-input .argus-input,
  .argus-activism-input .argus-input { font-size: 16px; } /* iOS: <16px triggers zoom on focus */
  .argus-platforms { gap: 6px; }
  .argus-platform-btn { padding: 7px 11px; font-size: 12px; }

  /* Activism caps wrap and shrink */
  .argus-activism-caps { gap: 6px; }
  .argus-cap-group__label { font-size: 10px; }

  /* Subject card (inside Social/Activism) */
  .argus-subject-card { flex-direction: column; }
  .argus-subject-card__image { width: 100%; height: 180px; max-width: 100%; }

  /* Inbox items */
  .argus-inbox-item { padding: 12px; }
  .argus-inbox-item__header { gap: 8px; flex-wrap: wrap; }
  .argus-inbox-item__subject { white-space: normal; max-width: 100%; }
  .argus-inbox-item__output { font-size: 12.5px; }

  /* Social cards: full width, no cramped textareas */
  .argus-social-card__textarea { font-size: 13px; }

  /* TikTok section */
  .argus-tiktok-section { padding: 14px; }
  .argus-tiktok-section__title { font-size: 13px; }
  .argus-tiktok-job__url { max-width: 60vw; }

  /* Press outputs */
  .argus-press-output { padding: 12px; font-size: 12.5px; line-height: 1.55; }

  /* Verifier badge: allow wrap, summary on its own line, chevron stays right */
  .argus-verifier-badge { flex-wrap: wrap; row-gap: 4px; padding: 7px 10px; }
  .argus-verifier-badge__summary { flex-basis: 100%; font-size: 11.5px; order: 5; }
  .argus-verifier-badge__count { margin-left: auto; }
  .argus-verifier-panel { padding: 10px 12px; }
  .argus-verifier-panel__list li { padding: 6px 8px 6px 26px; }

  /* Quips grid: 2-column on phones */
  .argus-quips-grid { grid-template-columns: 1fr 1fr; gap: 6px; }

  /* Result rows (impact analysis): stack label/value */
  .argus-result-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .argus-result-label { font-size: 10px; }
  .argus-result-value { font-size: 12.5px; }

  /* Toast: full-width-ish at bottom on phones (overrides desktop center-50%) */
  .argus-toast {
    left: 12px;
    right: 12px;
    bottom: 16px;
    transform: none;
    max-width: none;
    text-align: center;
  }

  /* Footer */
  .argus-footer { flex-wrap: wrap; padding: 10px 12px; gap: 6px; font-size: 10.5px; }

  /* Demo (public page) — header inside <style> override below also covers fonts */
  .argus-demo-header { padding: 18px 12px 0; }
}

/* ----- Tablets / narrow desktops -------------------------------------- */
@media (min-width: 640px) and (max-width: 899px) {
  .argus-subjects { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .argus-exec-summary__lists { grid-template-columns: 1fr 1fr; }
  .argus-main { padding: 20px 16px; }
}

/* ================================================================
 * Sprint 4.6 — Job tracker (floating pill + panel) + inline retry
 * ================================================================ */
.argus-tracker-pill {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  background: var(--argus-surface);
  border: 1px solid rgba(138,106,31,.4);
  color: var(--argus-text);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: transform .15s, border-color .15s, background .15s;
}
.argus-tracker-pill:hover { transform: translateY(-1px); border-color: var(--argus-accent); }
.argus-tracker-pill.is-open { background: rgba(138,106,31,.15); border-color: var(--argus-accent); }
.argus-tracker-pill--idle { border-color: var(--argus-border); }
.argus-tracker-pill--idle .argus-tracker-pill__spinner { display: none; }
.argus-tracker-pill--active .argus-tracker-pill__spinner {
  display: inline-block;
  width: 10px; height: 10px;
  border: 2px solid rgba(138,106,31,.3);
  border-top-color: var(--argus-accent);
  border-radius: 50%;
  animation: argus-spin 0.8s linear infinite;
}
.argus-tracker-pill__count {
  font-weight: 700;
  color: var(--argus-accent);
  font-variant-numeric: tabular-nums;
  min-width: 12px;
  text-align: center;
}
.argus-tracker-pill__label { color: var(--argus-muted); font-size: 11px; }

.argus-tracker-panel {
  position: fixed;
  bottom: 64px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 96px);
  z-index: 999;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(10, 29, 54, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.argus-tracker-panel__header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--argus-border);
}
.argus-tracker-panel__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--argus-muted);
  flex: 1;
}
.argus-tracker-panel__close {
  background: none;
  border: none;
  color: var(--argus-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
}
.argus-tracker-panel__close:hover { color: var(--argus-text); }
.argus-tracker-panel__list {
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.argus-tracker-item {
  background: rgba(10, 29, 54, 0.025);
  border: 1px solid var(--argus-border);
  border-radius: 3px;
  padding: 9px 10px;
  font-size: 12px;
}
.argus-tracker-item--running,
.argus-tracker-item--pending { border-left: 3px solid var(--argus-accent); }
.argus-tracker-item--done    { border-left: 3px solid var(--argus-success); opacity: .85; }
.argus-tracker-item--failed  { border-left: 3px solid var(--argus-danger); }

.argus-tracker-item__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.argus-tracker-item__cap {
  font-weight: 600;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.argus-tracker-item__status {
  font-size: 11px;
  color: var(--argus-muted);
  flex-shrink: 0;
}
.argus-tracker-item--done    .argus-tracker-item__status { color: var(--argus-success); }
.argus-tracker-item--failed  .argus-tracker-item__status { color: var(--argus-danger); }
.argus-tracker-item__check { color: var(--argus-success); font-weight: 700; }
.argus-tracker-item__cross { color: var(--argus-danger); font-weight: 700; }
.argus-tracker-item__subject {
  font-size: 11px;
  color: var(--argus-muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.argus-tracker-item__error {
  font-size: 11px;
  color: var(--argus-danger);
  margin-top: 4px;
  word-break: break-word;
}
.argus-tracker-item__actions {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.argus-tracker-item__actions:empty { display: none; }
.argus-tracker-item__retry,
.argus-tracker-item__dismiss {
  background: none;
  border: 1px solid var(--argus-border);
  color: var(--argus-muted);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 500;
  transition: color .15s, border-color .15s, background .15s;
}
.argus-tracker-item__retry:hover {
  color: var(--argus-accent);
  border-color: var(--argus-accent);
}
.argus-tracker-item__dismiss:hover { color: var(--argus-text); }
.argus-tracker-item__retry[disabled] { opacity: .6; cursor: wait; }

/* Inline retry button on Activism inbox failed items */
.argus-inbox-item__retry {
  margin-left: 8px;
  background: none;
  border: 1px solid rgba(185,28,28,.30);
  color: var(--argus-danger);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.argus-inbox-item__retry:hover {
  background: var(--argus-danger-bg);
  color: var(--argus-danger);
}
.argus-inbox-item__retry[disabled] { opacity: .6; cursor: wait; }

/* Mobile: pill + panel adjust */
@media (max-width: 639px) {
  /* Pill sits above the full-width toast strip (which lives at bottom: 16px) */
  .argus-tracker-pill { bottom: 64px; right: 14px; padding: 8px 12px 8px 10px; }
  .argus-tracker-pill__label { display: none; }
  .argus-tracker-panel {
    bottom: 110px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
  }
}

/* ---- Activitate locală (5.5.17) ------------------------------------ *
 * Press-review card stack at the top of the Știri tab for client pages.
 * Four columns (News / TikTok / Facebook / Web pool) of recent items
 * pulled from the client's attached sources. Replaces 5.5.15's simple
 * "Sursele tale" list — same data, materially better visual.
 * --------------------------------------------------------------------- */
.argus-local-activity {
  margin: 18px 0 28px;
  padding: 18px 20px 20px;
  background: var(--argus-surface, #fff);
  border: 1px solid var(--argus-border, #e4dccc);
  border-radius: 3px;
}
.argus-local-activity__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--argus-border-soft, #ebe5d4);
}
.argus-local-activity__title {
  display: flex; align-items: baseline; gap: 10px;
}
.argus-local-activity__title h2 {
  margin: 0;
  /* 5.5.49 — editorial section head. Larger, serif, calmer weight. */
  font-family: var(--argus-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--argus-text, #1a1a1a);
}
.argus-local-activity__count {
  font-size: 12px;
  color: var(--argus-muted, #888);
  font-variant-numeric: tabular-nums;
}
.argus-local-activity__refresh {
  font-size: 12px;
  color: var(--argus-text-soft, #555);
  text-align: right;
}
.argus-local-activity__refresh strong {
  color: var(--argus-accent, #8a6a1f);
  font-weight: 600;
}
.argus-local-activity__refresh small {
  display: block;
  color: var(--argus-muted, #888);
  font-size: 11px;
  margin-top: 2px;
}

/* 5.5.20 — scope badge ("sinteză personalizată" / "baseline global") in the
 * refresh corner. Small, lowercase, two distinct colors so the operator can
 * tell at a glance whether they're seeing the client run or the day-zero
 * fallback. Client = success green, global = warm beige (informational, not
 * a warning — global is a perfectly valid first-day state). */
.argus-scope-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: lowercase;
  line-height: 1.4;
  white-space: nowrap;
}
.argus-scope-badge--client {
  background: #e3f0e3;
  color: #2a5a2a;
  border: 1px solid #b9d5b9;
}
.argus-scope-badge--global {
  background: #f7f1e3;
  color: #7a6628;
  border: 1px solid #e5d8a8;
}

.argus-local-empty {
  margin: 0;
  padding: 14px;
  background: var(--argus-surface-warm, #f7f1e3);
  border-left: 3px solid var(--argus-accent, #8a6a1f);
  font-size: 13px;
  color: var(--argus-text-soft, #555);
  border-radius: 0 4px 4px 0;
}
.argus-local-empty em { font-style: normal; font-weight: 600; color: var(--argus-text, #1a1a1a); }

/* 5.5.23 — two-column hero layout: map left, news columns right.
 * 5.5.39 — heights now match: align-items stretches both children, and
 * the map canvas flex-grows to fill its column. Operator feedback was
 * that the map looked stunted next to a long news column. On mobile the
 * order is reversed (news first, then map) — the news columns are the
 * primary read; the map is supporting context. */
.argus-local-layout {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1079px) {
  .argus-local-layout { grid-template-columns: 1fr; }
  /* On narrow screens: map first (location context), watch-panel second. */
  .argus-local-layout > .argus-local-map   { order: 1; }
  .argus-local-layout > .argus-local-watch { order: 2; }
  /* Legacy support for old templates still rendering news cols. */
  .argus-local-layout > .argus-local-cols  { order: 2; }
}

/* 5.6.2 — Priority monitoring feed (right side of Activitate locală hero).
 * Compact list, no thumbs. Sort modes:
 *   priority — at least one priority_keyword_group match (show "★ <label>" pills)
 *   regional — fallback when no priority hits (subtle "fallback regional" kicker)
 *   recent   — last resort when neither matches
 * Each item is a button (article-trigger) so click opens the article modal;
 * the hidden DOM block at the end of the section still feeds the map with
 * ALL lat/lng articles, so map dots aren't limited to these 12.
 */
.argus-priority-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 16px 18px 20px;
  min-height: 0;
  overflow: auto;
  max-height: 100%;
}
.argus-priority-feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-priority-feed__head h3 {
  font-family: var(--argus-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--argus-text);
  margin: 0;
}
.argus-priority-feed__mode {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  text-align: right;
}
.argus-priority-feed__kicker {
  font-family: var(--argus-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.argus-priority-feed--priority .argus-priority-feed__kicker { color: var(--argus-accent); }
.argus-priority-feed--regional .argus-priority-feed__kicker { color: var(--argus-warn, #8a5210); }
.argus-priority-feed--recent   .argus-priority-feed__kicker { color: var(--argus-muted); }
.argus-priority-feed__note {
  font-size: 10.5px;
  color: var(--argus-muted);
  font-style: italic;
  max-width: 240px;
  line-height: 1.3;
}
.argus-priority-feed__empty {
  font-size: 12.5px;
  color: var(--argus-muted);
  margin: 0;
  font-style: italic;
}
.argus-priority-feed__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.argus-priority-feed__item { margin: 0; padding: 0; border-bottom: 1px solid var(--argus-border-soft); }
.argus-priority-feed__item:last-child { border-bottom: 0; }
.argus-priority-feed__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  color: var(--argus-text);
  font-family: inherit;
  transition: background 0.12s;
}
.argus-priority-feed__trigger:hover {
  background: rgba(138, 106, 31, 0.04);
}
.argus-priority-feed__trigger:focus-visible {
  outline: 2px solid var(--argus-accent);
  outline-offset: -2px;
}
.argus-priority-feed__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 2px;
}
.argus-priority-feed__badge {
  font-family: var(--argus-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--argus-accent-bg);
  color: var(--argus-accent);
  padding: 1px 6px;
  border-radius: 2px;
}
.argus-priority-feed--regional .argus-priority-feed__badge {
  background: var(--argus-warn-bg, #fbf0dc);
  color: var(--argus-warn, #8a5210);
}
.argus-priority-feed__title {
  font-family: var(--argus-font-display);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--argus-text);
  word-break: break-word;
}
.argus-priority-feed__meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--argus-muted);
  font-family: var(--argus-font-body);
}
.argus-priority-feed__source { font-weight: 500; color: var(--argus-text-soft); }
.argus-priority-feed__when {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
}

/* 5.6.1 — "Ce monitorizez" panel (right side of Activitate locală hero).
 * Replaced the news-cards mirror with a compact "this is what we watch"
 * surface: client keywords as gold chips + attached sources grouped by
 * connector type. Editorial newspaper feel — confident type ramp, no
 * thumbs, no gradients. */
.argus-local-watch {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  overflow: auto;
  max-height: 100%;
}
.argus-local-watch__head { border-bottom: 1px solid var(--argus-border-soft); padding-bottom: 10px; }
.argus-local-watch__head h3 {
  font-family: var(--argus-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--argus-text);
  margin: 0 0 4px;
}
.argus-local-watch__hint {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--argus-muted);
}
.argus-local-watch__block { display: flex; flex-direction: column; gap: 10px; }
.argus-local-watch__title {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--argus-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--argus-text-soft);
  margin: 0;
}
.argus-local-watch__count {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  color: var(--argus-accent);
  background: var(--argus-accent-bg);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0;
}
.argus-local-watch__empty {
  font-size: 12.5px;
  color: var(--argus-muted);
  margin: 0;
  font-style: italic;
}
.argus-local-watch__empty em {
  font-style: normal;
  background: var(--argus-surface-tint);
  padding: 1px 5px;
  border-radius: 2px;
  font-family: var(--argus-font-mono);
  font-size: 11px;
}

/* Keyword chips — antique-gold tint to match the brand accent. */
.argus-local-watch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.argus-local-watch__chip {
  font-family: var(--argus-font-body);
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--argus-text);
  background: var(--argus-accent-bg);
  border: 1px solid rgba(138, 106, 31, 0.18);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Source list — grouped by connector type. */
.argus-local-watch__sources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.argus-local-watch__group { display: flex; flex-direction: column; gap: 4px; }
.argus-local-watch__group-head {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--argus-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--argus-text-soft);
}
.argus-local-watch__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  color: var(--argus-muted);
  font-size: 12px;
}
.argus-local-watch__group-count {
  margin-left: auto;
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  color: var(--argus-muted);
}
.argus-local-watch__source-names {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--argus-border-soft);
}
.argus-local-watch__source {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 2px 0;
  color: var(--argus-text);
}
.argus-local-watch__source a {
  color: var(--argus-text);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: border-color 0.15s, color 0.15s;
}
.argus-local-watch__source a:hover {
  color: var(--argus-accent);
  border-bottom-color: var(--argus-accent);
  text-decoration: none;
}

/* 5.6.2 — When `.argus-local-watch` is a <details> below the hero (open by
 * default), lay its three blocks (groups, keywords, sources) into columns. */
.argus-local-watch--below {
  margin-top: 18px;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 0;
  max-height: none;
  overflow: visible;
  display: block;
}
.argus-local-watch--below > .argus-local-watch__head {
  list-style: none;
  cursor: pointer;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-local-watch--below > .argus-local-watch__head::-webkit-details-marker { display: none; }
.argus-local-watch--below > .argus-local-watch__head::marker { content: ''; }
.argus-local-watch--below > .argus-local-watch__head::after {
  content: '▾';
  margin-left: auto;
  color: var(--argus-muted);
  font-size: 14px;
  transition: transform 0.15s;
}
.argus-local-watch--below[open] > .argus-local-watch__head::after { transform: rotate(180deg); }
.argus-local-watch__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 16px 20px 20px;
}
@media (max-width: 880px) {
  .argus-local-watch__cols { grid-template-columns: 1fr; }
}

/* Priority groups — one row per group, anchors + AND + context inline. */
.argus-local-watch__groups {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.argus-local-watch__pgroup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: var(--argus-surface-tint);
  border-left: 2px solid var(--argus-accent-soft, #d4b074);
  border-radius: 2px;
}
.argus-local-watch__pgroup-label {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--argus-accent);
}
.argus-local-watch__pgroup-formula {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  line-height: 1.45;
  color: var(--argus-text-soft);
  word-break: break-word;
}
.argus-local-watch__pgroup-anchors { color: var(--argus-text); }
.argus-local-watch__pgroup-and {
  color: var(--argus-muted);
  font-weight: 700;
  margin: 0 4px;
  font-size: 10px;
}
.argus-local-watch__pgroup-context { color: var(--argus-text-soft); }

/* 5.6.1 — Surse social monitorizate (tile grid in Activitate tab).
 * One tile per configured search-term across the apify_* connectors.
 * Click → opens the canonical platform page in a new tab. Branded
 * accent strip + 2-letter badge per platform; no thumbnail (a thumb
 * would need a live scrape on render and the operator picks usefulness
 * over polish for this surface). */
.argus-monitor-grid {
  margin: 0 0 28px;
  padding: 0;
}
.argus-monitor-grid__head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 0 0 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-monitor-grid__head h3 {
  font-family: var(--argus-font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--argus-text);
}
.argus-monitor-grid__hint {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--argus-muted);
}
.argus-monitor-grid__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
.argus-monitor-tile {
  margin: 0;
  padding: 0;
}
.argus-monitor-tile__link {
  display: grid;
  grid-template-columns: 5px 1fr;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  text-decoration: none;
  color: var(--argus-text);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  min-height: 100%;
}
.argus-monitor-tile__link:hover {
  border-color: var(--argus-text-soft);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10, 29, 54, 0.05);
  color: var(--argus-text);
}
.argus-monitor-tile__link:focus-visible {
  outline: 2px solid var(--argus-accent);
  outline-offset: 2px;
}
.argus-monitor-tile__strip {
  display: block;
  width: 5px;
}
.argus-monitor-tile__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 12px 12px;
  min-width: 0;
}
.argus-monitor-tile__platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--argus-muted);
  font-weight: 600;
}
.argus-monitor-tile__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  color: #fff;
  font-family: var(--argus-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 3px;
}
.argus-monitor-tile__label {
  font-family: var(--argus-font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--argus-text);
  letter-spacing: -0.005em;
  word-break: break-word;
}
.argus-monitor-tile__cta {
  font-family: var(--argus-font-body);
  font-size: 11px;
  color: var(--argus-accent);
  margin-top: 2px;
  font-weight: 500;
}

/* 5.6.6 — tile enrichment: thumb + latest post title + author.
 * When a matched post exists for the term, the tile grows a top thumb,
 * a 2-line clamped title, and a "@author · 3h" meta row. The simple
 * left-strip 5px brand color is replaced by a 3px top strip to make
 * room for the thumb. */
.argus-monitor-tile__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--argus-surface-tint) center / cover no-repeat;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-monitor-tile--has-thumb .argus-monitor-tile__link {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
}
.argus-monitor-tile--has-thumb .argus-monitor-tile__strip {
  width: 100%;
  height: 3px;
}
.argus-monitor-tile__term {
  color: var(--argus-text);
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0;
}
.argus-monitor-tile__latest-title {
  font-family: var(--argus-font-display);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--argus-text);
  font-weight: 500;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.argus-monitor-tile__latest-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--argus-muted);
}
.argus-monitor-tile__latest-author {
  color: var(--argus-text-soft);
  font-weight: 500;
}
.argus-monitor-tile__latest-when {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
}
.argus-monitor-tile__no-data {
  font-size: 12px;
  font-style: italic;
  color: var(--argus-muted);
}

/* ================================================================
 * 5.7.0 — Social media feed (titles + authors + thumbs)
 *
 * Replaces the 5.6.6-removed social block. Four-column grid by
 * platform on desktop; collapses to single column on mobile. Each
 * card surfaces the author handle, the actual caption (preferred
 * over the auto-generated title-slug when longer), the source name
 * and a relative timestamp. Click → opens the original post.
 * ================================================================ */
.argus-social-feed {
  margin: 0 0 28px;
  padding: 0;
}
.argus-social-feed__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 0 0 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-social-feed__head h3 {
  font-family: var(--argus-font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--argus-text);
}
.argus-social-feed__count {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--argus-muted);
}
.argus-social-feed__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1199px) {
  .argus-social-feed__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .argus-social-feed__cols { grid-template-columns: 1fr; }
}
.argus-social-feed__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  overflow: hidden;
}
.argus-social-feed__col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--argus-border-soft);
  background: rgba(10, 29, 54, 0.02);
}
.argus-social-feed__col-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: #fff;
  background: var(--social-col-color, #444);
  font-family: var(--argus-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 4px;
}
.argus-social-feed__col-label {
  font-family: var(--argus-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--argus-text);
  letter-spacing: -0.005em;
}
.argus-social-feed__col-count {
  margin-left: auto;
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  color: var(--argus-muted);
}
.argus-social-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.argus-social-feed__item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-social-feed__item:last-child { border-bottom: none; }
.argus-social-feed__link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--argus-text);
  transition: background-color 0.12s;
}
.argus-social-feed__link:hover { background: rgba(138, 106, 31, 0.04); color: var(--argus-text); }
.argus-social-feed__link:focus-visible { outline: 2px solid var(--argus-accent); outline-offset: -2px; }
.argus-social-feed__thumb {
  display: block;
  width: 64px;
  height: 64px;
  background: var(--argus-surface-tint) center / cover no-repeat;
  border-radius: 4px;
  flex-shrink: 0;
}
.argus-social-feed__thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--argus-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--argus-muted);
  text-transform: uppercase;
}
.argus-social-feed__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.argus-social-feed__author {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--argus-accent);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.argus-social-feed__title {
  font-family: var(--argus-font-display);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--argus-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.argus-social-feed__meta {
  display: flex;
  gap: 8px;
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  color: var(--argus-muted);
  margin-top: 2px;
}
.argus-social-feed__source {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.argus-social-feed__when {
  margin-left: auto;
  white-space: nowrap;
}

.argus-local-map {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0; /* allow flex child (canvas) to compute height */
}
.argus-local-map__canvas {
  position: relative;
  width: 100%;
  /* Desktop: flex-grow so the map matches the news column's height.
   * The min-height keeps it usable when news column is short. */
  flex: 1 1 auto;
  min-height: 380px;
  border-radius: 3px;
  overflow: hidden;
  background: #f0ece1;
  border: 1px solid var(--argus-border-soft, #ebe5d4);
}
@media (max-width: 1079px) {
  /* Stacked: fixed height so the canvas doesn't try to be 0px before
   * Leaflet loads or fill the entire viewport on tall phones. */
  .argus-local-map__canvas { flex: 0 0 auto; height: 320px; min-height: 320px; }
}
.argus-local-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--argus-muted, #888);
  font-size: 13px;
  text-align: center;
  padding: 0 16px;
}
.argus-local-map__placeholder span { font-size: 28px; opacity: .6; }
.argus-local-map__placeholder--err { color: #b8520a; }

.argus-local-map__legend {
  margin: 0;
  font-size: 10.5px;
  color: var(--argus-muted, #888);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}
.argus-local-map__dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
/* 5.5.40 — legend swatches realigned with the new marker palette
 * (rust / ochre / muted blue tiers). See `.argus-leaflet-marker--*` rules
 * below for the rationale. */
.argus-local-map__dot--home     { background: #8a6a1f; border-color: #3a4862; }
.argus-local-map__dot--local    { background: #d49a52; border-color: #8a4036; }
.argus-local-map__dot--regional { background: #e8c87a; border-color: #b8893a; }
.argus-local-map__dot--national { background: #b6c5d6; border-color: #6b7c8c; }

/* Leaflet marker overrides — color-coded by locality, with the article
 * count rendered in black for readability (operator feedback: white-on-
 * orange counts were unreadable in afternoon glare).
 *
 * 5.5.40 — count text → #1a1a1a + light border so the digit reads on every
 * background color in the palette (green/local, orange/regional, blue/
 * national). The home marker keeps its white star — that's a glyph, not
 * a count, and reads fine against the dark rust background. */
.argus-leaflet-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: transform 120ms ease;
}
.argus-leaflet-marker:hover { transform: scale(1.15); }
.argus-leaflet-marker--home {
  background: #8a6a1f;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}
/* 5.5.40 — distinct color per locality tier. "Local" (within ~30km of
 * client home) = warm rust accent matching the brand, so the client's
 * own news pops first. "Regional" (judeţ-level) = ochre. "National" =
 * a muted blue that recedes — readers should see judeţ news before
 * Bucharest noise. */
.argus-leaflet-marker--local    { background: #d49a52; border-color: #8a4036; }
.argus-leaflet-marker--regional { background: #e8c87a; border-color: #b8893a; }
.argus-leaflet-marker--national { background: #b6c5d6; border-color: #6b7c8c; }

/* Leaflet popup overrides for the article cluster list. */
.leaflet-popup-content-wrapper {
  border-radius: 3px;
  font-family: inherit;
}
.argus-map-popup strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 6px;
  color: var(--argus-accent, #8a6a1f);
}
.argus-map-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}
.argus-map-popup__item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 6px 4px;
  border-bottom: 1px dotted #e0d8c4;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--argus-text, #1a1a1a);
}
.argus-map-popup__item:hover { background: var(--argus-accent-bg, #f9eef0); }
.argus-map-popup__item small {
  display: block;
  margin-top: 2px;
  color: var(--argus-muted, #888);
  font-size: 10.5px;
}
.argus-map-popup ul > li { border-bottom: 1px dotted #e0d8c4; }
.argus-map-popup ul > li:last-child { border-bottom: 0; }
.argus-map-popup__item { border-bottom: 0 !important; padding-bottom: 2px; }
/* 5.5.40 — quick-action shortcuts below each popup entry. Mirror the
 * "→ Social" / "→ Activism" mini-links from the news cards so operators
 * can dispatch an article into Social or Activism directly from a map
 * pin without going through the full modal first. */
.argus-map-popup__quick {
  display: flex;
  gap: 10px;
  padding: 0 4px 6px;
}
.argus-map-popup__quick .argus-send-link {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--argus-accent, #8a6a1f);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(138, 106, 31, 0.06);
}
.argus-map-popup__quick .argus-send-link:hover {
  background: rgba(138, 106, 31, 0.16);
  text-decoration: none;
}

.argus-local-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.argus-local-col {
  display: flex; flex-direction: column;
  background: var(--argus-surface-warm, #f7f1e3);
  border-radius: 4px;
  padding: 10px 12px 12px;
}
.argus-local-col__head {
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--argus-text, #1a1a1a);
}
.argus-local-col__icon { font-size: 13px; letter-spacing: 0; }
.argus-local-col__count {
  margin-left: auto;
  font-size: 10.5px; font-weight: 400; letter-spacing: 0;
  color: var(--argus-muted, #888);
}
.argus-local-cards { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px; }
.argus-local-card { background: var(--argus-surface, #fff); border-radius: 3px; }
/* 5.5.22 — was <a target="_blank">. Now a <button.argus-article-trigger>
 * because clicking opens the article popup with enrichment actions instead
 * of jumping to the external site. Keep the same visual treatment. */
.argus-local-card .argus-article-trigger,
.argus-local-card a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 8px 10px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.argus-local-card .argus-article-trigger:hover,
.argus-local-card a:hover { background: var(--argus-accent-bg, #f9eef0); }
.argus-local-card .argus-article-trigger:focus-visible {
  outline: 2px solid var(--argus-accent, #8a6a1f);
  outline-offset: -2px;
  background: var(--argus-accent-bg, #f9eef0);
}
.argus-local-card__thumb {
  display: block;
  width: 56px; height: 56px;
  background-color: var(--argus-surface-warm, #f7f1e3);
  background-size: cover; background-position: center;
  border-radius: 3px;
  flex-shrink: 0;
}
.argus-local-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.argus-local-card__title {
  font-size: 12.5px; font-weight: 600; line-height: 1.35;
  color: var(--argus-text, #1a1a1a);
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.argus-local-card__summary {
  font-size: 11.5px; line-height: 1.4;
  color: var(--argus-text-soft, #555);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.argus-local-card__meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--argus-muted, #888);
  margin-top: 2px;
}
.argus-local-card__source { font-weight: 600; }
.argus-local-card__when::before { content: '· '; }

/* 5.5.52 — TikTok hashtags pill list. Rendered below the caption block
 * when the brain returns a hashtag set. Pills wrap on narrow viewports. */
.argus-tiktok-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: var(--argus-surface-warm, #e6dfc7);
  border: 1px solid var(--argus-border-soft, #d8d2c2);
  border-radius: 3px;
}
.argus-tiktok-hashtag {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--argus-font-mono);
  font-size: 12.5px;
  color: var(--argus-text);
  background: var(--argus-surface, #fff);
  border: 1px solid var(--argus-border, #d8d2c2);
  border-radius: 999px;
  letter-spacing: -0.005em;
}

/* 5.5.46 — same relevance tier visuals as the social feed but on press
 * cards. Subtle on tier 1, more pronounced on tier 2 (3+ keyword hits). */
.argus-local-card--relevant         { border-left: 2px solid #d49a52; }
.argus-local-card--relevant-strong  { border-left: 3px solid #8a6a1f; background: linear-gradient(90deg, rgba(138,106,31,0.05), transparent 60%); }
.argus-local-card__rel {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8a6a1f;
  background: rgba(138,106,31,0.10);
  border-radius: 3px;
  line-height: 1.6;
}
.argus-local-card--relevant-strong .argus-local-card__rel {
  color: #fff;
  background: #8a6a1f;
}

/* 5.5.40 — locality dot. The map module tags each .argus-article-trigger
 * with data-locality="local|regional|national" after geocoding. The dot
 * matches the marker color on the map so operators can cross-reference
 * column ↔ map at a glance. Triggers without locality (ungeocoded
 * articles) get no dot — keeps the column clean for ambient national news. */
.argus-local-card .argus-article-trigger[data-locality]::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #b6c5d6; /* national fallback */
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.argus-local-card .argus-article-trigger { position: relative; }
.argus-local-card .argus-article-trigger[data-locality="local"]::before    { background: #d49a52; border-color: #8a4036; }
.argus-local-card .argus-article-trigger[data-locality="regional"]::before { background: #e8c87a; border-color: #b8893a; }
.argus-local-card .argus-article-trigger[data-locality="national"]::before { background: #b6c5d6; border-color: #6b7c8c; }
.argus-local-card .argus-article-trigger[data-locality] {
  padding-left: 18px; /* room for the dot */
}

.argus-local-col--rss        { border-left: 3px solid #6b7c8c; }
.argus-local-col--tiktok     { border-left: 3px solid #ee1d52; }
.argus-local-col--facebook   { border-left: 3px solid #1877f2; }
.argus-local-col--news       { border-left: 3px solid #8a4036; }

.argus-local-sources {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dotted var(--argus-border-soft, #ebe5d4);
}
.argus-local-sources summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--argus-accent, #8a6a1f);
  padding: 4px 0;
}
.argus-local-sources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
  font-size: 11.5px;
}
.argus-local-sources__group h4 {
  margin: 0 0 4px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--argus-muted, #888);
}
.argus-local-sources__group ul { margin: 0; padding: 0; list-style: none; }
.argus-local-sources__group li {
  display: flex; justify-content: space-between; gap: 6px;
  padding: 2px 0;
  font-size: 11.5px;
}
.argus-local-sources__group li.is-inactive { opacity: 0.45; }
.argus-local-sources__group .src-pull { color: var(--argus-muted, #888); font-size: 10.5px; flex-shrink: 0; }

@media (max-width: 640px) {
  .argus-local-activity { padding: 14px 16px; }
  .argus-local-activity__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .argus-local-activity__refresh { text-align: left; }
}

/* ---- Client sources panel (5.5.15 — legacy, replaced by .argus-local-activity in 5.5.17) */
.argus-client-sources {
  margin: 18px 0 24px;
  padding: 16px 18px;
  background: var(--argus-surface, #fff);
  border: 1px solid var(--argus-border, #e4dccc);
  border-radius: 3px;
}
.argus-client-sources__head {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 8px;
}
.argus-client-sources__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--argus-text, #1a1a1a);
}
.argus-client-sources__count {
  font-size: 12px;
  color: var(--argus-muted, #888);
  font-variant-numeric: tabular-nums;
}
.argus-client-sources details {
  margin-top: 8px;
}
.argus-client-sources summary {
  cursor: pointer;
  font-size: 12.5px;
  color: var(--argus-accent, #8a6a1f);
  padding: 4px 0;
}
.argus-client-sources__groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
}
.argus-client-sources__group h4 {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--argus-muted, #888);
}
.argus-client-sources__group ul {
  margin: 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 3px;
}
.argus-client-sources__group li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 2px 0;
  font-size: 12px;
  color: var(--argus-text, #1a1a1a);
}
.argus-client-sources__group li.is-inactive {
  opacity: 0.45;
}
.argus-client-sources__group .src-pull {
  color: var(--argus-muted, #888);
  font-size: 11px;
  flex-shrink: 0;
}
.argus-client-articles__list {
  margin: 10px 0 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 1px;
  font-size: 13px;
}
.argus-client-articles__list li {
  padding: 8px 10px;
  border-bottom: 1px dotted var(--argus-border, #e4dccc);
}
.argus-client-articles__list li:last-child { border-bottom: none; }
.argus-client-articles__list a {
  display: flex; flex-direction: column; gap: 3px;
  color: inherit;
  text-decoration: none;
}
.argus-client-articles__list a:hover .art-title {
  color: var(--argus-accent, #8a6a1f);
  text-decoration: underline;
}
.argus-client-articles__list .art-title {
  color: var(--argus-text, #1a1a1a);
  line-height: 1.35;
}
.argus-client-articles__list .art-meta {
  display: flex; gap: 10px;
  font-size: 11.5px;
  color: var(--argus-muted, #888);
}
.argus-client-articles__empty {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--argus-surface-warm, #f7f1e3);
  border-left: 3px solid var(--argus-accent, #8a6a1f);
  font-size: 13px;
  color: var(--argus-text-soft, #555);
}
.argus-client-articles__empty em {
  font-style: normal;
  font-weight: 600;
  color: var(--argus-text, #1a1a1a);
}

/* =========================================================================
 * 5.5.22 — Toate articolele rolling list
 * Compact 7-day scroll of every article from the client's attached
 * sources. Single column, time-pill on the left, type tag, title,
 * source on the right. Click → article popup (same as Activitate
 * locală cards).
 * ========================================================================= */

/* =========================================================================
 * 5.5.41 — Social media section. Lives between the local-activity hero
 * and the entity grid. Two columns side-by-side on desktop (TikTok |
 * Facebook), stacks at narrow widths. Visually distinct from the press
 * review above so the operator's eye separates social signal from press.
 * ========================================================================= */
.argus-social-feed {
  margin: 0 0 26px;
  border: 1px solid var(--argus-border-soft, #ebe5d4);
  border-radius: 3px;
  background: var(--argus-surface, #fff);
  overflow: hidden;
}
.argus-social-feed__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  background: var(--argus-surface-warm, #f7f1e3);
  border-bottom: 1px solid var(--argus-border-soft, #ebe5d4);
  flex-wrap: wrap;
}
.argus-social-feed__head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--argus-text, #1a1a1a);
}
.argus-social-feed__hint {
  font-size: 11px;
  color: var(--argus-muted, #888);
}
.argus-social-feed__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
}
.argus-social-feed__col {
  padding: 8px 12px 12px;
}
.argus-social-feed__col + .argus-social-feed__col {
  border-left: 1px solid var(--argus-border-soft, #ebe5d4);
}
@media (max-width: 700px) {
  .argus-social-feed__col + .argus-social-feed__col {
    border-left: 0;
    border-top: 1px solid var(--argus-border-soft, #ebe5d4);
  }
}
.argus-social-feed__col-head {
  display: flex; align-items: baseline; gap: 8px;
  margin: 6px 0 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--argus-text, #1a1a1a);
}
.argus-social-feed__icon { font-size: 13px; letter-spacing: 0; }
.argus-social-feed__count {
  margin-left: auto;
  font-size: 10.5px; font-weight: 400; letter-spacing: 0;
  color: var(--argus-muted, #888);
}
.argus-social-feed__col--tiktok    .argus-social-feed__col-head { border-bottom: 2px solid #ee1d52; padding-bottom: 4px; }
.argus-social-feed__col--facebook  .argus-social-feed__col-head { border-bottom: 2px solid #1877f2; padding-bottom: 4px; }
/* 5.5.44 — Instagram brand-ish magenta accent. */
.argus-social-feed__col--instagram .argus-social-feed__col-head { border-bottom: 2px solid #c13584; padding-bottom: 4px; }
/* 5.5.45 — YouTube red. */
.argus-social-feed__col--youtube   .argus-social-feed__col-head { border-bottom: 2px solid #ff0000; padding-bottom: 4px; }

.argus-social-feed__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.argus-social-feed__item { background: var(--argus-surface, #fff); border-radius: 3px; }
.argus-social-feed__btn {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 8px 8px;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 3px;
}
.argus-social-feed__btn:hover { background: var(--argus-accent-bg, #f9eef0); }
.argus-social-feed__btn:focus-visible {
  outline: 2px solid var(--argus-accent, #8a6a1f);
  outline-offset: -2px;
  background: var(--argus-accent-bg, #f9eef0);
}
.argus-social-feed__thumb {
  display: block;
  width: 56px; height: 56px;
  background-color: var(--argus-surface-warm, #f7f1e3);
  background-size: cover; background-position: center;
  border-radius: 3px;
  flex-shrink: 0;
}
.argus-social-feed__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.argus-social-feed__title {
  font-size: 12.5px; font-weight: 600; line-height: 1.35;
  color: var(--argus-text, #1a1a1a);
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.argus-social-feed__summary {
  font-size: 11.5px; line-height: 1.4;
  color: var(--argus-text-soft, #555);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.argus-social-feed__meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--argus-muted, #888);
  margin-top: 2px;
}
.argus-social-feed__src { font-weight: 600; }
.argus-social-feed__when::before { content: '· '; }

/* 5.5.46 — relevance signal. Two tiers:
 *   --relevant         (1-2 keyword matches): subtle left-accent + small star badge
 *   --relevant-strong  (3+ matches):          stronger accent + filled star
 * Both apply to .argus-social-feed__item; the same color tokens are reused
 * elsewhere (locality-dot rust = local hits). */
.argus-social-feed__item--relevant         { border-left: 2px solid #d49a52; padding-left: 4px; }
.argus-social-feed__item--relevant-strong  { border-left: 3px solid #8a6a1f; padding-left: 4px; background: linear-gradient(90deg, rgba(138,106,31,0.05), transparent 60%); }
.argus-social-feed__rel {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8a6a1f;
  background: rgba(138,106,31,0.10);
  border-radius: 3px;
  line-height: 1.6;
}
.argus-social-feed__item--relevant-strong .argus-social-feed__rel {
  color: #fff;
  background: #8a6a1f;
}

.argus-social-feed__empty {
  margin: 0;
  padding: 18px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--argus-muted, #888);
}
.argus-social-feed__empty em { font-style: normal; font-weight: 600; color: var(--argus-text, #1a1a1a); }

.argus-all-articles {
  margin: 20px 0 26px;
  border: 1px solid var(--argus-border-soft, #ebe5d4);
  border-radius: 3px;
  background: var(--argus-surface, #fff);
  overflow: hidden;
}
.argus-all-articles__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--argus-surface-warm, #f7f1e3);
  border-bottom: 1px solid var(--argus-border-soft, #ebe5d4);
}
.argus-all-articles__head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--argus-text, #1a1a1a);
}
.argus-all-articles__count {
  font-size: 11px;
  color: var(--argus-muted, #888);
  font-variant-numeric: tabular-nums;
}
.argus-all-articles__list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.argus-all-articles__list li + li {
  border-top: 1px solid var(--argus-border-soft, #ebe5d4);
}
.argus-all-articles__row {
  display: grid;
  grid-template-columns: 80px 60px 1fr 140px;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 6px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.argus-all-articles__row:hover {
  background: var(--argus-accent-bg, #f9eef0);
}
.argus-all-articles__row:focus-visible {
  outline: 2px solid var(--argus-accent, #8a6a1f);
  outline-offset: -2px;
  background: var(--argus-accent-bg, #f9eef0);
}
/* 5.5.46 — relevance tiers on the 7-day list. Subtle left bar; the badge
 * after the source name carries the explicit count. */
.argus-all-articles__row--relevant         { box-shadow: inset 2px 0 0 #d49a52; }
.argus-all-articles__row--relevant-strong  { box-shadow: inset 3px 0 0 #8a6a1f; }
.argus-all-articles__rel {
  display: inline-block;
  margin-left: 8px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8a6a1f;
  background: rgba(138,106,31,0.10);
  border-radius: 3px;
  line-height: 1.6;
}
.argus-all-articles__row--relevant-strong .argus-all-articles__rel {
  color: #fff;
  background: #8a6a1f;
}
.argus-all-articles__when {
  font-size: 10.5px;
  color: var(--argus-muted, #888);
  font-variant-numeric: tabular-nums;
}
.argus-all-articles__type-pill {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #f1efe9;
  color: #555;
  text-align: center;
}
.argus-tag-rss      { background: #e6ebf0; color: #3c4f63; }
.argus-tag-tiktok   { background: #fde0e8; color: #b81545; }
.argus-tag-facebook { background: #dfeafd; color: #1357c4; }
.argus-tag-news     { background: #f1e1dc; color: #6d3128; }
.argus-tag-manual   { background: #ece7d4; color: #5a5230; }
.argus-all-articles__title {
  font-size: 12.5px;
  color: var(--argus-text, #1a1a1a);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.argus-all-articles__src {
  font-size: 10.5px;
  color: var(--argus-muted, #888);
  font-weight: 500;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .argus-all-articles__row {
    grid-template-columns: 60px 1fr;
    row-gap: 2px;
  }
  .argus-all-articles__type-pill,
  .argus-all-articles__src { display: none; }
  .argus-all-articles__title { white-space: normal; }
}

/* =========================================================================
 * 5.5.22 — Article popup modal
 * Centered dialog, lightweight backdrop, action grid at the bottom.
 * Uses HTML `hidden` attribute for show/hide; mobile gets a near-fullscreen
 * sheet treatment.
 * ========================================================================= */
.argus-article-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.argus-article-modal[hidden] { display: none; }
.argus-article-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(2px);
}
body.argus-modal-open { overflow: hidden; }
.argus-article-modal__panel {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--argus-surface, #fff);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 22px 24px;
  animation: argus-modal-in .18s ease-out;
}
@keyframes argus-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.argus-article-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--argus-muted, #888);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.argus-article-modal__close:hover { background: rgba(0, 0, 0, .05); color: var(--argus-text); }
.argus-article-modal__head {
  display: flex;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--argus-muted, #888);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.argus-article-modal__source { color: var(--argus-accent, #8a6a1f); }
.argus-article-modal__title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--argus-text, #1a1a1a);
}
.argus-article-modal__image {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 3px;
  margin: 0 0 14px;
}
.argus-article-modal__summary {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--argus-text-soft, #555);
}
.argus-article-modal__link {
  margin: 0 0 18px;
  font-size: 13px;
}
.argus-article-modal__link a {
  color: var(--argus-accent, #8a6a1f);
  text-decoration: none;
}
.argus-article-modal__link a:hover { text-decoration: underline; }

.argus-article-modal__actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--argus-border-soft, #ebe5d4);
}
.argus-article-modal__actions-label {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--argus-muted, #888);
  font-weight: 700;
}
.argus-article-modal__action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
}
.argus-modal-action {
  padding: 7px 10px;
  background: #f7f3e8;
  border: 1px solid #e3dbc4;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--argus-text, #1a1a1a);
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
  transition: background .08s, transform .08s;
}
.argus-modal-action:hover {
  background: var(--argus-accent-bg, #f9eef0);
  border-color: var(--argus-accent, #8a6a1f);
}
.argus-modal-action:active { transform: scale(.97); }
.argus-modal-action--prod {
  background: #fdf6e8;
  border-color: #f0d896;
}
.argus-modal-action--prod:hover { background: #fbecc4; }
.argus-modal-action--soc {
  background: #e8effd;
  border-color: #b9caf2;
  color: #1357c4;
  grid-column: 1 / -1;
  text-align: center;
  font-weight: 600;
}
.argus-modal-action--soc:hover { background: #d8e2fb; }

/* 5.5.24 — TikTok-only action buttons. Pink theme to match the column
 * accent and the type pill in the "Toate articolele" list. */
.argus-modal-action--tt {
  background: #fde0e8;
  border-color: #f5b3c5;
  color: #b81545;
}
.argus-modal-action--tt:hover { background: #fac4d5; }
.argus-article-modal__hint {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--argus-muted, #888);
  line-height: 1.5;
}
.argus-article-modal__hint strong { color: var(--argus-text, #1a1a1a); }

@media (max-width: 600px) {
  .argus-article-modal { padding: 0; align-items: stretch; }
  .argus-article-modal__panel {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 18px 16px 22px;
  }
}

/* =========================================================================
 * 5.5.22 — Action row + share buttons on inbox outputs
 * Replaces the bare "Copiază" button on press / talking-points outputs
 * with a copy + per-platform share strip.
 * ========================================================================= */
.argus-action-row {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dotted var(--argus-border-soft, #ebe5d4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.argus-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}
.argus-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  background: #f1efe9;
  color: #444;
  cursor: pointer;
  transition: background .08s, color .08s, border-color .08s;
}
.argus-share-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -.02em;
}
.argus-share-btn__label { letter-spacing: .01em; }
.argus-share-btn:hover { background: #ece8df; color: #1a1a1a; }
.argus-share-btn--facebook { background: #e8effd; color: #1877f2; border-color: #c7d6f8; }
.argus-share-btn--facebook:hover { background: #d8e2fb; }
.argus-share-btn--whatsapp { background: #e3f6e1; color: #25d366; border-color: #bce8b6; }
.argus-share-btn--whatsapp:hover { background: #d2efce; }
.argus-share-btn--twitter  { background: #1a1a1a; color: #fff; border-color: #000; }
.argus-share-btn--twitter:hover { background: #000; }
.argus-share-btn--telegram { background: #e3f0fb; color: #0088cc; border-color: #b9dcf2; }
.argus-share-btn--telegram:hover { background: #d2e6f6; }
.argus-share-btn--linkedin { background: #e3edf3; color: #0a66c2; border-color: #b8d0e2; }
.argus-share-btn--linkedin:hover { background: #d2e0eb; }
.argus-share-btn--email    { background: #f1e9e3; color: #6b3a1a; border-color: #e0c8b0; }
.argus-share-btn--email:hover { background: #ead7ca; }
.argus-share-btn--native   { background: #e6e6e6; color: #1a1a1a; border-color: #bbb; }

@media (max-width: 600px) {
  .argus-share-btn__label { display: none; }
  .argus-share-btn { padding: 4px 7px; }
}

/* =========================================================================
 * 5.6.4 — Analiză tab. Free-form Q&A surface. Editorial confidence:
 * generous type, breathing room, no busy chrome. The search bar is the
 * hero; everything else (answer, archive) sits below in a single column.
 * ========================================================================= */
.argus-analiza {
  max-width: 920px;
  margin: 0 auto;
}
.argus-analiza__head {
  margin: 0 0 20px;
}
.argus-analiza__title {
  font-family: var(--argus-font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--argus-text);
  margin: 0 0 6px;
}
.argus-analiza__lead {
  font-size: 14px;
  color: var(--argus-text-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

/* Search bar */
.argus-analiza__form {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 6px;
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.argus-analiza__form:focus-within {
  border-color: var(--argus-accent);
  box-shadow: 0 0 0 3px rgba(138, 106, 31, 0.10);
}
.argus-analiza__form input[type="text"] {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  font-family: var(--argus-font-display);
  font-size: 17px;
  color: var(--argus-text);
  min-width: 0;
}
.argus-analiza__form input::placeholder {
  color: var(--argus-muted);
  font-style: italic;
}
.argus-btn--lg {
  padding: 11px 22px;
  font-size: 14px;
}

/* Answer card */
.argus-analiza__answer {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 22px 26px 24px;
  margin: 0 0 30px;
}
.argus-analiza__answer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.argus-analiza__kicker {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--argus-accent);
}
.argus-analiza__when {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  color: var(--argus-muted);
}
.argus-analiza__question {
  font-family: var(--argus-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--argus-text);
  line-height: 1.3;
  margin: 0 0 16px;
}
.argus-analiza__content {
  font-family: var(--argus-font-body);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--argus-text);
  /* Min-height so the card doesn't collapse during loading. */
  min-height: 80px;
}
.argus-analiza__content p {
  margin: 0 0 14px;
  /* Smooth fade-in as each sentence is appended. */
  animation: argus-analiza-fade 0.22s ease-out;
}
.argus-analiza__content p:last-child { margin-bottom: 0; }
@keyframes argus-analiza-fade {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .argus-analiza__content p { animation: none; }
}
.argus-analiza__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
  color: var(--argus-muted);
}
.argus-analiza__error {
  color: var(--argus-danger);
  font-style: italic;
}

/* 5.6.7 — banner-style error rendering (replaces inline italic). */
.argus-analiza__error-banner {
  background: var(--argus-danger-bg);
  border-left: 3px solid var(--argus-danger);
  color: var(--argus-danger);
  padding: 10px 14px;
  border-radius: var(--argus-radius);
  font-size: 14px;
  line-height: 1.5;
}
.argus-analiza__error-banner strong { font-weight: 700; }

/* Derivative actions row */
.argus-analiza__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid var(--argus-border-soft);
}
.argus-analiza__actions-label {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--argus-muted);
  margin-right: 4px;
}

/* Derivative result panel */
.argus-analiza__derivative {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--argus-surface-tint);
  border-left: 3px solid var(--argus-accent);
  border-radius: var(--argus-radius);
}
.argus-analiza__deriv-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.argus-analiza__deriv-label {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--argus-accent);
}
.argus-analiza__deriv-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--argus-muted);
}
.argus-analiza__deriv-body {
  font-family: var(--argus-font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--argus-text);
  white-space: pre-wrap;
}
.argus-analiza__deriv-body p { margin: 0 0 10px; }
.argus-analiza__deriv-body p:last-of-type { margin-bottom: 8px; }
.argus-analiza__deriv-body .argus-btn { margin-top: 6px; }

/* Archive */
.argus-analiza__archive {
  margin-top: 36px;
}
.argus-analiza__archive-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--argus-border);
}
.argus-analiza__archive-head h3 {
  font-family: var(--argus-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--argus-text);
  margin: 0;
}
.argus-analiza__archive-count {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  color: var(--argus-muted);
}
.argus-analiza__archive-head .argus-btn--ghost { margin-left: auto; }

.argus-analiza__archive-list {
  list-style: none;
  margin: 0; padding: 0;
}
.argus-analiza__archive-empty {
  font-size: 13px;
  color: var(--argus-muted);
  font-style: italic;
  padding: 12px 0;
}
.argus-analiza__archive-item {
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  margin-bottom: 8px;
  background: var(--argus-surface);
  overflow: hidden;
}
.argus-analiza__archive-item-head {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.12s;
}
.argus-analiza__archive-item-head:hover { background: var(--argus-surface-tint); }
.argus-analiza__archive-item-q {
  font-family: var(--argus-font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--argus-text);
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.argus-analiza__archive-item-when {
  font-family: var(--argus-font-mono);
  font-size: 10.5px;
  color: var(--argus-muted);
  white-space: nowrap;
}
.argus-analiza__archive-item-toggle,
.argus-analiza__archive-item-del {
  background: none;
  border: 0;
  padding: 2px 6px;
  cursor: pointer;
  color: var(--argus-muted);
  font-size: 13px;
  border-radius: 2px;
}
.argus-analiza__archive-item-toggle:hover { color: var(--argus-text); background: var(--argus-surface-warm); }
.argus-analiza__archive-item-del:hover    { color: var(--argus-danger); background: var(--argus-danger-bg); }

.argus-analiza__archive-item-body {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--argus-border-soft);
  background: var(--argus-surface-tint);
}
.argus-analiza__archive-item-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--argus-text);
}
.argus-analiza__archive-item-text p { margin: 0 0 10px; }
.argus-analiza__archive-item-text p:last-child { margin-bottom: 0; }
.argus-analiza__archive-item-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

@media (max-width: 639px) {
  .argus-analiza__form { flex-direction: column; padding: 8px; }
  .argus-analiza__form input[type="text"] { font-size: 16px; padding: 10px 12px; }
  .argus-btn--lg { width: 100%; }
  .argus-analiza__archive-item-head {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "q     toggle"
      "when  del";
    gap: 4px 8px;
  }
  .argus-analiza__archive-item-q     { grid-area: q;    white-space: normal; }
  .argus-analiza__archive-item-when  { grid-area: when; }
  .argus-analiza__archive-item-toggle{ grid-area: toggle; }
  .argus-analiza__archive-item-del   { grid-area: del; justify-self: start; }
}

/* =========================================================================
 * 5.6.5 — contextpolitic_v6 visual nudges for Știri tab.
 *   - .argus-sinteza  : "Sinteza zilei" panel at the top — top N subjects
 *                       across all entities with horizontal source-count bars.
 *   - .argus-subject--wide : first subject per entity is a wide hero
 *                       (image left ~280px, body right). Lower subjects
 *                       stay as regular cards.
 *   - .argus-subject__badges : "Acoperire largă" + numeric "N surse" badge
 *                       row above the title (every card gets the numeric;
 *                       wide hero with ≥5 surse gets both).
 * ========================================================================= */

/* ----- Sinteza zilei ------------------------------------------------- */
.argus-sinteza {
  background: var(--argus-surface);
  border: 1px solid var(--argus-border);
  border-radius: var(--argus-radius);
  padding: 18px 22px 20px;
  margin: 0 0 28px;
}
.argus-sinteza__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--argus-border-soft);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.argus-sinteza__title {
  font-family: var(--argus-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--argus-text);
  margin: 0;
}
.argus-sinteza__sub {
  font-family: var(--argus-font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--argus-muted);
}
.argus-sinteza__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.argus-sinteza__item {
  display: grid;
  grid-template-columns: 4px minmax(0, 1.6fr) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--argus-border-soft);
}
.argus-sinteza__item:last-child { border-bottom: 0; }
.argus-sinteza__color {
  align-self: stretch;
  border-radius: 1px;
}
.argus-sinteza__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.argus-sinteza__link {
  font-family: var(--argus-font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--argus-text);
  letter-spacing: -0.005em;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.argus-sinteza__link:hover {
  color: var(--argus-accent);
  text-decoration: none;
}
.argus-sinteza__entity {
  font-family: var(--argus-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
}
.argus-sinteza__bar {
  height: 6px;
  background: var(--argus-surface-tint);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  min-width: 0;
}
.argus-sinteza__bar-fill {
  display: block;
  height: 100%;
  background: var(--argus-accent);
  border-radius: 3px;
  transition: width 0.4s ease-out;
}
.argus-sinteza__count {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  color: var(--argus-text-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .argus-sinteza__item {
    grid-template-columns: 4px 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
  }
  .argus-sinteza__body  { grid-row: 1; grid-column: 2; }
  .argus-sinteza__count { grid-row: 1; grid-column: 3; }
  .argus-sinteza__bar   { grid-row: 2; grid-column: 2 / -1; }
}

/* ----- Subject card badges (every card) ------------------------------ */
.argus-subject__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.argus-subject__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-family: var(--argus-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}
.argus-subject__badge--wide {
  background: var(--argus-ink-deep, #06182b);
  color: var(--argus-cream, #f0e7d2);
  letter-spacing: 0.12em;
}
.argus-subject__badge--sources {
  background: var(--argus-accent-bg);
  color: var(--argus-accent);
  border: 1px solid rgba(138, 106, 31, 0.18);
}

/* ----- Wide-hero variant ----- */
/* First subject per entity. Image left ~280px (~38%), body right.
 * On narrow viewports collapses to the regular 1-col layout. */
.argus-subjects .argus-subject--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  align-items: stretch;
  overflow: hidden;
}
.argus-subjects .argus-subject--wide .argus-subject__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 220px;
}
.argus-subjects .argus-subject--wide .argus-subject__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.argus-subjects .argus-subject--wide .argus-subject__body {
  padding: 22px 26px 24px;
}
.argus-subjects .argus-subject--wide .argus-subject__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.argus-subjects .argus-subject--wide .argus-subject__summary {
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .argus-subjects .argus-subject--wide {
    grid-template-columns: 1fr;
  }
  .argus-subjects .argus-subject--wide .argus-subject__image {
    aspect-ratio: 16/9;
    min-height: 0;
  }
  .argus-subjects .argus-subject--wide .argus-subject__body { padding: 16px 18px 14px; }
  .argus-subjects .argus-subject--wide .argus-subject__title { font-size: 19px; }
}

/* Entity title: heavier rule + denser kicker, in line with contextpolitic. */
.argus-entity__title {
  font-family: var(--argus-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 2px solid var(--argus-text);
  padding-top: 10px;
}
