/* Experiência Zaira 15. Hierarquia e navegação: docs/EXPERIENCIA.md. */
svg {
  flex-shrink: 0;
}
.ux-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 0;
  background: transparent;
  min-height: 44px;
  color: var(--brand);
  padding: 10px 12px;
}
.ux-link svg,
.ux-filled svg,
.ux-signout svg {
  width: 22px;
  height: 22px;
}
.ux-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #3b246c;
  border: 0;
  border-radius: 13px;
  min-height: 48px;
  padding: 12px 20px;
  font-weight: 700;
}
.ux-shell .sidebar {
  width: auto;
  background: #17152f;
  padding: 30px 20px;
  gap: 42px;
}
.ux-shell .sidebar nav {
  gap: 9px;
  overflow: auto;
}
.ux-shell .sidebar nav button {
  min-height: 51px;
  border-radius: 13px;
  padding: 13px 14px;
  gap: 13px;
  font-size: 14px;
  white-space: nowrap;
}
.ux-shell .sidebar nav svg {
  width: 22px;
  height: 22px;
}
.ux-shell .sidebar nav button span {
  width: auto;
  font-size: 14px;
}
.ux-nav-caption {
  color: #afa4cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  padding: 0 14px 12px;
}
.ux-shell .topbar {
  height: 80px;
  background: #ffffffd9;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e9e5f1;
}
.ux-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ux-top-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.ux-top-brand strong {
  font-size: 22px;
  letter-spacing: -0.8px;
}
.ux-top-brand small {
  font-size: 11px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 4px;
}
.ux-shell .content {
  padding: 36px 40px 50px;
  max-width: 1400px;
}
.ux-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 30px;
  gap: 15px;
}
.ux-welcome h1 {
  font-size: 40px;
  letter-spacing: -1.8px;
  font-weight: 700;
  margin: 7px 0 9px;
}
.ux-welcome p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.ux-dot {
  color: var(--brand);
}
.ux-kicker {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--muted);
  display: block;
  line-height: 1.7;
}
.ux-welcome-symbol {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #eae3fc;
  color: #6139e8;
  border-radius: 22px;
  transform: rotate(-8deg);
}
.ux-welcome-symbol svg {
  width: 32px;
  height: 32px;
}
.ux-next {
  padding: 30px 34px;
  border-radius: 24px;
  background: linear-gradient(115deg, #33205b, #6139e8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 30px #442c9019;
  margin-bottom: 30px;
  overflow: hidden;
}
.ux-next .ux-kicker {
  color: #c9bcf4;
}
.ux-next h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin: 10px 0 12px;
}
.ux-next p {
  color: #e2d9fb;
  line-height: 1.6;
  font-size: 15px;
  max-width: 530px;
}
.ux-next p span {
  margin: 0 5px;
  color: #ad9bd8;
}
.ux-next-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.ux-next .ux-link:not(.ux-filled) {
  color: #fff;
}
.ux-date {
  border: 1px solid #ffffff35;
  border-radius: 18px;
  min-width: 94px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ffffff0d;
}
.ux-date strong {
  font-size: 40px;
  letter-spacing: -2px;
}
.ux-date span {
  font-size: 13px;
  color: #e2d9fb;
}
.ux-next-empty > svg {
  width: 100px;
  height: 100px;
  color: #9e87e1;
  transform: rotate(9deg);
}
.ux-next-empty .ux-filled {
  margin-top: 20px;
}
.ux-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 30px 0 17px;
}
.ux-section-title h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
.ux-section-title .ux-link {
  font-size: 12px;
  white-space: nowrap;
  gap: 6px;
  padding: 0;
  min-height: 40px;
}
.ux-section-title .ux-link svg {
  width: 17px;
  height: 17px;
  order: 2;
}
.ux-specialties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.ux-specialties button {
  border: 1px solid #e5dff0;
  background: #fff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  text-align: left;
  gap: 9px;
  padding: 22px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.ux-specialties button:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px #17152f09;
}
.ux-specialties strong {
  grid-column: 1/-1;
  color: #27243d;
  font-size: 17px;
  margin-top: 8px;
}
.ux-specialties small {
  font-size: 12px;
  color: var(--muted);
}
.ux-specialties button > svg {
  width: 18px;
  height: 18px;
  color: #a69bbf;
  align-self: center;
}
.ux-specialty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #ede6ff;
  color: #6139e8;
}
.ux-specialty-icon svg {
  width: 25px;
  height: 25px;
}
.ux-specialties button:nth-child(2) .ux-specialty-icon {
  background: #dff5f2;
  color: #08776f;
}
.ux-specialties button:nth-child(3) .ux-specialty-icon {
  background: #f5ebd9;
  color: #876323;
}
.ux-home-columns {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}
.ux-shell .card {
  border-radius: 20px;
  border-color: #e9e4f1;
  box-shadow: 0 2px 8px #17152f02;
}
.ux-checkin {
  padding: 26px !important;
}
.ux-checkin h2,
.ux-plan h2 {
  font-size: 22px;
  margin: 12px 0 10px;
  letter-spacing: -0.5px;
}
.ux-checkin p,
.ux-plan p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.ux-moods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 23px;
}
.ux-moods button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  border: 0;
  background: #f6f4fb;
  color: #625e76;
  border-radius: 12px;
  padding: 12px 4px;
  font-size: 10px;
  min-height: 73px;
}
.ux-moods button:hover {
  background: #eae3ff;
  color: #4b26c7;
}
.ux-moods span {
  font-size: 25px;
  line-height: 1;
  color: #6139e8;
}
.ux-plan {
  background: #f0ebfc;
  border-color: #e8dff9 !important;
  padding: 26px !important;
}
.ux-plan .ux-link {
  padding-left: 0;
  margin-top: 13px;
}
.ux-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ux-quick-grid .ux-link {
  min-height: 75px;
  background: #fff;
  border: 1px solid #e5dff0;
  border-radius: 17px;
  color: #27243d;
  padding: 16px 20px;
  font-size: 14px;
}
.ux-quick-grid .ux-link svg {
  color: #6139e8;
}
.ux-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.ux-metrics article {
  background: #fff;
  border: 1px solid #e9e4f1;
  border-radius: 18px;
  padding: 23px;
}
.ux-metrics span,
.ux-metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.ux-metrics strong {
  display: block;
  font-size: 30px;
  letter-spacing: -1px;
  margin: 14px 0 9px;
}
.ux-day {
  margin-top: 25px;
}
.ux-day .ux-section-title {
  margin-top: 0;
}
.ux-day .row {
  flex-wrap: wrap;
}
.ux-status-note {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dad0f0;
  background: #f0ebfc;
  border-radius: 17px;
  margin-bottom: 22px;
}
.ux-status-note > svg {
  width: 25px;
  height: 25px;
  color: #6139e8;
}
.ux-status-note p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.ux-status-note strong {
  font-size: 14px;
}
.ux-status-note .ux-link {
  margin-left: auto;
  font-size: 12px;
}
.ux-search-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2dcec;
  border-radius: 15px;
  padding: 4px 16px;
  margin: 18px 0;
  font-weight: 400;
}
.ux-search-label svg {
  width: 21px;
  height: 21px;
  color: #8c819e;
}
.ux-search-label input {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 15px 0;
  min-width: 0;
  font-size: 14px;
  color: inherit;
}
.ux-search-label:focus-within {
  outline: 2px solid #6139e8;
  outline-offset: 2px;
}
.ux-search-label input:focus-visible {
  outline: none;
}
.ux-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.ux-filter-chips button {
  border: 1px solid #e2dcec;
  border-radius: 24px;
  padding: 10px 17px;
  font-size: 12px;
  min-height: 42px;
  background: #fff;
  color: #625e76;
}
.ux-filter-chips button[aria-pressed='true'] {
  background: #17152f;
  color: #fff;
  border-color: #17152f;
}
.ux-directory-filters {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ux-directory-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.ux-directory-filters input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #6139e8;
}
.ux-directory-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 17px 0 23px;
}
.ux-live {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #08776f;
  white-space: nowrap;
}
.ux-live i,
.ux-presence i {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: currentColor;
}
.ux-providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ux-provider {
  background: #fff;
  border: 1px solid #e5dff0;
  border-radius: 21px;
  padding: 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ux-provider-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ux-provider-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: #ece5fb;
  color: #6139e8;
  font-size: 22px;
  font-weight: 600;
}
.ux-favorite {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #eae4f2;
  border-radius: 50%;
  background: transparent;
  color: #9486af;
}
.ux-favorite svg {
  width: 20px;
  height: 20px;
}
.ux-favorite[aria-pressed='true'] {
  color: #6139e8;
  background: #ece5fb;
}
.ux-favorite[aria-pressed='true'] svg {
  fill: #6139e8;
}
.ux-provider-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6139e8;
  margin-top: 7px;
}
.ux-provider h3 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
.ux-provider p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.ux-provider-bio {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 62px;
}
.ux-presence {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #776a8c;
  font-size: 11px;
}
.ux-presence.is-online {
  color: #08776f;
}
.ux-slot {
  padding: 14px;
  background: #f6f4fb;
  border-radius: 12px;
  margin: 8px 0;
}
.ux-slot span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 7px;
}
.ux-slot strong {
  font-size: 13px;
}
.ux-provider .primary {
  margin-top: auto;
  min-height: 47px;
  border-radius: 12px;
}
.ux-empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding: 36px 20px;
}
.ux-empty svg {
  width: 35px;
  height: 35px;
  color: #ab9bcd;
}
.ux-empty h3 {
  margin: 14px 0 8px;
  color: inherit;
}
.ux-tools,
.ux-care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ux-tools button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e5dff0;
  border-radius: 17px;
  padding: 22px;
  background: #fff;
  min-height: 94px;
  color: #27243d;
}
.ux-tools button svg {
  width: 24px;
  height: 24px;
  color: #6139e8;
}
.ux-tools button svg:last-child {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: #9c91af;
}
.ux-tools strong {
  font-size: 13px;
}
.ux-tools button[hidden] {
  display: none;
}
.ux-care-grid button {
  text-align: left;
  border: 1px solid #e5dff0;
  border-radius: 21px;
  background: #fff;
  padding: 27px;
  color: #27243d;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 220px;
}
.ux-care-grid button > svg {
  width: 32px;
  height: 32px;
  color: #6139e8;
}
.ux-care-grid strong {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.ux-care-grid p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}
.ux-care-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #6139e8;
  font-size: 12px;
}
.ux-care-grid span svg {
  width: 17px;
  height: 17px;
}
.ux-hub-head {
  text-align: center;
  padding: 20px 0 30px;
}
.ux-big-avatar {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 28px;
  background: #e8e0fc;
  color: #6139e8;
  font-size: 30px;
  font-weight: 600;
  margin: 0 auto 20px;
}
.ux-hub-head h1 {
  font-size: 27px;
  letter-spacing: -1px;
}
.ux-hub-head p {
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.ux-hub-head button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border-radius: 25px;
  font-size: 12px;
}
.ux-hub-head button svg {
  width: 16px;
  height: 16px;
}
.ux-menu-list {
  max-width: 750px;
  margin: auto;
  border: 1px solid #e5dff0;
  border-radius: 21px;
  background: #fff;
  overflow: hidden;
}
.ux-menu-list button {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #eee9f4;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 17px;
  text-align: left;
  width: 100%;
  background: transparent;
  color: #27243d;
}
.ux-menu-list button:last-child {
  border: 0;
}
.ux-menu-list svg {
  width: 24px;
  height: 24px;
  color: #6139e8;
}
.ux-menu-list svg:last-child {
  width: 17px;
  height: 17px;
  color: #a295b6;
  margin-left: auto;
}
.ux-menu-list strong {
  display: block;
  font-size: 14px;
}
.ux-menu-list small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.ux-signout {
  display: block;
  margin: 25px auto;
  color: #bd2748;
  border: 0;
  background: transparent;
}
.ux-bottom-nav {
  display: none;
}
.ux-shell .table-wrap {
  border-radius: 14px;
}
.ux-shell input,
.ux-shell select,
.ux-shell textarea {
  border-radius: 12px;
}
.ux-shell button.primary {
  border-radius: 12px;
  min-height: 44px;
}
html[data-theme='dark'] .ux-shell .topbar {
  background: #17152fef;
  border-color: #403755;
}
html[data-theme='dark'] .ux-top-brand {
  color: #f6f4fb;
}
html[data-theme='dark'] .ux-specialties button,
html[data-theme='dark'] .ux-quick-grid button,
html[data-theme='dark'] .ux-metrics article,
html[data-theme='dark'] .ux-tools button,
html[data-theme='dark'] .ux-care-grid button,
html[data-theme='dark'] .ux-menu-list,
html[data-theme='dark'] .ux-provider,
html[data-theme='dark'] .ux-search-label,
html[data-theme='dark'] .ux-filter-chips button {
  background: #24203d;
  color: #f6f4fb;
  border-color: #403755;
}
html[data-theme='dark'] .ux-menu-list button,
html[data-theme='dark'] .ux-specialties strong {
  color: #f6f4fb;
}
html[data-theme='dark'] .ux-menu-list button {
  border-color: #403755;
}
html[data-theme='dark'] .ux-plan,
html[data-theme='dark'] .ux-status-note {
  background: #302746;
  border-color: #403755;
}
html[data-theme='dark'] .ux-slot,
html[data-theme='dark'] .ux-moods button {
  background: #302746;
}
html[data-theme='dark'] .ux-filter-chips button[aria-pressed='true'] {
  background: #6139e8;
  border-color: #6139e8;
}
html[data-theme='dark'] .ux-live,
html[data-theme='dark'] .ux-presence.is-online {
  color: #29d8cb;
}
@media (max-width: 1100px) {
  .ux-providers,
  .ux-tools,
  .ux-care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ux-shell .content {
    padding: 28px 25px;
  }
  .ux-home-columns {
    grid-template-columns: 1fr;
  }
  .ux-next {
    padding: 27px;
  }
  .ux-specialties button {
    padding: 17px;
  }
  .ux-specialties small {
    grid-column: 1/-1;
  }
  .ux-specialties button > svg {
    display: none;
  }
}
@media (max-width: 760px) {
  .ux-shell {
    display: block;
    min-height: 100dvh;
  }
  .ux-shell .sidebar {
    display: none;
  }
  .ux-shell .main {
    width: 100%;
    background: transparent;
  }
  .ux-shell .topbar {
    height: 68px;
    padding: 0 20px;
    gap: 10px;
  }
  .ux-top-brand img {
    width: 27px;
    height: 27px;
  }
  .ux-top-brand strong {
    font-size: 21px;
  }
  .ux-top-brand small {
    font-size: 9px;
    padding-left: 8px;
  }
  .ux-shell .content {
    padding: 25px 20px calc(110px + env(safe-area-inset-bottom));
    width: 100%;
    overflow-x: clip;
  }
  .ux-welcome {
    margin-bottom: 23px;
  }
  .ux-welcome h1 {
    font-size: 31px;
    letter-spacing: -1.25px;
  }
  .ux-welcome p {
    font-size: 13px;
  }
  .ux-kicker {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .ux-welcome-symbol {
    width: 45px;
    height: 45px;
    border-radius: 16px;
  }
  .ux-welcome-symbol svg {
    width: 26px;
    height: 26px;
  }
  .ux-next {
    padding: 24px;
    border-radius: 21px;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .ux-next h2 {
    font-size: 23px;
    letter-spacing: -0.7px;
  }
  .ux-next p {
    font-size: 12px;
  }
  .ux-next .ux-kicker {
    font-size: 8px;
  }
  .ux-next-actions {
    margin-top: 19px;
    gap: 6px;
  }
  .ux-filled {
    font-size: 12px;
    padding: 11px 14px;
    min-height: 44px;
    border-radius: 11px;
  }
  .ux-next .ux-link {
    font-size: 11px;
  }
  .ux-date {
    min-width: 57px;
    height: 73px;
    border-radius: 13px;
  }
  .ux-date strong {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .ux-date span {
    font-size: 11px;
  }
  .ux-next-empty > svg {
    display: none;
  }
  .ux-section-title {
    margin-top: 25px;
    gap: 8px;
  }
  .ux-section-title h2 {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .ux-section-title .ux-link {
    font-size: 10px;
  }
  .ux-section-title .ux-link svg {
    width: 14px;
  }
  .ux-specialties {
    gap: 9px;
    margin-bottom: 25px;
  }
  .ux-specialties button {
    border-radius: 17px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 15px 12px;
  }
  .ux-specialties strong {
    font-size: 12px;
    letter-spacing: -0.3px;
    margin-top: 0;
  }
  .ux-specialties small {
    display: none;
  }
  .ux-specialty-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .ux-specialty-icon svg {
    width: 21px;
    height: 21px;
  }
  .ux-home-columns {
    gap: 0;
  }
  .ux-checkin,
  .ux-plan {
    padding: 23px !important;
  }
  .ux-checkin h2,
  .ux-plan h2 {
    font-size: 20px;
  }
  .ux-moods {
    gap: 6px;
  }
  .ux-moods button {
    font-size: 9px;
    min-height: 67px;
  }
  .ux-quick-grid {
    gap: 9px;
  }
  .ux-quick-grid .ux-link {
    font-size: 12px;
    padding: 15px;
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .ux-metrics {
    gap: 8px;
  }
  .ux-metrics article {
    padding: 15px 12px;
    border-radius: 15px;
  }
  .ux-metrics span {
    font-size: 10px;
    line-height: 1.5;
  }
  .ux-metrics strong {
    font-size: 23px;
    letter-spacing: -0.5px;
  }
  .ux-metrics small {
    font-size: 9px;
    line-height: 1.5;
  }
  .ux-status-note {
    padding: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .ux-status-note .ux-link {
    margin-left: 0;
    padding: 0;
    min-height: 30px;
  }
  .ux-providers {
    grid-template-columns: 1fr;
  }
  .ux-provider {
    padding: 22px;
  }
  .ux-provider-bio {
    min-height: 0;
  }
  .ux-directory .ux-section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .ux-filter-chips {
    gap: 6px;
  }
  .ux-filter-chips button {
    font-size: 11px;
    padding: 9px 13px;
  }
  .ux-directory-filters {
    gap: 13px;
  }
  .ux-directory-filters label {
    font-size: 11px;
  }
  .ux-search-label {
    padding: 3px 13px;
  }
  .ux-search-label input {
    font-size: 12px;
    padding: 15px 0;
  }
  .ux-tools {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ux-tools button {
    min-height: 76px;
    padding: 20px;
  }
  .ux-care-grid {
    grid-template-columns: 1fr;
  }
  .ux-care-grid button {
    min-height: 185px;
    padding: 24px;
  }
  .ux-menu-list button {
    padding: 20px 17px;
  }
  .ux-hub-head h1 {
    font-size: 24px;
  }
  .ux-menu-list small {
    font-size: 11px;
  }
  .ux-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #e4deef;
    background: #ffffffed;
    backdrop-filter: blur(18px);
    gap: 2px;
  }
  .ux-bottom-nav button {
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 7px 3px;
    min-height: 52px;
    color: #7f748f;
    border-radius: 13px;
    font-size: 9px;
    font-weight: 500;
  }
  .ux-bottom-nav button svg {
    width: 21px;
    height: 21px;
  }
  .ux-bottom-nav button[aria-current='page'] {
    background: #eee7ff;
    color: #6139e8;
    font-weight: 700;
  }
  .zaira-chat-launcher {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    right: 18px !important;
  }
  .zaira-chat-panel {
    bottom: calc(150px + env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 170px);
  }
  .ux-shell .row {
    flex-wrap: wrap;
  }
  .ux-shell .row .actions {
    width: 100%;
  }
  .ux-shell .heading {
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .ux-shell .heading h1 {
    font-size: 25px;
  }
  .ux-shell .heading p {
    font-size: 13px;
  }
  .ux-shell .toolbar input,
  .ux-shell .toolbar select {
    min-width: 0;
    width: 100%;
  }
  .ux-shell .toolbar label {
    flex: 1;
    min-width: 125px;
  }
  .ux-shell .card {
    padding: 20px;
  }
  .ux-shell .form-grid {
    grid-template-columns: 1fr;
  }
  .ux-shell .call-stage {
    height: 48dvh;
    min-height: 250px;
  }
  html[data-theme='dark'] .ux-bottom-nav {
    background: #17152fef;
    border-color: #403755;
  }
  html[data-theme='dark'] .ux-bottom-nav button {
    color: #c1bad5;
  }
  html[data-theme='dark'] .ux-bottom-nav button[aria-current='page'] {
    background: #3b2a6c;
    color: #ffffff;
  }
}
@media (max-width: 360px) {
  .ux-shell .content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .ux-next {
    padding: 20px;
  }
  .ux-top-brand small {
    display: none;
  }
  .ux-specialties button {
    padding: 13px 10px;
  }
  .ux-metrics strong {
    font-size: 19px;
  }
  .ux-date {
    display: none;
  }
}
.ux-bottom-nav button span {
  font-size: 10px;
  line-height: 1.2;
  width: auto;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .floating-zaira {
    bottom: calc(90px + env(safe-area-inset-bottom));
    right: 18px;
    z-index: 40;
    padding: 11px 16px;
    font-size: 12px;
  }
}
.ux-credit-summary {
  margin-top: 25px;
}
.ux-credit-summary .ux-section-title {
  margin-top: 0;
}
.ux-credit-summary label {
  max-width: 220px;
}
.ux-credit-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ux-credit-chips span {
  background: #eee7ff;
  color: #4b26c7;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 12px;
}
.ux-credit-chips strong {
  margin-right: 5px;
}
html[data-theme='dark'] .ux-credit-chips span {
  background: #3b2a6c;
  color: #fff;
}
html[data-theme='dark'] .ux-shell button.ux-link {
  background: transparent;
}
html[data-theme='dark'] .ux-shell .ux-next button.ux-filled {
  background: #fff;
  color: #3b246c;
}
html[data-theme='dark'] .ux-shell .ux-bottom-nav button {
  background: transparent;
}
html[data-theme='dark'] .ux-shell .ux-bottom-nav button[aria-current='page'] {
  background: #3b2a6c;
  color: #fff;
}
@media (max-width: 760px) {
  #toast {
    bottom: calc(100px + env(safe-area-inset-bottom));
  }
}
.ux-shell .sidebar nav button span {
  flex: 1 1 auto;
  text-align: left;
  min-width: 0;
}
.ux-shell .sidebar nav .ux-nav-caption {
  width: auto;
  text-align: left;
}
.ux-shell .sidebar nav button.active:hover {
  background: #3b2a6c;
}

.ux-provider-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Cobranças do paciente: valor e ação legíveis também em telas pequenas. */
.patient-bill{padding:24px 0;border-bottom:1px solid var(--border,#ddd)}
.patient-bill:last-child{border-bottom:0}
.patient-bill-top{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.patient-bill h3{margin:16px 0 8px}
.patient-bill-value{font-size:2rem;font-weight:750;letter-spacing:-.04em}
.patient-pay{margin-top:12px;min-height:48px;min-width:200px}
.payment-hint{font-size:.9rem;max-width:48ch;line-height:1.5}
@media(max-width:600px){.patient-pay{width:100%}.patient-bill{padding:20px 0}}
