/* ==========================================================================
   infinityONE - Help Center UI (v1)
   --------------------------------------------------------------------------
   Standalone static help center. No backend, no Telerik controls, no business
   logic. Loaded only by helpcenter.html.
   ========================================================================== */

:root {
    --hc-primary: #2563eb;
    --hc-primary-dark: #1d4ed8;
    --hc-navy: #0f172a;
    --hc-slate: #475569;
    --hc-muted: #64748b;
    --hc-border: #e2e8f0;
    --hc-bg: #f5f7fb;
    --hc-surface: #ffffff;
    --hc-radius: 14px;
    --hc-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --hc-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.20);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body.hc-body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body.hc-body {
    background: var(--hc-bg);
    color: var(--hc-navy);
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Override the shared 25px action-button rule for this standalone page. */
html body.hc-body button {
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    cursor: pointer;
}

a {
    color: var(--hc-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.hc-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;
}

/* --------------------------------------------------------------------------
   1. Top bar
   -------------------------------------------------------------------------- */
.hc-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 10px clamp(16px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--hc-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--hc-navy);
}

.hc-brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.04em;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.24);
}

.hc-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hc-brand-text strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

.hc-brand-text small {
    color: var(--hc-muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hc-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hc-draft-note {
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. Hero and search
   -------------------------------------------------------------------------- */
.hc-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
}

.hc-hero::before,
.hc-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hc-hero::before {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.28), rgba(96, 165, 250, 0) 70%);
}

.hc-hero::after {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.24), rgba(59, 130, 246, 0) 70%);
}

.hc-hero-inner {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 54px 20px 48px;
    text-align: center;
}

.hc-eyebrow {
    margin: 0 0 8px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hc-hero h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.hc-lede {
    max-width: 620px;
    margin: 12px auto 24px;
    color: #dbeafe;
    font-size: 15px;
}

.hc-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 5px 6px 5px 46px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hc-search-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    fill: #64748b;
    pointer-events: none;
}

.hc-search input[type="search"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hc-navy);
    font-family: inherit;
    font-size: 15px;
}

.hc-search input[type="search"]::placeholder {
    color: #94a3b8;
}

.hc-search-clear {
    flex: 0 0 auto;
    padding: 8px 12px !important;
    border-radius: 9px !important;
    background: #eef2ff !important;
    color: #4338ca !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.hc-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.hc-popular-label {
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 600;
}

.hc-chip {
    padding: 7px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: background 0.18s ease, transform 0.18s ease;
}

.hc-chip:hover {
    background: rgba(255, 255, 255, 0.20) !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.hc-layout {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 24px;
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 48px) 48px;
}

.hc-sidebar {
    align-self: start;
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hc-sidebar-card {
    padding: 18px;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    background: var(--hc-surface);
    box-shadow: var(--hc-shadow);
}

.hc-sidebar-title {
    margin: 0 0 12px;
    color: var(--hc-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.hc-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hc-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    color: var(--hc-slate) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
}

.hc-category:hover {
    background: #f1f5f9 !important;
    color: var(--hc-navy) !important;
}

.hc-category.is-active {
    background: #eff6ff !important;
    color: var(--hc-primary-dark) !important;
}

.hc-category-count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.hc-category.is-active .hc-category-count {
    background: #bfdbfe;
    color: #1e40af;
}

.hc-main {
    min-width: 0;
}

.hc-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.hc-results-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.hc-results-count {
    margin: 4px 0 0;
    color: var(--hc-muted);
    font-size: 13px;
}

.hc-text-button {
    padding: 6px 10px !important;
    border-radius: 8px !important;
    color: var(--hc-primary) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.hc-text-button:hover {
    background: #eff6ff !important;
}

/* --------------------------------------------------------------------------
   4. Topic cards
   -------------------------------------------------------------------------- */
.hc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.hc-card {
    display: flex;
    flex-direction: column;
    min-height: 196px;
    padding: 18px;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    background: var(--hc-surface);
    box-shadow: var(--hc-shadow);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hc-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.hc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.hc-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hc-badge[data-cat="getting-started"] {
    background: #ecfeff;
    color: #0e7490;
}

.hc-badge[data-cat="jobs-scheduling"] {
    background: #eff6ff;
    color: #1d4ed8;
}

.hc-badge[data-cat="time-claims"] {
    background: #f0fdf4;
    color: #15803d;
}

.hc-badge[data-cat="leave"] {
    background: #fef3c7;
    color: #92400e;
}

.hc-badge[data-cat="clients-workflow"] {
    background: #fff7ed;
    color: #c2410c;
}

.hc-badge[data-cat="reports-admin"] {
    background: #f5f3ff;
    color: #6d28d9;
}

.hc-card-arrow {
    color: #94a3b8;
    font-size: 16px;
}

.hc-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hc-card p {
    margin: 0 0 14px;
    color: var(--hc-slate);
    font-size: 13px;
}

.hc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}

.hc-tag {
    padding: 3px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
}

.hc-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--hc-primary);
    font-size: 12px;
    font-weight: 700;
}

.hc-empty {
    padding: 56px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: var(--hc-radius);
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.hc-empty-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--hc-slate);
    font-size: 22px;
    font-weight: 700;
}

.hc-empty h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.hc-empty p {
    margin: 0 0 18px;
    color: var(--hc-muted);
}

.hc-primary-button {
    padding: 10px 16px !important;
    border-radius: 10px !important;
    background: var(--hc-primary) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.hc-primary-button:hover {
    background: var(--hc-primary-dark) !important;
}

/* --------------------------------------------------------------------------
   5. Article panel
   -------------------------------------------------------------------------- */
.hc-article {
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    background: var(--hc-surface);
    box-shadow: var(--hc-shadow);
    outline: none;
}

.hc-article-head {
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--hc-border);
    border-radius: var(--hc-radius) var(--hc-radius) 0 0;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.hc-article-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hc-nav-link {
    display: inline-flex;
    align-items: center;
    color: var(--hc-primary);
    font-size: 13px;
    font-weight: 700;
}

.hc-nav-link:hover {
    text-decoration: underline;
}

.hc-previous-link {
    margin-bottom: 18px;
    padding: 8px 11px;
    border-radius: 8px;
    background: #eff6ff;
}

.hc-article-head-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.hc-icon-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    color: var(--hc-slate) !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

.hc-icon-button:hover {
    background: #ffffff !important;
    color: var(--hc-navy) !important;
}

.hc-article-head h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hc-article-summary {
    margin: 10px 0 0;
    color: var(--hc-slate);
    font-size: 14px;
}

.hc-article-body {
    padding: 24px 28px 36px;
}

.hc-article-note {
    margin: 0 0 22px;
    padding: 11px 13px;
    border-left: 3px solid #93c5fd;
    border-radius: 0 8px 8px 0;
    background: #eff6ff;
    color: #1e40af;
    font-size: 12px;
}

.hc-article h3 {
    margin: 24px 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hc-muted);
}

.hc-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hc-step;
}

.hc-steps li {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 0 42px;
    color: var(--hc-slate);
    font-size: 14px;
}

.hc-steps li::before {
    counter-increment: hc-step;
    content: counter(hc-step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--hc-primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.hc-screenshot-marker {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    padding: 9px 13px;
    border: 1px dashed #cbd5e1;
    border-radius: 9px;
    background: #f8fafc;
    color: var(--hc-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hc-screenshot-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 22px;
}

.hc-screenshot-gallery figure {
    margin: 0;
}

.hc-screenshot-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--hc-border);
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.hc-screenshot-gallery figcaption {
    margin-top: 7px;
    color: var(--hc-muted);
    font-size: 11px;
    font-weight: 600;
}

.hc-related {
    margin-top: 28px;
    padding-top: 6px;
    border-top: 1px solid var(--hc-border);
}

.hc-related-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hc-related-item {
    padding: 10px 12px !important;
    border: 1px solid var(--hc-border);
    border-radius: 9px !important;
    background: #f8fafc !important;
    color: var(--hc-slate) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: left;
}

.hc-related-item:hover {
    border-color: #bfdbfe;
    background: #eff6ff !important;
    color: var(--hc-primary-dark) !important;
}

/* --------------------------------------------------------------------------
   6. Footer / noscript
   -------------------------------------------------------------------------- */
.hc-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 20px clamp(16px, 4vw, 48px);
    border-top: 1px solid var(--hc-border);
    color: var(--hc-muted);
    font-size: 11px;
    background: #ffffff;
}

.hc-noscript {
    margin: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
   7. Responsive behaviour
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hc-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 18px;
    }

    .hc-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }

    .hc-draft-note {
        display: none;
    }
}

@media (max-width: 768px) {
    .hc-topbar {
        min-height: 58px;
    }

    .hc-hero-inner {
        padding: 38px 16px 34px;
    }

    .hc-lede {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .hc-layout {
        display: block;
        padding: 22px 16px 36px;
    }

    .hc-sidebar {
        position: static;
        margin-bottom: 22px;
    }

    .hc-sidebar-card {
        padding: 14px;
    }

    .hc-sidebar-title {
        margin-bottom: 8px;
    }

    .hc-categories {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hc-category {
        width: auto;
        padding: 7px 10px !important;
        border: 1px solid var(--hc-border) !important;
    }

    .hc-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .hc-article-head,
    .hc-article-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .hc-brand-text small {
        display: none;
    }

    .hc-hero h1 {
        font-size: 30px;
    }

    .hc-search {
        padding-left: 42px;
    }

    .hc-search input[type="search"] {
        height: 42px;
        font-size: 16px;
    }

    .hc-popular-label {
        width: 100%;
        text-align: left;
    }

    .hc-popular {
        justify-content: flex-start;
    }

    .hc-results-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .hc-grid {
        grid-template-columns: 1fr;
    }

    .hc-card {
        min-height: 0;
    }

    .hc-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-card,
    .hc-chip,
    .hc-category {
        transition-duration: 0.01ms !important;
    }
}
