:root {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #101828;
  background: #f5f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef2f8;
  height: 100%;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  gap: 16px;
  min-height: 100dvh;
}

.shell-wrapper {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.task-instructions-container {
  position: absolute;
  top: 46px;
  right: 14px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(460px, calc(100% - 28px));
}

.task-instructions-popup {
  position: relative;
  background: #ffffff;
  border: 1px solid #e1e6ef;
  border-radius: 12px;
  padding: 12px 16px;
  padding-right: 40px;
  font-size: 14px;
  color: #344054;
  line-height: 1.5;
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.2);
  max-height: min(50dvh, 360px);
  overflow-y: auto;
}

.task-instructions-body {
  white-space: normal;
}

.task-instructions-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}

.task-instructions-toggle {
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #1d4ed8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

.task-instructions-toggle.hidden {
  display: none;
}

.pulse-ready-alert {
  margin-top: 6px;
  border: 2px solid #16a34a;
  background: #dcfce7;
  color: #14532d;
  border-radius: 10px;
  padding: 10px 12px;
}

.browser-shell {
  width: min(1100px, 100%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: min(760px, calc(100dvh - 64px));
  min-height: 560px;
  position: relative;
}

.browser-top {
  background: #f1f4f9;
  padding: 10px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #e1e6ef;
  flex-wrap: wrap;
}

.browser-top-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.browser-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-buttons {
  display: flex;
  gap: 6px;
}

.browser-buttons button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #d3d9e3;
  background: #fff;
  cursor: pointer;
}

.browser-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.address-bar {
  flex: 1 1 260px;
  min-width: 0;
  background: #fff;
  border: 1px solid #d3d9e3;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  color: #475467;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bookmarks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bookmarks button {
  border: 1px solid #d3d9e3;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.bookmarks button.bookmark-news-ready {
  border-color: #16a34a;
  background: #22c55e;
  color: #052e16;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
  z-index: 50;
}

.bookmarks button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.browser-top .icon-button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-browser-button {
  order: initial;
}

.notification-button {
  margin-left: auto;
}

.browser-content {
  position: relative;
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.browser-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.page {
  padding: 24px 32px 40px;
}

.page h1 {
  margin-top: 0;
}

.page h2 {
  margin-top: 0;
}

.hero {
  background: #0b2b56;
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.flights-hero {
  background: #dde3ea;
  border: 1px solid #c8d1dc;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 24px;
}

.flights-brand-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.flights-brand-row h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  color: #111827;
}

.flights-search-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 0.9fr) minmax(220px, 0.95fr);
  gap: 12px;
  align-items: center;
}

.flights-search-card {
  border: 1px solid #7f8791;
  background: #f4f6f8;
  color: #101828;
  min-height: 52px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  font-size: 17px;
  line-height: 1.2;
}

.flights-search-card-date {
  white-space: nowrap;
}

.flights-route-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4b87d9;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.flight-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.destination-group {
  border: 1px solid #d6dae2;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
}

.destination-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #e4e7ec;
  background: #eef2f7;
}

.destination-header strong {
  font-size: 20px;
}

.destination-header span {
  color: #475467;
  font-size: 13px;
}

.destination-options {
  display: flex;
  flex-direction: column;
}

.flight-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 1fr) minmax(120px, auto) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e4e7ec;
  background: #fff;
}

.flight-row:last-child {
  border-bottom: none;
}

.flight-row.selected {
  background: #f2f6ff;
}

.flight-times {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flight-times strong {
  font-size: 20px;
}

.flight-times span {
  color: #667085;
  font-size: 13px;
}

.flight-destination-label {
  font-weight: 600;
}

.flight-price {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.flight-price small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #667085;
}

.margin-left{
  margin-left: 0.2rem;
}

@media (max-width: 900px) {
  .flights-brand-row h1 {
    font-size: 30px;
  }

  .flights-search-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flights-route-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .flight-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .heart {
    width: 100%;
  }
}

.heart {
  border: 1px solid #d3d9e3;
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.heart.active {
  background: #f6f6f6;
  border-color: #767bff;
  color: #257cff;
  font-size: 28px;
}

.heart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.news-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.news-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #475467;
}

.news-top {
  margin-bottom: 24px;
}

.news-feature {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(320px, 55%) 1fr;
}

.news-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-feature-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-feature-body span {
  font-size: 12px;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-feature-body h2 {
  margin: 0;
  font-size: 24px;
}

.news-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}


.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-topic-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-topic-section h3 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1d2939;
}

.news-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card span {
  font-size: 12px;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card strong {
  font-size: 16px;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ad-card {
  border: 1px solid #99d6aa;
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #f2fcf5 0%, #e6f9ed 100%);
  box-shadow: 0 8px 24px rgba(15, 117, 65, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-card.destination-ad {
  border-color: #e9b8ca;
  background: linear-gradient(180deg, #fff7fa 0%, #fdeef4 100%);
  box-shadow: 0 8px 24px rgba(190, 24, 93, 0.12);
}

.ad-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f5132;
}

.ad-image {
  width: 100%;
  border-radius: 12px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow: hidden;
}

.ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-image.personalised {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.ad-image.contextual {
  background: linear-gradient(135deg, #166534, #22c55e);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  text-transform: none;
  letter-spacing: normal;
}

.ad-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #14532d;
  background: #dcfce7;
  border-radius: 999px;
  padding: 4px 10px;
}

.ad-image.contextual strong {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  color: #fff;
}

.ad-cta {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: #14532d;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
}

.article-view {
  max-width: 980px;
}

.article-banner-ad {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.article-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-banner-ad .ad-image {
  min-height: 120px;
}

.back-button {
  margin-bottom: 16px;
  background: none;
  border: none;
  text-decoration: underline;
  &:hover {
    cursor: pointer;
  }
}

.article-layout {
  display: block;
}

.article-content {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  padding: 20px 24px 28px;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.8fr);
  gap: 18px;
  align-items: start;
}

.article-meta h1 {
  margin: 0 0 8px;
}

.article-meta p {
  margin: 0;
  font-size: 18px;
}

.article-author {
  font-style: italic;
}

.article-divider {
  margin: 10px 0 18px;
  border-top: 2px solid #dbdbdb;
}

.article-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.article-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 2px solid #1f2937;
  border-radius: 0;
}

.article-date {
  color: #111827;
  font-style: italic;
}


@media (max-width: 1100px) {
  .news-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .news-columns {
    grid-template-columns: 1fr;
  }

  .news-topic-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    order: -1;
  }

  .article-layout {
    display: block;
  }

  .article-banner-ad {
    grid-template-columns: 1fr;
  }

  .article-image {
    max-width: 100%;
  }

  .article-header {
    grid-template-columns: 1fr;
  }

  .article-meta p,
  .article-text {
    font-size: 18px;
  }
}


@media (max-width: 768px) {
  #app {
    padding: 16px 8px;
  }

  .browser-shell {
    height: calc(100dvh - 32px);
    min-height: 0;
    border-radius: 12px;
  }

  .task-instructions-container {
    top: 10px;
    right: 10px;
    max-width: min(420px, calc(100% - 20px));
  }

  .task-instructions-popup {
    max-height: min(48dvh, 320px);
    font-size: 13px;
    padding: 10px 12px;
    padding-right: 34px;
  }

  .browser-top {
    padding: 10px;
    gap: 8px;
  }

  .browser-buttons {
    order: -2;
  }

  .address-bar {
    order: 2;
    flex: 1 1 100%;
  }

  .bookmarks {
    order: 3;
    width: 100%;
    gap: 6px;
  }

  .bookmarks button {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    padding: 8px 6px;
  }

  .notification-button {
    order: 1;
    margin-left: auto;
  }

  .close-browser-button {
    order: -3;
  }
}

@media (max-width: 480px) {
  .browser-buttons button,
  .browser-top .icon-button {
    width: 28px;
    height: 28px;
  }

  .browser-shell {
    height: calc(100dvh - 16px);
    border-radius: 10px;
  }

  .task-instructions-container {
    top: 52px;
    right: 8px;
    max-width: calc(100% - 16px);
  }

  .task-instructions-popup {
    margin-top: 92px;
    max-height: min(55dvh, 340px);
  }

  .page {
    padding: 18px 14px 28px;
  }
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.cookie-banner {
  width: min(900px, 100%);
  max-height: 100%;
  overflow: scroll;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  border: 2px solid transparent;
}

.cookie-banner-disabled {
  opacity: 0.85;
}

.cookie-banner-disabled .inline-link,
.cookie-banner-disabled .cookie-actions button {
  pointer-events: none;
  opacity: 0.6;
}

.cookie-banner-disabled .inline-link {
  text-decoration: none;
}

.cookie-banner.stage-cloud {
  border-color: #1d4ed8;
}

.cookie-banner.stage-cloud .primary {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.cookie-banner.stage-pulse {
  border-color: #16a34a;
}

.cookie-banner.stage-pulse .primary {
  background: #16a34a;
  border-color: #16a34a;
}

.cookie-banner.stage-pulse .inline-link {
  color: #16a34a;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-actions button {
  border: 1px solid #cfd4dc;
  background: #fff;
  width: 220px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
}

.cookie-actions .primary {
  background: #175cd3;
  color: #fff;
  border-color: #175cd3;
}

.notification-toast {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
  max-width: 320px;
}

.notification-toast.success {
  border-color: #abefc6;
}

.notification-toast.loading {
  border-color: #b2ddff;
}

.notification-body {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #344054;
}

.notification-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #d0d5dd;
  border-top-color: #2e90fa;
  animation: spin 0.8s linear infinite;
}

.notification-link {
  border: none;
  background: none;
  color: #175cd3;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}

.notification-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #667085;
}

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

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.modal {
  width: min(640px, 92%);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-height: 80%;
  overflow: auto;
}

.modal h3 {
  margin-top: 0;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f5;
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

.cookie-option {
  border-bottom: 1px solid #eef1f5;
  padding: 8px 0;
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-option summary::-webkit-details-marker {
  display: none;
}


.expand-indicator {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d5dd;
  border-radius: 50%;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.expand-indicator::before {
  content: "+";
}

.cookie-option[open] .expand-indicator::before {
  content: "−";
}

.cookie-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-option p {
  margin: 8px 0 0;
  color: #475467;
}

.always-on {
  font-size: 12px;
  font-weight: 600;
  color: #027a48;
  background: #ecfdf3;
  padding: 4px 8px;
  border-radius: 999px;
}

.notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0b4a6f;
  padding: 12px 14px;
  border-radius: 12px;
  margin: 16px 0;
}

.aura-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aura-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.aura-options button {
  border: 1px solid #cfd4dc;
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  min-height: 4rem;
  background-color: #1d4ed8;
  color: white;
}

.aura-options-divider {
  grid-column: 1 / -1;
  height: 0;
  border-top: 1px solid #9e9e9e;
  margin: 2px 0;
}

@media (min-width: 1024px) {
  .aura-options {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 1px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: stretch;
  }

  .aura-options-divider {
    grid-column: 4;
    grid-row: 1;
    height: auto;
    min-height: 100%;
    width: 1px;
    border-top: 0;
    border-left: 1px solid #9e9e9e;
    margin: 0;
  }
}

.aura-banner {
  border: 1px solid #d0d5dd;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  color: #1d2939;
}

.aura-banner h3 {
  margin: 0 0 8px;
}

.aura-banner p {
  margin: 8px 0 0;
}

.completed-banner {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #027a48;
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
  margin-bottom: 16px
}

.loading-blink {
  animation: blink 0.4s ease;
}

@keyframes blink {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.error-banner {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  padding: 12px;
  border-radius: 12px;
}

.inline-link {
  color: #175cd3;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.footer-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-actions button {
  border: 1px solid #cfd4dc;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.footer-actions .primary {
  background: #175cd3;
  color: #fff;
  border-color: #175cd3;
}

.cookie-modal.stage-pulse .primary {
  background: #16a34a;
  border-color: #16a34a;
}

.cookie-modal.stage-pulse .inline-link {
  color: #16a34a;
}

.debug-overlay {
  position: fixed;
  top: 90px;
  right: 16px;
  z-index: 999;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  background: rgba(15, 23, 42, 0.74);
  color: #e2e8f0;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.debug-overlay.closed {
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
}

.debug-toggle {
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(15, 23, 42, 0.65);
  color: #f8fafc;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.debug-content {
  padding: 0 12px 12px;
}

.debug-content h3 {
  margin: 4px 0 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.debug-content pre {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: auto;
  max-height: calc(100vh - 210px);
  font-size: 11px;
  line-height: 1.4;
  color: #e2e8f0;
}
