/* ==== ./reset-focus.css ==== */














:root {
  color-scheme: only light;
}

* {
  -webkit-tap-highlight-color: transparent;
}
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.button-item:focus,
.loading-trigger:focus,
*:focus-visible,
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ==== ./src/styles.css ==== */
:root {
  --primary: #ff720d;
  --secondary: #8a3d00;
  --tertiary: #8a3d00;
  --bg: #fff4ed;
  --input: #eef0f3;
  --text: #1f2937;
  --muted: #64748b;
  --line: rgba(15, 23, 42, .10);
  --glass: rgba(255, 255, 255, .70);
  --shadow: 0 26px 60px rgba(0, 0, 0, .10);
  --banner-url: none;
  --banner-opacity: .08;
  --admin-primary-dark: color-mix(in srgb, var(--primary) 72%, #000 28%);
  --admin-primary-soft: color-mix(in srgb, var(--primary) 10%, #fff);
  --admin-primary-soft-strong: color-mix(in srgb, var(--primary) 16%, #fff);
  --admin-primary-border: color-mix(in srgb, var(--primary) 38%, transparent);
  --admin-primary-focus: color-mix(in srgb, var(--primary) 18%, transparent);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 0% 0%, color-mix(in srgb, var(--primary) 10%, var(--bg)), transparent 62%),
    radial-gradient(900px 520px at 100% 8%, color-mix(in srgb, var(--secondary) 10%, var(--bg)), transparent 64%),
    radial-gradient(1000px 600px at 50% 100%, color-mix(in srgb, var(--tertiary) 7%, var(--bg)), transparent 68%),
    linear-gradient(145deg,
      color-mix(in srgb, var(--bg) 90%, var(--bg) 10%) 0%,
      color-mix(in srgb, var(--bg) 94%, var(--primary) 6%) 38%,
      color-mix(in srgb, var(--bg) 95%, var(--secondary) 5%) 100%);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}





@supports (-webkit-touch-callout: none) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}




#cl-aviso-versao {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(92vw, 560px);
  padding: 12px 14px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  box-sizing: border-box;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .32);
  font: 14px/1.35 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

#cl-aviso-versao .cl-aviso-versao__texto {
  flex: 1 1 auto;
  min-width: 0;
}

#cl-aviso-versao .cl-aviso-versao__acoes {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#cl-aviso-versao .cl-aviso-versao__agora {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

#cl-aviso-versao .cl-aviso-versao__depois {
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width: 560px) {
  #cl-aviso-versao {
    left: 12px;
    right: 12px;
    transform: none;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #cl-aviso-versao .cl-aviso-versao__acoes {
    justify-content: flex-end;
  }

  #cl-aviso-versao .cl-aviso-versao__agora {
    flex: 1 1 auto;
    padding: 10px 14px;
  }
}

/* ==== ./src/styles/public.css ==== */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.desktop-container {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.container {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 24px;
  box-shadow: none;
  backdrop-filter: none;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
  animation: cardIn .55s ease-out both;
}

.container img.logo {
  width: auto;
  max-width: 220px;
  max-height: 70px;
  margin: 0 auto 6px;
  display: block;
}

.container form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  transition: .18s ease;
  position: relative;
}

.input-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
  transform: translateY(-1px);
}

.input-container .icon-email,
.input-container .icon-key {
  color: color-mix(in srgb, var(--text) 60%, white) !important;
  width: 18px;
  flex: 0 0 18px;
  font-size: 16px;
}


.input-container .icon-email,
.input-container .icon-key,
.input-container > .icon-id-card,
.input-container > .icon-shield {
  display: inline-flex;
  flex: 0 0 18px;
  color: color-mix(in srgb, var(--text) 60%, white);
}


.toggle-password .eye-svg {
  display: none;
}
.toggle-password .eye-svg.eye-slash {
  display: inline-block;
}
.toggle-password.is-visible .eye-svg.eye-slash {
  display: none;
}
.toggle-password.is-visible .eye-svg.eye-open {
  display: inline-block;
}

.input-container input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
}

.input-container:has([data-toggle-password]) {
  padding-right: 44px;
}

.input-container:has([data-toggle-password]) .toggle-password {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  z-index: 2;
}

.input-container:has([data-toggle-password]) .toggle-password:hover,
.input-container:has([data-toggle-password]) .toggle-password:focus-visible {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  outline: none;
}

.input-container input::placeholder {
  color: color-mix(in srgb, var(--muted) 84%, white);
}

.input-container > .documento-field-app {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.input-container > .documento-field-app select,
.input-container > .documento-field-app input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: color 160ms ease;
}

.input-container > .documento-field-app select {
  max-width: 104px;
  padding: 0 24px 0 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2364758b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.input-container > .documento-field-app input {
  padding: 0 10px;
}

.input-container > .documento-field-app select:focus,
.input-container > .documento-field-app input:focus {
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.input-container.password-error {
  background: #ffe1e1;
  border-color: #ff7f7f;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, .06);
}

.input-container.password-error input,
.input-container.password-error i {
  color: #b91c1c !important;
}

.remember-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}


.remember-line input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 36px;
  height: 21px;
  min-width: 36px;
  min-height: 21px;
  flex: 0 0 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--admin-switch-off, #cbd5e1);
  box-shadow: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.remember-line input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .2);
  transition: transform 160ms ease;
}

.remember-line input[type="checkbox"]:checked {
  background: var(--admin-switch-on, var(--primary));
}

.remember-line input[type="checkbox"]:checked::after {
  transform: translateX(15px);
}

.remember-line input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--admin-primary-focus, color-mix(in srgb, var(--primary) 18%, transparent));
  outline-offset: 2px;
}

.container .section-title {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  font-weight: 900;
}

.headline {
  margin: 0 0 2px;
  text-align: center;
}

.headline h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.headline p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}

.public-desc-app {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.terms-line-app {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text) !important;
  font-size: 13px !important;
  line-height: 1.35;
}

.terms-line-app input {
  width: 16px;
  height: 16px;
  min-height: 0;
  flex: 0 0 16px;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.container button[type="submit"],
.register-button,
.contact-button {
  color: #fff;
  min-height: 50px;
  padding: 12px 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  width: 100%;
  position: relative;
  font: inherit;
  font-weight: 800;
  transition: .18s ease;
}

.container button[type="submit"] {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, white 8%), color-mix(in srgb, var(--primary) 74%, var(--secondary) 26%));
  box-shadow: 0 12px 22px color-mix(in srgb, var(--primary) 22%, transparent);
}

.register-button,
.contact-button {
  background: hsl(from var(--tertiary) h s l / 0.15);
  color: var(--text);
}

.container button[type="submit"]:hover,
.register-button:hover,
.contact-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.password-reset-field-app {
  position: relative;
  padding-right: 44px;
}

.password-reset-field-app input {
  padding-right: 0;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: color-mix(in srgb, var(--text) 60%, white);
  font-size: 18px;
}

.loading-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinInline .8s linear infinite;
  display: none;
}

.register-button .loading-icon,
.contact-button .loading-icon {
  border-color: rgba(31, 41, 55, .20);
  border-top-color: var(--text);
}

.error-message {
  color: #b91c1c;
  background: #ffe3e3;
  border: 1px solid #ffb0b0;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  padding: 8px 10px;
  min-height: 0;
  display: none;
  font-weight: 700;
}

.error-message:not(:empty) {
  display: block;
}

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

.forgot-password a,
.policy-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 800;
}

.forgot-password a:hover,
.policy-links a:hover {
  text-decoration: underline;
}

.policy-links {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 2px;
}

.desktop-banner {
  position: relative;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  min-height: 620px;
  animation: cardIn .65s ease-out .08s both;
}

.desktop-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-url);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--banner-opacity);
  transform: translateY(6px) scale(.985);
  animation: bannerIn .9s ease-out .18s both;
}

#loading-screen {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, .42);
  backdrop-filter: none;
  z-index: 9999;
}

body.app-loading #app {
  filter: blur(7px);
  transform: scale(1.006);
  transition: filter .18s ease, transform .18s ease;
  pointer-events: none;
}

.spinner {
  border: 6px solid rgba(0, 0, 0, .08);
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  animation: spin 1s linear infinite;
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.popup-content {
  background: #fff !important;
  padding: 20px;
  max-width: 90%;
  width: 500px;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25) !important;
  text-align: center;
}

.popup-content iframe {
  border: none;
  width: 100%;
  height: 400px;
}

.legal-page-app {
  min-height: 100vh;
  background: var(--legal-bg);
  color: #333;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.legal-container-app {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.legal-logo-app {
  display: block;
  width: 150px;
  max-height: 110px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.legal-container-app h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 18px;
  color: var(--legal-primary);
}

.legal-updated-app {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.legal-content-app h2 {
  font-size: 16px;
  margin: 22px 0 8px;
  color: var(--legal-primary);
}

.legal-content-app p {
  text-align: justify;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.popup-close {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

input:-webkit-autofill {
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: 0 0 0 1000px var(--input) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px var(--input) inset !important;
  color: inherit !important;
}

.public-toast {
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 28px;
  width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .24);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

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

.public-toast.is-success {
  background: #198754;
}

.public-toast.is-error {
  background: #c0392b;
}



.idioma-line {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 14px 0 4px;
}
.idioma-line label {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.idioma-line select {
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  min-height: 34px;
  padding: 0 10px;
}
.idioma-line select:focus {
  border-color: #ff6b00;
  outline: none;
}



.headline .password-reset-title {
  font-size: 30px;
  line-height: 1.28;
}

.headline .password-reset-subtitle {
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .headline .password-reset-title {
    font-size: 26px;
  }

  .headline .password-reset-subtitle {
    font-size: 15px;
  }
}


.input-container[hidden] {
  display: none;
}


.password-reset-canais {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 12px;
}

.password-reset-canal {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid color-mix(in srgb, var(--text) 18%, white);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.password-reset-canal:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, white);
}

.password-reset-canal.is-selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, white);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--primary) 16%, transparent);
}

.password-reset-canal:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.password-reset-canal-icone {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  color: var(--primary);
}

.password-reset-canal-icone svg {
  width: 100%;
  height: 100%;
}

.password-reset-canal-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.password-reset-canal-texto strong {
  font-size: 15px;
  font-weight: 700;
}

.password-reset-canal-texto span {
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 55%, white);
  word-break: break-all;
}






.twofa-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.twofa-panel--perfil {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid color-mix(in srgb, var(--text) 12%, white);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--text) 8%, transparent);
}

.twofa-titulo {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.twofa-aviso {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 65%, white);
}

.twofa-corpo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.twofa-rotulo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.twofa-campo {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid color-mix(in srgb, var(--text) 18%, white);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 18px;
  letter-spacing: 4px;
  text-align: center;
}

.twofa-campo:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.twofa-ajuda {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 60%, white);
}

.twofa-primario {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease;
}

.twofa-primario:hover:not(:disabled) {
  filter: brightness(1.05);
}

.twofa-primario:disabled {
  opacity: .6;
  cursor: default;
}

.twofa-acoes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twofa-metodo {
  padding: 12px 16px;
  border: 1.5px solid color-mix(in srgb, var(--text) 18%, white);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.twofa-metodo:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, white);
}

.twofa-metodo--link {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  text-decoration: underline;
}

.twofa-voltar {
  align-self: center;
  padding: 6px;
  border: none;
  background: transparent;
  color: color-mix(in srgb, var(--text) 60%, white);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.twofa-qr {
  width: 200px;
  height: 200px;
  align-self: center;
  padding: 8px;
  border-radius: 14px;
  border: 1.5px solid color-mix(in srgb, var(--text) 12%, white);
  background: #fff;
}

.twofa-chave {
  display: block;
  padding: 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 6%, white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 2px;
  text-align: center;
  word-break: break-all;
}

.twofa-codigos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.twofa-codigos li {
  padding: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 6%, white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}

.twofa-panel .form-message {
  font-size: 13px;
  line-height: 1.4;
  min-height: 1px;
}

.twofa-panel .form-message.error {
  color: #c0362c;
}

.twofa-panel .form-message.success {
  color: #1f7a45;
}

@media (max-width: 520px) {
  .twofa-panel--perfil {
    padding: 18px;
    border-radius: 16px;
  }

  .twofa-qr {
    width: 168px;
    height: 168px;
  }
}






.twofa-tela {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.twofa-selo {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--primary) 12%, white);
  color: var(--primary);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 16%, transparent);
}

.twofa-selo svg {
  width: 30px;
  height: 30px;
}

.twofa-tela-titulo {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.twofa-tela-sub {
  max-width: 34ch;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 62%, white);
}

.twofa-metodos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.twofa-cartao {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid color-mix(in srgb, var(--text) 16%, white);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.twofa-cartao:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, white);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--text) 10%, transparent);
  transform: translateY(-1px);
}

.twofa-cartao:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.twofa-cartao-icone {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
}

.twofa-cartao-icone svg {
  width: 21px;
  height: 21px;
}

.twofa-cartao-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.twofa-cartao-texto strong {
  font-size: 15px;
  font-weight: 700;
}

.twofa-cartao-texto span {
  font-size: 12.5px;
  color: color-mix(in srgb, var(--text) 58%, white);
  overflow: hidden;
  text-overflow: ellipsis;
}

.twofa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 4px;
  border: none;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.twofa-link svg {
  width: 16px;
  height: 16px;
}

.twofa-link:hover {
  text-decoration: underline;
}

.twofa-etapa {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  text-align: left;
}

.twofa-voltar-etapa {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.twofa-voltar-etapa:hover {
  text-decoration: underline;
}

.twofa-etapa-titulo {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.twofa-codigos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  text-align: left;
}

.twofa-codigos-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.twofa-codigos-lista li {
  padding: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 6%, white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}

.twofa-sair {
  margin-top: 18px;
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 60%, white);
  text-decoration: none;
}

.twofa-sair:hover {
  text-decoration: underline;
}



.twofa-tela [hidden],
.twofa-panel [hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .twofa-selo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .twofa-tela-titulo {
    font-size: 20px;
  }
}


.twofa-outras {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, white);
}

.twofa-outras-titulo {
  font-size: 12.5px;
  color: color-mix(in srgb, var(--text) 55%, white);
}

.twofa-outras-botao {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.twofa-outras-botao svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.twofa-outras-botao:hover {
  text-decoration: underline;
}

/* ==== ./src/styles/shell.css ==== */
.shell {
  width: min(1100px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 22px 96px;
}

.patient-root-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 calc(112px + env(safe-area-inset-bottom, 0px));


  box-sizing: border-box;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.precall-root-shell {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  width: 100dvw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
}

.precall-root-content {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  animation: none !important;
}

.root-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background-color: var(--bg);
  box-sizing: border-box;
}





.root-header,
.vet-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  width: min(620px, 100%);
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
  background: var(--bg);
}



.root-header.is-scrolled,
.vet-header.is-scrolled {
  box-shadow: 0 8px 22px rgba(15, 23, 42, .12);
}

.root-header-spacer {
  height: 60px;
  flex: 0 0 auto;
}

.root-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.root-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  text-decoration: none;
  padding: 0;
}

.root-back-btn svg {
  width: 18px;
  height: 18px;
}

.root-header-greet {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.root-header-greet span {
  font-size: 10px;
  color: #777;
  font-weight: 600;
}

.root-header-greet strong {
  font-size: 12px;
  color: #555;
  font-weight: 700;
}

.root-logo-header {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.root-shell-content {
  flex: 1;
}















.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  transform: translateX(-50%);
  display: flex;


  align-items: stretch;
  gap: 2px;
  width: min(620px, 100%);
  box-sizing: border-box;
  padding: 12px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--primary) 62%, #0f172a);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 22px rgba(15, 23, 42, .2);
  animation: dockUp .26s ease both;
}

@keyframes dockUp {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.dock .dock-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2px 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dock .dock-item.is-active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.dock .icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
}



.dock .dock-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--dock-icon) no-repeat center / contain;
  mask: var(--dock-icon) no-repeat center / contain;
}

.dock .dock-icon-img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.dock .dock-menu-svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.dock .icon-label {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.dock .dock-sep {
  flex: 0 0 1px;
  width: 1px;
  height: 38px;
  align-self: center;
  background: rgba(255, 255, 255, .25);
}



.dock .cl-chat-dock-item {
  position: relative;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 2px;
}

.dock .cl-chat-dock-item .icon-container {


  position: relative;
  width: 46px;
  height: 46px;
  justify-content: center;
  gap: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.dock .cl-chat-dock-item .dock-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: #fff;
}





.dock .cl-chat-dock-item.tem-novas .icon-container {
  background: transparent;
}

.dock .cl-chat-dock-item.tem-novas .icon-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e5484d;
  animation: dockChatPulsa 1.8s ease-out infinite;
}

@keyframes dockChatPulsa {
  0%   { box-shadow: 0 0 0 0 rgb(229 72 77 / 55%); }
  70%  { box-shadow: 0 0 0 12px rgb(229 72 77 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(229 72 77 / 0%); }
}


.dock .cl-chat-dock-item .icon-label {
  display: none;
}

.dock .cl-chat-dock-item .cl-chat-ponto {
  top: 0;
  right: 0;


  z-index: 2;
  background: #e5484d;
}



.app-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  pointer-events: none;
}

.app-menu-drawer[hidden] {
  display: none !important;
}


.app-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
  pointer-events: auto;
}

.app-menu-panel {
  position: absolute;
  left: max(12px, calc(50% - 310px + 8px));
  bottom: calc(98px + env(safe-area-inset-bottom, 0px));
  width: min(300px, calc(100% - 28px));
  max-height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 22px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18), 0 3px 10px rgba(15, 23, 42, .08);
  pointer-events: auto;
  overflow: hidden;
  transform-origin: bottom left;
  animation: appMenuUp .22s cubic-bezier(.22, .9, .32, 1) both;
}

.app-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.app-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-menu-item:active {
  background: #f1f4f9;
}


.app-menu-item.is-active {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary);
  font-weight: 800;
}

.app-menu-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
  background: var(--primary);
  -webkit-mask: var(--dock-icon) no-repeat center / contain;
  mask: var(--dock-icon) no-repeat center / contain;
}

.app-menu-item img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  filter: none;
}

.app-menu-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes appMenuUp {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


.app-menu-drawer.is-closing .app-menu-panel {
  animation: appMenuDown .18s ease both;
}

@keyframes appMenuDown {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(.97); }
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ghost {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  font-size: 32px;
}

.brand {
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
}

.profile {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.link {
  background: transparent;
  color: var(--primary);
  font-weight: 900;
}

.hero {
  padding: 34px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .24), transparent 18rem),
    linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(34px, 7vw, 68px);
  line-height: .95;
  margin: 0 0 10px;
}

.hero p,
.hero span {
  opacity: .92;
  font-weight: 800;
}

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

.action,
.card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 44px rgba(38, 30, 24, .08);
  text-align: left;
}

.action strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.action small,
.muted {
  color: var(--muted);
  font-weight: 700;
}

.action.disabled {
  opacity: .48;
  cursor: not-allowed;
}

.card {
  margin: 16px 0;
}

.details {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 18px;
}

.details dt {
  color: var(--muted);
  font-weight: 900;
}

.details dd {
  margin: 0;
  font-weight: 800;
}

.avatar-choice {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: fit-content;
}

.avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 42px;
  font-weight: 900;
}

.profile-picker-app {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 14px;
}

.profile-choice-app {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 132px;
  border: 0;
  background: transparent;
  color: #1f2937;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  text-align: center;
}

.profile-choice-photo {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  overflow: hidden;
}

.profile-choice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-choice-app small {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ==== ./src/styles/home.css ==== */
.enter {



  opacity: 1;
  transform: none;
  animation: homeFadeUp .5s ease both;
}

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

.patient-home {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.patient-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 6px;
  background: transparent;
}

.patient-header-actions {
  display: flex;
  align-items: center;
}

.home-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

#btnChangeAccount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-right: 2px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #636363;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: background 200ms, border-color 200ms, color 200ms;
}

#btnChangeAccount img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 200ms;
}

#btnChangeAccount:hover,
#btnChangeAccount:focus-visible {
  background: transparent;
  border-color: #636363;
  color: #636363;
  outline: none;
}

#btnChangeAccount:hover img,
#btnChangeAccount:focus-visible img {
  filter: brightness(0);
}

.logout-button {
  display: flex;
  align-items: center;
  background: #e74c3c;
  color: #fff;
  padding: 8px 12px;
  margin-left: 2px;
  transition: 200ms;
  border-radius: 10px;
  cursor: pointer;
  border: solid 1px transparent;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  font-weight: 800;
}

.logout-button:hover {
  background: transparent;
  border-color: #e74c3c;
  color: #636363;
}

.logout-button:hover svg {
  fill: #636363;
}

.logout-button span {
  margin-right: 5px;
}

.logout-button svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  margin-left: 5px;
}

h3.page-title {
  font-size: 20px;
  color: var(--primary);
  text-align: center;
  margin: 0 0 10px;
}

.patient-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 72px;
  box-sizing: border-box;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .patient-container {
    width: 50vw;
    max-width: none;
  }
}

.patient-card {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 72%, #000 28%) 100%);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.tertiary-background {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.profile-pic {
  width: 68px;
  height: 68px;
  aspect-ratio: 1 / 1;
  flex: 0 0 68px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  background: #ccc;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.welcome-text h1 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.welcome-text h2 {
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  color: #fff;
}

.welcome-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.status-badge {
  background: rgba(255,255,255,.22);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-color, #00c853);
  margin-right: 6px;
}

.plan-badge {
  background: rgba(255,255,255,.22);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  width: fit-content;
}

.main-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.button-item {
  width: 100%;
  height: 110px;
  border-radius: 16px;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.button-item a {
  text-decoration: none;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

.button-item .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  -webkit-mask: var(--icon-url) no-repeat center / contain;
  mask: var(--icon-url) no-repeat center / contain;
}

.bottom-solid-bg {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--bg) 34%, var(--bg) 100%);
  z-index: 140;
  pointer-events: none;
}

.floating-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  pointer-events: none;
  z-index: 200;
}

.support-container,
.call-container {
  width: calc((100% - 12px) / 2);
  display: flex;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  pointer-events: auto;
}

.call-container {
  justify-content: flex-start;
}

.support-container {
  justify-content: flex-end;
}

.support-fixed {
  position: fixed;
  right: 18px;
  bottom: 38px;
  z-index: 200;
  width: auto;
}

.support-button,
.call-button {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  width: 100%;
  height: 56px;
  text-decoration: none;
  margin-bottom: 0;
  box-shadow: none;
  font-weight: 800;
}

.support-button--link {
  width: 56px;
  min-width: 56px;
  padding: 0;
  border-radius: 50%;
}

.support-button.support-button--link span {
  display: none !important;
}

.call-button {
  background: #00ba46;
}

.support-button img,
.call-button img {
  width: 20px;
  filter: invert(1);
  opacity: .95;
}

.wave-bottom {
  position: fixed;
  left: 0;
  transform: none;
  width: 100%;
  bottom: 6px;
  height: auto;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 150;
}

.patient-home .policy-links {
  position: relative;
  font-size: 12px;
  color: var(--primary);
  left: 0;
  padding: 4px 10px;
  margin: 0;
  text-align: center;
  white-space: normal;
  background: var(--bg);
  border-radius: 12px;
}

.patient-home .policy-links a {
  color: var(--primary);
  font-weight: bold;
  margin: 0 5px;
  text-decoration: none;
}






.patient-card.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 12px 14px;
  background: linear-gradient(120deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 58%, #04122e 42%) 100%);
  box-shadow: 0 14px 30px rgba(6, 22, 50, .28);
}





.patient-card.hero-card::after {
  content: "";
  position: absolute;



  right: -23px;
  bottom: -25px;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.patient-card.hero-card > * {
  position: relative;
  z-index: 1;
}



.patient-card.hero-card .action-button {
  position: relative;
  z-index: 2;
}





.hero-subscribe-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(120, 0, 0, .35);
  border-radius: 12px;
  background: linear-gradient(135deg, #ef2b2b 0%, #d10f0f 55%, #a80707 100%);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .2px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(80, 0, 0, .3);
  box-shadow: 0 10px 22px rgba(190, 0, 0, .5);
  animation: heroCtaPulsa 1.5s ease-in-out infinite;
  transition: filter .12s;
}

.hero-subscribe-cta svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.hero-subscribe-cta:hover { filter: brightness(1.07); }



@keyframes heroCtaPulsa {
  0%, 100% {
    filter: brightness(1);
    transform: scale(1);
    box-shadow: 0 10px 22px rgba(190, 0, 0, .45);
  }
  50% {
    filter: brightness(1.12);
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(190, 0, 0, .8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-subscribe-cta { animation: none; }
}


.hero-decor-cross {
  position: absolute;
  right: 6px;
  bottom: 4px;
  width: 96px;
  height: 96px;
  color: rgba(255, 255, 255, .12);
  pointer-events: none;
  z-index: 0;
}

.hero-decor-cross svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-avatar {
  position: relative;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 3px;

  background: var(--status-color, #fff);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28),
    0 0 18px color-mix(in srgb, var(--status-color, #fff) 45%, transparent);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}



.hero-seal {
  position: absolute;
  left: -3px;
  bottom: -3px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%,
    color-mix(in srgb, var(--status-color, #22c55e) 62%, #fff) 0%,
    var(--status-color, #22c55e) 58%,
    color-mix(in srgb, var(--status-color, #22c55e) 80%, #000) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .16),
    inset 0 2px 3px rgba(255, 255, 255, .28);
  clip-path: polygon(100.00% 50.00%, 98.98% 52.57%, 96.29% 54.87%, 92.92% 56.80%, 90.06% 58.52%, 88.64% 60.35%, 88.95% 62.66%, 90.57% 65.57%, 92.52% 68.93%, 93.70% 72.27%, 93.30% 75.00%, 91.13% 76.71%, 87.66% 77.36%, 83.77% 77.35%, 80.44% 77.40%, 78.28% 78.28%, 77.40% 80.44%, 77.35% 83.77%, 77.36% 87.66%, 76.71% 91.13%, 75.00% 93.30%, 72.27% 93.70%, 68.93% 92.52%, 65.57% 90.57%, 62.66% 88.95%, 60.35% 88.64%, 58.52% 90.06%, 56.80% 92.92%, 54.87% 96.29%, 52.57% 98.98%, 50.00% 100.00%, 47.43% 98.98%, 45.13% 96.29%, 43.20% 92.92%, 41.48% 90.06%, 39.65% 88.64%, 37.34% 88.95%, 34.43% 90.57%, 31.07% 92.52%, 27.73% 93.70%, 25.00% 93.30%, 23.29% 91.13%, 22.64% 87.66%, 22.65% 83.77%, 22.60% 80.44%, 21.72% 78.28%, 19.56% 77.40%, 16.23% 77.35%, 12.34% 77.36%, 8.87% 76.71%, 6.70% 75.00%, 6.30% 72.27%, 7.48% 68.93%, 9.43% 65.57%, 11.05% 62.66%, 11.36% 60.35%, 9.94% 58.52%, 7.08% 56.80%, 3.71% 54.87%, 1.02% 52.57%, 0.00% 50.00%, 1.02% 47.43%, 3.71% 45.13%, 7.08% 43.20%, 9.94% 41.48%, 11.36% 39.65%, 11.05% 37.34%, 9.43% 34.43%, 7.48% 31.07%, 6.30% 27.73%, 6.70% 25.00%, 8.87% 23.29%, 12.34% 22.64%, 16.23% 22.65%, 19.56% 22.60%, 21.72% 21.72%, 22.60% 19.56%, 22.65% 16.23%, 22.64% 12.34%, 23.29% 8.87%, 25.00% 6.70%, 27.73% 6.30%, 31.07% 7.48%, 34.43% 9.43%, 37.34% 11.05%, 39.65% 11.36%, 41.48% 9.94%, 43.20% 7.08%, 45.13% 3.71%, 47.43% 1.02%, 50.00% 0.00%, 52.57% 1.02%, 54.87% 3.71%, 56.80% 7.08%, 58.52% 9.94%, 60.35% 11.36%, 62.66% 11.05%, 65.57% 9.43%, 68.93% 7.48%, 72.27% 6.30%, 75.00% 6.70%, 76.71% 8.87%, 77.36% 12.34%, 77.35% 16.23%, 77.40% 19.56%, 78.28% 21.72%, 80.44% 22.60%, 83.77% 22.65%, 87.66% 22.64%, 91.13% 23.29%, 93.30% 25.00%, 93.70% 27.73%, 92.52% 31.07%, 90.57% 34.43%, 88.95% 37.34%, 88.64% 39.65%, 90.06% 41.48%, 92.92% 43.20%, 96.29% 45.13%, 98.98% 47.43%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45))
    drop-shadow(0 0 5px color-mix(in srgb, var(--status-color, #22c55e) 65%, transparent));
}

.hero-seal svg {
  width: 14px;
  height: 14px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4));
}

.hero-body {
  flex: 1 1 auto;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  padding-left: 14px;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hero-names {
  min-width: 0;
}

.hero-greeting {
  margin: 0 0 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .82);
}

.hero-name {
  margin: 0;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}


.hero-plan svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: .9;
}



.hero-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
}


@media (max-width: 380px) {
  .hero-avatar {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .hero-name {
    font-size: 15px;
  }

  .hero-greeting {
    font-size: 11.5px;
  }

  .hero-seal {
    left: -3px;
    bottom: -3px;
    width: 21px;
    height: 21px;
  }

  .hero-seal svg {
    width: 12px;
    height: 12px;
  }
}






.home-side,
.home-topbar-text {
  display: none;
}

@media (min-width: 1024px) {
  .patient-home {
    display: grid;
    grid-template-columns: 254px minmax(0, 1fr);
    align-items: start;
    min-height: 100vh;
  }





  .home-side {
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100vh - 24px);
    margin: 12px 0 12px 12px;
    padding: 14px 10px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    overflow: hidden;
  }



  .home-side-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 2px 4px 8px;
  }

  .home-side-user-photo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background: #f8fafc;
    display: block;
  }

  .home-side-user-name {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    color: #263244;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
  }


  .home-side-patient {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--primary) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--primary) 13%, #fff);
  }

  .home-side-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--status-color, #22c55e) 70%, #fff);
  }

  .home-side-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  .home-side-ident {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .home-side-ident strong {
    font-size: 13.5px;
    line-height: 1.25;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-side-ident span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow-y: auto;
  }

  .home-side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: #263238;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms, color 160ms;
  }

  .home-side-item:hover,
  .home-side-item:focus-visible {
    background: #263238;
    color: #fff;
    outline: none;
  }

  .home-side-item.is-active {
    background: var(--primary);
    color: #fff;
  }



  .home-side-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: var(--home-icon) no-repeat center / contain;
    mask: var(--home-icon) no-repeat center / contain;
  }

  .home-side-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-side-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
  }

  .home-side-acoes {
    display: grid;
    gap: 8px;
  }

  .home-side-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 9%, #fff);
    border: 1px solid color-mix(in srgb, var(--primary) 16%, #fff);
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms;
  }

  .home-side-btn:hover,
  .home-side-btn:focus-visible {
    background: color-mix(in srgb, var(--primary) 16%, #fff);
    outline: none;
  }

  .home-side-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(2200%) hue-rotate(2deg);
  }

  .home-side-btn--ligar {
    background: color-mix(in srgb, #00ba46 10%, #fff);
    border-color: color-mix(in srgb, #00ba46 20%, #fff);
    color: #0a7c3a;
  }

  .home-side-btn--ligar:hover,
  .home-side-btn--ligar:focus-visible {
    background: color-mix(in srgb, #00ba46 18%, #fff);
  }

  .home-side-legal {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px;
    font-size: 11px;
    color: var(--muted);
  }

  .home-side-legal a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
  }

  .home-side-legal a:hover {
    color: var(--primary);
  }


  .home-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
  }



  .patient-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 36px;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }



  .patient-header .home-logo {
    display: block;
    width: 132px;
    height: auto;
    max-height: 56px;
    max-width: 190px;
    object-fit: contain;
  }

  .home-topbar-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }

  .home-topbar-text strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
  }

  .home-topbar-text span {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #btnChangeAccount {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .logout-button {
    height: 40px;
    border-radius: 12px;
  }


  h3.page-title {
    display: none;
  }

  .patient-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 36px 40px;
    align-items: stretch;
  }




  .patient-card.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;



    padding: 12px 14px;
    border-radius: 22px;
    margin-bottom: 26px;
  }

  .hero-avatar {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    padding: 4px;
  }

  .hero-body {
    padding-left: 20px;
  }

  .hero-greeting {
    font-size: 13.5px;
  }

  .hero-name {
    font-size: 26px;
    letter-spacing: .6px;
  }

  .hero-meta {
    margin-top: 10px;
  }

  .hero-plan {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .hero-subscribe-cta {
    margin-top: 0;
    min-width: 236px;
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 14.5px;
  }

  .hero-decor-cross {
    width: 190px;
    height: 190px;
    right: 14px;
    bottom: -22px;
  }


  .patient-card.hero-card::after {
    right: -43px;
    bottom: -79px;
    width: 304px;
    height: 304px;
  }



  .main-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .button-item {
    height: 136px;
    border-radius: 20px;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  }

  .button-item:hover {
    transform: translateY(-3px);
    filter: brightness(1.04);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .18);
  }

  .button-item .icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
  }

  .button-item a {
    font-size: 15px;
    padding: 0 12px;
  }

  .admin-home-entry {
    grid-column: 1 / -1;
    margin-top: 0 !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }



  .bottom-solid-bg,
  .floating-actions,
  .support-fixed,
  .wave-bottom {
    display: none !important;
  }
}


@media (min-width: 1440px) {
  .patient-header {
    padding: 16px 48px;
  }

  .patient-container {
    padding: 34px 48px 48px;
    max-width: 1280px;
  }

  .main-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}



.home-side-plan {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #fff);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.5;
}

/* ==== ./src/styles/patient/base.css ==== */
.page-section {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
}

.page-title-app {
  color: var(--primary);
  font-size: 26px;
  margin: 0 0 16px;
}

.root-page-title {
  font-size: 22px;
  text-align: center;
  color: var(--primary);
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.assinatura-extra-app {
  margin: 12px 0;
}

.assinatura-extra-app.hidden {
  display: none;
}

.assinatura-extra-app label {
  color: #1f2937;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 6px;
}

.assinatura-extra-app select {
  background: #d9d9d9;
  border: 0;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 800;
  min-height: 44px;
  padding: 0 14px;
}

.assinatura-extra-app small {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
}






.patient-side,
.patient-topbar-user {
  display: none;
}

@media (min-width: 1024px) {
  .patient-root-shell {
    display: grid;
    grid-template-columns: 254px minmax(0, 1fr);



    grid-template-rows: auto 1fr;
    align-items: start;
    padding: 0;
  }



  .patient-side {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 24px);
    margin: 12px 0 12px 12px;
    padding: 14px 10px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    overflow: hidden;
  }

  .patient-root-shell > .root-header,
  .patient-root-shell > .root-shell-content {
    grid-column: 2;
    min-width: 0;
  }



  .patient-root-shell > .root-header {
    position: sticky;
    top: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 12px 36px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  .patient-root-shell > .root-header-spacer {
    display: none;
  }


  .patient-root-shell .root-logo-header {
    order: -1;
    height: auto;
    width: 132px;
    max-width: 190px;
    max-height: 52px;
  }



  .patient-root-shell .root-header-greet,
  .patient-root-shell .root-back-btn {
    display: none;
  }

  .patient-topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
  }

  .patient-topbar-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
    display: block;
  }

  .patient-topbar-user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
  }

  .patient-topbar-user-text strong {
    font-size: 13px;
    font-weight: 800;
    color: #263244;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
  }

  .patient-topbar-user-text span {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
  }


  .patient-side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow-y: auto;
  }

  .patient-side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: #263238;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms, color 160ms;
  }

  .patient-side-item:hover,
  .patient-side-item:focus-visible {
    background: #263238;
    color: #fff;
    outline: none;
  }

  .patient-side-item.is-active {
    background: var(--primary);
    color: #fff;
  }

  .patient-side-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: var(--side-icon) no-repeat center / contain;
    mask: var(--side-icon) no-repeat center / contain;
  }

  .patient-side-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }


  .patient-root-shell > .dock,
  .patient-root-shell > .app-menu-drawer {
    display: none !important;
  }


  .patient-root-shell {
    padding-bottom: 0;
  }

  .patient-root-shell > .root-shell-content {
    padding-bottom: 32px;
  }
}




.patient-topbar-actions {
  display: none;
}

@media (min-width: 1024px) {
  .patient-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .patient-topbar-actions .submit-btn-app,
  .patient-topbar-actions .profile-password-open,
  .patient-topbar-actions .dependentes-adicionar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
  }

  .patient-topbar-actions .submit-btn-app {
    border: 0;
    background: var(--primary);
    color: #fff;
  }

  .patient-topbar-actions .profile-password-open {
    border: 1.5px solid color-mix(in srgb, var(--primary) 30%, #fff);
    background: #fff;
    color: var(--primary);
  }



  .patient-topbar-actions .btn-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: none;
  }

  .patient-topbar-actions svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }
}

/* ==== ./src/styles/patient/shared.css ==== */
.agenda-list,
.dependentes-list {
  display: grid;
  gap: 12px;
}

.root-simple-list {
  display: block;
}

.empty-card {
  padding: 15px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}


.start-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
  width: 100%;
  padding: 24px;
  text-align: center;
  max-width: 520px;
}

.start-card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 10px;
}

.start-card h1 {
  margin: 0 0 10px;
  color: var(--primary);
}

.start-card p {
  color: #475569;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-summary-app {
  display: grid;
  gap: 8px;
  width: 100%;
}

.checkout-summary-app div {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
}

.checkout-summary-app span {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.checkout-summary-app strong {
  color: #1f2937;
  font-size: 14px;
}

.reservation-note-app {
  background: rgba(255, 122, 0, .12);
  border: 1px solid rgba(255, 122, 0, .32);
  border-radius: 14px;
  color: var(--text);
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.reservation-note-app span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}


/* ==== ./src/styles/patient/checkout.css ==== */
.pix-box-app {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
}

.pix-box-app.hidden {
  display: none;
}

.pix-box-app img {
  background: #fff;
  border-radius: 12px;
  max-width: 210px;
  padding: 8px;
  width: 100%;
}

.pix-box-app textarea {
  background: #f3f4f6;
  border: 0;
  border-radius: 12px;
  color: #1f2937;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 78px;
  padding: 10px;
  resize: none;
  width: 100%;
}

.pix-box-app p {
  color: #64748b;
  font-weight: 900;
}

.card-box-app {
  display: grid;
  gap: 8px;
  text-align: left;
  width: 100%;
}

.card-box-app.hidden {
  display: none;
}

.card-box-app label {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.card-box-app input {
  background: #d9d9d9;
  border: 0;
  border-radius: 10px;
  color: #1f2937;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.card-grid-app {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-app.two {
  grid-template-columns: 2fr 1fr;
}

.btn-muted {
  margin-top: 16px;
  background: #e5e7eb;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 900;
}


.input {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: var(--input);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  margin: 8px 0;
  padding: 0 14px;
  text-align: center;
}

.submit-btn-app,
.password-btn-app {
  min-height: 46px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.password-btn-app {
  background: #303030;
}

.secondary-action-app {
  background: var(--tertiary);
}

.upload-info-app {
  min-height: 20px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  margin: 4px 0 10px;
}

.form-message {
  display: none;
  border-radius: 10px;
  padding: 9px 11px;
  font-weight: 800;
  font-size: 13px;
}

.form-message:not(:empty) {
  display: block;
}

.form-message.success {
  color: #166534;
  background: #dcfce7;
}

.form-message.error {
  color: #991b1b;
  background: #fee2e2;
}


.form-message.info {
  color: #854d0e;
  background: #fef9c3;
}

.no-autolink,
*[class^="no-autolink"] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}




.consulta-cpf-app {
  display: grid;
  gap: 6px;
  margin: 4px 0 10px;
}

.consulta-cpf-app.hidden {
  display: none;
}

.consulta-cpf-app label {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.consulta-cpf-app input {
  background: #d9d9d9;
  border: 0;
  border-radius: 10px;
  color: #1f2937;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.consulta-cpf-app input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}



.pix-message-app {
  text-align: center;
  width: 100%;
}

/* ==== ./src/styles/patient/states.css ==== */
.state-page-app {
  min-height: 100vh;
  background: var(--state-bg);
  color: #111;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  text-align: center;
}

.state-bar-app {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--state-primary);
}

.state-bar-top-app {
  top: 0;
}

.state-bar-bottom-app {
  bottom: 0;
}

.state-content-app {
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.state-icon-app {
  width: 120px;
  height: auto;
}

.state-content-app h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.state-content-app p,
.state-content-app span {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.state-button-app {
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--state-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.state-spinner-app {
  margin-top: 10px;
}

.state-page-app.waiting-state-app {
  background: var(--state-bg);
  color: #000;
}

.state-page-app.waiting-state-app .state-content-app {
  gap: 12px;
}

.state-page-app.waiting-state-app .state-content-app h1 {
  color: #000;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  white-space: pre-line;
}

.state-page-app.waiting-state-app .state-content-app p,
.state-page-app.waiting-state-app .state-content-app span {
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-line;
}

.state-page-app.waiting-state-app .state-queue-app {
  color: #000;
  font-size: 20px;
  font-weight: 700;
}

.state-page-app.waiting-state-app .state-spinner-app {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(0, 0, 0, .12);
  border-top-color: var(--state-primary);
  border-radius: 999px;
}





.state-actions-app {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.state-actions-app .state-button-app {
  margin-top: 0;
}

.state-button-ghost-app {
  background: transparent;
  color: var(--state-primary);
  border: 1px solid var(--state-primary);
}

/* ==== ./src/styles/patient/assinatura.css ==== */
.assinatura-page-app {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.assinatura-card-app {
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.10);
  padding: 26px;
  text-align: center;
}

.assinatura-logo-app {
  max-width: 160px;
  max-height: 78px;
  object-fit: contain;
  margin-bottom: 12px;
}

.assinatura-card-app h1 {
  color: var(--text);
  font-size: 1.55rem;
  margin: 0 0 10px;
}

.assinatura-card-app p {
  color: #4f5b6b;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 16px;
}

.assinatura-plan-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 112, 14, 0.12);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 800;
  padding: 8px 14px;
  margin-bottom: 18px;
}

.assinatura-products-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 4px 0 14px;
  text-align: left;
}

.assinatura-product-app {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9dde5;
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.assinatura-product-app.selected {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(255, 112, 14, 0.14);
  transform: translateY(-1px);
}

.assinatura-product-app input {
  accent-color: var(--primary);
}

.assinatura-product-app span {
  min-width: 0;
}

.assinatura-product-app strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.2;
}

.assinatura-product-app small {
  display: block;
  color: #6b7280;
  font-size: 0.74rem;
  margin-top: 3px;
}

.assinatura-product-app b {
  color: var(--primary);
  font-size: 0.96rem;
  white-space: nowrap;
}

.assinatura-summary-app {
  text-align: left;
}

.assinatura-coupon-app {
  margin: 12px 0;
  text-align: left;
}

.assinatura-coupon-app label {
  color: #1f2937;
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}

.assinatura-coupon-row {
  display: flex;
  gap: 8px;
}

.assinatura-coupon-row input {
  background: #d9d9d9;
  border: 0;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 800;
  min-height: 44px;
  min-width: 0;
  padding: 0 14px;
  flex: 1;
}




.assinatura-coupon-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assinatura-coupon-row .submit-btn-app {
  white-space: nowrap;
}

.assinatura-coupon-app small {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
}

.assinatura-back-app {
  margin-top: 12px;
}






.checkout-actions-app {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.checkout-actions-app > .submit-btn-app,
.assinatura-back-app,
.assinatura-only-register-box-app > .submit-btn-app {
  box-sizing: border-box;
  display: block;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.checkout-actions-app > .submit-btn-app {
  margin-top: 0;
  margin-bottom: 0;
}


.assinatura-steps-app {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8a94a6;
  background: #eef1f6;
  border-radius: 999px;
  padding: 5px 12px;
}

.step-pill.active {
  color: #ffffff;
  background: var(--primary);
}

.assinatura-guest-login-app {
  text-align: center;
  margin: -6px 0 14px;
  font-size: 0.9rem;
  color: #4f5b6b;
}

.assinatura-guest-login-app a {
  color: var(--primary);
  font-weight: 700;
}

.assinatura-only-register-box-app {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.assinatura-only-register-box-app p {
  color: #4f5b6b;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}



.assinatura-product-app b em {
  color: #6b7280;
  display: block;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 2px;
}



.assinatura-total-note-app {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 4px;
}

.assinatura-total-note-app:empty {
  display: none;
}



.assinatura-total-equivalente-app {
  color: #94a3b8;
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 2px;
}

.assinatura-total-equivalente-app:empty {
  display: none;
}















.assinatura-cartao-box {
  margin-top: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assinatura-cartao-box.hidden { display: none; }

.assinatura-cartao-campo { display: flex; flex-direction: column; gap: 2px; }



.assinatura-cartao-campo > label {
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  color: var(--app-text-soft, #667085);
}
























.assinatura-cartao-campo > div {
  background: #d9d9d9;
  border: 0;
  border-radius: 10px;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
}





.assinatura-cartao-campo > div:focus-within,
.assinatura-cartao-campo > div.esta-focado {
  outline: 2px solid var(--primary, #1f2937);
  outline-offset: 1px;
}








.assinatura-cartao-campo > div > iframe {
  width: calc(100% + 40px) !important;
  height: 80px !important;
  margin: -18px 0 0 -20px;
  display: block;
  border: 0;
  background: transparent;
}



.assinatura-cartao-linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 420px) {
  .assinatura-cartao-linha { grid-template-columns: 1fr; }
}






.profile-assinatura {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--app-border, #e3e8ef);
  border-radius: 12px;
  background: var(--app-surface, #fff);
}

.profile-assinatura[hidden] { display: none; }

.profile-assinatura > h2 { font-size: 17px; margin: 0 0 12px; }

.profile-assinatura-dados { margin: 0 0 12px; display: grid; gap: 8px; }

.profile-assinatura-dados > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.profile-assinatura-dados dt {
  font-size: 13px;
  color: var(--app-text-soft, #667085);
}

.profile-assinatura-dados dd { margin: 0; font-weight: 600; }



.profile-assinatura-alerta {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef3f2;
  color: #b42318;
  font-size: 14px;
}

.profile-assinatura-alerta[hidden] { display: none; }













.assinatura-atual-app {
  --assinatura-tinta: var(--primary, #1f2937);
  margin: 0 0 20px;
  border: 1px solid color-mix(in srgb, var(--assinatura-tinta) 22%, #fff);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, .04),
    0 14px 32px -22px color-mix(in srgb, var(--assinatura-tinta) 60%, transparent);
  text-align: left;
}

.assinatura-atual-app[hidden] { display: none; }



.assinatura-atual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(
    135deg,
    var(--assinatura-tinta),
    color-mix(in srgb, var(--assinatura-tinta) 72%, #000)
  );
  color: #fff;
}

.assinatura-atual-head h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}


.assinatura-atual-selo:empty { display: none; }

.assinatura-atual-selo {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}


.assinatura-atual-dados {
  display: grid;
  margin: 0;
  padding: 6px 20px 2px;
}

.assinatura-atual-dados > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--assinatura-tinta) 10%, #fff);
}

.assinatura-atual-dados > div:last-child { border-bottom: none; }
.assinatura-atual-dados > div[hidden] { display: none; }

.assinatura-atual-dados dt {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted, #6b7280);
}

.assinatura-atual-dados dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}


.assinatura-atual-dados dd[data-assinatura-atual-valor] {
  color: var(--assinatura-tinta);
  font-size: 17px;
}

.assinatura-atual-alerta {
  margin: 12px 20px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13.5px;
  line-height: 1.5;
}

.assinatura-atual-alerta[hidden] { display: none; }



.assinatura-cancelamento-aviso {
  margin: 14px 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 13.5px;
  line-height: 1.55;
}

.assinatura-cancelamento-aviso[hidden] { display: none; }

.assinatura-atual-acoes {
  padding: 14px 20px 18px;
}

.assinatura-atual-acoes[hidden] { display: none; }



.assinatura-atual-cancelar {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, #b42318 26%, #fff);
  border-radius: 12px;
  background: color-mix(in srgb, #b42318 4%, #fff);
  color: #b42318;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.assinatura-atual-cancelar:hover:not(:disabled) {
  background: color-mix(in srgb, #b42318 10%, #fff);
  border-color: color-mix(in srgb, #b42318 45%, #fff);
}

.assinatura-atual-cancelar:disabled { opacity: .6; cursor: progress; }

.assinatura-atual-app .form-message:empty { display: none; }
.assinatura-atual-app .form-message { margin: 0 20px 16px; }

@media (max-width: 520px) {
  .assinatura-atual-app { border-radius: 16px; }
  .assinatura-atual-head { padding: 14px 16px; }
  .assinatura-atual-dados { padding: 4px 16px 2px; }
  .assinatura-atual-dados > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .assinatura-atual-dados dd { text-align: left; }
  .assinatura-atual-acoes { padding: 12px 16px 16px; }
  .assinatura-cancelamento-aviso,
  .assinatura-atual-alerta { margin-left: 16px; margin-right: 16px; }
}










.assinatura-atual-pagamento {
  align-items: center !important;
}

.assinatura-cartao-mini {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 104px;
  height: 64px;
  padding: 8px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1e3a5f, #0f1f35 70%);
  box-shadow: 0 2px 6px rgba(15, 31, 53, .28);
  color: #fff;
  vertical-align: middle;
}

.assinatura-cartao-mini-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.assinatura-cartao-mini-marca {
  display: inline-flex;
  align-items: center;
  min-height: 14px;
}

.assinatura-cartao-mini-generico {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .9;
}

.assinatura-cartao-mini-numero {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}


.assinatura-selo-pagamento {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border, #e6e8ee);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.assinatura-selo-pix {
  border-color: color-mix(in srgb, #32BCAD 40%, #fff);
  background: color-mix(in srgb, #32BCAD 7%, #fff);
  color: #0f766e;
}

@media (max-width: 520px) {
  .assinatura-atual-pagamento { align-items: flex-start !important; }
}

/* ==== ./src/styles/patient/avaliacao.css ==== */





.avaliacao-page-app {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  min-height: calc(100dvh - 60px);
  padding: 16px 16px 96px;
  text-align: center;
  width: 100%;
}

.avaliacao-card-app {
  box-sizing: border-box;
  max-width: 400px;
  text-align: center;
  width: 100%;
}







.avaliacao-hero {
  height: 196px;
  margin: 0 auto 10px;
  position: relative;
  width: 210px;
}



.avaliacao-hero::before {
  background: color-mix(in srgb, var(--primary) 9%, #fff);
  border-radius: 46% 54% 50% 50% / 52% 48% 56% 44%;
  content: '';
  height: 168px;
  left: 50%;
  position: absolute;
  top: 14px;
  transform: translateX(-50%) rotate(-5deg);
  width: 178px;
}


.avaliacao-hero::after {
  border: 1px solid color-mix(in srgb, var(--primary) 15%, #fff);
  border-radius: 50%;
  content: '';
  inset: 0;
  position: absolute;
}

.avaliacao-hero-img {
  bottom: 0;
  display: block;
  height: auto;
  left: 50%;
  margin: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 74%;
  z-index: 1;
}

.avaliacao-heading-app {
  margin-bottom: 14px;
  text-align: center;
}

.avaliacao-heading-app h1 {
  color: #1d2939;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1.25;
  margin: 0;
}

.avaliacao-subtitle {
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 5px auto 0;
  max-width: 290px;
}

.avaliacao-form-app {
  display: grid;
  gap: 4px;
}


.avaliacao-rating-group {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0 0 10px;
  text-align: center;
}



.avaliacao-rating-group legend {
  border-top: 1px solid #f1f4f9;
  color: #344054;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  padding: 14px 0 0;
  text-align: center;
  width: 100%;
}

.avaliacao-stars {
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  margin: 0;
}

.avaliacao-stars input {
  display: none;
}

.avaliacao-stars label {
  color: #dfe4ec;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
  margin: 0;
}

.avaliacao-stars label svg {
  display: block;
  height: 34px;
  transition: transform .12s ease;
  width: 34px;
}

.avaliacao-stars label path {
  fill: currentColor;
  stroke: none;
  transition: fill .12s ease;
}


.avaliacao-stars label:hover svg {
  transform: scale(1.08);
}

.avaliacao-stars label.is-active {
  color: #f5a623;
}

.avaliacao-stars input:focus-visible + label {
  border-radius: 6px;
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}



.avaliacao-comentario {
  border-top: 1px solid #f1f4f9;
  padding-top: 14px;
  text-align: left;
}

.avaliacao-comentario label {
  color: #475569;
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .4px;
  margin: 0 0 6px 2px;
  text-transform: uppercase;
}

.avaliacao-form-app textarea {
  background: color-mix(in srgb, var(--primary) 5%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, #fff);
  border-radius: 12px;
  box-sizing: border-box;
  color: #1f2937;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  height: auto;
  line-height: 1.45;
  margin: 0;
  min-height: 84px;
  outline: none;
  padding: 11px 13px;
  resize: none;
  transition: border-color .12s ease, box-shadow .12s ease;
  width: 100%;
}

.avaliacao-form-app textarea::placeholder {
  color: #94a3b8;
}

.avaliacao-form-app textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.avaliacao-form-app .form-message {
  font-size: 13px;
  font-weight: 700;
  min-height: 0;
}

.avaliacao-form-actions {
  display: grid;
  margin-top: 6px;
}

.avaliacao-submit-app {
  background: var(--primary);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 22%, transparent);
  color: #fff;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .1px;
  margin: 0;
  min-height: 50px;
  padding: 13px 20px;
  transition: filter .12s ease, transform .12s ease;
  width: 100%;
}

.avaliacao-submit-app:hover {
  filter: brightness(1.04);
}

.avaliacao-submit-app:active {
  transform: translateY(1px);
}

.avaliacao-submit-app:disabled {
  cursor: default;
  opacity: .7;
}

.avaliacao-success-popup[hidden] {
  display: none !important;
}

.avaliacao-success-popup {
  background: #fff;
  display: grid;
  inset: 0;
  padding: 24px;
  place-items: center;
  position: fixed;
  text-align: center;
  z-index: 1200;
}

.avaliacao-success-content {
  animation: avaliacao-success-enter .28s ease both;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.avaliacao-success-icon {
  align-items: center;
  background: color-mix(in srgb, var(--secondary) 14%, #fff);
  border-radius: 50%;
  color: var(--secondary);
  display: grid;
  height: 92px;
  place-items: center;
  width: 92px;
}

.avaliacao-success-icon svg {
  height: 44px;
  width: 44px;
}

.avaliacao-success-content strong {
  color: #1d2939;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  max-width: 280px;
}

@keyframes avaliacao-success-enter {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .avaliacao-page-app {
    padding: 10px 14px 104px;
  }

  .avaliacao-stars label svg {
    height: 32px;
    width: 32px;
  }
}

/* ==== ./src/styles/patient/dependentes.css ==== */





.dependentes-page,
.dependente-form-page {
  flex: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 12px 0 28px;
  box-sizing: border-box;
  margin-bottom: 70px;
}

.dependentes-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px 16px;
}

.dependentes-hero-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
}

.dependentes-hero-icon svg {
  width: 23px;
  height: 23px;
}

.dependentes-hero-texto {
  min-width: 0;
}

.dependentes-titulo {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--secondary);
}

.dependentes-contagem {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}

.dependentes-lista {
  display: grid;
  gap: 10px;
}

.dependente-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--secondary) 6%, transparent);
}

.dependente-card-foto {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: color-mix(in srgb, var(--primary) 14%, #fff);
  color: var(--primary);
}

.dependente-card-foto.is-f {
  background: color-mix(in srgb, var(--secondary) 12%, #fff);
  color: var(--secondary);
}

.dependente-card-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dependente-card-foto b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}

.dependente-card-dados {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dependente-card-dados strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}

.dependente-card-dados small {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.dependentes-vazio {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 26px 18px;
  border: 1px dashed color-mix(in srgb, var(--secondary) 22%, #fff);
  border-radius: 16px;
  text-align: center;
  color: #64748b;
}

.dependentes-vazio svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.dependentes-vazio strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}

.dependentes-adicionar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 24%, transparent);
}

.dependentes-adicionar svg {
  width: 18px;
  height: 18px;
}

.dependentes-adicionar:active {
  transform: translateY(1px);
}



.dependente-card {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .12s ease;
}

.dependente-card:hover {
  box-shadow: 0 8px 22px color-mix(in srgb, var(--secondary) 10%, transparent);
}

.dependente-card:active {
  transform: translateY(1px);
}

.dependente-card-seta {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  color: #9aa4b2;
}

.dependente-card-seta svg {
  width: 16px;
  height: 16px;
}


.dependente-modal-foto {
  border-radius: 50%;
  overflow: hidden;
}

.dependente-modal-foto.is-f {
  background: color-mix(in srgb, var(--secondary) 12%, #fff);
  color: var(--secondary);
}

.dependente-modal-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dependente-modal-foto b {
  font-size: 15px;
  font-weight: 800;
}

.dependente-detalhes {
  display: grid;
  gap: 2px;
  margin: 0;
}

.dependente-detalhe {
  display: grid;
  gap: 2px;
  padding: 10px 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--secondary) 10%, #fff);
}

.dependente-detalhe:last-child {
  border-bottom: 0;
}

.dependente-detalhe dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7c8798;
}

.dependente-detalhe dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}







@media (min-width: 1024px) {
  .dependentes-page {
    max-width: 1180px;
    padding: 30px 40px 32px;

    margin-bottom: 0;
  }

  .dependentes-hero {
    gap: 16px;
    padding: 2px 2px 22px;
  }

  .dependentes-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

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

  .dependentes-titulo {
    font-size: 30px;
  }

  .dependentes-contagem {
    margin-top: 4px;
    font-size: 12px;
  }



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

  .dependente-card {
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 22px -18px rgba(15, 23, 42, .30);
  }

  .dependente-card:hover {
    transform: translateX(2px);
    border-color: color-mix(in srgb, var(--primary) 26%, #e5e7eb);
    box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 30px -20px rgba(15, 23, 42, .34);
  }

  .dependente-card-foto {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e9eef6;
  }

  .dependente-card-foto b {
    font-size: 17px;
  }

  .dependente-card-dados strong {
    font-size: 15.5px;
  }

  .dependente-card-dados small {
    font-size: 12.5px;
  }

  .dependente-card-seta svg {
    width: 18px;
    height: 18px;
  }

  .dependentes-vazio {
    padding: 40px 24px;
  }

  .dependentes-vazio strong {
    font-size: 15px;
  }



  .dependentes-acoes {
    display: none;
  }
}







@media (min-width: 1024px) {
  .dependente-form-page {
    max-width: 1180px;
    padding: 30px 40px 32px;

    margin-bottom: 0;
  }

  .dependente-form-page .profile-form--modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;


    align-items: stretch;
  }

  .dependente-form-page .profile-form--modern .profile-block {
    margin-bottom: 0;
    padding: 20px 20px 22px;
    border-radius: 18px;
  }





  .dependente-form-page .profile-form--modern > section.profile-block:last-of-type {
    grid-column: auto;
  }



  .dependente-form-page .profile-form--modern > section.profile-block.profile-block--full {
    grid-column: 1 / -1;
  }

  .dependente-form-page .profile-form--modern > section.profile-block.profile-block--full .profile-fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }



  .dependente-form-page .profile-form--modern > section[aria-labelledby="dependenteAcessoTitulo"] .profile-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }


  .dependente-form-page .profile-form--modern .profile-actions {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 2px;
  }
}

/* ==== ./src/styles/patient/profile.css ==== */
.root-profile-edit {
  flex: 1;
  width: 100%;
  max-width: 400px;
  margin: auto;
  text-align: center;
  padding: 20px 0;
  box-sizing: border-box;
  margin-bottom: 70px;
}

.profile-picture-app {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto 20px;
  background: var(--input);
}

.profile-picture-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-edit {
  padding-bottom: 24px;
}

.profile-form {
  display: grid;
  gap: 0;
  padding: 0;
  margin-bottom: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.profile-form label {
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  text-align: left;
  padding-left: 35px;
  color: var(--secondary);
}

.profile-form input,
.profile-form select {
  width: calc(100% - 40px);
  min-height: 0;
  padding: 10px 15px;
  margin: 0 auto 10px;
  background: var(--input);
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  font-family: 'Nunito Sans', sans-serif;
  box-sizing: border-box;
  color: var(--text);
  outline: none;
  font-weight: 400;
}

.profile-form .readonly-input {
  background: #e9e9e9;
  cursor: not-allowed;
}

.profile-form input:focus,
.profile-form select:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.profile-form .phone-field-app {
  width: calc(100% - 40px);
  margin: 0 auto 10px;
  min-height: 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding-left: 40px;
}

.profile-form .phone-field-app select,
.profile-form .phone-field-app input {
  min-height: 38px;
  margin: 0;
  width: 100%;
  border: 0 !important;
}

.profile-form--password h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.profile-form > .submit-btn-app,
.profile-form > .password-btn-app {
  min-height: 0;
  border-radius: 5px;
  font-weight: 800;
  background: var(--primary);
  padding: 10px 20px;
  font-size: 16px;
  width: calc(100% - 40px);
  box-sizing: border-box;
  margin: 0 auto 10px;
}

.profile-form > .password-btn-app {
  background: var(--secondary);
  margin-top: 10px;
}

.profile-password-open {
  display: block;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.profile-password-modal[hidden] {
  display: none !important;
}

.profile-password-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .6);
}

.profile-password-modal-content {
  position: relative;
  width: min(100%, 400px);
  padding: 22px 18px 18px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.profile-password-modal-content h2 {
  margin: 0 0 8px;
  color: var(--secondary);
}

.profile-password-hint {
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.35;
}

.profile-password-modal-close {
  position: absolute;
  top: 7px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.profile-password-modal .profile-form {
  margin: 0;
}

.profile-password-modal .profile-form input,
.profile-password-modal .profile-form > .password-btn-app {
  width: 100%;
}










.profile-form [data-endereco] { display: contents; }
.profile-form [data-endereco][hidden] { display: none; }



.profile-pharmacy {
  margin: 4px 20px 16px;
  padding: 16px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}



.profile-pharmacy > label {
  display: block;
  margin-bottom: 2px;
  padding-left: 0;
  color: var(--secondary);
  font-size: 14px;
  font-weight: bold;
}

.profile-pharmacy-hint {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 12.5px;
  line-height: 1.35;
  text-align: left;
}



.profile-pharmacy-current {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
}

.profile-pharmacy-current strong {
  color: #166534;
  font-size: 14px;
  line-height: 1.3;
}

.profile-pharmacy-current small {
  color: #4b5563;
  font-size: 12.5px;
  line-height: 1.35;
}

.profile-pharmacy-clear {
  align-self: flex-start;
  width: auto;
  margin: 6px 0 0;
  padding: 5px 12px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.profile-pharmacy-clear:hover { background: #fef2f2; }



.profile-pharmacy-current[hidden],
.profile-pharmacy-results[hidden] { display: none; }



.profile-pharmacy-search {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
}

.profile-pharmacy-search input {
  width: 100%;
  margin: 0;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #d5d9e0;
  border-radius: 8px;
  font-size: 14px;
}

.profile-pharmacy-search input:focus {
  border-color: var(--primary);
  outline: none;
}

.profile-pharmacy-search button {
  grid-column: 1 / -1;
  width: 100%;
  margin: 2px 0 0;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.profile-pharmacy-search button:disabled { opacity: .6; cursor: wait; }

.profile-pharmacy-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
  overflow-y: auto;
}

.profile-pharmacy-option {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.profile-pharmacy-option:hover {
  border-color: var(--primary);
  background: #fafbfc;
}

.profile-pharmacy-option strong {
  color: #253247;
  font-size: 13.5px;
  line-height: 1.3;
}

.profile-pharmacy-option small {
  color: #6b7280;
  font-size: 12.5px;
  line-height: 1.35;
}

.profile-pharmacy-empty {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  text-align: left;
}


@media (max-width: 380px) {
  .profile-pharmacy-search { grid-template-columns: 1fr; }
}






.root-profile-edit {


  flex: 0 0 auto;
  width: 100%;
  max-width: 440px;



  margin: 0 auto -44px;
  padding: 14px 14px 0;
  text-align: left;
  box-sizing: border-box;
}


.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 2px 0 16px;
  text-align: center;
}

.profile-photo {
  position: relative;
  display: block;
  width: 102px;
  height: 102px;
  margin-bottom: 8px;
  cursor: pointer;
}

.profile-photo .profile-picture-app {
  width: 102px;
  height: 102px;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), color-mix(in srgb, var(--secondary) 65%, var(--primary)));
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 22%, transparent);
}

.profile-photo .profile-picture-app img {
  border-radius: 50%;
  display: block;
}

.profile-photo-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, .22);
}

.profile-photo-badge svg {
  width: 15px;
  height: 15px;
}

.profile-hero-name {
  margin: 2px 0 0;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
  overflow-wrap: anywhere;
}


.profile-form--modern .profile-block {
  margin-bottom: 12px;
  padding: 15px 14px 16px;
  border: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--secondary) 6%, transparent);
}

.profile-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.profile-block-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
}

.profile-block-icon svg {
  width: 17px;
  height: 17px;
}

.profile-block-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}

.profile-form--modern .profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 10px;
}



.profile-form--modern [data-endereco] { display: block; }
.profile-form--modern [data-endereco][hidden] { display: none; }

.profile-form--modern .profile-field { min-width: 0; }
.profile-form--modern .profile-field--full { grid-column: 1 / -1; }

.profile-form--modern label {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: color-mix(in srgb, var(--text) 68%, #7b8595);
}

.profile-form--modern input,
.profile-form--modern select {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--secondary) 16%, #fff);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.profile-form--modern input::placeholder { color: #a3abb8; font-weight: 400; }

.profile-form--modern input:focus,
.profile-form--modern select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
  outline: none;
}

.profile-form--modern .readonly-input {
  background: color-mix(in srgb, var(--input) 45%, #fff);
  color: #5b6573;
  cursor: not-allowed;
}

.profile-form--modern select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 16px;
}


.profile-form--modern .documento-field-app {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  width: 100%;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--secondary) 16%, #fff);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.profile-form--modern .documento-field-app:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.profile-form--modern .documento-field-app select,
.profile-form--modern .documento-field-app input {
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.profile-form--modern .documento-field-app select {
  border-right: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
  background-color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding-right: 34px;
  background-position: right 10px center;
}


.profile-form--modern .phone-field-app {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--secondary) 16%, #fff);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.profile-form--modern .phone-field-app:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.profile-form--modern .phone-field-app select,
.profile-form--modern .phone-field-app input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.profile-form--modern .phone-field-app select {
  border-right: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff) !important;
  background-color: #fff;
  padding: 0 24px 0 11px;
  font-size: 13px;
  font-weight: 500;
  background-position: right 6px center;
  background-size: 14px;
}


.profile-form--modern .profile-pharmacy {
  margin: 0 0 12px;
}


.profile-form--modern .profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.profile-form--modern .profile-actions .form-message:empty { display: none; }

.profile-form--modern .profile-actions .form-message {
  margin: 0;
  text-align: left;
  font-size: 13px;
}

.profile-form--modern .submit-btn-app,
.profile-form--modern .profile-password-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  box-sizing: border-box;
  cursor: pointer;
}

.profile-form--modern .submit-btn-app {
  border: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 28%, transparent);
}

.profile-form--modern .submit-btn-app:active { transform: translateY(1px); }

.profile-form--modern .profile-password-open {
  border: 1.5px solid color-mix(in srgb, var(--primary) 30%, #fff);
  background: #fff;
  color: var(--primary);
}

.profile-form--modern .submit-btn-app svg,
.profile-form--modern .profile-password-open svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}


@media (max-width: 360px) {
  .profile-form--modern .profile-fields { grid-template-columns: 1fr; }
  .profile-form--modern .profile-field--full { grid-column: auto; }
  .profile-form--modern .documento-field-app { grid-template-columns: 118px minmax(0, 1fr); }
}






@media (min-width: 1024px) {
  .root-profile-edit {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 40px 32px;
  }


  .profile-hero {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 2px 2px 22px;
    text-align: left;
  }

  .profile-photo,
  .profile-photo .profile-picture-app {
    width: 92px;
    height: 92px;
  }

  .profile-photo {
    margin-bottom: 0;
  }

  .profile-hero-name {
    font-size: 26px;
  }



  .profile-form--modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    align-items: start;
  }

  .profile-form--modern .profile-block {
    margin-bottom: 0;
    padding: 20px 20px 22px;
    border-radius: 18px;
  }

  .profile-form--modern > .profile-block:last-of-type,
  .profile-form--modern .profile-pharmacy,
  .profile-form--modern .profile-actions {
    grid-column: 1 / -1;
  }


  .profile-form--modern > .profile-block:last-of-type .profile-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }


  .profile-form--modern .profile-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
  }

  .profile-form--modern .profile-actions .form-message {
    flex: 1 1 100%;
  }




  .profile-form--modern .submit-btn-app,
  .profile-form--modern .profile-password-open {
    width: 240px;
    min-width: 240px;
    height: 50px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 15px;
  }


  .root-profile-edit .assinatura-atual-app {
    max-width: none;
    margin-top: 18px;
  }
}

.profile-form--modern .profile-pendencias {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #f1b5ae;
  border-left: 4px solid #c0392b;
  border-radius: 12px;
  background: #fdf1ef;
  color: #7a231a;
  font-size: 14px;
  line-height: 1.45;
}
.profile-form--modern .profile-pendencias strong { display: block; margin-bottom: 6px; }
.profile-form--modern .profile-pendencias ul { margin: 0 0 6px; padding-left: 20px; }
.profile-form--modern .profile-pendencias li { margin: 2px 0; }
.profile-form--modern .profile-pendencias small { display: block; color: #9a4a40; font-size: 12px; }
.profile-form--modern .profile-field--pendente > label { color: #c0392b; }
.profile-form--modern .profile-field--pendente input,
.profile-form--modern .profile-field--pendente select,
.profile-form--modern .profile-field--pendente .phone-field-app {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* ==== ./src/styles/patient/modal-sheet.css ==== */











.pm-modal[hidden] { display: none !important; }

.pm-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
}


.pm-modal__backdrop {
  position: absolute;
  inset: 0;

  background: transparent;
  -webkit-backdrop-filter: blur(8px) saturate(.92);
  backdrop-filter: blur(8px) saturate(.92);
  animation: pm-modal-fade-in .24s ease both;
}


.pm-modal__sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 620px);
  max-height: min(88vh, 760px);
  padding: 7px 18px calc(18px + max(0px, env(safe-area-inset-bottom, 0px) - var(--pm-dock-offset, 0px)));
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(120% 68% at 50% -18%, color-mix(in srgb, var(--primary) 9%, #fff) 0%, #fff 58%);
  box-shadow: 0 -20px 60px color-mix(in srgb, var(--secondary) 32%, transparent);
  box-sizing: border-box;
  animation: pm-modal-sheet-up .42s cubic-bezier(.16, 1, .3, 1) both;
}


.pm-modal__grabber {
  display: block;
  width: 42px;
  height: 5px;
  margin: 2px auto 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary) 20%, #fff);
}


.pm-modal__head {
  display: flex;


  align-items: center;
  gap: 12px;
  padding: 2px 0 4px;
  flex: 0 0 auto;
}

.pm-modal__badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: color-mix(in srgb, var(--primary) 13%, #fff);
  color: var(--primary);
}

.pm-modal__badge svg { width: 23px; height: 23px; }

.pm-modal__titles {
  flex: 1 1 auto;
  min-width: 0;
}

.pm-modal__titles h2 {
  margin: 0;
  color: var(--secondary);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.pm-modal__titles p {
  margin: 3px 0 0;
  color: color-mix(in srgb, var(--secondary) 58%, #8b95a3);
  font-size: 13px;
  line-height: 1.35;
}

.pm-modal__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 -4px 0 0;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
  border-radius: 50%;
  background: #fff;
  color: color-mix(in srgb, var(--secondary) 72%, #8b95a3);
  cursor: pointer;
  transition: background-color .18s, color .18s, transform .18s;
}

.pm-modal__close svg { width: 17px; height: 17px; }

.pm-modal__close:hover {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
}

.pm-modal__close:active { transform: scale(.94); }


.pm-modal__body {
  padding: 10px 1px 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}


.pm-field {
  display: block;
  margin-top: 14px;
}

.pm-field__label {
  display: block;
  margin: 0 0 6px;
  color: color-mix(in srgb, var(--secondary) 78%, #6b7280);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.pm-field__control {
  position: relative;
  display: block;
}

.pm-field__control input {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 46px 0 14px;
  border: 1.5px solid color-mix(in srgb, var(--secondary) 16%, #fff);
  border-radius: 12px;
  background: #fff;
  color: var(--text, #1f2937);
  font: inherit;
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.pm-field__control input::placeholder {
  color: color-mix(in srgb, var(--secondary) 38%, #9aa3ad);
}

.pm-field__control input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.pm-field__eye {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: color-mix(in srgb, var(--secondary) 48%, #9aa3ad);
  cursor: pointer;
  transition: color .18s, background-color .18s;
}

.pm-field__eye svg { width: 20px; height: 20px; }

.pm-field__eye.is-on,
.pm-field__eye:hover {
  background: color-mix(in srgb, var(--primary) 9%, #fff);
  color: var(--primary);
}


.pm-reqs {
  display: grid;
  gap: 7px;
  margin: 14px 0 2px;
  padding: 0;
  list-style: none;
}

.pm-req {
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--secondary) 58%, #8b95a3);
  font-size: 12.5px;
  line-height: 1.25;
  transition: color .18s;
}

.pm-req__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1.5px solid color-mix(in srgb, var(--secondary) 20%, #fff);
  border-radius: 50%;
  color: transparent;
  transition: background-color .18s, border-color .18s, color .18s;
}

.pm-req__icon svg { width: 11px; height: 11px; stroke-width: 2.6; }

.pm-req.is-met { color: var(--secondary); }

.pm-req.is-met .pm-req__icon {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}


.pm-password-form { display: flex; flex-direction: column; }

.pm-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  margin: 16px 0 0;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 84%, #000) 0%,
    var(--primary) 52%,
    color-mix(in srgb, var(--primary) 84%, #fff) 100%);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 32%, transparent);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.pm-submit svg { width: 19px; height: 19px; flex: 0 0 auto; }

.pm-submit:hover { filter: brightness(1.03); }

.pm-submit:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 28%, transparent);
}

.pm-submit:disabled { opacity: .6; cursor: progress; }

.pm-password-form .form-message {
  margin: 12px 0 0;
  text-align: left;
  font-size: 13px;
}

.pm-password-form .form-message:empty { display: none; }






.pm-legal {
  color: var(--secondary);
  font-size: 14px;
}

.pm-legal h1,
.pm-legal h2,
.pm-legal h3 {
  margin: 18px 0 8px;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.pm-legal h1 { font-size: 18px; }
.pm-legal h3 { font-size: 14.5px; }

.pm-legal h1:first-child,
.pm-legal h2:first-child,
.pm-legal h3:first-child { margin-top: 2px; }

.pm-legal p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
}

.pm-legal ul,
.pm-legal ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.pm-legal li {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.55;
}

.pm-legal a { color: var(--primary); font-weight: 700; }

.pm-legal strong,
.pm-legal b { font-weight: 800; }

.pm-legal hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
}

.pm-legal img { max-width: 100%; height: auto; border-radius: 10px; }

.pm-legal table { width: 100%; border-collapse: collapse; font-size: 13px; }

.pm-legal th,
.pm-legal td {
  padding: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
  text-align: left;
}

.pm-legal__carregando {
  display: grid;
  place-items: center;
  min-height: 200px;
}

.pm-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid color-mix(in srgb, var(--secondary) 14%, #fff);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: pm-spin .8s linear infinite;
}

@keyframes pm-spin {
  to { transform: rotate(360deg); }
}

.pm-legal__erro { margin: 16px 0; text-align: center; }

@media (min-width: 640px) {
  .pm-modal--legal .pm-modal__sheet { width: min(100%, 560px); }
}


.pm-modal__texto {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: 14.5px;
  line-height: 1.5;
}

.pm-modal__texto:last-child { margin-bottom: 0; }

.pm-modal__texto--fraco {
  color: color-mix(in srgb, var(--secondary) 60%, #8b95a3);
  font-size: 13.5px;
}

.pm-modal__acoes {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.pm-modal__acoes > * {
  flex: 1 1 0;
  min-width: 0;
}

.pm-modal__acoes .pm-submit { margin: 0; }

.pm-btn--fantasma {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid color-mix(in srgb, var(--secondary) 16%, #fff);
  border-radius: 14px;
  background: #fff;
  color: var(--secondary);
  font: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}

.pm-btn--fantasma:active { transform: translateY(1px); }


.pm-modal.is-closing .pm-modal__backdrop {
  animation: pm-modal-fade-out .2s ease both;
}

.pm-modal.is-closing .pm-modal__sheet {
  animation: pm-modal-sheet-down .24s cubic-bezier(.4, 0, 1, 1) both;
}






@media (max-width: 639px) {



  .pm-modal__sheet {
    width: min(calc(100% - 44px), 576px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding-bottom: calc(16px + var(--pm-dock-offset, 0px));
  }
}



body.pm-modal-open .dock {
  z-index: 1700;
  pointer-events: none;
}


@media (min-width: 640px) {
  .pm-modal {
    align-items: center;
    padding: 24px;
  }

  .pm-modal__sheet {
    width: min(100%, 440px);
    max-height: min(84vh, 720px);
    padding: 18px 24px 22px;
    border-radius: 26px;
    box-shadow: 0 30px 80px color-mix(in srgb, var(--secondary) 34%, transparent);
    animation: pm-modal-sheet-pop .34s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pm-modal__grabber { display: none; }

  .pm-modal.is-closing .pm-modal__sheet {
    animation: pm-modal-sheet-pop-out .2s ease both;
  }
}

@keyframes pm-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pm-modal-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes pm-modal-sheet-up {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}

@keyframes pm-modal-sheet-down {
  from { transform: translateY(0); }
  to { transform: translateY(105%); }
}

@keyframes pm-modal-sheet-pop {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pm-modal-sheet-pop-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(12px) scale(.98); }
}


@media (prefers-reduced-motion: reduce) {
  .pm-modal__backdrop,
  .pm-modal__sheet,
  .pm-modal.is-closing .pm-modal__backdrop,
  .pm-modal.is-closing .pm-modal__sheet {
    animation-duration: .01ms !important;
  }
}


body.pm-modal-open { overflow: hidden; }

/* ==== ./src/styles/patient/agenda.css ==== */



.root-shell-content:has(.agenda-container-app) {
  display: flex;
  flex-direction: column;
}

.agenda-container-app {
  width: 100%;
  max-width: 1100px;


  margin: 0 auto;
  padding: 18px;
  flex: 1;


  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.root-agenda-title {
  font-size: 22px;
  color: var(--primary);
  margin: 4px 0 14px;
}







.root-tabs-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: min(100%, 420px);
  padding: 4px;
  margin: 0 0 16px;
  border: 1px solid color-mix(in srgb, var(--secondary) 10%, #fff);
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary) 7%, #f8fafc);
}

.tab-button-app {
  min-width: 0;
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.tab-button-app:hover {
  color: color-mix(in srgb, var(--secondary) 88%, #000);
}

.tab-button-app.active {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 28%, transparent);
}

.agenda-panel-app {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.agenda-panel-app.hidden {
  display: none;
}





.agenda-search-app {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(190px, 1fr) minmax(180px, 1fr);
  margin-bottom: 14px;
  padding: 0;
}






.agenda-search-app > * {
  min-width: 0;
}






.agenda-select {
  display: block;
  min-width: 0;
  position: relative;
}

.agenda-select select {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  height: 100%;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.agenda-select-btn {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, #e2e8f0);
  border-radius: 14px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}

.agenda-select-btn:hover:not(:disabled) {
  border-color: #cbd5e1;
}

.agenda-select-btn.is-placeholder {
  color: color-mix(in srgb, var(--primary) 55%, #475569);
  font-weight: 600;
}

.agenda-select-btn.is-disabled,
.agenda-select-btn:disabled {
  background: color-mix(in srgb, var(--primary) 4%, #f8fafc);
  border-color: color-mix(in srgb, var(--primary) 14%, #e2e8f0);
  color: #64748b;
  cursor: not-allowed;
}

.agenda-select.is-open .agenda-select-btn {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.agenda-select-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-select-btn svg {
  color: #64748b;
  flex: 0 0 auto;
  height: 16px;
  transition: transform .15s ease;
  width: 16px;
}

.agenda-select.is-open .agenda-select-btn svg {
  transform: rotate(180deg);
}

.agenda-select-panel {
  animation: agendaSelectAbrir .12s ease-out;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  left: 0;
  margin-top: 8px;
  max-height: min(300px, 55vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(100, 116, 139, .35) transparent;
  scrollbar-width: thin;
  padding: 6px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 60;
}

.agenda-select-panel[hidden] {
  display: none;
}

.agenda-select-panel::-webkit-scrollbar {
  width: 8px;
}

.agenda-select-panel::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, .3);
  border-radius: 999px;
}

.agenda-select-panel::-webkit-scrollbar-track {
  background: transparent;
}

.agenda-select-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #334155;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  justify-content: space-between;
  padding: 11px 12px;
  text-align: left;
  width: 100%;
}

.agenda-select-option:hover,
.agenda-select-option:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.agenda-select-option.is-selected {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
  font-weight: 800;
}

.agenda-select-check {
  flex: 0 0 auto;
  height: 15px;
  opacity: 0;
  width: 15px;
}

.agenda-select-option.is-selected .agenda-select-check {
  opacity: 1;
}

@keyframes agendaSelectAbrir {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}




.agenda-corpo-app {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .agenda-corpo-app {
    align-items: start;
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .agenda-corpo-app .agenda-month-app {
    margin-bottom: 0;
  }
}

.agenda-horarios-app {
  align-content: start;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}



.agenda-horarios-titulo {
  align-items: center;
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 0 2px 2px;
}

.agenda-horarios-titulo strong {
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.agenda-horarios-titulo span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.agenda-month-app {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
}

.agenda-month-header {
  align-items: center;
  color: #1f2937;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.agenda-month-header span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}




.agenda-month-header > strong {
  font-size: 13px;
  min-width: 0;
}

.agenda-month-nav > span {
  min-width: 96px;
  text-align: center;
  white-space: nowrap;
}



.agenda-month-nav {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.agenda-month-nav button {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  min-height: 28px;
  min-width: 28px;
  padding: 0;
}

.agenda-month-nav button:hover {
  background: #e2e8f0;
}

.agenda-month-days {
  display: grid;
  gap: 8px;
}





.agenda-month-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.agenda-month-dow {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  padding-bottom: 2px;
  text-align: center;
  text-transform: uppercase;
}

.agenda-month-cell {
  align-items: center;
  aspect-ratio: 1 / 1;
  max-height: 52px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  font-weight: 900;
  gap: 1px;
  justify-content: center;
  min-width: 0;
  padding: 0;
}

.agenda-month-cell strong {
  font-size: 14px;
  line-height: 1;
}

.agenda-month-cell small {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  opacity: .85;
}


.agenda-month-cell.vazio {
  background: #f8fafc;
  border-color: #f1f5f9;
  color: #cbd5e1;
}

.agenda-month-cell.passado {
  opacity: .45;
}

.agenda-month-cell.empty {
  background: none;
}




.agenda-month-cell.dia {
  background: color-mix(in srgb, var(--primary) 7%, #fff);
  border-color: color-mix(in srgb, var(--primary) 22%, #e2e8f0);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  color: #334155;
  cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}



.agenda-month-cell.dia small {
  background: color-mix(in srgb, var(--primary) 15%, #fff);
  border-radius: 999px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  min-width: 15px;
  opacity: 1;
  padding: 2px 4px;
}



.agenda-month-cell.dia.is-hoje {
  box-shadow: inset 0 0 0 2px var(--primary);
}

.agenda-month-cell.dia.active {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  border-color: transparent;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 32%, transparent);
  color: #fff;
}

.agenda-month-cell.dia.active small {
  background: rgba(255, 255, 255, .28);
  color: #fff;
}



.agenda-month-cell.dia:hover:not(.active) {
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border-color: var(--primary);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 18%, transparent);
  transform: translateY(-1px);
}

.agenda-month-cell.dia.is-hoje.active {
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 32%, transparent);
}

.agenda-month-day {
  align-items: center;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 10px;
  color: #166534;
  display: inline-flex;
  flex-direction: column;
  font-weight: 900;
  gap: 2px;
  min-height: 54px;
  min-width: 64px;
  padding: 7px 10px;
}

.agenda-month-day.active,
.agenda-month-day:hover {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  border-color: transparent;
  color: #fff;
}

.agenda-month-day small {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.agenda-month-empty {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}




.agenda-aviso-app {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 0;
}

.agenda-aviso-app[hidden] {
  display: none;
}

.agenda-aviso-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: #92400e;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  line-height: 1.4;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.agenda-aviso-link:hover {
  background: #fef3c7;
}

.agenda-aviso-link::before {
  content: '\26A0';
  font-size: 15px;
}





.agenda-slot-app {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 72px;
  overflow: hidden;
  padding: 14px 14px 14px 17px;
  position: relative;
  text-align: left;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.agenda-slot-app::before {
  background: var(--primary);
  border-radius: 0 4px 4px 0;
  content: '';
  inset: 0 auto 0 0;
  position: absolute;
  width: 4px;
}

.agenda-slot-topo {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.agenda-slot-app strong {
  color: var(--primary);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
}

.agenda-slot-seta {
  color: #cbd5e1;
  display: grid;
  height: 22px;
  place-items: center;
  transition: color .14s ease, transform .14s ease;
  width: 22px;
}

.agenda-slot-seta svg {
  height: 16px;
  width: 16px;
}

.agenda-slot-hora {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  min-width: 0;
}

.agenda-slot-relogio {
  color: var(--primary);
  flex: 0 0 auto;
  height: 15px;
  opacity: .75;
  width: 15px;
}

.agenda-slot-nome {
  color: #475569;
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  min-width: 0;
}

.agenda-rqe-badge {
  align-self: flex-start;
  background: #f1f5f9;
  border-radius: 999px;
  color: #475569;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 3px 8px;
}

.agenda-slot-app:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 16%, transparent);
  transform: translateY(-2px);
}

.agenda-slot-app:hover .agenda-slot-seta {
  color: var(--primary);
  transform: translateX(2px);
}

.agenda-slot-app:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
  outline: none;
}


.agenda-list {
  display: grid;
  gap: 12px;
}

.root-agenda-list {
  gap: 10px;
}

.agenda-item {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 6px;
  box-shadow: none;
}

.agenda-left,
.agenda-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.agenda-left strong {
  color: var(--text);
}

.agenda-left span {
  color: #64748b;
  font-weight: 800;
}

.agenda-prof {
  color: #374151;
  font-size: 13px;
  line-height: 1.2;
}

.agenda-item .line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.agenda-item .line.line-top {
  align-items: flex-start;
}

.agenda-right {
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.agenda-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.agenda-chips span {
  border-radius: 999px;
  padding: 5px 9px;
  background: color-mix(in srgb, var(--primary) 12%, white);
  color: var(--text);
  font-size: 12px;
}

.agenda-when {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.agenda-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}



.agenda-chip-date {
  background: color-mix(in srgb, var(--primary) 13%, #fff);
  color: color-mix(in srgb, var(--primary) 72%, #000);
}

.agenda-chip-time {
  background: color-mix(in srgb, var(--secondary) 13%, #fff);
  color: var(--secondary);
}

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

.agenda-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  background: #e5e7eb;
  color: #374151;
}





.agenda-status.agendado {
  --status-color: #16a34a;
  background: #dcfce7;
  color: #166534;
}

.agenda-status.cancelado,
.agenda-status.expirado {
  --status-color: #6b7280;
  background: #f3f4f6;
  color: #374151;
}

.agenda-status.cancelado {
  --status-color: #dc2626;
  background: #fee2e2;
  color: #991b1b;
}

.agenda-status.finalizado {
  --status-color: #2563eb;
  background: #dbeafe;
  color: #1e3a8a;
}

.agenda-status.filadeespera {
  --status-color: #d97706;
  background: #fef3c7;
  color: #92400e;
}

.agenda-status.preatendimento {
  --status-color: #0891b2;
  background: #cffafe;
  color: #0f766e;
}

.agenda-status.transferindo {
  --status-color: #7c3aed;
  background: #ede9fe;
  color: #5b21b6;
}

.agenda-status.ematendimentomedico {
  --status-color: #ea580c;
  background: #ffedd5;
  color: #9a3412;
}

.small-dark {
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}




.small-dark.small-iniciar {
  background: var(--primary);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
}

.small-danger {
  background: #ef4444;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}

.agenda-docs-app {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-docs-app .small-dark {
  border: 0;
  cursor: pointer;
}

.agenda-pagination-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0 4px;
}

.agenda-pagination-link {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.agenda-pagination-link:disabled {
  opacity: 0.6;
}

.agenda-pagination-info {
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

@media (max-width: 720px) {
  .agenda-search-app {
    grid-template-columns: 1fr;
  }
}





.atendimentos-app {

  --atendimentos-icone: url('/icones/atendimentos.svg');
  margin: 0 auto;
  width: 100%;
  max-width: 590px;
  padding: 4px 16px 12px;
  box-sizing: border-box;
}

.atendimentos-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 2px 16px;
}

.atendimentos-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
}



.atendimentos-head-icon::before {
  content: '';
  width: 26px;
  height: 26px;
  background-color: var(--primary);
  -webkit-mask: var(--atendimentos-icone) center / contain no-repeat;
  mask: var(--atendimentos-icone) center / contain no-repeat;
}

.atendimentos-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  color: #1e293b;
}

.atendimentos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atendimentos-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
  overflow: hidden;
}




.atendimentos-meta {
  display: contents;
}

.atendimentos-card-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
}

.atendimentos-date {
  flex: 1 1 100%;
  order: -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}


.atendimentos-date svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--primary);
}

.atendimentos-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2ff;
}

.atendimentos-person {
  flex: 1 1 auto;
  min-width: 0;
}

.atendimentos-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: #334155;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.atendimentos-specialty {
  flex: 0 0 34%;
  align-self: stretch;
  display: flex;
  align-items: center;
  border-left: 1px solid #e5e7eb;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.3;
  color: #64748b;
  overflow-wrap: anywhere;
}

.atendimentos-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
}

.atendimentos-status svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.atendimentos-status.is-ok {
  background: #e8f7ee;
  color: #15803d;
}

.atendimentos-status.is-off {
  background: #fdecec;
  color: #dc2626;
}

.atendimentos-status.is-wait {
  background: #fff7e6;
  color: #b45309;
}

.atendimentos-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 14px;
}

.atendimentos-docs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 26%, transparent);
}

.atendimentos-docs button:hover {
  background: color-mix(in srgb, var(--primary) 88%, #000);
  border-color: color-mix(in srgb, var(--primary) 88%, #000);
}

.atendimentos-docs .inner-spinner {
  position: absolute;
  right: 12px;
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: historico-spin .8s linear infinite;
}

@keyframes historico-spin {
  to { transform: rotate(360deg); }
}

.atendimentos-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 8px;
  max-width: 100%;

  flex-wrap: nowrap;
}

.atendimentos-pagination span {
  flex: 0 0 auto;
  padding: 0 1px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1;
}

.atendimentos-page-link {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 8px 6px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.atendimentos-page-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.atendimentos-empty {
  padding: 28px 16px;
  border: 1px dashed #e5e7eb;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

@media (max-width: 380px) {
  .atendimentos-app {
    padding-left: 12px;
    padding-right: 12px;
  }

  .atendimentos-card-main {
    gap: 10px;
    padding: 12px;
  }

  .atendimentos-avatar {
    width: 42px;
    height: 42px;
  }

  .atendimentos-specialty {
    flex-basis: 32%;
    padding-left: 10px;
    font-size: 12px;
  }
}




.agenda-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px 16px;
}

.agenda-hero-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
}

.agenda-hero-icon svg {
  width: 23px;
  height: 23px;
}

.agenda-hero-texto {
  min-width: 0;
}

.agenda-hero-titulo {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--secondary);
}

.agenda-hero-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}






.agenda-cards {
  display: grid;
  gap: 10px;
}

.agenda-card {
  display: grid;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--secondary) 12%, #fff);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--secondary) 6%, transparent);
}


.agenda-card.is-agora {
  border-color: color-mix(in srgb, var(--primary) 45%, #fff);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 16%, transparent);
}

.agenda-card-pessoa {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.agenda-card-foto {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--secondary) 10%, #fff);
  background: #f1f5f9;
  object-fit: cover;
}

.agenda-card-texto {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.agenda-card-especialidade {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.25;
  font-weight: 800;
  color: #1e293b;
}

.agenda-card-profissional {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #64748b;
  overflow-wrap: anywhere;
}


.agenda-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.agenda-card-meta .agenda-status {
  padding: 4px 9px;
}

.agenda-chip svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.agenda-chip-data {
  background: color-mix(in srgb, var(--primary) 13%, #fff);
  color: color-mix(in srgb, var(--primary) 72%, #000);
}

.agenda-chip-hora {
  background: color-mix(in srgb, var(--secondary) 13%, #fff);
  color: var(--secondary);
}





.agenda-card-acoes {
  display: flex;
  align-items: stretch;
  gap: 8px;
}






.agenda-card-acoes {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.agenda-card-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.agenda-card-btn:hover {
  filter: brightness(1.06);
}

.agenda-card-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: #fff;
}

.agenda-card-btn.is-danger {
  border-color: transparent;
  background: #eef2f7;
  color: #334155;
}

.agenda-card-btn.is-danger:hover {
  background: #e2e8f0;
}


.agenda-confirma-quando {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.agenda-confirma-data {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--secondary);
}

.agenda-confirma-hora {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
  background: color-mix(in srgb, var(--primary) 14%, #fff);
  color: color-mix(in srgb, var(--primary) 78%, #000);
}

.agenda-confirma-lista {
  display: grid;
  gap: 0;
  margin: 0 0 12px;
}

.agenda-confirma-linha {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
}

.agenda-confirma-linha:last-child {
  border-bottom: 0;
}

.agenda-confirma-linha dt {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.agenda-confirma-linha dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  text-align: right;
  color: #1e293b;
  overflow-wrap: anywhere;
}

.agenda-confirma-paciente {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.agenda-confirma-paciente[hidden] {
  display: none;
}

.agenda-confirma-rotulo {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.agenda-confirma-paciente strong {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.agenda-confirma-doc {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
}




@media (max-width: 520px) {
  #pm-confirmar-agendamento .pm-modal__acoes {
    flex-direction: column-reverse;
    gap: 8px;
  }
}






.agenda-cards--vazia {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

.agenda-vazio {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 300px;
  padding: 32px 22px;
  border: 1px dashed color-mix(in srgb, var(--secondary) 22%, #fff);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.agenda-vazio-icone {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--primary) 16%, #fff);
  color: var(--primary);
}

.agenda-vazio-icone svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.9;
}

.agenda-vazio-titulo {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--secondary);
}

.agenda-vazio-texto {
  margin: 0;
  max-width: 300px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #64748b;
}



.agenda-estado {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 1 / -1;
  padding: 20px 16px 24px;
  text-align: center;
}

.agenda-estado-icone {
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border-radius: 18px;
  color: var(--primary);
  display: grid;
  height: 56px;
  margin-bottom: 4px;
  place-items: center;
  width: 56px;
}

.agenda-estado-icone svg {
  height: 28px;
  width: 28px;
}

.agenda-estado-titulo {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.agenda-estado-texto {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.agenda-estado--erro .agenda-estado-icone {
  background: #fef2f2;
  color: #dc2626;
}

.agenda-estado--erro .agenda-estado-titulo {
  color: #b91c1c;
}




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

.agenda-skel-grade > span,
.agenda-skel-chip {
  animation: agendaPulso 1.5s ease-in-out infinite;
  background: #eef2f7;
  border-radius: 10px;
  display: block;
}

.agenda-skel-grade > span {
  aspect-ratio: 1 / 1;
  min-height: 34px;
}

.agenda-skel-chip {
  min-height: 84px;
}

.agenda-spinner {
  animation: agendaGirar .7s linear infinite;
  border: 2.5px solid #e2e8f0;
  border-radius: 50%;
  border-top-color: var(--primary);
  display: inline-block;
  height: 22px;
  width: 22px;
}

.agenda-carregando {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 84px;
}

@keyframes agendaGirar {
  to { transform: rotate(360deg); }
}

@keyframes agendaPulso {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .agenda-spinner,
  .agenda-skel-grade > span,
  .agenda-skel-chip { animation: none; }
}






@media (min-width: 1024px) {
  .atendimentos-app {
    max-width: 1180px;
    padding: 30px 40px 24px;
  }

  .atendimentos-head {
    padding: 2px 2px 22px;
  }

  .atendimentos-head-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .atendimentos-head-icon::before {
    width: 30px;
    height: 30px;
  }

  .atendimentos-title {
    font-size: 30px;
  }

  .atendimentos-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }







  .atendimentos-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 22px -18px rgba(15, 23, 42, .30);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }

  .atendimentos-card:hover {
    transform: translateX(2px);
    border-color: color-mix(in srgb, var(--primary) 26%, #e5e7eb);
    box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 30px -20px rgba(15, 23, 42, .34);
  }

  .atendimentos-card-main {
    display: contents;
  }

  .atendimentos-avatar {
    order: 1;
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e9eef6;
  }

  .atendimentos-person {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .atendimentos-name {
    font-size: 15.5px;
  }

  .atendimentos-docs {
    order: 3;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .atendimentos-docs button {
    width: auto;
    padding: 9px 16px;
    white-space: nowrap;
  }


  .atendimentos-meta {
    order: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    flex: 0 0 212px;
    align-self: stretch;
    margin-left: 6px;
    padding-left: 20px;
    border-left: 1px solid #e5e7eb;
  }

  .atendimentos-date {
    flex: 0 0 auto;
    order: 0;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    font-size: 13.5px;
    color: #1e293b;
  }

  .atendimentos-date svg {
    width: 16px;
    height: 16px;
  }

  .atendimentos-specialty {
    flex: 0 0 auto;
    align-self: auto;
    padding-left: 0;
    border-left: 0;
    font-size: 13.5px;
  }

  .atendimentos-pagination {
    margin-top: 26px;
  }
}


/* ==== ./src/styles/patient/atendimento.css ==== */



.patient-anamnese-page {


  box-sizing: border-box;
  min-height: calc(100vh - 172px);
  min-height: calc(100dvh - 172px - env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px;
}

.patient-anamnese-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 460px;
}

.patient-anamnese-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.patient-anamnese-section.hidden {
  display: none;
}




.anamnese-hero-icon {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  color: var(--primary);
}

.anamnese-hero-icon svg {
  width: 128px;
  height: auto;
}

.anamnese-card .anamnese-title {
  font-size: 21px;
  letter-spacing: -.2px;
  color: #1d2939;
}

.anamnese-card .anamnese-note {
  color: #667085;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 6px;
}

.anamnese-card .anamnese-max {
  margin-top: 10px;
  font-size: 12.5px;
  color: #98a2b3;
}


.patient-anamnese-body .banner-icon {
  width: 100px;
  margin-bottom: 15px;
}

.anamnese-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  line-height: 1.2;
}

.anamnese-sub {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.anamnese-upload-copy {
  text-align: center;
  margin-top: 10px;
}

.anamnese-note {
  font-size: 14px;
  font-weight: normal;
  color: #222;
  line-height: 1.4;
  margin-top: 4px;
}

.anamnese-formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #667085;
  line-height: 1.2;
}

.anamnese-format-chips {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.anamnese-format-chips span {
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 9%, #fff);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
}





.anamnese-gate {
  margin: 0 auto;
  max-width: 340px;
}

.anamnese-gate .anamnese-hero-icon {
  height: 104px;
  margin-bottom: 16px;
  width: 104px;
}

.anamnese-gate .anamnese-hero-icon svg {
  height: 44px;
  width: 44px;
}

.anamnese-gate .anamnese-title {
  color: #1d2939;
  font-size: 20px;
  letter-spacing: -.2px;
  line-height: 1.3;
  max-width: 320px;
}

.anamnese-gate .anamnese-sub {
  color: #667085;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 8px;
}

.anamnese-cupom {
  background: color-mix(in srgb, var(--primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, #fff);
  border-radius: 12px;
  color: #1f2937;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-top: 14px;
  max-width: 340px;
  padding: 13px 14px;
  text-align: center;
  transition: border-color .12s ease, box-shadow .12s ease;
  width: 100%;
}

.anamnese-cupom::placeholder {
  color: color-mix(in srgb, var(--primary) 52%, #475569);
  font-weight: 600;
}

.anamnese-cupom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
  outline: none;
}

.anamnese-gate .anamnese-btn {
  max-width: 340px;
}



.anamnese-gate .anamnese-btn-secondary {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, #fff);
  box-shadow: none;
  color: var(--primary);
}

.anamnese-gate .anamnese-btn-secondary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 6%, #fff);
  filter: none;
}

.anamnese-gate .anamnese-btn-secondary:active:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
}

.anamnese-gate .anamnese-title + .anamnese-btn {
  margin-top: 18px;
}

.anamnese-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  max-width: 300px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: .1px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 10%);
  transition: transform .12s, box-shadow .12s, filter .12s;
}

.anamnese-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.anamnese-btn:hover:not(:disabled) { filter: brightness(1.05); }
.anamnese-btn:active:not(:disabled) { transform: translateY(1px); }



.anamnese-upload-btns .anamnese-btn { margin-top: 0; }


#atendimentoArquivosInfo:empty { display: none; }

.anamnese-card [data-start-atendimento] {
  margin-top: 10px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 26%, transparent);
}

.anamnese-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.anamnese-btn-primary {
  background: var(--primary);
}

.anamnese-btn-ter {
  background: var(--tertiary, var(--secondary, #aaa));
}

.anamnese-btn-secondary {
  background: var(--secondary, #ddd);
}

.anamnese-upload-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  width: 100%;
}

.patient-upload-mobile {
  display: none;
}

.anamnese-files {
  min-height: 20px;
  font-size: 14px;
  color: #333;
  margin-top: 8px;
}

.anamnese-msg {
  min-height: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 8px;
}

.anamnese-msg.error {
  color: #a00;
}

.anamnese-msg.success {
  color: #2e7d32;
}

@media (max-width: 640px) {
  .patient-anamnese-page {
    min-height: calc(100vh - 172px);
    min-height: calc(100dvh - 172px - env(safe-area-inset-bottom, 0px));
    padding: 14px 16px;
  }

  .anamnese-hero-icon {
    width: 148px;
    height: 148px;
  }

  .anamnese-hero-icon svg {
    width: 118px;
  }

  .patient-upload-desktop {
    display: none;
  }

  .patient-upload-mobile {
    display: inline-flex;
    justify-content: center;
  }
}



@media (max-width: 640px) {
  .anamnese-gate .anamnese-hero-icon {
    height: 96px;
    width: 96px;
  }

  .anamnese-gate .anamnese-hero-icon svg {
    height: 40px;
    width: 40px;
  }
}

/* ==== ./src/styles/patient/preconsulta.css ==== */
.preconsulta-wrap {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 190px);
}

.preconsulta-card {
  width: 100%;
  padding: 24px;
  text-align: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
}

.preconsulta-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 8px;
}

.preconsulta-card h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 24px;
}

.preconsulta-desc {
  margin: 0 auto 18px;
  max-width: 520px;
  color: var(--muted);
  font-weight: 800;
}

.preconsulta-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.preconsulta-details div {
  background: color-mix(in srgb, var(--primary) 8%, white);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

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

.preconsulta-details strong {
  color: var(--text);
  font-size: 15px;
}

.preconsulta-info {
  text-align: left;
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px;
  color: #334155;
  font-weight: 700;
  line-height: 1.45;
}

.preconsulta-info p {
  margin: 0 0 8px;
}

.preconsulta-info p:last-child {
  margin-bottom: 0;
}

.preconsulta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 14px 0;
}

.preconsulta-copy-link,
.preconsulta-back {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  white-space: normal;
  line-height: 1.25;
}

.preconsulta-copy-link {
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 22%, transparent);
}

.preconsulta-copy-feedback {
  min-height: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 720px) {
  .preconsulta-details {
    grid-template-columns: 1fr;
  }
}










.aviso-wrap {
  min-height: 100vh;
  padding: 24px 0;
}

.aviso-card {
  max-width: 520px;
  padding: 32px 24px;
}

.aviso-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, white);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
}

.aviso-badge-icone {
  width: 32px;
  height: 32px;
}

.aviso-card h1 {
  font-size: 26px;
  line-height: 1.2;
}

.aviso-detalhe {
  margin: 0 auto 4px;
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.aviso-acoes {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aviso-acoes .submit-btn-app,
.aviso-acoes .btn-muted {
  width: 100%;
}

@media (min-width: 560px) {
  .aviso-acoes {
    flex-direction: row;
    justify-content: center;
  }

  .aviso-acoes .submit-btn-app,
  .aviso-acoes .btn-muted {
    width: auto;
    min-width: 190px;
  }
}

/* ==== ./src/styles/patient/anamnese-ia.css ==== */




















.anam-shell {




  display: block;


  height: 100dvh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  max-width: none;
}
.anam-shell > .root-shell-content {
  height: 100%;
  padding: 0;
  margin: 0;
  max-width: none;
}

.anam {





  position: relative;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding:
    calc(env(safe-area-inset-top, 0px) + 22px)
    20px
    calc(env(safe-area-inset-bottom, 0px) + 22px);
  overflow: hidden;
  isolation: isolate;












  --anam-fundo: #f6f7f9;
  --anam-tinta: #19222c;
  --anam-tinta-fraca: #5b6672;
  --anam-linha: #e2e6eb;
  --anam-cartao: #ffffff;
  background:
    radial-gradient(70% 34% at 50% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%),
    var(--anam-fundo);
  color: var(--anam-tinta);
}


.anam[data-em-prova="1"]::before {
  content: 'EM TESTE';
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--anam-tinta-fraca);
  background: var(--anam-cartao);
  border: 1px solid var(--anam-linha);
  backdrop-filter: blur(6px);
}









.anam-estado {
  margin: 0;
  min-height: 1.1em;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--anam-tinta-fraca);
}


.anam-conversa {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;





  justify-content: flex-end;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;


  mask-image: linear-gradient(to bottom, transparent 0, #000 26px, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px, #000 100%);
}
.anam-conversa::-webkit-scrollbar { width: 0; }

.anam-fala {
  max-width: 88%;
  padding: 13px 16px;
  border-radius: 20px;
  font-size: 1.02rem;
  line-height: 1.5;
  animation: anam-entra .3s cubic-bezier(.2, .8, .2, 1) both;
}
.anam-fala p { margin: 0; }


.anam-fala--ia {
  align-self: flex-start;
  border-bottom-left-radius: 8px;
  background: var(--anam-cartao);
  border: 1px solid var(--anam-linha);
  color: var(--anam-tinta);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}




.anam-fala--eu {
  align-self: flex-end;
  border-bottom-right-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
}


.anam-porta {
  align-self: stretch;
  padding: 18px;
  border-radius: 20px;
  background: var(--anam-cartao);
  border: 1px solid var(--anam-linha);
  box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
  animation: anam-entra .3s cubic-bezier(.2, .8, .2, 1) both;
}

.anam-porta-texto {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--anam-tinta);
}

.anam-porta-dados {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--anam-fundo);
  border: 1px solid var(--anam-linha);
}

.anam-porta-linha {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 5px 0;
}
.anam-porta-linha + .anam-porta-linha {
  border-top: 1px solid var(--anam-linha);
}

.anam-porta-linha dt {
  flex: 0 0 auto;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--anam-tinta-fraca);
}

.anam-porta-linha dd {
  margin: 0;


  min-width: 0;
  text-align: right;
  font-weight: 600;
  font-size: .95rem;
  overflow-wrap: anywhere;
  color: var(--anam-tinta);
}

.anam-porta-acoes {
  display: flex;
  gap: 10px;
}

.anam-porta-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: filter .16s ease, background .16s ease;
}

.anam-porta-btn--sim {
  border: 0;
  background: var(--primary);
  color: #fff;
}
.anam-porta-btn--sim:hover { filter: brightness(1.08); }

.anam-porta-btn--nao {
  border: 1px solid var(--anam-linha);
  background: var(--anam-cartao);
  color: var(--anam-tinta-fraca);
}
.anam-porta-btn--nao:hover { background: var(--anam-fundo); }



@media (max-width: 420px) {
  .anam-porta-acoes { flex-direction: column; }
}

.anam-fala--foto img {
  display: block;
  max-width: 190px;
  border-radius: 13px;
  margin-bottom: 8px;
}

@keyframes anam-entra {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}


.anam-pe {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}






.anam-fala[hidden],
.anam-acoes[hidden],
.anam-escrita[hidden],
.anam-concluir[hidden],
.anam-erro[hidden] { display: none !important; }

.anam-acoes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}


.anam-btn--lado {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--anam-linha);
  border-radius: 50%;
  background: var(--anam-cartao);
  color: var(--anam-tinta-fraca);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
  transition: background .18s ease, transform .14s ease, color .18s ease;
}
.anam-btn--lado:hover {
  background: var(--anam-fundo);
  color: var(--anam-tinta);
}
.anam-btn--lado:active { transform: scale(.93); }
.anam-btn--lado svg { width: 23px; height: 23px; }



.anam-mic {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;



  background: var(--primary);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 30%, transparent);
  transition: transform .14s ease, filter .18s ease;
}
.anam-mic:hover { filter: brightness(1.08); }
.anam-mic:active { transform: scale(.95); }
.anam-mic svg { width: 31px; height: 31px; }

.anam-mic.is-gravando {
  background: #e5484d;
  box-shadow: 0 10px 26px color-mix(in srgb, #e5484d 35%, transparent);
}
.anam-mic-onda {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid #ff5a5f;
  opacity: 0;
  pointer-events: none;
}
.anam-mic.is-gravando .anam-mic-onda {
  animation: anam-onda 1.25s ease-out infinite;
  opacity: 1;
}

.anam-mic[disabled],
.anam-btn[disabled] { opacity: .4; cursor: not-allowed; }

.anam-dica {
  margin: 0;
  min-height: 1.1em;
  font-size: .82rem;
  text-align: center;
  color: var(--anam-tinta-fraca);
}


.anam-escrita {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  max-width: 580px;
}

.anam-escrita textarea {
  flex: 1;
  min-width: 0;
  resize: none;
  max-height: 130px;
  padding: 14px 18px;
  border-radius: 24px;
  border: 1px solid var(--anam-linha);
  background: var(--anam-cartao);
  color: var(--anam-tinta);
  font: inherit;
  line-height: 1.45;
}
.anam-escrita textarea::placeholder { color: var(--anam-tinta-fraca); }
.anam-escrita textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--anam-cartao);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent);
}

.anam-btn--enviar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 40%, transparent);
}
.anam-btn--enviar svg { width: 22px; height: 22px; }


.anam-concluir {
  width: 100%;
  max-width: 580px;
  min-height: 58px;
  border: 0;
  border-radius: 17px;
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 96%, #fff),
    color-mix(in srgb, var(--primary) 70%, #000));
  box-shadow: 0 14px 32px color-mix(in srgb, var(--primary) 42%, transparent);
  animation: anam-entra .3s ease-out both;
}
.anam-concluir:active { transform: scale(.99); }

.anam-erro {
  margin: 0;
  width: 100%;
  max-width: 580px;
  padding: 11px 15px;
  border-radius: 13px;
  text-align: center;
  font-size: .92rem;
  color: #ffe2e2;
  background: color-mix(in srgb, #e5484d 24%, transparent);
  border: 1px solid color-mix(in srgb, #e5484d 45%, transparent);
}




.anam-alarme {
  flex: 0 0 auto;
  align-self: center;
  width: 100%;
  max-width: 580px;
  padding: 13px 17px;
  border-radius: 15px;
  background: linear-gradient(135deg, #e5484d, #b3252a);
  border: 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 12px 28px color-mix(in srgb, #e5484d 35%, transparent);
  animation: anam-entra .3s ease-out both;
}


@media (min-width: 900px) {
  .anam {
    padding-inline: max(20px, calc((100vw - 680px) / 2));
    gap: 22px;
  }
  .anam-palco { padding-top: 30px; }
  .anam-fala { max-width: 80%; }
}

@media (prefers-reduced-motion: reduce) {
  .anam-lig-avatar,
  .anam-mic-onda,
  .anam-fala,
  .anam-alarme { animation: none !important; }
}













.anam.is-chamando .anam-palco,
.anam.is-chamando .anam-conversa,
.anam.is-chamando .anam-pe { display: none !important; }
.anam:not(.is-chamando) .anam-ligacao { display: none !important; }

.anam-ligacao {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10dvh 0 6dvh;
  min-width: 0;
  animation: anam-entra .35s ease-out both;
}

.anam-lig-quem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}



.anam-lig-avatar {
  width: clamp(96px, 26dvw, 132px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: clamp(2.4rem, 9dvw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: 0 14px 40px color-mix(in srgb, var(--primary) 28%, transparent);
  animation: anam-pulsa-chamada 2s ease-in-out infinite;
}

.anam-lig-nome {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--anam-tinta);
}

.anam-lig-papel {
  margin: 0;
  font-size: .95rem;
  color: var(--anam-tinta-fraca);
}

.anam-lig-acoes { display: flex; justify-content: center; }

.anam-lig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .16s ease, transform .12s ease;
}
.anam-lig-btn svg { width: 24px; height: 24px; }
.anam-lig-btn:active { transform: scale(.97); }



.anam-lig-btn--atender {
  background: #10a05a;
  color: #fff;
  box-shadow: 0 10px 26px rgba(16, 160, 90, .3);
}
.anam-lig-btn--atender:hover { filter: brightness(1.06); }

@keyframes anam-pulsa-chamada {
  0%, 100% { transform: scale(1); box-shadow: 0 14px 40px color-mix(in srgb, var(--primary) 28%, transparent); }
  50% { transform: scale(1.045); box-shadow: 0 18px 52px color-mix(in srgb, var(--primary) 40%, transparent); }
}



.anam-acao {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.anam-acao small {
  font-size: .76rem;
  color: var(--anam-tinta-fraca);
}

@media (prefers-reduced-motion: reduce) {
  .anam-lig-avatar { animation: none !important; }
}





.anam:not(.is-texto) .anam-conversa { display: none !important; }

.anam.is-texto .anam-chamada-quem { display: none !important; }
.anam.is-texto .anam-palco { padding-top: 0; }


.anam:not(.is-texto):not(.is-chamando) .anam-palco {
  flex: 1 1 auto;
  justify-content: center;
  gap: 22px;
}

.anam-chamada-quem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.anam-lig-avatar--pequeno {
  width: clamp(64px, 16dvw, 86px);
  font-size: clamp(1.6rem, 6dvw, 2.1rem);
  animation: none;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 22%, transparent);
}

.anam-chamada-nome {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--anam-tinta);
}


.anam-cronometro {
  margin: 0;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--anam-tinta-fraca);
}



.anam-btn--voltar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}






.anam:not(.is-confirmando) .anam-confirmar { display: none !important; }
.anam.is-confirmando .anam-ligacao,
.anam.is-confirmando .anam-palco,
.anam.is-confirmando .anam-conversa,
.anam.is-confirmando .anam-pe { display: none !important; }

.anam-confirmar {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-width: 0;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}




.anam-chamada-quem {
  --nivel: 0;
  position: relative;
}
.anam-lig-avatar--pequeno {
  position: relative;
  z-index: 1;
  transition: box-shadow 90ms linear;
  box-shadow:
    0 8px 22px color-mix(in srgb, var(--primary) 22%, transparent),
    0 0 0 calc(6px + var(--nivel) * 18px) color-mix(in srgb, var(--primary) 14%, transparent);
}

.anam-chamada-quem.is-pensando .anam-lig-avatar--pequeno,
.anam-chamada-quem.is-falando .anam-lig-avatar--pequeno {
  box-shadow:
    0 8px 22px color-mix(in srgb, var(--primary) 26%, transparent),
    0 0 0 14px color-mix(in srgb, var(--primary) 12%, transparent);
}










.anam:not(.is-confirmando):not(.is-texto)[data-em-prova="1"]::before { content: none; }


.anam:not(.is-texto) .anam-estado,
.anam:not(.is-texto) .anam-dica { display: none !important; }


.anam:not(.is-texto):not(.is-chamando) .anam-chamada-quem { gap: 14px; }

.anam:not(.is-texto) .anam-lig-avatar--pequeno {
  width: clamp(104px, 30dvw, 148px);
  font-size: clamp(2.6rem, 11dvw, 3.6rem);
}

.anam:not(.is-texto) .anam-chamada-nome {
  font-size: clamp(1.8rem, 7dvw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.anam:not(.is-texto) .anam-cronometro { font-size: 1.05rem; }


.anam:not(.is-texto) .anam-acoes { gap: 34px; }





.anam-mic[hidden] { display: none !important; }




.anam:not(.is-texto):not(.is-chamando) .anam-palco {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}





.anam-saida {
  align-self: center;
  width: 100%;
  max-width: 520px;
  padding: 14px 16px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: var(--anam-cartao);
  border: 1px solid var(--anam-linha);
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
  animation: anam-entra .3s ease-out both;
}
.anam-saida p {
  margin: 0 0 12px;
  font-size: .98rem;
  color: var(--anam-tinta);
}
.anam-saida-acoes { display: flex; gap: 10px; }
.anam-saida-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--anam-linha);
  background: var(--anam-fundo);
  color: var(--anam-tinta-fraca);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.anam-saida-btn--sim {
  border: 0;
  background: var(--primary);
  color: #fff;
}
.anam-saida-btn--sim:hover { filter: brightness(1.07); }

@media (max-width: 420px) {
  .anam-saida-acoes { flex-direction: column; }
}

/* ==== ./src/styles/patient/consulta-avulsa.css ==== */
.consulta-avulsa-card-app {
  gap: 12px;
}

/* ==== ./src/styles/usp.css ==== */
.usp-app{min-height:100vh;background:var(--bg);color:var(--text);padding:20px clamp(12px,4vw,56px) 48px;font-family:'Nunito Sans',sans-serif}.usp-header{max-width:1450px;margin:0 auto 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.usp-brand{display:flex;align-items:center;gap:14px}.usp-brand img{width:110px;height:54px;object-fit:contain}.usp-brand strong{display:block;color:var(--secondary);font-size:clamp(18px,2.4vw,28px);line-height:1.1}.usp-brand span{display:block;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;margin-top:5px}.usp-attendant{display:flex;align-items:center;gap:12px;font-weight:800}.usp-logout,.usp-secondary{border:1px solid color-mix(in srgb,var(--secondary) 24%,transparent);background:#fff;color:var(--secondary);border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}.usp-card{max-width:1450px;margin:0 auto 20px;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 48px rgba(15,23,42,.08);padding:clamp(18px,3vw,34px)}.usp-login-card{max-width:600px;margin-top:10vh}.usp-card-icon{text-align:center;font-size:44px}.usp-card h1{margin:8px 0;color:var(--secondary);font-size:clamp(22px,3vw,34px)}.usp-card p{color:var(--muted);font-weight:700}.usp-login-card form{display:flex;gap:12px;align-items:end}.usp-card label{display:flex;flex-direction:column;gap:7px;color:var(--secondary);font-weight:800;font-size:13px}.usp-card input,.usp-card select,.usp-card textarea{width:100%;border:1px solid rgba(100,116,139,.28);border-radius:10px;background:var(--input);color:var(--text);padding:11px 12px;font:700 15px 'Nunito Sans',sans-serif}.usp-card textarea{resize:vertical}.usp-card input:focus,.usp-card select:focus,.usp-card textarea:focus{outline:2px solid color-mix(in srgb,var(--primary) 38%,transparent);background:#fff}.usp-primary{border:0;border-radius:10px;background:var(--primary);color:#fff;padding:12px 18px;font-weight:900;cursor:pointer;white-space:nowrap}.usp-primary:disabled{opacity:.6;cursor:wait}.usp-main-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.usp-main-toolbar h1{margin:0}.usp-main-toolbar p{margin:5px 0 0}.usp-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.usp-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.usp-summary>div{border-radius:12px;background:color-mix(in srgb,var(--primary) 8%,#fff);border:1px solid color-mix(in srgb,var(--primary) 18%,transparent);padding:14px}.usp-summary b{display:block;color:var(--secondary);font-size:26px}.usp-summary span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.usp-table-wrap{overflow-x:auto}.usp-table-wrap table{width:100%;min-width:850px;border-collapse:collapse}.usp-table-wrap th,.usp-table-wrap td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.usp-table-wrap th{color:var(--muted);font-size:11px;text-transform:uppercase}.usp-table-wrap td{font-weight:700}.usp-priority-dot{display:inline-flex;border-radius:99px;padding:5px 9px;color:#fff;font-size:11px;text-transform:capitalize}.usp-priority-dot.verde{background:#16a34a}.usp-priority-dot.amarelo{background:#d97706}.usp-priority-dot.vermelho{background:#dc2626}.usp-priority-dot.roxo{background:#7c3aed}.usp-status{display:inline-flex;border-radius:99px;background:#eef2ff;color:#3730a3;padding:5px 9px;font-size:12px}.usp-enter{border:0;border-radius:8px;background:var(--primary);color:#fff;padding:8px 12px;font-weight:800;cursor:pointer}.usp-empty{text-align:center;padding:34px;color:var(--muted);font-weight:800}.usp-feedback{max-width:1450px;min-height:24px;margin:0 auto 10px;color:#166534;font-weight:800}.usp-feedback.error{color:#b42318}.usp-feedback.success{color:#166534}.usp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.usp-form-grid>label:first-child{grid-column:span 2}.usp-form-actions{display:flex;align-items:end;gap:10px}.usp-triage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.usp-triage-grid+label{margin-top:0}.usp-patient-found{margin:12px 0;padding:12px;border-radius:10px;background:#f0fdf4;color:#166534;font-weight:800}.usp-switch{flex-direction:row!important;align-items:center;margin:14px 0}.usp-switch input{width:auto}.usp-card fieldset{border:1px solid var(--line);border-radius:10px;display:flex;gap:12px;flex-wrap:wrap;margin:14px 0;padding:12px}.usp-card legend{color:var(--secondary);font-weight:900}.usp-priority{flex-direction:row!important;align-items:center;cursor:pointer}.usp-priority input{width:auto}.usp-priority.verde{color:#15803d}.usp-priority.amarelo{color:#b45309}.usp-priority.vermelho{color:#b91c1c}.usp-priority.roxo{color:#6d28d9}.usp-form-grid [data-usp-register-form]{grid-column:1/-1}.usp-loading{position:fixed;inset:0;background:rgba(255,255,255,.58);z-index:20;display:flex;align-items:center;justify-content:center}.usp-loading span{width:48px;height:48px;border:6px solid #e5e7eb;border-top-color:var(--primary);border-radius:50%;animation:usp-spin .8s linear infinite}@keyframes usp-spin{to{transform:rotate(360deg)}}.hidden{display:none!important}@media(max-width:760px){.usp-header,.usp-main-toolbar{align-items:stretch;flex-direction:column}.usp-attendant{justify-content:space-between}.usp-login-card form{align-items:stretch;flex-direction:column}.usp-form-grid{grid-template-columns:1fr}.usp-form-grid>label:first-child{grid-column:auto}.usp-triage-grid{grid-template-columns:1fr}.usp-primary{width:100%}.usp-summary{grid-template-columns:1fr}.usp-card{border-radius:12px;padding:18px}.usp-brand img{width:86px}}

/* ==== ./src/styles/patient/profile-picker.css ==== */
.profile-picker-shell {
  background:
    radial-gradient(1000px 620px at 0% 0%, color-mix(in srgb, var(--primary) 10%, var(--bg)), transparent 60%),
    radial-gradient(900px 520px at 100% 10%, color-mix(in srgb, var(--secondary) 10%, var(--bg)), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, white 6%), var(--bg));
}

.profile-picker-shell-content {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.profile-picker-page {
  width: min(980px, 100%);
}

.profile-picker-card {
  width: 100%;
  padding: 34px 28px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 30px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .10);
  backdrop-filter: blur(10px);
}

.profile-picker-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.profile-picker-brand img {
  max-width: 190px;
  max-height: 78px;
  object-fit: contain;
}

.profile-picker-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  text-align: center;
}

.profile-picker-subtitle {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.profile-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.profile-picker-option {
  width: 100%;
  padding: 18px 14px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}

.profile-picker-option:hover,
.profile-picker-option:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 45%, rgba(17, 24, 39, .08));
  box-shadow: 0 22px 38px rgba(15, 23, 42, .12);
  outline: none;
  transform: translateY(-2px);
}

.profile-picker-option:disabled {
  cursor: wait;
  opacity: .68;
}

.profile-picker-option.is-loading .profile-picker-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, .55);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: profile-picker-spin .7s linear infinite;
}

.profile-picker-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 4px;
  margin: 0 auto 14px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
}

.profile-picker-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.profile-picker-name {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.profile-picker-type {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.profile-picker-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.profile-picker-back {
  min-width: 220px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(17, 24, 39, .08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: background .18s ease, transform .18s ease;
}

.profile-picker-back:hover,
.profile-picker-back:focus-visible {
  background: color-mix(in srgb, var(--primary) 14%, white);
  outline: 2px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 2px;
  transform: translateY(-1px);
}

@keyframes profile-picker-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .profile-picker-shell-content {
    padding: 14px;
  }

  .profile-picker-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

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

  .profile-picker-avatar {
    width: 86px;
    height: 86px;
  }
}

/* ==== ./src/styles/call.css ==== */
:root,
.call-page-app,
.precall-stage,
.video-layer-app,
.livekit-stage-app {
  --call-app-background: var(--app-background-color, var(--app-bg-color, var(--app-background, var(--app-bg, var(--color-background, var(--background-color, var(--bg, #fff5ef)))))));
}

.precall-stage {
  position: fixed;
  inset: 0;
  background: var(--call-app-background);
  color: #fff;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  min-height: 100dvh;
  overflow: hidden;
}

.precall-stage[hidden],
.call-page-app[hidden],
.livekit-stage-app[hidden] {
  display: none !important;
}

.video-layer-app {
  position: absolute;
  inset: 0;
  background: var(--call-app-background);
  overflow: hidden;
}

.video-layer-app video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--call-app-background);
}


.vu-vert {
  position: absolute;
  right: 12px;
  bottom: 16px;
  height: 46vh;
  width: 7px;
  background: rgba(255, 255, 255, .22);
  border-radius: 6px;
  overflow: hidden;
  z-index: 3;
}

.vu-vert b {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: var(--primary);
}

.precall-ask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.precall-ask[hidden] {
  display: none !important;
}

.precall-ask > div {
  background: rgba(0, 0, 0, .60);
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  text-align: center;
  min-width: min(280px, calc(100vw - 32px));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
}

.precall-controls {
  position: absolute;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(0, 0, 0, .42);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 0;
  backdrop-filter: blur(2px);
}

.iconbtn-app {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.iconbtn-app svg {
  display: block;
  flex: 0 0 auto;
}

.iconbtn-app img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.iconbtn-app:hover {
  background: rgba(255, 255, 255, .20);
}

.iconbtn-app.off,
.iconbtn-app.off:hover {
  background: #d12e2e;
}

.cta-app {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--primary, #ff770c);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.call-page-app {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100dvh;
  background: var(--call-app-background);
  color: #fff;
  z-index: 10050;
  overflow: hidden;
}

html.call-active-app,
body.call-active-app {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100dvw !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--call-app-background) !important;
}

body.call-active-app #app {
  width: 100dvw !important;
  max-width: 100dvw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--call-app-background) !important;
}

body.call-active-app .call-page-app {
  position: fixed !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100dvw !important;
  max-width: 100dvw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

body.call-active-app .livekit-stage-app {
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100dvw !important;
  max-width: 100dvw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

body.call-active-app .livekit-stage-app #lkMain,
body.call-active-app .livekit-stage-app .lk-bg-blur {
  left: 0 !important;
  right: auto !important;
  width: 100dvw !important;
  max-width: 100dvw !important;
}

body.call-active-app .call-actions-app {
  right: max(10px, env(safe-area-inset-right)) !important;
  max-width: calc(100dvw - 20px) !important;
}

.patient-call-page {
  position: fixed !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100vw !important;
  width: 100dvw !important;
  max-width: 100vw !important;
  max-width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--call-app-background) !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.patient-call-page *,
.patient-call-page *::before,
.patient-call-page *::after {
  box-sizing: border-box;
}

.patient-call-page .livekit-stage-app {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100vw !important;
  width: 100dvw !important;
  max-width: 100vw !important;
  max-width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--call-app-background) !important;
  transform: none !important;
}

.patient-call-page .livekit-stage-app #lkMain,
.patient-call-page .livekit-stage-app .lk-bg-blur {
  left: 0 !important;
  right: auto !important;
  width: 100vw !important;
  width: 100dvw !important;
  max-width: 100vw !important;
  max-width: 100dvw !important;
}

.patient-call-page .call-actions-app {
  right: max(10px, env(safe-area-inset-right)) !important;
  bottom: max(14px, env(safe-area-inset-bottom)) !important;
  max-width: calc(100vw - 20px) !important;
  max-width: calc(100dvw - 20px) !important;
}

.admin-precall-stage,
.admin-call-page {
  z-index: 10060;
}

.admin-main:has(.admin-call-page:not([hidden])),
.admin-main:has(.admin-precall-stage:not([hidden])) {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.admin-main:has(.admin-call-page:not([hidden])) {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-topbar {
  min-height: 0;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-hero {
  display: none !important;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-footer {
  display: none;
}

.admin-call-page.call-page-app {
  --admin-call-sidebar-width: min(430px, 34vw);
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0;
  background: #000 !important;
  overflow: hidden !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--admin-call-sidebar-width);
  grid-template-rows: minmax(0, 1fr);
}

.admin-call-page .call-status-card.call-wait-screen-app {
  inset: 0;
  grid-column: 1;
  grid-row: 1;
  display: none !important;
}

.admin-call-page .livekit-stage-app {
  position: relative !important;
  inset: auto !important;
  grid-column: 1;
  grid-row: 1;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
}

.admin-call-page .call-wait-bar-app,
.admin-call-page.is-livekit-active .call-wait-bar-app,
.admin-call-page.is-livekit-active .call-status-card {
  display: none !important;
}

.admin-call-page .call-wait-content-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
}

.admin-call-top-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-patient-presence {
  min-height: 36px;
  max-width: 250px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #dbe4ee;
  border-radius: 9px;
  background: #f8fafc;
  color: #475569;
}

.admin-patient-presence-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: #94a3b8;
}

.admin-patient-presence > span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.admin-patient-presence strong,
.admin-patient-presence small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-patient-presence strong {
  font-size: 11px;
  line-height: 1.15;
}

.admin-patient-presence small {
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.admin-patient-presence.is-online {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.admin-patient-presence.is-online .admin-patient-presence-dot { background: #22c55e; }
.admin-patient-presence.is-waiting .admin-patient-presence-dot { background: #f59e0b; }
.admin-patient-presence.is-offline .admin-patient-presence-dot { background: #ef4444; }

.admin-call-action-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-call-top-actions .admin-action-btn {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-call-top-actions .admin-action-btn.green {
  background: #408801;
}

.admin-call-top-actions .admin-action-btn.red {
  background: #ef3b3b;
}

.admin-call-top-actions .admin-action-btn.memed {
  background: #2563eb;
}



.admin-call-top-actions .admin-action-btn.apac {
  background: #0d9488;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.precall-controls .submit-btn-app:disabled,
.precall-controls .cta-app:disabled {
  opacity: .58;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .precall-stage {
    padding: 0;
  }

  .precall-controls {
    width: calc(100vw - 24px);
    width: calc(100dvw - 24px);
  }

  .precall-controls .cta-app {
    flex: 1 1 100%;
    width: 100%;
  }
}

.call-status-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: var(--call-app-background);
}

.call-status-card h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.call-status-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.call-queue-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 10px;
  width: min(360px, calc(100vw - 48px));
  margin-top: 4px;
}

.call-queue-meta[hidden] {
  display: none !important;
}

.call-queue-meta div {
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.call-queue-meta span,
.call-queue-meta small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
}

.call-queue-meta strong {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.call-queue-meta small {
  grid-column: 1 / -1;
}

.patient-call-page .call-status-card.call-wait-screen-app {
  background: var(--state-bg, #fff3ec);
  color: #000;
  gap: 0;
  padding: 70px 20px;
}

.patient-call-page .call-wait-bar-app {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50px;





  background: var(--state-primary, var(--primary, #ff770c));
  z-index: 1;
}

.patient-call-page .call-wait-bar-top-app {
  top: 0;
}

.patient-call-page .call-wait-bar-bottom-app {
  bottom: 0;
}

.patient-call-page.is-livekit-active .call-wait-bar-app,
.patient-call-page.is-livekit-active .call-status-card {
  display: none !important;
}

.patient-call-page .call-wait-content-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(430px, 100%);
}

.patient-call-page .call-center-icon-app {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.patient-call-page .call-status-card.call-wait-screen-app h1 {
  color: #000;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  white-space: pre-line;
}

.patient-call-page .call-status-card.call-wait-screen-app p {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  white-space: pre-line;
}

.patient-call-page .call-queue-position-app {
  color: #000 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.patient-call-page .call-wait-spinner-app {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(0, 0, 0, .12);
  border-top-color: var(--state-primary, var(--primary, #ff770c));
  border-radius: 999px;
  animation: spin .8s linear infinite;
}

.livekit-stage-app {
  position: absolute;
  inset: 0;
  background: var(--call-app-background);
  overflow: hidden;
}

.livekit-stage-app video {
  background: var(--call-app-background);
}

.lk-bg-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(36px) brightness(.58);
  transform: scale(1.18);
  opacity: .72;
  z-index: 0;
  display: block;
}

#lkMain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  z-index: 1;
}

#lkSelf {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 160px;
  max-width: 28vw;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 0;
  background: var(--call-app-background);
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
  z-index: 5;
}

.lk-controls-app {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(8px);
  z-index: 14;
}

.call-actions-app {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: grid;
  gap: 12px;
  z-index: 12;
}

.admin-call-info-panel {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  z-index: 18;
  width: 100%;
  height: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  border-radius: 0;
  border-left: 1px solid rgba(15, 23, 42, .14);
  background: #fff7f3;
  color: #263244;
  padding: 20px;
  box-shadow: -18px 0 46px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.admin-soap-editor {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 2px 0 0;
  background: transparent;
}

.admin-soap-tab-selector {
  position: relative;
  z-index: 6;
  align-self: flex-start;
  margin: 0 0 10px;
}

.admin-soap-tab-selector > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 999px;
  background: #fff;
  color: #263244;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  user-select: none;
}

.admin-soap-tab-selector > summary::-webkit-details-marker { display: none; }
.admin-soap-tab-selector > summary:hover,
.admin-soap-tab-selector[open] > summary { border-color: var(--primary, var(--primary-color, #ff770c)); }

.admin-soap-tab-selector > summary > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-soap-tab-hamburger {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: currentColor;
}

.admin-soap-tab-arrow {
  width: 10px;
  height: 7px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .6;
  transition: transform 160ms ease;
}

.admin-soap-tab-selector[open] .admin-soap-tab-arrow { transform: rotate(180deg); }

.admin-soap-tab-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  display: grid;
  gap: 4px;
  box-sizing: border-box;
  width: 260px;
  max-width: calc(100vw - 48px);
  padding: 7px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}

.admin-soap-tab-dropdown button {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.admin-soap-tab-dropdown button:hover { background: #f1f5f9; }
.admin-soap-tab-dropdown button.active {
  background: color-mix(in srgb, var(--primary, var(--primary-color, #ff770c)) 13%, white);
  color: var(--primary, var(--primary-color, #ff770c));
}

.admin-soap-pane {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.admin-soap-pane.active {
  display: block;
}

.admin-call-info-panel .admin-soap-pane:not(.active) {
  display: none !important;
}










.admin-call-info-panel .admin-soap-editor,
.admin-call-info-panel .admin-soap-pane {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}


.admin-call-info-panel .admin-call-buttons {
  position: sticky;
  bottom: -20px;
  z-index: 2;
  padding: 10px 0;
  background: linear-gradient(to bottom, rgba(255, 247, 243, 0), #fff7f3 22%);
}

.admin-soap-editor:is([data-admin-soap-active-tab="trail"], [data-admin-soap-active-tab="history"]) + .admin-call-buttons {
  display: none;
}

.soap-label {
  display: block;
  margin: 10px 0 5px;
  color: #2a3b4d;
  font-size: 13px;
  font-weight: 900;
}

.soap-input,
.soap-input-line {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  background: #f9fbfe;
  color: #1f2937;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.soap-input {
  min-height: 86px;
  padding: 9px 10px 36px;
  resize: none;
  overflow: auto;
}

.soap-input-line {
  padding: 9px 10px;
}

.soap-input::placeholder,
.soap-input-line::placeholder {
  color: #8b97ab;
}

.soap-input:focus,
.soap-input-line:focus {
  outline: none;
  border-color: #c7d0dc;
  box-shadow: none;
}

.soap-readonly {
  min-height: 360px;
  background: #f3f6fb;
  color: #374151;
}

.soap-field-wrap {
  position: relative;
}

.soap-expand-btn {
  position: absolute;
  right: 8px;
  bottom: 13px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.soap-label-subjetivo { color: #2f6a34; }
.soap-input-subjetivo { background: #eef9ef; border-color: #5ca769; }
.soap-expand-subjetivo { background: #4a9a59; }
.soap-label-objetivo { color: #1f4f8a; }
.soap-input-objetivo { background: #edf4ff; border-color: #4a80cd; }
.soap-expand-objetivo { background: #3f77c7; }
.soap-label-avaliacao { color: #8c2f2f; }
.soap-input-avaliacao { background: #fff0f0; border-color: #c85d5d; }
.soap-expand-avaliacao { background: #b94b4b; }
.soap-label-plano { color: #8a531f; }
.soap-input-plano { background: #fff6eb; border-color: #ca8c4b; }
.soap-expand-plano { background: #be7d3a; }
.soap-label-cid { color: #6b4a2f; }
.soap-input-cid { background: #fbf5ef; border-color: #9f7751; }

.soap-cid-dropdown {
  position: relative;
}

.soap-cid-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #d8dee9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
  z-index: 80;
}

.soap-cid-results {
  max-height: 180px;
  overflow: auto;
  padding: 6px;
}

.soap-cid-item {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #334155;
  padding: 7px 8px;
  text-align: left;
  cursor: pointer;
}

.soap-cid-item:hover {
  background: #edf2f7;
}

.soap-cid-code {
  min-width: 60px;
  color: #1f2937;
  font-weight: 900;
}

.soap-cid-empty {
  padding: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.soap-cid-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 38px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid #9f7751;
  border-radius: 8px;
  background: #fbf5ef;
}

.soap-cid-selected.is-empty {
  display: none;
}

.soap-cid-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid #b9936d;
  border-radius: 999px;
  background: #e8d8c6;
  color: #4f3a27;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 800;
}

.soap-cid-chip button {
  border: 0;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  font-weight: 900;
}

.soap-expand-textarea {
  width: 100%;
  min-height: min(58vh, 520px);
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  padding: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  resize: vertical;
}

.admin-call-popup-fallback {
  display: grid;
  min-height: 160px;
  place-items: center;
  gap: 14px;
  text-align: center;
}

.livekit-stage-app:not(.grid):not(.portrait-remote) #lkMain {
  object-fit: contain !important;
}

.livekit-stage-app:not(.grid).portrait-remote #lkMain {
  object-fit: cover !important;
}

.livekit-stage-app:not(.grid) .lk-bg-blur,
.livekit-stage-app:not(.grid).portrait-remote .lk-bg-blur {
  display: block;
}

.livekit-stage-app.grid #lkMain {
  position: relative !important;
  inset: auto !important;
  grid-column: 1;
  grid-row: 1;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 16px;
  object-fit: cover !important;
  object-position: center;
}

.livekit-stage-app.grid #lkSelf {
  position: relative !important;
  inset: auto !important;
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center;
}

.livekit-stage-app.grid .lk-bg-blur {
  display: none;
}

.livekit-stage-app.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 12px !important;
  padding: 12px !important;
  align-items: stretch;
  justify-items: stretch;
}

.admin-call-info-panel h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #263244;
}

.admin-call-info-panel p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #667085;
  font-weight: 800;
}

.admin-call-info-grid {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
}

.admin-patient-trail {
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #fff;
}

.admin-patient-trail header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-patient-trail header > strong {
  color: #263244;
  font-size: 13px;
}

.admin-patient-trail [data-patient-trail-state] {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 9px;
  font-weight: 900;
  text-align: right;
}

.admin-patient-trail [data-patient-trail-state].is-online { background: #dcfce7; color: #166534; }
.admin-patient-trail [data-patient-trail-state].is-waiting { background: #fef3c7; color: #92400e; }
.admin-patient-trail [data-patient-trail-state].is-offline { background: #fee2e2; color: #991b1b; }

.admin-patient-trail > p {
  margin: 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.admin-patient-trail ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-patient-trail li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-left: 12px;
  position: relative;
  color: #334155;
  font-size: 10px;
}

.admin-patient-trail li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: .45em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #94a3b8;
}

.admin-patient-trail li time {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.admin-patient-trail li.is-empty { color: #94a3b8; }

.admin-patient-history {
  display: grid;
  gap: 10px;
}

.admin-patient-history > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 10px;
}

.admin-patient-history > header strong {
  color: #263244;
  font-size: 13px;
}

.admin-patient-history-list {
  display: grid;
  gap: 9px;
}

.admin-patient-history-item {
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #fff;
}

.admin-patient-history-item > summary {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px 11px;
  cursor: pointer;
  list-style: none;
}

.admin-patient-history-item > summary::-webkit-details-marker { display: none; }
.admin-patient-history-item[open] > summary { background: #f8fafc; }

.admin-patient-history-marker {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary, var(--primary-color, #ff770c));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, var(--primary-color, #ff770c)) 16%, white);
}

.admin-patient-history-heading {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-patient-history-heading strong,
.admin-patient-history-heading small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-patient-history-heading strong { color: #263244; font-size: 14px; }
.admin-patient-history-heading small { color: #64748b; font-size: 11px; font-weight: 700; }

.admin-patient-history-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.admin-patient-history-rx-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-patient-history-status {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-patient-history-status.is-finished { background: #dcfce7; color: #166534; }
.admin-patient-history-status.is-cancelled { background: #fee2e2; color: #991b1b; }
.admin-patient-history-status.is-expired { background: #e2e8f0; color: #475569; }

.admin-patient-history-arrow {
  color: #64748b;
  font-size: 15px;
  transition: transform 160ms ease;
}

.admin-patient-history-item[open] .admin-patient-history-arrow { transform: rotate(180deg); }

.admin-patient-history-body {
  display: grid;
  gap: 10px;
  padding: 11px;
  border-top: 1px solid #e2e8f0;
}

.admin-patient-history-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.admin-patient-history-meta > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border-radius: 9px;
  background: #f8fafc;
}

.admin-patient-history-meta small { color: #64748b; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.admin-patient-history-meta strong { overflow: hidden; color: #334155; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.admin-patient-history-notes {
  display: grid;
  gap: 8px;
}

.admin-patient-history-note {
  padding: 9px 10px;
  border-left: 3px solid #94a3b8;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-patient-history-note > strong { display: block; margin-bottom: 5px; color: #334155; font-size: 12px; }
.admin-patient-history-note > p { display: block; color: #475569; font-size: 12px; font-weight: 600; line-height: 1.55; }
.admin-patient-history-note.is-subjective { border-left-color: #22c55e; }
.admin-patient-history-note.is-objective { border-left-color: #3b82f6; }
.admin-patient-history-note.is-assessment { border-left-color: #f59e0b; }
.admin-patient-history-note.is-plan { border-left-color: #8b5cf6; }
.admin-patient-history-note.is-cid { border-left-color: #64748b; }

.admin-patient-history-empty,
.admin-patient-history-no-record {
  padding: 18px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 11px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.admin-patient-history-limit {
  color: #64748b;
  font-size: 9px;
  text-align: center;
}

.admin-patient-history-actions {
  display: flex;
  justify-content: stretch;
}

.admin-patient-history-rx-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #99f6e4;
  border-radius: 11px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(15, 118, 110, .08);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.admin-patient-history-rx-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 9px;
  background: #0f766e;
  color: #fff;
}

.admin-patient-history-rx-icon svg,
.admin-patient-history-rx-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-patient-history-rx-arrow {
  width: 17px;
  height: 17px;
  margin-left: auto;
}

.admin-patient-history-rx-button:hover {
  border-color: #5eead4;
  background: #ccfbf1;
  box-shadow: 0 7px 16px rgba(15, 118, 110, .14);
  transform: translateY(-1px);
}
.admin-patient-history-rx-button:disabled { cursor: wait; opacity: .65; }

@media (max-width: 520px) {
  .admin-patient-history-tags { max-width: 92px; }
}

.admin-call-side-toolbar {
  display: grid;
  gap: 10px;
}

.admin-topbar-call-actions {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.admin-call-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
}

.admin-call-timer span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.admin-call-timer strong {
  border-radius: 6px;
  background: #ef3b3b;
  color: #fff;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.admin-topbar-call-actions .admin-call-timer {
  min-width: 168px;
  border: 1px solid rgba(15, 23, 42, .08);
}

.admin-call-info-grid span {
  color: #7b8798;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-call-info-grid strong {
  min-width: 0;
  color: #263244;
  font-size: 13px;
  font-weight: 900;
  word-break: break-word;
}

.admin-call-notes-label {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 8px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-call-info-panel .admin-large-textarea {
  width: 100%;
  flex: 1 1 auto;
  min-height: 230px;
  resize: vertical;
  border: 0;
  border-radius: 14px;
  background: #eef2f7;
  color: #263244;
  padding: 12px;
  font: inherit;
  font-weight: 800;
}

.admin-call-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  position: sticky;
  bottom: 0;
  padding-top: 8px;
  background: linear-gradient(to bottom, rgba(245, 247, 250, 0), rgba(245, 247, 250, .98) 18%);
}

.admin-call-buttons .admin-action-btn {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #263238;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.admin-call-buttons .admin-action-btn:disabled {
  opacity: .62;
  cursor: wait;
}

.admin-call-buttons .admin-action-btn.green {
  background: #22b35e;
}

.admin-call-buttons .admin-action-btn.amber {
  background: #c47f0f;
}

.admin-call-buttons .admin-action-btn.red {
  background: #ef3b3b;
}

.admin-call-info-panel .admin-feedback {
  min-height: 18px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.admin-call-fabs {
  position: absolute;
  left: 20px;
  bottom: max(18px, env(safe-area-inset-bottom));
  right: calc(var(--admin-call-sidebar-width) + 20px);
  z-index: 16;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.admin-call-fabs .fab-call-app {
  pointer-events: auto;
  text-decoration: none;
}

.admin-call-sidebar-menu {
  gap: 6px;
  align-items: stretch;
  justify-content: flex-start;
  padding: 4px 0;
}

.admin-call-sidebar-menu .admin-call-nav-action {
  width: 100%;
  min-height: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #263238;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

.admin-call-sidebar-menu .admin-call-nav-action:hover,
.admin-call-sidebar-menu .admin-call-nav-action:focus-visible {
  background: #263238;
  color: #fff;
  outline: none;
}

.admin-call-sidebar-menu .admin-call-nav-action:hover .admin-icon-img,
.admin-call-sidebar-menu .admin-call-nav-action:focus-visible .admin-icon-img {
  filter: brightness(0) invert(1);
}

body.admin-sidebar-collapsed .admin-call-sidebar-menu .admin-call-nav-action {
  width: 48px;
  justify-content: center;
  padding: 0;
}

body.admin-sidebar-collapsed .admin-call-sidebar-menu .admin-call-nav-action .admin-nav-label {
  display: none;
}

.admin-call-popup-frame {
  width: 100%;

  height: min(62vh, 560px);
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-modal-backdrop[data-admin-clinical-modal]:not(.hidden) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 40000 !important;
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(255, 247, 243, .42) !important;
  backdrop-filter: blur(7px) saturate(112%) !important;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-modal-backdrop[data-admin-clinical-modal]:not(.hidden) .admin-clinical-modal {
  margin: 0 !important;
  width: min(1040px, calc(100vw - 96px));
  max-width: min(1040px, calc(100vw - 96px));
  max-height: min(88vh, 860px);
  overflow: auto;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-modal-backdrop[data-admin-clinical-modal]:not(.hidden) .admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(100, 116, 139, .16);
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-modal-backdrop[data-admin-clinical-modal]:not(.hidden) .admin-modal-header h2 {
  margin: 0;
  color: #263244;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-modal-backdrop[data-admin-clinical-modal]:not(.hidden) .admin-modal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-main:has(.admin-call-page:not([hidden])) .admin-modal-backdrop[data-admin-clinical-modal]:not(.hidden) .admin-clinical-body {
  min-height: 0;
}

.admin-call-transfer-modal-card {
  width: min(780px, calc(100vw - 96px)) !important;
  max-width: min(780px, calc(100vw - 96px)) !important;
  overflow: hidden !important;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .22) !important;
}

.admin-call-transfer-modal-card .admin-clinical-body {
  padding-top: 18px;
}

.admin-call-transfer-modal {
  display: grid;
  gap: 16px;
}

.admin-call-transfer-summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(100, 116, 139, .14);
  border-radius: 12px;
  background: #f8fafc;
}

.admin-call-transfer-summary strong {
  color: #263244;
  font-size: 15px;
  font-weight: 900;
}

.admin-call-transfer-summary span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.admin-call-transfer-field {
  display: grid;
  gap: 8px;
}

.admin-call-transfer-field > span {
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.admin-call-transfer-field select,
.admin-call-transfer-field textarea {
  width: 100%;
  border: 1px solid rgba(100, 116, 139, .18);
  border-radius: 12px;
  background: #fff;
  color: #263244;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 46px;
  padding: 11px 14px;
  outline: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.admin-call-transfer-field textarea {
  min-height: 112px;
  resize: vertical;
}

.admin-call-transfer-field select:focus,
.admin-call-transfer-field textarea:focus {
  border-color: rgba(255, 119, 12, .72);
  box-shadow: 0 0 0 3px rgba(255, 119, 12, .14);
}

.admin-call-transfer-modal-card .button-primary.compact,
.admin-call-transfer-modal-card .button-secondary.compact,
.admin-call-iframe-modal-card .admin-danger-btn.compact {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.admin-call-transfer-modal-card .button-secondary.compact {
  border: 1px solid rgba(100, 116, 139, .18);
  background: #eef2f7;
  color: #263244;
}





.admin-call-iframe-modal-card {
  width: min(1220px, calc(100vw - 96px)) !important;
  max-width: min(1220px, calc(100vw - 96px)) !important;
  height: auto;
  max-height: min(86vh, 880px) !important;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden !important;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .24) !important;
}

.admin-call-iframe-modal-card .admin-modal-header {
  position: relative;
  z-index: 2;
  background: #fff;
}

.admin-call-iframe-modal-card .admin-clinical-body {
  min-height: 0;
  overflow: hidden;
  padding-top: 16px;
}

.admin-call-iframe-modal-card .admin-danger-btn.compact {
  border: 0;
  background: #ef4444;
  color: #fff;
}

.admin-call-priority-options {
  display: grid;
  gap: 10px;
}

.admin-call-priority-option {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 800;
  cursor: pointer;
}

.admin-call-priority-option:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.admin-call-priority-option span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 12px;
}

.admin-call-notes-close {
  border: 0;
  background: #eef2f7;
  color: #263244;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  align-self: flex-end;
}

@media (min-width: 841px) {
  .admin-call-page .livekit-stage-app #lkMain,
  .admin-call-page .livekit-stage-app .lk-bg-blur {
    width: 100% !important;
    max-width: 100% !important;
  }








  .admin-call-page .livekit-stage-app:not(.admin-grid-mode).portrait-remote #lkMain {
    left: 50% !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 5 / 4;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .admin-call-page .livekit-stage-app:not(.admin-grid-mode).portrait-remote .lk-bg-blur {
    display: block !important;
  }

  .admin-call-page #lkSelf {
    right: 18px !important;
  }

  .admin-call-page .lk-controls-app {
    left: 50% !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }

  .admin-call-page .call-actions-app {
    right: calc(var(--admin-call-sidebar-width) + 20px) !important;
  }

  .admin-call-page .livekit-stage-app.admin-grid-mode {
    --admin-grid-gap: 12px;
    box-sizing: border-box !important;
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    gap: var(--admin-grid-gap) !important;
    overflow: hidden !important;
  }

  .admin-call-page .livekit-stage-app.admin-grid-mode .lk-bg-blur {
    display: none !important;
  }

  .admin-call-page .livekit-stage-app.admin-grid-mode #lkMain,
  .admin-call-page .livekit-stage-app.admin-grid-mode #lkSelf {
    box-sizing: border-box !important;
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    right: auto !important;
    width: calc(50% - (var(--admin-grid-gap) / 2)) !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    transform: none !important;
    border-radius: 16px !important;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #000 !important;
  }

  .admin-call-page .livekit-stage-app.admin-grid-mode #lkMain {
    left: 0 !important;
  }

  .admin-call-page .livekit-stage-app.admin-grid-mode #lkSelf {
    left: calc(50% + (var(--admin-grid-gap) / 2)) !important;
  }
}

.admin-call-invite {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .2);
  color: #263244;
  font-size: 16px;
}

.admin-call-invite strong {
  color: #263244;
  font-weight: 900;
}

.admin-call-invite span {
  color: #667085;
  font-weight: 800;
}

.admin-call-invite-status {
  color: #ef4444 !important;
  margin-top: 4px;
}

.admin-call-invite-reason {
  display: grid;
  gap: 10px;
  color: #667085;
  font-weight: 900;
}

.admin-call-invite-reason textarea {
  width: 100%;
  min-height: 120px;
  border: 0;
  border-radius: 14px;
  background: #d4d4d4;
  color: #263244;
  padding: 14px 16px;
  font: inherit;
  font-weight: 800;
  resize: vertical;
}

.fab-call-app {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(0,0,0,.54);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  cursor: pointer;
}

.fab-call-app[hidden] {
  display: none !important;
}






.fab-call-app[data-call-upload-trigger] {
  background: var(--primary, #ff770c);
}

.fab-call-app img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.call-gallery-app {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: color-mix(in srgb, var(--call-app-background) 84%, transparent);
}

.call-gallery-app[hidden] {
  display: none !important;
}

.call-gallery-close {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #111827;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.call-gallery-box {
  position: relative;
  width: min(92vw, 1680px);
  height: min(88vh, 900px);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

#callGalleryItems {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

#callGalleryItems img,
#callGalleryItems iframe,
#callGalleryItems embed,
#callGalleryItems a {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
  border: 0;
}

#callGalleryItems a {
  color: #111827;
  padding: 18px 22px;
  font-weight: 700;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  min-width: 220px;
  min-height: 90px;
}

.call-gallery-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 2;
}

.call-gallery-arrow[hidden] {
  display: none !important;
}

.call-gallery-prev {
  left: 6px;
}

.call-gallery-next {
  right: 6px;
}

.call-gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
}

.call-gallery-counter[hidden] {
  display: none !important;
}

.call-gallery-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  color: #263244;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  font-weight: 900;
}

.call-gallery-loader span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid #d8dee8;

  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

@media (max-width: 840px) {
  .admin-main:has(.admin-call-page:not([hidden])),
  .admin-main:has(.admin-precall-stage:not([hidden])) {
    height: 100dvh;
    overflow: hidden;
  }

  .admin-call-page.call-page-app {
    --admin-mobile-call-dock: 72px;
    position: fixed !important;
    inset: 0 !important;
    width: 100dvw !important;
    max-width: 100dvw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    padding: 0 !important;
    z-index: 10050;
  }

  .admin-call-page .livekit-stage-app,
  .admin-call-page .call-status-card.call-wait-screen-app {
    grid-column: 1;
    grid-row: 1;
  }

  .admin-call-page .livekit-stage-app {
    position: fixed !important;
    inset: 0 !important;
    width: 100dvw !important;
    max-width: 100dvw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  .admin-call-page .livekit-stage-app #lkMain,
  .admin-call-page .livekit-stage-app .lk-bg-blur {
    width: 100dvw !important;
    max-width: 100dvw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    object-fit: cover !important;
  }

  .admin-call-info-panel {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(var(--admin-mobile-call-dock) + max(12px, env(safe-area-inset-bottom)));
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: min(64dvh, 620px);
    max-height: min(64dvh, 620px);
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 16px;
    padding: 16px 16px 18px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
    z-index: 10110;
  }

  .admin-call-notes-close {
    display: grid !important;
    place-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .admin-call-page.admin-call-notes-open .admin-call-info-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.admin-call-notes-open .admin-call-page .admin-call-info-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-call-info-panel h2,
  .admin-call-info-panel p {
    display: block;
  }

  .admin-call-info-panel h2 {
    margin: 0;
    padding-right: 42px;
    font-size: 16px;
    line-height: 1.25;
  }

  .admin-call-info-panel p {
    margin: 0 0 8px;
    font-size: 12px;
  }

  .admin-call-info-grid {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 5px 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(100, 116, 139, .14);
    border-bottom: 1px solid rgba(100, 116, 139, .14);
  }

  .admin-call-notes-label {
    min-height: 0;
    flex: 0 0 auto;
  }

  .admin-call-info-panel .admin-large-textarea {
    min-height: 150px;
    max-height: 32dvh;
    overflow: auto;
  }








  .admin-call-info-panel .admin-soap-editor,
  .admin-call-info-panel .admin-soap-pane {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }

  .admin-call-buttons {
    grid-template-columns: 1fr;
    position: static;
    bottom: auto;
    padding-top: 4px;
    background: transparent;
  }


  .admin-call-info-panel .admin-call-buttons {
    position: sticky;
    bottom: -18px;
    padding: 8px 0 10px;
    background: linear-gradient(to bottom, rgba(255, 247, 243, 0), #fff7f3 22%);
  }

  .admin-call-page .lk-controls-app {
    bottom: calc(var(--admin-mobile-call-dock) + max(18px, env(safe-area-inset-bottom))) !important;
  }

  .admin-call-fabs {
    right: 12px;
    bottom: calc(var(--admin-mobile-call-dock) + max(18px, env(safe-area-inset-bottom)));
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-call-page .call-actions-app {
    right: 12px;
    bottom: calc(var(--admin-mobile-call-dock) + max(18px, env(safe-area-inset-bottom)));
    grid-auto-flow: column;
  }

  .admin-shell:has(.admin-call-page) .admin-sidebar {
    display: none !important;
  }

  .admin-call-mobile-dock {
    position: fixed;
    inset: auto 10px max(8px, env(safe-area-inset-bottom)) 10px;
    z-index: 10120;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: auto;
    height: 64px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .admin-call-mobile-dock-btn {
    width: 48px;
    height: 48px;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #263238;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
    cursor: pointer;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .admin-call-mobile-dock-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none;
  }

  .admin-call-mobile-dock-btn:active,
  .admin-call-mobile-dock-btn:focus-visible,
  .admin-call-mobile-dock-btn:hover,
  .admin-call-mobile-menu-btn {
    background: #263238;
    outline: none;
  }

  .admin-call-mobile-dock-btn:active img,
  .admin-call-mobile-dock-btn:focus-visible img,
  .admin-call-mobile-dock-btn:hover img,
  .admin-call-mobile-menu-btn img {
    filter: brightness(0) invert(1);
  }

  .admin-main:has(.admin-call-page) .admin-topbar-call-actions {
    position: static;
    z-index: 10112;
    width: 0;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .admin-main:has(.admin-call-page) .admin-call-action-menu {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(80px + max(8px, env(safe-area-inset-bottom)));
    z-index: 10088;
    width: auto;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
    backdrop-filter: blur(12px);
    display: flex;
    flex-wrap: wrap;
    transform: translateY(calc(100% + 96px));
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .admin-main:has(.admin-call-page.admin-call-menu-open) .admin-call-action-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.admin-call-menu-open .admin-main:has(.admin-call-page) .admin-call-action-menu,
  body.admin-call-menu-open .admin-call-action-menu {
    display: flex !important;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-main:has(.admin-call-page) .admin-call-top-actions {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .admin-main:has(.admin-call-page) .admin-call-action-menu .admin-action-btn {
    min-height: 38px;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .admin-main:has(.admin-call-page) .admin-call-timer {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    z-index: 10122;
    min-width: 0;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
  }

  .admin-main:has(.admin-call-page) .admin-call-timer span {
    display: none;
  }

  .admin-main:has(.admin-call-page) .admin-call-timer strong {
    min-width: 66px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    background: #ef4444;
    text-shadow: none;
  }

  .admin-main:has(.admin-call-page) .admin-call-top-actions .admin-call-timer {
    display: flex;
  }

  .admin-main:has(.admin-call-page) .admin-call-action-menu .admin-action-btn {
    flex: 1 1 calc(50% - 6px);
  }

  .admin-call-mobile-only {
    display: flex !important;
  }
}

@media (min-width: 841px) {
  .admin-call-mobile-only {
    display: none !important;
  }
}

[data-toggle-flip],
[data-lk-flip] {
  display: none !important;
}

@media (pointer: coarse) {
  [data-toggle-flip],
  [data-lk-flip] {
    display: inline-flex !important;
  }
}

@media (max-width: 768px) {
  html:has(.call-page-app:not([hidden])),
  body:has(.call-page-app:not([hidden])) {
    width: 100dvw;
    max-width: 100dvw;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--call-app-background);
  }

  .call-page-app {
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100dvw !important;
    max-width: 100dvw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .patient-call-page {
    left: calc(-1 * max(16px, env(safe-area-inset-left))) !important;
    width: calc(100dvw + max(16px, env(safe-area-inset-left))) !important;
    max-width: none !important;
  }

  .livekit-stage-app {
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100dvw !important;
    max-width: 100dvw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .patient-call-page .livekit-stage-app {
    left: 0 !important;
    width: calc(100dvw + max(16px, env(safe-area-inset-left))) !important;
    max-width: none !important;
  }

  .livekit-stage-app #lkMain,
  .livekit-stage-app .lk-bg-blur {
    left: 0 !important;
    right: auto !important;
    width: 100dvw !important;
    max-width: 100dvw !important;
  }

  .livekit-stage-app.grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px !important;
    padding: 10px !important;
    background: var(--call-app-background) !important;
  }

  .livekit-stage-app.grid #lkMain,
  .livekit-stage-app.grid #lkSelf {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
  }

  .livekit-stage-app.grid #lkMain {
    grid-column: 1;
    grid-row: 1;
  }

  .livekit-stage-app.grid #lkSelf {
    grid-column: 1;
    grid-row: 2;
  }

  .livekit-stage-app:not(.grid).portrait-remote .lk-bg-blur {
    display: block;
  }

  .livekit-stage-app:not(.grid).portrait-remote #lkMain {
    object-fit: contain !important;
  }

  #lkSelf {
    width: 128px;
    max-width: 34vw;
  }

  .patient-call-page .call-actions-app {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    gap: 10px;
    max-width: calc(100dvw - 36px);
  }

  .fab-call-app {
    width: 48px;
    height: 48px;
  }

  .call-gallery-app {
    width: 100dvw;
    height: 100dvh;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .call-gallery-box {
    width: 100dvw;
    max-width: 100dvw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

  .call-gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 30px;
  }

  .call-gallery-close {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
    color: #fff;
    background: rgba(17,24,39,.62);
    border-radius: 999px;
    z-index: 4;
  }
}

.patient-call-page .livekit-stage-app.grid {
  box-sizing: border-box !important;
  left: 0 !important;
  width: 100dvw !important;
  max-width: 100dvw !important;
  gap: 12px !important;
  padding: 12px !important;
}

.patient-call-page .livekit-stage-app.grid #lkMain,
.patient-call-page .livekit-stage-app.grid #lkSelf {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 8px !important;
}

@media (max-width: 768px) {
  .patient-call-page .livekit-stage-app.grid {
    gap: 10px !important;
    padding: 10px !important;
  }
}

.precall-stage[data-precall-stage] {
  position: fixed !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100vw !important;
  width: 100dvw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.precall-stage[data-precall-stage] .video-layer-app,
.precall-stage[data-precall-stage] .video-layer-app video {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100dvw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  box-sizing: border-box !important;
}

.precall-stage[data-precall-stage] .video-layer-app video {
  left: 0 !important;
  top: 0 !important;
  width: 100dvw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  opacity: 1 !important;
  transform: none !important;
  transform-origin: center center !important;
  pointer-events: none !important;
}

.precall-stage[data-precall-stage] .precall-controls {
  width: auto !important;
  max-width: calc(100dvw - 24px) !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 8px !important;
  border-radius: 999px !important;
}

.precall-stage[data-precall-stage] .precall-controls .cta-app {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 104px !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

@media (max-width: 520px) {
  .precall-stage[data-precall-stage] .precall-controls {
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }

  .precall-stage[data-precall-stage] .precall-controls .cta-app {
    flex: 0 0 auto !important;
    width: auto !important;
  }
}



.admin-call-media-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding: 10px 14px;
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: 12px;
  background: #fff3ec;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.35;
}

.admin-call-media-notice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  flex: 1 1 260px;
}

.admin-call-media-notice-text strong {
  font-weight: 800;
}

.admin-call-media-notice-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-call-media-notice-actions button {
  cursor: pointer;
  font: inherit;
  border-radius: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(234, 88, 12, 0.45);
  background: #fff;
  color: #7c2d12;
}

.admin-call-media-notice-actions button:disabled {
  cursor: default;
  opacity: 0.6;
}

.admin-call-media-notice-actions [data-admin-media-dismiss] {
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
}

.patient-call-page .admin-call-media-notice {
  position: absolute;
  left: 50%;
  top: max(82px, calc(env(safe-area-inset-top) + 64px));
  transform: translateX(-50%);
  z-index: 45;
  width: min(520px, calc(100% - 28px));
  margin: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.call-connection-notice,
.call-audio-notice {
  position: absolute;
  left: 50%;
  top: max(18px, env(safe-area-inset-top));
  transform: translateX(-50%);
  z-index: 40;
  max-width: min(440px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(20, 28, 37, .88);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.call-connection-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  pointer-events: none;
}


.call-peer-state {
  position: absolute;
  left: 50%;
  bottom: max(96px, calc(env(safe-area-inset-bottom) + 96px));
  transform: translateX(-50%);
  z-index: 39;
  max-width: min(460px, calc(100% - 28px));
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(20, 28, 37, .82);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}


.call-connection-notice div,
.call-audio-notice {
  display: grid;
  gap: 3px;
}

.call-connection-notice small,
.call-audio-notice span {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1.35;
}

.call-connection-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-top-color: var(--primary, #ff770c);
  border-radius: 50%;
  animation: call-connection-spin .8s linear infinite;
}

.call-audio-notice {
  padding: 14px 16px;
  text-align: center;
  justify-items: center;
}

.call-audio-notice button {
  margin-top: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  background: var(--primary, #ff770c);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@keyframes call-connection-spin {
  to { transform: rotate(360deg); }
}




.admin-call-page.admin-call-encerrado [data-admin-atendente-feedback] {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f0b429;
  background: #fff8e6;
  color: #7a4f01;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}







.admin-call-waiting-fab {
  position: relative;



  border: 2px solid rgba(255, 255, 255, .72);
}

.admin-call-waiting-fab.tem-espera {
  background: var(--primary, #ff770c);
  border-color: rgba(255, 255, 255, .9);
}

.admin-call-waiting-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.admin-call-waiting-badge[hidden] {
  display: none !important;
}

.admin-call-waiting {
  position: absolute;
  left: 20px;

  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 54px + 14px);
  z-index: 17;
  width: min(340px, calc(100% - 40px));
  max-height: min(52vh, 460px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  overflow: hidden;
}

.admin-call-waiting[hidden] {
  display: none !important;
}

.admin-call-waiting-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 10px 11px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, .10);
  background: var(--admin-primary-soft, #fff4ed);
}

.admin-call-waiting-head strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: #263238;
}

.admin-call-waiting-total {
  flex: 0 0 auto;
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary, #ff770c);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.admin-call-waiting-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.admin-call-waiting-close:hover {
  background: rgba(15, 23, 42, .07);
}

.admin-call-waiting-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-call-waiting-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-call-waiting-item {
  display: grid;
  grid-template-columns: 22px 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;


  border-left: 4px solid transparent;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
}

.admin-call-waiting-item:last-child {
  border-bottom: 0;
}

.admin-call-waiting-item.priority-roxo { border-left-color: #7e22ce; }
.admin-call-waiting-item.priority-vermelho { border-left-color: #b91c1c; }
.admin-call-waiting-item.priority-amarelo { border-left-color: #eab308; }
.admin-call-waiting-item.priority-verde { border-left-color: #22c55e; }

.admin-call-waiting-pos {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-align: right;
}

.admin-call-waiting-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary, #ff770c);
  background: linear-gradient(145deg, rgba(255,255,255,.95), var(--admin-primary-soft, #fff4ed));
  border: 1px solid rgba(15, 23, 42, .08);
}

.admin-call-waiting-main {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.admin-call-waiting-main strong {
  font-size: 13px;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-call-waiting-main small {
  font-size: 11px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-call-waiting-main .admin-call-waiting-flag {
  font-weight: 700;
  color: #475569;
}

.admin-call-waiting-time {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
}

.admin-call-waiting-empty {
  margin: 0;
  padding: 20px 14px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.admin-call-waiting-foot {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-top: 1px solid rgba(15, 23, 42, .10);
  background: #f8fafc;
  font-size: 11px;
  color: #64748b;
}

.admin-call-waiting-foot.is-error {
  background: #fff8e6;
  color: #7a4f01;
  font-weight: 700;
}

@media (max-width: 840px) {


  .admin-call-waiting {
    left: 12px;
    right: 12px;
    width: auto;
    max-height: 50vh;
    bottom: calc(var(--admin-mobile-call-dock, 72px) + max(18px, env(safe-area-inset-bottom)) + 54px + 10px);
  }
}






.admin-finish-reasons {
  display: grid;
  gap: 10px;
}

.admin-finish-reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.admin-finish-reason:hover {
  border-color: var(--primary, #ff6b00);
  background: #fff7f1;
}

.admin-finish-reason:has(input:checked) {
  border-color: var(--primary, #ff6b00);
  background: #fff7f1;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .12);
}

.admin-finish-reason input { margin-top: 3px; width: 18px; height: 18px; }
.admin-finish-reason strong { display: block; font-size: 14px; font-weight: 900; color: #1f2937; }
.admin-finish-reason small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: #667085; }






.fundo-virtual-backdrop {
  position: fixed;
  inset: 0;




  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, .55);
}

.fundo-virtual-caixa {
  width: min(520px, 100%);
  max-height: 80vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .28);
}

.fundo-virtual-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fundo-virtual-fechar {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.fundo-virtual-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}

.fundo-virtual-item {
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.fundo-virtual-item.ativo { border-color: var(--primary, #ff6b00); }

.fundo-virtual-mini {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
}

.fundo-virtual-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fundo-virtual-vazio {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #e2e8f0 0 8px, #f8fafc 8px 16px);
}

.fundo-virtual-desfoque {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  filter: blur(3px);
}

.fundo-virtual-nome {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fundo-virtual-aviso,
.fundo-virtual-estado {
  margin: 12px 0 0;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}


.fundo-virtual-item { position: relative; }

.fundo-virtual-item:disabled { cursor: default; }

.fundo-virtual-backdrop.aplicando .fundo-virtual-item:not(.carregando) { opacity: .45; }

.fundo-virtual-item.carregando .fundo-virtual-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(15, 23, 42, .45);
}

.fundo-virtual-item.carregando::after {
  content: '';
  position: absolute;
  top: calc(50% - 22px);
  left: calc(50% - 11px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  animation: fundo-virtual-giro .7s linear infinite;
}

@keyframes fundo-virtual-giro { to { transform: rotate(360deg); } }

.fundo-virtual-backdrop.aplicando .fundo-virtual-estado {
  color: #334155;
  font-weight: 600;
}




.fundo-carregando { position: relative; }

.fundo-carregando > video,
.fundo-carregando video {
  visibility: hidden;
}

.fundo-carregando::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #0f172a;
  border-radius: inherit;
}

.fundo-carregando::after {
  content: '';
  position: absolute;
  z-index: 6;
  top: calc(50% - 14px);
  left: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: fundo-virtual-giro .7s linear infinite;
}











.call-chat-botao { position: relative; }




.call-chat-selo {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .55);
  background: #e5484d;
  animation: call-chat-pulso 1.6s ease-in-out infinite;
}

@keyframes call-chat-pulso {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(229, 72, 77, 0); }
}


@media (prefers-reduced-motion: reduce) {
  .call-chat-selo { animation: none; }
}

.call-chat-painel {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 10100;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 24px));



  max-height: min(420px, calc(100vh - 190px));
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(15 23 42 / 38%);
  overflow: hidden;
}
.call-chat-painel[hidden] { display: none !important; }

.call-chat-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #e9ecef;
  color: #212529;
}
.call-chat-topo strong { font-size: 14px; }



.call-chat-abas {
  display: flex;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.call-chat-aba {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #e3e8ef;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.call-chat-aba:hover {
  border-color: var(--primary, #e8710a);
  color: var(--primary, #e8710a);
}

.call-chat-aba.active {
  border-color: transparent;
  background: var(--primary, #e8710a);
  color: #fff;
}
.call-chat-fechar {
  border: 0;
  background: transparent;
  font-size: 21px;
  line-height: 1;
  color: #868e96;
  cursor: pointer;
}



.call-chat-corpo {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #f8f9fa;
}
.call-chat-vazio { margin: auto 0; font-size: 12.5px; color: #adb5bd; text-align: center; }

.call-chat-balao {
  max-width: 86%;
  align-self: flex-start;
  padding: 8px 11px 16px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #e9ecef;
  color: #212529;
  font-size: 13.5px;
  position: relative;
}
.call-chat-balao.minha {
  align-self: flex-end;
  background: var(--primary, #334155);
  border-color: transparent;
  color: #fff;
}
.call-chat-balao p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.call-chat-quem { display: block; font-size: 10.5px; font-weight: 800; color: #868e96; margin-bottom: 2px; }
.call-chat-hora {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: 10px;
  opacity: .6;
}

.call-chat-pe {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 9px 10px;
  border-top: 1px solid #e9ecef;
  background: #fff;
}
.call-chat-pe textarea {
  flex: 1;
  min-width: 0;
  max-height: 96px;
  padding: 8px 10px;
  border: 1px solid #e9ecef;
  border-radius: 11px;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.4;
  color: #212529;
  background: #fff;
  resize: none;
  outline: 0;
}
.call-chat-enviar {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--primary, #334155);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 760px) {
  .call-chat-painel {
    left: 10px;
    right: 10px;
    width: auto;
    transform: none;
    bottom: 96px;
    max-height: min(60vh, calc(100dvh - 200px));
  }
}

/* ==== ./src/styles/forms.css ==== */
.phone-field-app {
  display: grid;
  grid-template-columns: 104px 1fr;
  width: 100%;
  padding-left: 40px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 46px;
}

.phone-field-app select,
.phone-field-app input {
  width: 100%;
  min-height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.phone-field-app select {
  padding: 0 2px 0 0;
  font-size: 13px;
  border-right: 0 !important;
  font-weight: 700;
  color: var(--text);
}

.phone-field-app input {
  padding: 0 12px 0 6px !important;
}

.field-control:focus-within .phone-field-app {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

/* ==== ./src/styles/cadastro.css ==== */
.cadastro-container-app {
  grid-template-columns: minmax(320px, 620px) minmax(0, 1fr);
}

body.route-cadastro {
  background:
    radial-gradient(1200px 700px at 0% 0%, color-mix(in srgb, var(--primary) 10%, var(--bg)), transparent 60%),
    radial-gradient(900px 520px at 100% 8%, color-mix(in srgb, var(--secondary) 10%, var(--bg)), transparent 60%),
    var(--bg);
}

.cadastro-card-app {
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding-right: 18px;
}

.cadastro-card-app .section-title {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.cadastro-page-app {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
}

.cadastro-page-app .brand {
  text-align: center;
  margin-bottom: 8px;
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: initial;
}

.cadastro-page-app .brand img {
  max-width: 180px;
  max-height: 70px;
  display: inline-block;
}

.cadastro-page-app .panel {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.cadastro-page-app .main {
  padding: 18px;
}

.cadastro-page-app ~ .popup-overlay {
  padding: 18px;
}

.cadastro-page-app ~ .popup-overlay .popup-content {
  width: 100%;
  max-width: 900px;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 10px;
}

.cadastro-page-app ~ .popup-overlay iframe {
  height: min(70vh, calc(100dvh - 120px));
}

.cadastro-page-app ~ .popup-overlay .popup-close {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  margin-top: 10px;
  font-weight: 800;
}

.cadastro-page-app .section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  margin: 8px 0 14px;
  font-weight: 900;
  color: #202733;
}

.cadastro-page-app .section-sub {
  margin: -4px 0 16px;
  color: var(--muted);
  font-weight: 600;
}

.cadastro-form-app {
  display: block;
}

.cadastro-form-app .form-group,
.cadastro-form-app .field-control,
.cadastro-form-app input,
.cadastro-form-app select {
  min-width: 0;
}

.cadastro-form-app .phone-field-app {
  grid-template-columns: 80px minmax(0, 1fr);
}

.form-shell {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

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

.form-group {
  position: relative;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 800;
  color: #2b3342;
  margin: 0 0 6px;
}

.field-control {
  position: relative;
}

.field-control .field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: color-mix(in srgb, var(--text) 62%, white);
  pointer-events: none;
  opacity: .9;
  display: grid;
  place-items: center;
  z-index: 2;
}

.field-control .field-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-group .field-control > input,
.form-group .field-control > select {
  width: 100%;
  padding: 12px 42px 12px 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--input);
  font: inherit;
  color: var(--text);
  outline: none;
  transition: .18s ease;
  min-height: 46px;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--input) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.form-group .field-control > input:focus,
.form-group .field-control > select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}



.form-group .field-control > .documento-field-app {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0;
  width: 100%;
  margin-left: 0;
  padding-left: 36px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--input);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-group .field-control > .documento-field-app select,
.form-group .field-control > .documento-field-app input {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: color 160ms ease;
}

.form-group .field-control > .documento-field-app select {
  max-width: 104px;
  padding: 0 24px 0 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2364758b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group .field-control > .documento-field-app input {
  padding: 0 36px 0 10px;
}

.form-group .field-control > .documento-field-app:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.form-group .field-control > .documento-field-app select:focus,
.form-group .field-control > .documento-field-app input:focus {
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.form-group .field-control > .documento-field-app + input[type="hidden"] {
  display: none;
}

.terms-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .45);
}

.terms-check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  border: none;
  border-radius: 999px;
  background: #d3d3d3;
  cursor: pointer;
  position: relative;
  flex: 0 0 20px;
  transition: 150ms;
}

.terms-check:hover {
  background: #959595;
  filter: brightness(1.15);
}

.terms-check:checked {
  background: var(--primary);
}

.terms-check::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.terms-check:checked::after {
  display: block;
}

.terms-row label {
  margin: 0;
  color: #344054;
  line-height: 1.35;
}

.terms-row a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

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

.submit-btn {
  flex: 1 1 220px;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
  background: var(--primary);
  color: #fff;
}

.submit-btn.secondary {
  background: rgba(17, 24, 39, .09);
  color: #202733;
}

.submit-btn[disabled] {
  background: #9aa3b2 !important;
  color: #fff;
  cursor: not-allowed;
}

.submit-btn:not([disabled]):hover {
  transform: translateY(-1px);
}

.cadastro-form-app .loading-icon {
  display: none;
  color: var(--primary);
  animation: spinInline 1s linear infinite;
}

.cadastro-form-app .check-icon {
  display: none;
  color: #0f9f3f;
}

.field-control .toggle-password,
.field-control .loading-icon,
.field-control .check-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.toggle-password {
  cursor: pointer;
  color: #58657a;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  z-index: 3;
  transition: background-color .18s ease, color .18s ease;
}

.toggle-password:hover,
.toggle-password:focus-visible {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  outline: none;
}

.error-message-inline {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.field-invalid {
  border-color: red !important;
  background: #ffd0d0 !important;
}


@media (max-width: 760px) {
  .cadastro-page-app {
    padding: 14px;
  }

  .cadastro-page-app .main {
    padding: 14px;
  }

  .cadastro-form-app .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cadastro-form-app .submit-btn {
    flex: 1 1 100%;
  }

  .cadastro-form-app .field-control input,
  .cadastro-form-app .field-control > select {
    font-size: 16px;
  }

  .cadastro-form-app .field-control > .documento-field-app {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

@media (max-width: 359px) {
  .cadastro-form-app .phone-field-app {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cadastro-form-app .field-control > .documento-field-app {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

/* ==== ./src/styles/vet.css ==== */
.vet-shell,
.vet-home {
  min-height: 100vh;
  padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  color: var(--text);
}

.vet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
}

.vet-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vet-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}

.vet-back-btn svg {
  width: 18px;
  height: 18px;
}

.vet-header-greet {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.vet-header-greet span {
  font-size: 10px;
  color: #777;
  font-weight: 600;
}

.vet-header-greet strong {
  font-size: 12px;
  color: #555;
  font-weight: 700;
}

.vet-logo-header {
  height: 36px;
  width: auto;
}

.vet-content {
  width: 100%;
}





.vet-shell .dependentes-page,
.vet-shell .dependente-form-page {
  width: calc(100% - 32px);
}

.vet-page-title {
  font-size: 18px;
  color: var(--primary);
  text-align: center;
  margin: 15px 0 0;
}

.vet-page-sub {
  font-size: 14px;
  color: var(--secondary);
  text-align: center;
  margin: 4px 0 20px;
}

.vet-pet-list {
  display: grid;
  gap: 10px;
}

.vet-pet-card {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 15px;
  margin: 10px auto;
  max-width: 400px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .12);
}

.vet-pet-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-right: 12px;
  background: rgba(255, 255, 255, .25);
}

.vet-pet-details h3 {
  margin: 3px 0;
  font-size: 15px;
  line-height: 1.25;
}

.vet-type-row {
  display: flex;
  align-items: center;
}

.vet-type-row img {
  width: 16px;
  height: 16px;
  filter: invert(1);
  margin-right: 4px;
}

.vet-pet-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.vet-btn-edit,
.vet-btn-new {
  width: 140px;
  padding: 10px 0;
  font-size: 15px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  margin-top: 6px;
}

.vet-btn-edit {
  background: var(--tertiary);
}

.vet-btn-new,
.vet-btn-add,
.vet-submit-btn {
  background: var(--secondary);
}

.vet-btn-add {
  display: block;
  width: calc(100% - 40px);
  max-width: 400px;
  margin: 20px auto 30px;
  padding: 10px 20px;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
}

.vet-empty-card {
  width: calc(100% - 40px);
  max-width: 400px;
  margin: 20px auto;
  background: rgba(255, 255, 255, .78);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.vet-animals-page {
  width: 100%;
  padding-bottom: 28px;
}

.vet-animal-card {
  cursor: default;
  margin-top: 10px;
  margin-bottom: 10px;
}

.vet-animal-actions {
  gap: 4px;
}

.vet-animal-actions .vet-btn-edit,
.vet-animal-actions .vet-btn-delete {
  margin-top: 4px;
}

.vet-btn-delete {
  width: 140px;
  min-width: 140px;
  padding: 10px 0;
  border: 0;
  background: #d9534f;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
}

.vet-att-card {
  align-items: flex-start;
}

.vet-att-info {
  background: var(--tertiary);
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  margin-top: 10px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.55;
}

.vet-btn-eval {
  background: #444;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
  width: 100%;
  margin-top: 8px;
}




.vet-home {
  min-height: 100vh;
  padding: 0 0 calc(96px + env(safe-area-inset-bottom, 0px));
  position: relative;
}

.vet-patient-home .icon-only-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-right: 2px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #636363;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  text-decoration: none;
}

.vet-patient-home .icon-only-action:hover,
.vet-patient-home .icon-only-action:focus-visible {
  background: transparent;
  border-color: #636363;
}

.vet-patient-home .icon-only-action img {
  filter: brightness(0) invert(1);
}

.vet-patient-home .patient-card {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 72%, #000 28%) 100%);
}

.vet-patient-home .policy-links button {
  appearance: none;
  border: 0;
  padding: 0;
  font: inherit;
}


.vet-home-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 10px 20px;
}

.vet-home-logo {
  width: 90px;
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
}

.vet-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: static;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 700;
}

.vet-logout img {
  width: 18px;
  filter: brightness(0) invert(1);
}

.vet-home h1 {
  color: var(--primary);
  font-size: 22px;
  margin: 0 0 -10px;
  text-align: center;
}

.vet-home-container {
  width: min(600px, calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.vet-patient-home .vet-button-item {
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}


.vet-home-card {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 15px;
  background: var(--vet-primary, var(--primary));
  color: #fff;
}

.vet-welcome-card {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  background: var(--vet-tertiary, var(--tertiary));
  color: #fff;
}

.vet-welcome-text {
  flex: 1;
}

.vet-user-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.vet-welcome-card span,
.vet-welcome-card p {
  margin: 0;
}

.vet-welcome-card strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

.vet-welcome-card p {
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

.vet-status-plan {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;
}

.vet-status-cell,
.vet-plan-cell {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 40px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 14px;
}

.vet-status-cell i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ff0000;
}

.vet-status-cell i.active {
  background: #00ff00;
}

.vet-home-card .vet-welcome-card small {
  display: none;
}

.vet-welcome-card small {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-weight: 800;
}

.vet-welcome-card em {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  padding: 6px 12px;
  font-style: normal;
  font-weight: 800;
  background: rgba(255, 255, 255, .18);
}

.vet-welcome-card em.active::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c853;
  margin-right: 6px;
}

.vet-home-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

.vet-home-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48%;
  height: 120px;
  margin: 10px 0 5px;
  border: 0;
  border-radius: 15px;
  background: var(--vet-secondary, var(--secondary));
  color: #fff;
  gap: 10px;
  font-weight: 900;
  box-shadow: none;
  cursor: pointer;
}

.vet-home-button img {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
}

.vet-chat-btn {
  position: fixed;
  right: 18px;
  bottom: 38px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--vet-primary, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.vet-chat-btn img {
  width: 28px;
  filter: brightness(0) invert(1);
}

.vet-legal {
  position: fixed;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  background: var(--bg);
  border-radius: 12px;
  padding: 4px 10px;
  color: var(--primary);
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.vet-legal button {
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

.vet-animal-form-wrap {
  width: 100%;
  max-width: 400px;
  margin: auto;
  text-align: center;
  padding: 20px 0 80px;
}

.vet-profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto 20px;
  padding: 0;
  background: #fff;
}

.vet-profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vet-animal-form label {
  font-size: 14px;
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
  text-align: left;
  padding-left: 35px;
  color: var(--secondary);
}

.vet-animal-form input,
.vet-animal-form select {
  width: calc(100% - 40px);
  padding: 10px 15px;
  margin-bottom: 10px;
  background: var(--input);
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.vet-animal-form input:focus,
.vet-animal-form select:focus {
  border-color: var(--primary);
  outline: none;
}

.vet-submit-btn,
.vet-delete-btn {
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  width: calc(100% - 40px);
}

.vet-delete-btn {
  background: #d9534f;
  margin-top: 5px;
}

@media (max-width: 640px) {
  .vet-pet-card,
  .vet-btn-add,
  .vet-empty-card {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    max-width: none;
  }

  .vet-home {
    padding-top: 0;
  }

  .vet-home-container {
    width: calc(100% - 24px);
    padding: 12px;
  }

  .vet-home-grid {
    width: 100%;
  }
}






.vet-patient-home .patient-card.hero-card {
  border-radius: 20px;
  padding: 12px 14px;
  background: linear-gradient(120deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 58%, #04122e 42%) 100%);
  box-shadow: 0 14px 30px rgba(6, 22, 50, .28);
}





.vet-shell:has(.vet-attendances-page) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vet-content:has(.vet-attendances-page) {
  box-sizing: border-box;
  flex: 1 1 auto;
}

.vet-attendances-page {
  --vet-attendances-icon: url('/vet/icones/atendimentos.svg');
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 640px;
  padding: 10px 18px 24px;
  width: 100%;
}

.vet-attendances-hero {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 2px 2px 18px;
}

.vet-attendances-hero-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.vet-attendances-hero-icon::before,
.vet-attendances-empty-icon::before {
  background: var(--primary);
  content: '';
  height: 26px;
  -webkit-mask: var(--vet-attendances-icon) center / contain no-repeat;
  mask: var(--vet-attendances-icon) center / contain no-repeat;
  width: 26px;
}

.vet-attendances-hero h1 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.25px;
  line-height: 1.1;
  margin: 0;
}

.vet-attendances-hero div > span {
  color: #64748b;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.vet-attendances-list {
  display: grid;
  gap: 12px;
}

.vet-attendance-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
  overflow: hidden;
}

.vet-attendance-card-header {
  align-items: center;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 47px;
  padding: 9px 14px;
}

.vet-attendance-date {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: 13.5px;
  font-weight: 800;
  gap: 8px;
  min-width: 0;
}

.vet-attendance-date svg {
  color: var(--primary);
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

.vet-attendance-status {
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  color: #475569;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 900;
  gap: 6px;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}

.vet-attendance-status i {
  background: currentColor;
  border-radius: 50%;
  display: block;
  height: 6px;
  width: 6px;
}

.vet-attendance-status.is-finished {
  background: #e8f7ee;
  color: #15803d;
}

.vet-attendance-status.is-cancelled {
  background: #fdecec;
  color: #dc2626;
}

.vet-attendance-status.is-expired {
  background: #f1f5f9;
  color: #64748b;
}

.vet-attendance-status.is-waiting {
  background: #fff7e6;
  color: #b45309;
}

.vet-attendance-status.is-progress {
  background: #e6f7fb;
  color: #0e7490;
}

.vet-attendance-status.is-scheduled {
  background: color-mix(in srgb, var(--primary) 11%, #fff);
  color: color-mix(in srgb, var(--primary) 82%, #111827);
}

.vet-attendance-pet {
  align-items: center;
  display: flex;
  gap: 13px;
  min-width: 0;
  padding: 15px 16px;
}

.vet-attendance-pet-photo {
  background: color-mix(in srgb, var(--primary) 8%, #f8fafc);
  border: 2px solid color-mix(in srgb, var(--primary) 18%, #fff);
  border-radius: 50%;
  flex: 0 0 58px;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.vet-attendance-pet-copy {
  min-width: 0;
}

.vet-attendance-pet-copy h2 {
  color: #27364a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}

.vet-attendance-pet-meta {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  gap: 7px;
  margin-top: 7px;
}

.vet-attendance-pet-meta > span {
  align-items: center;
  background: #f5f7fa;
  border-radius: 8px;
  display: inline-flex;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
}

.vet-attendance-pet-meta .vet-attendance-type {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  color: color-mix(in srgb, var(--primary) 78%, #334155);
}

.vet-attendance-type img {
  height: 15px;
  object-fit: contain;
  width: 15px;
}

.vet-attendance-card-footer {
  align-items: center;
  background: #fafbfc;
  border-top: 1px solid #eef2f7;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 11px 14px;
}

.vet-attendance-professional {
  align-items: center;
  display: flex;
  gap: 9px;
  min-width: 0;
}

.vet-attendance-professional-icon {
  align-items: center;
  background: color-mix(in srgb, var(--secondary) 10%, #fff);
  border-radius: 10px;
  color: var(--secondary);
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.vet-attendance-professional-icon svg {
  height: 18px;
  width: 18px;
}

.vet-attendance-professional div {
  min-width: 0;
}

.vet-attendance-professional small,
.vet-attendance-professional strong {
  display: block;
}

.vet-attendance-professional small {
  color: #94a3b8;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .4px;
  line-height: 1;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.vet-attendance-professional strong {
  color: #475569;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vet-attendance-rate {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 5px 12px color-mix(in srgb, var(--primary) 20%, transparent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 12.5px;
  font-weight: 900;
  gap: 6px;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  transition: filter .15s ease, transform .15s ease;
}

.vet-attendance-rate:hover {
  filter: brightness(.94);
}

.vet-attendance-rate:active {
  transform: translateY(1px);
}

.vet-attendance-rate svg {
  height: 16px;
  width: 16px;
}

.vet-attendances-pagination {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 18px auto 0;
}

.vet-attendances-page-button {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  height: 35px;
  justify-content: center;
  min-width: 35px;
  padding: 0 8px;
}

.vet-attendances-page-button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.vet-attendances-page-button.is-arrow svg {
  height: 16px;
  width: 16px;
}

.vet-attendances-page-button:disabled {
  cursor: default;
  opacity: .38;
}

.vet-attendances-empty {
  align-items: center;
  background: #fff;
  border: 1px dashed #dbe2ea;
  border-radius: 16px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 10px;
  justify-content: center;
  min-height: 210px;
  padding: 28px 18px;
  text-align: center;
}

.vet-attendances-empty-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border-radius: 16px;
  display: flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

@media (max-width: 520px) {
  .vet-attendances-page {
    padding: 7px 12px 18px;
  }

  .vet-attendances-hero {
    padding-left: 2px;
    padding-right: 2px;
  }

  .vet-attendances-hero-icon {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  .vet-attendances-hero h1 {
    font-size: 21px;
  }

  .vet-attendance-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .vet-attendance-professional strong {
    max-width: calc(100vw - 100px);
  }

  .vet-attendance-rate {
    min-height: 42px;
    width: 100%;
  }
}

@media (max-width: 350px) {
  .vet-attendance-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vet-attendance-pet {
    padding: 13px;
  }

  .vet-attendance-pet-photo {
    flex-basis: 52px;
    height: 52px;
    width: 52px;
  }
}






.vet-shell:has(.vet-animals-modern) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vet-content:has(.vet-animals-modern) {
  box-sizing: border-box;
  flex: 1 1 auto;
}

.vet-animals-page.vet-animals-modern {
  --vet-animals-icon: url('/vet/icones/animais.svg');
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 640px;
  padding: 10px 18px 28px;
  width: 100%;
}

.vet-animals-hero {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 2px 2px 18px;
}

.vet-animals-hero-icon,
.vet-animals-empty-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.vet-animals-hero-icon::before,
.vet-animals-empty-icon::before {
  background: var(--primary);
  content: '';
  height: 26px;
  -webkit-mask: var(--vet-animals-icon) center / contain no-repeat;
  mask: var(--vet-animals-icon) center / contain no-repeat;
  width: 26px;
}

.vet-animals-hero h1 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.25px;
  line-height: 1.1;
  margin: 0;
}

.vet-animals-hero div > span {
  color: #64748b;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
}

.vet-animals-list {
  display: grid;
  gap: 12px;
}

.vet-animal-modern-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
  overflow: hidden;
}

.vet-animal-modern-main {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 16px;
}

.vet-animal-modern-photo {
  background: color-mix(in srgb, var(--primary) 8%, #f8fafc);
  border: 2px solid color-mix(in srgb, var(--primary) 18%, #fff);
  border-radius: 50%;
  flex: 0 0 68px;
  height: 68px;
  object-fit: cover;
  width: 68px;
}

.vet-animal-modern-copy {
  min-width: 0;
}

.vet-animal-modern-copy h2 {
  color: #27364a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}

.vet-animal-modern-meta {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  gap: 7px;
  margin-top: 8px;
}

.vet-animal-modern-meta > span {
  align-items: center;
  background: #f5f7fa;
  border-radius: 8px;
  display: inline-flex;
  gap: 5px;
  min-height: 27px;
  padding: 4px 9px;
}

.vet-animal-modern-meta .vet-animal-modern-type {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  color: color-mix(in srgb, var(--primary) 78%, #334155);
}

.vet-animal-modern-type img {
  height: 15px;
  object-fit: contain;
  width: 15px;
}

.vet-animal-modern-actions {
  background: #fafbfc;
  border-top: 1px solid #eef2f7;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px 12px;
}

.vet-animal-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  width: 100%;
}

.vet-animal-action svg {
  height: 17px;
  width: 17px;
}

.vet-animal-action.is-edit {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border-color: color-mix(in srgb, var(--primary) 18%, #fff);
  color: var(--primary);
}

.vet-animal-action.is-edit:hover {
  background: color-mix(in srgb, var(--primary) 15%, #fff);
}

.vet-animal-action.is-delete {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #dc2626;
}

.vet-animal-action.is-delete:hover {
  background: #ffe4e6;
}

.vet-animal-action:active,
.vet-animals-add:active {
  transform: translateY(1px);
}

.vet-animals-add {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 14px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 24%, transparent);
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  min-height: 50px;
  padding: 12px 16px;
  width: 100%;
}

.vet-animals-add svg {
  height: 19px;
  width: 19px;
}

.vet-animals-empty {
  align-items: center;
  background: #fff;
  border: 1px dashed #dbe2ea;
  border-radius: 16px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 10px;
  justify-content: center;
  min-height: 210px;
  padding: 28px 18px;
  text-align: center;
}

.vet-animals-empty-icon {
  flex-basis: 54px;
  height: 54px;
  width: 54px;
}

@media (max-width: 520px) {
  .vet-animals-page.vet-animals-modern {
    padding: 7px 12px 20px;
  }

  .vet-animals-hero-icon {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  .vet-animals-hero h1 {
    font-size: 21px;
  }
}

@media (max-width: 350px) {
  .vet-animal-modern-main {
    gap: 11px;
    padding: 13px;
  }

  .vet-animal-modern-photo {
    flex-basis: 58px;
    height: 58px;
    width: 58px;
  }

  .vet-animal-action {
    padding-left: 8px;
    padding-right: 8px;
  }
}


.vet-shell:has(.vet-animal-editor) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.vet-content:has(.vet-animal-editor) {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.vet-animal-editor {
  --vet-animals-icon: url('/vet/icones/animais.svg');
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 560px;
  padding: 8px 18px 28px;
  width: 100%;
}

.vet-animal-editor-hero {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 2px 2px 18px;
}

.vet-animal-editor-hero-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.vet-animal-editor-hero-icon::before {
  background: var(--primary);
  content: '';
  height: 26px;
  -webkit-mask: var(--vet-animals-icon) center / contain no-repeat;
  mask: var(--vet-animals-icon) center / contain no-repeat;
  width: 26px;
}

.vet-animal-editor-hero h1 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.25px;
  line-height: 1.1;
  margin: 0;
}

.vet-animal-editor-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
  padding: 20px;
}

.vet-animal-photo-area {
  display: flex;
  justify-content: center;
  padding: 2px 0 22px;
}

.vet-animal-photo-button {
  background: color-mix(in srgb, var(--primary) 6%, #f8fafc);
  border: 3px solid color-mix(in srgb, var(--primary) 24%, #fff);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .1);
  cursor: pointer;
  height: 122px;
  padding: 0;
  position: relative;
  transition: border-color .15s ease, transform .15s ease;
  width: 122px;
}

.vet-animal-photo-button:hover {
  border-color: var(--primary);
}

.vet-animal-photo-button:active {
  transform: scale(.985);
}

.vet-animal-photo-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 24%, transparent);
  outline-offset: 3px;
}

.vet-animal-photo-button > img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.vet-animal-photo-badge {
  align-items: center;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50%;
  bottom: -2px;
  box-shadow: 0 3px 9px color-mix(in srgb, var(--primary) 28%, transparent);
  color: #fff;
  display: flex;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: -2px;
  width: 36px;
}

.vet-animal-photo-badge svg {
  height: 18px;
  width: 18px;
}

.vet-animal-editor-fields {
  display: grid;
  gap: 14px;
}

.vet-animal-editor-field {
  color: #334155;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
}

.vet-animal-editor-field > span:first-child,
.vet-animal-editor-field > label {
  padding-left: 2px;
}

.vet-animal-editor-field input,
.vet-animal-editor-field select {
  appearance: none;
  background: #f7f9fc;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  box-sizing: border-box;
  color: #243247;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  height: 50px;
  margin: 0;
  min-width: 0;
  padding: 0 14px;
  width: 100%;
}

.vet-animal-editor-field input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.vet-animal-editor-field input:focus,
.vet-animal-editor-field select:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
  outline: none;
}

.vet-animal-editor-select {
  display: block;
  min-width: 0;
  position: relative;
}

.vet-animal-editor-select > select {
  border: 0;
  height: 100%;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.vet-animal-select-btn {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, #e2e8f0);
  border-radius: 14px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}

.vet-animal-select-btn:hover:not(:disabled) {
  border-color: #cbd5e1;
}

.vet-animal-select-btn.is-placeholder {
  color: color-mix(in srgb, var(--primary) 55%, #475569);
  font-weight: 600;
}

.vet-animal-editor-select.is-open .vet-animal-select-btn {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.vet-animal-select-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vet-animal-select-btn > svg {
  color: #64748b;
  flex: 0 0 auto;
  height: 18px;
  transition: transform .15s ease;
  width: 18px;
}

.vet-animal-editor-select.is-open .vet-animal-select-btn > svg {
  transform: rotate(180deg);
}

.vet-animal-select-panel {
  animation: vetAnimalSelectOpen .12s ease-out;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  left: 0;
  margin-top: 8px;
  max-height: min(300px, 55vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  position: absolute;
  right: 0;
  scrollbar-color: rgba(100, 116, 139, .35) transparent;
  scrollbar-width: thin;
  top: 100%;
  z-index: 60;
}

.vet-animal-select-panel[hidden] {
  display: none;
}

.vet-animal-select-panel::-webkit-scrollbar {
  width: 8px;
}

.vet-animal-select-panel::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, .3);
  border-radius: 999px;
}

.vet-animal-select-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #334155;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  justify-content: space-between;
  padding: 11px 12px;
  text-align: left;
  width: 100%;
}

.vet-animal-select-option:hover,
.vet-animal-select-option:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.vet-animal-select-option.is-selected {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
  font-weight: 800;
}

.vet-animal-select-check {
  flex: 0 0 auto;
  height: 15px;
  opacity: 0;
  width: 15px;
}

.vet-animal-select-option.is-selected .vet-animal-select-check {
  opacity: 1;
}

@keyframes vetAnimalSelectOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.vet-animal-editor-message:empty {
  display: none;
}

.vet-animal-editor-message:not(:empty) {
  margin-top: 14px;
}

.vet-animal-editor-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.vet-animal-editor-actions.is-editing {
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
}

.vet-animal-editor-save,
.vet-animal-editor-delete {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 50px;
  padding: 11px 16px;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  width: 100%;
}

.vet-animal-editor-save {
  background: var(--primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 22%, transparent);
  color: #fff;
}

.vet-animal-editor-delete {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #dc2626;
}

.vet-animal-editor-delete:hover {
  background: #ffe4e6;
}

.vet-animal-editor-save:active,
.vet-animal-editor-delete:active {
  transform: translateY(1px);
}

.vet-animal-editor-save svg,
.vet-animal-editor-delete svg {
  height: 18px;
  width: 18px;
}

@media (max-width: 520px) {
  .vet-animal-editor {
    padding: 7px 12px 20px;
  }

  .vet-animal-editor-hero-icon {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  .vet-animal-editor-hero h1 {
    font-size: 21px;
  }

  .vet-animal-editor-form {
    padding: 17px 14px;
  }

  .vet-animal-editor-actions.is-editing {
    grid-template-columns: 1fr;
  }
}


.vet-shell:has(.vet-consulta-modern) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.vet-content:has(.vet-consulta-modern) {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.vet-consulta-modern {
  --vet-consulta-icon: url('/vet/icones/animais.svg');
  box-sizing: border-box;
  margin: auto;
  max-width: 560px;
  padding: 10px 18px 28px;
  width: 100%;
}

.vet-consulta-hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  text-align: center;
}

.vet-consulta-hero-icon,
.vet-consulta-empty-icon {
  align-items: center;
  background: color-mix(in srgb, var(--primary) 9%, #fff);
  border-radius: 50%;
  display: flex;
  height: 92px;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  width: 92px;
}

.vet-consulta-hero-icon::before,
.vet-consulta-empty-icon::before {
  background: var(--primary);
  content: '';
  height: 46px;
  -webkit-mask: var(--vet-consulta-icon) center / contain no-repeat;
  mask: var(--vet-consulta-icon) center / contain no-repeat;
  width: 46px;
}

.vet-consulta-hero-icon::after {
  align-items: center;
  background: var(--primary);
  border: 3px solid var(--bg);
  border-radius: 50%;
  bottom: 1px;
  color: #fff;
  content: '+';
  display: flex;
  font-size: 20px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1px;
  width: 30px;
}

.vet-consulta-hero h1 {
  color: #1d2939;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.3px;
  line-height: 1.15;
  margin: 0;
}

.vet-consulta-hero p {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 7px 0 0;
}

.vet-consulta-pets {
  display: grid;
  gap: 11px;
}

.vet-consulta-pet {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .045);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  overflow: hidden;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.vet-consulta-pet.is-selected {
  background: color-mix(in srgb, var(--primary) 5%, #fff);
  border-color: color-mix(in srgb, var(--primary) 62%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 11%, transparent);
}

.vet-consulta-pet-choice {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 12px;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  min-width: 0;
  padding: 13px 12px 13px 13px;
  text-align: left;
}

.vet-consulta-pet-choice:active {
  transform: translateY(1px);
}

.vet-consulta-pet-choice:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 17%, transparent);
  outline-offset: -3px;
}

.vet-consulta-avatar {
  background: color-mix(in srgb, var(--primary) 8%, #f8fafc);
  border: 2px solid color-mix(in srgb, var(--primary) 18%, #fff);
  border-radius: 50%;
  display: block;
  height: 64px;
  overflow: hidden;
  width: 64px;
}

.vet-consulta-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.vet-consulta-pet-copy {
  min-width: 0;
}

.vet-consulta-pet-copy > strong {
  color: #26364a;
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vet-consulta-pet-meta {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  gap: 7px;
  line-height: 1.3;
  margin-top: 7px;
}

.vet-consulta-pet-type {
  align-items: center;
  color: color-mix(in srgb, var(--primary) 75%, #334155);
  display: inline-flex;
  gap: 5px;
}

.vet-consulta-pet-type img {
  height: 16px;
  object-fit: contain;
  width: 16px;
}

.vet-consulta-meta-dot {
  background: #cbd5e1;
  border-radius: 50%;
  height: 4px;
  width: 4px;
}

.vet-consulta-check {
  align-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  color: transparent;
  display: flex;
  height: 24px;
  justify-content: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  width: 24px;
}

.vet-consulta-check svg {
  height: 14px;
  width: 14px;
}

.vet-consulta-pet.is-selected .vet-consulta-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.vet-consulta-edit {
  align-items: center;
  align-self: stretch;
  background: #f8fafc;
  border: 0;
  border-left: 1px solid #edf1f5;
  color: #64748b;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  font-size: 11.5px;
  font-weight: 900;
  gap: 5px;
  justify-content: center;
  min-height: 90px;
  padding: 8px;
  transition: background-color .15s ease, color .15s ease;
}

.vet-consulta-edit:hover {
  background: color-mix(in srgb, var(--primary) 7%, #fff);
  color: var(--primary);
}

.vet-consulta-edit svg {
  height: 18px;
  width: 18px;
}

.vet-consulta-create,
.vet-consulta-add {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 50px;
  padding: 11px 16px;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease, transform .15s ease;
  width: 100%;
}

.vet-consulta-create {
  background: var(--primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 22%, transparent);
  color: #fff;
  margin-top: 16px;
}

.vet-consulta-create:disabled {
  background: #d8dee7;
  box-shadow: none;
  color: #8491a3;
  cursor: default;
}

.vet-consulta-add {
  background: #fff;
  border-color: color-mix(in srgb, var(--primary) 22%, #e2e8f0);
  color: var(--primary);
  margin-top: 10px;
}

.vet-consulta-add:hover {
  background: color-mix(in srgb, var(--primary) 6%, #fff);
}

.vet-consulta-create:not(:disabled):active,
.vet-consulta-add:active {
  transform: translateY(1px);
}

.vet-consulta-create svg,
.vet-consulta-add svg {
  height: 19px;
  width: 19px;
}

.vet-consulta-empty {
  align-items: center;
  background: #fff;
  border: 1px dashed #d8e0e9;
  border-radius: 16px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 3px;
  justify-content: center;
  min-height: 190px;
  padding: 24px 18px;
  text-align: center;
}

.vet-consulta-empty-icon {
  height: 64px;
  margin-bottom: 9px;
  width: 64px;
}

.vet-consulta-empty-icon::before {
  height: 32px;
  width: 32px;
}

@media (max-width: 520px) {
  .vet-consulta-modern {
    padding: 6px 12px 20px;
  }

  .vet-consulta-hero-icon {
    height: 82px;
    margin-bottom: 12px;
    width: 82px;
  }

  .vet-consulta-hero-icon::before {
    height: 41px;
    width: 41px;
  }

  .vet-consulta-hero-icon::after {
    height: 28px;
    width: 28px;
  }

  .vet-consulta-hero h1 {
    font-size: 21px;
  }
}

@media (max-width: 365px) {
  .vet-consulta-pet {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .vet-consulta-pet-choice {
    gap: 9px;
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    padding-left: 10px;
    padding-right: 9px;
  }

  .vet-consulta-avatar {
    height: 56px;
    width: 56px;
  }

  .vet-consulta-pet-copy > strong {
    font-size: 15.5px;
  }

  .vet-consulta-check {
    height: 21px;
    width: 21px;
  }
}









@media (min-width: 1024px) {



  .vet-shell.vet-shell {
    display: grid;
    grid-template-columns: 254px minmax(0, 1fr);

    grid-template-rows: auto 1fr;
    align-items: start;
    min-height: 100vh;

    padding-bottom: 0;
  }

  .vet-shell > .vet-header,
  .vet-shell > .vet-content {
    grid-column: 2;
    min-width: 0;
  }

  .vet-shell > .vet-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 36px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }


  .vet-shell .vet-logo-header {
    order: -1;
    width: 132px;
    height: auto;
    max-width: 190px;
    max-height: 52px;
    object-fit: contain;
  }



  .vet-shell .vet-header-greet,
  .vet-shell .vet-back-btn {
    display: none;
  }


  .vet-shell > .dock,
  .vet-shell > .app-menu-drawer {
    display: none !important;
  }

  .vet-shell > .vet-content {
    padding-bottom: 32px;
  }




  .vet-shell > .root-header-spacer {
    display: none;
  }
}





@media (min-width: 1024px) {





  .vet-patient-home .hero-decor-cross {
    color: rgba(255, 255, 255, .26);
  }



  .vet-patient-home .main-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .vet-patient-home .main-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}







@media (min-width: 1024px) {

  .vet-attendances-page {
    max-width: 1180px;
    padding: 30px 40px 24px;
  }

  .vet-attendances-hero {
    padding: 2px 2px 22px;
  }

  .vet-attendances-hero-icon {
    flex: 0 0 56px;
    height: 56px;
    width: 56px;
    border-radius: 16px;
  }

  .vet-attendances-hero-icon::before {
    height: 30px;
    width: 30px;
  }

  .vet-attendances-hero h1 {
    font-size: 30px;
    letter-spacing: -.5px;
  }



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

  .vet-attendances-pagination {
    margin-top: 26px;
  }


  .vet-animals-page.vet-animals-modern {
    max-width: 1180px;
    padding: 30px 40px 32px;
  }

  .vet-animals-hero {
    padding: 2px 2px 22px;
  }

  .vet-animals-hero-icon {
    flex: 0 0 56px;
    height: 56px;
    width: 56px;
    border-radius: 16px;
  }

  .vet-animals-hero-icon::before {
    height: 30px;
    width: 30px;
  }

  .vet-animals-hero h1 {
    font-size: 30px;
    letter-spacing: -.5px;
  }

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



  .vet-animals-add {
    margin-left: auto;
    margin-top: 20px;
    width: 240px;
  }


  .vet-animal-editor {
    max-width: 1180px;
    padding: 30px 40px 32px;
  }

  .vet-animal-editor-hero {
    padding: 2px 2px 22px;
  }

  .vet-animal-editor-hero-icon {
    flex: 0 0 56px;
    height: 56px;
    width: 56px;
    border-radius: 16px;
  }

  .vet-animal-editor-hero-icon::before {
    height: 30px;
    width: 30px;
  }

  .vet-animal-editor-hero h1 {
    font-size: 30px;
    letter-spacing: -.5px;
  }



  .vet-animal-editor-form {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px 28px;
    align-items: start;
    padding: 24px 26px;
  }

  .vet-animal-photo-area {
    grid-column: 1;
    justify-content: flex-start;
    padding: 0;
  }

  .vet-animal-photo-button {
    height: 150px;
    width: 150px;
  }

  .vet-animal-editor-fields {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .vet-animal-editor-message,
  .vet-animal-editor-actions {
    grid-column: 1 / -1;
  }


  .vet-animal-editor-actions,
  .vet-animal-editor-actions.is-editing {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 0;
  }

  .vet-animal-editor-save,
  .vet-animal-editor-delete {
    padding: 0 18px;
    width: 240px;
  }


  .vet-consulta-modern {
    margin: 0 auto;
    max-width: 1180px;
    padding: 30px 40px 32px;
  }




  .vet-consulta-hero {
    align-items: center;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 2px 16px;
    margin-bottom: 22px;
    text-align: left;
  }

  .vet-consulta-hero-icon {
    grid-row: 1 / span 2;
    height: 64px;
    margin-bottom: 0;
    width: 64px;
  }

  .vet-consulta-hero-icon::before {
    height: 32px;
    width: 32px;
  }

  .vet-consulta-hero-icon::after {
    font-size: 16px;
    height: 26px;
    width: 26px;
  }

  .vet-consulta-hero h1 {
    font-size: 30px;
    letter-spacing: -.5px;
  }

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

  .vet-consulta-create,
  .vet-consulta-add {
    margin-left: auto;
    width: 240px;
  }
}






@media (min-width: 1024px) {

  .patient-topbar-actions .vet-animal-editor-save,
  .patient-topbar-actions .vet-animal-editor-delete,
  .patient-topbar-actions .vet-animals-add,
  .patient-topbar-actions .vet-consulta-create,
  .patient-topbar-actions .vet-consulta-add {
    align-items: center;
    border-radius: 10px;
    box-shadow: none;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    height: 40px;
    justify-content: center;
    margin: 0;
    min-height: 40px;
    min-width: 0;
    padding: 0 14px;
    white-space: nowrap;
    width: auto;
  }

  .patient-topbar-actions svg {
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
  }


  .vet-animal-editor-actions,
  .vet-animal-editor-actions.is-editing,
  .vet-animals-actions,
  .vet-consulta-actions {
    display: none;
  }


  .vet-attendances-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .vet-attendance-card {
    align-items: center;
    display: flex;
    gap: 14px;
    padding: 14px 18px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .vet-attendance-card:hover {
    border-color: color-mix(in srgb, var(--primary) 26%, #e5e7eb);
    box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 30px -20px rgba(15, 23, 42, .34);
    transform: translateX(2px);
  }



  .vet-attendance-card-header,
  .vet-attendance-pet,
  .vet-attendance-card-footer {
    display: contents;
  }

  .vet-attendance-pet-photo {
    flex: 0 0 50px;
    height: 50px;
    order: 1;
    width: 50px;
  }

  .vet-attendance-pet-copy {
    flex: 1 1 auto;
    min-width: 0;
    order: 2;
  }

  .vet-attendance-pet-copy h2 {
    font-size: 16px;
  }

  .vet-attendance-pet-meta {
    margin-top: 4px;
  }



  .vet-attendance-professional {
    display: none;
  }

  .vet-attendance-date {
    flex: 0 0 122px;
    font-size: 13px;
    order: 4;
  }

  .vet-attendance-status {
    justify-content: center;
    min-width: 104px;
    order: 5;
  }



  .vet-attendance-rate {
    flex: 0 0 116px;
    justify-content: center;
    order: 6;
    width: 116px;
  }
}

@media (min-width: 1200px) {
  .vet-attendance-professional {
    display: flex;
    flex: 0 0 200px;
    order: 3;
  }
}

/* ==== ./src/styles/responsive.css ==== */
@media (max-width: 960px) {
  .desktop-container {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .desktop-banner {
    min-height: 260px;
    order: -1;
  }

  .container {
    padding: 18px;
  }
}

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

  .profile span {
    display: none;
  }

  .shell {
    padding-inline: 14px;
  }

  .hero {
    border-radius: 28px;
    padding: 26px;
  }

}

@media (max-width: 560px) {
  .page-shell {
    padding: 12px;
  }

  .desktop-banner {
    display: none;
  }

  .container {
    border-radius: 18px;
    padding: 16px;
  }

  .input-container {
    min-height: 50px;
  }
}

@keyframes spinInline {
  from { transform: translateY(-50%) rotate(0); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bannerIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: var(--banner-opacity); transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==== ./src/styles/fa-solid.css ==== */

@font-face {
  font-family: 'Font Awesome 6 Free'; font-style: normal; font-weight: 900; font-display: swap;




  src: url('../webfonts/fa-solid-900.woff2?v=20260913') format('woff2');
}
.fas, .fa-solid {
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-style: normal; font-variant: normal; text-rendering: auto;
  line-height: 1; display: inline-block; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;
}
.fa-spin { animation: fa-spin 2s linear infinite; }
@keyframes fa-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.fa-arrow-down:before { content: "\f063"; }
.fa-arrow-up:before { content: "\f062"; }
.fa-ban:before { content: "\f05e"; }
.fa-barcode:before { content: "\f02a"; }
.fa-bold:before { content: "\f032"; }
.fa-box:before { content: "\f466"; }
.fa-building:before { content: "\f1ad"; }
.fa-calculator:before { content: "\f1ec"; }
.fa-calendar-check:before { content: "\f274"; }
.fa-calendar-day:before { content: "\f783"; }
.fa-check:before { content: "\f00c"; }
.fa-check-circle:before { content: "\f058"; }
.fa-check-double:before { content: "\f560"; }
.fa-chevron-down:before { content: "\f078"; }
.fa-chevron-left:before { content: "\f053"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-clock:before { content: "\f017"; }
.fa-code:before { content: "\f121"; }
.fa-copy:before { content: "\f0c5"; }
.fa-dollar-sign:before { content: "\24"; }
.fa-door-open:before { content: "\f52b"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-eraser:before { content: "\f12d"; }
.fa-eye:before { content: "\f06e"; }
.fa-eye-slash:before { content: "\f070"; }
.fa-file-code:before { content: "\f1c9"; }
.fa-file-invoice:before { content: "\f570"; }
.fa-file-invoice-dollar:before { content: "\f571"; }
.fa-file-medical:before { content: "\f477"; }
.fa-file-pdf:before { content: "\f1c1"; }
.fa-hand-holding-usd:before { content: "\f4c0"; }
.fa-headset:before { content: "\f590"; }
.fa-heart:before { content: "\f004"; }
.fa-hourglass-half:before { content: "\f254"; }
.fa-id-card:before { content: "\f2c2"; }
.fa-image:before { content: "\f03e"; }
.fa-italic:before { content: "\f033"; }
.fa-key:before { content: "\f084"; }
.fa-layer-group:before { content: "\f5fd"; }
.fa-link:before { content: "\f0c1"; }
.fa-list-ul:before { content: "\f0ca"; }
.fa-lock:before { content: "\f023"; }
.fa-minus-circle:before { content: "\f056"; }
.fa-mobile-alt:before { content: "\f3cd"; }
.fa-paper-plane:before { content: "\f1d8"; }
.fa-paw:before { content: "\f1b0"; }
.fa-pen:before { content: "\f304"; }
.fa-phone:before { content: "\f095"; }
.fa-phone-slash:before { content: "\f3dd"; }
.fa-phone-volume:before { content: "\f2a0"; }
.fa-plus:before { content: "\2b"; }
.fa-rotate-left:before { content: "\f2ea"; }
.fa-satellite-dish:before { content: "\f7c0"; }
.fa-save:before { content: "\f0c7"; }
.fa-shield-alt:before { content: "\f3ed"; }
.fa-sign-out-alt:before { content: "\f2f5"; }
.fa-sitemap:before { content: "\f0e8"; }
.fa-sliders-h:before { content: "\f1de"; }
.fa-smile:before { content: "\f118"; }
.fa-spinner:before { content: "\f110"; }
.fa-stethoscope:before { content: "\f0f1"; }
.fa-trash:before { content: "\f1f8"; }
.fa-user-clock:before { content: "\f4fd"; }
.fa-users:before { content: "\f0c0"; }
.fa-video:before { content: "\f03d"; }
.fa-user-md:before { content: "\f0f0"; }
.fa-search:before { content: "\f002"; }
.fa-times:before { content: "\f00d"; }
.fa-edit:before { content: "\f044"; }
.fa-download:before { content: "\f019"; }
.fa-upload:before { content: "\f093"; }
.fa-calendar:before { content: "\f133"; }
.fa-comment:before { content: "\f075"; }
.fa-tint:before { content: "\f043"; }
.fa-pills:before { content: "\f484"; }
.fa-syringe:before { content: "\f48e"; }

/* ==== ./src/styles/suporte-chat.css ==== */












.cl-chat-bolha {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--primary, #334155);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: transform .16s;
}
.cl-chat-bolha svg { width: 40px; height: 40px; }
.cl-chat-topo-icone svg { width: 20px; height: 20px; }
.cl-chat-bolha:hover { transform: translateY(-2px); }
.cl-chat-bolha[hidden] { display: none !important; }







.cl-chat-bolha.tem-novas {
  background: #e5484d;
  animation: cl-chat-pulsa 1.8s ease-out infinite;
}
@keyframes cl-chat-pulsa {
  0%   { box-shadow: 0 0 0 0 rgb(229 72 77 / 55%); }
  70%  { box-shadow: 0 0 0 12px rgb(229 72 77 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(229 72 77 / 0%); }
}



.cl-chat-bolha.na-chamada {
  right: auto;
  left: 18px;
}






.cl-chat-dock-item { position: relative; }
.cl-chat-dock-item .cl-chat-ponto {
  position: absolute;
  top: 2px;
  right: calc(50% - 22px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
  letter-spacing: -.2px;
}
.cl-chat-dock-item .cl-chat-ponto[hidden] { display: none; }


.cl-chat-bolha .cl-chat-ponto {
  position: absolute;



  top: 6px;
  right: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  letter-spacing: -.2px;
}

.cl-chat-janela {
  border: 1px solid #e6eaf0;
  position: fixed;
  right: 18px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 36px));
  height: min(560px, calc(100vh - 140px));
  border-radius: 18px;
  background: #fff;
  color: #16202a;
  box-shadow: 0 16px 48px rgb(16 24 40 / 18%);
  overflow: hidden;
  font-size: 14px;
}
.cl-chat-janela[hidden] { display: none !important; }

.cl-chat-topo {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 14px 13px;
  background: #fff;
  border-bottom: 1px solid #e6eaf0;
}
.cl-chat-topo-icone {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary, #334155);
  color: #fff;
  font-size: 16px;
}
.cl-chat-topo-texto { flex: 1; min-width: 0; display: grid; }
.cl-chat-topo-texto strong { font-size: 15px; }
.cl-chat-topo-texto small { font-size: 11.5px; color: #6b7a8a; }
.cl-chat-fechar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: #eef1f5;
  color: #4b5a68;
  cursor: pointer;
}
.cl-chat-fechar:hover { background: #e2e7ee; }

.cl-chat-corpo {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  scrollbar-width: thin;
  scrollbar-color: #cbd4de transparent;
}
.cl-chat-corpo::-webkit-scrollbar { width: 7px; }
.cl-chat-corpo::-webkit-scrollbar-thumb { background: #cbd4de; border-radius: 99px; }

.cl-chat-balao {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.cl-chat-balao.deles { align-self: flex-start; background: #f1f4f8; }
.cl-chat-balao.minha { align-self: flex-end; background: var(--primary, #334155); color: #fff; }
.cl-chat-balao-autor {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  opacity: .72;
}
.cl-chat-sistema {
  align-self: center;
  max-width: 90%;
  padding: 5px 12px;
  border-radius: 99px;
  background: #eef1f5;
  color: #6b7a8a;
  font-size: 12px;
  text-align: center;
}



.cl-chat-digitando { align-self: flex-start; display: flex; gap: 4px; padding: 11px 13px; border-radius: 13px; background: #f1f4f8; }
.cl-chat-digitando span {
  width: 6px; height: 6px; border-radius: 50%; background: #94a3b2;
  animation: cl-chat-pulo 1.1s infinite ease-in-out;
}
.cl-chat-digitando span:nth-child(2) { animation-delay: .15s; }
.cl-chat-digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes cl-chat-pulo {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cl-chat-digitando span { animation: none; }
  .cl-chat-bolha { transition: none; }
  .cl-chat-bolha.tem-novas { animation: none; }
}

.cl-chat-pe { padding: 10px 12px 12px; background: #fff; border-top: 1px solid #e6eaf0; }
.cl-chat-caixa {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 14px;
  background: #f1f4f8;
}
.cl-chat-caixa textarea {
  flex: 1;
  min-width: 0;
  max-height: 110px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #16202a;
  font: inherit;
  line-height: 1.45;
  resize: none;
  outline: 0;
}
.cl-chat-caixa textarea::placeholder { color: #94a3b2; }
.cl-chat-enviar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--primary, #334155);
  color: #fff;
  cursor: pointer;
}
.cl-chat-enviar:disabled { opacity: .45; cursor: not-allowed; }

.cl-chat-aviso { padding: 8px 2px 0; color: #b4232a; font-size: 12px; }


@media (max-width: 520px) {
  .cl-chat-janela {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .cl-chat-bolha { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}



.cl-chat-anexo-menu {
  position: absolute;
  left: 12px;
  bottom: 70px;
  z-index: 2;
  display: grid;
  min-width: 206px;
  padding: 6px;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(16 24 40 / 18%);
}
.cl-chat-anexo-menu[hidden] { display: none !important; }
.cl-chat-anexo-menu button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #16202a;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.cl-chat-anexo-menu button:hover { background: #f1f4f8; }
.cl-chat-anexo-menu svg { color: var(--primary, #334155); flex: 0 0 auto; }


.cl-chat-pe { position: relative; }

.cl-chat-mais {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b6472;
  cursor: pointer;
}
.cl-chat-mais:hover { background: #e7ebf1; }
.cl-chat-mais.gravando { background: #e5484d; color: #fff; animation: cl-chat-gravando 1.2s infinite; }
@keyframes cl-chat-gravando { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .cl-chat-mais.gravando { animation: none; } }


.cl-chat-anexo-img img,
.cl-chat-anexo-video {
  display: block;
  max-width: 100%;
  max-height: 260px;
  border-radius: 10px;
}
.cl-chat-anexo-audio { display: block; width: 240px; max-width: 100%; margin: 2px 0; }
.cl-chat-anexo-doc {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgb(0 0 0 / 6%);
  color: inherit;
  text-decoration: none;
}
.cl-chat-balao.minha .cl-chat-anexo-doc { background: rgb(255 255 255 / 18%); }
.cl-chat-anexo-doc span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-chat-anexo-doc small { flex: 0 0 auto; opacity: .7; font-size: 11.5px; }


.cl-chat-camera {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  background: #000;
}
.cl-chat-camera video { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.cl-chat-camera-acoes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #000;
}
.cl-chat-camera-acoes button[data-cl-camera-cancelar] {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.cl-chat-camera-acoes .obturador {
  width: 62px;
  height: 62px;
  border: 4px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.cl-chat-camera-acoes .obturador:active { transform: scale(.94); }


.cl-chat-lupa {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(0 0 0 / 82%);
}
.cl-chat-lupa img {
  max-width: min(94vw, 1100px);
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
}
.cl-chat-lupa-fechar {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 16%);
  color: #fff;
  cursor: pointer;
}
.cl-chat-lupa-baixar {
  position: absolute;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  padding: 9px 18px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.cl-chat-anexo-img { padding: 0; border: 0; background: transparent; cursor: zoom-in; }








.cl-chat-anexo-img {
  display: block;
  width: min(220px, 100%);
  min-height: 92px;
  border-radius: 10px;
  background: rgb(0 0 0 / 6%);
  overflow: hidden;
}
.cl-chat-anexo-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 92px;
  max-height: 240px;
  object-fit: contain;
}
.cl-chat-anexo-quebrado {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgb(0 0 0 / 6%);
  font-size: 12.5px;
  opacity: .85;
}

.cl-chat-anexo-audio { width: min(240px, 100%); }
.cl-chat-anexo-video { width: min(260px, 100%); height: auto; }

