:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #edf7fb;
  --ink: #12212b;
  --navy: #08204a;
  --muted: #5b6b77;
  --blue: #087ea4;
  --blue-dark: #075f7c;
  --gold: #c8a24a;
  --gold-light: #f2d589;
  --gold-deep: #9a6818;
  --teal-premium: #064c4f;
  --teal-deep: #032d34;
  --rose: #cf5f82;
  --green: #2f9f75;
  --danger: #b94a48;
  --border: #dce8ee;
  --shadow: 0 18px 50px rgba(18, 33, 43, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

body.portal-open {
  background: #fbfaf7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 232, 238, 0.9);
}

.header-grid {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 24px rgba(8, 126, 164, 0.24);
}

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 270px);
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.portal-nav button {
  border: 1px solid transparent;
  color: #334653;
  padding: 9px 12px;
  border-radius: 999px;
  transition: 180ms ease;
}

.site-nav a:hover,
.portal-nav button:hover,
.portal-nav button.active {
  color: var(--blue-dark);
  border-color: rgba(8, 126, 164, 0.18);
  background: rgba(8, 126, 164, 0.08);
}

.header-actions,
.hero-actions,
.portal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.btn,
.icon-link,
.floating-btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn {
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
}

.btn:hover,
.icon-link:hover,
.floating-btn:hover {
  transform: translateY(-2px);
}

.btn svg,
.icon-link svg,
.floating-btn svg,
.feature-list svg,
.contact-list svg {
  width: 18px;
  height: 18px;
}

.ig-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.ig-mark.dark {
  color: #8a3ab9;
  background: rgba(138, 58, 185, 0.12);
}

.btn-primary {
  color: white;
  border: 1px solid rgba(242, 213, 137, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, var(--teal-premium), #08747a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(3, 45, 52, 0.22),
    0 0 0 1px rgba(154, 104, 24, 0.1);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 34px rgba(3, 45, 52, 0.28),
    0 0 20px rgba(242, 213, 137, 0.22);
}

.btn-ghost {
  color: var(--teal-premium);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
  border: 1px solid rgba(200, 162, 74, 0.42);
  box-shadow: 0 10px 24px rgba(87, 61, 18, 0.08);
}

.btn-light {
  background: white;
  color: var(--blue-dark);
  box-shadow: 0 12px 30px rgba(18, 33, 43, 0.12);
}

.btn-instagram {
  color: white;
  background: linear-gradient(135deg, #8a3ab9, #e95950 45%, #fccc63);
  box-shadow: 0 14px 28px rgba(207, 95, 130, 0.24);
}

.btn-danger {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, #a83d3b, #c65a50);
  box-shadow: 0 14px 28px rgba(185, 74, 72, 0.22);
}

.btn-large {
  min-height: 52px;
  padding-inline: 20px;
}

.full {
  width: 100%;
}

.icon-link {
  width: 44px;
  height: 44px;
  color: var(--blue-dark);
  background: #eef9fc;
  border: 1px solid rgba(8, 126, 164, 0.14);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 65, 88, 0.96), rgba(8, 126, 164, 0.68)),
    url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
}

.hero-full-bleed {
  min-height: 0;
  display: block;
  background: #fff;
  color: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-full-bleed::after {
  display: none;
}

.hero-full-image {
  display: block;
  width: 100%;
  height: auto;
  object-position: center;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 50px;
  align-items: center;
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5d47a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-visual img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(18, 33, 43, 0.2);
  font-weight: 800;
}

.hero-card svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.hero-card-top {
  top: 28px;
  left: -28px;
}

.hero-card-bottom {
  right: -22px;
  bottom: 34px;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: #ffffff;
}

.section-band {
  background: linear-gradient(135deg, #eaf7fb, #fff8e7);
}

.about-specialist-section {
  padding: 36px 0 52px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.about-specialist-wrap {
  max-width: min(100% - 32px, 1536px);
}

.about-specialist-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(220, 232, 238, 0.9);
  box-shadow: 0 24px 58px rgba(18, 33, 43, 0.12);
  background: #ffffff;
}

.differentials-visual-section {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #eef5fb;
}

.differentials-visual-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.insurance-visual-section {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #f5f8fb;
}

.insurance-visual-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.instagram-visual-section {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.instagram-visual-section a {
  display: block;
}

.instagram-visual-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.agenda-visual-section {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.agenda-visual-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.split,
.location-grid,
.auth-grid,
.instagram-layout,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: start;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-copy,
.text-block p,
.instagram-copy p,
.auth-intro p {
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.feature-list svg {
  color: var(--green);
}

.specialty-grid,
.benefit-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.specialty-card,
.benefit-grid article,
.review-card,
.auth-panel,
.dashboard-card,
.data-panel,
.modal-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(200, 162, 74, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 246, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 30px rgba(71, 47, 12, 0.07);
}

.benefit-grid article,
.review-card,
.dashboard-card,
.data-panel {
  padding: 18px;
}

.specialty-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.specialty-card-wide {
  grid-column: span 2;
}

.specialty-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 375 / 313;
  object-fit: cover;
}

.specialty-card-wide .specialty-image {
  aspect-ratio: 536 / 315;
}

.specialty-card svg,
.benefit-grid svg,
.dashboard-card svg {
  width: 25px;
  height: 25px;
  color: var(--blue);
}

.specialty-card p,
.benefit-grid p,
.review-card p,
.dashboard-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.plans-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  font-weight: 800;
  color: #334653;
}

.plan-pill svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.instagram-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(35, 20, 70, 0.92), rgba(207, 95, 130, 0.78)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1700&q=85") center/cover;
}

.instagram-section .eyebrow {
  color: #ffe28a;
}

.instagram-section p {
  color: rgba(255, 255, 255, 0.86);
}

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

.post-card {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 16px;
  border-radius: var(--radius);
  color: white;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72));
}

.post-card span {
  position: relative;
  font-weight: 900;
}

.post-1 {
  background-image: url("https://images.unsplash.com/photo-1600170311833-c2cf5280ce49?auto=format&fit=crop&w=650&q=82");
}

.post-2 {
  background-image: url("https://images.unsplash.com/photo-1609840114035-3c981b782dfe?auto=format&fit=crop&w=650&q=82");
}

.post-3 {
  background-image: url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=650&q=82");
}

.post-4 {
  background-image: url("https://images.unsplash.com/photo-1629909615184-74f495363b67?auto=format&fit=crop&w=650&q=82");
}

.schedule-reference {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow);
}

.schedule-reference img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  background: white;
}

.review-card {
  display: grid;
  gap: 8px;
}

.stars {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.faq-premium-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 82px;
  color: #f7fbff;
  background:
    linear-gradient(135deg, #03111f 0%, #041b2a 52%, #02101b 100%);
}

.faq-premium-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(28deg, rgba(242, 213, 137, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(115deg, transparent 0 64%, rgba(8, 126, 164, 0.12) 64.2%, transparent 64.6%);
  opacity: 0.42;
  pointer-events: none;
}

.faq-premium-section .container {
  position: relative;
  z-index: 1;
}

.faq-premium-section .faq-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  gap: 64px;
  align-items: start;
}

.faq-premium-intro {
  display: grid;
  gap: 24px;
  align-content: start;
}

.faq-eyebrow {
  position: relative;
  margin: 0;
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faq-eyebrow::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.faq-premium-intro h2 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.45rem;
  font-weight: 600;
  line-height: 0.98;
}

.faq-premium-intro h2 span {
  display: block;
  color: #10a6b6;
}

.faq-premium-intro > p {
  max-width: 360px;
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.6;
}

.faq-help-card {
  position: relative;
  width: 180px;
  height: 170px;
  display: grid;
  place-items: center;
  margin: 16px 0 10px 58px;
  border: 1px solid rgba(51, 240, 213, 0.72);
  border-radius: 8px;
  color: #12d9e7;
  background:
    linear-gradient(135deg, rgba(10, 93, 108, 0.45), rgba(3, 17, 31, 0.82));
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.faq-help-card::after {
  content: "";
  position: absolute;
  left: -86px;
  right: -54px;
  bottom: -20px;
  height: 48px;
  border-bottom: 1px solid rgba(242, 213, 137, 0.8);
  border-radius: 50%;
  transform: rotate(6deg);
}

.faq-help-card svg {
  width: 90px;
  height: 90px;
  stroke-width: 1.4;
}

.faq-help-card span {
  position: absolute;
  right: -24px;
  bottom: 24px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  background: #0b1e29;
  font-size: 2.5rem;
  font-weight: 950;
  box-shadow: 0 0 26px rgba(242, 213, 137, 0.22);
}

.faq-safe-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.faq-safe-note span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #17d2dc;
}

.faq-safe-note svg {
  width: 34px;
  height: 34px;
}

.faq-safe-note p {
  margin: 0;
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.38;
}

.faq-safe-note strong {
  display: block;
  margin-bottom: 2px;
  color: #17d2dc;
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 22px;
}

.faq-list details {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 26px 34px 24px;
  border: 1px solid rgba(51, 240, 213, 0.28);
  border-left-color: rgba(242, 213, 137, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 45, 64, 0.86), rgba(2, 16, 28, 0.93));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.16);
}

.faq-list summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 217, 231, 0.6);
  border-radius: 50%;
  color: var(--gold-light);
  background:
    linear-gradient(135deg, rgba(13, 104, 119, 0.52), rgba(3, 17, 31, 0.78));
}

.faq-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.8;
}

.faq-copy strong {
  display: block;
  color: #ffffff;
  font-size: 1.32rem;
  font-weight: 950;
  line-height: 1.24;
}

.faq-list details p {
  max-width: 640px;
  margin: -24px 54px 0 112px;
  color: rgba(247, 251, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.48;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  color: var(--gold-light);
  transition: transform 180ms ease;
}

.faq-list details:not([open]) .faq-chevron {
  transform: rotate(-90deg);
}

.faq-list details:not([open]) {
  min-height: 112px;
}

.auth-section {
  padding: 34px 0;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(239, 244, 247, 0.96));
}

.auth-premium-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 1.05fr);
  gap: 38px;
  align-items: center;
  min-height: 690px;
  padding: 54px;
  border: 1px solid rgba(207, 222, 231, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.68) 43%, rgba(255, 255, 255, 0.84) 100%),
    url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1500&q=85") center/cover;
  box-shadow: 0 22px 60px rgba(18, 33, 43, 0.13);
}

.auth-premium-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 64% 12%, rgba(255, 255, 255, 0.78), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 48%);
  pointer-events: none;
}

.auth-premium-shell > * {
  position: relative;
  z-index: 1;
}

.auth-intro {
  display: grid;
  gap: 28px;
  align-content: center;
}

.auth-brand-logo {
  width: min(100%, 300px);
  height: auto;
}

.auth-intro h2 {
  max-width: 510px;
  margin: 0;
  color: #07364a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.45rem;
  font-weight: 600;
  line-height: 1.04;
}

.auth-intro p {
  max-width: 480px;
  margin: 0;
  color: #66778a;
  font-size: 1rem;
  line-height: 1.7;
}

.auth-intro > p::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 0 0 20px;
  background: #0d91a9;
}

.auth-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 560px;
}

.auth-benefits span {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  color: #0c3852;
  text-align: center;
}

.auth-benefits svg {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 50%;
  color: #087ea4;
  background: rgba(234, 249, 251, 0.92);
  box-shadow: 0 12px 26px rgba(18, 33, 43, 0.08);
}

.auth-benefits small {
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.auth-security-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 430px);
  padding: 16px 18px;
  border: 1px solid rgba(220, 232, 238, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 32px rgba(18, 33, 43, 0.08);
}

.auth-security-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(8, 126, 164, 0.2);
  border-radius: 8px;
  color: #087ea4;
  background: #eaf8fb;
}

.auth-security-card svg {
  width: 27px;
  height: 27px;
}

.auth-security-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.auth-panel {
  width: min(100%, 590px);
  justify-self: end;
  padding: 36px;
  border: 1px solid rgba(220, 232, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(18, 33, 43, 0.14);
  backdrop-filter: blur(12px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}

.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 62px;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  background: #ffffff;
  color: #31465b;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(18, 33, 43, 0.04);
}

.auth-tab svg {
  width: 23px;
  height: 23px;
}

.auth-tab.active {
  background: linear-gradient(135deg, #053b50, #087ea4);
  color: white;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(8, 126, 164, 0.25);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 22px;
}

.auth-form label {
  gap: 10px;
  color: #18364a;
  font-size: 0.84rem;
  font-weight: 950;
}

.auth-input-shell {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  transition: border 160ms ease, box-shadow 160ms ease;
}

.auth-input-shell:focus-within {
  border-color: rgba(8, 126, 164, 0.7);
  box-shadow: 0 0 0 4px rgba(8, 126, 164, 0.1);
}

.auth-input-shell > svg {
  width: 21px;
  height: 21px;
  color: #8390a2;
}

.auth-input-shell .auth-eye {
  width: 21px;
  height: 21px;
}

.auth-input-shell input {
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-input-shell input:focus {
  border: 0;
  box-shadow: none;
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7a8798;
  font-weight: 800;
}

.auth-remember input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.auth-form .link-button {
  justify-self: end;
  color: #087ea4;
  font-size: 0.84rem;
}

.auth-submit {
  min-height: 62px;
  border-radius: 8px;
  background: linear-gradient(135deg, #053b50, #087ea4);
  box-shadow: 0 16px 28px rgba(8, 126, 164, 0.24);
}

.auth-safe-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8491a4;
  font-weight: 800;
  text-align: center;
}

.auth-safe-line svg {
  width: 20px;
  height: 20px;
}

label {
  display: grid;
  gap: 7px;
  color: #2f424f;
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdee7;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal-premium);
  box-shadow: none;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 126, 164, 0.12);
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
  box-shadow: 0 0 0 4px rgba(8, 126, 164, 0.12);
}

.form-pair,
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 700;
  color: var(--muted);
}

.checkbox-row input {
  margin-top: 2px;
}

.insurance-choice-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.insurance-choice-field legend {
  margin-bottom: 2px;
  color: #2f424f;
  font-size: 0.92rem;
  font-weight: 850;
}

.insurance-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insurance-choice-option {
  min-height: 58px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #cfdee7;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.insurance-choice-option span {
  display: grid;
  gap: 2px;
}

.insurance-choice-option strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.1;
}

.insurance-choice-option small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
}

.insurance-choice-option:has(input:checked) {
  border-color: rgba(8, 126, 164, 0.42);
  background: #f1fbf7;
  box-shadow: 0 8px 24px rgba(8, 126, 164, 0.1);
}

.link-button {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 900;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.location-grid iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-weight: 900;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 30px 0 24px;
  color: #f7fbff;
  background:
    radial-gradient(circle at 78% 18%, rgba(8, 126, 164, 0.2), transparent 30%),
    radial-gradient(circle at 12% 14%, rgba(242, 213, 137, 0.12), transparent 24%),
    linear-gradient(135deg, #03111f 0%, #041a27 52%, #02111b 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(8, 126, 164, 0.1) 58.2%, transparent 58.5%),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px);
  opacity: 0.55;
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-location-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(500px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.footer-location-copy {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-kicker-icon,
.footer-contact-icon,
.footer-trust-card > span,
.footer-benefit-strip article > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 213, 137, 0.42);
  color: var(--gold-light);
  background:
    radial-gradient(circle at 50% 28%, rgba(242, 213, 137, 0.26), transparent 42%),
    rgba(2, 17, 27, 0.82);
  box-shadow: 0 0 22px rgba(200, 162, 74, 0.18);
}

.footer-kicker-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-kicker-icon svg {
  width: 22px;
  height: 22px;
}

.footer-location-copy h2 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1.04;
}

.footer-location-copy h2 span {
  color: #17a1b5;
}

.footer-location-note {
  max-width: 500px;
  margin: 0;
  color: rgba(247, 251, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-contact-stack {
  display: grid;
  gap: 8px;
}

.footer-contact-card {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(242, 213, 137, 0.14);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(4, 32, 48, 0.92), rgba(3, 17, 31, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-contact-card:hover {
  border-color: rgba(242, 213, 137, 0.5);
  transform: translateY(-1px);
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer-contact-icon svg {
  width: 19px;
  height: 19px;
}

.footer-contact-icon.whatsapp {
  color: #33f0d5;
  border-color: rgba(51, 240, 213, 0.32);
}

.footer-contact-icon.instagram {
  color: #ffffff;
  border-color: rgba(242, 93, 173, 0.28);
  background: linear-gradient(135deg, #5c2de0, #e93e7e 52%, #f6a42f);
}

.footer-contact-icon.clock {
  color: #1be0ef;
  border-color: rgba(27, 224, 239, 0.34);
}

.footer-contact-card strong,
.footer-contact-card small,
.footer-trust-card strong,
.footer-benefit-strip strong {
  display: block;
}

.footer-contact-card strong {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.2;
}

.footer-contact-card small {
  margin-top: 2px;
  color: rgba(247, 251, 255, 0.74);
  font-size: 0.76rem;
}

.footer-contact-card em {
  min-width: 118px;
  padding: 7px 12px;
  border: 1px solid rgba(200, 162, 74, 0.52);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.footer-contact-card > svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.footer-trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 213, 137, 0.48);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(242, 213, 137, 0.11), rgba(8, 126, 164, 0.08));
}

.footer-trust-card > span {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-trust-card svg {
  width: 22px;
  height: 22px;
}

.footer-trust-card p {
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.28;
}

.footer-trust-card strong {
  margin-bottom: 3px;
  color: var(--gold-light);
  font-size: 1rem;
}

.footer-map-card {
  position: relative;
  height: 300px;
  min-height: 0;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(51, 240, 213, 0.64);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 92%, rgba(8, 126, 164, 0.52), transparent 32%),
    linear-gradient(135deg, rgba(3, 17, 31, 0.98), rgba(1, 28, 43, 0.96));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.footer-map-card::before {
  display: none;
}

.footer-map-card::after {
  display: none;
}

.footer-map-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-map-roads,
.footer-map-info,
.footer-map-label,
.footer-map-marker,
.footer-map-video,
.footer-map-zoom {
  position: absolute;
  z-index: 1;
}

.road {
  display: block;
  border-radius: 999px;
  background: rgba(130, 169, 192, 0.4);
  box-shadow: 0 0 0 2px rgba(13, 35, 51, 0.72);
}

.road-main {
  left: 58%;
  top: -8%;
  width: 13px;
  height: 118%;
  transform: rotate(-28deg);
}

.road-cross {
  left: 42%;
  top: 46%;
  width: 67%;
  height: 11px;
  transform: rotate(17deg);
}

.road-soft.one {
  left: 20%;
  top: 44%;
  width: 52%;
  height: 7px;
  transform: rotate(-6deg);
  opacity: 0.45;
}

.road-soft.two {
  right: -12%;
  top: 62%;
  width: 47%;
  height: 8px;
  transform: rotate(-25deg);
  opacity: 0.5;
}

.road-soft.three {
  left: 56%;
  top: 10%;
  width: 9px;
  height: 82%;
  transform: rotate(-5deg);
  opacity: 0.34;
}

.footer-map-info {
  top: 18px;
  left: 18px;
  right: 18px;
  width: min(440px, calc(100% - 36px));
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(242, 213, 137, 0.4);
  border-radius: 8px;
  background: rgba(3, 17, 31, 0.86);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.25);
}

.footer-map-info > svg {
  width: 28px;
  height: 28px;
  color: var(--gold-light);
  fill: rgba(242, 213, 137, 0.25);
}

.footer-map-info strong,
.footer-map-info small {
  display: block;
}

.footer-map-info strong {
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.2;
}

.footer-map-info small {
  margin-top: 2px;
  color: rgba(247, 251, 255, 0.76);
}

.footer-map-info a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 240, 213, 0.28);
  border-radius: 50%;
  color: #33f0d5;
  background: rgba(1, 26, 40, 0.82);
}

.footer-map-label {
  color: #19d8ea;
  font-size: 0.85rem;
  font-weight: 800;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.label-city {
  left: 32%;
  top: 34%;
}

.label-market {
  left: 34%;
  top: 24%;
}

.label-road {
  right: 35%;
  top: 10%;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.72rem;
  background: rgba(3, 17, 31, 0.72);
}

.footer-map-marker {
  left: 59%;
  top: 39%;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateX(-50%);
}

.footer-map-marker > span {
  position: relative;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 4px solid var(--gold-light);
  border-radius: 50% 50% 50% 0;
  color: #ffffff;
  background: linear-gradient(135deg, #102a36, #04141f);
  box-shadow: 0 0 30px rgba(242, 213, 137, 0.32);
  transform: rotate(-45deg);
}

.footer-map-marker > span svg {
  width: 44px;
  height: 44px;
  transform: rotate(45deg);
}

.footer-map-marker strong {
  margin-top: 18px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-map-marker small {
  color: var(--gold-light);
  font-weight: 900;
}

.footer-map-video {
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 210px;
  padding: 8px 10px;
  border: 1px solid rgba(242, 213, 137, 0.62);
  border-radius: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  background:
    linear-gradient(rgba(3, 17, 31, 0.45), rgba(3, 17, 31, 0.85)),
    linear-gradient(135deg, #1e7892, #0a2535);
}

.footer-map-video span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
}

.footer-map-video svg {
  width: 14px;
  height: 14px;
}

.footer-map-zoom {
  right: 28px;
  bottom: 42px;
  overflow: hidden;
  border: 1px solid rgba(242, 213, 137, 0.55);
  border-radius: 8px;
  background: rgba(3, 17, 31, 0.88);
}

.footer-map-zoom span {
  width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
}

.footer-map-zoom span + span {
  border-top: 1px solid rgba(242, 213, 137, 0.22);
}

.footer-benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 213, 137, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-benefit-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 10px;
}

.footer-benefit-strip article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-benefit-strip article > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.footer-benefit-strip svg {
  width: 21px;
  height: 21px;
}

.footer-benefit-strip p {
  margin: 0;
  color: rgba(247, 251, 255, 0.75);
  font-size: 0.84rem;
}

.footer-benefit-strip strong {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 0.92rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  color: white;
  box-shadow: 0 14px 28px rgba(18, 33, 43, 0.22);
}

.floating-instagram {
  background: linear-gradient(135deg, #8a3ab9, #e95950 48%, #fccc63);
}

.floating-whatsapp {
  background: #25d366;
}

.portal-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  color: #101e2d;
  background:
    repeating-radial-gradient(ellipse at 92% -8%, rgba(200, 162, 74, 0.22) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(135deg, #fffdf9 0%, #f5f1e9 46%, #ffffff 100%);
}

.portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 50;
  display: grid;
  grid-template-rows: 120px 1fr 96px;
  justify-items: center;
  align-items: start;
  padding: 28px 14px;
  background: linear-gradient(180deg, #06172d 0%, #08223d 54%, #041326 100%);
  box-shadow: 18px 0 38px rgba(6, 23, 45, 0.16);
}

.portal-brand-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.portal-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portal-side-nav {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-content: start;
  width: 100%;
}

.portal-side-button {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  transition: 180ms ease;
}

.portal-side-button svg {
  width: 25px;
  height: 25px;
}

.portal-side-button:hover,
.portal-side-button.active {
  color: #f7dd91;
  border: 1px solid rgba(242, 213, 137, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 213, 137, 0.22), transparent 36%),
    linear-gradient(135deg, #075b5e, #062832);
  box-shadow: 0 14px 30px rgba(3, 45, 52, 0.42);
}

.portal-side-button.active::before {
  content: "";
  position: absolute;
  left: -14px;
  width: 3px;
  height: 38px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
}

.portal-side-settings {
  align-self: end;
}

.portal-main {
  min-width: 0;
  padding-bottom: 52px;
}

.portal-header {
  position: relative;
  z-index: 20;
  padding: 54px 0 22px;
  background: transparent;
  border-bottom: 0;
}

.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.portal-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.portal-heading-logo {
  display: block;
  width: clamp(190px, 20vw, 300px);
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.portal-top h2 {
  margin: 0;
  max-width: 880px;
  color: #07182b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.portal-actions {
  flex: 0 0 auto;
}

.portal-actions .icon-link {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f6fbff;
  box-shadow: 0 10px 24px rgba(11, 30, 55, 0.06);
}

.portal-actions .btn {
  min-height: 54px;
  padding-inline: 22px;
  border-radius: 999px;
  font-size: 1rem;
}

.portal-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 22px;
  justify-content: center;
  padding: 38px 0 6px;
}

.portal-nav button {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 18px;
  row-gap: 10px;
  padding: 24px 28px;
  border-radius: 22px;
  border: 1px solid rgba(200, 162, 74, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 241, 0.9)),
    radial-gradient(circle at 18% 10%, rgba(242, 213, 137, 0.14), transparent 28%);
  color: var(--teal-deep);
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
  text-align: left;
  white-space: normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 34px rgba(71, 47, 12, 0.1),
    0 2px 0 rgba(154, 104, 24, 0.08);
}

.portal-nav button::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.portal-nav button::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(242, 213, 137, 0.8), transparent);
  opacity: 0.72;
}

.portal-nav-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 16px;
  color: var(--teal-premium);
  background:
    linear-gradient(145deg, #fff7dc, #b8791c 42%, #ffeaa4 62%, #8c5b16);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.72),
    inset 0 -3px 5px rgba(92, 54, 8, 0.28),
    0 10px 18px rgba(86, 56, 12, 0.16);
}

.portal-nav-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.2;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.58));
}

.portal-nav-text {
  position: relative;
  z-index: 1;
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.4vw, 1.62rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.portal-nav-ornament {
  position: relative;
  z-index: 1;
  width: min(150px, 72%);
  height: 12px;
  display: block;
  align-self: start;
}

.portal-nav-ornament::before,
.portal-nav-ornament::after {
  content: "";
  position: absolute;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 120, 28, 0.66), transparent);
}

.portal-nav-ornament::before {
  left: 0;
  right: calc(50% + 8px);
}

.portal-nav-ornament::after {
  left: calc(50% + 8px);
  right: 0;
}

.portal-nav-ornament {
  background:
    linear-gradient(45deg, transparent 35%, var(--gold-deep) 35% 50%, transparent 50%) center 1px / 12px 12px no-repeat;
}

.portal-nav button:hover,
.portal-nav button.active {
  color: white;
  border-color: rgba(242, 213, 137, 0.98);
  background:
    radial-gradient(circle at 22% 0%, rgba(242, 213, 137, 0.34), transparent 24%),
    linear-gradient(135deg, #075b5e 0%, var(--teal-deep) 78%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 20px 42px rgba(3, 45, 52, 0.26),
    0 0 18px rgba(242, 213, 137, 0.28);
  transform: translateY(-3px);
}

.portal-nav button:hover .portal-nav-icon,
.portal-nav button.active .portal-nav-icon {
  color: var(--teal-deep);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.8),
    inset 0 -3px 5px rgba(92, 54, 8, 0.28),
    0 12px 24px rgba(242, 213, 137, 0.2);
}

.portal-nav button:hover .portal-nav-ornament::before,
.portal-nav button:hover .portal-nav-ornament::after,
.portal-nav button.active .portal-nav-ornament::before,
.portal-nav button.active .portal-nav-ornament::after {
  background: linear-gradient(90deg, transparent, rgba(242, 213, 137, 0.82), transparent);
}

.portal-content {
  padding: 28px 0 70px;
}

.reports-premium-page {
  display: grid;
  gap: 22px;
}

.reports-premium-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.reports-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reports-premium-header h2 {
  margin: 0;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.reports-premium-header p {
  margin: 8px 0 0;
  color: #667382;
  font-size: 1rem;
}

.reports-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.reports-dentist-whatsapp {
  border: 1px solid rgba(200, 162, 74, 0.56);
  background: rgba(255, 255, 255, 0.88);
  color: var(--gold-deep);
}

.reports-notification {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(200, 162, 74, 0.32);
  background: #fff;
  color: #1a2b3a;
  box-shadow: 0 12px 24px rgba(71, 47, 12, 0.08);
  cursor: pointer;
}

.reports-notification span {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #c94343;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.reports-doctor-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.reports-doctor-profile img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 12px 24px rgba(6, 23, 45, 0.14);
}

.reports-doctor-profile strong,
.reports-doctor-profile small {
  display: block;
  white-space: nowrap;
}

.reports-doctor-profile strong {
  color: #162534;
  font-weight: 900;
}

.reports-doctor-profile small {
  color: #6b7784;
  font-size: 0.8rem;
}

.reports-summary-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 38px);
  border: 2px solid rgba(200, 162, 74, 0.72);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(255, 251, 243, 0.78)),
    radial-gradient(circle at 18% 0%, rgba(242, 213, 137, 0.18), transparent 28%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 22px 46px rgba(71, 47, 12, 0.12);
}

.reports-summary-panel::before,
.reports-summary-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.45;
}

.reports-summary-panel::before {
  inset: 0 0 auto 0;
  height: 110px;
  background:
    repeating-radial-gradient(ellipse at 24% -30%, rgba(200, 162, 74, 0.18) 0 1px, transparent 1px 12px);
}

.reports-summary-panel::after {
  left: 0;
  right: 0;
  bottom: -18px;
  height: 118px;
  background:
    linear-gradient(165deg, transparent 35%, rgba(47, 159, 117, 0.12) 36%, transparent 54%),
    linear-gradient(172deg, transparent 38%, rgba(200, 162, 74, 0.18) 39%, transparent 58%);
}

.reports-summary-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
  text-align: center;
}

.reports-summary-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  width: min(100%, 760px);
}

.reports-title-spark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.reports-title-spark svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.6;
}

.reports-summary-title h2 {
  margin: 0;
  color: #2a2016;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.reports-summary-title p {
  margin: 8px 0 0;
  color: #53483d;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
}

.reports-summary-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.reports-date-pill,
.reports-filter-pill,
.reports-sparkle-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(200, 162, 74, 0.56);
  border-radius: 8px;
  color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 24px rgba(71, 47, 12, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.reports-date-pill {
  min-width: min(100%, 280px);
  padding: 0 18px;
}

.reports-date-pill span,
.reports-filter-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reports-filter-pill {
  padding: 0 16px;
}

.reports-filter-pill strong {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #c28a16, #e0b64f);
  font-size: 0.9rem;
}

.reports-sparkle-button {
  width: 56px;
  padding: 0;
}

.reports-summary-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: clamp(10px, 0.95vw, 16px);
}

.reports-summary-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 316px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 14px 24px;
  border-radius: 8px;
  border: 1px solid rgba(200, 162, 74, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 248, 0.9)),
    radial-gradient(circle at 50% 10%, rgba(242, 213, 137, 0.2), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px rgba(71, 47, 12, 0.11);
}

.reports-summary-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 98px;
  opacity: 0.72;
  background:
    linear-gradient(160deg, transparent 28%, rgba(47, 159, 117, 0.17) 30%, transparent 56%),
    linear-gradient(170deg, transparent 34%, rgba(200, 162, 74, 0.26) 36%, transparent 62%);
}

.reports-summary-card.danger {
  border-color: rgba(207, 63, 63, 0.28);
}

.reports-summary-card.pix {
  border-color: rgba(8, 126, 164, 0.25);
}

.reports-summary-icon {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f8d889;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(145deg, #52b86b, #08753d 74%);
  border: 2px solid rgba(242, 213, 137, 0.86);
  box-shadow:
    0 18px 30px rgba(20, 113, 61, 0.24),
    0 0 0 18px rgba(242, 213, 137, 0.16);
}

.reports-summary-icon svg {
  width: 39px;
  height: 39px;
  stroke-width: 2;
}

.reports-summary-card.danger .reports-summary-icon {
  color: #ffe1a0;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(145deg, #ef6868, #b62532 74%);
  box-shadow:
    0 18px 30px rgba(179, 38, 50, 0.2),
    0 0 0 18px rgba(255, 220, 187, 0.2);
}

.reports-summary-card.pix .reports-summary-icon {
  color: #f8d889;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(145deg, #10bdb9, #087785 74%);
  box-shadow:
    0 18px 30px rgba(8, 126, 164, 0.22),
    0 0 0 18px rgba(63, 190, 194, 0.13);
}

.reports-summary-card.gold .reports-summary-icon {
  color: #fff3c4;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.46), transparent 32%),
    linear-gradient(145deg, #ecc64f, #b57905 76%);
  box-shadow:
    0 18px 30px rgba(181, 121, 5, 0.22),
    0 0 0 18px rgba(242, 213, 137, 0.16);
}

.reports-summary-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.reports-summary-card small {
  max-width: 100%;
  color: #2f251b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.96rem, 1vw, 1.18rem);
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.reports-summary-card strong {
  display: block;
  max-width: 100%;
  color: #07501f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 1.55vw, 1.86rem);
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.reports-summary-card.danger strong {
  color: #aa151d;
}

.reports-summary-card.pix strong {
  color: #087a78;
}

.reports-summary-card.gold strong {
  color: #a46a05;
}

.reports-summary-card em {
  color: #7b8792;
  font-size: clamp(0.78rem, 0.85vw, 0.92rem);
  font-style: normal;
  text-align: center;
}

.reports-trend {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: min(100%, 164px);
  min-height: 54px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 232, 238, 0.7);
  box-shadow: 0 12px 24px rgba(71, 47, 12, 0.08);
  color: #218d58;
  font-size: 0.88rem;
  font-weight: 900;
  flex-wrap: wrap;
  text-align: center;
}

.reports-trend svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.reports-trend.down,
.reports-summary-card.danger .reports-trend.up {
  color: #c14646;
}

.reports-trend b {
  font-size: 0.96rem;
  line-height: 1;
}

.reports-trend small {
  width: 100%;
  color: #7b8792;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
}

.reports-filter-card,
.reports-main-card,
.reports-whatsapp-card {
  border: 1px solid rgba(200, 162, 74, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(71, 47, 12, 0.08);
}

.reports-filter-card {
  padding: 22px;
}

.reports-filter-card h3,
.reports-main-card h3,
.reports-whatsapp-card h3 {
  margin: 0;
  color: #152534;
  font-size: 1.1rem;
}

.reports-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.reports-filter-grid label {
  display: grid;
  gap: 7px;
  color: #304351;
  font-size: 0.86rem;
  font-weight: 900;
}

.reports-filter-grid input,
.reports-filter-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d9e6ed;
  border-radius: 8px;
  color: #172635;
  background: #fff;
  font-weight: 800;
}

.reports-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.reports-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 4px 0 0;
  border-bottom: 1px solid rgba(200, 162, 74, 0.28);
}

.reports-tabs button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #43515d;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.reports-tabs button.active {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 247, 229, 0.66));
}

.reports-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.reports-main-card {
  min-width: 0;
  padding: 18px;
}

.reports-table-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.reports-table-heading p {
  margin: 4px 0 0;
  color: #657380;
  font-size: 0.88rem;
}

.reports-export-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.reports-export-actions .btn {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 0.78rem;
}

.reports-table-wrap {
  overflow-x: auto;
  border: 1px solid #e1ebf0;
  border-radius: 8px;
  background: #fff;
}

.reports-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.reports-table th,
.reports-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf2f5;
  text-align: left;
  vertical-align: middle;
}

.reports-table th {
  color: #344755;
  background: #f7fbfc;
  font-size: 0.78rem;
  font-weight: 1000;
}

.reports-table tr:last-child td {
  border-bottom: 0;
}

.reports-patient-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.reports-patient-cell span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-premium), #087a78);
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 10px 20px rgba(3, 45, 52, 0.18);
}

.reports-patient-cell strong {
  color: #10253a;
  font-weight: 900;
}

.reports-money-paid {
  color: #17884d;
  font-weight: 1000;
}

.reports-money-open {
  color: #cf3f3f;
  font-weight: 1000;
}

.reports-delay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: #c14646;
  background: #fee6e6;
  font-size: 0.78rem;
  font-weight: 1000;
  white-space: nowrap;
}

.reports-row-actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.reports-row-actions .mini-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e4edf1;
  border-radius: 8px;
  color: var(--teal-premium);
  background: #fff;
  cursor: pointer;
}

.reports-row-actions .mini-btn.primary {
  color: var(--gold-deep);
  border-color: rgba(200, 162, 74, 0.42);
  background: #fff7e6;
}

.reports-row-actions svg {
  width: 17px;
  height: 17px;
}

.reports-mini-grid,
.reports-summary-detail,
.reports-export-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reports-mini-grid article,
.reports-summary-detail article,
.reports-export-panel article {
  min-height: 128px;
  padding: 20px;
  border: 1px solid #e4edf1;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #fffaf1);
}

.reports-mini-grid span,
.reports-summary-detail span {
  display: block;
  color: #61707d;
  font-weight: 900;
}

.reports-mini-grid strong,
.reports-summary-detail strong {
  display: block;
  margin-top: 8px;
  color: #07182b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.reports-mini-grid small {
  color: #78848f;
  font-weight: 800;
}

.reports-export-panel article {
  display: grid;
  gap: 10px;
  align-content: start;
}

.reports-export-panel svg {
  width: 34px;
  height: 34px;
  color: var(--gold-deep);
}

.reports-export-panel h4 {
  margin: 0;
  color: var(--teal-deep);
}

.reports-export-panel p {
  margin: 0;
  color: #63717d;
}

.reports-whatsapp-card {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.reports-whatsapp-preview {
  position: relative;
  min-height: 260px;
  padding: 18px;
  border: 1px solid #cde9c9;
  border-radius: 8px;
  background: #eefce9;
  color: #1c362d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.reports-whatsapp-preview p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.reports-whatsapp-preview small {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #557065;
  font-size: 0.76rem;
}

.reports-whatsapp-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
}

.reports-whatsapp-dot svg {
  width: 17px;
  height: 17px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 190px;
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: 28px 24px;
  border-radius: 8px;
  border: 1px solid rgba(200, 162, 74, 0.32);
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 213, 137, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fffcf7 72%, #f4fbfb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 15px 36px rgba(71, 47, 12, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
}

.dashboard-card-link {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-card-link:hover,
.dashboard-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 154, 60, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 18px 42px rgba(71, 47, 12, 0.14);
}

.dashboard-card-link:focus-visible {
  outline: 3px solid rgba(8, 126, 164, 0.18);
  outline-offset: 3px;
}

.dashboard-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 20px solid rgba(8, 126, 164, 0.05);
}

.dashboard-card svg {
  width: 32px;
  height: 32px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 14px;
  color: var(--teal-premium);
  background:
    linear-gradient(145deg, #fff7dc, #c79031 48%, #ffe9a1);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.72),
    0 9px 18px rgba(86, 56, 12, 0.12);
}

.dashboard-card span,
.dashboard-card strong {
  position: relative;
  z-index: 1;
}

.dashboard-card strong {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.25rem, 1.65vw, 1.72rem);
  line-height: 1.24;
  color: var(--teal-premium);
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.dashboard-card small {
  position: relative;
  z-index: 1;
  color: #8a681f;
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-summary-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid rgba(200, 162, 74, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #fff8ea 46%, #eef9fa 100%);
  box-shadow: 0 14px 32px rgba(71, 47, 12, 0.07);
}

.portal-summary-strip strong {
  display: block;
  margin-bottom: 4px;
  color: #10243a;
  font-weight: 950;
}

.portal-summary-strip p {
  margin: 0;
  color: var(--muted);
}

.summary-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f1c96a;
  background: linear-gradient(135deg, #073d85, #06172d);
  box-shadow: 0 14px 26px rgba(7, 61, 133, 0.22);
}

.summary-icon svg {
  width: 28px;
  height: 28px;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.data-panel {
  margin-bottom: 18px;
}

.data-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-panel {
  padding: 22px;
}

.profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-heading h3 {
  margin-bottom: 6px;
}

.profile-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.profile-photo-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fcfd;
}

.profile-avatar {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 28px rgba(8, 126, 164, 0.2);
  font-size: 2rem;
  font-weight: 1000;
}

.profile-avatar.has-photo {
  border: 4px solid white;
}

.photo-upload input {
  display: none;
}

.photo-upload span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: white;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 900;
}

.profile-photo-panel small {
  color: var(--muted);
  text-align: center;
}

.profile-form-fields {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.profile-form-fields input,
.profile-form-fields select {
  min-height: 46px;
}

.profile-form-fields textarea {
  min-height: 84px;
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: white;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: #334653;
  background: #f5fbfd;
  font-size: 0.86rem;
}

.appointments-table .appointment-actions-cell {
  width: 170px;
  min-width: 170px;
  text-align: center;
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  background: #eef9fc;
  color: var(--blue-dark);
}

.status.success {
  background: #e7f7f0;
  color: #197354;
}

.status.warning {
  background: #fff7df;
  color: #8a6812;
}

.status.danger {
  background: #fdecec;
  color: #933c3a;
}

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

.edit-return-slot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.return-availability {
  display: grid;
  gap: 10px;
}

.return-availability-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.return-selected-time {
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.return-planner {
  display: grid;
  gap: 18px;
}

.return-calendar-panel {
  display: grid;
  gap: 16px;
}

.return-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.return-calendar-toolbar h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  text-transform: capitalize;
}

.return-calendar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.return-calendar-actions .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.return-calendar-actions svg {
  width: 16px;
  height: 16px;
}

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

.return-month-summary article {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fcfd;
}

.return-month-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.return-month-summary strong {
  color: var(--blue-dark);
  font-size: 1.25rem;
  font-weight: 950;
}

.return-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.return-calendar-weekday {
  padding: 8px 4px;
  color: #41525e;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.return-calendar-day {
  min-height: 118px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  transition: 160ms ease;
}

.return-calendar-day.empty {
  border-color: transparent;
  background: transparent;
  cursor: default;
}

.return-calendar-day span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef8fc;
  font-weight: 950;
}

.return-calendar-day strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 950;
}

.return-calendar-day small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.return-calendar-day.has-return {
  border-color: rgba(8, 126, 164, 0.38);
  background: #edf9fc;
  box-shadow: inset 0 -4px 0 rgba(8, 126, 164, 0.14);
}

.return-calendar-day.selected {
  border-color: var(--blue);
  background: #e2f5fb;
  box-shadow: 0 0 0 3px rgba(8, 126, 164, 0.13);
}

.return-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.return-card-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

.return-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.return-card-head strong,
.return-card-head span {
  display: block;
}

.return-card-head strong {
  color: var(--blue-dark);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.return-card-head span {
  color: var(--muted);
  font-weight: 850;
}

.return-card-status {
  display: grid;
  justify-items: end;
  gap: 7px;
  min-width: 160px;
}

.return-card-status .status {
  max-width: 100%;
  text-align: center;
}

.return-card-status .return-countdown-line {
  justify-self: end;
  text-align: center;
}

.return-card-body {
  display: grid;
  gap: 6px;
}

.return-card-body p {
  margin: 0;
  color: #263946;
  overflow-wrap: anywhere;
}

.return-card-actions .action-row {
  justify-content: flex-start;
}

.return-search-row label {
  flex: 1 1 220px;
  min-width: 180px;
}

.return-finance-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f7fbfd;
}

.return-finance-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.finance-alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 850;
}

.finance-alert.warning {
  color: #785d1f;
  background: #fff7df;
  border: 1px solid #efdc9f;
}

.finance-alert.success {
  color: #197354;
  background: #e7f7f0;
  border: 1px solid #bfe8d8;
}

.return-total-preview {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 850;
}

.finance-situation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.finance-situation-grid article {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f7fbfd;
}

.finance-situation-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.finance-situation-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--blue-dark);
  font-size: 1.22rem;
}

.finance-situation-grid .debt {
  background: #fff7df;
  border-color: #efdc9f;
}

.finance-situation-grid .debt strong {
  color: #785d1f;
}

.finance-situation-grid .paid {
  background: #e7f7f0;
  border-color: #bfe8d8;
}

.finance-situation-grid .paid strong {
  color: #197354;
}

.finance-service-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}

.finance-service-box h3,
.finance-service-box p {
  margin-bottom: 0;
}

.finance-service-box p {
  white-space: pre-line;
}

.finance-transactions {
  margin-bottom: 14px;
}

.schedule-date-field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: #2f424f;
  font-size: 0.92rem;
  font-weight: 850;
}

.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding: 2px;
}

.date-button {
  min-height: 98px;
  display: grid;
  grid-template-rows: 18px 30px 18px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  cursor: pointer;
  transition: 160ms ease;
  padding: 9px 6px;
  overflow: hidden;
}

.date-button span,
.date-button small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: capitalize;
  line-height: 1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-button strong {
  color: var(--blue-dark);
  font-size: 1.25rem;
  line-height: 1;
}

.date-button.active {
  border-color: var(--blue);
  background: #eaf8fc;
  box-shadow: 0 0 0 3px rgba(8, 126, 164, 0.12);
}

.date-button.closed {
  color: #8c6c6b;
  background: #f8eeee;
  border-color: #edd2d1;
}

.date-button.closed strong,
.date-button.closed span,
.date-button.closed small {
  color: #9a4f4d;
}

.date-button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.slot-button {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.slot-time {
  font-size: 1rem;
}

.slot-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.slot-button.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.slot-button.active .slot-label {
  color: rgba(255, 255, 255, 0.88);
}

.slot-button:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.slot-expired {
  color: #785d1f;
  background: #fff7df;
  border-color: #efdc9f;
}

.slot-expired .slot-label {
  color: #785d1f;
}

.slot-occupied {
  color: #984542;
  background: #fdecec;
  border-color: #efc8c7;
}

.slot-occupied .slot-label {
  color: #984542;
}

.slot-closed {
  color: #7a6a6a;
  background: #f3f3f3;
  border-color: #dedede;
}

.slot-closed .slot-label {
  color: #7a6a6a;
}

.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.appointment-action-stack {
  width: 100%;
  min-width: 146px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.appointment-action-stack .mini-btn,
.appointment-action-stack .status {
  width: 146px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}

.appointment-action-stack .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.panel-title-row h3 {
  margin-bottom: 0;
}

.mini-btn {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(200, 162, 74, 0.42);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
  cursor: pointer;
  color: var(--teal-premium);
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(71, 47, 12, 0.06);
}

.mini-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.mini-btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--teal-premium), #08747a);
  border-color: rgba(242, 213, 137, 0.62);
}

.mini-btn.danger {
  color: white;
  background: linear-gradient(135deg, #a83d3b, #c65a50);
  border-color: rgba(255, 255, 255, 0.22);
}

.empty-state {
  padding: 26px;
  border: 1px dashed #b7cbd7;
  border-radius: var(--radius);
  color: var(--muted);
  background: #f8fcfd;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  max-width: min(92vw, 520px);
  padding: 13px 16px;
  border-radius: var(--radius);
  color: white;
  background: #12313f;
  box-shadow: var(--shadow);
  transition: 180ms ease;
  font-weight: 850;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast.error {
  background: var(--danger);
}

.return-reminder-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 95;
  width: min(390px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(218, 175, 84, 0.72);
  border-left: 5px solid #c99735;
  border-radius: 20px;
  color: #082c2e;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 238, 190, 0.46), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 245, 0.96));
  box-shadow:
    0 18px 42px rgba(70, 42, 18, 0.18),
    0 4px 0 rgba(180, 130, 36, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: reminderPulse 1.8s ease-in-out infinite;
}

.return-reminder-float::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 44%;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #fff2bd, #b5791d 52%, #ffe9a1);
  box-shadow: 0 9px 22px rgba(156, 104, 24, 0.26);
  transform: rotate(45deg);
}

.return-reminder-float.hidden {
  display: none;
}

.return-reminder-float.urgent {
  border-color: rgba(217, 79, 75, 0.44);
  border-left-color: #c99735;
}

.return-reminder-float.no-show {
  border-color: rgba(194, 65, 52, 0.48);
  border-left-color: #c24134;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 224, 196, 0.55), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 243, 0.97));
}

.return-reminder-float.no-show .return-reminder-title {
  color: #9f2d25;
}

.return-reminder-float.no-show .return-reminder-icon {
  color: #9f2d25;
  background: linear-gradient(145deg, #fff1e9, #f7d6c7);
}

.return-reminder-float.no-show .return-reminder-cta {
  border-color: #d2a14b;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #873026, #c24134);
}

.return-reminder-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(179, 122, 33, 0.34);
}

.return-reminder-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #087a73;
  background: linear-gradient(145deg, #fff9ec, #f6e6c7);
  box-shadow:
    0 10px 18px rgba(94, 61, 18, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.return-reminder-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.return-reminder-title {
  color: #087a73;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.return-reminder-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.return-reminder-head strong {
  display: inline-grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(145deg, #f15161, #cf2f3e);
  box-shadow: 0 9px 18px rgba(202, 49, 64, 0.22);
  font-size: 1.08rem;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(92, 0, 8, 0.26);
}

.return-reminder-close {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(218, 175, 84, 0.28);
  border-radius: 999px;
  color: #a97822;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 9px 18px rgba(70, 42, 18, 0.1);
  cursor: pointer;
  transition: 180ms ease;
}

.return-reminder-close:hover {
  color: white;
  background: linear-gradient(145deg, #b8872f, #7b4e13);
  border-color: #b8872f;
}

.return-reminder-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.8;
}

.return-reminder-body {
  display: grid;
  gap: 11px;
  animation: reminderContentFade 420ms ease;
}

.return-reminder-body > strong {
  color: #073f42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.5vw, 1.55rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.return-reminder-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #082c2e;
  font-size: 0.86rem;
  font-weight: 850;
}

.return-reminder-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.return-reminder-meta span + span {
  padding-left: 10px;
  border-left: 1px solid rgba(179, 122, 33, 0.48);
}

.return-reminder-meta svg {
  width: 18px;
  height: 18px;
  color: #d0a24c;
}

.return-reminder-service {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #087a73;
  background: linear-gradient(135deg, #e8f5ec, #dceee2);
  font-size: 0.84rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.return-reminder-service svg {
  width: 18px;
  height: 18px;
}

.return-reminder-cta {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #c99735;
  border-radius: 999px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #064245, #007d76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 24px rgba(3, 62, 65, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 1000;
  text-align: center;
  transition: 180ms ease;
}

.return-reminder-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 15px 28px rgba(3, 62, 65, 0.28);
}

.return-reminder-cta svg {
  width: 21px;
  height: 21px;
  color: #f2d589;
}

.return-reminder-cta svg:last-child {
  justify-self: end;
}

.return-reminder-sound {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid rgba(200, 162, 74, 0.42);
  border-radius: 999px;
  color: var(--teal-premium);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
  cursor: pointer;
  font-weight: 950;
}

.return-reminder-sound svg {
  width: 17px;
  height: 17px;
}

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

.return-reminder-item {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.return-reminder-item strong,
.return-reminder-item span,
.return-reminder-item small {
  overflow-wrap: anywhere;
}

.return-reminder-item span {
  color: #304756;
  font-weight: 850;
}

.return-reminder-item small {
  color: var(--muted);
  font-weight: 800;
}

@keyframes reminderPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 18px 42px rgba(70, 42, 18, 0.18),
      0 4px 0 rgba(180, 130, 36, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
  50% {
    transform: translateY(-3px);
    box-shadow:
      0 22px 50px rgba(70, 42, 18, 0.24),
      0 5px 0 rgba(180, 130, 36, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
}

@keyframes reminderContentFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 33, 43, 0.58);
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  padding: 22px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.filter-row {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filter-row label {
  min-width: 240px;
}

.appointments-premium-shell {
  display: grid;
  gap: 24px;
}

.appointments-premium-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 112px;
  padding: 10px 4px 4px;
}

.appointments-premium-hero::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -30px;
  width: 170px;
  height: 120px;
  opacity: 0.3;
  background: repeating-radial-gradient(ellipse at top left, transparent 0 16px, rgba(200, 162, 74, 0.28) 17px 18px, transparent 19px 32px);
  pointer-events: none;
}

.appointments-premium-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.appointments-premium-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  color: var(--teal-premium);
  border: 1px solid rgba(200, 162, 74, 0.34);
  background: linear-gradient(145deg, #ffffff, #fff9ed);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 26px rgba(71, 47, 12, 0.08);
}

.appointments-premium-icon svg {
  width: 32px;
  height: 32px;
}

.appointments-premium-title h3 {
  margin: 0;
  color: #003f3c;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.appointments-premium-title p {
  margin: 5px 0 0;
  color: #536878;
  font-size: 1rem;
  font-weight: 650;
}

.appointments-premium-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.appointments-premium-new {
  min-height: 58px;
  border-radius: var(--radius);
  font-size: 1.02rem;
}

.appointments-premium-new {
  min-width: 290px;
  padding-inline: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 34px rgba(3, 45, 52, 0.24),
    0 0 0 1px rgba(154, 104, 24, 0.1);
}

.appointments-premium-new svg {
  width: 22px;
  height: 22px;
}

.appointments-premium-new .appointment-new-sparkle {
  color: var(--gold-light);
}

.appointments-premium-send {
  min-height: 54px;
  border-radius: var(--radius);
  border-color: rgba(200, 162, 74, 0.38);
  color: var(--teal-premium);
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(71, 47, 12, 0.07);
}

.appointments-premium-send svg {
  width: 20px;
  height: 20px;
}

.appointment-filter-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: clamp(22px, 2.7vw, 34px);
  border: 1px solid rgba(200, 162, 74, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 46px rgba(71, 47, 12, 0.07);
}

.appointment-filter-panel::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -84px;
  width: 260px;
  height: 190px;
  opacity: 0.32;
  background: repeating-radial-gradient(ellipse at bottom right, transparent 0 18px, rgba(200, 162, 74, 0.26) 19px 20px, transparent 21px 36px);
  pointer-events: none;
}

.appointment-filter-panel > * {
  position: relative;
  z-index: 1;
}

.appointment-calendar-panel {
  gap: 24px;
}

.appointment-calendar-panel::after {
  display: none;
}

.appointment-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.appointment-filter-head strong,
.appointment-filter-head span {
  display: block;
}

.appointment-filter-head strong {
  color: #102232;
  font-size: 1.08rem;
  font-weight: 950;
}

.appointment-filter-head span {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 850;
}

.appointment-filter-head b {
  color: var(--teal-premium);
  font-weight: 1000;
}

.appointment-filter-presets {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.appointment-preset-btn {
  min-width: 116px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(200, 162, 74, 0.36);
  background: #ffffff;
  color: #a26205;
  cursor: pointer;
  font-weight: 950;
}

.appointment-preset-btn:first-child {
  border-radius: 999px 0 0 999px;
}

.appointment-preset-btn:last-child {
  border-radius: 0 999px 999px 0;
}

.appointment-preset-btn.active {
  color: #0a5f59;
  border-color: rgba(200, 162, 74, 0.58);
  background: #fffaf1;
  box-shadow: inset 0 0 0 2px rgba(200, 162, 74, 0.1);
}

.appointment-date-filter-row {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(190px, 260px) auto auto auto;
  align-items: end;
  gap: 18px;
}

.appointment-date-filter-row label {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: #08293d;
  font-weight: 900;
}

.appointment-date-input-wrap {
  position: relative;
  display: block;
}

.appointment-date-input-wrap input {
  width: 100%;
  min-height: 58px;
  padding: 0 50px 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #08293d;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 33, 43, 0.06);
  font-size: 1rem;
  font-weight: 900;
}

.appointment-date-input-wrap input::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.appointment-date-picker-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #08293d;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.appointment-date-picker-btn:hover {
  background: #eef8f2;
}

.appointment-date-picker-btn svg {
  width: 22px;
  height: 22px;
  color: #08293d;
}

.appointment-filter-divider {
  width: 1px;
  height: 52px;
  align-self: end;
  background: rgba(220, 232, 238, 0.95);
}

.appointment-filter-submit,
.appointment-today-btn {
  min-height: 56px;
  padding-inline: 22px;
  border-radius: var(--radius);
}

.appointment-calendar-control-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.appointment-month-field {
  display: grid;
  gap: 7px;
  width: min(100%, 300px);
}

.appointment-month-field > span {
  color: #af6d09;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.appointment-month-select {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(200, 162, 74, 0.36);
  border-radius: 8px;
  color: #102232;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(71, 47, 12, 0.06);
}

.appointment-month-select select {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  color: #102232;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

.appointment-month-select select::-ms-expand {
  display: none;
}

.appointment-month-select svg {
  width: 18px;
  height: 18px;
  color: #0a5f59;
  pointer-events: none;
}

.appointment-month-chevron {
  justify-self: end;
}

.appointment-calendar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.appointment-calendar-actions .mini-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-inline: 18px;
  border-radius: 999px;
  border-color: rgba(200, 162, 74, 0.38);
  background: #ffffff;
  color: #102232;
  box-shadow: 0 12px 22px rgba(71, 47, 12, 0.06);
}

.appointment-calendar-actions .mini-btn.primary {
  color: #ffffff;
  border-color: #0a5f59;
  background: linear-gradient(135deg, var(--teal-premium), #08747a);
  box-shadow: 0 14px 24px rgba(3, 45, 52, 0.18);
}

.appointment-calendar-actions svg {
  width: 16px;
  height: 16px;
}

.appointment-calendar-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.appointment-summary-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 33, 43, 0.05);
}

.appointment-summary-card.success {
  border-color: rgba(47, 159, 117, 0.28);
  background: linear-gradient(135deg, #ffffff, #f4fcf7);
}

.appointment-summary-card.warning {
  border-color: rgba(200, 162, 74, 0.34);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
}

.appointment-summary-card.info {
  border-color: rgba(8, 126, 164, 0.23);
  background: linear-gradient(135deg, #ffffff, #f4fbff);
}

.appointment-summary-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #08714e;
  background: #e5f8ed;
}

.appointment-summary-card.warning .appointment-summary-icon {
  color: #a26205;
  background: #fff3dd;
}

.appointment-summary-card.info .appointment-summary-icon {
  color: #087ea4;
  background: #e5f5fc;
}

.appointment-summary-icon svg {
  width: 30px;
  height: 30px;
}

.appointment-summary-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.appointment-summary-copy em {
  color: #102232;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 850;
}

.appointment-summary-copy strong {
  color: #102232;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  font-weight: 1000;
  line-height: 1;
}

.appointment-summary-copy small {
  color: #0b7d55;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: capitalize;
}

.appointment-summary-card.warning .appointment-summary-copy small {
  color: #a26205;
}

.appointment-summary-card.info .appointment-summary-copy small {
  color: var(--muted);
}

.appointment-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.appointment-calendar-weekday {
  padding: 5px 4px 8px;
  color: #af6d09;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.appointment-calendar-day {
  min-height: 118px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(200, 162, 74, 0.36);
  border-radius: 8px;
  color: #102232;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.appointment-calendar-day.empty {
  border-color: rgba(200, 162, 74, 0.26);
  background: rgba(255, 255, 255, 0.7);
  cursor: default;
}

.appointment-calendar-day:not(.empty):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 33, 43, 0.08);
}

.appointment-calendar-day span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #102232;
  background: transparent;
  font-weight: 950;
}

.appointment-calendar-day strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #08714e;
  font-weight: 950;
  box-shadow: 0 6px 12px rgba(8, 113, 78, 0.22);
}

.appointment-calendar-day small {
  color: #102232;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.appointment-calendar-day.has-appointment {
  border-color: rgba(200, 162, 74, 0.48);
  background: #ffffff;
  box-shadow: none;
}

.appointment-calendar-day.today span {
  color: #a26205;
  border: 2px solid rgba(200, 162, 74, 0.9);
  background: #fffaf1;
}

.appointment-calendar-day.selected {
  border-color: #16965f;
  background: #f3fbf6;
  box-shadow:
    0 0 0 2px rgba(47, 159, 117, 0.1),
    0 16px 30px rgba(18, 33, 43, 0.08);
}

.appointment-calendar-day.selected span {
  color: #102232;
  border-color: transparent;
  background: transparent;
}

.appointment-day-panel {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #fbfdfe);
  box-shadow: 0 18px 42px rgba(18, 33, 43, 0.06);
}

.appointment-day-panel .panel-title-row h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.appointment-status-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 18px;
}

.appointment-status-filter {
  position: relative;
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 56px 18px 18px;
  border: 1px solid rgba(220, 232, 238, 0.92);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 33, 43, 0.06);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.appointment-status-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 33, 43, 0.08);
}

.appointment-status-filter.active {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(18, 33, 43, 0.1),
    0 0 0 3px rgba(200, 162, 74, 0.12),
    inset 4px 0 0 rgba(200, 162, 74, 0.82);
}

.appointment-status-filter.active.success {
  border-color: rgba(47, 159, 117, 0.34);
  box-shadow:
    0 18px 34px rgba(18, 33, 43, 0.1),
    0 0 0 3px rgba(47, 159, 117, 0.14),
    inset 4px 0 0 rgba(47, 159, 117, 0.86);
}

.appointment-status-filter.active.warning {
  border-color: rgba(200, 162, 74, 0.42);
  box-shadow:
    0 18px 34px rgba(18, 33, 43, 0.1),
    0 0 0 3px rgba(200, 162, 74, 0.14),
    inset 4px 0 0 rgba(200, 162, 74, 0.86);
}

.appointment-status-filter.active.info {
  border-color: rgba(8, 126, 164, 0.28);
  box-shadow:
    0 18px 34px rgba(18, 33, 43, 0.1),
    0 0 0 3px rgba(8, 126, 164, 0.13),
    inset 4px 0 0 rgba(8, 126, 164, 0.72);
}

.appointment-status-filter.active.neutral {
  border-color: rgba(104, 109, 114, 0.26);
  box-shadow:
    0 18px 34px rgba(18, 33, 43, 0.1),
    0 0 0 3px rgba(104, 109, 114, 0.1),
    inset 4px 0 0 rgba(104, 109, 114, 0.58);
}

.appointment-status-filter input {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.appointment-status-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  color: #6f7378;
  background: #f3f4f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.appointment-status-filter.success .appointment-status-icon {
  color: #08714e;
  background: #ddf4e9;
}

.appointment-status-filter.warning .appointment-status-icon {
  color: #a77a08;
  background: #fff5df;
}

.appointment-status-filter.info .appointment-status-icon {
  color: var(--blue);
  background: #e5f5fc;
}

.appointment-status-filter.neutral .appointment-status-icon {
  color: #686d72;
  background: #f1f1f1;
}

.appointment-status-icon svg {
  width: 32px;
  height: 32px;
}

.appointment-status-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-right: 4px;
}

.appointment-status-filter strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.28;
}

.appointment-status-copy em {
  display: block;
  width: min(70px, 100%);
  height: 2px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, rgba(47, 159, 117, 0.36) 50%, transparent 50%);
  background-size: 10px 2px;
  font-style: normal;
}

.appointment-status-filter small {
  position: absolute;
  right: 16px;
  bottom: 18px;
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #edf7fb;
  font-weight: 900;
  text-align: center;
  z-index: 2;
}

.appointment-status-filter.success small {
  color: #08714e;
  background: #ddf4e9;
}

.appointment-status-filter.warning small {
  color: #a77a08;
  background: #fff5df;
}

.appointment-status-filter.neutral small {
  color: #5d6368;
  background: #eeeeee;
}

.appointments-premium-shell #admin-appointments-table {
  display: grid;
  gap: 12px;
}

.admin-schedule-board {
  overflow: auto;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 33, 43, 0.08);
}

.admin-schedule-head,
.admin-schedule-row {
  min-width: 980px;
  display: grid;
  grid-template-columns: 140px minmax(230px, 1.4fr) minmax(220px, 1.15fr) minmax(150px, 0.75fr) 170px;
  align-items: center;
}

.admin-schedule-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 48px;
  color: #67758a;
  background: #f8fafc;
  border-bottom: 1px solid rgba(220, 232, 238, 0.95);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-schedule-head span {
  padding: 0 18px;
}

.admin-schedule-list {
  display: grid;
}

.admin-schedule-row {
  min-height: 82px;
  border-bottom: 1px solid rgba(220, 232, 238, 0.95);
  background: #ffffff;
}

.admin-schedule-row:last-child {
  border-bottom: 0;
}

.admin-schedule-row:hover {
  background: #fbfdfe;
}

.admin-schedule-row > * {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-right: 1px solid rgba(220, 232, 238, 0.8);
}

.admin-schedule-row > *:last-child {
  border-right: 0;
}

.admin-schedule-row.is-canceled {
  opacity: 0.72;
}

.admin-schedule-time {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: center;
  column-gap: 7px;
  row-gap: 3px;
  color: #0b70bc;
  font-weight: 950;
  text-align: center;
}

.admin-schedule-time svg {
  width: 16px;
  height: 16px;
  align-self: center;
}

.admin-schedule-time strong {
  white-space: nowrap;
}

.admin-schedule-time small {
  display: block;
  grid-column: 1 / -1;
  width: auto;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.admin-schedule-client,
.admin-schedule-procedure {
  gap: 12px;
}

.admin-schedule-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  background: #e8f5f2;
  box-shadow: 0 8px 18px rgba(18, 33, 43, 0.14);
}

.admin-schedule-avatar.fallback {
  background: #e8f5f2;
}

.admin-schedule-client span,
.admin-schedule-procedure span {
  min-width: 0;
}

.admin-schedule-client strong,
.admin-schedule-procedure strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-schedule-client small,
.admin-schedule-procedure small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-schedule-procedure-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #087a55;
  background: #e9f8ef;
}

.admin-schedule-procedure-icon svg {
  width: 21px;
  height: 21px;
}

/* Miniatura da foto do serviço na coluna "Procedimento" */
.admin-schedule-procedure-icon.has-photo {
  padding: 0;
  overflow: hidden;
  background: #f2f4f7;
}

.admin-schedule-procedure-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.admin-schedule-status {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.admin-schedule-status svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.admin-schedule-status.confirmed {
  color: #08714e;
  background: #ddf4e9;
}

.admin-schedule-status.return {
  color: #075db0;
  background: #e6f3ff;
}

.admin-schedule-status.pending {
  color: #8c6509;
  background: #fff3d6;
}

.admin-schedule-status.finished {
  color: #087ea4;
  background: #e5f5fc;
}

.admin-schedule-status.canceled {
  color: #9f3a3a;
  background: #fde7e6;
}

.admin-schedule-actions {
  justify-content: center;
}

.admin-schedule-actions .appointment-action-stack {
  min-width: 0;
  gap: 6px;
}

.admin-schedule-actions .appointment-action-stack .mini-btn,
.admin-schedule-actions .appointment-action-stack .status {
  width: 132px;
  min-height: 30px;
  font-size: 0.76rem;
}

.patient-search-row label {
  flex: 1 1 420px;
  max-width: 620px;
}

.history-search-row label {
  flex: 1 1 420px;
  max-width: 620px;
}

.history-patient-results {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

.history-patient-chip {
  min-height: 54px;
  display: inline-grid;
  gap: 2px;
  justify-items: start;
  padding: 9px 14px;
  border: 1px solid rgba(16, 148, 170, 0.24);
  border-radius: 14px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, #f3fbfd);
  box-shadow: 0 10px 24px rgba(18, 33, 43, 0.07);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.history-patient-chip span {
  font-weight: 900;
}

.history-patient-chip small {
  color: var(--muted);
  font-weight: 750;
}

.history-patient-chip.active {
  color: white;
  border-color: #c99a3c;
  background: linear-gradient(135deg, #064245, #008177);
}

.history-patient-chip.active small {
  color: rgba(255, 255, 255, 0.82);
}

.history-patient-panel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(201, 154, 60, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 60, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.82);
}

.history-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.history-detail-grid article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.history-detail-grid h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 950;
}

.history-detail-grid h4 svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.compact-table-wrap table {
  min-width: 620px;
}

.dashboard-filter-row {
  margin-bottom: 22px;
}

.dashboard-filter-row label {
  min-width: 220px;
}

.finance-filter-row label {
  min-width: 170px;
}

.finance-filter-row {
  display: grid;
  gap: 12px;
}

.finance-filter-main,
.finance-filter-report-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.finance-filter-main .btn,
.finance-filter-report-actions .btn {
  min-height: 48px;
  white-space: nowrap;
}

.finance-period-btn.active {
  color: #fff;
  border-color: rgba(242, 213, 137, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, var(--teal-premium), #08747a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(3, 45, 52, 0.2),
    0 0 0 3px rgba(8, 126, 164, 0.12);
}

.finance-ledger-grid h3 {
  margin-bottom: 14px;
}

.finance-entry-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid rgba(200, 162, 74, 0.68);
  border-radius: 14px;
  background:
    radial-gradient(circle at 94% 8%, rgba(242, 213, 137, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 250, 242, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 48px rgba(71, 47, 12, 0.1);
}

.finance-entry-panel-expense {
  border-color: rgba(191, 82, 90, 0.46);
  background:
    radial-gradient(circle at 94% 8%, rgba(191, 82, 90, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 246, 246, 0.9));
}

.finance-entry-corner {
  position: absolute;
  top: -1px;
  right: 20px;
  width: 112px;
  height: 68px;
  border-right: 1px solid rgba(200, 162, 74, 0.62);
  border-bottom: 1px solid rgba(200, 162, 74, 0.5);
  border-bottom-right-radius: 28px;
  opacity: 0.8;
}

.finance-entry-corner::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -28px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, transparent 38%, rgba(200, 162, 74, 0.95) 39% 58%, transparent 59%);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.finance-entry-panel-expense .finance-entry-corner {
  border-color: rgba(191, 82, 90, 0.44);
}

.finance-entry-panel-expense .finance-entry-corner::after {
  background: linear-gradient(135deg, transparent 38%, rgba(191, 82, 90, 0.95) 39% 58%, transparent 59%);
}

.finance-entry-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  margin-bottom: clamp(22px, 2.4vw, 34px);
}

.finance-entry-icon {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold-deep);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.58), transparent 32%),
    linear-gradient(145deg, rgba(255, 249, 235, 0.98), rgba(242, 213, 137, 0.46));
  border: 1px solid rgba(200, 162, 74, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 28px rgba(71, 47, 12, 0.12);
}

.finance-entry-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.8;
}

.finance-entry-panel-expense .finance-entry-icon {
  color: #b94d59;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.62), transparent 32%),
    linear-gradient(145deg, rgba(255, 242, 242, 0.98), rgba(191, 82, 90, 0.22));
  border-color: rgba(191, 82, 90, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 28px rgba(128, 41, 49, 0.1);
}

.finance-entry-heading {
  min-width: 0;
}

.finance-entry-heading h3 {
  margin: 0;
  color: #2a2016;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.finance-entry-heading p {
  margin: 9px 0 0;
  color: #5f5549;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
}

.finance-entry-heading::after {
  content: "";
  display: block;
  width: min(320px, 80vw);
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.62), rgba(200, 162, 74, 0.16), transparent);
}

.finance-entry-panel-expense .finance-entry-heading::after {
  background: linear-gradient(90deg, rgba(191, 82, 90, 0.54), rgba(191, 82, 90, 0.16), transparent);
}

.finance-entry-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(145px, 0.78fr) minmax(145px, 0.78fr) minmax(185px, 1fr) minmax(180px, auto);
  gap: clamp(14px, 1.3vw, 20px);
  align-items: end;
}

.finance-entry-field {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.finance-entry-field span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2a2016;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-weight: 800;
}

.finance-entry-field span svg {
  width: 23px;
  height: 23px;
  color: var(--gold-deep);
  stroke-width: 2;
}

.finance-entry-panel-expense .finance-entry-field span svg {
  color: #bd4f5a;
}

.finance-entry-field input,
.finance-entry-field select {
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(200, 162, 74, 0.36);
  border-radius: 8px;
  color: #1c2b35;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 24px rgba(71, 47, 12, 0.06);
  font-size: 1rem;
  font-weight: 800;
}

.finance-entry-panel-expense .finance-entry-field input,
.finance-entry-panel-expense .finance-entry-field select {
  border-color: rgba(191, 82, 90, 0.26);
}

.finance-entry-field input:focus,
.finance-entry-field select:focus {
  border-color: rgba(200, 162, 74, 0.82);
  box-shadow:
    0 0 0 4px rgba(242, 213, 137, 0.16),
    0 14px 26px rgba(71, 47, 12, 0.08);
}

.finance-entry-panel-expense .finance-entry-field input:focus,
.finance-entry-panel-expense .finance-entry-field select:focus {
  border-color: rgba(191, 82, 90, 0.62);
  box-shadow:
    0 0 0 4px rgba(191, 82, 90, 0.11),
    0 14px 26px rgba(128, 41, 49, 0.07);
}

.finance-entry-submit {
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid rgba(242, 213, 137, 0.72);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 44%),
    linear-gradient(135deg, var(--teal-premium), #08777b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 28px rgba(3, 45, 52, 0.2);
  font-size: 1.02rem;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

.finance-entry-submit span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #f8d889;
  border: 1px solid rgba(242, 213, 137, 0.76);
}

.finance-entry-submit span svg {
  width: 21px;
  height: 21px;
}

.finance-entry-panel-expense .finance-entry-submit {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 44%),
    linear-gradient(135deg, #a12b3c, #851c31);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 28px rgba(128, 41, 49, 0.2);
}

.finance-security-strip {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid rgba(200, 162, 74, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 40%, rgba(242, 213, 137, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 250, 242, 0.82));
  box-shadow: 0 16px 34px rgba(71, 47, 12, 0.08);
}

.finance-security-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--gold-deep);
  background: rgba(242, 213, 137, 0.2);
}

.finance-security-strip strong {
  display: block;
  color: #2a2016;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
}

.finance-security-strip p {
  margin: 4px 0 0;
  color: #5f6871;
}

.finance-security-art {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(200, 162, 74, 0.86);
}

.finance-security-art svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.8;
}

.finance-table-title {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
}

.finance-table-title:first-child {
  margin-top: 0;
}

.finance-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.finance-ledger-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.finance-ledger-grid .data-panel {
  min-width: 0;
}

.client-picker {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.client-picker-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.client-search-field {
  min-width: 0;
}

.selected-client-card,
.client-result-item,
.quick-patient-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fcfd;
}

.selected-client-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: var(--muted);
  font-weight: 850;
}

.selected-client-card.selected {
  color: var(--ink);
  background: #edf8f5;
  border-color: #bde4d7;
}

.selected-client-card strong,
.selected-client-card span {
  display: block;
}

.client-access-box {
  min-width: 210px;
  color: var(--blue-dark);
  text-align: right;
}

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

.client-result-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.client-result-item:hover {
  border-color: var(--blue);
  background: #eefaff;
}

.client-result-item strong,
.client-result-item span {
  display: block;
}

.quick-patient-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: white;
}

.quick-patient-panel.hidden {
  display: none;
}

.quick-patient-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-insurance-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.table-link {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.table-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.selected-row {
  background: #eef8fc;
}

.patients-premium-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid rgba(200, 162, 74, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 246, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 46px rgba(71, 47, 12, 0.08);
}

.patients-premium-panel::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -12px;
  width: 220px;
  height: 150px;
  opacity: 0.36;
  background:
    repeating-radial-gradient(ellipse at top right, transparent 0 18px, rgba(200, 162, 74, 0.32) 19px 20px, transparent 21px 36px),
    radial-gradient(circle at 70% 22%, rgba(200, 162, 74, 0.55) 0 2px, transparent 3px);
  background-size: auto, 22px 22px;
  pointer-events: none;
}

.patients-premium-header,
.patients-premium-toolbar,
.patients-premium-table,
.patients-premium-footer,
.patient-detail-panel {
  position: relative;
  z-index: 1;
}

.patients-premium-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.patients-premium-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.patients-premium-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--teal-premium);
  border: 1px solid rgba(200, 162, 74, 0.28);
  background: linear-gradient(145deg, #ffffff, #f5efe5);
  box-shadow: 0 14px 24px rgba(71, 47, 12, 0.1);
}

.patients-premium-icon svg {
  width: 28px;
  height: 28px;
}

.patients-premium-title h3 {
  margin: 0;
  color: var(--teal-deep);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.patients-premium-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.patients-premium-counter {
  align-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--teal-premium);
  background: #eef8f2;
  border: 1px solid rgba(47, 159, 117, 0.18);
  font-weight: 900;
}

.patients-premium-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  margin: 28px 0 26px;
}

.patient-premium-search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 33, 43, 0.08);
}

.patient-premium-search-field svg {
  width: 24px;
  height: 24px;
  color: #6f7a83;
}

.patient-premium-search-field input {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.patient-premium-search-field input::placeholder {
  color: #8b949c;
  font-weight: 700;
}

.patient-premium-search-btn,
.patient-premium-new-btn,
.patient-premium-print-btn {
  min-height: 62px;
  padding-inline: 24px;
}

.patients-premium-table {
  overflow-x: auto;
  border: 1px solid rgba(220, 232, 238, 0.92);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 38px rgba(18, 33, 43, 0.08);
}

.patient-grid {
  display: grid;
  grid-template-columns:
    minmax(250px, 1.35fr)
    minmax(180px, 0.8fr)
    minmax(250px, 1.15fr)
    minmax(120px, 0.55fr)
    minmax(170px, 0.75fr);
  gap: 18px;
  min-width: 1010px;
}

.patients-premium-table-head {
  min-height: 58px;
  align-items: center;
  padding: 0 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, var(--teal-deep), #075f64);
  font-size: 0.86rem;
  font-weight: 950;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.premium-patient-row {
  align-items: center;
  min-height: 132px;
  padding: 18px;
  border-bottom: 1px solid rgba(220, 232, 238, 0.86);
  background: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.premium-patient-row:last-child {
  border-bottom: 0;
}

.premium-patient-row:hover,
.premium-patient-row.selected {
  background: linear-gradient(135deg, #ffffff, #f7fcfa);
  box-shadow: inset 4px 0 0 rgba(200, 162, 74, 0.9);
}

.patient-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #17303d;
  font-weight: 700;
}

.patient-main-cell {
  gap: 14px;
}

.patient-avatar-button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.patient-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--gold-light);
  border: 3px solid rgba(200, 162, 74, 0.92);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(145deg, var(--teal-premium), #075c62);
  box-shadow: 0 10px 20px rgba(3, 45, 52, 0.18);
  font-size: 1.08rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.patient-name-link {
  max-width: 100%;
  color: var(--teal-premium);
  font-size: 0.98rem;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.patient-name-link:hover {
  color: var(--blue);
  text-decoration: none;
}

.patient-info-cell {
  gap: 12px;
}

.patient-info-cell > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.patient-info-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--teal-premium);
  background: #e7f7f3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.patient-info-icon svg {
  width: 18px;
  height: 18px;
}

.patient-status-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.58;
}

.patient-created-cell small {
  display: block;
  margin-top: 2px;
  color: #5e7280;
  font-size: 0.85rem;
  font-weight: 800;
}

.premium-patient-actions {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(220, 232, 238, 0.95);
}

.premium-patient-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 162, 74, 0.34);
  color: var(--teal-premium);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
  box-shadow: 0 10px 18px rgba(71, 47, 12, 0.06);
  cursor: pointer;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.premium-patient-action.primary {
  min-height: 54px;
  color: white;
  border-color: rgba(242, 213, 137, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, var(--teal-premium), #08747a);
  box-shadow: 0 12px 24px rgba(3, 45, 52, 0.2);
}

.premium-patient-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.patients-premium-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.patient-pagination-info {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.patient-page-controls {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  min-height: 56px;
  padding: 7px 12px;
  border: 1px solid rgba(220, 232, 238, 0.9);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 33, 43, 0.07);
}

.patient-page-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--gold-deep);
  background: transparent;
  cursor: pointer;
}

.patient-page-btn:disabled {
  color: #c7cbd0;
  cursor: not-allowed;
}

.patient-page-btn svg {
  width: 20px;
  height: 20px;
}

.patient-page-current {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--teal-premium), #075f64);
  box-shadow: 0 10px 18px rgba(3, 45, 52, 0.2);
  font-weight: 950;
}

.patient-page-size {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
}

.patient-page-size select {
  min-height: 52px;
  min-width: 160px;
  appearance: none;
  padding: 0 44px 0 18px;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: var(--radius);
  color: #17303d;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 33, 43, 0.06);
  font-weight: 800;
}

.patient-page-size svg {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  pointer-events: none;
}

.dashboard-target-highlight {
  outline: 2px solid rgba(8, 126, 164, 0.28);
  outline-offset: -2px;
}

.patient-detail-panel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.patient-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.patient-detail-head h4 {
  margin: 4px 0 6px;
  color: #05264b;
  font-size: 1.35rem;
}

.section-kicker {
  color: #b58735;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.patient-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.patient-detail-grid div {
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fcfd;
}

.patient-detail-grid strong {
  color: #2f424f;
  font-size: 0.82rem;
}

.patient-detail-grid span {
  color: var(--blue-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.patient-detail-grid .patient-return-summary {
  display: grid;
  gap: 7px;
  align-content: start;
}

.patient-detail-grid .patient-return-summary .status {
  width: fit-content;
  max-width: 100%;
}

.return-countdown-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  color: #785d1f;
  background: #fff7df;
  border: 1px solid #efdc9f;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.settings-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

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

/* ===== Configurações em abas ===== */
.wm-set-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border, #e6e9f2);
}

.wm-set-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(8, 126, 164, 0.22);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink, #12212b);
  cursor: pointer;
  transition: 160ms ease;
}

.wm-set-tab:hover {
  border-color: rgba(8, 126, 164, 0.55);
}

.wm-set-tab.is-active {
  background: var(--blue, #087ea4);
  border-color: transparent;
  color: #fff;
}

.wm-set-tab svg {
  width: 16px;
  height: 16px;
}

.wm-set-save {
  margin-top: 18px;
}

.settings-phone-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(8, 126, 164, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(248, 252, 253, 0.96), rgba(255, 252, 246, 0.98));
}

.settings-phone-row label {
  min-width: 0;
}

.settings-phone-input {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  min-height: 54px;
  font-size: 1rem;
}

.settings-backup-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(200, 162, 74, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 213, 137, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(247, 252, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(71, 47, 12, 0.08);
}

.settings-backup-panel::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 180px;
  height: 140px;
  opacity: 0.3;
  background:
    repeating-radial-gradient(ellipse at center, rgba(200, 162, 74, 0.52) 0 1px, transparent 1px 12px);
}

.settings-backup-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.settings-backup-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold-deep);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.58), transparent 34%),
    linear-gradient(145deg, rgba(255, 249, 235, 0.98), rgba(242, 213, 137, 0.46));
  border: 1px solid rgba(200, 162, 74, 0.42);
  box-shadow: 0 12px 24px rgba(71, 47, 12, 0.1);
}

.settings-backup-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.9;
}

.settings-backup-panel h4 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.settings-backup-panel p {
  max-width: 720px;
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.38;
}

.settings-backup-panel .btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-width: 150px;
}

.settings-toggle-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(201, 154, 60, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 60, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, #f7fcfc);
}

.settings-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-width: 0;
}

.settings-toggle-row input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--teal-premium);
}

.settings-toggle-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.settings-toggle-row strong {
  color: var(--navy);
  font-size: 1rem;
}

.settings-toggle-row small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.whatsapp-settings-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fcfd;
}

.whatsapp-settings-head,
.whatsapp-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.whatsapp-settings-head h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #05264b;
}

.whatsapp-settings-head p,
.whatsapp-error {
  margin: 0;
  color: var(--muted);
}

.whatsapp-settings-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: center;
}

.whatsapp-qr-area {
  min-height: 252px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(8, 126, 164, 0.35);
  border-radius: 8px;
  background: #ffffff;
}

.whatsapp-qr {
  width: 240px;
  max-width: 100%;
}

.whatsapp-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

.whatsapp-qr-placeholder {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-dark);
  background: #edf7fb;
}

.whatsapp-qr-placeholder svg {
  width: 38px;
  height: 38px;
}

.whatsapp-settings-actions {
  display: grid;
  gap: 10px;
}

.assistant-settings-panel,
.service-settings-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fcfd;
}

.assistant-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.assistant-settings-head h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #05264b;
}

.assistant-settings-head p {
  margin: 0;
  color: var(--muted);
}

.assistant-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.service-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.4fr) auto;
  gap: 12px;
  align-items: end;
}

.service-table-shell {
  max-height: 520px;
  overflow: auto;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(18, 33, 43, 0.05);
}

.service-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 680px;
}

.service-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 13px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #063f46, #06766e);
  font-size: 0.84rem;
  text-align: left;
  letter-spacing: 0;
}

.service-table th:first-child {
  border-top-left-radius: 8px;
}

.service-table th:last-child {
  width: 190px;
  border-top-right-radius: 8px;
  text-align: right;
}

.service-table th:nth-child(2) {
  width: 170px;
}

.service-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(220, 232, 238, 0.9);
  vertical-align: middle;
}

.service-table tr:last-child td {
  border-bottom: 0;
}

.service-table tr:hover td {
  background: #f8fcfd;
}

.service-table tr.inactive {
  opacity: 0.72;
}

.service-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.service-name-cell strong {
  color: var(--navy);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-thumb-wrap {
  position: relative;
  width: 58px;
  height: 76px;
  flex: 0 0 auto;
}

.service-thumb {
  width: 58px;
  height: 76px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: #e8f5f2;
  box-shadow: 0 8px 18px rgba(18, 33, 43, 0.12);
}

.service-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--teal-premium);
}

.service-thumb.empty svg {
  width: 22px;
  height: 22px;
}

.service-thumb-wrap > span {
  position: absolute;
  left: -7px;
  top: -7px;
  min-width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  background: #082b67;
  font-size: 0.76rem;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(18, 33, 43, 0.16);
}

.service-price-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #efdc9f;
  border-radius: 999px;
  color: #785d1f;
  background: #fff7df;
  font-weight: 950;
  white-space: nowrap;
}

.service-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.service-row-actions .mini-btn {
  min-width: 82px;
}

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

.assistant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 8px;
  background: #ffffff;
}

.assistant-card.inactive {
  opacity: 0.74;
  background: #fbfbfb;
}

.assistant-card strong,
.assistant-card span,
.assistant-card small {
  display: block;
}

.assistant-card strong {
  color: var(--teal-premium);
}

.assistant-card span,
.assistant-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.assistant-card-side {
  display: grid;
  justify-items: end;
  gap: 7px;
  min-width: 150px;
}

.assistant-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.finish-service-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(8, 126, 164, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #f7fcfc);
}

.finish-service-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.finish-service-group-head strong {
  color: var(--ink);
  font-weight: 950;
}

.finish-service-list {
  display: grid;
  gap: 10px;
}

.finish-service-picker {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(170px, 0.36fr) auto;
  gap: 12px;
  padding: 0;
  align-items: end;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.finish-service-remove {
  min-width: 44px;
  height: 44px;
  padding-inline: 0;
  align-self: end;
}

.finish-service-remove svg {
  width: 18px;
  height: 18px;
}

.finish-service-picker + .finish-service-picker {
  padding-top: 10px;
  border-top: 1px solid rgba(220, 232, 238, 0.95);
}

.finish-service-preview {
  width: 78px;
  height: 104px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.finish-service-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.finish-service-preview span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-premium);
  background: #e8f5f2;
}

.finish-service-preview svg {
  width: 21px;
  height: 21px;
}

.finish-service-picker label {
  margin: 0;
}

.finish-service-picker input[disabled] {
  color: var(--teal-premium);
  font-weight: 950;
  background: #ffffff;
}

.finish-product-offer-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #fffaf1);
}

.finish-product-offer-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.finish-product-offer-head strong,
.finish-product-offer-head span {
  display: block;
}

.finish-product-offer-head strong {
  color: #05264b;
}

.finish-product-offer-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.finish-product-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.finish-product-card:hover,
.finish-product-card.active {
  transform: translateY(-2px);
  border-color: rgba(8, 126, 164, 0.36);
  box-shadow:
    0 14px 24px rgba(18, 33, 43, 0.1),
    0 0 0 3px rgba(8, 126, 164, 0.11);
}

.finish-product-card.active {
  box-shadow:
    0 16px 28px rgba(18, 33, 43, 0.12),
    0 0 0 3px rgba(47, 159, 117, 0.16),
    inset 4px 0 0 rgba(47, 159, 117, 0.86);
}

.finish-product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #eef7fb;
}

.finish-product-card strong,
.finish-product-card small {
  display: block;
}

.finish-product-card strong {
  color: var(--teal-premium);
  line-height: 1.2;
}

.finish-product-card small {
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.2;
}

.finish-product-sale-fields {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(220, 232, 238, 0.95);
}

.product-commission-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 8px 10px;
  border-radius: 999px;
  color: #785d1f;
  background: #fff7df;
  border: 1px solid #efdc9f;
  font-size: 0.86rem;
  font-weight: 900;
}

.product-commission-note svg {
  width: 17px;
  height: 17px;
}

.finish-payment-summary,
.finish-total-field {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(201, 154, 60, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(201, 154, 60, 0.13), transparent 34%),
    linear-gradient(145deg, #ffffff, #fffaf1);
}

.finish-payment-summary label,
.finish-total-field label {
  margin: 0;
}

.finish-payment-summary input[disabled],
.finish-total-field input[disabled] {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 950;
  background: #ffffff;
}

.finish-payment-summary [name="amountPaid"] {
  color: var(--teal-premium);
  font-size: 1.08rem;
  font-weight: 950;
}

.payment-lines-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(13, 118, 111, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(13, 118, 111, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.96));
}

.payment-lines-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-lines-head strong,
.payment-lines-head span {
  display: block;
}

.payment-lines-head strong {
  color: var(--teal-premium);
  font-size: 1.02rem;
}

.payment-lines-head span {
  max-width: 560px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.payment-lines-list {
  display: grid;
  gap: 10px;
}

.payment-line-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(220, 232, 238, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.payment-line-row label {
  margin: 0;
}

.payment-line-row .payment-line-remove {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 8px;
}

.payment-lines-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 118, 111, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(13, 78, 74, 0.07);
}

.payment-lines-total span {
  color: var(--muted);
  font-weight: 900;
}

.payment-lines-total strong {
  color: var(--teal-premium);
  font-size: 1.22rem;
  font-weight: 950;
  white-space: nowrap;
}

.whatsapp-error {
  color: var(--danger);
  font-weight: 700;
}

.whatsapp-chat-panel {
  display: grid;
  gap: 14px;
}

.whatsapp-message-list {
  max-height: 360px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fcfd;
}

.whatsapp-message {
  max-width: min(78%, 520px);
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.35;
}

.whatsapp-message.from-me {
  align-self: end;
  color: white;
  background: var(--blue-dark);
}

.whatsapp-message.from-client {
  align-self: start;
  border: 1px solid var(--border);
  background: #ffffff;
}

.whatsapp-message small {
  color: inherit;
  opacity: 0.72;
  font-size: 0.78rem;
}

.whatsapp-chat-form {
  display: grid;
  gap: 10px;
}

@media (max-width: 1040px) {
  .reports-premium-header,
  .reports-table-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .reports-summary-head {
    align-items: center;
    flex-direction: column;
  }

  .reports-summary-toolbar {
    justify-content: flex-start;
    width: 100%;
  }

  .reports-date-pill,
  .reports-filter-pill {
    flex: 1 1 240px;
  }

  .reports-header-actions,
  .reports-export-actions,
  .reports-filter-actions {
    justify-content: flex-start;
  }

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

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

  .settings-backup-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-backup-panel .btn {
    width: 100%;
  }

  .finance-entry-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-entry-submit {
    width: 100%;
  }

  .reports-workspace {
    grid-template-columns: 1fr;
  }

  .reports-whatsapp-card {
    position: static;
  }

  .reports-mini-grid,
  .reports-summary-detail,
  .reports-export-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointments-premium-hero {
    align-items: flex-start;
  }

  .appointments-premium-actions {
    width: 100%;
    justify-content: stretch;
  }

  .appointments-premium-new,
  .appointments-premium-send {
    flex: 1 1 260px;
    width: 100%;
    min-width: 0;
  }

  .appointment-date-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-filter-divider {
    display: none;
  }

  .appointment-filter-submit,
  .appointment-today-btn {
    width: 100%;
  }

  .appointment-status-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-calendar-control-row {
    align-items: stretch;
  }

  .appointment-month-field {
    width: min(100%, 360px);
  }

  .appointment-calendar-actions {
    width: 100%;
  }

  .appointment-calendar-actions .mini-btn {
    flex: 1 1 140px;
  }

  .appointment-calendar-summary {
    grid-template-columns: 1fr;
  }

  .whatsapp-settings-body {
    grid-template-columns: 1fr;
  }

  .portal-shell {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .portal-sidebar {
    padding-inline: 10px;
  }

  .portal-side-button {
    width: 58px;
    height: 58px;
  }

  .portal-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-grid {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    justify-self: start;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    max-width: 540px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: start;
    gap: 8px;
  }

  .header-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .auth-premium-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px;
  }

  .auth-panel {
    justify-self: stretch;
    width: 100%;
  }

  .auth-intro h2 {
    max-width: 680px;
    font-size: 3rem;
  }

  .auth-benefits {
    max-width: 620px;
  }

  .faq-premium-section {
    padding: 58px 0 64px;
  }

  .faq-premium-section .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-premium-intro h2 {
    font-size: 3.55rem;
  }

  .faq-premium-intro > p {
    max-width: 620px;
  }

  .faq-help-card {
    margin-left: 0;
  }

  .footer-location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-location-copy h2 {
    max-width: 760px;
    font-size: 3.2rem;
  }

  .footer-map-card {
    height: 340px;
    min-height: 0;
  }

  .footer-map-info {
    right: auto;
    width: min(520px, calc(100% - 64px));
  }

  .footer-benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .footer-benefit-strip article {
    padding: 0 18px;
  }

  .footer-benefit-strip article:nth-child(3) {
    border-left: 0;
  }

  .hero-grid,
  .split,
  .location-grid,
  .auth-grid,
  .instagram-layout,
  .faq-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-card-top {
    left: 14px;
  }

  .hero-card-bottom {
    right: 14px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-panel {
    justify-items: start;
  }

  .portal-nav {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .portal-nav button {
    min-height: 118px;
    padding: 22px;
  }

  .patients-premium-toolbar {
    grid-template-columns: 1fr;
  }

  .patient-premium-search-btn,
  .patient-premium-new-btn,
  .patient-premium-print-btn {
    width: 100%;
  }

  .patients-premium-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .patient-pagination-info,
  .patient-page-size {
    justify-self: center;
  }

  .client-picker-row {
    grid-template-columns: 1fr;
  }

  .selected-client-card,
  .client-result-item {
    flex-direction: column;
  }

  .client-access-box {
    min-width: 0;
    text-align: left;
  }

  .finance-entry-form,
  .finance-expense-form,
  .finance-ledger-grid,
  .assistant-form,
  .service-form,
  .finish-service-picker {
    grid-template-columns: 1fr;
  }

  .finance-entry-header,
  .finance-security-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-entry-icon {
    width: 68px;
    height: 68px;
  }

  .finance-entry-icon svg {
    width: 36px;
    height: 36px;
  }

  .finance-entry-corner {
    right: 12px;
    width: 82px;
    opacity: 0.45;
  }

  .finance-security-art {
    margin-left: 0;
  }

  .finish-product-grid {
    grid-template-columns: 1fr;
  }

  .payment-line-row {
    grid-template-columns: 1fr;
  }

  .payment-line-row .payment-line-remove {
    width: 100%;
    min-width: 0;
  }

  .payment-lines-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .specialty-grid,
  .benefit-grid,
  .review-grid,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .settings-phone-row {
    grid-template-columns: 1fr;
  }

  .return-month-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .reports-premium-page {
    gap: 16px;
  }

  .reports-summary-panel {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .reports-summary-head {
    gap: 14px;
  }

  .reports-summary-title {
    align-items: center;
    gap: 12px;
  }

  .reports-title-spark {
    width: 42px;
    height: 42px;
  }

  .reports-title-spark svg {
    width: 36px;
    height: 36px;
  }

  .reports-summary-title h2 {
    font-size: 2rem;
  }

  .reports-summary-title p {
    font-size: 0.92rem;
  }

  .settings-backup-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .reports-summary-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .reports-date-pill,
  .reports-filter-pill,
  .reports-sparkle-button {
    width: 100%;
    min-height: 50px;
  }

  .reports-premium-header h2 {
    font-size: 2.45rem;
  }

  .reports-header-actions {
    width: 100%;
  }

  .reports-dentist-whatsapp,
  .reports-header-actions .btn {
    width: 100%;
  }

  .reports-doctor-profile {
    width: 100%;
  }

  .reports-summary-grid,
  .reports-filter-grid,
  .reports-mini-grid,
  .reports-summary-detail,
  .reports-export-panel {
    grid-template-columns: 1fr;
  }

  .reports-summary-card {
    min-height: 282px;
    padding: 28px 16px 22px;
  }

  .reports-summary-icon {
    width: 76px;
    height: 76px;
    box-shadow:
      0 14px 24px rgba(20, 113, 61, 0.18),
      0 0 0 14px rgba(242, 213, 137, 0.14);
  }

  .reports-summary-icon svg {
    width: 34px;
    height: 34px;
  }

  .reports-summary-card strong {
    font-size: clamp(1.42rem, 7vw, 1.9rem);
  }

  .reports-filter-card,
  .reports-main-card,
  .reports-whatsapp-card {
    padding: 14px;
  }

  .reports-filter-actions .btn,
  .reports-export-actions .btn {
    width: 100%;
  }

  .reports-tabs button {
    min-height: 48px;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .reports-whatsapp-preview {
    min-height: 220px;
  }

  .about-specialist-section {
    padding: 18px 0 32px;
  }

  .about-specialist-wrap {
    width: 100%;
    max-width: none;
  }

  .about-specialist-image {
    border-inline: 0;
    border-radius: 0;
    box-shadow: 0 14px 32px rgba(18, 33, 43, 0.1);
  }

  .appointments-premium-hero {
    min-height: 0;
    padding-top: 0;
  }

  .appointments-premium-hero::before,
  .appointment-filter-panel::after {
    display: none;
  }

  .appointments-premium-title {
    align-items: flex-start;
    gap: 12px;
  }

  .appointments-premium-icon {
    width: 54px;
    height: 54px;
  }

  .appointments-premium-icon svg {
    width: 27px;
    height: 27px;
  }

  .appointment-filter-panel {
    padding: 16px;
    gap: 20px;
  }

  .appointment-filter-head {
    align-items: flex-start;
  }

  .appointment-filter-presets {
    width: 100%;
  }

  .appointment-preset-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
  }

  .appointment-date-filter-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .appointment-status-filter-grid {
    grid-template-columns: 1fr;
  }

  .appointment-status-filter {
    min-height: 106px;
    padding: 14px 54px 14px 14px;
  }

  .appointment-calendar-grid {
    gap: 5px;
  }

  .appointment-calendar-day {
    min-height: 82px;
    padding: 7px;
    gap: 5px;
  }

  .appointment-calendar-day span {
    width: 26px;
    height: 26px;
  }

  .appointment-calendar-day strong {
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .appointment-calendar-day small {
    display: none;
  }

  .appointment-calendar-actions .mini-btn {
    flex-basis: 100%;
  }

  .appointment-month-field {
    width: 100%;
  }

  .appointment-summary-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .return-reminder-float {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    gap: 12px;
    padding: 15px;
    border-radius: 20px;
  }

  .return-reminder-float::before {
    display: none;
  }

  .return-reminder-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .return-reminder-head-actions {
    grid-column: 1 / -1;
    justify-content: end;
  }

  .return-reminder-icon {
    width: 42px;
    height: 42px;
  }

  .return-reminder-icon svg {
    width: 24px;
    height: 24px;
  }

  .return-reminder-head strong,
  .return-reminder-close {
    min-width: 38px;
    width: 38px;
    height: 38px;
  }

  .return-reminder-close svg {
    width: 20px;
    height: 20px;
  }

  .return-reminder-meta {
    gap: 10px;
  }

  .return-reminder-meta span + span {
    padding-left: 0;
    border-left: 0;
  }

  .return-reminder-cta {
    min-height: 46px;
    padding: 0 16px;
  }

  .portal-shell {
    display: block;
  }

  .return-calendar-grid {
    gap: 5px;
  }

  .return-calendar-day {
    min-height: 78px;
    padding: 7px;
    gap: 5px;
  }

  .return-calendar-day span {
    width: 26px;
    height: 26px;
  }

  .return-calendar-day strong {
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .return-calendar-day small {
    display: none;
  }

  .return-card-list {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: sticky;
    top: 0;
    height: auto;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .portal-brand-mark {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    border-radius: 12px;
  }

  .portal-side-nav {
    grid-auto-flow: column;
    grid-auto-columns: 48px;
    justify-content: start;
    overflow-x: auto;
    gap: 8px;
  }

  .portal-side-button {
    width: 48px;
    height: 48px;
  }

  .portal-side-button.active::before {
    left: 12px;
    bottom: -10px;
    width: 24px;
    height: 3px;
  }

  .portal-header {
    padding-top: 28px;
  }

  .portal-top h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .brand-logo,
  .portal-heading-logo {
    width: min(100%, 280px);
  }

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

  .container {
    width: min(100% - 22px, var(--container));
  }

  .header-actions,
  .hero-actions,
  .portal-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .portal-actions .btn {
    flex: 1 1 auto;
  }

  .header-actions {
    gap: 8px;
    max-width: none;
  }

  .header-actions .btn {
    min-height: 42px;
    padding-inline: 9px;
    gap: 6px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .header-actions .ig-mark {
    width: 20px;
    height: 20px;
    font-size: 0.58rem;
  }

  .patients-premium-panel {
    padding: 16px;
  }

  .patients-premium-panel::before {
    display: none;
  }

  .patients-premium-header,
  .patients-premium-title {
    align-items: flex-start;
  }

  .patients-premium-icon {
    width: 50px;
    height: 50px;
  }

  .patient-premium-search-field {
    min-height: 56px;
    padding-inline: 14px;
  }

  .patient-premium-search-field input {
    min-height: 54px;
  }

  .patients-premium-table {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .patients-premium-table-head {
    display: none;
  }

  .patient-grid {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .premium-patient-row {
    min-height: 0;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(220, 232, 238, 0.92);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(18, 33, 43, 0.06);
  }

  .premium-patient-row:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(220, 232, 238, 0.92);
  }

  .patient-main-cell {
    align-items: flex-start;
  }

  .patient-avatar {
    width: 52px;
    height: 52px;
  }

  .premium-patient-actions {
    grid-template-columns: 1fr;
    padding-left: 0;
    border-left: 0;
  }

  .patient-page-controls {
    width: 100%;
    justify-content: space-between;
  }

  .patient-page-size,
  .patient-page-size select {
    width: 100%;
  }

  .assistant-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .assistant-card-side {
    justify-items: start;
    width: 100%;
  }

  .assistant-card-actions,
  .assistant-card-side .mini-btn {
    width: 100%;
  }

  .assistant-card-actions {
    display: grid;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .site-footer {
    padding: 34px 0 26px;
  }

  .auth-section {
    padding: 18px 0;
  }

  .auth-premium-shell {
    width: 100%;
    padding: 24px 16px;
    gap: 24px;
    border-inline: 0;
    border-radius: 0;
  }

  .auth-brand-logo {
    width: min(100%, 240px);
  }

  .auth-intro {
    gap: 18px;
  }

  .auth-intro h2 {
    font-size: 2.28rem;
    line-height: 1.08;
  }

  .auth-intro p {
    font-size: 0.94rem;
  }

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

  .auth-benefits svg {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .auth-security-card {
    align-items: flex-start;
    padding: 14px;
  }

  .auth-panel {
    padding: 18px;
  }

  .auth-tabs {
    gap: 10px;
    margin-bottom: 22px;
  }

  .auth-tab {
    min-height: 52px;
  }

  .auth-form.active {
    gap: 16px;
  }

  .auth-input-shell {
    min-height: 52px;
  }

  .auth-input-shell input {
    min-height: 50px;
  }

  .auth-form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .auth-form .link-button {
    justify-self: start;
  }

  .auth-submit {
    min-height: 56px;
  }

  .faq-premium-section {
    padding: 42px 0 48px;
  }

  .faq-premium-section::before {
    opacity: 0.3;
  }

  .faq-premium-intro {
    gap: 16px;
  }

  .faq-premium-intro h2 {
    font-size: 2.65rem;
    line-height: 1.04;
  }

  .faq-premium-intro > p {
    font-size: 0.98rem;
  }

  .faq-help-card {
    display: none;
  }

  .faq-safe-note {
    align-items: flex-start;
  }

  .faq-list {
    gap: 14px;
  }

  .faq-list details {
    min-height: 0;
    padding: 18px 16px;
  }

  .faq-list summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .faq-icon {
    width: 52px;
    height: 52px;
  }

  .faq-icon svg {
    width: 25px;
    height: 25px;
  }

  .faq-copy strong {
    font-size: 1rem;
  }

  .faq-list details p {
    margin: 10px 36px 0 64px;
    font-size: 0.93rem;
  }

  .footer-location-copy h2 {
    font-size: 2.65rem;
    line-height: 1.02;
  }

  .footer-kicker {
    gap: 12px;
    letter-spacing: 0.12em;
  }

  .footer-contact-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .footer-contact-card em {
    display: none;
  }

  .footer-map-card {
    height: 300px;
    min-height: 0;
  }

  .footer-map-info {
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px;
  }

  .footer-map-info strong {
    font-size: 0.92rem;
  }

  .label-city,
  .label-market {
    display: none;
  }

  .footer-map-video {
    left: 18px;
    right: 18px;
    bottom: 20px;
    max-width: none;
  }

  .footer-benefit-strip {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .footer-benefit-strip article {
    padding: 14px 0;
  }

  .footer-benefit-strip article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero {
    min-height: unset;
  }

  .specialty-grid,
  .benefit-grid,
  .review-grid,
  .dashboard-grid,
  .post-grid,
  .form-pair,
  .insurance-choice-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .specialty-card-wide {
    grid-column: auto;
  }

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

  .portal-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 22px;
  }

  .portal-nav button {
    min-height: 104px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
    white-space: normal;
    text-align: left;
  }

  .portal-nav-icon {
    width: 50px;
    height: 50px;
  }

  .portal-nav-icon svg {
    width: 27px;
    height: 27px;
  }

  .portal-summary-strip {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .finance-entry-form,
  .finance-expense-form {
    gap: 10px;
  }

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

  .patient-detail-grid {
    grid-template-columns: 1fr;
  }

  .history-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 58px 0;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 420px) {
  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 40px;
    padding-inline: 5px;
    gap: 4px;
    font-size: 0.76rem;
  }

  .header-actions .btn svg {
    width: 16px;
    height: 16px;
  }

  .header-actions .ig-mark {
    width: 18px;
    height: 18px;
    font-size: 0.54rem;
  }
}

/* [WM SaaS] Profissionais — dias e horários de atendimento */
.wm-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.wm-weekdays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wm-weekday {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border, #e6e9f2);
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}
.wm-weekday input {
  margin: 0;
}
.wm-slot-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.wm-slot-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
}
@media (max-width: 560px) {
  .wm-slot-fields {
    grid-template-columns: 1fr;
  }
}
.wm-sig-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.wm-sig-preview img {
  max-height: 70px;
  max-width: 240px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border, #e6e9f2);
  border-radius: 8px;
  padding: 6px;
}
.wm-vaccine-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wm-vaccine-list li {
  font-size: 0.88rem;
  padding: 7px 11px;
  background: rgba(9, 54, 47, 0.05);
  border: 1px solid var(--border, #e6e9f2);
  border-radius: 8px;
}
.wm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.wm-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, #e6e9f2);
  background: rgba(9, 54, 47, 0.05);
}
.wm-gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.wm-gallery-item figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
}
.wm-gallery-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 26, 46, 0.62);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}
.wm-gallery-del:hover {
  background: #b3473f;
}
/* [WM SaaS] Dashboard premium da clínica (estilo Santa Fé) */
.wm-clinic-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;color:#fff;border-radius:20px;padding:30px 32px;margin-bottom:20px;box-shadow:0 20px 50px rgba(8,30,26,.22)}
.wm-clinic-eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;opacity:.88}
.wm-clinic-hero h3{margin:6px 0 4px;font-size:clamp(1.5rem,3vw,2.1rem);font-family:Georgia,"Times New Roman",serif;color:#fff}
.wm-clinic-hero p{margin:0;opacity:.9;font-size:.95rem}
.wm-clinic-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.wm-clinic-filter input{border:0;border-radius:10px;padding:9px 12px;font:inherit;background:rgba(255,255,255,.92);color:#12212b}
.wm-clinic-fbtn{border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.16);color:#fff;font-weight:700;padding:9px 14px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.wm-clinic-fbtn:hover{background:rgba(255,255,255,.28)}
.wm-stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-bottom:20px}
.wm-stat{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--border,#dce8ee);border-radius:16px;padding:18px;box-shadow:0 10px 26px rgba(18,33,43,.06)}
.wm-stat-ic{width:48px;height:48px;flex:none;border-radius:13px;display:grid;place-items:center;color:#fff}
.wm-stat-body{display:flex;flex-direction:column;min-width:0}
.wm-stat-label{font-size:.82rem;color:#5b6b77}
.wm-stat-body strong{font-size:1.5rem;color:#12212b;line-height:1.15}
.wm-stat-body small{color:#8b97a1;font-size:.75rem}
.wm-action-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:6px}
.wm-action{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border,#dce8ee);border-radius:14px;padding:14px 16px;cursor:pointer;text-align:left;transition:.18s;font:inherit;color:#12212b}
.wm-action:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(18,33,43,.1)}
.wm-action-ic{width:40px;height:40px;flex:none;border-radius:11px;display:grid;place-items:center;color:#fff}
.wm-action-label{flex:1;font-weight:700}
.wm-action-go{color:#8b97a1}
/* Camada do portal premium da clínica (Santa Fé) */
#health-portal{position:fixed;inset:0;z-index:60;overflow:auto;background:#061713}
.wm-hp-loading{color:#ead7a1;padding:40px;font-family:Georgia,serif}
/* Filtro compacto do dashboard (canto direito do hero, com OK) */
.sf-portal .wm-hp-filter{display:flex;flex-direction:column;gap:8px;align-items:stretch;background:rgba(9,54,47,.05);border:1px solid rgba(9,54,47,.14);border-radius:14px;padding:16px;min-width:236px;align-self:flex-start}
.sf-portal .wm-hp-filter > span{font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#b98b2e}
.sf-portal .wm-hp-filter label{display:flex;flex-direction:column;gap:3px;font-size:.74rem;color:#63716d;font-weight:600}
.sf-portal .wm-hp-filter input{border:1px solid rgba(9,54,47,.2);border-radius:9px;padding:8px 10px;font:inherit;color:#17211f;background:#fff}
.sf-portal .wm-hp-filter button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(135deg,#126657,#06231f);color:#fff;border:0;border-radius:9px;padding:10px;font-weight:800;cursor:pointer;margin-top:2px}
.sf-portal .wm-hp-filter button:hover{filter:brightness(1.08)}
/* Avatar do profissional sem foto (iniciais) na agenda da semana */
.sf-portal .wm-agenda-initials{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:14px;background:linear-gradient(135deg,#0d4b41,#06231f);color:#ead7a1;font-weight:800;font-size:1rem;border:1px solid rgba(234,215,161,.5)}
/* Seções funcionais (telas reais) renderizadas dentro do shell premium */
.sf-portal .wm-hp-section{margin-top:18px;background:#fff;border:1px solid rgba(9,54,47,.1);border-radius:18px;padding:22px 24px;box-shadow:0 18px 40px -32px rgba(6,35,31,.6)}
.sf-portal .wm-hp-section .data-panel,.sf-portal .wm-hp-section .panel-card{background:transparent;box-shadow:none}
/* Modal premium "Novo atendimento" (Santa Fé) dentro do #modal do app */
.modal-panel:has(.wm-hp-modal){width:min(1040px,100%);padding:0;background:transparent;box-shadow:none;max-height:92vh}
.modal-panel:has(.wm-hp-finalize){width:min(1180px,96vw)}
.wm-hp-finalize{padding:0!important;border-radius:22px;overflow:auto;max-height:92vh;background:linear-gradient(145deg,#fffdfa 0%,#f5efe3 100%)!important;box-shadow:0 30px 80px rgba(5,20,16,.28)}
/* Layout robusto (flex com quebra) — nunca sobrepõe, em qualquer largura de tela */
.wm-hp-finalize .clinic-finalize-layout{display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:18px}
.wm-hp-finalize .clinic-finalize-main{flex:1 1 520px;min-width:0}
.wm-hp-finalize .clinic-finalize-side{flex:0 0 330px;max-width:100%}
@media (max-width:900px){.wm-hp-finalize .clinic-finalize-side{flex-basis:100%}}
.modal-panel:has(.wm-hp-modal) .modal-close{display:none}
.wm-hp-modal{background:#fff;border-radius:22px;padding:26px 28px;max-height:92vh;overflow:auto}
.wm-hp-modal .wm-hp-mini-empty{padding:14px;border:1px dashed rgba(9,54,47,.25);border-radius:12px;color:#5b6b66;font-size:.86rem;text-align:center}
/* ===== Dashboard admin novo (cards de estatística, últimos pacientes, upgrade, ranking) ===== */
.sf-portal .wm-dash-top{display:grid;grid-template-columns:minmax(230px,0.85fr) 1.15fr 1fr;gap:18px;margin-top:6px}
.sf-portal .wm-dash-col-stats{display:flex;flex-direction:column;gap:14px}
.sf-portal .wm-dash-stat{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid rgba(9,54,47,.12);border-radius:16px;padding:16px 18px;cursor:pointer;text-align:left;box-shadow:0 14px 34px -28px rgba(6,35,31,.6);transition:transform .15s,box-shadow .15s;flex:1}
.sf-portal .wm-dash-stat:hover:not([disabled]){transform:translateY(-2px);box-shadow:0 20px 40px -26px rgba(6,35,31,.7);border-color:rgba(184,145,47,.5)}
.sf-portal .wm-dash-stat[disabled]{cursor:default;opacity:.85}
.sf-portal .wm-dash-stat-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;background:linear-gradient(135deg,#0d4b41,#06231f);color:#ead7a1}
.sf-portal .wm-dash-stat-icon i{width:24px;height:24px}
.sf-portal .wm-dash-stat>div{flex:1}
.sf-portal .wm-dash-stat>div span{display:block;color:#5b6b66;font-size:.82rem;font-weight:700}
.sf-portal .wm-dash-stat>div strong{display:block;color:#09362f;font-size:1.9rem;font-family:Georgia,serif;line-height:1}
.sf-portal .wm-dash-stat-go{color:#b8912f;width:20px;height:20px;flex:none}
.sf-portal .wm-dash-stat-none{color:#9aa8a3;font-size:.72rem}
.sf-portal .wm-dash-stat--birthday .wm-dash-stat-icon{background:linear-gradient(135deg,#b8912f,#e2c25e);color:#3a2a06}
.sf-portal .wm-dash-recent,.sf-portal .wm-dash-upgrade,.sf-portal .wm-dash-ranking{background:#fff;border:1px solid rgba(9,54,47,.12);border-radius:18px;padding:18px 20px;box-shadow:0 16px 40px -32px rgba(6,35,31,.6)}
.sf-portal .wm-dash-recent-list{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.sf-portal .wm-dash-recent-item{display:flex;align-items:center;gap:12px;background:rgba(9,54,47,.03);border:1px solid rgba(9,54,47,.08);border-radius:12px;padding:9px 12px;cursor:pointer;text-align:left;width:100%}
.sf-portal .wm-dash-recent-item:hover{background:rgba(184,145,47,.09);border-color:rgba(184,145,47,.4)}
.sf-portal .wm-dash-recent-item strong{display:block;color:#09362f;font-size:.92rem}
.sf-portal .wm-dash-recent-item small{color:#7a8a85;font-size:.74rem}
.sf-portal .wm-dash-avatar{width:42px;height:42px;flex:none;border-radius:12px;object-fit:cover;background:#3778a8}
.sf-portal .wm-dash-avatar--ini{display:grid;place-items:center;background:linear-gradient(135deg,#0d4b41,#06231f);color:#ead7a1;font-weight:800;font-size:.9rem}
/* Card de upgrade de plano (verde escuro premium) */
.sf-portal .wm-dash-upgrade{background:radial-gradient(circle at 85% 10%,rgba(234,215,161,.18),transparent 40%),linear-gradient(160deg,#0d4b41,#06231f);border:1px solid rgba(234,215,161,.35);color:#f4efe2;display:flex;flex-direction:column;gap:8px}
.sf-portal .wm-dash-upgrade-badge{align-self:flex-start;font-size:.7rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#ead7a1;background:rgba(234,215,161,.14);border:1px solid rgba(234,215,161,.35);border-radius:999px;padding:4px 12px}
.sf-portal .wm-dash-upgrade h3{color:#fff;font-family:Georgia,serif;font-size:1.3rem;margin:4px 0 0}
.sf-portal .wm-dash-upgrade p{color:rgba(244,239,226,.82);font-size:.86rem}
.sf-portal .wm-dash-upgrade-perks{list-style:none;margin:6px 0;padding:0;display:flex;flex-direction:column;gap:6px}
.sf-portal .wm-dash-upgrade-perks li{display:flex;align-items:center;gap:8px;color:#f4efe2;font-size:.85rem}
.sf-portal .wm-dash-upgrade-perks i{color:#7ee0b8;width:16px;height:16px;flex:none}
.sf-portal .wm-dash-upgrade-price strong{color:#ead7a1;font-size:1.5rem;font-family:Georgia,serif}
.sf-portal .wm-dash-upgrade-btn{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#b8912f,#e2c25e);color:#20180a;border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer}
.sf-portal .wm-dash-upgrade-btn:hover{filter:brightness(1.05)}
/* Parte de baixo: ranking + ações rápidas */
.sf-portal .wm-dash-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
/* Dashboard do médico: agenda da semana e ações rápidas dividem a linha;
   as solicitações ficam sozinhas na linha de baixo. */
.sf-portal .wm-dash-split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;align-items:stretch}
.sf-portal .wm-dash-split>#health-week-agenda{min-width:0}
.sf-portal .wm-dash-split>#health-week-agenda>*{height:100%}
/* A agenda foi feita para a largura toda: as colunas internas pedem
   210px + 220px = 446px e, na metade da tela, o card do profissional
   era cortado. Aqui ela roda em coluna única e com o título menor. */
.sf-portal .wm-dash-split .weekly-dashboard-agenda__content{grid-template-columns:minmax(112px,.28fr) minmax(0,1fr);gap:10px}
/* coluna da data mais enxuta: o espaço vai para o nome do profissional */
.sf-portal .wm-dash-split .weekly-dashboard-agenda__date{padding-left:12px;padding-right:12px}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__date span{font-size:.72rem;line-height:1.25}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__doctor{grid-template-columns:48px minmax(0,1fr);gap:9px;padding:10px}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__doctor img{width:48px;height:58px}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__doctor strong{font-size:.88rem}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__doctor span{font-size:.76rem}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__doctor small{font-size:.74rem}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__list{grid-template-columns:minmax(0,1fr)}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__header h2{font-size:clamp(1.5rem,2.1vw,2rem)}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__cta{white-space:nowrap}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__date{min-height:170px}
/* acabamento igual ao card das ações rápidas ao lado */
.sf-portal .wm-dash-split .weekly-dashboard-agenda{border:1px solid rgba(201,162,76,.5);border-radius:18px}
/* o número do dia em dourado, como na referência */
.sf-portal .wm-dash-split .weekly-dashboard-agenda__date strong{
  background:linear-gradient(160deg,#f3e3af,#d8ac4a);-webkit-background-clip:text;background-clip:text;color:transparent}
/* o ícone do topo ganha o anel dourado */
.sf-portal .wm-dash-split .weekly-dashboard-agenda__header>div>span i,
.sf-portal .wm-dash-split .weekly-dashboard-agenda__header>div>span svg{
  width:17px;height:17px;padding:9px;box-sizing:content-box;border-radius:50%;
  border:2px solid rgba(226,194,94,.7);color:#e8c766}
/* "Minha agenda" dourado, como na referência */
.sf-portal .wm-dash-split .weekly-dashboard-agenda__cta{
  background:linear-gradient(135deg,#d4af37,#f0d98a);border-color:transparent;color:#2a1e04;
  box-shadow:0 14px 30px -12px rgba(226,194,94,.9)}
.sf-portal .wm-dash-split .weekly-dashboard-agenda__cta:hover{filter:brightness(1.06);border-color:transparent}
/* ao lado da agenda o card fica alto: os 4 atalhos viram 2x2 e preenchem,
   em vez de ficarem espremidos no topo com um vazio embaixo */
.sf-portal .wm-dash-split>.admin-upcoming-card{min-width:0;display:flex;flex-direction:column;
  border:1px solid rgba(201,162,76,.5);border-radius:18px;
  background:radial-gradient(circle at 88% 8%,rgba(201,162,76,.18),transparent 34%),linear-gradient(160deg,#0d2b24,#071a16);
  box-shadow:0 20px 50px -30px rgba(6,35,31,.8)}
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-actions-grid{flex:1;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(110px,150px);align-content:center;gap:14px}
/* título com o filete dourado */
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-section-title{display:block;margin-bottom:20px}
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-section-title h2{color:#f2e6c4;font-size:1.3rem}
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-section-title h2::after{content:"";display:block;width:64px;height:2px;margin-top:10px;
  background:linear-gradient(90deg,#e2c25e,rgba(226,194,94,0))}
/* os atalhos são feitos para card claro (fundo branco translúcido + texto
   escuro) e ficavam cinza foscos aqui: neste card escuro vão de verde/ouro */
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-actions-grid button{
  background:linear-gradient(160deg,rgba(24,72,60,.55),rgba(7,26,22,.92));
  border:1px solid rgba(201,162,76,.42);border-radius:14px;color:#f2e6c4;
  font-family:Georgia,"Times New Roman",serif;font-weight:600;font-size:.98rem;
  align-content:center;gap:14px;transition:.2s}
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-actions-grid button:hover{
  border-color:#e2c25e;transform:translateY(-2px);
  box-shadow:0 0 0 1px rgba(226,194,94,.35),0 18px 40px -22px rgba(226,194,94,.9)}
/* o ícone ganha o anel dourado da referência (o lucide troca <i> por <svg>) */
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-actions-grid button i,
.sf-portal .wm-dash-split>.admin-upcoming-card .admin-actions-grid button svg{
  width:26px;height:26px;padding:15px;box-sizing:content-box;border-radius:50%;
  border:2px solid rgba(226,194,94,.75);color:#e8c766;
  background:radial-gradient(circle,rgba(226,194,94,.14),transparent 70%)}
.sf-portal .wm-dash-requests--full{margin-top:18px}
.sf-portal .wm-dash-rank-list{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.sf-portal .wm-dash-rank-item{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;background:rgba(9,54,47,.03);border:1px solid rgba(9,54,47,.08)}
.sf-portal .wm-dash-rank-pos{font-family:Georgia,serif;font-size:1.1rem;font-weight:800;color:#b8912f;width:28px;flex:none;text-align:center}
.sf-portal .wm-dash-rank-item strong{display:block;color:#09362f;font-size:.9rem}
.sf-portal .wm-dash-rank-item small{color:#7a8a85;font-size:.74rem}
.sf-portal .wm-dash-rank-item>div{flex:1}
.sf-portal .wm-dash-rank-n{background:linear-gradient(135deg,#0d4b41,#06231f);color:#ead7a1;border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:700;white-space:nowrap}
/* Coluna direita da parte de baixo (Ações rápidas + Solicitações empilhadas) */
.sf-portal .wm-dash-bottom-right{display:flex;flex-direction:column;gap:18px}
.sf-portal .wm-dash-requests{background:#fff;border:1px solid rgba(9,54,47,.12);border-radius:18px;padding:18px 20px;box-shadow:0 16px 40px -32px rgba(6,35,31,.6)}
.sf-portal .wm-dash-requests-sub{color:#7a8a85;font-size:.82rem;margin:-6px 0 8px}
.sf-portal .wm-dash-request-list{display:flex;flex-direction:column;gap:8px}
.sf-portal .wm-dash-request-item{display:flex;align-items:center;gap:12px;background:rgba(184,145,47,.07);border:1px solid rgba(184,145,47,.28);border-radius:12px;padding:10px 12px;cursor:pointer;text-align:left;width:100%}
.sf-portal .wm-dash-request-item:hover{background:rgba(184,145,47,.14);border-color:rgba(184,145,47,.5)}
.sf-portal .wm-dash-request-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:linear-gradient(135deg,#b8912f,#e2c25e);color:#3a2a06}
.sf-portal .wm-dash-request-item>div{flex:1}
.sf-portal .wm-dash-request-item strong{display:block;color:#09362f;font-size:.9rem}
.sf-portal .wm-dash-request-item small{color:#7a8a85;font-size:.75rem}
.sf-portal .wm-dash-request-more{width:100%;text-align:center;background:transparent;border:0;color:#b8912f;font-weight:700;font-size:.82rem;cursor:pointer;padding:6px}
.sf-portal .wm-dash-request-more:hover{text-decoration:underline}
/* ===== Prontuário do paciente em abas ===== */
.sf-portal .wm-hp-list-label{font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#0d6b4f;margin:12px 0 4px}
.sf-portal .wm-pat-record{margin-top:16px;background:#fff;border:1px solid rgba(9,54,47,.12);border-radius:18px;overflow:hidden;box-shadow:0 16px 40px -32px rgba(6,35,31,.6)}
.sf-portal .wm-pat-record-empty{margin-top:16px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#7a8a85;padding:34px;border:1px dashed rgba(9,54,47,.2);border-radius:16px}
.sf-portal .wm-pat-record-empty i{width:34px;height:34px;color:#b8912f}
/* ===== Ficha do paciente — cabeçalho esmeralda + emblema dourado ===== */
.sf-portal .wm-pat-record{border-radius:18px;overflow:hidden;border:1px solid rgba(201,162,76,.3);box-shadow:0 16px 40px rgba(120,90,30,.10)}
.sf-portal .wm-pat-record-head{position:relative;display:flex;align-items:center;gap:16px;padding:22px 24px;
  background:radial-gradient(620px 220px at 94% 8%,rgba(232,199,102,.14),transparent 62%),linear-gradient(150deg,#12543f 0%,#0a3628 60%,#062a20 100%);
  border-bottom:2px solid rgba(201,162,76,.5)}
.sf-portal .wm-pat-record-head::after{content:"";position:absolute;right:22px;top:50%;transform:translateY(-50%);
  width:60px;height:60px;opacity:.85;pointer-events:none;
  background:no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M20 42c-7-5-10-13-9-22 6 2 11 6 13 12' stroke='%23d9b356' stroke-width='2' stroke-linecap='round'/><path d='M44 42c7-5 10-13 9-22-6 2-11 6-13 12' stroke='%23d9b356' stroke-width='2' stroke-linecap='round'/><rect x='27' y='18' width='10' height='30' rx='2' fill='%23e8c766'/><rect x='17' y='28' width='30' height='10' rx='2' fill='%23e8c766'/></svg>")}
.sf-portal .wm-pat-record-head .wm-dash-avatar,.sf-portal .wm-pat-record-head img{width:66px;height:66px;border-radius:50%;object-fit:cover;flex:none;
  border:2px solid #c9a24c;box-shadow:0 0 0 4px rgba(255,255,255,.10),0 8px 20px rgba(0,0,0,.28)}
.sf-portal .wm-pat-record-head>div{flex:1;min-width:0;padding-right:70px}
.sf-portal .wm-pat-record-head h3{font-family:Georgia,"Times New Roman",serif;color:#eccf83;font-size:1.6rem;font-weight:600;margin:0 0 4px}
.sf-portal .wm-pat-record-head small{color:rgba(255,255,255,.78);font-size:.84rem}
/* Abas em barra esmeralda */
.sf-portal .wm-pat-tabs{display:flex;gap:2px;padding:0 12px;overflow-x:auto;
  background:linear-gradient(180deg,#0d4b41,#072a22);border-bottom:1px solid rgba(201,162,76,.28)}
.sf-portal .wm-pat-tab{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;border-bottom:3px solid transparent;
  color:rgba(255,255,255,.72);font-family:Georgia,serif;font-weight:600;font-size:.92rem;padding:15px 15px;cursor:pointer;white-space:nowrap;transition:.15s}
.sf-portal .wm-pat-tab i{width:17px;height:17px;color:#eccf83}
.sf-portal .wm-pat-tab:hover{color:#fff;background:rgba(232,199,102,.06)}
.sf-portal .wm-pat-tab.is-active{color:#eccf83;border-bottom-color:#c9a24c;background:rgba(232,199,102,.09)}
.sf-portal .wm-pat-tab-count{background:#c9a24c;color:#0a3628;border-radius:999px;font-size:.68rem;padding:1px 7px;font-weight:800}
.sf-portal .wm-pat-tab-body{padding:20px;min-height:120px;background:linear-gradient(180deg,#fdfaf3,#f8f2e6)}
.sf-portal .wm-pat-tab-actions{display:flex;justify-content:flex-end;margin-bottom:14px}
/* Botão de ação da aba (Emitir/Criar) em dourado */
.sf-portal .wm-pat-tab-actions .patient-secondary-button,.sf-portal .wm-pat-tab-actions .patient-primary-button{
  background:linear-gradient(180deg,#f0d488,#c49b3b)!important;color:#3a2c07!important;border:1px solid rgba(201,162,76,.9)!important;
  font-family:Georgia,serif;font-weight:700;box-shadow:0 8px 20px rgba(196,155,59,.32),inset 0 1px 0 rgba(255,255,255,.55)}
/* ===== Linhas da ficha — painel esmeralda + ícone em círculo dourado ===== */
.sf-portal .wm-pat-cards{display:flex;flex-direction:column;gap:12px}
.sf-portal .wm-pat-entry{display:flex;align-items:stretch;gap:0;overflow:hidden;
  background:linear-gradient(180deg,#fffdf8,#f8f2e6);border:1px solid rgba(201,162,76,.3);border-radius:16px;
  box-shadow:0 10px 26px rgba(120,90,30,.08)}
.sf-portal .wm-pat-entry-icon{display:grid;place-items:center;width:104px;flex:none;margin:6px;border-radius:13px;
  background:radial-gradient(circle at 34% 26%,#17604a,#062a20 74%);
  box-shadow:inset 0 0 0 1px rgba(232,199,102,.22),0 6px 16px rgba(6,42,32,.26)}
.sf-portal .wm-pat-entry-icon i,.sf-portal .wm-pat-entry-icon svg{width:24px;height:24px;color:#eccf83;
  box-sizing:content-box;padding:11px;border-radius:50%;border:1.5px solid rgba(232,199,102,.7)}
/* só o div de conteúdo cresce — o selo e as ações mantêm o tamanho próprio
   (sem o :not() esta regra venceria .wm-pat-entry-icon{flex:none} por especificidade) */
.sf-portal .wm-pat-entry>div:not(.wm-pat-entry-icon):not(.wm-pat-entry-action){flex:1;min-width:0;padding:16px 18px}
.sf-portal .wm-pat-entry strong{display:block;color:#b8912f;font-family:Georgia,serif;font-size:.92rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.sf-portal .wm-pat-entry small{color:#6b6a63;font-size:.82rem;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sf-portal .wm-pat-entry p{color:#4a463f;font-size:.88rem;margin-top:6px;line-height:1.5}
.sf-portal .wm-pat-entry-action{flex:none;align-self:center;padding-right:16px}
/* Botões das linhas (Ver PDF / Resultado) em dourado */
.sf-portal .wm-pat-entry-action .patient-primary-button,.sf-portal .wm-pat-entry-action .patient-secondary-button{
  background:linear-gradient(180deg,#f0d488,#c49b3b)!important;color:#3a2c07!important;border:1px solid rgba(201,162,76,.9)!important;
  font-family:Georgia,serif;font-weight:700;box-shadow:0 8px 20px rgba(196,155,59,.32),inset 0 1px 0 rgba(255,255,255,.55)}
.sf-portal .wm-pat-entry-action .patient-secondary-button.wm-danger{
  background:linear-gradient(180deg,#f0a49a,#c0453b)!important;color:#fff!important;border-color:rgba(192,69,59,.9)!important;box-shadow:0 8px 20px rgba(192,69,59,.28)}
@media(max-width:640px){.sf-portal .wm-pat-entry{flex-direction:column}.sf-portal .wm-pat-entry-icon{width:auto;height:70px}.sf-portal .wm-pat-entry-action{align-self:stretch;padding:0 16px 16px}}
.sf-portal .wm-pat-empty{display:flex;flex-direction:column;align-items:center;gap:6px;color:#7a8a85;text-align:center;padding:26px}
.sf-portal .wm-pat-empty i{width:32px;height:32px;color:#b8912f}
.sf-portal .wm-pat-empty strong{color:#09362f}
.sf-portal .wm-pat-empty p{font-size:.84rem;max-width:420px}
.sf-portal .wm-pat-fin-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.sf-portal .wm-pat-badge{display:inline-block;background:rgba(184,145,47,.15);color:#8a6d1f;border-radius:999px;font-size:.62rem;font-weight:800;padding:1px 8px;text-transform:uppercase;letter-spacing:.04em}
.sf-portal .wm-pat-doc-actions{display:flex;flex-direction:column;gap:6px}
.sf-portal .wm-pat-doc-actions button{white-space:nowrap;font-size:.8rem;padding:7px 10px}
.sf-portal .wm-danger{color:#b8402f!important;border-color:rgba(196,64,52,.4)!important}
.sf-portal .wm-danger:hover{background:rgba(196,64,52,.08)!important}
.sf-portal .wm-pat-dados-grid{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
.sf-portal .wm-pat-photo{flex:none;width:150px}
.sf-portal .wm-pat-photo img{width:120px;height:120px;border-radius:16px;object-fit:cover}
/* ===== Carrossel de planos (upgrade) — navy + dourado ===== */
.sf-portal .wm-dash-upgrade-slot{min-height:100%}
.sf-portal .wm-plan-slider{height:100%;display:flex;flex-direction:column;gap:10px;background:radial-gradient(circle at 85% 8%,rgba(212,175,55,.14),transparent 42%),linear-gradient(160deg,#0b1e3b 0%,#07132a 100%);border:1px solid rgba(212,175,55,.35);border-radius:18px;padding:14px}
.sf-portal .wm-plan-slider-head span{display:inline-flex;align-items:center;gap:7px;color:#e8c766;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.sf-portal .wm-plan-slider-head i{width:15px;height:15px}
/* Mesma pegada da vitrine: ícone dourado ao lado do nome/preço, régua, check/x. */
.sf-portal .wm-plan-card{position:relative;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.015));border:1px solid rgba(232,199,102,.22);border-radius:16px;padding:18px 16px 14px;text-align:left;display:flex;flex-direction:column;flex:1}
.sf-portal .wm-plan-card.is-featured{border-color:rgba(232,199,102,.85);background:radial-gradient(circle at 50% 0%,rgba(232,199,102,.1),transparent 60%),linear-gradient(160deg,rgba(20,68,72,.5),rgba(8,26,40,.5));box-shadow:0 0 0 1px rgba(232,199,102,.5),0 24px 60px -28px rgba(212,175,55,.65)}
.sf-portal .wm-plan-crown{position:absolute;top:-11px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#d4af37,#f0d98a);color:#3a2a06;font-size:.6rem;font-weight:900;letter-spacing:.09em;padding:4px 13px;border-radius:999px;white-space:nowrap;box-shadow:0 8px 20px -8px rgba(212,175,55,.9)}
.sf-portal .wm-plan-crown i{width:12px;height:12px}
.sf-portal .wm-plan-head{display:flex;align-items:center;gap:12px}
.sf-portal .wm-plan-info{min-width:0}
.sf-portal .wm-plan-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:radial-gradient(circle,rgba(232,199,102,.12),transparent);border:1px solid rgba(232,199,102,.5);color:#e8c766}
.sf-portal .wm-plan-icon i,.sf-portal .wm-plan-icon svg{width:22px;height:22px}
.sf-portal .wm-plan-card h4{color:#e8c766;font-size:.74rem;font-weight:700;letter-spacing:.14em}
.sf-portal .wm-plan-price{color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:1.75rem;font-weight:400;line-height:1.1;letter-spacing:-.5px}
.sf-portal .wm-plan-price small{font-size:.7rem;color:#a9b6c9;font-family:system-ui;font-weight:600;letter-spacing:0}
.sf-portal .wm-plan-perprof{color:#22d3a6;font-size:.72rem}
.sf-portal .wm-plan-rule{border:0;border-top:1px solid rgba(232,199,102,.18);margin:14px 0 0}
.sf-portal .wm-plan-perks{list-style:none;margin:12px 0 14px;padding:0;display:flex;flex-direction:column;gap:7px;text-align:left}
.sf-portal .wm-plan-perks li{display:flex;align-items:center;gap:9px;color:#e7edf6;font-size:.8rem}
/* O lucide troca o <i> por <svg> — os dois precisam ser alvo. */
.sf-portal .wm-plan-perks li i,.sf-portal .wm-plan-perks li svg{width:14px;height:14px;color:#22d3a6;flex:none;stroke-width:3}
.sf-portal .wm-plan-perks li.is-off{color:#6b7890}
.sf-portal .wm-plan-perks li.is-off i,.sf-portal .wm-plan-perks li.is-off svg{color:#42507a}
.sf-portal .wm-plan-btn{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#d4af37,#f0d98a);color:#2a1e04;border:1px solid transparent;border-radius:11px;padding:12px 14px;font-weight:800;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 14px 30px -14px rgba(212,175,55,.9)}
.sf-portal .wm-plan-btn:hover{filter:brightness(1.06)}
.sf-portal .wm-plan-dots{display:flex;justify-content:center;gap:6px;padding-top:2px}
.sf-portal .wm-plan-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(232,199,102,.35);cursor:pointer;padding:0}
.sf-portal .wm-plan-dots button.is-active{background:#e8c766;width:20px;border-radius:999px}
.sf-portal .wm-plan-max{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;background:linear-gradient(160deg,#0b1e3b,#07132a);border:1px solid rgba(212,175,55,.35);border-radius:18px;padding:22px;color:#e7edf6}
.sf-portal .wm-plan-max i{width:34px;height:34px;color:#e8c766}
.sf-portal .wm-plan-max strong{color:#f4e9c9}
.sf-portal .wm-plan-max p{color:#a9b6c9;font-size:.84rem}
/* Modal de pagamento do upgrade */
.wm-plan-pay .wm-plan-pay-box{display:flex;align-items:center;gap:14px;background:rgba(9,54,47,.04);border:1px solid rgba(9,54,47,.1);border-radius:14px;padding:14px 16px;margin:6px 0 14px}
.wm-plan-pay .wm-plan-pay-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:14px;background:linear-gradient(135deg,#0b1e3b,#07132a);color:#e8c766}
.wm-plan-pay .wm-plan-pay-box strong{display:block;color:#09362f;font-size:1.05rem}
.wm-plan-pay .wm-plan-pay-box span{color:#5b6b66;font-size:.85rem}
.wm-plan-pay .wm-plan-btn{width:100%;background:linear-gradient(135deg,#d4af37,#f0d98a);color:#2a1e04;border:0;border-radius:12px;padding:14px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.wm-plan-pay .wm-plan-pay-note{color:#7a8a85;font-size:.78rem;text-align:center;margin-top:10px}
/* Modal de aniversariantes */
.wm-birthday-list{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.sf-portal .wm-birthday-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid rgba(9,54,47,.12);border-radius:14px;padding:12px 14px}
.sf-portal .wm-birthday-card>div{flex:1}
.sf-portal .wm-birthday-card strong{display:block;color:#09362f}
.sf-portal .wm-birthday-card small{color:#7a8a85;font-size:.78rem}
.sf-portal .wm-birthday-card .patient-primary-button{white-space:nowrap}
@media (max-width:1080px){.sf-portal .wm-dash-top{grid-template-columns:1fr}.sf-portal .wm-dash-bottom{grid-template-columns:1fr}.sf-portal .wm-dash-split{grid-template-columns:1fr}}
/* Profissionais premium — avatar de iniciais e pill de status */
.sf-portal .clinic-professional-list .wm-agenda-initials{width:46px;height:46px;border-radius:12px;margin:0 auto 6px}
.sf-portal .clinic-prof-status{display:inline-block;font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#0d6b4f}
.sf-portal .wm-prof-avatar-lg{width:74px;height:74px;border-radius:18px;font-size:1.5rem}
/* Convênios — card clicável (div) + botão remover */
.sf-portal .wm-conv-card{position:relative;cursor:pointer;text-align:left}
.sf-portal .wm-conv-remove{position:absolute;top:10px;right:10px;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:9px;background:rgba(196,64,52,.1);color:#b8402f;cursor:pointer}
.sf-portal .wm-conv-remove:hover{background:rgba(196,64,52,.2)}
.sf-portal .wm-conv-remove i{width:15px;height:15px}
/* Agenda — board semanal consolidado */
.sf-portal .wm-agenda-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:8px}
.sf-portal .wm-agenda-board-day{background:#fff;border:1px solid rgba(9,54,47,.12);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}
.sf-portal .wm-agenda-board-day.is-today{border-color:rgba(13,107,79,.55);box-shadow:0 0 0 1px rgba(13,107,79,.35)}
.sf-portal .wm-agenda-board-day>header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.sf-portal .wm-agenda-board-day>header span{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:#0d6b4f;font-weight:700}
.sf-portal .wm-agenda-board-day>header strong{font-size:1.05rem;color:#09362f}
.sf-portal .wm-agenda-board-count{background:linear-gradient(135deg,#0d4b41,#06231f);color:#ead7a1;border-radius:999px;padding:3px 10px;font-size:.7rem;font-weight:700;white-space:nowrap}
.sf-portal .wm-agenda-board-pros{display:flex;flex-direction:column;gap:8px;flex:1}
.sf-portal .wm-agenda-board-pro{display:flex;align-items:center;gap:9px}
.sf-portal .wm-agenda-board-pro .wm-agenda-initials{width:36px;height:36px;border-radius:10px;font-size:.8rem}
.sf-portal .wm-agenda-board-pro strong{display:block;font-size:.86rem;color:#09362f}
.sf-portal .wm-agenda-board-pro small{color:#5b6b66;font-size:.74rem}
.sf-portal .wm-agenda-board-empty{color:#5b6b66;font-size:.8rem;font-style:italic}
/* Avatar de iniciais nos cards da agenda manual / solicitações (substitui a foto) */
.sf-portal .clinic-week-doctor-card>.wm-agenda-initials{width:56px;height:56px;border-radius:14px;flex:none;align-self:flex-start}
.sf-portal .clinic-request-card>.wm-agenda-initials{width:48px;height:48px;border-radius:12px;flex:none;align-self:flex-start}
/* Avatar do profissional (foto ou imagem padrão por sexo) preenche o box */
.sf-portal img.wm-pro-photo{object-fit:cover;display:block;background:#3778a8;padding:0}
/* Preview da foto do perfil no formulário do profissional */
.wm-photo-preview{display:flex;align-items:center;gap:12px;margin-top:8px}
.wm-photo-preview img{width:76px;height:76px;border-radius:14px;object-fit:cover;border:1px solid rgba(9,54,47,.15);background:#3778a8}
.sf-portal .weekly-dashboard-agenda__doctor img.wm-pro-photo{object-fit:cover}

/* ================= TEMA BARBEARIA — PRETO + DOURADO (pegada Líder) ================= */
/* Escopo total em body.wm-barber (só a barbearia; não afeta tattoo/petshop/foto). */
body.wm-barber{
  --bg:#080808; --surface:#151515; --surface-2:#1c1c1c;
  --ink:#f4f4f4; --navy:#f5f5f5; --muted:#b0b0b0;
  --blue:#d4af37; --blue-dark:#b8901f;
  --teal-premium:#d4af37; --teal-deep:#b8901f;
  --border:rgba(212,175,55,.18);
  background:#070707;
}
/* títulos e textos que usavam navy/teal → claro/dourado */
body.wm-barber .portal-header h2,
body.wm-barber #portal-title,
body.wm-barber h1, body.wm-barber h2, body.wm-barber h3{ color:#f6f6f6 !important; }
body.wm-barber .btn-ghost{ color:#e8c766 !important; border-color:rgba(212,175,55,.4) !important; background:rgba(212,175,55,.06) !important; }
/* valores em destaque (financeiro etc.) → dourado */
body.wm-barber strong{ color:#f0e2bd !important; }
body.wm-barber .stat-value, body.wm-barber .metric-value, body.wm-barber [class*="value"]{ color:#f2d589 !important; }
/* fundo geral do portal */
body.wm-barber .portal-shell{
  color:#f4f4f4;
  background:
    radial-gradient(1100px 560px at 92% -10%, rgba(212,175,55,.10), transparent 55%),
    linear-gradient(160deg,#0b0b0b 0%,#050505 60%,#0d0d0d 100%) !important;
}
/* trilha de ícones (sidebar) */
body.wm-barber .portal-sidebar{
  background:linear-gradient(180deg,#121212 0%,#070707 60%,#0e0e0e 100%) !important;
  border-right:1px solid rgba(212,175,55,.16);
  box-shadow:14px 0 40px rgba(0,0,0,.6);
}
body.wm-barber .portal-brand-mark{ background:#0d0d0d; border:1px solid rgba(212,175,55,.32); box-shadow:0 12px 26px rgba(0,0,0,.5); }
body.wm-barber .portal-side-button{ color:rgba(212,175,55,.68); }
body.wm-barber .portal-side-button:hover,
body.wm-barber .portal-side-button.active{
  color:#f2d589;
  border:1px solid rgba(212,175,55,.5);
  background:radial-gradient(circle at 50% 0%, rgba(212,175,55,.22), transparent 42%), linear-gradient(135deg,#1c1c1c,#0a0a0a) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.6);
}
body.wm-barber .portal-side-button.active::before{ background:linear-gradient(180deg,#f2d589,#9a6818) !important; }
/* header / título */
body.wm-barber .portal-role,
body.wm-barber .eyebrow{ color:#d4af37 !important; }
body.wm-barber .portal-title,
body.wm-barber .portal-header h1,
body.wm-barber .portal-heading strong{ color:#ffffff !important; }
body.wm-barber .portal-user-mark{ background:linear-gradient(135deg,#d4af37,#8c5b16) !important; color:#0d0d0d !important; }
/* grade de cards do menu (a home) */
body.wm-barber .portal-nav button{
  background:linear-gradient(160deg,#171717,#0e0e0e) !important;
  border:1px solid rgba(212,175,55,.18) !important;
  color:#f4f4f4 !important;
  box-shadow:0 16px 34px rgba(0,0,0,.5) !important;
}
body.wm-barber .portal-nav button:hover,
body.wm-barber .portal-nav button.active{
  border-color:rgba(212,175,55,.6) !important;
  box-shadow:0 0 0 1px rgba(212,175,55,.32), 0 22px 44px rgba(0,0,0,.65) !important;
}
body.wm-barber .portal-nav-icon{
  color:#0d0d0d !important;
  background:linear-gradient(145deg,#fbe9a8,#b8901f 52%,#f2d589 80%) !important;
  box-shadow:inset 0 2px 3px rgba(255,255,255,.5), 0 8px 18px rgba(0,0,0,.55) !important;
}
body.wm-barber .portal-nav-text{ color:#f5f0e2 !important; }
/* botão primário dourado */
body.wm-barber .btn-primary{
  background:linear-gradient(135deg,#cda03f,#f2d589) !important;
  color:#1a1300 !important; border-color:transparent !important;
  box-shadow:0 14px 30px -10px rgba(212,175,55,.6) !important;
}
/* superfícies de conteúdo genéricas (telas internas) */
body.wm-barber .card,
body.wm-barber .surface,
body.wm-barber .panel,
body.wm-barber .stat-card,
body.wm-barber .metric-card,
body.wm-barber .list-card,
body.wm-barber table{
  background:linear-gradient(160deg,#161616,#101010) !important;
  border-color:rgba(212,175,55,.16) !important;
  color:#efefef !important;
}
body.wm-barber th{ color:#d4af37 !important; background:#101010 !important; }
body.wm-barber input,
body.wm-barber select,
body.wm-barber textarea{
  background:#111 !important; color:#f2f2f2 !important; border-color:rgba(212,175,55,.28) !important;
}
body.wm-barber input::placeholder,
body.wm-barber textarea::placeholder{ color:#7d7d7d !important; }
/* Barbearia: faixas/heros do dashboard que tinham fundo branco → escuro */
body.wm-barber .portal-summary-strip,
body.wm-barber .portal-hero,
body.wm-barber .dashboard-hero,
body.wm-barber .portal-welcome,
body.wm-barber .summary-strip{
  background:linear-gradient(135deg,#171717,#0d0d0d) !important;
  border:1px solid rgba(212,175,55,.16) !important;
  color:#f0e2bd !important;
  box-shadow:0 16px 34px rgba(0,0,0,.5) !important;
}
/* ===== Home do cliente BARBEARIA — grade de serviços (pegada Líder) ===== */
body.wm-barber .barber-home{display:flex;flex-direction:column;gap:18px}
body.wm-barber .barber-home-next{background:linear-gradient(135deg,#171717,#0d0d0d);border:1px solid rgba(212,175,55,.3);border-radius:12px;padding:12px 16px;color:#f0e2bd;display:flex;align-items:center;gap:10px}
body.wm-barber .barber-home-next svg{width:18px;height:18px;color:#e8c766}
body.wm-barber .barber-home-next strong{color:#f2d589}
body.wm-barber .barber-home-head .eyebrow{color:#d4af37;text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.72rem;display:block}
body.wm-barber .barber-home-head h2{color:#fff;font-size:1.5rem;margin-top:4px}
body.wm-barber .barber-svc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
body.wm-barber .barber-svc{background:linear-gradient(160deg,#161616,#0e0e0e);border:1px solid rgba(212,175,55,.18);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:.2s}
body.wm-barber .barber-svc:hover{border-color:rgba(212,175,55,.55);transform:translateY(-3px);box-shadow:0 22px 44px rgba(0,0,0,.6)}
body.wm-barber .barber-svc-media{position:relative;aspect-ratio:228/309;background:radial-gradient(circle at 50% 25%,#2a2a2a,#0d0d0d);background-size:cover;background-position:center;display:grid;place-items:center;border-bottom:1px solid rgba(212,175,55,.14)}
body.wm-barber .barber-svc-ghost{width:36px;height:36px;color:rgba(212,175,55,.4)}
body.wm-barber .barber-svc-num{position:absolute;top:8px;left:8px;width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:rgba(0,0,0,.65);border:1px solid rgba(212,175,55,.5);color:#f2d589;font-size:.72rem;font-weight:800}
body.wm-barber .barber-svc-body{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}
body.wm-barber .barber-svc-body h4{color:#f5f0e2;font-size:.82rem;letter-spacing:.04em;font-weight:800;line-height:1.2}
body.wm-barber .barber-svc-price{color:#f2d589;font-size:1.14rem;font-weight:700;font-family:Georgia,serif}
body.wm-barber .barber-svc-meta{color:#9a9a9a;font-size:.74rem;display:flex;align-items:center;gap:5px}
body.wm-barber .barber-svc-meta svg{width:13px;height:13px}
body.wm-barber .barber-svc-tag{align-self:flex-start;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.3);color:#e8c766;font-size:.66rem;font-weight:700;padding:2px 9px;border-radius:999px;text-transform:capitalize}
body.wm-barber .barber-svc-btn{margin-top:auto;width:100%;justify-content:center;gap:6px}
@media(max-width:640px){body.wm-barber .barber-svc-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
/* ===== Barbearia: menu SÓ na lateral (com rótulos), sem grade de cards ===== */
body.wm-barber .portal-shell{grid-template-columns:252px minmax(0,1fr)}
body.wm-barber #portal-nav{display:none !important}
body.wm-barber .portal-side-settings{display:none !important}
body.wm-barber .portal-header{padding-top:34px}
body.wm-barber .portal-sidebar{grid-template-rows:auto 1fr;padding:24px 12px;justify-items:stretch;align-items:start}
body.wm-barber .portal-brand-mark{justify-self:center}
body.wm-barber .portal-side-nav{gap:3px;align-content:start;justify-items:stretch;width:100%;overflow-y:auto;overflow-x:hidden;max-height:calc(100vh - 132px);scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.4) transparent}
body.wm-barber .portal-side-nav::-webkit-scrollbar{width:5px}
body.wm-barber .portal-side-nav::-webkit-scrollbar-thumb{background:rgba(212,175,55,.35);border-radius:4px}
body.wm-barber .portal-side-nav::-webkit-scrollbar-track{background:transparent}
body.wm-barber .portal-side-button{width:100%;height:auto;min-height:0;min-width:0;display:flex;align-items:center;gap:11px;justify-content:flex-start;padding:9px 13px;border-radius:10px;color:rgba(212,175,55,.72)}
body.wm-barber .portal-side-button svg{width:18px;height:18px;flex:none}
body.wm-barber .portal-side-label{font-size:.74rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.wm-barber .portal-side-button:hover .portal-side-label,
body.wm-barber .portal-side-button.active .portal-side-label{color:#f2d589}
body.wm-barber .portal-side-button.active::before{left:0;height:100%;width:3px;border-radius:0 3px 3px 0}
@media(max-width:760px){body.wm-barber .portal-shell{grid-template-columns:1fr}body.wm-barber .portal-side-label{display:none}}
/* ===== Barbearia: correção de cores do portal ADMIN (labels/painéis) ===== */
body.wm-barber label,
body.wm-barber legend,
body.wm-barber .field-label,
body.wm-barber .filter-row label,
body.wm-barber .dashboard-filter-row label,
body.wm-barber .finance-filter-row label,
body.wm-barber .reports-filter-grid label{ color:#e9e3d1 !important; }
body.wm-barber .section-copy,
body.wm-barber .data-panel p,
body.wm-barber small,
body.wm-barber .muted{ color:#b7b1a1 !important; }
body.wm-barber .data-panel,
body.wm-barber .dashboard-card,
body.wm-barber .settings-brand,
body.wm-barber .settings-form section,
body.wm-barber .whatsapp-settings-panel{
  background:linear-gradient(160deg,#161616,#0e0e0e) !important;
  border:1px solid rgba(212,175,55,.2) !important;
  color:#f4f4f4 !important;
}
body.wm-barber .dashboard-card{ box-shadow:0 12px 28px rgba(0,0,0,.45); }
body.wm-barber .dashboard-card *{ color:#f4f4f4; }
body.wm-barber .dashboard-card [class*="value"],
body.wm-barber .dashboard-card strong{ color:#f2d589 !important; }
body.wm-barber .data-panel h3,
body.wm-barber .data-panel h4,
body.wm-barber .settings-brand h4{ color:#f2d589 !important; }
/* status chips e tabelas legíveis no escuro */
body.wm-barber td,
body.wm-barber .data-panel table td{ color:#e7e2d4 !important; }
/* default claro para o conteúdo do admin (regras específicas de ouro/branco vencem) */
body.wm-barber #portal-content{ color:#e7e2d4; }
body.wm-barber .patient-cell,
body.wm-barber .patient-cell span,
body.wm-barber .patient-info-cell span,
body.wm-barber .reports-patient-cell span{ color:#e7e2d4 !important; }
body.wm-barber .patient-cell strong,
body.wm-barber .patient-cell .patient-name{ color:#f2d589 !important; }
/* ===== Barbearia admin: escurecer modais, slots, calendário e cards ===== */
/* Modal (novo agendamento, editar, etc.) */
body.wm-barber .modal-panel{ background:linear-gradient(160deg,#171717,#0d0d0d) !important; border:1px solid rgba(212,175,55,.28) !important; color:#efe9db !important; box-shadow:0 30px 80px rgba(0,0,0,.72) !important; }
body.wm-barber .modal-panel h2,
body.wm-barber .modal-panel h3{ color:#f2d589 !important; }
body.wm-barber .modal-panel p,
body.wm-barber .modal-panel .section-copy{ color:#b7b1a1 !important; }
body.wm-barber .modal-close{ background:rgba(212,175,55,.14) !important; color:#f2d589 !important; border:1px solid rgba(212,175,55,.4) !important; }
body.wm-barber .selected-client-card,
body.wm-barber .quick-patient-panel{ background:linear-gradient(160deg,#191919,#0e0e0e) !important; border:1px solid rgba(212,175,55,.2) !important; color:#e7e2d4 !important; }
/* --- Superfícies internas DOS MODAIS (ficam fora de #portal-content) --- */
body.wm-barber .modal-panel [class*="-panel"],
body.wm-barber .modal-panel [class*="-card"],
body.wm-barber .modal-panel [class*="-group"],
body.wm-barber .modal-panel [class*="-summary"],
body.wm-barber .modal-panel [class*="-strip"],
body.wm-barber .modal-panel [class*="-preview"],
body.wm-barber .modal-panel fieldset,
body.wm-barber .modal-panel .data-panel{
  background:linear-gradient(160deg,#171717,#0d0d0d) !important;
  border-color:rgba(212,175,55,.2) !important;
}
body.wm-barber .modal-panel [class*="-panel"] :where(span,p,small,em,td,th,li,label,div),
body.wm-barber .modal-panel [class*="-group"] :where(span,p,small,em,td,th,li,label,div),
body.wm-barber .modal-panel [class*="-summary"] :where(span,p,small,em,td,th,li,label,div){ color:#d9d3c4 !important; }
body.wm-barber .modal-panel label,
body.wm-barber .modal-panel .field-label{ color:#e9e3d1 !important; }
body.wm-barber .modal-panel strong,
body.wm-barber .modal-panel legend,
body.wm-barber .modal-panel h3,
body.wm-barber .modal-panel h4{ color:#f2d589 !important; }
body.wm-barber .modal-panel .mini-btn,
body.wm-barber .modal-panel .mini-btn *{ background:linear-gradient(160deg,#1b1b1b,#0e0e0e) !important; border-color:rgba(212,175,55,.3) !important; color:#f2d589 !important; }
body.wm-barber .modal-panel .btn-primary,
body.wm-barber .modal-panel .btn-primary *{ color:#1a1300 !important; }
body.wm-barber .modal-panel .btn-ghost,
body.wm-barber .modal-panel .btn-ghost *{ color:#e8c766 !important; }
body.wm-barber .modal-panel .finish-product-card{ background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important; border-color:rgba(212,175,55,.22) !important; }
body.wm-barber .modal-panel .finish-product-card strong{ color:#f0e2bd !important; }
body.wm-barber .modal-panel .finish-product-card small{ color:#9a9a9a !important; }
body.wm-barber .modal-panel .checkbox-row span{ color:#e9e3d1 !important; }
/* Situação financeira: cards de valores, caixa do serviço e alerta */
body.wm-barber .modal-panel .finance-situation-grid > article,
body.wm-barber .modal-panel .finance-service-box{ background:linear-gradient(160deg,#171717,#0d0d0d) !important; border:1px solid rgba(212,175,55,.2) !important; box-shadow:none !important; }
body.wm-barber .modal-panel .finance-situation-grid > article :where(span,small,p,div){ color:#b7b1a1 !important; }
body.wm-barber .modal-panel .finance-situation-grid > article strong,
body.wm-barber .modal-panel .finance-situation-grid > article b,
body.wm-barber .modal-panel .finance-service-box strong{ color:#f2d589 !important; }
body.wm-barber .modal-panel .finance-situation-grid > article.paid{ border-color:rgba(37,211,102,.4) !important; }
body.wm-barber .modal-panel .finance-service-box p,
body.wm-barber .modal-panel .finance-service-box div{ color:#d9d3c4 !important; }
/* alerta de status (débito quitado / pendente) */
body.wm-barber .modal-panel .finance-alert{ background:rgba(255,255,255,.04) !important; border:1px solid rgba(212,175,55,.2) !important; }
body.wm-barber .modal-panel .finance-alert.success{ background:rgba(37,211,102,.08) !important; border-color:rgba(37,211,102,.35) !important; color:#3ddc84 !important; }
body.wm-barber .modal-panel .finance-alert.success :where(span,strong,b,p){ color:#3ddc84 !important; }
/* botão Fechar (patient-ghost-button) */
body.wm-barber .modal-panel .patient-ghost-button{ background:linear-gradient(160deg,#1b1b1b,#0e0e0e) !important; border:1px solid rgba(212,175,55,.3) !important; color:#f2d589 !important; }
/* linhas de pagamento e demais blocos claros do modal */
body.wm-barber .modal-panel [class*="-row"],
body.wm-barber .modal-panel [class*="-total"],
body.wm-barber .modal-panel [class*="-lines"],
body.wm-barber .modal-panel [class*="-list"]{ background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important; border-color:rgba(212,175,55,.18) !important; }
body.wm-barber .modal-panel [class*="-row"] :where(span,small,strong,b,em,div,label),
body.wm-barber .modal-panel [class*="-total"] :where(span,small,em,div,label){ color:#e7e2d4 !important; }
body.wm-barber .modal-panel [class*="-total"] strong,
body.wm-barber .modal-panel [class*="-total"] b{ color:#f2d589 !important; }
/* qualquer span solto com fundo claro dentro do modal */
body.wm-barber .modal-panel span[class=""],
body.wm-barber .modal-panel .finish-service-preview span{ background:transparent !important; color:#d4af37 !important; }
/* Slots de horário (igual à pegada do cliente) */
body.wm-barber .slot-button{ background:linear-gradient(160deg,#151515,#0d0d0d) !important; border:1px solid rgba(212,175,55,.22) !important; color:#f0e2bd !important; }
body.wm-barber .slot-label{ color:#9a9a9a !important; }
body.wm-barber .slot-button.slot-available{ border-color:rgba(37,211,102,.38) !important; }
body.wm-barber .slot-button.slot-available .slot-label{ color:#3ddc84 !important; }
body.wm-barber .slot-button.active{ background:linear-gradient(135deg,#f2d589,#b8862a) !important; border-color:#d4af37 !important; color:#1a1300 !important; }
body.wm-barber .slot-button.active .slot-label{ color:#3a2b00 !important; }
body.wm-barber .slot-expired,
body.wm-barber .slot-closed{ background:#101010 !important; border-color:rgba(255,255,255,.08) !important; color:#6f6f6f !important; }
body.wm-barber .slot-expired .slot-label,
body.wm-barber .slot-closed .slot-label{ color:#6f6f6f !important; }
body.wm-barber .slot-occupied{ background:#1c1111 !important; border-color:rgba(200,90,90,.35) !important; color:#d98c8c !important; }
body.wm-barber .slot-occupied .slot-label{ color:#d98c8c !important; }
/* Calendário de retornos/agenda + cards de resumo */
body.wm-barber .return-calendar-day,
body.wm-barber .appointment-calendar-day,
body.wm-barber .calendar-day{ background:linear-gradient(160deg,#151515,#0d0d0d) !important; border:1px solid rgba(212,175,55,.16) !important; color:#e7e2d4 !important; }
body.wm-barber .return-calendar-day.selected,
body.wm-barber .appointment-calendar-day.selected,
body.wm-barber .calendar-day.selected{ border-color:#d4af37 !important; box-shadow:0 0 0 1px rgba(212,175,55,.45) inset !important; background:linear-gradient(160deg,#211d10,#0e0e0e) !important; }
body.wm-barber .return-month-summary article,
body.wm-barber .data-panel article,
body.wm-barber .dashboard-grid article,
body.wm-barber .summary-grid article{ background:linear-gradient(160deg,#171717,#0e0e0e) !important; border:1px solid rgba(212,175,55,.18) !important; color:#e7e2d4 !important; }
body.wm-barber .return-month-summary article strong,
body.wm-barber .data-panel article strong{ color:#f2d589 !important; }
/* Botões pequenos e estados vazios */
body.wm-barber .mini-btn{ background:linear-gradient(160deg,#1b1b1b,#0e0e0e) !important; border:1px solid rgba(212,175,55,.3) !important; color:#f2d589 !important; }
body.wm-barber .mini-btn.danger{ border-color:rgba(200,90,90,.45) !important; color:#e79a9a !important; }
body.wm-barber .empty-state{ background:linear-gradient(160deg,#141414,#0d0d0d) !important; border:1px solid rgba(212,175,55,.15) !important; color:#b7b1a1 !important; }
/* ===== Barbearia admin: DASHBOARD (resumo + agenda da semana + ações) ===== */
body.wm-barber .wm-badm{display:flex;flex-direction:column;gap:18px}
body.wm-barber .wm-badm-card{background:linear-gradient(160deg,#171717,#0d0d0d);border:1px solid rgba(212,175,55,.2);border-radius:16px;padding:18px}
body.wm-barber .wm-badm-card h3{display:flex;align-items:center;gap:8px;color:#f2d589;font-size:1rem;margin:0 0 14px}
body.wm-barber .wm-badm-card h3 i{width:18px;height:18px}
body.wm-barber .wm-badm-top{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:16px;align-items:stretch}
body.wm-barber .wm-badm-stat-row{display:flex;gap:14px}
body.wm-barber .wm-badm-stat{flex:1;background:linear-gradient(160deg,#1f1f1f,#101010);border:1px solid rgba(212,175,55,.18);border-radius:12px;padding:18px 14px;text-align:center}
body.wm-barber .wm-badm-stat-n{display:block;font-size:2.1rem;font-weight:800;color:#f2d589;font-family:Georgia,serif;line-height:1}
body.wm-barber .wm-badm-stat-l{color:#b7b1a1;font-size:.78rem;margin-top:6px;display:block}
body.wm-barber .wm-badm-bignum{display:flex;flex-direction:column;gap:2px;background:linear-gradient(160deg,#1f1f1f,#101010);border:1px solid rgba(212,175,55,.18);border-radius:12px;padding:16px 18px}
body.wm-barber .wm-badm-bignum strong{font-size:2.5rem;color:#f2d589;font-family:Georgia,serif;line-height:1}
body.wm-barber .wm-badm-bignum span{color:#b7b1a1;font-size:.8rem}
body.wm-barber .wm-badm-pro-title{margin:15px 0 8px;color:#d4af37;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
body.wm-barber .wm-badm-pro-rank{display:flex;flex-direction:column;gap:6px;max-height:190px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.4) transparent}
body.wm-barber .wm-badm-pro{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid rgba(255,255,255,.05);border-radius:10px;padding:7px 10px}
body.wm-barber .wm-badm-pro-av{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#d4af37,#8c5b16);color:#1a1300;font-weight:800;font-size:.85rem}
body.wm-barber .wm-badm-pro-av img{width:100%;height:100%;object-fit:cover}
body.wm-barber .wm-badm-pro-info{display:flex;flex-direction:column;min-width:0;flex:1}
body.wm-barber .wm-badm-pro-info strong{color:#f0e2bd;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.wm-barber .wm-badm-pro-info small{color:#8f8f8f;font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.wm-barber #portal-content .wm-badm-pro-metrics{color:#9a9488 !important;font-size:.72rem;margin-top:1px}
body.wm-barber #portal-content .wm-badm-pro-metrics b{color:#3ddc84 !important;font-weight:800}
body.wm-barber #portal-content .wm-badm-pro-title em{color:#8f8a7d !important;font-style:normal;font-weight:600;letter-spacing:.04em}
/* ofertas de plano no dashboard (quando está no Mensal) */
body.wm-barber #portal-content .wm-badm-offers{background:radial-gradient(700px 240px at 50% -20%,rgba(212,175,55,.12),transparent 60%),linear-gradient(160deg,#161616,#0c0c0c) !important;border:1px solid rgba(212,175,55,.28) !important}
body.wm-barber #portal-content .wm-badm-offers-head{margin-bottom:14px}
body.wm-barber #portal-content .wm-badm-offers-head .eyebrow{color:#d4af37 !important;text-transform:uppercase;letter-spacing:.14em;font-size:.7rem;font-weight:800;display:block}
body.wm-barber #portal-content .wm-badm-offers-head h3{color:#fff !important;margin:3px 0 0;font-size:1.15rem}
body.wm-barber #portal-content .wm-badm-offers-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.wm-barber #portal-content .wm-badm-offer{position:relative;display:flex;flex-direction:column;gap:18px;background:radial-gradient(120% 90% at 50% -10%,rgba(212,175,55,.10),transparent 55%),linear-gradient(165deg,#191410,#0b0a08) !important;border:1.5px solid rgba(212,175,55,.45) !important;border-radius:20px;padding:26px 22px 22px;box-shadow:0 0 0 1px rgba(212,175,55,.14),0 0 34px rgba(212,175,55,.10),inset 0 0 26px rgba(212,175,55,.05),0 22px 46px rgba(0,0,0,.55)}
body.wm-barber #portal-content .wm-badm-offer.is-featured{border-color:rgba(242,213,137,.85) !important;box-shadow:0 0 0 1px rgba(242,213,137,.35),0 0 46px rgba(212,175,55,.28),inset 0 0 30px rgba(212,175,55,.08),0 26px 54px rgba(0,0,0,.6)}
body.wm-barber #portal-content .wm-badm-offer-badge{position:absolute;top:-14px;left:22px;display:inline-flex;align-items:center;background:linear-gradient(135deg,#fbe7ad,#e8c25a 45%,#b8862a);color:#2b1f00;font-size:.74rem;font-weight:800;letter-spacing:.03em;padding:6px 15px;border-radius:22px;box-shadow:0 4px 14px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.18) inset}
body.wm-barber #portal-content .wm-badm-offer-badge.alt{background:linear-gradient(135deg,#7ff0b0,#2fbf7d 55%,#127a4d);color:#04240f}
body.wm-barber #portal-content .wm-badm-offer-head{display:flex;align-items:center;gap:14px;margin-top:8px}
body.wm-barber #portal-content .wm-badm-offer-ic{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#f4d97e,#c58f28 60%,#8c5b16);color:#1a1300;box-shadow:0 6px 18px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.15) inset}
body.wm-barber #portal-content .wm-badm-offer-ic i{width:26px;height:26px}
body.wm-barber #portal-content .wm-badm-offer-head strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;line-height:1.1;background:linear-gradient(180deg,#fbeeba,#e8c25a 50%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
body.wm-barber #portal-content .wm-badm-offer-head small{color:#a49b86 !important;font-size:.9rem;display:block;margin-top:2px}
body.wm-barber #portal-content .wm-badm-offer-price{position:relative;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding-top:20px;margin-top:2px}
body.wm-barber #portal-content .wm-badm-offer-price::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.55) 40%,rgba(255,244,205,.9) 50%,rgba(212,175,55,.55) 60%,transparent);box-shadow:0 0 10px rgba(242,213,137,.5)}
body.wm-barber #portal-content .wm-badm-offer-old{width:100%;color:#8f8a7d !important;text-decoration:line-through;text-decoration-color:rgba(143,138,125,.7);font-size:1.15rem;margin-bottom:-4px}
body.wm-barber #portal-content .wm-badm-offer-now{display:inline-flex;align-items:baseline;gap:6px}
body.wm-barber #portal-content .wm-badm-offer-now strong{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:2.7rem;line-height:1;background:linear-gradient(180deg,#fff4cd,#f0cf6b 45%,#c8912e);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 3px 10px rgba(212,175,55,.35))}
body.wm-barber #portal-content .wm-badm-offer-now em{color:#b7b1a1 !important;font-style:normal;font-size:1rem}
body.wm-barber #portal-content .wm-badm-offer-equiv{display:inline-flex;align-items:center;gap:9px;color:#efe6cf !important;font-size:.95rem;font-weight:600}
body.wm-barber #portal-content .wm-badm-offer-equiv i{width:18px;height:18px;color:#f2d589}
body.wm-barber #portal-content .wm-badm-offer .btn{width:100%;margin-top:6px;padding:15px 16px;font-size:1.02rem;font-weight:800;color:#241900 !important;border:0 !important;border-radius:14px;background:linear-gradient(135deg,#fbeaa6,#eecb6a 40%,#c9922e) !important;box-shadow:0 10px 26px rgba(212,175,55,.32),0 0 0 1px rgba(255,255,255,.22) inset}
body.wm-barber #portal-content .wm-badm-offer .btn i{width:19px;height:19px}
@media(max-width:820px){body.wm-barber #portal-content .wm-badm-offers-grid{grid-template-columns:1fr}}
.history-count-note{margin:0 0 12px;font-size:.82rem;color:var(--muted,#8a93ab);font-weight:600}
body.wm-barber #portal-content .history-count-note{color:#b7b1a1 !important}
/* ===== Barbearia: painel PROFISSIONAIS premium ===== */
body.wm-barber #portal-content .assistant-settings-panel{padding:22px 24px !important}
body.wm-barber #portal-content .assistant-settings-head h4{display:flex;align-items:center;gap:12px;color:#f2d589 !important;font-size:1.2rem}
body.wm-barber #portal-content .assistant-settings-head h4 i{width:40px;height:40px;flex:none;padding:9px;border-radius:50%;border:1px solid rgba(212,175,55,.5);color:#e8c766;box-shadow:0 0 20px rgba(212,175,55,.18)}
body.wm-barber #portal-content .assistant-settings-head p{color:#b7b1a1 !important}
/* checkboxes de dias em dourado */
body.wm-barber #portal-content .wm-weekday{display:flex;align-items:center;gap:8px;background:linear-gradient(160deg,#191919,#0e0e0e) !important;border:1px solid rgba(212,175,55,.22) !important;border-radius:10px;padding:9px 12px;cursor:pointer;transition:.15s}
body.wm-barber #portal-content .wm-weekday:hover{border-color:rgba(212,175,55,.5) !important}
body.wm-barber #portal-content .wm-weekday span{color:#e7e2d4 !important;font-weight:600;font-size:.86rem}
body.wm-barber #portal-content .wm-weekday input{width:18px;height:18px;min-height:0;accent-color:#d4af37;cursor:pointer}
body.wm-barber #portal-content .wm-weekday:has(input:checked){background:radial-gradient(circle at 0 0,rgba(212,175,55,.18),transparent 60%),linear-gradient(160deg,#221d10,#0e0e0e) !important;border-color:#d4af37 !important}
/* card do profissional com avatar */
body.wm-barber #portal-content .assistant-card{background:linear-gradient(160deg,#161616,#0c0c0c) !important;border:1px solid rgba(212,175,55,.22) !important;border-radius:14px !important;padding:16px 18px !important}
body.wm-barber #portal-content .assistant-card:hover{border-color:rgba(212,175,55,.5) !important}
body.wm-barber #portal-content .assistant-card-main{display:flex;align-items:center;gap:14px;min-width:0}
body.wm-barber #portal-content .assistant-card-av{width:52px !important;height:52px;flex:none;display:grid;place-items:center;border-radius:50% !important;overflow:hidden;background:radial-gradient(circle at 50% 30%,#232323,#0c0c0c) !important;border:1px solid rgba(212,175,55,.55) !important;color:#e8c766;box-shadow:0 0 22px rgba(212,175,55,.2) !important}
body.wm-barber #portal-content .assistant-card-av img{width:100%;height:100%;object-fit:cover}
body.wm-barber #portal-content .assistant-card-av i{width:24px;height:24px}
body.wm-barber #portal-content .assistant-card strong{color:#f5f0e2 !important;font-size:1.15rem;font-family:Georgia,serif;font-weight:400}
body.wm-barber #portal-content .assistant-card span{color:#b7b1a1 !important}
body.wm-barber #portal-content .assistant-card small{display:inline-flex;align-items:center;gap:6px;color:#9a9488 !important}
body.wm-barber #portal-content .assistant-card small i{width:14px;height:14px;color:#d4af37}
/* botão cadastrar em destaque */
body.wm-barber #portal-content #admin-professional-form > .btn-primary{box-shadow:0 14px 34px rgba(212,175,55,.35)}
/* abas de Configurações no tema escuro */
body.wm-barber #portal-content .wm-set-tabs{border-bottom-color:rgba(212,175,55,.22)}
body.wm-barber #portal-content .wm-set-tab{background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important;border-color:rgba(212,175,55,.28) !important;color:#e8c766 !important}
body.wm-barber #portal-content .wm-set-tab:hover{border-color:#d4af37 !important;transform:translateY(-1px)}
body.wm-barber #portal-content .wm-set-tab.is-active{background:linear-gradient(135deg,#f2d589,#b8862a) !important;border-color:#d4af37 !important;color:#1a1300 !important;box-shadow:0 0 22px rgba(212,175,55,.3)}
body.wm-barber #portal-content .wm-set-tab.is-active svg{color:#1a1300 !important}
/* linha dos telefones em Configurações (fundo creme) */
body.wm-barber #portal-content .settings-phone-row{background:linear-gradient(160deg,#171717,#0d0d0d) !important;border-color:rgba(212,175,55,.22) !important}
body.wm-barber #portal-content .settings-phone-row label{color:#e9e3d1 !important}
body.wm-barber #portal-content .settings-phone-row small{color:#b7b1a1 !important}
/* abas do relatório: inativa escura, ativa dourada */
body.wm-barber #portal-content .reports-tabs button{background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important;border-color:rgba(212,175,55,.25) !important;color:#e8c766 !important}
body.wm-barber #portal-content .reports-tabs button.active{background:linear-gradient(135deg,#f2d589,#b8862a) !important;border-color:#d4af37 !important;color:#1a1300 !important}
/* cards internos do relatório (article sem classe dentro dos grids) → escuros */
body.wm-barber #portal-content .reports-mini-grid > article,
body.wm-barber #portal-content .reports-payment-grid > article,
body.wm-barber #portal-content .reports-export-grid > article,
body.wm-barber #portal-content .reports-main-card article,
body.wm-barber #portal-content .reports-workspace article{
  background:linear-gradient(160deg,#171717,#0d0d0d) !important;
  border:1px solid rgba(212,175,55,.2) !important;
  box-shadow:none !important;
}
body.wm-barber #portal-content .reports-main-card article :where(span,p,small,strong,b,h4,label,div){ color:#d9d3c4 !important; }
body.wm-barber #portal-content .reports-main-card article strong,
body.wm-barber #portal-content .reports-main-card article b,
body.wm-barber #portal-content .reports-main-card article h4{ color:#f2d589 !important; }
/* valores grandes (faturado/recebido) mantêm o dourado forte */
body.wm-barber #portal-content .reports-main-card article [class*="value"],
body.wm-barber #portal-content .reports-main-card article [class*="amount"]{ color:#f2d589 !important; }
/* preview da mensagem de WhatsApp */
body.wm-barber #portal-content .reports-whatsapp-preview{ background:linear-gradient(160deg,#12160f,#0a0d08) !important; border-color:rgba(37,211,102,.25) !important; }
body.wm-barber #portal-content .reports-whatsapp-preview :where(span,p,small,strong,div){ color:#dfe8df !important; }
/* seletor de profissional no envio por WhatsApp */
.reports-whatsapp-prof{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-weight:700;font-size:.82rem}
.reports-whatsapp-prof select{min-height:44px}
body.wm-barber #portal-content .reports-whatsapp-prof span{color:#e9e3d1 !important}
/* miniatura do serviço na agenda: a foto vence o emblema dourado */
body.wm-barber #portal-content .admin-schedule-procedure-icon.has-photo{background:#0d0d0d !important;border:1px solid rgba(212,175,55,.35) !important;padding:0 !important;overflow:hidden}
body.wm-barber #portal-content .admin-schedule-procedure-icon img{width:100%;height:100%;object-fit:cover;display:block}
body.wm-barber .wm-badm-pro-count{flex:none;display:flex;flex-direction:column;align-items:center;color:#f2d589;font-weight:800;font-size:1.1rem;line-height:1}
body.wm-barber .wm-badm-pro-count em{font-style:normal;color:#8f8f8f;font-size:.58rem;font-weight:600;margin-top:1px}
body.wm-barber .wm-badm-cli-list{display:flex;flex-direction:column;gap:6px;max-height:236px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.4) transparent}
body.wm-barber .wm-badm-cli{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid rgba(255,255,255,.05);border-radius:10px;padding:8px 10px;cursor:pointer;text-align:left;transition:.15s}
body.wm-barber .wm-badm-cli:hover{border-color:rgba(212,175,55,.4)}
body.wm-barber .wm-badm-cli-av{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#f2d589,#8c5b16);color:#1a1300;font-weight:800}
body.wm-barber .wm-badm-cli-info{display:flex;flex-direction:column;min-width:0}
body.wm-barber .wm-badm-cli-info strong{color:#f0e2bd;font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.wm-barber .wm-badm-cli-info small{color:#8f8f8f;font-size:.74rem}
body.wm-barber .wm-badm-upgrade{display:flex;flex-direction:column;gap:6px;align-items:flex-start;background:radial-gradient(circle at 100% 0%,rgba(212,175,55,.2),transparent 55%),linear-gradient(160deg,#1c1a12,#0d0d0d)}
body.wm-barber .wm-badm-up-badge{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#f2d589,#b8862a);color:#1a1300;margin-bottom:4px}
body.wm-barber .wm-badm-up-badge i{width:24px;height:24px}
body.wm-barber .wm-badm-upgrade h3{color:#fff;margin:0;display:block}
body.wm-barber .wm-badm-upgrade p{color:#c9c2b0;font-size:.85rem;margin:0 0 8px;line-height:1.4}
/* Ofertas dentro do card do topo (plano mensal) */
body.wm-barber .wm-badm-upgrade.has-offers{gap:22px;padding:22px 18px}
body.wm-barber .wm-badm-up-head{display:flex;align-items:center;gap:12px}
body.wm-barber .wm-badm-up-head .wm-badm-up-badge{width:40px;height:40px;margin:0}
body.wm-barber .wm-badm-up-head .wm-badm-up-badge i{width:21px;height:21px}
body.wm-barber .wm-badm-up-head h3{font-size:1.08rem}
body.wm-barber .wm-badm-up-head p{margin:2px 0 0;font-size:.8rem}
body.wm-barber .wm-badm-up-carousel{width:100%}
body.wm-barber .wm-badm-up-offers{position:relative;width:100%}
body.wm-barber #portal-content .wm-badm-up-offers .wm-badm-offer{position:absolute;top:0;left:0;right:0;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .55s ease,transform .55s ease;pointer-events:none}
body.wm-barber #portal-content .wm-badm-up-offers .wm-badm-offer.is-active{position:relative;opacity:1;visibility:visible;transform:none;pointer-events:auto}
body.wm-barber .wm-badm-up-dots{display:flex;gap:7px;justify-content:center;margin-top:16px}
body.wm-barber .wm-badm-up-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;cursor:pointer;background:rgba(212,175,55,.3);transition:width .3s ease,background .3s ease}
body.wm-barber .wm-badm-up-dots button.is-active{width:22px;border-radius:5px;background:#d4af37}
/* ---- Agenda da semana (visual premium preto+ouro) ---- */
body.wm-barber #portal-content .wm-badm-week{background:radial-gradient(900px 320px at 50% -12%,rgba(212,175,55,.08),transparent 62%),linear-gradient(165deg,#151515,#080808) !important;border:1px solid rgba(212,175,55,.3) !important;border-radius:18px;padding:22px 24px 26px}
body.wm-barber #portal-content .wm-badm-week-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
body.wm-barber #portal-content .wm-badm-week-brand{display:flex;align-items:center;gap:14px}
body.wm-barber #portal-content .wm-badm-week-dia{width:34px;height:34px;flex:none;display:grid;place-items:center;border:1px solid rgba(212,175,55,.5);border-radius:8px;transform:rotate(45deg)}
body.wm-barber #portal-content .wm-badm-week-dia svg{width:15px;height:15px;transform:rotate(-45deg);color:#e8c766}
body.wm-barber #portal-content .wm-badm-week-eyebrow{color:#e8c766 !important;font-size:.8rem;font-weight:700;letter-spacing:.26em;text-transform:uppercase}
body.wm-barber #portal-content .wm-badm-week-rule{height:1px;margin:14px 0 0;background:linear-gradient(90deg,rgba(212,175,55,.55),rgba(212,175,55,.12) 45%,transparent 75%)}
body.wm-barber #portal-content .wm-badm-week-title{color:#f7efd9 !important;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:1.95rem;letter-spacing:.3px;margin:14px 0 20px}
body.wm-barber #portal-content .wm-badm-week-nav{display:flex;gap:10px;flex-wrap:wrap}
body.wm-barber #portal-content .wm-badm-week-nav button{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid rgba(212,175,55,.45);color:#f0dfa8 !important;border-radius:999px;padding:10px 20px;font-weight:700;font-size:.88rem;cursor:pointer;transition:.18s}
body.wm-barber #portal-content .wm-badm-week-nav button svg{width:15px;height:15px}
body.wm-barber #portal-content .wm-badm-week-nav button:hover{border-color:#d4af37;background:rgba(212,175,55,.09)}
body.wm-barber #portal-content .wm-badm-week-nav button.is-now{background:linear-gradient(135deg,#f2d589,#c99a2e) !important;color:#2b1f00 !important;border-color:#f2d589;box-shadow:0 0 26px rgba(212,175,55,.4)}
body.wm-barber #portal-content .wm-badm-week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
/* card do dia */
body.wm-barber #portal-content .wm-badm-day{position:relative;display:flex;flex-direction:column;gap:10px;min-height:252px;padding:16px 11px 13px;border:1px solid rgba(212,175,55,.28) !important;border-radius:14px;background:linear-gradient(180deg,#121212,#0a0a0a) !important;cursor:pointer;transition:.2s;overflow:hidden}
body.wm-barber #portal-content .wm-badm-day:hover{border-color:rgba(212,175,55,.6) !important;transform:translateY(-2px)}
body.wm-barber #portal-content .wm-badm-day.is-today{border-color:rgba(212,175,55,.8) !important;background:linear-gradient(180deg,#141a13,#0a0c0a) !important;box-shadow:0 0 34px rgba(212,175,55,.16)}
body.wm-barber #portal-content .wm-badm-day.is-today::before{content:"";position:absolute;top:0;left:20%;right:20%;height:2px;background:linear-gradient(90deg,transparent,#f2d589,transparent)}
body.wm-barber #portal-content .wm-badm-day-head{text-align:center}
body.wm-barber #portal-content .wm-badm-day-wd{display:block;color:#c9b98a !important;font-size:.72rem;letter-spacing:.2em;font-weight:700}
body.wm-barber #portal-content .wm-badm-day-n{display:block;color:#f2d589 !important;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:2.1rem;line-height:1.15;margin-top:2px}
body.wm-barber #portal-content .wm-badm-day-rule{display:block;height:1px;width:60%;margin:9px auto 0;background:linear-gradient(90deg,transparent,rgba(212,175,55,.6),transparent)}
body.wm-barber #portal-content .wm-badm-day-body{flex:1;display:flex;flex-direction:column;gap:7px}
body.wm-barber #portal-content .wm-badm-day-ghost{flex:1;display:grid;place-items:center;opacity:.15}
body.wm-barber #portal-content .wm-badm-day-ghost svg{width:46px;height:46px;color:#d4af37}
/* linhas de contagem por status */
body.wm-barber #portal-content .wm-badm-cnt{display:flex;align-items:baseline;gap:6px;background:rgba(255,255,255,.025);border:1px solid rgba(212,175,55,.16);border-left:2px solid #d4af37;border-radius:8px;padding:7px 9px}
body.wm-barber #portal-content .wm-badm-cnt-n{color:#f2d589 !important;font-weight:800;font-size:1.02rem;line-height:1}
body.wm-barber #portal-content .wm-badm-cnt-l{color:#b9b2a2 !important;font-size:.67rem;line-height:1.25}
body.wm-barber #portal-content .wm-badm-cnt.is-conf{border-left-color:#3ddc84}
body.wm-barber #portal-content .wm-badm-cnt.is-conf .wm-badm-cnt-n{color:#3ddc84 !important}
body.wm-barber #portal-content .wm-badm-cnt.is-wait{border-left-color:#e6b43c}
body.wm-barber #portal-content .wm-badm-cnt.is-wait .wm-badm-cnt-n{color:#e6b43c !important}
body.wm-barber #portal-content .wm-badm-cnt.is-done{border-left-color:#8fb7e8}
body.wm-barber #portal-content .wm-badm-cnt.is-done .wm-badm-cnt-n{color:#8fb7e8 !important}
body.wm-barber #portal-content .wm-badm-cnt.is-canc{border-left-color:#d97c7c}
body.wm-barber #portal-content .wm-badm-cnt.is-canc .wm-badm-cnt-n{color:#d97c7c !important}
body.wm-barber #portal-content .wm-badm-cnt.is-pre{border-left-color:#c9a24a;border-style:dashed;border-width:1px 1px 1px 2px}
body.wm-barber #portal-content .wm-badm-cnt.is-pre .wm-badm-cnt-n{color:#e8c766 !important}
/* badge de status "Pré-agendamento" */
.admin-schedule-status.pre{background:#fff7e6;color:#8a6d1f}
body.wm-barber #portal-content .admin-schedule-status.pre{background:rgba(212,175,55,.12) !important;color:#e8c766 !important;border:1px dashed rgba(212,175,55,.5) !important}
/* rodapé do dia */
body.wm-barber #portal-content .wm-badm-day-foot{position:relative;margin-top:auto;padding-top:12px;text-align:center}
body.wm-barber #portal-content .wm-badm-day-foot::before{content:"";position:absolute;top:0;left:16%;right:16%;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.4),transparent)}
body.wm-barber #portal-content .wm-badm-day-pill{display:inline-flex;align-items:center;gap:6px;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.42);color:#f0dfa8 !important;border-radius:999px;padding:5px 12px;font-size:.72rem;font-weight:700}
body.wm-barber #portal-content .wm-badm-day-pill svg{width:13px;height:13px}
body.wm-barber #portal-content .wm-badm-day-free{display:flex;flex-direction:column;align-items:center;gap:8px;color:#8f8a7d !important;font-size:.8rem}
body.wm-barber #portal-content .wm-badm-dot{width:5px;height:5px;border-radius:50%;background:#d4af37;box-shadow:0 0 9px rgba(212,175,55,.9);margin-top:-6px}
body.wm-barber #portal-content .wm-badm-empty{color:#6f6f6f !important;font-size:.75rem;text-align:center}
@media(max-width:1200px){body.wm-barber #portal-content .wm-badm-day{min-height:210px;padding:13px 9px 11px}body.wm-barber #portal-content .wm-badm-day-n{font-size:1.7rem}body.wm-barber #portal-content .wm-badm-week-title{font-size:1.55rem}}
body.wm-barber .wm-badm-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
body.wm-barber .wm-badm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.wm-barber .wm-badm-action{display:flex;align-items:center;gap:10px;background:linear-gradient(160deg,#1a1a1a,#0e0e0e);border:1px solid rgba(212,175,55,.2);border-radius:11px;padding:12px;cursor:pointer;color:#f0e2bd;font-weight:600;font-size:.86rem;transition:.15s}
body.wm-barber .wm-badm-action:hover{border-color:rgba(212,175,55,.5);transform:translateY(-1px)}
body.wm-barber .wm-badm-action>i:first-child{width:18px;height:18px;color:#d4af37;flex:none}
body.wm-barber .wm-badm-action span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.wm-barber .wm-badm-action-go{width:15px;height:15px;color:#7a6a3a;flex:none}
body.wm-barber .wm-badm-reqs{display:flex;flex-direction:column;gap:8px;max-height:280px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.4) transparent}
body.wm-barber .wm-badm-req{display:flex;flex-direction:column;gap:1px;text-align:left;background:linear-gradient(160deg,#1a1a1a,#0e0e0e);border:1px solid rgba(212,175,55,.18);border-radius:10px;padding:10px 12px;cursor:pointer;transition:.15s}
body.wm-barber .wm-badm-req:hover{border-color:rgba(212,175,55,.5)}
body.wm-barber .wm-badm-req-when{color:#d4af37;font-size:.72rem;font-weight:700}
body.wm-barber .wm-badm-req strong{color:#f0e2bd;font-size:.85rem}
body.wm-barber .wm-badm-req small{color:#8f8f8f;font-size:.74rem}
body.wm-barber .wm-badm-count{background:#d4af37;color:#1a1300;border-radius:20px;padding:1px 8px;font-size:.72rem;font-weight:800;font-style:normal;margin-left:6px}
@media(max-width:1000px){body.wm-barber .wm-badm-top{grid-template-columns:1fr}body.wm-barber .wm-badm-bottom{grid-template-columns:1fr}body.wm-barber .wm-badm-week-grid{grid-template-columns:repeat(3,1fr)}body.wm-barber .wm-badm-actions{grid-template-columns:1fr}}
@media(max-width:560px){body.wm-barber .wm-badm-week-grid{grid-template-columns:1fr 1fr}}
/* ===================================================================== */
/* ===== Barbearia: ESCURECIMENTO GLOBAL de TODAS as telas do admin ===== */
/* Superfícies estruturais claras (painéis, cards, boards, tiras, previews) → escuras */
body.wm-barber #portal-content [class*="-panel"],
body.wm-barber #portal-content [class*="-card"],
body.wm-barber #portal-content [class*="-board"],
body.wm-barber #portal-content [class*="-strip"],
body.wm-barber #portal-content [class*="-preview"],
body.wm-barber #portal-content [class*="-month-select"],
body.wm-barber #portal-content .admin-schedule-head,
body.wm-barber #portal-content .admin-schedule-row,
body.wm-barber #portal-content .quick-patient-panel{
  background:linear-gradient(160deg,#171717,#0d0d0d) !important;
  border-color:rgba(212,175,55,.18) !important;
}
/* Chips/botões-filtro claros → escuros; ativos → dourados */
body.wm-barber #portal-content .appointment-preset-btn,
body.wm-barber #portal-content .appointment-status-filter,
body.wm-barber #portal-content .clinic-status-chip,
body.wm-barber #portal-content .finance-entry-submit,
body.wm-barber #portal-content .appointment-month-select{
  background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important;
  border-color:rgba(212,175,55,.22) !important;
  color:#e7e2d4 !important;
}
body.wm-barber #portal-content .appointment-preset-btn.active,
body.wm-barber #portal-content .appointment-status-filter.is-active,
body.wm-barber #portal-content .clinic-status-chip.is-active{
  background:linear-gradient(135deg,#f2d589,#b8862a) !important;
  border-color:#d4af37 !important;
  color:#1a1300 !important;
}
/* Emblemas de ícone de seção (evita quadrado branco com ícone escuro) */
body.wm-barber #portal-content .appointments-premium-icon,
body.wm-barber #portal-content .patients-premium-icon,
body.wm-barber #portal-content [class*="-summary-icon"],
body.wm-barber #portal-content [class*="-security-icon"],
body.wm-barber #portal-content [class*="-entry-icon"],
body.wm-barber #portal-content [class*="-procedure-icon"]{
  background:linear-gradient(135deg,#d4af37,#8c5b16) !important;
  color:#1a1300 !important;
}
/* Texto legível dentro de qualquer superfície escurecida */
body.wm-barber #portal-content [class*="-panel"] :where(span,p,small,em,td,th,li,dd,dt,label,h4,h5,div),
body.wm-barber #portal-content [class*="-card"] :where(span,p,small,em,td,th,li,dd,dt,label,h4,h5,div),
body.wm-barber #portal-content [class*="-board"] :where(span,p,small,em,td,th,li,dd,dt,label,h4,h5,div){
  color:#d9d3c4 !important;
}
body.wm-barber #portal-content [class*="-card"] strong,
body.wm-barber #portal-content [class*="-panel"] strong,
body.wm-barber #portal-content [class*="-card"] h3,
body.wm-barber #portal-content [class*="-panel"] h3{ color:#f2d589 !important; }
/* Acento de status (mantém o significado via borda colorida sobre o escuro) */
body.wm-barber #portal-content [class*="-card"].success,
body.wm-barber #portal-content [class*="-card"].ok{ border-left:3px solid #3ddc84 !important; }
body.wm-barber #portal-content [class*="-card"].warning,
body.wm-barber #portal-content [class*="-card"].wait{ border-left:3px solid #e6b43c !important; }
body.wm-barber #portal-content [class*="-card"].info{ border-left:3px solid #5aa0e0 !important; }
body.wm-barber #portal-content [class*="-card"].danger,
body.wm-barber #portal-content [class*="-card"].cancel{ border-left:3px solid #d97c7c !important; }
body.wm-barber #portal-content [class*="-card"].gold,
body.wm-barber #portal-content [class*="-card"].pix{ border-left:3px solid #f2d589 !important; }
/* Reproteger botões (não podem herdar o texto claro acima) */
body.wm-barber #portal-content .btn-primary,
body.wm-barber #portal-content .btn-primary *{ color:#1a1300 !important; }
body.wm-barber #portal-content .btn-ghost,
body.wm-barber #portal-content .btn-ghost *{ color:#e8c766 !important; }
body.wm-barber #portal-content .mini-btn,
body.wm-barber #portal-content .mini-btn *{ color:#f2d589 !important; }
/* --- 2ª passada: tabelas premium, linhas, avatares, pills de status --- */
body.wm-barber #portal-content [class*="premium-patient"],
body.wm-barber #portal-content [class*="patients-premium"],
body.wm-barber #portal-content [class*="-table"],
body.wm-barber #portal-content [class*="-page-controls"]{
  background:linear-gradient(160deg,#171717,#0d0d0d) !important;
  border-color:rgba(212,175,55,.18) !important;
  color:#e7e2d4 !important;
}
body.wm-barber #portal-content [class*="premium-patient"] :where(span,p,small,strong,td,th,div,label),
body.wm-barber #portal-content [class*="patients-premium"] :where(span,p,small,td,th,div,label),
body.wm-barber #portal-content [class*="-table"] :where(span,p,small,td,th,div,label){ color:#e7e2d4 !important; }
body.wm-barber #portal-content [class*="premium-patient"] strong{ color:#f2d589 !important; }
/* botões de ação claros → escuros com texto dourado */
body.wm-barber #portal-content .premium-patient-action,
body.wm-barber #portal-content .patient-page-controls button{
  background:linear-gradient(160deg,#1c1c1c,#0e0e0e) !important;
  border-color:rgba(212,175,55,.25) !important;
  color:#f2d589 !important;
}
body.wm-barber #portal-content .premium-patient-action.primary{
  background:linear-gradient(135deg,#f2d589,#b8862a) !important;
  color:#1a1300 !important;
}
/* avatares / emblemas de ícone / dots → dourado */
body.wm-barber #portal-content [class*="-avatar"]:not(.has-photo):not([style*="url"]),
body.wm-barber #portal-content [class*="-info-icon"],
body.wm-barber #portal-content [class*="-status-dot"],
body.wm-barber #portal-content [class*="-status-icon"],
body.wm-barber #portal-content .patients-premium-counter,
body.wm-barber #portal-content .admin-schedule-avatar.fallback{
  background:linear-gradient(135deg,#d4af37,#8c5b16) !important;
  color:#1a1300 !important;
  border-color:transparent !important;
}
/* pills de status: fundo escuro, cor do texto conforme o estado */
body.wm-barber #portal-content .status,
body.wm-barber #portal-content .admin-schedule-status,
body.wm-barber #portal-content [class*="-trend"]{
  background:rgba(255,255,255,.05) !important;
  border-color:rgba(212,175,55,.2) !important;
  color:#d9d3c4 !important;
}
body.wm-barber #portal-content .status.success,
body.wm-barber #portal-content .admin-schedule-status.confirmed,
body.wm-barber #portal-content [class*="-trend"].up{ color:#3ddc84 !important; }
body.wm-barber #portal-content .status.warning,
body.wm-barber #portal-content .admin-schedule-status.wait{ color:#e6b43c !important; }
body.wm-barber #portal-content .status.danger,
body.wm-barber #portal-content .status.cancel,
body.wm-barber #portal-content .admin-schedule-status.cancel,
body.wm-barber #portal-content [class*="-trend"].down{ color:#e79a9a !important; }
/* campo de busca de clientes (patient-premium-search-field) */
body.wm-barber #portal-content [class*="patient-premium"]{ background:linear-gradient(160deg,#161616,#0e0e0e) !important; border-color:rgba(212,175,55,.28) !important; color:#f2f2f2 !important; }
/* --- Página SUPORTE (wm-sup-*): tema escuro da barbearia --- */
body.wm-barber .wm-sup-col{ background:linear-gradient(160deg,#171717,#0d0d0d) !important; border-color:rgba(212,175,55,.22) !important; }
body.wm-barber .wm-sup-col-head{ border-bottom-color:rgba(212,175,55,.25) !important; }
body.wm-barber .wm-sup-col-head h3,
body.wm-barber .wm-sup-next strong,
body.wm-barber .wm-sup-invoice strong,
body.wm-barber .wm-sup-invoice-right b{ color:#f2d589 !important; }
body.wm-barber .wm-sup-col-head i,
body.wm-barber .wm-sup-col-head svg{ color:#d4af37 !important; }
body.wm-barber .wm-sup-next span,
body.wm-barber .wm-sup-invoice span,
body.wm-barber .wm-sup-invoice-right em,
body.wm-barber .wm-sup-empty,
body.wm-barber .wm-sup-form label{ color:#b7b1a1 !important; }
body.wm-barber .wm-sup-invoice{ background:rgba(212,175,55,.06) !important; border-color:rgba(212,175,55,.2) !important; }
body.wm-barber .wm-sup-form input,
body.wm-barber .wm-sup-form textarea{ background:#111 !important; border-color:rgba(212,175,55,.3) !important; color:#f2f2f2 !important; }
body.wm-barber .wm-sup-form input::placeholder,
body.wm-barber .wm-sup-form textarea::placeholder{ color:#7d7d7d !important; }
body.wm-barber .wm-sup-btn-gold{ background:linear-gradient(135deg,#f2d589,#b8862a) !important; color:#1a1300 !important; border-color:#d4af37 !important; }
body.wm-barber .wm-sup-btn-ghost{ background:rgba(212,175,55,.06) !important; color:#e8c766 !important; border-color:rgba(212,175,55,.4) !important; }
/* lista de planos de upgrade no tema escuro */
body.wm-barber .wm-sup-plan-choose{ color:#b7b1a1 !important; }
body.wm-barber .wm-sup-plan{ background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important; border-color:rgba(212,175,55,.28) !important; }
body.wm-barber .wm-sup-plan.is-featured{ border-color:#d4af37 !important; box-shadow:0 0 0 1px rgba(212,175,55,.35) inset !important; }
body.wm-barber .wm-sup-plan-info strong{ color:#f2d589 !important; }
body.wm-barber .wm-sup-plan-info span{ color:#b7b1a1 !important; }
body.wm-barber .wm-sup-plan-info em{ color:#8f8f8f !important; }
body.wm-barber .wm-sup{ background:radial-gradient(1200px 500px at 100% 0%,rgba(212,175,55,.1),transparent 55%),linear-gradient(150deg,#141414 0%,#0a0a0a 100%) !important; }
/* pill de preço na lista de serviços */
body.wm-barber #portal-content .service-price-pill{ background:linear-gradient(135deg,#f2d589,#b8862a) !important; color:#1a1300 !important; border-color:transparent !important; }
/* SVGs não precisam de fundo (mata marca d'água/quadrado claro atrás de ícones) */
body.wm-barber #portal-content svg{ background:transparent !important; }
/* badges de contagem dentro dos chips de filtro/status */
body.wm-barber #portal-content .appointment-status-filter small,
body.wm-barber #portal-content .appointment-status-filter em,
body.wm-barber #portal-content .clinic-status-chip em,
body.wm-barber #portal-content .clinic-status-chip small{ background:rgba(212,175,55,.2) !important; color:#f2d589 !important; }
/* badge do número do dia nos calendários (retornos/agenda) */
body.wm-barber #portal-content .return-calendar-day > span:first-of-type,
body.wm-barber #portal-content .appointment-calendar-day > span:first-of-type,
body.wm-barber #portal-content .calendar-day > span:first-of-type{ background:rgba(212,175,55,.2) !important; color:#f2d589 !important; }
/* botão "Escolher foto" (upload de foto) */
body.wm-barber #portal-content .photo-upload,
body.wm-barber #portal-content .photo-upload span{ background:linear-gradient(160deg,#1a1a1a,#0e0e0e) !important; color:#f2d589 !important; border-color:rgba(212,175,55,.3) !important; }

/* ===== Wizard de agendamento BARBEARIA (6 etapas, pegada Líder) ===== */
body.wm-barber .wm-bw{display:flex;flex-direction:column;gap:18px}
body.wm-barber .wm-bw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.wm-barber .wm-bw-head .eyebrow{color:#d4af37;text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.72rem;display:block}
body.wm-barber .wm-bw-head h2{color:#fff;font-size:1.5rem;margin-top:4px}
body.wm-barber .wm-bw-top{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.wm-barber .wm-bw-card{background:linear-gradient(160deg,#151515,#0c0c0c);border:1px solid rgba(212,175,55,.2);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:8px}
body.wm-barber .wm-bw-card h3{color:#f5f0e2;font-size:1rem}
body.wm-barber .wm-bw-card p{color:#9a9a9a;font-size:.86rem}
body.wm-barber .wm-bw-next-info strong{color:#f5f0e2;font-size:.95rem;display:block;margin-bottom:6px}
body.wm-barber .wm-bw-next-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
body.wm-barber .wm-bw-next-tags span{background:rgba(212,175,55,.1);border:1px solid rgba(212,175,55,.28);color:#e8c766;font-size:.74rem;padding:2px 10px;border-radius:7px}
body.wm-barber .wm-bw-status{background:rgba(212,175,55,.14);color:#f2d589;font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:999px;align-self:flex-start}
body.wm-barber .wm-bw-flow{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}
body.wm-barber .wm-bw-steps{display:flex;flex-direction:column;gap:10px}
body.wm-barber .wm-bw-step{display:flex;align-items:center;gap:12px;width:100%;text-align:left;font:inherit;background:linear-gradient(160deg,#141414,#0d0d0d);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:16px 18px}
body.wm-barber button.wm-bw-step{cursor:pointer;transition:.16s}
body.wm-barber button.wm-bw-step.clickable:hover{border-color:rgba(212,175,55,.5);transform:translateX(2px)}
body.wm-barber .wm-bw-step.active{border-color:rgba(212,175,55,.6);background:radial-gradient(circle at 0% 50%,rgba(212,175,55,.14),transparent 60%),linear-gradient(160deg,#1a1a1a,#0e0e0e);box-shadow:0 10px 26px rgba(0,0,0,.5)}
body.wm-barber .wm-bw-step-n{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:8px;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.4);color:#e8c766;font-weight:800;font-size:.8rem}
body.wm-barber .wm-bw-step.active .wm-bw-step-n{background:linear-gradient(135deg,#d4af37,#f2d589);color:#1a1300;border-color:transparent}
body.wm-barber .wm-bw-step.done .wm-bw-step-n{color:#f2d589}
body.wm-barber .wm-bw-step-l{color:#c9c9c9;font-weight:600;font-size:.92rem}
body.wm-barber .wm-bw-step.active .wm-bw-step-l{color:#fff}
body.wm-barber .wm-bw-content{background:linear-gradient(160deg,#141414,#0b0b0b);border:1px solid rgba(212,175,55,.2);border-radius:14px;padding:22px;min-height:360px}
body.wm-barber .wm-bw-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
body.wm-barber .wm-bw-title h3{color:#fff;font-size:1.3rem;font-family:Georgia,serif;font-weight:600}
body.wm-barber .wm-bw-title p{color:#9a9a9a;font-size:.84rem;margin-top:2px}
body.wm-barber .wm-bw-pill{background:rgba(255,255,255,.05);border:1px solid rgba(212,175,55,.3);color:#e8c766;font-size:.72rem;font-weight:700;padding:5px 12px;border-radius:999px;white-space:nowrap}
body.wm-barber .wm-bw-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.wm-barber .wm-bw-select{display:flex;align-items:center;gap:14px;text-align:left;background:linear-gradient(160deg,#181818,#101010);border:1px solid rgba(212,175,55,.18);border-radius:12px;padding:12px;cursor:pointer;transition:.18s}
body.wm-barber .wm-bw-select.tall{align-items:flex-start;min-height:96px}
body.wm-barber .wm-bw-select:hover{border-color:rgba(212,175,55,.5)}
body.wm-barber .wm-bw-select.selected{border-color:#d4af37;box-shadow:0 0 0 1px rgba(212,175,55,.4),0 14px 30px rgba(0,0,0,.5);background:radial-gradient(circle at 0% 0%,rgba(212,175,55,.1),transparent 55%),linear-gradient(160deg,#1c1c1c,#101010)}
body.wm-barber .wm-bw-select img{width:60px;aspect-ratio:228/309;height:auto;flex:none;object-fit:cover;border-radius:10px;border:1px solid rgba(212,175,55,.25)}
body.wm-barber .wm-bw-select{align-items:flex-start}
.whatsapp-barber-note{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;padding:12px 14px;border-radius:12px;background:rgba(37,211,102,.08);border:1px solid rgba(37,211,102,.28);font-size:.86rem;line-height:1.45}
.whatsapp-barber-note i{width:18px;height:18px;flex:none;margin-top:1px;color:#25d366}
body.wm-barber .whatsapp-barber-note{background:rgba(212,175,55,.08);border-color:rgba(212,175,55,.3);color:#e9e3d1}
body.wm-barber .whatsapp-barber-note i{color:#d4af37}
body.wm-barber .wm-bw-select span{display:flex;flex-direction:column;gap:3px;min-width:0}
body.wm-barber .wm-bw-select strong{color:#f5f0e2;font-size:.9rem}
body.wm-barber .wm-bw-select small{color:#9a9a9a;font-size:.76rem}
body.wm-barber .wm-bw-select .wm-bw-desc{color:#7f7f7f}
body.wm-barber .wm-bw-select .wm-bw-stars{color:#e8c766}
body.wm-barber .wm-bw-cal-head{display:flex;align-items:center;justify-content:space-between;margin:6px 0 12px}
body.wm-barber .wm-bw-cal-head h4{color:#fff;text-transform:capitalize;font-size:1.05rem}
body.wm-barber .wm-bw-cal-nav{width:40px;height:40px;border:1px solid rgba(212,175,55,.35);background:rgba(212,175,55,.08);color:#e8c766;border-radius:10px;font-size:1.3rem;cursor:pointer}
body.wm-barber .wm-bw-cal-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:6px}
body.wm-barber .wm-bw-cal-week span{text-align:center;color:#8a8a8a;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}
body.wm-barber .wm-bw-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
body.wm-barber .wm-bw-day{aspect-ratio:1;display:grid;place-items:center;background:linear-gradient(160deg,#1a1a1a,#101010);border:1px solid rgba(255,255,255,.06);border-radius:9px;color:#e7e7e7;font-weight:600;cursor:pointer}
body.wm-barber .wm-bw-day:hover:not(:disabled){border-color:rgba(212,175,55,.5)}
body.wm-barber .wm-bw-day.selected{background:linear-gradient(135deg,#d4af37,#f2d589);color:#1a1300;border-color:transparent;font-weight:800}
body.wm-barber .wm-bw-day:disabled{color:#4a4a4a;background:#0d0d0d;cursor:not-allowed}
body.wm-barber .wm-bw-day.blank{background:transparent;border:0}
body.wm-barber .wm-bw-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
body.wm-barber .wm-bw-slot{display:flex;flex-direction:column;align-items:center;gap:2px;background:linear-gradient(160deg,#1a1a1a,#101010);border:1px solid rgba(255,255,255,.06);border-radius:10px;padding:12px 6px;cursor:pointer}
body.wm-barber .wm-bw-slot strong{color:#f2f2f2;font-size:.95rem}
body.wm-barber .wm-bw-slot small{color:#22c55e;font-size:.7rem}
body.wm-barber .wm-bw-slot:hover:not(:disabled){border-color:rgba(212,175,55,.5)}
body.wm-barber .wm-bw-slot.selected{background:linear-gradient(135deg,#d4af37,#f2d589);border-color:transparent}
body.wm-barber .wm-bw-slot.selected strong,body.wm-barber .wm-bw-slot.selected small{color:#1a1300}
body.wm-barber .wm-bw-slot.off{opacity:.5;cursor:not-allowed}
body.wm-barber .wm-bw-slot.off small{color:#8a8a8a}
body.wm-barber .wm-bw-form{display:flex;flex-direction:column;gap:14px}
body.wm-barber .wm-bw-summary{display:flex;flex-direction:column;background:linear-gradient(160deg,#181818,#0e0e0e);border:1px solid rgba(212,175,55,.25);border-radius:12px;overflow:hidden;margin-bottom:16px}
body.wm-barber .wm-bw-srow{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.05)}
body.wm-barber .wm-bw-srow:last-child{border-bottom:0}
body.wm-barber .wm-bw-srow span{color:#9a9a9a;font-size:.86rem}
body.wm-barber .wm-bw-srow strong{color:#f5f0e2;font-size:.92rem}
body.wm-barber .wm-bw-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
body.wm-barber .wm-bw-actions .btn-primary{background:linear-gradient(135deg,#cda03f,#f2d589) !important;color:#1a1300 !important}
body.wm-barber .wm-bw-actions .btn-primary:disabled{opacity:.5}
body.wm-barber .wm-bw-wpp{background:linear-gradient(135deg,#128c3e,#1eb954) !important;color:#fff !important;border:0}
body.wm-barber .wm-bw-empty{color:#8a8a8a;text-align:center;padding:20px}
@media(max-width:820px){body.wm-barber .wm-bw-top{grid-template-columns:1fr}body.wm-barber .wm-bw-flow{grid-template-columns:1fr}body.wm-barber .wm-bw-grid{grid-template-columns:1fr}body.wm-barber .wm-bw-slots{grid-template-columns:repeat(3,1fr)}}

/* ============================================================
   PÁGINA PÚBLICA — BARBEARIA (preto + dourado, premium v2)
   ============================================================ */
body.wm-barber-public{background:#050505;color:#eee;--wmb-serif:"Cormorant Garamond",Georgia,serif;--wmb-caps:"Cinzel","Cormorant Garamond",Georgia,serif}
/* ---- ornamentos ---- */
.wmb-orn{display:flex;align-items:center;justify-content:center;gap:14px;color:#c8a24a;margin:0 auto}
.wmb-orn span{height:1px;width:96px;max-width:22vw;background:linear-gradient(90deg,transparent,rgba(212,175,55,.75))}
.wmb-orn span:last-child{background:linear-gradient(90deg,rgba(212,175,55,.75),transparent)}
.wmb-orn svg{width:22px;height:22px;flex:none}
.wmb-orn.wmb-orn-sm span{width:56px}
.wmb-orn.wmb-orn-sm svg{width:13px;height:13px}
/* ---- cabeçalho ---- */
body.wm-barber-public .site-header{background:linear-gradient(180deg,#0b0b0b,#070707);border-bottom:1px solid rgba(212,175,55,.28);box-shadow:0 8px 30px rgba(0,0,0,.5)}
body.wm-barber-public .site-header .header-grid{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.wmb-brand{display:inline-flex;align-items:center;gap:14px;text-decoration:none}
.wmb-crest{position:relative;display:inline-grid;place-items:center;width:54px;height:58px;flex:none;border:1.5px solid rgba(212,175,55,.6);border-radius:9px;background:linear-gradient(160deg,#151210,#090807);box-shadow:0 0 18px rgba(212,175,55,.14),inset 0 0 14px rgba(212,175,55,.06)}
.wmb-crest svg{position:absolute;top:7px;width:15px;height:15px;color:#e8c25a}
.wmb-crest b{margin-top:9px;font-family:var(--wmb-caps);font-weight:700;font-size:1.05rem;letter-spacing:.03em;background:linear-gradient(180deg,#fbeeba,#e8c25a 50%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-crest-img{width:58px;height:58px;object-fit:contain;flex:none}
.wmb-brand-text{display:flex;flex-direction:column;line-height:1.05}
.wmb-brand-text em{font-style:normal;font-family:var(--wmb-caps);font-size:.6rem;letter-spacing:.36em;color:#b9a15a;font-weight:600}
.wmb-brand-text strong{font-family:var(--wmb-caps);font-size:1.15rem;letter-spacing:.12em;background:linear-gradient(180deg,#fbeeba,#e8c25a 55%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-brand-text small{font-size:.54rem;letter-spacing:.22em;color:#7c766a;font-weight:600;margin-top:3px}
.wmb-nav{display:flex;gap:30px}
.wmb-nav a{position:relative;color:#e6e2d8;text-decoration:none;font-size:.96rem;font-weight:500;padding:6px 0;transition:color .2s}
.wmb-nav a:hover{color:#f2d589}
.wmb-nav a::after{content:"";position:absolute;left:50%;right:50%;bottom:-2px;height:2px;background:linear-gradient(90deg,#f2d589,#c08d2c);transition:left .25s,right .25s;border-radius:2px}
.wmb-nav a:hover::after{left:0;right:0}
.wmb-actions{display:flex;align-items:center;gap:14px}
/* ---- botões ---- */
.wmb-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:.96rem;border-radius:11px;padding:11px 20px;cursor:pointer;text-decoration:none;border:1px solid transparent;transition:transform .15s,box-shadow .2s,background .2s}
.wmb-btn svg{width:18px;height:18px}
.wmb-btn:hover{transform:translateY(-1px)}
.wmb-btn-gold{color:#241900;background:linear-gradient(135deg,#fbeaa6,#eecb6a 40%,#c9922e);box-shadow:0 8px 22px rgba(212,175,55,.32),inset 0 0 0 1px rgba(255,255,255,.2)}
.wmb-btn-gold:hover{box-shadow:0 12px 30px rgba(212,175,55,.45)}
.wmb-btn-ghost{color:#f2d589;background:rgba(212,175,55,.06);border-color:rgba(212,175,55,.5)}
.wmb-btn-ghost:hover{background:rgba(212,175,55,.14)}
.wmb-btn-dark{color:#f4ecd6;background:linear-gradient(160deg,#151310,#0b0a08);border-color:rgba(212,175,55,.45);box-shadow:0 8px 22px rgba(0,0,0,.5)}
.wmb-btn-dark:hover{border-color:rgba(212,175,55,.8)}
.wmb-btn-goldline{color:#f6de95;background:linear-gradient(180deg,rgba(212,175,55,.08),transparent);border:1.5px solid rgba(212,175,55,.75);box-shadow:0 0 26px rgba(212,175,55,.18),inset 0 0 14px rgba(212,175,55,.06)}
.wmb-btn-goldline:hover{border-color:#f2d589;box-shadow:0 0 40px rgba(212,175,55,.35)}
.wmb-btn-lg{font-size:1.06rem;padding:16px 30px;border-radius:13px}
/* ---- hero ---- */
body.wm-barber-public #public-page{background:#050505}
.wmb-hero{position:relative;padding:66px 20px 78px;text-align:center;background:linear-gradient(180deg,rgba(6,6,6,.72),rgba(5,5,5,.92)),var(--wmb-hero-img,radial-gradient(1100px 560px at 50% -6%,rgba(212,175,55,.13),transparent 62%)),linear-gradient(180deg,#0c0b0a,#050505);background-size:cover;background-position:center;overflow:hidden}
.wmb-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.5),transparent)}
.wmb-hero-inner{max-width:1000px;margin:0 auto;position:relative;z-index:1}
.wmb-kicker{display:block;font-family:var(--wmb-caps);color:#c8a24a;text-transform:uppercase;letter-spacing:.4em;font-size:.82rem;font-weight:600;margin:18px 0 4px}
.wmb-hero-name{font-family:var(--wmb-serif);font-weight:700;font-size:clamp(2.6rem,6.5vw,5rem);line-height:1.05;margin:2px 0 6px;background:linear-gradient(180deg,#fff4cd,#eecb6a 45%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px 14px rgba(212,175,55,.3))}
.wmb-hero-sub{color:#c3bcac;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.6;max-width:600px;margin:12px auto 0}
.wmb-hero-cta{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:30px}
.wmb-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:46px auto 8px;max-width:960px}
.wmb-feat{position:relative;border:1px solid rgba(212,175,55,.35);border-radius:16px;padding:32px 22px 26px;background:linear-gradient(180deg,rgba(18,16,13,.92),rgba(8,8,7,.92));text-align:center;box-shadow:0 18px 44px rgba(0,0,0,.5)}
.wmb-feat-ic{display:inline-grid;place-items:center;width:66px;height:66px;border-radius:50%;border:2px solid rgba(212,175,55,.7);color:#e8c25a;background:radial-gradient(circle at 50% 30%,rgba(212,175,55,.16),transparent 62%),#0b0a08;box-shadow:0 0 24px rgba(212,175,55,.2);margin-bottom:8px}
.wmb-feat-ic svg{width:28px;height:28px}
.wmb-feat h3{font-family:var(--wmb-serif)!important;font-size:1.55rem!important;color:#f4ecd6!important;margin:12px 0 8px!important}
.wmb-feat p{color:#b2ab9c;font-size:.98rem;line-height:1.55;margin:0}
.wmb-feat .wmb-orn{margin:4px auto}
/* ---- títulos de seção ---- */
.wmb-eyebrow{display:block;font-family:var(--wmb-caps);color:#c8a24a;text-transform:uppercase;letter-spacing:.34em;font-size:.78rem;font-weight:600;margin-bottom:12px}
.wmb-sec-head{text-align:center;margin-bottom:26px}
.wmb-sec-head h2,.wmb-split{font-family:var(--wmb-serif)!important;font-weight:700!important;font-size:clamp(2rem,4.6vw,3.3rem)!important;margin:0 0 8px!important;line-height:1.08!important}
.wmb-split .s{background:linear-gradient(180deg,#ffffff,#d3d7dc 50%,#9aa0a6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-split .g{background:linear-gradient(180deg,#fff4cd,#eecb6a 45%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-sec-head .wmb-orn{margin-top:8px}
/* ---- serviços (moldura ornamentada + chips) ---- */
.wmb-services{padding:70px 20px 84px;background:radial-gradient(900px 400px at 50% 0%,rgba(212,175,55,.05),transparent 60%),#050505}
.wmb-frame{position:relative;max-width:1080px;margin:0 auto;border:1px solid rgba(212,175,55,.5);border-radius:20px;padding:50px 34px 56px;background:linear-gradient(180deg,#0d0b09,#080706)}
.wmb-frame::before{content:"";position:absolute;inset:9px;border:1px solid rgba(212,175,55,.22);border-radius:13px;pointer-events:none}
.wmb-frame-top{position:absolute;top:-15px;left:50%;transform:translateX(-50%);background:#0a0806;padding:0 14px}
.wmb-frame-top .wmb-orn span{width:60px}
.wmb-frame-bot{position:absolute;bottom:-32px;left:50%;transform:translateX(-50%)}
.wmb-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:6px}
.wmb-pill{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:30px;border:1px solid rgba(212,175,55,.4);background:linear-gradient(160deg,#151210,#0b0a08);color:#eadfc6;font-size:.98rem;font-weight:500;cursor:pointer;transition:transform .15s,border-color .2s,box-shadow .2s,color .2s}
.wmb-pill:hover{transform:translateY(-2px);border-color:rgba(212,175,55,.85);box-shadow:0 8px 22px rgba(0,0,0,.5),0 0 18px rgba(212,175,55,.14);color:#fff}
.wmb-pill svg{width:18px;height:18px;color:#e8c25a}
.wmb-empty{color:#8a8578;text-align:center}
/* ---- avaliações ---- */
.wmb-reviews{padding:72px 20px 80px;background:linear-gradient(180deg,#070707,#0a0908)}
.wmb-rev-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px;max-width:1000px;margin:44px auto 0}
.wmb-rev{position:relative;border:1px solid rgba(212,175,55,.4);border-radius:18px;padding:52px 26px 30px;background:linear-gradient(180deg,#0e0c0a,#080706);text-align:center;box-shadow:0 18px 44px rgba(0,0,0,.5)}
.wmb-rev-quote{position:absolute;top:-30px;left:50%;transform:translateX(-50%);width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 50% 32%,#f4d97e,#b8862a);color:#1a1300;box-shadow:0 10px 24px rgba(0,0,0,.5)}
.wmb-rev-quote svg{width:26px;height:26px}
.wmb-rev p{color:#d8cfbc;font-size:1.05rem;line-height:1.6;margin:0 0 14px}
.wmb-rev .wmb-orn{margin:0 auto 12px}
.wmb-stars{display:flex;gap:6px;justify-content:center;color:#e8c25a;font-size:1.15rem}
.wmb-rev strong{display:block;margin-top:12px;color:#f2ead4;font-weight:600}
/* ---- CTA "pronto para começar" ---- */
.wmb-cta{padding:16px 20px 84px;background:#050505}
.wmb-cta-card{position:relative;max-width:920px;margin:0 auto;border:1.5px solid rgba(212,175,55,.7);border-radius:22px;padding:44px 30px 48px;text-align:center;background:radial-gradient(700px 260px at 50% -12%,rgba(212,175,55,.12),transparent 60%),linear-gradient(180deg,#0f0d0a,#080706);box-shadow:0 0 50px rgba(212,175,55,.18),inset 0 0 30px rgba(212,175,55,.05)}
.wmb-cta-card::before{content:"";position:absolute;top:0;left:12%;right:12%;height:2px;background:linear-gradient(90deg,transparent,rgba(255,244,205,.9),transparent);box-shadow:0 0 16px rgba(242,213,137,.6)}
.wmb-cta-card h2{font-family:var(--wmb-serif)!important;font-weight:700!important;font-size:clamp(2rem,4.6vw,3rem)!important;margin:14px 0 8px!important;background:linear-gradient(180deg,#fff4cd,#eecb6a 45%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-cta-card p{color:#c3bcac;font-size:1.1rem;margin:0 0 26px}
/* ---- login "Portal do Cliente" ---- */
body.wm-barber-public .auth-section{background:linear-gradient(180deg,#0a0908,#060606);padding:72px 20px}
body.wm-barber-public .auth-premium-shell{background:linear-gradient(160deg,#121110,#0a0908);border:1px solid rgba(212,175,55,.3);border-radius:22px;box-shadow:0 30px 70px rgba(0,0,0,.6)}
.wmb-auth-brand{display:inline-flex;align-items:center;gap:12px;margin-bottom:16px}
.wmb-auth-brand span{display:flex;flex-direction:column;line-height:1.05}
.wmb-auth-brand em{font-style:normal;font-family:var(--wmb-caps);font-size:.58rem;letter-spacing:.32em;color:#b9a15a;font-weight:600}
.wmb-auth-brand strong{font-family:var(--wmb-caps);font-size:1rem;letter-spacing:.14em;background:linear-gradient(180deg,#fbeeba,#e8c25a 55%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-auth-title{font-family:var(--wmb-serif)!important;font-weight:700!important;font-size:clamp(2.4rem,4vw,3.4rem)!important;color:#fff!important;margin:0 0 4px!important}
.wmb-auth-caps{font-family:var(--wmb-caps);font-weight:600;letter-spacing:.1em;line-height:1.3;margin-bottom:16px;font-size:1.02rem;text-transform:uppercase}
.wmb-auth-caps .g{display:block;background:linear-gradient(180deg,#fff4cd,#eecb6a 45%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-auth-caps .s{display:block;background:linear-gradient(180deg,#ffffff,#d3d7dc 50%,#9aa0a6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.wm-barber-public .auth-intro p{color:#b2ab9c}
body.wm-barber-public .auth-benefits span small{color:#d8cfbc}
body.wm-barber-public .auth-benefits svg{color:#e8c25a}
.wmb-auth-sec{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:16px 18px;border:1px solid rgba(212,175,55,.3);border-radius:14px;background:linear-gradient(160deg,#121110,#0a0908)}
.wmb-auth-sec>span{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:10px;background:linear-gradient(135deg,#f4d97e,#b8862a);color:#1a1300}
.wmb-auth-sec svg{width:20px;height:20px}
.wmb-auth-sec strong{display:block;color:#f2d589;font-size:.86rem;letter-spacing:.03em;text-transform:uppercase}
.wmb-auth-sec p{color:#b2ab9c;font-size:.92rem;margin:4px 0 0;line-height:1.5}
body.wm-barber-public .auth-panel{background:linear-gradient(160deg,#141210,#0b0a08);border:1px solid rgba(212,175,55,.4);box-shadow:0 24px 60px rgba(0,0,0,.55)}
body.wm-barber-public .auth-tab{color:#c7bfad}
body.wm-barber-public .auth-tab.active{background:linear-gradient(135deg,#f4d97e,#c9922e);color:#241900}
body.wm-barber-public .auth-form label{color:#d8cfbc}
body.wm-barber-public .auth-input-shell{background:#0c0b09;border-color:rgba(212,175,55,.35)}
body.wm-barber-public .auth-input-shell input{color:#f2ead4;background:transparent}
body.wm-barber-public .auth-input-shell svg{color:#b9a15a}
body.wm-barber-public .auth-submit,body.wm-barber-public .btn-primary.full{background:linear-gradient(135deg,#fbeaa6,#eecb6a 40%,#c9922e)!important;color:#241900!important;border:0!important;box-shadow:0 10px 26px rgba(212,175,55,.3)!important}
body.wm-barber-public .auth-safe-line,body.wm-barber-public .link-button,body.wm-barber-public .auth-remember{color:#a49b86}
/* ---- medalhão (rodapé/moldura) ---- */
.wmb-medal{position:relative;display:inline-grid;place-items:center;width:74px;height:74px;border-radius:50%;border:2px solid rgba(212,175,55,.7);background:radial-gradient(circle at 50% 34%,#1a1611,#0a0908);box-shadow:0 0 26px rgba(212,175,55,.2),inset 0 0 16px rgba(212,175,55,.08)}
.wmb-medal svg{position:absolute;top:-14px;left:50%;transform:translateX(-50%);width:22px;height:22px;color:#e8c25a}
.wmb-medal b{font-family:var(--wmb-caps);font-weight:700;font-size:1.4rem;letter-spacing:.04em;background:linear-gradient(180deg,#fbeeba,#e8c25a 50%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-medal img{width:100%;height:100%;border-radius:50%;object-fit:cover}
/* ---- rodapé ---- */
body.wm-barber-public .site-footer{background:linear-gradient(180deg,#0a0908,#040404);border-top:1px solid rgba(212,175,55,.28)}
.wmb-foot{display:flex;flex-direction:column;align-items:center;gap:14px;padding:46px 20px 30px;text-align:center}
.wmb-foot-name{font-family:var(--wmb-serif)!important;font-weight:700!important;font-size:1.95rem!important;margin:6px 0 0!important;background:linear-gradient(180deg,#fbeeba,#e8c25a 55%,#c08d2c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wmb-foot-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:center;color:#d8cfbc;font-size:.98rem}
.wmb-foot-meta a{color:#d8cfbc;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.wmb-foot-meta a:hover{color:#f2d589}
.wmb-foot-meta svg{width:17px;height:17px;color:#e8c25a}
.wmb-foot-sep{width:1px;height:16px;background:rgba(212,175,55,.4)}
.wmb-foot-copy{color:#6f6a5f;font-size:.85rem;margin:6px 0 0}
.wmb-foot-copy strong{color:#b9a15a;font-weight:600}
/* ---- responsivo ---- */
@media(max-width:900px){
  body.wm-barber-public .site-header .header-grid{flex-wrap:wrap;gap:14px}
  .wmb-nav{order:3;width:100%;justify-content:center;gap:20px}
  .wmb-feats{grid-template-columns:1fr;max-width:420px}
}

/* ============================================================
   CORREÇÃO LOGIN — BARBEARIA (força tema escuro/dourado)
   ============================================================ */
/* moldura externa: remove imagem/overlay claros da Regina */
body.wm-barber-public .auth-section{background:linear-gradient(180deg,#0a0908,#050505)!important;padding:64px 0!important}
body.wm-barber-public .auth-premium-shell{background:radial-gradient(700px 300px at 78% 8%,rgba(212,175,55,.10),transparent 55%),linear-gradient(150deg,#141210,#0a0908)!important;border:1px solid rgba(212,175,55,.3)!important;border-radius:20px!important;box-shadow:0 30px 70px rgba(0,0,0,.6)!important}
body.wm-barber-public .auth-premium-shell::before{content:none!important;background:none!important;display:none!important}
/* barra teal antiga → some (a linha caps já é o acento) */
body.wm-barber-public .auth-intro > p::before{content:none!important;display:none!important}
body.wm-barber-public .auth-intro p{color:#b6ae9d!important}
/* chips de benefício: círculo dourado com ícone escuro */
body.wm-barber-public .auth-benefits span{color:#d8cfbc!important}
body.wm-barber-public .auth-benefits small{color:#cfc7b4!important;font-weight:600!important}
body.wm-barber-public .auth-benefits svg{color:#241900!important;background:linear-gradient(135deg,#f4d97e,#c9922e)!important;box-shadow:0 8px 20px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.15) inset!important}
/* painel do formulário: escuro com moldura dourada */
body.wm-barber-public .auth-panel{background:linear-gradient(160deg,#151210,#0a0908)!important;border:1px solid rgba(212,175,55,.4)!important;border-radius:16px!important;box-shadow:0 24px 60px rgba(0,0,0,.55)!important;backdrop-filter:none!important}
/* abas Entrar/Cadastrar */
body.wm-barber-public .auth-tab{background:linear-gradient(160deg,#181410,#0d0b09)!important;color:#e6dcc4!important;border:1px solid rgba(212,175,55,.32)!important}
body.wm-barber-public .auth-tab.active{background:linear-gradient(135deg,#f4d97e,#c9922e)!important;color:#241900!important;border-color:transparent!important;box-shadow:0 8px 22px rgba(212,175,55,.3)!important}
body.wm-barber-public .auth-tab svg{width:18px;height:18px}
/* campos */
body.wm-barber-public .auth-input-shell{background:#100d0a!important;border:1px solid rgba(212,175,55,.3)!important;border-radius:12px!important}
body.wm-barber-public .auth-input-shell:focus-within{border-color:rgba(212,175,55,.7)!important;box-shadow:0 0 0 3px rgba(212,175,55,.12)!important}
body.wm-barber-public .auth-input-shell > svg,body.wm-barber-public .auth-input-shell .auth-eye{color:#c2a24a!important}
body.wm-barber-public .auth-input-shell input{color:#f4ecd6!important;background:transparent!important}
body.wm-barber-public .auth-input-shell input::placeholder{color:#8a8578!important;opacity:1}
body.wm-barber-public .auth-input-shell input:-webkit-autofill,body.wm-barber-public .auth-input-shell input:-webkit-autofill:focus{-webkit-text-fill-color:#f4ecd6!important;-webkit-box-shadow:0 0 0 42px #100d0a inset!important;caret-color:#f4ecd6!important}
/* linhas auxiliares */
body.wm-barber-public .auth-form-row,body.wm-barber-public .auth-remember,body.wm-barber-public .link-button,body.wm-barber-public .auth-safe-line{color:#a49b86!important}
body.wm-barber-public .link-button{color:#e8c25a!important}
body.wm-barber-public .checkbox-row span,body.wm-barber-public .auth-remember span{color:#b6ae9d!important}
/* botão principal */
body.wm-barber-public .auth-submit,body.wm-barber-public .btn-primary.full{background:linear-gradient(135deg,#fbeaa6,#eecb6a 40%,#c9922e)!important;color:#241900!important;border:0!important;box-shadow:0 12px 28px rgba(212,175,55,.32)!important}
/* título/caps visíveis no escuro */
body.wm-barber-public .wmb-auth-title{color:#ffffff!important}

/* ============================================================
   MODO LOGIN FOCADO — BARBEARIA (só o login na tela)
   ============================================================ */
body.wmb-login-mode #wmb-landing{display:none!important}
body.wmb-login-mode .site-header{display:none!important}
body.wmb-login-mode .site-footer{display:none!important}
body.wmb-login-mode .floating-actions{display:none!important}
body.wmb-login-mode .auth-section{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:96px 16px 48px!important}
/* botão "Voltar ao site": fixo no topo, só no modo login */
.wmb-back-site{position:fixed;top:20px;left:20px;z-index:80;display:none;align-items:center;gap:9px;padding:11px 18px;border-radius:12px;border:1px solid rgba(212,175,55,.5);background:linear-gradient(160deg,#151310,#0b0a08);color:#f2d589;font-weight:700;font-size:.95rem;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.5)}
.wmb-back-site:hover{border-color:#f2d589;color:#ffe9a8}
.wmb-back-site svg{width:18px;height:18px}
body.wmb-login-mode .wmb-back-site{display:inline-flex}
/* esconde o botão de voltar quando dentro do portal ou fora da barbearia */
body.portal-open .wmb-back-site{display:none!important}
