:root {
  --ink: #17213a;
  --ink-soft: #5d6679;
  --ink-faint: #858da0;
  --paper: #faf3e0;
  --surface: #ffffff;
  --surface-soft: #fff7e1;
  --line: #e9dfc7;
  --line-strong: #d8c8a5;
  --brand-950: #0a1020;
  --brand-900: #0f1a30;
  --brand-800: #1d2a44;
  --brand-700: #b84200;
  --brand-600: #e05300;
  --brand-500: #ff8500;
  --brand-100: #ffe0b5;
  --brand-50: #fff7e1;
  --gold-600: #d99b00;
  --gold-500: #ffc94d;
  --gold-100: #fff0bd;
  --success: #247257;
  --success-bg: #e2f2eb;
  --warning: #91651d;
  --warning-bg: #fbefd7;
  --danger: #a84e4e;
  --danger-bg: #f8e6e4;
  --neutral-bg: #e9eeec;
  --shadow-sm: 0 1px 2px rgba(15, 26, 48, 0.05), 0 8px 24px rgba(15, 26, 48, 0.08);
  --shadow-md: 0 20px 52px rgba(15, 26, 48, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --sidebar-width: 260px;
  --topbar-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(244, 123, 32, 0.13), transparent 27rem),
    var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(244, 123, 32, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 26px 18px 22px;
  overflow-y: auto;
  color: #fff8f2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(155deg, #211109, #35190a 58%, #1d0e07);
  background-size: 36px 36px, 36px 36px, auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #ff9c4b;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-mark svg path + path {
  fill: #ffb36f;
  stroke: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 3px;
  color: #d9b9a4;
  font-size: 0.74rem;
}

.environment-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 22px 4px 18px;
  padding: 7px 10px;
  border: 1px solid rgba(140, 188, 175, 0.18);
  border-radius: 999px;
  color: #ffd2b0;
  background: rgba(244, 123, 32, 0.14);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff9b4a;
  box-shadow: 0 0 0 4px rgba(255, 155, 74, 0.12);
}

.primary-nav {
  display: grid;
  gap: 5px;
}

.nav-link {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d9b9a4;
  font-size: 0.82rem;
  font-weight: 570;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.nav-link span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #b98361;
  font-size: 1rem;
}

.nav-link:hover {
  color: #eef7f4;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(244, 123, 32, 0.34), rgba(244, 123, 32, 0.1));
  box-shadow: inset 3px 0 0 #ff8f38;
}

.nav-link.is-active span {
  color: #ffab67;
}

.sidebar-note {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  color: #b7c9c5;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.73rem;
  line-height: 1.45;
}

.sidebar-note strong {
  color: #e9f2ef;
}

.page-frame {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  min-height: var(--topbar-height);
  grid-template-columns: minmax(280px, 580px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(22px, 4vw, 58px);
  border-bottom: 1px solid rgba(203, 214, 208, 0.8);
  background: rgba(245, 247, 245, 0.9);
  backdrop-filter: blur(16px);
}

.search-combobox {
  position: relative;
  width: 100%;
}

.menu-button {
  display: none !important;
}

.global-search {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}

.global-search input {
  width: 100%;
  height: 46px;
  padding: 0 46px 0 43px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-clear {
  position: absolute;
  z-index: 2;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--brand-800);
  background: var(--brand-50);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.global-search:has(.search-clear:not([hidden])) kbd {
  display: none;
}

.search-suggestions {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(65, 25, 4, 0.2);
  backdrop-filter: blur(18px);
}

.search-suggestions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.search-suggestions-heading strong {
  color: var(--brand-900);
  font-size: 0.75rem;
}

.search-suggestions-heading span {
  color: var(--ink-faint);
  font-size: 0.66rem;
}

.search-suggestion {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-suggestion:last-child {
  border-bottom: 0;
}

.search-suggestion:hover,
.search-suggestion[aria-selected="true"] {
  background: var(--brand-50);
}

.search-suggestion-marker {
  display: grid;
  width: 42px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: var(--brand-800);
  background: var(--brand-100);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.search-suggestion strong,
.search-suggestion small {
  display: block;
}

.search-suggestion strong {
  font-size: 0.82rem;
}

.search-suggestion small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.search-suggestion-arrow {
  color: var(--brand-600);
  font-weight: 900;
}

.global-search input::placeholder {
  color: #84918d;
}

.global-search input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(71, 141, 125, 0.12);
}

.search-icon {
  position: absolute;
  z-index: 1;
  left: 15px;
  color: var(--brand-600);
  font-size: 1.35rem;
  pointer-events: none;
}

.global-search kbd {
  position: absolute;
  right: 13px;
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-faint);
  background: var(--surface-soft);
  font: 600 0.72rem/1 ui-monospace, monospace;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  white-space: nowrap;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--brand-700);
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--brand-50);
}

main {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 26px clamp(22px, 4vw, 58px) 64px;
}

.load-alert {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 4px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

.load-alert[data-state="ready"] {
  border-color: #cde3d8;
  color: #356c59;
  background: #edf7f2;
}

.load-alert[data-state="error"] {
  border-color: #ebcbc8;
  color: #8f4545;
  background: #fff3f1;
}

.alert-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-600);
  font-size: 0.72rem;
  font-weight: 800;
}

.load-alert[data-state="error"] .alert-icon {
  background: var(--danger);
}

.section {
  scroll-margin-top: 88px;
  padding: 62px 0 12px;
}

.hero-section {
  padding-top: 38px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading > * {
  min-width: 0;
}

.hero-heading {
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 940px;
  margin-bottom: 13px;
  color: var(--brand-950);
  font-size: clamp(2.5rem, 5.4vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 8px;
  color: var(--brand-950);
  font-size: clamp(1.75rem, 3.15vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 6px;
  color: var(--brand-900);
  font-size: 1rem;
  line-height: 1.25;
}

.section-description {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.journey-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 8px 0 20px;
}

.journey-nav a {
  position: relative;
  display: grid;
  min-height: 112px;
  align-content: end;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.journey-nav a:hover {
  border-color: var(--brand-500);
  box-shadow: 0 15px 30px rgba(92, 36, 6, 0.12);
  transform: translateY(-2px);
}

.journey-nav a > span {
  position: absolute;
  top: 8px;
  right: 12px;
  color: rgba(214, 95, 17, 0.12);
  font-size: 3.15rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.09em;
}

.journey-nav strong,
.journey-nav small {
  position: relative;
  z-index: 1;
  display: block;
}

.journey-nav strong {
  color: var(--brand-900);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.journey-nav small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.text-button:disabled,
.icon-button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  color: #fff;
  background: var(--brand-700);
  box-shadow: 0 8px 20px rgba(36, 86, 79, 0.16);
}

.button-primary:hover {
  background: var(--brand-800);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--brand-800);
  background: var(--surface);
}

.button-secondary:hover {
  background: var(--brand-50);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  display: flex;
  min-height: 145px;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.metric-card::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(71, 141, 125, 0.045);
  content: "";
}

.metric-card-primary {
  border-color: transparent;
  color: #f4faf8;
  background: linear-gradient(145deg, var(--brand-800), var(--brand-900));
}

.metric-card-primary::after {
  background: rgba(255, 255, 255, 0.05);
}

.metric-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--brand-700);
  background: var(--brand-100);
  font-size: 1.1rem;
}

.metric-card-primary .metric-icon {
  color: #f1d596;
  background: rgba(255, 255, 255, 0.1);
}

.metric-card span,
.metric-card strong,
.metric-card small {
  display: block;
}

.metric-card span {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
}

.metric-card strong {
  margin: 8px 0 7px;
  color: var(--brand-950);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card small {
  color: var(--ink-faint);
  font-size: 0.68rem;
  line-height: 1.35;
}

.metric-card-primary span,
.metric-card-primary small {
  color: #b9cec8;
}

.metric-card-primary strong {
  color: #fff;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
  margin-top: 14px;
}

.overview-grid > * {
  min-width: 0;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.verification-summary,
.activity-panel,
.dossier-summary,
.dossier-topics,
.verification-queue {
  padding: 20px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading.compact {
  align-items: center;
  margin-bottom: 14px;
}

.panel-heading h2,
.panel-heading h3,
.panel-heading p {
  margin-bottom: 0;
}

.panel-heading h2 {
  font-size: 1.08rem;
}

.panel-heading p:not(.eyebrow),
.panel-caption,
.map-caption {
  color: var(--ink-faint);
  font-size: 0.69rem;
  line-height: 1.4;
}

.status-pill,
.count-badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 750;
  white-space: nowrap;
}

.count-badge {
  border: 1px solid var(--line);
  color: var(--brand-700);
  background: var(--surface);
}

.status-neutral {
  color: #5e6e69;
  background: var(--neutral-bg);
}

.status-verified,
.status-ready,
.status-mitigated,
.status-closed {
  color: var(--success);
  background: var(--success-bg);
}

.status-pending,
.status-research,
.status-monitoring,
.status-medium {
  color: var(--warning);
  background: var(--warning-bg);
}

.status-disputed,
.status-high,
.status-open {
  color: var(--danger);
  background: var(--danger-bg);
}

.status-idea,
.status-low,
.status-archived {
  color: #5b6965;
  background: var(--neutral-bg);
}

.progress-track {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--surface-soft);
  appearance: none;
  -webkit-appearance: none;
}

.progress-track::-webkit-progress-bar {
  border-radius: inherit;
  background: var(--surface-soft);
}

.progress-track::-webkit-progress-value,
.progress-track::-moz-progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  transition: width 300ms ease;
}

.verification-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.verification-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.verified {
  background: var(--success);
}

.legend-dot.pending {
  background: var(--gold-500);
}

.legend-dot.disputed {
  background: var(--danger);
}

.activity-list,
.verification-queue-items {
  display: grid;
  gap: 10px;
}

.activity-item,
.queue-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.activity-item:first-child,
.queue-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.activity-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
}

.activity-item strong,
.queue-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.75rem;
}

.activity-item small,
.queue-item small {
  color: var(--ink-faint);
  font-size: 0.66rem;
}

.empty-state {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 24px;
  color: var(--ink-soft);
  text-align: left;
}

.empty-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--brand-600);
  background: var(--brand-50);
  font-size: 1.1rem;
}

.empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-900);
  font-size: 0.8rem;
}

.empty-state p {
  max-width: 450px;
  margin-bottom: 0;
  font-size: 0.7rem;
  line-height: 1.5;
}

.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.65);
}

.filter-bar label {
  display: grid;
  min-width: 180px;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
}

.filter-bar select {
  min-height: 38px;
  padding: 0 34px 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--surface);
}

.text-button {
  min-height: 38px;
  margin-left: auto;
  padding: 8px 11px;
  border: 0;
  color: var(--brand-700);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 750;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.territory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 14px;
}

.map-panel,
.region-list-panel {
  min-height: 480px;
  padding: 18px;
}

.map-stage {
  position: relative;
  display: grid;
  min-height: 405px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    linear-gradient(rgba(51, 114, 103, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 114, 103, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #f4f8f5, #ecf3ef);
  background-size: 32px 32px, 32px 32px, auto;
}

.map-stage .empty-state {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.territory-shortcuts {
  display: grid;
  width: 100%;
  max-height: 405px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
  overflow-y: auto;
}

.territory-shortcuts button {
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.67rem;
  font-weight: 700;
  cursor: pointer;
}

.territory-shortcuts button:hover,
.territory-shortcuts button.is-selected {
  border-color: var(--brand-500);
  color: var(--brand-800);
  background: var(--brand-50);
}

.territory-svg {
  width: 100%;
  height: 405px;
  padding: 22px;
}

.shared-territory-picker {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
}

.shared-territory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.territory-shape {
  fill: #cfe2da;
  stroke: #fff;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 140ms ease, stroke 140ms ease;
}

.territory-shape:hover,
.territory-shape:focus {
  fill: var(--brand-500);
  stroke: var(--brand-800);
  outline: none;
}

.region-list {
  display: grid;
  max-height: 407px;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.region-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.region-card.is-selected {
  border-color: var(--brand-500);
  background: #f3faf6;
  box-shadow: 0 0 0 2px rgba(51, 114, 103, 0.12);
}

.region-card-actions {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 8px;
}

.region-open-button {
  min-height: auto;
  margin: 0;
  padding: 3px 0;
}

.region-card h4 {
  margin: 0 0 5px;
  color: var(--brand-900);
  font-size: 0.78rem;
}

.region-card p {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 0.66rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.tag {
  display: inline-flex;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.6rem;
}

.dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 14px;
}

.dossier-controls {
  display: grid;
  width: min(100%, 310px);
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 5px 10px;
}

.dossier-controls label {
  grid-column: 1 / -1;
  color: var(--ink-faint);
  font-size: 0.64rem;
  font-weight: 750;
}

.dossier-controls select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 0 34px 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--surface);
}

.dossier-text {
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.7;
}

.dossier-facts,
.topic-list {
  display: grid;
  gap: 9px;
}

.dossier-fact,
.topic-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.dossier-fact:first-child,
.topic-item:first-child {
  border-top: 0;
}

.dossier-fact span,
.topic-item span {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.dossier-fact strong,
.topic-item strong {
  font-size: 0.72rem;
}

.topic-item div {
  display: grid;
  gap: 3px;
}

.topic-item small {
  color: var(--ink-faint);
  font-size: 0.62rem;
}

.dossier-note,
.proof-gaps {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.7rem;
  line-height: 1.55;
}

.dossier-note ul,
.proof-gaps ul {
  margin: 9px 0 0;
  padding-left: 18px;
}

.dossier-note a,
.analysis-sources a,
.risk-sources a {
  color: var(--brand-700);
  font-weight: 750;
  text-underline-offset: 3px;
}

.dossier-note a {
  display: inline-block;
  margin-top: 8px;
}

.evidence-notes {
  margin-top: 7px;
}

.evidence-notes summary {
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}

.evidence-notes p {
  max-width: 62ch;
  margin: 7px 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.5;
}

.evidence-collected {
  display: block;
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.proof-gaps summary {
  color: var(--brand-800);
  font-weight: 750;
  cursor: pointer;
}

.table-panel {
  overflow: hidden;
}

.table-swipe-hint {
  display: none;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.72rem;
}

th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink-soft);
  background: #f7f9f7;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.city-data-table {
  min-width: 1900px;
}

.city-data-table th:first-child,
.city-data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 190px;
  background: #fffaf6;
}

.city-data-table thead th:first-child {
  z-index: 2;
  background: #f3e9e1;
}

.table-method-note {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--brand-50);
  font-size: 0.68rem;
  line-height: 1.55;
}

td a {
  color: var(--brand-700);
  font-weight: 700;
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.segmented-control button {
  display: flex;
  min-height: 37px;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 720;
  cursor: pointer;
}

.segmented-control button span {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 36, 42, 0.07);
  font-size: 0.62rem;
}

.segmented-control button[aria-selected="true"] {
  color: var(--brand-800);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(15, 42, 43, 0.08);
}

.analysis-list {
  min-height: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.analysis-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.analysis-item:last-child {
  border-bottom: 0;
}

.analysis-item h3,
.agenda-card h3,
.risk-card h3 {
  font-size: 0.94rem;
}

.analysis-item p,
.agenda-card p,
.risk-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.analysis-meta,
.analysis-sources,
.risk-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.analysis-sources a,
.risk-sources a {
  font-size: 0.75rem;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agenda-card {
  display: grid;
  min-height: 190px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}

.agenda-card-header,
.risk-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.agenda-card-header {
  justify-content: flex-start;
}

.agenda-card-number {
  margin-right: auto;
  color: rgba(214, 95, 17, 0.28);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}

.agenda-meta,
.risk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.agenda-details {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.agenda-details > summary {
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.agenda-details-body {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.agenda-details-body section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.agenda-details-body h4 {
  margin: 0 0 6px;
  color: var(--brand-800);
  font-size: 0.78rem;
}

.agenda-details-body ol {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.6;
}

.agenda-details-body a {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-700);
  font-size: 0.68rem;
  font-weight: 750;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.verification-card {
  display: grid;
  min-height: 150px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px 11px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.verification-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 10px;
  font-weight: 850;
}

.verification-card span:not(.verification-symbol) {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.verification-card strong {
  color: var(--brand-950);
  font-size: 1.75rem;
  line-height: 1;
}

.verification-card small {
  grid-column: 1 / 3;
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 0.65rem;
  line-height: 1.4;
}

.verified-card .verification-symbol {
  color: var(--success);
  background: var(--success-bg);
}

.pending-card .verification-symbol {
  color: var(--warning);
  background: var(--warning-bg);
}

.disputed-card .verification-symbol {
  color: var(--danger);
  background: var(--danger-bg);
}

.neutral-card .verification-symbol {
  color: var(--ink-soft);
  background: var(--neutral-bg);
}

.verification-queue {
  margin-top: 14px;
}

.risk-list {
  display: grid;
  gap: 10px;
}

.risk-card {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 16px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
}

.risk-level {
  min-height: 100%;
  border-radius: 999px;
  background: var(--line-strong);
}

.risk-level.high {
  background: var(--danger);
}

.risk-level.medium {
  background: var(--gold-500);
}

.risk-level.low {
  background: var(--brand-500);
}

.risk-mitigation {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.risk-mitigation strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-800);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.risk-mitigation p {
  margin: 0;
}

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

.export-card {
  display: grid;
  min-height: 235px;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.export-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-700);
  background: var(--brand-100);
  font-size: 0.9rem;
  font-weight: 800;
}

.export-card h3 {
  margin-top: 3px;
}

.export-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.55;
}

.export-card .button {
  align-self: end;
  grid-column: 1 / 3;
  margin-top: 28px;
}

.export-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold-500);
  color: var(--ink-soft);
  background: rgba(245, 234, 211, 0.52);
  font-size: 0.7rem;
  line-height: 1.5;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(22px, 4vw, 58px);
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.66rem;
}

.page-footer a {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-footer a:hover {
  color: var(--brand-900);
}

.mobile-backdrop {
  position: fixed;
  z-index: 45;
  inset: 0;
  background: rgba(7, 23, 24, 0.5);
  backdrop-filter: blur(3px);
}

/* Camada executiva laranja: leitura rápida e ação imediata */
.topbar {
  border-bottom-color: rgba(228, 191, 164, 0.78);
  background: rgba(255, 248, 242, 0.92);
}

.global-search input:focus {
  box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.14);
}

.nav-link-launch {
  margin: 4px 0 8px;
  color: #fff2e8;
  background: rgba(244, 123, 32, 0.18);
}

.sidebar-note b {
  color: #ffad6d;
}

.hero-section {
  position: relative;
}

.hero-section::before {
  position: absolute;
  z-index: -1;
  top: -30px;
  right: -4vw;
  width: min(48vw, 620px);
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 123, 32, 0.18), rgba(244, 123, 32, 0));
  content: "";
  filter: blur(8px);
}

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

.metric-card {
  min-height: 132px;
}

.metric-card::after {
  background: rgba(244, 123, 32, 0.06);
}

.metric-card-primary {
  background: linear-gradient(145deg, #ff8730, #d65f11 72%, #a43f08);
  box-shadow: 0 18px 34px rgba(214, 95, 17, 0.22);
}

.metric-card-primary span,
.metric-card-primary small {
  color: #ffe6d3;
}

.metric-card-primary .metric-icon {
  color: #fff;
}

.metric-card-money strong {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.button-primary {
  background: linear-gradient(135deg, #f47b20, #d65f11);
  box-shadow: 0 10px 24px rgba(214, 95, 17, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, #dd6515, #a8430a);
}

.button-small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.7rem;
}

.launch-section {
  margin-top: 58px;
  padding: 0 0 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 160, 87, 0.2);
  border-radius: 28px;
  color: #fff7f0;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 146, 61, 0.27), transparent 28rem),
    linear-gradient(145deg, #231108, #3c1b0a 62%, #5f2608);
  box-shadow: 0 30px 80px rgba(74, 29, 5, 0.22);
}

.launch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  min-height: 510px;
}

.launch-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
}

.launch-copy .eyebrow,
.launch-list-heading .eyebrow,
.launch-schedule .eyebrow {
  color: #ff9c50;
}

.launch-copy h2,
.launch-list-heading h2,
.launch-schedule h3 {
  color: #fff;
}

.launch-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.launch-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 24px;
  color: #eacdb9;
  font-size: 1rem;
  line-height: 1.7;
}

.launch-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 26px;
}

.launch-numbers span {
  min-height: 78px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  color: #d9b9a4;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.68rem;
  line-height: 1.35;
}

.launch-numbers strong {
  display: block;
  margin-bottom: 4px;
  color: #ff9b4b;
  font-size: 1.6rem;
  line-height: 1;
}

.button-light {
  color: #3b1a08;
  background: #ff9b4b;
}

.button-light:hover {
  background: #ffb170;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff2e9;
  background: rgba(255, 255, 255, 0.055);
}

.launch-photo-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.launch-photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2a1309 0%, transparent 32%), linear-gradient(0deg, rgba(27, 11, 4, 0.78), transparent 55%);
  content: "";
}

.launch-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.launch-photo-label {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(41, 17, 5, 0.76);
  backdrop-filter: blur(12px);
}

.launch-photo-label span,
.launch-photo-label strong {
  display: block;
}

.launch-photo-label span {
  margin-bottom: 5px;
  color: #ff9b4b;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-photo-label strong {
  font-size: 0.86rem;
  line-height: 1.45;
}

.quick-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.quick-flow article {
  display: flex;
  gap: 12px;
  padding: 22px;
  background: #2d1509;
}

.quick-flow article > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #32190c;
  background: #ff9b4b;
  font-size: 0.75rem;
  font-weight: 900;
}

.quick-flow strong,
.quick-flow p {
  display: block;
}

.quick-flow strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.8rem;
}

.quick-flow p {
  margin-bottom: 0;
  color: #cba994;
  font-size: 0.68rem;
  line-height: 1.45;
}

.launch-list-heading {
  align-items: center;
  margin: 0;
  padding: 40px clamp(24px, 4vw, 48px) 22px;
}

.launch-list-heading .section-description {
  color: #cfb09c;
}

.count-badge-light {
  border-color: rgba(255, 155, 75, 0.28);
  color: #ffb67d;
  background: rgba(255, 155, 75, 0.1);
}

.friday-batch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(24px, 4vw, 48px);
}

.friday-card {
  padding: 20px;
  border: 1px solid #f2d3bb;
  border-top: 4px solid #f47b20;
  border-radius: 17px;
  color: var(--ink);
  background: #fffdfa;
  box-shadow: 0 15px 32px rgba(34, 15, 5, 0.16);
}

.friday-card:first-child {
  grid-column: 1 / -1;
  border-top-width: 6px;
  background: linear-gradient(135deg, #fffdfa, #fff0e3);
}

.friday-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.friday-order {
  color: #f47b20;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.friday-kicker {
  display: block;
  margin-bottom: 3px;
  color: #a94a0f;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.friday-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.friday-proof {
  margin-bottom: 13px;
  color: #2d1a0f;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.5;
}

.friday-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.plain-pill {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.plain-pill.good {
  color: #1c6a4e;
  background: #e1f3ea;
}

.plain-pill.warn {
  color: #8a5d16;
  background: #fff0d4;
}

.plain-pill.danger {
  color: #913f36;
  background: #f9e1de;
}

.plain-pill.neutral {
  color: #665348;
  background: #f2e9e2;
}

.friday-reason {
  margin-bottom: 0;
  color: #786255;
  font-size: 0.72rem;
  line-height: 1.6;
}

.friday-details {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #efd8c7;
}

.friday-details > summary {
  color: #b84d0d;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

.friday-details-body {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.content-block {
  padding: 13px;
  border: 1px solid #edd7c6;
  border-radius: 11px;
  background: #fff6ee;
}

.content-block h4 {
  margin: 0 0 6px;
  color: #a64209;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.content-block p,
.content-block li {
  margin-bottom: 0;
  color: #654d3e;
  font-size: 0.78rem;
  line-height: 1.65;
}

.content-block ul {
  margin: 0;
  padding-left: 18px;
}

.script-block {
  border-color: #ffc89d !important;
  background: #fff0e3 !important;
  box-shadow: inset 4px 0 0 #f47b20;
}

.script-block p {
  color: #2d1a0f;
  font-size: 0.86rem;
  font-weight: 620;
}

.speech-card {
  padding: 18px !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, #fff9f3, #ffead9) !important;
  box-shadow: inset 5px 0 0 #f47b20, 0 12px 26px rgba(103, 42, 8, 0.08) !important;
}

.speech-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.speech-card-header h4 {
  margin: 5px 0 0 !important;
  color: var(--brand-950) !important;
  font-size: 1rem !important;
  letter-spacing: -0.015em !important;
}

.speech-badge {
  display: inline-flex;
  padding: 5px 7px;
  border-radius: 6px;
  color: #fff;
  background: var(--brand-700);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.speech-meta {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 750;
}

.speech-text {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  color: var(--brand-950) !important;
  font-size: 1.06rem !important;
  font-weight: 670 !important;
  line-height: 1.62 !important;
}

.speech-text span {
  display: block;
}

.speech-card-actions {
  display: flex;
  margin-top: 16px;
}

.teleprompter-dialog {
  --teleprompter-scale: 1;
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  height: min(860px, calc(100dvh - 32px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: #fff7f0;
  background: #170b06;
  box-shadow: 0 36px 120px rgba(20, 7, 1, 0.52);
}

.teleprompter-dialog::backdrop {
  background: rgba(23, 11, 6, 0.78);
  backdrop-filter: blur(9px);
}

.teleprompter-shell {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.teleprompter-header,
.teleprompter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: #241109;
}

.teleprompter-header .eyebrow {
  color: #ff9b4b;
}

.teleprompter-header h2 {
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.teleprompter-header p:last-child {
  margin: 0;
  color: #cda992;
  font-size: 0.76rem;
}

.teleprompter-close {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.teleprompter-text {
  display: grid;
  align-content: start;
  gap: calc(18px * var(--teleprompter-scale));
  padding: clamp(28px, 6vw, 72px);
  overflow-y: auto;
  scroll-behavior: smooth;
  color: #fff;
  font-size: calc(clamp(1.55rem, 3.25vw, 3rem) * var(--teleprompter-scale));
  font-weight: 720;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.teleprompter-text span {
  display: block;
}

.teleprompter-text span:first-child {
  color: #ffad70;
}

.teleprompter-text.is-mirrored {
  transform: scaleX(-1);
}

.teleprompter-actions {
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 0;
}

.font-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-right: auto;
}

.teleprompter-speed {
  display: grid;
  gap: 3px;
  color: #bdc7d7;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teleprompter-speed select {
  min-width: 96px;
  padding: 8px 28px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: #fff;
  background: #1d2a44;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.teleprompter-dialog:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
}

.teleprompter-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
}

.source-block a {
  color: #a8430a;
  font-size: 0.7rem;
  font-weight: 800;
}

.friday-actions,
.agenda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.launch-schedule {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) 1fr;
  gap: 34px;
  margin: 38px clamp(24px, 4vw, 48px) 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.launch-schedule ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-schedule li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8bca9;
  font-size: 0.72rem;
  line-height: 1.5;
}

.launch-schedule li:last-child {
  border-bottom: 0;
}

.launch-schedule time {
  color: #ff9b4b;
  font-weight: 850;
}

.launch-schedule strong {
  color: #fff;
}

.agenda-quick-reason {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid #f47b20;
  border-radius: 0 10px 10px 0;
  background: #fff3e9;
}

.agenda-quick-reason strong {
  color: #b84d0d;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.agenda-quick-reason span {
  color: #674c3c;
  font-size: 0.7rem;
  line-height: 1.5;
}

.agenda-details-body .content-block {
  padding: 14px;
}

.calendar-section {
  scroll-margin-top: 90px;
}

.legal-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #efc89d;
  border-left: 5px solid var(--brand-600);
  border-radius: 13px;
  background: #fff4e7;
}

.legal-banner strong {
  color: var(--brand-800);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.calendar-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.calendar-phase-card {
  width: 100%;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.calendar-phase-card:hover,
.calendar-phase-card:focus-visible,
.calendar-phase-card.is-active {
  border-color: var(--brand-500);
  background: var(--brand-50);
  box-shadow: 0 0 0 3px rgba(239, 92, 38, 0.12);
}

.calendar-phase-card span,
.calendar-phase-card strong {
  display: block;
}

.calendar-phase-card span {
  margin-bottom: 8px;
  color: var(--brand-600);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-phase-card strong {
  margin-bottom: 7px;
  color: var(--brand-900);
  font-size: 0.82rem;
}

.calendar-phase-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.5;
}

.calendar-list {
  display: grid;
  gap: 10px;
}

.calendar-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
}

.calendar-pagination > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-day {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.calendar-day.is-next {
  border-color: #e49b62;
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.12), var(--shadow-sm);
}

.calendar-day.is-critical {
  border-left: 5px solid var(--danger);
}

.calendar-date {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 12px 8px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(150deg, var(--brand-700), var(--brand-900));
}

.calendar-date strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.calendar-date span {
  margin: 3px 0 7px;
  color: #ffd4b1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-date small {
  color: #eac6ae;
  font-size: 0.59rem;
  text-align: center;
}

.calendar-day-header,
.calendar-labels,
.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.calendar-day-header {
  justify-content: space-between;
  margin-bottom: 10px;
}

.calendar-countdown {
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 900;
}

.calendar-content h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.calendar-objective,
.calendar-action {
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.calendar-action strong {
  color: var(--brand-700);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.calendar-milestone {
  display: inline-flex;
  margin: 2px 0 10px;
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.calendar-details {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.calendar-details > summary {
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.calendar-details-body {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.calendar-sources {
  margin-top: 18px;
}

.calendar-sources ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
}

.calendar-sources a {
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 750;
}

.legal-copy {
  border-color: #efc89d !important;
  background: #fff4e7 !important;
  box-shadow: inset 4px 0 0 var(--warning);
}

.agenda-card:has(> .agenda-details[open]) {
  grid-column: 1 / -1;
}

.tone-options {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.tone-options-heading {
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 11px;
  background: #32190c;
}

.tone-options-heading h4 {
  color: #fff !important;
  font-size: 0.82rem !important;
}

.tone-options-heading p {
  color: #e4c4ae;
  font-size: 0.73rem;
}

.speech-structure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 13px;
}

.speech-structure span {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: #ffe0c9;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.speech-structure b {
  color: #ff9b4b;
  font-size: 0.6rem;
}

.tone-option-list {
  display: grid;
  gap: 9px;
}

.tone-option {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.tone-option > summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  cursor: pointer;
  list-style-position: inside;
}

.tone-option > summary strong {
  color: var(--brand-900);
  font-size: 0.78rem;
}

.tone-option > summary span {
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

.tone-compassivo > summary {
  border-left: 5px solid var(--success);
  background: #eef8f3;
}

.tone-firme > summary {
  border-left: 5px solid var(--warning);
  background: #fff7e8;
}

.tone-pressao-institucional > summary {
  border-left: 5px solid var(--danger);
  background: #fff0ee;
}

.tone-option-body {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.tone-option-body .content-block {
  margin: 0;
}

@media (max-width: 1180px) {
  .metric-grid,
  .verification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda-grid,
  .export-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .export-card:last-child {
    grid-column: 1 / 3;
  }

  .launch-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-height: 68px;
  }

  .sidebar {
    width: min(84vw, 300px);
    transform: translateX(-105%);
    transition: transform 200ms ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
    box-shadow: var(--shadow-md);
  }

  .page-frame {
    margin-left: 0;
  }

  .topbar {
    grid-template-columns: auto minmax(180px, 1fr) auto;
    gap: 10px;
    padding: 11px 18px;
  }

  .menu-button {
    display: grid !important;
  }

  .topbar-meta > span {
    display: none;
  }

  .global-search kbd {
    display: none;
  }

  .global-search input {
    padding-right: 12px;
  }

  .overview-grid,
  .territory-grid,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .launch-hero {
    grid-template-columns: 1fr;
  }

  .launch-photo-wrap {
    min-height: 420px;
  }

  .quick-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-schedule {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .calendar-day {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .map-panel,
  .region-list-panel {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .table-swipe-hint {
    display: block;
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--brand-800);
    background: var(--brand-50);
    font-size: 0.75rem;
    font-weight: 750;
  }

  main {
    padding-inline: 16px;
  }

  .topbar {
    padding-inline: 12px;
  }

  .section {
    padding-top: 48px;
  }

  .hero-section {
    padding-top: 30px;
  }

  .section-heading,
  .hero-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1;
  }

  .journey-nav {
    grid-template-columns: 1fr 1fr;
  }

  .journey-nav a {
    min-height: 104px;
    padding: 14px;
  }

  .metric-grid,
  .verification-grid,
  .agenda-grid,
  .export-grid {
    grid-template-columns: 1fr;
  }

  .launch-section {
    margin-right: -4px;
    margin-left: -4px;
    border-radius: 22px;
  }

  .launch-copy {
    padding: 34px 22px;
  }

  .launch-copy h2 {
    font-size: 2.35rem;
  }

  .launch-photo-wrap {
    min-height: 340px;
  }

  .quick-flow,
  .friday-batch {
    grid-template-columns: 1fr;
  }

  .quick-flow article {
    padding: 17px 20px;
  }

  .friday-card:first-child {
    grid-column: auto;
  }

  .launch-list-heading {
    padding-inline: 20px;
  }

  .friday-batch {
    padding-inline: 20px;
  }

  .launch-schedule {
    margin-inline: 20px;
    padding: 20px;
  }

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

  .calendar-phases {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
  }

  .calendar-date {
    padding: 10px 5px;
  }

  .calendar-date strong {
    font-size: 1.55rem;
  }

  .calendar-day-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-pagination > div {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-pagination .text-button {
    align-self: center;
  }

  .export-card:last-child {
    grid-column: auto;
  }

  .metric-card {
    min-height: 130px;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar label {
    min-width: 0;
  }

  .text-button {
    align-self: flex-start;
    margin-left: 0;
  }

  .dossier-controls {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .dossier-controls label,
  .dossier-controls select {
    grid-column: 1;
  }

  .dossier-controls .status-pill {
    justify-self: start;
  }

  .map-stage,
  .territory-svg {
    min-height: 330px;
    height: 330px;
  }

  .segmented-control {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .segmented-control button {
    justify-content: center;
    padding-inline: 7px;
    font-size: 0.67rem;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 16px;
  }

  .speech-card-header {
    flex-direction: column;
  }

  .speech-card-actions .button {
    width: 100%;
  }

  .teleprompter-dialog {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .teleprompter-header,
  .teleprompter-actions {
    padding: 15px 16px;
  }

  .teleprompter-text {
    align-content: start;
    padding: 28px 20px;
    font-size: calc(1.6rem * var(--teleprompter-scale));
  }

  .teleprompter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .teleprompter-actions .font-controls,
  .teleprompter-actions .button:last-child {
    grid-column: 1 / -1;
  }

  .teleprompter-actions .font-controls {
    width: 100%;
    margin: 0;
  }

  .teleprompter-actions .font-controls .button {
    flex: 1 1 auto;
  }

  .teleprompter-speed,
  .teleprompter-actions > .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    flex-direction: column;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .global-search input {
    font-size: 0.78rem;
  }

  .search-suggestions {
    position: fixed;
    top: 66px;
    right: 8px;
    left: 8px;
  }

  .search-suggestions-heading span {
    display: none;
  }

  .journey-nav {
    grid-template-columns: 1fr;
  }

  .journey-nav a {
    min-height: 90px;
  }

  .speech-structure {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    padding: 17px;
  }

  .verification-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .territory-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segmented-control button span {
    display: none;
  }

  .launch-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .launch-photo-wrap {
    min-height: 290px;
  }

  .launch-photo-label {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .friday-actions .button,
  .agenda-actions .button,
  .calendar-actions .button {
    width: 100%;
  }

  .launch-schedule li {
    grid-template-columns: 54px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    --paper: #fff;
  }

  body {
    background: #fff;
  }

  .sidebar,
  .topbar,
  .load-alert,
  .filter-bar,
  .hero-actions,
  .segmented-control,
  .page-footer,
  .export-card .button {
    display: none !important;
  }

  .page-frame {
    margin-left: 0;
  }

  main {
    width: 100%;
    padding: 0;
  }

  .section {
    padding: 22px 0;
    break-inside: avoid;
  }

  h1 {
    font-size: 30pt;
  }

  h2 {
    font-size: 19pt;
  }

  .panel,
  .metric-card,
  .agenda-card,
  .verification-card,
  .risk-card,
  .export-card {
    box-shadow: none;
    break-inside: avoid;
  }

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

  .territory-grid,
  .dossier-grid,
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .agenda-details,
  .agenda-details-body,
  .agenda-details-body section {
    display: block !important;
  }
}

/* Piso de legibilidade: 14 px para conteúdo operacional e 12 px para metadados. */
.button,
.activity-item strong,
.queue-item strong,
.empty-state p,
.text-button,
.territory-shortcuts button,
.region-card h4,
.region-card p,
.dossier-text,
.dossier-fact span,
.topic-item span,
.dossier-fact strong,
.topic-item strong,
table,
.segmented-control button,
.analysis-item p,
.agenda-card p,
.risk-card p,
.agenda-details > summary,
.agenda-details-body h4,
.agenda-details-body ol,
.export-card p,
.button-small,
.quick-flow p,
.friday-reason,
.content-block p,
.content-block li,
.source-block a,
.launch-schedule li,
.agenda-quick-reason span,
.legal-banner p,
.calendar-phase-card p,
.calendar-objective,
.calendar-action,
.calendar-details > summary,
.calendar-sources a,
.tone-options-heading p,
.tone-option > summary strong,
.tone-option > summary span,
.global-search input {
  font-size: 0.875rem;
}

.brand small,
.environment-badge,
.sidebar-note,
.topbar-meta,
.load-alert,
.alert-icon,
.eyebrow,
.metric-card span,
.metric-card small,
.panel-heading p:not(.eyebrow),
.panel-caption,
.map-caption,
.status-pill,
.count-badge,
.verification-legend,
.activity-item small,
.queue-item small,
.filter-bar label,
.tag,
.dossier-controls label,
.topic-item small,
.dossier-note,
.proof-gaps,
th,
.table-method-note,
.segmented-control button span,
.agenda-details-body a,
.verification-card span:not(.verification-symbol),
.verification-card small,
.export-note,
.page-footer,
.launch-numbers span,
.launch-photo-label span,
.quick-flow article > span,
.friday-kicker,
.plain-pill,
.friday-details > summary,
.content-block h4,
.agenda-quick-reason strong,
.legal-banner strong,
.calendar-phase-card span,
.calendar-date span,
.calendar-date small,
.calendar-countdown,
.calendar-action strong,
.calendar-milestone {
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  #dossie .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  #dossie .dossier-controls {
    width: 100%;
    max-width: none;
  }

  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.noscript-alert {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--danger);
  border-radius: 12px;
  color: var(--danger);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-weight: 750;
  text-align: center;
}

/* Identidade 1515 — paleta oficial aplicada à central operacional. */
@media screen {
  body {
    background:
      radial-gradient(circle at 92% 3%, rgba(255, 133, 0, 0.16), transparent 28rem),
      linear-gradient(180deg, #fffaf0 0%, var(--paper) 34rem, #fffaf2 100%);
  }

  .sidebar {
    color: #fff7e1;
    background:
      linear-gradient(118deg, transparent 69%, rgba(255, 201, 77, 0.09) 69%, rgba(255, 201, 77, 0.09) 72%, transparent 72%),
      linear-gradient(118deg, transparent 78%, rgba(255, 133, 0, 0.12) 78%, rgba(255, 133, 0, 0.12) 84%, transparent 84%),
      linear-gradient(155deg, #0f1a30 0%, #1d2a44 62%, #0a1020 100%);
  }

  .brand-mark {
    width: 58px;
    height: 36px;
    border: 2px solid var(--gold-500);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(145deg, var(--brand-500), var(--brand-600));
    box-shadow: 0 10px 28px rgba(255, 133, 0, 0.28);
    font-size: 0.88rem;
    font-style: italic;
    font-weight: 950;
    letter-spacing: -0.035em;
  }

  .brand small,
  .nav-link,
  .sidebar-note {
    color: #c8cfdb;
  }

  .nav-link span {
    color: #ffb354;
  }

  .nav-link:hover,
  .nav-link.is-active {
    color: #fff;
  }

  .nav-link.is-active {
    background: linear-gradient(90deg, rgba(255, 133, 0, 0.3), rgba(255, 133, 0, 0.06));
    box-shadow: inset 3px 0 0 var(--gold-500);
  }

  .nav-link-launch {
    color: #fff;
    background: rgba(255, 133, 0, 0.18);
  }

  .environment-badge {
    border-color: rgba(255, 201, 77, 0.28);
    color: #ffe2a0;
    background: rgba(255, 133, 0, 0.15);
  }

  .status-dot {
    background: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(255, 201, 77, 0.13);
  }

  .sidebar-note b,
  .nav-link.is-active span {
    color: var(--gold-500);
  }

  .topbar {
    border-bottom-color: rgba(29, 42, 68, 0.14);
    background: rgba(255, 247, 225, 0.93);
  }

  .search-suggestions {
    box-shadow: 0 22px 60px rgba(15, 26, 48, 0.2);
  }

  .global-search input:focus {
    box-shadow: 0 0 0 4px rgba(255, 133, 0, 0.17);
  }

  .campaign-lockup {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding: 14px 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 201, 77, 0.78);
    border-radius: 18px;
    color: #fff;
    background:
      linear-gradient(112deg, transparent 64%, rgba(255, 247, 225, 0.17) 64%, rgba(255, 247, 225, 0.17) 69%, transparent 69%),
      linear-gradient(112deg, transparent 76%, rgba(255, 201, 77, 0.22) 76%, rgba(255, 201, 77, 0.22) 82%, transparent 82%),
      linear-gradient(110deg, var(--brand-500) 0%, var(--brand-600) 62%, var(--brand-700) 100%);
    box-shadow: 0 18px 45px rgba(224, 83, 0, 0.2);
  }

  .campaign-chevron {
    color: var(--gold-100);
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -0.12em;
  }

  .campaign-lockup-copy strong,
  .campaign-lockup-copy small {
    display: block;
  }

  .campaign-lockup-copy strong {
    font-size: clamp(1.05rem, 2.2vw, 1.55rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1;
    text-transform: uppercase;
  }

  .campaign-lockup-copy small {
    margin-top: 5px;
    color: #fff4d8;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .campaign-number {
    min-width: 116px;
    padding: 8px 18px;
    border: 3px solid var(--gold-500);
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 26, 48, 0.93);
    box-shadow: 0 10px 28px rgba(15, 26, 48, 0.25);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-style: italic;
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 1;
    text-align: center;
  }

  .hero-title {
    display: grid;
    max-width: 980px;
    font-size: clamp(2.85rem, 6.5vw, 6.35rem);
    line-height: 0.87;
    letter-spacing: -0.065em;
    text-transform: uppercase;
  }

  .hero-title span,
  .hero-title strong {
    display: block;
  }

  .hero-title strong {
    color: var(--brand-600);
    font-weight: 950;
  }

  .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-700);
  }

  .eyebrow::before {
    color: var(--brand-500);
    content: "›››";
    font-weight: 950;
    letter-spacing: -0.1em;
  }

  .hero-search-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
  }

  .hero-search-strip > span {
    margin-right: 3px;
    color: var(--brand-800);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-search-strip button {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--brand-800);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    font-weight: 780;
    cursor: pointer;
  }

  .hero-search-strip button:hover,
  .hero-search-strip button:focus-visible {
    border-color: var(--brand-500);
    color: #fff;
    background: var(--brand-800);
  }

  .button-primary {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
    box-shadow: 0 10px 24px rgba(184, 66, 0, 0.2);
  }

  .button-primary:hover {
    background: linear-gradient(135deg, var(--brand-800), var(--brand-900));
  }

  .metric-card-primary {
    background: linear-gradient(145deg, var(--brand-500), var(--brand-600) 68%, var(--brand-700));
    box-shadow: 0 18px 34px rgba(224, 83, 0, 0.2);
  }

  .metric-card-primary span,
  .metric-card-primary small {
    color: #fff2d6;
  }

  .journey-nav a > span {
    color: rgba(255, 133, 0, 0.14);
  }

  .journey-nav a:hover {
    box-shadow: 0 15px 30px rgba(15, 26, 48, 0.13);
  }

  .launch-section {
    border-color: rgba(255, 201, 77, 0.27);
    color: #fff;
    background:
      radial-gradient(circle at 88% 4%, rgba(255, 133, 0, 0.31), transparent 28rem),
      linear-gradient(145deg, #0f1a30, #1d2a44 65%, #0a1020);
    box-shadow: 0 30px 80px rgba(15, 26, 48, 0.25);
  }

  .launch-copy .eyebrow,
  .launch-list-heading .eyebrow,
  .launch-schedule .eyebrow,
  .launch-photo-label span,
  .launch-numbers strong,
  .launch-schedule time {
    color: var(--gold-500);
  }

  .launch-copy > p:not(.eyebrow),
  .launch-list-heading .section-description,
  .launch-numbers span,
  .quick-flow p,
  .launch-schedule li {
    color: #cbd3df;
  }

  .button-light {
    color: var(--brand-900);
    background: var(--gold-500);
  }

  .button-light:hover {
    background: #ffdb7b;
  }

  .launch-photo-wrap::after {
    background: linear-gradient(90deg, #0f1a30 0%, transparent 34%), linear-gradient(0deg, rgba(10, 16, 32, 0.84), transparent 58%);
  }

  .launch-photo-label {
    background: rgba(15, 26, 48, 0.78);
  }

  .quick-flow article,
  .tone-options-heading,
  .teleprompter-header,
  .teleprompter-actions {
    background: var(--brand-900);
  }

  .quick-flow article > span {
    color: var(--brand-900);
    background: var(--gold-500);
  }

  .speech-card {
    background: linear-gradient(145deg, #fffdf7, #fff2d5) !important;
    box-shadow: inset 5px 0 0 var(--brand-500), 0 12px 26px rgba(15, 26, 48, 0.08) !important;
  }

  .speech-badge {
    background: var(--brand-800);
  }

  .script-block,
  .agenda-quick-reason {
    border-color: #ffc46f !important;
    background: #fff7e1 !important;
    box-shadow: inset 4px 0 0 var(--brand-500);
  }

  .teleprompter-dialog {
    color: #fff;
    background: #080d19;
    box-shadow: 0 36px 120px rgba(10, 16, 32, 0.62);
  }

  .teleprompter-dialog::backdrop {
    background: rgba(10, 16, 32, 0.82);
  }

  .teleprompter-header .eyebrow,
  .teleprompter-text span:first-child {
    color: var(--gold-500);
  }

  .teleprompter-header p:last-child {
    color: #bdc7d7;
  }

  .calendar-date {
    background: linear-gradient(150deg, var(--brand-800), var(--brand-900));
  }

  .calendar-date span {
    color: var(--gold-500);
  }

  .calendar-date small {
    color: #ccd3df;
  }

  .mobile-backdrop {
    background: rgba(10, 16, 32, 0.58);
  }
}

@media screen and (max-width: 680px) {
  .campaign-lockup {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 12px;
  }

  .campaign-number {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .campaign-lockup-copy small {
    letter-spacing: 0.045em;
  }

  .hero-title {
    font-size: clamp(2.55rem, 13.5vw, 4.25rem);
    line-height: 0.91;
  }

  .hero-search-strip > span {
    width: 100%;
  }
}
