
:root{
  --bg:#f5f3ef;
  --panel:#ffffff;
  --ink:#191c22;
  --muted:#6f737a;
  --line:#dedbd5;
  --red:#b7575d;
  --dark:#151820;
  --soft:#ebe6dd;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--ink);
}

button,input{font:inherit}
button{cursor:pointer}

.hidden{display:none!important}

.login-view{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 80% 20%,rgba(183,87,93,.2),transparent 24%),
    linear-gradient(135deg,#14171d,#252a33);
}

.login-card{
  width:min(470px,100%);
  background:#fff;
  border-radius:28px;
  padding:36px;
  box-shadow:0 30px 70px rgba(0,0,0,.28);
}

.brand{
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.13em;
}
.brand span{color:var(--red)}

.login-card h1{
  font-size:clamp(2.4rem,8vw,4rem);
  line-height:1;
  margin:14px 0;
}
.login-card p{color:var(--muted);line-height:1.65}

.login-card label{
  display:block;
  font-size:.78rem;
  font-weight:800;
  margin:22px 0 8px;
}

.login-card input{
  width:100%;
  min-height:48px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0 14px;
  font-size:16px;
}

.login-card button{
  width:100%;
  min-height:48px;
  margin-top:12px;
  border:0;
  border-radius:14px;
  background:var(--red);
  color:#fff;
  font-weight:800;
}

.message{font-size:.88rem}

.dashboard{
  width:min(1280px,calc(100% - 32px));
  margin:0 auto;
  padding-bottom:60px;
}

.topbar{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.trip-title{
  font-size:.9rem;
  margin-top:5px;
  color:var(--muted);
}

.topbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.user-email{
  font-size:.78rem;
  color:var(--muted);
}

.ghost-btn{
  background:transparent;
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 13px;
}

.hero{
  min-height:260px;
  padding:34px;
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(183,87,93,.35),transparent 24%),
    linear-gradient(135deg,#181b21,#2e343d);
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
}

.eyebrow,.section-kicker,.card-kicker{
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#d78e94;
}

.hero h1{
  margin:7px 0 6px;
  font-size:clamp(3rem,8vw,6rem);
  line-height:.9;
}
.hero p{margin:0;color:#c9ccd1}

.countdown-card{
  min-width:180px;
  padding:20px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:20px;
  background:rgba(255,255,255,.06);
}
.countdown-card span{display:block;font-size:.72rem;color:#c8cbd0}
.countdown-card strong{display:block;margin-top:6px;font-size:1.7rem}

.tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:20px 0 6px;
}
.tab,.pill{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  white-space:nowrap;
  padding:10px 14px;
  font-weight:750;
}
.tab.active,.pill.active{
  background:var(--dark);
  color:#fff;
  border-color:var(--dark);
}

.tab-panel{display:none;padding-top:25px}
.tab-panel.active{display:block}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:end;
  margin-bottom:22px;
}
.section-head h2{
  margin:5px 0 0;
  font-size:clamp(2rem,5vw,3.2rem);
}

.date-nav{
  display:flex;
  gap:7px;
  align-items:center;
}
.date-nav button,
.date-nav input{
  min-height:42px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:0 11px;
}

.today-grid{
  display:grid;
  grid-template-columns:1.5fr .7fr;
  gap:18px;
}
.today-date{
  font-weight:850;
  margin-bottom:15px;
  text-transform:capitalize;
}

.timeline-list,.day-list{display:grid;gap:12px}

.activity{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  display:grid;
  grid-template-columns:82px 1fr;
  gap:14px;
}
.activity-time{
  font-weight:900;
  color:var(--red);
}
.activity h3{margin:0 0 5px;font-size:1.05rem}
.activity p{margin:0;color:var(--muted);line-height:1.5;font-size:.9rem}

.side-stack{display:grid;gap:12px;align-content:start}
.side-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px;
}
.side-card h3{margin:8px 0 5px}
.side-card p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}

.day-group{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
}
.day-heading{
  padding:18px 20px;
  background:#f9f7f3;
  border-bottom:1px solid var(--line);
  font-weight:900;
  text-transform:capitalize;
}
.day-activities{padding:12px}

.filter-pills{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

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

.data-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px;
}
.data-card .type{
  display:inline-block;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.09em;
  color:var(--red);
  text-transform:uppercase;
}
.data-card h3{margin:10px 0 7px}
.data-card p{margin:6px 0;color:var(--muted);line-height:1.5;font-size:.9rem}
.data-card a{
  display:inline-flex;
  margin-top:12px;
  color:var(--ink);
  font-weight:800;
  text-decoration:none;
}

.empty{
  background:#fff;
  border:1px dashed var(--line);
  border-radius:18px;
  padding:24px;
  color:var(--muted);
}

@media(max-width:900px){
  .today-grid{grid-template-columns:1fr}
  .cards-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  .dashboard{width:min(100% - 20px,1280px)}
  .topbar{align-items:flex-start;padding:13px 0}
  .user-email{display:none}
  .hero{min-height:300px;display:block;padding:25px}
  .countdown-card{margin-top:28px;min-width:0}
  .section-head{display:block}
  .date-nav{margin-top:14px}
  .cards-grid{grid-template-columns:1fr}
  .activity{grid-template-columns:62px 1fr}
}

/* Urania Travel Hub - stato attività */
.activity-status{
  display:inline-block;
  margin:0 0 6px 0;
  padding:4px 8px;
  border:1px solid currentColor;
  border-radius:999px;
  font-size:.70rem;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1;
  opacity:.82;
}

/* Guide pratiche */
.section-intro{margin:8px 0 0;color:var(--muted);line-height:1.55;max-width:720px}
.guides-list{display:grid;gap:22px}
.guide-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;scroll-margin-top:20px}
.guide-card-head{display:flex;align-items:flex-start;gap:14px}
.guide-icon{width:48px;height:48px;border-radius:15px;background:var(--soft);display:grid;place-items:center;font-size:1.5rem;flex:0 0 auto}
.guide-card h3{margin:5px 0 4px;font-size:1.35rem}
.guide-subtitle,.guide-intro,.guide-step p{color:var(--muted);line-height:1.55}
.guide-subtitle{margin:0;font-size:.9rem}
.guide-intro{margin:18px 0}
.guide-steps{display:grid;gap:14px}
.guide-step{background:#f9f7f3;border:1px solid var(--line);border-radius:18px;padding:18px}
.guide-step h4{margin:0 0 6px;font-size:1.02rem}
.guide-step p{margin:0 0 14px;font-size:.92rem}
.guide-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.guide-image-btn{border:1px solid var(--line);background:#fff;border-radius:14px;padding:8px;text-align:left;overflow:hidden}
.guide-image-btn img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:9px;background:#eee}
.guide-image-btn span{display:block;padding:8px 3px 2px;font-size:.76rem;font-weight:800;color:var(--ink)}
.guide-note{margin-top:16px;padding:14px 16px;background:#f4eee5;border-radius:14px;line-height:1.5;font-size:.9rem}
.guide-link-btn{display:inline-flex;margin:10px 8px 0 0;border:0;border-radius:12px;background:var(--dark);color:#fff;padding:10px 12px;font-weight:800}
.image-viewer{position:fixed;inset:0;z-index:9999;background:rgba(10,12,16,.94);display:flex;align-items:center;justify-content:center;padding:52px 16px 20px}
.image-viewer img{max-width:min(1200px,100%);max-height:calc(100vh - 72px);object-fit:contain;border-radius:10px;background:#fff}
.viewer-close{position:fixed;right:18px;top:14px;width:42px;height:42px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;line-height:1}
.no-scroll{overflow:hidden}
@media(max-width:640px){
  .guide-card{padding:17px}
  .guide-gallery{grid-template-columns:1fr}
  .guide-image-btn img{aspect-ratio:16/10;object-fit:cover}
}

/* Legenda e ritmo itinerario */
.itinerary-legend{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 10px}
.itinerary-legend span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 11px;font-size:.78rem;font-weight:800}
.itinerary-note{margin:0 0 18px;color:var(--muted);font-size:.9rem;line-height:1.5}
.activity.priority{border-left:4px solid #b7575d}
.activity.evening{border-left:4px solid #4f5562}
.activity.alternative{border-left:4px dashed #8c7d66}
.activity.optional{border-left:4px solid #7f9276}
.activity.skippable{opacity:.86}

/* Itinerari Google Maps giorno per giorno */
.day-map-card{margin:14px 0 8px;padding:18px;border:1px solid rgba(82,109,101,.22);border-radius:20px;background:linear-gradient(135deg,rgba(82,109,101,.08),rgba(255,255,255,.72))}
.day-map-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.day-map-head span{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#526d65}
.day-map-head strong{font-size:1rem}.day-map-card p{margin:0 0 13px;color:#6d6a65;line-height:1.55}
.day-map-actions{display:flex;gap:9px;flex-wrap:wrap}
.map-route-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:999px;background:#526d65;color:#fff!important;text-decoration:none!important;font-size:.78rem;font-weight:800}
.map-route-btn.food{background:#b65d63}
@media(max-width:620px){.day-map-actions{display:grid;grid-template-columns:1fr}.map-route-btn{width:100%}}

/* Rifiniture finali itinerario */
.route-summary{display:grid;gap:4px;margin:10px 0;padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.66)}
.route-summary b{font-size:.76rem}.route-summary span{font-size:.78rem;line-height:1.45;color:#625f5a}
.map-route-btn.hotel{background:#6d665d}
.trip-legend,.food-map-strip{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 14px;padding:13px 15px;border-radius:17px;background:rgba(255,255,255,.72);border:1px solid rgba(82,109,101,.16)}
.trip-legend strong,.food-map-strip strong{margin-right:4px}
.trip-legend span{font-size:.76rem;padding:5px 8px;border-radius:999px;background:rgba(82,109,101,.08)}
.food-map-strip a{font-size:.78rem;font-weight:800;text-decoration:none;padding:7px 10px;border-radius:999px;background:#b65d63;color:#fff}
@media(max-width:620px){.route-summary span{font-size:.75rem}.trip-legend,.food-map-strip{align-items:flex-start}}


/* Hub mappe */
.map-city-filter{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.all-day-maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.map-day-block{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px}
.map-day-block .day-map-card{margin:0;background:linear-gradient(135deg,rgba(82,109,101,.07),rgba(255,255,255,.9))}
.map-day-date{text-transform:capitalize;font-size:.78rem;font-weight:900;letter-spacing:.04em;color:var(--red);margin:0 0 10px 3px}
@media(max-width:850px){.all-day-maps{grid-template-columns:1fr}}


/* Ristoranti selezionati dalla guida Urania */
.restaurant-city-filter{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.restaurant-list{display:grid;gap:18px}
.restaurant-day{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px}
.restaurant-day-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:14px}
.restaurant-day-head div{display:grid;gap:3px}.restaurant-day-head span{font-size:.7rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:var(--red)}
.restaurant-day-head strong{text-transform:capitalize;font-size:1.1rem}.restaurant-day-head small{color:var(--muted);font-weight:700}
.restaurant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.restaurant-card{position:relative;border:1px solid var(--line);border-radius:18px;padding:16px;background:linear-gradient(180deg,#fff,#fbfaf7)}
.restaurant-card h3{margin:7px 0 5px;font-size:1rem}.restaurant-card p{margin:6px 0;color:var(--muted);font-size:.85rem;line-height:1.45}
.restaurant-area{font-size:.72rem;font-weight:850;color:#526d65}.restaurant-meta{color:var(--ink)!important}.restaurant-card a{display:inline-flex;margin-top:9px;text-decoration:none;font-size:.78rem;font-weight:900;color:#fff;background:#526d65;padding:8px 10px;border-radius:999px}
.restaurant-tag{display:inline-flex;float:right;margin-left:8px;padding:4px 7px;border-radius:999px;background:#f5dfdb;color:#9b494f;font-size:.62rem;font-weight:950;letter-spacing:.05em}
.today-restaurant{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:10px 0;border-bottom:1px solid var(--line)}
.today-restaurant:last-of-type{border-bottom:0}.today-restaurant strong{font-size:.9rem}.today-restaurant span{grid-column:1;color:var(--muted);font-size:.75rem}.today-restaurant a{grid-row:1/3;grid-column:2;align-self:center;text-decoration:none;font-size:.72rem;font-weight:900;color:#526d65}
.inline-food-btn{margin-top:12px;border:0;border-radius:999px;background:#b65d63;color:white;padding:9px 12px;font-weight:850;font-size:.76rem}
@media(max-width:900px){.restaurant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.restaurant-grid{grid-template-columns:1fr}.restaurant-day-head{align-items:flex-start;flex-direction:column}.restaurant-day{padding:14px}}

/* PWA identity */
.app-identity{display:flex;align-items:center;gap:12px}.app-mark{width:42px;height:42px;border-radius:12px;object-fit:cover}.app-mark-large{width:68px;height:68px;border-radius:18px}

.password-field{position:relative}
.password-field input{padding-right:92px}
.password-field .password-toggle{
  position:absolute;right:7px;top:7px;width:auto;min-height:34px;margin:0;padding:0 10px;
  border:0;border-radius:9px;background:#f0ece7;color:var(--ink);font-size:.75rem;font-weight:800
}


/* Consultazione spese Giappone 2026 */
.expense-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.expense-total-card{padding:22px;border-radius:22px;background:var(--dark);color:#fff;display:grid;gap:5px}
.expense-total-card.secondary{background:#526d65}
.expense-total-card span{font-size:.75rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;opacity:.82}
.expense-total-card strong{font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.05}
.expense-total-card small{opacity:.78}
.expense-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:22px}
.expense-table{width:100%;border-collapse:collapse;min-width:620px}
.expense-table th,.expense-table td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--line)}
.expense-table th:nth-child(n+2),.expense-table td:nth-child(n+2){text-align:right;white-space:nowrap}
.expense-table thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:#fbfaf7}
.expense-table tbody td:first-child{font-weight:750}
.expense-table tbody small{display:block;margin-top:3px;color:var(--muted);font-weight:500}
.expense-table tfoot th{border-bottom:0;background:#f4eee5;font-size:1rem}
.expense-note{margin:12px 4px 0;color:var(--muted);font-size:.84rem;line-height:1.5}
@media(max-width:620px){.expense-summary{grid-template-columns:1fr}.expense-total-card{padding:18px}.expense-table th,.expense-table td{padding:13px 14px}}
\n\n/* Vicino a me */\n.nearby-action-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid var(--border);border-radius:20px;background:var(--card)}\n.nearby-action-card strong{display:block;font-size:1.08rem;margin-bottom:5px}\n.nearby-action-card p{margin:0;color:var(--muted);font-size:.92rem}\n.nearby-action-card button{flex:0 0 auto}\n.nearby-status{margin:16px 0 10px;color:var(--muted)}\n.nearby-list{display:grid;gap:12px}\n.nearby-card{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--card)}\n.nearby-card h3{margin:3px 0 6px;font-size:1.03rem}\n.nearby-card p{margin:0;color:var(--muted);font-size:.9rem}\n.nearby-card .nearby-area{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}\n.nearby-card .nearby-distance{display:inline-block;margin-top:8px;font-weight:700}\n.nearby-card a{white-space:nowrap;text-decoration:none}\n.nearby-empty{padding:20px;border:1px dashed var(--border);border-radius:18px;color:var(--muted)}\n@media(max-width:720px){.nearby-action-card{align-items:stretch;flex-direction:column}.nearby-action-card button{width:100%}.nearby-card{grid-template-columns:1fr}.nearby-card a{justify-self:start}}\n
/* Vicino a me · modalita prova */
.nearby-test-card{margin:14px 0 8px;padding:16px;border:1px dashed rgba(255,255,255,.22);border-radius:16px;background:rgba(255,255,255,.035);display:flex;gap:16px;align-items:center;justify-content:space-between}
.nearby-test-card p{margin:5px 0 0;opacity:.78;font-size:.92rem}
.nearby-city-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.nearby-city-buttons button{border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:9px 13px;background:rgba(255,255,255,.08);color:inherit;cursor:pointer;font-weight:700}
.nearby-city-buttons button:hover{background:rgba(255,255,255,.14)}
@media(max-width:700px){.nearby-test-card{display:block}.nearby-city-buttons{justify-content:flex-start;margin-top:12px}}

/* Mappa per categorie */
.map-category-filter{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 20px}
.map-category-filter .pill.category{white-space:nowrap}
.map-category-section{margin:0 0 28px}
.map-category-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.map-category-title h3{margin:0;font-size:1.05rem}
.map-category-title span{font-size:.78rem;opacity:.72}
.map-place-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.map-place-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid rgba(128,128,128,.22);border-radius:16px;background:rgba(255,255,255,.035)}
.map-place-icon{font-size:1.45rem;line-height:1}
.map-place-copy{min-width:0}
.map-place-copy span{display:block;font-size:.74rem;opacity:.67;margin-bottom:3px}
.map-place-copy strong{display:block;font-size:.96rem;line-height:1.25}
.map-place-copy p{margin:4px 0 0;font-size:.78rem;opacity:.76}
.map-place-card>a{font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap}
.map-empty{padding:22px;border:1px dashed rgba(128,128,128,.35);border-radius:16px;text-align:center;opacity:.7}
@media(max-width:620px){.map-place-card{grid-template-columns:auto 1fr}.map-place-card>a{grid-column:2;justify-self:start}.map-category-filter{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}}


/* Mappa interattiva Leaflet */
.travel-map-shell{margin:0 0 22px}
.travel-interactive-map{width:100%;height:520px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#e8ecea;box-shadow:0 12px 30px rgba(17,24,39,.07)}
.travel-map-legend{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.travel-map-legend span{font-size:.75rem;font-weight:800;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(82,109,101,.16)}
.travel-map-note{margin:8px 2px 0;font-size:.78rem;line-height:1.45;opacity:.72}
.urania-leaflet-marker{background:transparent;border:0}
.urania-marker-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff;border:2px solid #526d65;box-shadow:0 3px 10px rgba(17,24,39,.28);font-size:17px;line-height:1}
.urania-leaflet-popup .leaflet-popup-content{margin:14px 16px;min-width:190px}
.urania-popup-area{font-size:.72rem;font-weight:800;opacity:.65;margin-bottom:3px}
.urania-popup-name{font-size:.96rem;font-weight:900;line-height:1.25;margin-bottom:5px}
.urania-popup-note{font-size:.78rem;line-height:1.4;opacity:.8;margin-bottom:9px}
.urania-popup-link{display:inline-flex;padding:7px 10px;border-radius:999px;background:#526d65;color:#fff!important;text-decoration:none!important;font-size:.75rem;font-weight:800}
.leaflet-control-attribution{font-size:10px}
@media(max-width:620px){.travel-interactive-map{height:430px;border-radius:17px}.travel-map-legend{gap:6px}.travel-map-legend span{font-size:.69rem;padding:6px 8px}}


/* Vicino a me · mini mappa */
.nearby-map-shell{margin:0 0 16px}
.nearby-interactive-map{width:100%;height:390px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#e8ecea;box-shadow:0 10px 26px rgba(17,24,39,.06)}
.nearby-map-legend{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0 0}
.nearby-map-legend span{font-size:.74rem;font-weight:800;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(82,109,101,.16)}
.nearby-map-note{margin:7px 2px 0;font-size:.77rem;line-height:1.45;opacity:.72}
.urania-user-marker{background:transparent;border:0}
.urania-user-dot{width:18px;height:18px;border-radius:50%;background:#2563eb;border:4px solid #fff;box-shadow:0 0 0 3px rgba(37,99,235,.28),0 2px 8px rgba(0,0,0,.25)}
@media(max-width:620px){.nearby-interactive-map{height:330px;border-radius:17px}.nearby-map-legend{gap:6px}.nearby-map-legend span{font-size:.68rem;padding:6px 8px}}


/* SOS caldo */
.heat-tab{background:linear-gradient(135deg,rgba(232,165,75,.10),rgba(255,255,255,.85))}
.heat-section-head{margin-bottom:18px}
.heat-quick-rule{display:flex;align-items:flex-start;gap:16px;padding:20px;border:1px solid rgba(231,163,70,.28);border-radius:22px;background:linear-gradient(135deg,rgba(255,244,221,.95),rgba(255,255,255,.96));margin-bottom:20px}
.heat-quick-icon{width:50px;height:50px;display:grid;place-items:center;flex:0 0 50px;border-radius:16px;background:#fff;font-size:1.55rem;box-shadow:0 8px 22px rgba(38,50,56,.08)}
.heat-quick-rule strong{font-size:1.02rem}.heat-quick-rule p{margin:6px 0 0;color:var(--muted);line-height:1.55;font-size:.9rem}
.heat-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.heat-product-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 9px 28px rgba(30,40,50,.055)}
.heat-product-card.heat-priority{border-color:rgba(41,117,177,.26)}
.heat-image-wrap{height:215px;position:relative;display:grid;place-items:center;background:linear-gradient(180deg,#f8fbfd,#fff);overflow:hidden}
.heat-image-wrap img{width:100%;height:100%;object-fit:contain;padding:12px}
.heat-badge{position:absolute;top:12px;left:12px;padding:7px 9px;border-radius:999px;background:#245f94;color:white;font-size:.64rem;font-weight:900;letter-spacing:.06em;box-shadow:0 5px 16px rgba(0,0,0,.12)}
.heat-badge.alt{background:#357a9b}.heat-badge.tea{background:#8a5b26}.heat-badge.salt{background:#315d9b}.heat-badge.cool{background:#8c5e83}
.heat-product-body{padding:17px}.heat-japanese{display:block;font-size:.75rem;font-weight:850;color:#8c8178;letter-spacing:.03em}
.heat-product-card h3{margin:5px 0 7px;font-size:1.14rem}.heat-what{margin:0 0 12px;color:var(--muted);font-size:.88rem;line-height:1.5}
.heat-use{padding:10px 11px;border-radius:14px;background:#f7f5f1;font-size:.82rem;line-height:1.48}.heat-use strong{color:var(--ink)}
.heat-find{margin-top:11px;color:#526d65;font-weight:800;font-size:.76rem;line-height:1.45}
.heat-shopping-list{margin-top:20px;padding:22px;border-radius:22px;background:var(--dark);color:#fff;display:grid;grid-template-columns:minmax(180px,.65fr) 1.35fr;gap:20px;align-items:center}
.heat-shopping-list .section-kicker{color:#f0c27b}.heat-shopping-list h3{margin:7px 0 0;font-size:1.25rem}.heat-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.heat-checks span{padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.085);font-size:.84rem}
.heat-alert{margin-top:16px;padding:18px 20px;border:1px solid rgba(188,77,77,.2);border-radius:20px;background:rgba(188,77,77,.06)}
.heat-alert strong{font-size:.96rem}.heat-alert p{margin:7px 0 0;color:var(--muted);line-height:1.55;font-size:.88rem}
@media(max-width:920px){.heat-products-grid{grid-template-columns:1fr 1fr}.heat-shopping-list{grid-template-columns:1fr}.heat-checks{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.heat-products-grid{grid-template-columns:1fr}.heat-image-wrap{height:195px}.heat-product-card{display:grid;grid-template-columns:128px 1fr}.heat-image-wrap{height:auto;min-height:205px}.heat-image-wrap img{padding:9px}.heat-product-body{padding:16px 14px}.heat-badge{font-size:.58rem;padding:6px 7px;top:8px;left:8px}.heat-checks{grid-template-columns:1fr}.heat-quick-rule{padding:16px}.heat-shopping-list{padding:18px}.heat-alert{padding:16px}}

.demo-banner{margin:18px auto 0;max-width:1180px;padding:14px 18px;border:1px solid #e5c98f;border-radius:16px;background:#fff8e8;color:#5f4720;line-height:1.5}.demo-banner strong{color:#102f52}.topbar-actions a{text-decoration:none}
