/* ================================================================
   Today's Qatar Headlines v2 – Stylesheet
   Prefix: tqh2-
   Dependencies: Bootstrap 5.3.2, Bootstrap Icons 1.11.3
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── BOOTSTRAP CSS VARIABLE OVERRIDES ────────────────────────── */
:root {
  --bs-body-color:    #1a1a1a;
  --bs-body-bg:       #f0f2f5;
  --bs-heading-color: #1a1a1a;
  --bs-link-color:    #0D3B5E;
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ── RESET / BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f0f2f5;
  color: #1a1a1a;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  background: #FFFFFF;
}

/* Ensure Bootstrap doesn't bleed heading colors */
h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a;
  margin: 0;
}

/* ── HEADER ───────────────────────────────────────────────────── */
.tqh2-header {
  background: #ffffff;
  border-bottom: 1px solid #e4e4e4;
}

.tqh2-header-inner {
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 20px 32px 20px 32px;
}

.tqh2-logo-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tqh2-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.tqh2-logo-fallback {
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #6B1A2A;
  line-height: 1.2;
}

.tqh2-logo-text-ar  { font-size: 15px; font-weight: 700; }
.tqh2-logo-text-en  { font-size: 11px; font-weight: 600; }
.tqh2-logo-text-sub { font-size: 10px; color: #999; }

.tqh2-header-divider {
  width: 1px;
  height: 38px;
  background: #d8d8d8;
  flex-shrink: 0;
}

.tqh2-header-title {
  color: #202124;
  font-family: 'Lusail-Medium';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.5px;
  letter-spacing: -0.475px;
}

/* ── ACTION TOOLBAR (between header and tabs) ─────────────────── */
.tqh2-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 32px 0px 32px;
  background: #ffffff;
}

.tqh2-hdr-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tqh2-hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;

  display: flex;
  height: 36px;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  border: 1px solid #01548A;
  font-family: 'Lusail-Medium';
  color: #01548A;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.5px;
}

.tqh2-hdr-btn::before, .tqh2-hdr-btn::after { display: none !important; content: none !important; }
.tqh2-hdr-btn svg { overflow: visible; flex-shrink: 0; }

.tqh2-hdr-btn:hover:not(.tqh2-hdr-btn--active) {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.tqh2-hdr-btn--active {
  /* background: #0D3B5E;
  border-color: #0D3B5E;
  color: #ffffff; */

  border-radius: 10px;
  border: 1px solid #01548A;
  background: #01548A;

  color: #FFF;
}

.tqh2-hdr-btn--active:hover {
  border: 1px solid #01548A;
  background: #01548A;
  color: #FFF;  
}

/* ── HAMBURGER MENU ───────────────────────────────────────────── */
.tqh2-menu-wrap {
  position: relative;
}

.tqh2-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s;
}

.tqh2-menu-btn:hover { background: #f5f5f5; }

.tqh2-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 9990;
  overflow: hidden;
}

.tqh2-dropdown.open { display: block; }

.tqh2-dropdown-user {
  padding: 14px 16px 10px;
}

.tqh2-dropdown-name {
  font-family: 'Lusail-Bold';
  font-size: 14px;
  color: #101828;
}

.tqh2-dropdown-email {
  font-family: 'Lusail-Regular';
  font-size: 12px;
  color: #6B7280;
  margin-top: 2px;
}

.tqh2-dropdown-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 2px 0;
}

.tqh2-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  font-family: 'Lusail-Regular';
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
  line-height: 1;
}

.tqh2-dropdown-item::before, .tqh2-dropdown-item::after { display: none !important; content: none !important; }

.tqh2-dropdown-item:hover { background: #F3F4F6; }

/* ── TAB NAVIGATION ───────────────────────────────────────────── */
.tqh2-tab-nav {
  background: #ffffff;
  padding: 24px 32px 0px 32px;
}

.tqh2-tab-nav-inner {
  display: flex;
  height: 55px;
  padding: 1px;
  flex-direction: row;
  align-items: stretch;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;

  border-radius: 14px;
  border: 1px solid #E8EAED;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
  margin-bottom: 20px;
}

.tqh2-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border: none;
  background: none;
  font-family: 'Lusail-Medium';
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
  text-align: center;

  display: flex;
  /* width: 330.25px; */
  height: 53px;
  padding-top: 16.5px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12.5px;
  background: #F8F9FA;

  color: #5F6368;
  text-align: center;
  font-family: 'Lusail-Medium';
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 150% */
}

/* Suppress any Bootstrap-injected ::after carets */
.tqh2-tab::after,
.tqh2-tab::before {
  display: none !important;
  content: none !important;
}

.tqh2-tab:hover { color: #1a1a1a; }

.tqh2-tab.active {
  color: #202124;
  font-weight: 600;
  background: #ffffff;
  border-bottom-color: #8B1A1A;
}

.tqh2-tab-sep {
  width: 1px;
  background: #e4e4e4;
  margin: 10px 0;
}

/* ── EDIT SECTION ─────────────────────────────────────────────── */
#tqh2EditSection { background: #ffffff; }

.tqh2-edit-section { padding: 0 32px 32px; }

.tqh2-edit-divider {
  width: 100%;
  height: 1px;
  background: #E5E5E5;
  margin-top: 16px;
}

/* Sub-tabs row */
.tqh2-edit-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-bottom: 16px;
}

.tqh2-edit-subtabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
}

.tqh2-edit-subtab {
  padding: 7px 18px;
  border: none;
  background: none;
  font-family: 'Lusail-Regular';
  font-size: 14px;
  color: #5F6368;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1.4;

  color: #5F6368;
  text-align: center;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.5px; /* 150% */
  padding: 10px 20px 10px 19px;
}

.tqh2-edit-subtab::before,
.tqh2-edit-subtab::after { display: none !important; content: none !important; }

.tqh2-edit-subtab:hover:not(.active) { color: #374151; background: #F3F4F6; }

.tqh2-edit-subtab.active {
  background: #FEF2F2;
  color: #812539;
  text-align: center;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.5px;
}

/* Add Story button */
.tqh2-add-story-btn {
  padding: 7px 16px;
  border: 1px solid #01548A;
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  color: #01548A;
  cursor: pointer;
  transition: background 0.15s;
}

.tqh2-add-story-btn:hover { background: #f0f6ff; }

/* Filter bar */
.tqh2-edit-overview-card {
  margin-bottom: 16px;
}

.tqh2-edit-overview-textarea {
  width: 100%;
  height: 80px;
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 15px;
  font-family: 'Lusail-Regular';
  color: #374151;
  outline: none;
  background: var(--Surface-Light-Primary, #FFF);
  resize: none;
  display: block;
}

.tqh2-edit-overview-textarea:focus { border-color: #01548A; }

.tqh2-edit-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tqh2-edit-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 7px 12px;
  background: #ffffff;
  min-width: 180px;
}

.tqh2-edit-search-inp {
  border: none;
  outline: none;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  background: transparent;
  width: 100%;
}

.tqh2-edit-search-inp::placeholder { color: #9CA3AF; }

.tqh2-edit-date-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 7px 12px;
  background: #ffffff;
}

.tqh2-edit-date-inp {
  border: none;
  outline: none;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  background: transparent;
  width: 110px;
}

.tqh2-edit-date-inp::-webkit-calendar-picker-indicator {
  display: none;
}

.tqh2-edit-sentiment-sel {
  height: 38px;
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  border-radius: 10px;
  padding: 0 32px 0 12px;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  background: var(--Surface-Light-Primary, #FFF);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  min-width: 130px;
}

.tqh2-edit-sentiment-sel:focus { border-color: #01548A; }

/* Toggle switch */
.tqh2-edit-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  margin: 0;
}

.tqh2-toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}

.tqh2-toggle-switch input { opacity: 0; width: 0; height: 0; }

.tqh2-toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D1D5DB;
  border-radius: 22px;
  transition: background 0.2s;
}

.tqh2-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.tqh2-toggle-switch input:checked + .tqh2-toggle-slider { background: #01548A; }
.tqh2-toggle-switch input:checked + .tqh2-toggle-slider::before { transform: translateX(16px); }

/* Edit cards list — single outer border matching preview tqh2-story-group */
.tqh2-edit-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
}

.tqh2-edit-card {
  background: #ffffff;
  padding: 16px 22px;
}

.tqh2-edit-chk {
  width: 16px;
  height: 16px;
  accent-color: #01548A;
  cursor: pointer;
  flex-shrink: 0;
}

.tqh2-edit-viewmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Lusail-Medium';
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.tqh2-edit-viewmore-btn::before,
.tqh2-edit-viewmore-btn::after { display: none !important; content: none !important; }

.tqh2-edit-viewmore-btn:hover { background: #f5f5f5; }

.tqh2-edit-viewmore-btn.open .bi { transform: rotate(180deg); }
.tqh2-edit-viewmore-btn .bi { transition: transform 0.2s; display: inline-block; }


/* ── STORY SELECTED INLINE EDIT FORM ─────────────────────────── */

/* Edit form grid — 4 cells, 2 columns, 2 rows.
   All cells share the same column tracks so top-row and body-row align exactly. */
.tqh2-card-edit-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 25px;
  align-items: start;
}

/* Left / right column field stacks */
.tqh2-cef-left,
.tqh2-cef-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.tqh2-cef-bottom-row {
  display: flex;
  gap: 10px;
}
.tqh2-cef-bottom-row > .tqh2-cef-field {
  flex: 1;
  min-width: 0;
}

/* Theme select and Narrative add select share base styles */
.tqh2-cef-select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  border-radius: 10px;
  padding: 7px 28px 7px 10px;
  font-size: 15px;
  font-family: 'Lusail-Regular';
  color: #374151;
  background: var(--Surface-Light-Primary, #FFF);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
  outline: none;
}
.tqh2-cef-select:focus { border-color: #01548A; }

/* Field wrapper */
.tqh2-cef-field {
  position: relative;
  display: flex;
  flex-direction: column;
}
.tqh2-cef-label {
  position: absolute;
  top: -6px;
  left: 10px;
  background: #fff;
  padding: 0 4px;
  font-size: 11px;
  font-family: 'Lusail-Medium';
  color: #6B7280;
  z-index: 1;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.tqh2-title-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tqh2-title-input-row .tqh2-cef-input {
  flex: 1;
  width: auto;
}
.tqh2-title-refresh-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 0 10px;
  height: 48px;
  cursor: pointer;
  color: #9CA3AF;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tqh2-title-refresh-btn:hover { color: #01548A; border-color: #01548A; }

/* Text inputs */
.tqh2-cef-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 15px;
  font-family: 'Lusail-Regular';
  color: #374151;
  outline: none;
  background: var(--Surface-Light-Primary, #FFF);
}
.tqh2-cef-input:focus { border-color: #01548A; }

/* Meta row inside edit form */
.tqh2-meta-edit {
  flex-wrap: wrap;
  padding: 4px 0;
}

/* IMO Commentary contenteditable */
.tqh2-cef-commentary {
  width: 100%;
  min-height: 110px;
  max-height: 110px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 8px 10px 8px 12px;
  font-size: 15px;
  color: #374151;
  outline: none;
  font-family: inherit;
  background: #fff;
  line-height: 1.5;
  box-sizing: border-box;
  overflow: auto;     /* both axes — keeps bullet markers within the box */
  cursor: text;
  word-break: break-word;
}
.tqh2-cef-commentary:focus { border-color: #01548A; }
/* Placeholder shown when div is empty AND not focused */
.tqh2-cef-commentary:not(:focus)[data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: #9CA3AF;
  pointer-events: none;
  display: block;
}
.tqh2-cef-commentary ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;   /* explicit — prevents any global reset from removing bullets */
}
.tqh2-cef-commentary li { margin: 2px 0; list-style: disc; }

/* Narrative select — MultiSelect component replaces the bare <select> at runtime */

/* Selected card — white background + left blue accent border, 2-col grid layout */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) {
  background: #ffffff;
  display: grid;
  grid-template-columns: 28px 1fr;
  position: relative;
}

/* Header becomes layout-transparent so checkbox + View More are direct grid children */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-story-header {
  display: contents;
}

/* Checkbox: col 1, row 1 — pinned to top */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-edit-chk {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 2px;
}

/* View More: absolutely positioned at top-right, removed from grid flow */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-view-more-btn {
  position: absolute;
  top: 16px;
  right: 22px;
  margin-left: 0;
}

/* Edit form body: col 2, row 1 — starts beside checkbox on the same line */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-card-edit-body {
  grid-column: 2;
  grid-row: 1;
  padding-right: 129px;
}

/* Expanded content (View More panel): spans both columns for full width */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-expanded-content {
  grid-column: 1 / -1;
}

/* Hide category, separator and icon buttons in the header when selected */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-story-header .tqh2-story-cat,
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-story-header .tqh2-sep,
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-story-header .tqh2-icon-btn {
  display: none;
}

/* When selected: hide header ft + copy buttons (they move to the meta row) */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-story-header .tqh2-ft-edit-btn,
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-story-header .tqh2-copy-qv-btn {
  display: none;
}

/* When NOT selected: hide the meta-row ft button, copy button and leading separator */
.tqh2-edit-card:not(:has(.tqh2-edit-chk:checked)) .tqh2-ft-meta-btn,
.tqh2-edit-card:not(:has(.tqh2-edit-chk:checked)) .tqh2-ft-meta-sep,
.tqh2-edit-card:not(:has(.tqh2-edit-chk:checked)) .tqh2-copy-qv-meta-btn {
  display: none;
}

/* ── MAIN CONTENT ─────────────────────────────────────────────── */
.tqh2-main {
  padding: 0px 32px 24px 32px;
  background: #ffffff;
}

/* ── METRICS AREA ─────────────────────────────────────────────── */

/* Indicator slots row — now empty, kept for compatibility */
.tqh2-kpi-indicators-row {
  display: none;
}

.tqh2-kpi-ind-slot {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  color: #000000;
  pointer-events: none;
}
.tqh2-kpi-ind-slot svg {
  width: 20px;
  height: 20px;
}

/* Cards row */
.tqh2-metrics-row {
  /* Bootstrap row g-2 handles layout and gap; align-items:stretch makes cards equal height */
  align-items: stretch;
}

/* ── EDIT KPI SECTION ─────────────────────────────────────────── */
.tqh2-edit-kpi-section {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 10px;
  margin-bottom: 16px;
}
.tqh2-edit-kpi-section-label {
  font-size: 12px;
  font-family: 'Lusail-Medium';
  color: #374151;
  margin-bottom: 12px;
}
.tqh2-edit-kpi-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tqh2-edit-kpi-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 80px;
}
.tqh2-edit-kpi-radio {
  accent-color: #01548A;
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.tqh2-edit-kpi-card {
  width: 100%;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
  min-height: 64px;
  text-align: center;
  box-sizing: border-box;
}
.tqh2-edit-kpi-card.tqh2-edit-kpi-selected { border-color: #01548A; }
.tqh2-edit-kpi-name {
  font-size: 10px;
  font-family: 'Lusail-Medium';
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
}
.tqh2-edit-kpi-val { display: none; }
/* Count-type cards (non-sentiment) use the app background colours */
.tqh2-edit-kpi-card.tqh2-metric-stories .tqh2-edit-kpi-name,
.tqh2-edit-kpi-card.tqh2-metric-stories .tqh2-edit-kpi-val,
.tqh2-edit-kpi-card.tqh2-metric-total   .tqh2-edit-kpi-name,
.tqh2-edit-kpi-card.tqh2-metric-total   .tqh2-edit-kpi-val  { color: inherit; }

.tqh2-metric-card {
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 100px;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
}

/* Higher-specificity rule so align-self: stretch is never overridden */
.tqh2-metrics-row .tqh2-metric-card {
  align-self: stretch;
  min-height: 100px;
  box-sizing: border-box;
}

/* Stories card */
.tqh2-metric-stories {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 100px;
  box-sizing: border-box;
  padding: 16px 20px;
  border-radius: 16px;
  background: #E8EAED;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
}

.tqh2-metric-label {
  font-family: 'Lusail-Medium';
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tqh2-metric-value-row {
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tqh2-metric-number {
  font-family: 'Lusail-Bold';
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}

.tqh2-metric-delta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-family: 'Lusail-Regular';
  white-space: nowrap;
}

.tqh2-metric-delta i { display: flex; align-items: center; justify-content: center; margin-left: auto; }
.tqh2-metric-delta i svg { width: 16px; height: 16px; }

.tqh2-metric-vs {
  color: #9CA3AF;
  font-family: 'Lusail-Regular';
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
}

.tqh2-delta-down { color: #c0392b; }
.tqh2-delta-up   { color: #27ae60; }

/* Sentiment cards */
.tqh2-sentiment {
  flex: 1;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px;
  min-height: 100px;
  box-sizing: border-box;
  min-width: 0;
}

.tqh2-sentiment-label {
  font-family: 'Lusail-Medium';
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.2;
}

.tqh2-sentiment-count {
  display: block;
  font-family: 'Lusail-Bold';
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-top: auto;
  padding-top: 8px;
}

.tqh2-very-negative  { background: #8B1A1A; }
.tqh2-negative       { background: #C97070; }
.tqh2-neutral        { background: #9E9E9E; }
.tqh2-positive       { background: #7CB87C; }
.tqh2-very-positive  { background: #2E7D32; }

/* Total Mentions card */
.tqh2-metric-total {
  background: #0D3B5E;
  width: 100%;
  min-height: 100px;
  box-sizing: border-box;
}

.tqh2-metric-total .tqh2-metric-label {
  color: rgba(255, 255, 255, 0.65);
}

.tqh2-metric-total .tqh2-metric-number {
  color: #ffffff;
  font-size: 36px;
}

.tqh2-metric-total .tqh2-delta-up {
  color: #52d68a;
}

/* ── EDIT BUTTON ──────────────────────────────────────────────── */
.tqh2-edit-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.tqh2-edit-btn {
  /* display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, border-color 0.15s; */

  display: flex;
  height: 36px;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #01548A;
  background-color: #FFFFFF;
}

.tqh2-edit-btn:hover {
  background: #f5f5f5;
  border-color: #aaa;
}

.tqh2-edit-btn:focus { outline: none; }

.tqh2-edit-btn i {
  font-size: 14px;
  color: #0D3B5E;
}

/* ── SECTIONS ─────────────────────────────────────────────────── */
.tqh2-section {
  margin-bottom: 15x;
}

.tqh2-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 15px;
}

.tqh2-section-title {
  /* font-size: 18px;
  font-weight: 600;
  color: #1a1a1a; */
  
  color: #202124;
  font-family: 'Lusail-Medium';
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px; /* 150% */
}

.tqh2-last-updated,
.tqh2-section-sub {
  color: #5F6368;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.5px; /* 150% */
}

/* ── OVERVIEW CARD ────────────────────────────────────────────── */
.tqh2-overview-card {
  display: flex;
  min-height: 113.25px;
  max-height: 160px;
  padding: 21px 21px 12px 21px;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;

  border-radius: 14px;
  border: 1px solid #E8EAED;
  background: linear-gradient(135deg, #F8F9FA 0%, #FAFBFC 33.33%, #FDFDFD 66.67%, #FFF 100%);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10);
  margin-bottom: 24px;
}

.tqh2-overview-title {
  /* font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px; */

  color: #202124;
  font-family: 'Lusail-Bold';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px; /* 150% */
}

.tqh2-overview-text {
  margin: 0;
  color: #5F6368;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 21.125px;
  overflow-y: auto;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  width: 100%;
  height: 64px;
}

/* ── STORY GROUP CONTAINER ────────────────────────────────────── */
.tqh2-story-group {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

/* ── EMPTY STATE ──────────────────────────────────────────────── */
.tqh2-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 56px 24px;
  gap: 16px;
  text-align: center;
  box-sizing: border-box;
}

.tqh2-empty-state-text {
  color: #9CA3AF;
  font-family: 'Lusail-Regular', sans-serif;
  font-size: 14px;
  margin: 0;
}

/* Divider between stories inside a group */
.tqh2-story-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 0;
}

/* ── STORY CARDS ──────────────────────────────────────────────── */
.tqh2-story-card {
  padding: 16px 22px;
}

.tqh2-story-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tqh2-story-cat {
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #8B1A1A;
  text-transform: uppercase;
  white-space: nowrap;
}

.tqh2-sep {
  color: #d0d0d0;
  font-size: 15px;
  user-select: none;
}

.tqh2-custom-story-badge,
.tqh2-midday-story-badge {
  display: inline-block;
  background: #A29475;
  color: #fff;
  font-size: 11px;
  font-family: 'Lusail-Medium', sans-serif;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  vertical-align: middle;
  line-height: 16px;
}

.tqh2-icon-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 15px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.tqh2-icon-btn:hover { color: #555; }

.tqh2-view-more-btn {
  /* display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f5f6f8;
  border: 1px solid #e2e4e8;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 15px;
  color: #555;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; */

  display: flex;
  /* width: 108.461px; */
  height: 35.5px;
  padding: 8px 16px;
  align-items: center;
  gap: 8px;

  border-radius: 10px;
  border: none;
  background: #F3F4F6;

  color: #01548A;
  text-align: center;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.5px; /* 150% */
}

.tqh2-view-more-btn:hover { background: #eaecf0; }

.tqh2-story-title {
  color: #202124;
  font-family: 'Lusail-Medium';
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}
.tqh2-story-title a { color: inherit; text-decoration: none; }
.tqh2-story-title a:hover { text-decoration: underline !important; }

/* ── STORY META ROW ───────────────────────────────────────────── */
.tqh2-story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 4px;
  font-family: 'Lusail-Regular';
}

.tqh2-source {
  color: #5F6368;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.5px;
}
.tqh2-source a { color: inherit; text-decoration: none; }
.tqh2-source a:hover { text-decoration: underline !important; }

.tqh2-date {
  color: #5F6368;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.5px; /* 150% */
}

/* ── DRILL-DOWN MODAL ARTICLE ROWS (used by tqh2LoadSharedStoryModal) ── */
.tqh2-modal-article-row {
  padding: 20px 24px;
  border-bottom: 1px solid #F0F0F0;
}

.tqh2-modal-article-row:last-child { border-bottom: none; }

.tqh2-modal-article-row hr { display: none; } /* row already has border-bottom */

.tqh2-modal-story-theme {
  font-family: 'Lusail-Bold';
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8B1A1A;
  margin-bottom: 8px;
}

.tqh2-modal-story-title {
  margin: 0 0 10px;
  font-family: 'Lusail-Bold';
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.tqh2-modal-story-title a {
  color: #175489;
  text-decoration: none;
}

.tqh2-modal-story-title a:hover { text-decoration: underline !important; }

.tqh2-modal-story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #5F6368;
  margin-bottom: 10px;
}
.tqh2-modal-story-meta a { color: inherit; text-decoration: none; }
.tqh2-modal-story-meta a:hover { text-decoration: underline !important; }

/* Fix badge inside meta row — override display:flex → inline-flex so it doesn't stretch full width */
.tqh2-modal-status.tqh2-badge {
  display: inline-flex;
  height: 22px;
  padding: 2px 10px;
  font-size: 11px;
}

.tqh2-modal-excerpt {
  font-family: 'Lusail-Regular';
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 10px;
}

.tqh2-modal-ft-btn {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #ffffff;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s;
}

.tqh2-modal-ft-btn:hover { background: #F9FAFB; }

/* Sentiment badges */
.tqh2-badge {
  /* display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 13px;
  border-radius: 20px;
  line-height: 1.4; */
  
  display: flex;
  height: 26px;
  padding: 4.5px 9.297px 3.5px 10px;
  justify-content: center;
  align-items: center;
  border-radius: 16777200px;
  border-radius: 167px;

  font-family: 'Lusail-Regular';
  font-size: 12px;
  font-style: normal;
  line-height: 18px; /* 150% */
}

.tqh2-badge-positive {
  /* background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7; */
  
  background: #DCFCE7;
  color: #016630;
}

.tqh2-badge-negative {
  /* background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a; */
  
  color: #C10007;
  background: #FEF2F2;
}

.tqh2-badge-neutral {
  /* background: #9e9e9e;
  color: #ffffff;
  border: 1px solid #9e9e9e; */

  border-radius: 16777200px;
  background: #B0B3B8;
  color: #FFF;
}

.tqh2-badge-na {
  border-radius: 16777200px;
  background: #979797;
  color: #FFF;
}

/* Sentiment badge dropdown — interactive select styled as badge pill */
.tqh2-sentiment-select {
  display: inline-block;
  height: 26px;
  padding: 3px 22px 3px 10px;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: 'Lusail-Regular';
  font-size: 12px;
  line-height: 20px;
  border-radius: 167px;
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
  vertical-align: middle;
}
.tqh2-sentiment-select option {
  background: #ffffff;
  color: #374151;
}
.tqh2-badge-positive.tqh2-sentiment-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23016630' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.tqh2-badge-negative.tqh2-sentiment-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23C10007' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.tqh2-badge-neutral.tqh2-sentiment-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.tqh2-badge-na.tqh2-sentiment-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.tqh2-seq-select {
  background-color: #fff;
  color: #1a1a1a;
  width: 110px;
  border: none;
  outline: none;
  font-family: 'Lusail-Regular';
  font-size: 13px;
  cursor: pointer;
  vertical-align: middle;
}
.tqh2-seq-select:focus { outline: none; border: none; }

/* Sentiment pip groups */
.tqh2-dots-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.tqh2-dots-icon {
  font-size: 14px;
  color: #bbb;
  margin-right: 3px;
  flex-shrink: 0;
}

/* Tall vertical pill — graduated color applied via inline style */
.tqh2-dot {
  display: block;
  width: 8px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── COMMENT ──────────────────────────────────────────────────── */
.tqh2-comment {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid #E8922A;
  background: linear-gradient(90deg, #FFFBF5 0%, #FFFCF7 20%, #FFFDF9 40%, #FFFDFB 60%, #FFFEFD 80%, #FFF 100%);
}

.tqh2-comment-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #E8922A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}

.tqh2-comment-body { flex: 1; }

.tqh2-comment-author {
  color: #202124;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.5px;
  margin-right: 8px;
  display: block;
}

.tqh2-comment-time {
  font-size: 12px;
  color: #aaa;
}

.tqh2-comment-text {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
  margin: 4px 0 0;
  font-family: 'Lusail-Regular';
}

/* ── TOP TOPICS ───────────────────────────────────────────────── */
.tqh2-topics-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
}

.tqh2-topic-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.tqh2-topic-divider {
  height: 1px;
  background: #f2f2f2;
  margin: 0;
}

.tqh2-topic-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0 13.68px 0 13.672px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;

  border-radius: 16777200px;
  background: linear-gradient(135deg, #01548A 0%, #015186 11.11%, #014F83 22.22%, #014C80 33.33%, #014A7C 44.44%, #014779 55.56%, #014575 66.67%, #014272 77.78%, #013F6E 88.89%, #013D6B 100%);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);

  color: #FFF;
  font-family: 'Lusail-Medium';
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 150% */
}

.tqh2-topic-name {
  flex: 1;
  /* font-size: 14px; */
  /* color: #1a1a1a; */
  /* font-weight: 400; */

  color: #202124;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 22.5px; /* 150% */
}

.tqh2-topic-count {
  /* font-size: 15px;
  color: #999;
  white-space: nowrap; */

  color: #5F6368;
  text-align: right;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.5px;
}

/* ── EXPANDED CONTENT ────────────────────────────────────────── */
.tqh2-expanded-content {
  margin-top: 16px;
}

/* Article panels row */
.tqh2-article-panels {
  display: flex;
  gap: 0;
  /* border: 1px solid #e8e8e8; */
  /* border-radius: 8px; */
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  height: 127.875px;
}

.tqh2-article-panel {
  flex: 1;
  padding: 16px 20px;
}

.tqh2-panel-summary {
  border-left: 4px solid #8B1A1A;
}

.tqh2-panel-excerpt {
  border-left: 4px solid #0D3B5E;
}

.tqh2-panel-v-sep {
  width: 1px;
  background: #e8e8e8;
  flex-shrink: 0;
}

.tqh2-panel-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tqh2-panel-icon {
  display: flex;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0 8px;
  justify-content: center;
  align-items: center;
  border-radius: 16777200px;
  flex-shrink: 0;
}

.tqh2-icon-maroon {
  background: linear-gradient(135deg, #812539 0%, #7D2437 11.11%, #792336 22.22%, #752234 33.33%, #722132 44.44%, #6E1F31 55.56%, #6A1E2F 66.67%, #661D2D 77.78%, #631C2C 88.89%, #5F1B2A 100%);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
}
.tqh2-icon-navy   {
  background: linear-gradient(135deg, #01548A 0%, #015186 11.11%, #014F83 22.22%, #014C80 33.33%, #014A7C 44.44%, #014779 55.56%, #014575 66.67%, #014272 77.78%, #013F6E 88.89%, #013D6B 100%);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
}

.tqh2-panel-title {
  color: #202124;
  font-family: 'Lusail-Medium';
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.5px; /* 150% */
}

.tqh2-panel-text {
  color: #5F6368;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 21.125px;
  font-family: 'Lusail-Regular';
  height: 66px;
  overflow-y: auto;
  padding-right: 4px;
}
.tqh2-panel-text::-webkit-scrollbar {
  width: 4px;
}
.tqh2-panel-text::-webkit-scrollbar-track {
  background: transparent;
}
.tqh2-panel-text::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 2px;
}
.tqh2-panel-text::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

/* Summary contenteditable + Excerpt textarea — plain text in preview, styled input when selected */
.tqh2-panel-summary-edit,
.tqh2-panel-textarea {
  width: 100%;
  min-height: 80px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: 'Lusail-Regular';
  color: #5F6368;
  line-height: 1.55;
  padding: 0;
  outline: none;
  overflow: auto;
  box-sizing: border-box;
  word-break: break-word;
}
.tqh2-panel-textarea { resize: none; }

/* Summary bullet list — same style as IMO commentary */
.tqh2-panel-summary-edit ul { margin: 0; padding-left: 20px; list-style: disc; }
.tqh2-panel-summary-edit li { margin: 2px 0; list-style: disc; }

/* Placeholder when empty and not focused */
.tqh2-panel-summary-edit:not(:focus)[data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: #9CA3AF;
  pointer-events: none;
  display: block;
}

/* Article panels — remove fixed height in edit cards so content is never clipped */
.tqh2-edit-card .tqh2-article-panels {
  height: auto;
}

/* When selected: hide icon badge — title becomes a plain form label */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-icon-badge {
  display: none !important;
}
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-hdr {
  margin-bottom: 5px;
}
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-title {
  font-size: 12px;
  font-family: 'Lusail-Medium';
  color: #374151;
  font-weight: 500;
}

/* When selected: article panels transform to match the 2-col edit form grid */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-article-panels {
  gap: 20px;
}
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-v-sep {
  display: none;
}
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-summary,
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-excerpt {
  border-left: none;
  padding: 0;
}

/* When selected: both fields become proper editable inputs */
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-summary-edit,
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-textarea {
  min-height: 110px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 8px 10px 8px 12px;
  background: #ffffff;
  color: #374151;
}
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-textarea { resize: vertical; }
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-summary-edit:focus,
.tqh2-edit-card:has(.tqh2-edit-chk:checked) .tqh2-panel-textarea:focus {
  border-color: #01548A;
  outline: none;
}

/* ── ADD STORY MODAL ──────────────────────────────────────────── */
.tqh2-as-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tqh2-as-dialog {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.tqh2-as-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #01548A;
  flex-shrink: 0;
}

.tqh2-as-title {
  font-family: 'Lusail-Medium';
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.tqh2-as-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.tqh2-as-close:hover { background: rgba(255,255,255,0.15); }

.tqh2-as-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.tqh2-as-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.tqh2-as-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px 20px;
  margin-top: 16px;
}

.tqh2-as-field--toggle .tqh2-edit-toggle-label {
  height: 48px;
}

.tqh2-as-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tqh2-as-label {
  font-family: 'Lusail-Regular';
  font-size: 12px;
  color: #374151;
}

.tqh2-as-input,
.tqh2-as-select {
  height: 48px;
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  border-radius: 10px;
  padding: 0 12px;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  background: var(--Surface-Light-Primary, #FFF);
  outline: none;
  width: 100%;
}
.tqh2-as-input:focus,
.tqh2-as-select:focus { border-color: #01548A; }

.tqh2-as-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.tqh2-as-textarea {
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  background: var(--Surface-Light-Primary, #FFF);
  outline: none;
  resize: vertical;
  min-height: 100px;
  width: 100%;
}
.tqh2-as-textarea:focus { border-color: #01548A; outline: none; }

/* IMO Commentary spans 2 grid rows to match Summary + Excerpt height on the left */
.tqh2-as-field--span2 {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tqh2-as-imo-editor {
  flex: 1;
  min-height: 220px;
}

/* Contenteditable editor placeholder */
.tqh2-as-editor[data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: #9CA3AF;
  pointer-events: none;
}

/* Bullet list inside editors */
.tqh2-as-editor ul { margin: 0; padding-left: 18px; }
.tqh2-as-editor li { margin: 2px 0; list-style: disc; }

/* Narrative MultiSelect wrapper inside the modal */
.tqh2-as-field .multi-select .multi-select-header {
  border-radius: 10px;
  min-height: 48px;
  border: 1px solid var(--Border-Light-Primary, #E5E5E5);
  font-family: 'Lusail-Regular';
  font-size: 15px;
}

.tqh2-as-error {
  margin-top: 12px;
  font-size: 12px;
  color: #DC2626;
  font-family: 'Lusail-Regular';
}

.tqh2-as-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid #E5E5E5;
  flex-shrink: 0;
}

.tqh2-as-submit-btn {
  height: 40px;
  padding: 0 24px;
  background: #01548A;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Lusail-Regular';
  font-size: 14px;
  cursor: pointer;
}
.tqh2-as-submit-btn:hover { background: #013D6B; }

/* Virality chart card */
.tqh2-virality-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 20px 20px 20px;
  background: #fff;
  margin-bottom: 12px;
}
.tqh2-virality-wrap {
  position: relative;
  height: 250px;
  width: 100%;
}
.tqh2-virality-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.tqh2-virality-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.tqh2-virality-title {
  /* font-size: 15px;
  font-weight: 600;
  color: #1a1a1a; */

  color: #202124;
  font-family: 'Lusail-Bold';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
}

.tqh2-vir-meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.tqh2-vir-meta-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tqh2-vir-meta-group + .tqh2-vir-meta-group::before {
  content: '|';
  color: #ccc;
  font-size: 15px;
  align-self: center;
  flex-shrink: 0;
  margin-top: -2px;
}

.tqh2-vir-meta-label {
  font-family: 'Lusail-Medium';
  font-size: 11px;
  color: #000;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 3px;
}

.tqh2-vir-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tqh2-vir-empty {
  font-family: 'Lusail-Regular';
  font-size: 12px;
  color: #9CA3AF;
}

.tqh2-vir-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  padding: 0;
  border-radius: 0;
  color: #1a1a1a;
  font-family: 'Lusail-Regular';
  font-size: 14px;
  white-space: nowrap;
}
.tqh2-vir-chip::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #01548A;
  flex-shrink: 0;
}
.tqh2-vir-region-tags {
  gap: 8px;
}
.tqh2-vir-region-tags .tqh2-vir-chip::before {
  display: none;
}

.tqh2-virality-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tqh2-leg-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
}

.tqh2-leg-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tqh2-leg-sep {
  color: #ccc;
  font-size: 15px;
}

.tqh2-leg-region {
  font-size: 12px;
  color: #888;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* .tqh2-main             { padding: 20px 24px 40px; } */
  .tqh2-header-inner     { padding: 12px 24px; }
  .tqh2-tab-nav          { overflow-x: auto; }
  .tqh2-tab-nav-inner    { padding: 0 24px; }
  .tqh2-tab              { padding: 14px 14px; font-size: 15px; }
}

@media (max-width: 768px) {
  .tqh2-metrics-row             { flex-wrap: wrap; }
  .tqh2-metric-stories,
  .tqh2-metric-total            { flex: 0 0 calc(50% - 6px); }
  .tqh2-sentiment               { flex: 0 0 calc(33.33% - 8px); }
  .tqh2-article-panels          { flex-direction: column; }
  .tqh2-panel-v-sep             { width: 100%; height: 1px; }
}

/* ── TOPIC MODAL ──────────────────────────────────────────────── */
.tqh2-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tqh2-modal {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.tqh2-modal-hdr {
  background: #0D3B5E;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.tqh2-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.tqh2-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
}

.tqh2-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.tqh2-modal-body {
  overflow-y: auto;
  flex: 1;
  min-height: 420px;
  position: relative;
}

.tqh2-modal-body--loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 10;
  pointer-events: all;
}

.tqh2-modal-body--loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: #0D3B5E;
  border-radius: 50%;
  z-index: 11;
  animation: tqh2Spin 0.7s linear infinite;
}

@keyframes tqh2Spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── MODAL PAGINATION STRIP ──────────────────────────────────── */
.tqh2-modal-pagination {
  flex-shrink: 0;
  padding: 12px 24px;
  border-top: 1px solid #E5E7EB;
  background: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.tqh2-pagination-info {
  color: #6B7280;
  font-family: 'Lusail-Regular';
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Bootstrap pagination overrides — scoped to modal */
.tqh2-modal-pagination .pagination {
  margin: 0;
  gap: 3px;
  flex-wrap: wrap;
}

.tqh2-modal-pagination .page-item .page-link {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #374151;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 6px !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
  line-height: 1;
  box-shadow: none !important;
}

.tqh2-modal-pagination .page-item .page-link:hover {
  background: #EFF6FF;
  border-color: #0D3B5E;
  color: #0D3B5E;
}

.tqh2-modal-pagination .page-item.active .page-link {
  background: #0D3B5E;
  border-color: #0D3B5E;
  color: #ffffff;
  font-weight: 600;
}

.tqh2-modal-pagination .page-item.disabled .page-link {
  color: #D1D5DB;
  background: #F9FAFB;
  border-color: #F3F4F6;
  pointer-events: none;
}

/* Modal story items */
.tqh2-ms-item {
  padding: 20px 24px;
  padding-top: 10px;
  padding-bottom: 0px;
  border-bottom: 1px solid #f0f0f0;
}

.tqh2-ms-item:last-child { border-bottom: none; }

.tqh2-ms-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.tqh2-ms-cat {
  font-size: 11px;
  font-family: 'Lusail-Bold';
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #8B1A1A;
  text-transform: uppercase;
}

.tqh2-ms-title {
  font-family: 'Lusail-Medium';
  font-size: 17px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 12px;
}
.tqh2-ms-title a { color: inherit; text-decoration: none; }
.tqh2-ms-title a:hover { text-decoration: underline !important; }

.tqh2-ms-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 4px;
  margin-bottom: 14px;
  font-family: 'Lusail-Regular';
}

.tqh2-ms-source,
.tqh2-ms-date,
.tqh2-ms-author {
  font-family: 'Lusail-Regular';
  font-size: 15px;
  color: #5F6368;
  line-height: 19.5px;
}
.tqh2-ms-source a { color: inherit; text-decoration: none; }
.tqh2-ms-source a:hover { text-decoration: underline !important; }

.tqh2-ms-sep {
  color: #d0d0d0;
  font-size: 15px;
  user-select: none;
}

/* Action icons row (kept for any external references) */
.tqh2-ms-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.tqh2-ms-action-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.tqh2-ms-action-btn:hover { color: #555; }

/* Comment block inside modal */
.tqh2-ms-comment {
  border-left: 3px solid #8B1A1A;
  padding: 10px 14px;
  margin-top: 12px;
  background: #fafafa;
  border-radius: 0 6px 6px 0;
}

.tqh2-ms-comment-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Topic row hover */
.tqh2-topic-row[data-topic] {
  cursor: pointer;
  transition: background 0.15s;
}

.tqh2-topic-row[data-topic]:hover {
  background: #f7f8fa;
}

/* ── FULL TEXT MODAL ──────────────────────────────────────────── */
.tqh2-ft-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tqh2-ft-dialog {
  background: #fff;
  border-radius: 12px;
  width: 860px;
  max-width: 95vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.tqh2-ft-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #E5E7EB;
}

.tqh2-ft-hdr-text { flex: 1; min-width: 0; }

.tqh2-ft-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'Lusail-Bold', sans-serif;
  line-height: 1.4;
  margin: 0;
}

.tqh2-ft-subtitle {
  font-size: 12px;
  color: #6B7280;
  margin: 4px 0 0;
  font-family: 'Lusail-Regular', sans-serif;
}

.tqh2-ft-close-x {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6B7280;
  padding: 0 0 0 12px;
  line-height: 1;
  flex-shrink: 0;
}

.tqh2-ft-close-x:hover { color: #1a1a1a; }

.tqh2-ft-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Quill editor wrapper */
#tqh2FtEditorWrap .ql-toolbar {
  border-radius: 8px 8px 0 0;
  border-color: #E5E7EB;
}

#tqh2FtEditorWrap .ql-container {
  border-radius: 0 0 8px 8px;
  border-color: #E5E7EB;
  font-size: 14px;
  font-family: inherit;
}

#tqh2FtEditorWrap .ql-editor {
  min-height: 260px;
  line-height: 1.6;
}

.tqh2-ft-readonly {
  min-height: 200px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
}

.tqh2-ft-footer {
  padding: 16px 24px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.tqh2-ft-btn {
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: 'Lusail-Medium', sans-serif;
}

.tqh2-ft-btn--close { background: #E5E7EB; color: #374151; }
.tqh2-ft-btn--close:hover { background: #d1d5db; }
.tqh2-ft-btn--reset { background: #ffffff; color: #374151; border: 1px solid #E5E7EB; }
.tqh2-ft-btn--reset:hover { background: #f5f5f5; }
.tqh2-ft-btn--save { background: #0D3B5E; color: #ffffff; }
.tqh2-ft-btn--save:hover { background: #0a2e4a; }

/* Full text icon buttons — preview and edit mode */
.tqh2-ft-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 3px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  border-radius: 4px;
  transition: background 0.15s;
}

.tqh2-ft-icon-btn:hover { background: #f0f0f0; }

/* ── SEND TO QATAR'S VOICE — copy button ─────────────────────── */
.tqh2-copy-qv-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  font-family: 'Lusail-Medium', sans-serif;
  font-size: 12px;
  color: #A29475;
}
.tqh2-copy-qv-btn:hover:not([style*="cursor: default"]) { background: #f5f0ea; }

/* ── CONFIRM / SUCCESS MODALS (global) ───────────────────────── */
.v2-confirm-modal-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 28px 24px;
  width: 340px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-top: 4px solid #0D3B5E;
}
.v2-confirm-modal-msg {
  font-family: 'Lusail-Medium', sans-serif;
  font-size: 14px;
  color: #374151;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.v2-confirm-modal-actions {
  display: flex;
  gap: 12px;
}
.v2-confirm-btn {
  padding: 8px 28px;
  border-radius: 8px;
  font-family: 'Lusail-Medium', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.v2-confirm-no  { background: #F3F4F6; color: #374151; border: 1px solid #E5E7EB; }
.v2-confirm-no:hover  { background: #E5E7EB; }
.v2-confirm-yes { background: #0D3B5E; color: #ffffff; }
.v2-confirm-yes:hover { background: #0a2e4a; }

/* ── ERROR MODAL (global, shared across all tabs) ─────────────── */
.modal-dialog-custom-css {
  width: 340px;
  max-width: 90vw;
}

.v2-error-modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.v2-error-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 24px;
  gap: 12px;
  text-align: center;
  background: #ffffff;
  border-top: 4px solid #C0392B;
}

.v2-error-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FDECEA;
}

.v2-error-message {
  font-family: 'Lusail-Medium', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin: 0;
  line-height: 1.5;
}

#v2-admin-refresh-btn {
  color: #FF9500 !important;
  border: 1px solid #FF8D28 !important;
}