:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #647789;
  --line: #c6d0d8;
  --panel: #ffffff;
  --soft: #eef3f6;
  --navy: #0f2b40;
  --teal: #0f766e;
  --gold: #b98524;
  --danger: #b42318;
  --page: #dfe7ec;
  --page-deep: #cad5dc;
  --shadow: 0 18px 45px rgba(12, 30, 44, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, var(--page), var(--page-deep));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(13, 35, 52, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.india-flag {
  display: grid;
  width: 34px;
  height: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.india-flag span:nth-child(1) {
  background: #ff9933;
}

.india-flag span:nth-child(2) {
  position: relative;
  background: #fff;
}

.india-flag span:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #000080;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.india-flag span:nth-child(3) {
  background: #138808;
}

.menu-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.top-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 190px;
  padding: 8px;
  color: var(--ink);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.top-nav.is-open {
  display: grid;
  gap: 4px;
}

.top-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.top-nav a:hover {
  background: var(--soft);
  color: var(--teal);
}

.hero,
.details-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  min-height: 300px;
  padding: clamp(38px, 6vw, 68px) clamp(18px, 4vw, 56px);
  background: var(--navy);
  color: #fff;
}

.hero::after,
.details-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 23, 35, 0.92), rgba(10, 54, 62, 0.74));
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider span {
  position: absolute;
  inset: 0;
  background: var(--slide-image) center/cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 4200ms ease;
}

.hero-slider span.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-copy,
.details-hero > * {
  position: relative;
  z-index: 2;
}

.hero h1,
.details-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p,
.details-hero p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.search-shell,
.results-toolbar,
.cards-grid,
.pagination,
.details-page {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.search-shell {
  margin-top: 24px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 16px;
}

.search-input-wrap {
  position: relative;
  display: block;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: transparent;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: rotate(45deg);
}

.search-box input {
  padding-left: 40px;
  padding-right: 52px;
  border-radius: 999px;
}

.voice-search-button {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.voice-search-button:hover,
.voice-search-button:focus-visible {
  background: rgba(15, 118, 110, 0.12);
  outline: none;
}

.voice-search-button.is-listening {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.14);
}

.voice-search-button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
}

.voice-search-status {
  min-height: 16px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.voice-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.voice-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 22px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.voice-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 2px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input {
  padding: 0 14px;
}

select {
  padding: 0 38px 0 12px;
}

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

.filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.clear-filters {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.clear-filters:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.camera-search-link,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.camera-search-link:hover,
.primary-action:hover {
  background: var(--navy);
}

.camera-button {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.camera-button::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 7px;
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.camera-button span {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.camera-button.large {
  width: 54px;
  height: 44px;
  color: var(--teal);
}

.camera-button.large::before {
  top: -9px;
  left: 15px;
  width: 18px;
  height: 8px;
}

.camera-button.large span {
  width: 17px;
  height: 17px;
}

.image-search-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.image-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.image-upload-panel,
.uploaded-preview {
  min-height: 360px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-upload-panel h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.image-upload-form {
  display: grid;
  gap: 14px;
}

.camera-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: #f8fafb;
  color: var(--navy);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.camera-upload:hover {
  border-color: var(--teal);
  background: #eef8f6;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.12);
  transform: translateY(-2px);
}

.camera-upload.has-file {
  border-color: var(--teal);
  background: linear-gradient(135deg, #eef8f6, #ffffff);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.18);
}

.camera-upload.has-file .camera-button {
  background: var(--teal);
  color: #fff;
}

.camera-upload.has-file:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 38px rgba(185, 133, 36, 0.18);
}

.upload-copy {
  color: var(--navy);
  font-size: 17px;
  text-transform: none;
}

.upload-copy > span {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  text-transform: none;
}

.camera-upload small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.camera-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.uploaded-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--soft);
}

.uploaded-preview img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  display: block;
}

.preview-placeholder {
  display: grid;
  gap: 16px;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.preview-placeholder p {
  max-width: 340px;
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.form-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(180, 35, 24, 0.28);
  border-radius: 8px;
  background: rgba(180, 35, 24, 0.08);
  color: var(--danger);
  font-weight: 800;
}

.similarity-results {
  margin-top: 28px;
}

.results-heading h2 {
  margin: 0;
  color: var(--navy);
}

.match-score {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.image-empty {
  margin-top: 28px;
}

.results-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.results-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.results-toolbar label {
  width: 150px;
}

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

.ship-card {
  display: grid;
  gap: 14px;
  min-height: 360px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 52, 77, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ship-card:hover {
  border-color: rgba(15, 118, 110, 0.48);
  box-shadow: 0 20px 44px rgba(12, 30, 44, 0.18);
  transform: translateY(-5px);
}

.ship-card-media {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.ship-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ship-card:hover h2 {
  color: var(--teal);
}

.ship-card:hover .card-action {
  background: var(--navy);
}

.ship-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 21px;
}

.ship-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 0;
}

.ship-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ship-card dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.card-action {
  align-self: end;
  justify-self: start;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 30px 0 52px;
}

.pagination button {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.pagination button[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

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

.navy-info {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 76px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef6f4);
}

.navy-info h2 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.navy-info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.details-page {
  padding: 28px 0 64px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.details-hero {
  border-radius: 8px;
}

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

.stat-strip span {
  display: grid;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.stat-strip strong {
  color: #fff;
  font-size: 26px;
}

.details-section {
  margin-top: 26px;
}

.details-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
}

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

.info-grid p,
.spec-grid p {
  margin: 0;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.info-grid span,
.spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.raw-specs p {
  margin: 0;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.45;
}

.raw-specs span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.gallery-item {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: zoom-in;
}

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

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(11, 18, 24, 0.86);
}

.image-modal.is-open {
  display: grid;
}

.image-modal img {
  max-width: min(1120px, 100%);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 30px;
  cursor: pointer;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
}

.chat-toggle {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(18, 52, 77, 0.28);
  cursor: pointer;
}

.chat-toggle-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.bot-antenna {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
}

.bot-antenna::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.bot-face {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 34px;
  height: 26px;
  margin-top: 9px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.bot-face::before,
.bot-face::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.bot-face::before {
  left: -7px;
}

.bot-face::after {
  right: -7px;
}

.bot-face span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: none;
  width: min(380px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(18, 52, 77, 0.22);
}

.chat-panel.is-open {
  display: grid;
  grid-template-rows: auto minmax(220px, 320px) auto;
}

.chat-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--navy);
  color: #fff;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.chat-header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
  background: #f8fafb;
}

.chat-message {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.chat-message.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.chat-message.user {
  align-self: flex-end;
  background: var(--teal);
  color: #fff;
}

.chat-message.error {
  border-color: rgba(180, 35, 24, 0.3);
  color: var(--danger);
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 940px) {
  .filters-grid,
  .cards-grid,
  .navy-info-grid,
  .info-grid,
  .spec-grid,
  .raw-specs,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-search-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .app-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero h1,
  .details-hero h1 {
    font-size: 36px;
  }

  .filters-grid,
  .cards-grid,
  .navy-info-grid,
  .info-grid,
  .spec-grid,
  .raw-specs,
  .gallery,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .results-toolbar label {
    width: 100%;
  }

  .search-shell {
    margin-top: 18px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .camera-search-link {
    width: 100%;
  }

  .filter-actions {
    justify-content: stretch;
  }

  .clear-filters {
    width: 100%;
  }

  .chatbot {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .chat-toggle {
    float: right;
  }

  .chat-panel {
    right: 0;
    width: 100%;
  }
}
