/* Help Center (/docs) — hub + guide pages (resources/views/help/*.blade.php), redesigned 2026-12-04.
   Public pages load Font Awesome 4, so icons are FA4 names. */
.wzh { --navy: #0b1f44; --blue: #1d4ed8; --blue-2: #2563eb; --ink: #0f1b34; --text: #3c4a63; --soft: #5f6b86; --line: #e2e8f2; --bg: #f5f8fd;
    background: var(--bg); color: var(--ink); font-family: 'Inter', 'Segoe UI', Arial, sans-serif; }
.wzh a { color: var(--blue); }
.wzh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.wzh-hero { position: relative; overflow: hidden; padding: 56px 0 84px; color: #fff;
    background: radial-gradient(900px 340px at 85% -10%, #2b5bd7 0, transparent 60%), linear-gradient(160deg, #0d2552, #0b1f44 70%); }
.wzh-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.wzh-crumb { font-size: .88rem; color: #c7d4f2; margin: 0 0 14px; }
.wzh-crumb a { color: #e3ebff; text-decoration: none; }
.wzh-crumb a:hover { text-decoration: underline; }
.wzh-crumb span { margin: 0 6px; opacity: .6; }
.wzh-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #dbe6ff; }
.wzh-hero h1 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12; color: #fff; }
.wzh-lede { max-width: 720px; margin: 0 0 26px; font-size: 1.08rem; line-height: 1.6; color: #d7e2fa; }
.wzh-search { position: relative; max-width: 680px; }
.wzh-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--soft); font-size: 1.1rem; }
.wzh-search input { width: 100%; min-height: 58px; padding: 0 18px 0 50px; border: 0; border-radius: 14px; font: inherit; font-size: 1.02rem; color: var(--ink);
    box-shadow: 0 18px 40px rgba(4, 12, 32, .35); }
.wzh-search input:focus { outline: 3px solid #f59e0b; outline-offset: 2px; }
.wzh-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: #c7d4f2; }
.wzh-popular button { border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; border-radius: 999px; padding: 5px 12px;
    font: inherit; font-size: .85rem; cursor: pointer; }
.wzh-popular button:hover, .wzh-popular button:focus-visible { background: rgba(255, 255, 255, .2); }

/* ---------- Quick start ---------- */
.wzh-start { position: relative; z-index: 1; margin-top: -46px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.wzh a.wzh-start__step, .wzh-start a { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; line-height: 1.4; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px rgba(11, 31, 68, .08); transition: transform .15s, border-color .15s; }
.wzh-start a:hover, .wzh-start a:focus-visible { transform: translateY(-2px); border-color: var(--blue); }
.wzh-start b { display: block; font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; color: var(--ink); }
/* display:block, or the layout's tall line-height wins and the text looks double-spaced. */
.wzh-start small { display: block; color: var(--text); font-size: .9rem; line-height: 1.5; }
.wzh-start em { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-style: normal; font-weight: 700; font-size: .86rem; color: var(--blue); }
.wzh-num { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e8f0fe; color: var(--blue); font-weight: 800; }

/* ---------- Role filter ---------- */
.wzh-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 34px 0 8px; }
.wzh-roles span { font-weight: 700; color: var(--text); margin-right: 4px; }
.wzh-roles button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--navy); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.wzh-roles button:hover { border-color: var(--blue); color: var(--blue); }
.wzh-roles button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.wzh-roles button:focus-visible, .wzh-card:focus-visible, .wzh-vid:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* ---------- Guide cards ---------- */
.wzh-group { margin: 30px 0 0; }
.wzh-group h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.wzh-group h2 small { font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 600; color: var(--soft); padding: 3px 9px; background: #eef2f8; border-radius: 999px; }
.wzh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wzh a.wzh-card, .wzh-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.wzh a.wzh-card:hover, .wzh-card:hover { transform: translateY(-2px); border-color: #bcd0f7; box-shadow: 0 14px 30px rgba(29, 78, 216, .12); text-decoration: none; color: var(--ink); }
.wzh-card__top { display: flex; align-items: center; gap: 10px; }
.wzh-ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f0fe, #dfe9fd);
    color: var(--blue); font-size: 1.15rem; }
.wzh-card b { font-size: 1rem; line-height: 1.35; }
.wzh-card p { margin: 0; color: var(--soft); font-size: .88rem; line-height: 1.5; flex: 1; }
.wzh-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.wzh-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #f1f5fb; color: var(--text); font-size: .76rem; font-weight: 600; }
.wzh-tag--video { background: #fdecea; color: #b42318; }
.wzh-tag--demo { background: #e6f4ee; color: #0f6b45; }
.wzh-empty { margin: 20px 0 0; padding: 18px; border-radius: 14px; background: #fff; border: 1px dashed var(--line); color: var(--text); }

/* ---------- Video strip ---------- */
.wzh-videos { margin: 46px 0 0; padding: 26px; border-radius: 20px; background: var(--navy); color: #fff; }
.wzh-videos h2 { text-align: left; margin: 0 0 4px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; }
.wzh-videos > p { text-align: left; margin: 0 0 18px; color: #c7d4f2; }
/* A wrapping grid, not a side-scroller: a half-cut last card looked broken. */
.wzh-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wzh a.wzh-vid, .wzh-vid { display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .08); transition: transform .15s, border-color .15s; border-radius: 14px; overflow: hidden; background: #13295a; color: #fff; text-decoration: none; }
.wzh a.wzh-vid:hover, .wzh a.wzh-vid:focus-visible { color: #fff; text-decoration: none; transform: translateY(-2px); border-color: rgba(255, 255, 255, .35); }
.wzh a.wzh-vid[hidden], .wzh-vids__more[hidden] { display: none; }
.wzh-vid__img { position: relative; display: block; aspect-ratio: 16 / 9; background: #0e2350; }
.wzh-vid__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wzh-vid__img i { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); border-radius: 50%; display: grid; place-items: center;
    background: rgba(29, 78, 216, .92); font-size: 1.1rem; }
.wzh-vid b { display: block; padding: 12px 14px 14px; font-size: .95rem; line-height: 1.4; font-weight: 700; color: #fff; }
.wzh-vids__more { display: flex; justify-content: center; margin-top: 18px; }
.wzh-vids__more button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4);
    background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.wzh-vids__more button:hover, .wzh-vids__more button:focus-visible { background: rgba(255, 255, 255, .12); }
.wzh-vids__more button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* ---------- CTA ---------- */
.wzh-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 30px 0 56px; }
.wzh-cta > div { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.wzh-cta h2 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.wzh-cta p { margin: 0 0 14px; color: var(--soft); font-size: .92rem; line-height: 1.5; }
.wzh-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--blue); color: #fff !important;
    font-weight: 700; text-decoration: none !important; }
.wzh-btn:hover { background: #1e40af; }
.wzh-btn--ghost { background: #fff; border: 1px solid #bcd0f7; color: var(--blue) !important; }
.wzh-btn--ghost:hover { background: #eef4ff; }

/* ---------- Guide page ---------- */
.wzh-hero--article { padding-bottom: 70px; }
.wzh-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.wzh-hero__meta .wzh-tag { background: rgba(255, 255, 255, .12); color: #e3ebff; }
.wzh-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wzh-hero__actions .wzh-btn--ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.wzh-hero__actions .wzh-btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.wzh-layout { position: relative; z-index: 1; margin-top: -40px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 56px; }
.wzh-toc { position: sticky; top: 90px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.wzh-toc b { display: block; margin-bottom: 10px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.wzh-toc ol { list-style: none; margin: 0; padding: 0; }
.wzh-toc li { margin: 0; }
.wzh-toc a { display: block; padding: 6px 10px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; color: var(--text); text-decoration: none; line-height: 1.35; }
.wzh-toc li.is-sub a { padding-left: 22px; font-size: .86rem; }
.wzh-toc a:hover { background: #f1f5fb; color: var(--blue); }
.wzh-toc a.is-active { border-left-color: var(--blue); background: #eef4ff; color: var(--blue); font-weight: 700; }
.wzh-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.wzh-panel { padding: 26px 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.wzh-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.wzh-media figure { margin: 0; }
.wzh-media video, .wzh-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #0b1f44; }
.wzh-media figcaption { margin-top: 8px; font-size: .84rem; color: var(--soft); }

/* Article body: headings, step cards, tips. */
.wzh-body { font-size: 1rem; line-height: 1.7; color: var(--text); }
.wzh-body h2 { scroll-margin-top: 90px; margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.wzh-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.wzh-body h3 { scroll-margin-top: 90px; margin: 24px 0 10px; font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.wzh-body p { margin: 0 0 12px; }
.wzh-body strong { color: var(--ink); }
.wzh-body ul { padding-left: 20px; }
.wzh-body li { margin-bottom: 6px; }
.wzh-body code { padding: 1px 6px; border-radius: 6px; background: #f1f5fb; color: #b42318; font-size: .88em; overflow-wrap: anywhere; }
.wzh-body ol { list-style: none; counter-reset: wzhstep; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wzh-body ol > li { counter-increment: wzhstep; position: relative; margin: 0; padding: 12px 14px 12px 56px; border-radius: 12px; background: #f7f9fd; border: 1px solid var(--line); min-height: 48px; }
.wzh-body ol > li::before { content: counter(wzhstep); position: absolute; left: 12px; top: 11px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--blue); color: #fff; font-weight: 800; font-size: .9rem; }
.wzh-body blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 4px solid #f59e0b; border-radius: 0 10px 10px 0; background: #fff8eb; color: #6b4a07; }
.wzh-body table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: .92rem; }
.wzh-body th, .wzh-body td { padding: 9px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.wzh-body th { background: #f4f7fc; color: var(--navy); }

.wzh-helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wzh-helpful b { margin-right: 6px; color: var(--navy); }
.wzh-helpful button { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: var(--navy); }
.wzh-helpful button:hover { border-color: var(--blue); color: var(--blue); }
.wzh-helpful button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.wzh-helpful p { flex-basis: 100%; margin: 4px 0 0; color: var(--text); }
.wzh-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wzh-pn a { display: block; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.wzh-pn a:hover { border-color: var(--blue); }
.wzh-pn small { display: block; color: var(--soft); font-size: .8rem; margin-bottom: 3px; }
.wzh-pn .is-next { text-align: right; grid-column: 2; }
.wzh-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }

@media (max-width: 991px) {
    .wzh-layout { grid-template-columns: 1fr; }
    .wzh-toc { position: static; }
}
@media (max-width: 575px) {
    .wzh-hero { padding: 40px 0 74px; }
    .wzh-panel { padding: 20px 18px; }
    .wzh-body ol > li { padding-left: 50px; }
    .wzh-pn { grid-template-columns: 1fr; }
    .wzh-pn .is-next { grid-column: auto; text-align: left; }
    .wzh-videos { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { .wzh-card, .wzh-start a { transition: none; } .wzh-card:hover, .wzh-start a:hover { transform: none; } }

/* Visually hidden label (the public layout may not ship Bootstrap's .sr-only). */
.wzh .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Grid items must be allowed to shrink, or the 1280px screenshot widens its column. */
.wzh-media > figure { min-width: 0; }
.wzh-media img { height: auto; max-width: 100%; }
/* The public layout centres h2/h3; guide text reads left to right. */
.wzh-body h2, .wzh-body h3, .wzh-body p, .wzh-body li { text-align: left; }
