/* Reguli finale Dan (2026-10-24). Încărcat după styles.css; câștigă peste tot.
   1. Hero compact  2. Spații maxim 4px  3. Fără selecție pe elemente clicabile
   4. Imagini întregi, proporționale  5. Toast fără să acopere conținutul */
:root{--hero-height:208px;--hero-height-mobile:160px}

/* 1. Hero compact: titlu + o linie de descriere, fără eticheta de deasupra. */
.stitch-page .unified-page-hero .hero-copy{justify-content:center!important;padding:4px 16px!important}
.stitch-page .unified-page-hero .hero-copy .hero-eyebrow{display:none!important}
.stitch-page .unified-page-hero .hero-copy .hero-title,[data-route="home"] .unified-page-hero .hero-copy .hero-title{font-size:30px!important;line-height:1.05!important;width:auto!important;max-width:70%!important}
.stitch-page .unified-page-hero .hero-copy .hero-description{margin:4px 0 0!important;width:auto!important;max-width:70%!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stitch-page .unified-page-hero .hero-copy .hero-actions{position:absolute;right:16px;top:50%;transform:translateY(-50%);margin:0!important}
.stitch-page .unified-page-hero .hero-copy .hero-actions>a,.stitch-page .unified-page-hero .hero-copy .hero-actions>button{min-height:0!important;padding:4px 8px!important;border-radius:8px!important}
/* Imaginea hero: una singură, pe toată caseta, lățimea potrivită (cover), decupată centrat, fără blur. */
.stitch-page .unified-page-hero{background-color:#08121c!important;background-image:var(--hero-image)!important;background-size:cover!important;background-position:center 40%!important;background-repeat:no-repeat!important}
.stitch-page .unified-page-hero:before{display:none!important}
.stitch-page .unified-page-hero:after{z-index:1!important;background:linear-gradient(90deg,rgba(2,5,9,.88) 0%,rgba(2,5,9,.6) 38%,rgba(2,5,9,0) 65%)!important}
.stitch-page .unified-page-hero .hero-copy>*{position:relative;z-index:2}
@media(max-width:767px){
  .stitch-page .unified-page-hero .hero-copy .hero-title,[data-route="home"] .unified-page-hero .hero-copy .hero-title{font-size:22px!important;max-width:100%!important}
  .stitch-page .unified-page-hero .hero-copy .hero-description{max-width:100%!important;white-space:normal}
  .stitch-page .unified-page-hero .hero-copy .hero-actions{position:static;transform:none;margin-top:4px!important}
}
[data-route="pesti"] .stitch-hero,[data-route="monturi"] .stitch-hero,[data-route="partide"] .stitch-hero{height:var(--hero-height)!important;min-height:var(--hero-height)!important}

/* 2. Spații: maxim 4px între elemente; butoane 4px sus/jos, 8px stânga/dreapta. */
.stitch-page *:is(.grid,.flex,[class*="gap-"]){gap:4px!important}
.canonical-topbar,.canonical-topbar>*,.canonical-topbar .topbar-actions,.canonical-topbar .topbar-weather,.canonical-topbar .topbar-brand{gap:4px!important;column-gap:4px!important}
.stitch-page .shared-topbar,.stitch-page .canonical-topbar{padding-left:4px!important;padding-right:4px!important;column-gap:4px!important}
.canonical-topbar .topbar-weather{padding:4px 8px!important}
.stitch-page main:not(.satellite-bg),.stitch-page .page-filter-bar,.stitch-page .standard-surface{padding:4px!important}
.stitch-page .topbar-host>.unified-page-hero,.stitch-page .topbar-host>.page-filter-bar,.stitch-page [data-purpose="hero-banner"]{margin-left:4px!important;margin-right:4px!important}
.stitch-page button:not(.topbar-icon-button):not(.topbar-profile):not([class*="w-"]):not([class*="h-"]){padding-top:4px;padding-bottom:4px}
.app-layout .shared-sidebar .nav-link{gap:4px!important}

/* 3. Elementele clicabile nu permit selectarea textului; câmpurile de text da. */
button,[role="button"],[role="tab"],[role="switch"],summary,a,label,.nav-link,.accordion-trigger,
.canonical-filter-options>*,.runtime-clickable,[data-accordion-trigger],.fish-species-card,
.stitch-page [class*="cursor-pointer"]{-webkit-user-select:none!important;user-select:none!important}
input,textarea,select,[contenteditable="true"]{-webkit-user-select:text!important;user-select:text!important}

/* 4. Imagini întregi și proporționale, niciodată tăiate. */
.stitch-page img:not(.leaflet-tile):not(.leaflet-marker-icon):not(.leaflet-marker-shadow):not([class*="rounded-full"]):not([data-real-photo]):not([src*="generic/locations"]):not([src*="content/sessions/"]):not([src*="wikimedia.org"]):not([src*="googleusercontent"]):not(.home-location-media):not(.home-article-media){object-fit:contain!important;object-position:center!important;background:#06101a}
.stitch-page img[class*="rounded-full"]{object-fit:cover!important}
.stitch-page .stitch-hero img{object-fit:contain!important}
.stitch-page [style*="background-image"]:not(.unified-page-hero){background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:#06101a!important}

/* 5. Toast: sus, în zona barei de sus, mic, nu blochează clickuri. */
.app-toast{top:4px!important;bottom:auto!important;right:4px!important;max-width:min(360px,calc(100vw - 8px))!important;padding:4px 8px!important;pointer-events:none;font-size:12px!important}
.app-toast button{pointer-events:auto}

/* Rânduri „Vezi toate”: scroll orizontal cu mouse (drag) — vezi drag-scroll.js */
.drag-scroll{overflow-x:auto!important;scrollbar-width:thin}
.drag-scroll.is-dragging{cursor:grabbing}
.drag-scroll.is-dragging *{pointer-events:none}

/* Home: cardurile albe din export devin întunecate, ca restul site-ului. */
[data-route="home"] .bg-white{background:#0d1d2d!important;border-color:#1b395a!important;color:#e2e8f0!important}
[data-route="home"] .bg-white :is([class*="text-slate-"],[class*="text-gray-"],h4,h5,span:not([class*="bg-"])){color:#e2e8f0!important}
[data-route="home"] .home-rig-media{background:#06101a!important}
[data-route="home"] .unified-page-hero{height:auto!important;min-height:var(--hero-height)!important;max-height:none!important;align-self:stretch!important}
[data-route="home"] [data-purpose="hero-and-weather"]>div:first-child{min-height:var(--hero-height)!important}
@media(max-width:767px){[data-route="home"] [data-purpose="hero-and-weather"]>div:first-child{min-height:160px!important}}
[data-route="home"] [data-purpose="species-rigs-and-sessions"]>div:first-child{display:flex!important;flex-direction:column}
[data-route="home"] [data-purpose="species-rigs-and-sessions"]>div:first-child>.grid{flex:1 1 auto;align-content:stretch;margin-top:0!important}
[data-route="home"] .home-object-media{width:100%!important;height:56px!important;object-fit:contain!important;background:transparent!important}
[data-route="home"] [data-purpose="species-rigs-and-sessions"]>div:first-child>.grid>div>:first-child{width:100%!important;height:auto!important;background:transparent!important;border:0!important}
.runtime-live-conditions{margin-top:4px;padding:4px 8px;border:1px solid #1b395a;border-radius:8px;background:#0b1a29}
.runtime-live-conditions h3{margin:0 0 4px;font-size:13px;font-weight:700;color:#f8fafc}
.runtime-live-conditions p{margin:4px 0;font-size:12px;color:#c4d0df}
.runtime-live-conditions .info-metrics{display:flex;flex-wrap:wrap;gap:4px}
.runtime-live-conditions .info-metrics span{display:flex;flex-direction:column;padding:4px 8px;border-radius:6px;background:#0d2235;font-size:12px;color:#e2e8f0}
.runtime-live-conditions .info-metrics strong{font-size:10px;color:#94a3b8;font-weight:600}
.runtime-live-conditions a{color:#22d3ee;font-size:12px}
[data-route="plan-ai"] [data-purpose="left-configurator"]{justify-content:flex-start!important;align-self:start!important}
.plan-date-input{width:100%;min-width:0;background:transparent;border:0;color:#e2e8f0;font-size:12px;color-scheme:dark}
[data-route="plan-ai"] [data-purpose="right-sidebar-info"]{justify-content:flex-start!important;align-self:start!important}
.fa-star-glyph{font-style:normal;color:#fbbf24}.fa-star-glyph.fa-regular{color:#475569!important}
svg.fa-converted,.fa-converted{width:14px;height:14px;display:inline-block;vertical-align:middle}
[data-route="pesti"] .fish-tab-content{display:flex;gap:4px;overflow-x:auto;padding:0}
[data-route="pesti"] .fish-tab-card{flex:1 0 180px;display:flex;flex-direction:column;gap:4px;padding:4px 8px;border:1px solid #16293d;border-radius:8px;background:#091522}
[data-route="pesti"] .fish-tab-wide{flex-basis:100%}
[data-route="pesti"] .fish-tab-card h5{margin:0;font-size:13px;font-weight:700;color:#f8fafc}
[data-route="pesti"] .fish-tab-card img{width:100%;height:90px;object-fit:contain}
[data-route="pesti"] .fish-tab-card p,[data-route="pesti"] .fish-tab-card li,[data-route="pesti"] .fish-tab-empty{margin:0;font-size:12px;color:#c4d0df}
[data-route="pesti"] .fish-tab-card ul{margin:0;padding-left:16px}
[data-route="pesti"] .fish-tab-card a{font-size:12px;color:#22d3ee}
[data-route="pesti"] [data-purpose="species-profile-center"] button.is-active{background:var(--accent-cyan)!important;color:#fff!important}
[data-route="pesti"] .fish-list-compact img{display:none}
[data-route="monturi"] .runtime-rig-caption{padding:4px 8px!important;font-size:12px!important;line-height:1.35!important;color:#c4d0df!important}
[data-route="monturi"] .runtime-rig-caption h3{margin:0 0 4px!important;font-size:15px!important;font-weight:700!important;color:#f8fafc!important}
[data-route="monturi"] .runtime-rig-caption p{margin:0 0 4px!important;font-size:12px!important}
[data-route="monturi"] .runtime-rig-caption ol{margin:0 0 4px!important;padding-left:18px!important;font-size:12px!important;list-style:decimal!important}
[data-route="monturi"] .runtime-rig-caption ol li{margin:0!important;padding:0!important}
[data-route="monturi"] .runtime-rig-caption p:last-child{color:#22d3ee!important;text-transform:capitalize}
.runtime-rig-steps{display:flex;gap:4px;overflow-x:auto}
.runtime-rig-step{flex:1 0 140px;display:flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #1b395a;border-radius:8px;background:#0b1a29;font-size:12px;color:#e2e8f0}
.runtime-rig-step span{flex:0 0 18px;height:18px;border-radius:50%;background:#08b5d5;color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center}
.stitch-page .see-all-row{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:4px!important;grid-template-columns:none!important}
.stitch-page .see-all-row>*{flex:0 0 auto!important;min-width:180px;max-width:280px}
.stitch-page .see-all-row>[hidden]{display:none!important}
.example-badge{margin-left:4px;padding:0 4px;border:1px solid #a16207;border-radius:4px;color:#fbbf24;font-size:10px;font-weight:600;vertical-align:middle;text-transform:uppercase}
/* Butoanele-tile din grile umplu celula (nu ies din panou). */
.stitch-page .grid>button.compact-text-button{width:100%!important;min-width:0!important;white-space:normal!important}
[data-route="admin"] [data-purpose="bottom-management-row"]>*{align-content:start!important;justify-content:flex-start!important}
/* Hărțile (Google/Leaflet) își desenează singure imaginile: fără fundal și fără contain. */
.stitch-page .gpr-live-map img,.stitch-page .leaflet-container img{background:transparent!important;object-fit:fill!important;object-position:initial!important}
/* Indicator de lucru: bară sus + rotiță pe butoanele care așteaptă. */
.gpr-activity-bar{position:fixed;z-index:10000;top:0;left:0;right:0;height:3px;opacity:0;pointer-events:none;background:linear-gradient(90deg,transparent 0%,#ff6a00 30%,#08b5d5 60%,transparent 100%);background-size:50% 100%;background-repeat:no-repeat;transition:opacity .2s}
.gpr-activity-bar.is-active{opacity:1;animation:gpr-bar 1.1s linear infinite}
@keyframes gpr-bar{from{background-position:-50% 0}to{background-position:150% 0}}
button.is-loading{position:relative;color:transparent!important;pointer-events:none}
button.is-loading::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:gpr-spin .7s linear infinite}
.is-loading:not(button)::before{content:"";display:inline-block;width:10px;height:10px;margin-right:4px;vertical-align:-1px;border:2px solid rgba(8,181,213,.3);border-top-color:#08b5d5;border-radius:50%;animation:gpr-spin .7s linear infinite}
@keyframes gpr-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.gpr-activity-bar.is-active,button.is-loading::after,.is-loading:not(button)::before{animation-duration:3s}}
.gpr-navigate{display:inline-block;margin-top:4px;padding:4px 8px;border-radius:6px;background:#08b5d5;color:#fff!important;font-size:12px;font-weight:700;text-decoration:none}
.gpr-navigate-icon{display:flex;align-items:center;padding:4px 8px;border:1px solid #1b395a;border-radius:6px;text-decoration:none}
.gpr-map-popup{display:flex;flex-direction:column;gap:2px;color:#0f172a}
.smart-flash{outline:2px solid #08b5d5!important;outline-offset:2px;transition:outline-color 1s}
button.smart-favorite svg,button[aria-pressed="true"] svg.lucide-heart{fill:#ff4d6d!important;color:#ff4d6d!important}
.gpr-center-spot{width:22px!important;height:22px!important;border-radius:50%;background:#ff6a00;border:3px solid #fff;box-shadow:0 0 0 4px rgba(255,106,0,.3);cursor:grab}
/* Fotografia locației (panoul din dreapta, Hartă): umple toată caseta pe lățime. */
[data-route="harta"] [data-purpose="spot-detail-sidebar"]>:first-child img:first-of-type{width:100%!important;height:100%!important;object-fit:cover!important;background:transparent!important}
/* Radar vertical pe caseta „Hartă & Localizări” în timpul căutării. */
.gpr-radar{position:relative}
.gpr-radar::after{content:"";position:absolute;z-index:20;left:0;right:0;top:0;height:120px;pointer-events:none;background:linear-gradient(180deg,rgba(8,181,213,0) 0%,rgba(8,181,213,.18) 70%,rgba(34,211,238,.55) 100%);border-bottom:2px solid rgba(34,211,238,.95);animation:gpr-radar 1.8s ease-in-out infinite alternate}
@keyframes gpr-radar{0%{top:0;transform:scaleY(1)}49.9%{transform:scaleY(1)}50%{transform:scaleY(1)}100%{top:calc(100% - 120px);transform:scaleY(-1)}}
.ai-badge{display:inline-block;margin:4px 0 0;padding:0 6px;border-radius:4px;background:linear-gradient(90deg,#8b5cf6,#08b5d5);color:#fff;font-size:10px;font-weight:800;letter-spacing:.05em}
.ai-note{margin-top:4px;font-size:11px;color:#94a3b8}
p.is-loading{opacity:.6}
/* Fotografii (locații, partide, fotografii reale): umplu caseta, decupate centrat.
   Obiectele decupate (pești, monturi, echipament, momeli) rămân întregi. */
.stitch-page img[data-real-photo],.stitch-page img[src*="generic/locations"],.stitch-page img[src*="content/sessions/"],.stitch-page img[src*="wikimedia.org"],.stitch-page img[src*="googleusercontent"],.stitch-page img[src*="places.googleapis"],.stitch-page .home-location-media,.stitch-page .home-article-media{object-fit:cover!important;object-position:center!important;background:transparent!important}
.solunar-species-active{outline:2px solid #08b5d5!important;outline-offset:-2px;background:rgba(8,181,213,.08)!important}
/* Filtre duble: desktop = bara de meniu, mobil = lista derulantă. */
@media(min-width:768px){.stitch-page .filter-sync-select{display:none!important}}
@media(max-width:767px){html body .stitch-page .page-section-flow>.page-filter-bar.filter-sync-bar,html body .stitch-page .page-filter-bar.filter-sync-bar{display:none!important}}

/* Fonturi mărite cu 15% (FONT_SCALE). Clasele Tailwind în rem urmează html; cele în px sunt rescrise aici. */
html{font-size:115%}
.stitch-page .text-\[8px\],.shared-sidebar .text-\[8px\]{font-size:9.20px!important}
.stitch-page .text-\[8\.5px\],.shared-sidebar .text-\[8\.5px\]{font-size:9.77px!important}
.stitch-page .text-\[9px\],.shared-sidebar .text-\[9px\]{font-size:10.35px!important}
.stitch-page .text-\[9\.5px\],.shared-sidebar .text-\[9\.5px\]{font-size:10.92px!important}
.stitch-page .text-\[10px\],.shared-sidebar .text-\[10px\]{font-size:11.50px!important}
.stitch-page .text-\[11px\],.shared-sidebar .text-\[11px\]{font-size:12.65px!important}
.shared-sidebar .nav-link{font-size:15px!important}
/* Harta: macheta statică din export nu mai apare cât se încarcă harta reală. */
.map-booting>*:not(.gpr-live-map){visibility:hidden!important}
.map-booting{background:#0b1a29 url() !important}
/* Harta în stilul machetei */
.gpr-dark-tiles{filter:brightness(.62) saturate(.85) contrast(1.05)}
.gpr-map-pin{display:grid;place-items:center;width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--marker-color);border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.5)}
.gpr-map-pin svg{transform:rotate(45deg)}
.gpr-map-pin.is-selected{width:38px;height:38px;outline:3px solid #ff7a18}
.gpr-map-legend{background:rgba(10,20,30,.85);color:#e6eef5;padding:4px 8px;border-radius:6px;display:grid;gap:4px;font-size:12px}
.gpr-map-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px}
.gpr-map-card img{width:100%;height:90px;object-fit:cover;border-radius:4px;display:block}
.gpr-stars{color:#fbbf24;font-style:normal}
.leaflet-popup-content-wrapper{background:#0f1c26;color:#e6eef5}
.leaflet-popup-tip{background:#0f1c26}
.map-booting>*:not(.gpr-live-map){visibility:hidden}
[data-purpose="interactive-map-area"].satellite-bg{background:#0b1620!important}
/* Toate controalele în culorile site-ului */
html{color-scheme:dark;accent-color:#ff6a00}
*{scrollbar-width:thin;scrollbar-color:#1b3854 #07131e}
::-webkit-scrollbar{width:6px;height:6px;background:#07131e}
::-webkit-scrollbar-track{background:#07131e!important}
::-webkit-scrollbar-thumb{background:#1b3854!important;border-radius:999px}
::-webkit-scrollbar-thumb:hover{background:#ff6a00!important}
::-webkit-scrollbar-corner{background:#07131e}
select,option,optgroup{background:#0d2136;color:#e5edf7}
input,textarea,select{caret-color:#ff6a00}
::selection{background:rgba(255,106,0,.35);color:#fff}
.see-all-row{scroll-behavior:auto!important}
/* Rândurile scroll umplu toată înălțimea casetei */
.flex-col>div:has(>.see-all-row){flex:1;display:flex;flex-direction:column;min-height:0}
div:has(>.see-all-row)>.see-all-row{flex:1;align-items:stretch}
[data-route="partide"] .see-all-row>.standard-surface{flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;min-width:170px;margin:0!important}
[data-route="partide"] .see-all-row>.standard-surface>div{flex-direction:column;align-items:flex-start;gap:4px}
.session-actions{display:inline-flex;gap:4px}
.session-actions button{padding:4px 8px;border:1px solid #1b3a59;border-radius:6px;background:#0e2238;color:#e5edf7;font-size:12px;font-weight:700;user-select:none;cursor:pointer}
.session-actions button:hover{border-color:#ff6a00;color:#ff6a00}
.session-actions button.danger:hover{border-color:#ef4444;color:#ef4444}
/* Mobil: meniul în dreapta, lista aliniată la dreapta */
@media(max-width:767px){
.stitch-page .canonical-topbar{grid-template-columns:40px minmax(0,1fr) auto 38px!important}
.canonical-topbar .mobile-navigation-toggle{order:99}
.shared-sidebar{left:auto!important;right:0!important;border-right:0!important;border-left:1px solid #152e47}
.navigation-open .navigation-backdrop{inset:0 165px 0 0!important}
.shared-sidebar .nav-link,.shared-sidebar a{flex-direction:row-reverse;justify-content:flex-start;text-align:right}
.shared-sidebar nav,.shared-sidebar ul{align-items:flex-end}
}
.radius-cats>summary{cursor:pointer;user-select:none;font-weight:700;padding:4px 0}
@media(max-width:767px){
.runtime-radius-panel{left:4px!important;right:auto!important;width:min(260px,70vw)!important;padding:4px!important;font-size:12px!important;max-height:45vh;overflow:auto}
.runtime-radius-panel *{font-size:12px!important}
.runtime-radius-panel button{padding:4px 8px!important;min-height:0!important}
.runtime-radius-panel fieldset{grid-template-columns:1fr!important;gap:2px!important;padding:4px!important}
.runtime-radius-panel input[type=checkbox]{width:14px;height:14px}
.gpr-map-legend{display:none}
.runtime-map-modes button,.runtime-map-actions button{padding:4px 8px!important;font-size:12px!important}
}
[data-route="harta"] [data-purpose="interactive-map-area"]>.radius-edge-toggle{display:block!important}
.radius-edge-toggle{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:1000;width:22px;height:56px;padding:0;border:1px solid #1b3a59;border-left:0;border-radius:0 8px 8px 0;background:#ff6a00;color:#fff;font-size:20px;font-weight:800;line-height:1;cursor:pointer;user-select:none;box-shadow:2px 0 8px rgba(0,0,0,.4)}
.radius-edge-toggle.is-open{background:#0e2238;color:#ff6a00}
/* Căutarea pe hartă: bară deasupra hărții */
.runtime-map-toolbar>.runtime-map-area-search{order:-1;flex:1 1 100%;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:4px;margin:0;pointer-events:auto;background:rgba(5,18,31,.92);border:1px solid #1a3854;border-radius:6px}
.runtime-map-toolbar>.runtime-map-area-search input{height:32px;padding:4px 8px;border:1px solid #1b3a59;border-radius:6px;background:#0d2136;color:#e5edf7}
.runtime-map-toolbar>.runtime-map-area-search button{padding:4px 8px;border-radius:6px;background:#ff6a00;color:#fff;font-weight:700;border:0}
.runtime-map-toolbar>.runtime-map-area-search p{grid-column:1/-1;margin:0;font-size:11px;color:#8ba3bf}
.runtime-map-toolbar>.runtime-map-area-search p:empty{display:none}
.runtime-map-toolbar:has(>.runtime-map-area-search) .runtime-map-zoom{top:96px}
/* Partide: harta reală a locului apare prima */
.session-mini-map{order:-1}
.session-mini-map>.absolute.inset-0{z-index:0}
.session-mini-map .leaflet-container{background:#091522}
[data-map-action="route"]{display:inline-flex!important;align-items:center;gap:4px}.map-btn-icon{flex:none}
/* Animații de învățare a interfeței */
@keyframes gpr-slide-in{from{transform:translateX(-24px);opacity:0}to{transform:none;opacity:1}}
@keyframes gpr-pulse{0%,100%{box-shadow:2px 0 8px rgba(0,0,0,.4),0 0 0 0 rgba(255,106,0,.7)}50%{box-shadow:2px 0 8px rgba(0,0,0,.4),0 0 0 10px rgba(255,106,0,0)}}
.radius-hint-open{animation:gpr-slide-in .45s ease-out}
.radius-edge-toggle.radius-hint-pulse{animation:gpr-pulse 1.1s ease-in-out infinite}
.radius-hint-tip{position:absolute;z-index:1100;max-width:220px;padding:4px 8px;border-radius:6px;background:#ff6a00;color:#fff;font-size:12px;font-weight:700;pointer-events:none;animation:gpr-slide-in .4s ease-out}
.radius-hint-tip[hidden]{display:none}
/* Audit: butoane cât conținutul, 4px/8px, text minim 10px */
main button.w-full:not(.accordion-tab):not([class*="accordion"]):not([aria-expanded]):not(.runtime-nearby-select):not([data-radius-search]):not([data-radius-exit]),
[data-route="checklist"] main button[class*="w-full"]:is([data-action],.add-item){width:fit-content!important}
:is([data-route="home"],[data-route="harta"],[data-route="solunar"],[data-route="echipament"],[data-route="cumparaturi"],[data-route="cont"],[data-route="utile"],[data-route="plan-ai"],[data-route="checklist"],[data-route="jurnal"]) main button:not([aria-expanded]):not(.shell-nav-link):not([data-radius-search]):not([data-radius-exit]):not(.runtime-nearby-select){padding-top:4px!important;padding-bottom:4px!important;padding-left:8px!important;padding-right:8px!important;width:fit-content;max-width:100%}
span,small,p,label,a,button,div{--gpr-min:10px}
.text-\[9px\],.text-\[8px\],[class*="text-[9"],[class*="text-[8"]{font-size:10px!important}
[data-route="harta"] aside button.w-full,[data-route="harta"] [data-purpose] button.w-full:not([aria-expanded]){width:fit-content!important;padding:4px 8px!important}
.fit-btn{width:fit-content!important;padding:4px 8px!important}
/* Legal: linkuri în meniu + banner informare */
.legal-footer{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-top:1px solid #152e47}
.legal-footer a{padding:4px 8px;border-radius:6px;font-size:11px;color:#8ba3bf;user-select:none}
.legal-footer a:hover{color:#ff6a00}
.consent-banner{position:fixed;left:4px;bottom:4px;z-index:2000;max-width:min(420px,calc(100vw - 8px));padding:8px;border:1px solid #1b3a59;border-radius:8px;background:rgba(7,19,30,.97);color:#e5edf7;font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,.5)}
.consent-banner p{margin:0 0 4px}
.consent-banner a{color:#22d3ee;text-decoration:underline}
.consent-banner div{display:flex;align-items:center;gap:8px}
.consent-banner button{padding:4px 8px;border:0;border-radius:6px;background:#ff6a00;color:#fff;font-weight:700;user-select:none;cursor:pointer}
/* Cont: poză profil + marcaj secțiune */
.avatar-change{margin:0 0 4px;padding:4px 8px;border:1px solid #1b3a59;border-radius:6px;background:#0e2238;color:#e5edf7;font-size:11px;font-weight:700;user-select:none;cursor:pointer;width:fit-content}
.avatar-change:hover{border-color:#ff6a00;color:#ff6a00}
@keyframes gpr-flash{0%{box-shadow:0 0 0 2px #ff6a00}100%{box-shadow:0 0 0 2px transparent}}
.section-flash{animation:gpr-flash 1.4s ease-out}
/* Bară de actualizare / Ce e nou */
.update-bar{position:fixed;right:4px;bottom:4px;z-index:2100;max-width:min(360px,calc(100vw - 8px));display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid #ff6a00;border-radius:8px;background:rgba(7,19,30,.97);color:#e5edf7;font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,.5)}
.update-bar ul{margin:0;padding-left:16px;flex-basis:100%}
.update-bar button{padding:4px 8px;border:0;border-radius:6px;background:#ff6a00;color:#fff;font-weight:700;user-select:none;cursor:pointer}

/* Mobil: Utile – text peste poză, jos (fără casete înghesuite) */
@media (max-width: 640px) {
  [data-purpose="maintenance-card"] > div:nth-child(2) { position: relative; min-height: 232px; align-items: flex-end; padding: 0; gap: 0; }
  [data-purpose="maintenance-card"] > div:nth-child(2) > div:first-child { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
  [data-purpose="maintenance-card"] > div:nth-child(2) > div:last-child { position: relative; z-index: 1; width: 100%; padding: 32px 8px 8px; background: linear-gradient(to top, rgba(7,16,28,.96) 0%, rgba(7,16,28,.85) 60%, rgba(7,16,28,0) 100%); }
  [data-purpose="maintenance-card"] > div:nth-child(2) > div:last-child a { padding: 4px; }
  [data-purpose="maintenance-card"] > div:nth-child(2) > div:last-child .text-\[9px\] { font-size: 10px; }
}

.gpr-map-mode { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: #0b1928; color: #e2e8f0; border: 1px solid #19324c; border-radius: 8px; font: 600 12px/1.2 inherit; cursor: pointer; user-select: none; -webkit-user-select: none; }
.gpr-map-mode:hover { border-color: #08b5d5; color: #fff; }

.gpr-install { position: fixed; left: 8px; bottom: 8px; z-index: 9000; display: flex; gap: 4px; align-items: center; background: #0b1928; border: 1px solid #08b5d5; border-radius: 8px; padding: 4px; max-width: calc(100vw - 16px); }
.gpr-install button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 0; border-radius: 4px; background: #08b5d5; color: #07131f; font: 700 12px/1.2 inherit; cursor: pointer; user-select: none; -webkit-user-select: none; }
.gpr-install .gpr-install-x { background: transparent; color: #94a3b8; padding: 4px 8px; font-size: 14px; }

.brand-word { font-weight: 800; letter-spacing: 0; text-transform: none; }
.brand-word .b-red { color: #ef4444; }
.brand-word .b-yel { color: #facc15; }
.brand-word .b-blue { color: #38bdf8; font-weight: 600; }

.runtime-map-modes{display:none!important}
.shared-sidebar{z-index:5000!important}
.canonical-topbar{z-index:4000}
.navigation-open .runtime-map-toolbar,.navigation-open .leaflet-control-container,.navigation-open .gpr-map-mode{visibility:hidden}
@media (max-width:640px){.shared-sidebar{box-shadow:-8px 0 24px #000a;background:#07131e!important}}

.beta-tag{font-style:normal;font-weight:700;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#07131f;background:#facc15;border-radius:4px;padding:0 4px;margin-left:4px;white-space:nowrap}

.topbar-brand{position:relative}
.beta-corner{display:none!important}
.topbar-brand-copy .beta-tag{display:inline}
@media (max-width:767px){
  .stitch-page .canonical-topbar{grid-template-columns:auto minmax(0,1fr) auto auto!important}
  .canonical-topbar .topbar-brand{width:auto!important;min-width:0!important;gap:4px}
  .canonical-topbar .topbar-brand-copy{display:flex!important}
  .canonical-topbar .topbar-brand-copy strong{font-size:14px}
  .canonical-topbar .topbar-brand-copy small{font-size:0;margin-top:2px;line-height:1}
  .canonical-topbar .topbar-brand-copy small .beta-tag{font-size:9px;margin:0}
}

html:not([data-role="admin"]) .shared-sidebar a[href="#/admin"]{display:none!important}
.gpr-account-card,.gpr-admin-panel{background:#0b1928;border:1px solid #19324c;border-radius:8px;padding:8px;margin:4px;color:#e2e8f0}
.gpr-account-card h2,.gpr-admin-panel h2{font-size:16px;font-weight:800;color:#fff;margin:0 0 4px}
.gpr-account-card p,.gpr-admin-panel p{font-size:13px;color:#94a3b8;margin:0 0 4px}
.gpr-plan{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;border-radius:4px;padding:0 4px;vertical-align:middle;background:#19324c;color:#cbd5e1}
.gpr-plan-pro{background:#facc15;color:#07131f}
.gpr-auth-form{display:flex;flex-direction:column;gap:4px}
.gpr-auth-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#94a3b8}
.gpr-auth-form input{background:#07131f;border:1px solid #19324c;border-radius:4px;padding:4px 8px;color:#fff;font-size:14px}
.gpr-auth-form input:focus{outline:0;border-color:#08b5d5}
.gpr-auth-check{flex-direction:row!important;align-items:center;gap:4px!important}
.gpr-auth-check input{width:auto}
.gpr-auth-note{font-size:12px;color:#facc15!important}
.gpr-auth-err{font-size:12px;color:#ef4444!important;min-height:0;margin:0}
.gpr-auth-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.gpr-primary,.gpr-link{display:inline-flex;padding:4px 8px;border-radius:4px;border:0;font:700 12px/1.2 inherit;cursor:pointer;user-select:none;-webkit-user-select:none}
.gpr-primary{background:#ff6a00;color:#fff}
.gpr-link{background:#19324c;color:#e2e8f0}
.gpr-danger{color:#ef4444}
.gpr-primary.gpr-danger{background:#ef4444;color:#fff}
.gpr-admin-table{overflow-x:auto;margin-bottom:4px}
.gpr-admin-table table{width:100%;border-collapse:collapse;font-size:12px}
.gpr-admin-table th,.gpr-admin-table td{text-align:left;padding:4px;border-bottom:1px solid #19324c;white-space:nowrap}
.gpr-admin-table select{background:#07131f;color:#fff;border:1px solid #19324c;border-radius:4px;padding:0 4px}

.gpr-feedback{position:fixed;left:8px;bottom:8px;z-index:3000;display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #19324c;border-radius:8px;background:#0b1928e6;color:#94a3b8;font:600 11px/1.2 inherit;cursor:pointer;user-select:none;-webkit-user-select:none}
.gpr-feedback:hover{color:#fff;border-color:#08b5d5}
.gpr-install{bottom:44px!important}
.gpr-auth-form textarea{background:#07131f;border:1px solid #19324c;border-radius:4px;padding:4px 8px;color:#fff;font:14px/1.4 inherit;resize:vertical}
.navigation-open .gpr-feedback{visibility:hidden}

.gpr-feedback{min-height:0!important;min-width:0!important;height:auto!important;width:auto!important;padding:4px 8px!important;font-size:11px!important;line-height:1.2!important;z-index:4500}
