:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --surface-2: #edf6ef;
  --ink: #1f211d;
  --muted: #6f766d;
  --line: #dfe6dc;
  --teal: #108474;
  --teal-soft: #e5f4ef;
  --amber: #f6a23b;
  --coral: #ff6b4a;
  --green: #7bb56a;
  --blue: #5c7fbd;
  --shadow: 0 22px 60px rgba(46, 53, 42, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(16, 132, 116, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(255, 107, 74, 0.1), transparent 25%),
    var(--bg);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 246, 0.83);
  border-bottom: 1px solid rgba(219, 226, 222, 0.78);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 204px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(31, 33, 29, 0.07);
}

.brand-logo-wrap img {
  display: block;
  width: 94px;
  max-height: 24px;
  object-fit: contain;
}

.brand-title {
  margin: 0;
  font-size: 15px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.pupu-hero-copy {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 246, 0.9)),
    #fff;
}

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

.icon-btn,
.ghost-btn,
.primary-btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.icon-btn {
  width: 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.ghost-btn,
.small-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  padding: 0 13px;
}

.primary-btn {
  color: #fff;
  background: var(--teal);
  padding: 0 15px;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.22);
}

.primary-btn:disabled,
.primary-btn.is-disabled {
  cursor: not-allowed;
  color: #72817c;
  background: #e8efec;
  box-shadow: none;
}

.small-btn {
  min-height: 34px;
  font-size: 13px;
}

.icon-btn:hover,
.ghost-btn:hover,
.primary-btn:hover,
.small-btn:hover {
  transform: translateY(-1px);
}

.primary-btn:disabled:hover,
.primary-btn.is-disabled:hover {
  transform: none;
}

.main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.68fr);
  gap: 24px;
  align-items: stretch;
}

.search-panel {
  min-height: 390px;
  padding: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 226, 222, 0.88);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 0 10px;
  border-radius: 999px;
  color: #29433d;
  background: var(--teal-soft);
  font-size: 13px;
  font-weight: 650;
}

.home-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 5.1vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.home-copy {
  max-width: 650px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin: 0 0 15px;
  padding: 0 16px;
  border: 1px solid #cbd9d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 28, 0.07);
}

.search-box input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  padding: 0 12px;
  color: #44504c;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip.is-active {
  color: #fff;
  background: #253b37;
  border-color: #253b37;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 8px;
  background: #eff6ef;
  border: 1px solid rgba(219, 226, 222, 0.9);
  box-shadow: var(--shadow);
}

.visual-card > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: 58% center;
  display: block;
}

.pupu-hero {
  padding: 16px;
}

.hero-product-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  min-height: 350px;
}

.hero-product-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.visual-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.visual-overlay strong {
  display: block;
  font-size: 15px;
}

.visual-overlay span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.scan-tile {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 8px;
  color: #fff;
  background: #17201c;
  border: 1px solid rgba(23, 32, 28, 0.12);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
}

.section-head p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.product-card,
.doc-card,
.info-panel,
.release-item,
.empty-state {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 402px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(23, 32, 28, 0.08);
}

.product-photo {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #f1f5ee;
  border: 1px solid #e5ebe2;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.025);
}

.product-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  color: #315145;
  background: #eaf4ec;
  font-size: 12px;
  font-weight: 680;
}

.product-card h3 {
  margin: 16px 0 4px;
  font-size: 19px;
}

.model {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.meta-pill {
  min-height: 27px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #4c5d58;
  background: #f2f5f3;
  font-size: 12px;
}

.safety-pill {
  color: #16443b;
  background: #e5f4ef;
  font-weight: 740;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: auto;
}

.product-actions .primary-btn {
  width: 100%;
}

.product-page {
  display: grid;
  gap: 18px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.crumb a {
  color: #315852;
  font-weight: 650;
}

.product-title {
  margin: 18px 0 0;
  font-size: clamp(31px, 5.8vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.english-name {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.product-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: end;
}

.product-page-head.is-empty {
  grid-template-columns: minmax(0, 1fr);
}

.product-page-head img {
  width: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5ee;
  border: 1px solid var(--line);
}

.product-desc {
  max-width: 720px;
  margin: 16px 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.scan-context {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 0 10px;
  border-radius: 999px;
  color: #315145;
  background: #eaf4ec;
  font-size: 13px;
  font-weight: 680;
}

.scan-context span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.safety-summary {
  display: grid;
  grid-template-columns: minmax(265px, 0.72fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 132, 116, 0.1), rgba(255, 255, 255, 0.78)),
    #f7fbf8;
  border: 1px solid #cfe5dc;
}

.safety-status {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.safety-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.safety-status strong,
.safety-status span {
  display: block;
}

.safety-status strong {
  font-size: 15px;
  line-height: 1.25;
}

.safety-status span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

.safety-check {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #27443f;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(207, 229, 220, 0.95);
  font-size: 12px;
  font-weight: 680;
}

.safety-check i {
  flex: 0 0 auto;
  color: var(--teal);
}

.safety-check span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #e7eeeb;
}

.language-tabs button {
  min-height: 33px;
  padding: 0 13px;
  border-radius: 999px;
  color: #5c6965;
  background: transparent;
}

.language-tabs button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 32, 28, 0.08);
}

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

.doc-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(23, 32, 28, 0.07);
}

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

.doc-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
}

.doc-icon.manual {
  background: var(--teal);
}

.doc-icon.video {
  background: var(--amber);
}

.doc-icon.report {
  background: #315852;
}

.doc-icon.label {
  background: var(--blue);
}

.doc-type {
  margin: 16px 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.doc-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.doc-meta {
  display: grid;
  gap: 7px;
  margin: 15px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.doc-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.report-summary {
  display: grid;
  gap: 8px;
  margin: -4px 0 16px;
  padding: 10px;
  border-radius: 8px;
  background: #f4faf6;
  border: 1px solid #d6eadf;
}

.report-result {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #244941;
  font-size: 13px;
  line-height: 1.35;
}

.report-result i {
  flex: 0 0 auto;
  color: var(--teal);
}

.report-result strong {
  font-weight: 760;
}

.report-meta-line {
  margin: 0;
  color: #738079;
  font-size: 11.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.report-highlights,
.label-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -3px 0 16px;
}

.report-summary .report-highlights {
  margin: 0;
}

.report-highlights span,
.label-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  color: #315145;
  background: #edf6ef;
  font-size: 12px;
  font-weight: 680;
}

.report-highlights i,
.label-highlights i {
  color: var(--teal);
}

.label-highlights span {
  color: #38527a;
  background: #eef3fb;
}

.label-highlights i {
  color: var(--blue);
}

.doc-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.38fr);
  gap: 14px;
}

.info-panel {
  padding: 18px;
}

.info-panel h2,
.info-panel h3 {
  margin: 0 0 12px;
}

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

.release-item {
  padding: 14px;
  background: #fff;
}

.release-item strong {
  display: block;
  margin-bottom: 5px;
}

.release-item span {
  color: var(--muted);
  font-size: 13px;
}

.spec-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(12, 20, 17, 0.52);
}

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

.modal-card {
  width: min(850px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.modal-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.modal.is-fullscreen {
  padding: 0;
  background: #fff;
}

.modal.is-fullscreen .modal-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  max-height: none;
  border-radius: 0;
}

.modal.is-fullscreen .modal-head {
  flex: 0 0 auto;
}

.modal.is-fullscreen .preview-area {
  grid-template-columns: 1fr;
  flex: 1;
  min-height: 0;
}

.modal.is-fullscreen .preview-canvas {
  min-height: 0;
}

.modal.is-fullscreen .online-frame {
  height: 100%;
  min-height: 0;
}

.modal.is-fullscreen .preview-side {
  display: none;
}

.preview-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 480px;
}

.preview-area.has-side {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.preview-canvas {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.1), transparent),
    #edf2ef;
}

.preview-canvas.has-frame {
  padding: 0;
  background: #fff;
}

.online-frame {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  background: #fff;
}

.paper-preview,
.video-preview {
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d5dfdb;
  box-shadow: 0 18px 48px rgba(23, 32, 28, 0.14);
}

.paper-preview {
  padding: 24px;
}

.paper-logo {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.report-preview {
  border-top: 8px solid #315852;
}

.label-preview {
  border-top: 8px solid var(--blue);
}

.paper-line {
  height: 10px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: #dfe8e4;
}

.paper-line.short {
  width: 54%;
}

.paper-line.medium {
  width: 76%;
}

.video-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 70% 35%, rgba(217, 130, 43, 0.32), transparent 28%),
    #253b37;
}

.play-ring {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.preview-buttons {
  display: grid;
  gap: 8px;
}

.preview-buttons .primary-btn {
  width: 100%;
}

.preview-side {
  padding: 20px;
  border-left: 1px solid var(--line);
}

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

@media (max-width: 920px) {
  .home-grid,
  .product-hero,
  .safety-summary,
  .content-split {
    grid-template-columns: 1fr;
  }

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

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

  .preview-area {
    grid-template-columns: 1fr;
  }

  .preview-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .main {
    width: min(100% - 16px, 1180px);
  }

  .topbar-inner {
    align-items: center;
    gap: 8px;
    padding: 9px 0;
  }

  .brand-subtitle,
  .hide-mobile {
    display: none;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo-wrap {
    width: 100px;
    height: 31px;
  }

  .brand-logo-wrap img {
    width: 84px;
  }

  .brand-title {
    font-size: 14px;
  }

  .icon-btn,
  .ghost-btn,
  .primary-btn,
  .small-btn {
    min-height: 36px;
  }

  .icon-btn {
    width: 36px;
  }

  .main {
    padding: 12px 0 34px;
  }

  .home-grid {
    display: block;
  }

  .nav-actions .ghost-btn {
    width: 36px;
    padding: 0;
  }

  .search-panel {
    margin-bottom: 10px;
    min-height: auto;
    padding: 10px;
    box-shadow: 0 10px 28px rgba(23, 32, 28, 0.06);
  }

  .eyebrow,
  .home-title,
  .home-copy,
  .visual-card {
    display: none;
  }

  .search-box {
    min-height: 42px;
    margin-bottom: 8px;
    padding: 0 11px;
    box-shadow: none;
  }

  .search-box input {
    font-size: 14px;
  }

  .filter-row {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .chip {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .home-title,
  .product-title {
    font-size: 34px;
  }

  .product-page .product-title {
    margin-top: 10px;
    font-size: 27px;
    line-height: 1.08;
  }

  .english-name {
    margin-top: 4px;
    font-size: 13px;
  }

  .home-copy,
  .product-desc {
    font-size: 15px;
  }

  .product-page .product-desc,
  .product-page .hero-meta {
    display: none;
  }

  .scan-context {
    min-height: 26px;
    margin: 8px 0 0;
    font-size: 11px;
  }

  .safety-summary {
    gap: 8px;
    margin-top: 10px;
    padding: 9px;
  }

  .safety-status {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }

  .safety-mark {
    width: 32px;
    height: 32px;
  }

  .safety-status strong {
    font-size: 13px;
  }

  .safety-status span {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
  }

  .safety-item-grid {
    gap: 5px;
  }

  .safety-check {
    min-height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }

  .safety-check:nth-child(n + 5) {
    display: none;
  }

  .section-head {
    flex-direction: row;
    align-items: center;
    margin: 10px 0 8px;
  }

  .section-head h2 {
    font-size: 17px;
  }

  .section-head p {
    display: none;
  }

  .badge {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
  }

  .product-grid,
  .docs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    gap: 6px 10px;
    min-height: 0;
    padding: 8px;
  }

  .product-photo {
    grid-row: 1 / 5;
    width: 104px;
    aspect-ratio: 1 / 1;
    margin: 0;
  }

  .product-card-top {
    display: none;
  }

  .product-icon {
    display: none;
  }

  .product-card h3 {
    grid-column: 2;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  .model {
    grid-column: 2;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }

  .meta-row {
    grid-column: 2;
    gap: 4px;
    margin: 0;
    max-height: 24px;
    overflow: hidden;
  }

  .meta-pill {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 11px;
  }

  .product-actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    margin: 0;
  }

  .product-actions .primary-btn {
    flex: 1;
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .product-hero {
    gap: 10px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(23, 32, 28, 0.07);
  }

  .product-summary {
    min-height: auto;
  }

  .product-page-head {
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: start;
    gap: 10px;
  }

  .product-page-head.is-empty {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-page-head img {
    width: 58px;
  }

  .product-page .section-head {
    align-items: end;
    gap: 8px;
    margin: 10px 0 0;
  }

  .product-page .section-head p {
    display: none;
  }

  .language-tabs {
    width: 150px;
    flex: 0 0 auto;
  }

  .language-tabs button {
    flex: 1;
    min-height: 29px;
    padding: 0 8px;
    font-size: 13px;
  }

  .doc-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 86px;
    grid-template-rows: auto auto;
    gap: 5px 9px;
    min-height: 82px;
    padding: 10px;
  }

  .doc-head {
    grid-row: 1 / 3;
    grid-column: 1;
    align-items: center;
    justify-content: start;
  }

  .doc-head .badge {
    display: none;
  }

  .doc-icon {
    width: 36px;
    height: 36px;
  }

  .doc-type {
    grid-column: 2;
    margin: 0;
    font-size: 12px;
  }

  .doc-card h3 {
    grid-column: 2;
    margin: 0;
    font-size: 15px;
    line-height: 1.22;
  }

  .doc-meta {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    color: #748078;
    font-size: 11px;
  }

  .doc-meta span:nth-child(3) {
    display: none;
  }

  .doc-meta i {
    width: 12px !important;
    height: 12px !important;
  }

  .report-highlights,
  .label-highlights {
    grid-column: 2 / 4;
    gap: 4px;
    max-height: 22px;
    margin: -1px 0 0;
    overflow: hidden;
  }

  .report-highlights span,
  .label-highlights span {
    min-height: 20px;
    padding: 0 6px;
    font-size: 10.5px;
  }

  .report-highlights span:nth-child(n + 4),
  .label-highlights span:nth-child(n + 4) {
    display: none;
  }

  .report-summary {
    grid-column: 2 / 4;
    gap: 4px;
    margin: 0;
    padding: 7px;
  }

  .report-result {
    font-size: 11px;
  }

  .report-summary .report-highlights {
    grid-column: auto;
    max-height: 22px;
    margin: 0;
  }

  .report-summary .report-highlights span:nth-child(n + 3) {
    display: none;
  }

  .report-meta-line {
    display: none;
  }

  .doc-actions {
    grid-row: 1 / 3;
    grid-column: 3;
    align-self: stretch;
    margin: 0;
  }

  .doc-actions .primary-btn {
    width: 100%;
    min-height: 100%;
    gap: 4px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
  }

  .modal {
    padding: 0;
  }

  .modal-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .modal-head {
    flex: 0 0 auto;
    padding: 12px;
  }

  .modal-head h2 {
    font-size: 16px;
  }

  .preview-area {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  .preview-canvas {
    flex: 1;
    min-height: 0;
    min-height: 290px;
    padding: 16px;
  }

  .preview-canvas.has-frame {
    padding: 0;
    min-height: 0;
  }

  .online-frame {
    min-height: 0;
    height: 100%;
  }

  .preview-side {
    flex: 0 0 auto;
    padding: 12px;
  }

  .paper-preview {
    max-height: 330px;
  }
}
