html, body, #outlet {
    height: 100%;
    margin: 0;
}

.workbench {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f4f6f8;
}

.workbench-header {
    padding: 0.6rem 0.8rem;
    background: #0f172a;
    color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.workbench-header vaadin-button {
    color: #e2e8f0;
}

.workbench-header vaadin-button[theme~="primary"] {
    color: #fff;
}

.workbench-header vaadin-button[theme~="error"] {
    color: #fecaca;
}

.workbench-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.workbench-body {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
}

.map-pane {
    min-height: 0;
    position: relative;
}

.side-pane {
    min-height: 0;
    overflow: auto;
    padding: 0.75rem;
    background: #fff;
    border-left: 1px solid #d7dee7;
}

.status-bar {
    padding: 0.5rem 0.8rem;
    background: #fff;
    border-top: 1px solid #d7dee7;
    font-size: 0.9rem;
}

.results-dialog {
    --vaadin-dialog-content-max-height: 80vh;
}

.results-dialog vaadin-tabsheet {
    height: 100%;
    min-height: 20rem;
}

.hint {
    color: #475569;
    font-size: 0.85rem;
}

.route-marker-inner,
.route-visit-inner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.route-marker-inner.selected {
    box-shadow: 0 0 0 3px #f59e0b;
}

.route-visit-inner {
    width: 22px;
    height: 22px;
    background: #fff;
    color: #111827;
    border-width: 2px;
}
