:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-strong: #eef2ea;
  --text: #18211b;
  --muted: #647067;
  --line: #dce3dc;
  --brand: #166044;
  --brand-strong: #0c4932;
  --accent: #e0a72e;
  --danger: #b3261e;
  --shadow: 0 12px 30px rgba(20, 36, 26, 0.09);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 16px 14px 96px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(246, 247, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.app-header h1 {
  margin: 2px 0 0;
  font-size: 17px;
  line-height: 1.25;
}

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

.sync-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 10px 0 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sync-status[data-sync-mode="online"] {
  border-color: rgba(31, 111, 79, 0.28);
  background: rgba(220, 248, 231, 0.86);
  color: #1f6f4f;
}

.sync-status[data-sync-mode="syncing"] {
  border-color: rgba(26, 115, 232, 0.26);
  background: rgba(227, 239, 255, 0.9);
  color: #1558b0;
}

.sync-status[data-sync-mode="error"] {
  border-color: rgba(185, 68, 68, 0.28);
  background: rgba(255, 235, 235, 0.92);
  color: #9d3737;
}

section {
  margin: 14px 0;
}

.hero-section,
.product-section,
.form-section,
.feed-section,
.member-section,
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.hero-section {
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ec 100%);
}

.hero-copy h2,
.section-heading h2 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

#tryFeed .section-heading h2 {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

#tryFeed .eyebrow {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  text-transform: none;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.helper-text,
.purchase-note,
.version-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.version-note {
  font-size: 13px;
  font-weight: 800;
}

.activity-card summary {
  min-height: 38px;
  color: var(--brand-strong);
  cursor: pointer;
  font-weight: 900;
  padding: 4px 0;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 6px 9px;
  border-radius: 6px;
  background: #e9f1e8;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  display: inline-flex;
  width: fit-content;
  margin-right: 6px;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.type-badge.sample {
  background: #e7f2ea;
  color: #1c6b42;
}

.type-badge.purchase {
  background: #eef0ff;
  color: #3046a8;
}

.quick-actions,
.admin-grid {
  display: grid;
  gap: 10px;
}

.primary-action,
.secondary-action,
.icon-button,
.tab,
.small-button,
.danger-button {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 11px 13px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

a.icon-button {
  display: inline-grid;
  place-items: center;
}

.primary-action {
  background: var(--brand);
  color: white;
}

.secondary-action {
  background: var(--surface-strong);
  color: var(--brand-strong);
}

.icon-button,
.small-button {
  background: #e9ece6;
  color: var(--text);
}

.danger-button {
  background: #fde8e7;
  color: var(--danger);
}

.section-heading {
  margin-bottom: 12px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.sku-grid {
  display: grid;
  gap: 10px;
}

.product-hero-card,
.detail-grid,
.feature-strip,
.material-tags,
.spec-strip,
.breaker-grid {
  display: grid;
  gap: 10px;
}

.product-hero-card {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  padding: 13px;
}

.insert-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 25%, rgba(255, 235, 150, 0.72), transparent 24%),
    linear-gradient(135deg, rgba(122, 90, 16, 0.12), rgba(224, 167, 46, 0.28)),
    #f3f0e6;
}

.product-photo-frame {
  min-height: 270px;
  background: #f5f4ef;
}

.product-photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.insert-shape {
  width: 112px;
  aspect-ratio: 1;
  border: 12px solid #3b2a10;
  border-radius: 18px;
  background: #d6a824;
  box-shadow: inset 0 0 0 8px #f0c744, inset 0 0 0 20px #916516, 0 16px 28px rgba(90, 66, 12, 0.2);
  transform: rotate(45deg);
}

.insert-shape::before,
.insert-shape::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 5px solid rgba(65, 45, 10, 0.75);
  border-radius: 12px;
}

.insert-shape::after {
  inset: 32px 10px;
  border-width: 4px;
  border-left-color: transparent;
  border-right-color: transparent;
}

.insert-hole {
  position: absolute;
  width: 42px;
  aspect-ratio: 1;
  border: 9px solid #3b2a10;
  border-radius: 999px;
  background: #f6f7f4;
}

.product-hero-copy h3,
.detail-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.32;
}

.product-hero-copy p,
.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-strip {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 12px;
}

.feature-strip span,
.material-tags strong {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border-radius: 8px;
  background: #edf3ec;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.material-tags {
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  margin-bottom: 10px;
}

.material-tags > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.material-tags strong {
  min-width: 0;
  padding: 0 6px;
  font-size: 12px;
  white-space: nowrap;
}

.spec-strip {
  margin-top: 10px;
}

.spec-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  padding: 11px;
}

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

.spec-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
}

.catalog-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 13px;
}

.catalog-heading h3 {
  margin: 6px 0;
  font-size: 18px;
}

.catalog-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.breaker-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
}

.breaker-card strong {
  display: block;
  margin-bottom: 5px;
}

.breaker-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.breaker-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 78px;
  border-radius: 8px;
  background: #f1f4ef;
}

.photo-thumb {
  overflow: hidden;
  background: #f5f4ef;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  min-height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.breaker-insert {
  width: 48px;
  aspect-ratio: 1;
  border: 8px solid #3b2a10;
  border-radius: 10px;
  background: #d7aa25;
  box-shadow: inset 0 0 0 5px #f0c744, inset 0 0 0 13px #8f651a;
  transform: rotate(45deg);
}

.breaker-insert.coated {
  background: #e1b333;
}

.breaker-line {
  position: absolute;
  right: 15px;
  bottom: 14px;
  width: 36px;
  height: 11px;
  border-top: 3px solid #202923;
  border-radius: 999px;
}

.breaker-line.mt,
.breaker-line.edge {
  height: 16px;
  border-top-width: 4px;
}

.breaker-line.mt::before,
.breaker-line.edge::before {
  content: "MT";
  position: absolute;
  right: 0;
  bottom: 12px;
  color: #3b2a10;
  font-size: 11px;
  font-weight: 900;
}

.range-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 11px;
}

.range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.range-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.range-chart {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-left: 2px solid #303a33;
  border-bottom: 2px solid #303a33;
  background-image:
    linear-gradient(#dce3dc 1px, transparent 1px),
    linear-gradient(90deg, #dce3dc 1px, transparent 1px);
  background-size: 28px 28px;
}

.axis-y,
.axis-x {
  position: absolute;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.axis-y {
  top: 8px;
  left: 8px;
}

.axis-x {
  right: 8px;
  bottom: 8px;
}

.range-block {
  position: absolute;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  opacity: 0.9;
}

.range-block.mt {
  left: 80px;
  bottom: 38px;
  width: 158px;
  height: 114px;
  background: linear-gradient(135deg, #c9991c, #1f78b8);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
}

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

.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 9px;
  text-align: left;
  white-space: nowrap;
}

.spec-table th {
  background: #edf1ea;
  color: var(--brand-strong);
  font-weight: 900;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.sku-card,
.launch-panel,
.detail-card,
.step-card,
.feed-card,
.member-card,
.price-card,
.activity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 13px;
}

.highlight-card {
  background: #f4f7f2;
}

.sku-card span {
  color: var(--brand);
  font-weight: 900;
}

.sku-card strong {
  display: block;
  margin: 6px 0;
}

.sku-card p,
.launch-panel p,
.detail-card p,
.feed-card p,
.member-card p,
.price-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.launch-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  background: #fffaf0;
}

.launch-panel small {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-weight: 800;
}

.sku-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.detail-grid {
  margin-top: 10px;
}

.product-actions {
  display: grid;
  gap: 8px;
}

.stacked-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.check-row input {
  width: 20px;
  height: 20px;
}

.invoice-fields {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font-size: 15px;
}

input,
select {
  height: 56px;
  line-height: 56px;
  padding: 0 16px;
}

textarea {
  min-height: 104px;
  line-height: 1.55;
  padding: 14px 16px;
  resize: vertical;
}

select {
  appearance: auto;
  line-height: normal;
}

input::placeholder,
textarea::placeholder {
  color: #7b817c;
}

#reportForm input,
#reportForm select {
  height: 58px;
  line-height: 58px;
  padding-top: 0;
  padding-bottom: 0;
}

#reportForm textarea {
  min-height: 112px;
  line-height: 1.6;
}

#reportForm label {
  gap: 10px;
}

#reportForm .stacked-form,
#reportForm .step-card {
  gap: 18px;
}

.file-picker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
}

.file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-button {
  display: inline-grid;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 900;
  padding: 10px 12px;
  text-align: center;
  white-space: nowrap;
}

.file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  font-size: 14px;
  font-weight: 900;
}

.segmented input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand);
}

.step-card summary {
  min-height: 44px;
  color: var(--brand-strong);
  font-weight: 850;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sort-tabs {
  display: flex;
  gap: 6px;
}

.member-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.tab {
  min-height: 38px;
  padding: 8px 10px;
  background: #e9ece6;
}

.member-tab {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #e9ece6;
  color: var(--text);
  padding: 8px 6px;
  font-size: 13px;
  font-weight: 850;
}

.tab.is-active,
.member-tab.is-active {
  background: var(--brand);
  color: white;
}

.feed-list,
.price-list,
.sample-list,
.purchase-list,
.report-submit-list,
.member-area {
  display: grid;
  gap: 12px;
}

.feed-card {
  position: relative;
  overflow: hidden;
}

.feed-empty-card {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 16px;
}

.price-empty-card {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffaf0;
  margin-top: 14px;
  padding: 16px;
}

.sample-empty-card,
.sample-card,
.purchase-empty-card,
.purchase-card,
.report-submit-empty-card,
.report-submit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 13px;
}

.sample-empty-card,
.purchase-empty-card,
.report-submit-empty-card {
  border-style: dashed;
  color: var(--muted);
}

.feed-empty-card h3,
.price-empty-card h3 {
  margin: 6px 0;
}

.feed-empty-card .eyebrow {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  text-transform: none;
}

.feed-empty-card h3 {
  color: var(--muted);
  font-size: 16px;
}

.feed-empty-card p,
.price-empty-card p {
  color: var(--muted);
  line-height: 1.55;
}

.demo-card {
  border-style: dashed;
}

.feed-card.is-hidden {
  opacity: 0.55;
}

.feed-meta,
.report-tags,
.card-actions,
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.feed-meta,
.report-tags {
  color: var(--muted);
  font-size: 12px;
}

.feed-card .feed-meta {
  font-size: 14px;
}

.feed-card .feed-meta strong,
.feed-card .feed-meta span {
  font-weight: 850;
}

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

.update-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.rating-badge {
  flex: 0 0 auto;
  min-width: 72px;
  border-radius: 8px;
  background: #fff4d8;
  color: #7d5600;
  padding: 8px;
  text-align: center;
}

.rating-badge strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.rating-badge span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 900;
}

.report-summary {
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  font-size: 16px;
  font-weight: 750;
}

.report-tags span,
.status-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf1ea;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.score {
  color: var(--accent);
  font-weight: 900;
}

.comparison-strip {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  border-radius: 8px;
  background: #f0f3ef;
  padding: 10px;
}

.comparison-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.media-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.media-panel img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-placeholder {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
  text-align: center;
}

.progress-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.progress-row span {
  border-radius: 999px;
  background: #f5f6f2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.card-actions {
  margin-top: 12px;
}

.price-card .card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.price-card .danger-button {
  grid-column: 1 / -1;
}

.small-button,
.danger-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
}

.icon-vote {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.vote-status {
  margin: 8px 0 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.list-title {
  margin: 16px 0 8px;
  font-size: 16px;
}

.comments {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.locked-segments {
  margin-top: 10px;
}

.locked-segments summary {
  min-height: 34px;
  color: var(--brand-strong);
  cursor: pointer;
  font-weight: 900;
  padding: 6px 0;
}

.locked-segment {
  margin-top: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f7f9f6;
  padding: 10px;
}

.locked-segment p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.comments summary {
  min-height: 40px;
  color: var(--brand-strong);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 0;
}

.comment {
  margin-top: 8px;
  border: 1px solid #edf0ea;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.reply-comment {
  margin: 8px 0 0 12px;
  border-left: 3px solid #e5eadf;
  padding: 8px 0 0 10px;
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.comment-head strong {
  font-size: 13px;
}

.comment-empty {
  margin: 8px 0;
  color: var(--muted);
}

.comment {
  border-bottom: 1px solid #edf0ea;
}

.comment p {
  margin: 0;
}

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

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

.comment-form button {
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  padding: 0 12px;
}

.activity-list {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 0;
  list-style: none;
}

.admin-review {
  display: grid;
  gap: 10px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.member-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.member-guide-card {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 16px;
}

.member-guide-card h3 {
  margin: 6px 0;
}

.member-guide-card p {
  color: var(--muted);
  line-height: 1.55;
}

.stat-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--text);
  cursor: pointer;
  padding: 12px;
  text-align: left;
  text-decoration: none;
}

.stat-card strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-summary {
  min-height: 46px;
  margin: -4px 0 12px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-weight: 900;
  padding: 13px;
  text-align: center;
}

.admin-panel.is-locked > :not(.admin-summary) {
  display: none;
}

.admin-panel.is-unlocked .admin-summary {
  background: var(--brand-strong);
}

.admin-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 14px;
}

.admin-tools p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.import-button {
  justify-content: center;
  cursor: pointer;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.admin-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.activity-card {
  font-size: 13px;
}

@media (min-width: 720px) {
  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .member-summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-row {
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
  }
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 720px) {
  .quick-actions,
  .sku-grid,
  .admin-grid,
  .detail-grid,
  .product-actions,
  .spec-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .breaker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-hero-card {
    grid-template-columns: 260px 1fr;
    align-items: center;
  }

  .launch-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
