.editor {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafb;
}

.view-pane {
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.view-pane canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.model-pane canvas {
    touch-action: none;
    cursor: default;
}

.model-pane.is-picking canvas {
    cursor: crosshair;
}

.model-pane.is-picking canvas.over-plane {
    cursor: pointer;
}

.model-pane canvas.over-face {
    cursor: pointer;
}

.model-pane.is-navigating canvas {
    cursor: grabbing;
}

.model-pane.has-navigation-tool:not(.is-navigating) canvas { cursor: grab; }

.model-pane {
    flex: 1;
}

.editor.has-sketch .model-pane {
    flex: 0 0 53%;
}

.sketch-pane {
    flex: 1;
    background: #fff;
}

.pane-heading {
    position: absolute;
    top: 14px;
    left: 17px;
    right: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    color: #6c8797;
    font-family: Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.model-pane .pane-heading {
    left: 235px;
}

.pane-icon {
    font-size: 17px;
    line-height: 1;
}

.model-pane-icon {
    color: #e59b7e;
}

.sketch-pane-icon {
    color: #288cbc;
}

.pane-heading-line {
    height: 1px;
    flex: 1;
    background: #dfe8ed;
    opacity: .8;
}

.pane-subtitle {
    color: #b0bec7;
}

.view-hint {
    position: absolute;
    left: 17px;
    bottom: 17px;
    color: #9badb8;
    font-family: Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    pointer-events: none;
}

.pane-divider {
    height: 10px;
    flex: none;
    display: grid;
    place-items: center;
    border-top: 1px solid #cbd9e0;
    border-bottom: 1px solid #d9e5eb;
    background: #edf2f5;
}

.pane-divider span {
    width: 35px;
    height: 3px;
    border-radius: 3px;
    background: #bacbd5;
}

.sketch-heading {
    top: 10px;
    z-index: 1;
}

.plane-chip {
    padding: 3px 6px;
    border: 1px solid #d5e8f0;
    border-radius: 3px;
    color: #6a9cb5;
    background: #f3f9fc;
    font-size: 8px;
    letter-spacing: .04em;
}

.close-sketch {
    pointer-events: auto;
    padding: 5px 8px;
    border: 1px solid #d7e4ea;
    border-radius: 4px;
    background: #fff;
    color: #56829a;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
    cursor: pointer;
}

.close-sketch:hover,
.close-sketch:focus-visible {
    outline: none;
    border-color: #8dc6e0;
    background: #eff8fc;
    color: #197fad;
}

.close-sketch span {
    margin-left: 6px;
    font-size: 13px;
    vertical-align: -1px;
}

.sketch-origin-label {
    position: absolute;
    color: #8ea8b6;
    font-family: Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    pointer-events: none;
    white-space: nowrap;
}

.sketch-origin-label span {
    color: #b5c3cb;
}

.sketch-empty {
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: #aebec7;
    font-family: Consolas, monospace;
    font-size: 9px;
    pointer-events: none;
}

.statusbar {
    height: 25px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-top: 1px solid #dce6eb;
    background: #f4f8fa;
    color: #94a7b3;
    font-family: Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
}

.statusbar>span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
}

.statusbar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #279ac5;
}
