.hiq-authenticated-navigation {
    box-sizing: border-box;
    width: min(1200px, calc(100% - 32px));
    margin: 12px auto;
    font-family: var(--hiq-font-sans);
}

.hiq-admin-command-bar {
    position: relative;
    z-index: 30;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    width: 100%;
}

.hiq-admin-home,
.hiq-admin-menu-summary {
    box-sizing: border-box;
    display: flex;
    min-height: 48px;
    align-items: center;
    border: 2px solid #174f76;
    border-radius: 10px;
    background: #fff;
    color: #102f45;
    font-weight: var(--hiq-type-weight-strong);
    text-decoration: none;
}

.hiq-admin-home {
    align-self: start;
    justify-content: center;
    gap: 7px;
    padding: 7px 10px;
}

.hiq-admin-home-mark {
    position: relative;
    box-sizing: border-box;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.hiq-admin-home-mark::before,
.hiq-admin-home-mark::after {
    position: absolute;
    display: block;
    background: currentColor;
    content: "";
}

.hiq-admin-home-mark::before {
    top: 4px;
    inset-inline-start: 10px;
    width: 2px;
    height: 8px;
}

.hiq-admin-home-mark::after {
    top: 10px;
    inset-inline-start: 11px;
    width: 7px;
    height: 2px;
}

.hiq-admin-home-text {
    display: grid;
    gap: 1px;
    line-height: var(--hiq-type-line-compact);
    text-align: start;
}

.hiq-admin-home-text strong {
    font-size: var(--hiq-type-label-size);
}

.hiq-admin-home-text small {
    font-size: var(--hiq-type-caption-size);
    font-weight: var(--hiq-type-weight-strong);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hiq-admin-home:hover,
.hiq-admin-menu-summary:hover {
    background: #e6f0f6;
    color: #102f45;
    text-decoration: none;
}

.hiq-admin-home:focus-visible,
.hiq-admin-menu-summary:focus-visible,
.hiq-admin-nav-link:focus-visible,
.hiq-authenticated-context a:focus-visible,
.hiq-authenticated-company-switcher summary:focus-visible,
.hiq-authenticated-company-form select:focus-visible,
.hiq-authenticated-company-form button:focus-visible {
    outline: 4px solid #ffb000;
    outline-offset: 2px;
}

.hiq-admin-menu {
    position: relative;
    min-width: 0;
    margin: 0;
}

.hiq-admin-menu-summary {
    justify-content: space-between;
    gap: 12px;
    padding: 7px 13px;
    cursor: pointer;
    list-style: none;
}

.hiq-admin-menu-summary::-webkit-details-marker {
    display: none;
}

.hiq-admin-menu-summary::after {
    flex: 0 0 auto;
    content: "\25BC";
    transition: transform .16s ease;
}

.hiq-admin-menu[open] .hiq-admin-menu-summary {
    background: #174f76;
    color: #fff;
}

.hiq-admin-menu[open] .hiq-admin-menu-summary::after {
    transform: rotate(180deg);
}

.hiq-admin-menu-summary strong {
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hiq-admin-menu-panel {
    position: static;
    z-index: 40;
    box-sizing: border-box;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
    padding: 8px;
    border: 2px solid #174f76;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(12, 39, 58, .28);
}

.hiq-admin-menu-panel:has(
    > .hiq-admin-menu-section:nth-of-type(2):last-of-type) {
    width: min(440px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hiq-admin-menu-panel:has(
    > .hiq-admin-menu-section:nth-of-type(3):last-of-type) {
    width: min(660px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hiq-admin-menu-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 7px;
    border: 1px solid #c5d4de;
    border-radius: 9px;
    background: #f7fafc;
}

.hiq-admin-menu-section-heading {
    grid-column: 1 / -1;
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: #496477;
    font-size: var(--hiq-type-caption-size);
    font-weight: var(--hiq-type-weight-strong);
    letter-spacing: .06em;
    line-height: var(--hiq-type-line-compact);
    text-transform: uppercase;
}

.hiq-admin-nav-link {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 8px;
    border: 1px solid #9eb4c3;
    border-radius: 8px;
    background: #fff;
    color: #102f45;
    font-size: var(--hiq-type-label-size);
    font-weight: var(--hiq-type-weight-strong);
    line-height: var(--hiq-type-line-compact);
    text-align: start;
    text-decoration: none;
}

.hiq-admin-nav-link:hover {
    border-color: #174f76;
    background: #fff;
    color: #102f45;
    text-decoration: none;
}

.hiq-admin-nav-link.is-current,
.hiq-admin-nav-link.active {
    border-color: #0d3f62;
    background: #145b8f;
    color: #fff;
}

.hiq-view-mode-toggle {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
}

.hiq-view-mode-toggle-label {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 4px;
    color: #496477;
    cursor: pointer;
    font-family: var(--hiq-font-sans);
    font-size: var(--hiq-type-caption-size);
    font-weight: var(--hiq-type-weight-strong);
    line-height: var(--hiq-type-line-compact);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.hiq-view-mode-toggle-input {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 0;
    accent-color: #145b8f;
    cursor: pointer;
}

.hiq-view-mode-toggle-label:has(
    .hiq-view-mode-toggle-input:focus-visible) {
    border-radius: 4px;
    outline: 3px solid #ffb000;
    outline-offset: 2px;
}

.hiq-authenticated-context {
    display: grid;
    width: 100%;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 1fr)
        minmax(0, .8fr)
        minmax(72px, .42fr);
    gap: 1px;
    margin-top: 5px;
    overflow: visible;
    border: 1px solid #b9ccda;
    border-radius: 8px;
    background: #b9ccda;
}

.hiq-authenticated-context-fact {
    position: relative;
    box-sizing: border-box;
    display: grid;
    min-width: 0;
    min-height: 34px;
    align-content: center;
    gap: 1px;
    padding: 3px 8px;
    background: #f7fafc;
    color: #102f45;
}

.hiq-authenticated-context-fact:first-child {
    border-start-start-radius: 7px;
    border-end-start-radius: 7px;
}

.hiq-authenticated-context-fact:last-child {
    border-start-end-radius: 7px;
    border-end-end-radius: 7px;
}

.hiq-authenticated-context-language {
    padding-inline: 5px;
}

.hiq-authenticated-context-fact > span,
.hiq-authenticated-company-switcher summary > span {
    overflow: hidden;
    color: #526b7d;
    font-size: var(--hiq-type-caption-size);
    font-weight: var(--hiq-type-weight-strong);
    letter-spacing: .045em;
    line-height: var(--hiq-type-line-compact);
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.hiq-authenticated-context-fact > strong,
.hiq-authenticated-context-fact > a,
.hiq-authenticated-company-switcher summary > strong {
    overflow: hidden;
    color: #102f45;
    font-size: var(--hiq-type-label-size);
    font-weight: var(--hiq-type-weight-strong);
    line-height: var(--hiq-type-line-compact);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hiq-authenticated-context-fact > a {
    color: #9a4d00;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hiq-authenticated-company-switcher {
    min-width: 0;
}

.hiq-authenticated-company-switcher summary {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 1px;
    padding-inline-end: 15px;
    cursor: pointer;
    list-style: none;
}

.hiq-authenticated-company-switcher summary::-webkit-details-marker {
    display: none;
}

.hiq-authenticated-company-switcher summary::after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 0;
    color: #174f76;
    content: "\25BC";
    font-size: var(--hiq-type-caption-size);
    transform: translateY(-50%);
}

.hiq-authenticated-company-switcher[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.hiq-authenticated-company-form {
    position: absolute;
    z-index: 70;
    inset-block-start: calc(100% + 6px);
    inset-inline-start: -1px;
    box-sizing: border-box;
    display: grid;
    width: min(360px, calc(100vw - 24px));
    gap: 8px;
    padding: 10px;
    border: 2px solid #174f76;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(12, 39, 58, .28);
}

.hiq-authenticated-company-form label {
    display: grid;
    gap: 4px;
    color: #334f62;
    font-size: var(--hiq-type-caption-size);
    font-weight: var(--hiq-type-weight-strong);
}

.hiq-authenticated-company-form select,
.hiq-authenticated-company-form button {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    border: 2px solid #66869d;
    border-radius: 8px;
    font: inherit;
}

.hiq-authenticated-company-form select {
    padding: 7px 9px;
    background: #fff;
    color: #102f45;
}

.hiq-authenticated-company-form button {
    padding: 7px 10px;
    border-color: #0d3f62;
    background: #145b8f;
    color: #fff;
    cursor: pointer;
    font-weight: var(--hiq-type-weight-strong);
}

@media (max-width: 640px) {
    .hiq-authenticated-navigation {
        width: calc(100% - 24px);
        margin-block: 10px;
    }

    .hiq-admin-command-bar {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 6px;
    }

    .hiq-authenticated-context-fact {
        min-height: 40px;
        padding-inline: 6px;
    }

    .hiq-authenticated-context {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(0, 1fr)
            minmax(0, .8fr)
            68px;
    }

    .hiq-authenticated-context-language {
        padding-inline: 4px;
    }

    .hiq-authenticated-context-fact > strong,
    .hiq-authenticated-context-fact > a,
    .hiq-authenticated-company-switcher summary > strong {
        font-size: var(--hiq-type-meta-size);
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }

    .hiq-admin-home,
    .hiq-admin-menu-summary {
        min-height: 46px;
    }

    .hiq-admin-menu-panel {
        position: fixed;
        top: 68px;
        inset-inline: 12px;
        width: auto;
        max-height: calc(100dvh - 80px);
        grid-template-columns: 1fr;
        gap: 6px;
        overflow-y: auto;
        overscroll-behavior: contain;
        margin-top: 0;
        padding: 7px;
    }

    .hiq-admin-menu-panel:has(
        > .hiq-admin-menu-section:nth-of-type(2):last-of-type),
    .hiq-admin-menu-panel:has(
        > .hiq-admin-menu-section:nth-of-type(3):last-of-type) {
        width: auto;
        grid-template-columns: 1fr;
    }

    .hiq-admin-menu-section {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 6px;
    }

    .hiq-admin-nav-link {
        min-height: 42px;
        justify-content: center;
        padding: 6px;
        border: 2px solid #66869d;
        background: #e7f0f6;
        font-size: var(--hiq-type-label-size);
        font-weight: var(--hiq-type-weight-strong);
        text-align: center;
    }

    .hiq-view-mode-toggle-label {
        font-size: var(--hiq-type-caption-size);
    }

    .hiq-view-mode-toggle-input {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .hiq-authenticated-context:has(
        .hiq-authenticated-company-switcher[open]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hiq-authenticated-context:has(
        .hiq-authenticated-company-switcher[open])
        .hiq-authenticated-context-company {
        grid-column: 1 / -1;
    }

    .hiq-authenticated-company-form {
        position: static;
        width: 100%;
        margin-top: 7px;
        box-shadow: none;
    }
}

@media (max-width: 360px) {
    .hiq-admin-menu-summary > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.time-it-page-footer,
.hiq-shell-brand-footer {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 12px 24px;
    color: #64748b;
    font-family: var(--hiq-font-sans);
    font-size: var(--hiq-type-meta-size);
    font-weight: var(--hiq-type-weight-strong);
    line-height: var(--hiq-type-line-compact);
}

.time-it-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.time-it-page-footer img,
.hiq-shell-brand-footer img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

@media (max-width: 420px) {
    .time-it-page-footer,
    .hiq-shell-brand-footer {
        padding-top: 16px;
    }

    .time-it-page-footer img,
    .hiq-shell-brand-footer img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}

@media print {
    .hiq-authenticated-navigation,
    .time-it-page-footer,
    .hiq-shell-brand-footer {
        display: none !important;
    }
}
