.hl-page {
  --hl-ink: #162738;
  --hl-muted: #486174;
  --hl-accent: #006d5e;
  --hl-link: #00665a;
  --hl-surface: #fff;
  --hl-soft: #eef8f5;
  --hl-line: #cadce2;
  --hl-border: #78929c;
  --hl-current: #984819;
  --hl-error-ink: #8d2e27;
  --hl-error-bg: #fff1ef;
  --hl-button-ink: #fff;
  color: var(--hl-ink);
}
.hl-page [hidden] { display: none !important; }
.hl-sr { width: 1px; height: 1px; position: absolute; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hl-page :is(a,p,dd,td,th,button) { overflow-wrap: anywhere; }
.hl-breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; color: var(--hl-muted); font-size: .88rem; }
#content.hl-page a { color: var(--hl-link); }
.hl-panel {
  min-width: 0; margin: 0 0 1.15rem; padding: clamp(.9rem, 2.4vw, 1.45rem);
  background: var(--hl-surface); border: 1px solid var(--hl-line); border-radius: 12px;
  box-shadow: 0 8px 22px #122b3a0a;
}
#content.hl-page .hl-panel h2 { margin: 0 0 .9rem; font-size: clamp(1.2rem, 2.9vw, 1.7rem); color: var(--hl-ink); }
#content.hl-page .hl-panel h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--hl-ink); }
.hl-page fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.hl-modes, .hl-fields, .hl-metrics { display: grid; gap: .55rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.hl-modes { grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: .95rem; }
#content.hl-page label { margin: 0; color: var(--hl-ink); font-size: .94rem; }
.hl-modes label { position: relative; cursor: pointer; }
.hl-modes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hl-modes span {
  display: flex; min-height: 44px; height: 100%; align-items: center; justify-content: center; text-align: center;
  padding: .45rem; background: var(--hl-surface); border: 1px solid var(--hl-border);
  border-radius: 7px; line-height: 1.45; color: var(--hl-ink); font-weight: 750;
}
.hl-modes input:checked + span { background: var(--hl-soft); border-color: var(--hl-accent); box-shadow: inset 0 0 0 1px var(--hl-accent); }
.hl-fields { gap: .75rem; }
.hl-field { min-width: 0; }
#content.hl-page .hl-field label { display: block; margin: 0 0 .25rem; font-weight: 750; }
.hl-field small { font-weight: 400; color: var(--hl-muted); }
.hl-input-line { display: grid; gap: .4rem; grid-template-columns: minmax(0,1fr) minmax(77px,31%); }
#content.hl-page :is(input[type=text],select,textarea) {
  min-width: 0; width: 100%; min-height: 44px; height: auto; padding: .45rem .65rem;
  box-shadow: none; border: 1px solid var(--hl-border); border-radius: 7px;
  background: var(--hl-surface); color: var(--hl-ink); font-size: 1rem;
}
#content.hl-page input::placeholder { color: var(--hl-muted); }
#content.hl-page [aria-invalid=true] { border-color: var(--hl-error-ink); }
#content.hl-page .hl-hint { margin: .55rem 0 0; color: var(--hl-muted); font-size: .88rem; line-height: 1.6; }
.hl-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: .85rem 0; }
.hl-page .hl-examples { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.hl-examples legend { margin-bottom: .4rem; font-size: .92rem; font-weight: 750; }
#content.hl-page button {
  min-width: 44px; min-height: 44px; width: auto; height: auto; margin: 0;
  padding: .5rem .75rem; border: 1px solid var(--hl-border); border-radius: 7px;
  background: var(--hl-surface); color: var(--hl-ink) !important; box-shadow: none;
  line-height: 1.4; font-size: .92rem; font-weight: 750; white-space: normal; text-transform: none; letter-spacing: normal;
}
#content.hl-page button:hover { background: var(--hl-soft); border-color: var(--hl-accent); }
#content.hl-page :is(input,select,textarea,button) { transition: none; }
#content.hl-page button.hl-primary { color: var(--hl-button-ink) !important; background: var(--hl-accent); border-color: var(--hl-accent); }
#content.hl-page .hl-primary:hover { filter: brightness(.92); }
#content.hl-page :is(button,a,summary,input,select,textarea):focus-visible,
.hl-modes input:focus-visible + span { outline: 2px solid var(--hl-accent); outline-offset: 3px; }
#content.hl-page .hl-error {
  margin: .65rem 0 0; padding: .65rem .8rem; border-left: 3px solid var(--hl-error-ink);
  background: var(--hl-error-bg); color: var(--hl-error-ink); font-weight: 700;
}
.hl-primary-value {
  padding: .8rem 1rem; background: var(--hl-soft); border: 1px solid var(--hl-line); border-radius: 9px;
}
.hl-primary-value span { color: var(--hl-muted); font-weight: 750; }
.hl-primary-value strong { display: block; font-size: clamp(1.8rem, 6vw, 3.2rem); line-height: 1.2; color: var(--hl-accent); font-variant-numeric: tabular-nums; }
#content.hl-page .hl-primary-value p { margin: .4rem 0 0; color: var(--hl-muted); font-size: .9rem; }
.hl-metrics { margin: .8rem 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
.hl-metrics div { min-width: 0; padding: .55rem .65rem; border: 1px solid var(--hl-line); border-radius: 7px; }
.hl-metrics dt { color: var(--hl-muted); font-size: .87rem; }
.hl-metrics dd { margin: 0; color: var(--hl-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.hl-formula { border-left: 3px solid var(--hl-accent); background: var(--hl-soft); padding: .6rem .8rem; margin: .7rem 0; }
#content.hl-page .hl-formula p, #content.hl-page #hl-copy-status { margin: .25rem 0; }
#content.hl-page .hl-figure { margin: 1.2rem 0 .8rem; }
#content.hl-page .hl-figure p { margin: .4rem 0; }
#hl-chart {
  display: block; width: 100%; height: 215px; min-width: 0;
  border: 1px solid var(--hl-line); border-radius: 8px; background: var(--hl-surface);
}
.hl-legend { display: flex; flex-wrap: wrap; gap: .65rem; color: var(--hl-muted); font-size: .88rem; }
.hl-legend span:first-child { color: var(--hl-accent); }
.hl-legend span:last-child { color: var(--hl-current); }
.hl-table { border: 1px solid var(--hl-line); border-radius: 8px; }
#content.hl-page .hl-table table { width: 100%; margin: 0; table-layout: fixed; font-variant-numeric: tabular-nums; }
.hl-table caption { padding: .55rem .6rem; text-align: left; font-size: .96rem; font-weight: 800; }
#content.hl-page .hl-table :is(th,td) {
  padding: .42rem .52rem; border: 0; border-bottom: 1px solid var(--hl-line);
  color: var(--hl-ink); text-align: left; font-size: .9rem; line-height: 1.45; white-space: normal;
}
#content.hl-page .hl-table th, .hl-metrics dt { word-break: keep-all; }
#content.hl-page .hl-table thead, #content.hl-page .hl-table tr[data-current=true] { background: var(--hl-soft); font-weight: 750; }
#content.hl-page .hl-table tbody tr:not([data-current]) { background: var(--hl-surface); }
.hl-effective summary { min-height: 44px; padding: .48rem 0; font-weight: 800; cursor: pointer; }
#content.hl-page #hl-effective-value:not(:empty) { margin: .45rem 0; color: var(--hl-accent); font-size: 1.15rem; font-weight: 800; }
#content.hl-page .hl-guide section { padding: 1.05rem 0; border-top: 1px solid var(--hl-line); }
#content.hl-page .hl-guide p { margin: .5rem 0 0; line-height: 1.7; }
@media (max-width: 620px) {
  .hl-modes, .hl-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #content.hl-page .hl-panel :is(button,input,select,summary) { scroll-margin-bottom: 76px; }
}
@media (max-width: 400px) {
  .hl-fields { grid-template-columns: 1fr; }
  #content.hl-page .hl-table :is(th,td) { padding: .36rem .32rem; font-size: .82rem; }
  #content.hl-page .hl-examples button { flex: 1 1 110px; }
}
@media (prefers-color-scheme: dark) {
  #content.hl-page {
    color-scheme: dark;
    --hl-ink: #e6eff2; --hl-muted: #b0c7cd; --hl-accent: #7ae0cd; --hl-link: #98e9dd;
    --hl-surface: #13232b; --hl-soft: #1c3138; --hl-line: #385761; --hl-border: #73909b;
    --hl-current: #ffb585; --hl-button-ink: #12272a; --hl-error-ink: #ffb4a5; --hl-error-bg: #3c211f;
    --tool-title-color: var(--hl-ink); --tool-description-color: var(--hl-muted); --tool-category-color: var(--hl-accent);
    padding: .75rem; border-radius: 10px; background: var(--hl-surface); color: var(--hl-ink);
  }
  .modern-subpage #content.hl-page :is(input[type=text],select,textarea) { background: var(--hl-surface); }
  #content.hl-page :is(h1,h2,h3,.tool-page-intro,.tool-page-category,.tool-engagement-related-link strong,.tool-engagement-related-link span) { color: var(--hl-ink); }
  #content.hl-page .tool-engagement-related-link { background: var(--hl-soft); border-color: var(--hl-line); }
}
@media (prefers-reduced-motion: reduce) {
  #content.hl-page :is(button,a,input,select,summary) { transition: none !important; }
}
