:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.page-content {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    border-radius: 8px;
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #495057;
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Mapa */
.mapa-page {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 0 !important;
    box-sizing: border-box;
}

.mapa-page #page-content,
.mapa-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.mapa-card .card-header.mapa-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.mapa-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mapa-header-title h5 {
    font-size: 0.95rem;
    margin: 0;
}

.mapa-header-actions {
    display: flex;
    gap: 0.35rem;
}

.mapa-header-actions .btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.mapa-filtros {
    padding: 0.75rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.form-label-sm {
    font-size: 0.72rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mapa-chip-group .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
}

.mapa-switch-compact {
    padding-left: 2.2rem;
    min-height: auto;
}

.mapa-switch-compact .form-check-input {
    width: 2rem;
    height: 1rem;
    margin-top: 0.1rem;
}

.mapa-switch-compact .form-check-label {
    font-size: 0.8rem;
}

.mapa-map-wrap {
    flex: 1;
    position: relative;
    min-height: 0;
}

.mapa-map-wrap #map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.mapa-offcanvas {
    width: min(400px, 92vw);
}

.mapa-offcanvas-footer {
    flex-shrink: 0;
    background: #fff;
}

.mapa-resumo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.mapa-resumo-grid span {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mapa-resumo-full {
    grid-column: 1 / -1;
}

.mapa-painel-lista {
    max-height: none;
}

.mapa-painel-item {
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.15s;
}

.mapa-painel-item:hover {
    background: #f8f9fa;
}

.mapa-painel-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.mapa-galeria-item {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.mapa-galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mapa-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #adb5bd;
}

.mapa-camadas-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.mapa-camadas-panel .mapa-camadas-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
}

.mapa-camadas-menu {
    min-width: 240px;
    max-width: min(320px, 90vw);
    max-height: min(70vh, 420px);
    overflow-y: auto;
}

.mapa-camadas-section .dropdown-header {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.mapa-camadas-check {
    margin-bottom: 0.25rem;
}

.mapa-camadas-check .form-check-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mapa-camada-cor {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.mapa-camadas-admin .form-control-color {
    width: 100%;
    height: 31px;
    padding: 0.1rem;
}

.mapa-legenda {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    max-width: calc(100% - 20px);
}

.mapa-legenda-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
}

.legenda-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.legenda-pendente { background: #ffc107; }
.legenda-andamento { background: #0dcaf0; }
.legenda-finalizado { background: #198754; }
.legenda-alerta { background: #ffc107; box-shadow: 0 0 0 2px #dc3545; }

.nav-tabs-sm .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
}

.custom-marker {
    background: transparent !important;
    border: none !important;
}

#map {
    z-index: 1;
}

/* Notificações */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.notificacao-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notificacao-item:hover {
    background-color: #f8f9fa;
}

.notificacao-item.lida {
    opacity: 0.7;
}

.notificacao-item .notificacao-titulo {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.notificacao-item .notificacao-mensagem {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.notificacao-item .notificacao-data {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Status badges */
.badge-em-andamento {
    background-color: var(--info-color);
    color: #000;
}

.badge-finalizado {
    background-color: var(--success-color);
}

.badge-pendente {
    background-color: var(--warning-color);
    color: #000;
}

.badge-cancelado {
    background-color: var(--danger-color);
}

.badge-aberta {
    background-color: #6c757d;
    color: #fff;
}

.badge-em_andamento,
.badge-em-andamento {
    background-color: var(--info-color);
    color: #000;
}

.badge-finalizada {
    background-color: var(--success-color);
    color: #fff;
}

.badge-cancelada {
    background-color: var(--danger-color);
    color: #fff;
}

.badge-concluida {
    background-color: var(--success-color);
    color: #fff;
}

/* Cards de atividades da OS */
.os-atividade-card {
    border-left: 4px solid #dee2e6;
    transition: box-shadow 0.15s ease;
}

.os-atividade-card.status-pendente {
    border-left-color: var(--warning-color);
    background-color: rgba(255, 193, 7, 0.06);
}

.os-atividade-card.status-em_andamento {
    border-left-color: var(--info-color);
    background-color: rgba(13, 202, 240, 0.06);
}

.os-atividade-card.status-concluida {
    border-left-color: var(--success-color);
    background-color: rgba(25, 135, 84, 0.06);
}

.os-atividade-card.status-cancelada {
    border-left-color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.06);
}

.os-atividade-card.status-pausada {
    border-left-color: #6c757d;
    background-color: rgba(108, 117, 125, 0.08);
}

.os-atividade-card.status-finalizada {
    border-left-color: var(--success-color);
    background-color: rgba(25, 135, 84, 0.08);
}

.os-atividade-card.status-reaberta {
    border-left-color: #6f42c1;
    background-color: rgba(111, 66, 193, 0.08);
}

.badge-reaberta {
    background-color: #6f42c1;
    color: #fff;
}

.badge-pausada {
    background-color: #6c757d;
    color: #fff;
}

.badge-finalizada {
    background-color: var(--success-color);
    color: #fff;
}

.os-historico-timeline {
    max-height: 55vh;
    overflow-y: auto;
}

.os-historico-item {
    border-left: 3px solid #dee2e6;
    padding-left: 0.75rem;
    margin-bottom: 1rem;
}

.os-historico-item.tipo-status_atividade,
.os-historico-item.tipo-status_os {
    border-left-color: var(--primary-color, #0d6efd);
}

.os-historico-item.tipo-reabertura_atividade {
    border-left-color: #6f42c1;
}

.os-historico-item.tipo-laudo_atividade {
    border-left-color: var(--success-color);
}

.os-historico-item.tipo-imagem_atividade {
    border-left-color: var(--warning-color);
}

.os-historico-item.tipo-acesso_os {
    border-left-color: #6c757d;
}

.os-img-editor-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.os-atividade-arquivo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.os-atividade-arquivo-file {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.os-atividade-dropzone {
    border: 2px dashed transparent;
    border-radius: 0.375rem;
    padding: 0.5rem;
    transition: border-color 0.15s, background 0.15s;
}

.os-atividade-dropzone.os-drop-active {
    border-color: var(--primary-color, #0d6efd);
    background: rgba(13, 110, 253, 0.06);
}

.os-atividade-drag-handle {
    cursor: grab;
    color: #6c757d;
    margin-right: 0.35rem;
    user-select: none;
}

.os-atividade-card.os-dragging {
    opacity: 0.55;
}

.os-atividade-card.os-drag-over {
    outline: 2px dashed var(--primary-color, #0d6efd);
    outline-offset: 2px;
}

.os-atividade-ordem-btns .btn {
    padding: 0.15rem 0.4rem;
}

/* Editor de anotações — modal acima do layout da aplicação */
#modalOsImgEditor.modal {
    --bs-modal-zindex: 10250;
    z-index: 10250 !important;
}

.modal-backdrop.os-img-editor-backdrop {
    z-index: 10240 !important;
}

.os-img-editor-dialog {
    max-width: min(1140px, 96vw);
    margin: 1rem auto;
}

.os-img-editor-modal .modal-content {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
}

.os-img-editor-body {
    display: flex;
    min-height: 420px;
    height: min(72vh, 640px);
    overflow: hidden;
}

.os-img-editor-palette {
    width: 148px;
    flex-shrink: 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
}

.os-img-palette-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin: 0 0 0.35rem;
}

.os-img-palette-hint {
    font-size: 0.7rem;
    color: #6c757d;
    margin: 0.75rem 0 0;
    line-height: 1.35;
}

.os-img-tool-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-align: left;
    white-space: nowrap;
}

.os-img-tool-btn .os-img-tool-label {
    font-size: 0.8rem;
}

.os-img-tool-btn.active {
    background: var(--primary-color, #0d6efd);
    color: #fff;
    border-color: var(--primary-color, #0d6efd);
}

.os-img-editor-cores {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.os-img-cor-btn {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
}

.os-img-cor-btn.active {
    border-color: #212529;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #212529;
}

.os-img-editor-canvas-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2b3035;
    overflow: auto;
    position: relative;
    min-width: 0;
}

.os-img-editor-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

#osImgEditorCanvas {
    display: block;
    cursor: crosshair;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.os-status-bar {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.os-status-bar.status-aberta { background: rgba(108, 117, 125, 0.12); }
.os-status-bar.status-em_andamento { background: rgba(13, 202, 240, 0.12); }
.os-status-bar.status-finalizada { background: rgba(25, 135, 84, 0.12); }
.os-status-bar.status-cancelada { background: rgba(220, 53, 69, 0.12); }

/* Imagens com overlay de sincronização */
.imagem-container {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.imagem-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.imagem-overlay.sincronizado {
    background-color: var(--success-color);
    color: white;
}

.imagem-overlay.nao-sincronizado {
    background-color: var(--warning-color);
    color: #000;
}

/* Biblioteca de imagens do local */
.biblioteca-imagem-card {
    cursor: pointer;
    border-radius: 8px;
    transition: box-shadow 0.15s, outline 0.15s;
}
.biblioteca-imagem-card.selected {
    outline: 3px solid var(--primary-color, #0d6efd);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}
.biblioteca-imagem-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}
.biblioteca-imagem-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.biblioteca-imagem-link {
    display: block;
    line-height: 0;
    cursor: zoom-in;
}
.biblioteca-imagem-link:hover .biblioteca-imagem-thumb {
    opacity: 0.92;
}
.biblioteca-imagem-arquivo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}
.biblioteca-imagem-actions {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    padding: 4px 6px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.biblioteca-imagem-meta {
    padding-top: 8px;
    font-size: 0.78rem;
    line-height: 1.35;
}
.biblioteca-meta-nome {
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.biblioteca-meta-linha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    color: #6c757d;
    margin-bottom: 1px;
}
.biblioteca-meta-linha i {
    opacity: 0.85;
}
.biblioteca-meta-gps {
    font-variant-numeric: tabular-nums;
    font-size: 0.75rem;
}
.biblioteca-meta-dim {
    font-size: 0.72rem;
    color: #adb5bd;
}
.biblioteca-info-preview {
    max-height: 220px;
    object-fit: contain;
    cursor: zoom-in;
}
.biblioteca-dropzone.dragover {
    border-color: var(--primary-color, #0d6efd);
    background: rgba(13, 110, 253, 0.06);
}
.biblioteca-info-dl dt {
    font-weight: 600;
    color: #495057;
}
.biblioteca-info-dl dd {
    margin-bottom: 0.5rem;
}

/* Sub-abas e visualização da biblioteca */
.biblioteca-subtabs .nav-link {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
}
.biblioteca-view-toggle .btn.active {
    background-color: var(--primary-color, #0d6efd);
    border-color: var(--primary-color, #0d6efd);
    color: #fff;
}
.biblioteca-video-preview-btn,
.biblioteca-arquivo-preview-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.biblioteca-video-thumb {
    pointer-events: none;
}
.biblioteca-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 3rem;
    pointer-events: none;
    transition: background 0.15s;
}
.biblioteca-video-preview-btn:hover .biblioteca-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}
.biblioteca-preview-hint {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
}
.biblioteca-arquivo-preview-btn:hover .biblioteca-preview-hint {
    color: var(--primary-color, #0d6efd);
}
.biblioteca-lista-wrap {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}
.biblioteca-lista-table th {
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    background: #f8f9fa;
}
.biblioteca-lista-table td {
    font-size: 0.82rem;
    vertical-align: middle;
}
.biblioteca-lista-row.selected {
    background-color: rgba(13, 110, 253, 0.08);
}
.biblioteca-lista-col-nome {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.biblioteca-lista-thumb-link,
.biblioteca-lista-thumb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0;
    position: relative;
}
.biblioteca-lista-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.biblioteca-lista-icon {
    font-size: 1.25rem;
    color: #6c757d;
}
.biblioteca-lista-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.1rem;
}
.biblioteca-preview-iframe {
    border: none;
    min-height: 70vh;
    height: 70vh;
    display: block;
    background: #f8f9fa;
}
.biblioteca-info-iframe {
    min-height: 320px;
    height: 320px;
}
.biblioteca-preview-video {
    max-height: 75vh;
    background: #000;
}
.biblioteca-info-video {
    max-height: 360px;
    background: #000;
}
.biblioteca-meta-size {
    font-size: 0.72rem;
    color: #adb5bd;
}

/* Área de arrastar e soltar — arquivos do local */
.local-dropzone {
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    background: #f8f9fa;
}

.local-dropzone:hover,
.local-dropzone.dragover {
    border-color: var(--primary-color, #0d6efd);
    background: #e7f1ff;
}

.local-dropzone .bi {
    font-size: 2.5rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.5rem;
}

.local-arquivo-card {
    position: relative;
}

.local-arquivo-card .btn-remover-pendente {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    padding: 0.1rem 0.35rem;
    line-height: 1;
}

/* Autocomplete */
.autocomplete-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    margin-top: 2px;
}

.autocomplete-suggestion {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background-color: #f8f9fa;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion .suggestion-titulo {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.autocomplete-suggestion .suggestion-detalhes {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    
    #globalSearch {
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
}

/* Animações */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Formulários: validação e responsividade */
.form-label i { opacity: 0.8; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.invalid-feedback { display: none; }
.form-control.is-invalid ~ .invalid-feedback, .form-select.is-invalid ~ .invalid-feedback { display: block; }
@media (max-width: 768px) {
    .modal-dialog { margin: 0.5rem; max-width: calc(100% - 1rem); }
    .list-table-toolbar { flex-direction: column; align-items: stretch; }
    .list-table-toolbar .list-search { max-width: none; }
}
.list-table-row-dblclick { cursor: pointer; }
.list-table-row-dblclick:hover { background-color: rgba(0,0,0,.04); }
