/*
 * Tema "Radni stol": gusti, svijetli radni prostor za uredjivanje. Lijevo popis polja i grobova
 * (Home: WorkspaceFieldsPanel), u sredini karta sa statusnom trakom, desno inspektor groba s tabovima.
 * Sva pravila imaju prefiks :root[data-gw-theme="radni-stol"] i ucitavaju se nakon scoped stilova.
 */

:root[data-gw-theme="radni-stol"] {
    --rs-top: #1c2730;
    --rs-top-2: #26333d;
    --rs-top-line: #33424e;
    --rs-top-text: #dfe7ec;
    --rs-top-muted: #9fb0bb;
    --rs-bg: #eef1f3;
    --rs-surface: #ffffff;
    --rs-surface-2: #f8fafb;
    --rs-line: #dde2e6;
    --rs-line-soft: #eef1f3;
    --rs-ink: #1f2933;
    --rs-text: #33414c;
    --rs-muted: #6a7680;
    --rs-faint: #8a96a0;
    --rs-accent: #2a78d6;
    --rs-accent-ink: #1a5fb4;
    --rs-accent-soft: #e3eefb;
    --rs-sans: "Geist", "Segoe UI", system-ui, sans-serif;
    --rs-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --rs-panel-w: 272px;
    --rs-insp-w: 360px;

    --gw-font: var(--rs-sans);
    --gw-bg: var(--rs-bg);
    --gw-text: var(--rs-text);
    --gw-muted: var(--rs-muted);
    --gw-accent: var(--rs-accent);
    --gw-border: var(--rs-line);
    --gw-focus: var(--rs-accent);
    --bs-link-color: var(--rs-accent-ink);
    --bs-link-color-rgb: 26, 95, 180;
    --bs-link-hover-color: var(--rs-accent);
    --bs-link-hover-color-rgb: 42, 120, 214;
}

/* ---------- Osnova ---------- */

:root[data-gw-theme="radni-stol"] body {
    background: var(--rs-bg);
    color: var(--rs-text);
    font-family: var(--rs-sans);
}

:root[data-gw-theme="radni-stol"] h1,
:root[data-gw-theme="radni-stol"] h2,
:root[data-gw-theme="radni-stol"] h3,
:root[data-gw-theme="radni-stol"] h4 {
    color: var(--rs-ink);
    font-family: var(--rs-sans);
}

:root[data-gw-theme="radni-stol"] .btn-primary,
:root[data-gw-theme="radni-stol"] .dxbl-btn.btn-primary,
:root[data-gw-theme="radni-stol"] .dxbl-btn-primary,
:root[data-gw-theme="radni-stol"] .toolbar-btn-primary,
:root[data-gw-theme="radni-stol"] .settings-primary-btn {
    background: var(--rs-accent) !important;
    border-color: var(--rs-accent) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

:root[data-gw-theme="radni-stol"] .btn-primary:hover,
:root[data-gw-theme="radni-stol"] .dxbl-btn.btn-primary:hover,
:root[data-gw-theme="radni-stol"] .dxbl-btn-primary:hover,
:root[data-gw-theme="radni-stol"] .toolbar-btn-primary:hover,
:root[data-gw-theme="radni-stol"] .settings-primary-btn:hover {
    background: var(--rs-accent-ink) !important;
    border-color: var(--rs-accent-ink) !important;
}

:root[data-gw-theme="radni-stol"] .form-control:focus,
:root[data-gw-theme="radni-stol"] .form-select:focus {
    border-color: var(--rs-accent);
    box-shadow: 0 0 0 0.2rem rgba(42, 120, 214, 0.16);
}

:root[data-gw-theme="radni-stol"] .form-check-input:checked {
    background-color: var(--rs-accent);
    border-color: var(--rs-accent);
}

:root[data-gw-theme="radni-stol"] .settings-card {
    border-color: var(--rs-line);
    border-radius: 8px;
    box-shadow: none;
}

:root[data-gw-theme="radni-stol"] .settings-card .card-title {
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .status-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
}

/* ---------- Bocni izbornik: tamni rail u boji gornje trake ---------- */

:root[data-gw-theme="radni-stol"] .sidebar {
    background: var(--rs-top);
    box-shadow: inset -1px 0 0 var(--rs-top-line);
}

:root[data-gw-theme="radni-stol"] .top-row {
    background-color: transparent;
    border-bottom: 1px solid var(--rs-top-line);
}

:root[data-gw-theme="radni-stol"] .sidebar .nav-link {
    color: var(--rs-top-muted);
    border-radius: 6px;
}

:root[data-gw-theme="radni-stol"] .sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

:root[data-gw-theme="radni-stol"] .sidebar .nav-link.active {
    background-color: rgba(42, 120, 214, 0.22);
    color: #ffffff;
    border-left-color: var(--rs-accent);
}

:root[data-gw-theme="radni-stol"] .sidebar-collapse-btn {
    border-color: transparent;
    background: transparent;
    color: var(--rs-top-muted);
}

:root[data-gw-theme="radni-stol"] .sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

@media (min-width: 641px) {
    :root[data-gw-theme="radni-stol"] .page.sidebar-collapsed .sidebar {
        width: 68px;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .nav-top-content {
        justify-content: center;
        padding-inline: 0;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .top-row {
        padding-left: 0 !important;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .navbar-brand {
        display: none;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .nav-item.px-3 {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .nav-link {
        flex-direction: column;
        justify-content: center;
        gap: 0.26rem;
        min-height: 3.3rem;
        padding: 0.45rem 0.1rem;
        border-left: 0;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .nav-link.active {
        box-shadow: none;
    }

    :root[data-gw-theme="radni-stol"] .nav-root.collapsed .nav-label-short {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.62rem;
        font-weight: 500;
        line-height: 1;
    }
}

/* ---------- Gornja traka ---------- */

:root[data-gw-theme="radni-stol"] .content:has(.home-shell) {
    padding: 0;
}

:root[data-gw-theme="radni-stol"] .home-shell {
    gap: 0;
    background: var(--rs-bg);
}

/* ---------- Raspored: popis | karta | inspektor ---------- */

:root[data-gw-theme="radni-stol"] .workspace-grid {
    grid-template-columns: var(--rs-panel-w) minmax(0, 1fr) 0 var(--gw-details-w, var(--rs-insp-w));
    gap: 0;
}

:root[data-gw-theme="radni-stol"] .details-splitter::before {
    width: 3px;
    background: rgba(51, 65, 76, 0.3);
}

:root[data-gw-theme="radni-stol"] .details-splitter:hover::before,
:root[data-gw-theme="radni-stol"] .details-splitter:focus-visible::before,
:root[data-gw-theme="radni-stol"] .details-splitter.dragging::before {
    background: var(--rs-accent);
}

:root[data-gw-theme="radni-stol"] .workspace-grid.details-collapsed {
    grid-template-columns: var(--rs-panel-w) minmax(0, 1fr);
}

:root[data-gw-theme="radni-stol"] .map-pane {
    position: relative;
    padding-bottom: 26px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--rs-surface);
}

:root[data-gw-theme="radni-stol"] .map-stage,
:root[data-gw-theme="radni-stol"] .map-canvas {
    min-height: 0;
}

/* Alatna traka: bijela, s grupama gumba */
:root[data-gw-theme="radni-stol"] .map-toolbar,
:root[data-gw-theme="radni-stol"] .map-toolbar.edit-mode {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--rs-line);
    background: var(--rs-surface);
}

:root[data-gw-theme="radni-stol"] .map-toolbar.edit-mode {
    box-shadow: inset 0 -2px 0 #e07a1f;
}

:root[data-gw-theme="radni-stol"] .toolbar-actions {
    flex-wrap: wrap;
    gap: 0.35rem;
}

:root[data-gw-theme="radni-stol"] .map-tool-btn {
    min-height: 32px;
    padding: 0 0.65rem;
    border-radius: 6px;
    border-color: #d6dce1;
    background: var(--rs-surface);
    color: var(--rs-text);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: none;
}

:root[data-gw-theme="radni-stol"] .map-tool-icon-btn {
    width: 32px;
    min-width: 32px;
    padding: 0;
}

:root[data-gw-theme="radni-stol"] .map-tool-btn:hover {
    border-color: #b9c2c9;
    background: var(--rs-surface-2);
    color: var(--rs-ink);
    box-shadow: none;
}

:root[data-gw-theme="radni-stol"] .map-tool-btn.active {
    border-color: #b8d3f3;
    background: var(--rs-accent-soft);
    color: var(--rs-accent-ink);
    box-shadow: none;
}

:root[data-gw-theme="radni-stol"] .status-legend-anchor {
    display: none;
}

/* Statusne poruke kao statusna traka na dnu karte */
:root[data-gw-theme="radni-stol"] .toolbar-pills {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding: 0 0.4rem;
    overflow: hidden;
    border-top: 1px solid var(--rs-line);
    background: var(--rs-surface);
}

:root[data-gw-theme="radni-stol"] .sync-pill,
:root[data-gw-theme="radni-stol"] .sync-pill.muted {
    padding: 0 0.6rem;
    border: 0;
    border-right: 1px solid var(--rs-line-soft);
    border-radius: 0;
    background: transparent;
    color: #56636e;
    font-family: var(--rs-mono);
    font-size: 0.68rem;
    line-height: 26px;
}

:root[data-gw-theme="radni-stol"] .base-layer-toggle,
:root[data-gw-theme="radni-stol"] .details-edge-toggle {
    border-color: #d6dce1;
    background: var(--rs-surface);
    color: var(--rs-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

:root[data-gw-theme="radni-stol"] .base-layer-toggle {
    border-radius: 6px;
    font-weight: 500;
}

:root[data-gw-theme="radni-stol"] .base-layer-toggle:hover,
:root[data-gw-theme="radni-stol"] .details-edge-toggle:hover {
    border-color: #b9c2c9;
    background: var(--rs-surface-2);
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .details-edge-toggle.active {
    border-color: var(--rs-accent);
    background: var(--rs-accent);
    color: #ffffff;
}

:root[data-gw-theme="radni-stol"] .map-status-overlay {
    border-radius: 6px;
}

/* OpenLayers kontrole: bijela grupa s razdjelnicima */
:root[data-gw-theme="radni-stol"] .ol-zoom {
    top: auto;
    bottom: 0.7rem;
    left: 0.7rem;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--rs-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

:root[data-gw-theme="radni-stol"] .ol-zoom button {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 0;
    background: var(--rs-surface);
    color: var(--rs-text);
    font-size: 1.05rem;
}

:root[data-gw-theme="radni-stol"] .ol-zoom button + button {
    border-top: 1px solid #e6eaed;
}

:root[data-gw-theme="radni-stol"] .ol-zoom button:hover,
:root[data-gw-theme="radni-stol"] .ol-zoom button:focus {
    background: var(--rs-surface-2);
    color: var(--rs-ink);
    outline: none;
}

/* ---------- Lijevi popis polja i grobova ---------- */

:root[data-gw-theme="radni-stol"] .workspace-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-right: 1px solid var(--rs-line);
    background: var(--rs-surface);
    font-size: 0.82rem;
}

:root[data-gw-theme="radni-stol"] .workspace-panel-head {
    padding: 0.7rem 0.75rem 0.55rem;
}

:root[data-gw-theme="radni-stol"] .workspace-filter {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    height: 32px;
    padding: 0 0.55rem;
    border: 1px solid #d6dce1;
    border-radius: 6px;
    color: var(--rs-faint);
}

:root[data-gw-theme="radni-stol"] .workspace-filter:focus-within {
    border-color: var(--rs-accent);
    box-shadow: 0 0 0 3px rgba(42, 120, 214, 0.14);
}

:root[data-gw-theme="radni-stol"] .workspace-filter-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rs-ink);
    font-size: 0.82rem;
}

:root[data-gw-theme="radni-stol"] .workspace-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    border-top: 1px solid var(--rs-line-soft);
    scrollbar-width: thin;
}

:root[data-gw-theme="radni-stol"] .workspace-empty {
    margin: 0;
    padding: 1rem 0.85rem;
    color: var(--rs-muted);
}

:root[data-gw-theme="radni-stol"] .workspace-field {
    border-bottom: 1px solid #f0f2f4;
}

:root[data-gw-theme="radni-stol"] .workspace-field-head {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto 64px;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    background: transparent;
    color: var(--rs-faint);
    text-align: left;
}

:root[data-gw-theme="radni-stol"] .workspace-field-head:hover {
    background: var(--rs-surface-2);
}

:root[data-gw-theme="radni-stol"] .workspace-field.open .workspace-field-head {
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .workspace-field-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .workspace-field-count {
    font-family: var(--rs-mono);
    font-size: 0.72rem;
    color: #7a8791;
}

:root[data-gw-theme="radni-stol"] .workspace-bar {
    display: flex;
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--rs-line-soft);
}

/* Segment uzima boju okvira statusa (status-chip-N). */
:root[data-gw-theme="radni-stol"] .workspace-bar > span {
    display: block;
    height: 0;
    min-width: 2px;
    padding: 0;
    border-style: solid;
    border-width: 6px 0 0;
    border-radius: 0;
    background: none;
}

:root[data-gw-theme="radni-stol"] .workspace-graves {
    margin: 0;
    padding: 0.15rem 0;
    list-style: none;
    background: var(--rs-surface-2);
    border-top: 1px solid var(--rs-line-soft);
}

:root[data-gw-theme="radni-stol"] .workspace-grave {
    display: grid;
    grid-template-columns: 10px auto minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.28rem 0.75rem 0.28rem 2rem;
    border: 0;
    background: transparent;
    color: #5a6772;
    text-align: left;
    font-size: 0.78rem;
}

:root[data-gw-theme="radni-stol"] .workspace-grave:hover {
    background: #eef3f8;
}

:root[data-gw-theme="radni-stol"] .workspace-grave.selected {
    background: var(--rs-accent-soft);
    box-shadow: inset 3px 0 0 var(--rs-accent);
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .workspace-grave.unmapped .workspace-grave-no {
    color: var(--rs-faint);
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}

:root[data-gw-theme="radni-stol"] .workspace-grave-no {
    font-family: var(--rs-mono);
    font-weight: 600;
    color: var(--rs-ink);
    white-space: nowrap;
}

:root[data-gw-theme="radni-stol"] .workspace-grave-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Statusi kao popis filtera na dnu panela */
:root[data-gw-theme="radni-stol"] .workspace-statuses {
    flex: 0 0 auto;
    max-height: 38%;
    overflow-y: auto;
    padding: 0.6rem 0.75rem 0.7rem;
    border-top: 1px solid var(--rs-line);
}

:root[data-gw-theme="radni-stol"] .workspace-statuses h4 {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rs-muted);
}

:root[data-gw-theme="radni-stol"] .workspace-statuses .status-chip-bar {
    display: grid;
    gap: 0;
}

:root[data-gw-theme="radni-stol"] .status-chip-filter {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.2rem 0.15rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--rs-text);
    font-size: 0.78rem;
    text-align: left;
}

:root[data-gw-theme="radni-stol"] .status-chip-filter:hover {
    background: var(--rs-surface-2);
}

:root[data-gw-theme="radni-stol"] .status-chip-filter em {
    font-style: normal;
    font-family: var(--rs-mono);
    font-size: 0.72rem;
    color: #7a8791;
}

:root[data-gw-theme="radni-stol"] .status-chip-filter.off {
    color: #97a2aa;
}

:root[data-gw-theme="radni-stol"] .status-chip-filter.off .status-swatch {
    opacity: 0.35;
}

:root[data-gw-theme="radni-stol"] .status-chip-filter-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:root[data-gw-theme="radni-stol"] .status-chip-reset {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0.2rem;
    color: var(--rs-accent-ink);
    font-weight: 500;
}

/* Kompaktna oznaka boje u popisu (osnovna je 26x18, sirina stupca prati oznaku). */
:root[data-gw-theme="radni-stol"] .status-chip-bar .status-swatch {
    width: 22px;
    height: 14px;
    margin: 0;
}

/* ---------- Inspektor groba ---------- */

:root[data-gw-theme="radni-stol"] .details-pane {
    padding: 0.85rem 1rem 1rem;
    gap: 0.85rem;
    border: 0;
    border-left: 1px solid var(--rs-line);
    border-radius: 0;
    background: var(--rs-surface);
    box-shadow: none;
    animation: none;
    font-size: 0.84rem;
}

:root[data-gw-theme="radni-stol"] .details-header h2 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rs-muted);
}

:root[data-gw-theme="radni-stol"] .details-header p {
    color: var(--rs-faint);
}

:root[data-gw-theme="radni-stol"] .empty-state {
    border: 1px dashed var(--rs-line);
    border-radius: 6px;
    background: var(--rs-surface-2);
    color: var(--rs-muted);
}

:root[data-gw-theme="radni-stol"] .grave-overview {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

:root[data-gw-theme="radni-stol"] .grave-title-row h3 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rs-muted);
}

:root[data-gw-theme="radni-stol"] .status-chip {
    border-width: 1px;
    border-radius: 6px;
    font-weight: 600;
}

:root[data-gw-theme="radni-stol"] .grave-location {
    border-color: var(--rs-line);
    border-radius: 6px;
}

:root[data-gw-theme="radni-stol"] .grave-location div {
    padding: 0.45rem 0.6rem;
    border-left-color: var(--rs-line);
}

:root[data-gw-theme="radni-stol"] .grave-location dd {
    font-family: var(--rs-mono);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .detail-list dt,
:root[data-gw-theme="radni-stol"] .grave-location dt,
:root[data-gw-theme="radni-stol"] .info-table th {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    color: var(--rs-muted);
}

:root[data-gw-theme="radni-stol"] .detail-list dd,
:root[data-gw-theme="radni-stol"] .info-table td {
    color: var(--rs-ink);
    font-weight: 500;
}

/* Tabovi kao podcrtani registar */
:root[data-gw-theme="radni-stol"] .detail-tabs {
    gap: 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--rs-line);
}

:root[data-gw-theme="radni-stol"] .detail-tab-btn {
    margin-bottom: -1px;
    padding: 0.45rem 0.55rem;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #5a6772;
    font-weight: 500;
    font-size: 0.8rem;
}

:root[data-gw-theme="radni-stol"] .detail-tab-btn:hover {
    border-color: transparent;
    background: transparent;
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .detail-tab-btn.active {
    border-bottom-color: var(--rs-accent);
    background: transparent;
    color: var(--rs-accent-ink);
}

:root[data-gw-theme="radni-stol"] .info-table td,
:root[data-gw-theme="radni-stol"] .info-table th {
    padding-block: 0.32rem;
}

:root[data-gw-theme="radni-stol"] .link-block,
:root[data-gw-theme="radni-stol"] .field-edit-block,
:root[data-gw-theme="radni-stol"] .person-search-results-block {
    border-color: var(--rs-line);
    border-radius: 6px;
}

:root[data-gw-theme="radni-stol"] .person-search-submit,
:root[data-gw-theme="radni-stol"] .app-dialog-btn-primary {
    background: var(--rs-accent);
    border-color: var(--rs-accent);
}

:root[data-gw-theme="radni-stol"] .person-search-modal,
:root[data-gw-theme="radni-stol"] .boundary-upload-modal,
:root[data-gw-theme="radni-stol"] .app-dialog {
    border-radius: 10px;
}

/* ---------- Uzi zasloni: karta, inspektor, pa popis ---------- */

@media (max-width: 1200px) {
    :root[data-gw-theme="radni-stol"] .workspace-grid,
    :root[data-gw-theme="radni-stol"] .workspace-grid.details-collapsed {
        grid-template-columns: minmax(0, 1fr);
    }

    :root[data-gw-theme="radni-stol"] .content:has(.home-shell) {
        overflow: auto;
    }

    :root[data-gw-theme="radni-stol"] .map-pane {
        min-height: 60vh;
    }

    :root[data-gw-theme="radni-stol"] .details-pane {
        border-left: 0;
        border-top: 1px solid var(--rs-line);
    }

    :root[data-gw-theme="radni-stol"] .workspace-panel {
        order: 3;
        max-height: 60vh;
        border-right: 0;
        border-top: 1px solid var(--rs-line);
    }
}

/* Odabir groblja u alatnoj traci. */
:root[data-gw-theme="radni-stol"] .cemetery-picker.map-tool-btn {
    color: var(--rs-ink);
}

:root[data-gw-theme="radni-stol"] .cemetery-picker-label {
    font-size: 0.82rem;
    font-weight: 600;
}

/* Panel "i": podaci o groblju. */
:root[data-gw-theme="radni-stol"] .map-info-panel,
:root[data-gw-theme="radni-stol"] .cemetery-picker-panel {
    --gw-info-surface: var(--rs-surface-2);
    --gw-info-line: var(--rs-line);
    --gw-info-strong: var(--rs-ink);
    --gw-info-muted: var(--rs-muted);
    --gw-info-faint: var(--rs-faint);
    --gw-info-accent: var(--rs-accent);
    --gw-info-track: var(--rs-accent-soft);
    border-radius: 8px;
}

:root[data-gw-theme="radni-stol"] .map-info-cemetery {
    border-radius: 6px;
}

:root[data-gw-theme="radni-stol"] .map-info-metric strong {
    font-family: var(--rs-mono);
    font-size: 1.15rem;
    font-weight: 600;
}

/* Popup odabira groblja. */
:root[data-gw-theme="radni-stol"] .cemetery-picker-search,
:root[data-gw-theme="radni-stol"] .cemetery-option {
    border-radius: 6px;
}

:root[data-gw-theme="radni-stol"] .cemetery-option-name {
    font-size: 0.86rem;
    font-weight: 600;
}

:root[data-gw-theme="radni-stol"] .cemetery-option-stats strong {
    font-family: var(--rs-mono);
    font-weight: 600;
}
