/* Help centre portal (resources/views/site/wiki-layout.blade.php). Colours come from the brand's W3 theme. */
body.kz-wiki { background: #f7f8fa; color: #1f2933; font-family: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.6; }

/* sidebar */
.kz-side { width: 290px; background: #fff; border-right: 1px solid #e4e7eb; z-index: 4; overflow-y: auto; }
.kz-side-brand { padding: 18px 20px; display: block; text-decoration: none; }
.kz-side-brand img { height: 28px; max-width: 190px; display: block; }
.kz-side-brand b { font-size: 18px; display: block; line-height: 1.2; }
.kz-side-brand span { font-size: 12px; opacity: .85; letter-spacing: .3px; }
.kz-side-search { padding: 14px 16px 8px; }
.kz-search { position: relative; }
.kz-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #7b8794; font-size: 13px; }
.kz-search input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid #cbd2d9; border-radius: 8px; font-size: 14px; background: #fff; outline: none; }
.kz-search input:focus { border-color: #7b8794; box-shadow: 0 0 0 3px rgba(123, 135, 148, .15); }
.kz-nav { padding: 4px 8px 24px; }
.kz-nav a { text-decoration: none; color: inherit; display: block; }
.kz-nav-home { padding: 8px 12px; border-radius: 6px; font-weight: 500; }
.kz-nav summary { cursor: pointer; padding: 8px 12px; border-radius: 6px; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 10px; }
.kz-nav summary::-webkit-details-marker { display: none; }
.kz-nav summary i.kz-ico { width: 18px; text-align: center; color: #7b8794; font-size: 14px; }
.kz-nav summary::after { content: "\f054"; font: 900 10px "Font Awesome 6 Free"; margin-left: auto; color: #9aa5b1; transition: transform .15s; }
.kz-nav details[open] > summary::after { transform: rotate(90deg); }
.kz-nav summary:hover, .kz-nav-home:hover, .kz-nav-item:hover { background: #f1f3f5; }
.kz-nav-item { padding: 6px 12px 6px 40px; font-size: 14px; color: #52606d !important; border-radius: 6px; line-height: 1.4; margin: 1px 0; }
.kz-nav-item.kz-on, .kz-nav-home.kz-on { font-weight: 600; }

/* top bar */
.kz-wiki-bar { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid #e4e7eb; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 28px; }
.kz-crumb { font-size: 14px; color: #7b8794; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kz-crumb a { color: inherit; text-decoration: none; }
.kz-crumb a:hover { text-decoration: underline; }
.kz-crumb i { font-size: 10px; margin: 0 8px; }
.kz-wiki-bar .kz-support { margin-left: auto; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* home */
.kz-hero { padding: 56px 28px 64px; text-align: center; }
.kz-hero h1 { font-size: 34px; font-weight: 700; margin: 0 0 8px; }
.kz-hero p { margin: 0 0 24px; opacity: .9; font-size: 16px; }
.kz-hero .kz-search { max-width: 580px; margin: 0 auto; }
.kz-hero .kz-search input { padding: 14px 16px 14px 44px; font-size: 16px; border: 0; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.kz-hero .kz-search i { left: 16px; font-size: 16px; }
.kz-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px 40px; }
.kz-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: -34px; }
.kz-topic { background: #fff; border: 1px solid #e4e7eb; border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(31, 41, 51, .05); transition: box-shadow .15s, transform .15s; }
.kz-topic:hover { box-shadow: 0 6px 18px rgba(31, 41, 51, .1); transform: translateY(-1px); }
.kz-topic-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.kz-topic-ico { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.kz-topic h2 { font-size: 16px; font-weight: 600; margin: 0; }
.kz-topic small { color: #7b8794; font-size: 12px; display: block; }
.kz-topic ul { list-style: none; margin: 0; padding: 0; }
.kz-topic li { padding: 4px 0; font-size: 14px; }
.kz-topic li a { color: #3e4c59; text-decoration: none; }
.kz-topic li a:hover { text-decoration: underline; }
.kz-results { max-width: 760px; margin: 24px auto 0; }
.kz-result { display: block; background: #fff; border: 1px solid #e4e7eb; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; text-decoration: none; color: inherit; }
.kz-result:hover { box-shadow: 0 4px 12px rgba(31, 41, 51, .08); }
.kz-result small { display: block; color: #7b8794; }
.kz-help { max-width: 1120px; margin: 28px auto 0; text-align: center; color: #52606d; }

/* article */
.kz-doc { display: flex; gap: 48px; max-width: 1120px; margin: 0 auto; padding: 36px 28px 48px; align-items: flex-start; }
.kz-doc-main { flex: 1; min-width: 0; max-width: 760px; }
.kz-doc-main > h1 { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; }
.kz-doc-lead { font-size: 17px; color: #52606d; margin: 0 0 8px; }
.kz-doc-meta { font-size: 13px; color: #9aa5b1; margin: 0 0 26px; padding-bottom: 20px; border-bottom: 1px solid #e4e7eb; }
.kz-doc-body h2 { font-size: 21px; font-weight: 600; margin: 34px 0 10px; scroll-margin-top: 76px; }
.kz-doc-body h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.kz-doc-body p { margin: 0 0 14px; line-height: 1.7; }
.kz-doc-body ul, .kz-doc-body ol { margin: 0 0 16px; padding-left: 22px; }
.kz-doc-body li { margin: 5px 0; line-height: 1.6; }
.kz-doc-body a { text-decoration: underline; text-underline-offset: 2px; }
.kz-doc-body table { border-collapse: collapse; width: 100%; margin: 6px 0 20px; font-size: 14px; background: #fff; border: 1px solid #e4e7eb; border-radius: 8px; overflow: hidden; }
.kz-doc-body th { background: #f1f3f5; text-align: left; font-weight: 600; padding: 9px 12px; border-bottom: 1px solid #e4e7eb; }
.kz-doc-body td { padding: 9px 12px; border-bottom: 1px solid #eef0f2; vertical-align: top; }
.kz-doc-body tr:last-child td { border-bottom: 0; }
.kz-doc-body blockquote { margin: 0 0 16px; padding: 12px 16px; background: #eef4fb; border-left: 3px solid #4a90d9; border-radius: 0 6px 6px 0; }
.kz-doc-body blockquote p { margin: 0; }
.kz-pager { display: flex; gap: 14px; margin-top: 36px; }
.kz-pager a { flex: 1; border: 1px solid #e4e7eb; background: #fff; border-radius: 10px; padding: 12px 16px; text-decoration: none; color: inherit; min-width: 0; }
.kz-pager a:hover { box-shadow: 0 4px 12px rgba(31, 41, 51, .08); }
.kz-pager small { display: block; color: #7b8794; font-size: 12px; }
.kz-pager .kz-next { text-align: right; }
.kz-toc { width: 220px; flex: none; position: sticky; top: 84px; font-size: 13px; }
.kz-toc b { display: block; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; color: #7b8794; margin-bottom: 8px; }
.kz-toc a { display: block; padding: 4px 0 4px 12px; color: #52606d; text-decoration: none; border-left: 2px solid #e4e7eb; line-height: 1.4; }
.kz-toc a:hover { color: #1f2933; }
.kz-toc a.kz-on { font-weight: 600; color: #1f2933; border-left-color: currentColor; }
.kz-toc-help { margin-top: 20px; padding-top: 14px; border-top: 1px solid #e4e7eb; color: #52606d; }
.kz-toc-help a { display: inline; padding: 0; border: 0; text-decoration: underline; word-break: break-all; }

/* step-by-step page of a service */
.kz-step { display: flex; gap: 16px; margin-bottom: 30px; }
.kz-step-no { width: 34px; height: 34px; line-height: 34px; border-radius: 50%; text-align: center; font-weight: 600; flex: none; }
.kz-step-body { flex: 1; min-width: 0; }
.kz-step-body h2 { font-size: 19px; font-weight: 600; margin: 3px 0 4px; scroll-margin-top: 76px; }
.kz-step-body p { margin: 0 0 12px; color: #52606d; }
.kz-step-body img { width: 100%; border: 1px solid #e4e7eb; border-radius: 10px; box-shadow: 0 2px 8px rgba(31, 41, 51, .07); display: block; }
.kz-section-guides { list-style: none; margin: 8px 0 0; padding: 0; }
.kz-section-guides a { display: block; background: #fff; border: 1px solid #e4e7eb; border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; text-decoration: none; color: inherit; }
.kz-section-guides a:hover { box-shadow: 0 4px 12px rgba(31, 41, 51, .08); }
.kz-section-guides small { display: block; color: #7b8794; }
.kz-foot { text-align: center; font-size: 13px; color: #9aa5b1; padding: 24px; }
.kz-foot a { color: inherit; }
@media (max-width: 1100px) { .kz-toc { display: none; } .kz-doc { gap: 0; } }
@media (max-width: 600px) { .kz-hero { padding: 36px 16px 56px; } .kz-hero h1 { font-size: 26px; } .kz-wrap, .kz-doc { padding-left: 16px; padding-right: 16px; } .kz-wiki-bar { padding: 0 12px; } .kz-pager { flex-direction: column; } .kz-doc-main > h1 { font-size: 25px; } }
