﻿:root {
    --sidebar-width: 240px;
    --sidebar-width-collapsed: 68px;
    --sidebar-column-width: var(--sidebar-width);

    /* Heading Sizes */
    --h1-size: 82px;
    --h2-size: 58px; /*+24px*/
    --h3-size: 42px; /*+16px*/
    --h4-size: 30px; /*+12px*/
    --h5-size: 22px; /*+8px*/
    --h6-size: 18px; /*+4px*/

    /* Paragraph Sizes */
    --body-2xl: 28px;
    --body-xxl: 24px;
    --body-xl: 22px;
    --body-lg: 20px;
    --body-md: 18px;
    --body-sm: 16px;
    --body-xs: 14px;
    --body-xxs: 12px;
    --body-2xs: 10px;
}



@layer base {
    *, *::before, *::after {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    *:not(dialog) {
        margin: 0;
    }

    body {
        font-family: 'Inter';
        font-size: 16px;
        font-weight:normal;
        letter-spacing:normal;
        margin: 0;
        -webkit-font-smoothing: antialiased;
    }

    body > * {
        font-size: var(--body-sm);
        font-weight: normal;
        letter-spacing: 0.025rem;
        color: var(--neutral-800);
        line-height: 1.6;
        font-optical-sizing: auto;
        font-style: normal;
    }

    /* Eric Meyer's Reset CSS v2.0 */
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed,
    figure, figcaption, footer, header, hgroup,
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure,
    footer, header, hgroup, menu, nav, section {
        display: block;
    }

    ol, ul {
        list-style: none;
    }

    blockquote, q {
        quotes: none;
    }

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

    table {
        border-collapse: collapse;
        border-spacing: 0;
    }

    img, picture, video, canvas, svg {
        display: block;
        max-width: 100%;
    }

    input, button, textarea, select {
        font: inherit;
    }

    p, h1, h2, h3, h4, h5, h6 {
        overflow-wrap: break-word;
        padding-bottom: 0;
    }

    p {
        text-wrap: pretty;
    }

    h1, h2, h3, h4, h5, h6 {
        text-wrap: balance;
    }

    /*** T Y P O G R A P H Y */
    h1, h2, h3, h4, h5, h6 {
        font-family: inherit;
    }

    h1 {
        font-size: var(--h1-size);
        /* font-weight: 900;  */
        line-height: 1.1;
/*        margin-bottom: 1.5rem;*/
        letter-spacing: -0.016rem;
    }

    h2 {
        font-size: var(--h2-size);
        /* font-weight: 800;  */
        line-height: 1.2;
        /*margin-bottom: 1.25rem;*/
        letter-spacing: -0.016rem;
    }

    h3 {
        font-size: var(--h3-size);
        /* font-weight: 700;  */
        line-height: 1.3;
        /*margin-bottom: 1rem;*/
        letter-spacing: -0.1rem;
    }

    h4 {
        font-size: var(--h4-size);
        /* font-weight: 700; */
        line-height: 1.4;
        /*margin-bottom: 1rem;*/
        letter-spacing: -0.05rem;
    }

    h5 {
        font-size: var(--h5-size);
        /* font-weight: 600; */
        line-height: 1.4;
        /*margin-bottom: 0.25rem;*/
        letter-spacing: -0.025rem;
    }

    h6 {
        font-size: var(--h6-size);
        /* font-weight: 600; */
        line-height: 1.4;
        /* margin-bottom: 0.75rem; */
        letter-spacing: -0.02rem;
    }

    /*** P A G E  L A Y O U T */
    .app-root {
        display: grid;
        /* grid-template-columns: var(--sidebar-column-width) calc(100vw - var(--sidebar-column-width)); */
        /*grid-template-columns: auto 1fr;*/
        grid-template-columns: var(--sidebar-width) 1fr;
        block-size: 100svh;
        max-width: 100vw;
        overflow-y: clip;
        transition: grid-template-columns 0.2s ease;
    }

    aside {
        position: relative;
        isolation: isolate;
        transition: width 0.5s ease-in-out;
        z-index: 999;
    }

    main {
        height: 100svh;
        background-color: var(--background-2);
        isolation: isolate;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        /*will-change: width;*/
    }

    /*.app-root:not(:has(aside.collapse)) {
        --sidebar-column-width: var(--sidebar-width);
        grid-template-columns: var(--sidebar-column-width) calc(100vw - var(--sidebar-column-width));
    }*/

    /*.app-root:has(aside.collapse) {
        --sidebar-column-width: var(--sidebar-width-collapsed);
        grid-template-columns: var(--sidebar-column-width) calc(100vw - var(--sidebar-column-width));
    }*/

    .app-root.sidebar-collapsed {
        grid-template-columns: var(--sidebar-width-collapsed) 1fr;
    }

    main.is-animating {
        will-change:width;
        overflow: hidden;
    }

    main.is-animating table {
        table-layout:fixed;
        width: 100%;
    }

    main .vx-navbar h6 {
        position: relative;
        margin-right: auto;
        align-content: center;
        font-weight: 500;
    }

    main .vx-navbar h6:before {
        content: attr([data-caption]);
    }

    main section.main-content {
        /* height: 100svh; */
        /* height: 100svh; */
        /* overflow-y: auto; */
        /* scroll-snap-align: start; */
        height: calc(100vh - var(--panel-header-height));
        flex-grow: 1;
        padding: 1.75rem;
    }

    .section-header {
    }

    .section-header > h4 {
        font-weight: 600;
        margin-bottom: 0;
    }

    .section-header > p {
    }

    .nav-profile {
        display: block;
        align-content: stretch;
        text-decoration: none;
        color: inherit;
    }

    .vx-navbrand {
        text-decoration: none;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 16px;
        padding-inline: 14px;
    }
}
