/*
Theme Name: SpectralDot
Theme URI:
Author: SpectralDot
Description: A custom SpectralDot theme for WooCommerce hold management, documentation, support, and customer portal experiences.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 7.0
Text Domain: spectraldot-redesign
*/

:root {
    --sd-header-height: 76px;
    --sd-navy-950: #08152F;
    --sd-navy-800: #102A4F;
    --sd-blue: #1677FF;
    --sd-cyan: #08CFE8;
    --sd-teal: #11D4B1;
    --sd-violet: #7557F6;
    --sd-lime: #A5F52A;
    --sd-bg: #F8FAFC;
    --sd-surface: #FFFFFF;
    --sd-surface-soft: #F1F5F9;
    --sd-text: #08152F;
    --sd-text-secondary: #66758A;
    --sd-text-readable: #5D6C80;
    --sd-text-muted: #94A0B2;
    --sd-border: #DDE5EF;
    --sd-link: #125FCE;
    --sd-gradient-primary: linear-gradient(120deg, #08CFE8 0%, #1677FF 38%, #7557F6 100%);
    --sd-gradient-green: linear-gradient(120deg, #A5F52A 0%, #11D4B1 48%, #08CFE8 100%);
    --sd-gradient-logo: linear-gradient(100deg, #19DDF0 0%, #0C76FF 20%, #2E2BFF 38%, #C90AFF 55%, #FF16C8 70%, #FF6E56 84%, #FFF219 100%);
    --sd-shadow: 0 1px 2px rgba(8, 21, 47, 0.03), 0 12px 32px rgba(8, 21, 47, 0.06);
    --hptr-primary: var(--sd-link);
    --hptr-warning: var(--sd-navy-950);
    --hptr-surface: var(--sd-surface);
    --hptr-background: var(--sd-bg);
    --hptr-text: var(--sd-text);
    --hptr-muted: var(--sd-text-readable);
    --hptr-border: var(--sd-border);
}

body.hptr-shell-page {
    margin: 0;
    background: var(--hptr-background);
    color: var(--hptr-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hptr-shell-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 80px;
    background: rgba(248, 250, 252, 0.88);
    border-bottom: 1px solid var(--hptr-border);
    box-shadow: 0 1px 8px rgba(8, 21, 47, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hptr-shell-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.hptr-shell-header__inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    position: relative;
}

.hptr-shell-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.hptr-shell-brand img {
    display: block;
    width: auto;
    max-width: 170px;
    height: 40px;
    object-fit: contain;
}

.hptr-shell-brand img.custom-logo,
.hptr-shell-brand img.attachment-full,
.hptr-shell-brand img.size-full {
    width: auto !important;
    max-width: 170px !important;
    height: 40px !important;
    object-fit: contain !important;
}

.hptr-export-logo {
    width: auto !important;
    max-width: 170px !important;
    height: 40px !important;
    object-fit: contain !important;
}

.hptr-final-cta-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    transform: none !important;
    box-shadow: 0 14px 28px rgba(8, 21, 47, 0.16) !important;
    transition: box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease !important;
}

.hptr-final-cta-button::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 180ms ease;
}

.hptr-final-cta-button:hover {
    filter: brightness(1.04);
    box-shadow: 0 14px 28px rgba(8, 21, 47, 0.28) !important;
}

.hptr-final-cta-button:hover::after {
    opacity: 1;
}

.hptr-final-cta-button:active {
    filter: brightness(0.98);
}

.hptr-blob-cta-button {
    overflow: visible;
    border: 2px solid transparent !important;
    border-radius: 999px !important;
    background: linear-gradient(#fff, #fff) padding-box, var(--sd-gradient-logo) border-box !important;
    box-shadow: 0 12px 26px rgba(8, 21, 47, 0.18) !important;
    transition: color 450ms ease, box-shadow 300ms ease !important;
    cursor: pointer;
}

.hptr-blob-cta-button::after {
    content: none;
}

.hptr-final-cta-button__label {
    z-index: 3;
    position: relative;
    color: inherit;
}

.hptr-final-cta-button__inner {
    position: absolute;
    z-index: 1;
    inset: -1px;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.hptr-final-cta-button__blobs {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    filter: url("#hptr-final-cta-goo");
}

.hptr-header-blob-cta {
    background: linear-gradient(#fff, #fff) padding-box, var(--sd-gradient-logo) border-box !important;
    color: var(--sd-navy-950) !important;
}

.hptr-header-blob-cta .hptr-final-cta-button__blobs {
    filter: url("#hptr-header-cta-goo");
}

.hptr-final-cta-button__blob {
    position: absolute;
    top: 2px;
    width: 30%;
    height: 110%;
    border-radius: 50%;
    background: var(--sd-teal);
    transform: translate3d(0, 145%, 0) scale(1.35);
    transition: transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1);
    will-change: transform;
}

.hptr-final-cta-button__blob:nth-child(1) { left: -5%; background: linear-gradient(135deg, #19DDF0, #0C76FF); }
.hptr-final-cta-button__blob:nth-child(2) { left: 28%; background: linear-gradient(135deg, #0C76FF, #5923FF); transition-delay: 70ms; }
.hptr-final-cta-button__blob:nth-child(3) { left: 61%; background: linear-gradient(135deg, #5923FF, #FF16C8); transition-delay: 140ms; }
.hptr-final-cta-button__blob:nth-child(4) { left: 94%; background: linear-gradient(135deg, #FF16C8, #FF6E56 58%, #FFF219); transition-delay: 210ms; }

.hptr-blob-cta-button:is(:hover, :focus-visible) .hptr-final-cta-button__blob {
    transform: translate3d(0, 0, 0) scale(1.55);
}

.hptr-blob-cta-button:is(:hover, :focus-visible) {
    box-shadow: 0 14px 30px rgba(89, 35, 255, 0.3), 0 8px 22px rgba(255, 22, 200, 0.18) !important;
}

.hptr-blob-cta-button:is(:hover, :focus-visible) .hptr-final-cta-button__label {
    color: #fff;
    text-shadow: 0 1px 2px rgba(8, 21, 47, 0.42);
}

.hptr-blob-cta-button:active {
    box-shadow: 0 8px 18px rgba(89, 35, 255, 0.24) !important;
}

.hptr-final-cta-button__filter {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hptr-shell-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.hptr-shell-nav a {
    color: var(--hptr-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    transition: color 160ms ease;
}

.hptr-shell-nav a:hover,
.hptr-shell-nav a[aria-current="page"] {
    color: var(--hptr-primary);
}

.hptr-shell-nav a[aria-current="page"] {
    padding-bottom: 4px;
    border-bottom: 2px solid var(--hptr-primary);
    font-weight: 700;
}

.hptr-shell-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--hptr-warning);
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(8, 21, 47, 0.2);
}

.hptr-shell-cta.hptr-header-blob-cta {
    flex-shrink: 0;
    height: 44px;
    min-height: 0;
    padding: 10px 24px;
    color: var(--sd-navy-950) !important;
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.14px;
}

.hptr-shell-nav a:not(.hptr-shell-cta) {
    position: relative;
}

@media (min-width: 781px) {
    .hptr-shell-nav {
        position: absolute;
        left: 50%;
        display: flex;
        width: auto;
        transform: translateX(-50%);
        align-items: center;
        gap: 32px;
        margin-left: 0;
    }

    .hptr-shell-cta {
        margin-left: auto;
    }
}

.hptr-export-cta {
    background-color: #08152F !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

.hptr-footer-product-section {
    text-align: center;
}

.hptr-footer-product-section ul {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

#hptr-docs-search-results {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 12px) !important;
    z-index: 99999 !important;
    overflow: hidden !important;
    text-align: left !important;
    background: #fff !important;
    border: 1px solid var(--hptr-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 24px 50px rgba(8, 21, 47, 0.18) !important;
}

#hptr-docs-search-results.hidden {
    display: none !important;
}

.sidebar-link {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.75rem !important;
    text-align: left !important;
    line-height: 1.25rem !important;
    transition: color 0.18s ease, background-color 0.18s ease;
}

button.sidebar-link {
    border: 0 !important;
    background: transparent;
    cursor: pointer;
}

.sidebar-link .material-symbols-outlined {
    width: 1.5rem;
    min-width: 1.5rem;
    text-align: center;
}

.hptr-profile-dropdown,
.hptr-notification-dropdown {
    color: var(--hptr-text);
}

.hptr-profile-modal input,
.hptr-profile-modal textarea {
    color: var(--hptr-text);
    background: #fff;
}

.hptr-betterdocs-search-shell {
    position: relative;
    z-index: 30;
    max-width: 42rem;
    margin: 0 auto;
}

.hptr-docs-hero {
    z-index: 50;
    overflow: visible !important;
}

.hptr-docs-hero .hptr-export-header-frame {
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
}

.hptr-docs-hero:has(.betterdocs-search-result-wrap) {
    padding-bottom: 5rem !important;
}

.hptr-betterdocs-search-shell:has(.betterdocs-search-result-wrap) {
    margin-bottom: 2rem;
}

.hptr-betterdocs-search-shell .betterdocs-live-search,
.hptr-betterdocs-search-shell .betterdocs-searchform {
    position: relative;
    margin: 0;
}

.hptr-betterdocs-search-shell .betterdocs-searchform {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hptr-betterdocs-search-shell .betterdocs-searchform-input-wrap {
    position: relative;
    display: block;
    /* The input owns the field styling, including below BetterDocs' mobile breakpoint. */
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.hptr-betterdocs-search-shell .betterdocs-searchform-input-wrap .docs-search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 2;
    width: 24px;
    height: 24px;
    fill: var(--hptr-primary);
    transform: translateY(-50%);
}

.hptr-betterdocs-search-shell .betterdocs-search-field {
    width: 100% !important;
    min-height: 74px;
    padding: 20px 64px 20px 68px !important;
    color: var(--hptr-text) !important;
    font: inherit !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    background: #fff !important;
    border: 1px solid var(--hptr-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 35px rgba(8, 21, 47, 0.12) !important;
    outline: 2px solid transparent !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
}

.hptr-betterdocs-search-shell .betterdocs-search-field:focus {
    border-color: var(--hptr-primary) !important;
    box-shadow: 0 18px 35px rgba(8, 21, 47, 0.12), 0 0 0 4px rgba(0, 82, 255, 0.1) !important;
}

.hptr-betterdocs-search-shell .docs-search-loader,
.hptr-betterdocs-search-shell .docs-search-close {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 3;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
}

.hptr-betterdocs-search-shell .docs-search-close {
    cursor: pointer;
}

.hptr-betterdocs-search-shell .betterdocs-search-result-wrap {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 99999 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    background: #fff !important;
    border: 1px solid var(--hptr-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 24px 50px rgba(8, 21, 47, 0.18) !important;
    overflow: hidden !important;
}

.hptr-betterdocs-search-shell.hptr-docs-search-empty .betterdocs-search-result-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.hptr-betterdocs-search-shell .betterdocs-search-result-wrap::before {
    display: none !important;
}

.hptr-betterdocs-search-shell .betterdocs-search-result-wrap img,
.hptr-betterdocs-search-shell .betterdocs-search-result-wrap figure,
.hptr-betterdocs-search-shell .betterdocs-search-result-wrap picture,
.hptr-betterdocs-search-shell .betterdocs-search-result-wrap .betterdocs-search-result-thumb,
.hptr-betterdocs-search-shell .betterdocs-search-result-wrap .betterdocs-search-result-thumbnail,
.hptr-betterdocs-search-shell .betterdocs-search-result-wrap .betterdocs-search-result-featured-image,
.hptr-betterdocs-search-shell .betterdocs-search-result-wrap .betterdocs-entry-thumbnail {
    display: none !important;
}

.hptr-betterdocs-search-shell .docs-search-result {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 360px;
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
    overflow-y: auto;
}

.hptr-betterdocs-search-shell .docs-search-result li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hptr-betterdocs-search-shell .docs-search-result li a,
.hptr-betterdocs-search-shell .docs-search-result li:not(:has(a)) {
    display: block;
    width: 100% !important;
    padding: 14px 16px;
    color: var(--hptr-text) !important;
    text-decoration: none !important;
    border-radius: 10px;
}

.hptr-betterdocs-search-shell .docs-search-result li a:hover {
    background: #f4f6ff;
}

.hptr-betterdocs-search-shell .betterdocs-search-title {
    font-weight: 800;
}

.hptr-betterdocs-search-shell .betterdocs-search-category {
    color: var(--hptr-muted);
    font-size: 13px;
}

@media (min-width: 768px) {
    footer .grid {
        align-items: start;
        grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.7fr) minmax(260px, 1fr) !important;
        column-gap: clamp(48px, 8vw, 120px) !important;
    }

    .hptr-site-footer > .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 24px !important;
    }

    .hptr-footer-product-section {
        justify-self: center;
    }

    .hptr-footer-product-section + div,
    .hptr-footer-product-section + div + div {
        justify-self: end;
        width: min(100%, 320px);
    }

    footer .grid > .col-span-full,
    footer .grid > [class*="md:col-span-4"] {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        width: 100% !important;
    }
}

@media (min-width: 1024px) {
    .hptr-site-footer > .grid {
        grid-template-columns: 190px repeat(3, minmax(0, 1fr)) !important;
    }
}

body > nav.sticky,
body > header.sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    min-height: 80px !important;
    height: 80px !important;
    overflow: visible !important;
    background: #F8FAFC !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 1px 0 rgba(221, 229, 239, 0.9), 0 12px 28px rgba(8, 21, 47, 0.08) !important;
}

body > nav.sticky.h-16,
body > header.sticky.h-16 {
    height: 80px !important;
    min-height: 80px !important;
}

body > nav.sticky > *,
body > header.sticky > * {
    min-height: 80px !important;
}

.hptr-export-header-frame {
    min-height: 80px !important;
    height: 80px !important;
    overflow: visible !important;
    background: #F8FAFC !important;
}

/* Keep site navigation below WordPress's toolbar, without adding logged-out space. */
body { --sd-adminbar-offset: 0px; }
body.admin-bar { --sd-adminbar-offset: 32px; }
body > header.hptr-shell-header,
body > header.glass-header,
body > header.sticky,
body > nav.sticky {
    top: var(--sd-adminbar-offset, 0px) !important;
}
@media (max-width: 782px) {
    body.admin-bar { --sd-adminbar-offset: 46px; }
}

@media (min-width: 768px) {
    .hptr-export-header-frame {
        position: relative !important;
    }

    .hptr-export-main-menu {
        position: absolute !important;
        left: 50% !important;
        width: auto !important;
        transform: translateX(-50%) !important;
        z-index: 2 !important;
    }
}

.hptr-shell-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hptr-border);
    border-radius: 8px;
    background: #fff;
    color: var(--hptr-text);
}

.hptr-shell-main {
    min-height: 55vh;
}

.hptr-shell-main--contained {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0;
}

.hptr-shell-content {
    max-width: 820px;
}

.hptr-shell-content h1 {
    margin: 0 0 22px;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hptr-shell-content a {
    color: var(--hptr-primary);
}

.sd-legal-content { max-width: 760px; margin-inline: auto; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.sd-legal-content h1 { font-size: 44px; letter-spacing: 0; margin-bottom: 32px; }
.sd-legal-content h2 { margin: 40px 0 14px; font-size: 24px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
.sd-legal-content h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.4; }
.sd-legal-content p { margin: 0 0 20px; }
.sd-legal-content ul, .sd-legal-content ol { margin: 0 0 24px; padding-left: 24px; }
.sd-legal-content ul { list-style: disc; }
.sd-legal-content ol { list-style: decimal; }
.sd-legal-content li { margin-bottom: 12px; padding-left: 4px; }
.sd-legal-content a { color: var(--sd-link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
    .sd-legal-content h1 { font-size: 34px; }
    .sd-legal-content h2 { font-size: 22px; margin-top: 32px; }
}

.hptr-shell-footer {
    background: #fff;
    border-top: 1px solid var(--hptr-border);
    padding: 40px 0;
    color: #66758A;
}

.hptr-footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--sd-border);
}
.hptr-footer-newsletter h4 { margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 700; }
.hptr-footer-newsletter p { margin: 0; color: var(--sd-text-readable); font-size: 14px; line-height: 22px; }
.hptr-footer-newsletter__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 8px 12px;
    width: 420px;
    max-width: 100%;
    flex-shrink: 0;
}
.hptr-footer-newsletter__form label { grid-column: 1 / -1; font-size: 14px; font-weight: 600; }
.hptr-footer-newsletter__form input { min-width: 0; width: 100%; height: 44px; padding: 10px 12px; border: 1px solid var(--sd-border); border-radius: 8px; background: #fff; color: var(--sd-text); font: inherit; font-size: 14px; }
.hptr-footer-newsletter__form button { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 8px; background: var(--sd-navy-950); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hptr-footer-newsletter__form button:hover { background: var(--sd-link); }
.hptr-footer-newsletter__form button:disabled { opacity: 0.65; cursor: wait; }
.hptr-footer-newsletter__form .hptr-animated-submit {
    position: relative;
    justify-self: center;
    width: 130px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--sd-link);
    border-radius: 44px;
    background: #fff;
    color: var(--sd-link);
    transition: width 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
.hptr-animated-submit .hptr-submit-label { white-space: nowrap; pointer-events: none; transition: opacity 150ms ease; }
.hptr-animated-submit[data-submit-state="idle"] .hptr-submit-label { transition-delay: 150ms; }
.hptr-footer-newsletter__form .hptr-animated-submit:hover { background: var(--sd-link); color: #fff; }
.hptr-footer-newsletter__form .hptr-animated-submit:disabled { opacity: 1; }
.hptr-animated-submit .hptr-submit-check { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; opacity: 0; pointer-events: none; transition: opacity 150ms ease; }
.hptr-footer-newsletter__form .hptr-animated-submit[data-submit-state="loading"] { width: 44px; border-color: transparent; background: #fff; }
.hptr-animated-submit[data-submit-state="loading"]::before { content: ""; position: absolute; inset: -2px; border: 3px solid var(--sd-border); border-left-color: var(--sd-link); border-radius: 50%; animation: hptr-submit-spin 1s linear infinite; }
.hptr-animated-submit[data-submit-state="loading"] .hptr-submit-label,
.hptr-animated-submit[data-submit-state="success"] .hptr-submit-label { opacity: 0; }
.hptr-footer-newsletter__form .hptr-animated-submit[data-submit-state="success"] { background: var(--sd-link); color: #fff; cursor: default; }
.hptr-animated-submit[data-submit-state="success"] .hptr-submit-check { opacity: 1; transition-duration: 200ms; }
@keyframes hptr-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .hptr-footer-newsletter__form .hptr-animated-submit,
    .hptr-animated-submit .hptr-submit-label,
    .hptr-animated-submit .hptr-submit-check { transition: none; transition-delay: 0ms; }
    .hptr-animated-submit[data-submit-state="loading"]::before { animation: none; }
}
.hptr-footer-newsletter__form .hptr-newsletter-message { grid-column: 1 / -1; min-height: 22px; }
@media (max-width: 780px) {
    .hptr-footer-newsletter { flex-direction: column; align-items: stretch; gap: 20px; }
    .hptr-footer-newsletter__form { width: 100%; }
}

.hptr-shell-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
}

.hptr-shell-footer__links {
    display: flex;
    gap: 20px;
}

.hptr-shell-footer__links a {
    color: var(--hptr-muted);
    text-decoration: none;
}

.hptr-shell-footer__links a:hover {
    color: var(--hptr-primary);
}

.hptr-docs-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 40px;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 80px;
}

.hptr-docs-sidebar {
    position: sticky;
    top: calc(104px + var(--sd-adminbar-offset, 0px));
    align-self: start;
    max-height: calc(100vh - 128px - var(--sd-adminbar-offset, 0px));
    overflow: auto;
    padding-right: 8px;
}

.hptr-docs-sidebar__section {
    margin-bottom: 28px;
}

.hptr-docs-sidebar__title {
    margin: 0 0 14px;
    color: #66758A;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hptr-docs-sidebar__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hptr-docs-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    color: var(--hptr-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    transition: background 160ms ease, color 160ms ease;
}

.hptr-docs-sidebar__link:hover {
    background: #DDE5EF;
    color: var(--hptr-primary);
}

.hptr-docs-sidebar__link.is-active {
    background: #dce1ff;
    color: #08152F;
}

.hptr-docs-sidebar__item {
    min-width: 0;
}

.hptr-docs-sidebar__details {
    min-width: 0;
}

.hptr-docs-sidebar__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    color: var(--hptr-muted);
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    list-style: none;
    transition: background 160ms ease, color 160ms ease;
}

.hptr-docs-sidebar__summary::-webkit-details-marker {
    display: none;
}

.hptr-docs-sidebar__summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.62;
    transform: rotate(-45deg);
    transition: transform 160ms ease;
}

.hptr-docs-sidebar__details[open] > .hptr-docs-sidebar__summary::after {
    transform: rotate(45deg);
}

.hptr-docs-sidebar__summary:hover {
    background: #DDE5EF;
    color: var(--hptr-primary);
}

.hptr-docs-sidebar__summary.is-active {
    background: #dce1ff;
    color: #08152F;
}

.hptr-docs-sidebar__summary-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.hptr-docs-sidebar__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f0f3ff;
    color: var(--hptr-primary);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.hptr-docs-sidebar__icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 20px;
    line-height: 1;
    overflow: hidden;
    text-indent: 0;
}

.hptr-docs-sidebar__child-list {
    display: grid;
    gap: 2px;
    margin: 2px 0 8px 28px;
    padding: 0;
    list-style: none;
}

.hptr-docs-sidebar__child-link {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: #66758A;
    text-decoration: none;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}

.hptr-docs-sidebar__child-link:hover,
.hptr-docs-sidebar__child-link.is-active {
    background: #ebf1ff;
    color: var(--hptr-primary);
}

.hptr-docs-sidebar__support {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 14px;
    background: #08152F;
    color: #fff;
}

.hptr-docs-sidebar__support p {
    margin: 0 0 8px;
    opacity: 0.9;
    font-size: 12px;
    font-weight: 600;
}

.hptr-docs-sidebar__support strong {
    display: block;
    margin-bottom: 14px;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 20px;
    line-height: 26px;
}

.hptr-docs-sidebar__support a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    color: var(--hptr-primary);
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

.hptr-docs-article {
    min-width: 0;
    padding: 42px;
    border: 1px solid var(--hptr-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(8, 21, 47, 0.06);
}

.hptr-docs-article__eyebrow {
    margin-bottom: 12px;
    color: var(--hptr-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hptr-docs-article h1 {
    margin: 0 0 18px;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.hptr-docs-article__meta {
    margin-bottom: 30px;
    color: #66758A;
    font-size: 14px;
}

.hptr-docs-article__content {
    color: #08152F;
    font-size: 17px;
    line-height: 1.75;
}

.hptr-docs-article__content > *:first-child {
    margin-top: 0;
}

.hptr-docs-article__content > *:last-child {
    margin-bottom: 0;
}

.hptr-docs-article__content p,
.hptr-docs-article__content ul,
.hptr-docs-article__content ol,
.hptr-docs-article__content blockquote,
.hptr-docs-article__content pre,
.hptr-docs-article__content table,
.hptr-docs-article__content figure,
.hptr-docs-article__content .wp-block-list {
    margin: 0 0 1.2em;
}

.hptr-docs-article__content h2,
.hptr-docs-article__content h3,
.hptr-docs-article__content h4,
.hptr-docs-article__content h5,
.hptr-docs-article__content h6 {
    margin: 1.65em 0 0.65em;
    color: var(--hptr-text);
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 800;
    line-height: 1.25;
}

.hptr-docs-article__content h2 {
    font-size: clamp(26px, 3vw, 34px);
}

.hptr-docs-article__content h3 {
    font-size: clamp(22px, 2.4vw, 28px);
}

.hptr-docs-article__content h4,
.hptr-docs-article__content h5,
.hptr-docs-article__content h6 {
    font-size: 20px;
}

.hptr-docs-article__content ul,
.hptr-docs-article__content .wp-block-list {
    padding-left: 1.45em;
    list-style: disc;
}

.hptr-docs-article__content ol {
    padding-left: 1.45em;
    list-style: decimal;
}

.hptr-docs-article__content li {
    margin: 0.45em 0;
    padding-left: 0.2em;
}

.hptr-docs-article__content li > ul,
.hptr-docs-article__content li > ol {
    margin: 0.45em 0 0.45em 0.2em;
}

.hptr-docs-article__content strong {
    color: var(--hptr-text);
    font-weight: 800;
}

.hptr-docs-article__content blockquote {
    padding: 16px 20px;
    border-left: 4px solid var(--hptr-primary);
    border-radius: 0 12px 12px 0;
    background: #f4f6ff;
    color: var(--hptr-muted);
}

.hptr-docs-article__content code {
    padding: 0.15em 0.35em;
    border-radius: 6px;
    background: #f4f5f7;
    color: #08152F;
    font-size: 0.92em;
}

.hptr-docs-article__content pre {
    overflow: auto;
    padding: 18px;
    border-radius: 14px;
    background: #08152F;
    color: #fff;
}

.hptr-docs-article__content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.hptr-docs-article__content img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: 14px;
}

.hptr-docs-article__content a {
    color: var(--hptr-primary);
}

.hptr-docs-article__back {
    display: inline-flex;
    margin-top: 34px;
    color: var(--hptr-primary);
    font-weight: 800;
    text-decoration: none;
}

body.single-docs .betterdocs-wrapper,
body.post-type-archive-docs .betterdocs-wrapper,
body.tax-doc_category .betterdocs-wrapper,
body.tax-doc_tag .betterdocs-wrapper {
    margin-top: 24px;
}

@media (max-width: 780px) {
    .hptr-shell-container,
    .hptr-shell-main--contained {
        width: min(100% - 32px, 1200px);
    }

    .hptr-shell-header__inner {
        gap: 12px;
    }

    .hptr-shell-menu-button {
        display: inline-block;
    }

    .hptr-shell-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--hptr-border);
        border-radius: 12px;
        box-shadow: 0 18px 40px rgba(8, 21, 47, 0.14);
    }

    .hptr-shell-nav.is-open {
        display: flex;
    }

    .hptr-shell-nav a {
        padding: 13px 12px;
    }

    .hptr-shell-cta {
        margin-top: 0;
    }

    .hptr-shell-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .hptr-docs-layout {
        grid-template-columns: 1fr;
        width: min(100% - 32px, 1200px);
        padding-top: 32px;
    }

    .hptr-docs-sidebar {
        position: relative;
        top: auto;
        max-height: none;
    }

    .hptr-docs-article {
        padding: 28px 22px;
    }
}
/* Security and verification feedback */
.hptr-form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.hptr-notice {
    margin-bottom: 1.25rem;
    padding: 0.875rem 1rem;
    border: 1px solid;
    border-radius: 0.75rem;
    font-weight: 600;
}

.hptr-notice--success {
    color: #166534;
    background: #f0fdf4;
    border-color: #86efac;
}

.hptr-notice--error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fca5a5;
}

/* SpectralDot branding shares the existing theme and utility structure. */
body { background-color: var(--sd-bg); color: var(--sd-text); }
.text-muted-text, .text-on-surface-variant { color: var(--sd-text-readable); }
.bg-primary .hptr-blob-cta-button {
    background: linear-gradient(#fff, #fff) padding-box, var(--sd-gradient-logo) border-box !important;
    color: var(--sd-navy-950) !important;
}
.bg-primary .hptr-blob-cta-button:hover,
.bg-primary .hptr-blob-cta-button:focus-visible {
    background: linear-gradient(#fff, #fff) padding-box, var(--sd-gradient-logo) border-box !important;
    color: var(--sd-navy-950) !important;
    filter: none;
}
.bg-primary .hptr-blob-cta-button:is(:hover, :focus-visible) * {
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    .hptr-final-cta-button__blob {
        transition-duration: 1ms;
        transition-delay: 0ms !important;
    }
}
h1 .text-primary { color: var(--sd-link); }
h1 { position: relative; }
h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 4px;
    border-radius: 2px;
    background: var(--sd-gradient-primary);
}
.text-center h1::after, h1.text-center::after { margin-inline: auto; }
.sd-brand-headline::after { content: none; }
.sd-no-title-underline::after { content: none; }
.sd-help-word {
    position: relative;
    display: inline-block;
}
.sd-help-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.08em;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--sd-gradient-primary);
}
.sd-brand-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}
.sd-brand-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--sd-gradient-primary);
}
.sd-ticket-dialog { width: min(420px, calc(100% - 32px)); height: min(360px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 32px 28px 24px; border: 1px solid #eef0f4; border-radius: 24px; background: #fff; color: #0b132b; text-align: center; box-shadow: 0 25px 60px -15px rgb(15 23 42 / 25%); overflow: auto; }
.sd-ticket-dialog::backdrop { background: rgb(15 23 42 / 45%); backdrop-filter: none; -webkit-backdrop-filter: none; animation: sd-dialog-fade 180ms ease-out; }
.sd-ticket-dialog[open] { animation: sd-dialog-enter 200ms cubic-bezier(0.16, 1, 0.3, 1); }
.sd-ticket-dialog [hidden] { display: none !important; }
.sd-ticket-dialog__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: transparent; color: #64748b; border-radius: 50%; cursor: pointer; }
.sd-ticket-dialog__close:disabled { visibility: hidden; }
.sd-ticket-dialog__badge { position: relative; width: 64px; height: 64px; margin: 8px auto 20px; display: grid; place-items: center; background: #ecfdf5; color: #059669; border-radius: 50%; box-shadow: 0 0 0 8px #ecfdf5b3; isolation: isolate; }
.sd-ticket-dialog__badge span { font-size: 32px; }
.sd-ticket-dialog__logo { display: none; width: 48px; height: 48px; object-fit: contain; }
.sd-ticket-dialog[data-state="loading"] .sd-ticket-dialog__logo { display: block; }
.sd-ticket-dialog__check { display: none; }
.sd-ticket-dialog[data-state="success"] .sd-ticket-dialog__badge span { display: none; }
.sd-ticket-dialog[data-state="success"] .sd-ticket-dialog__check { display: block; }
.sd-ticket-dialog[open][data-state="success"] .sd-ticket-dialog__check path { stroke-dasharray: 48; animation: sd-dialog-check 280ms cubic-bezier(0.16, 1, 0.3, 1); }
.sd-ticket-dialog[open]:not([data-state="loading"]) .sd-ticket-dialog__badge { animation: sd-dialog-badge 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.sd-ticket-dialog[data-state="error"] .sd-ticket-dialog__badge { background: #fff1f2; color: #e11d48; box-shadow: 0 0 0 8px #fff1f2b3; }
.sd-ticket-dialog[data-state="verification"] .sd-ticket-dialog__badge,
.sd-ticket-dialog[data-state="loading"] .sd-ticket-dialog__badge { background: #eff6ff; color: #2563eb; box-shadow: 0 0 0 8px #eff6ffb3; }
.sd-ticket-dialog[data-state="loading"] .sd-ticket-dialog__badge span { display: none; }
.sd-ticket-dialog[data-state="loading"] .sd-ticket-dialog__badge { background: transparent; }
.sd-ticket-dialog__badge::after { content: ""; position: absolute; inset: 0; border: 4px solid #f1f5f9; border-top-color: #2563eb; border-radius: 50%; opacity: 0; pointer-events: none; }
.sd-ticket-dialog[open][data-state="loading"] .sd-ticket-dialog__badge::after { opacity: 1; animation: sd-dialog-spin 750ms linear infinite; will-change: transform; backface-visibility: hidden; }
.sd-ticket-dialog h2 { font-size: 20px; line-height: 1.4; font-weight: 700; margin: 0 0 8px; }
.sd-ticket-dialog__status > p { color: #64748b; font-size: 14px; line-height: 1.7; margin: 0 0 20px; overflow-wrap: anywhere; }
.sd-ticket-dialog__progress { height: 8px; background: #f1f5f9; overflow: hidden; border-radius: 8px; margin: 24px 0 8px; contain: paint; isolation: isolate; }
.sd-ticket-dialog__progress > span { display: block; width: 100%; height: 100%; background: var(--sd-gradient-primary); border-radius: inherit; transform-origin: left center; }
.sd-ticket-dialog[open][data-state="loading"] .sd-ticket-dialog__progress > span { animation: sd-dialog-progress 1.25s cubic-bezier(0.4, 0, 0.2, 1) infinite; will-change: transform; backface-visibility: hidden; }
.sd-ticket-dialog:not([data-state="loading"]) .sd-ticket-dialog__progress { display: none; }
.sd-ticket-dialog__primary { width: 100%; padding: 14px 24px; border: 0; border-radius: 999px; background: #0f172a; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.sd-ticket-dialog__primary:hover { background: #1e293b; }
.sd-ticket-dialog__view { display: block; box-sizing: border-box; text-decoration: none; }
.sd-ticket-dialog__secondary { margin-top: 12px; border: 0; padding: 8px; color: #64748b; background: transparent; cursor: pointer; font-size: 12px; }
.sd-ticket-dialog__email { font-size: 12px; color: #64748b; margin: 16px 0 0; overflow-wrap: anywhere; }
.sd-ticket-dialog__portal { display: inline-block; margin-top: 16px; color: var(--sd-link); font-size: 12px; }
@keyframes sd-dialog-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sd-dialog-enter { from { opacity: 0; transform: scale(0.96) translate3d(0, 6px, 0); } to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); } }
@keyframes sd-dialog-badge { from { opacity: 0; transform: scale(0.75); } to { opacity: 1; transform: scale(1); } }
@keyframes sd-dialog-check { from { stroke-dashoffset: 48; opacity: 0; } 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes sd-dialog-spin { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(0, 0, 0) rotate(360deg); } }
@keyframes sd-dialog-progress { from { transform: translateX(-100%) scaleX(0.2) translateZ(0); } 50% { transform: translateX(15%) scaleX(0.65) translateZ(0); } to { transform: translateX(120%) scaleX(0.2) translateZ(0); } }
@media (prefers-reduced-motion: reduce) { .sd-ticket-dialog[open], .sd-ticket-dialog::backdrop, .sd-ticket-dialog[open] .sd-ticket-dialog__badge, .sd-ticket-dialog[open] .sd-ticket-dialog__check path, .sd-ticket-dialog[open][data-state="loading"] .sd-ticket-dialog__badge::after, .sd-ticket-dialog[open][data-state="loading"] .sd-ticket-dialog__progress > span { animation: none !important; will-change: auto; } .sd-ticket-dialog[data-state="loading"] .sd-ticket-dialog__progress > span { transform: scaleX(0.5); } }
.sd-ticket-followup { padding: 24px 0; border-top: 3px solid var(--sd-teal); }
.sd-ticket-followup > .material-symbols-outlined { font-size: 28px; }
.sd-ticket-followup h3 { margin: 12px 0; font-size: 20px; line-height: 1.4; }
.sd-ticket-followup p { color: var(--sd-text-readable); line-height: 1.6; }
.sd-ticket-followup a { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--sd-link); font-weight: 700; }
.sd-ticket-followup a:hover { text-decoration: underline; }
.sd-support-checklist { padding: 24px 0; border-top: 3px solid var(--sd-teal); }
.sd-support-checklist > .material-symbols-outlined { font-size: 32px; }
.sd-support-checklist h3 { margin: 12px 0; font-size: 24px; line-height: 1.3; }
.sd-support-checklist p, .sd-support-checklist li { color: var(--sd-text-readable); line-height: 1.6; }
.sd-support-checklist ul { margin: 20px 0 0; padding: 0; list-style: none; }
.sd-support-checklist li { padding: 14px 0; border-top: 1px solid var(--sd-border); }
.sd-support-checklist strong { color: var(--sd-text); }
#section-contact a { overflow-wrap: anywhere; }
.sd-menu-toggle { display: none; }

.sd-svg-burger {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--sd-navy-950);
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 8px;
    transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.sd-svg-burger:focus-visible {
    outline: 3px solid rgba(8, 207, 232, 0.35);
    outline-offset: 2px;
}

.sd-svg-burger__icon {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    pointer-events: none;
}

.sd-svg-burger__ring {
    position: absolute;
    inset: 0;
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--sd-teal);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 600ms linear, transform 600ms linear;
}

.sd-svg-burger__lines {
    position: absolute;
    top: 14px;
    left: 11px;
    width: 22px;
    height: 16px;
}

.sd-svg-burger__line {
    position: absolute;
    left: 0;
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms ease, width 300ms ease;
}

.sd-svg-burger__line--top { top: 0; }
.sd-svg-burger__line--middle { top: 6.75px; }
.sd-svg-burger__line--bottom { top: 13.5px; }

.sd-svg-burger[aria-expanded="true"] {
    color: #fff;
    background: var(--sd-navy-950);
    border-color: var(--sd-navy-950);
    box-shadow: 0 8px 20px rgba(8, 21, 47, 0.2);
}

.sd-svg-burger[aria-expanded="true"] .sd-svg-burger__ring {
    stroke-dashoffset: 0;
    transform: rotate(90deg);
}

.sd-svg-burger[aria-expanded="true"] .sd-svg-burger__line--top {
    transform: translateY(6.75px) rotate(45deg);
}

.sd-svg-burger[aria-expanded="true"] .sd-svg-burger__line--middle {
    width: 0;
    opacity: 0;
    transform: translateX(11px);
}

.sd-svg-burger[aria-expanded="true"] .sd-svg-burger__line--bottom {
    transform: translateY(-6.75px) rotate(-45deg);
}

@media (max-width: 767px) {
    .sd-menu-toggle {
        display: inline-flex; align-items: center; justify-content: center;
    }
    .hptr-export-main-menu.sd-menu-open {
        display: flex !important; position: absolute !important;
        top: var(--sd-header-height); left: 0; right: 0; width: 100%;
        min-height: 0 !important; height: auto !important;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 24px; background: var(--sd-surface);
        border-bottom: 1px solid var(--sd-border); box-shadow: var(--sd-shadow);
        max-height: calc(100dvh - var(--sd-header-height)); overflow-y: auto;
    }
    .hptr-export-main-menu a { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sd-svg-burger,
    .sd-svg-burger__ring,
    .sd-svg-burger__line {
        transition-duration: 1ms !important;
    }
}
body > nav.sticky, body > header.sticky,
body > nav.sticky.h-16, body > header.sticky.h-16,
body > nav.sticky > *, body > header.sticky > *,
.hptr-export-header-frame, .hptr-shell-header, .hptr-shell-header__inner {
    height: var(--sd-header-height) !important;
    min-height: var(--sd-header-height) !important;
}
.hptr-logo--inline, .hptr-shell-brand img,
.hptr-shell-brand img.attachment-full, .hptr-export-logo {
    display: block;
    width: 190px !important;
    height: 58px !important;
    max-width: min(190px, 38vw) !important;
    object-fit: contain !important;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
}
.hptr-logo--stacked {
    display: block;
    width: 190px !important;
    height: 82px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    flex-shrink: 0;
}
footer .hptr-logo--stacked { width: 190px !important; height: 82px !important; }
.hptr-shell-nav { top: auto; }
.hptr-export-cta:hover, .hptr-shell-cta:not(.hptr-blob-cta-button):hover,
button.bg-primary:hover, a.bg-primary:hover, button.bg-status-warning:hover {
    background: var(--sd-navy-800) !important;
}
a.text-primary, button.text-primary { color: var(--sd-link); }
input::placeholder, textarea::placeholder { color: var(--sd-text-readable) !important; opacity: 1; }
:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--sd-link);
    outline-offset: 3px;
}
.bg-primary :is(.text-muted-text, .text-on-primary\/80),
.bg-inverse-surface :is(.text-muted-text, .text-on-surface-variant) { color: #B9C4D3; }
.bg-status-success { color: white; }
.shadow-xl, .shadow-lg, .shadow-2xl { box-shadow: var(--sd-shadow); }
.hptr-final-cta-button, .hptr-shell-cta { box-shadow: var(--sd-shadow) !important; }
@media (max-width: 780px) {
    :root { --sd-header-height: 68px; }
    .hptr-shell-nav { top: var(--sd-header-height); }
    .hptr-logo--inline, .hptr-shell-brand img, .hptr-export-logo {
        width: 138px !important;
        height: 44px !important;
        max-width: 38vw !important;
    }
}
/* Support portal ticket overview */
.hptr-ticket-stats {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .hptr-ticket-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Prevent a returning visitor's consent banner from painting before Complianz initializes. */
.cmplz-cookiebanner:not(.cmplz-show) {
    display: none !important;
}

.sd-login-error {
    width: min(400px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    overflow: auto;
    border: 1px solid var(--sd-border);
    border-radius: 8px;
    background: var(--sd-surface);
    color: var(--sd-text);
    box-shadow: 0 24px 72px rgb(0 0 0 / 22%);
    font-family: "Inter", sans-serif;
}
.sd-login-error::backdrop { background: rgb(8 21 47 / 45%); }
.sd-login-error[open] { animation: sd-login-error-enter 160ms ease-out; }
.sd-login-error__logo { display: block; width: 48px; height: 48px; margin-bottom: 20px; }
.sd-login-error h2 { margin: 0 32px 10px 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 22px; line-height: 30px; font-weight: 700; }
.sd-login-error p { margin: 0 0 24px; font-size: 14px; line-height: 22px; color: var(--sd-text-readable); overflow-wrap: anywhere; }
.sd-login-error__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--sd-text-readable); cursor: pointer; }
.sd-login-error__close:hover { background: var(--sd-surface-soft); color: var(--sd-text); }
.sd-login-error__retry { display: block; width: 100%; min-height: 44px; border: 1px solid transparent; border-radius: 6px; background: var(--sd-link); color: white; font-size: 14px; font-weight: 600; cursor: pointer; }
.sd-login-error__retry:hover { filter: brightness(.92); }
.sd-login-error :is(button, a):focus-visible { outline: 2px solid var(--sd-link); outline-offset: 3px; }
html[data-sd-theme="dark"] .sd-login-error__retry { background: #d7eaff; color: #102a4f; }
#login-form button.bg-status-success { background-color: #087d6c !important; color: #fff !important; }
@keyframes sd-login-error-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sd-login-error[open] { animation: none; } }
