/* File Path: /20/acc6/public_assets/css/acc6-shell.css */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--acc6-bg);
}

body.acc6-body {
    min-height: 100vh;
    margin: 0;
    background: var(--acc6-bg) !important;
    color: var(--acc6-text);
    font-family: var(--acc6-font) !important;
    font-size: 14px;
    line-height: 1.55;
}

body.acc6-body,
body.acc6-body button,
body.acc6-body input,
body.acc6-body select,
body.acc6-body textarea {
    font-family: var(--acc6-font) !important;
}

.acc6-header {
    position: sticky;
    top: 0;
    z-index: 9000;
    width: 100%;
    background: var(--acc6-surface);
    border-bottom: 1px solid var(--acc6-border-strong);
    box-shadow: 0 3px 12px rgba(22, 52, 58, .12);
}

.acc6-header-top {
    min-height: 58px;
    padding: 7px clamp(12px, 2vw, 28px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(90deg, #ffffff 0%, #f7fbfb 65%, #eef7f6 100%);
    border-bottom: 1px solid #dce7e9;
}

.acc6-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--acc6-text);
    text-decoration: none;
}

.acc6-brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--acc6-teal-800);
    color: #fff;
    border: 1px solid var(--acc6-teal-950);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -.5px;
}

.acc6-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.acc6-brand-copy strong {
    color: var(--acc6-teal-950);
    font-size: 18px;
    font-weight: 900;
}

.acc6-brand-copy small {
    margin-top: 3px;
    color: var(--acc6-muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acc6-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.acc6-date-chip,
.acc6-user-chip,
.acc6-header-link {
    min-height: 32px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--acc6-border);
    border-radius: var(--acc6-radius-sm);
    background: #fff;
    color: #385159;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.acc6-user-chip {
    color: var(--acc6-teal-800);
    background: var(--acc6-teal-50);
    border-color: #b9dcda;
}

.acc6-header-link:hover {
    color: var(--acc6-teal-900);
    border-color: var(--acc6-teal-600);
    background: var(--acc6-teal-50);
}

.acc6-header-link-danger {
    color: var(--acc6-danger);
    border-color: #e4b7bb;
    background: #fffafa;
}

.acc6-nav-row {
    min-height: 49px;
    padding: 0 clamp(12px, 2vw, 28px);
    background: var(--acc6-teal-900);
}

.acc6-main-nav {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: stretch;
    gap: 1px;
}

.acc6-nav-home,
.acc6-nav-trigger {
    min-height: 49px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .94);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.acc6-nav-home:hover,
.acc6-nav-trigger:hover,
.acc6-nav-item.is-open > .acc6-nav-trigger,
.acc6-nav-item.is-active > .acc6-nav-trigger,
.acc6-nav-home.is-active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.acc6-nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.acc6-nav-trigger b {
    margin-right: 3px;
    font-size: 12px;
    transition: transform .18s ease;
}

.acc6-nav-item.is-open .acc6-nav-trigger b {
    transform: rotate(180deg);
}

.acc6-nav-trigger-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, .1);
    font-size: 12px;
}

.acc6-mega-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    width: min(980px, calc(100vw - 30px));
    max-height: min(72vh, 660px);
    overflow: auto;
    display: none;
    background: #fff;
    border: 1px solid var(--acc6-border-strong);
    border-top: 3px solid var(--acc6-teal-600);
    border-radius: 0 0 var(--acc6-radius-md) var(--acc6-radius-md);
    box-shadow: var(--acc6-shadow-md);
}

.acc6-nav-item:nth-last-child(-n+2) .acc6-mega-menu {
    right: auto;
    left: 0;
}

.acc6-nav-item.is-open .acc6-mega-menu {
    display: block;
}

.acc6-mega-head {
    min-height: 52px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f5f9f9;
    border-bottom: 1px solid var(--acc6-border);
}

.acc6-mega-head strong {
    color: var(--acc6-teal-900);
    font-size: 16px;
    font-weight: 900;
}

.acc6-mega-head span {
    color: var(--acc6-muted);
    font-size: 11px;
    font-weight: 700;
}

.acc6-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 0;
}

.acc6-mega-group {
    min-width: 0;
    padding: 14px;
    border-left: 1px solid #e3eaec;
}

.acc6-mega-group:last-child {
    border-left: 0;
}

.acc6-mega-group h3 {
    margin: 0 0 9px;
    padding: 0 0 7px;
    color: var(--acc6-teal-800);
    border-bottom: 2px solid var(--acc6-teal-100);
    font-size: 13px;
    font-weight: 900;
}

.acc6-mega-links {
    display: grid;
    gap: 3px;
}

.acc6-mega-links a {
    min-height: 33px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #31464c;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.acc6-mega-links a::before {
    content: "›";
    margin-left: 7px;
    color: var(--acc6-teal-600);
    font-size: 16px;
    line-height: 1;
}

.acc6-mega-links a:hover,
.acc6-mega-links a.is-active {
    color: var(--acc6-teal-950);
    border-color: #c7dfde;
    background: var(--acc6-teal-50);
}

.acc6-module-notice {
    margin: 16px;
    padding: 18px;
    border: 1px dashed var(--acc6-border-strong);
    border-radius: var(--acc6-radius-md);
    background: #f8fbfb;
}

.acc6-module-notice strong {
    display: block;
    color: var(--acc6-teal-900);
    font-size: 14px;
}

.acc6-module-notice p {
    margin: 5px 0 0;
    color: var(--acc6-muted);
    font-size: 12px;
}

.acc6-mobile-toggle {
    width: 38px;
    height: 34px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--acc6-border-strong);
    border-radius: var(--acc6-radius-sm);
    background: #fff;
    cursor: pointer;
}

.acc6-mobile-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--acc6-teal-900);
}

.acc6-menu-backdrop {
    position: fixed;
    inset: var(--acc6-header-height) 0 0;
    z-index: 8500;
    background: rgba(18, 36, 40, .24);
}

.acc6-page-shell {
    width: min(100%, var(--acc6-content-max));
    margin: 0 auto;
    padding: 14px clamp(10px, 1.4vw, 22px) 28px;
}

.acc6-page-heading {
    min-height: 54px;
    margin-bottom: 10px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--acc6-border);
    border-right: 4px solid var(--acc6-teal-700);
    border-radius: var(--acc6-radius-md);
    background: var(--acc6-surface);
    box-shadow: var(--acc6-shadow-sm);
}

.acc6-page-heading h1 {
    margin: 1px 0 0;
    color: var(--acc6-teal-950);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.3;
}

.acc6-page-kicker {
    display: block;
    color: var(--acc6-muted);
    font-size: 9px;
    font-weight: 700;
    direction: ltr;
    text-align: right;
}

.acc6-page-shortcuts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.acc6-page-shortcuts a {
    min-height: 30px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #b7cccf;
    border-radius: 5px;
    background: #f8fbfb;
    color: #31565b;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.acc6-page-shortcuts a:hover {
    color: #fff;
    border-color: var(--acc6-teal-800);
    background: var(--acc6-teal-800);
}

.acc6-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {
    .acc6-mega-grid {
        grid-template-columns: repeat(3, minmax(170px, 1fr));
    }

    .acc6-mega-group:nth-child(3n) {
        border-left: 0;
    }

    .acc6-nav-home,
    .acc6-nav-trigger {
        padding-inline: 11px;
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    :root {
        --acc6-header-height: 59px;
    }

    .acc6-header-top {
        min-height: 58px;
    }

    .acc6-brand-copy small,
    .acc6-date-chip,
    .acc6-user-chip,
    .acc6-header-link:not(.acc6-header-link-danger) {
        display: none;
    }

    .acc6-mobile-toggle {
        display: inline-flex;
    }

    .acc6-nav-row {
        min-height: 0;
        padding: 0;
        background: #fff;
    }

    .acc6-main-nav {
        position: fixed;
        top: 58px;
        right: 0;
        left: 0;
        z-index: 9200;
        max-height: calc(100vh - 58px);
        overflow: auto;
        display: none;
        padding: 8px;
        background: #f6f9fa;
        border-bottom: 1px solid var(--acc6-border-strong);
        box-shadow: var(--acc6-shadow-md);
    }

    body.acc6-mobile-nav-open .acc6-main-nav {
        display: block;
    }

    .acc6-nav-home,
    .acc6-nav-item,
    .acc6-nav-trigger {
        width: 100%;
    }

    .acc6-nav-home,
    .acc6-nav-trigger {
        min-height: 42px;
        justify-content: flex-start;
        border: 1px solid var(--acc6-border);
        border-radius: 6px;
        background: #fff;
        color: var(--acc6-text);
        margin-bottom: 5px;
    }

    .acc6-nav-trigger b {
        margin-right: auto;
    }

    .acc6-nav-home:hover,
    .acc6-nav-trigger:hover,
    .acc6-nav-item.is-open > .acc6-nav-trigger,
    .acc6-nav-item.is-active > .acc6-nav-trigger,
    .acc6-nav-home.is-active {
        background: var(--acc6-teal-50);
        color: var(--acc6-teal-900);
        border-color: #a9d3d0;
    }

    .acc6-mega-menu,
    .acc6-nav-item:nth-last-child(-n+2) .acc6-mega-menu {
        position: static;
        width: 100%;
        max-height: none;
        margin: -3px 0 7px;
        border-top-width: 1px;
        border-radius: 6px;
        box-shadow: none;
    }

    .acc6-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acc6-mega-group,
    .acc6-mega-group:nth-child(3n) {
        border-left: 0;
        border-bottom: 1px solid #e3eaec;
    }

    .acc6-mega-head {
        display: none;
    }

    .acc6-menu-backdrop {
        inset: 58px 0 0;
    }

    .acc6-page-shell {
        padding-top: 10px;
    }

    .acc6-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .acc6-brand-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .acc6-brand-copy strong {
        font-size: 15px;
    }

    .acc6-header-link-danger {
        padding-inline: 7px;
        font-size: 11px;
    }

    .acc6-mega-grid {
        grid-template-columns: 1fr;
    }

    .acc6-page-shortcuts {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acc6-page-shortcuts a {
        justify-content: center;
    }
}

/* ACC6_PHASE2_COMPACT_HEADER_V2 */
:root {
    --acc6-header-height: 92px;
}

.acc6-header-top {
    min-height: 49px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.acc6-brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 6px;
    font-size: 15px;
}

.acc6-brand-copy strong {
    font-size: 15px;
}

.acc6-brand-copy small {
    margin-top: 1px;
    font-size: 9px;
}

.acc6-date-chip,
.acc6-user-chip,
.acc6-header-link {
    min-height: 29px;
    padding: 4px 8px;
    font-size: 10px;
}

.acc6-nav-row,
.acc6-main-nav,
.acc6-nav-home,
.acc6-nav-trigger {
    min-height: 43px;
}

.acc6-nav-home,
.acc6-nav-trigger {
    padding-inline: 13px;
    font-size: 11px;
}

.acc6-mobile-toggle {
    display: none !important;
}

.acc6-page-shell {
    padding-top: 9px;
}

.acc6-page-heading {
    min-height: 46px;
    margin-bottom: 8px;
    padding: 7px 10px;
}

.acc6-page-heading h1 {
    font-size: 16px;
}

.acc6-page-shortcuts a {
    min-height: 27px;
    padding: 4px 8px;
    font-size: 10px;
}

@media (max-width: 900px) {
    :root {
        --acc6-header-height: 53px;
    }

    .acc6-header-top {
        min-height: 52px;
    }

    .acc6-mobile-toggle {
        display: inline-flex !important;
    }

    .acc6-main-nav {
        top: 52px;
        max-height: calc(100vh - 52px);
    }

    .acc6-menu-backdrop {
        inset: 52px 0 0;
    }
}
