:root {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --surface-soft: #eef3ea;
  --ink: #18211d;
  --muted: #657269;
  --border: #d8e0d8;
  --brand: #16633f;
  --brand-strong: #0c4a2e;
  --accent: #c38624;
  --danger: #b42318;
  --danger-bg: #fff0ee;
  --success: #247246;
  --warning: #a66200;
  --shadow: 0 18px 45px rgba(29, 45, 36, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 247, 242, 0.92)),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  min-height: 360px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(22, 99, 63, 0.94), rgba(195, 134, 36, 0.78)),
    #124d34;
  color: #fff;
}

.product-mark {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.product-mark span {
  font-size: 64px;
  font-weight: 800;
}

.product-image {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.status-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9e2df;
}

.status-dot.good {
  background: #7ee0a3;
}

.status-dot.warn {
  background: #ffc66d;
}

.status-dot.bad {
  background: #ff8c7d;
}

.content-panel {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.04;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.subtitle {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

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

.summary-grid div,
.field-row {
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}

dt,
.field-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd,
.field-value {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 750;
}

.scheme-line {
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--brand-strong);
  background: #edf8f1;
  border: 1px solid #cce8d4;
  border-radius: 8px;
  font-weight: 750;
}

.detail-section {
  margin-top: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-badge {
  padding: 6px 10px;
  color: var(--brand-strong);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

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

.raw-uri {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.copy-button {
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:focus-visible {
  outline: 3px solid rgba(22, 99, 63, 0.32);
  outline-offset: 2px;
}

.notice {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  line-height: 1.45;
}

.notice.danger {
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid #ffd0ca;
}

.empty {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1040px);
    padding-top: 18px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 240px;
  }

  .content-panel {
    padding: 22px;
  }

  .summary-grid,
  .field-list {
    grid-template-columns: 1fr;
  }
}
