/* How to write a risk assessment */
.ht-hero { padding-bottom: 72px; }
.ht-hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .ht-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.ht-hero .x-h1 { max-width: 12ch; }
.ht-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.ht-note { margin-top: 16px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.55; max-width: 52ch; }
.ht-sheet { color: inherit; display: block; position: relative; justify-self: center; width: min(100%, 520px); transform: rotate(2deg); transition: transform .3s var(--ease); text-decoration: none; }
.ht-sheet:hover { transform: rotate(0deg) translateY(-4px); }
.ht-sheet img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); background: #fff; }
.ht-sheet span { position: absolute; left: 16px; bottom: -16px; background: var(--go); color: var(--go-ink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-2); }
@media (max-width: 979px) { .ht-sheet { width: min(88%, 460px); } }

.ht-body { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 1000px) { .ht-body { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.ht-toc { display: none; }
@media (min-width: 1000px) { .ht-toc { display: block; position: sticky; top: 24px; align-self: start; } }
.ht-toc p { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.ht-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--hair); }
.ht-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.ht-toc a:hover { color: var(--navy); border-left-color: var(--navy); }
.ht-main { max-width: 780px; min-width: 0; }
.ht-sec { margin-bottom: 72px; scroll-margin-top: 24px; }
.ht-sec > .x-h2 { margin-bottom: 14px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.ht-tpl .x-h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.ht-lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; }

.ht-steps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: s; }
.ht-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 36px; }
.ht-step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 6px; width: 2px; background: var(--hair); }
.ht-n { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.ht-step h3 { font-size: 22px; line-height: 1.25; color: var(--navy); margin: 10px 0 8px; letter-spacing: -0.01em; }
.ht-step p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.ht-eg { margin-top: 14px !important; background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; font-size: 16px !important; color: var(--ink) !important; }
.ht-eg b { color: var(--navy); }
.ht-vague { margin-top: 16px; border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; font-size: 15.5px; }
.ht-vague > div { display: grid; grid-template-columns: 1fr 1.3fr; }
.ht-vague > div + div { border-top: 1px solid var(--hair); }
.ht-vague span { padding: 12px 14px; line-height: 1.45; }
.ht-vague-h span { background: var(--bg-soft); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); padding-top: 10px; padding-bottom: 10px; }
.ht-x { color: var(--high-fg); text-decoration: line-through; text-decoration-color: rgba(163,33,26,.35); }
.ht-ok { color: var(--ink); font-weight: 600; border-left: 1px solid var(--hair); }
.ht-vague-h span + span { border-left: 1px solid var(--hair); }
@media (max-width: 560px) { .ht-vague > div { grid-template-columns: 1fr; } .ht-ok { border-left: 0; padding-top: 0 !important; } .ht-vague-h span + span { display: none; } .ht-vague-h { display: none !important; } .ht-x::before { content: "Vague: "; text-decoration: none; display: inline; } }
.ht-source { font-size: 15px; color: var(--mute); margin-top: 4px; }
.ht-source a, .ht-link { color: var(--navy); font-weight: 600; }
.ht-link { text-decoration: none; border-bottom: 1.5px solid rgba(0,31,62,.25); padding-bottom: 1px; }
.ht-link:hover { border-bottom-color: var(--navy); }

.ht-card { border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.ht-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 16px 20px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.ht-row + .ht-row { border-top: 1px solid var(--hair); }
.ht-tag { font-size: 13px; font-weight: 700; color: var(--mute); padding-top: 3px; }
.ht-big { font-size: 20px; color: var(--navy); }
.ht-muted { color: var(--mute); margin: 2px 0 0; font-size: 15.5px; }
.ht-lvrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ht-lvrow .ht-muted { margin: 0; }
.ht-list { margin: 0; padding-left: 18px; }
.ht-list li { margin-bottom: 4px; }
@media (max-width: 640px) { .ht-row { grid-template-columns: 1fr; gap: 4px; } }
.ht-page { margin: 28px 0 0; }
.ht-page figcaption { margin-top: 10px; font-size: 14.5px; color: var(--mute); }
.ht-actions-light { margin-top: 20px; }

.ht-levels { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .ht-levels { grid-template-columns: auto 1fr; } }
.ht-grid { border-collapse: separate; border-spacing: 6px; margin: -6px; }
.ht-grid th { font-size: 14px; color: var(--navy); font-weight: 700; text-align: center; padding: 0 4px 4px; vertical-align: bottom; }
.ht-grid th small { display: block; font-weight: 400; font-size: 12px; color: var(--mute); }
.ht-grid tbody th { text-align: left; padding: 0 10px 0 0; vertical-align: middle; }
.ht-grid td .x-lv { width: 100%; min-width: 92px; justify-content: center; height: 44px; font-size: 14px; border-radius: 10px; }
.ht-mean { margin: 0; display: grid; gap: 0; }
.ht-mean > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.ht-mean dt .x-lv { width: 80px; justify-content: center; }
.ht-mean dd { margin: 0; font-size: 16px; color: var(--ink); }

.ht-tpl { display: grid; gap: 28px; align-items: center; background: var(--bg-soft); border-radius: 22px; padding: 28px; }
@media (min-width: 760px) { .ht-tpl { grid-template-columns: 300px 1fr; } }
.ht-tpl img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-2); background: #fff; }
.ht-tpl p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 10px 0 0; }

.ht-main .faq details { border-bottom: 1px solid var(--hair); padding: 6px 0; }
.ht-main .faq summary { font-size: 18px; }
.ht-main .faq details p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); padding-bottom: 8px; }
@media (max-width: 560px) {
  .ht-grid { width: 100%; margin: 0; border-spacing: 4px; table-layout: fixed; }
  .ht-grid tbody th { width: 72px; font-size: 13px; }
  .ht-grid thead td { width: 72px; }
  .ht-grid th small { display: none; }
  .ht-grid td .x-lv { min-width: 0; height: 40px; font-size: 13px; padding: 0 4px; }
}
