/* Ellibo Help Centre - one neutral look for every app. */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --bg-hover: #f0f2f5;
    --line: #e4e7ec;
    --line-strong: #d0d5dd;
    --text: #344054;
    --text-soft: #667085;
    --head: #101828;
    --accent: #1f5fd1;
    --accent-soft: #eef4ff;
    --code-bg: #f2f4f7;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-lg: 0 12px 32px -12px rgba(16, 24, 40, .22);
    --note: #f5f8ff;   --note-line: #b2ccff;
    --tip: #f6fef9;    --tip-line: #a6e3c0;
    --warn: #fffaeb;   --warn-line: #fedf89;
    --local: #f9fafb;  --local-line: #d0d5dd;
    --top-h: 60px;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0f1419; --bg-soft: #151b22; --bg-hover: #1c242d; --line: #26303b; --line-strong: #344150;
        --text: #c9d1d9; --text-soft: #8b97a5; --head: #f0f3f6; --accent: #6ea8fe; --accent-soft: #16233a; --code-bg: #1c242d;
        --shadow: none; --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .6);
        --note: #131d2c; --note-line: #2c4a7a; --tip: #12211a; --tip-line: #275c40; --warn: #241d0f; --warn-line: #6b5420; --local: #161c23; --local-line: #344150;
    }
}
:root[data-theme="dark"] {
    --bg: #0f1419; --bg-soft: #151b22; --bg-hover: #1c242d; --line: #26303b; --line-strong: #344150;
    --text: #c9d1d9; --text-soft: #8b97a5; --head: #f0f3f6; --accent: #6ea8fe; --accent-soft: #16233a; --code-bg: #1c242d;
    --shadow: none; --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .6);
    --note: #131d2c; --note-line: #2c4a7a; --tip: #12211a; --tip-line: #275c40; --warn: #241d0f; --warn-line: #6b5420; --local: #161c23; --local-line: #344150;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--head); line-height: 1.3; letter-spacing: -.01em; }
[hidden] { display: none !important; }

/* ---- top bar ---- */
.hc-top { position: sticky; top: 0; z-index: 50; height: var(--top-h); background: var(--bg); border-bottom: 1px solid var(--line); }
.hc-top-in { height: 100%; display: flex; align-items: center; gap: 16px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.hc-brand { display: flex; align-items: center; gap: 8px; color: var(--head); font-weight: 700; font-size: 18px; white-space: nowrap; }
.hc-brand:hover { text-decoration: none; }
.hc-brand em { font-style: normal; font-weight: 500; color: var(--text-soft); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-strong); font-size: 15px; }
.hc-menu-btn, .hc-side-close { display: none; background: none; border: 0; color: var(--head); font-size: 18px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.hc-menu-btn:hover, .hc-side-close:hover { background: var(--bg-hover); }
.hc-switch { position: relative; }
.hc-switch-btn { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--head); font: 500 14px 'DM Sans', sans-serif; padding: 6px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.hc-switch-btn:hover { background: var(--bg-hover); }
.hc-switch-btn .fa-chevron-down { font-size: 10px; color: var(--text-soft); }
.hc-switch-btn > .fas:first-child, .hc-switch-menu .fas { color: var(--text-soft); width: 16px; text-align: center; }
.hc-switch-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; }
.hc-switch-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: 14px; }
.hc-switch-menu a:hover { background: var(--bg-hover); text-decoration: none; }
.hc-switch-menu a.on { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.hc-switch-menu a.on .fas { color: var(--accent); }
.hc-region { position: relative; }
.hc-region-btn { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--text); font: 500 14px 'DM Sans', sans-serif; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.hc-region-btn:hover { background: var(--bg-hover); }
.hc-region-btn .fa-globe { color: var(--text-soft); }
.hc-region-btn .fa-chevron-down { font-size: 10px; color: var(--text-soft); }
.hc-region-menu { position: absolute; top: calc(100% + 6px); right: 0; width: 160px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; white-space: normal; }
.hc-region-head { font-size: 12px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px 4px; }
.hc-region-menu a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--head) !important; font-weight: 600; }
.hc-region-menu a:hover { background: var(--bg-hover); text-decoration: none; }
.hc-region-menu a.on { background: var(--accent-soft); color: var(--accent) !important; }
.hc-region-menu small { display: block; font-weight: 400; color: var(--text-soft); font-size: 12.5px; }
.hc-foot-region { margin-left: 12px; }
.hc-foot-region .fas { margin-right: 3px; }
.hc-top-links { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; white-space: nowrap; }
.hc-top-links a { color: var(--text); font-weight: 500; }
.hc-top-links a:hover { color: var(--accent); text-decoration: none; }
.hc-top-links .hc-top-cta { background: var(--accent); color: #fff; padding: 7px 14px; border-radius: 8px; }
.hc-top-links .hc-top-cta:hover { color: #fff; filter: brightness(.94); }

/* ---- search ---- */
.hc-search { position: relative; }
.hc-search > .fa-search { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-soft); font-size: 14px; pointer-events: none; }
.hc-search input { width: 100%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--head); border-radius: 8px; font: 15px 'DM Sans', sans-serif; padding: 8px 12px 8px 36px; outline: none; -webkit-appearance: none; }
.hc-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hc-search-top { flex: 1; max-width: 440px; }
.hc-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); max-height: min(70vh, 520px); overflow-y: auto; z-index: 70; text-align: left; }
.hc-results a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.hc-results a:last-of-type { border-bottom: 0; }
.hc-results a:hover, .hc-results a.on { background: var(--bg-hover); text-decoration: none; }
.hc-results b { display: block; color: var(--head); font-weight: 600; font-size: 15px; }
.hc-results small { display: block; color: var(--text-soft); font-size: 12.5px; line-height: 1.5; }
.hc-results mark { background: none; color: var(--accent); font-weight: 600; }
.hc-results .hc-r-where { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); margin-bottom: 1px; }
.hc-results .hc-r-none { padding: 14px; color: var(--text-soft); font-size: 14px; }
.hc-results .hc-r-scope { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; font-size: 13px; color: var(--text-soft); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hc-results .hc-r-scope button { background: none; border: 0; color: var(--accent); font: 600 13px 'DM Sans', sans-serif; cursor: pointer; padding: 0; }

/* ---- help home ---- */
.hc-hero { text-align: center; padding: 64px 20px 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hc-hero h1 { font-size: 40px; margin: 0 0 8px; }
.hc-hero p { color: var(--text-soft); margin: 0 0 26px; font-size: 17px; }
.hc-search-hero { max-width: 640px; margin: 0 auto; }
.hc-search-hero input { padding: 14px 16px 14px 44px; font-size: 16px; border-radius: 10px; box-shadow: var(--shadow); }
.hc-search-hero > .fa-search { left: 16px; font-size: 16px; }
.hc-wrap { max-width: 1120px; margin: 0 auto; padding: 40px 20px 20px; }
.hc-h2 { font-size: 20px; margin: 8px 0 18px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.hc-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--bg); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.hc-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); text-decoration: none; }
.hc-card-ic { flex: 0 0 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hc-card-ic.is-app { background: none; }
.hc-appicon { display: inline-flex; align-items: center; flex: 0 0 auto; }
.hc-appicon svg { display: block; }
.hc-card-tx b { display: block; color: var(--head); font-size: 17px; margin-bottom: 2px; }
.hc-card-tx span { display: block; font-size: 14px; color: var(--text-soft); line-height: 1.55; }
.hc-card-tx small { display: block; margin-top: 8px; font-size: 13px; color: var(--accent); font-weight: 600; }
.hc-popular { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; }
.hc-popular a { display: flex; gap: 10px; padding: 9px 4px; color: var(--head); font-weight: 500; border-bottom: 1px solid var(--line); }
.hc-popular a:hover { color: var(--accent); text-decoration: none; }
.hc-popular i { color: var(--text-soft); margin-top: 5px; }
.hc-popular small { display: block; color: var(--text-soft); font-weight: 400; font-size: 12.5px; }

.hc-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 12px; padding: 22px 24px; margin-bottom: 40px; }
.hc-contact b { display: block; color: var(--head); font-size: 16px; }
.hc-contact span { color: var(--text-soft); font-size: 14px; }
.hc-contact-sm { margin: 40px 0 24px; padding: 18px 20px; }
.hc-btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 8px; white-space: nowrap; border: 1px solid var(--accent); }
.hc-btn:hover { text-decoration: none; filter: brightness(.94); }
.hc-btn-line { background: var(--bg); color: var(--accent); }

/* ---- space layout: menu | content | on this page ---- */
.hc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr) 220px; max-width: 1440px; margin: 0 auto; min-height: calc(100vh - var(--top-h)); }
.hc-side { border-right: 1px solid var(--line); background: var(--bg-soft); position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto; padding: 18px 0 40px; }
.hc-side-head { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 12px; }
.hc-side-head a { display: flex; align-items: center; gap: 10px; color: var(--head); font-weight: 700; font-size: 16px; }
.hc-side-head a:hover { text-decoration: none; }
.hc-side-head .fas { color: var(--text-soft); }
.hc-nav-sec { padding: 10px 0 6px; }
.hc-nav-title { padding: 0 20px 6px; font-size: 12px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .06em; }
.hc-nav a { display: block; padding: 6px 20px 6px 18px; margin: 0 8px 0 0; border-left: 2px solid transparent; color: var(--text); font-size: 14.5px; line-height: 1.45; border-radius: 0 6px 6px 0; }
.hc-nav a:hover { background: var(--bg-hover); text-decoration: none; }
.hc-nav a.on { border-left-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.hc-content { padding: 28px 48px 40px; min-width: 0; }
.hc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-soft); margin-bottom: 18px; }
.hc-crumbs a { color: var(--text-soft); }
.hc-crumbs a:hover { color: var(--accent); }
.hc-crumbs .fas { font-size: 9px; color: var(--line-strong); }
.hc-article, .hc-content > .hc-pager, .hc-content > .hc-contact { max-width: 780px; }
.hc-article h1, .hc-space-head h1 { font-size: 34px; margin: 0 0 10px; }
.hc-lead { font-size: 18px; color: var(--text-soft); margin: 0 0 28px; line-height: 1.6; }
.hc-article h2 { font-size: 23px; margin: 40px 0 12px; padding-top: 4px; }
.hc-article h3 { font-size: 18px; margin: 28px 0 8px; }
.hc-article h4 { font-size: 16px; margin: 22px 0 6px; }
.hc-article p { margin: 0 0 16px; }
.hc-article ul, .hc-article ol { margin: 0 0 18px; padding-left: 24px; }
.hc-article li { margin-bottom: 6px; }
.hc-article li > ul, .hc-article li > ol { margin: 6px 0 4px; }
.hc-article strong { color: var(--head); font-weight: 600; }
.hc-article code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* numbered steps */
.hc-article ol.hc-steps { list-style: none; padding-left: 0; counter-reset: step; }
.hc-article ol.hc-steps > li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 18px; }
.hc-article ol.hc-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hc-article ol.hc-steps > li > ol.hc-steps > li { padding-left: 36px; }
.hc-article ol.hc-steps > li > ol.hc-steps > li::before { width: 24px; height: 24px; font-size: 12.5px; background: var(--bg-hover); color: var(--text); }

/* screenshots */
.hc-shot { margin: 14px 0 22px; }
.hc-shot a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: var(--bg-soft); }
.hc-shot img { display: block; width: 100%; height: auto; }
.hc-shot figcaption { font-size: 13.5px; color: var(--text-soft); margin-top: 8px; text-align: center; }
.hc-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 20, .82); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.hc-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }

/* note boxes */
.hc-callout { border: 1px solid; border-left-width: 4px; border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; }
.hc-callout > p:last-child, .hc-callout > ul:last-child, .hc-callout > ol:last-child { margin-bottom: 0; }
.hc-callout p { margin-bottom: 8px; }
.hc-callout-title { font-weight: 700; color: var(--head); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.hc-callout-title .fas { color: var(--text-soft); font-size: 14px; }
.hc-callout-note { background: var(--note); border-color: var(--note-line); }
.hc-callout-tip { background: var(--tip); border-color: var(--tip-line); }
.hc-callout-warning { background: var(--warn); border-color: var(--warn-line); }
.hc-callout-india { background: var(--local); border-color: var(--local-line); }

/* tables */
.hc-table { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 10px; }
.hc-table table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.hc-table th { background: var(--bg-soft); color: var(--head); font-weight: 600; text-align: left; }
.hc-table th, .hc-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hc-table tr:last-child td { border-bottom: 0; }
.hc-code { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; font-size: 13px; line-height: 1.55; overflow-x: auto; white-space: pre; }
.hc-code code { background: none; color: inherit; padding: 0; font-size: inherit; }

/* previous / next */
.hc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hc-pager a { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--head); font-weight: 600; font-size: 15px; }
.hc-pager a:hover { border-color: var(--accent); text-decoration: none; }
.hc-pager small { display: block; color: var(--text-soft); font-weight: 500; font-size: 12.5px; }
.hc-pager span { display: flex; align-items: center; gap: 8px; }
.hc-pager .fas { color: var(--accent); font-size: 13px; }
.hc-pager .next { grid-column: 2; text-align: right; }
.hc-pager .next span { justify-content: flex-end; }

/* space start page */
.hc-space-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 10px; max-width: 900px; }
.hc-space-head .hc-card-ic { flex-basis: 52px; height: 52px; font-size: 22px; margin-top: 4px; }
.hc-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 980px; }
.hc-sec-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.hc-sec-card h2 { font-size: 17px; margin: 0 0 8px; }
.hc-sec-card ul { list-style: none; margin: 0; padding: 0; }
.hc-sec-card li a { display: block; padding: 5px 0; font-size: 15px; }

/* on this page */
.hc-toc { position: sticky; top: var(--top-h); align-self: start; padding: 32px 20px 20px 4px; max-height: calc(100vh - var(--top-h)); overflow-y: auto; }
.hc-toc-title { font-size: 12px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.hc-toc a { display: block; font-size: 13.5px; color: var(--text-soft); padding: 4px 0 4px 12px; border-left: 2px solid var(--line); line-height: 1.45; }
.hc-toc a:hover { color: var(--head); text-decoration: none; }
.hc-toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

.hc-main.hc-narrow { max-width: 720px; margin: 0 auto; padding: 80px 20px; }
.hc-empty h1 { font-size: 30px; margin: 0 0 10px; }

.hc-foot { border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 13.5px; color: var(--text-soft); }
.hc-foot-in { max-width: 1440px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hc-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.hc-foot a { color: var(--text-soft); }

/* ---- smaller screens ---- */
@media (max-width: 1199px) {
    .hc-layout { grid-template-columns: 260px minmax(0, 1fr); }
    .hc-toc { display: none; }
    .hc-content { padding: 26px 36px 40px; }
}
@media (max-width: 991px) {
    .hc-grid, .hc-popular { grid-template-columns: repeat(2, 1fr); }
    .hc-layout { display: block; }
    .hc-menu-btn, .hc-side-close { display: inline-block; }
    .hc-side { position: fixed; top: 0; left: 0; bottom: 0; height: auto; width: 300px; max-width: 86vw; z-index: 90; transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--shadow-lg); background: var(--bg); }
    .hc-side.open { transform: none; }
    .hc-side-shade { position: fixed; inset: 0; background: rgba(10, 14, 20, .4); z-index: 80; }
    .hc-top-links > a:not(.hc-top-cta) { display: none; }
    .hc-sections { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    :root { --top-h: 56px; }
    .hc-top-in { gap: 10px; padding: 0 12px; }
    .hc-brand em { display: none; }
    .hc-switch { display: none; }
    .hc-top-links { display: none; }
    .hc-search-top { max-width: none; }
    .hc-hero { padding: 40px 16px 36px; }
    .hc-hero h1 { font-size: 30px; }
    .hc-wrap { padding: 28px 16px 10px; }
    .hc-grid, .hc-popular { grid-template-columns: 1fr; }
    .hc-content { padding: 18px 16px 32px; }
    .hc-article h1, .hc-space-head h1 { font-size: 27px; }
    .hc-lead { font-size: 16.5px; }
    .hc-article h2 { font-size: 21px; }
    .hc-article ol.hc-steps > li { padding-left: 38px; }
    .hc-pager { grid-template-columns: 1fr; }
    .hc-pager .next { grid-column: 1; }
    .hc-contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) { .hc-home .hc-top-links { display: flex; } .hc-home .hc-top-links > a:not(.hc-top-cta) { display: none; } }
@media print {
    .hc-top, .hc-side, .hc-toc, .hc-pager, .hc-contact, .hc-foot { display: none !important; }
    .hc-layout { display: block; }
}
