:root {
  --navy: #0a192f;
  --navy-2: #112240;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f8fafc;
  --white: #ffffff;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-soft: #ccfbf1;
  --blue: #0284c7;
  --green: #15803d;
  --green-bg: #dcfce7;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --red: #b91c1c;
  --red-bg: #fee2e2;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.04);
}

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

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--slate-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 25, 47, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--white);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #cbd5e1;
  font-size: 0.79rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.lang-pill:hover {
  border-color: #2dd4bf;
  color: #ffffff;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  text-align: center;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  text-decoration: none;
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-2);
  text-decoration: none;
}
.btn-outline {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--slate-200);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  text-decoration: none;
}
.btn-sm {
  padding: 7px 13px;
  font-size: 0.82rem;
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #0a192f 0%, #102a4c 65%, #0d3b4c 100%);
  color: var(--white);
  padding: 46px 0 54px;
}
.hero-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #99f6e4;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  max-width: 100%;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-desc {
  margin: 0 0 24px;
  max-width: 820px;
  color: #cbd5e1;
  font-size: 1.02rem;
}

/* Search Box */
.verify-box {
  background: var(--white);
  color: var(--slate-900);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.28);
}
.search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 0.98rem;
  color: var(--slate-900);
  background: var(--white);
}
.search-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

.demo-bar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--slate-600);
}
.demo-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: var(--slate-100);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.demo-chip:hover {
  border-color: var(--teal);
  background: #f0fdfa;
  color: var(--teal-dark);
}

.gdpr-line {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Sections & Cards */
.section {
  padding: 46px 0;
}
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.section-head {
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--navy);
}
.section-head p {
  margin: 0;
  color: var(--slate-600);
  max-width: 780px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  min-width: 0;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-ok { background: var(--green-bg); color: var(--green); }
.badge-warn { background: var(--amber-bg); color: var(--amber); }
.badge-danger { background: var(--red-bg); color: var(--red); }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-neutral { background: var(--slate-100); color: var(--slate-600); }

/* Result Panel */
.result-shell {
  margin-top: 22px;
}
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.result-title {
  margin: 0;
  font-size: 1.18rem;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.result-meta {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.matrix-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  padding: 14px;
  min-width: 0;
}
.matrix-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.matrix-jurisdiction {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.matrix-stat {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 4px 0;
}
.matrix-sub {
  font-size: 0.79rem;
  color: var(--slate-600);
  overflow-wrap: anywhere;
}

.gap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.gap-item {
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 4px solid var(--blue);
  background: #f0f9ff;
  font-size: 0.9rem;
  color: var(--slate-900);
}
.gap-item.high { border-left-color: var(--red); background: #fef2f2; }
.gap-item.medium { border-left-color: var(--amber); background: #fffbeb; }
.gap-item.ok { border-left-color: var(--green); background: #f0fdf4; }

/* Tables (Mobile safe) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}
th {
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
  white-space: nowrap;
}
td {
  overflow-wrap: anywhere;
}
tr:last-child td { border-bottom: none; }

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

/* Pricing */
.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  padding: 20px;
  min-width: 0;
}
.plan-card.featured {
  border-color: var(--teal);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.14);
}
.plan-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 4px;
}
.plan-period {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--slate-500);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  font-size: 0.88rem;
  color: var(--slate-700);
}
.plan-features li {
  padding: 5px 0 5px 18px;
  position: relative;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* SVG Charts */
.svg-chart-wrap {
  width: 100%;
  overflow-x: auto;
}
.svg-chart {
  width: 100%;
  height: auto;
  display: block;
}

/* Prose / Guides / Legal */
.prose {
  max-width: 820px;
}
.prose h2 {
  margin-top: 28px;
  color: var(--navy);
  font-size: 1.25rem;
}
.prose p {
  color: var(--slate-700);
  margin: 10px 0;
}
.callout {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.modal-backdrop.open {
  display: flex;
}
.modal-dialog {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.35);
}
.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.modal-close {
  border: none;
  background: var(--slate-100);
  color: var(--slate-700);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 4px;
}
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
}
.form-msg {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  margin-top: 10px;
  display: none;
}
.form-msg.ok { display: block; background: var(--green-bg); color: var(--green); }
.form-msg.err { display: block; background: var(--red-bg); color: var(--red); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 36px 0 28px;
  margin-top: 32px;
  font-size: 0.86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.9fr 1.45fr;
  gap: 24px;
  margin-bottom: 22px;
}
.footer-eco-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}

/* FDA & EU MDR Pathway Checker */
.pm-q-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pm-fieldset {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--bg);
  min-width: 0;
}
.pm-fieldset legend {
  padding: 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.pm-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  margin-top: 4px;
  border-radius: 7px;
  font-size: 0.84rem;
  color: var(--slate-700);
  cursor: pointer;
}
.pm-opt:hover {
  background: var(--white);
}
.pm-opt input {
  margin-top: 3px;
  flex-shrink: 0;
}
.pm-result-card {
  border-top: 3px solid var(--teal);
}
.pm-pathway-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.pm-meta-row {
  font-size: 0.83rem;
  color: var(--slate-700);
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}

/* FDA UDI GS1 / HIBC Parser */
.udi-textarea {
  resize: vertical;
  min-height: 62px;
  font-size: 0.92rem;
  line-height: 1.5;
  background: var(--bg);
}
.udi-kpi {
  border-top: 3px solid var(--slate-200);
  padding: 14px 16px;
}
.udi-kpi-ok {
  border-top-color: var(--green);
}
.udi-kpi-danger {
  border-top-color: var(--red);
  background: #fff8f8;
}
.udi-kpi-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.udi-kpi-val {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy);
  margin: 5px 0 4px;
  overflow-wrap: anywhere;
}
.udi-kpi-sub {
  font-size: 0.78rem;
  color: var(--slate-600);
  overflow-wrap: anywhere;
}
.udi-recall-card {
  border-radius: 10px;
  padding: 13px 14px;
  border: 1px solid var(--slate-200);
  border-left-width: 4px;
  background: var(--bg);
  min-width: 0;
}
.udi-recall-high {
  border-left-color: var(--red);
  background: #fef2f2;
}
.udi-recall-med {
  border-left-color: var(--amber);
  background: #fffbeb;
}
.udi-recall-low {
  border-left-color: var(--blue);
  background: #f0f9ff;
}

/* Readiness Checker */
.rd-disclaimer-bar {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #cbd5e1;
  max-width: 920px;
}
.rd-preset-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.rd-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.rd-check-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--slate-100);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.rd-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rd-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--slate-700);
  cursor: pointer;
}
.rd-check-item input {
  margin-top: 3px;
  flex-shrink: 0;
}
.rd-score-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.rd-ring-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}
.rd-ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.rd-ring-val small {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 2px;
}
.rd-bar-row {
  margin-bottom: 10px;
}
.rd-bar-row:last-child { margin-bottom: 0; }
.rd-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.rd-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
}
.rd-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease;
}
.rd-mile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.rd-mile-card {
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  padding: 10px;
  background: var(--bg);
  min-width: 0;
}
.rd-mile-t {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 2px;
}
.rd-mile-s {
  font-size: 0.76rem;
  color: var(--slate-600);
}
.rd-copy-msg {
  display: none;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
}
.rd-copy-msg.show { display: block; }
.site-footer h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 0.92rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  color: #94a3b8;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 16px;
  color: #94a3b8;
  font-size: 0.8rem;
}

.tr-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--slate-200);
  overflow: hidden;
  margin-top: 8px;
}
.tr-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

/* Global MedTech Launch & Budget Planner */
.lbp-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--slate-600);
}
.lbp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lbp-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}
.lbp-gantt-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lbp-gantt-svg {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

/* Printable B2B Sample Dossier (/sample-report) */
.sr-paper {
  padding: 28px;
  border-top: 4px solid var(--navy);
}
.sr-masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}
.sr-meta-stamp {
  font-size: 0.79rem;
  color: var(--slate-600);
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.55;
}
.sr-block {
  margin-bottom: 24px;
  break-inside: avoid;
}
.sr-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.sr-block-head h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy);
}
.sr-print-footer {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px dashed var(--slate-200);
  font-size: 0.76rem;
  color: var(--slate-500);
}

@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 11px !important;
  }
  .site-header,
  .site-footer,
  .no-print,
  .modal-backdrop {
    display: none !important;
  }
  .section,
  .sr-dossier-section {
    padding: 0 !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .sr-paper {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
    padding: 16px !important;
  }
  .card {
    box-shadow: none !important;
    break-inside: avoid;
  }
  table {
    page-break-inside: auto;
  }
  tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Adverse Event Reporting Deadline Timer */
.ae-due-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}
.ae-memo-pre {
  margin: 0;
  padding: 14px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
}

/* EU MDR Annex I GSPR Checklist */
.gspr-gap-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff8f8;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b91c1c;
  cursor: pointer;
}
.gspr-table td {
  padding: 10px 10px;
}
.gspr-ch-row td {
  background: #eef2ff;
  color: #0a192f;
  font-size: 0.84rem;
  padding: 8px 10px;
  border-top: 2px solid #cbd5e1;
}
.gspr-row-gap td {
  background: #fff7f7;
}
.gspr-row-na td {
  background: #f8fafc;
  color: #64748b;
}
.gspr-status-sel {
  padding: 7px 9px;
  font-size: 0.82rem;
  font-weight: 700;
}
.gspr-sel-ready {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}
.gspr-sel-gap {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}
.gspr-sel-na {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}
.gspr-std-input {
  padding: 7px 10px;
  font-size: 0.82rem;
}

/* ISO 15223-1 Label Symbols Finder */
.iso-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.iso-sym-card {
  padding: 14px;
  cursor: pointer;
  border: 1.5px solid var(--slate-200);
  transition: border-color 0.15s ease, background 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.iso-sym-card:hover {
  border-color: var(--teal);
}
.iso-sym-card.is-selected {
  border-color: var(--teal);
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}
.iso-sym-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.iso-svg-box {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0a192f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.iso-svg-box svg {
  width: 48px;
  height: 48px;
  display: block;
}
.iso-check-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
  white-space: nowrap;
}
.iso-sym-rule {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.48;
}
.iso-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f0fdfa;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .iso-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .grid-4, .grid-3, .grid-2, .iso-grid, .rd-check-grid, .rd-mile-grid, .pm-q-grid, .footer-eco-links { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 30px 0 36px; }
  .verify-box { padding: 14px; }
  .nav-links { gap: 10px; }
  .search-row .btn { width: 100%; }
}
