/* ══════════════════════════════════════════════════════════
   JOBS IN DEINER NÄHE — Styles
   Extracted from nearby-jobs.blade.php
   ══════════════════════════════════════════════════════════ */

/* Hide footer on this page — nav stays visible over the map */
body:has(.nj-fullscreen) footer,
body:has(.nj-fullscreen) .footer { display: none !important; }
body:has(.nj-fullscreen) main { padding: 0 !important; }

/* ── Location Overlay ── */
.nj-loc-overlay {
    position: fixed; inset: 0; z-index: 45;
    display: flex; align-items: center; justify-content: center;
}
.nj-loc-blur {
    position: absolute; inset: 0;
    backdrop-filter: blur(3px);
    background: rgba(0,15,40,0.25);
}
.nj-loc-card {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.98); border-radius: 24px;
    padding: 32px; max-width: 400px; width: calc(100% - 32px);
    box-shadow: 0 16px 56px rgba(0,39,95,0.22), inset 0 1px 0 rgba(255,255,255,0.9);
    text-align: center;
}
.nj-loc-icon {
    width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;
    background: rgba(0,154,166,0.1); border: 1px solid rgba(0,154,166,0.2);
    display: flex; align-items: center; justify-content: center;
}
.nj-loc-icon.nj-loc-icon--denied {
    background: rgba(220,38,38,0.08); border-color: rgba(220,38,38,0.22);
}
.nj-loc-title { font-size: 20px; font-weight: 900; color: var(--navy); margin: 0 0 6px; letter-spacing: -0.02em; }
.nj-loc-sub { font-size: 13px; color: #8B95A5; font-weight: 300; line-height: 1.6; margin: 0 0 20px; }
.nj-loc-cta-btn {
    width: 100%; padding: 14px; border-radius: 14px; border: none;
    background: var(--arwa); color: #fff;
    font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 900;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 0 24px rgba(0,154,166,0.3), 0 4px 12px rgba(0,39,95,0.12);
    transition: background 0.2s;
}
.nj-loc-cta-btn:hover { background: var(--teal-dark, #007C8A); }
.nj-loc-divider {
    display: flex; align-items: center; gap: 12px; margin: 18px 0;
    color: #8B95A5; font-size: 12px; font-weight: 300;
}
.nj-loc-divider::before, .nj-loc-divider::after { content: ''; flex: 1; height: 1px; background: #E4E7EC; }
.nj-loc-input-wrap { position: relative; }
.nj-loc-input {
    width: 100%; padding: 12px 16px; border-radius: 13px;
    border: 1.5px solid #E4E7EC; background: #fff;
    font-family: 'Lato', sans-serif; font-size: 14px; color: var(--navy);
    box-shadow: var(--clay-shadow-sm); transition: border-color 0.2s;
    outline: none;
}
.nj-loc-input:focus { border-color: rgba(0,154,166,0.4); }
.nj-loc-input::placeholder { color: #8B95A5; font-weight: 300; }
.nj-loc-suggestions {
    margin-top: 4px;
    background: #fff; border-radius: 13px; border: 1px solid #E4E7EC;
    box-shadow: 0 8px 32px rgba(0,39,95,0.12); overflow: hidden;
}
.nj-loc-sug-item {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 10px 14px; border: none; background: transparent;
    font-family: 'Lato', sans-serif; font-size: 13px; color: var(--navy); font-weight: 500;
    cursor: pointer; text-align: left; transition: background 0.15s;
}
.nj-loc-sug-item:hover { background: var(--teal-muted, #F1F8F9); }
.nj-loc-sug-item + .nj-loc-sug-item { border-top: 1px solid #F0F2F5; }

.nj-fullscreen { position: relative; height: 100vh; overflow: hidden; }

/* ── Fullscreen Map — directly under main nav ── */
.nj-map-full { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }

/* ── Panel Controls (inside panel-head) ── */
.nj-tb-back { width: 32px; height: 32px; border-radius: 9px; background: var(--g50, #F0F2F5); border: 1px solid var(--g100, #E4E7EC); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; box-shadow: var(--clay-shadow-sm); text-decoration: none; }
.nj-tb-back svg { width: 13px; height: 13px; color: var(--navy); }
.nj-tb-loc { flex: 1; display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 10px; background: #fff; border: 1.5px solid var(--g100, #E4E7EC); box-shadow: var(--clay-shadow-sm); cursor: pointer; min-width: 0; transition: border-color 0.2s; font-family: 'Lato', sans-serif; }
.nj-tb-loc:hover { border-color: rgba(0,154,166,0.28); }
.nj-tb-city { font-size: 12px; font-weight: 900; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-tb-radius { font-size: 10px; color: var(--g400, #8B95A5); font-weight: 300; margin-left: 2px; white-space: nowrap; }
.nj-tb-count { font-size: 11px; font-weight: 700; color: var(--arwa); background: rgba(0,154,166,0.1); border: 1px solid rgba(0,154,166,0.18); padding: 4px 10px; border-radius: 999px; flex-shrink: 0; white-space: nowrap; }
.nj-f-chip { display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; background: #fff; border: 1.5px solid var(--g100, #E4E7EC); box-shadow: 0 1px 2px rgba(0,39,95,0.04); color: var(--g400, #8B95A5); cursor: pointer; transition: all 0.25s cubic-bezier(0.22,1,0.36,1); font-family: 'Lato', sans-serif; }
.nj-f-chip:hover { border-color: rgba(0,154,166,0.25); color: var(--navy); background: var(--teal-muted, #F1F8F9); }
.nj-f-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(0,39,95,0.2); }

/* ── Right Panel (Desktop) — double-bezel architecture ── */
.nj-panel {
    position: fixed; top: 88px; right: 20px; bottom: 20px; z-index: 30;
    width: 380px;
    background: rgba(0,39,95,0.03);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 48px rgba(0,39,95,0.10), 0 1px 3px rgba(0,39,95,0.06);
}
.nj-panel-inner {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(180%);
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(0,39,95,0.04);
    height: 100%;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.nj-panel-head { padding: 20px 20px 16px; flex-shrink: 0; }
.nj-panel-head::after { content: ''; display: block; height: 1px; margin-top: 14px; background: linear-gradient(90deg, transparent 0%, var(--g100, #E4E7EC) 20%, var(--g100, #E4E7EC) 80%, transparent 100%); }
.nj-ph-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.nj-ph-filters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.nj-ph-sort { display: flex; align-items: center; justify-content: flex-end; }
.nj-sort-tabs { display: flex; gap: 2px; background: var(--g50, #F0F2F5); border: 1.5px solid var(--g100, #E4E7EC); border-radius: 12px; padding: 3px; }
.nj-s-tab { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--g400, #8B95A5); background: transparent; border: none; cursor: pointer; font-family: 'Lato', sans-serif; transition: all 0.2s cubic-bezier(0.22,1,0.36,1); }
.nj-s-tab:hover { color: var(--navy); }
.nj-s-tab.on { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0,39,95,0.04); }

.nj-job-list { flex: 1; overflow-y: auto; padding: 14px 16px 16px; scrollbar-width: thin; scrollbar-color: var(--g200, #CDD3DC) transparent; }
.nj-job-card { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid rgba(0,39,95,0.05); margin-bottom: 8px; cursor: pointer; transition: all 0.35s cubic-bezier(0.22,1,0.36,1); position: relative; box-shadow: 0 1px 3px rgba(0,39,95,0.05), 0 4px 12px rgba(0,39,95,0.04); }
.nj-job-card:hover { border-color: rgba(0,154,166,0.15); box-shadow: 0 4px 20px rgba(0,39,95,0.10), 0 1px 3px rgba(0,39,95,0.06); transform: translateY(-2px); }
.nj-job-card.active { border-color: var(--arwa, #009AA6); box-shadow: 0 0 0 3px rgba(0,154,166,0.15), 0 4px 20px rgba(0,154,166,0.12); background: rgba(0,154,166,0.03); }
.nj-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.nj-card-badges { display: flex; gap: 4px; }
.nj-dist-route { display: inline-flex; align-items: center; gap: 6px; }
.nj-dr-dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--g200, #CDD3DC); flex-shrink: 0; transition: all 0.25s cubic-bezier(0.22,1,0.36,1); }
.nj-dr-line { width: 20px; height: 1.5px; background: var(--g200, #CDD3DC); border-radius: 1px; transition: all 0.25s cubic-bezier(0.22,1,0.36,1); }
.nj-dr-text { font-size: 12px; font-weight: 800; color: var(--g400, #8B95A5); letter-spacing: -0.01em; white-space: nowrap; }
.nj-job-card.active .nj-dr-dot { border-color: var(--arwa); background: var(--arwa); box-shadow: 0 0 0 3px rgba(0,154,166,0.2); }
.nj-job-card.active .nj-dr-line { background: var(--arwa); width: 24px; }
.nj-job-card.active .nj-dr-text { color: var(--arwa); font-weight: 900; }
.nj-card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.nj-ji { flex: 1; min-width: 0; }
.nj-jt { font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.35; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nj-jm { font-size: 11px; color: var(--g400, #8B95A5); margin-top: 3px; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.nj-jmd { width: 3px; height: 3px; border-radius: 50%; background: var(--g200, #CDD3DC); }
.nj-js { font-size: 15px; font-weight: 900; color: var(--arwa); margin-top: 8px; letter-spacing: -0.02em; }
.nj-jr { flex-shrink: 0; align-self: flex-end; }
.nj-jb { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.nj-b-new { background: rgba(0,154,166,0.08); color: var(--arwa); border: 1px solid rgba(0,154,166,0.15); }
.nj-b-urg { background: rgba(234,88,12,0.06); color: #EA580C; border: 1px solid rgba(234,88,12,0.15); }
.nj-preview-btn { padding: 7px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; border: none; cursor: pointer; font-family: 'Lato', sans-serif; white-space: nowrap; transition: all 0.25s cubic-bezier(0.22,1,0.36,1); box-shadow: 0 2px 6px rgba(0,39,95,0.15); }
.nj-preview-btn:hover { background: var(--arwa); box-shadow: 0 2px 12px rgba(0,154,166,0.25); transform: scale(1.03); }
.nj-job-card.active .nj-preview-btn { background: var(--arwa); box-shadow: 0 2px 10px rgba(0,154,166,0.2); }

.nj-load-more { margin: 0 0 8px; padding: 12px; border-radius: 13px; border: 1.5px dashed rgba(0,154,166,0.25); background: rgba(0,154,166,0.03); text-align: center; font-size: 12px; font-weight: 700; color: var(--arwa); cursor: pointer; transition: all 0.18s; }
.nj-load-more:hover { background: rgba(0,154,166,0.07); border-color: rgba(0,154,166,0.4); }

.nj-panel-cta { padding: 14px 16px 16px; border-top: 1px solid var(--g100, #E4E7EC); flex-shrink: 0; }
.nj-cta-btn { width: 100%; padding: 14px 20px; border-radius: 16px; background: var(--arwa); color: #fff; border: none; font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 900; cursor: pointer; box-shadow: 0 2px 12px rgba(0,154,166,0.25), 0 4px 8px rgba(0,39,95,0.08); display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; transition: all 0.25s cubic-bezier(0.22,1,0.36,1); letter-spacing: -0.01em; }
.nj-cta-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%); pointer-events: none; }
.nj-cta-btn:hover { background: var(--teal-dark, #007C8A); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,154,166,0.35), 0 2px 8px rgba(0,39,95,0.1); }

/* ── Map Controls ── */
.nj-map-ctrl-col { position: fixed; right: 418px; bottom: 36px; z-index: 35; display: flex; flex-direction: column; gap: 6px; transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1), transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.nj-ctrl-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
.nj-mc { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.8); backdrop-filter: blur(12px); box-shadow: var(--clay-shadow-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.18s; }
.nj-mc:hover { background: #fff; transform: scale(1.05); }
.nj-mc svg { width: 14px; height: 14px; color: var(--navy); }
.nj-map-radius { position: fixed; left: 12px; bottom: 24px; z-index: 35; display: flex; gap: 3px; padding: 4px; background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.8); border-radius: 13px; backdrop-filter: blur(12px); box-shadow: var(--clay-shadow-sm); transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1), transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.nj-r-btn { padding: 6px 14px; border-radius: 10px; font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; color: var(--g400, #8B95A5); background: transparent; }
.nj-r-btn.on { background: var(--arwa); color: #fff; box-shadow: 0 2px 8px rgba(0,154,166,0.3); }

/* ── Pin styles ── */
.nj-pin { cursor: pointer; transition: transform 0.2s ease; }
.nj-pin:hover, .nj-pin.active { transform: scale(1.1); z-index: 20 !important; }
.nj-pin.highlighted { transform: scale(1.15); z-index: 20 !important; }

/* ── Mapbox Popup Override ── */
.mapboxgl-popup { z-index: 25; }
.mapboxgl-popup-content { border-radius: 18px !important; padding: 16px 18px !important; box-shadow: 0 12px 48px rgba(0,39,95,0.35), 0 2px 8px rgba(0,0,0,0.2) !important; border: 1px solid rgba(255,255,255,0.1) !important; font-family: 'Lato', sans-serif !important; background: linear-gradient(135deg, #00275F 0%, #001a42 100%) !important; backdrop-filter: blur(12px) !important; }
.mapboxgl-popup-close-button { font-size: 0 !important; color: transparent !important; right: 10px !important; top: 10px !important; width: 24px !important; height: 24px !important; border-radius: 50% !important; background: rgba(255,255,255,0.1) !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: background 0.2s !important; }
.mapboxgl-popup-close-button::after { content: '×'; font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 600; }
.mapboxgl-popup-close-button:hover { background: rgba(255,255,255,0.2) !important; }
.mapboxgl-popup-close-button:hover::after { color: #fff; }
.mapboxgl-popup-tip { border-top-color: #001a42 !important; }

/* ── Popup Content (Desktop) ── */
.nj-popup-title { font-size: 14px; font-weight: 900; color: #fff !important; line-height: 1.35; margin-bottom: 4px; padding-right: 20px; letter-spacing: -0.01em; }
.nj-popup-meta { font-size: 11px; color: rgba(255,255,255,0.5) !important; margin-bottom: 10px; letter-spacing: 0.01em; }
.nj-popup-divider { height: 1px; background: linear-gradient(90deg, rgba(0,154,166,0.3), rgba(255,255,255,0.06)); margin-bottom: 10px; }
.nj-popup-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nj-popup-salary { font-size: 14px; font-weight: 900; color: var(--arwa); letter-spacing: -0.01em; }
.nj-popup-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--arwa); transition: all 0.2s cubic-bezier(0.22,1,0.36,1); box-shadow: 0 2px 8px rgba(0,154,166,0.3); }
.nj-popup-link:hover { background: #00b3c0; transform: scale(1.04); box-shadow: 0 4px 14px rgba(0,154,166,0.4); }
.nj-popup-cluster-title { font-size: 13px; font-weight: 900; color: #fff !important; margin-bottom: 8px; padding-right: 20px; letter-spacing: -0.01em; }
.nj-popup-cluster-row { padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.08); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: all 0.15s; }
.nj-popup-cluster-row:first-of-type { border-top: 1px solid rgba(0,154,166,0.2); }
.nj-popup-cluster-row:hover { background: rgba(0,154,166,0.1); margin: 0 -6px; padding: 7px 6px; border-radius: 8px; }
.nj-popup-cluster-job { font-size: 12px; font-weight: 700; color: #fff !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nj-popup-cluster-sal { font-size: 12px; font-weight: 800; color: var(--arwa); white-space: nowrap; flex-shrink: 0; }

/* ── Mobile Preview Card (Bottom) ── */
.nj-preview-card {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0,39,95,0.12);
    padding: 8px 16px 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    font-family: 'Lato', sans-serif;
}
.nj-pc-handle { width: 36px; height: 4px; border-radius: 2px; background: #CDD3DC; margin: 0 auto 10px; }
.nj-pc-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border-radius: 8px; background: var(--g50, #F0F2F5); border: 1px solid var(--g100, #E4E7EC); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; color: #8B95A5; }
.nj-pc-title { font-size: 15px; font-weight: 900; color: var(--navy); line-height: 1.3; padding-right: 36px; margin-bottom: 3px; }
.nj-pc-meta { font-size: 11px; color: #8B95A5; margin-bottom: 8px; }
.nj-pc-row { display: flex; align-items: center; justify-content: space-between; }
.nj-pc-salary { font-size: 15px; font-weight: 900; color: var(--arwa); }
.nj-pc-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--arwa); color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; box-shadow: var(--clay-shadow-btn); }

/* ── Mobile Cluster Selection ── */
.nj-ms-cluster-reset { background: none; border: none; font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; color: var(--arwa); cursor: pointer; padding: 2px 0; text-decoration: underline; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes locPulse { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ── Mobile Bottom Sheet ──
   State via top-offset so the sheet box matches its visible area — CTA
   sits at true visible bottom, list scrolls within viewport bounds.
   Transform remains free for SheetSwipe drag feedback.
   Note: transition kept on transform (for swipe-return), not on top —
   browsers don't reliably interpolate top between dvh/vh-based values. */
.nj-mobile-sheet {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 35;
    background: #fff; border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 40px rgba(0,39,95,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
    flex-direction: column;
    top: calc(100dvh - 155px);
    transition: transform 0.38s cubic-bezier(0.32,0.72,0,1);
    will-change: transform;
}
.nj-mobile-sheet.mid { top: 50dvh; }
.nj-mobile-sheet.full, .nj-mobile-sheet.preview { top: 0; }
.nj-mobile-sheet.preview { z-index: 55; }
.nj-ms-handle-wrap { padding: 10px 0 0; cursor: grab; }
.nj-ms-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--g200, #CDD3DC); margin: 0 auto; }
.nj-ms-head { padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--g100, #E4E7EC); cursor: pointer; }
.nj-ms-head-top { display: flex; align-items: center; justify-content: space-between; }
.nj-ms-head-bottom { display: flex; align-items: center; gap: 8px; }
.nj-ms-count { font-size: 15px; font-weight: 900; color: var(--navy); }
.nj-ms-count span { color: var(--arwa); }
.nj-ms-sub { font-size: 11px; color: var(--g400, #8B95A5); font-weight: 300; margin-top: 1px; }
.nj-ms-expand { width: 30px; height: 30px; border-radius: 9px; background: var(--g50, #F0F2F5); border: 1px solid var(--g100, #E4E7EC); display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.nj-ms-expand svg { color: var(--g400, #8B95A5); }
.nj-mobile-sheet.mid .nj-ms-expand, .nj-mobile-sheet.full .nj-ms-expand { transform: rotate(180deg); }
.nj-ms-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 12px calc(16px + env(safe-area-inset-bottom, 0px)); scrollbar-width: none; overscroll-behavior: contain; }
.nj-ms-list::-webkit-scrollbar { display: none; }
.nj-ms-cta { padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px)); flex-shrink: 0; }

/* ── Preview Panel — shared with jobsearch (uses .pv-*, clay shadows from app.css + pages/job-preview.css) ── */
.nj-preview-host { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.nj-preview-host[x-cloak] { display: none; }
.nj-mobile-sheet.preview .nj-preview-host { border-radius: 22px 22px 0 0; }

/* Legacy classes kept for fallback visibility in cached pages — will be removed after caches expire */
.nj-pv-body { }
.nj-ms-preview-close { display: none; }

/* ── Mobile Overrides ── */
@media (max-width: 768px) {
    .nj-panel { display: none; }
    .nj-mobile-sheet { display: flex; }
    .nj-map-ctrl-col { right: 12px; bottom: calc(155px + 16px); }
    .nj-map-radius { left: 12px; bottom: calc(155px + 16px); right: auto; }
    .nj-preview-btn { display: inline-block; }
    .nj-jch { display: none; }
    .nj-card-top { margin-bottom: 8px; }
    .nj-job-card { padding: 12px 14px; }
    .nj-ms-list { padding: 8px 10px calc(16px + env(safe-area-inset-bottom, 0px)); }
}
