    *, *::before, *::after { box-sizing: border-box; }
    .hg-shell { max-width: 860px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }

    .hg-card { background: #ffffff; border: 1px solid #d0d8e0; border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 4px rgba(15,25,35,.07); }
    .hg-section-title { font-size: .95rem; font-weight: 700; color: #0f1923; margin: 0 0 1.1rem; padding-bottom: .55rem; border-bottom: 2px solid #b8d9f0; }

    .hg-field { display: flex; flex-direction: column; gap: .3rem; }
    .hg-field label { font-size: .8rem; font-weight: 700; color: #0f1923; }
    .hg-field input, .hg-field select { padding: .65rem .9rem; font-size: .9rem; border: 2px solid #d0d8e0; border-radius: 8px; background: #ffffff; color: #0f1923; transition: border-color .15s; }
    .hg-field input:focus, .hg-field select:focus { outline: none; border-color: #005fa3; box-shadow: 0 0 0 3px rgba(0,95,163,.15); }
    .hg-row { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: .85rem; }
    .f-sm { width: 130px; } .f-md { width: 200px; } .f-lg { flex: 1; min-width: 160px; }

    /* ── Section toggles ─────────────────────────────────── */
    .hg-toggle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
    .hg-toggle-item { display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; background: #f0f7fd; border: 1.5px solid #b8d9f0; border-radius: 8px; cursor: pointer; user-select: none; }
    .hg-toggle-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: #005fa3; flex-shrink: 0; }
    .hg-toggle-item span { font-size: .85rem; font-weight: 700; color: #0f1923; }
    .hg-toggle-item:has(input:checked) { background: #b8d9f0; border-color: #5da8d8; }

    /* ── Buttons ─────────────────────────────────────────── */
    .hg-run-btn { padding: .75rem 1.5rem; font-size: .95rem; font-weight: 700; background: #b8d9f0; color: #0f1923; border: 2px solid #7ec8f0; border-radius: 10px; cursor: pointer; transition: background .15s, transform .1s; box-shadow: 0 1px 4px rgba(15,25,35,.08); }
    .hg-run-btn:hover { background: #90c5e8; } .hg-run-btn:active { transform: scale(.97); }

    /* ── Checklist output ────────────────────────────────── */
    .hg-checklist-header { background: #2d3f52; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
    .hg-checklist-header h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 .25rem; color: #ffffff; }
    .hg-checklist-header p  { margin: 0; font-size: .875rem; color: #b8d0e8; }

    .hg-cl-section { margin-bottom: 1.25rem; }
    .hg-cl-section-title { font-size: .9rem; font-weight: 700; color: #0f1923; margin: 0 0 .5rem; padding: .5rem .85rem; background: #e0f0fb; border-left: 4px solid #5da8d8; border-radius: 0 6px 6px 0; }

    .hg-cl-item { display: flex; align-items: flex-start; gap: .75rem; padding: .5rem .85rem; border-bottom: 1px solid #e8eef4; }
    .hg-cl-item:last-child { border-bottom: none; }
    .hg-cl-item input[type="checkbox"] { width: 16px; height: 16px; margin-top: .15rem; cursor: pointer; accent-color: #005fa3; flex-shrink: 0; }
    .hg-cl-item span { font-size: .875rem; font-weight: 600; color: #0f1923; flex: 1; line-height: 1.4; }
    .hg-cl-item .hg-sign { min-width: 100px; border-bottom: 1px solid #b0bcc8; margin-left: .5rem; flex-shrink: 0; font-size: .7rem; color: #0f1923; text-align: right; align-self: flex-end; padding-bottom: .1rem; }

    .hg-cl-freq { font-size: .68rem; font-weight: 700; padding: .1rem .4rem; border-radius: 999px; margin-left: .35rem; flex-shrink: 0; }
    .freq-daily  { background: #a8d8b8; color: #0f1923; border: 1px solid #3d9a5a; }
    .freq-weekly { background: #f0d080; color: #0f1923; border: 1px solid #b07800; }
    .freq-each   { background: #b8d9f0; color: #0f1923; border: 1px solid #5da8d8; }

    .hg-sign-row { display: flex; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 2px solid #d0d8e0; flex-wrap: wrap; }
    .hg-sign-block { flex: 1; min-width: 160px; }
    .hg-sign-block label { font-size: .78rem; font-weight: 700; color: #0f1923; display: block; margin-bottom: .5rem; }
    .hg-sign-line { border-bottom: 1.5px solid #2d3f52; height: 28px; }

    .hg-note { font-size: .8rem; font-weight: 700; color: #0f1923 !important; margin: .5rem 0 0; line-height: 1.5; }

    .hc-disclaimer { margin-top: 1.5rem; padding: .9rem 1.1rem; background: #b8d9f0; border: 1px solid #5da8d8; border-radius: 10px; font-size: .8rem; line-height: 1.5; }
    .hc-disclaimer p { color: #0f1923; margin: 0; font-weight: 600; }

    /* ── Overrides ───────────────────────────────────────── */
    .hg-card label, .hg-card .hg-section-title, .hg-card input, .hg-card select,
    .hg-toggle-item span, .hg-cl-item span, .hg-sign-block label,
    .hc-disclaimer p { color: #0f1923 !important; }
    .hg-checklist-header h2 { color: #ffffff !important; }
    .hg-checklist-header p  { color: #b8d0e8 !important; }

    @media (max-width: 600px) { .hg-row { flex-direction: column; align-items: stretch; } .hg-sign-row { flex-direction: column; } }
    @media print {
        nav, header, footer, .hg-card:first-of-type, .hg-run-btn, .hc-disclaimer,
        .hg-toggle-grid, .hg-card:nth-of-type(2) { display: none !important; }
        .hg-checklist-header { background: #2d3f52 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
        .hg-cl-item input[type="checkbox"] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
        body { font-size: 10pt; }
        .hg-cl-item { page-break-inside: avoid; }
    }