/* /hooks stylesheet v2: every class is prefixed hk- and the page sits inside .hk-section, so no existing CSS is touched */
.hk-section{--hk-g1:#0B3D2E;--hk-g2:#1a5a42;--hk-g3:#e8f3ee;--hk-gold:#F4C430;--hk-ink:#1f2937;--hk-mute:#5b6770;--hk-bg:#f3f8f5;--hk-line:#d9e6df;--hk-card:#ffffff}
.hk-section *{box-sizing:border-box}
.hk-section{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--hk-ink);background:var(--hk-bg);line-height:1.8;padding-bottom:48px;font-size:17px}
.hk-wrap{max-width:880px;margin:0 auto;padding:0 16px}
.hk-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--hk-g1),var(--hk-g2) 70%,#23735a);color:#fff;padding:48px 0 54px;margin-bottom:-22px}
.hk-hero:before{content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;background:rgba(244,196,48,.13)}
.hk-hero:after{content:"";position:absolute;right:120px;bottom:-90px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.07)}
.hk-hero .hk-wrap{position:relative;z-index:1}
.hk-crumb{font-size:13px;opacity:.85;margin-bottom:14px}
.hk-crumb a{color:#fff;text-decoration:underline}
.hk-hero h1{font-size:clamp(26px,4.6vw,40px);line-height:1.2;margin:0 0 16px;letter-spacing:-.01em}
.hk-chips{display:flex;flex-wrap:wrap;gap:10px}
.hk-pill{display:inline-flex;align-items:center;gap:7px;background:rgba(244,196,48,.16);color:var(--hk-gold);border:1px solid rgba(244,196,48,.55);border-radius:999px;padding:4px 14px 4px 10px;font-size:13px;font-weight:600;line-height:1.4}
.hk-pill-soft{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.35)}
.hk-chip-i{display:inline-flex;width:16px;height:16px}
.hk-chip-i .hk-svg{width:16px;height:16px}
.hk-lead{max-width:680px;font-size:17px;opacity:.95;margin:12px 0 0}
.hk-svg{display:block;width:24px;height:24px}
.hk-card{position:relative;background:var(--hk-card);border:1px solid var(--hk-line);border-radius:16px;padding:26px 28px 12px;margin:0 0 22px;box-shadow:0 1px 2px rgba(11,61,46,.05),0 8px 24px -14px rgba(11,61,46,.18)}
.hk-card p{margin:0 0 18px}
.hk-card h2{color:var(--hk-g1);font-size:clamp(20px,3vw,25px);margin:0;line-height:1.3;letter-spacing:-.005em}
.hk-intro{border-left:6px solid var(--hk-gold);font-size:18px;padding-top:24px}
.hk-card a{color:var(--hk-g2);font-weight:600;text-decoration:underline;text-decoration-color:var(--hk-gold);text-decoration-thickness:2px;text-underline-offset:3px}
.hk-card a:hover{color:var(--hk-g1);background:#fff6d1}
.hk-sechead{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.hk-step{display:block;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#9a7b00;margin-bottom:2px}
.hk-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--hk-g1),var(--hk-g2));color:#fff;box-shadow:0 6px 14px -6px rgba(11,61,46,.55)}
.hk-ico-sm{width:34px;height:34px;border-radius:10px}
.hk-ico-sm .hk-svg{width:19px;height:19px}
.hk-ico-gold{background:linear-gradient(135deg,#f4c430,#e0a800);color:#3d2f00;box-shadow:0 6px 14px -6px rgba(180,130,0,.6)}
.hk-sec{scroll-margin-top:90px}
.hk-close{background:linear-gradient(180deg,#fffbea,#fff6d1);border-color:#efd987}
.hk-toc{background:var(--hk-card);border:1px solid var(--hk-line);border-radius:16px;padding:18px 24px 14px;margin:0 0 22px;box-shadow:0 1px 2px rgba(11,61,46,.05)}
.hk-toc-h{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--hk-g1);margin-bottom:10px}
.hk-toc ol{list-style:none;counter-reset:t;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:4px 22px}
.hk-toc li{counter-increment:t;font-size:15px;line-height:1.5}
.hk-toc li a{display:flex;gap:10px;align-items:baseline;padding:6px 0;color:var(--hk-ink);text-decoration:none;border-bottom:1px dashed var(--hk-line)}
.hk-toc li a:before{content:counter(t);flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--hk-g3);color:var(--hk-g1);font-size:12px;font-weight:700;text-align:center;line-height:22px}
.hk-toc li a:hover{color:var(--hk-g2)}
.hk-diagram{margin:0 0 22px;background:linear-gradient(180deg,#fff,#f6fbf8);border:1px solid var(--hk-line);border-radius:16px;padding:24px 24px 18px;box-shadow:0 1px 2px rgba(11,61,46,.05),0 8px 24px -14px rgba(11,61,46,.18)}
.hk-dg-h{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.hk-dg-h h3{margin:0;font-size:clamp(17px,2.6vw,21px);line-height:1.3;color:var(--hk-g1)}
.hk-flow{list-style:none;margin:24px 0 10px;padding:0;display:flex;flex-direction:column;gap:52px}
.hk-flow li{position:relative;flex:1 1 0;min-width:0;background:#fff;border:2px solid var(--hk-g2);border-radius:14px;padding:26px 12px 14px;text-align:center;display:flex;flex-direction:column;gap:6px}
.hk-flow .hk-n{position:absolute;left:50%;top:-15px;transform:translateX(-50%);width:30px;height:30px;border-radius:50%;background:var(--hk-gold);color:#3d2f00;border:2px solid #fff;font-weight:800;font-size:14px;line-height:26px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.hk-flow strong{color:var(--hk-g1);font-size:15px;line-height:1.3}
.hk-flow .hk-note{font-size:13px;line-height:1.5;color:var(--hk-mute)}
.hk-flow li:not(:last-child):after{content:"";position:absolute;left:50%;bottom:-34px;width:12px;height:12px;border-right:3px solid var(--hk-g2);border-bottom:3px solid var(--hk-g2);transform:translateX(-50%) rotate(45deg)}
.hk-diagram figcaption{margin-top:14px;padding:12px 14px;background:var(--hk-g3);border-radius:10px;font-size:15px;line-height:1.65;color:#274237}
@media (min-width:780px){.hk-flow{flex-direction:row;gap:30px}.hk-flow li:not(:last-child):after{left:auto;right:-22px;bottom:auto;top:50%;transform:translateY(-50%) rotate(-45deg)}}
.hk-draft{background:#fff3cd;color:#664d03;text-align:center;padding:8px;font-size:14px;font-weight:600}
.hk-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.hk-list li{background:var(--hk-card);border:1px solid var(--hk-line);border-radius:12px;padding:14px 16px;box-shadow:0 1px 2px rgba(11,61,46,.05)}
.hk-list a{color:var(--hk-g2);font-weight:600;text-decoration:none}
.hk-list a:hover{text-decoration:underline}
@media (max-width:600px){.hk-section{font-size:16.5px}.hk-card{padding:20px 18px 6px;border-radius:14px}.hk-hero{padding:34px 0 44px}.hk-ico{width:40px;height:40px;border-radius:12px}.hk-toc{padding:16px 18px 10px}.hk-diagram{padding:20px 16px 14px}.hk-intro{font-size:17px}}
@media (prefers-reduced-motion:no-preference){.hk-card a{transition:background .15s,color .15s}}
/* hub: search box and cards */
.hk-search{display:flex;align-items:center;gap:0;margin:22px 0 0;max-width:640px;background:#fff;border-radius:14px;box-shadow:0 10px 30px -14px rgba(0,0,0,.45);overflow:hidden}
.hk-s-ico{flex:0 0 auto;display:inline-flex;padding:0 6px 0 16px;color:var(--hk-g2)}
.hk-s-ico .hk-svg{width:22px;height:22px}
.hk-search input{flex:1 1 auto;min-width:0;border:0;outline:0;font:inherit;font-size:16px;padding:15px 10px;color:var(--hk-ink);background:transparent;-webkit-appearance:none}
.hk-search button{flex:0 0 auto;border:0;cursor:pointer;background:var(--hk-gold);color:#3d2f00;font:inherit;font-weight:700;font-size:15px;padding:15px 22px}
.hk-search button:hover{background:#e6b81f}
.hk-search:focus-within{box-shadow:0 0 0 3px rgba(244,196,48,.8),0 10px 30px -14px rgba(0,0,0,.45)}
.hk-status{margin:6px 0 16px;font-size:14px;color:var(--hk-mute)}
.hk-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.hk-cardlink a{position:relative;display:flex;flex-direction:column;gap:12px;height:100%;background:var(--hk-card);border:1px solid var(--hk-line);border-radius:16px;padding:18px 18px 16px;text-decoration:none;color:var(--hk-ink);box-shadow:0 1px 2px rgba(11,61,46,.05),0 8px 24px -16px rgba(11,61,46,.2);transition:transform .15s,box-shadow .15s,border-color .15s}
.hk-cardlink a:hover{transform:translateY(-3px);border-color:var(--hk-g2);box-shadow:0 12px 28px -14px rgba(11,61,46,.35)}
.hk-cl-ico{display:inline-flex;width:40px;height:40px;border-radius:12px;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--hk-g1),var(--hk-g2));color:#fff}
.hk-cl-ico .hk-svg{width:20px;height:20px}
.hk-cl-body{display:flex;flex-direction:column;gap:6px;flex:1 1 auto}
.hk-cl-body strong{color:var(--hk-g1);font-size:16.5px;line-height:1.35}
.hk-cl-body span{font-size:14px;line-height:1.55;color:var(--hk-mute)}
.hk-cl-tag{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.04em;color:#6b5600;background:#fff3c4;border-radius:999px;padding:3px 11px}
.hk-empty{grid-column:1/-1;background:var(--hk-card);border:1px dashed var(--hk-line);border-radius:14px;padding:26px;text-align:center;color:var(--hk-mute)}
@media (max-width:520px){.hk-search button{padding:15px 16px}.hk-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.hk-cardlink a{transition:none}}

/* related courses */
.hk-rel{margin-top:22px}
.hk-rel-list{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.hk-rel-list a{display:flex;flex-direction:column;gap:6px;height:100%;padding:14px 16px;border:1px solid rgba(21,94,59,.18);border-radius:12px;text-decoration:none;color:inherit;background:#fff;transition:box-shadow .15s,transform .15s}
.hk-rel-list a:hover{box-shadow:0 6px 18px rgba(21,94,59,.14);transform:translateY(-2px)}
.hk-rel-list strong{color:#155e3b;font-size:15px;line-height:1.35}
.hk-rel-list span{font-size:13px;line-height:1.5;color:#4b5a52}
.hk-rel-list em{font-style:normal;font-size:12px;font-weight:600;color:#155e3b;margin-top:auto}
