/* ============================================================
   Kuis UT — produk latihan soal. Register: Product.
   Kertas krem + hijau hutan gelap + aksen mata kuning tua.
   ============================================================ */

:root {
  --paper:        #faf7f0;
  --paper-2:      #f3efe4;
  --surface:      #ffffff;
  --ink:          #1c2a23;
  --ink-soft:     #3d4a42;
  --muted:        #6d766e;
  --line:         #e3ded0;
  --line-strong:  #cfc9b8;

  --forest:       #14532d;
  --forest-hover: #1d6b3d;
  --forest-soft:  #e7efe8;
  --amber:        #b45309;
  --amber-soft:   #fdf0d5;

  --good:         #166534;
  --good-soft:    #e9f5ec;
  --bad:          #b91c1c;
  --bad-soft:     #fdecec;

  --focus:        #14532d;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 1px 2px rgba(28,42,35,.06), 0 8px 24px -12px rgba(28,42,35,.25);
  --shadow-lift:  0 2px 4px rgba(28,42,35,.08), 0 16px 40px -18px rgba(28,42,35,.4);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

code, kbd, .q-position, .navigator button { font-family: "Cascadia Mono", Consolas, "SFMono-Regular", monospace; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px clamp(16px, 4vw, 32px);
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--forest); color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 1.05rem;
  flex: 0 0 auto;
}
.brand-text h1 { font-size: 1.15rem; margin: 0; letter-spacing: -.01em; }
.brand-text p { margin: 0; font-size: .78rem; color: var(--muted); }
.brand-text .dot { color: var(--amber); }
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 10px 18px; font-size: .92rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--paper-2); border-color: var(--muted); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-danger-ghost { background: transparent; color: var(--bad); border-color: var(--bad-soft); }
.btn-danger-ghost:hover { background: var(--bad-soft); }

.btn-big {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: var(--forest); color: #fff; border-radius: var(--radius-lg);
  padding: 16px 22px; font-size: 1.05rem; text-align: left; white-space: normal;
}
.btn-big:hover { background: var(--forest-hover); }
.btn-big-sub { font-weight: 400; font-size: .82rem; opacity: .85; }

/* ============================================================
   EMPTY / IMPORT VIEW
   ============================================================ */
.view-empty { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 48px 20px; }
.empty-inner { max-width: 620px; width: 100%; }

.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--amber);
  margin: 0 0 10px; text-transform: uppercase;
}
.empty-inner h2 {
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 16px; color: var(--ink); font-weight: 800;
}
.lede { color: var(--ink-soft); font-size: 1rem; margin: 0 0 24px; max-width: 52ch; }
.lede code { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .82em; }

.dropzone {
  border: 2px dashed var(--line-strong); border-radius: var(--radius-lg);
  background: var(--surface); padding: 28px 20px; text-align: center;
  cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--forest); background: var(--forest-soft); }
.dropzone.dragover { border-color: var(--forest); background: var(--forest-soft); transform: scale(1.01); }
.dz-icon { width: 48px; height: 48px; color: var(--forest); margin: 0 auto 10px; display: block; }
.dz-text strong { display: block; font-size: 1.02rem; }
.dz-text span { color: var(--muted); font-size: .85rem; }

.empty-error {
  margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius);
  background: var(--bad-soft); color: var(--bad); font-size: .9rem; font-weight: 600;
  border: 1px solid #f3c2c2;
}

.empty-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .8rem; margin: 20px 0; }
.empty-or::before, .empty-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

/* ============================================================
   QUIZ VIEW — sidebar + stage
   ============================================================ */
.view-quiz {
  display: grid; grid-template-columns: 340px 1fr;
  min-height: calc(100vh - 69px);
}

.sidebar {
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 20px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 69px; height: calc(100vh - 69px); overflow-y: auto;
}
.exam-meta h2 { margin: 2px 0 2px; font-size: 1.25rem; letter-spacing: -.01em; }
.exam-sub { color: var(--muted); margin: 0 0 12px; font-size: .88rem; }

.exam-badges { display: flex; flex-direction: column; gap: 6px; }
.pill {
  display: flex; align-items: center; gap: 8px; font-size: .82rem;
  padding: 7px 12px; border-radius: 999px; border: 1px solid; font-weight: 600;
}
.pill i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pill b { font-variant-numeric: tabular-nums; }
.pill-module { background: var(--forest-soft); color: var(--forest); border-color: #cfe0d2; }
.pill-module i { background: var(--forest); }
.pill-reference { background: var(--amber-soft); color: var(--amber); border-color: #f0ddba; }
.pill-reference i { background: var(--amber); }

.progress-block { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.progress-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-soft); margin-bottom: 8px; }
.progress-labels b { font-variant-numeric: tabular-nums; }
.progress-track { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--forest); border-radius: 99px; transition: width .3s ease; }

.nav-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.shuffle { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-soft); cursor: pointer; user-select: none; }
.shuffle input { accent-color: var(--forest); width: 15px; height: 15px; }

.navigator { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.navigator button {
  aspect-ratio: 1; border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: 8px; font-size: .78rem; font-weight: 600; cursor: pointer;
  color: var(--ink-soft); position: relative; transition: all .15s ease;
}
.navigator button:hover { border-color: var(--forest); color: var(--forest); }
.navigator button.is-answered { background: var(--forest-soft); border-color: #b9d2c0; color: var(--forest); }
.navigator button.is-flagged::after {
  content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--amber);
}
.navigator button.is-current { outline: 2px solid var(--forest); outline-offset: 1px; background: var(--forest); color: #fff; border-color: var(--forest); }

.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.kbd-hint { font-size: .72rem; color: var(--muted); margin: 0; }
kbd { background: var(--paper-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; font-size: .9em; }

/* --- Stage --- */
.quiz-stage { padding: clamp(18px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; max-width: 880px; }

.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-position { margin: 0; font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.q-position span { color: var(--ink); font-weight: 700; }

.flag-btn {
  display: inline-flex; align-items: center; gap: 7px; font-family: inherit; font-size: .85rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-soft);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .15s ease;
}
.flag-btn svg { width: 16px; height: 16px; }
.flag-btn:hover { border-color: var(--amber); color: var(--amber); }
.flag-btn[aria-pressed="true"] { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }

.question-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow);
}
.q-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.src-badge { font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 6px; }
.src-badge.is-module { background: var(--forest-soft); color: var(--forest); }
.src-badge.is-reference { background: var(--amber-soft); color: var(--amber); }
.q-origin { font-size: .8rem; color: var(--muted); font-weight: 600; }

.q-text { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; margin: 0 0 20px; letter-spacing: -.01em; }

.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-family: inherit; font-size: 1rem; color: var(--ink);
  cursor: pointer; transition: all .15s ease; line-height: 1.45;
}
.option:hover { border-color: var(--forest); background: var(--forest-soft); }
.option-key {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong); font-weight: 800; font-size: .95rem;
  text-transform: uppercase; color: var(--ink-soft); transition: all .15s ease;
}
.option[aria-checked="true"] { border-color: var(--forest); background: var(--forest-soft); box-shadow: var(--shadow); }
.option[aria-checked="true"] .option-key { background: var(--forest); border-color: var(--forest); color: #fff; }

.stage-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ============================================================
   RESULT VIEW
   ============================================================ */
.view-result { min-height: calc(100vh - 69px); padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 40px); }
.result-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }

.score-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lift); text-align: center; position: sticky; top: 84px; }
.score-ring { position: relative; width: 150px; height: 150px; margin: 8px auto 14px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--paper-2); stroke-width: 12; }
.ring-fg { fill: none; stroke: var(--forest); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.9,.25,1); }
.score-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 52px; gap: 2px; }
.score-num span { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.score-num small { font-size: 1rem; color: var(--muted); font-weight: 700; }
.score-panel h2 { margin: 0 0 6px; font-size: 1.4rem; letter-spacing: -.01em; }
.result-line { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.result-line b { color: var(--ink); font-variant-numeric: tabular-nums; }

.source-split { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; text-align: left; }
.split-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font-size: .88rem; }
.split-row b { font-variant-numeric: tabular-nums; }
.split-bar { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.split-fill { height: 100%; }
.split-fill.module { background: var(--forest); }
.split-fill.reference { background: var(--amber); }

.result-actions { display: flex; flex-direction: column; gap: 8px; }
.result-actions .btn { justify-content: center; }

.review-panel { min-width: 0; }
.review-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.review-head h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.01em; }
.review-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s ease; }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-module.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip-reference.is-active { background: var(--amber); border-color: var(--amber); color: #fff; }
.review-count { font-size: .82rem; color: var(--muted); margin: 4px 0 14px; }

.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: review; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: var(--radius); padding: 14px 16px; }
.review-item.is-correct { border-left-color: var(--good); }
.review-item.is-wrong { border-left-color: var(--bad); }
.review-item.is-blank { border-left-color: var(--line-strong); }

.ri-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ri-num { font-weight: 800; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ri-verdict { font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 5px; text-transform: uppercase; }
.is-correct .ri-verdict { background: var(--good-soft); color: var(--good); }
.is-wrong .ri-verdict { background: var(--bad-soft); color: var(--bad); }
.is-blank .ri-verdict { background: var(--paper-2); color: var(--muted); }
.ri-src { font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-left: auto; }

.ri-question { margin: 0 0 10px; font-weight: 600; font-size: .97rem; }
.ri-options { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.ri-option { display: flex; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--ink-soft); }
.ri-option .k { font-weight: 700; text-transform: uppercase; width: 18px; flex: 0 0 auto; }
.ri-option.is-answer { background: var(--good-soft); color: var(--good); font-weight: 600; }
.ri-option.is-chosen-wrong { background: var(--bad-soft); color: var(--bad); }

/* ============================================================
   Dialog
   ============================================================ */
.dialog-backdrop { position: fixed; inset: 0; background: rgba(28,42,35,.45); display: grid; place-items: center; z-index: 80; padding: 20px; }
.dialog { background: var(--surface); border-radius: var(--radius-lg); max-width: 420px; width: 100%; padding: 24px; box-shadow: var(--shadow-lift); }
.dialog h3 { margin: 0 0 8px; }
.dialog p { margin: 0 0 18px; color: var(--ink-soft); }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Library & range selection ---------- */
.empty-inner-wide { max-width: 980px; }
.library-section { margin: 22px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.section-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; }
.muted { color: var(--muted); font-size: .88rem; margin: 0; }

.bank-library { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bank-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px 16px 14px; cursor: pointer; font-family: inherit; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease, background .15s ease;
}
.bank-card:hover { border-color: var(--forest); box-shadow: var(--shadow); }
.bank-card:active { transform: translateY(1px); }
.bank-card.is-selected { border-color: var(--forest); background: var(--forest-soft); box-shadow: 0 0 0 2px rgba(20,83,45,.12); }
.bank-code {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--forest);
  background: var(--forest-soft); border: 1px solid #cfe0d2; border-radius: 6px; padding: 2px 8px;
}
.bank-card.is-selected .bank-code { background: var(--forest); color: #fff; border-color: var(--forest); }
.bank-title { font-size: .98rem; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.bank-meta { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.bank-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }

.bank-config {
  margin-top: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow);
  scroll-margin-top: 90px;
}
.dropzone { margin-top: 6px; }
.config-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.config-head h3 { margin: 2px 0 4px; font-size: 1.15rem; letter-spacing: -.01em; }

.range-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.range-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.range-field { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.range-field input {
  width: 110px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--ink); background: var(--surface);
  font-variant-numeric: tabular-nums;
}
.range-field input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.range-sep { font-size: 1.2rem; color: var(--muted); padding-bottom: 10px; font-weight: 700; }
.range-summary { margin-left: auto; display: flex; flex-direction: column; gap: 2px; font-size: .82rem; color: var(--muted); text-align: right; }
.range-summary strong { font-size: 1.05rem; color: var(--forest); }
.range-summary b { font-variant-numeric: tabular-nums; }
.range-error { margin: 10px 0 0; color: var(--bad); font-size: .88rem; font-weight: 600; }

.preset-block { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.preset-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.preset-list { display: flex; flex-wrap: wrap; gap: 8px; }
.preset-btn {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all .15s ease;
}
.preset-btn:hover { border-color: var(--forest); color: var(--forest); background: var(--forest-soft); }

.config-actions { margin-top: 14px; display: flex; justify-content: flex-end; }
.btn-big-start { padding: 12px 22px; font-size: 1rem; }

.exam-range { margin: 2px 0 10px; font-size: .82rem; color: var(--forest); font-weight: 700; background: var(--forest-soft); border: 1px solid #cfe0d2; display: inline-block; padding: 3px 10px; border-radius: 999px; }
.mark { font-weight: 800; margin-left: 4px; }
.ri-option.is-answer .mark { color: var(--good); }
.ri-option.is-chosen-wrong .mark { color: var(--bad); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .result-inner { grid-template-columns: 1fr; }
  .score-panel { position: static; }
}
@media (max-width: 900px) {
  .view-quiz { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--line); order: 2; }
  .quiz-stage { order: 1; max-width: none; }
  .navigator { grid-template-columns: repeat(8, 1fr); }
  .topbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .topbar-actions { justify-content: stretch; }
  .topbar-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 560px) {
  .navigator { grid-template-columns: repeat(5, 1fr); }
  .stage-bottom .btn { padding: 10px 12px; font-size: .85rem; }
  .brand-text p { display: none; }
}

/* ============================================================
   Print — kunci jawaban saja
   ============================================================ */
@media print {
  .topbar, .sidebar, .stage-bottom, .stage-top, .result-actions, .review-filters, .score-panel .eyebrow { display: none !important; }
  body { background: #fff; }
  .view-result { padding: 0; }
  .result-inner { grid-template-columns: 1fr; }
  .score-panel { position: static; box-shadow: none; border: none; border-bottom: 2px solid #000; border-radius: 0; }
  .review-item { break-inside: avoid; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
