:root {
  --navy-950: #091728;
  --navy-900: #0f2540;
  --navy-800: #18385f;
  --navy-700: #234d7f;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --amber-500: #d97706;
  --amber-400: #f59e0b;
  --amber-100: #fef3c7;
  --amber-900: #78350f;
  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --emerald-900: #065f46;
  --coral-600: #dc2626;
  --coral-100: #fee2e2;
  --coral-900: #991b1b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-400), #ea580c);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 11px;
  color: #94a3b8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-800);
}

.btn-accent,
.btn-amber {
  background: var(--amber-400);
  color: var(--navy-950);
}

.btn-accent:hover,
.btn-amber:hover {
  background: #fbbf24;
}

.btn-outline {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--navy-700);
  background: var(--slate-50);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--slate-600);
}

.btn-ghost-dark:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pill-amber {
  background: var(--amber-100);
  color: var(--amber-900);
}

.pill-slate {
  background: #e2e8f0;
  color: var(--slate-700);
}

.pill-emerald {
  background: var(--emerald-100);
  color: var(--emerald-900);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, #153152 100%);
  color: var(--white);
  padding: 48px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--amber-400);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: #cbd5e1;
  max-width: 640px;
}

.hero-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.kpi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kpi-highlight {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.42);
}

.kpi-label {
  font-size: 12px;
  color: #cbd5e1;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--white);
  overflow-wrap: anywhere;
}

.kpi-sub {
  font-size: 12px;
  color: #94a3b8;
}

/* Sub Hero */
.sub-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 36px 0 40px;
}

.sub-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.sub-lead {
  margin: 0;
  color: #cbd5e1;
  max-width: 780px;
  font-size: 15px;
}

.back-link {
  display: inline-block;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Sections */
.section {
  padding: 44px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--slate-600);
  margin: 0;
  font-size: 14px;
}

.quota-pill {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--slate-700);
  white-space: nowrap;
}

.quota-pill strong {
  font-family: var(--font-mono);
  color: var(--navy-900);
}

/* Filter Workbench */
.filter-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

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

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

.field label,
.form-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--white);
}

input:focus,
select:focus {
  outline: 2px solid rgba(35, 77, 127, 0.25);
  border-color: var(--navy-700);
}

.field-actions {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.field-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  flex-wrap: wrap;
}

.status-text {
  font-size: 13px;
  color: var(--slate-600);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate-700);
  cursor: pointer;
}

/* Radar Table */
.table-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.radar-table,
.compact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.radar-table {
  min-width: 880px;
}

.compact-table {
  min-width: 520px;
}

.radar-table th,
.compact-table th {
  text-align: left;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 11px 12px;
  border-bottom: 1px solid var(--slate-200);
  white-space: nowrap;
}

.radar-table td,
.compact-table td {
  padding: 12px;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.radar-table tbody tr:hover,
.compact-table tbody tr:hover {
  background: #f8fafc;
}

.col-title {
  max-width: 340px;
}

.contract-title {
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.winner-name {
  font-weight: 600;
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

.cell-sub {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.col-money strong,
.mono-date {
  font-family: var(--font-mono);
  white-space: nowrap;
}

.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: #eef2ff;
  color: #1e3a8a;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.ted-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-700);
  white-space: nowrap;
}

.urgency-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.urgency-urgent_3_6m,
.urgency-imminent_lt3m {
  background: var(--coral-100);
  color: var(--coral-900);
}

.urgency-prime_6_9m {
  background: var(--amber-100);
  color: var(--amber-900);
}

.urgency-watch_9_18m {
  background: var(--emerald-100);
  color: var(--emerald-900);
}

.urgency-long_term,
.urgency-expired_recent {
  background: var(--slate-100);
  color: var(--slate-700);
}

/* Cards & Grids */
.feature-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.info-card,
.guide-card,
.tool-box,
.plan-card,
.prose-card,
.wechat-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.card-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-500);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.info-card h3,
.guide-card h3,
.guide-card h2 {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.guide-card h2 a,
.guide-card h3 a,
.guide-card h4 a {
  color: var(--slate-900);
}

.info-card p,
.guide-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--slate-600);
}

.guide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.text-link {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy-700);
}

/* Tools Page */
.tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.cpv-search-row {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
}

.cpv-search-row input[type="search"],
.cpv-search-row input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  font-size: 13.5px;
}

.cpv-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.chip-btn {
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.chip-btn:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.chip-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.roi-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.roi-output {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.roi-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.roi-metric {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-metric span {
  font-size: 12px;
  color: var(--slate-600);
}

.roi-metric strong {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--navy-900);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 104px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  font-size: 13px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.plan-featured {
  border: 2px solid var(--amber-400);
  box-shadow: var(--shadow-md);
}

.plan-card h2 {
  margin: 10px 0 8px;
  font-size: 19px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price strong {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--navy-950);
}

.plan-price span {
  font-size: 13px;
  color: var(--slate-500);
}

.plan-cny {
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald-900);
  margin: 4px 0 10px;
}

.plan-desc {
  font-size: 13px;
  color: var(--slate-600);
  margin: 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-700);
}

.wechat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.wechat-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.meta-chip {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-chip span {
  font-size: 12px;
  color: var(--slate-500);
}

.meta-chip strong {
  font-family: var(--font-mono);
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Articles & Legal */
.article-wrap {
  max-width: 860px;
}

.prose-card h2 {
  margin: 22px 0 10px;
  font-size: 20px;
  color: var(--navy-950);
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p {
  margin: 0 0 14px;
  color: var(--slate-700);
  font-size: 15px;
}

.callout-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--navy-900);
}

.callout-box h3 {
  margin: 0 0 6px;
}

.callout-box p {
  margin: 0;
}

.article-cta {
  margin-top: 26px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-cta h3 {
  margin: 0 0 4px;
}

.article-cta p {
  margin: 0;
  font-size: 14px;
}

.related-block {
  margin-top: 28px;
}

/* Breadcrumbs, Comparison & FAQ Blocks */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: #fbbf24;
  font-weight: 500;
}

.hero-cta-top {
  margin-top: 20px;
}

.compliance-banner {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--slate-700);
  line-height: 1.55;
}

.table-card-inset {
  margin: 16px 0 22px;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th {
  text-align: left;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 11px 12px;
  border-bottom: 1px solid var(--navy-800);
}

.compare-table td {
  padding: 12px;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
  color: var(--slate-700);
  line-height: 1.5;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--slate-50);
}

.compare-dim {
  font-weight: 700;
  color: var(--navy-950) !important;
  white-space: normal;
  min-width: 140px;
}

.compare-win {
  color: var(--navy-900) !important;
  font-weight: 500;
}

.faq-block {
  margin-top: 28px;
}

.faq-block h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--navy-950);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy-950);
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

.compare-spotlight {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--amber-400);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.compare-spotlight > div:first-child {
  flex: 1 1 480px;
  min-width: 0;
}

.compare-spotlight h2,
.compare-spotlight h3 {
  margin: 8px 0 6px;
  font-size: 19px;
  line-height: 1.3;
}

.compare-spotlight h2 a,
.compare-spotlight h3 a {
  color: var(--navy-950);
}

/* 180-Day EU Tender Deadline & ICS Scheduler */
.preset-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.preset-strip-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

.preset-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.preset-btn strong {
  font-size: 13px;
}

.preset-btn span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
}

.preset-btn:hover {
  border-color: var(--navy-700);
  background: var(--slate-50);
}

.preset-btn.active {
  border-color: var(--amber-500);
  background: #fffbeb;
  box-shadow: var(--shadow-sm);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

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

.export-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.export-bar .btn {
  flex: 1 1 180px;
}

.sidebar-upsell {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.sidebar-upsell h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy-950);
}

.sidebar-upsell .cta-band-actions {
  margin-top: 12px;
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 13px 15px;
}

.milestone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.milestone-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.milestone-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  color: var(--navy-950);
  line-height: 1.35;
}

.milestone-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.55;
}

.ms-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ms-status-upcoming {
  background: var(--emerald-100);
  color: var(--emerald-900);
}

.ms-status-urgent {
  background: var(--amber-100);
  color: var(--amber-900);
}

.ms-status-passed {
  background: var(--coral-100);
  color: var(--coral-900);
}

.md-preview-details {
  margin-top: 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  background: var(--slate-50);
}

.md-preview-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
}

.md-preview-box {
  margin: 10px 0 0;
  padding: 12px;
  background: var(--navy-950);
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
  max-width: 100%;
  white-space: pre;
}

.sr-copy-area {
  position: fixed;
  top: -9999px;
  left: -9999px;
  opacity: 0;
}

/* EU CPV Code & Mandatory TED Threshold Lookup */
.cpv-threshold-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: start;
}

.cpv-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.copy-toast {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-900);
}

.cpv-table-scroll {
  max-height: 640px;
  overflow-y: auto;
}

.cpv-lookup-table {
  min-width: 560px;
}

.cpv-code-cell {
  white-space: nowrap;
}

.cpv-tip {
  margin-top: 4px;
  font-size: 12px;
  color: var(--navy-800);
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 5px;
  line-height: 1.45;
}

.cpv-action-cell {
  white-space: nowrap;
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
}

.empty-cell {
  text-align: center;
  padding: 24px 12px !important;
  color: var(--slate-500);
}

.th-verdict {
  margin: 16px 0 18px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.th-verdict-mandatory {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #064e3b;
}

.th-verdict-near {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #78350f;
}

.th-verdict-below {
  background: var(--slate-100);
  border-color: #cbd5e1;
  color: var(--slate-900);
}

.th-verdict-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.th-verdict-head {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.th-verdict-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.sub-card-title {
  margin: 18px 0 8px;
  font-size: 15px;
  color: var(--navy-950);
}

.th-matrix-table {
  min-width: 360px;
}

.th-cell-active {
  background: #fef3c7 !important;
  color: #78350f !important;
  font-weight: 800;
}

/* EU Tender Bid ROI & 180-Day Early-Capture Calculator */
.bid-roi-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

.roi-metric small {
  font-size: 11px;
  color: var(--slate-500);
  line-height: 1.35;
}

.roi-metric-highlight {
  background: #eff6ff;
  border-color: #93c5fd;
}

.roi-metric-uplift {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.roi-metric-uplift strong {
  color: var(--emerald-900);
}

.roi-pos {
  color: var(--emerald-900);
  font-weight: 700;
}

.meter-compare-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  margin: 14px 0 18px;
}

.meter-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-700);
}

.meter-label strong {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy-950);
}

.roi-meter {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  border: none;
  background: var(--slate-200);
}

.roi-meter::-webkit-meter-bar {
  background: var(--slate-200);
  border-radius: 999px;
  border: none;
}

.roi-meter-slate::-webkit-meter-optimum-value {
  background: var(--slate-500);
  border-radius: 999px;
}

.roi-meter-emerald::-webkit-meter-optimum-value {
  background: var(--emerald-600);
  border-radius: 999px;
}

.roi-meter-slate::-moz-meter-bar {
  background: var(--slate-500);
  border-radius: 999px;
}

.roi-meter-emerald::-moz-meter-bar {
  background: var(--emerald-600);
  border-radius: 999px;
}

.roi-compare-table {
  min-width: 460px;
}

/* EU Tender MEAT Score & Safe Price-Premium Simulator */
.meat-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 22px;
  align-items: start;
}

.weight-grid,
.bidder-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.weight-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.weight-status {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  flex: 1 1 220px;
}

.weight-ok {
  background: var(--emerald-100);
  color: var(--emerald-900);
}

.weight-warn {
  background: var(--amber-100);
  color: var(--amber-900);
}

.bidder-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bidder-card-us {
  background: #f0fdf4;
  border-color: #86efac;
}

.bidder-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.bidder-card-head strong {
  font-size: 14px;
  color: var(--navy-950);
}

.meat-scoreboard-table {
  min-width: 560px;
}

.meat-row-us {
  background: #ecfdf5 !important;
}

/* Printable B2G Sample Renewal Brief */
.copy-toast-hero {
  display: inline-block;
  margin-top: 12px;
}

.report-sheet {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.report-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--navy-900);
}

.report-sheet-header h2 {
  margin: 6px 0 6px;
  font-size: 22px;
  color: var(--navy-950);
  line-height: 1.3;
}

.report-watermark-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--amber-100);
  color: var(--amber-900);
  border: 1px solid #fcd34d;
}

.report-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 26px;
}

.report-kpi {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-kpi span {
  font-size: 12px;
  color: var(--slate-600);
}

.report-kpi strong {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--navy-950);
}

.report-kpi small {
  font-size: 11px;
  color: var(--slate-500);
}

.report-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--slate-200);
}

.report-section-head h3 {
  margin: 6px 0 6px;
  font-size: 19px;
  color: var(--navy-950);
}

.report-table {
  min-width: 720px;
}

.report-window-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 4px;
}

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

.report-step-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 14px;
}

.report-step-card h4 {
  margin: 8px 0 6px;
  font-size: 14px;
  color: var(--navy-950);
  line-height: 1.35;
}

.report-step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.5;
}

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

.pitfall-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.pitfall-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--amber-900);
}

.pitfall-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-700);
  line-height: 1.5;
}

/* CTA Band */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 36px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.cta-band p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
}

.cta-band-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 40px 0 24px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-note {
  margin: 0 0 10px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-ecosystem {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eco-title {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

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

.eco-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 12px;
  min-width: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.eco-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  text-decoration: none;
}

.eco-link strong {
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.eco-link span {
  color: #94a3b8;
  font-size: 11px;
  text-align: right;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  flex-wrap: wrap;
  font-size: 12px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 23, 40, 0.65);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-card-sm {
  max-width: 440px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h3 {
  margin: 8px 0 6px;
  font-size: 19px;
}

.modal-close {
  border: none;
  background: var(--slate-100);
  color: var(--slate-700);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-sub {
  margin: 4px 0 16px;
  font-size: 13px;
  color: var(--slate-600);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

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

.modal-status {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.modal-status.ok {
  background: var(--emerald-100);
  color: var(--emerald-900);
}

.modal-status.err {
  background: var(--coral-100);
  color: var(--coral-900);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

/* Responsive Breakpoints (Tablet & 375px Mobile Zero-Overflow) */
@media (max-width: 1024px) {
  .hero-grid,
  .tools-layout,
  .calendar-layout,
  .cpv-threshold-layout,
  .bid-roi-layout,
  .meat-layout,
  .wechat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-kpi-grid,
  .report-timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eco-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }
  .feature-grid,
  .guide-grid,
  .guide-grid-2,
  .pricing-grid,
  .report-kpi-grid,
  .report-timeline-grid,
  .pitfall-grid,
  .footer-grid,
  .eco-links,
  .form-row-2,
  .weight-grid,
  .bidder-inputs,
  .wechat-meta,
  .filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .report-sheet {
    padding: 16px;
  }
  .kpi-panel,
  .roi-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .preset-btn {
    width: 100%;
  }
  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .cpv-search-row {
    flex-direction: column;
  }
  .hero {
    padding: 32px 0 36px;
  }
  .section {
    padding: 32px 0;
  }
  .header-inner {
    gap: 10px;
  }
  .main-nav {
    width: 100%;
    order: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
  }
  .nav-link {
    font-size: 13px;
    padding: 5px 8px;
  }
  .header-actions {
    gap: 6px;
  }
  .btn-sm {
    padding: 5px 9px;
    font-size: 12px;
  }
}

/* 10-Tool Directory Grid (5x2 Symmetric Desktop Grid), Capture Timeline Deliverables & Go/No-Go Scorer */
.tool-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.milestone-deliverable {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed var(--slate-200);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-800);
}

.table-footnote {
  margin: -6px 0 18px;
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
}

.gng-slider-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gng-dim-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 11px 13px;
}

.gng-dim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.gng-dim-head label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-950);
}

.gng-range {
  width: 100%;
  accent-color: var(--navy-700);
  cursor: pointer;
}

.gng-dim-hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.45;
}

.gng-verdict-green {
  background: #ecfdf5;
  border-color: #6ee7b7;
  border-left: 4px solid #059669;
}

.gng-verdict-yellow {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left: 4px solid #d97706;
}

.gng-verdict-red {
  background: #fef2f2;
  border-color: #fca5a5;
  border-left: 4px solid #dc2626;
}

.pill-red {
  background: #fee2e2;
  color: #991b1b;
}

.roi-meter-amber::-webkit-meter-optimum-value {
  background: #d97706;
}

.roi-meter-amber::-moz-meter-bar {
  background: #d97706;
}

.roi-meter-red::-webkit-meter-optimum-value {
  background: #dc2626;
}

.roi-meter-red::-moz-meter-bar {
  background: #dc2626;
}

.gng-action-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gng-action-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 11px 13px;
}

.gng-action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.gng-action-head strong {
  font-size: 13px;
  color: var(--navy-950);
}

.gng-action-item p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .tool-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tool-directory-grid {
    grid-template-columns: 1fr;
  }
}

/* B2G 3-Way Comparison Hub (/compare) */
.compare-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compare-option-card,
.persona-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-option-highlight {
  border-color: var(--emerald-600);
  border-width: 2px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 38%);
  box-shadow: var(--shadow-md);
}

.compare-option-card h3,
.persona-card h3 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.35;
  color: var(--navy-950);
}

.compare-option-sub {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  line-height: 1.5;
}

.compare-bullet-list {
  margin: 2px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.55;
  flex: 1 1 auto;
}

.compare-option-verdict {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--slate-200);
  font-size: 12.5px;
  color: var(--navy-900);
  line-height: 1.5;
}

.persona-pain,
.persona-stack {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate-600);
}

.persona-stack {
  flex: 1 1 auto;
  color: var(--slate-700);
}

.compare-matrix-4col {
  min-width: 780px;
}

.compare-roi-note {
  margin-top: 12px;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.compare-faq-block {
  margin-top: 0;
}

.compare-wide-wrap {
  max-width: 1120px;
}

.compare-contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 16px 0 26px;
}

.compare-contrast-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-contrast-card-win {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 50%);
  border: 2px solid var(--emerald-600);
  box-shadow: var(--shadow-sm);
}

.compare-contrast-card h3 {
  margin: 2px 0 0;
  font-size: 17px;
  line-height: 1.38;
  color: var(--navy-950);
}

.compare-persona-inset {
  margin: 16px 0 24px;
}

@media (max-width: 960px) {
  .compare-three-grid,
  .compare-contrast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* EU/UK CPV Code Lookup & Watchlist Builder (/tools/eu-cpv-code-lookup) */
.cpv-check-col,
.cpv-check-cell {
  width: 38px;
  text-align: center;
}

.cpv-check-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cpv-check-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy-700);
  cursor: pointer;
}

.cpv-row-selected {
  background: #f0fdf4 !important;
}

.cpv-radar-link {
  margin-left: 6px;
  font-size: 12px;
}

.watchlist-panel {
  position: sticky;
  top: 84px;
}

.watchlist-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.watchlist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  margin: 12px 0 16px;
  min-height: 52px;
  align-items: center;
}

.watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 12px;
  font-family: var(--font-mono);
}

.watch-pill-rm {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}

.watch-pill-rm:hover {
  color: #ffffff;
}

.watchlist-block {
  margin-bottom: 14px;
}

.watchlist-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--navy-950);
}

.watchlist-code-box {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--navy-950);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 100%;
}

.watchlist-actions {
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .watchlist-panel {
    position: static;
  }
}

/* EU ESPD 16-Point Bid Eligibility Checker (/tools/eu-espd-bid-eligibility-checker) */
.espd-bid-name-row {
  margin-bottom: 16px;
}

.espd-group-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.espd-group-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  padding: 14px;
}

.espd-group-exclusion {
  border-color: #fca5a5;
  background: #fff7f7;
}

.espd-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.espd-group-head h3 {
  margin: 6px 0 4px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--navy-950);
}

.espd-group-sub {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate-600);
}

.espd-item-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.espd-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}

.espd-item-row.espd-state-ready {
  border-left-color: #059669;
}

.espd-item-row.espd-state-partial {
  border-left-color: #d97706;
  background: #fffdf5;
}

.espd-item-row.espd-state-gap {
  border-left-color: #dc2626;
  background: #fff8f8;
}

.espd-item-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.espd-item-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.espd-item-title-line strong {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--navy-950);
}

.espd-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.espd-tag-red {
  background: #fee2e2;
  color: #991b1b;
}

.espd-tag-emerald {
  background: #d1fae5;
  color: #065f46;
}

.espd-tag-slate {
  background: #e2e8f0;
  color: #334155;
}

.espd-item-hint {
  font-size: 12px;
  line-height: 1.48;
  color: var(--slate-600);
}

.espd-seg-group {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--slate-100);
}

.espd-seg-btn {
  border: none;
  background: transparent;
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.espd-seg-btn + .espd-seg-btn {
  border-left: 1px solid var(--slate-200);
}

.espd-seg-btn.active.is-ready {
  background: #059669;
  color: #ffffff;
}

.espd-seg-btn.active.is-partial {
  background: #d97706;
  color: #ffffff;
}

.espd-seg-btn.active.is-gap {
  background: #dc2626;
  color: #ffffff;
}

.espd-knockout-box {
  background: #fef2f2;
  border: 1px solid #f87171;
  border-left: 5px solid #dc2626;
  border-radius: var(--radius-md);
  padding: 13px 14px;
  margin-bottom: 14px;
}

.espd-knockout-title {
  font-size: 14px;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 5px;
}

.espd-knockout-box p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #7f1d1d;
}

.espd-knockout-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #7f1d1d;
}

.espd-export-bar {
  margin-top: 12px;
  margin-bottom: 12px;
}

.sr-copy-buffer {
  position: fixed;
  left: -9999px;
  top: 0;
  opacity: 0;
}

@media (max-width: 720px) {
  .espd-item-row {
    flex-direction: column;
  }
  .espd-seg-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .espd-seg-btn {
    padding: 7px 4px;
    text-align: center;
    font-size: 11.5px;
  }
}

/* EU Tender MEAT Price-Quality Scoring Calculator (/tools/eu-tender-meat-scoring-calculator) */
.mc-rule-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-rule-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.mc-weight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.mc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mc-chip-row .chip-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.mc-weight-badges {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mc-formula-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mc-formula-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.mc-formula-btn strong {
  font-size: 13px;
  color: var(--navy-950);
}

.mc-formula-btn span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
  word-break: break-word;
}

.mc-formula-btn:hover {
  border-color: var(--navy-700);
}

.mc-formula-btn.active {
  border-color: var(--navy-800);
  background: #eff6ff;
  box-shadow: var(--shadow-sm);
}

.mc-formula-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-600);
}

.mc-bidder-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-bidder-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 200px;
  min-width: 0;
}

.mc-enable-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
  cursor: pointer;
}

.mc-enable-toggle input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--navy-700);
}

.mc-name-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
}

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

.mc-bidder-disabled {
  opacity: 0.56;
}

.mc-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.mc-decision-card {
  border-radius: var(--radius-md);
  padding: 14px 15px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mc-card-win {
  background: #ecfdf5;
  border-color: #6ee7b7;
  border-left: 4px solid #059669;
}

.mc-card-chase {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left: 4px solid #d97706;
}

.mc-card-tech {
  background: #eff6ff;
  border-color: #93c5fd;
  border-left: 4px solid #1d4ed8;
}

.mc-card-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--slate-600);
}

.mc-card-big {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy-950);
  word-break: break-word;
}

.mc-card-delta {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
}

.mc-card-desc {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-600);
}

.mc-cut5-strip {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--navy-700);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate-800);
  margin-bottom: 16px;
}

.mc-cut5-warn {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: #d97706;
  color: #78350f;
}

.mc-cut5-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  border-left-color: #059669;
  color: #064e3b;
}

.mc-svg-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  margin-bottom: 16px;
}

.mc-svg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.mc-svg-title {
  margin: 0 !important;
}

.mc-svg-legend {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--slate-700);
}

.mc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mc-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.mc-dot-price {
  background: #2563eb;
}

.mc-dot-tech {
  background: #059669;
}

.mc-svg-wrap {
  width: 100%;
  overflow: hidden;
}

.mc-svg-chart {
  display: block;
  width: 100%;
  height: auto;
}

.mc-svg-grid-line {
  stroke: #cbd5e1;
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.mc-svg-leader-line {
  stroke: #d97706;
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

.mc-svg-axis-text {
  fill: #64748b;
  font-size: 11px;
  font-family: var(--font-mono);
}

.mc-svg-name {
  fill: #334155;
  font-size: 12px;
  font-weight: 600;
}

.mc-svg-name-us {
  fill: #065f46;
  font-weight: 800;
}

.mc-svg-track {
  fill: #e2e8f0;
}

.mc-svg-bar-price {
  fill: #2563eb;
}

.mc-svg-bar-tech {
  fill: #059669;
}

.mc-svg-score {
  fill: #0f172a;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.mc-svg-score-win {
  fill: #065f46;
  font-weight: 800;
}

.mc-leaderboard-table {
  min-width: 560px;
}

.mc-champ-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-900);
  font-size: 11px;
  font-weight: 700;
}

.mc-gap-neg {
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 720px) {
  .mc-formula-toggle,
  .mc-decision-grid,
  .mc-bidder-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .mc-card-big {
    font-size: 20px;
  }
}

/* EU & UK Statutory Deadline & Standstill Calculator (/tools/eu-tender-statutory-deadline-calculator) */
.sd-proc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sd-proc-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sd-proc-btn strong {
  font-size: 13px;
  color: var(--navy-950);
}

.sd-proc-btn span {
  font-size: 11px;
  color: var(--slate-500);
}

.sd-proc-btn:hover {
  border-color: var(--navy-700);
}

.sd-proc-btn.active {
  border-color: var(--navy-800);
  background: #eff6ff;
  box-shadow: var(--shadow-sm);
}

.sd-check-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--slate-200);
  cursor: pointer;
}

.sd-check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy-700);
}

.sd-check-row strong {
  display: block;
  font-size: 13px;
  color: var(--navy-950);
  line-height: 1.35;
}

.sd-check-row span {
  display: block;
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.45;
  margin-top: 2px;
}

.sd-award-sync-row {
  margin-top: 2px;
}

.sd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.sd-kpi-card {
  border-radius: var(--radius-md);
  padding: 13px 14px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sd-kpi-emerald {
  background: #ecfdf5;
  border-color: #6ee7b7;
  border-left: 4px solid #059669;
}

.sd-kpi-amber {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left: 4px solid #d97706;
}

.sd-kpi-coral {
  background: #fef2f2;
  border-color: #fca5a5;
  border-left: 4px solid #dc2626;
}

.sd-kpi-date {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.2;
  color: var(--navy-950);
}

.sd-kpi-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
}

.sd-kpi-card small {
  font-size: 11.5px;
  color: var(--slate-600);
  line-height: 1.4;
}

.sd-dot-bid {
  background: #059669;
}

.sd-dot-standstill {
  background: #dc2626;
}

.sd-svg-chart {
  display: block;
  width: 100%;
  height: auto;
}

.sd-svg-axis {
  stroke: #94a3b8;
  stroke-width: 3;
  stroke-linecap: round;
}

.sd-svg-standstill-band {
  fill: #fee2e2;
  stroke: #f87171;
  stroke-width: 1.2;
}

.sd-svg-stem {
  stroke: #cbd5e1;
  stroke-width: 1.5;
  stroke-dasharray: 2 2;
}

.sd-svg-dot {
  stroke: #ffffff;
  stroke-width: 2;
}

.sd-svg-dot-navy {
  fill: #0f2540;
}

.sd-svg-dot-blue {
  fill: #2563eb;
}

.sd-svg-dot-amber {
  fill: #d97706;
}

.sd-svg-dot-emerald {
  fill: #059669;
}

.sd-svg-dot-slate {
  fill: #475569;
}

.sd-svg-dot-coral {
  fill: #dc2626;
}

.sd-svg-tag {
  fill: #0f2540;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
}

.sd-svg-title {
  fill: #334155;
  font-size: 11px;
  font-weight: 700;
}

.sd-svg-date {
  fill: #475569;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.sd-schedule-table {
  min-width: 520px;
}

@media (max-width: 720px) {
  .sd-proc-grid,
  .sd-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Print / Save-as-PDF Stylesheet for Executive Brief Sharing */
@media print {
  @page {
    size: A4;
    margin: 12mm;
  }
  html,
  body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 11pt;
  }
  .site-header,
  .site-footer,
  .no-print,
  .modal-backdrop {
    display: none !important;
  }
  .report-hero {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 2px solid #0f2540;
    padding: 0 0 12px !important;
  }
  .report-hero h1,
  .report-hero .sub-lead {
    color: #0f172a !important;
  }
  .section {
    padding: 12px 0 !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .report-sheet {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .table-scroll {
    overflow: visible !important;
  }
  .report-table {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 9pt;
  }
  .report-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .report-timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .pitfall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .report-section,
  .report-step-card,
  .pitfall-card,
  .info-card,
  tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
