:root {
  --ink: #05265a;
  --text: #0b2f68;
  --muted: #29466f;
  --subtle: #f6f9fd;
  --line: #dce5f2;
  --paper: #ffffff;
  --base: #fbfdff;
  --navy: #05265a;
  --navy-2: #083b86;
  --blue: #1e63ff;
  --blue-soft: #eff6ff;
  --red: #b42318;
  --red-soft: #fff3f1;
  --green: #166534;
  --shadow-sm: 0 8px 24px rgba(7, 27, 61, 0.07);
  --shadow-md: 0 20px 48px rgba(7, 27, 61, 0.12);
  --radius: 7px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 5% 16%, rgba(30, 99, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f7faff 56%, #fbfdff 100%);
  color: var(--ink);
  font-family: "IBM Plex Sans JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.85;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 36px));
}

.notice-bar {
  background: linear-gradient(90deg, #041c43 0%, #06316c 100%);
  color: #edf5ff;
  font-size: 13px;
  font-weight: 500;
}

.notice-bar .container {
  min-height: 34px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.notice-bar i {
  color: #ffffff;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(7, 27, 61, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(180px, 23vw, 276px);
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand strong {
  display: block;
  font-family: "Inter", "IBM Plex Sans JP", sans-serif;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 14px;
  color: #314766;
  font-weight: 700;
}

.global-nav span {
  color: #c8d3e3;
  font-weight: 400;
}

.global-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.global-nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 48%, rgba(235,245,255,0.82) 100%),
    radial-gradient(circle at 90% 25%, rgba(30,99,255,0.16), transparent 34%);
  border-bottom: 1px solid var(--line);
  order: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -160px 48%;
  height: 420px;
  border: 1px solid rgba(30, 99, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.hero::after {
  content: "";
  position: absolute;
  left: -24px;
  top: 108px;
  width: 90px;
  height: 150px;
  opacity: 0.42;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 10px 10px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  padding: 74px 0 70px;
  align-items: center;
  z-index: 1;
}

.hero-image-card {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  margin-bottom: 24px;
  border: 1px solid rgba(151, 170, 199, 0.28);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-img-mobile {
  display: none !important;
}

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

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-family: "Inter", "IBM Plex Sans JP", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  line-height: 1.38;
  letter-spacing: 0;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin: 0 0 22px;
  max-width: 820px;
  font-weight: 700;
}

.lead {
  color: var(--text);
  font-size: 16px;
  max-width: 720px;
  margin: 0 0 28px;
}

.hero-actions,
.tool-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-image-card .hero-actions {
  position: absolute;
  right: 78px;
  bottom: 58px;
  z-index: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #bed0ec;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

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

.button-dark {
  background: linear-gradient(180deg, #073172 0%, #05265a 100%);
  border-color: #05265a;
  color: #fff;
  box-shadow: 0 12px 24px rgba(5, 38, 90, 0.18);
}

.button-light {
  background: rgba(255,255,255,0.88);
  color: var(--navy);
}

.button-light:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.hero-panel,
.side-panel,
.consult-box,
.case-card,
.form-panel,
.report-card,
.article {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(151, 170, 199, 0.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-panel {
  justify-self: end;
  padding: 24px 30px 12px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.94);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.hero-panel-head h2 {
  font-size: 18px;
  margin: 0;
}

.hero-panel-head span {
  min-width: 48px;
  min-height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3fb;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel dl,
.report-card dl {
  margin: 0;
}

.hero-panel div:not(.hero-panel-head),
.report-card dl div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child,
.report-card dl div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

dt i {
  width: 18px;
  color: #6f84a5;
  margin-right: 8px;
}

dd {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.feature-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  order: 3;
}

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

.feature-grid article {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(151, 170, 199, 0.38);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  margin-bottom: 12px;
}

.feature-grid h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.feature-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.diagnosis-section,
.alert-section {
  padding: 44px 0;
}

.diagnosis-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  order: 4;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.diagnosis-grid h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.diagnosis-grid p {
  color: var(--muted);
  margin: 0;
}

.diagnosis-card {
  background: #fff;
  border: 1px solid rgba(151, 170, 199, 0.38);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.diagnosis-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.diagnosis-card .button {
  margin-top: 18px;
}

.alert-section {
  background: #fff;
  border-bottom: 1px solid var(--line);
  order: 5;
}

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

.alert-grid a {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
}

.alert-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.alert-grid strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: 34px;
  padding: 44px 0 54px;
  align-items: start;
}

#database {
  order: 2;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 10px;
  font-size: 29px;
  font-weight: 700;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.database-tools {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(151, 170, 199, 0.32);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(7, 27, 61, 0.05);
}

.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 7px;
  padding: 0 16px;
  box-shadow: 0 10px 24px rgba(7, 27, 61, 0.04);
}

.filter-search {
  margin-bottom: 14px;
}

.search-box i {
  color: #8092ad;
}

.search-box input {
  width: 100%;
  min-height: 50px;
  border: 0;
  outline: 0;
  font: inherit;
  color: var(--ink);
}

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

.filter-field {
  gap: 6px;
}

.filter-field span {
  color: #536781;
  font-size: 12px;
  font-weight: 700;
}

.filter-field select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, #6d7f9a 50%) calc(100% - 17px) 18px / 5px 5px no-repeat,
    linear-gradient(135deg, #6d7f9a 50%, transparent 50%) calc(100% - 12px) 18px / 5px 5px no-repeat,
    #fff;
  appearance: none;
}

.filter-summary {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.filter-summary .result-count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--navy);
}

.filter-summary .result-count strong {
  font-family: "Inter", "IBM Plex Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.filter-summary button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
}

.empty-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.case-list {
  display: grid;
  gap: 12px;
}

.database-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
}

.database-pagination[hidden] {
  display: none;
}

.database-pagination button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #c7d5e8;
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.database-pagination button:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.database-pagination button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.database-pagination span {
  min-width: 64px;
  color: var(--muted);
  font-family: "Inter", "IBM Plex Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 20px;
  align-items: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.case-card:hover {
  transform: translateY(-1px);
  border-color: #b8c9e3;
  box-shadow: 0 14px 32px rgba(7, 27, 61, 0.09);
}

.case-card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.case-card p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #f5b8b0;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
}

.meta-row {
  color: var(--muted);
  font-size: 12px;
}

.meta-row i {
  color: #7e90aa;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 102px;
}

.consult-box {
  position: relative;
  overflow: hidden;
  padding: 26px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.consult-box.compact {
  display: block;
  background: linear-gradient(145deg, #083b86 0%, #05265a 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 18px 42px rgba(5, 38, 90, 0.24);
}

.consult-box.compact::after {
  content: "\f3ed";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -6px;
  top: 18px;
  color: rgba(255,255,255,0.08);
  font-size: 92px;
}

.consult-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
}

.consult-box.compact .consult-icon {
  display: none;
}

.consult-box h2 {
  margin: 0 0 8px;
  font-size: 21px;
  color: inherit;
}

.consult-box p {
  color: var(--text);
  margin: 0 0 18px;
  font-size: 14px;
}

.consult-box.compact p {
  color: #dbe8ff;
}

.consult-box.compact .button {
  position: relative;
  background: #fff;
  color: var(--navy);
  border-color: rgba(255,255,255,0.88);
  box-shadow: none;
}

.side-panel {
  padding: 24px;
}

.side-panel h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
}

.side-panel h2 i {
  color: var(--blue);
}

.side-panel p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.plain-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.plain-list li {
  position: relative;
  color: var(--text);
  font-size: 14px;
  padding-left: 22px;
}

.plain-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--blue);
  font-size: 12px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  padding-top: 22px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 700;
}

.article {
  padding: 34px;
}

.article > section {
  margin-top: 36px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}

.section-title i {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 15px;
}

.case-header h1 {
  margin: 12px 0;
  font-size: clamp(29px, 4vw, 44px);
  font-weight: 700;
}

.case-header p {
  color: var(--text);
  font-size: 16px;
}

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

.case-kpi {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
}

.case-kpi i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  margin-bottom: 10px;
}

.case-kpi span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-kpi strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  line-height: 1.5;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  width: 180px;
  background: #f7faff;
  color: var(--text);
  font-size: 14px;
}

.data-table td {
  color: var(--text);
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  color: var(--text);
}

.check-list i {
  color: var(--green);
  padding-top: 5px;
}

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

.report-list {
  display: grid;
  gap: 14px;
}

.external-source-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.external-source-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}

.external-source-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
  min-width: 0;
}

.external-source-head h3 {
  margin: 0;
  font-size: 21px;
  color: var(--ink);
}

.external-source-card .eyebrow {
  color: var(--blue);
}

.source-score {
  min-width: 112px;
  border: 1px solid #cbd9ef;
  border-radius: 4px;
  padding: 12px 14px;
  text-align: center;
  background: #f7faff;
}

.source-body-grid,
.source-meta,
.source-meta div,
.source-quote {
  min-width: 0;
}

.source-score span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-score strong {
  display: block;
  color: var(--navy);
  font-family: "Inter", "IBM Plex Sans JP", sans-serif;
  font-size: 24px;
  line-height: 1.25;
}

.source-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.source-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.source-meta div {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  background: #fbfdff;
}

.source-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
}

.source-meta dd {
  color: var(--ink);
  font-weight: 800;
}

.source-meta dt i {
  color: var(--blue);
}

.source-quote-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.source-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}

.source-review-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.source-review-head i {
  color: var(--blue);
}

.source-review-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7faff;
  color: var(--navy);
  font-size: 12px;
}

.source-quote {
  margin: 0;
  border: 1px solid #f2c3bd;
  border-radius: 4px;
  background: #fff8f7;
  padding: 16px 18px;
  display: grid;
  align-content: center;
}

.quote-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #9f3a32;
  font-size: 12px;
  font-weight: 800;
}

.quote-meta span,
.quote-meta time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffe9e6;
}

.source-quote blockquote {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.source-quote blockquote::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #c24136;
  margin-right: 8px;
}

.source-quote figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.source-quote figcaption a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.external-source-card .text-link {
  color: var(--blue);
}

.license-note-box,
.verification-note-box {
  border: 1px solid #c9d8eb;
  border-radius: 4px;
  background: #f8fbff;
  padding: 22px;
}

.verification-note-box.limited-source {
  background: #fffdf7;
  border-color: #e4d5a8;
}

.verification-note-box.has-source {
  background: #f7fbff;
}

.license-note-head,
.verification-note-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.license-note-head > i,
.verification-note-head > i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c7d5e8;
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
}

.verification-note-box.limited-source .verification-note-head > i {
  border-color: #e0c875;
  color: #8a6700;
}

.license-note-box .eyebrow,
.verification-note-box .eyebrow {
  margin: 0 0 5px;
}

.license-note-box h2,
.verification-note-box h2 {
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.45;
}

.verification-note-box.limited-source h2 {
  color: #7a5d05;
}

.license-note-box p,
.verification-note-box p {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.9;
}

.license-note-box a,
.verification-note-box a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-case-section {
  margin-top: 34px;
}

.section-head.compact {
  margin-bottom: 16px;
}

.section-head.compact h2 {
  margin-bottom: 8px;
}

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

.related-case-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.related-case-card:hover {
  border-color: #9db8e2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.related-case-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

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

.related-case-card small {
  color: var(--muted);
  font-weight: 700;
}

.report-card {
  padding: 20px;
}

.report-card h3 {
  margin: 10px 0;
}

.form-panel {
  padding: 26px;
}

.form-panel h2 {
  margin-top: 0;
}

.form-panel p {
  color: var(--muted);
}

.structured-form {
  display: grid;
  gap: 18px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d5e0ef;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #8fb2ff;
  box-shadow: 0 0 0 3px rgba(30, 99, 255, 0.12);
}

textarea {
  resize: vertical;
}

.page-block {
  padding: 44px 0 72px;
}

.site-footer {
  background: linear-gradient(135deg, #041c43 0%, #05265a 55%, #03152f 100%);
  color: #dce8f8;
  padding: 44px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.site-footer p {
  color: #c8d7ee;
}

.site-footer h2 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  color: #dce8f8;
  margin: 8px 0;
}

.footer-note {
  margin-top: 24px;
  color: #aabbd4;
  font-size: 13px;
  text-align: center;
}

.mobile-cta {
  display: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .notice-bar {
    font-size: 11px;
    line-height: 1.35;
  }

  .notice-bar .container {
    justify-content: flex-start;
    min-height: 28px;
    padding: 4px 0;
    gap: 7px;
  }

  .notice-bar i {
    font-size: 11px;
  }

  .header-inner,
  .global-nav {
    align-items: center;
  }

  .header-inner {
    position: relative;
    min-height: 58px;
    padding: 7px 0;
    gap: 10px;
  }

  .brand-logo {
    width: clamp(132px, 38vw, 172px);
  }

  .menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
    font-size: 17px;
    box-shadow: 0 6px 16px rgba(7, 27, 61, 0.06);
  }

  .global-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: var(--shadow-sm);
    z-index: 70;
    font-size: 13px;
  }

  .global-nav span {
    display: none;
  }

  .global-nav a {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .global-nav a:last-child {
    border-bottom: 0;
  }

  .global-nav.is-open {
    display: block;
  }

  .hero-grid,
  .feature-grid,
  .diagnosis-grid,
  .alert-grid,
  .layout-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero::after {
    display: none;
  }

  .hero {
    background: #f7fbff;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    padding: 48px 0;
    gap: 30px;
  }

  .hero-image-card {
    width: min(100%, 430px);
    margin-top: 12px;
    margin-bottom: 16px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
  }

  .hero-img-desktop {
    display: none !important;
  }

  .hero-img-mobile {
    display: block !important;
    border-radius: 0;
  }

  .hero-image-card .hero-actions {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0 0;
    background: #fff;
    background: transparent;
  }

  .hero-image-card .hero-actions .button {
    width: 100%;
    min-height: 50px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-panel {
    max-width: none;
    width: 100%;
  }

  .sidebar {
    position: static;
  }

  .form-grid,
  .case-card,
  .filter-grid,
  .source-meta,
  .source-body-grid,
  .case-kpi-grid,
  .related-case-grid {
    grid-template-columns: 1fr;
  }

  .external-source-head {
    display: grid;
  }

  .case-card {
    padding: 18px;
  }

  .article {
    padding: 22px;
  }

  .hero-panel div:not(.hero-panel-head),
  .report-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table th {
    padding-bottom: 6px;
  }

  .mobile-cta {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 80;
  }

  .mobile-cta a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    background: linear-gradient(180deg, #083b86 0%, #05265a 100%);
    border-radius: 7px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .brand-logo {
    width: clamp(118px, 35vw, 142px);
  }

  .header-inner {
    min-height: 52px;
    gap: 8px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }
}
