    :root {
      --bg: #07111f;
      --surface: rgba(13, 24, 42, 0.82);
      --surface-soft: rgba(255,255,255,0.03);
      --border: rgba(148, 163, 184, 0.16);
      --border-strong: rgba(96, 165, 250, 0.24);
      --text: #e5eefb;
      --text-soft: #a9b8d0;
      --text-muted: #7f91af;
      --primary: #60a5fa;
      --primary-strong: #3b82f6;
      --danger: #ef4444;
      --success: #22c55e;
      --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
      --max-width: 1440px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', sans-serif;
      background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 22%),
        linear-gradient(180deg, #07111f 0%, #091423 100%);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 34px 34px;
      mask-image: linear-gradient(180deg, rgba(255,255,255,0.55), transparent 85%);
      pointer-events: none;
      z-index: 0;
    }

    button, input, select, textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    img {
      max-width: 100%;
    }

    .shell {
      position: relative;
      z-index: 1;
      width: min(100%, var(--max-width));
      margin: 0 auto;
      padding: 0 24px 32px;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(18px);
      background: rgba(7, 17, 31, 0.72);
      border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

    .header-inner {
      width: min(100%, var(--max-width));
      margin: 0 auto;
      padding: 18px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .brand-mark {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(96, 165, 250, 0.24), rgba(34, 197, 94, 0.16));
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
      font-size: 1.35rem;
    }

    .brand h1 {
      font-size: clamp(1.05rem, 2vw, 1.3rem);
      line-height: 1.1;
      letter-spacing: -0.03em;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .stats-pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      color: var(--text-soft);
      font-size: 0.9rem;
      font-weight: 500;
    }

    .stats-pill strong {
      color: var(--text);
      font-size: 1rem;
    }

    .btn {
      border: 1px solid transparent;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 999px;
      transition: 0.2s ease;
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-primary {
      color: white;
      background: linear-gradient(135deg, var(--primary), var(--primary-strong));
      box-shadow: 0 12px 28px rgba(59, 130, 246, 0.28);
    }

    .btn-secondary {
      background: rgba(255,255,255,0.03);
      border-color: var(--border);
      color: var(--text);
    }

    .btn-secondary:hover {
      border-color: var(--border-strong);
      background: rgba(255,255,255,0.05);
    }

    .btn-ghost {
      background: transparent;
      color: var(--danger);
      border-color: rgba(239, 68, 68, 0.18);
    }

    .hero,
    .panel,
    .card,
    .modal {
      border: 1px solid var(--border);
      background: var(--surface);
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow);
    }

    .hero {
      margin-top: 28px;
      padding: 24px;
      border-radius: 28px;
    }

    .insight-label {
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-size: 0.75rem;
      font-weight: 700;
    }

    .insight-number {
      margin-top: 8px;
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800;
      letter-spacing: -0.05em;
      line-height: 1;
    }

    .insight-copy {
      margin-top: 10px;
      color: var(--text-soft);
      line-height: 1.6;
      font-size: 0.95rem;
    }

    .toolbar {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, minmax(0, 220px));
      gap: 14px;
      margin: 18px 0 24px;
    }

    .panel {
      border-radius: 22px;
      padding: 12px;
    }

    .search-panel {
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .search-panel svg {
      flex-shrink: 0;
      color: var(--text-muted);
    }

    .search-panel input {
      width: 100%;
      border: none;
      outline: none;
      background: transparent;
      color: var(--text);
      font-size: 0.98rem;
    }

    .search-panel input::placeholder {
      color: var(--text-muted);
    }

    .select-panel {
      display: flex;
      flex-direction: column;
      gap: 8px;
      justify-content: center;
    }

    .panel-label {
      color: var(--text-muted);
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-weight: 700;
      padding: 0 4px;
    }

    input[type="text"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
      width: 100%;
      min-height: 48px;
      border-radius: 16px;
      border: 1px solid var(--border);
      outline: none;
      background: var(--surface-soft);
      color: var(--text);
      padding: 0 16px;
      transition: 0.2s ease;
    }

    option {
      background: #0d1829;
      color: var(--text);
    }

    textarea {
      min-height: 120px;
      resize: vertical;
      padding: 14px 16px;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
    }

    .results-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 18px;
      color: var(--text-soft);
    }

    .results-bar strong {
      color: var(--text);
    }

    .hint {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 20px;
    }

    .card {
      border-radius: 24px;
      overflow: hidden;
      transition: 0.22s ease;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      animation: fadeUp 0.4s ease both;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: var(--border-strong);
      box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    }

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

    .card-media {
      position: relative;
      min-height: 240px;
      background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(34,197,94,0.08)), #0d1726;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14px;
    }

    .card-img {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 220px;
      object-fit: contain;
      object-position: center;
      display: block;
      border-radius: 16px;
      background: rgba(255,255,255,0.04);
    }

    .card-no-img {
      width: 100%;
      min-height: 210px;
      display: grid;
      place-items: center;
      color: rgba(255,255,255,0.8);
      font-size: 2.8rem;
      font-weight: 700;
      letter-spacing: -0.04em;
      border-radius: 16px;
      background: rgba(255,255,255,0.04);
    }

    .card-content {
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      flex: 1;
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .card-land {
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
    }

    .card-sub {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 5px;
    }

    .card-waarde {
      white-space: nowrap;
      color: white;
      background: linear-gradient(135deg, rgba(96,165,250,0.16), rgba(59,130,246,0.28));
      border: 1px solid rgba(96,165,250,0.24);
      border-radius: 999px;
      padding: 10px 12px;
      font-size: 0.88rem;
      font-weight: 700;
    }

    .card-meta {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tag,
    .conditie-badge {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 11px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      border: 1px solid transparent;
    }

    .tag {
      background: rgba(255,255,255,0.04);
      color: var(--text-soft);
      border-color: rgba(255,255,255,0.05);
    }

    .conditie-UNC,
    .conditie-XF {
      background: rgba(34, 197, 94, 0.14);
      color: #86efac;
      border-color: rgba(34, 197, 94, 0.24);
    }

    .conditie-VF {
      background: rgba(96, 165, 250, 0.14);
      color: #93c5fd;
      border-color: rgba(96, 165, 250, 0.24);
    }

    .conditie-F {
      background: rgba(245, 158, 11, 0.14);
      color: #fcd34d;
      border-color: rgba(245, 158, 11, 0.24);
    }

    .conditie-VG,
    .conditie-G {
      background: rgba(239, 68, 68, 0.14);
      color: #fca5a5;
      border-color: rgba(239, 68, 68, 0.24);
    }

    .card-beschrijving {
      color: var(--text-soft);
      line-height: 1.65;
      font-size: 0.93rem;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: 6px;
      margin-top: auto;
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    .card-footer span:last-child {
      color: var(--primary);
      font-weight: 600;
    }

    .leeg {
      text-align: center;
      padding: 80px 20px;
      border-radius: 28px;
      border: 1px dashed rgba(148,163,184,0.18);
      background: rgba(255,255,255,0.02);
      color: var(--text-soft);
    }

    .leeg-icon {
      font-size: 3.2rem;
      margin-bottom: 14px;
    }

    .leeg h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      letter-spacing: -0.03em;
    }

    .overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(2, 8, 23, 0.7);
      backdrop-filter: blur(12px);
      opacity: 0;
      pointer-events: none;
      transition: 0.2s ease;
    }

    .overlay.actief {
      opacity: 1;
      pointer-events: auto;
    }

    .modal {
      width: min(100%, 740px);
      max-height: min(92dvh, 960px);
      overflow: auto;
      overscroll-behavior: contain;
      border-radius: 28px;
      transform: translateY(18px) scale(0.98);
      transition: 0.22s ease;
    }

    .overlay.actief .modal {
      transform: translateY(0) scale(1);
    }

    .login-modal {
      width: min(100%, 440px);
    }

    .detail-modal {
      width: min(100%, 1120px);
    }

    .modal-header {
      position: sticky;
      top: 0;
      z-index: 2;
      background: rgba(16, 29, 49, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 20px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .modal-title {
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.03em;
    }

    .modal-subtitle {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 4px;
    }

    .modal-sluit {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      color: var(--text);
      font-size: 1.1rem;
    }

    .modal-body {
      padding: 22px;
    }

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

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .form-group.vol {
      grid-column: 1 / -1;
    }

    label {
      color: var(--text-soft);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .helper {
      color: var(--text-muted);
      font-size: 0.85rem;
      line-height: 1.5;
    }

    .upload-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .upload-zone {
      position: relative;
      border-radius: 20px;
      min-height: 190px;
      border: 1px dashed rgba(148,163,184,0.24);
      background: rgba(255,255,255,0.02);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
      transition: 0.2s ease;
      overflow: hidden;
    }

    .upload-zone:hover,
    .upload-zone.drag {
      border-color: var(--primary);
      background: rgba(96,165,250,0.08);
    }

    .upload-zone input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .upload-zone-icon {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .upload-zone-text {
      font-weight: 600;
    }

    .upload-zone-naam {
      margin-top: 6px;
      color: var(--primary);
      font-size: 0.88rem;
      word-break: break-word;
    }

    .upload-preview {
      width: 100%;
      margin-top: 14px;
      max-height: 180px;
      object-fit: contain;
      border-radius: 14px;
      display: none;
      background: rgba(255,255,255,0.03);
    }

    .form-footer {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 22px;
      padding-top: 18px;
      border-top: 1px solid var(--border);
      flex-wrap: wrap;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: 1.25fr 0.75fr;
      gap: 24px;
    }

    .detail-visual {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .foto-flip-tabs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .foto-tab {
      min-height: 40px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      color: var(--text-soft);
      font-weight: 600;
    }

    .foto-tab.actief {
      color: white;
      border-color: rgba(96,165,250,0.35);
      background: linear-gradient(135deg, rgba(96,165,250,0.24), rgba(59,130,246,0.38));
    }

    .foto-tab:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .detail-foto-shell {
      border-radius: 24px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      min-height: 420px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 18px;
    }

    .foto-flip-img {
      width: 100%;
      max-width: 100%;
      max-height: 520px;
      object-fit: contain;
      object-position: center;
      display: block;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
    }

    .detail-info {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .detail-item {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 18px;
      padding: 14px 15px;
    }

    .detail-item label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-muted);
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .detail-item p {
      color: var(--text);
      font-size: 1rem;
      line-height: 1.45;
    }

    .detail-beschrijving {
      border-top: 1px solid var(--border);
      padding-top: 18px;
    }

    .detail-beschrijving p {
      margin-top: 10px;
      color: var(--text-soft);
      line-height: 1.7;
    }

    .login-fout {
      display: none;
      color: #fca5a5;
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.2);
      padding: 12px 14px;
      border-radius: 16px;
      font-size: 0.92rem;
    }

    #toast {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 200;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: none;
    }

    .toast-msg {
      min-width: 260px;
      max-width: min(92vw, 420px);
      padding: 14px 16px;
      border-radius: 18px;
      color: var(--text);
      background: rgba(13, 24, 42, 0.92);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      font-weight: 600;
      animation: toastIn 0.25s ease;
      backdrop-filter: blur(14px);
    }

    .toast-msg.ok {
      border-color: rgba(34, 197, 94, 0.26);
    }

    .toast-msg.fout {
      border-color: rgba(239, 68, 68, 0.26);
    }

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

    @media (max-width: 1120px) {
      .toolbar,
      .detail-layout {
        grid-template-columns: 1fr;
      }
    }

    .land-vlag {
      width: 20px;
      height: 14px;
      object-fit: cover;
      border-radius: 2px;
      vertical-align: middle;
      margin-right: 6px;
      flex-shrink: 0;
    }

    .card-land {
      display: flex;
      align-items: center;
    }


    .onderhoud-overlay {
      position: fixed;
      inset: 0;
      z-index: 50;
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .onderhoud-overlay.actief {
      opacity: 1;
      pointer-events: all;
    }

    .onderhoud-box {
      text-align: center;
      max-width: 420px;
      padding: 48px 40px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 28px;
      box-shadow: var(--shadow);
    }

    .onderhoud-icon {
      font-size: 3.5rem;
      margin-bottom: 20px;
    }

    .onderhoud-titel {
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 12px;
    }

    .onderhoud-tekst {
      color: var(--text-soft);
      line-height: 1.6;
      margin-bottom: 32px;
    }

    .onderhoud-login {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 20px;
    }

    .onderhoud-login a {
      color: var(--primary);
      cursor: pointer;
      text-decoration: underline;
    }

    .btn-onderhoud {
      background: rgba(239,68,68,0.12);
      border-color: rgba(239,68,68,0.3);
      color: #ef4444;
    }

    .btn-onderhoud:hover {
      background: rgba(239,68,68,0.2);
    }

    .btn-onderhoud.aan {
      background: rgba(34,197,94,0.12);
      border-color: rgba(34,197,94,0.3);
      color: #22c55e;
    }

    .btn-onderhoud.aan:hover {
      background: rgba(34,197,94,0.2);
    }

    .stat-tabs {
      display: flex;
      gap: 0;
      border-bottom: 1px solid var(--border);
      padding: 0 22px;
      flex-shrink: 0;
    }

    .stat-tab {
      padding: 12px 18px;
      border: none;
      background: transparent;
      color: var(--text-muted);
      font-weight: 600;
      font-size: 0.9rem;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      transition: 0.15s ease;
    }

    .stat-tab:hover { color: var(--text); }

    .stat-tab.actief {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .bev-lijst {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 4px;
    }

    .bev-rij {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 0.88rem;
      gap: 12px;
    }

    .bev-ip {
      font-family: monospace;
      font-size: 0.9rem;
      color: var(--text);
    }

    .bev-tijd {
      color: var(--text-muted);
      font-size: 0.82rem;
      white-space: nowrap;
    }

    .bev-badge {
      padding: 2px 10px;
      border-radius: 99px;
      font-size: 0.75rem;
      font-weight: 700;
    }

    .bev-badge.geblokkeerd {
      background: rgba(239,68,68,0.15);
      color: #ef4444;
      border: 1px solid rgba(239,68,68,0.25);
    }

    .bev-leeg {
      color: var(--text-muted);
      font-size: 0.88rem;
      padding: 8px 0;
    }

    .stat-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      margin-bottom: 28px;
    }

    .stat-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 18px 20px;
    }

    .stat-card-label {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .stat-card-value {
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      color: var(--text);
    }

    .chart-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-soft);
      margin-bottom: 14px;
    }

    .bar-chart {
      display: flex;
      align-items: flex-end;
      gap: 6px;
      height: 120px;
    }

    .bar-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      height: 100%;
      justify-content: flex-end;
    }

    .bar-fill {
      width: 100%;
      border-radius: 4px 4px 0 0;
      background: linear-gradient(180deg, var(--primary), var(--primary-strong));
      min-height: 3px;
      transition: height 0.3s ease;
    }

    .bar-day {
      font-size: 0.65rem;
      color: var(--text-muted);
      text-align: center;
    }

    .apparaat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 24px;
    }

    .apparaat-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .apparaat-icon {
      font-size: 1.4rem;
      line-height: 1;
    }

    .apparaat-naam {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
    }

    .apparaat-waarde {
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .landen-lijst {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .land-rij {
      display: grid;
      grid-template-columns: 130px 1fr 36px;
      align-items: center;
      gap: 10px;
    }

    .land-naam {
      font-size: 0.88rem;
      color: var(--text-soft);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .land-bar-wrap {
      background: rgba(255,255,255,0.06);
      border-radius: 99px;
      height: 6px;
      overflow: hidden;
    }

    .land-bar {
      height: 100%;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--primary), var(--primary-strong));
    }

    .land-getal {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text);
      text-align: right;
    }

    .stat-section-titel {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-soft);
      margin-bottom: 12px;
      margin-top: 24px;
    }

    @media (max-width: 760px) {
      .shell,
      .header-inner {
        padding-left: 16px;
        padding-right: 16px;
      }

      /* Header */
      .header-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding-top: 14px;
        padding-bottom: 14px;
      }

      .stats-pill {
        display: none; /* hero toont dit al */
      }

      .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }

      .header-actions .btn,
      .header-actions .stats-pill {
        flex: none;
      }

      #btnLogin {
        grid-column: 1 / -1;
      }

      /* Toolbar */
      .toolbar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 14px 0 18px;
      }

      .toolbar .select-panel:last-child {
        display: none; /* hint-paneel weghalen op mobiel */
      }

      .toolbar .search-panel {
        grid-column: 1 / -1;
      }

      /* Grid */
      .grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      /* Kaarten */
      .card-media {
        min-height: 200px;
      }

      .card-img {
        max-height: 180px;
      }

      /* Overlay */
      .overlay {
        padding: 0;
        align-items: flex-end;
        padding-top: env(safe-area-inset-top, 0px);
      }

      .modal {
        width: 100%;
        max-height: 100dvh;
        border-radius: 24px 24px 0 0;
        transform: translateY(24px);
      }

      /* Detail */
      .detail-layout {
        grid-template-columns: 1fr;
      }

      .detail-foto-shell {
        min-height: 220px;
      }

      .foto-flip-img {
        max-height: 260px;
      }

      /* Formulier */
      .form-grid,
      .upload-grid,
      .detail-grid {
        grid-template-columns: 1fr;
      }

      .upload-zone {
        min-height: 130px;
      }

      .form-footer {
        flex-direction: column-reverse;
      }

      .form-footer .btn {
        width: 100%;
        justify-content: center;
      }

      /* Statistieken */
      .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }

      .bar-chart {
        height: 90px;
      }

      .bar-day {
        display: none; /* te krap voor labels */
      }

      .results-bar {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 420px) {
      .card-land {
        font-size: 1rem;
      }

      .stat-card-value {
        font-size: 1.6rem;
      }

      .header-actions {
        grid-template-columns: 1fr;
      }

      #btnLogin {
        grid-column: auto;
      }
    }

    /* Te koop rij */
    .te-koop-rij {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .te-koop-check {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      white-space: nowrap;
      color: var(--text);
      font-size: 0.9rem;
    }

    .te-koop-check input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--primary-strong);
      cursor: pointer;
    }

    .te-koop-url {
      flex: 1;
    }

    /* Te koop badge op kaarten */
    .te-koop-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(34, 197, 94, 0.15);
      color: var(--success);
      border: 1px solid rgba(34, 197, 94, 0.3);
      border-radius: 6px;
      font-size: 0.72rem;
      font-weight: 600;
      padding: 2px 7px;
      letter-spacing: 0.02em;
    }

    /* Vinted knop */
    .btn-vinted {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #009966;
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 10px 20px;
      font-size: 0.95rem;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.2s;
    }

    .btn-vinted:hover {
      background: #007a52;
    }
