/* Info tab → At a glance. Phase 1: shell, hierarchy, typography, footer and method sheet. */

.li-insights {
  container-type: inline-size;
  container-name: li-insights;
}
.li-insight-section {
  container-type: inline-size;
  container-name: li-section;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.li-insight-section--glance {
  --li-11: .6875rem;
  --li-12: .75rem;
  --li-13: .8125rem;
  --li-15: .9375rem;
  --li-17: 1.0625rem;
  --li-22: 1.375rem;
  --li-26: 1.625rem;
  --li-sage: #4F7A58;
  --li-amber: #8A6A1E;
  --li-terra: #A9483E;
  padding: 20px 20px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,253,248,.98), rgba(250,244,232,.92));
  box-shadow: 0 10px 30px rgba(90,68,20,.07);
}

/* Header */
.li-insight-section--glance .li-insight-head--glance {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0;
}
.li-insight-section--glance .li-insight-head__main {
  min-width: 0;
}
.li-insight-section--glance .li-insight-eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: var(--li-11);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.li-insight-section--glance .li-insight-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--li-26);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.li-insight-section--glance .li-insight-freshness {
  margin: 2px 0 0 auto;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--font-ui);
  font-size: var(--li-11);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.li-insight-section--glance .li-insight-notice {
  margin: 14px 0 0;
  padding: 9px 11px;
  font-size: var(--li-12);
  line-height: 1.5;
}

.li-group-label {
  margin: 1.5rem 0 .5rem;
  font-family: var(--font-ui);
  font-size: var(--li-11);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Essentials ledger */
.li-insight-section--glance .li-quick-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  border-block: 1px solid var(--line);
}
.li-insight-section--glance .li-quick-fact {
  --tone: var(--gold-deep);
}
.li-insight-section--glance .li-quick-fact--safe { --tone: var(--li-sage); }
.li-insight-section--glance .li-quick-fact--warn { --tone: var(--li-amber); }
.li-insight-section--glance .li-quick-fact--bad { --tone: var(--li-terra); }
.li-insight-section--glance .li-quick-fact--neutral { --tone: var(--gold-deep); }

.li-insight-section--glance .li-quick-fact--link {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
  grid-template-areas: none;
  align-items: start;
  column-gap: 12px;
  row-gap: 0;
  width: 100%;
  min-height: 56px;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 120ms ease;
}
.li-insight-section--glance .li-quick-facts > .li-quick-fact + .li-quick-fact {
  border-top: 1px solid var(--line);
}
.li-insight-section--glance .li-quick-fact--link:hover,
.li-insight-section--glance .li-quick-fact--link:active {
  background: var(--surface-2);
  box-shadow: none;
  transform: none;
}
.li-insight-section--glance .li-quick-fact--link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--gold-deep);
}
.li-insight-section--glance .li-quick-fact--link > .li-quick-icon {
  grid-area: auto;
  justify-self: start;
  align-self: start;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: -3px 0 0;
  border-radius: 0;
  background: none;
  color: var(--gold-deep);
}
.li-insight-section--glance .li-quick-fact--link > .li-quick-icon .ic {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}
.li-insight-section--glance .li-quick-fact--link > .li-quick-copy {
  grid-area: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.li-insight-section--glance .li-quick-fact--link small {
  font-family: var(--font-ui);
  font-size: var(--li-11);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink-3);
  text-transform: uppercase;
}
.li-insight-section--glance .li-quick-fact--link strong {
  display: block;
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--li-17);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
}
.li-insight-section--glance .li-quick-hint {
  font-family: var(--font-ui);
  font-size: var(--li-12);
  font-weight: 500;
  color: var(--ink-3);
}
.li-insight-section--glance .li-quick-dot {
  display: inline-block;
  vertical-align: middle;
  width: 8px;
  height: 8px;
  margin: 0 8px 0 0;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: none;
}
.li-insight-section--glance .li-quick-fact--neutral .li-quick-dot {
  display: none;
}
.li-insight-section--glance .li-quick-fact--link > .li-quick-chevron {
  grid-area: auto;
  align-self: center;
  justify-self: end;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--ink-3);
  opacity: 1;
}
.li-insight-section--glance .li-quick-fact--link > .li-quick-chevron .ic {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  color: var(--ink-3);
}

/* Large-text resilience: glyph hyphenation and fixed icon gutters so the
   copy keeps its width once the system font grows. */
.li-insight-section--glance .li-quick-fact--link small,
.li-insight-section--glance .li-quick-fact--link strong,
.li-insight-section--glance .li-ring-card h4,
.li-insight-section--glance .li-ring-verdict,
.li-insight-modal__value,
.li-insight-modal__eyebrow {
  -webkit-hyphens: auto;
  hyphens: auto;
}
@container li-section (max-width: 20rem) {
  .li-insight-section--glance .li-quick-fact--link {
    grid-template-columns: 24px minmax(0, 1fr) 20px;
  }
}

/* Currency well */
.li-insight-section--glance .li-quick-fx {
  container-type: inline-size;
  container-name: li-fx;
  display: block;
  max-width: 560px;
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md, 16px);
  background: var(--surface-2);
  box-shadow: none;
}
.li-insight-section--glance .li-quick-fx__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 12px;
}
.li-insight-section--glance .li-quick-fx__label {
  font-family: var(--font-ui);
  font-size: var(--li-11);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink-3);
  text-transform: uppercase;
}
.li-insight-section--glance .li-quick-fx__rate {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: var(--li-13);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: right;
  white-space: nowrap;
}
.li-insight-section--glance .li-quick-fx .li-conv-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.li-insight-section--glance .li-quick-fx .li-conv-field {
  position: static;
  display: block;
  min-width: 0;
  min-inline-size: 0;
  min-height: 3.25em;
  margin: 0;
  padding: .3em 12px .45em;
  border: 1px solid var(--line);
  border-radius: var(--r-sm, 10px);
  background: var(--surface);
  font-size: var(--li-17);
  line-height: 1.3;
}
.li-insight-section--glance .li-quick-fx .li-conv-field:focus-within {
  border-color: var(--gold-deep);
}
.li-insight-section--glance .li-quick-fx .li-conv-field legend {
  padding: 0 .35em;
  font-family: var(--font-ui);
  font-size: var(--li-12);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-3);
  background: var(--surface-2);
}
.li-insight-section--glance .li-quick-fx .li-conv-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.li-insight-section--glance .li-quick-fx .li-conv-code {
  position: relative;
  flex: none;
  display: inline-flex;
  min-width: 44px;
}
.li-insight-section--glance .li-quick-fx .li-curr-select {
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 18px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm, 10px);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--li-13);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.li-insight-section--glance .li-quick-fx .li-conv-code__caret {
  position: absolute;
  top: 50%;
  right: .55em;
  transform: translateY(-50%) rotate(90deg);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  pointer-events: none;
}
.li-insight-section--glance .li-quick-fx .li-conv-code__caret .ic {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.li-insight-section--glance .li-quick-fx .li-conv-field input {
  flex: 1 1 8ch;
  min-width: 8ch;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: var(--li-17);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  outline: none;
  transition: opacity 160ms ease;
}
.li-insight-section--glance .li-quick-fx .li-conv-box.is-crossfading .li-conv-field input {
  opacity: 0;
}
.li-insight-section--glance .li-quick-fx .li-conv-swap {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--gold-deep);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.li-insight-section--glance .li-quick-fx .li-conv-swap .ic {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  color: var(--gold-deep);
  transform: rotate(var(--li-swap-turn, 0deg));
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}
.li-insight-section--glance .li-quick-fx__updated {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-family: var(--font-ui);
  font-size: var(--li-12);
  line-height: 1.4;
  color: var(--ink-2);
  text-align: left;
}
.li-insight-section--glance .li-quick-fx__updated .ic {
  flex: none;
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  color: var(--li-amber);
}
.li-insight-section--glance .li-quick-fx__updated.is-offline {
  color: var(--li-amber);
}
.li-insight-section--glance .li-quick-fx .li-conv-note {
  margin: 8px 0 0;
  font-size: var(--li-12);
  line-height: 1.4;
  color: var(--li-amber);
}

/* Stack the fields when the well is narrow or text is enlarged. */
@container li-fx (max-width: 21.25rem) {
  .li-insight-section--glance .li-quick-fx .li-conv-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .li-insight-section--glance .li-quick-fx .li-conv-swap {
    justify-self: center;
  }
  .li-insight-section--glance .li-quick-fx .li-conv-swap .ic {
    transform: rotate(calc(90deg + var(--li-swap-turn, 0deg)));
  }
}

/* Indices / rings */
.li-insight-section--glance .li-rings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}
.li-insight-section--glance .li-ring-card {
  container-type: inline-size;
  container-name: li-ring;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: none;
}
.li-insight-section--glance .li-ring-card:hover,
.li-insight-section--glance .li-ring-card:active {
  box-shadow: none;
  transform: none;
}
.li-insight-section--glance .li-ring-card:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.li-insight-section--glance .li-ring {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  flex: none;
}

@container li-ring (max-width: 10rem) {
  .li-insight-section--glance .li-ring {
    width: 3.75rem;
  }
}

.li-insight-section--glance .li-ring svg {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: block;
  transform: none;
}
.li-insight-section--glance .li-ring-track {
  fill: none;
  stroke: rgba(120, 90, 30, .14);
  stroke-width: 6.5;
}
.li-insight-section--glance .li-ring-card--empty .li-ring-track {
  stroke: var(--line);
  stroke-width: 5;
  stroke-dasharray: 4 5;
}
.li-insight-section--glance .li-ring-arc {
  fill: none;
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-dasharray: 263.894;
  stroke-dashoffset: 263.894;
  filter: none;
  transition: stroke-dashoffset 1000ms cubic-bezier(.22, 1, .36, 1);
}
.li-insight-section--glance .li-ring-card.is-visible .li-ring-arc {
  stroke-dashoffset: var(--ring-off, 0);
}
.li-insight-section--glance .li-ring-value {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -.02em;
  fill: var(--ink);
  font-variant-numeric: tabular-nums;
  text-anchor: middle;
}
.li-insight-section--glance .li-ring-value--empty {
  font-size: 30px;
  fill: var(--ink-3);
}
.li-insight-section--glance .li-ring-scale {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  fill: var(--ink-3);
  text-anchor: middle;
}
.li-insight-section--glance .li-ring-copy {
  display: block;
  min-width: 0;
  padding-right: 0;
}
.li-insight-section--glance .li-ring-title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 0;
}
.li-insight-section--glance .li-ring-card h4 {
  font-family: var(--font-display);
  font-size: var(--li-17);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  min-width: 0;
}
@container li-ring (max-width: 8rem) {
  .li-insight-section--glance .li-ring {
    width: 3rem;
  }
  .li-insight-section--glance .li-ring-card .li-ring-title-row h4 {
    font-size: var(--li-13);
  }
}
.li-insight-section--glance .li-ring-verdict {
  margin: 6px 0 0;
  font-family: var(--font-ui);
  font-size: var(--li-12);
  line-height: 1.4;
  color: var(--ink-3);
}
.li-insight-section--glance .li-ring-verdict__word {
  font-weight: 600;
  color: var(--ring-main);
}
.li-insight-section--glance .li-ring-card--empty .li-ring-verdict,
.li-insight-section--glance .li-ring-card--empty .li-ring-verdict__word {
  color: var(--ink-3);
}
.li-insight-section--glance .li-ring-open {
  position: static;
  right: auto;
  top: auto;
  transform: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
  color: var(--ink-3);
  opacity: 1;
}
.li-insight-section--glance .li-ring-open .ic {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  color: var(--ink-3);
}
.li-insight-section--glance .li-ring-card[data-li-modal]:hover .li-ring-open {
  transform: none;
  opacity: .7;
}

/* Footer */
.li-insight-section--glance .li-insight-foot {
  margin: 1.5rem 0 0;
  font-family: var(--font-ui);
  font-size: var(--li-12);
  line-height: 1.5;
  color: var(--ink-2);
  text-align: left;
}
.li-insight-section--glance .li-text-btn {
  font-size: inherit;
}

/* Icons */
.li-insight-section--glance .ic {
  stroke-width: 1.5;
  color: var(--gold-deep);
}

/* Container-driven layout */
@container li-insights (max-width: 380px) {
  .li-insight-section--glance {
    padding: 16px 16px 28px;
  }
}
@container li-section (max-width: 420px) {
  .li-insight-section--glance .li-insight-head h3 { font-size: var(--li-22); }
  .li-insight-section--glance .li-quick-fact strong { font-size: var(--li-15); }
  .li-insight-section--glance .li-ring-card h4 { font-size: var(--li-15); }
}
/* Two-column ledger with a vertical hairline between the columns. */
@container li-section (min-width: 640px) {
  .li-insight-section--glance .li-quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .li-insight-section--glance .li-quick-facts > .li-quick-fact + .li-quick-fact {
    border-top: 0;
  }
  .li-insight-section--glance .li-quick-facts > .li-quick-fact:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
  .li-insight-section--glance .li-quick-facts > .li-quick-fact:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid var(--line);
  }
  .li-insight-section--glance .li-quick-facts > .li-quick-fact:nth-child(even) {
    padding-left: 16px;
  }
  .li-insight-section--glance .li-quick-facts:has(> .li-quick-fact:last-child:nth-child(odd)) > .li-quick-fact:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
}
/* Without container-query support, keep the section single-column. */
@supports not (container-type: inline-size) {
  .li-insight-section--glance .li-quick-facts,
  .li-insight-section--glance .li-rings {
    grid-template-columns: 1fr;
  }
  .li-insight-section--glance .li-quick-fx .li-conv-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .li-insight-section--glance .li-quick-fx .li-conv-swap {
    justify-self: center;
  }
  .li-insight-section--glance .li-quick-fx .li-conv-swap .ic {
    transform: rotate(90deg);
  }
}

/* One-time entrance: rows fade up 8px with a 40ms stagger. */
@keyframes li-glance-row {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.li-insight-section--glance.li-glance-enter .li-quick-facts > .li-quick-fact {
  animation: li-glance-row .4s cubic-bezier(.22, 1, .36, 1) both;
}
.li-insight-section--glance.li-glance-enter .li-quick-facts > .li-quick-fact:nth-child(2) { animation-delay: 40ms; }
.li-insight-section--glance.li-glance-enter .li-quick-facts > .li-quick-fact:nth-child(3) { animation-delay: 80ms; }
.li-insight-section--glance.li-glance-enter .li-quick-facts > .li-quick-fact:nth-child(4) { animation-delay: 120ms; }

/* Emergency sheet: every number is a full-height tel: tap target. */
.li-emergency-row {
  min-height: 48px;
}

/* Loading state — champagne shimmer, shaped like the ledger and rings. */
.li-insights .li-insights-skeleton {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 253, 248, .98), rgba(250, 244, 232, .92));
}
.li-insights .li-skel-bar,
.li-insights .li-skel-ico,
.li-insights .li-skel-chev,
.li-insights .li-skel-disc {
  background: linear-gradient(90deg, rgba(243, 232, 208, .55) 0%, rgba(255, 250, 235, .98) 48%, rgba(243, 232, 208, .55) 100%);
  background-size: 220% 100%;
  animation: li-skel-shimmer 1.5s linear infinite;
}
.li-insights .li-skel-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
}
.li-insights .li-skel-bar--eyebrow {
  width: 84px;
  height: 9px;
}
.li-insights .li-skel-bar--heading {
  width: min(68%, 220px);
  height: 24px;
  margin-top: 12px;
  border-radius: 8px;
}
.li-insights .li-skel-bar--short {
  width: 92px;
  height: 10px;
  margin-top: 10px;
}
.li-insights .li-skel-bar--group {
  width: 72px;
  height: 9px;
  margin: 22px 0 8px;
}
.li-insights .li-skel-ledger {
  border-block: 1px solid var(--line);
}
.li-insights .li-skel-row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
  align-items: center;
  column-gap: 12px;
  min-height: 56px;
  padding: 14px 0;
}
.li-insights .li-skel-row + .li-skel-row {
  border-top: 1px solid var(--line);
}
.li-insights .li-skel-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.li-insights .li-skel-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.li-insights .li-skel-bar--label {
  width: 38%;
  height: 9px;
}
.li-insights .li-skel-bar--value {
  width: 62%;
  height: 15px;
  border-radius: 6px;
}
.li-insights .li-skel-chev {
  justify-self: end;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.li-insights .li-skel-rings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}
.li-insights .li-skel-ringcard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.li-insights .li-skel-disc {
  position: relative;
  width: 5.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
}
.li-insights .li-skel-disc::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--surface-2);
}
.li-insights .li-skel-bar--title {
  width: 58%;
  height: 14px;
  border-radius: 6px;
}
.li-insights .li-skel-ringcard .li-skel-bar--short {
  width: 44%;
  margin-top: 0;
}
@keyframes li-skel-shimmer {
  from { background-position: 130% 0; }
  to { background-position: -130% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .li-insights .li-skel-bar,
  .li-insights .li-skel-ico,
  .li-insights .li-skel-chev,
  .li-insights .li-skel-disc {
    animation: none;
  }
}

/* Method bottom sheet */
.li-method-sheet {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.li-method-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}
.li-method-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,23,18,.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.li-method-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: 85dvh;
  overflow-y: auto;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(160deg, rgba(255,253,248,.99), rgba(250,244,232,.97));
  box-shadow: 0 -12px 40px rgba(60,45,15,.16);
  transform: translateY(16px);
  transition: transform .26s cubic-bezier(.22,1,.36,1);
}
.li-method-sheet.is-open .li-method-sheet__panel {
  transform: none;
}
.li-method-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.li-method-sheet__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--li-22, 1.375rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.li-method-sheet__close {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--gold-deep);
  cursor: pointer;
}
.li-method-sheet__close .ic {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}
.li-method-sheet__body p {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: var(--li-13, .8125rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.li-method-sheet__body p:last-child {
  margin-bottom: 0;
}
.li-method-sheet__body strong {
  color: var(--ink);
}
.li-method-sheet__body a {
  color: var(--gold-deep);
}
@media (prefers-reduced-motion: reduce) {
  .li-method-sheet,
  .li-method-sheet__panel {
    transition: none;
  }
  .li-insight-section--glance.li-glance-enter .li-quick-facts > .li-quick-fact {
    animation: none;
  }
  .li-insight-section--glance .li-quick-fx .li-conv-swap .ic,
  .li-insight-section--glance .li-quick-fx .li-conv-field input {
    transition: none;
  }
  .li-insight-section--glance .li-ring-arc {
    transition: none;
  }
}

/* Water & tipping: the bold value carries the same tone as its pill. */
.li-insight-section--glance .li-quick-fact--safe strong,
.li-insight-section--glance .li-quick-fact--warn strong,
.li-insight-section--glance .li-quick-fact--bad strong {
  color: var(--tone, var(--ink));
}
