:root{
  --municipal-green:#087f5b;
  --municipal-blue:#0b5cad;
  --municipal-ink:#12312a;
  --municipal-muted:#48615a;
  --municipal-line:#dce8e3;
  --municipal-soft:#eef7f3;
}

body.municipal-public-shell{
  background:#f7fbf9;
  color:var(--municipal-ink);
  padding-bottom:0 !important;
}

body[data-active] footer#appFooter,
body[data-active] footer.bottom-nav,
body.municipal-public-shell .municipal-topbar,
body.municipal-public-shell .nav,
body.municipal-public-shell .dir-nav,
body.municipal-public-shell .agenda-nav,
body.municipal-public-shell .qr-header,
body.municipal-public-shell .page-header,
body.municipal-public-shell header.w-full,
body.municipal-public-shell footer#appFooter,
body.municipal-public-shell footer.bottom-nav,
body.municipal-public-shell .municipal-footer{
  display:none !important;
}

.municipal-shell-topbar{
  position:relative;
  z-index:1000;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--municipal-line);
  backdrop-filter:blur(10px);
}

.municipal-shell-nav{
  width:min(100% - 24px, 1680px);
  margin:0 auto;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.municipal-shell-brand{
  flex:0 0 178px;
}

.municipal-shell-brand strong{
  display:block;
  font-size:23px;
  line-height:1;
  color:var(--municipal-green);
  letter-spacing:0;
}

.municipal-shell-brand span{
  display:block;
  margin-top:6px;
  color:var(--municipal-muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.municipal-shell-links{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:nowrap;
  min-width:0;
}

.municipal-shell-links > a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border-radius:8px;
  border:1px solid var(--municipal-line);
  background:#fff;
  color:var(--municipal-ink);
  font-weight:850;
  font-size:12px;
  white-space:nowrap;
}

.municipal-shell-links > a.active{
  border-color:var(--municipal-line);
  background:#fff;
}

.municipal-shell-links a.primary{
  margin-left:4px;
  padding:0 10px;
  background:var(--municipal-green);
  border-color:var(--municipal-green);
  color:#fff;
}

.municipal-nav-disclosure{
  position:relative;
  flex:0 0 auto;
}

.municipal-nav-disclosure summary{
  min-height:44px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border:1px solid var(--municipal-line);
  background:#fff;
  border-radius:8px;
  color:var(--municipal-ink);
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  list-style:none;
  white-space:nowrap;
}

.municipal-nav-disclosure summary::-webkit-details-marker{
  display:none;
}

.municipal-nav-disclosure summary::after{
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  content:"";
  transform:rotate(45deg) translateY(-2px);
}

.municipal-nav-disclosure[open] summary,
.municipal-nav-disclosure.has-active summary{
  border-color:var(--municipal-line);
  background:#fff;
}

.municipal-nav-disclosure[open] summary::after{
  transform:rotate(225deg) translate(-2px, -2px);
}

.municipal-nav-disclosure-menu{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  z-index:10;
  min-width:190px;
  display:grid;
  gap:4px;
  padding:8px;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 30px rgba(18,49,42,.14);
}

.municipal-nav-disclosure-menu a{
  min-height:40px;
  display:flex;
  align-items:center;
  padding:0 10px;
  border-radius:6px;
  color:var(--municipal-ink);
  font-size:13px;
  font-weight:750;
}

.municipal-nav-disclosure-menu a:hover,
.municipal-nav-disclosure-menu a.active{
  background:var(--municipal-soft);
}

.municipal-shell-auth{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:2px;
}

.municipal-shell-auth > a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  color:var(--municipal-ink);
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}

.municipal-shell-links a.admin-link{
  background:#0b5cad;
  border-color:#0b5cad;
  color:#fff;
}

.municipal-shell-links a.session-link{
  max-width:116px;
  overflow:hidden;
  text-overflow:ellipsis;
}

.municipal-shell-logout{
  min-height:44px;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  color:var(--municipal-ink);
  font-weight:850;
  font-size:12px;
  padding:0 12px;
  cursor:pointer;
  white-space:nowrap;
}

.municipal-shell-menu{
  display:none;
  min-height:44px;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  color:var(--municipal-ink);
  font-weight:900;
  padding:0 13px;
}

.municipal-skip-link{
  position:fixed;
  z-index:2000;
  top:10px;
  left:10px;
  transform:translateY(-160%);
  padding:12px 16px;
  border-radius:8px;
  background:#12312a;
  color:#fff;
  font-weight:850;
  transition:transform .15s ease;
}

.municipal-skip-link:focus{
  transform:translateY(0);
}

.municipal-visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.municipal-mobile-panel{
  display:none;
}

body.municipal-public-shell :is(a, button, input, select, textarea, [contenteditable="true"]):focus-visible{
  outline:3px solid var(--municipal-blue) !important;
  outline-offset:3px;
}

.municipal-shell-footer{
  margin-top:56px;
  background:#12312a;
  color:#fff;
  padding:28px 16px;
}

.municipal-shell-footer-inner{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.municipal-shell-footer a{
  color:#bcebd6;
  font-weight:850;
}

body.municipal-public-shell .hero,
body.municipal-public-shell .agenda-hero,
body.municipal-public-shell .dir-hero{
  background:linear-gradient(135deg, #0b5cad, #087f5b) !important;
}

body.municipal-public-shell .shell,
body.municipal-public-shell .dir-shell,
body.municipal-public-shell .agenda-shell{
  width:min(1180px, calc(100% - 32px)) !important;
  padding-top:34px !important;
}

body.municipal-public-shell .nav,
body.municipal-public-shell .dir-nav,
body.municipal-public-shell .agenda-nav{
  display:none !important;
}

body.municipal-public-shell .hero,
body.municipal-public-shell .agenda-hero,
body.municipal-public-shell .dir-hero{
  border-radius:8px !important;
  padding:clamp(24px, 6vw, 44px) !important;
}

body.municipal-public-shell .hero h1,
body.municipal-public-shell .agenda-hero h1,
body.municipal-public-shell .dir-hero h1{
  font-size:clamp(34px, 10vw, 68px) !important;
  line-height:1 !important;
}

body.municipal-public-shell .hero p,
body.municipal-public-shell .agenda-hero p,
body.municipal-public-shell .dir-hero p{
  font-size:clamp(16px, 4vw, 20px) !important;
}

/*
 * As paginas de detalhe usam um hero composto (imagem/cor + painel branco).
 * Nesses casos, nao aplicar o tratamento de banner usado nas listagens.
 */
body.municipal-public-shell.equipment-detail-page .hero,
body.municipal-public-shell.exercise-page .hero,
body.municipal-public-shell.location-page .hero,
body.municipal-public-shell.detail-page .hero{
  padding:0 !important;
  background:#fff !important;
}

body.municipal-public-shell .filters,
body.municipal-public-shell .dir-filters,
body.municipal-public-shell .agenda-filters{
  grid-template-columns:minmax(0, 1fr) minmax(160px, 240px) auto !important;
  align-items:stretch;
}

body.municipal-public-shell.routes-page .filters{
  grid-template-columns:minmax(0, 1fr) minmax(150px, 190px) minmax(150px, 190px) auto !important;
}

body.municipal-public-shell .filters input,
body.municipal-public-shell .filters select,
body.municipal-public-shell .filters button,
body.municipal-public-shell .dir-filters input,
body.municipal-public-shell .dir-filters select,
body.municipal-public-shell .dir-filters button,
body.municipal-public-shell .agenda-filters input,
body.municipal-public-shell .agenda-filters select,
body.municipal-public-shell .agenda-filters button{
  width:100% !important;
  min-height:54px !important;
  font-size:16px !important;
}

body.municipal-public-shell .grid,
body.municipal-public-shell .dir-grid{
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
}

body.municipal-public-shell .card,
body.municipal-public-shell .dir-card,
body.municipal-public-shell .event-card{
  border-radius:8px !important;
}

body.municipal-public-shell .actions,
body.municipal-public-shell .event-actions{
  gap:10px !important;
}

body.municipal-public-shell .btn,
body.municipal-public-shell .event-btn,
body.municipal-public-shell .dir-card a.contact{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-weight:900;
}

body.municipal-public-shell .dir-card a.contact{
  margin:14px 8px 0 0;
  color:var(--municipal-blue);
}

body.municipal-public-shell .event-card{
  grid-template-columns:minmax(170px, 240px) minmax(0, 1fr) !important;
}

body.municipal-public-shell .modal{
  z-index:1400 !important;
}

.municipal-map-card{
  margin-top:18px;
  display:grid;
  grid-template-columns:minmax(220px, .72fr) minmax(320px, 1.28fr);
  gap:0;
  overflow:hidden;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 34px rgba(25,70,55,.08);
}

.municipal-map-copy{
  padding:22px;
}

.municipal-map-copy span{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:0 9px;
  border-radius:8px;
  background:var(--municipal-soft);
  color:var(--municipal-green);
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.municipal-map-copy h2{
  margin:14px 0 0;
  font-size:clamp(24px, 5vw, 34px);
  line-height:1.05;
  color:var(--municipal-ink);
}

.municipal-map-copy p{
  margin:12px 0 0;
  color:var(--municipal-muted);
  line-height:1.45;
}

.municipal-map-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.municipal-map-actions a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  border:1px solid var(--municipal-line);
  padding:0 13px;
  color:var(--municipal-ink);
  font-weight:900;
  background:#fff;
}

.municipal-map-actions a:first-child{
  background:var(--municipal-green);
  border-color:var(--municipal-green);
  color:#fff;
}

.municipal-map-frame{
  min-height:320px;
  background:var(--municipal-soft);
}

.municipal-map-frame iframe{
  width:100%;
  height:100%;
  min-height:320px;
  display:block;
  border:0;
}

.municipal-map-points{
  grid-column:1 / -1;
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:12px;
  border-top:1px solid var(--municipal-line);
  scroll-snap-type:x mandatory;
}

.municipal-map-points button{
  flex:0 0 min(280px, 78vw);
  min-height:70px;
  text-align:left;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  color:var(--municipal-ink);
  padding:10px 12px;
  scroll-snap-align:start;
}

.municipal-map-points button.active{
  border-color:var(--municipal-green);
  background:var(--municipal-soft);
}

.municipal-map-points strong,
.municipal-map-points span{
  display:block;
  line-height:1.25;
}

.municipal-map-points span{
  margin-top:4px;
  color:var(--municipal-muted);
  font-size:13px;
}

.municipal-map-empty{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  color:var(--municipal-muted);
}

.municipal-map-empty strong{
  display:block;
  color:var(--municipal-ink);
  margin-bottom:5px;
}

body.municipal-public-shell select{
  color:var(--municipal-ink);
}

body.municipal-public-shell.page-aulas{
  background:#f7fbf9 !important;
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell.page-aulas .bgHero{
  display:none !important;
}

body.municipal-public-shell.page-aulas .aulasWrap{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  padding:40px 0 56px !important;
}

body.municipal-public-shell.page-aulas .topRow{
  padding:34px;
  border-radius:8px;
  background:linear-gradient(135deg, #0b5cad, #087f5b);
  color:#fff;
  margin-top:0 !important;
}

body.municipal-public-shell.page-aulas .titleBlock h2{
  color:#fff !important;
  font-size:clamp(38px, 7vw, 64px) !important;
  line-height:1 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}

body.municipal-public-shell.page-aulas .titleBlock p{
  max-width:760px !important;
  color:rgba(255,255,255,.92) !important;
  font-size:18px !important;
  margin-top:14px !important;
}

body.municipal-public-shell.page-aulas .filters input,
body.municipal-public-shell.page-aulas .filters select{
  min-height:52px !important;
  border:1px solid var(--municipal-line) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell.page-aulas .filters input::placeholder{
  color:var(--municipal-muted) !important;
}

body.municipal-public-shell.page-aulas .chip{
  border-radius:8px !important;
  border:1px solid var(--municipal-line) !important;
  background:#fff !important;
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell.page-aulas .chip.active{
  border-color:var(--municipal-green) !important;
  background:var(--municipal-soft) !important;
}

body.municipal-public-shell.page-aulas .classCard{
  border:1px solid var(--municipal-line) !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:0 12px 28px rgba(25,70,55,.08);
}

body.municipal-public-shell.page-aulas .cardTitle,
body.municipal-public-shell.page-aulas .drawerHeader h3{
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell.page-aulas .cardMeta,
body.municipal-public-shell.page-aulas .empty{
  color:var(--municipal-muted) !important;
}

body.municipal-public-shell.page-aulas .tag,
body.municipal-public-shell.page-aulas .classBadge{
  background:var(--municipal-soft) !important;
  border-color:var(--municipal-line) !important;
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell[data-active="gerar"]{
  background:#f7fbf9 !important;
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell[data-active="gerar"] .wrap{
  width:min(860px, calc(100% - 32px));
  margin:0 auto;
  padding:56px 0;
}

body.municipal-public-shell[data-active="gerar"] .card{
  border:1px solid var(--municipal-line) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--municipal-ink) !important;
  box-shadow:0 12px 28px rgba(25,70,55,.08);
}

body.municipal-public-shell[data-active="gerar"] .title{
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell[data-active="gerar"] .sub,
body.municipal-public-shell[data-active="gerar"] .pill{
  color:var(--municipal-muted) !important;
}

body.municipal-public-shell[data-active="gerar"] .btnPrimary{
  background:var(--municipal-green) !important;
  color:#fff !important;
}

body.municipal-public-shell[data-active="gerar"] .btnGhost{
  background:#fff !important;
  color:var(--municipal-ink) !important;
  border:1px solid var(--municipal-line) !important;
}

body.municipal-public-shell.page-workout footer{
  display:none !important;
}

body.municipal-public-shell.page-workout{
  background:#f7fbf9 !important;
  color:var(--municipal-ink) !important;
  min-height:100vh;
}

body.municipal-public-shell.page-workout > header{
  width:min(1180px, calc(100% - 32px));
  max-width:none !important;
  margin:0 auto !important;
  padding:16px 0 0 !important;
}

body.municipal-public-shell.page-workout > header h1,
body.municipal-public-shell.page-workout > header p{
  display:none !important;
}

body.municipal-public-shell.page-workout #userBar{
  margin:0 !important;
  padding:10px 14px;
  border:1px solid var(--municipal-line);
  border-radius:8px;
  background:#fff;
  color:var(--municipal-muted) !important;
  text-align:left;
}

body.municipal-public-shell.page-workout .container{
  width:min(1180px, calc(100% - 32px)) !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:20px 0 110px !important;
}

body.municipal-public-shell.page-workout .card{
  border:1px solid var(--municipal-line) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--municipal-ink) !important;
  box-shadow:0 14px 34px rgba(25,70,55,.08) !important;
}

body.municipal-public-shell.page-workout .title,
body.municipal-public-shell.page-workout .topRow .title,
body.municipal-public-shell.page-workout .exerciseTitle{
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell.page-workout .pill,
body.municipal-public-shell.page-workout .timerTop{
  border:1px solid var(--municipal-line) !important;
  background:var(--municipal-soft) !important;
  color:var(--municipal-ink) !important;
}

body.municipal-public-shell.page-workout .pill .dot{
  background:#2fbf7a !important;
}

body.municipal-public-shell.page-workout .exerciseBox,
body.municipal-public-shell.page-workout .movementBox,
body.municipal-public-shell.page-workout .videoBox{
  border-color:var(--municipal-line) !important;
  background:#fff !important;
}

body.municipal-public-shell.page-workout .videoBox,
body.municipal-public-shell.page-workout iframe{
  background:#000 !important;
}

body.municipal-public-shell.page-workout .btnPrimary{
  background:#32c477 !important;
  color:#07251c !important;
}

body.municipal-public-shell.page-workout .btnGhost{
  background:#fff !important;
  color:var(--municipal-ink) !important;
  border:1px solid var(--municipal-line) !important;
}

body.municipal-public-shell.page-workout .workoutBar{
  background:rgba(247,251,249,.92) !important;
  border-top:1px solid var(--municipal-line) !important;
  backdrop-filter:blur(10px);
  left:50% !important;
  right:auto !important;
  bottom:14px !important;
  width:min(560px, calc(100% - 24px)) !important;
  transform:translateX(-50%);
  padding:8px !important;
  border:1px solid var(--municipal-line) !important;
  border-radius:14px !important;
  box-shadow:0 14px 34px rgba(25,70,55,.12) !important;
}

body.municipal-public-shell.page-workout .workoutBarInner{
  border:1px solid var(--municipal-line) !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(25,70,55,.12) !important;
  width:100% !important;
  padding:6px !important;
  border-radius:10px !important;
}

body.municipal-public-shell.page-workout #feedbackForm p,
body.municipal-public-shell.page-workout #amrapStats,
body.municipal-public-shell.page-workout .exerciseMeta,
body.municipal-public-shell.page-workout .exerciseDesc{
  color:var(--municipal-muted) !important;
}

@media(max-width:1240px){
  .municipal-shell-nav{
    min-height:auto;
    padding:14px 0;
    align-items:center;
    flex-direction:row;
    flex-wrap:wrap;
  }

  .municipal-shell-brand{
    flex:1 1 auto;
  }

  .municipal-shell-menu{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .municipal-shell-links{
    display:none;
    flex:1 0 100%;
    justify-content:flex-start;
    padding-top:10px;
    max-height:calc(100vh - 92px);
    overflow:auto;
  }

  body.municipal-menu-open .municipal-shell-links{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
  }

  .municipal-shell-links a{
    min-height:48px;
    white-space:normal;
    border-color:var(--municipal-line);
    background:#fff;
  }

  .municipal-shell-links a.primary{
    grid-column:auto;
    margin-left:0;
    padding:0 12px;
    background:var(--municipal-green);
  }

  .municipal-shell-auth{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    margin-left:0;
  }

  .municipal-shell-links a.session-link{
    max-width:none;
  }

  .municipal-shell-logout{
    min-height:48px;
    padding:0 12px;
  }

  body.municipal-public-shell .filters,
  body.municipal-public-shell .dir-filters,
  body.municipal-public-shell .agenda-filters{
    grid-template-columns:1fr !important;
  }

  body.municipal-public-shell .event-card{
    grid-template-columns:1fr !important;
  }

  body.municipal-public-shell .event-actions,
  body.municipal-public-shell .actions{
    display:grid !important;
    grid-template-columns:1fr;
  }

  body.municipal-public-shell .btn,
  body.municipal-public-shell .event-btn{
    width:100%;
  }

  .municipal-map-card{
    grid-template-columns:1fr;
  }

  .municipal-map-frame,
  .municipal-map-frame iframe{
    min-height:300px;
  }
}

@media(max-width:560px){
  .municipal-shell-nav{
    width:min(100% - 24px, 1180px);
  }

  .municipal-shell-brand strong{
    font-size:22px;
  }

  .municipal-shell-brand span{
    max-width:210px;
  }

  body.municipal-menu-open .municipal-shell-links{
    grid-template-columns:1fr;
  }

  .municipal-shell-auth{
    grid-template-columns:1fr;
  }

  .municipal-shell-logout{
    width:100%;
    text-align:left;
  }

  body.municipal-public-shell .shell,
  body.municipal-public-shell .dir-shell,
  body.municipal-public-shell .agenda-shell,
  body.municipal-public-shell.page-workout .container,
  body.municipal-public-shell.page-workout > header{
    width:calc(100% - 24px) !important;
  }

  body.municipal-public-shell .hero,
  body.municipal-public-shell .agenda-hero,
  body.municipal-public-shell .dir-hero{
    padding:24px !important;
  }

  .municipal-map-copy{
    padding:18px;
  }

  .municipal-map-actions a{
    width:100%;
  }
}

/* Compact, task-led mobile navigation. The desktop navigation remains visible
   on wide screens; smaller screens use this deliberate panel instead. */
@media(max-width:1240px){
  .municipal-shell-menu{
    min-width:88px;
    min-height:48px;
  }

  .municipal-shell-links,
  body.municipal-menu-open .municipal-shell-links{
    display:none !important;
  }

  .municipal-mobile-panel{
    position:absolute;
    top:100%;
    right:0;
    left:0;
    display:block;
    max-height:calc(100vh - 72px);
    overflow:auto;
    border-bottom:1px solid var(--municipal-line);
    background:#fff;
    box-shadow:0 18px 34px rgba(18,49,42,.16);
  }

  .municipal-mobile-panel[hidden]{
    display:none;
  }

  .municipal-mobile-nav{
    width:min(100% - 24px, 680px);
    margin:0 auto;
    padding:14px 0 24px;
  }

  .municipal-mobile-home,
  .municipal-mobile-group{
    border-bottom:1px solid var(--municipal-line);
  }

  .municipal-mobile-home{
    padding-bottom:12px;
  }

  .municipal-mobile-group{
    padding:0;
  }

  .municipal-mobile-group summary{
    min-height:56px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:var(--municipal-muted);
    font-size:14px;
    font-weight:850;
    letter-spacing:.06em;
    text-transform:uppercase;
    cursor:pointer;
    list-style:none;
  }

  .municipal-mobile-group summary::-webkit-details-marker{
    display:none;
  }

  .municipal-mobile-group summary::after{
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    content:"";
    transform:rotate(45deg) translateY(-3px);
  }

  .municipal-mobile-group[open] summary::after{
    transform:rotate(225deg) translate(-3px, -3px);
  }

  .municipal-mobile-group-links{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    padding:0 0 16px;
  }

  .municipal-mobile-nav a,
  .municipal-mobile-nav .municipal-shell-logout{
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    box-sizing:border-box;
    padding:0 14px;
    border:1px solid var(--municipal-line);
    border-radius:8px;
    background:#fff;
    color:var(--municipal-ink);
    font-size:15px;
    font-weight:850;
    text-align:left;
  }

  .municipal-mobile-home a{
    justify-content:center;
    background:var(--municipal-soft);
  }

  .municipal-mobile-nav a.active{
    border-color:var(--municipal-green);
    background:#e5f5ed;
  }

  .municipal-mobile-nav a.primary,
  .municipal-mobile-nav a.admin-link{
    justify-content:center;
    color:#fff;
  }

  .municipal-mobile-nav a.primary{
    border-color:var(--municipal-green);
    background:var(--municipal-green);
  }

  .municipal-mobile-nav a.admin-link{
    border-color:var(--municipal-blue);
    background:var(--municipal-blue);
  }

  .municipal-mobile-nav .municipal-shell-auth{
    display:contents;
    margin:0;
  }

  body.municipal-menu-open{
    overflow:hidden;
  }
}

@media(max-width:560px){
  .municipal-mobile-group-links{
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
  }
}

@media(forced-colors:active){
  body.municipal-public-shell :is(a, button, input, select, textarea, [contenteditable="true"]):focus-visible{
    outline:3px solid Highlight !important;
  }
}

/* Mobile comfort pass: stable text, generous touch targets and no squeezed
   multi-column controls on small screens. */
@media(max-width:600px){
  body.municipal-public-shell{
    overflow-x:hidden;
  }

  body.municipal-public-shell main,
  body.municipal-public-shell section,
  body.municipal-public-shell article,
  body.municipal-public-shell .card,
  body.municipal-public-shell .dir-card,
  body.municipal-public-shell .event-card{
    min-width:0;
  }

  .municipal-shell-brand strong{
    font-size:20px;
  }

  .municipal-shell-brand span{
    max-width:180px;
    font-size:10px;
  }

  .municipal-shell-footer{
    margin-top:36px;
    padding:24px 12px;
  }

  .municipal-shell-footer-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    width:calc(100% - 12px);
  }

  body.municipal-public-shell .hero,
  body.municipal-public-shell .agenda-hero,
  body.municipal-public-shell .dir-hero{
    padding:24px !important;
  }

  body.municipal-public-shell .hero h1,
  body.municipal-public-shell .agenda-hero h1,
  body.municipal-public-shell .dir-hero h1{
    font-size:36px !important;
    line-height:1.08 !important;
  }

  body.municipal-public-shell .hero p,
  body.municipal-public-shell .agenda-hero p,
  body.municipal-public-shell .dir-hero p{
    font-size:17px !important;
    line-height:1.5 !important;
  }

  body.municipal-public-shell :is(input, select, textarea, button){
    font-size:16px;
  }

  body.municipal-public-shell :is(button, a, input, select, textarea){
    touch-action:manipulation;
  }

  .municipal-map-frame,
  .municipal-map-frame iframe{
    min-height:260px;
  }

  .municipal-map-copy{
    padding:18px;
  }

  .municipal-map-points{
    padding:10px 0 10px 12px;
  }

  .municipal-map-points button{
    flex-basis:min(260px, 76vw);
  }

  body.municipal-public-shell[data-active="gerar"] .wrap{
    width:calc(100% - 24px);
    padding:24px 0 40px;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-shell{
    width:calc(100% - 24px) !important;
    padding:24px 0 40px !important;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-hero h1{
    font-size:36px !important;
    line-height:1.08 !important;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-panel{
    padding:16px !important;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-choice{
    min-width:0;
    margin:0;
    padding:0;
    border:0;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-choice legend{
    margin-bottom:9px;
    padding:0;
    color:var(--municipal-ink);
    font-weight:900;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-options label,
  body.municipal-public-shell[data-active="gerar"] .quick-checks label{
    min-height:52px;
    justify-content:flex-start;
    padding:0 14px;
    text-align:left;
  }

  body.municipal-public-shell[data-active="gerar"] .quick-options label:has(input:focus-visible),
  body.municipal-public-shell[data-active="gerar"] .quick-checks label:has(input:focus-visible){
    outline:3px solid var(--municipal-blue);
    outline-offset:2px;
  }

  body.municipal-public-shell.page-workout .container{
    padding:16px 0 142px !important;
  }

  body.municipal-public-shell.page-workout .workoutBar{
    bottom:max(10px, env(safe-area-inset-bottom)) !important;
    width:calc(100% - 20px) !important;
    padding:6px !important;
  }

  body.municipal-public-shell.page-workout .workoutBarInner{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:6px !important;
  }

  body.municipal-public-shell.page-workout .workoutBar .btn{
    width:100%;
    min-height:52px;
    padding-inline:10px;
  }
}
