
:root {
    --lisa-text-color:rgb(19,50,75);
    --lisa-text-color-success: #179357; 
    --lisa-text-color-warning : #f39431; 
    --lisa-text-color-danger : #ec4f41; 
    --lisa-text-color-info: #17a2b8; 
    
    --lisa-label-color:#5a788a;

    --lisa-primary-bg-color:#3f65ea;
    --lisa-primary-border-color: #3f65ea;
    --lisa-primary-hover-bg-color: #297be6;
    --lisa-primary-hover-border-color: #297be6;
    --lisa-primary-color:#3f65ea;
    --lisa-active-tab-border-color:#3f65ea;

    --lisa-destructive-bg-color: #e32717;
    --lisa-destructive-border-color: #d82516;
    --lisa-destructive-hover-bg-color: #e92f1e;
    --lisa-destructive-hover-border-color: #e32717;

    --lisa-warning-bg-color:#ffc357;
    --lisa-warning-border-color:#ffbc45;
    --lisa-warning-hover-bg-color:#ffcb6d;
    --lisa-warning-hover-border-color:#ffc3f7;

    --lisa-font-family:"Source Sans 3",ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --lisa-page-bg-color:rgb(241,245,249);
    --lisa-border-color:#dbe3eb;
    --lisa-header-bg-color:#dbe3eb;
    --lisa-active-selector-bg-color:#5a788a;
    --lisa-active-selector-color:#fff;
    --lisa-input-label-bg-color:#e9eef3;
}

strong {
    font-weight:620;
}
line-break {
    display:block;
}
.lisa-canvas {
    display:contents;
}
page-container {
    display:contents;
    > body-area {
        display:flex;
        flex-direction: column;
        transition: opacity 0.2s;
        font-family:"Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
        height:100%;
        background-color: var(--lisa-page-bg-color);
        &:has(dialog-content){
            background-color:transparent;
        }
    }
}

tab-menu {
    position:absolute;
    top:6px;
    right:0;
    z-index:50;
    drop-content {
        right:0;
    }
}


.loading-indicator {
    position:fixed !important;
    display:block;
    top:-1px;
    left:-1px;
    pointer-events: none;
    width:0;
    transition: opacity 1s !important;
    transform:translate(-75px,-75px);
    svg {
        fill:var(--lisa-primary-color);
    }
   
}
.htmx-request {
    .loading-indicator {
        top:50%;
        left:50%;
        z-index:60000;
        width:100px;
        display:block;
    }
}

page-load-error {
    padding:20px;
    display:flex;
    align-items:center;
    justify-content: center;
    min-height:100%;
}
data-field {
    display:flex;
    flex-direction: column;
    & > label-area {
        white-space: nowrap;
        width:100%;
        color:var(--lisa-label-color);
        display:block;
        font-size:11px;
        font-weight: 500;
        letter-spacing: 0;
        line-height: 1.2;
    }
   
    & > body-area {
        align-items: center;
        display:flex;
        flex-wrap: wrap;
        flex-grow:1;
        gap:3px;
        letter-spacing: 0.2px;
        white-space: nowrap;
        &:empty:after {
            content: '\2014';
            opacity: 0.8;
        }
        input {
            font-size:14px;
            padding:8px 9px;
            font-weight: 520;
            line-height: 1;
            width:100%;
            &[type="checkbox"] {
                width:auto;
                margin-left:10px;
            }
        }
        select {
            font-size:14px;
            padding:8px 6px;
            font-weight: 520;
            line-height: 1;
            width:100%;
        }
        textarea {
            width:100%;
            height:100px;
            padding:8px 9px;
            font-weight:520;
            font-size:14px;
        }
        & > field-error {
            display:block;
            color:#ec4f41;
            font-weight:550;
            font-size:12px;
            width:100%;
            line-height: 1;
            margin:-1px;
            padding:4px 10px 4px 10px;
            background-color:#fff8f7;
        }
        
        a {
            cursor:pointer;
            &:hover {
                color:var(--lisa-primary-color)
            }
        }
    } 
   
   
   
}


section-card {
    display:block;
    & > section-title-row {
        display:flex;
        margin-bottom: 6px;
        align-items: center;
        
        &:empty {
            margin-bottom: 0;
        }
        title-area {
            align-items: center;
            display: flex;
            font-size: 17.5px;
            font-weight: 600;
            cursor: pointer;
            > collapse-icon {
                width:16px;
                height:16px;
                path {
                    d:path("M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z");
                }
            }
            
        }
        actions-area {
            margin-left:auto;
            display:flex;
            align-items: center;
            padding-right:2px;
        }
       
    }
    & > header-area {
        align-items: center;
        background-color: var(--lisa-header-bg-color);
        cursor: pointer;
        display: flex;
        gap: 20px;
        padding: 4px 20px;
    }
    &[state-collapsed] > section-title-row > title-area > collapse-icon {
        path {
            d:path("M14.83,11.29,10.59,7.05a1,1,0,0,0-1.42,0,1,1,0,0,0,0,1.41L12.71,12,9.17,15.54a1,1,0,0,0,0,1.41,1,1,0,0,0,.71.29,1,1,0,0,0,.71-.29l4.24-4.24A1,1,0,0,0,14.83,11.29Z");
        }
    }
    &[state-collapsed] > section-card-container {
        grid-template-rows:0fr;
    }
    &.list-child {
        margin-top:1px;
        &:first-child {
            margin-top:0;
        }
    }
}

section-card-container {
    display:grid;
    grid-template-rows:1fr;
    transition:grid-template-rows 0.15s ease-in-out;
   
}

section-card-container-inner {
    overflow:hidden;
    > body-area {
        background-color:#fff;
        display:block;
    }
}


description-list {
    display:block;

    & > body-area {
        grid-gap: 1px;
        background-color: var(--lisa-border-color);
        display: grid;
        grid-template-columns: 11rem auto;
        row-gap: 1px;
        & > * {
            background-color:#fff;
            padding:15px 20px;
        }
        data-field {
            display:contents;
            & > label-area {
                align-items: center;
                background-color: #fff;
                color: var(--lisa-text-color);
                display: flex;
                font-size: 14px;
                font-weight: 600;
                line-height: 1;
                padding: 10px 20px;
            }
            & > body-area {
                background-color: #fff;
                padding: 10px 20px 10px 10px;
            }
            &[is-input] {
                > label-area {
                    background-color:var(--lisa-input-label-bg-color);
                }
                 > body-area {
                    padding:1px;
                    border-left:solid 1px var(--lisa-border-color);
                }
            }
            
        }
    }
}

input-list {
    display:block;

    & > body-area {
        grid-row-gap: 1px;
        background-color: var(--lisa-border-color);
        display: grid;
        grid-template-columns: 11rem auto;
        row-gap: 1px;
        min-height: 38px;
       
        & > * {
            background-color:#fff;
            padding:15px 20px;
        }
        data-field {
            display:contents;
            & > label-area {
                align-items: center;
                background-color: var(--lisa-input-label-bg-color);
                color: var(--lisa-text-color);
                display: flex;
                font-size: 14px;
                font-weight: 600;
                line-height: 1;
                padding: 10px 20px;
            }
            & > body-area {
                background-color: var(--lisa-page-bg-color);
                padding: 10px 20px 10px 10px;
            }
            &[is-input] {
                 > body-area {
                    padding:1px;
                    background-color:#fff;
                    position:relative;
                    &:has(lookup-launch){
                       input {
                        padding-right:24px;
                       }
                    }
                    lookup-launch {
                        display:block;
                        position: absolute;
                        right:0;
                        padding:6px;
                        opacity: 0.70;
                        cursor:pointer;
                        &:hover {
                            opacity: 1;
                        }
                        svg {
                            width:16px;
                            height:16px;
                        }
                    }
                }

            }

            &[input-group] > body-area {
                input,select {
                    width:auto;
                }
                label-area {
                    display:none;
                }
            }
        }
    }
}

left-sidebar-area {
    description-list  > body-area {
        grid-template-columns: auto auto;
    }           
}

flex-row {
    display:flex;
    &[gap-md] {
        gap:30px;
    }
}

left-column {
    display:block;
}

right-column {
    display:block;
}

record-view {
    display:block;
    flex-grow:1;
    overflow-y:hidden;
    padding:20px 30px;
    display:flex;
    flex-direction: column;
    & > header-area {
        margin-bottom:20px;
        margin-right:20px;
        display:block;
        subtitle-area {
            font-size: 12px;
            min-height: 15px;
            margin-bottom: 0px;
            font-weight: 500;
            letter-spacing: 0.6px;
            color: var(--lisa-label-color);
            white-space: nowrap;
            line-height: 1.2;
            display:block;
        }
        title-area {
            font-size: 22px;
            font-weight: 580;
            text-decoration: none;
            letter-spacing: -0.22px;
            display: flex;
            align-items: center;
            gap: 8px;
            position:relative;
           
        }
        drop-content {
            margin-top:6px;
            min-width:200px;
        }
        right-column {
            margin-left:auto
        }
        actions-area {
            display:flex;
            align-items: center;
            gap:20px;
            justify-content: flex-end;
        }

    }
    & > tab-area {
        flex-grow:1;
        
        overflow:hidden;
        > tab-set {
            height:100%;
            display:flex;
            flex-direction: column;
            > tab-contents {
                flex-grow:1;
                overflow-y:auto;
            }
        }
       
    }
   
    & > body-area {
        > line-break {
            display:block;
            height:15px;
        }
    }

    & > body-area > tab-area {
        flex-grow:1;
    }

    & > body-area > left-sidebar {
        display:block;
    }

}


list-view {
    display:block;
    flex-grow:1;
    overflow-y:hidden;
    padding:20px 30px;
    display:flex;
    flex-direction: column;
    > header-area {
        display:block;
        margin-bottom:20px;
        subtitle-area {
            font-size: 12px;
            min-height: 15px;
            margin-bottom: 0px;
            font-weight: 500;
            letter-spacing: 0.6px;
            color: var(--lisa-label-color);
            white-space: nowrap;
            line-height: 1.2;
            display:block;
        }
        title-area {
            font-size: 22px;
            font-weight: 580;
            text-decoration: none;
            letter-spacing: -0.22px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        right-column {
            margin-left:auto
        }
        filters-area {
            display:flex;
            align-items: flex-end;
            gap:30px;
        }
        right-column:has(actions-area) {
            align-self:flex-end;
        }
    }
    > body-area {
        flex-grow:1;
        overflow-y:auto;
    }
    > body-row {
        flex-grow:1;
        overflow:hidden;
        display:flex;
        gap:20px;
        > body-area {
            flex-grow:1;
            height:100%;
            overflow-y:auto;
        }
        > row-actions-area {
            display:flex;
        }
    }

}

lookup-view {
    display:block;
    flex-grow:1;
    overflow-y:hidden;
    padding:20px 30px;
    display:flex;
    flex-direction: column;
    background-color:var(--lisa-page-bg-color);
    > header-area {
        display:block;
        margin-bottom:20px;
        subtitle-area {
            font-size: 12px;
            min-height: 15px;
            margin-bottom: 0px;
            font-weight: 500;
            letter-spacing: 0.6px;
            color: var(--lisa-label-color);
            white-space: nowrap;
            line-height: 1.2;
            display:block;
        }
        title-area {
            font-size: 22px;
            font-weight: 580;
            text-decoration: none;
            letter-spacing: -0.22px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        right-column {
            margin-left:auto
        }
        filters-area {
            display:flex;
            align-items: flex-end;
            gap:30px;
        }
        right-column:has(actions-area) {
            align-self:flex-end;
        }
    }
    > body-area {
        flex-grow:1;
        overflow-y:auto;
    }
    > body-row {
        flex-grow:1;
        overflow:hidden;
        display:flex;
        gap:20px;
        > body-area {
            flex-grow:1;
            height:100%;
            overflow-y:auto;
        }
        > row-actions-area {
            display:flex;
        }
    }

}


row-actions-area {
    display:flex;
    flex-direction: column;
    .action-link {
        color:var(--lisa-primary-color);
        display:flex;
        align-items: center;
        font-size:13.5px;
        font-weight: 600;
        letter-spacing: 0.2px;
        line-height: 21px;
        padding:5px 0;
        white-space: nowrap;
        text-transform: uppercase;
        action-icon {
            display:block;
            width:20px;
            height:20px;
            margin-right:8px;
            svg {
                fill:currentColor;
            }
        }
    }
    [when-one] {
        opacity: 0.5;
        pointer-events: none;
    }
    [when-any] {
        opacity: 0.5;
        pointer-events:none;
    }
}
[selected-count="1"] {
    row-actions-area {
        [when-one] {
            opacity:1;
            pointer-events:initial;
        }
    }
}
[selected-count] {
    row-actions-area {
        [when-any] {
            opacity: 1;
            pointer-events:initial;
        }
    }
}

menu-trigger {
    display:flex;
    align-items: center;
    justify-content: center;
    width:22px;
    height:22px;
    border-radius: 99px;
    transition: background-color 0.2s;
    cursor:pointer;
    &:hover {
        background-color:var(--lisa-border-color);
    }
    svg {
        width:16px;
        height:16px;
    }
    path {
        d:path("M12,7a2,2,0,1,0-2-2A2,2,0,0,0,12,7Zm0,10a2,2,0,1,0,2,2A2,2,0,0,0,12,17Zm0-7a2,2,0,1,0,2,2A2,2,0,0,0,12,10Z")
    }
}
tr.row[is-selected] {
    menu-trigger:hover {
        background-color:#f8fbff;
    }
}

tab-labels {
    display: flex;
    align-items: center;
    position: relative;
    gap: 25px;
    border-bottom:solid 1px var(--lisa-border-color);
    margin-bottom:20px;
   
}

tab-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0px;
    transition: background-color 0.3s ease 0s;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    line-height: 1;
    font-size:14px;
}

tab-contents {
    display:block;
    height:100%;
}


[tab-ordinal] {
    display:none;
}
[tab-contents] > [tab-ordinal].is-active {
    display:block;
}



tab-set {
    position:relative;
    display:flex;
    flex-direction: column;
    height:100%;

    & > tab-labels > tab-label.is-active {
        border-bottom-color: rgb(63, 101, 234);
    }
   
}


tab-content {
    section-card + section-card {
        margin-top:25px;
    }
}
actions-area {
    display:flex;
    align-items: center;
    gap:20px;
    > a {
        color:var(--lisa-primary-color);
        display:flex;
        align-items: center;
        font-size:13.5px;
        font-weight: 600;
        letter-spacing: 0.2px;
        line-height: 21px;
        padding:0;
        white-space: nowrap;
        text-transform: uppercase;
        cursor:pointer;

        action-icon {
            display:block;
            width:20px;
            height:20px;
            margin-right:4px;
            svg {
                fill:currentColor;
            }
        }
    }
}

dialog-cover {
    display:block;
    opacity:1;
    z-index:0;
    background-color: rgba(0, 25, 50, .12);
    transition: opacity .35s;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

dialog-content {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:30px;
    z-index:1;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

body:has(studio-panel){
    dialog-content {
        justify-content: flex-start;
    }
}

error-area {
    color:var(--lisa-text-color-danger);
    font-size:14.5px;
    font-weight: 480;
    display:block;
    &:empty {
        display:none;
    }
}

form.action-form {
    display:flex;
    min-width:540px;
    max-width: 100%;
    max-height: 100%;
    flex-direction: column;
    
    p {
        font-size:14.5px;
    }

    > header-area {
        display:block;
        background-color: #fff;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-shadow: 0 1px 3px #e0e6e8;
        padding: 25px 60px 25px 25px;
        position: relative;
        title-area {
            align-items: center;
            display: flex;
            font-size: 17px;
            font-weight: 500;
            gap:8px;
        }
    }
    > body-area {
        flex-grow: 1;
        overflow-y:auto;
        display:flex;
        flex-direction: column;
        gap:15px;
        background-color:var(--lisa-page-bg-color);
        padding:15px 30px;

        > data-field[is-input] > label-area {
            padding-bottom:3px;
        }
    }
    > footer-area {
        display: flex;
        gap: 15px;
        justify-content: flex-end;
        background-color: var(--lisa-page-bg-color);
        padding:25px;
    }
}

button.submit-button , input.submit-button{
    display:flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    background-color: var(--lisa-primary-bg-color);
    border-color: var(--lisa-primary-border-color);
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    &[destructive] {
        background-color: var(--lisa-destructive-bg-color);
        border-color: var(--lisa-destructive-border-color);
    }
}

button.cancel-button, input.cancel-button {
    display:flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    color:var(--lisa-text-color);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    &:hover {
        background-color:#e7ebef;
    }
}
input.cancel-button {
    background-color: transparent;
    border:solid 1px var(--lisa-border-color);
    padding:4px 0;
}
button.search-button {
    display:flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    background-color: var(--lisa-primary-bg-color);
    border-color: var(--lisa-primary-border-color);
    border-radius: 3px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    padding:6px 12px;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}


table[data-table] {
    width:100%;
    > thead {
        position:sticky;
        top:0;
        z-index:10;
        > tr {
            > th {
                background-color:var(--lisa-header-bg-color);
                font-size:14px;
                font-weight:610;
                padding:6px 18px;
                text-align: left;
                vertical-align: bottom;
                border-left:solid 1px #fff;
                &:first-child {
                    border-left:none;
                }
                &[shrink]{
                    width:50px;
                }
            }
        }
    }
    > tbody {
        > tr.row {
            cursor:pointer;

            > td {
                background-color:#fff;
                border-top:1px solid var(--lisa-border-color);
                border-left:1px solid var(--lisa-border-color);
                font-size:14.5px;
                padding:8px 18px;
                white-space: nowrap;
                &:first-child {
                    border-left:none;
                }
                &:has(> spacer-row){
                    border-top:none;
                    background-color:var(--lisa-page-bg-color);
                }
                > spacer-row {
                    display:block;
                }
                &[row-selector] {
                    width:10px;
                    padding-right:6px;
                }
                &[row-selector] > div {
                    display:flex;
                    align-items:center;
                    gap:10px;
                }
            }
            &:first-child > td {
                border-bottom:none;
            }
            &:hover > td {
                background-color:#f8f9fa;
            }
            &[is-selected] > td {
                background-color:#d1e2fb
            }
           
        }
        > tr.table-group-header {
            cursor:pointer;

            > td {
                background-color:#fff;
                border-bottom:1px solid var(--lisa-border-color);
                border-left:1px solid var(--lisa-border-color);
                font-size:14.8px;
                padding:8px 18px;
                white-space: nowrap;
                &:first-child {
                    border-left:none;
                }
            }
            &:last-child > td {
                border-bottom:none;
            }
           
        }
        > tr.table-group-spacer {
            > td {
                height:8px;
            }
        }
        > tr.table-group-footer {
            cursor:pointer;

            > td {
                border-top:1px solid var(--lisa-border-color);
                background-color:#fff;
                font-size:14.5px;
                padding:8px 18px;
                white-space: nowrap;
            }
           
        }
    }
    
}

summary-bar {
    display:flex;
    align-items: center;
    column-gap:40px;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap:5px;

    > data-field > label-area {
        font-size:12px;
        text-align: center;   
    }

    > data-field > body-area {
        font-size:19.6px;
        font-weight: 600;
        justify-content: center;
        white-space: nowrap;
    }
}

data-field[is-filter] {
    label-area {
        font-size:13px;
        letter-spacing: 0.35px;
        margin-bottom:3px;
    }
    body-area {
        background-color:#fff;
        border:1px solid var(--lisa-border-color);
        position:relative;
    }
    &:has(field-error) body-area {
        border-color:#ec4f41
    }
    input {
        font-size:14.5px;
        padding:8px;
        color:#e17302;
        font-weight: 520;
        line-height: 1;
        width:100%;
        padding:8px 22px 8px 8px;
    }
    input-clear {
        display:block;
        position: absolute;
        right:0;
        padding:4px;
        opacity: 0.20;
        cursor:pointer;
        &:hover {
            opacity: 1;
        }
        svg {
            width:16px;
            height:16px;
        }
    }
}

.scrollbars {
    &::-webkit-scrollbar {
        width: 8px;
    }
    
    &::-webkit-scrollbar-thumb {
        background: #c8cbd8;
        border-radius: 20px;
    }
    
    &::-webkit-scrollbar-track {
        background: transparent;
    }
}

drop-menu {
    display:block;
    > drop-trigger {
        font-size:12px;
        font-weight: 400;
        cursor:pointer;
    }
    > drop-content {
        display:none;
        position:absolute;
        z-index:8000;
        white-space: nowrap;
        background-color:#fff;
        border-radius:6px;
        border:solid 2px var(--lisa-border-color);
        font-size:14px;
        font-weight: 400;
        box-shadow: 0px 8px 10px 1px rgba(0, 10, 30, .14), 0px 3px 14px 2px rgba(0, 10, 30, .12), 0px 5px 5px -3px rgba(0, 10, 30, .2);
        
        > a {
            display:flex;
            align-items: center;
            padding:12px 15px;
            line-height: 1;
            cursor:pointer;
            gap:6px;
            > svg {
                margin-top:-1px;
                width:16px;
                height:16px;
            }
            &:hover {
                background-color: #f1f6fb;
            }
            action-icon {
                width:16px;
            }
        }
    }
    &.is-open > drop-content {
        display:block;
    }
}

value-badge {
    display:inline-flex;
    align-items: center;
    border-radius: 99px;
    color:var(--lisa-text-color);
    font-size:13px;
    justify-content: center;
    line-height: 1;
    font-weight: 500;
    padding:4px 10px;

    &[color="bright-blue"] {
        background-color:#2d7ff9;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-cyan"] {
        background-color:#18bfff;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-green"] {
        background-color:#20c933;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-red"] {
        background-color:#f82b60;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-teal"] {
        background-color:#20d9d2;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-yellow"] {
        background-color:#fcb400;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-orange"] {
        background-color:#ff6f2c;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-pink"] {
        background-color:#ff08c2;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-purple"] {
        background-color:#8b46ff;
        color:#fff;
        font-weight: 550;
    }
    &[color="bright-gray"] {
        background-color:#666;
        color:#fff;
        font-weight: 550;
    }
    &[color="blue"] {
        background-color:#cfdfff;
        color:#102046;
        font-weight: 550;
    }
    &[color="cyan"] {
        background-color:#d0f0fd;
        color:#04283f;
        font-weight: 550;
    }
    &[color="teal"] {
        background-color:#c2f5e9;
        color:#012524;
        font-weight: 550;
    }
    &[color="green"] {
        background-color:#d1f7ce;
        color:#0b1d05;
        font-weight: 550;
    }
    &[color="yellow"] {
        background-color:#ffeab6;
        color:#3b2501;
        font-weight: 550;
    }
    &[color="orange"] {
        background-color:#fee2d5;
        color:#6b2613;
        font-weight: 550;
    }
    &[color="red"] {
        background-color:#ffdce5;
        color:#4c0c1c;
        font-weight: 550;
    }
    &[color="pink"] {
        background-color:#ffdaf6;
        color:#400832;
        font-weight: 550;
    }
    &[color="purple"] {
        background-color:#ede2fe;
        color:#280b42;
        font-weight: 550;
    }
    &[color="gray"] {
        background-color:#eee;
        color:#040404;
        font-weight: 550;
    }
}
summary-bar value-badge {
    font-size:15px;
    margin-top:2px;
}
td > .value-suffix {
    margin-left:3px;
    font-size:90%;
}

inline-frame {
    display:block;
    page-container {
        overflow:initial;
    }
}
inline-frame[hx-post] {
    display:contents;
    &:empty {
        display:block;
        &::after {
            content:'Loading...'
        }
    }
}

list-view:has(config-panel:empty) {
    margin-right:0;
}

record-view:has(config-panel:empty) {
    margin-right:0;
}
list-view {
    margin-right:350px;
}
record-view {
    margin-right:350px;
}
config-panel {
    display:flex;
    flex-direction:column;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:350px;
    background-color:#fff;
    padding:20px 0;
    &:empty {
        display:none;
    }
    &:has(form[is-editing]){
        .footer-area {
            display:none;
        }
    }
}

.config-launch {
    margin-left:8px;
    &:first-child {
        margin-left:0;
    }
    display:none;
    cursor:pointer;
    opacity:0.85;
    &:hover {
        opacity: 1;
        config-icon {
            opacity:1;
        }
    }
}
config-icon {
    opacity: 0.5;
    
    
    svg {
        width:14px;
        height:14px;
        fill:currentColor;
    }
    path {
        d:path("M19.9 12.66a1 1 0 0 1 0-1.32l1.28-1.44a1 1 0 0 0 .12-1.17l-2-3.46a1 1 0 0 0-1.07-.48l-1.88.38a1 1 0 0 1-1.15-.66l-.61-1.83a1 1 0 0 0-.95-.68h-4a1 1 0 0 0-1 .68l-.56 1.83a1 1 0 0 1-1.15.66L5 4.79a1 1 0 0 0-1 .48L2 8.73a1 1 0 0 0 .1 1.17l1.27 1.44a1 1 0 0 1 0 1.32L2.1 14.1a1 1 0 0 0-.1 1.17l2 3.46a1 1 0 0 0 1.07.48l1.88-.38a1 1 0 0 1 1.15.66l.61 1.83a1 1 0 0 0 1 .68h4a1 1 0 0 0 .95-.68l.61-1.83a1 1 0 0 1 1.15-.66l1.88.38a1 1 0 0 0 1.07-.48l2-3.46a1 1 0 0 0-.12-1.17ZM18.41 14l.8.9-1.28 2.22-1.18-.24a3 3 0 0 0-3.45 2L12.92 20h-2.56L10 18.86a3 3 0 0 0-3.45-2l-1.18.24-1.3-2.21.8-.9a3 3 0 0 0 0-4l-.8-.9 1.28-2.2 1.18.24a3 3 0 0 0 3.45-2L10.36 4h2.56l.38 1.14a3 3 0 0 0 3.45 2l1.18-.24 1.28 2.22-.8.9a3 3 0 0 0 0 3.98Zm-6.77-6a4 4 0 1 0 4 4 4 4 0 0 0-4-4Zm0 6a2 2 0 1 1 2-2 2 2 0 0 1-2 2Z");
    }
    &.icon-close {
        path {
            d:path("M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z")
        }
    }
}
page-container.enable-config {
    .config-launch {
        display:flex;
    }
}
actions-area + config-icon {
    margin-left:0;
}
.collapsible-container {
    > .when-collapsed {
        display:none;
    }
    &.collapsed {
        > .when-expanded {
            display:none;
        }

        > .when-collapsed {
            display: unset;
        }
    }
}
field-icon {
    display:block;
    svg {
        width:16px;
        height:16px;
        fill:currentColor;
    }
}
[icon="sigma"]{
    path {
        d:path("M16,16H10.41l3.3-3.29a1,1,0,0,0,0-1.42L10.41,8H16a1,1,0,0,0,0-2H8a1,1,0,0,0-.92.62,1,1,0,0,0,.21,1.09L11.59,12l-4.3,4.29a1,1,0,0,0-.21,1.09A1,1,0,0,0,8,18h8a1,1,0,0,0,0-2Z")
    }
}
[icon="text"]{
    path {
        d:path("M16,6a1,1,0,0,0-1-1H3A1,1,0,0,0,3,7H8V18a1,1,0,0,0,2,0V7h5A1,1,0,0,0,16,6Zm5,5H15a1,1,0,0,0,0,2h2v5a1,1,0,0,0,2,0V13h2a1,1,0,0,0,0-2Z")
    }
}
[icon="money"]{
    path {
        d:path("M11,9h4a1,1,0,0,0,0-2H13V6a1,1,0,0,0-2,0V7a3,3,0,0,0,0,6h2a1,1,0,0,1,0,2H9a1,1,0,0,0,0,2h2v1a1,1,0,0,0,2,0V17a3,3,0,0,0,0-6H11a1,1,0,0,1,0-2Zm1-8A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,20a9,9,0,1,1,9-9A9,9,0,0,1,12,21Z")
    }
}
[icon="date"]{
    path {
        d:path("M19,4H17V3a1,1,0,0,0-2,0V4H9V3A1,1,0,0,0,7,3V4H5A3,3,0,0,0,2,7V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V7A3,3,0,0,0,19,4Zm1,15a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V12H20Zm0-9H4V7A1,1,0,0,1,5,6H7V7A1,1,0,0,0,9,7V6h6V7a1,1,0,0,0,2,0V6h2a1,1,0,0,1,1,1Z")
    }
}
[icon="equals"]{
    path {
        d:path("M15,13H9a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Zm0-4H9a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2ZM12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z")
    }
}
[icon="check"]{
    path {
        d:path("M18.71,7.21a1,1,0,0,0-1.42,0L9.84,14.67,6.71,11.53A1,1,0,1,0,5.29,13l3.84,3.84a1,1,0,0,0,1.42,0l8.16-8.16A1,1,0,0,0,18.71,7.21Z")
    }
}
[icon="error"]{
    path {
        d:path("M12,16a1,1,0,1,0,1,1A1,1,0,0,0,12,16Zm10.67,1.47-8.05-14a3,3,0,0,0-5.24,0l-8,14A3,3,0,0,0,3.94,22H20.06a3,3,0,0,0,2.61-4.53Zm-1.73,2a1,1,0,0,1-.88.51H3.94a1,1,0,0,1-.88-.51,1,1,0,0,1,0-1l8-14a1,1,0,0,1,1.78,0l8.05,14A1,1,0,0,1,20.94,19.49ZM12,8a1,1,0,0,0-1,1v4a1,1,0,0,0,2,0V9A1,1,0,0,0,12,8Z")
    }
}
[icon="arrows-h"]{
    path {
        d:path("M21.92,11.62a1,1,0,0,0-.21-.33l-4-4a1,1,0,1,0-1.42,1.42L18.59,11H5.41l2.3-2.29A1,1,0,1,0,6.29,7.29l-4,4a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76,1,1,0,0,0,.21.33l4,4a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L5.41,13H18.59l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4a1,1,0,0,0,.21-.33A1,1,0,0,0,21.92,11.62Z")
    }
}
[icon="sort"]{
    path {
        d:path("M16.29,14.29,12,18.59l-4.29-4.3a1,1,0,0,0-1.42,1.42l5,5a1,1,0,0,0,1.42,0l5-5a1,1,0,0,0-1.42-1.42ZM7.71,9.71,12,5.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42l-5-5a1,1,0,0,0-1.42,0l-5,5A1,1,0,0,0,7.71,9.71Z")
    }
}
[icon="light-bulb"]{
    path {
        d:path("M17.45,12.46a7,7,0,0,0-1-9.83,7.09,7.09,0,0,0-5.92-1.4,7,7,0,0,0-4,11.15,4.76,4.76,0,0,1,1.08,2.86v.29A2,2,0,0,0,7,16.93v2a2,2,0,0,0,2,2v1a1,1,0,0,0,2,0v-1h2v1a1,1,0,0,0,2,0v-1a2,2,0,0,0,2-2v-2a2,2,0,0,0-.57-1.4V15.1A4.26,4.26,0,0,1,17.45,12.46ZM9,18.93v-2h6v2Zm6.89-7.72a6.18,6.18,0,0,0-1.46,3.72H9.56a6.67,6.67,0,0,0-1.5-3.78,5,5,0,0,1,2.84-8A5,5,0,0,1,17,8.07,4.92,4.92,0,0,1,15.89,11.21Z")
    }
}
[icon="close"]{
    path {
        d:path("M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z")
    }
}
[icon="search"]{
    path {
        d:path("M21.71,20.29,18,16.61A9,9,0,1,0,16.61,18l3.68,3.68a1,1,0,0,0,1.42,0A1,1,0,0,0,21.71,20.29ZM11,18a7,7,0,1,1,7-7A7,7,0,0,1,11,18Z")
    }
}
[icon="cart"]{
    path {
        d:path("M21.5,15a3,3,0,0,0-1.9-2.78l1.87-7a1,1,0,0,0-.18-.87A1,1,0,0,0,20.5,4H6.8L6.47,2.74A1,1,0,0,0,5.5,2h-2V4H4.73l2.48,9.26a1,1,0,0,0,1,.74H18.5a1,1,0,0,1,0,2H5.5a1,1,0,0,0,0,2H6.68a3,3,0,1,0,5.64,0h2.36a3,3,0,1,0,5.82,1,2.94,2.94,0,0,0-.4-1.47A3,3,0,0,0,21.5,15Zm-3.91-3H9L7.34,6H19.2ZM9.5,20a1,1,0,1,1,1-1A1,1,0,0,1,9.5,20Zm8,0a1,1,0,1,1,1-1A1,1,0,0,1,17.5,20Z")
    }
}
[icon="user"]{
    path {
        d:path("M15.71,12.71a6,6,0,1,0-7.42,0,10,10,0,0,0-6.22,8.18,1,1,0,0,0,2,.22,8,8,0,0,1,15.9,0,1,1,0,0,0,1,.89h.11a1,1,0,0,0,.88-1.1A10,10,0,0,0,15.71,12.71ZM12,12a4,4,0,1,1,4-4A4,4,0,0,1,12,12Z")
    }
}
[icon="truck"]{
    path {
        d:path("M1,12.5v5a1,1,0,0,0,1,1H3a3,3,0,0,0,6,0h6a3,3,0,0,0,6,0h1a1,1,0,0,0,1-1V5.5a3,3,0,0,0-3-3H11a3,3,0,0,0-3,3v2H6A3,3,0,0,0,3.6,8.7L1.2,11.9a.61.61,0,0,0-.07.14l-.06.11A1,1,0,0,0,1,12.5Zm16,6a1,1,0,1,1,1,1A1,1,0,0,1,17,18.5Zm-7-13a1,1,0,0,1,1-1h9a1,1,0,0,1,1,1v11h-.78a3,3,0,0,0-4.44,0H10Zm-2,6H4L5.2,9.9A1,1,0,0,1,6,9.5H8Zm-3,7a1,1,0,1,1,1,1A1,1,0,0,1,5,18.5Zm-2-5H8v2.78a3,3,0,0,0-4.22.22H3Z")
    }
}
[icon="invoice"]{
    path {
        d:path("M13,16H7a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2ZM9,10h2a1,1,0,0,0,0-2H9a1,1,0,0,0,0,2Zm12,2H18V3a1,1,0,0,0-.5-.87,1,1,0,0,0-1,0l-3,1.72-3-1.72a1,1,0,0,0-1,0l-3,1.72-3-1.72a1,1,0,0,0-1,0A1,1,0,0,0,2,3V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V13A1,1,0,0,0,21,12ZM5,20a1,1,0,0,1-1-1V4.73L6,5.87a1.08,1.08,0,0,0,1,0l3-1.72,3,1.72a1.08,1.08,0,0,0,1,0l2-1.14V19a3,3,0,0,0,.18,1Zm15-1a1,1,0,0,1-2,0V14h2Zm-7-7H7a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z")
    }
}
[icon="file-question"]{
    path {
        d:path("M12.57,17.29a1,1,0,0,0-1.41,0,1.06,1.06,0,0,0-.22.33,1.07,1.07,0,0,0,0,.76,1.19,1.19,0,0,0,.22.33,1,1,0,0,0,.32.21,1,1,0,0,0,.39.08,1,1,0,0,0,.92-1.38A.91.91,0,0,0,12.57,17.29ZM20,8.94a1.31,1.31,0,0,0-.06-.27l0-.09a1.07,1.07,0,0,0-.19-.28h0l-6-6h0a1.07,1.07,0,0,0-.28-.19l-.09,0A.88.88,0,0,0,13.05,2H7A3,3,0,0,0,4,5V19a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V9S20,9,20,8.94ZM14,5.41,16.59,8H15a1,1,0,0,1-1-1ZM18,19a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V5A1,1,0,0,1,7,4h5V7a3,3,0,0,0,3,3h3Zm-6.13-9a3,3,0,0,0-2.6,1.5,1,1,0,1,0,1.73,1,1,1,0,0,1,.87-.5,1,1,0,0,1,0,2,1,1,0,1,0,0,2,3,3,0,0,0,0-6Z")
    }
}
[icon="refresh"]{
    path {
        d:path("M19.91,15.51H15.38a1,1,0,0,0,0,2h2.4A8,8,0,0,1,4,12a1,1,0,0,0-2,0,10,10,0,0,0,16.88,7.23V21a1,1,0,0,0,2,0V16.5A1,1,0,0,0,19.91,15.51ZM15,12a3,3,0,1,0-3,3A3,3,0,0,0,15,12Zm-4,0a1,1,0,1,1,1,1A1,1,0,0,1,11,12ZM12,2A10,10,0,0,0,5.12,4.77V3a1,1,0,0,0-2,0V7.5a1,1,0,0,0,1,1h4.5a1,1,0,0,0,0-2H6.22A8,8,0,0,1,20,12a1,1,0,0,0,2,0A10,10,0,0,0,12,2Z")
    }
}
[icon="database"]{
    path {
        d:path("M8,16.5a1,1,0,1,0,1,1A1,1,0,0,0,8,16.5ZM12,2C8,2,4,3.37,4,6V18c0,2.63,4,4,8,4s8-1.37,8-4V6C20,3.37,16,2,12,2Zm6,16c0,.71-2.28,2-6,2s-6-1.29-6-2V14.73A13.16,13.16,0,0,0,12,16a13.16,13.16,0,0,0,6-1.27Zm0-6c0,.71-2.28,2-6,2s-6-1.29-6-2V8.73A13.16,13.16,0,0,0,12,10a13.16,13.16,0,0,0,6-1.27ZM12,8C8.28,8,6,6.71,6,6s2.28-2,6-2,6,1.29,6,2S15.72,8,12,8ZM8,10.5a1,1,0,1,0,1,1A1,1,0,0,0,8,10.5Z")
    }
}
[icon="notes"]{
    path {
        d:path("M16,14H8a1,1,0,0,0,0,2h8a1,1,0,0,0,0-2Zm0-4H10a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Zm4-6H17V3a1,1,0,0,0-2,0V4H13V3a1,1,0,0,0-2,0V4H9V3A1,1,0,0,0,7,3V4H4A1,1,0,0,0,3,5V19a3,3,0,0,0,3,3H18a3,3,0,0,0,3-3V5A1,1,0,0,0,20,4ZM19,19a1,1,0,0,1-1,1H6a1,1,0,0,1-1-1V6H7V7A1,1,0,0,0,9,7V6h2V7a1,1,0,0,0,2,0V6h2V7a1,1,0,0,0,2,0V6h2Z")
    }
}
[icon="barchart"]{
    path {
        d: path("M21,20H20V5a1,1,0,0,0-2,0V20H16V13a1,1,0,0,0-2,0v7H12V9a1,1,0,0,0-2,0V20H8V17a1,1,0,0,0-2,0v3H4V3A1,1,0,0,0,2,3V21a1,1,0,0,0,1,1H21a1,1,0,0,0,0-2Z")
    }
}
[icon="home"]{
    path {
        d: path("M21.66,10.25l-9-8a1,1,0,0,0-1.32,0l-9,8a1,1,0,0,0-.27,1.11A1,1,0,0,0,3,12H4v9a1,1,0,0,0,1,1H19a1,1,0,0,0,1-1V12h1a1,1,0,0,0,.93-.64A1,1,0,0,0,21.66,10.25ZM13,20H11V17a1,1,0,0,1,2,0Zm5,0H15V17a3,3,0,0,0-6,0v3H6V12H18ZM5.63,10,12,4.34,18.37,10Z")
    }
}
[icon="calendar"]{
    path {
        d: path("M19,4H17V3a1,1,0,0,0-2,0V4H9V3A1,1,0,0,0,7,3V4H5A3,3,0,0,0,2,7V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V7A3,3,0,0,0,19,4Zm1,15a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V12H20Zm0-9H4V7A1,1,0,0,1,5,6H7V7A1,1,0,0,0,9,7V6h6V7a1,1,0,0,0,2,0V6h2a1,1,0,0,1,1,1Z")
    }
}



.scroll-gradient {
    background: 
      linear-gradient(#ffffff 33%, rgba(255,255,255, 0)),
      linear-gradient(rgba(255,255,255, 0), #ffffff 66%) 0 100%,
      radial-gradient(farthest-side at 50% 0, rgba(102,102,102, 0.5), rgba(0,0,0,0)),
      radial-gradient(farthest-side at 50% 100%, rgba(102,102,102, 0.5), rgba(0,0,0,0)) 0 100%;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
    background-size: 100% 24px, 100% 24px, 100% 5px, 100% 5px;
  }

  .RT-Stackable-Container__closetab.stackable-lisa {
    background-color: var(--lisa-page-bg-color);
  }

  selected-row-count {
    display:block;
    visibility: hidden;
    align-items: center;
    white-space: nowrap;
    &[selected-count] {
        visibility:visible;
        &::before {
            content:attr(selected-count);
            font-weight: 650;
        }
    }
    [when-one]{
        display:none;
    }
    &[selected-count="1"] {
        [when-many] {
            display:none;
        }
        [when-one] {
            display:inline;
        }
    }
    
  }

  system-error {
    position:fixed;
    display:block;
    background-color:var(--lisa-page-bg-color);
    padding:30px 60px 30px 30px;

    top:0;
    left:0;
    right:0;
    z-index:60000;
    border-bottom:solid 3px var(--lisa-destructive-bg-color);
    
    &:empty {
        display:none;
    }
  }

  activity-feed {
    display:flex;
    flex-direction: column;
    gap:5px;
    padding-right:10px;
  }

  activity-message {
    display:block;
    letter-spacing: 0.25px;
    > body-area {
        display:block;
        section-heading {
            display:block;
            font-size:15.2px;
            font-weight: 550;
            margin-bottom:8px;
            value-badge {
                margin-left:8px;
            }
        }
        flex-row {
            gap:30px;
            margin-bottom:5px;
            background-color:#fff;
            padding:10px 20px;
        }
        a {
            color:var(--lisa-primary-color);
            cursor:pointer;
            font-weight: 560;
            &:hover {
                text-decoration: underline;
            }
        }
    }
    > footer-area {
        margin-top:6px;
        display:flex;
        align-items: center;
        justify-content: flex-end;
        font-size:12.5px;
        font-weight:470;
        bullet-sep {
            margin-left:6px;
            margin-right:6px;
        }
        user-initials {
            width: 22px;
            height: 22px;
            background-color: #a3acb5;
            color: #fff;
            display: flex;
            line-height: 1;
            align-items: center;
            justify-content: center;
            border-radius: 99px;
            margin-right: 5px;
            font-weight: 500;
        }
    }
  }



  bullet-sep {
    display:inline-block;
    &::after {
        content:'\2022'
    }
  }

  note-list {
    display:flex;
    flex-direction: column;
    padding-right:10px;
    > actions-area {
        margin-bottom:25px;
    }
    > body-area {
        gap:15px;
        display:flex;
        flex-direction: column;
    }
  }

  note-message {
    display:block;
    letter-spacing: 0.25px;
    > title-area {
        display:flex;
        font-size:15.2px;
        font-weight: 550;
        margin-bottom:8px;
        > actions-area {
            margin-left:auto;
            align-self:flex-end;
        }
      }
    > body-area {
        display:block;
        background-color:#fff;
        padding:8px 20px;
     }
     > footer-area {
        margin-top:2px;
        display:flex;
        align-items: center;
        justify-content: flex-end;
        font-size:12.5px;
        font-weight:470;
        bullet-sep {
            margin-left:6px;
            margin-right:6px;
        }
     }
  }
 

text-card {
    display:block;
    > body-area {
        display:flex;
        padding:10px 20px;
        gap:5px 25px;
        flex-wrap:wrap;

        > line-break,br {
            height:0;
            width:100%;
        }
    }
  
}

radio-tabs {
    display:block;
    > labels-area {
        display:flex;
        align-items: center;
        gap:15px;
        margin-bottom:20px;
        > div {
            display:flex;
            align-items: center;
        }
        label {
            margin-bottom:0;
            font-size:14px;
            line-height: 1;
            padding:5px;
            display:block;
            margin-top:0;
        }
    }
    > body-area {
        display:block;
    }
}

layer-container {
    display:block;
    > layer-body {
        display:block;
        position:absolute;
        top:0;
        left:0;
        right:0;
        bottom:0;
        z-index:1;
       
    }
    &[lisa\:layer="stack"] > layer-body {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
        > horizontal-sizer  {
            position:absolute;
            top:0;
            left:0;
            width:12px;
            bottom:0;
            cursor:ew-resize;
            border-left:solid 2px var(--lisa-header-bg-color);
            z-index:5;
        }
    }
    > layer-child-area {
        &:empty {
            display:none;
        }

    }
    > layer-child-area{
        position:absolute;
        top:0;
        left:180px;
        right:0;
        bottom:0;
        z-index:10;
    }
   
    layer-controls {
        display:none;
    }
    layer-child-area layer-body > layer-controls {
        display:block;
        position:absolute;
        right:18px;
        top:5px;
        display:flex;
        align-items: center;
        z-index:50;
        .layer-close {
            padding:8px;
            cursor: pointer;
            background-color:#fff;
            border-radius:99px;
            svg {
                width:20px;
                height:20px;
                fill:currentColor;
            }
        }
    }
   
}

workspace-tabs {
    display:flex;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
  
    > labels-area {
        > title-area {
            font-size:18px;
            font-weight: 620;
            padding:0 25px 10px 25px;
        }
        display:flex;
        flex-direction: column;
        padding:20px 10px;
        background-color:#fff;
    }
    > body-area {
        flex-grow:1;
        position:relative;
    }
}
.workspace-tab {
    padding:8px 25px;
    border-radius: 6px;
    display:flex;
    align-items: center;
    gap:10px;
    &.is-active {
        background-color:#e7eff6;
        font-weight: 630;
    }

    icon-area svg {
        width:20px;
        height:20px;
        fill:currentColor;
    }
    label-area {
        font-size:14.5px;
        font-weight: 550;
    }
}
bullet-separator {
    display:inline-block;
    margin-left:3px;
    margin-right:3px;
    &::after {
        content:'\2022'
    }
}
drop-trigger {
    width:8px;
    height:8px;
    border-style:solid;
    border-width:4px;
    border-color:currentColor transparent transparent transparent;
}

note-row {
    display:flex;
    gap:18px;
    align-items: center;
    background-color:var(--lisa-page-bg-color);
   
    padding:6px 0px;
    > value-badge {
        font-size:10px;
        text-transform: uppercase;
        min-width:80px;
    }
    > body-area {
        display:block;
        font-size:13.5px;
        font-weight: 480;
        flex-grow:1;
        white-space:pre-wrap;
        label-area {
            display:block;
            white-space: nowrap;
            font-size:10px;
            text-transform: uppercase;
            font-weight: 620;
            line-height: 1.15;
            color:var(--lisa-label-color);
        }
    }
}

td > note-row {
    margin:-8px -18px;
    padding:6px 18px;
}
.CodeMirror {
    height: 100%;
    font-size:13.5px;
    font-weight:480;
    font-family: 'Source Code Pro';

    .CodeMirror-linenumber{
        color: var(--lisa-text-color);
    }

    .CodeMirror-gutters {
        background-color: var(--lisa-header-bg-color);
    }
    pre.CodeMirror-line, pre.CodeMirror-line-like {
        padding: 0 12px;
    }

}

studio-panel {

    position:absolute;
    bottom:0;
    left:0;
    right:0;
    max-height:60vh;
    display:flex;
    flex-direction: column;
    p {
        font-size:14.5px;
    }
    form {
        flex-grow:1;
        overflow-y:hidden;
        display:flex;
        flex-direction: column;
        > header-area {
            display:block;
            background-color: #fff;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            box-shadow: 0 1px 3px #e0e6e8;
            padding: 10px 60px 10px 25px;
            position: relative;
            z-index:10;
            & > title-area {
                align-items: center;
                display: flex;
                font-size: 17px;
                font-weight: 500;
            }
        }
        > body-area {
            flex-grow: 1;
            overflow-y:hidden;
            display:flex;
            gap:15px;
            background-color:var(--lisa-page-bg-color);
            padding:15px 30px;

            code-editor {
                flex-grow:1;
            }
        }
        > footer-area {
            display: flex;
            gap: 15px;
            justify-content: flex-end;
            background-color: var(--lisa-page-bg-color);
            padding:15px 25px 15px 25px;
        }
    }
}

tab-table {
    display:flex;
    overflow: hidden;
    flex-direction: column;
    > actions-area {
        justify-content: flex-end;
        padding-bottom:10px;
    }
    > body-area {
        display:block;
        overflow-y:auto;
    }
}

model-explorer {
    width:300px;
    display:flex;
    flex-direction: column;
    
    > title-area {
        
        font-size:14.5px;
        font-weight: 580;
        padding:6px;
        > subtitle-area {
            font-size: 12px;
            min-height: 15px;
            margin-bottom: 0px;
            font-weight: 500;
            letter-spacing: 0.6px;
            color: var(--lisa-label-color);
            white-space: nowrap;
            line-height: 1.2;
            display:block;
        }
    }
}

schema-column {
    display:block;
    padding:4px 6px;
    > label-area {
        font-size:13px;
        font-weight:490;
        display:flex;
        align-items:center;
        gap:7px;
        line-height:1;
    }
}

schema-relationship {
    display:flex;
    align-items:center;
    gap:4px;
    padding:5px 0;
    cursor:pointer;
    font-size:13.5px;
    font-weight: 580;
}

screen-load-error {
    display:block;
    background-color:var(--lisa-page-bg-color);
    .action-link {
        color:var(--lisa-primary-color);
        text-transform: uppercase;
        font-weight: 600;
        font-size:14px;
        cursor:pointer;
    }
}

dialog-content > screen-load-error {
    min-width:400px;
}

screen-not-found {
    display:block;
    background-color:var(--lisa-page-bg-color);
    .action-link {
        color:var(--lisa-primary-color);
        text-transform: uppercase;
        font-weight: 600;
        font-size:14px;
        cursor:pointer;
    }
}
dialog-content > screen-not-found {
    min-width:480px;
    max-width: 100%;
}

source-code-block {
    display:block;
    border:solid 2px var(--lisa-border-color);
    padding-right:20px;

    source-code-line {
        display:flex;
        align-items: center;
        gap:6px;
        font-family: 'Source Code Pro';
        font-size:14px; 
        .line-number {
            background-color:var(--lisa-header-bg-color);
            font-weight: 550;
            width:40px;
            text-align: right;
            padding:0 4px;
        }
    }
    pre {
        font-family: 'Source Code Pro';
        font-size:14px; 
    }
    .error-line {
        pre {
            text-decoration-style: wavy;
            text-decoration-thickness: 1px;
            text-decoration-color: var(--lisa-destructive-bg-color);
            text-decoration-line: underline;
        }
        font-weight: 600;
        .line-number {
            font-weight: 700;
            color:var(--lisa-destructive-bg-color);
            background-color: #fdefee;
        }
    }
}

tally-str {
    display:block;
    span[v-pcs] {
        font-weight:570;
        margin-right:2px;
    }
    span + span[v-pcs] {
        margin-left:5px;
    }
}

value-bar {
    display:flex;
    align-items:center;
    gap:15px;
    > div {
        background-color: #cfdfff;
        height: 14px;
    }
    
}

page-view {
    > body-area {
        white-space:pre-line;
        background-color:var(--lisa-page-bg-color);
        padding:30px 50px;
        display:block;
        height:100%;
        overflow:auto;
        > h1 {
            font-size:32px;
            font-weight:600;
            display:inline-block;
        }
        > h2 {
            font-size:22px;
            font-weight:550;
            display:inline-block;
        }
        > h3 {
            font-size:18px;
            font-weight:550;
            display:inline-block;
        }
        code {
            font-family:'Source Code Pro';
            display:inline-block;
            padding:0 4px;
            border-radius:4px;
            font-weight:550;
            font-size:13.5px;
            border:solid 1px var(--lisa-border-color);
            background-color:#fefeff;
        }
        a {
            color: var(--lisa-primary-color);
            cursor: pointer;
        }
    }
}

screen-content {
    white-space:normal;
}
nav {
    padding-top:30px;
    background-color:#fff;
    a
    {
        display: block;
        padding: 8px 25px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14.5px;
        font-weight: 550;
    > action-icon {
            svg {
                width:20px;
                height:20px;
                fill:currentColor;
            }
        }
    }
}

article {
    display:block;
    background-color:#fff;
    padding:10px 25px 0 25px;
    border:solid 1px var(--lisa-border-color);
    border-radius:6px;
    > title-area {
        display:block;
        a {        
            font-size: 20px;
            font-weight:500;
            color:currentColor;
        }
        
    }
    > body-area {
        display:block;
        padding-top:5px;
        padding-bottom:10px;
    }
    > footer-area {
        display:block;
        border-top:solid 1px var(--lisa-border-color);
        margin:0 -25px;
        padding:8px 25px;
        color:var(--lisa-label-color);
        font-size:13px;
    }
}
article-list {
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:10px 0;
}