.gv-app{border:1px solid #d9d9d9;padding:16px;background:#fff;border-radius:14px}
.gv-toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.gv-toolbar-left,.gv-toolbar-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gv-btn{background:#1d4ed8;color:#fff;border:none;padding:10px 14px;border-radius:8px;cursor:pointer;font-weight:600;line-height:1.2}
.gv-btn:hover{opacity:.95}
.gv-btn.is-active{background:#0f172a}
.gv-btn-secondary{background:#e5e7eb;color:#111827}
.gv-search,.gv-sort,.gv-field input,.gv-field select{width:100%;padding:11px 12px;border:1px solid #cfd4dc;border-radius:8px;background:#fff;box-sizing:border-box;min-height:44px}
.gv-field input[readonly]{background:#f8fafc}
.gv-map-wrap{height:640px}
#gv-map{height:100%;min-height:640px;border-radius:12px;overflow:hidden}
.gv-list{display:grid;gap:10px}
.gv-list-item{padding:12px;border:1px solid #ddd;border-radius:10px;cursor:pointer;background:#fafafa;display:grid;gap:4px}
.gv-list-item:hover{background:#f0f4ff}
.gv-list-title{font-size:15px}
.gv-consent{display:flex;justify-content:center;align-items:center;padding:20px;background:#f8fafc;border-radius:12px}
.gv-consent-card{max-width:680px;border:1px solid #ddd;background:#fff;padding:20px;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.gv-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:2200;display:flex;justify-content:center;align-items:center;padding:20px}
.gv-modal-card{position:relative;background:#fff;padding:24px;border-radius:16px;max-width:860px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 18px 50px rgba(0,0,0,.18)}
.gv-close{position:absolute;right:12px;top:10px;border:none;background:none;font-size:28px;cursor:pointer;color:#475569}
.gv-modal-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px;padding-right:40px}
.gv-modal-header h3{margin:0 0 4px 0;font-size:32px;line-height:1.1}
.gv-modal-subtitle{margin:0;color:#475569}
.gv-grid{display:grid;gap:16px}
.gv-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
.gv-field{display:flex;flex-direction:column;gap:6px}
.gv-field label{font-weight:600;color:#1f2937}
.gv-required .gv-required-mark{color:#b91c1c}
.gv-required input,.gv-required select{border-left:4px solid #2563eb;background:#fcfdff}
.gv-span-2{grid-column:span 2}
.gv-form-actions{display:flex;gap:10px;align-items:center;margin-bottom:14px}
.gv-form-message,.gv-email-message{margin-top:8px;font-weight:600}
.gv-form-message.is-success,.gv-email-message.is-success{color:#166534}
.gv-form-message.is-error,.gv-email-message.is-error{color:#b91c1c}
.gv-email-box{margin-top:16px;padding-top:18px;border-top:1px solid #e5e7eb;display:grid;gap:10px}
.gv-email-box h4{margin:0;font-size:20px}
.gv-email-box p{margin:0;color:#475569}
.gv-email-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.gv-email-field{margin:0}
.gv-popup-card h4{margin:0 0 10px 0;font-size:18px}
.gv-popup-grid{display:grid;gap:8px}
.gv-popup-row{display:grid;gap:2px;padding:6px 0;border-bottom:1px solid #eef2f7}
.gv-popup-row span{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:#64748b}
.gv-popup-row strong{font-size:14px;line-height:1.45;font-weight:600;color:#111827}
.gv-popup-row a{word-break:break-all}
.gv-popup-actions{margin-top:12px}
.gv-own-catches{margin-top:10px;padding-top:10px;border-top:1px solid #ddd}
.gv-own-catch-row{display:flex;justify-content:space-between;gap:8px;margin:8px 0;align-items:center}
.gv-own-catch-row button{background:#b91c1c;color:#fff;border:none;border-radius:999px;padding:0;cursor:pointer;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;line-height:1}
@media(max-width:780px){
  .gv-form-grid,.gv-email-row{grid-template-columns:1fr}
  .gv-span-2{grid-column:auto}
  .gv-modal-card{padding:18px}
  .gv-modal-header{flex-direction:column;padding-right:36px}
  .gv-modal-header h3{font-size:26px}
  #gv-map,.gv-map-wrap{min-height:420px;height:420px}
}


/* Popup kompakter */
.gv-leaflet-popup .leaflet-popup-content-wrapper{border-radius:14px;padding:0}
.gv-leaflet-popup .leaflet-popup-content{margin:14px 16px;min-width:280px}
.gv-popup-card{display:grid;gap:10px}
.gv-popup-head{display:grid;gap:2px;padding-bottom:8px;border-bottom:1px solid #e5e7eb}
.gv-popup-head h4{margin:0;font-size:18px;line-height:1.25}
.gv-popup-sub{font-size:13px;font-weight:700;color:#1d4ed8}
.gv-popup-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.gv-popup-grid.compact .gv-popup-row{padding:0 0 8px 0;border-bottom:1px solid #eef2f7;align-content:start;min-height:46px}
.gv-popup-grid.compact .gv-popup-row:last-child{grid-column:1 / -1}
.gv-popup-grid.compact .gv-popup-row span{font-size:11px;letter-spacing:.04em}
.gv-popup-grid.compact .gv-popup-row strong{font-size:13px;line-height:1.35;font-weight:600;word-break:break-word}
.gv-popup-grid.compact .gv-popup-row a{word-break:break-word}
.gv-popup-actions{margin-top:2px}
.gv-popup-actions .gv-btn{width:100%}
.gv-own-catches{margin-top:8px;padding-top:8px;font-size:13px}
@media(max-width:640px){
  .gv-popup-grid.compact{grid-template-columns:1fr}
}
.gv-modal-catches{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb;display:grid;gap:10px}
.gv-modal-catches h4{margin:0;font-size:20px}
.gv-modal-catches-list{display:grid;gap:8px}
.gv-own-catches-empty{color:#475569}
.gv-modal-catches .gv-own-catch-row{padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}
.gv-modal-catches .gv-own-catch-row span{line-height:1.4}

/* Mobile sheet */
.gv-mobile-sheet{display:none}
.gv-mobile-sheet-backdrop{display:none}
.gv-mobile-sheet-card{display:none}

@media(max-width:767px){
  .gv-app{padding:12px;border-radius:12px}
  .gv-toolbar{display:grid !important;grid-template-columns:1fr;gap:10px}
  .gv-toolbar-left,.gv-toolbar-right{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .gv-toolbar-left .gv-locate{grid-column:1 / -1}
  .gv-search,.gv-sort,.gv-btn{width:100%}
  .gv-map-wrap{height:58vh;min-height:420px}
  #gv-map{height:58vh;min-height:420px;border-radius:10px}
  .gv-list-item{padding:10px}

  .gv-mobile-sheet{display:block;position:absolute;inset:0;pointer-events:none;z-index:1400}
  .gv-mobile-sheet.is-open{pointer-events:auto}
  .gv-mobile-sheet-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.18);opacity:0;transition:opacity .2s ease}
  .gv-mobile-sheet.is-open .gv-mobile-sheet-backdrop{display:block;opacity:1}
  .gv-mobile-sheet-card{display:block;position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -12px 32px rgba(15,23,42,.18);padding:10px 14px 18px;transform:translateY(105%);transition:transform .25s ease;max-height:74vh;overflow:hidden}
  .gv-mobile-sheet.is-open .gv-mobile-sheet-card{transform:translateY(0)}
  .gv-mobile-sheet-handle{width:42px;height:5px;border-radius:99px;background:#cbd5e1;margin:0 auto 10px}
  .gv-mobile-sheet-close{position:absolute;top:10px;right:12px;border:none;background:none;font-size:28px;line-height:1;color:#475569;padding:2px 6px}
  .gv-mobile-sheet-head{padding-right:32px;margin-bottom:10px}
  .gv-mobile-sheet-sub{font-size:12px;font-weight:700;color:#2563eb;text-transform:uppercase;letter-spacing:.04em}
  .gv-mobile-sheet-head h3{margin:2px 0 0;font-size:20px;line-height:1.2}
  .gv-mobile-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
  .gv-mobile-tab{border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:999px;padding:10px 8px;font-weight:700}
  .gv-mobile-tab.is-active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
  .gv-mobile-sheet-body{overflow:auto;max-height:calc(74vh - 118px);padding-bottom:6px}
  .gv-mobile-pane{display:none}
  .gv-mobile-pane.is-active{display:block}
  .gv-mobile-info-grid{display:grid;gap:8px}
  .gv-mobile-info-grid .gv-popup-row{padding:8px 0}
  .gv-mobile-report-box{display:grid;gap:12px}
  .gv-mobile-report-box p{margin:0;color:#475569}
  .gv-mobile-catches .gv-own-catch-row{padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;margin-bottom:8px}
  .gv-mobile-catches .gv-own-catch-row span{display:block;line-height:1.45}
  .gv-mobile-catches .gv-own-catch-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.gv-mobile-catches .gv-own-catch-row button{margin-top:0;width:34px;height:34px;flex:0 0 34px}

  .leaflet-popup.gv-leaflet-popup{display:none}
}

.leaflet-top,.leaflet-bottom{z-index:900 !important;}
.leaflet-control-container .leaflet-control{z-index:900 !important;}
