:root {
  --pmc-primary: #0940C1;
  --pmc-secondary: #00B900;
  --pmc-dark: #001642;
  --pmc-bg: #F7F8FC;
  --pmc-card: #FFFFFF;
  --pmc-border: #E6E8F0;
  --pmc-text: #1A1D2B;
  --pmc-muted: #6B7280;
  --pmc-radius: 18px;
  --pmc-shadow: 0 12px 30px rgba(0,0,0,.08);
  --pv-blue: #1A3FBE;
  --pv-blue-deep: #0F2A8A;
  --pv-blue-sky: #2A5CE0;
  --pv-red: #D42B1E;
  --pv-yellow: #F5A623;
  --pv-yellow-soft: #FFD166;
  --pv-green: #2A8F4A;
  --pv-pink: #FF6B9D;
  --pv-cream: #FFF5E4;
  --pv-off: #F8F4EE;
  --pv-ink: #1A1A1A;
  --pv-muted: #6D7280;
  --pv-line: #EAE5DC;
  --pv-white: #FFFFFF;
  --pv-radius: 8px;
  --pv-font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pv-font-display: "Fraunces", Georgia, serif;
}

.pv-dashboard,
.pv-dashboard *,
.pv-auth,
.pv-auth *,
.pv-municipios-grid,
.pv-municipios-grid *,
.pv-schedule,
.pv-schedule * {
  box-sizing: border-box;
}

.pv-dashboard,
.pv-auth,
.pv-municipios-grid,
.pv-schedule,
.pv-alert {
  font-family: var(--pv-font-body);
}

.pv-dashboard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 760px;
  background: var(--pv-off);
  border: 1px solid var(--pv-line);
  border-radius: 8px;
  color: var(--pv-ink);
  overflow: hidden;
}

.pv-sidebar {
  background: var(--pv-blue-deep);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.pv-brand {
  color: var(--pv-white);
  margin-bottom: 28px;
  line-height: 1.1;
}

.pv-brand strong {
  display: block;
  font-family: var(--pv-font-display);
  font-size: 22px;
  font-weight: 900;
}

.pv-brand span {
  color: var(--pv-yellow-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pv-nav {
  display: grid;
  gap: 5px;
}

.pv-sidebar a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 12px;
  border-radius: 6px;
}

.pv-sidebar a:hover,
.pv-sidebar a:focus,
.pv-sidebar a.is-active {
  background: rgba(255,255,255,0.12);
  color: var(--pv-white);
}

.pv-logout {
  border: 1px solid rgba(255,255,255,0.18);
  margin-top: auto;
}

.pv-main {
  padding: 30px;
}

.pv-hero {
  align-items: center;
  background: var(--pv-blue);
  border-radius: 8px;
  color: var(--pv-white);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 190px;
  min-height: 220px;
  padding: 34px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}

.pv-hero::after {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  content: "";
  height: 260px;
  position: absolute;
  right: -96px;
  top: -96px;
  width: 260px;
}

.pv-hero span {
  color: var(--pv-yellow-soft);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pv-hero h2 {
  color: var(--pv-white);
  font-family: var(--pv-font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 8px;
}

.pv-hero p {
  color: rgba(255,255,255,0.76);
  margin: 0;
  max-width: 680px;
}

.pv-hero img {
  aspect-ratio: 1 / 1;
  border: 4px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}

.pv-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.pv-stats div {
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: 8px;
  padding: 18px;
}

.pv-stats strong {
  color: var(--pv-blue);
  display: block;
  font-family: var(--pv-font-display);
  font-size: 27px;
  line-height: 1;
  margin-bottom: 7px;
}

.pv-stats span {
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pv-panel {
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  margin-bottom: 18px;
  padding: 22px;
  scroll-margin-top: 18px;
}

.pv-panel-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pv-panel h3 {
  color: var(--pv-ink);
  font-family: var(--pv-font-display);
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.pv-panel-head h3 {
  margin-bottom: 0;
}

.pv-eyebrow {
  color: var(--pv-blue);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

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

.pv-form label {
  color: var(--pv-muted);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pv-form input,
.pv-form textarea,
.pv-form select,
.pv-auth input[type="text"],
.pv-auth input[type="password"] {
  appearance: none;
  background: #fff;
  border: 1px solid #DCD7CF;
  border-radius: 6px;
  color: var(--pv-ink);
  font: 500 15px/1.4 var(--pv-font-body);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.pv-form input[type="file"] {
  padding: 8px 10px;
}

.pv-form textarea {
  min-height: 110px;
  resize: vertical;
}

.pv-form input:focus,
.pv-form textarea:focus,
.pv-form select:focus,
.pv-auth input:focus {
  border-color: var(--pv-blue);
  box-shadow: 0 0 0 3px rgba(26,63,190,0.12);
  outline: none;
}

.pv-full {
  grid-column: 1 / -1;
}

.pv-button,
.pv-auth input[type="submit"] {
  align-items: center;
  background: var(--pv-blue);
  border: 0;
  border-radius: 999px;
  color: var(--pv-white);
  cursor: pointer;
  display: inline-flex;
  font: 800 14px/1 var(--pv-font-body);
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  text-decoration: none;
  width: fit-content;
}

.pv-button:hover,
.pv-auth input[type="submit"]:hover {
  background: var(--pv-blue-sky);
}

.pv-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.pv-list {
  display: grid;
  gap: 8px;
}

.pv-list-spaced {
  border-top: 1px solid var(--pv-line);
  margin-top: 20px;
  padding-top: 18px;
}

.pv-list p {
  color: var(--pv-muted);
  margin: 0;
}

.pv-list-row {
  align-items: center;
  background: var(--pv-off);
  border: 1px solid var(--pv-line);
  border-radius: 6px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.pv-list-row strong {
  display: block;
  color: var(--pv-ink);
  margin-bottom: 4px;
}

.pv-list-row small {
  color: var(--pv-muted);
  display: block;
  font-size: 12px;
}

.pv-list-row span {
  background: #EEF2FF;
  border-radius: 999px;
  color: var(--pv-blue);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  white-space: nowrap;
}

.pv-alert {
  border-radius: var(--pv-radius);
  font-weight: 700;
  margin: 0 0 14px;
  padding: 13px 16px;
}

.pv-alert-success {
  background: #EDFAF1;
  border: 1px solid #BEE6C9;
  color: #1A6B36;
}

.pv-alert-warning {
  background: #FFF4E0;
  border: 1px solid #F8D99B;
  color: #8A4A08;
}

.pv-auth {
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  max-width: 420px;
  padding: 24px;
}

.pv-auth-panel {
  box-shadow: 0 18px 60px rgba(26,63,190,0.10);
  margin: 24px auto;
}

.pv-auth h2 {
  color: var(--pv-ink);
  font-family: var(--pv-font-display);
  font-size: 28px;
  line-height: 1.08;
  margin: 0 0 18px;
}

.pv-auth label {
  color: var(--pv-muted);
  font-weight: 800;
}

.pv-auth p {
  margin: 0 0 14px;
}

.pv-message {
  background: var(--pv-off);
  border: 1px solid var(--pv-line);
  border-radius: 8px;
  padding: 16px;
}

.pv-message time {
  color: var(--pv-blue);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.pv-message h4 {
  color: var(--pv-ink);
  font-family: var(--pv-font-display);
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 7px;
}

.pv-message p {
  color: var(--pv-muted);
  margin: 0;
}

.pv-municipios-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pv-card {
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  overflow: hidden;
}

.pv-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.pv-card-media {
  align-items: end;
  background: linear-gradient(135deg, var(--pv-blue), var(--pv-green));
  color: var(--pv-white);
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 132px;
  letter-spacing: 0.12em;
  padding: 14px;
  text-transform: uppercase;
}

.pv-card-body {
  padding: 16px;
}

.pv-card h3 {
  font-family: var(--pv-font-display);
  font-size: 21px;
  margin: 0 0 6px;
}

.pv-card p {
  color: var(--pv-muted);
  margin: 0;
}

.pv-schedule {
  display: grid;
  gap: 12px;
}

.pv-programacao-filtros {
  align-items: end;
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 14px;
  padding: 14px;
}

.pv-programacao-filtros label {
  color: var(--pv-muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pv-programacao-filtros select {
  appearance: none;
  background: #fff;
  border: 1px solid #DCD7CF;
  border-radius: 6px;
  color: var(--pv-ink);
  font: 500 14px/1.3 var(--pv-font-body);
  min-height: 42px;
  padding: 9px 10px;
  width: 100%;
}

.pv-schedule-item {
  align-items: start;
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  display: grid;
  gap: 16px;
  grid-template-columns: 82px 1fr;
  padding: 18px;
}

.pv-schedule time {
  color: var(--pv-blue);
  font-family: var(--pv-font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.pv-schedule time span {
  color: var(--pv-muted);
  display: block;
  font-family: var(--pv-font-body);
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
}

.pv-schedule h3 {
  font-family: var(--pv-font-display);
  font-size: 22px;
  margin: 0 0 6px;
}

.pv-schedule p {
  color: var(--pv-muted);
  margin: 0 0 8px;
}

.pv-schedule small {
  color: var(--pv-blue);
  font-weight: 800;
}

.pmc-component,
.pmc-component * {
  box-sizing: border-box;
}

.pmc-component {
  color: var(--pmc-text);
  font-family: var(--pv-font-body);
  width: 100%;
}

.pmc-component a {
  color: inherit;
}

.pmc-component a:focus-visible,
.pmc-component button:focus-visible,
.pmc-component select:focus-visible {
  box-shadow: 0 0 0 4px rgba(9,64,193,0.18);
  outline: 2px solid var(--pmc-primary);
  outline-offset: 2px;
}

.pmc-grid {
  display: grid;
  gap: 20px;
}

.pmc-grid-municipios,
.pmc-grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pmc-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pmc-profile-bottom {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
}

.pmc-card,
.pmc-info-card,
.pmc-news-card,
.pmc-section,
.pmc-schedule-card,
.pmc-empty,
.pmc-filterbar {
  background: var(--pmc-card);
  border: 1px solid var(--pmc-border);
  border-radius: var(--pmc-radius);
}

.pmc-card {
  box-shadow: var(--pmc-shadow);
  overflow: hidden;
}

.pmc-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.pmc-card-link:hover .pmc-button-secondary,
.pmc-card-link:focus-visible .pmc-button-secondary {
  background: var(--pmc-primary);
  color: #fff;
}

.pmc-card-media {
  align-items: flex-end;
  background: linear-gradient(135deg, var(--pmc-dark), var(--pmc-primary));
  color: #fff;
  display: flex;
  min-height: 170px;
  overflow: hidden;
  padding: 18px;
}

.pmc-card-media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.pmc-card-media {
  position: relative;
}

.pmc-card-media span {
  font-size: 12px;
  font-weight: 900;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.pmc-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.pmc-card h3,
.pmc-card h4,
.pmc-section h3,
.pmc-news-card h4,
.pmc-day-heading h3,
.pmc-profile-hero h2,
.pmc-schedule-card h4 {
  color: var(--pmc-dark);
  line-height: 1.12;
  margin: 0;
}

.pmc-card h3 {
  font-size: 22px;
}

.pmc-card p,
.pmc-info-card p,
.pmc-news-card p,
.pmc-richtext,
.pmc-schedule-card p,
.pmc-empty span,
.pmc-profile-hero p {
  color: var(--pmc-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.pmc-kicker {
  color: var(--pmc-primary);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pmc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pmc-tags span,
.pmc-card-meta {
  background: #EEF4FF;
  border: 1px solid #DCE8FF;
  border-radius: 999px;
  color: var(--pmc-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.pmc-tags .pmc-tag-strong {
  background: #EAFBEF;
  border-color: #BFEBCB;
  color: #08752E;
}

.pmc-button {
  align-items: center;
  background: var(--pmc-primary);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
}

.pmc-button-secondary {
  background: #EEF4FF;
  color: var(--pmc-primary);
  margin-top: auto;
  width: fit-content;
}

.pmc-empty {
  align-items: flex-start;
  background: var(--pmc-bg);
  display: grid;
  gap: 6px;
  padding: 24px;
}

.pmc-empty strong {
  color: var(--pmc-dark);
  font-size: 18px;
}

.pmc-empty-small {
  box-shadow: none;
  padding: 18px;
}

.pmc-filterbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(145px, 1fr)) auto;
  margin-bottom: 24px;
  padding: 16px;
}

.pmc-filterbar label {
  color: var(--pmc-muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.pmc-filterbar select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--pmc-border);
  border-radius: 12px;
  color: var(--pmc-text);
  font: 700 14px/1.3 var(--pv-font-body);
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.pmc-day-list,
.pmc-schedule-list {
  display: grid;
  gap: 16px;
}

.pmc-day-group {
  display: grid;
  gap: 12px;
}

.pmc-day-heading {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 4px 2px;
}

.pmc-day-heading span {
  color: var(--pmc-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pmc-schedule-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 20px;
}

.pmc-schedule-setur {
  border-color: rgba(0,185,0,0.45);
  box-shadow: inset 5px 0 0 var(--pmc-secondary);
}

.pmc-schedule-card time {
  align-self: start;
  background: var(--pmc-bg);
  border-radius: 14px;
  color: var(--pmc-primary);
  display: grid;
  font-size: 18px;
  font-weight: 900;
  min-height: 72px;
  padding: 14px;
  place-items: center;
  text-align: center;
}

.pmc-schedule-card time span {
  color: var(--pmc-muted);
  display: block;
  font-size: 12px;
}

.pmc-schedule-content {
  display: grid;
  gap: 10px;
}

.pmc-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
}

.pmc-meta-list div {
  display: grid;
  gap: 2px;
}

.pmc-meta-list dt {
  color: var(--pmc-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pmc-meta-list dd {
  color: var(--pmc-text);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.pmc-profile {
  display: grid;
  gap: 22px;
}

.pmc-profile-hero {
  background: var(--pmc-dark);
  border-radius: var(--pmc-radius);
  color: #fff;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.pmc-profile-hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.pmc-profile-hero.has-image::after {
  background: linear-gradient(90deg, rgba(0,22,66,0.88), rgba(0,22,66,0.32));
  content: "";
  inset: 0;
  position: absolute;
}

.pmc-profile-hero-content {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 48px;
  position: relative;
  z-index: 1;
}

.pmc-profile-hero h2 {
  color: #fff;
  font-size: clamp(36px, 6vw, 68px);
}

.pmc-profile-hero p {
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  max-width: 680px;
}

.pmc-profile-hero .pmc-kicker {
  color: #BFEBCB;
}

.pmc-profile-hero .pmc-tags span {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.pmc-section,
.pmc-info-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.pmc-section-head {
  display: grid;
  gap: 5px;
}

.pmc-section h3,
.pmc-day-heading h3 {
  font-size: 26px;
}

.pmc-info-card {
  align-content: start;
}

.pmc-richtext p {
  margin: 0 0 12px;
}

.pmc-richtext p:last-child {
  margin-bottom: 0;
}

.pmc-schedule-compact .pmc-schedule-card {
  grid-template-columns: 110px minmax(0, 1fr);
}

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

.pmc-gallery img {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.pmc-contact-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pmc-contact-list li {
  background: var(--pmc-bg);
  border: 1px solid var(--pmc-border);
  border-radius: 12px;
  color: var(--pmc-text);
  font-weight: 800;
  overflow-wrap: anywhere;
  padding: 12px 14px;
}

.pmc-news-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.pmc-news-card time {
  color: var(--pmc-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pmc-news-card a {
  text-decoration: none;
}

.pmc-editorial {
  display: grid;
  gap: 18px;
}

.pmc-editorial-head {
  display: grid;
  gap: 6px;
}

.pmc-editorial-head h2 {
  color: var(--pmc-dark);
  font-size: 28px;
  line-height: 1.12;
  margin: 0;
}

.pmc-editorial-head p {
  color: var(--pmc-muted);
  margin: 0;
}

.pmc-editorial-card .pmc-card-media {
  min-height: 188px;
}

.pmc-editorial-card .pmc-card-media img {
  display: block;
}

.pmc-editorial-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.pmc-editorial-meta time {
  color: var(--pmc-muted);
  font-size: 12px;
  font-weight: 800;
}

.pmc-breadcrumbs ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.pmc-breadcrumbs li {
  align-items: center;
  color: var(--pmc-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.pmc-breadcrumbs li + li::before {
  color: var(--pmc-border);
  content: "/";
}

.pmc-breadcrumbs a {
  color: var(--pmc-primary);
  text-decoration: none;
}

.pmc-registration-action {
  margin-top: 4px;
}

.pmc-registration-action form {
  margin: 0;
}

.pmc-user-area {
  display: grid;
  gap: 18px;
}

.pmc-user-list {
  display: grid;
  gap: 10px;
}

.pmc-user-row {
  align-items: center;
  background: var(--pmc-bg);
  border: 1px solid var(--pmc-border);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px;
}

.pmc-user-row strong,
.pmc-user-row span {
  display: block;
}

.pmc-user-row strong {
  color: var(--pmc-dark);
  margin-bottom: 3px;
}

.pmc-user-row span {
  color: var(--pmc-muted);
  font-size: 13px;
}

.pmc-user-row em {
  background: #EEF4FF;
  border-radius: 999px;
  color: var(--pmc-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.pmc-user-row .pmc-button {
  min-height: 38px;
}

.pmc-user-row-admin {
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, .35fr);
}

.pmc-credenciamento {
  display: grid;
  gap: 18px;
}

.pmc-cred-search,
.pmc-print-callout,
.pmc-cred-form,
.pmc-cred-row {
  background: var(--pmc-card);
  border: 1px solid var(--pmc-border);
  border-radius: 8px;
}

.pmc-cred-search {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 1fr) auto auto auto;
  padding: 16px;
}

.pmc-cred-search label {
  color: var(--pmc-muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.pmc-cred-search input,
.pmc-cred-form input,
.pmc-cred-form select,
.pmc-cred-form textarea {
  border: 1px solid var(--pmc-border);
  border-radius: 6px;
}

.pmc-print-callout {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px;
}

.pmc-cred-results {
  display: grid;
  gap: 10px;
}

.pmc-cred-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto minmax(280px, auto);
  padding: 14px;
}

.pmc-cred-row strong,
.pmc-cred-row span,
.pmc-cred-row small {
  display: block;
}

.pmc-cred-row strong {
  color: var(--pmc-dark);
}

.pmc-cred-row span,
.pmc-cred-row small {
  color: var(--pmc-muted);
  font-size: 13px;
}

.pmc-cred-row em {
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.pmc-status-pre_cadastrado em,
.pmc-status-pendente em {
  background: #8A4A08;
}

.pmc-status-credenciado em {
  background: #1A6B36;
}

.pmc-status-cancelado em,
.pmc-status-duplicado em {
  background: #9D1C1C;
}

.pmc-cred-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pmc-cred-actions form {
  margin: 0;
}

.pmc-cred-actions .pmc-button {
  min-height: 38px;
}

.pmc-cred-form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.pmc-cred-form h3 {
  color: var(--pmc-dark);
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}

.pmc-badge-print {
  align-items: center;
  background: #f2f4f8;
  display: grid;
  gap: 18px;
  justify-items: center;
  min-height: 100vh;
  padding: 24px;
}

.pmc-label-toolbar {
  display: flex;
  justify-content: center;
}

.pmc-label-card {
  background: #fff;
  border: 1px solid #111;
  color: #111;
  display: grid;
  height: var(--pmc-label-height, 54mm);
  overflow: hidden;
  padding: 7mm;
  width: var(--pmc-label-width, 90mm);
}

.pmc-label-event {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pmc-label-card h1 {
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 20pt;
  line-height: 1.05;
  margin: 2mm 0 1mm;
  overflow-wrap: anywhere;
}

.pmc-label-card p {
  color: #111;
  font-size: 10pt;
  font-weight: 700;
  margin: 0;
}

.pmc-label-card strong {
  align-self: end;
  border: 1px solid #111;
  color: #111;
  display: inline-block;
  font-size: 9pt;
  justify-self: start;
  padding: 1.5mm 2.5mm;
  text-transform: uppercase;
}

.pmc-label-card footer {
  align-items: end;
  display: flex;
  font-size: 8pt;
  gap: 8px;
  justify-content: space-between;
}

@media print {
  @page {
    size: 90mm 54mm;
    margin: 0;
  }

  html,
  body,
  .pmc-label-route,
  .pmc-badge-print {
    background: #fff !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body * {
    visibility: hidden;
  }

  .pmc-label-card,
  .pmc-label-card * {
    visibility: visible;
  }

  .pmc-label-toolbar {
    display: none !important;
  }

  .pmc-label-card {
    border: 0;
    inset: 0;
    position: absolute;
  }
}

@media (max-width: 820px) {
  .pv-dashboard {
    grid-template-columns: 1fr;
  }

  .pv-sidebar {
    padding: 18px;
    position: static;
    min-height: auto;
  }

  .pv-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pv-logout {
    margin-top: 12px;
  }

  .pv-main {
    padding: 18px;
  }

  .pv-hero,
  .pv-stats,
  .pv-programacao-filtros {
    grid-template-columns: 1fr;
  }

  .pv-hero img {
    max-width: 220px;
  }

  .pv-form {
    grid-template-columns: 1fr;
  }

  .pmc-filterbar {
    display: flex;
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .pmc-filterbar label {
    min-width: 190px;
  }

  .pmc-filterbar .pmc-button {
    min-width: 130px;
  }

  .pmc-info-grid,
  .pmc-profile-bottom,
  .pmc-schedule-card,
  .pmc-user-row,
  .pmc-user-row-admin,
  .pmc-cred-search,
  .pmc-cred-row {
    grid-template-columns: 1fr;
  }

  .pmc-cred-actions,
  .pmc-print-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .pmc-profile-hero-content {
    padding: 32px;
  }
}

@media (max-width: 520px) {
  .pv-hero h2 {
    font-size: 28px;
  }

  .pv-list-row,
  .pv-schedule-item {
    grid-template-columns: 1fr;
  }

  .pv-nav {
    grid-template-columns: 1fr;
  }

  .pv-list-row {
    align-items: start;
    flex-direction: column;
  }

  .pv-schedule time {
    text-align: left;
  }

  .pmc-grid-municipios,
  .pmc-grid-cards,
  .pmc-gallery {
    grid-template-columns: 1fr;
  }

  .pmc-card-media {
    min-height: 190px;
  }

  .pmc-profile-hero {
    min-height: 430px;
  }

  .pmc-profile-hero-content,
  .pmc-section,
  .pmc-info-card,
  .pmc-schedule-card,
  .pmc-empty {
    padding: 20px;
  }

  .pmc-day-heading {
    align-items: start;
    flex-direction: column;
  }

  .pmc-button {
    min-height: 50px;
    width: 100%;
  }
}
