/* Opstine module local layer.
   Base chrome is copied from /zis in resources/css/style.css and resources/css/zis-layout.css.
   This file only keeps non-jTable tables, cards and module-specific helpers. */

:root {
    --ops-border: #d7e3f1;
    --ops-card: #ffffff;
    --ops-text: #1f2937;
    --ops-muted: #63758c;
    --ops-blue: #2f67ad;
    --ops-blue-dark: #244f82;
    --ops-bg: #eef3f8;
}

body {
    color: var(--ops-text);
}

.ops-page-shell {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.ops-card,
.ops-table-card,
.ops-dashboard-card,
.ops-map-placeholder {
    min-width: 0;
    background: var(--ops-card);
    border: 1px solid var(--ops-border);
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .07);
}

.ops-table-card,
.ops-dashboard-card {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.ops-panel-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 7px 9px;
    color: #40516c;
    background: #f5f8fc;
    border-bottom: 1px solid #dbe6f2;
}

.ops-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2f4664;
    font-size: 13px;
    font-weight: 700;
}

.ops-panel-subtitle {
    display: inline-block;
    margin-left: 8px;
    color: #6b7c91;
    font-size: 12px;
}

.ops-card-toolbar,
.buttons-group,
.ops-row-actions,
.ops-pager-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ops-table-wrap {
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
}

.ops-data-table {
    width: 100%;
    min-width: 1120px;
    margin: 0;
    table-layout: auto;
    border-collapse: collapse;
    font-size: 11.5px;
}

.ops-data-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #344766;
    background: #f5f8fc;
    border-bottom: 1px solid #dbe6f2;
    font-weight: 700;
}

.ops-data-table th,
.ops-data-table td {
    padding: 5px 6px;
    line-height: 16px;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 1px solid #edf2f7;
}

.ops-data-table tbody tr:hover td {
    background: #eef5fc;
}

.ops-data-table .ops-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ops-empty-cell,
.ops-empty-state {
    padding: 18px !important;
    color: #68798e;
    text-align: center;
}

.ops-table-footer {
    flex: 0 0 auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 9px;
    color: #40516c;
    background: #f8fbff;
    border-top: 1px solid #dbe6f2;
}

.ops-pager-info {
    color: #6b7c91;
    font-size: 12px;
}

.ops-pager-buttons span {
    min-width: 72px;
    color: #40516c;
    font-weight: 700;
    text-align: center;
}

.ops-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.ops-badge-active { color: #256729; background: #eff8ef; border: 1px solid #c7e2c9; }
.ops-badge-muted { color: #526274; background: #eef2f6; border: 1px solid #d5dee9; }
.ops-badge-warning { color: #8a5a00; background: #fff7d6; border: 1px solid #ecd184; }
.ops-badge-danger { color: #922823; background: #fff1f0; border: 1px solid #f1c2bf; }

.ops-icon-btn,
.ops-primary-btn,
.ops-secondary-btn,
.ops-mini-btn {
    height: 30px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 20px;
    box-shadow: none;
}

.ops-icon-btn,
.ops-primary-btn {
    color: #244f82;
    background: #f8fbff;
    border: 1px solid #aec4dc;
}

.ops-icon-btn:hover,
.ops-icon-btn:focus,
.ops-primary-btn:hover,
.ops-primary-btn:focus {
    color: #123f73;
    background: #ffffff;
    border-color: #7ea4cc;
}

.ops-secondary-btn {
    color: #244f82;
    background: #eef5fc;
    border: 1px solid #c9d8e8;
}

.ops-secondary-btn:hover,
.ops-secondary-btn:focus {
    color: #0f2f63;
    background: #e2eef9;
}

.ops-account-logout-form {
    margin: 0;
}

.ops-account-logout-button {
    width: 100%;
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border: 0;
    border-radius: 4px;
    color: #244f82;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: left;
}

.ops-account-logout-button i {
    width: 15px;
    min-width: 15px;
    color: #315f91;
    text-align: center;
}

.ops-account-logout-button:hover,
.ops-account-logout-button:focus {
    color: #0f2f63;
    background: #e6f0fb;
    outline: none;
}

.ops-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #263b53;
    background: #edf3f9;
    font-family: Arial, sans-serif;
}

.ops-auth-box {
    width: 100%;
    max-width: 470px;
    padding: 28px;
    border: 1px solid #c8d7e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 63, 113, .16);
    text-align: center;
}

.ops-auth-box .ops-logo-3d {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #3b76bb, #1e4f91);
    box-shadow: 0 6px 16px rgba(24, 63, 113, .28);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ops-auth-box h1 {
    margin: 0 0 14px;
    color: #173f6f;
    font-size: 24px;
}

.ops-auth-box p {
    margin: 0 0 18px;
    line-height: 1.55;
}

.ops-auth-form {
    display: inline-block;
    margin: 0 5px 8px 0;
}

.ops-auth-alert {
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid #e1aaa6;
    border-radius: 4px;
    color: #7a201c;
    background: #fff1f0;
    text-align: left;
}

.ops-summary-row {
    min-height: 82px;
    display: grid;
    grid-template-columns: 150px 150px 150px minmax(320px, 1fr);
    gap: 8px;
    overflow: hidden;
}

.ops-stat-card {
    padding: 8px 10px;
}

.ops-stat-card span {
    display: block;
    color: #63758c;
    font-size: 11px;
    line-height: 14px;
}

.ops-stat-card strong {
    display: block;
    margin-top: 4px;
    color: #2f4664;
    font-size: 26px;
    line-height: 30px;
}

.ops-note-card {
    padding: 8px 10px;
    color: #50647c;
    font-size: 12px;
    line-height: 16px;
    overflow: auto;
}

.ops-note-title {
    color: #2f4664;
    font-weight: 700;
}

.ops-note-card p {
    margin: 4px 0 0;
}

.ops-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 10px;
    padding: 12px;
}

.ops-work-tile {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 13px;
    color: #2f4664;
    text-decoration: none;
    background: #f8fbff;
    border: 1px solid #dbe6f2;
    border-radius: 7px;
}

.ops-work-tile:hover,
.ops-work-tile:focus {
    color: #17324d;
    text-decoration: none;
    background: #eef5fc;
    border-color: #b8c9dc;
}

.ops-work-tile i {
    color: var(--ops-blue);
    font-size: 20px;
}

.ops-work-tile span {
    font-weight: 700;
}

.ops-work-tile em {
    color: #66788d;
    font-style: normal;
    line-height: 1.35;
}

.ops-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.ops-form-grid .form-group {
    min-width: 0;
    margin-bottom: 0;
}

.ops-form-grid .ops-full {
    grid-column: 1 / -1;
}

.ops-form-grid label,
.app-modal label {
    display: block;
    margin: 0 0 4px;
    color: #344766;
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
}

.app-modal .modal-body {
    max-height: calc(100vh - 190px);
    overflow: auto;
}

.app-modal .select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Bootstrap modals in the opstine module follow the same chrome as map dialogs. */
.app-modal .modal-dialog,
.modal.app-modal .modal-dialog {
    width: min(600px, calc(100vw - 32px));
    margin: 88px auto 24px;
}

.app-modal .modal-dialog.modal-lg,
.modal.app-modal .modal-dialog.modal-lg {
    width: min(980px, calc(100vw - 32px));
}

.app-modal .modal-content,
.modal.app-modal .modal-content {
    overflow: hidden;
    border: 1px solid #cfd8e3 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(17, 34, 51, .24) !important;
}

.app-modal .modal-header,
.modal.app-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 10px 42px 10px 14px !important;
    border: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    background: #143a5a !important;
    color: #ffffff !important;
    font-family: Roboto, Arial, sans-serif !important;
}

.app-modal .modal-title,
.modal.app-modal .modal-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: 0;
}

.app-modal .modal-title i,
.modal.app-modal .modal-title i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.app-modal .modal-header .close,
.modal.app-modal .modal-header .close,
.app-modal .ops-modal-close,
.modal.app-modal .ops-modal-close {
    position: absolute;
    top: 9px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
}

.app-modal .modal-header .close:hover,
.app-modal .modal-header .close:focus,
.modal.app-modal .modal-header .close:hover,
.modal.app-modal .modal-header .close:focus,
.app-modal .ops-modal-close:hover,
.app-modal .ops-modal-close:focus {
    background: rgba(255, 255, 255, .14) !important;
    color: #ffffff !important;
    outline: none;
    opacity: 1 !important;
}

.app-modal .modal-body,
.modal.app-modal .modal-body {
    max-height: calc(100vh - 150px) !important;
    padding: 10px !important;
    overflow: auto !important;
    overflow-x: hidden !important;
    background: #f6f8fb !important;
    color: #24384a !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 13px;
    line-height: 1.45;
}

.app-modal .modal-footer,
.modal.app-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 7px 10px !important;
    border: 0 !important;
    border-top: 1px solid #dbe6f2 !important;
    background: #f5f8fc !important;
}

.app-modal .form-control,
.modal.app-modal .form-control,
.app-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),
.modal.app-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),
.app-modal textarea,
.modal.app-modal textarea {
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid #cfd8e3;
    border-radius: 4px;
    background: #ffffff;
    color: #24384a;
    box-shadow: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12.5px;
    line-height: 18px;
}

.app-modal textarea,
.modal.app-modal textarea {
    min-height: 70px;
    resize: vertical;
}

.app-modal .form-control:focus,
.modal.app-modal .form-control:focus,
.app-modal input:focus,
.modal.app-modal input:focus,
.app-modal textarea:focus,
.modal.app-modal textarea:focus {
    border-color: #6d93ba;
    box-shadow: 0 0 0 3px rgba(20, 58, 90, .12);
    outline: none;
}

.app-modal .form-control[readonly],
.app-modal .form-control:disabled,
.modal.app-modal .form-control[readonly],
.modal.app-modal .form-control:disabled {
    background: #eef3f8;
    color: #65758a;
    cursor: not-allowed;
}

.app-modal .select2-container,
.modal.app-modal .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 30px !important;
}

.app-modal .select2-container--default .select2-selection--single,
.modal.app-modal .select2-container--default .select2-selection--single {
    width: 100% !important;
    min-height: 30px !important;
    height: 30px !important;
    border: 1px solid #cfd8e3 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.app-modal .select2-container--default .select2-selection--single .select2-selection__rendered,
.modal.app-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 28px !important;
    padding-left: 8px !important;
    padding-right: 34px !important;
    color: #24384a !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 28px !important;
}

.app-modal .select2-container--default .select2-selection--single .select2-selection__arrow,
.modal.app-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 1px !important;
    right: 4px !important;
    width: 22px !important;
    height: 28px !important;
    border: 0 !important;
    background: transparent !important;
}

.app-modal .select2-container--default .select2-selection--single .select2-selection__clear,
.modal.app-modal .select2-container--default .select2-selection--single .select2-selection__clear {
    right: 26px !important;
    width: 16px !important;
    height: 28px !important;
    margin: 0 !important;
    line-height: 28px !important;
}

.app-modal .select2-container--default.select2-container--focus .select2-selection--single,
.app-modal .select2-container--default.select2-container--open .select2-selection--single,
.modal.app-modal .select2-container--default.select2-container--focus .select2-selection--single,
.modal.app-modal .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #6d93ba !important;
    box-shadow: 0 0 0 3px rgba(20, 58, 90, .12) !important;
    outline: none !important;
}

.app-modal .btn:not(.close),
.modal.app-modal .btn:not(.close) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 92px !important;
    min-height: 28px !important;
    padding: 4px 10px !important;
    border: 1px solid #c8d9eb !important;
    border-radius: 2px !important;
    color: #244f82 !important;
    background: #eef5fc !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    text-shadow: none !important;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease !important;
}

.app-modal .btn:not(.close):hover,
.app-modal .btn:not(.close):focus,
.modal.app-modal .btn:not(.close):hover,
.modal.app-modal .btn:not(.close):focus {
    color: #0f2f63 !important;
    background: #e2eef9 !important;
    border-color: #adc7e2 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(36,79,130,.16) !important;
    outline: none !important;
}

.app-modal .btn:not(.close):active,
.modal.app-modal .btn:not(.close):active {
    background: #d5e6f5 !important;
    box-shadow: inset 0 1px 2px rgba(36,79,130,.18) !important;
}

.app-modal .btn:not(.close) i,
.modal.app-modal .btn:not(.close) i {
    margin-right: 2px !important;
}

.ops-program-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.ops-program-form .form-group {
    min-width: 0;
    margin: 0;
}

.ops-program-title-field,
.ops-program-note {
    grid-column: 1 / -1;
}

@media (max-width: 620px) {
    .app-modal .modal-dialog,
    .modal.app-modal .modal-dialog {
        width: calc(100vw - 20px);
        margin: 62px auto 14px;
    }

    .ops-program-form {
        grid-template-columns: 1fr;
    }
}

.ops-loader,
.zis-fullscreen-loader {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(8, 18, 34, .32) !important;
    backdrop-filter: blur(3px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(3px) saturate(120%) !important;
}

.ops-loader:not([hidden]) {
    display: flex !important;
}

.zis-loader-card {
    min-width: 168px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(232,241,250,.84));
    box-shadow: 0 18px 42px rgba(15,35,60,.24), inset 0 1px 0 rgba(255,255,255,.95);
    color: #16324f;
    text-align: center;
}

.zis-loader-orbit {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #1f6fb2, #54b7d8, #85d8b4, #f4d35e, #1f6fb2);
    animation: zis-loader-spin .9s linear infinite;
    box-shadow: 0 0 0 1px rgba(31,111,178,.12), 0 6px 16px rgba(31,111,178,.22);
}

.zis-loader-orbit::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff, #edf5fc);
}

.zis-loader-orbit::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255,255,255,.95);
}

.zis-loader-text {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: #16324f;
    white-space: nowrap;
}

.zis-loader-dots {
    display: inline-flex;
    gap: 4px;
    margin-top: -3px;
}

.zis-loader-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2f7fbd;
    opacity: .45;
    animation: zis-loader-pulse 1s ease-in-out infinite;
}

.zis-loader-dots i:nth-child(2) { animation-delay: .16s; }
.zis-loader-dots i:nth-child(3) { animation-delay: .32s; }

@keyframes zis-loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes zis-loader-pulse {
    0%, 80%, 100% { transform: translateY(0); opacity: .35; }
    40% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .zis-loader-orbit,
    .zis-loader-dots i {
        animation: none !important;
    }
}

.ops-candidate-toolbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
    gap: 8px;
    margin-bottom: 10px;
    align-items: end;
}

.ops-selection-summary,
.ops-map-add-context {
    margin: 8px 0 0;
    padding: 8px 10px;
    color: #374151;
    background: #f8fbff;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    font-size: 13px;
}

.ops-dkp-zis-modal .modal-dialog {
    width: min(1180px, calc(100vw - 32px));
}

.ops-dkp-zis-controls {
    display: grid;
    grid-template-columns: 190px 160px 190px minmax(220px, 1fr);
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.ops-dkp-zis-wrap {
    max-height: calc(100vh - 300px);
}

.ops-dkp-zis-table {
    min-width: 1320px;
}

.ops-dkp-zis-table .form-control {
    min-width: 130px;
    height: 32px;
    padding: 5px 8px;
}

.ops-report-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px 10px;
    color: #40516c;
    background: #f8fbff;
    border-bottom: 1px solid #dbe6f2;
    font-size: 12px;
}

.ops-report-summary span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

body.ops-map-page #view-panel {
    padding: 0 !important;
}

body.ops-map-page #map {
    min-width: 320px;
    min-height: 320px;
}

@media (max-width: 1100px) {
    .ops-summary-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 72px 60px;
        height: 142px;
    }
    .ops-note-card { grid-column: 1 / -1; }
    .ops-work-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
}

@media (max-width: 760px) {
    .ops-summary-row,
    .ops-form-grid,
    .ops-work-grid,
    .ops-candidate-toolbar,
    .ops-dkp-zis-controls {
        grid-template-columns: 1fr;
    }
}

.ops-data-table .zis-parcele-action-btn,
.ops-data-table .zis-table-map-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 1px !important;
    padding: 0 !important;
    border: 1px solid #c7d7e8 !important;
    border-radius: 4px !important;
    background-color: #f8fbff !important;
    background-image: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
    color: #315f91 !important;
    -webkit-text-fill-color: #315f91 !important;
    font-family: FontAwesome, "Font Awesome 5 Free", Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 22px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    vertical-align: middle !important;
    white-space: nowrap;
    cursor: pointer !important;
    outline: none !important;
}

.ops-data-table .zis-parcele-action-btn:hover,
.ops-data-table .zis-table-map-link:hover {
    border-color: #7ea4cc !important;
    background-color: #eaf2fb !important;
    color: #123f73 !important;
    -webkit-text-fill-color: #123f73 !important;
    text-decoration: none !important;
}

.ops-data-table .zis-parcele-action-btn:focus,
.ops-data-table .zis-table-map-link:focus {
    box-shadow: 0 0 0 2px rgba(94,134,181,.18), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.ops-data-table .zis-parcele-action-btn i,
.ops-data-table .zis-table-map-link i {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 14px !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-align: center !important;
}

.ops-data-table .zis-parcele-action-btn .fa-users {
    color: #52657a !important;
    -webkit-text-fill-color: #52657a !important;
}

.ops-data-table .zis-table-map-link-disabled,
.ops-data-table .zis-parcele-action-btn-disabled {
    border-color: #d9e3ee !important;
    background-color: #f3f6fa !important;
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    opacity: .58 !important;
    cursor: default !important;
    pointer-events: none !important;
    filter: grayscale(1) !important;
}

.ops-data-table th,
.ops-data-table td {
    white-space: nowrap;
}

.ops-pre-wrap {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}

.ops-table-panel-head {
    align-items: center;
    min-height: 46px;
}

.ops-table-title-block {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ops-table-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.ops-per-page-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #51647d;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ops-per-page-control .select2-container,
.ops-per-page-control select {
    width: 74px !important;
}

.ops-column-menu-wrap {
    position: relative;
    display: inline-flex;
}

.ops-column-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 40;
    width: 270px;
    max-height: min(420px, calc(100vh - 190px));
    overflow: hidden;
    color: #344766;
    background: #ffffff;
    border: 1px solid #bfd0e1;
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(42, 58, 79, .18);
}

.ops-column-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #e4ebf3;
    background: #f7faff;
    font-size: 12px;
}

.ops-column-link {
    margin-left: 6px;
    padding: 0;
    color: #245a82;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 700;
}

.ops-column-menu-list {
    max-height: 360px;
    overflow: auto;
    padding: 7px 8px;
}

.ops-column-option {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    margin: 0;
    padding: 3px 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.ops-column-option:hover {
    background: #eef5fc;
}

.ops-zis-data-table {
    min-width: 1780px;
    border-collapse: separate;
    border-spacing: 0;
}

.ops-zis-data-table th,
.ops-zis-data-table td {
    height: 30px;
}

.ops-zis-data-table th.ops-sortable {
    cursor: pointer;
    user-select: none;
}

.ops-zis-data-table th.ops-sortable > span {
    display: inline-block;
    padding-right: 4px;
}

.ops-sort-icon {
    color: #8fa0b3;
    font-size: 10px;
}

.ops-zis-data-table th.is-sort-asc,
.ops-zis-data-table th.is-sort-desc {
    color: #163f68;
    background: #edf5fc;
}

.ops-zis-data-table th.is-sort-asc .ops-sort-icon,
.ops-zis-data-table th.is-sort-desc .ops-sort-icon {
    color: #1c5d93;
}

.ops-zis-data-table .ops-action-col,
.ops-zis-data-table .ops-mini-col {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    text-align: center;
}

.ops-zis-data-table .ops-action-sticky {
    position: sticky;
    z-index: 3;
    background: #ffffff;
}

.ops-zis-data-table thead .ops-action-sticky {
    z-index: 5;
    background: #f5f8fc;
}

.ops-zis-data-table tbody tr:hover .ops-action-sticky {
    background: #eef5fc;
}

.ops-zis-data-table .ops-sticky-1 { left: 0; }
.ops-zis-data-table .ops-sticky-2 { left: 34px; }
.ops-zis-data-table .ops-sticky-3 { left: 68px; }
.ops-zis-data-table .ops-sticky-4 { left: 102px; box-shadow: 5px 0 8px rgba(34, 51, 84, .06); }

.ops-zis-data-table [data-col="koriscenje"] { min-width: 178px; }
.ops-zis-data-table [data-col="idx"] { min-width: 92px; }
.ops-zis-data-table [data-col="opstina"] { min-width: 110px; }
.ops-zis-data-table [data-col="ko"] { min-width: 130px; }
.ops-zis-data-table [data-col="l_kultura"] { min-width: 170px; }
.ops-zis-data-table [data-col="aktivno"],
.ops-zis-data-table [data-col="zauzetost"] { min-width: 106px; }

.ops-ugovori-summary-card .ops-zis-data-table {
    min-width: 1040px;
}

.ops-ugovori-summary-card .ops-zis-data-table th,
.ops-ugovori-summary-card .ops-zis-data-table td {
    padding-left: 5px;
    padding-right: 5px;
}

.ops-ugovori-summary-card .ops-zis-data-table [data-col="aktivno"] { width: 96px; min-width: 96px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="id"] { width: 58px; min-width: 58px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="jib_jbm"] { width: 112px; min-width: 112px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="korisnik"] { min-width: 260px; max-width: 360px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="ev_br_ugovora"] { width: 122px; min-width: 122px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="aneks_broj"] { width: 74px; min-width: 74px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="ukupna_povrsina"] { width: 108px; min-width: 108px; }
.ops-ugovori-summary-card .ops-zis-data-table [data-col="dat_zavr"] { width: 88px; min-width: 88px; }

.ops-smart-pager {
    gap: 4px;
}

.ops-smart-pager .btn {
    min-width: 30px;
    height: 28px;
    padding: 3px 7px;
}

.ops-smart-pager .btn.active {
    color: #ffffff;
    background: #2d638f;
    border-color: #2d638f;
}

.ops-page-total {
    min-width: 74px;
    padding-left: 5px;
    color: #51647d;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 900px) {
    .ops-table-panel-head,
    .ops-table-title-block,
    .ops-table-tools {
        align-items: flex-start;
        flex-direction: column;
    }
    .ops-column-menu {
        right: auto;
        left: 0;
    }
}

.ops-column-option-fixed {
    color: #6d7d90;
    cursor: default;
}

.ops-column-option-fixed input {
    opacity: .55;
}

/* Dynamic toolbar height override for wrapped filter panels. */
body.ima-pretragu #pretrazivanje {
    min-height: 42px !important;
}

body.ima-pretragu #view-panel,
body.ima-pretragu .viewpanel,
body.ima-pretragu [id*="view-panel"] {
    top: calc(var(--zis-topbar-height, 52px) + var(--ops-search-height, 42px)) !important;
}

body.ima-pretragu.pretraga-skrivena #view-panel,
body.ima-pretragu.pretraga-skrivena .viewpanel,
body.ima-pretragu.pretraga-skrivena [id*="view-panel"] {
    top: var(--zis-topbar-height, 52px) !important;
}

/* Strong override for table pages where filter toolbar wraps into multiple rows. */
body.zis-layout-table.ima-pretragu #view-panel,
body.zis-layout-table.ima-pretragu .viewpanel,
body.zis-layout-table.ima-pretragu div.viewpanel,
body.zis-layout-table.ima-pretragu [id*="view-panel"],
body.zis-layout-table.ima-pretragu .viewpanel1,
body.zis-layout-table.ima-pretragu div.viewpanel1 {
    top: calc(var(--zis-topbar-height, 52px) + var(--ops-search-height, 42px)) !important;
}

body.zis-layout-table.ima-pretragu.pretraga-skrivena #view-panel,
body.zis-layout-table.ima-pretragu.pretraga-skrivena .viewpanel,
body.zis-layout-table.ima-pretragu.pretraga-skrivena div.viewpanel,
body.zis-layout-table.ima-pretragu.pretraga-skrivena [id*="view-panel"],
body.zis-layout-table.ima-pretragu.pretraga-skrivena .viewpanel1,
body.zis-layout-table.ima-pretragu.pretraga-skrivena div.viewpanel1 {
    top: var(--zis-topbar-height, 52px) !important;
}

/* More compact and quieter pagination for the polished ZIS parcels table. */
.ops-zis-table-footer {
    min-height: 32px;
    padding: 4px 8px;
    background: #fbfdff;
}

.ops-zis-table-footer .ops-pager-info {
    color: #74849a;
    font-size: 11.5px;
}

.ops-zis-table-footer .ops-smart-pager {
    gap: 3px;
}

.ops-zis-table-footer .ops-smart-pager .btn {
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    color: #49627e;
    background: #f7fafd;
    border-color: #d6e1ee;
    font-size: 11.5px;
    line-height: 18px;
    box-shadow: none;
}

.ops-zis-table-footer .ops-smart-pager .btn i {
    font-size: 10px;
}

.ops-zis-table-footer .ops-smart-pager .btn:hover,
.ops-zis-table-footer .ops-smart-pager .btn:focus {
    color: #244f82;
    background: #eef5fc;
    border-color: #bfd0e1;
}

.ops-zis-table-footer .ops-smart-pager .btn.active {
    color: #ffffff;
    background: #5b7fa4;
    border-color: #5b7fa4;
}

.ops-zis-table-footer .ops-smart-pager .btn:disabled {
    color: #aab5c2;
    background: #f8fafc;
    border-color: #e1e8f0;
    opacity: .75;
}

.ops-zis-table-footer .ops-page-total {
    min-width: 58px;
    padding-left: 4px;
    color: #74849a;
    font-size: 11.5px;
    font-weight: 600;
}

/* DKP table uses the same polished table mechanics as ZIS parcels, with a narrower dataset. */
.ops-dkp-data-table {
    min-width: 1380px;
}

.ops-dkp-data-table .ops-sticky-3 {
    box-shadow: 5px 0 8px rgba(34, 51, 84, .06);
}

.ops-dkp-data-table [data-col="id_parcele"] { min-width: 96px; }
.ops-dkp-data-table [data-col="tip_evidencije"] { min-width: 88px; }
.ops-dkp-data-table [data-col="kat_opstina"] { min-width: 140px; }
.ops-dkp-data-table [data-col="pl_ln_broj"] { min-width: 82px; }
.ops-dkp-data-table [data-col="broj_parcele"] { min-width: 82px; }
.ops-dkp-data-table [data-col="podbroj_parcele"] { min-width: 86px; }
.ops-dkp-data-table [data-col="povrsina_dkp"],
.ops-dkp-data-table [data-col="povrsina"] { min-width: 112px; }
.ops-dkp-data-table [data-col="updated"] { min-width: 136px; }
/* Posjednici table follows the same column order as /zis: ID, opstina, KO, PL/LN, naziv, adresa, udio. */
.ops-posjednici-data-table {
    min-width: 980px;
}

.ops-posjednici-data-table [data-col="opstina"] { min-width: 120px; }
.ops-posjednici-data-table [data-col="kat_opstina"] { min-width: 150px; }
.ops-posjednici-data-table [data-col="pl_ln_broj"] { min-width: 86px; }
.ops-posjednici-data-table [data-col="naziv"] { min-width: 260px; }
.ops-posjednici-data-table [data-col="adresa"] { min-width: 250px; }
.ops-posjednici-data-table [data-col="udio"] { min-width: 78px; }

.ops-table-title-block .ops-panel-subtitle:first-child {
    margin-left: 0;
}

.ops-programi-data-table [data-col="naziv"] { min-width: 220px; }

.ops-stavke-data-table {
    min-width: 1220px;
}

.ops-stavke-data-table [data-col="id"] { min-width: 64px; }
.ops-stavke-data-table [data-col="godina"] { min-width: 74px; }
.ops-stavke-data-table [data-col="ko"] { min-width: 150px; }
.ops-stavke-data-table [data-col="pl"] { min-width: 72px; }
.ops-stavke-data-table [data-col="broj"],
.ops-stavke-data-table [data-col="podbroj"] { min-width: 76px; }
.ops-stavke-data-table [data-col="kultura"] { min-width: 190px; }
.ops-stavke-data-table [data-col="povrsina"],
.ops-stavke-data-table [data-col="dodjela"] { min-width: 116px; }
.ops-stavke-data-table [data-col="vrsta"] { min-width: 132px; }
.ops-stavke-data-table [data-col="status"] { min-width: 118px; }
.ops-stavke-data-table [data-col="izostavljeno"] { min-width: 140px; }
.ops-stavke-data-table [data-col="akcije"] { min-width: 116px; }

.ops-stavke-data-table th.ops-sortable > span {
    display: inline-block;
    padding-right: 8px;
}

.ops-stavke-data-table .ops-action-col {
    width: 116px;
    min-width: 116px;
    max-width: 116px;
    text-align: center;
}

.ops-stavke-data-table .ops-sticky-1 {
    left: 0;
    box-shadow: 5px 0 8px rgba(34, 51, 84, .06);
}

.ops-stavke-data-table .ops-stavke-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
}


.ops-note-dialog-text {
    white-space: pre-wrap;
    color: #24384a;
    font-size: 13px;
    line-height: 1.45;
}

/* Select2 clear button alignment in filters and dialogs. */
body.ima-pretragu #pretrazivanje .select2-container--default .select2-selection--single .select2-selection__clear,
body.zis-layout-table #pretrazivanje .select2-container--default .select2-selection--single .select2-selection__clear,
.ops-page-shell .select2-container--default .select2-selection--single .select2-selection__clear,
.app-modal .select2-container--default .select2-selection--single .select2-selection__clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 28px !important;
    margin: 0 18px 0 0 !important;
    padding: 0 !important;
    line-height: 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

body.ima-pretragu #pretrazivanje .select2-container--default .select2-selection--single .select2-selection__rendered,
body.zis-layout-table #pretrazivanje .select2-container--default .select2-selection--single .select2-selection__rendered,
.ops-page-shell .select2-container--default .select2-selection--single .select2-selection__rendered,
.app-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 44px !important;
}



/* Page dialogs are rendered through jQuery UI, matching the map dialog chrome. */
.ops-ui-app-modal {
    display: none;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f6f8fb !important;
    color: #24384a !important;
    font-family: Roboto, Arial, sans-serif !important;
}

.ops-ui-app-modal .ops-ui-source-header {
    display: none !important;
}

.ops-app-ui-dialog.ui-dialog,
div.ops-app-ui-dialog.ui-dialog {
    max-width: calc(100vw - 24px) !important;
}

.ops-app-ui-dialog .ui-dialog-titlebar {
    cursor: move !important;
}

.ops-app-ui-dialog .ui-dialog-titlebar {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.ops-app-ui-dialog .ui-dialog-content,
.ops-app-ui-dialog .ops-ui-app-modal,
.ops-app-ui-dialog .modal-body {
    margin-top: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

.ops-app-ui-dialog .ui-dialog-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ops-app-ui-dialog .ui-dialog-title i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.ops-app-ui-dialog .ui-dialog-content,
.ops-app-ui-dialog .ui-widget-content,
.ops-app-ui-dialog .ops-ui-app-modal {
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    background: #f6f8fb !important;
    box-shadow: none !important;
}

.ops-app-ui-dialog .modal-body,
.ops-ui-app-modal .modal-body {
    max-height: calc(100vh - 190px) !important;
    padding: 10px !important;
    overflow: auto !important;
    overflow-x: hidden !important;
    background: #f6f8fb !important;
    color: #24384a !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}


.ops-app-ui-dialog .modal-body,
.ops-app-ui-dialog .modal-footer,
.ops-ui-app-modal .modal-body,
.ops-ui-app-modal .modal-footer {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

.ops-app-ui-dialog .modal-footer,
.ops-ui-app-modal .modal-footer,
.ops-ui-app-modal .ops-ui-dialog-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    border: 0 !important;
    border-top: 1px solid #dbe6f2 !important;
    background: #f5f8fc !important;
    text-align: right !important;
}

.ops-app-ui-dialog .close,
.ops-ui-app-modal .close,
.ops-ui-app-modal .modal-header,
.ops-app-ui-dialog .ops-ui-source-header {
    display: none !important;
}

.ops-app-ui-dialog .form-control,
.ops-ui-app-modal .form-control,
.ops-app-ui-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),
.ops-ui-app-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),
.ops-app-ui-dialog textarea,
.ops-ui-app-modal textarea {
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid #cfd8e3;
    border-radius: 4px;
    background: #ffffff;
    color: #24384a;
    box-shadow: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12.5px;
    line-height: 18px;
}

.ops-app-ui-dialog .form-control:focus,
.ops-ui-app-modal .form-control:focus,
.ops-app-ui-dialog input:focus,
.ops-ui-app-modal input:focus,
.ops-app-ui-dialog textarea:focus,
.ops-ui-app-modal textarea:focus {
    border-color: #6d93ba;
    box-shadow: 0 0 0 3px rgba(20, 58, 90, .12);
    outline: none;
}

.ops-app-ui-dialog .select2-container,
.ops-ui-app-modal .select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.ops-app-ui-dialog .select2-container--default .select2-selection--single,
.ops-ui-app-modal .select2-container--default .select2-selection--single {
    height: 30px !important;
    min-height: 30px !important;
    border: 1px solid #cfd8e3 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

/* Global OPS notifications use the same visual language as map layer/feature dialogs. */
.ops-notice-dialog.ui-dialog,
div.ops-notice-dialog.ui-dialog {
    background: #ffffff !important;
    border: 1px solid #cfd8e3 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(17, 34, 51, .24) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ops-notice-dialog .ui-dialog-titlebar {
    background: #143a5a !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 10px 42px 10px 14px !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

.ops-notice-dialog .ui-dialog-title {
    color: #ffffff !important;
    line-height: 18px !important;
}

.ops-notice-dialog .ops-dialog-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ops-notice-dialog .ui-dialog-titlebar-close {
    top: 50% !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.ops-notice-dialog .ui-dialog-titlebar-close::before {
    content: "×" !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
}

.ops-notice-dialog .ui-dialog-titlebar-close .ui-icon {
    display: none !important;
}

.ops-notice-dialog .ui-dialog-titlebar-close:hover {
    background: rgba(255, 255, 255, .14) !important;
}

.ops-notice-dialog .ui-dialog-content {
    max-height: calc(100vh - 190px) !important;
    padding: 14px 16px !important;
    overflow: auto !important;
    background: #f6f8fb !important;
    color: #24384a !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.ops-notice-dialog .ui-dialog-content p:last-child {
    margin-bottom: 0;
}

.ops-notice-dialog .ui-dialog-buttonpane {
    display: flex !important;
    justify-content: flex-end !important;
    min-height: 42px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    border: 0 !important;
    border-top: 1px solid #dbe6f2 !important;
    background: #f5f8fc !important;
}

.ops-notice-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    display: inline-flex;
    justify-content: flex-end;
    width: 100%;
}

.ops-notice-dialog.ops-dialog-danger .ui-dialog-titlebar {
    background: #8a2f2b !important;
}

.ops-notice-dialog.ops-dialog-success .ui-dialog-titlebar {
    background: #2f6f4d !important;
}

.ops-map-add-info-row {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 8px;
    align-items: start;
    padding: 2px 0;
}

.ops-map-add-info-row span,
.ops-map-add-cultures > span {
    color: #6b7280;
    font-weight: 700;
}

.ops-map-add-info-row strong {
    color: #1f2937;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ops-map-add-cultures {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dbe6f2;
}

.ops-map-add-cultures-list {
    margin-top: 4px;
    color: #1f2937;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.ops-map-add-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: end;
}

.ops-map-add-two-col .form-group {
    margin-bottom: 0;
}

.ops-map-add-two-col .ops-map-add-full {
    grid-column: 1 / -1;
}

@media (max-width: 560px) {
    .ops-map-add-two-col {
        grid-template-columns: 1fr;
    }
}
.ops-program-add-dialog.ui-dialog,
div.ops-program-add-dialog.ui-dialog {
    max-width: calc(100vw - 32px) !important;
}

.ops-map-add-help {
    margin-top: 5px;
    color: #607085;
    font-size: 12px;
    line-height: 1.35;
}

.ops-map-add-warning {
    color: #8a5a00;
    font-weight: 700;
}

.ops-map-add-empty {
    padding: 10px 12px;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    background: #f8fbff;
    color: #607085;
    font-weight: 700;
}

.ops-map-program-parts-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
    color: #4b5f75;
    font-size: 12px;
    font-weight: 700;
}

.ops-map-program-parts-toolbar label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
}

.ops-map-program-parts {
    max-height: 245px;
    overflow: auto;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    background: #fff;
}

.ops-map-program-parts-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.ops-map-program-parts-table th,
.ops-map-program-parts-table td {
    padding: 7px 8px;
    border-bottom: 1px solid #e5edf6;
    vertical-align: middle;
    white-space: nowrap;
}

.ops-map-program-parts-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef4fb;
    color: #31465d;
    font-weight: 800;
}

.ops-map-program-parts-table th:nth-child(1),
.ops-map-program-parts-table td:nth-child(1) {
    width: 34px;
    text-align: center;
}

.ops-map-program-parts-table th:nth-child(2),
.ops-map-program-parts-table td:nth-child(2) {
    width: auto;
    min-width: 180px;
    white-space: normal;
}

.ops-map-program-parts-table th:nth-child(3),
.ops-map-program-parts-table td:nth-child(3) {
    width: 118px;
    text-align: right;
}

.ops-map-program-parts-table th:nth-child(4),
.ops-map-program-parts-table td:nth-child(4) {
    width: 140px;
}

.ops-map-program-parts-table tbody tr:last-child td {
    border-bottom: 0;
}

.ops-map-program-part-area {
    height: 30px;
    padding: 4px 7px;
    text-align: right;
}

.ops-map-program-part-disabled {
    opacity: 0.55;
}

.ops-map-part-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 5px;
    border-radius: 999px;
    background: #fff4db;
    color: #8a5a00;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

/* Program dodjele sa mape */
.ops-program-add-dialog.ui-dialog,
div.ops-program-add-dialog.ui-dialog {
    max-width: calc(100vw - 28px) !important;
}

.ops-program-add-dialog .ui-dialog-content {
    max-height: calc(100vh - 150px) !important;
    overflow: auto !important;
}

.ops-map-program-dialog-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ops-map-program-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(145px, 1fr));
    gap: 10px 12px;
    align-items: end;
    padding: 10px 12px;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    background: #f8fbff;
}

.ops-map-program-form-grid .form-group {
    margin-bottom: 0;
}

.ops-map-program-form-grid label {
    margin-bottom: 4px;
    color: #31465d;
    font-size: 12px;
    font-weight: 800;
}

.ops-map-program-form-wide {
    grid-column: span 2;
}

.ops-map-program-section-title {
    margin: 0 0 -4px;
    color: #26394f;
    font-size: 13px;
    font-weight: 800;
}

.ops-map-add-error {
    margin: 0;
    padding: 10px 12px;
    border-left: 4px solid #b42318;
    border-radius: 6px;
    background: #fff1f0;
    color: #842029;
    font-weight: 700;
    line-height: 1.35;
}

.ops-map-program-parts {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    background: #fff;
}

.ops-map-program-parts-table {
    min-width: 920px;
    table-layout: auto;
}

.ops-map-program-parts-table th,
.ops-map-program-parts-table td {
    padding: 7px 8px;
    white-space: nowrap;
}

.ops-map-program-parts-table th:nth-child(1),
.ops-map-program-parts-table td:nth-child(1) {
    width: 34px;
}

.ops-map-program-parts-table th:nth-child(2),
.ops-map-program-parts-table td:nth-child(2) {
    width: 220px;
    min-width: 220px;
    white-space: normal;
}

.ops-map-program-parts-table th:nth-child(3),
.ops-map-program-parts-table td:nth-child(3),
.ops-map-program-parts-table th:nth-child(4),
.ops-map-program-parts-table td:nth-child(4),
.ops-map-program-parts-table th:nth-child(5),
.ops-map-program-parts-table td:nth-child(5) {
    width: 118px;
    text-align: right;
}

.ops-map-program-parts-table th:nth-child(6),
.ops-map-program-parts-table td:nth-child(6) {
    width: 130px;
}

.ops-map-program-parts-table th:nth-child(7),
.ops-map-program-parts-table td:nth-child(7) {
    width: 150px;
    max-width: 180px;
    white-space: normal;
}

.ops-map-program-parts-table th:nth-child(8),
.ops-map-program-parts-table td:nth-child(8) {
    width: 92px;
    text-align: center;
}

.ops-map-program-block-reason {
    margin-top: 4px;
    color: #9a3412;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.ops-map-program-muted {
    color: #7c8794;
    font-size: 11px;
    font-weight: 700;
}

.ops-map-program-history-row > td {
    padding: 0 !important;
    background: #f8fbff;
}

.ops-map-program-history-box {
    padding: 10px 12px 12px;
    border-top: 1px solid #dbe6f2;
}

.ops-map-program-history-title {
    margin-bottom: 7px;
    color: #31465d;
    font-size: 12px;
    font-weight: 800;
}

.ops-map-program-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.ops-map-program-history-table th,
.ops-map-program-history-table td {
    padding: 5px 6px;
    border: 1px solid #dbe6f2;
    background: #fff;
    white-space: nowrap;
}

.ops-map-program-history-table th {
    background: #eef4fb;
    color: #31465d;
    font-weight: 800;
}

.ops-map-program-history-btn {
    min-width: 54px;
    height: 28px;
    padding: 4px 7px;
    border: 1px solid #c8d6e6;
    background: #fff;
    color: #31465d;
    font-size: 11px;
    font-weight: 800;
}

.ops-map-program-history-btn.is-open,
.ops-map-program-history-btn:hover {
    background: #e8f0f8;
}

@media (max-width: 900px) {
    .ops-map-program-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ops-map-program-form-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .ops-map-program-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Per-row controls for program dodjele */
.ops-map-program-parts-table {
    min-width: 1260px;
}

.ops-map-program-parts-table th:nth-child(1),
.ops-map-program-parts-table td:nth-child(1) { width: 34px; }
.ops-map-program-parts-table th:nth-child(2),
.ops-map-program-parts-table td:nth-child(2) { width: 230px; min-width: 230px; white-space: normal; }
.ops-map-program-parts-table th:nth-child(3),
.ops-map-program-parts-table td:nth-child(3),
.ops-map-program-parts-table th:nth-child(4),
.ops-map-program-parts-table td:nth-child(4),
.ops-map-program-parts-table th:nth-child(5),
.ops-map-program-parts-table td:nth-child(5) { width: 115px; text-align: right; }
.ops-map-program-parts-table th:nth-child(6),
.ops-map-program-parts-table td:nth-child(6) { width: 118px; }
.ops-map-program-parts-table th:nth-child(7),
.ops-map-program-parts-table td:nth-child(7),
.ops-map-program-parts-table th:nth-child(8),
.ops-map-program-parts-table td:nth-child(8) { width: 125px; }
.ops-map-program-parts-table th:nth-child(9),
.ops-map-program-parts-table td:nth-child(9) { width: 95px; }
.ops-map-program-parts-table th:nth-child(10),
.ops-map-program-parts-table td:nth-child(10) { width: 130px; }
.ops-map-program-parts-table th:nth-child(11),
.ops-map-program-parts-table td:nth-child(11) { width: 86px; text-align: center; }

.ops-map-program-row-control {
    height: 30px;
    min-height: 30px;
    padding: 4px 7px;
    font-size: 12px;
}

.ops-map-program-subline {
    margin-top: 4px;
    color: #607085;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.ops-map-program-form-wide {
    grid-column: 1 / -1;
}

/* Compact parent parcel summary in program dialog */
.ops-program-add-dialog .ops-map-add-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 14px;
    margin: 0;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.25;
}

.ops-program-add-dialog .ops-map-add-info-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    padding: 0;
}

.ops-program-add-dialog .ops-map-add-info-row span {
    flex: 0 0 auto;
    color: #607085;
    font-size: 11px;
    font-weight: 800;
}

.ops-program-add-dialog .ops-map-add-info-row strong {
    min-width: 0;
    overflow: hidden;
    color: #1f2937;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .ops-program-add-dialog .ops-map-add-context {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .ops-program-add-dialog .ops-map-add-context {
        grid-template-columns: 1fr;
    }
}

/* Compact styled checkboxes in program dialog */
.ops-map-program-parts-toolbar {
    justify-content: flex-end;
    margin-bottom: 5px;
}

.ops-map-program-check {
    text-align: center !important;
    vertical-align: middle !important;
}

.ops-map-program-check-input {
    width: 15px;
    height: 15px;
    margin: 0 !important;
    accent-color: #2f5d7c;
    cursor: pointer;
    vertical-align: middle;
}

.ops-map-program-check-input:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.ops-map-program-parts-table thead .ops-map-program-check {
    padding-left: 0;
    padding-right: 0;
}

/* Strong custom checkbox style for program table */
.ops-program-add-dialog .ops-map-program-check-input {
    -webkit-appearance: none;
    appearance: none;
    display: inline-grid;
    place-content: center;
    width: 16px;
    height: 16px;
    margin: 0 !important;
    border: 1px solid #9fb0c2;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, .08);
    cursor: pointer;
    vertical-align: middle;
}

.ops-program-add-dialog .ops-map-program-check-input::before {
    content: "";
    width: 8px;
    height: 5px;
    margin-top: -1px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform .08s ease-in-out;
}

.ops-program-add-dialog .ops-map-program-check-input:checked {
    border-color: #2f5d7c;
    background: #2f5d7c;
    box-shadow: 0 0 0 2px rgba(47, 93, 124, .14);
}

.ops-program-add-dialog .ops-map-program-check-input:checked::before {
    transform: rotate(-45deg) scale(1);
}

.ops-program-add-dialog .ops-map-program-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 93, 124, .22);
}

.ops-program-add-dialog .ops-map-program-check-input:disabled {
    border-color: #cfd8e3;
    background: #eef2f7;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .75;
}

.ops-program-add-dialog .ops-map-program-parts-table thead .ops-map-program-check {
    padding: 0 !important;
}

/* Final compact controls in program dialog */
.ops-program-add-dialog .ops-map-check-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
}

.ops-program-add-dialog .ops-map-check-wrap .ops-map-program-check-input {
    position: absolute;
    inset: 0;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.ops-program-add-dialog .ops-map-check-box {
    width: 14px;
    height: 14px;
    border: 1px solid #8fa2b6;
    border-radius: 3px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, .08);
    transition: background .08s ease, border-color .08s ease, box-shadow .08s ease;
}

.ops-program-add-dialog .ops-map-check-box::after {
    content: "";
    display: block;
    width: 7px;
    height: 4px;
    margin: 3px 0 0 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
}

.ops-program-add-dialog .ops-map-program-check-input:checked + .ops-map-check-box {
    border-color: #2f5d7c;
    background: #2f5d7c;
    box-shadow: 0 0 0 2px rgba(47, 93, 124, .12);
}

.ops-program-add-dialog .ops-map-program-check-input:checked + .ops-map-check-box::after {
    transform: rotate(-45deg) scale(1);
}

.ops-program-add-dialog .ops-map-program-check-input:focus-visible + .ops-map-check-box {
    box-shadow: 0 0 0 3px rgba(47, 93, 124, .22);
}

.ops-program-add-dialog .ops-map-program-check-input:disabled,
.ops-program-add-dialog .ops-map-program-check-input:disabled + .ops-map-check-box {
    cursor: not-allowed;
}

.ops-program-add-dialog .ops-map-program-check-input:disabled + .ops-map-check-box {
    border-color: #ccd6e1;
    background: #edf2f7;
    box-shadow: none;
}

.ops-program-add-dialog .ops-map-program-parts-table th,
.ops-program-add-dialog .ops-map-program-parts-table td {
    line-height: 1.25;
}

.ops-program-add-dialog .ops-map-program-row-control,
.ops-program-add-dialog .form-control {
    height: 30px;
    min-height: 30px;
    border: 1px solid #c6d3e1;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-size: 12px;
    box-shadow: none;
}

.ops-program-add-dialog .ops-map-program-row-control:focus,
.ops-program-add-dialog .form-control:focus {
    border-color: #6f90ad;
    box-shadow: 0 0 0 2px rgba(47, 93, 124, .12);
    outline: 0;
}

.ops-program-add-dialog select.ops-map-program-row-control {
    padding: 4px 24px 4px 8px;
}

.ops-program-add-dialog .select2-container--default .select2-selection--single {
    height: 32px;
    border: 1px solid #c6d3e1;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.ops-program-add-dialog .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 9px;
    padding-right: 28px;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    line-height: 30px;
}

.ops-program-add-dialog .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 24px;
    height: 30px;
}


/* Flat program select in map program dialog */
.ops-program-add-dialog #ops_map_add_program + .select2-container {
    width: 100% !important;
}

.ops-program-add-dialog #ops_map_add_program + .select2-container .select2-selection--single {
    height: 30px !important;
    min-height: 30px !important;
    border: 1px solid #c6d3e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ops-program-add-dialog #ops_map_add_program + .select2-container .select2-selection__rendered {
    padding-left: 8px !important;
    padding-right: 24px !important;
    color: #1f2937 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
}

.ops-program-add-dialog #ops_map_add_program + .select2-container .select2-selection__arrow {
    top: 0 !important;
    right: 2px !important;
    width: 22px !important;
    height: 28px !important;
    background: transparent !important;
}

.ops-program-add-dialog #ops_map_add_program + .select2-container .select2-selection__arrow b {
    margin-left: -4px !important;
    margin-top: -2px !important;
    border-color: #66788a transparent transparent transparent !important;
    border-width: 4px 4px 0 4px !important;
}

.ops-program-add-dialog #ops_map_add_program + .select2-container.select2-container--open .select2-selection--single,
.ops-program-add-dialog #ops_map_add_program + .select2-container.select2-container--focus .select2-selection--single {
    border-color: #7895af !important;
    box-shadow: none !important;
}

.ops-program-add-dialog .select2-container--open .select2-dropdown {
    border: 1px solid #c6d3e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12) !important;
}

.ops-program-add-dialog .select2-results__option {
    min-height: 28px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.ops-stavke-badges { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }


.ops-candidate-global-row th {
    padding: 4px 5px !important;
    vertical-align: middle !important;
    background: #eef5fc !important;
    border-bottom: 1px solid #d1dfec !important;
}

.ops-candidate-global-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    color: #40516c;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ops-candidate-global-row .ops-candidate-global-control {
    width: 100%;
    min-width: 92px;
    height: 28px;
    padding: 3px 6px;
    font-size: 11.5px;
    line-height: 18px;
}

.ops-candidate-global-row .ops-candidate-global-area {
    min-width: 86px;
    text-align: right;
}

.ops-candidate-global-row .ops-candidate-global-apply {
    min-width: 82px !important;
    min-height: 28px !important;
    height: 28px !important;
    padding: 3px 8px !important;
    white-space: nowrap;
}


/* Polished report tables: same mechanics and density as the parcel tables. */
.ops-report-filterbar .ops-report-program-filter {
    width: 380px;
    min-width: 280px;
    max-width: 440px;
    flex: 0 1 380px;
}

.ops-report-filterbar .ops-report-text-filter {
    width: 310px;
    min-width: 240px;
    max-width: 380px;
    flex: 0 1 310px;
}

.ops-report-table-card .ops-report-data-table {
    width: 100%;
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
}

.ops-report-type-ugovori-zakup .ops-report-data-table,
.ops-report-type-ugovori-koncesija .ops-report-data-table {
    min-width: 760px;
}

.ops-report-type-povrsine-ko .ops-report-data-table,
.ops-report-type-plan-zakup .ops-report-data-table,
.ops-report-type-plan-koncesija .ops-report-data-table {
    min-width: 980px;
}

.ops-report-type-nedodijeljene-povrsine .ops-report-data-table {
    min-width: 1320px;
}

.ops-report-data-table th,
.ops-report-data-table td {
    height: 30px;
    min-width: 0;
    padding: 5px 8px !important;
    vertical-align: middle;
    white-space: nowrap !important;
}

.ops-report-data-table th {
    line-height: 20px;
}

.ops-report-data-table th:first-child,
.ops-report-data-table td:first-child {
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    text-align: center;
}

.ops-report-data-table th:nth-child(2),
.ops-report-data-table td:nth-child(2) {
    min-width: 220px;
}

.ops-report-type-ugovori-zakup .ops-report-data-table th:nth-child(2),
.ops-report-type-ugovori-zakup .ops-report-data-table td:nth-child(2),
.ops-report-type-ugovori-koncesija .ops-report-data-table th:nth-child(2),
.ops-report-type-ugovori-koncesija .ops-report-data-table td:nth-child(2) {
    min-width: 320px;
}

.ops-report-data-table th.ops-sortable > span {
    display: inline-block;
    padding-right: 4px;
}

.ops-report-data-table tfoot td {
    height: 31px;
    color: #2f4863;
    background: #eef3f8;
    border-top: 2px solid #9fb1c5;
    font-weight: 700;
}

.ops-report-table-card .ops-column-menu-list {
    max-height: min(330px, calc(100vh - 250px));
}

.ops-report-table-card .ops-panel-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .ops-report-filterbar .ops-report-program-filter,
    .ops-report-filterbar .ops-report-text-filter {
        width: 100%;
        min-width: 220px;
        max-width: none;
        flex: 1 1 260px;
    }
}

/* Operational dashboard -------------------------------------------------- */
.ops-dashboard-view {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.ops-dashboard-shell {
    width: 100%;
    max-width: 1600px;
    min-height: min-content;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    padding-bottom: 4px;
}

.ops-dashboard-context {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-left: 4px solid #2f67ad;
}

.ops-dashboard-identity,
.ops-dashboard-refresh-block,
.ops-dashboard-kpi,
.ops-program-status-line,
.ops-dashboard-health,
.ops-dashboard-alert-list a,
.ops-dashboard-actions,
.ops-dashboard-actions a,
.ops-surface-legend,
.ops-land-type-row {
    display: flex;
    align-items: center;
}

.ops-dashboard-identity {
    min-width: 0;
    gap: 11px;
}

.ops-dashboard-identity-icon,
.ops-kpi-icon,
.ops-health-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.ops-dashboard-identity-icon {
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: #2f67ad;
    font-size: 18px;
}

.ops-dashboard-eyebrow {
    display: block;
    color: #6b7c91;
    font-size: 10px;
    line-height: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.ops-dashboard-identity h1 {
    margin: 1px 0 2px;
    color: #263e5a;
    font-size: 20px;
    line-height: 23px;
    font-weight: 700;
    letter-spacing: 0;
}

.ops-dashboard-identity p {
    margin: 0;
    color: #66788d;
    font-size: 11.5px;
    line-height: 15px;
}

.ops-dashboard-refresh-block {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
    color: #6b7c91;
    font-size: 11px;
}

.ops-dashboard-refresh-block strong {
    color: #40516c;
    font-variant-numeric: tabular-nums;
}

.ops-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 10px;
}

.ops-dashboard-kpi {
    position: relative;
    min-height: 82px;
    gap: 10px;
    padding: 10px 11px;
    overflow: hidden;
    border-left-width: 3px;
}

.ops-dashboard-kpi > div {
    min-width: 0;
}

.ops-kpi-icon {
    width: 34px;
    height: 34px;
    color: #2f67ad;
    background: #edf4fb;
    font-size: 15px;
}

.ops-dashboard-kpi span:not(.ops-kpi-icon),
.ops-dashboard-kpi small {
    display: block;
    overflow: hidden;
    color: #66788d;
    font-size: 10.5px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-dashboard-kpi strong {
    display: block;
    margin: 1px 0;
    color: #263e5a;
    font-size: 23px;
    line-height: 26px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ops-kpi-program { border-left-color: #2f67ad; }
.ops-kpi-items { border-left-color: #418b68; }
.ops-kpi-area { border-left-color: #a66b24; }
.ops-kpi-land { border-left-color: #3c8295; }
.ops-kpi-contracts { border-left-color: #6c5f91; }
.ops-kpi-items .ops-kpi-icon { color: #2d7354; background: #edf7f1; }
.ops-kpi-area .ops-kpi-icon { color: #946020; background: #fbf4e9; }
.ops-kpi-land .ops-kpi-icon { color: #316f80; background: #edf7f8; }
.ops-kpi-contracts .ops-kpi-icon { color: #5d527e; background: #f3f0f8; }

.ops-dashboard-grid {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.ops-dashboard-grid-main {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .9fr);
}

.ops-dashboard-grid-bottom {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
}

.ops-dashboard-panel {
    min-width: 0;
    overflow: hidden;
}

.ops-dashboard-panel .ops-panel-head {
    min-height: 40px;
}

.ops-dashboard-panel .ops-panel-head > div:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-dashboard-panel-body {
    padding: 11px 12px;
}

.ops-program-status-line {
    justify-content: space-between;
    gap: 10px;
    color: #6b7c91;
    font-size: 11px;
}

.ops-program-workflow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 15px 0 14px;
}

.ops-program-workflow::before {
    position: absolute;
    top: 15px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    content: '';
    background: #d8e2ed;
}

.ops-workflow-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    color: #7a899b;
    text-align: center;
}

.ops-workflow-step i {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d8e2ed;
    border-radius: 50%;
    background: #ffffff;
    font-size: 11px;
}

.ops-workflow-step span {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    font-size: 10.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-workflow-step.is-complete i {
    color: #ffffff;
    border-color: #6e9dbf;
    background: #6e9dbf;
}

.ops-workflow-step.is-current {
    color: #244f82;
}

.ops-workflow-step.is-current i {
    color: #ffffff;
    border-color: #2f67ad;
    background: #2f67ad;
    box-shadow: 0 0 0 3px #e4eef8;
}

.ops-dashboard-metric-grid,
.ops-surface-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e4ebf3;
}

.ops-dashboard-metric-grid > div,
.ops-surface-summary > div {
    min-width: 0;
    padding: 9px 9px 1px;
    border-right: 1px solid #e4ebf3;
}

.ops-dashboard-metric-grid > div:first-child,
.ops-surface-summary > div:first-child {
    padding-left: 0;
}

.ops-dashboard-metric-grid > div:last-child,
.ops-surface-summary > div:last-child {
    border-right: 0;
}

.ops-dashboard-metric-grid span,
.ops-surface-summary span {
    display: block;
    overflow: hidden;
    color: #6b7c91;
    font-size: 10.5px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-dashboard-metric-grid strong,
.ops-surface-summary strong {
    display: block;
    margin-top: 2px;
    color: #304964;
    font-size: 14px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
}

.ops-dashboard-health {
    min-height: 54px;
    gap: 10px;
    padding: 8px 10px;
    border-left: 3px solid #9aaabc;
    border-radius: 5px;
    background: #f5f8fb;
}

.ops-health-icon {
    width: 30px;
    height: 30px;
    color: #64768a;
    background: #e5ebf1;
}

.ops-dashboard-health div {
    min-width: 0;
}

.ops-dashboard-health strong,
.ops-dashboard-health span:not(.ops-health-icon) {
    display: block;
}

.ops-dashboard-health strong {
    color: #344b65;
    font-size: 12px;
}

.ops-dashboard-health span:not(.ops-health-icon) {
    margin-top: 2px;
    color: #67798d;
    font-size: 10.5px;
    line-height: 14px;
}

.ops-health-ok { border-left-color: #3c8a61; background: #f0f8f3; }
.ops-health-ok .ops-health-icon { color: #2e7952; background: #dcefe3; }
.ops-health-warning { border-left-color: #b97822; background: #fcf7ee; }
.ops-health-warning .ops-health-icon { color: #a0661d; background: #f4e7cf; }
.ops-health-error { border-left-color: #b94741; background: #fff3f2; }
.ops-health-error .ops-health-icon { color: #a53631; background: #f6deda; }

.ops-dashboard-alert-list {
    flex-direction: column;
    margin-top: 7px;
}

.ops-dashboard-alert-list a {
    width: 100%;
    min-height: 31px;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 4px;
    color: #40516c;
    text-decoration: none;
    border-bottom: 1px solid #edf2f7;
}

.ops-dashboard-alert-list a:last-child {
    border-bottom: 0;
}

.ops-dashboard-alert-list a:hover,
.ops-dashboard-alert-list a:focus {
    color: #244f82;
    background: #f7faff;
    text-decoration: none;
}

.ops-dashboard-alert-list span {
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-dashboard-alert-list i {
    width: 18px;
    color: #6d8096;
    text-align: center;
}

.ops-dashboard-alert-list strong {
    min-width: 28px;
    color: #2f4664;
    font-size: 13px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ops-surface-summary {
    border-top: 0;
}

.ops-surface-summary > div {
    padding-top: 0;
    padding-bottom: 7px;
}

.ops-surface-bar {
    height: 12px;
    display: flex;
    overflow: hidden;
    border: 1px solid #d5e0eb;
    border-radius: 3px;
    background: #f2f5f8;
}

.ops-surface-bar span {
    width: 0;
    height: 100%;
    transition: width .25s ease;
}

.ops-surface-assigned,
.ops-swatch-assigned { background: #6c5f91; }
.ops-surface-planned,
.ops-swatch-planned { background: #3c8295; }
.ops-surface-remaining,
.ops-swatch-remaining { background: #8eab76; }

.ops-surface-legend {
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-top: 7px;
    color: #66788d;
    font-size: 10.5px;
}

.ops-legend-swatch {
    width: 9px;
    height: 9px;
    display: inline-block;
    margin-right: 4px;
    border-radius: 2px;
}

.ops-land-type-row {
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    color: #6b7c91;
    font-size: 10.5px;
    border-top: 1px solid #e4ebf3;
}

.ops-land-type-row strong {
    margin-left: 3px;
    color: #304964;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.ops-dashboard-recent-wrap {
    min-height: 0;
    overflow: auto;
}

.ops-dashboard-recent-table {
    width: 100%;
    min-width: 490px;
    border-collapse: collapse;
    font-size: 11px;
}

.ops-dashboard-recent-table th,
.ops-dashboard-recent-table td {
    height: 31px;
    padding: 5px 8px;
    white-space: nowrap;
    border-bottom: 1px solid #edf2f7;
}

.ops-dashboard-recent-table th {
    color: #53677e;
    background: #f8fafc;
    font-weight: 700;
}

.ops-dashboard-recent-table tbody tr:hover td {
    background: #f5f9fd;
}

.ops-dashboard-row-link {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f67ad;
    border-radius: 4px;
}

.ops-dashboard-row-link:hover,
.ops-dashboard-row-link:focus {
    color: #173f71;
    background: #e9f1fa;
    text-decoration: none;
}

.ops-dashboard-actions {
    min-height: 44px;
    flex-wrap: wrap;
    gap: 3px;
    padding: 5px 8px;
}

.ops-dashboard-actions-label {
    padding: 0 10px 0 4px;
    color: #6b7c91;
    font-size: 10.5px;
    font-weight: 700;
    border-right: 1px solid #dfe7f0;
}

.ops-dashboard-actions a {
    min-height: 30px;
    gap: 6px;
    padding: 5px 9px;
    color: #3d536d;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
}

.ops-dashboard-actions a:hover,
.ops-dashboard-actions a:focus {
    color: #244f82;
    background: #eef5fc;
    text-decoration: none;
}

.ops-dashboard-actions i {
    width: 15px;
    color: #2f67ad;
    text-align: center;
}

@media (max-width: 1250px) {
    .ops-dashboard-kpis {
        grid-template-columns: repeat(3, minmax(170px, 1fr));
    }

    .ops-dashboard-grid-main,
    .ops-dashboard-grid-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ops-dashboard-context {
        align-items: flex-start;
        flex-direction: column;
    }

    .ops-dashboard-refresh-block {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ops-dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .ops-dashboard-kpi {
        min-height: 70px;
    }

    .ops-dashboard-panel .ops-panel-subtitle {
        display: none;
    }

    .ops-dashboard-metric-grid,
    .ops-surface-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-dashboard-metric-grid > div:nth-child(2),
    .ops-surface-summary > div:nth-child(2) {
        border-right: 0;
    }

    .ops-dashboard-metric-grid > div:nth-child(n+3),
    .ops-surface-summary > div:nth-child(n+3) {
        border-top: 1px solid #e4ebf3;
    }

    .ops-land-type-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .ops-dashboard-actions-label {
        width: 100%;
        padding: 4px;
        border-right: 0;
        border-bottom: 1px solid #dfe7f0;
    }
}

/* Full-length module tables follow the ZIS parcels reference page. */
body.ima-pretragu #view-panel {
    padding: 0 !important;
    background: #edf3f9 !important;
}

.ops-page-shell {
    box-sizing: border-box;
    gap: 8px;
    padding: 8px;
}

.ops-page-shell > .ops-table-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #d7e3f1;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .07);
}

.ops-page-shell > .ops-table-card > .ops-table-panel-head {
    position: relative;
    z-index: 8;
    height: 33px;
    min-height: 33px;
    max-height: 33px;
    align-items: center;
    padding: 2px 8px;
    color: #40516c;
    background: #f5f8fc;
    border-bottom: 1px solid #dbe6f2;
}

.ops-page-shell > .ops-table-card .ops-table-title-block {
    min-width: 0;
    align-items: baseline;
}

.ops-page-shell > .ops-table-card .ops-table-title-block .ops-panel-subtitle {
    min-width: 0;
    overflow: hidden;
    margin-left: 0;
    color: #6b7c91;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-page-shell > .ops-table-card .ops-table-tools {
    gap: 8px;
}

.ops-page-shell > .ops-table-card .ops-per-page-control {
    gap: 6px;
    color: #51647d;
    font-size: 12px;
}

.ops-page-shell > .ops-table-card .ops-per-page-control .select2-container,
.ops-page-shell > .ops-table-card .ops-per-page-control select {
    width: 74px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
}

.ops-page-shell > .ops-table-card .ops-per-page-control .select2-selection--single {
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border: 1px solid #d6e1ee !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.ops-page-shell > .ops-table-card .ops-per-page-control .select2-selection__rendered {
    height: 22px !important;
    padding: 0 22px 0 7px !important;
    color: #49627e !important;
    font-size: 11.5px !important;
    line-height: 22px !important;
}

.ops-page-shell > .ops-table-card .ops-per-page-control .select2-selection__arrow {
    top: 0 !important;
    right: 2px !important;
    height: 22px !important;
}

.ops-page-shell > .ops-table-card .ops-table-tools > .btn,
.ops-page-shell > .ops-table-card .ops-column-menu-wrap > .btn {
    box-sizing: border-box !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #49627e !important;
    background: #f7fafd !important;
    border: 1px solid #d6e1ee !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.ops-page-shell > .ops-table-card .ops-table-tools > .btn:hover,
.ops-page-shell > .ops-table-card .ops-table-tools > .btn:focus,
.ops-page-shell > .ops-table-card .ops-column-menu-wrap > .btn:hover,
.ops-page-shell > .ops-table-card .ops-column-menu-wrap > .btn:focus,
.ops-page-shell > .ops-table-card .ops-column-menu-wrap > .btn[aria-expanded="true"] {
    color: #244f82 !important;
    background: #eef5fc !important;
    border-color: #bfd0e1 !important;
    outline: none !important;
}

.ops-page-shell > .ops-table-card .ops-table-tools > .btn i,
.ops-page-shell > .ops-table-card .ops-column-menu-wrap > .btn i {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 11px !important;
    line-height: 12px !important;
    text-align: center !important;
}

body.ima-pretragu #pretrazivanje .buttons-group {
    gap: 6px !important;
    margin-left: 0 !important;
}

body.ima-pretragu #pretrazivanje .buttons-group > .btn,
body.ima-pretragu #pretrazivanje .buttons-group > button,
body.ima-pretragu #pretrazivanje .buttons-group > .dkp-btn {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    margin: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.ops-page-shell > .ops-table-card > .ops-table-wrap {
    position: relative;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto !important;
    overscroll-behavior: contain;
    scrollbar-color: #aebed0 #f4f7fb;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    background: #ffffff;
}

.ops-page-shell > .ops-table-card > .ops-table-wrap::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

.ops-page-shell > .ops-table-card > .ops-table-wrap::-webkit-scrollbar-track {
    background: #f4f7fb;
    border-top: 1px solid #edf2f7;
}

.ops-page-shell > .ops-table-card > .ops-table-wrap::-webkit-scrollbar-thumb {
    background: #aebed0;
    border: 2px solid #f4f7fb;
    border-radius: 8px;
}

.ops-page-shell > .ops-table-card > .ops-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #8fa5bd;
}

.ops-page-shell > .ops-table-card .ops-data-table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    table-layout: auto !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    color: #27384d !important;
    background: #ffffff !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 11.5px !important;
}

.ops-page-shell > .ops-table-card .ops-data-table thead th {
    position: sticky;
    top: 0;
    z-index: 4;
    height: 31px;
    padding: 5px 6px !important;
    color: #344766 !important;
    background: #f5f8fc !important;
    border: 0 !important;
    border-bottom: 1px solid #dbe6f2 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.ops-page-shell > .ops-table-card .ops-data-table tbody td {
    height: 30px;
    padding: 5px 6px !important;
    color: #27384d !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 11.5px !important;
    line-height: 16px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.ops-page-shell > .ops-table-card .ops-data-table tbody tr:nth-child(even) td {
    background: #f8fbfe !important;
}

.ops-page-shell > .ops-table-card .ops-data-table tbody tr:hover td,
.ops-page-shell > .ops-table-card .ops-data-table tbody tr:focus td {
    color: #27384d !important;
    background: #eef5fc !important;
}

.ops-page-shell > .ops-table-card .ops-data-table th.ops-sortable {
    cursor: pointer;
    user-select: none;
}

.ops-page-shell > .ops-table-card .ops-data-table th.ops-sortable > span {
    display: inline-block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
}

.ops-page-shell > .ops-table-card .ops-data-table .ops-sort-icon {
    margin-left: 0;
    color: #8fa0b3;
    font-size: 10px;
}

.ops-page-shell > .ops-table-card .ops-data-table th.is-sort-asc,
.ops-page-shell > .ops-table-card .ops-data-table th.is-sort-desc {
    color: #163f68 !important;
    background: #edf5fc !important;
}

.ops-page-shell > .ops-table-card .ops-data-table th.is-sort-asc .ops-sort-icon,
.ops-page-shell > .ops-table-card .ops-data-table th.is-sort-desc .ops-sort-icon {
    color: #1c5d93;
}

.ops-page-shell > .ops-table-card .ops-data-table .ops-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.ops-page-shell > .ops-table-card .ops-data-table .ops-empty-cell {
    height: 72px !important;
    padding: 18px !important;
    color: #68798e !important;
    background: #ffffff !important;
    text-align: center !important;
}

.ops-dkp-parcele-card .ops-zis-data-table .ops-action-col,
.ops-ugovori-card .ops-zis-data-table .ops-action-col {
    width: 1% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-right: 1px !important;
    padding-left: 1px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.ops-dkp-parcele-card .ops-zis-data-table .zis-parcele-action-btn,
.ops-dkp-parcele-card .ops-zis-data-table .zis-table-map-link,
.ops-ugovori-card .ops-zis-data-table .zis-parcele-action-btn,
.ops-ugovori-card .ops-zis-data-table .zis-table-map-link {
    margin: 0 !important;
}

.ops-dkp-parcele-card .ops-zis-data-table .ops-action-sticky,
.ops-ugovori-card .ops-zis-data-table .ops-action-sticky {
    position: sticky;
    z-index: 3;
    background: #ffffff !important;
}

.ops-dkp-parcele-card .ops-zis-data-table thead .ops-action-sticky,
.ops-ugovori-card .ops-zis-data-table thead .ops-action-sticky {
    z-index: 5;
    background: #f5f8fc !important;
}

.ops-dkp-parcele-card .ops-zis-data-table tbody tr:nth-child(even) .ops-action-sticky,
.ops-ugovori-card .ops-zis-data-table tbody tr:nth-child(even) .ops-action-sticky {
    background: #f8fbfe !important;
}

.ops-dkp-parcele-card .ops-zis-data-table tbody tr:hover .ops-action-sticky,
.ops-ugovori-card .ops-zis-data-table tbody tr:hover .ops-action-sticky {
    background: #eef5fc !important;
}

.ops-dkp-parcele-card .ops-zis-data-table .ops-sticky-1,
.ops-ugovori-card .ops-zis-data-table .ops-sticky-1 { left: 0 !important; }
.ops-dkp-parcele-card .ops-zis-data-table .ops-sticky-2,
.ops-ugovori-card .ops-zis-data-table .ops-sticky-2 { left: 26px !important; }
.ops-dkp-parcele-card .ops-zis-data-table .ops-sticky-3 {
    left: 52px !important;
    box-shadow: none !important;
}

.ops-ugovori-card .ops-zis-data-table .ops-sticky-2 {
    box-shadow: none !important;
}

.ops-dkp-parcele-card .ops-zis-data-table .ops-sticky-3::after,
.ops-ugovori-card .ops-zis-data-table .ops-sticky-2::after {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 1px;
    display: block;
    content: '';
    pointer-events: none;
    background: #cbd8e6;
}

.ops-page-shell > .ops-table-card .ops-column-menu {
    width: 270px;
}

.ops-page-shell > .ops-table-card .ops-column-menu .ops-column-link {
    font-size: 12px;
}

.ops-page-shell > .ops-table-card .ops-column-menu .ops-column-option {
    min-height: 26px;
}

.ops-page-shell > .ops-table-card > .ops-table-footer {
    min-height: 32px;
    padding: 4px 8px;
    color: #40516c;
    background: #fbfdff;
    border-top: 1px solid #dbe6f2;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-pager-info {
    color: #74849a;
    font-size: 11.5px;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager {
    gap: 3px;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager .btn {
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    color: #49627e;
    background: #f7fafd;
    border-color: #d6e1ee;
    font-size: 11.5px;
    line-height: 18px;
    box-shadow: none;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager .btn i {
    font-size: 10px;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager .btn:hover,
.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager .btn:focus {
    color: #244f82;
    background: #eef5fc;
    border-color: #bfd0e1;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager .btn.active {
    color: #ffffff !important;
    background: #5b7fa4 !important;
    border-color: #5b7fa4 !important;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-smart-pager .btn:disabled {
    color: #aab5c2 !important;
    background: #f8fafc !important;
    border-color: #e1e8f0 !important;
    opacity: .75;
}

.ops-page-shell > .ops-table-card > .ops-table-footer .ops-page-total {
    min-width: 58px;
    padding-left: 4px;
    color: #74849a;
    font-size: 11.5px;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 760px) {
    .ops-page-shell {
        gap: 5px;
        padding: 5px;
    }

    .ops-page-shell > .ops-table-card > .ops-table-panel-head {
        height: auto;
        min-height: 36px;
        max-height: none;
        flex-flow: row wrap;
    }
}
