/* /Components/Application/LegalDocument.razor.rz.scp.css */
/*
    Prose typography for the legal documents.

    The documents are long-form text, so their body is written as plain semantic markup and styled
    here once rather than each page repeating a dozen utility classes per heading. Every rule goes
    through ::deep because the body arrives as ChildContent — it carries the calling PAGE's scope
    attribute, not this component's, so only a descendant selector rooted at this component's own
    element can reach it.
*/

.legal-prose[b-00q516dj30]  h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-text);
    scroll-margin-top: 1.5rem; /* so #anchor deep links are not flush against the viewport edge */
}

.legal-prose[b-00q516dj30]  h2:first-child {
    margin-top: 0;
}

.legal-prose[b-00q516dj30]  h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text);
    scroll-margin-top: 1.5rem;
}

.legal-prose[b-00q516dj30]  p,
.legal-prose[b-00q516dj30]  li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.legal-prose[b-00q516dj30]  p {
    margin-bottom: 1rem;
}

.legal-prose[b-00q516dj30]  ul,
.legal-prose[b-00q516dj30]  ol {
    margin: 0 0 1rem 1.25rem;
    list-style: disc;
}

.legal-prose[b-00q516dj30]  ol {
    list-style: decimal;
}

.legal-prose[b-00q516dj30]  li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.legal-prose[b-00q516dj30]  strong {
    font-weight: 600;
    color: var(--color-text);
}

.legal-prose[b-00q516dj30]  a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-prose[b-00q516dj30]  a:hover {
    opacity: 0.8;
}

/* Definition-style rows used for the data-inventory and sub-processor tables. */
.legal-prose[b-00q516dj30]  .legal-table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legal-prose[b-00q516dj30]  .legal-table th,
.legal-prose[b-00q516dj30]  .legal-table td {
    padding: 0.625rem 0.75rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-text-muted);
}

.legal-prose[b-00q516dj30]  .legal-table th {
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-table-head-bg);
}

/* Wide tables must scroll inside their own container, never the page. */
.legal-prose[b-00q516dj30]  .legal-table-scroll {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
/* /Components/Application/NewsletterSignup.razor.rz.scp.css */
/*
    Container styling for the HubSpot embed.

    HubSpot's v4 embed mounts the form in a cross-origin iframe, so the fields themselves cannot
    be styled from here — their appearance is owned by the form's style settings in HubSpot. All
    this file does is make that iframe behave like a block element inside the card.

    Every rule goes through ::deep: the iframe is injected by HubSpot's script after Blazor
    renders, so a plain scoped selector (which is rewritten with the scope attribute ON the
    element) would never match it, while ::deep compiles to "<scoped ancestor> <selector>" and
    does.
*/

.hl-newsletter-form[b-832uct5skm]  iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}
/* /Components/Layout/HlNavigation.razor.rz.scp.css */
/* ==========================================
   HlNavigation — design system v2 light sidebar
   Brand at top, uppercase micro-label groups, tint-active items.
   ========================================== */

.hl-navigation[b-e5cs8732un] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-sidebar-bg);
    border-right: 1px solid var(--color-border-subtle);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hl-navigation.expanded[b-e5cs8732un] {
    width: 240px;
}

.hl-navigation.collapsed[b-e5cs8732un] {
    width: 64px;
}

/* Brand block (v2) */
.sidebar-brand[b-e5cs8732un] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 0.9rem 0.8rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.sidebar-brand:hover[b-e5cs8732un] {
    text-decoration: none;
    color: inherit;
}

.sidebar-brand:focus[b-e5cs8732un] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    border-radius: var(--radius-sm);
}

.sidebar-brand-glyph[b-e5cs8732un] {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-brand-text[b-e5cs8732un] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.sidebar-brand-name[b-e5cs8732un] {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--color-text);
    white-space: nowrap;
}

.sidebar-brand-tenant[b-e5cs8732un] {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hl-navigation.collapsed .sidebar-brand[b-e5cs8732un] {
    justify-content: center;
    padding: 0.9rem 0 0.7rem;
}

.hl-navigation.collapsed .sidebar-brand-text[b-e5cs8732un] {
    display: none;
}

/* Navigation Footer - Toggle Button Container */
.nav-footer[b-e5cs8732un] {
    flex-shrink: 0;
    padding: 0.55rem;
    border-top: 1px solid var(--color-border-subtle);
    background: var(--color-sidebar-bg);
}

/* Toggle Button — quiet v2 ghost */
.nav-toggle-btn[b-e5cs8732un] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.nav-toggle-btn:hover[b-e5cs8732un] {
    background: var(--color-surface-strong);
    color: var(--color-text);
}

.nav-toggle-btn:focus[b-e5cs8732un] {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-overlay-dark-15);
}

.nav-toggle-btn:active[b-e5cs8732un] {
    transform: scale(0.98);
}

.nav-toggle-btn svg[b-e5cs8732un] {
    flex-shrink: 0;
}

.nav-toggle-label[b-e5cs8732un] {
    flex: 1;
    text-align: left;
    transition: opacity 0.2s ease, width 0.2s ease;
}

/* Collapsed state: center icon, hide label */
.hl-navigation.collapsed .nav-toggle-btn[b-e5cs8732un] {
    justify-content: center;
    padding: 0.65rem;
}

.hl-navigation.collapsed .nav-toggle-label[b-e5cs8732un] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Navigation Content */
.nav-content[b-e5cs8732un] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.35rem 0.55rem 1.25rem;
}

/* Hide scrollbar but keep functionality */
.nav-content[b-e5cs8732un]::-webkit-scrollbar {
    width: 4px;
}

.nav-content[b-e5cs8732un]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-content[b-e5cs8732un]::-webkit-scrollbar-thumb {
    background: var(--color-border-subtle);
    border-radius: 2px;
}

/* Navigation Group */
.nav-group[b-e5cs8732un] {
    margin-bottom: 0.55rem;
}

.nav-group:last-child[b-e5cs8732un] {
    margin-bottom: 0.55rem;
}

/* Group Header (collapsible) — v2 uppercase micro-label divider */
.nav-group-header[b-e5cs8732un] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.55rem 0.3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease;
    border-radius: var(--radius-sm);
    position: relative;
    color: var(--color-text-muted);
}

/* Center group headers when collapsed */
.hl-navigation.collapsed .nav-group-header[b-e5cs8732un] {
    justify-content: center;
    padding: 0.7rem;
    color: var(--color-text-muted);
}

.hl-navigation.collapsed .nav-group-header-content[b-e5cs8732un] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-group-header:hover[b-e5cs8732un] {
    color: var(--color-text);
}

.nav-group-header:focus[b-e5cs8732un] {
    outline: none;
    background: var(--color-surface-strong);
    box-shadow: 0 0 0 2px var(--color-overlay-dark-15);
}

.nav-group-header-content[b-e5cs8732un] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

/* v2: group icons only surface in the collapsed rail; expanded groups read as
   plain uppercase text dividers. (::deep — the svg is rendered by HlIcon.) */
.hl-navigation.expanded .nav-group-header-content[b-e5cs8732un]  svg {
    display: none;
}

.nav-group-label[b-e5cs8732un] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: inherit;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s ease;
}

.hl-navigation.collapsed .nav-group-label[b-e5cs8732un] {
    opacity: 0;
    width: 0;
}

/* Chevron icon (::deep — rendered by HlIcon) */
.nav-group-header[b-e5cs8732un]  .chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-group-header[b-e5cs8732un]  .chevron.expanded {
    transform: rotate(0deg);
}

.nav-group-header[b-e5cs8732un]  .chevron.collapsed {
    transform: rotate(-90deg);
}

.hl-navigation.collapsed .nav-group-header[b-e5cs8732un]  .chevron {
    opacity: 0;
    width: 0;
    display: none;
}

/* Group Items Container — v2 drops the deep indent; labels align with items */
.nav-group-items[b-e5cs8732un] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 0.15rem;
    padding-left: 0;
    animation: slideDown-b-e5cs8732un 0.2s ease;
}

.hl-navigation.collapsed .nav-group-items[b-e5cs8732un] {
    padding-left: 0;
}

@keyframes slideDown-b-e5cs8732un {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Items - use ::deep because NavLink renders the anchor */
[b-e5cs8732un] .nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 0.55rem;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: var(--fs-body);
    text-decoration: none;
    transition: background 0.13s ease, color 0.13s ease;
    position: relative;
    white-space: nowrap;
}

[b-e5cs8732un] .nav-item > svg {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: color 0.13s ease;
}

/* Center-align icons when collapsed */
.hl-navigation.collapsed[b-e5cs8732un]  .nav-item {
    justify-content: center;
    padding: 0.65rem;
}

[b-e5cs8732un] .nav-item:hover {
    background: var(--color-surface-strong);
    color: var(--color-text);
    text-decoration: none;
}

[b-e5cs8732un] .nav-item.active,
[b-e5cs8732un] .nav-item:global(.active) {
    background: var(--color-overlay-dark-08);
    color: var(--color-primary);
    font-weight: 600;
}

[b-e5cs8732un] .nav-item.active > svg,
[b-e5cs8732un] .nav-item:global(.active) > svg {
    color: var(--color-primary);
}

[b-e5cs8732un] .nav-item:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-overlay-dark-15);
}

[b-e5cs8732un] .nav-item-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s ease, width 0.2s ease;
}

.hl-navigation.collapsed[b-e5cs8732un]  .nav-item-label {
    opacity: 0;
    width: 0;
    display: none;
}

/* Standalone items (no group) */
[b-e5cs8732un] .nav-item.standalone {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

/* Tooltips for collapsed mode */
.nav-tooltip[b-e5cs8732un] {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.75rem;
    padding: 0.35rem 0.6rem;
    background: var(--color-text);
    color: var(--color-surface);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    box-shadow: var(--shadow-pop);
}

.nav-tooltip[b-e5cs8732un]::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: var(--color-text);
}

.hl-navigation.collapsed[b-e5cs8732un]  .nav-item:hover .nav-tooltip,
.hl-navigation.collapsed[b-e5cs8732un]  .nav-item:focus .nav-tooltip,
.hl-navigation.collapsed .nav-group-header:hover .nav-tooltip[b-e5cs8732un],
.hl-navigation.collapsed .nav-group-header:focus .nav-tooltip[b-e5cs8732un] {
    opacity: 1;
}

/* Hide tooltips in expanded mode */
.hl-navigation.expanded[b-e5cs8732un]  .nav-tooltip {
    display: none;
}

/* Icon sizing consistency */
[b-e5cs8732un] .nav-item svg,
.nav-group-header svg[b-e5cs8732un] {
    flex-shrink: 0;
}

/* Responsive behavior */
@media (max-width: 900px) {
    .hl-navigation[b-e5cs8732un] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        width: 280px !important;
        box-shadow: var(--shadow-pop);
    }

    .hl-navigation.expanded[b-e5cs8732un] {
        transform: translateX(0);
    }

    .hl-navigation.collapsed[b-e5cs8732un] {
        transform: translateX(-100%);
    }

    /* Hide toggle footer on mobile - use header hamburger instead */
    .nav-footer[b-e5cs8732un] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-0z71pmq7kg] {
    height: 100vh;
    display: flex;
    overflow: hidden;
    /* Design system v2 comfortable density for app surfaces; marketing pages
       (EmptyLayout) keep the 1rem body. */
    font-size: var(--fs-body);
}

/* Default: Top dock */
.app-shell[data-dock="top"][b-0z71pmq7kg] {
    flex-direction: column;
}

/* Bottom dock */
.app-shell[data-dock="bottom"][b-0z71pmq7kg] {
    flex-direction: column-reverse;
}

/* Left dock */
.app-shell[data-dock="left"][b-0z71pmq7kg] {
    flex-direction: row;
}

/* Right dock */
.app-shell[data-dock="right"][b-0z71pmq7kg] {
    flex-direction: row-reverse;
}

.app-body[b-0z71pmq7kg] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.sidebar[b-0z71pmq7kg] {
    display: flex;
    flex-direction: column;
    background: var(--color-sidebar-bg);
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-backdrop[b-0z71pmq7kg] {
    display: none;
    border: 0;
    background: var(--color-overlay-dark-60);
    padding: 0;
}

.main-panel[b-0z71pmq7kg] {
    flex: 1;
    padding: 1.35rem 1.5rem 2rem;
    overflow-y: auto;
    min-width: 0;
}

/* Design system v2: page content centers at a readable maximum width. */
.main-panel > .content[b-0z71pmq7kg] {
    max-width: 1440px;
    margin-inline: auto;
}

#blazor-error-ui[b-0z71pmq7kg] {
    background: var(--color-error-bg);
    bottom: 0;
    box-shadow: 0 -1px 2px var(--color-overlay-dark-20);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-0z71pmq7kg] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 900px) {
    /* Offset matches the v2 topbar height (52px + mobile padding). */
    .app-shell[data-dock="top"][b-0z71pmq7kg]  .hl-navigation {
        top: 56px;
        height: calc(100dvh - 56px);
    }

    .sidebar-backdrop[b-0z71pmq7kg] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
    }

    .app-shell[data-dock="top"] .sidebar-backdrop[b-0z71pmq7kg] {
        top: 56px;
    }
}
/* /Components/Ui/HlHeader.razor.rz.scp.css */
/* HlHeader — design system v2 white topbar.
   Scoped-CSS note: elements rendered by child components (HlButton, HlIcon,
   HlNotificationBell) don't carry this component's scope attribute, so rules
   targeting them go through ::deep under a scoped ancestor. */

.hl-header[b-i8d7f0k7xa] {
    position: sticky;
    z-index: 10;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.35rem 1.1rem;
    background: var(--color-surface);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-subtle);
}

.hl-header-leading[b-i8d7f0k7xa] {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 0.75rem;
}

/* Top Dock Position (Default) */
.hl-header[data-dock="top"][b-i8d7f0k7xa] {
    top: 0;
    flex-direction: row;
}

/* Bottom Dock Position */
.hl-header[data-dock="bottom"][b-i8d7f0k7xa] {
    bottom: 0;
    flex-direction: row;
    border-bottom: none;
    border-top: 1px solid var(--color-border-subtle);
}

/* Left / Right Dock Positions — vertical rail */
.hl-header[data-dock="left"][b-i8d7f0k7xa],
.hl-header[data-dock="right"][b-i8d7f0k7xa] {
    top: 0;
    bottom: 0;
    flex-direction: column;
    width: 64px;
    min-height: 0;
    padding: 1rem 0.5rem;
    overflow-y: auto;
    overflow-x: visible;
    border-bottom: none;
}

.hl-header[data-dock="left"][b-i8d7f0k7xa] {
    left: 0;
    border-right: 1px solid var(--color-border-subtle);
}

.hl-header[data-dock="right"][b-i8d7f0k7xa] {
    right: 0;
    border-left: 1px solid var(--color-border-subtle);
}

/* Vertical rails hide the text affordances but keep the avatar. The label /
   caret spans are authored in this component (scoped), so no ::deep needed. */
.hl-header[data-dock="left"] .hl-header-crumbs[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-crumbs[b-i8d7f0k7xa],
.hl-header[data-dock="left"] .hl-header-user-label[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-user-label[b-i8d7f0k7xa],
.hl-header[data-dock="left"] .hl-header-user-caret[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-user-caret[b-i8d7f0k7xa],
.hl-header[data-dock="left"] .hl-header-support-label[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-support-label[b-i8d7f0k7xa],
.hl-header[data-dock="left"] .hl-header-ghost-button[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-ghost-button[b-i8d7f0k7xa],
.hl-header[data-dock="left"] .hl-header-brand-copy[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-brand-copy[b-i8d7f0k7xa] {
    display: none;
}

.hl-header[data-dock="left"] .hl-header-leading[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-leading[b-i8d7f0k7xa] {
    flex-direction: column;
    flex: 0 0 auto;
}

.hl-header[data-dock="left"] .hl-header-brand[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-brand[b-i8d7f0k7xa] {
    display: flex;
}

.hl-header[data-dock="left"] .hl-header-brand-mark[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-brand-mark[b-i8d7f0k7xa] {
    display: grid;
    width: 44px;
    height: 44px;
}

.hl-header[data-dock="left"] .hl-header-actions[b-i8d7f0k7xa],
.hl-header[data-dock="right"] .hl-header-actions[b-i8d7f0k7xa] {
    flex-direction: column;
    gap: 1rem;
}

/* Menu Toggle Button (mobile) */
.hl-header-menu-toggle[b-i8d7f0k7xa] {
    background: transparent;
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    height: 40px;
    width: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hl-header-menu-toggle:hover[b-i8d7f0k7xa] {
    background: var(--color-surface-strong);
}

.hl-header-menu-toggle:focus[b-i8d7f0k7xa] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hl-header-icon-lines[b-i8d7f0k7xa],
.hl-header-icon-lines[b-i8d7f0k7xa]::before,
.hl-header-icon-lines[b-i8d7f0k7xa]::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.hl-header-icon-lines[b-i8d7f0k7xa]::before,
.hl-header-icon-lines[b-i8d7f0k7xa]::after {
    content: "";
    position: absolute;
    left: 0;
}

.hl-header-icon-lines[b-i8d7f0k7xa]::before {
    top: -6px;
}

.hl-header-icon-lines[b-i8d7f0k7xa]::after {
    top: 6px;
}

/* Brand — mobile shows the wordmark; desktop top/bottom docks show only the
   compact glyph tile (the sidebar carries the full brand, and a nightly
   regression test clicks the header brand at desktop viewport, so it must
   stay clickable rather than display:none). */
.hl-header-brand[b-i8d7f0k7xa] {
    display: flex;
    align-items: center;
    min-width: 0;
}

@media (min-width: 900px) {
    .hl-header[data-dock="top"] .hl-header-brand-copy[b-i8d7f0k7xa],
    .hl-header[data-dock="bottom"] .hl-header-brand-copy[b-i8d7f0k7xa] {
        display: none;
    }

    .hl-header[data-dock="top"] .hl-header-brand-mark[b-i8d7f0k7xa],
    .hl-header[data-dock="bottom"] .hl-header-brand-mark[b-i8d7f0k7xa] {
        display: grid;
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .hl-header[data-dock="top"] .hl-header-brand-mark .hl-header-brand-image[b-i8d7f0k7xa],
    .hl-header[data-dock="bottom"] .hl-header-brand-mark .hl-header-brand-image[b-i8d7f0k7xa] {
        height: 1.15rem;
    }
}

.hl-header-brand-link[b-i8d7f0k7xa] {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    padding: 0.2rem 0.25rem 0.2rem 0;
}

.hl-header-brand-link:hover[b-i8d7f0k7xa] {
    opacity: 0.85;
    text-decoration: none;
}

.hl-header-brand-link:focus[b-i8d7f0k7xa] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.hl-header-brand-mark[b-i8d7f0k7xa] {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border-subtle);
    place-items: center;
}

.hl-header-brand-image[b-i8d7f0k7xa] {
    display: block;
    width: auto;
    height: 1.6rem;
}

.hl-header-brand-copy[b-i8d7f0k7xa] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hl-header-brand-wordmark-image[b-i8d7f0k7xa] {
    display: block;
    width: auto;
    max-width: min(200px, 34vw);
    height: 1.4rem;
}

/* Breadcrumbs */
.hl-header-crumbs[b-i8d7f0k7xa] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    font-size: var(--fs-body);
}

.hl-header-crumb-root[b-i8d7f0k7xa] {
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hl-header-crumb-page[b-i8d7f0k7xa] {
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.hl-header-crumbs[b-i8d7f0k7xa]  .hl-header-crumb-sep {
    color: var(--color-text-muted);
    opacity: 0.55;
    flex-shrink: 0;
}

/* Actions Section */
.hl-header-actions[b-i8d7f0k7xa] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: flex-end;
    min-width: 0;
}

.hl-header-utility-actions[b-i8d7f0k7xa] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.hl-header-ghost-button[b-i8d7f0k7xa] {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.hl-header-ghost-button:hover[b-i8d7f0k7xa] {
    background: var(--color-surface-strong);
    text-decoration: none;
}

.hl-header-ghost-button:focus[b-i8d7f0k7xa] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Support + user chip render via HlButton (header variant) — quiet v2
   overrides need ::deep because the elements are authored in HlButton. */
.hl-header[b-i8d7f0k7xa]  .hl-header-support-button {
    background: transparent;
    border-color: transparent;
    color: var(--color-text-muted);
    box-shadow: none;
    padding: 0.4rem 0.6rem;
}

.hl-header[b-i8d7f0k7xa]  .hl-header-support-button:hover {
    background: var(--color-surface-strong);
    color: var(--color-text);
    transform: none;
    box-shadow: none;
}

.hl-header[b-i8d7f0k7xa]  .hl-header-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.55rem 0.25rem 0.3rem;
    background: transparent;
    border-radius: 999px;
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background 0.15s ease;
    font-family: inherit;
    font-size: var(--fs-body);
}

.hl-header[b-i8d7f0k7xa]  .hl-header-user-chip:hover {
    background: var(--color-surface-strong);
    transform: none;
    box-shadow: none;
}

.hl-header[b-i8d7f0k7xa]  .hl-header-user-chip:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hl-header-user-label[b-i8d7f0k7xa] {
    white-space: nowrap;
}

.hl-header-user-caret[b-i8d7f0k7xa] {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-muted);
}

.hl-header-support-label[b-i8d7f0k7xa] {
    white-space: nowrap;
}

.hl-header-avatar[b-i8d7f0k7xa] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-on-primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
}

.hl-header-logout-form[b-i8d7f0k7xa] {
    margin: 0;
    display: inline;
}

/* User Menu Dropdown */
.user-menu-container[b-i8d7f0k7xa] {
    position: relative;
}

.user-menu-dropdown[b-i8d7f0k7xa] {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 240px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-pop);
    z-index: 1000;
    padding: 0.35rem;
}

.user-menu-head[b-i8d7f0k7xa] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.6rem 0.6rem;
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: 0.3rem;
}

.user-menu-head strong[b-i8d7f0k7xa] {
    font-size: var(--fs-body);
    color: var(--color-text);
}

.user-menu-head span[b-i8d7f0k7xa] {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

/* Bottom Dock - Dropdown appears above */
.hl-header[data-dock="bottom"] .user-menu-dropdown[b-i8d7f0k7xa] {
    top: auto;
    bottom: calc(100% + 0.5rem);
}

/* Left Dock - Dropdown appears to the right */
.hl-header[data-dock="left"] .user-menu-container[b-i8d7f0k7xa] {
    position: static;
}

.hl-header[data-dock="left"] .user-menu-dropdown[b-i8d7f0k7xa] {
    position: fixed;
    top: 100%;
    transform: translateY(-100%);
    right: auto;
    left: 74px;
}

/* Right Dock - Dropdown appears to the left */
.hl-header[data-dock="right"] .user-menu-container[b-i8d7f0k7xa] {
    position: static;
}

.hl-header[data-dock="right"] .user-menu-dropdown[b-i8d7f0k7xa] {
    position: fixed;
    top: 100%;
    transform: translateY(-100%);
    right: 74px;
    left: auto;
}

.user-menu-item[b-i8d7f0k7xa] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    color: var(--color-text);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-body);
    width: 100%;
    text-align: left;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
}

.user-menu-item:hover[b-i8d7f0k7xa] {
    background: var(--color-surface-strong);
    text-decoration: none;
    color: var(--color-text);
}

.user-menu-item:focus[b-i8d7f0k7xa] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    background: var(--color-surface-strong);
}

.user-menu-divider[b-i8d7f0k7xa] {
    height: 1px;
    background: var(--color-border-subtle);
    margin: 0.3rem 0;
}

.user-menu-logout-form[b-i8d7f0k7xa] {
    margin: 0;
    padding: 0;
    display: block;
}

.user-menu-logout[b-i8d7f0k7xa] {
    color: var(--color-danger);
}

.user-menu-logout:hover[b-i8d7f0k7xa] {
    background: color-mix(in srgb, var(--color-danger) 10%, transparent);
    color: var(--color-danger);
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .hl-header[b-i8d7f0k7xa] {
        padding: 0.35rem 0.75rem;
        gap: 0.75rem;
    }

    .hl-header-crumbs[b-i8d7f0k7xa],
    .hl-header-user-label[b-i8d7f0k7xa],
    .hl-header-user-caret[b-i8d7f0k7xa],
    .hl-header-support-label[b-i8d7f0k7xa] {
        display: none;
    }

    .hl-header-actions[b-i8d7f0k7xa] {
        gap: 0.5rem;
    }

    .hl-header-brand-link[b-i8d7f0k7xa] {
        padding-right: 0;
    }

    .hl-header-brand-wordmark-image[b-i8d7f0k7xa] {
        height: 1.3rem;
        max-width: 170px;
    }

    .hl-header-ghost-button[b-i8d7f0k7xa] {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
    }

    .hl-header[b-i8d7f0k7xa]  .hl-header-support-button,
    .hl-header[b-i8d7f0k7xa]  .hl-header-user-chip {
        justify-content: center;
        padding-inline: 0;
        width: 44px;
    }

    .user-menu-dropdown[b-i8d7f0k7xa] {
        width: calc(100vw - 2rem);
        max-width: 300px;
        right: -0.5rem;
    }
}

@media (min-width: 900px) {
    .hl-header-menu-toggle[b-i8d7f0k7xa] {
        display: none;
    }
}

/* Touch Target Sizes for Mobile */
@media (max-width: 768px) {
    .hl-header-menu-toggle[b-i8d7f0k7xa],
    .hl-header-ghost-button[b-i8d7f0k7xa] {
        min-height: 44px;
        min-width: 44px;
    }

    .hl-header[b-i8d7f0k7xa]  .hl-header-support-button,
    .hl-header[b-i8d7f0k7xa]  .hl-header-user-chip {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 374px) {
    .hl-header[b-i8d7f0k7xa] {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "brand brand"
            "toggle actions";
        align-items: center;
        row-gap: 0.625rem;
        column-gap: 0.75rem;
    }

    .hl-header-leading[b-i8d7f0k7xa] {
        display: contents;
    }

    .hl-header-brand[b-i8d7f0k7xa] {
        grid-area: brand;
        min-width: 0;
    }

    .hl-header-menu-toggle[b-i8d7f0k7xa] {
        grid-area: toggle;
    }

    .hl-header-actions[b-i8d7f0k7xa] {
        grid-area: actions;
        justify-self: end;
        min-width: 0;
    }
}

@media (min-width: 375px) and (max-width: 420px) {
    .hl-header[b-i8d7f0k7xa] {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .hl-header-leading[b-i8d7f0k7xa] {
        display: flex;
        gap: 0.5rem;
        min-width: 0;
        flex: 1;
    }

    .hl-header-actions[b-i8d7f0k7xa] {
        min-width: max-content;
        flex-shrink: 0;
        gap: 0.375rem;
    }

    .hl-header-utility-actions[b-i8d7f0k7xa] {
        gap: 0.375rem;
    }

    .hl-header-brand-wordmark-image[b-i8d7f0k7xa] {
        max-width: 128px;
    }
}

@media (max-width: 420px) {
    .hl-header-brand-wordmark-image[b-i8d7f0k7xa] {
        height: 1.15rem;
        max-width: 140px;
    }
}
