/* Guides */
.gd-hero { background: var(--navy); color: #fff; padding: 28px 0 48px; }
.gd-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); max-width: 20ch; }
.gd-kicker { color: var(--green); font-weight: 700; margin: 6px 0 8px; }
.gd-lede { color: #C9D5E6; font-size: 19px; max-width: 60ch; margin-top: 14px; }
.gd-body { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 1000px) { .gd-body { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.gd-toc { display: none; }
@media (min-width: 1000px) { .gd-toc { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; align-self: start; } }
.gd-toc p { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.gd-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.gd-toc li a { display: block; padding: 8px 14px; color: var(--ink); text-decoration: none; font-size: 15px; }
.gd-toc li a:hover { color: var(--navy); border-left: 2px solid var(--navy); margin-left: -2px; }
.gd-article { max-width: 760px; }
.gd-sec { margin-bottom: 52px; }
.gd-sec h2 { margin-bottom: 18px; }
.gd-sec > p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; }
.gd-hz { border-top: 1px solid var(--line); padding: 22px 0; }
.gd-hz-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gd-hz h3 { font-size: 21px; }
.gd-harm { color: var(--muted); margin-top: 8px; }
.gd-controls { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gd-controls li { padding-left: 26px; position: relative; }
.gd-controls li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 600; }
.gd-more { background: var(--soft); border-radius: 14px; padding: 16px 18px; margin-top: 10px; }
.gd-check { display: grid; gap: 16px; }
@media (min-width: 700px) { .gd-check { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gd-check-3 { grid-template-columns: 1fr 1fr 1fr; } }
.gd-check > div { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.gd-check h3 { font-size: 17px; margin-bottom: 8px; }
.gd-check ul { list-style: none; margin: 0; padding: 0; }
.gd-check li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); }
.gd-check li:first-child { border-top: 0; }
.gd-check li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border: 2px solid #8494A8; border-radius: 4px; }
.gd-ben { margin: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .gd-ben { grid-template-columns: 1fr 1fr; } }
.gd-ben div { border-left: 3px solid var(--green); padding: 4px 0 4px 14px; }
.gd-ben dt { font-weight: 700; color: var(--navy); }
.gd-ben dd { margin: 4px 0 0; color: var(--muted); }
.gd-cta { background: var(--navy); color: #fff; border-radius: 24px; padding: 32px; margin-bottom: 52px; }
.gd-cta h2 { color: #fff; font-size: 28px; }
.gd-cta p { color: #C9D5E6; margin: 10px 0 20px; }
.gd-index { display: grid; gap: 40px; }
@media (min-width: 900px) { .gd-index { grid-template-columns: repeat(3, 1fr); } }
.gd-index h2 { font-size: 20px; }
.gd-index h2 a { color: var(--navy); text-decoration: none; }
@media print { .hdr, .ftr, .gd-toc, .gd-cta, .test-banner, .actions { display: none !important; } .gd-hero { background: none; color: #000; } .gd-hero h1 { color: #000; } }

/* Risk matrix tool */
.mx { display: grid; gap: 40px; }
@media (min-width: 980px) { .mx { grid-template-columns: 1fr 1fr; align-items: start; } }
.mx-pick fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.mx-pick legend { font: 600 20px Geist, Inter, sans-serif; color: var(--navy); margin-bottom: 10px; }
.mx-pick label { display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; align-items: center; padding: 12px 14px; border: 1.5px solid #C9D5E6; border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.mx-pick label:has(input:checked) { border-color: var(--navy); background: #F1F5FB; }
.mx-pick input { width: 20px; height: 20px; accent-color: var(--navy); }
.mx-pick label span { grid-column: 2; color: var(--muted); font-size: 15px; }
.mx-out { border-radius: 16px; background: var(--soft); padding: 18px; display: flex; gap: 14px; align-items: center; }
.mx-out .lv { font-size: 16px; height: 34px; min-width: 90px; }
.mx-grid { border-collapse: separate; border-spacing: 6px; width: 100%; }
.mx-grid th { font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; }
.mx-grid tbody th { text-align: right; padding-right: 8px; }
.mx-grid td { height: 76px; text-align: center; font-weight: 600; border-radius: 12px; font-size: 16px; transition: transform .15s; }
.mx-grid td.l { background: var(--low-bg); color: var(--low-fg); } .mx-grid td.m { background: var(--med-bg); color: var(--med-fg); } .mx-grid td.h { background: var(--high-bg); color: var(--high-fg); }
.mx-grid td.on { outline: 4px solid var(--navy); transform: scale(1.04); }
.mx-dl { margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; }
.mx-dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: start; }
.mx-dl dd { margin: 0; }

/* Examples */
.ex-list { display: flex; flex-direction: column; gap: 56px; }
.ex { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .ex { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.ex-page .paper { box-shadow: 0 10px 30px rgba(0,31,62,.15); }
.ex h2 { margin: 8px 0 8px; }
.ex-copy p { margin-top: 8px; }

/* Legal pages */
.legal h2, .legal h3 { margin: 32px 0 10px; font-size: 22px; }
.legal h3 strong, .legal h2 strong { font-weight: 600; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }

/* Content pages: free template, training, user guide, affiliates */
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ct-hero .x-search { margin-top: 28px; }
.ct-hero .x-chips { margin-top: 18px; }
.ct-note { color: rgba(255,255,255,.6); font-size: 15px; margin-top: 16px; }
.ct-sec { padding: 72px 0; }
.ct-sec-soft { background: var(--bg-soft, var(--soft)); }
.ct-sec h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; max-width: 24ch; }
.ct-sec .x-sub { max-width: 62ch; }
.ct-head { margin-bottom: 32px; }
.ct-split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .ct-split { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.ct-list { list-style: none; margin: 18px 0 0; padding: 0; }
.ct-list li { padding: 12px 0 12px 28px; border-top: 1px solid var(--hair-2, var(--line)); position: relative; }
.ct-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.ct-list b { color: var(--navy); font-weight: 600; }
.ct-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .ct-steps { grid-template-columns: repeat(2, 1fr); } }
.ct-steps li { counter-increment: s; background: #fff; border-radius: 20px; padding: 22px 22px 22px 70px; position: relative; box-shadow: inset 0 0 0 1px var(--hair-2, var(--line)); }
.ct-steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; display: grid; place-items: center; }
.ct-steps h3 { font-size: 19px; margin-bottom: 6px; }
.ct-steps p { color: var(--ink-2, var(--muted)); }
.ct-box { border-radius: 22px; padding: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2, var(--line)); }
.ct-box h3 { font-size: 21px; margin-bottom: 8px; }
.ct-box .btn, .ct-box .x-btn { margin-top: 16px; }
.ct-faq { max-width: 760px; }
.ct-small { font-size: 15px; color: var(--muted); margin-top: 14px; }
.ct-art p, .ct-art li { font-size: 17px; line-height: 1.7; }
.ct-art p { margin-bottom: 12px; }
.ct-art ul, .ct-art ol { padding-left: 22px; margin: 0 0 14px; }
.ct-art h2 { margin: 8px 0 14px; }
.ct-art h3 { font-size: 20px; margin: 22px 0 8px; }
.ct-btn-line { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--navy); color: var(--navy); text-decoration: none; font-weight: 600; }

/* Workshop plans */
.ws-glance { display: grid; gap: 14px; }
@media (min-width: 800px) { .ws-glance { grid-template-columns: repeat(3, 1fr); } }
.ws-glance > div { border-radius: 20px; padding: 20px; box-shadow: inset 0 0 0 1px var(--hair-2, var(--line)); }
.ws-glance h3 { font-size: 17px; margin-bottom: 10px; }
.ws-glance ul { list-style: none; margin: 0; padding: 0; }
.ws-glance li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ws-glance li:first-child { border-top: 0; }
.ws-total { font-size: 28px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.ws-bar { display: flex; gap: 3px; margin: 12px 0; }
.ws-bar i { height: 26px; border-radius: 6px; background: #DDE6F1; color: var(--navy); font: 600 12px var(--sans, inherit); font-style: normal; display: grid; place-items: center; min-width: 22px; }
.ws-bar i:nth-child(odd) { background: #C7D5E8; }
.ws-item { display: grid; gap: 6px 22px; padding: 26px 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .ws-item { grid-template-columns: 96px minmax(0, 1fr); } }
.ws-when { font: 600 15px var(--sans, inherit); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.ws-item h3 { font-size: 21px; margin-bottom: 10px; }
.ws-item ul { margin: 0 0 12px; padding-left: 20px; }
.ws-item li { margin-bottom: 6px; }
.ws-say { margin: 12px 0 0; display: grid; gap: 8px; background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.ws-say div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.ws-say dt { font-weight: 600; color: var(--navy); }
.ws-say dd { margin: 0; }
.ws-tip { margin-top: 10px; color: var(--muted); font-size: 15px; }
.ws-tip b { color: var(--navy); }
.ws-scen { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .ws-scen { grid-template-columns: repeat(2, 1fr); } }
.ws-scen li { border-radius: 16px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--hair-2, var(--line)); }
.ws-scen b { display: block; color: var(--navy); margin-bottom: 4px; }
.ws-scen span { color: var(--muted); font-size: 15px; }
.ws-scen a { font-size: 14px; font-weight: 600; display: inline-block; margin-top: 6px; }
.ws-lv { display: grid; gap: 8px; margin: 0; }
.ws-lv div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 6px; }
.ws-lv dd { margin: 0; font-size: 15px; }
.ws-log { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 10px; }
.ws-log th, .ws-log td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ws-log th { font-size: 13px; color: var(--muted); font-weight: 600; }
.ct-sec .paper-wrap figcaption { color: var(--muted); }

/* Guide photo beside the title, and the safety sheet links (1 Dec 2026). */
.gd-hero-in.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 48px; align-items: center; }
.gd-photo { margin: 0; }
.gd-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 10, 30, .35); }
.gd-sheet-note { color: #C9D5E6; font-size: 15px; margin-top: 14px; }
.gd-sheet-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gd-toc-sheet { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.gd-print { margin: -6px 0 18px; color: var(--ink-2, #3D4D63); }
.gd-print a { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 999px) {
  .gd-hero-in.has-photo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gd-photo { order: 2; }
}
@media print { .gd-photo, .gd-sheet-note, .gd-print, .gd-toc-sheet { display: none !important; } }

.gx-search { margin-top: 22px; max-width: 640px; }
.gx-search input { width: 100%; }
.top5-arrow { color: var(--ink-3, #6B7787); margin: 0 4px; font-size: 13px; }
