/* Scoped fifth-panel integration; existing project graphics and timing unchanged. */
.projects .project-monitor .monitor-tabs { grid-template-columns:repeat(5,minmax(0,1fr)); }
.projects .project-monitor .project-suchgebiet .project-copy > p.suchgebiet-category { font-size:12px; font-weight:600; letter-spacing:.02em; line-height:1.5; margin:0 0 12px; }
.projects .suchgebiet-visual { margin:0; width:100%; min-width:0; align-self:start; }
.suchgebiet-map { display:block; width:100%; height:auto; overflow:visible; }
.suchgebiet-map .sg-map-base { fill:#E9F1FF; }
.suchgebiet-map .sg-terrain { fill:#DCE0FD; fill-opacity:.32; }
.suchgebiet-map .sg-contours { fill:none; stroke:#7D92B6; stroke-width:1; stroke-opacity:.23; }
.suchgebiet-map .sg-water { fill:#DCE0FD; }
.suchgebiet-map .sg-roads { fill:none; stroke:#FFFFFF; stroke-width:7; stroke-linecap:round; stroke-linejoin:round; }
.suchgebiet-map .sg-map-outline { fill:none; stroke:#9A9CB1; stroke-width:1; stroke-opacity:.45; stroke-linejoin:round; }
.suchgebiet-map .sg-secondary-area { fill:#FFFFFF; fill-opacity:.55; stroke:#9A9CB1; stroke-width:1.5; stroke-dasharray:5 6; stroke-linejoin:round; }
.suchgebiet-map .sg-search-area { fill:#DCE0FD; fill-opacity:.65; stroke:#7D92B6; stroke-width:1.8; stroke-linejoin:round; }
.suchgebiet-map .sg-area-highlight { fill:#7D92B6; fill-opacity:.13; stroke:none; }
.suchgebiet-map .sg-route-guide { fill:none; stroke:#FFFFFF; stroke-width:8; stroke-linecap:round; }
.suchgebiet-map .sg-route { fill:none; stroke:#7D92B6; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:0; }
.suchgebiet-map .sg-start circle:first-child { fill:#FFFFFF; stroke:#7D92B6; stroke-width:2; }
.suchgebiet-map .sg-start circle:last-child { fill:#7D92B6; }
.suchgebiet-map .sg-result { transform-origin:429px 167px; }
.suchgebiet-map .sg-result-ring { fill:#FFFFFF; fill-opacity:.6; stroke:#7D92B6; stroke-opacity:.35; stroke-width:1; }
.suchgebiet-map .sg-result-disc { fill:#7D92B6; stroke:#FFFFFF; stroke-width:2; }
.suchgebiet-map .sg-result-check { fill:none; stroke:#FFFFFF; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.suchgebiet-map .sg-location circle:first-child { fill:#FFFFFF; stroke:#7D92B6; stroke-width:1; }
.suchgebiet-map .sg-location path,.suchgebiet-map .sg-location circle:last-child { fill:none; stroke:#7D92B6; stroke-width:1.2; }
.suchgebiet-map .sg-area-icon rect { fill:#FFFFFF; stroke:#9A9CB1; stroke-opacity:.6; stroke-width:1; }
.suchgebiet-map .sg-area-icon path { fill:none; stroke:#7D92B6; stroke-width:1.5; stroke-linecap:round; }
.suchgebiet-map.sg-running .sg-route { animation:sg-route-draw 5s ease-in-out both; }
.suchgebiet-map.sg-running .sg-area-highlight { animation:sg-area-review 1.6s 3.3s ease-out both; }
.suchgebiet-map.sg-running .sg-result { animation:sg-result-show .8s 4.7s ease-out both; }
.suchgebiet-map.sg-paused .sg-route,.suchgebiet-map.sg-paused .sg-area-highlight,.suchgebiet-map.sg-paused .sg-result { animation-play-state:paused; }
@keyframes sg-route-draw { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@keyframes sg-area-review { from { opacity:0; } to { opacity:1; } }
@keyframes sg-result-show { from { opacity:0; transform:scale(.86); } to { opacity:1; transform:scale(1); } }
@media(max-width:1000px) {
  .projects .project-monitor .monitor-tabs { display:flex; gap:24px; max-width:100%; min-width:0; overflow-x:auto; overscroll-behavior-x:contain; scroll-padding-inline:3px; scrollbar-width:thin; scrollbar-color:#7D92B6 #E9F1FF; }
  .projects .project-monitor .monitor-tabs>button { flex:0 0 auto; min-width:0; min-height:56px; padding:17px 2px; gap:8px; white-space:nowrap; font-size:15px; }
  .projects .project-monitor .monitor-tab-name { white-space:nowrap; }
}
@media(prefers-reduced-motion:reduce) {
  .suchgebiet-map .sg-route,.suchgebiet-map .sg-area-highlight,.suchgebiet-map .sg-result { animation:none!important; }
  .suchgebiet-map .sg-route { stroke-dashoffset:0!important; }
  .suchgebiet-map .sg-area-highlight,.suchgebiet-map .sg-result { opacity:1!important; transform:none!important; }
}

/* Smartphone navigation only. The five desktop tabs and project panels stay intact. */
.mobile-project-picker { display:none; }
@media(max-width:600px) {
  .projects .project-monitor.has-mobile-project-picker .monitor-tabs { display:none; }
  .projects .project-monitor .mobile-project-picker { display:block; margin:0 0 24px; }
  .mobile-project-picker select {
    display:block; width:100%; min-width:0; height:58px; box-sizing:border-box;
    padding:14px 48px 14px 18px; border:1px solid #7D92B6; border-radius:8px;
    background:#DCE0FD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23171D29' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
    color:#171D29; font:inherit; font-size:17px; font-weight:600; line-height:1.4;
    appearance:none; -webkit-appearance:none; cursor:pointer;
  }
  .mobile-project-picker select:focus-visible { outline:2px solid #171D29; outline-offset:3px; }
  .mobile-project-picker option { background:#FFFFFF; color:#171D29; }
}
