/* ========================================= */
/* 3DEDITOR — GLOBAL THEME                   */
/* ========================================= */

:root {

    color-scheme: dark;

    --background: #14171d;

    --background-deep: #101319;

    --panel: #191e26;

    --panel-light: #1e242e;

    --panel-hover: #252d39;

    --viewport: #171c24;

    --border: #303845;

    --border-subtle: #282f3a;

    --text: #e5eaf2;

    --text-secondary: #9ca8b8;

    --text-muted: #687587;

    --accent: #78aaff;

    --accent-hover: #91baff;

    --accent-dark: #253d60;

    --success: #6ccea0;

    --warning: #e9bd70;

    --danger: #e47e82;

    --topbar-height: 48px;


    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

}


/* ========================================= */
/* RESET                                     */
/* ========================================= */

* {

    box-sizing: border-box;

}


html,
body {

    margin: 0;

    padding: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

    background: var(--background);

    color: var(--text);

}


body {

    font-size: 12px;

    user-select: none;

}


button {

    font: inherit;

    color: inherit;

    cursor: pointer;

    border: none;

    outline: none;

}


button:focus-visible {

    outline: 1px solid var(--accent);

    outline-offset: 2px;

}


button:disabled {

    cursor: not-allowed;

    opacity: 0.4;

}


input,
textarea {

    font: inherit;

}


::selection {

    background: rgba(120, 170, 255, 0.3);

    color: white;

}


::-webkit-scrollbar {

    width: 7px;

    height: 7px;

}


::-webkit-scrollbar-track {

    background: transparent;

}


::-webkit-scrollbar-thumb {

    background: #394454;

    border-radius: 10px;

}


::-webkit-scrollbar-thumb:hover {

    background: #53647a;

}


.hidden {

    display: none !important;

}


/* ========================================= */
/* APPLICATION ROOT                         */
/* ========================================= */

#app-shell {

    width: 100%;

    height: 100dvh;

    min-width: 800px;

    min-height: 520px;

    display: grid;

    grid-template-rows:
        var(--topbar-height)
        minmax(0, 1fr);

    background: var(--background);

    overflow: hidden;

}


/* ========================================= */
/* TOP TOOLBAR                              */
/* ========================================= */

.topbar {

    height: var(--topbar-height);

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 14px;

    background: #191e26;

    border-bottom: 1px solid var(--border);

    z-index: 20;

}


.brand {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

}


.brand-icon {

    width: 29px;

    height: 29px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #273c59;

    border: 1px solid #3f6490;

    color: #a9ceff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: -0.5px;

    border-radius: 5px;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

    gap: 2px;

}


.brand-text strong {

    font-size: 12px;

    font-weight: 750;

    letter-spacing: 0.5px;

}


.brand-text span {

    font-size: 8px;

    color: var(--text-secondary);

    letter-spacing: 1.6px;

}


.toolbar-divider {

    width: 1px;

    height: 24px;

    background: var(--border);

    margin: 0 3px;

}


.topbar-spacer {

    flex: 1;

}


.project-name {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 12px;

    color: var(--text-secondary);

    font-size: 11px;

    white-space: nowrap;

}


.project-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--success);

}


.toolbar-button {

    height: 29px;

    padding: 0 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background: transparent;

    border: 1px solid var(--border);

    border-radius: 4px;

    font-size: 11px;

    white-space: nowrap;

}


.toolbar-button:hover:not(:disabled) {

    background: var(--panel-hover);

    border-color: #455368;

}


.primary-button {

    background: #315889;

    border-color: #4878b5;

    color: white;

}


.primary-button:hover:not(:disabled) {

    background: #3b6ba3;

    border-color: #6497d5;

}


.button-icon {

    font-size: 15px;

}


/* ========================================= */
/* MENU BAR                                  */
/* ========================================= */

.menu-bar {

    display: flex;

    align-items: center;

    gap: 2px;

    height: 100%;

}


.menu-wrapper {

    position: relative;

    height: 100%;

    display: flex;

    align-items: center;

}


.menu-trigger {

    height: 29px;

    padding: 0 10px;

    color: var(--text-secondary);

    background: transparent;

    border-radius: 4px;

    font-size: 11px;

}


.menu-trigger:hover:not(:disabled) {

    color: white;

    background: var(--panel-hover);

}


.disabled-menu {

    opacity: 0.35;

}


.menu-dropdown {

    display: none;

    position: absolute;

    z-index: 100;

    top: calc(100% - 3px);

    left: 0;

    width: 218px;

    padding: 5px;

    background: #202631;

    border: 1px solid #414b59;

    border-radius: 5px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);

}


.menu-dropdown.open {

    display: block;

}


.menu-item {

    width: 100%;

    min-height: 31px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 9px;

    text-align: left;

    font-size: 11px;

    color: var(--text);

    background: transparent;

    border-radius: 3px;

}


.menu-item:hover:not(:disabled) {

    background: #303b4c;

}


.menu-item span {

    color: var(--text-muted);

    font-size: 10px;

}


.menu-item:disabled {

    opacity: 0.4;

}


.menu-separator {

    height: 1px;

    background: var(--border);

    margin: 5px 3px;

}


.menu-section-label {

    display: block;

    padding: 8px 9px 5px;

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 1px;

}


.menu-note {

    display: block;

    padding: 7px 9px;

    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.5;

}


/* ========================================= */
/* MAIN WORKSPACE                            */
/* ========================================= */

.app-main {

    min-height: 0;

    min-width: 0;

    display: grid;

    grid-template-columns:
        248px
        minmax(0, 1fr)
        282px;

    grid-template-rows:
        minmax(0, 1fr)
        126px;

    overflow: hidden;

}


.left-sidebar {

    grid-column: 1;

    grid-row: 1;

}


.viewport-panel {

    grid-column: 2;

    grid-row: 1;

}


.right-sidebar {

    grid-column: 3;

    grid-row: 1;

}


.timeline-dock {

    grid-column: 1 / -1;

    grid-row: 2;

    min-width: 0;

}


/* ========================================= */
/* PANELS                                    */
/* ========================================= */

.panel {

    min-height: 0;

    min-width: 0;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: var(--panel);

}


.left-sidebar {

    border-right: 1px solid var(--border);

}


.right-sidebar {

    border-left: 1px solid var(--border);

}


.panel-heading {

    height: 55px;

    min-height: 55px;

    padding: 0 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--border-subtle);

}


.panel-heading > div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.panel-title {

    font-size: 10px;

    font-weight: 750;

    letter-spacing: 1.3px;

}


.panel-subtitle {

    font-size: 10px;

    color: var(--text-muted);

}


.panel-indicator {

    width: 7px;

    height: 7px;

    background: var(--success);

    border-radius: 50%;

}


.inspector-icon {

    color: var(--text-secondary);

    font-size: 17px;

}


/* ========================================= */
/* SIDEBAR TABS                              */
/* ========================================= */

.sidebar-tabs {

    height: 39px;

    min-height: 39px;

    display: flex;

    align-items: stretch;

    border-bottom: 1px solid var(--border);

    padding: 0 6px;

    gap: 2px;

}


.sidebar-tab {

    flex: 1;

    padding: 0 4px;

    background: transparent;

    color: var(--text-muted);

    font-size: 10px;

    position: relative;

    white-space: nowrap;

}


.sidebar-tab:hover {

    color: var(--text);

    background: rgba(255, 255, 255, 0.025);

}


.sidebar-tab.active {

    color: var(--accent);

}


.sidebar-tab.active::after {

    content: "";

    position: absolute;

    bottom: -1px;

    left: 4px;

    right: 4px;

    height: 2px;

    background: var(--accent);

}


.sidebar-content {

    flex: 1;

    min-height: 0;

    overflow: auto;

    padding: 7px 0;

}


.sidebar-footer {

    height: 25px;

    min-height: 25px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 0 12px;

    border-top: 1px solid var(--border-subtle);

    font-size: 8px;

    letter-spacing: 1px;

    color: var(--text-muted);

}


.connection-dot {

    width: 5px;

    height: 5px;

    background: var(--success);

    border-radius: 50%;

}


/* ========================================= */
/* VIEWPORT                                  */
/* ========================================= */

.viewport-panel {

    min-width: 0;

    min-height: 0;

    position: relative;

    overflow: hidden;

    background: var(--viewport);

}


.viewport-stage {

    position: absolute;

    inset: 0;

    overflow: hidden;

    background: var(--viewport);

}


.viewport-canvas {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    display: block;

    z-index: 0;

    outline: none;

}


/* ========================================= */
/* VIEWPORT OVERLAYS                         */
/* ========================================= */

.viewport-overlay {

    position: absolute;

    z-index: 3;

    top: 13px;

    display: flex;

    align-items: center;

    gap: 8px;

}


.viewport-top-left {

    left: 14px;

    flex-direction: column;

    align-items: flex-start;

}


.viewport-top-right {

    right: 13px;

    padding: 5px;

    background: rgba(24, 30, 40, 0.88);

    border: 1px solid rgba(92, 108, 130, 0.25);

    border-radius: 5px;

}


.viewport-label {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #d8e2f0;

    font-size: 9px;

    letter-spacing: 1px;

    font-weight: 700;

}


.viewport-label-dot {

    width: 6px;

    height: 6px;

    background: var(--accent);

    border-radius: 50%;

}


.viewport-camera-label {

    color: var(--text-muted);

    font-size: 8px;

    letter-spacing: 1px;

    padding-left: 13px;

}


.viewport-icon-button {

    width: 27px;

    height: 27px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: transparent;

    color: var(--text-muted);

    font-size: 16px;

    border-radius: 3px;

}


.viewport-icon-button:hover {

    background: var(--panel-hover);

    color: white;

}


.viewport-icon-button.active {

    color: var(--accent);

    background: rgba(120, 170, 255, 0.1);

}


.viewport-divider {

    height: 18px;

    width: 1px;

    background: var(--border);

}


/* ========================================= */
/* EMPTY VIEWPORT                            */
/* ========================================= */

.empty-state {

    position: absolute;

    z-index: 2;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: min(360px, 90%);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    pointer-events: none;

}


.empty-icon {

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #394b63;

    border-radius: 12px;

    background: rgba(43, 62, 88, 0.25);

    color: #83b4ff;

    font-size: 37px;

    margin-bottom: 17px;

}


.empty-state h2 {

    margin: 0 0 8px;

    font-size: 16px;

    font-weight: 650;

    letter-spacing: 0.2px;

}


.empty-state p {

    max-width: 265px;

    color: var(--text-secondary);

    line-height: 1.6;

    font-size: 11px;

    margin: 0 0 16px;

}


.empty-import-button {

    height: 34px;

    padding: 0 15px;

    background: #315889;

    border: 1px solid #517eb7;

    border-radius: 4px;

    color: white;

    font-size: 11px;

    pointer-events: auto;

}


.empty-import-button:hover {

    background: #3e6da4;

}


.empty-import-button span {

    font-size: 15px;

    margin-right: 7px;

}


.empty-supported {

    margin-top: 15px;

    font-size: 8px;

    letter-spacing: 1px;

    color: var(--text-muted);

}


.empty-state.hidden {

    display: none;

}


/* ========================================= */
/* DRAG AND DROP                             */
/* ========================================= */

.drop-overlay {

    position: absolute;

    z-index: 8;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    background: rgba(24, 42, 65, 0.9);

    border: 2px dashed var(--accent);

    pointer-events: none;

}


.drop-overlay.visible {

    display: flex;

}


.drop-overlay-inner {

    text-align: center;

}


.drop-overlay-icon {

    font-size: 45px;

    color: var(--accent);

    margin-bottom: 10px;

}


.drop-overlay h2 {

    font-size: 19px;

    margin: 0 0 8px;

}


.drop-overlay p {

    color: var(--text-secondary);

    font-size: 11px;

}


/* ========================================= */
/* VIEWPORT HELP                             */
/* ========================================= */

.viewport-help {

    position: absolute;

    z-index: 2;

    bottom: 35px;

    left: 14px;

    display: flex;

    gap: 13px;

    color: var(--text-muted);

    font-size: 9px;

}


.viewport-help span {

    display: flex;

    align-items: center;

    gap: 5px;

}


kbd {

    background: #242c37;

    border: 1px solid #3b4757;

    padding: 2px 5px;

    border-radius: 3px;

    color: #a9b7c9;

    font-size: 8px;

}


/* ========================================= */
/* VIEWPORT STATUS BAR                       */
/* ========================================= */

.viewport-statusbar {

    position: absolute;

    z-index: 5;

    left: 0;

    right: 0;

    bottom: 0;

    height: 23px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 11px;

    background: rgba(25, 30, 38, 0.95);

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 0.4px;

}


.status-left,
.status-right {

    display: flex;

    align-items: center;

    gap: 8px;

}


.status-live-dot {

    width: 5px;

    height: 5px;

    background: var(--success);

    border-radius: 50%;

}


.status-divider {

    color: #455061;

}


/* ========================================= */
/* HIERARCHY                                 */
/* ========================================= */

.sidebar-section-heading {

    height: 28px;

    display: flex;

    align-items: center;

    padding: 0 12px;

    color: var(--text-muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

}


.hierarchy-asset-block {

    margin-bottom: 4px;

}


.hierarchy-row {

    min-height: 25px;

    display: flex;

    align-items: center;

    padding-right: 8px;

}


.hierarchy-row:hover {

    background: rgba(255, 255, 255, 0.035);

}


.hierarchy-twisty {

    width: 18px;

    height: 24px;

    flex-shrink: 0;

    background: transparent;

    color: #79879a;

    font-size: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.hierarchy-twisty:hover {

    color: white;

}


.hierarchy-twisty-spacer {

    width: 18px;

    flex-shrink: 0;

}


.hierarchy-select-button {

    flex: 1;

    min-width: 0;

    height: 24px;

    display: flex;

    align-items: center;

    gap: 7px;

    text-align: left;

    background: transparent;

    padding: 0 5px;

    border-radius: 3px;

}


.hierarchy-select-button:hover {

    background: rgba(110, 150, 205, 0.09);

}


.hierarchy-select-button.selected {

    background: rgba(83, 139, 210, 0.2);

    color: #a7ceff;

}


.tree-object-icon {

    width: 14px;

    flex-shrink: 0;

    color: #9eafc4;

    text-align: center;

    font-size: 11px;

}


.bone-icon {

    color: #d9b77c;

}


.hierarchy-object-name {

    min-width: 0;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 10px;

    color: inherit;

}


.hierarchy-select-button.selected .tree-object-icon {

    color: var(--accent);

}


/* ========================================= */
/* SCENE OBJECTS                             */
/* ========================================= */

.scene-object-row {

    min-height: 31px;

    display: flex;

    align-items: center;

    padding: 0 8px;

    gap: 4px;

}


.scene-object-select {

    flex: 1;

    min-width: 0;

    height: 27px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 5px;

    text-align: left;

    background: transparent;

    border-radius: 3px;

}


.scene-object-select:hover,
.scene-object-select.selected {

    background: rgba(120, 170, 255, 0.1);

}


.scene-object-name {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 10px;

}


.visibility-button {

    width: 27px;

    height: 27px;

    border-radius: 3px;

    color: var(--text-secondary);

    background: transparent;

}


.visibility-button:hover {

    color: white;

    background: var(--panel-hover);

}


/* ========================================= */
/* ASSETS                                    */
/* ========================================= */

.asset-card {

    width: calc(100% - 16px);

    min-height: 63px;

    display: flex;

    align-items: center;

    gap: 11px;

    margin: 4px 8px;

    padding: 9px;

    background: #1d242e;

    border: 1px solid var(--border-subtle);

    border-radius: 4px;

    text-align: left;

}


.asset-card:hover {

    background: #242d39;

    border-color: #465b77;

}


.asset-card.selected {

    border-color: #527fb8;

    background: rgba(75, 123, 184, 0.13);

}


.asset-card-icon {

    width: 36px;

    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #2b3d53;

    color: #93bafa;

    font-size: 20px;

    border-radius: 4px;

}


.asset-card-information {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.asset-card-information strong {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 10px;

}


.asset-card-information span {

    color: var(--text-muted);

    font-size: 9px;

}


.asset-card-information .asset-r6-compatible {

    color: var(--success);

}


.asset-card-information .asset-r6-unknown {

    color: var(--text-muted);

}


/* ========================================= */
/* ANIMATION CARDS                           */
/* ========================================= */

.imported-animation-card {

    min-height: 60px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 9px;

    margin: 4px 8px;

    background: #1e2530;

    border: 1px solid var(--border-subtle);

    border-radius: 4px;

}


.imported-animation-icon {

    width: 34px;

    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #9bbdff;

    background: #2a3b54;

    border-radius: 4px;

    font-size: 19px;

}


.imported-animation-information {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.imported-animation-information strong {

    font-size: 10px;

}


.imported-animation-information span {

    font-size: 9px;

    color: var(--text-muted);

}


/* ========================================= */
/* INSPECTOR                                 */
/* ========================================= */

.properties-content {

    flex: 1;

    min-height: 0;

    overflow: auto;

    padding: 0 0 15px;

}


.inspector-empty {

    padding: 45px 22px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}


.inspector-empty-icon {

    font-size: 37px;

    color: #607d9f;

    margin-bottom: 13px;

}


.inspector-empty strong {

    font-size: 12px;

    margin-bottom: 8px;

}


.inspector-empty p {

    color: var(--text-muted);

    line-height: 1.6;

    font-size: 10px;

    max-width: 205px;

}


.inspector-object-header {

    min-height: 69px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 12px 14px;

    border-bottom: 1px solid var(--border);

}


.inspector-object-icon {

    width: 36px;

    height: 36px;

    background: #26394e;

    border: 1px solid #3d5878;

    color: #91bcf5;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 5px;

    font-size: 19px;

}


.inspector-object-information {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.inspector-object-information strong {

    font-size: 12px;

    overflow-wrap: anywhere;

}


.inspector-object-information span {

    font-size: 10px;

    color: var(--text-muted);

}


/* ========================================= */
/* PROPERTY SECTIONS                         */
/* ========================================= */

.property-section {

    border-bottom: 1px solid var(--border-subtle);

    padding-bottom: 11px;

}


.property-section-heading {

    padding: 14px 13px 10px;

    font-size: 9px;

    font-weight: 750;

    letter-spacing: 1px;

    color: #9cabc0;

}


.property-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    min-height: 27px;

    padding: 3px 13px;

}


.property-label {

    color: var(--text-muted);

    font-size: 10px;

}


.property-value {

    color: #c7d0de;

    font-size: 10px;

    text-align: right;

    overflow-wrap: anywhere;

    max-width: 150px;

}


.property-vector {

    padding: 7px 13px;

}


.vector-values {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 5px;

    margin-top: 7px;

}


.vector-component {

    height: 27px;

    display: flex;

    align-items: center;

    border: 1px solid var(--border);

    background: #171c24;

    border-radius: 3px;

    overflow: hidden;

}


.vector-component span {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 100%;

}


.axis-x {

    width: 21px;

    color: #e48c92;

    border-right: 1px solid var(--border);

    font-size: 9px;

}


.axis-y {

    width: 21px;

    color: #80d1a6;

    border-right: 1px solid var(--border);

    font-size: 9px;

}


.axis-z {

    width: 21px;

    color: #82aafa;

    border-right: 1px solid var(--border);

    font-size: 9px;

}


.vector-number {

    flex: 1;

    color: #d1d9e5;

    font-size: 9px;

    font-variant-numeric: tabular-nums;

}


.inspector-notice {

    margin: 12px;

    padding: 9px;

    background: rgba(120, 170, 255, 0.07);

    border: 1px solid rgba(120, 170, 255, 0.17);

    color: #93b5e4;

    border-radius: 3px;

    font-size: 9px;

    line-height: 1.5;

}


/* ========================================= */
/* EMPTY SIDEBAR                             */
/* ========================================= */

.panel-empty-state {

    min-height: 190px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 20px;

}


.panel-empty-icon {

    font-size: 30px;

    color: #627d9d;

    margin-bottom: 10px;

}


.panel-empty-state p {

    max-width: 190px;

    margin: 0;

    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.6;

}


/* ========================================= */
/* TIMELINE                                  */
/* ========================================= */

.timeline-dock {

    min-height: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background: #191e26;

    border-top: 1px solid var(--border);

}


.timeline-header {

    height: 37px;

    min-height: 37px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 14px;

    border-bottom: 1px solid var(--border-subtle);

}


.timeline-heading {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 9px;

    font-weight: 750;

    letter-spacing: 1.1px;

}


.timeline-heading-icon {

    color: var(--accent);

    font-size: 15px;

}


.timeline-stage-label {

    padding: 4px 7px;

    border: 1px solid #414c5b;

    border-radius: 3px;

    color: var(--text-muted);

    font-size: 8px;

    letter-spacing: 0.8px;

}


.timeline-placeholder {

    flex: 1;

    min-height: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    color: var(--text-muted);

}


.timeline-placeholder-icon {

    font-size: 24px;

    color: #627c9c;

}


.timeline-placeholder strong {

    color: #aab6c5;

    font-size: 10px;

    font-weight: 600;

}


.timeline-placeholder p {

    margin: 5px 0 0;

    font-size: 9px;

    color: var(--text-muted);

}


/* ========================================= */
/* IMPORT LOADING INDICATOR                  */
/* ========================================= */

.viewport-panel.is-importing::after {

    content: "";

    position: absolute;

    z-index: 15;

    top: 0;

    left: 0;

    width: 32%;

    height: 2px;

    background: var(--accent);

    box-shadow: 0 0 8px rgba(120, 170, 255, 0.6);

    pointer-events: none;

    animation: import-progress 1.3s ease-in-out infinite;

}


@keyframes import-progress {

    0% {

        transform: translateX(-100%);

    }

    100% {

        transform: translateX(340%);

    }

}


/* ========================================= */
/* TOAST NOTIFICATIONS                       */
/* ========================================= */

.toast-container {

    position: fixed;

    z-index: 200;

    top: 59px;

    right: 15px;

    display: flex;

    flex-direction: column;

    gap: 7px;

    pointer-events: none;

}


.toast {

    min-width: 240px;

    max-width: 390px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 13px;

    background: #242c37;

    border: 1px solid #465365;

    border-radius: 4px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

    font-size: 11px;

    color: var(--text);

    opacity: 0;

    transform: translateX(12px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

}


.toast.visible {

    opacity: 1;

    transform: translateX(0);

}


.toast-indicator {

    flex-shrink: 0;

    width: 7px;

    height: 7px;

    background: var(--accent);

    border-radius: 50%;

}


.toast-success .toast-indicator {

    background: var(--success);

}


.toast-warning .toast-indicator {

    background: var(--warning);

}


.toast-error .toast-indicator {

    background: var(--danger);

}


/* ========================================= */
/* RESPONSIVE ADJUSTMENTS                    */
/* ========================================= */

@media (max-width: 1100px) {

    .app-main {

        grid-template-columns:
            215px
            minmax(0, 1fr)
            240px;

    }

    .topbar {

        gap: 7px;

        padding: 0 9px;

    }

}


@media (max-width: 900px) {

    .app-main {

        grid-template-columns:
            190px
            minmax(0, 1fr)
            215px;

    }

    .menu-bar {

        gap: 0;

    }

    .project-name {

        display: none;

    }

}
