/* Halal Ingredients Dictionary: search, status labels, ingredient cards and the detail page. */
.hl-search { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin-block-end: 1.25rem; }
.hl-search-box { position: relative; display: flex; gap: .5rem; padding: .45rem; border-radius: 999px; background: var(--lf-card); border: 1px solid var(--lf-card-line); box-shadow: var(--lf-shadow); }
.hl-search-box i { position: absolute; inset-inline-start: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--lf-muted); font-size: 1.1rem; }
.hl-search-box input { flex: 1; min-width: 0; border: 0; background: transparent; padding-inline-start: 2.6rem; font-size: 1.05rem; color: var(--lf-ink); min-height: 48px; }
.hl-search-box input:focus { outline: none; }
.hl-search-box:focus-within { border-color: var(--lf-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lf-accent) 16%, transparent), var(--lf-shadow); }
.hl-filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.hl-filters select { width: auto; min-width: 220px; max-width: 100%; border-radius: 999px; min-height: 44px; }
.hl-legend-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; margin-block-end: 1rem; }
.hl-learn { font-weight: 600; text-decoration: none; }

.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1rem; }
.hl-card { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem; border-radius: 20px; background: var(--lf-card); border: 1px solid var(--lf-card-line); box-shadow: var(--lf-shadow); text-decoration: none; color: var(--lf-ink) !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hl-card[hidden] { display: none; }
.hl-card:hover { transform: translateY(-2px); box-shadow: var(--lf-shadow-hover); border-color: color-mix(in srgb, var(--lf-accent) 35%, var(--lf-card-line)); }
.hl-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem; align-items: center; }
.hl-card-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lf-muted); font-weight: 600; }
.hl-card-name { font-size: 1.12rem; }
.hl-card-state { display: inline-flex; align-items: center; gap: .3rem; }
.hl-card-alt { font-size: .82rem; color: var(--lf-accent); font-variant-numeric: tabular-nums; }
.hl-card-uses { color: var(--lf-muted); font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hl-status { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.35; border: 1px solid transparent; }
.hl-status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.hl-status--avoid { background: #fdecec; color: #9c2424; border-color: #f3c4c4; }
.hl-status--avoid-unless-zabiha { background: #fdf0e3; color: #8d4f12; border-color: #f2cfa5; }
.hl-status--check-source { background: #fff7dd; color: #6f5300; border-color: #f0dc95; }
.hl-status--check-alcohol { background: #e9f1fb; color: #24589a; border-color: #c2d7f1; }
.hl-status--fine { background: #e2f4f3; color: #0b6362; border-color: #b6e2df; }
.hl-status--school-specific { background: #f1ecfa; color: #5d3f99; border-color: #d6c8f0; }
.hl-status--not-enough-information { background: #eef0f2; color: #4c5662; border-color: #d4d9de; }
[data-theme="dark"] .hl-status { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
[data-theme="dark"] .hl-status--avoid { color: #ffaaa5; }
[data-theme="dark"] .hl-status--avoid-unless-zabiha { color: #f2bf86; }
[data-theme="dark"] .hl-status--check-source { color: #f0d77a; }
[data-theme="dark"] .hl-status--check-alcohol { color: #9cc3f2; }
[data-theme="dark"] .hl-status--fine { color: #8fe0da; }
[data-theme="dark"] .hl-status--school-specific { color: #c8b5f2; }
[data-theme="dark"] .hl-status--not-enough-information { color: #c3cad2; }
.hl-status--lg { font-size: 1rem; padding: .45rem 1rem; margin: 0 0 .5rem; }

.hl-rules { margin-block-end: 1.5rem; }
.hl-rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.hl-rule { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 20px; background: var(--lf-card); border: 1px solid var(--lf-card-line); box-shadow: var(--lf-shadow); }
.hl-rule-icon { flex: 0 0 auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--lf-accent-soft); color: var(--lf-accent); font-size: 1.3rem; }
.hl-rule h2, .hl-rule h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .35rem; color: var(--lf-ink); }
.hl-rule p { margin: 0; color: var(--lf-muted); line-height: 1.55; }
.hl-rules-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lf-muted); font-weight: 600; margin: 0 0 .6rem; }

.hl-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.hl-status-panel { background: var(--lf-card); border: 1px solid var(--lf-card-line); border-radius: 22px; padding: 1.25rem 1.4rem; box-shadow: var(--lf-shadow); margin-block-end: 1.25rem; }
.hl-status-panel h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lf-muted); font-weight: 600; margin: 0 0 .75rem; }
.hl-aside { position: sticky; top: calc(var(--ip-header-h, 72px) + 1rem); }
.hl-alt-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.hl-alt-list li { padding: .2rem .6rem; border-radius: 999px; background: var(--lf-accent-soft); color: var(--lf-accent); font-size: .85rem; }
.hl-source { font-size: .88rem; color: var(--lf-muted); line-height: 1.55; }

@media (max-width: 991.98px) {
  .hl-detail { grid-template-columns: 1fr; }
  .hl-aside { position: static; }
}
@media (max-width: 575.98px) {
  .hl-search-box { border-radius: 20px; flex-wrap: wrap; }
  .hl-search-box .lf-btn { width: 100%; }
  .hl-search-box i { top: 1.9rem; }
  .hl-filters select { min-width: 0; flex: 1 1 100%; }
}

/* ---------- Modes: look up an ingredient / check a whole label ---------- */
.hl-modes { display: inline-flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; margin-block-end: 1rem; border-radius: 999px; background: var(--lf-card); border: 1px solid var(--lf-card-line); box-shadow: var(--lf-shadow); }
.hl-modes[hidden] { display: none; }
.hl-mode { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--lf-muted); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.hl-mode[aria-selected="true"] { background: var(--ip-primary); color: var(--ip-primary-ink); box-shadow: var(--ip-shadow-glow); }
.hl-mode:focus-visible, .hl-chip:focus-visible, .hl-label-sample:focus-visible { outline: 3px solid var(--ip-focus); outline-offset: 2px; }
.hl-mode-new { padding: .05rem .45rem; border-radius: 999px; background: var(--ip-accent); color: #2a1d05; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.hl-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: -.25rem 1.1rem; }
.hl-chip { display: inline-flex; align-items: center; min-height: 36px; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--lf-card-line); background: var(--lf-card); color: var(--lf-ink); font-size: .8rem; font-weight: 600; cursor: pointer; transition: transform .2s var(--ip-ease), background-color .2s; }
.hl-chip:hover { transform: translateY(-1px); }
.hl-chip[aria-pressed="true"] { background: var(--ip-ink); border-color: var(--ip-ink); color: var(--ip-bg); }
.hl-chip--avoid[aria-pressed="false"]::before, .hl-chip--avoid-unless-zabiha[aria-pressed="false"]::before, .hl-chip--check-source[aria-pressed="false"]::before,
.hl-chip--check-alcohol[aria-pressed="false"]::before, .hl-chip--fine[aria-pressed="false"]::before, .hl-chip--school-specific[aria-pressed="false"]::before,
.hl-chip--not-enough-information[aria-pressed="false"]::before { content: ""; width: .55rem; height: .55rem; margin-inline-end: .4rem; border-radius: 50%; background: var(--dot); }
.hl-chip--avoid { --dot: #c0392b; } .hl-chip--avoid-unless-zabiha { --dot: #d9822b; } .hl-chip--check-source { --dot: #c9a227; }
.hl-chip--check-alcohol { --dot: #2a69ad; } .hl-chip--fine { --dot: #13857f; } .hl-chip--school-specific { --dot: #6f42c1; } .hl-chip--not-enough-information { --dot: #7a8591; }
.hl-select-replaced { display: none; }

.hl-label { margin-block-end: 1.5rem; }
.hl-label.is-in { animation: hl-in .4s var(--ip-ease); }
@keyframes hl-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hl-label-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; }
.hl-label-input, .hl-label-out { padding: 1.25rem 1.35rem; border-radius: 22px; background: var(--lf-card); border: 1px solid var(--lf-card-line); box-shadow: var(--lf-shadow); }
.hl-label-title { display: block; font-size: 1.15rem; font-weight: 700; margin: 0 0 .25rem; color: var(--lf-ink); }
.hl-label-help { margin: 0 0 .8rem; color: var(--lf-muted); font-size: .92rem; line-height: 1.5; }
.hl-label-input textarea { width: 100%; min-height: 170px; padding: .85rem 1rem; border-radius: 16px; border: 1px solid var(--lf-card-line); background: var(--ip-surface-2); color: var(--lf-ink); font-size: .95rem; line-height: 1.55; resize: vertical; }
.hl-label-input textarea:focus { outline: 3px solid var(--ip-focus); outline-offset: 1px; }
.hl-label-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .75rem; }
.hl-label-sample { min-height: 40px; padding: .35rem .9rem; border-radius: 999px; border: 1px dashed var(--lf-card-line); background: transparent; color: var(--lf-muted); font-weight: 600; font-size: .85rem; cursor: pointer; }
.hl-label-sample:hover { color: var(--ip-primary); border-color: var(--ip-primary); }
.hl-label-out { min-height: 260px; }
.hl-label-empty { display: grid; place-items: center; gap: .6rem; min-height: 220px; text-align: center; color: var(--lf-muted); }
.hl-label-empty[hidden] { display: none; }
.hl-label-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ip-primary-soft); color: var(--ip-primary); font-size: 1.8rem; }
.hl-label-empty p { margin: 0; max-width: 30ch; }
.hl-label-summary { display: flex; flex-wrap: wrap; gap: .4rem; margin-block-end: .85rem; }
.hl-label-summary[hidden] { display: none; }
.hl-sum { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 700; font-size: .82rem; }
.hl-sum--attention { background: #fdecec; color: #9c2424; }
.hl-sum--fine { background: #e2f4f3; color: #0b6362; }
.hl-sum--other { background: #f1ecfa; color: #5d3f99; }
.hl-sum--unknown { background: var(--ip-surface-2); color: var(--lf-muted); }
[data-theme="dark"] .hl-sum--attention { background: rgba(255, 140, 140, .12); color: #ffaaa5; }
[data-theme="dark"] .hl-sum--fine { background: rgba(143, 224, 218, .1); color: #8fe0da; }
[data-theme="dark"] .hl-sum--other { background: rgba(200, 181, 242, .1); color: #c8b5f2; }
.hl-label-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; max-height: 440px; overflow: auto; }
.hl-label-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; padding: .6rem .8rem; border-radius: 14px; background: var(--ip-surface-2); border-inline-start: 4px solid #13857f; animation: hl-in .35s var(--ip-ease) both; }
.hl-label-row.is-attention { border-inline-start-color: #c0392b; }
.hl-label-row.is-unknown { border-inline-start-color: var(--lf-card-line); }
.hl-label-said { font-weight: 600; color: var(--lf-ink); text-transform: capitalize; }
.hl-label-result { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.hl-label-entry { font-size: .85rem; font-weight: 600; text-decoration: none; }
.hl-label-entry:hover { text-decoration: underline; }
.hl-label-unknown { font-size: .82rem; color: var(--lf-muted); font-style: italic; }
.hl-label-note { display: flex; gap: .5rem; align-items: flex-start; margin: .85rem 0 0; color: var(--lf-muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 767.98px) { .hl-label-grid { grid-template-columns: minmax(0, 1fr); } .hl-modes { display: flex; } .hl-mode { flex: 1; justify-content: center; padding-inline: .6rem; font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .hl-label.is-in, .hl-label-row { animation: none; } .hl-chip, .hl-mode { transition: none; } }

/* ==========================================================================
   An ingredient's verdict (gauge and "check your product"), the page's own
   contents, copyable names, ingredients in the same group, the chapters of
   "What is halal food?" with the Zabiha check, and "what next".
   ========================================================================== */
.hl-verdict { position: relative; overflow: hidden; }
.hl-verdict__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 1.25rem; align-items: center; }
.hl-gauge { --level: 0; position: relative; padding-top: 1.1rem; }
.hl-gauge__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 12px; }
.hl-gauge__track span { border-radius: 999px; }
.hl-gauge__track span:nth-child(1) { background: #3fb39e; }
.hl-gauge__track span:nth-child(2) { background: #a99ad6; }
.hl-gauge__track span:nth-child(3) { background: #e9b949; }
.hl-gauge__track span:nth-child(4) { background: #d9605a; }
.hl-gauge__marker {
  position: absolute; top: 0; inset-inline-start: 0; width: 25%; display: flex; justify-content: center;
  transform: translateX(calc(var(--level) * 100%)); transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
[dir="rtl"] .hl-gauge__marker { transform: translateX(calc(var(--level) * -100%)); }
.hl-gauge__marker::before { content: ""; width: 0; height: 0; border-inline: 8px solid transparent; border-top: 10px solid var(--lf-ink); }
.hl-gauge__labels { display: flex; justify-content: space-between; margin-top: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lf-muted); }
html[lang="ar"] .hl-gauge__labels, html[lang="ur"] .hl-gauge__labels { letter-spacing: 0; font-size: .82rem; }

.hl-check { margin-top: 1.1rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--lf-accent-soft); border: 1px solid color-mix(in srgb, var(--lf-accent) 22%, transparent); }
.hl-check__title { margin: 0 0 .6rem; font-weight: 700; color: var(--lf-ink); display: flex; align-items: center; gap: .45rem; }
.hl-check__title i { color: var(--lf-accent); }
.hl-check__trail { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.hl-check__trail:empty { display: none; }
.hl-check__trail li { padding: .15rem .6rem; border-radius: 999px; background: var(--lf-card); border: 1px solid var(--lf-card-line); font-size: .78rem; font-weight: 600; color: var(--lf-muted); }
.hl-check__trail li + li::before { content: "\203A"; margin-inline-end: .35rem; opacity: .6; }
.hl-check__q { margin: 0 0 .65rem; font-size: 1.05rem; font-weight: 700; color: var(--lf-ink); }
.hl-check__answers { display: flex; flex-wrap: wrap; gap: .45rem; }
.hl-check__answer {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--lf-card-line); background: var(--lf-card); color: var(--lf-ink); font-weight: 600; transition: transform .2s, border-color .2s;
}
.hl-check__answer:hover { transform: translateY(-2px); border-color: var(--lf-accent); }
.hl-check__answer i { color: var(--lf-accent); }
.hl-check__step.is-in, .hl-check__result.is-in { animation: hl-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hl-in { from { opacity: 0; transform: translateY(8px); } }
.hl-check__result { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; background: var(--lf-card); border: 1px solid var(--lf-card-line); }
.hl-check__result > i { font-size: 1.8rem; line-height: 1; }
.hl-check__result--fine > i, .hl-check__result--zabiha > i { color: #128a76; }
.hl-check__result--avoid > i { color: #c0443d; }
.hl-check__result--unknown > i, .hl-check__result--ask > i { color: #b9851a; }
.hl-check__verdict { margin: 0 0 .2rem; font-weight: 800; color: var(--lf-ink); outline: none; }
.hl-check__why { margin: 0; color: var(--lf-muted); font-size: .92rem; line-height: 1.55; }
.hl-check__again { margin-top: .7rem; border: 0; background: none; padding: .3rem 0; color: var(--lf-accent-strong, var(--lf-accent)); font-weight: 700; cursor: pointer; display: inline-flex; gap: .35rem; align-items: center; }
.hl-check__again[hidden], .hl-check [hidden] { display: none; }

/* Contents beside an ingredient */
.hl-toc { margin-bottom: 1rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--lf-card); border: 1px solid var(--lf-card-line); position: relative; overflow: hidden; }
.hl-toc .lx-rail__list { display: grid; gap: .15rem; padding: 0; overflow: visible; }
.hl-toc .lx-rail__link { display: flex; width: 100%; white-space: normal; padding: .4rem .6rem; border-radius: 10px; }
.hl-toc .lx-rail__link.is-active { background: var(--lf-accent); color: var(--lf-accent-ink, #fff); }
.hl-toc__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--lf-card-line); }
.hl-toc__bar .lx-rail__progress { bottom: 0; height: 3px; }
.hl-alt-list li { padding: 0; background: none; }
.hl-alt-copy {
  display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--lf-accent-soft); color: var(--lf-accent); font-size: .85rem; font-weight: 600; cursor: copy; transition: border-color .2s;
}
.hl-alt-copy i { font-size: .72rem; opacity: .65; }
.hl-alt-copy:hover { border-color: var(--lf-accent); }
.hl-alt-copy.is-copied { background: var(--lf-accent); color: var(--lf-accent-ink, #fff); }
.hl-alt-help { margin: .5rem 0 0; font-size: .78rem; color: var(--lf-muted); }

/* Ingredients in the same group */
.hl-related { margin-top: 1.25rem; padding: 1.25rem 1.4rem; border-radius: 22px; background: var(--lf-card); border: 1px solid var(--lf-card-line); scroll-margin-top: calc(var(--ip-header-h, 72px) + 1rem); }
.hl-related__list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.hl-related__list a { display: grid; gap: .3rem; height: 100%; padding: .85rem .95rem; border-radius: 16px; border: 1px solid var(--lf-card-line); background: var(--lf-card); color: var(--lf-ink); text-decoration: none; }
.hl-related__list a:hover { border-color: var(--lf-accent); box-shadow: var(--lf-shadow-hover, var(--lf-shadow)); color: var(--lf-ink); }
.hl-related__list .hl-status { justify-self: start; font-size: .7rem; }
.hl-related__list small { color: var(--lf-muted); line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.lf-topic[id], .hl-status-panel[id] { scroll-margin-top: calc(var(--ip-header-h, 72px) + 1rem); }

/* What is halal food? */
.hl-topic-top { display: grid; gap: 1.25rem; align-items: stretch; margin-bottom: 1.5rem; }
@media (min-width: 992px) { .hl-topic-top { grid-template-columns: minmax(0, 1fr) 300px; } }
.hl-topic-top .hl-rules { margin: 0; }
.hl-topic-live { display: grid; gap: .9rem; align-content: space-between; padding: 1.1rem 1.2rem; border-radius: 22px; background: var(--lf-card); border: 1px solid var(--lf-card-line); box-shadow: var(--lf-shadow); }
.hl-topic-live p { margin: 0; }
.hl-topic-live__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lf-accent); display: flex; gap: .35rem; align-items: center; }
html[lang="ar"] .hl-topic-live__label, html[lang="ur"] .hl-topic-live__label { letter-spacing: 0; font-size: .85rem; }
.hl-topic-live__title { font-weight: 700; color: var(--lf-ink); }
.hl-topic-live__text { font-size: .8rem; color: var(--lf-muted); }
.hl-topic-live .lf-btn { display: flex; justify-content: space-between; max-width: 100%; min-width: 0; box-sizing: border-box; }
.hl-topic-live .lf-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-explorer { scroll-margin-top: calc(var(--ip-header-h, 72px) + 1rem); }
.hl-explorer .lx-explorer__panel.lf-topic { margin: 0; }
.hl-explorer .lx-explorer__foot .lf-btn[disabled] { opacity: .45; pointer-events: none; }
.hl-evidence { margin-top: 1rem; }
.hl-evidence > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.hl-evidence > summary::before { content: "\25B8"; transition: transform .2s; }
.hl-evidence[open] > summary::before { transform: rotate(90deg); }
.hl-steps { list-style: none; counter-reset: hl-step; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hl-steps li { counter-increment: hl-step; position: relative; padding-block: .8rem .8rem; padding-inline: 3.2rem 1rem; border-radius: 16px; background: var(--lf-accent-soft); color: var(--lf-ink); line-height: 1.55; }
[dir="rtl"] .hl-steps li { padding: .8rem 3.2rem .8rem 1rem; }
.hl-steps li::before { content: counter(hl-step); position: absolute; inset-inline-start: .9rem; top: .75rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--lf-accent); color: var(--lf-accent-ink, #fff); font-weight: 800; font-size: .85rem; }
.hl-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; margin-top: .25rem; }
.hl-kind { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 16px; border: 1px solid var(--lf-card-line); background: var(--lf-card); }
.hl-kind > i { font-size: 1.3rem; line-height: 1.2; }
.hl-kind p { margin: 0; line-height: 1.5; color: var(--lf-ink); font-size: .94rem; }
.hl-kind--avoid { border-inline-start: 4px solid #d9605a; }
.hl-kind--avoid > i { color: #c0443d; }
.hl-kind--check-alcohol { border-inline-start: 4px solid #5a8fd0; }
.hl-kind--check-alcohol > i { color: #24589a; }
.hl-kind--check-source { border-inline-start: 4px solid #e9b949; }
.hl-kind--check-source > i { color: #8d6a00; }
.hl-kind--fine { border-inline-start: 4px solid #3fb39e; }
.hl-kind--fine > i { color: #0b6362; }
[data-theme="dark"] .hl-kind--avoid > i { color: #ffaaa5; }
[data-theme="dark"] .hl-kind--check-alcohol > i { color: #9cc3f2; }
[data-theme="dark"] .hl-kind--check-source > i { color: #f0d77a; }
[data-theme="dark"] .hl-kind--fine > i { color: #8fe0da; }
.hl-checklist { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .45rem; }
.hl-checklist label { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 14px; border: 1px solid var(--lf-card-line); background: var(--lf-card); cursor: pointer; line-height: 1.5; color: var(--lf-ink); }
.hl-checklist input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--lf-accent); flex: none; }
.hl-checklist input:checked + span { color: var(--lf-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--lf-muted) 60%, transparent); }
.hl-next { padding-top: 0; }

@media (max-width: 767.98px) {
  .hl-verdict__top { grid-template-columns: 1fr; }
  .hl-check__answers { display: grid; }
  .hl-check__answer { justify-content: flex-start; text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-gauge__marker { transition: none; }
  .hl-check__step.is-in, .hl-check__result.is-in { animation: none; }
}
