:root {
  color-scheme: dark;
  --bg: #11100f;
  --bg-elevated: #1a1917;
  --bg-subtle: #22201e;
  --bg-hover: #2a2724;
  --text: #f2ede8;
  --text-muted: #9c9690;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --accent: #ff9f1a;
  --accent-soft: rgba(255, 159, 26, 0.14);
  --accent-text: #ffb84d;
  --facebook: #4d9fff;
  --facebook-soft: rgba(77, 159, 255, 0.12);
  --instagram: #e879b6;
  --instagram-soft: rgba(232, 121, 182, 0.12);
  --tiktok: #ff4d79;
  --tiktok-soft: rgba(255, 77, 121, 0.14);
  --success: #5cb85c;
  --success-soft: rgba(92, 184, 92, 0.14);
  --danger: #ef5350;
  --danger-soft: rgba(239, 83, 80, 0.14);
  --warning-soft: rgba(255, 159, 26, 0.14);
  --warning-text: #ffb84d;
  --topbar-bg: rgba(17, 16, 15, 0.92);
  --chart-grid: rgba(255, 255, 255, 0.06);
  --btn-primary-bg: #f2ede8;
  --btn-primary-text: #11100f;
  --btn-primary-hover: #ffffff;
  --shimmer-a: #2a2724;
  --shimmer-b: #35322e;
  --overlay-light: rgba(26, 25, 23, 0.9);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --space-page: 10px;
  --space-panel: 12px;
  --space-gap: 8px;
  --chart-h: 140px;
  --font-title: 1rem;
  --font-metric: 1rem;
  --header-sticky-h: 56px;
  --safe-bottom: 64px;
  --footer-offset: 12px;
  --touch-min: 44px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px; /* text puțin mai mare, totul mai clar */
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* fără scroll orizontal pe pagină (clip nu strică top-bar-ul sticky) */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 159, 26, 0.07), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(255, 213, 28, 0.04), transparent 38%);
  pointer-events: none;
  z-index: -1;
}

.dashboard {
  max-width: 1480px;
  margin: 0 auto;
  padding: var(--space-page) var(--space-page) calc(var(--safe-bottom) + 20px);
}

.dashboard-section {
  margin-bottom: 20px;
  padding-bottom: 4px;
}

.dashboard-section--ads .panel {
  margin-bottom: 0;
}

.dashboard-section.panel {
  scroll-margin-top: var(--header-sticky-h);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: calc(var(--space-page) * -1) calc(var(--space-page) * -1) 8px;
  padding: 8px var(--space-page) 6px;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ── Header (mobile first) ── */
.header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.meta-sep {
  display: none;
  opacity: 0.5;
}

.header-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.header-actions .live-badge {
  grid-column: 1;
  justify-content: center;
  min-height: var(--touch-min);
}

.header-actions .db-badge {
  grid-column: 2;
  justify-content: center;
  min-height: var(--touch-min);
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions select,
.header-actions button {
  min-height: var(--touch-min);
  width: 100%;
}

#refreshBtn {
  grid-column: 1;
}

#logoutBtn {
  grid-column: 2;
}

.date-range {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 8px;
}

.date-range-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.date-range-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  padding-left: 2px;
}

.date-range input[type="date"] {
  width: 100%;
  min-width: 0;
  min-height: var(--touch-min);
}

#applyRangeBtn {
  grid-column: 1;
}

.date-range-clear {
  grid-column: 2;
  min-width: 36px;
}

.brand-block p,
.panel-header p,
.last-updated {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: color 0.5s ease;
}

.last-updated.updated {
  color: var(--success);
}

.brand-block h1 {
  margin: 0;
  font-size: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-nav {
  display: flex;
  gap: 4px;
  margin: 6px 0 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 10px;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.section-nav a:hover,
.section-nav a.active {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--success-soft);
  color: var(--success);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

/* ── Badge stare bază de date (WooCommerce) ── */
.db-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Urmăritori noi în perioada selectată (dashboard, cardurile FB/IG) */
.followers-new {
  color: var(--success);
}

/* Link către pagina de rute livrare (hartă) */
.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 159, 26, 0.35);
  text-decoration: none;
  transition: background var(--transition);
}

.maps-link:hover {
  background: rgba(255, 159, 26, 0.28);
}

.db-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.db-badge--ok {
  background: var(--success-soft);
  color: var(--success);
}

.db-badge--error {
  background: var(--danger-soft);
  color: var(--danger);
  cursor: help;
}

.db-badge--loading {
  background: var(--warning-soft);
  color: var(--warning-text);
}

.db-badge--loading .db-dot {
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── Celule tabel comenzi WooCommerce ── */
.muted-cell {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Numele campaniei din care a intrat clientul — se vede întreg, pe cât e nevoie.
   Numele Meta au bare verticale și cratime, deci lăsăm ruperea oriunde. */
.campaign-cell {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
  cursor: help;
}

/* De cât timp a intrat comanda, sub dată. */
.time-ago {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.channel-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--success-soft);
  color: var(--success);
}

.channel-tag--unknown {
  background: var(--warning-soft);
  color: var(--warning-text);
}

.empty-row {
  text-align: center;
  color: var(--text-muted);
  padding: 16px 8px;
}

.source-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.source-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.source-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.coupon-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--success-soft);
  color: var(--success);
  text-transform: uppercase;
}

.pay-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.pay-badge--ok {
  background: var(--success-soft);
  color: var(--success);
}

.pay-badge--no {
  background: var(--warning-soft);
  color: var(--warning-text);
}

/* ── Badge status comandă ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px 2px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.status-ico {
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.status-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.status-badge--done {
  background: rgba(76, 217, 100, 0.16);
  color: #57d06a;
}
.status-badge--confirmed {
  background: rgba(255, 193, 7, 0.16);
  color: #ffc720;
}
.status-badge--processing {
  background: rgba(76, 139, 245, 0.16);
  color: #6ea3ff;
}
.status-badge--prep {
  background: rgba(255, 159, 26, 0.16);
  color: #ff9f1a;
}
.status-badge--pending {
  background: rgba(160, 168, 185, 0.18);
  color: #b9c0cc;
}
.status-badge--default {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

/* ── Bară termen livrare ── */
.deadline {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.deadline-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
}
.deadline-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}
.deadline-label {
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}
.deadline--safe .deadline-bar span,
.deadline--safe .deadline-label { color: #57d06a; }
.deadline--safe .deadline-bar span { background: #57d06a; }
.deadline--warn .deadline-bar span { background: #ffc720; }
.deadline--warn .deadline-label { color: #ffc720; }
.deadline--urgent .deadline-bar span { background: #ef5350; }
.deadline--urgent .deadline-label { color: #ef5350; }
.deadline--overdue .deadline-bar { background: rgba(239, 83, 80, 0.25); }
.deadline--overdue .deadline-bar span { background: #b71c1c; }
.deadline--overdue .deadline-label { color: #ef5350; }
.deadline-done {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(87, 208, 106, 0.16);
  color: #57d06a;
  white-space: nowrap;
}

/* Carduri cost reclame, sus de tot */
.cards-spend-top {
  margin-bottom: 12px;
}
.card-google-ads {
  border-left: 3px solid #4285f4;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

select,
button,
input {
  font: inherit;
  font-size: 0.8rem;
}

select,
input {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  transition: var(--transition);
  min-height: 36px;
}

select:hover,
input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

select:focus,
input:focus,
button:focus-visible {
  outline: 2px solid rgba(232, 137, 12, 0.35);
  outline-offset: 1px;
}

button {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

button:hover:not(:disabled) {
  background: var(--btn-primary-hover);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

button.secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

button.secondary:hover:not(:disabled) {
  background: var(--bg-hover);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

button.loading .btn-label {
  opacity: 0.6;
}

button.loading::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 6px;
  border: 2px solid rgba(17, 16, 15, 0.25);
  border-top-color: var(--btn-primary-text);
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  animation: spin 0.7s linear infinite;
}

button.secondary.loading::after {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: var(--text);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Reclame: metric cards (mobile first: 1 col) ── */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gap);
  margin-bottom: 12px;
}

.cards-ga4 {
  grid-template-columns: 1fr;
}

.google-tables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

.google-tables-grid .table-panel h3 {
  margin: 0 0 4px;
  font-size: 0.85rem;
}

.google-status {
  margin: 0 0 10px;
  padding: 8px 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 137, 12, 0.15);
}

.google-status-error {
  color: #ff8a80;
  background: var(--danger-soft);
  border-color: rgba(239, 83, 80, 0.25);
}

.google-tables-grid--gsc,
.google-tables-grid--stack {
  grid-template-columns: 1fr;
  gap: 16px;
}

.table-panel-gsc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.table-wrap-gsc {
  max-height: 280px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

table.table-gsc {
  min-width: 0;
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-wrap-gsc thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-subtle);
  box-shadow: 0 1px 0 var(--border);
}

.table-gsc .gsc-col-path,
.table-gsc .gsc-col-query {
  width: auto;
}

.table-gsc .gsc-col-num {
  width: 72px;
  text-align: right;
  white-space: nowrap;
}

.table-gsc th.gsc-col-num {
  text-align: right;
}

.th-abbr {
  display: block;
}

.th-gloss {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
  line-height: 1.2;
  margin-top: 1px;
}

.table-gsc td.gsc-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.table-gsc td.gsc-path-cell,
.table-gsc td.gsc-query-cell {
  overflow: hidden;
  max-width: 0;
}

.gsc-page-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.gsc-page-link:hover {
  color: var(--accent);
}

.gsc-page-link:hover .gsc-page-path {
  text-decoration: underline;
}

.gsc-page-path {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.gsc-page-path.is-home {
  font-weight: 600;
}

.gsc-query-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
}

.gsc-row-muted {
  opacity: 0.55;
}

.gsc-row-muted:hover {
  opacity: 0.85;
}

.gsc-pill {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(52, 168, 83, 0.12);
  color: #1e7e34;
}

.gsc-pill-muted {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.table-gsc .gsc-empty-row td {
  padding: 20px 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ── Campanii: card rows on mobile, table on tablet+ ── */
.table-wrap:has(.table-responsive) {
  overflow: visible;
  border: none;
  background: transparent;
}

.table-responsive.table-wide {
  min-width: 0;
}

.table-responsive thead {
  display: none;
}

.table-responsive tbody tr {
  display: block;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.table-responsive tbody tr:hover {
  background: var(--bg-hover);
}

.table-responsive tbody td {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border: none;
  text-align: right;
  font-size: 0.78rem;
}

.table-responsive tbody td::before {
  content: attr(data-label);
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.table-responsive tbody td:first-child {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.table-responsive tbody td:first-child::before {
  display: none;
}

.table-responsive tbody tr td[colspan] {
  display: block;
  text-align: center;
}

.table-responsive tbody tr td[colspan]::before {
  display: none;
}

@media (min-width: 641px) {
  /* Tabelele late încap în lățime — fără scroll orizontal. Conținutul se împachetează în celulă. */
  .table-responsive.table-wide {
    table-layout: fixed;
    width: 100%;
  }
  .table-responsive.table-wide th,
  .table-responsive.table-wide td {
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
  }
  .table-wide th:first-child,
  .table-wide td:first-child {
    position: static;
  }

  .table-wrap:has(.table-responsive) {
    overflow-x: auto;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
  }

  .table-responsive thead {
    display: table-header-group;
  }

  .table-responsive tbody tr {
    display: table-row;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .table-responsive tbody tr:hover {
    background: var(--bg-hover);
  }

  .table-responsive tbody td {
    display: table-cell;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }

  .table-responsive tbody td::before {
    display: none;
  }

  .table-responsive tbody td:first-child {
    display: table-cell;
    font-weight: inherit;
    font-size: inherit;
    padding-bottom: 6px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }

  .table-responsive tbody tr td[colspan] {
    display: table-cell;
    text-align: center;
  }
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  animation: fadeInUp 0.35s ease both;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card span,
.card-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 2px;
  font-weight: 600;
}

.card-hint {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 6px;
  opacity: 0.9;
}

.section-hint {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 137, 12, 0.15);
}

.section-hint strong {
  color: var(--text);
  font-weight: 700;
}

.section-hint em {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.panel-hint,
.chart-hint {
  margin: 0 0 8px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.chart-hint {
  margin: 0 0 4px;
}

.posts-page-meta {
  margin: 0 0 8px;
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 500;
}

.card strong {
  font-size: var(--font-metric);
  display: block;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#cards.loading .card strong {
  color: transparent;
  background: linear-gradient(90deg, var(--shimmer-a) 25%, var(--shimmer-b) 50%, var(--shimmer-a) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 6px;
  min-height: 1.2rem;
  width: 70%;
}

.growth {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.growth.up { color: var(--success); }
.growth.down { color: var(--danger); }
.growth.neutral { color: var(--text-muted); }

.panel {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: var(--space-panel);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  animation: fadeInUp 0.4s ease both;
  scroll-margin-top: var(--header-sticky-h);
}

.panel h2 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.panel-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 10px;
}

.panel-header-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.panel-header-actions .platform-filter {
  width: 100%;
  justify-content: center;
}

.panel-header-actions #pageSelect {
  width: 100%;
  min-height: var(--touch-min);
}

/* ── Charts (mobile first: stacked) ── */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.chart-block h3 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.chart-wrap {
  position: relative;
  height: var(--chart-h);
}

/* ── Postări (mobile first) ── */
.posts-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.stats-block {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.75rem;
}

.facebook-block {
  background: var(--facebook-soft);
  border-color: rgba(24, 119, 242, 0.15);
}

.instagram-block {
  background: var(--instagram-soft);
  border-color: rgba(193, 53, 132, 0.15);
}

.total-block {
  background: var(--bg-subtle);
}

.stats-block-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}

.stat-row span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.stat-row .stat-emoji {
  display: inline-block;
  width: 1.2em;
  margin-right: 6px;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1;
}

.stat-row strong {
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
}

.stat-row-followers {
  margin-bottom: 2px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-row-followers span {
  color: var(--text);
  font-weight: 600;
}

.stat-row-followers strong {
  font-size: 0.95rem;
  color: var(--accent, #ff9f1a);
}

.stat-hint {
  margin: 6px 0 0;
  padding-top: 4px;
  border-top: 1px dashed var(--border);
  font-size: 0.65rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.section-hint-posts {
  margin-bottom: 10px;
}

.filter-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: center;
}

.platform-icon {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

.platform-icon-sm {
  width: 14px;
  height: 14px;
}

.platform-icon-lg {
  width: 20px;
  height: 20px;
}

.platform-icons-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.facebook-color {
  color: var(--facebook);
}

.instagram-color {
  color: var(--instagram);
}


.platform-filter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.platform-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.platform-filter-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.platform-filter-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.platform-filter-btn.facebook.active {
  background: var(--facebook-soft);
  color: var(--facebook);
}

.platform-filter-btn.instagram.active {
  background: var(--instagram-soft);
  color: var(--instagram);
}

.platform-filter-btn .platform-icon {
  width: 16px;
  height: 16px;
}

.filter-all {
  font-size: 0.72rem;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
  transition: var(--transition);
  animation: fadeInUp 0.35s ease both;
}

.post-card:hover {
  box-shadow: var(--shadow-sm);
}

.post-card.facebook { border-top: 2px solid var(--facebook); }
.post-card.instagram { border-top: 2px solid var(--instagram); }

.post-card-media {
  position: relative;
  height: 90px;
  background: linear-gradient(135deg, var(--bg-hover), var(--bg-subtle));
  overflow: hidden;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-media .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.post-card-top {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.post-card-body {
  padding: 10px;
}

.post-card-body h3 {
  margin: 0 0 4px;
  font-size: 0.82rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.post-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
}

.post-card-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.btn-small {
  padding: 8px 10px;
  font-size: 0.72rem;
  border-radius: 6px;
  min-height: var(--touch-min);
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-hover);
}

.post-interactions {
  border-top: 1px solid transparent;
  background: var(--bg-elevated);
  padding: 0 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    padding 0.3s ease,
    border-color 0.25s ease;
}

.post-interactions.open {
  max-height: 280px;
  opacity: 1;
  padding: 10px;
  border-top-color: var(--border);
  overflow-y: auto;
}

.interaction-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--btn-primary-text);
  border-color: var(--accent);
}

.interaction-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
}

.interaction-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.interaction-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8d00, #ffd51c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  flex-shrink: 0;
  overflow: hidden;
}

.interaction-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interaction-content strong {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 1px;
}

.interaction-content span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.interaction-content p {
  margin: 3px 0 0;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.35;
}

.interaction-empty,
.interaction-loading {
  text-align: center;
  padding: 16px 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.interaction-note {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.72rem;
  line-height: 1.4;
}

.interaction-note.interaction-error {
  background: var(--danger-soft);
  color: #ff8a80;
}

.interaction-message {
  margin: 2px 0 4px;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.35;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.platform-badge .platform-icon {
  width: 13px;
  height: 13px;
}

.platform-badge.facebook {
  background: var(--overlay-light);
  color: var(--facebook);
}

.platform-badge.instagram {
  background: var(--overlay-light);
  color: var(--instagram);
}









.media-type {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--instagram);
  font-weight: 700;
  background: var(--overlay-light);
  padding: 3px 7px;
  border-radius: 999px;
}

.post-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.72rem;
}

.post-link:hover {
  text-decoration: underline;
}

.posts-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 16px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  font-size: 0.8rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.table-wrap-scroll:not(.table-wrap-gsc) thead th {
  position: sticky;
  /* top:0, NU --header-sticky-h: wrapperul e propriul container de scroll (overflow-x),
     deci un offset de 56px ar împinge antetul peste primele rânduri („pe la jumate"). */
  top: 0;
  z-index: 2;
  background: var(--bg-subtle);
  box-shadow: 0 1px 0 var(--border);
}

.table-wrap-scroll {
  background:
    linear-gradient(to right, var(--bg-elevated) 30%, transparent) left center / 12px 100% no-repeat local,
    linear-gradient(to left, var(--bg-elevated) 30%, transparent) right center / 12px 100% no-repeat local;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table.table-wide {
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
}

/* Tabelul de campanii: 6 coloane — antet scurt, static la vârful tabelului, fără overflow */
#campanii table.table-wide {
  min-width: 0;
}

#campanii .table-responsive th:first-child,
#campanii .table-responsive td:first-child {
  white-space: normal;
  word-break: break-word;
}

@media (min-width: 641px) {
  /* Layout fix: lățimi de coloană stabile, conținutul se împachetează în celulă */
  #campanii table.table-wide {
    table-layout: fixed;
    width: 100%;
  }

  #campanii .table-responsive th:first-child,
  #campanii .table-responsive td:first-child {
    width: 26%;
  }

  /* Coloanele numerice: aliniate la dreapta, pe o singură linie */
  #campanii .table-responsive th:not(:first-child),
  #campanii .table-responsive td:not(:first-child) {
    text-align: right;
    white-space: nowrap;
  }

  /* Antet STATIC la vârful tabelului — nu mai plutește peste rândurile din mijloc */
  #campanii .table-wrap-scroll thead th {
    position: static;
    background: var(--bg-subtle);
    border-bottom: 2px solid var(--border);
    box-shadow: none;
  }

  /* Prima coloană: fără sticky orizontal / umbră (tabelul încape oricum) */
  #campanii .table-wide th:first-child,
  #campanii .table-wide td:first-child {
    position: static;
    box-shadow: none;
  }
}

/* Comenzi (server) — 10 coloane: lățimi proporționale ca să încapă fără scroll orizontal
   (Nr, Client, Data, Termen, Sursă, Campanie, Status, Reducere, Plată, Valoare).
   Campania ia cea mai mare felie — numele campaniilor sunt lungi și vrem să se vadă
   întregi, nu tăiate. */
@media (min-width: 641px) {
  #comenzi-db .table-wide th:nth-child(1), #comenzi-db .table-wide td:nth-child(1) { width: 5%; }
  #comenzi-db .table-wide th:nth-child(2), #comenzi-db .table-wide td:nth-child(2) { width: 13%; }
  #comenzi-db .table-wide th:nth-child(3), #comenzi-db .table-wide td:nth-child(3) { width: 8%; }
  #comenzi-db .table-wide th:nth-child(4), #comenzi-db .table-wide td:nth-child(4) { width: 11%; }
  #comenzi-db .table-wide th:nth-child(5), #comenzi-db .table-wide td:nth-child(5) { width: 8%; }
  #comenzi-db .table-wide th:nth-child(6), #comenzi-db .table-wide td:nth-child(6) { width: 20%; }
  #comenzi-db .table-wide th:nth-child(7), #comenzi-db .table-wide td:nth-child(7) { width: 9%; }
  #comenzi-db .table-wide th:nth-child(8), #comenzi-db .table-wide td:nth-child(8) { width: 7%; }
  #comenzi-db .table-wide th:nth-child(9), #comenzi-db .table-wide td:nth-child(9) { width: 11%; }
  #comenzi-db .table-wide th:nth-child(10), #comenzi-db .table-wide td:nth-child(10) { width: 8%; }
}

/* Legenda cu explicații pentru fiecare coloană, sub tabel */
.table-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 4px 20px;
  margin-top: 12px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.table-legend strong {
  color: var(--text);
  font-weight: 600;
}

th,
td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--bg-subtle);
  font-weight: 700;
}

tbody tr {
  transition: background var(--transition);
  animation: fadeInUp 0.3s ease both;
}

tbody tr:hover {
  background: var(--bg-hover);
}

td {
  font-size: 0.78rem;
}

.error-banner {
  background: var(--warning-soft);
  color: var(--warning-text);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  animation: fadeInUp 0.3s ease;
  border-bottom: 1px solid rgba(255, 159, 26, 0.2);
}

.error-banner.hidden,
.hidden {
  display: none !important;
}

.meta-token-banner {
  background: #2a1f14;
  color: #f5e6d3;
  border-bottom: 1px solid rgba(255, 159, 26, 0.35);
  padding: 14px 16px;
  font-size: 0.85rem;
}

.meta-token-banner-inner {
  max-width: 920px;
  margin: 0 auto;
}

.meta-token-banner strong {
  display: block;
  margin-bottom: 6px;
  color: #ffb347;
}

.meta-token-banner p {
  margin: 0 0 10px;
  line-height: 1.45;
}

.meta-token-banner a {
  color: #ffb347;
}

.meta-token-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.meta-token-form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.meta-token-form button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: #e8871e;
  color: #1a1208;
  font-weight: 600;
  cursor: pointer;
}

.meta-token-form-error {
  color: #ff9b9b;
  margin: 0 0 8px;
}

.meta-token-hint {
  font-size: 0.75rem;
  opacity: 0.85;
}

.meta-token-hint code {
  font-size: 0.72rem;
}

.meta-token-expiry {
  color: #9ed49e;
  white-space: nowrap;
}

.meta-token-expiry.meta-token-expiry--warn {
  color: #ffb347;
}

.meta-token-expiry.meta-token-expiry--bad {
  color: #ff9b9b;
}

.brand-footer {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(var(--footer-offset), env(safe-area-inset-bottom, 0px));
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  background: linear-gradient(180deg, #faf7f3 0%, #f0ebe4 100%);
  padding: 8px 14px 8px 16px;
  border-radius: 999px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  font-size: 0.74rem;
  color: #4a4540;
  z-index: 40;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  user-select: none;
  transform: none;
}

.brand-footer-label {
  white-space: nowrap;
  line-height: 1;
  font-weight: 600;
  color: #5c5650;
}

.brand-footer-logo {
  display: block;
  width: 80px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 5px;
  padding: 3px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  animation: fadeInUp 0.4s ease;
}

.login-card h1 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.login-card > p,
.login-card .brand-block p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.login-card label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.login-card input {
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
}

.login-card button {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
}

.error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

/* ── Progressive enhancement: tablet → desktop ── */

@media (min-width: 600px) {
  .cards,
  .cards-ga4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  :root {
    --space-page: 12px;
    --space-panel: 14px;
    --chart-h: 150px;
    --font-title: 1.08rem;
    --font-metric: 1.02rem;
  }

  .dashboard {
    padding: var(--space-page) var(--space-page) calc(var(--safe-bottom) + 24px);
  }

  .top-bar {
    margin-bottom: 10px;
  }

  .header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .brand-block {
    min-width: 0;
    padding-top: 2px;
  }

  .header-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
  }

  .meta-sep {
    display: inline;
  }

  .header-actions {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    align-content: flex-start;
    gap: 8px 8px;
  }

  .header-actions .live-badge,
  .header-actions .db-badge {
    grid-column: auto;
    min-height: auto;
  }

  .header-actions select,
  .header-actions button {
    width: auto;
    min-height: 36px;
  }

  #refreshBtn,
  #logoutBtn {
    grid-column: auto;
  }

  .date-range {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 6px;
  }

  .date-range-field {
    flex: 0 1 132px;
  }

  #applyRangeBtn,
  .date-range-clear {
    grid-column: auto;
  }

  .section-nav a {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .panel h2 {
    font-size: 0.95rem;
  }

  .panel-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .panel-header-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    justify-content: flex-end;
  }

  .panel-header-actions .platform-filter {
    width: auto;
    justify-content: flex-start;
  }

  .panel-header-actions #pageSelect {
    width: auto;
    min-width: 180px;
    min-height: 36px;
  }

  .posts-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .platform-filter-btn {
    min-width: 32px;
    min-height: 32px;
    padding: 0 8px;
  }

  .btn-small {
    min-height: auto;
    padding: 5px 8px;
  }

  .table-wrap-gsc {
    max-height: 360px;
  }
}

@media (min-width: 900px) {
  :root {
    --space-page: 14px;
    --chart-h: 160px;
    --font-title: 1.12rem;
    --font-metric: 1.05rem;
    --safe-bottom: 56px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .charts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (min-width: 1100px) {
  :root {
    --chart-h: 180px;
    --font-title: 1.15rem;
  }

  .cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .cards-ga4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .google-tables-grid:not(.google-tables-grid--gsc):not(.google-tables-grid--stack) {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-gap);
  }
}

/* Comenzi & atribuire — carduri comparație Meta raportat vs real */
.cards-compare {
  margin-bottom: var(--space-gap);
}

.card-compare .card-sub {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.card-compare--meta strong {
  color: #ff9f1a;
}

.card-compare--real strong {
  color: var(--success);
}

#comenzi h3 {
  margin: 20px 0 2px;
}
