﻿
    .csv-preview-table {
      max-height: 240px;
      overflow-y: auto;
      border-radius: var(--r);
      border: 1px solid var(--border)
    }

    .csv-preview-table table {
      font-size: 11px
    }

    .csv-hint-cols {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--text-muted);
      background: var(--surface2);
      padding: 8px 12px;
      border-radius: var(--r-sm);
      margin-bottom: 10px;
      word-break: break-all
    }

    /* â”€â”€ PRINT STYLES â”€â”€ */
    @media print {
      body {
        overflow: visible !important
      }

      #print-preview-area {
        page-break-after: always
      }
    }

    /* â”€â”€ RESPONSIVE â”€â”€ */
    @media(max-width:1024px) {
      .page-header {
        padding: 16px 16px 0
      }

      .page-body {
        padding: 14px 16px 20px
      }

      .report-grid {
        grid-template-columns: 1fr
      }

      .dashboard-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr))
      }
    }

    @media(max-width:768px) {
      .login-brand {
        gap: 12px
      }

      .login-logo {
        width: 56px;
        height: 56px;
        padding: 8px
      }

      .page-header {
        flex-direction: column;
        align-items: stretch
      }

      .page-header-actions {
        width: 100%
      }

      .page-header-actions .btn,
      .page-header-actions .filter-select,
      .page-header-actions .form-input {
        width: 100%
      }

      .form-input,
      select.form-input,
      textarea.form-input,
      .filter-select {
        min-height: 44px;
        font-size: 16px
      }

      .btn,
      .btn-sm {
        min-height: 44px;
        padding: 10px 14px
      }

      .btn-icon,
      .modal-close {
        width: 44px;
        height: 44px
      }

      .report-filter-actions .btn {
        flex: 1 1 100%
      }

      .nav-item {
        min-height: 44px
      }

      .toolbar {
        gap: 10px
      }

      .toolbar-left,
      .toolbar-right {
        width: 100%
      }

      .search-wrap {
        min-width: 100%;
        max-width: none
      }

      .toolbar .filter-select,
      .toolbar .btn,
      .toolbar .form-input {
        width: 100%
      }

      .modal-overlay {
        padding: 12px;
        align-items: flex-end
      }

      .modal {
        max-height: calc(100dvh - 24px);
        border-radius: 16px 16px 0 0
      }

      .modal-header,
      .modal-body,
      .modal-footer {
        padding-left: 16px;
        padding-right: 16px
      }

      .modal-header {
        padding-top: 14px;
        padding-bottom: 14px
      }

      .modal-body {
        padding-top: 16px;
        padding-bottom: 16px
      }

      .modal-footer {
        flex-wrap: wrap;
        justify-content: stretch
      }

      .modal-footer .btn {
        flex: 1 1 calc(50% - 4px)
      }

      .table-wrap table {
        min-width: 640px
      }

      #view-objects .table-wrap table th:nth-child(5),
      #view-objects .table-wrap table td:nth-child(5),
      #view-objects .table-wrap table th:nth-child(6),
      #view-objects .table-wrap table td:nth-child(6),
      #view-history .table-wrap table th:nth-child(4),
      #view-history .table-wrap table td:nth-child(4),
      #view-users .table-wrap table th:nth-child(4),
      #view-users .table-wrap table td:nth-child(4) {
        display: none
      }

      .map-controls {
        left: 12px;
        right: 12px
      }

      .map-filter-panel {
        min-width: 0;
        width: 100%
      }

      #offline-banner,
      #bulk-bar {
        padding-left: 14px;
        padding-right: 14px
      }

      #offline-banner .btn,
      #bulk-bar .btn {
        width: 100%;
        margin-left: 0 !important
      }
    }
