/* ═══════════════════════════════════════════════════════════════════
   modules/css/utilities.css — HorseSmart

   2 de 4 arquivos CSS consolidados do portal_vet (ver PLANO_CSS_PORTAL_VET.md).
   Import obrigatório em TODA página do portal_vet, depois de base.css.

   Conteúdo: equivalente estático de TODA classe utilitária Tailwind usada
   em qualquer página/módulo JS do portal_vet hoje (levantamento programático
   completo — HTML estático de todas as ~35 telas + templates JS de todos os
   módulos compartilhados: nav-vet.js, toast.js, nav-loading-overlay.js,
   hs-select.js, offline-banner.js, atendimentos*.js, v3-framework*.js etc)
   — substitui por completo o que o script cdn.tailwindcss.com gerava em
   runtime. Cores/paleta de tailwind-config.js (HS_COLORS), escala padrão
   do Tailwind v3 pro resto. Mais styles3.css e styles4.css (também
   quase-universais no portal_vet).
   ═══════════════════════════════════════════════════════════════════ */

/* ─── utilitários Tailwind (piloto de estoque.html + levantamento completo do portal_vet) ───

   SEÇÃO 2 — equivalente estático das classes utilitárias Tailwind
   usadas em estoque.html (HTML estático + templates JS). Substitui
   por completo o que o script https://cdn.tailwindcss.com gerava em
   runtime pra esta página. Cores: vetsmart-green/gold vêm de
   tailwind-config.js (HS_COLORS). Espaçamento/tamanhos seguem a
   escala padrão do Tailwind v3 (1 unidade = 0.25rem).
   ═══════════════════════════════════════════════════════════════════ */

/* cores de marca (tailwind-config.js → HS_COLORS) */
.bg-vetsmart-green { background-color: #2D5A4E; }
.bg-vetsmart-gold { background-color: #D2B48C; }
.hover\:bg-vetsmart-gold-dark:hover { background-color: #C19A6B; }
.text-vetsmart-green { color: #2D5A4E; }
.text-vetsmart-gold { color: #D2B48C; }
.border-vetsmart-gold { border-color: #D2B48C; }
.focus\:border-vetsmart-gold:focus { border-color: #D2B48C; }
.border-vetsmart-green\/30 { border-color: rgba(45, 90, 78, 0.3); }
.border-vetsmart-green\/10 { border-color: rgba(45, 90, 78, 0.1); }
.border-vetsmart-gold\/60 { border-color: rgba(210, 180, 140, 0.6); }
.bg-vetsmart-green\/10 { background-color: rgba(45, 90, 78, 0.1); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.text-vetsmart-green\/70 { color: rgba(45, 90, 78, 0.7); }
.text-vetsmart-green\/50 { color: rgba(45, 90, 78, 0.5); }
.text-vetsmart-green\/80 { color: rgba(45, 90, 78, 0.8); }
.bg-green-600\/90 { background-color: rgba(22, 163, 74, 0.9); }
.hover\:bg-green-700:hover { background-color: #15803d; }
.active\:bg-white\/10:active { background-color: rgba(255, 255, 255, 0.1); }
.text-white { color: #fff; }
.text-red-500 { color: #ef4444; }
/* Classe usada em venda-rapida.html/lancamentos.html/portal_prop (ícone
   "pago" do seletor de pagamento e afins) nunca existiu neste arquivo —
   caía no fallback preto do navegador. Verde igual ao dos botões de
   WhatsApp (#25d366), pra dar o destaque que a cor pede. */
.text-green-500 { color: #25d366; }
.text-amber-500 { color: #f59e0b; }
.text-amber-600 { color: #d97706; }

/* layout / posicionamento */
.fixed { position: fixed; }
.sticky { position: sticky; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }
.transform { transform: translateX(var(--hs-tw-translate-x, 0)) translateY(var(--hs-tw-translate-y, 0)); }
.-translate-x-1\/2 { --hs-tw-translate-x: -50%; transform: translateX(-50%) translateY(var(--hs-tw-translate-y, 0)); }
.-translate-y-1\/2 { --hs-tw-translate-y: -50%; transform: translateX(var(--hs-tw-translate-x, 0)) translateY(-50%); }
.translate-y-full { transform: translateY(100%); }

/* flex / grid */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.min-w-0 { min-width: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

/* tamanhos */
.w-full { width: 100%; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.w-11\/12 { width: 91.6667%; }
.max-h-\[70vh\] { max-height: 70vh; }
.max-h-\[85vh\] { max-height: 85vh; }
.h-full { height: 100%; }
.overflow-y-auto { overflow-y: auto; }

/* espaçamento */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-28 { padding-bottom: 7rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* bordas / cantos */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b-4 { border-bottom-width: 4px; border-bottom-style: solid; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded-none { border-radius: 0; }
.rounded-2xl { border-radius: 1rem; }
.rounded-t-3xl { border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem; }

/* tipografia */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[11px\] { font-size: 11px; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.block { display: block; }

/* efeitos / interação */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.cursor-pointer { cursor: pointer; }
.outline-none { outline: none; }
.opacity-0 { opacity: 0; }
.pointer-events-none { pointer-events: none; }
.hidden { display: none; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: background-color, border-color, color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.active\:scale-95:active { transform: scale(0.95); }


/* ─── classes injetadas por nav-vet.js (barra de navegação inferior, compartilhada por todo o portal_vet) ─── */
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mt-1 { margin-top: 0.25rem; }
.text-\[10px\] { font-size: 10px; }
.text-vetsmart-green\/90 { color: rgba(45, 90, 78, 0.9); }
.hover\:text-vetsmart-green:hover { color: #2D5A4E; }

/* ─── classes injetadas por nav-loading-overlay.js (overlay de transição entre páginas, instalado por nav-vet.js) ─── */
.z-\[9999\] { z-index: 9999; }
.bg-\[\#f0f5f3\] { background-color: #f0f5f3; }

/* ─── classes injetadas por toast.js → confirmarAcao() (modal de confirmação, usado em handleDeleteItem) ─── */
.gap-3 { gap: 0.75rem; }
.gap-2 { gap: 0.5rem; }
.rounded-3xl { border-radius: 1.5rem; }
.max-w-sm { max-width: 24rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.mb-4 { margin-bottom: 1rem; }
.bg-gray-400 { background-color: #9ca3af; }
.hover\:bg-gray-500:hover { background-color: #6b7280; }
.bg-red-600 { background-color: #dc2626; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }

.-bottom-6 { bottom: -1.5rem; }
.-left-6 { left: -1.5rem; }
.-right-2 { right: -0.5rem; }
.-right-4 { right: -1rem; }
.-right-8 { right: -2rem; }
.-top-2 { top: -0.5rem; }
.-top-4 { top: -1rem; }
.-top-8 { top: -2rem; }
.-translate-x-full { transform: translateX(-100%); }
.absolute { position: absolute; }
.accent-vetsmart-gold { accent-color: #D2B48C; }
.active\:scale-90:active { transform: scale(0.9); }
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }
.align-middle { vertical-align: middle; }
.animate-spin { animation: hsTwSpin 1s linear infinite; }
.appearance-none { appearance: none; }
.aspect-square { aspect-ratio: 1 / 1; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bg-\[\#25D366\] { background-color: #25D366; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-black { background-color: #000; }
.bg-black\/0 { background-color: rgba(0, 0, 0, 0.0); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-blue-50 { background-color: #eff6ff; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-50\/70 { background-color: rgba(254, 242, 242, 0.7); }
.bg-red-500 { background-color: #ef4444; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-500 { background-color: #64748b; }
.bg-transparent { background-color: transparent; }
.bg-vetsmart-gold-dark { background-color: #C19A6B; }
.bg-vetsmart-gold\/10 { background-color: rgba(210, 180, 140, 0.1); }
.bg-vetsmart-gold\/15 { background-color: rgba(210, 180, 140, 0.15); }
.bg-vetsmart-gold\/20 { background-color: rgba(210, 180, 140, 0.2); }
.bg-vetsmart-green\/20 { background-color: rgba(45, 90, 78, 0.2); }
.bg-vetsmart-green\/5 { background-color: rgba(45, 90, 78, 0.05); }
.bg-vetsmart-green\/95 { background-color: rgba(45, 90, 78, 0.95); }
.bg-white { background-color: #fff; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/15 { background-color: rgba(255, 255, 255, 0.15); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/50 { background-color: rgba(255, 255, 255, 0.5); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-yellow-50 { background-color: #fefce8; }
.border-1 { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-\[\#2d5a4e\] { border-color: #2d5a4e; }
.border-amber-200 { border-color: #fde68a; }
.border-amber-300 { border-color: #fcd34d; }
.border-b { border-bottom-width: 1px; }
.border-dashed { border-style: dashed; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-50 { border-color: #f9fafb; }
.border-green-300 { border-color: #86efac; }
.border-l-4 { border-left-width: 4px; }
.border-l-8 { border-left-width: 8px; }
.border-none { border-style: none; }
.border-red-100 { border-color: #fee2e2; }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }
.border-t-2 { border-top-width: 2px; }
.border-t-4 { border-top-width: 4px; }
.border-transparent { border-color: transparent; }
.border-vetsmart-gold-dark { border-color: #C19A6B; }
.border-vetsmart-gold\/20 { border-color: rgba(210, 180, 140, 0.2); }
.border-vetsmart-gold\/30 { border-color: rgba(210, 180, 140, 0.3); }
.border-vetsmart-gold\/40 { border-color: rgba(210, 180, 140, 0.4); }
.border-vetsmart-gold\/50 { border-color: rgba(210, 180, 140, 0.5); }
.border-vetsmart-green { border-color: #2D5A4E; }
.border-vetsmart-green\/15 { border-color: rgba(45, 90, 78, 0.15); }
.border-vetsmart-green\/20 { border-color: rgba(45, 90, 78, 0.2); }
.border-vetsmart-green\/40 { border-color: rgba(45, 90, 78, 0.4); }
.border-vetsmart-green\/5 { border-color: rgba(45, 90, 78, 0.05); }
.border-vetsmart-green\/50 { border-color: rgba(45, 90, 78, 0.5); }
.border-white { border-color: #fff; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/40 { border-color: rgba(255, 255, 255, 0.4); }
.border-yellow-300 { border-color: #fde047; }
.bottom-6 { bottom: 1.5rem; }
.bottom-\[-100px\] { bottom: -100px; }
.break-all { word-break: break-all; }
.break-words { overflow-wrap: break-word; }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.cursor-crosshair { cursor: crosshair; }
.cursor-not-allowed { cursor: not-allowed; }
.decoration-2 { text-decoration-thickness: 2px; }
.decoration-vetsmart-gold { text-decoration-color: #D2B48C; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:opacity-40:disabled { opacity: 0.4; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1)); }
.duration-\[5000ms\] { transition-duration: 5000ms; }
.ease-linear { transition-timing-function: linear; }
.flex-grow { flex-grow: 1; }
.flex-wrap { flex-wrap: wrap; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring:focus { box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.5); }
.focus\:ring-0:focus { box-shadow: 0 0 0 0px rgba(147, 197, 253, 0.5); }
.focus\:ring-vetsmart-gold:focus { box-shadow: 0 0 0 3px #D2B48C; }
.focus\:ring-opacity-50:focus { box-shadow: 0 0 0 3px color-mix(in srgb, #D2B48C 50%, transparent); }

/* Classes aplicadas via JS (modules/modulos_app/toast.js), ausentes na
   geração original — sem elas o toast/bottom-sheet de erro fica sem cor
   de fundo e sem transição de entrada. */
.bg-red-900\/95 { background-color: rgba(127, 29, 29, 0.95); }
.border-red-400\/40 { border-color: rgba(248, 113, 113, 0.4); }
.opacity-100 { opacity: 1; }
.translate-y-0 { --hs-tw-translate-y: 0px; transform: translateX(var(--hs-tw-translate-x, 0)) translateY(0px); }
.font-light { font-weight: 300; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.from-\[\#c19a6b\] { --tw-gradient-from: #c19a6b; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-blue-50 { --tw-gradient-from: #eff6ff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-slate-50 { --tw-gradient-from: #f8fafc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-vetsmart-green\/10 { --tw-gradient-from: rgba(45, 90, 78, 0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.gap-1\.5 { gap: 0.375rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-1 { row-gap: 0.25rem; }
.gap-y-2 { row-gap: 0.5rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group:hover .group-hover\:bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.group:hover .group-hover\:opacity-100 { opacity: 1.0; }
.group:hover .group-hover\:text-vetsmart-gold { color: #D2B48C; }
.group:hover .group-hover\:text-vetsmart-green { color: #2D5A4E; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-2 { height: 0.5rem; }
.h-2\.5 { height: 0.625rem; }
.h-20 { height: 5rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-5 { height: 1.25rem; }
.h-56 { height: 14rem; }
.h-6 { height: 1.5rem; }
.h-64 { height: 16rem; }
.h-7 { height: 1.75rem; }
.h-80 { height: 20rem; }
.hover\:bg-gray-300:hover { background-color: #d1d5db; }
.hover\:bg-green-100:hover { background-color: #dcfce7; }
.hover\:bg-red-100:hover { background-color: #fee2e2; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-slate-600:hover { background-color: #475569; }
.hover\:bg-vetsmart-gold\/10:hover { background-color: rgba(210, 180, 140, 0.1); }
.hover\:bg-vetsmart-gold\/5:hover { background-color: rgba(210, 180, 140, 0.05); }
.hover\:bg-vetsmart-green\/10:hover { background-color: rgba(45, 90, 78, 0.1); }
.hover\:bg-vetsmart-green\/20:hover { background-color: rgba(45, 90, 78, 0.2); }
.hover\:bg-vetsmart-green\/90:hover { background-color: rgba(45, 90, 78, 0.9); }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-white\/25:hover { background-color: rgba(255, 255, 255, 0.25); }
.hover\:bg-white\/30:hover { background-color: rgba(255, 255, 255, 0.3); }
.hover\:border-vetsmart-green:hover { border-color: #2D5A4E; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-white\/80:hover { color: rgba(255, 255, 255, 0.8); }
.hover\:underline:hover { text-decoration-line: underline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.inset-y-0 { top: 0; bottom: 0; }
.italic { font-style: italic; }
.items-start { align-items: flex-start; }
.last\:border-0:last-child { border-width: 0px; }
.leading-loose { line-height: 2; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-\[-100px\] { left: -100px; }
.max-h-24 { max-height: 6rem; }
.max-h-56 { max-height: 14rem; }
.max-h-60 { max-height: 15rem; }
.max-h-\[400px\] { max-height: 400px; }
.max-h-\[480px\] { max-height: 480px; }
.max-h-\[90vh\] { max-height: 90vh; }
.max-w-4xl { max-width: 56rem; }
.max-w-xl { max-width: 36rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
@media (min-width: 768px) {
  .col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 768px) {
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .p-10 { padding: 2.5rem; }
}
.min-h-56 { min-height: 14rem; }
.min-h-\[160px\] { min-height: 160px; }
.min-h-\[200px\] { min-height: 200px; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-screen { min-height: 100vh; }
.mix-blend-multiply { mix-blend-mode: multiply; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.object-cover { object-fit: cover; }
.opacity-10 { opacity: 0.1; }
.opacity-40 { opacity: 0.4; }
.opacity-5 { opacity: 0.05; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }
.overflow-hidden { overflow: hidden; }
.p-1 { padding: 0.25rem; }
.p-10 { padding: 2.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.pb-0\.5 { padding-bottom: 0.125rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-40 { padding-bottom: 10rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-72 { padding-bottom: 18rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-12 { padding-left: 3rem; }
.pl-16 { padding-left: 4rem; }
.placeholder\:text-vetsmart-green\/70::placeholder { color: rgba(45, 90, 78, 0.7); }
.pr-1 { padding-right: 0.25rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }
.pr-9 { padding-right: 2.25rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.resize-none { resize: none; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-\[-50px\] { right: -50px; }
.right-\[2rem\] { right: 2rem; }
.rotate-12 { transform: rotate(12deg); }
.rounded { border-radius: 0.25rem; }
.rounded-\[24px\] { border-radius: 24px; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[32px\] { border-radius: 32px; }
.rounded-md { border-radius: 0.375rem; }
.scale-95 { transform: scale(0.95); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-green-900\/20 { --tw-shadow-color: rgba(20, 83, 45, 0.2); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.space-y-0 > * + * { margin-top: 0px; }
.space-y-0\.5 > * + * { margin-top: 0.125rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }
.text-\[\#25D366\] { color: #25D366; }
.text-\[\#059669\] { color: #059669; }
.text-\[10\.5px\] { font-size: 10.5px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[17px\] { font-size: 17px; }
.text-\[8px\] { font-size: 8px; }
.text-\[92\%\] { font-size: 92%; }
.text-\[9px\] { font-size: 9px; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-left { text-align: left; }
.text-red-400 { color: #f87171; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-slate-600 { color: #475569; }
.text-vetsmart-dark { color: #1a3830; }
.text-vetsmart-gold-dark { color: #C19A6B; }
.text-vetsmart-gold\/40 { color: rgba(210, 180, 140, 0.4); }
.text-vetsmart-green-dark { color: #1a3830; }
.text-vetsmart-green\/20 { color: rgba(45, 90, 78, 0.2); }
.text-vetsmart-green\/30 { color: rgba(45, 90, 78, 0.3); }
.text-vetsmart-green\/40 { color: rgba(45, 90, 78, 0.4); }
.text-vetsmart-green\/55 { color: rgba(45, 90, 78, 0.55); }
.text-vetsmart-green\/60 { color: rgba(45, 90, 78, 0.6); }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-yellow-600 { color: #ca8a04; }
.text-yellow-700 { color: #a16207; }
.to-\[\#d2b48c\] { --tw-gradient-to: #d2b48c; }
.to-indigo-50 { --tw-gradient-to: #eef2ff; }
.to-slate-100 { --tw-gradient-to: #f1f5f9; }
.to-vetsmart-gold\/10 { --tw-gradient-to: rgba(210, 180, 140, 0.1); }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-\[-50px\] { top: -50px; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[1px\] { letter-spacing: 1px; }
.tracking-\[2px\] { letter-spacing: 2px; }
.tracking-\[3px\] { letter-spacing: 3px; }
.tracking-\[5px\] { letter-spacing: 5px; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.underline { text-decoration-line: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-2\.5 { width: 0.625rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-40 { width: 10rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-64 { width: 16rem; }
.w-7 { width: 1.75rem; }
.w-80 { width: 20rem; }
.whitespace-nowrap { white-space: nowrap; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-\[200\] { z-index: 200; }
.z-\[700\] { z-index: 700; }
.z-\[90\] { z-index: 90; }
.z-\[9998\] { z-index: 9998; }
.z-\[999\] { z-index: 999; }

.accent-green-400 { accent-color: #4ade80; }

@keyframes hsTwSpin { to { transform: rotate(360deg); } }

/* ─── styles3.css (conteúdo original, sem alteração) ─── */

/* ============================================================ */
/* styles3.css — HorseSmart                               */
/* Consolidado de styles_especificos.css                                   */
/* ============================================================ */

/* de styles_especificos.css */
#confirm-modal {

                display: none;
            }

/* de styles_especificos.css */
#edit-modal {

                transition: opacity 0.3s ease;
            }

/* de styles_especificos.css */
#lancamento-modal-cobranca {

                transition: opacity 0.3s ease-in-out;
            }

/* de styles_especificos.css */
#lancamento-modal-despesa {

                transition: opacity 0.3s ease-in-out;
            }

/* de styles_especificos.css */
#modal-baixa {

                display: none;
            }

/* de styles_especificos.css */
#modal-cavalo {

                display: none;
            }

/* de styles_especificos.css */
#modal-confirmar {

                display: none;
            }

/* de styles_especificos.css */
#modal-content-cobranca {

                transition: transform 0.3s ease-in-out;
            }

/* de styles_especificos.css */
#modal-content-despesa {

                transition: transform 0.3s ease-in-out;
            }

/* de styles_especificos.css */
#modal-edit {

                display: none;
            }

/* de styles_especificos.css */
#modal-farmacia {

                display: none;
            }

/* de styles_especificos.css */
#modal-receita {

                display: none;
            }

/* de styles_especificos.css */
#modal-transfer {

                display: none;
            }

/* de styles_especificos.css */
#venda-modal {
 transition:opacity 0.3s ease-in-out; }

/* de styles_especificos.css */
#venda-modal-content {
 transition:transform 0.3s ease-in-out; }

/* de styles_especificos.css */
.accord-body {
 max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

/* de styles_especificos.css */
.accord-icon {
 transition: transform 0.3s ease; }

/* de styles_especificos.css */
.action-btn {

                width: 36px;
                height: 36px;
                border-radius: 10px;
                border: none;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.2s;
                font-size: 16px;
            }

/* de styles_especificos.css */
.active-nao {

                background: white; color: #2D5A4E; border-color: #2D5A4E;
            }

/* de styles_especificos.css */
.active-sim {

                background: linear-gradient(135deg, #2D5A4E, #1f3f35);
                color: #D2B48C; border-color: #D2B48C;
                box-shadow: 0 6px 20px rgba(45,90,78,0.25);
            }

/* de styles_especificos.css */
.atend-card {

                display: flex; align-items: center; gap-12px;
                padding: 12px 0; border-bottom: 1px solid rgba(45,90,78,0.07);
                cursor: pointer; transition: all 0.15s;
                text-decoration: none; gap: 12px;
            }

/* de styles_especificos.css */
.ativa {

                border-color: #22c55e;
            }

/* de styles_especificos.css */
.avatar-ring {

            background: linear-gradient(135deg, #2D5A4E, #D2B48C);
            padding: 3px;
            border-radius: 9999px;
        }

/* de styles_especificos.css */
.badge {
display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:100px;font-size:.62rem;font-weight:700;letter-spacing:.04em;}

/* de styles_especificos.css */
.badge-blue {
background:#dbeafe;color:#1d4ed8;}

/* de styles_especificos.css */
.badge-crmv {

            background: rgba(45,90,78,0.08);
            border: 1px solid rgba(45,90,78,0.2);
            border-radius: 9999px;
            padding: 0.2rem 0.75rem;
            font-size: 0.72rem;
            font-weight: 700;
            color: #2D5A4E;
            letter-spacing: 0.04em;
        }

/* de styles_especificos.css */
.badge-danger {
background:#fee2e2;color:#dc2626;}

/* de styles_especificos.css */
.badge-ok {
background:#dcfce7;color:#15803d;}

/* de styles_especificos.css */
.badge-warn {
background:#fef9c3;color:#a16207;}

/* de styles_especificos.css */
.bar-chart-bar {
 transition: height 0.6s cubic-bezier(0.34,1.56,0.64,1); }

/* de styles_especificos.css */
.bg-scene {

                position: fixed;
                inset: 0;
                z-index: 0;
                background:
                    radial-gradient(
                        ellipse at 75% 5%,
                        rgba(45, 90, 78, 0.85) 0%,
                        transparent 55%
                    ),
                    radial-gradient(
                        ellipse at 15% 95%,
                        rgba(30, 60, 50, 0.75) 0%,
                        transparent 55%
                    ),
                    #1a3a2e;
            }

/* de styles_especificos.css */
.blob-1 {

                width: 420px;
                height: 420px;
                background: #d2b48c;
                top: -130px;
                right: -110px;
                animation-delay: 0s;
            }

/* de styles_especificos.css */
.blob-2 {

                width: 320px;
                height: 320px;
                background: #2d5a4e;
                bottom: -90px;
                left: -90px;
                animation-delay: 4s;
            }

/* de styles_especificos.css */
.blob-3 {

                width: 180px;
                height: 180px;
                background: #c19a6b;
                top: 45%;
                left: -40px;
                animation-delay: 7s;
                opacity: 0.12;
            }

/* de styles_especificos.css */
.btn-action {
width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:15px;border-radius:14px;font-family:"Poppins",sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border:none;cursor:pointer;transition:all .2s cubic-bezier(.175,.885,.32,1.275);}

/* de styles_especificos.css */
.btn-add {

                background: linear-gradient(135deg, #D2B48C, #C19A6B);
                color: #1a3020; font-weight: 800; font-size: 0.75rem;
                letter-spacing: 0.08em; text-transform: uppercase;
                border-radius: 12px; padding: 12px 20px;
                border: none; cursor: pointer;
                box-shadow: 0 4px 16px rgba(210,180,140,0.3);
                transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
            }

/* de styles_especificos.css */
.btn-center {

                display: flex;
                align-items: center;
                gap: 6px;
                flex: 1;
                justify-content: center;
            }

/* de styles_especificos.css */
.btn-delete {

                background: rgba(239, 68, 68, 0.15);
                color: #dc2626;
            }

/* de styles_especificos.css */
.btn-green {
background:linear-gradient(135deg,var(--green) 0%,var(--green-dark) 100%);color:#fff;box-shadow:0 6px 20px rgba(45,90,78,.25);}

/* de styles_especificos.css */
.btn-left {

                display: flex;
                align-items: center;
                gap: 6px;
            }

/* de styles_especificos.css */
.btn-outline {
background:transparent;color:var(--green);border:1.5px solid rgba(45,90,78,.25);}

/* de styles_especificos.css */
.btn-submit {

                background: linear-gradient(135deg, #2D5A4E 0%, #1e3d34 100%);
                color: #fff; font-family: "Poppins", sans-serif;
                font-weight: 800; font-size: 0.78rem;
                letter-spacing: 0.1em; text-transform: uppercase;
                border-radius: 14px; padding: 16px;
                width: 100%; border: none; cursor: pointer;
                box-shadow: 0 8px 24px rgba(45,90,78,0.25);
                transition: all 0.2s cubic-bezier(0.175,0.885,0.32,1.275);
            }

/* de styles_especificos.css */
.card-actions {

                display: flex;
                gap: 8px;
            }

/* de styles_especificos.css */
.card-date {

                font-size: 11px;
                font-weight: 700;
                color: #d2b48c;
                text-transform: uppercase;
                letter-spacing: 1px;
            }

/* de styles_especificos.css */
.card-footer {

                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 12px;
                padding-top: 12px;
                border-top: 1px solid rgba(45, 90, 78, 0.1);
                position: relative;
                z-index: 1;
            }

/* de styles_especificos.css */
.card-header {

                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                margin-bottom: 12px;
                position: relative;
                z-index: 1;
            }

/* de styles_especificos.css */
.card-owner {

                font-size: 13px;
                color: #2d5a4e;
                opacity: 0.7;
                font-weight: 500;
                margin-bottom: 8px;
            }

/* de styles_especificos.css */
.card-receita {

                background: #fff;
                border-radius: 18px;
                padding: 16px;
                border: 2px solid transparent;
                box-shadow: 0 2px 16px rgba(45, 90, 78, 0.08);
                transition: all 0.2s;
                cursor: pointer;
            }

/* de styles_especificos.css */
.card-stat {

                background: rgba(255,255,255,0.75);
                border: 1px solid rgba(45,90,78,0.12);
                box-shadow: 0 2px 12px rgba(45,90,78,0.06);
                border-radius: 18px; padding: 16px;
            }

/* de styles_especificos.css */
.card-tipo {

                font-size: 10px;
                font-weight: 600;
                color: #2d5a4e;
                opacity: 0.7;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

/* de styles_especificos.css */
.card-value {

                font-size: 16px;
                font-weight: 900;
                color: #2d5a4e;
            }

/* de styles_especificos.css */
.chip-check {
 display: flex; width: 100%; }

/* de styles_especificos.css */
.countdown-badge {

            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(234, 179, 8, 0.12);
            border: 1px solid rgba(234, 179, 8, 0.35);
            border-radius: 9999px;
            padding: 0.3rem 0.85rem;
            font-size: 0.72rem;
            font-weight: 700;
            color: #854d0e;
        }

/* de styles_especificos.css */
.danger {
border-left-color:#ef4444;}

/* de styles_especificos.css */
.date-filter-btn {

                flex: 1;
                padding: 8px 4px;
                border-radius: 10px;
                border: 1.5px solid #2d5a4e30;
                background: rgba(255, 255, 255, 0.8);
                color: #2d5a4e;
                font-family: "Inter", sans-serif;
                font-size: 13px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.2s;
                text-align: center;
            }

/* de styles_especificos.css */
.despesa {

                border-left-color: #6b7280;
                background: linear-gradient(
                    135deg,
                    rgba(107, 114, 128, 0.05) 0%,
                    rgba(255, 255, 255, 0.85) 100%
                );
            }

/* de styles_especificos.css */
.divider {

                display: flex;
                align-items: center;
                gap: 10px;
                color: rgba(255, 255, 255, 0.18);
                font-size: 0.65rem;
                letter-spacing: 0.08em;
                text-transform: uppercase;
            }

/* de styles_especificos.css */
.dragover {
 border-color: #2D5A4E; background: rgba(45,90,78,0.07); }

/* de styles_especificos.css */
.empty-text {

                color: #2d5a4e;
                opacity: 0.6;
                font-weight: 500;
                margin-bottom: 8px;
            }

/* de styles_especificos.css */
.error {
 background: #dc2626; color: white; }

/* de styles_especificos.css */
.error-box {

                background: rgba(239, 68, 68, 0.1);
                border: 1px solid rgba(239, 68, 68, 0.28);
                color: #fca5a5;
                border-radius: 12px;
                padding: 12px 16px;
                font-size: 0.78rem;
                display: none;
            }

/* de styles_especificos.css */
.fade-up {

                animation: fadeUp 0.8s ease-out forwards;
            }

/* de styles_especificos.css */
.faq-answer {

            max-height: 0;
            overflow: hidden;
            transition: all 0.4s ease-out;
            opacity: 0;
        }

/* de styles_especificos.css */
.faq-content {
 max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

/* de styles_especificos.css */
.faq-item {
 border-bottom: 1px solid rgba(45,90,78,0.1); }

/* de styles_especificos.css */
.faq-trigger {
 width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; cursor: pointer; background: none; border: none; }

/* de styles_especificos.css */
.field-error {
 font-size: 0.7rem; color: #ef4444; margin-top: 5px; display: none; font-weight: 500; }

/* de styles_especificos.css */
.field-input-static {

            width: 100%;
            border-radius: 0.75rem;
            background: rgba(255,255,255,0.35);
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            color: #374151;
            border: 1.5px solid transparent;
            outline: none;
            cursor: default;
        }

/* de styles_especificos.css */
.field-value {

                font-size: 14px;
                font-weight: 600;
                color: white;
            }

/* de styles_especificos.css — display:flex/flex-wrap removidos: conflitavam
   com .grid/.grid-cols-2 (mesma especificidade, essa regra vem depois no
   arquivo e vencia), quebrando o layout em colunas dos botões de filtro
   em atendimentos.html (único uso desta classe, sempre junto de .grid). */
.filter-container {
                gap: 8px;
                overflow-x: auto;
                padding: 2px;
                scroll-behavior: smooth;
            }

/* de styles_especificos.css */
.footer {
margin-top:24px;padding-top:12px;border-top:2px solid #2D5A4E;text-align:right;font-size:12px;}

/* de styles_especificos.css */
.form-field {

                background: rgba(255, 255, 255, 0.07);
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 13px;
                padding: 14px 16px;
                width: 100%;
                color: #fff;
                font-family: "Poppins", sans-serif;
                font-size: 0.875rem;
                font-weight: 500;
                transition: all 0.2s;
                outline: none;
            }

/* de styles_especificos.css */
.form-label {
display:block;font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(45,90,78,.5);margin-bottom:6px;}

/* de styles_especificos.css */
.form-select {
width:100%;background:rgba(45,90,78,.04);border:1.5px solid rgba(45,90,78,.12);border-radius:12px;padding:11px 14px;font-family:"Poppins",sans-serif;font-size:.82rem;font-weight:500;color:var(--green);outline:none;transition:all .2s;}

/* de styles_especificos.css */
.full-width {

                grid-column: 1/-1;
            }

/* de styles_especificos.css */
.grau-check {
 display: flex; width: 100%; }

/* de styles_especificos.css */
.grav-check {
 display: flex; width: 100%; }

/* de styles_especificos.css */
.has-error {
 border-color: #ef4444; }

/* de styles_especificos.css */
.hidden {

                display: none !important;
            }

/* de styles_especificos.css */
.hidden-section {

                display: none;
            }

/* de styles_especificos.css */
.horse-select {
appearance:none;background:var(--surface) 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='%232D5A4E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;border:1.5px solid var(--border);border-radius:14px;padding:13px 44px 13px 16px;font-family:"Poppins",sans-serif;font-size:.875rem;font-weight:600;color:var(--green);width:100%;outline:none;cursor:pointer;transition:border-color .2s;}

/* de styles_especificos.css */
.hs-btn-cobranca {

                background: linear-gradient(
                    135deg,
                    var(--gold) 0%,
                    var(--gold-dark) 100%
                );
                color: var(--green-deep);
            }

/* de styles_especificos.css */
.hs-btn-despesa {

                background: linear-gradient(
                    135deg,
                    var(--green) 0%,
                    var(--green-light) 100%
                );
                color: white;
            }

/* de styles_especificos.css */
.hs-card {

                background: rgba(255, 255, 255, 0.6);
                -webkit-backdrop-filter: blur(20px);
                backdrop-filter: blur(20px);
                border: 1px solid #2d5a4e;
                box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
                border-radius: var(--radius-card);
            }

/* de styles_especificos.css */
.info {
 background: #D2B48C; color: #2D5A4E; font-weight: 800; }

/* de styles_especificos.css */
.item-card {
border-left:3px solid var(--gold);background:rgba(255,255,255,.9);border-radius:0 14px 14px 0;padding:12px 14px;box-shadow:0 2px 12px rgba(45,90,78,.06);}

/* de styles_especificos.css */
.link-box {
background:rgba(45,90,78,.05);border:2px dashed rgba(45,90,78,.25);border-radius:14px;padding:16px;word-break:break-all;font-size:.78rem;color:#2D5A4E;font-weight:600;cursor:pointer;transition:all .2s;}

/* de styles_especificos.css */
.liquid-glass {

                background: rgba(255, 255, 255, 0.1);
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
                border: 1px solid rgba(255, 255, 255, 0.2);
                box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.2);
            }

/* de styles_especificos.css */
.loading-spinner {

                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

/* de styles_especificos.css */
.modal-bg {
position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);z-index:200;display:none;align-items:flex-end;justify-content:center;}

/* de styles_especificos.css */
.modal-handle {
width:36px;height:4px;background:rgba(0,0,0,.12);border-radius:100px;margin:0 auto 20px;}

/* de styles_especificos.css */
.modal-sheet {
background:#fff;border-radius:24px 24px 0 0;padding:20px 20px 40px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;animation:slideUp .25s ease;}

/* de styles_especificos.css */
.neutral {
 color: #2D5A4E; }

/* de styles_especificos.css */
.ok {
border-left-color:#22c55e;}

/* de styles_especificos.css */
.proc-check {
 display: flex; width: 100%; }

/* de styles_especificos.css */
.progress-fill {
height:100%;border-radius:100px;transition:width .6s ease;}

/* de styles_especificos.css */
.progress-track {
height:6px;background:rgba(45,90,78,.1);border-radius:100px;overflow:hidden;}

/* de styles_especificos.css */
.search-container {

                position: relative;
                display: flex;
                align-items: center;
                background: rgba(255, 255, 255, 0.9);
                border: 2px solid #2d5a4e;
                border-radius: 16px;
                padding: 0 16px;
                transition: all 0.3s ease;
            }

/* de styles_especificos.css */
.search-icon {

                color: #2d5a4e;
                cursor: pointer;
                font-size: 16px;
                transition: all 0.2s;
                margin-left: 0px;
            }

/* de styles_especificos.css */
.search-input {

                flex: 1;
                border: none;
                background: transparent;
                padding: 14px 0;
                font-size: 15px;
                font-weight: 500;
                color: #2d5a4e;
                outline: none;
                font-family: "Poppins", sans-serif;
            }

/* de styles_especificos.css */
.section-accord {
 border-left: 3px solid #D2B48C; }

/* de styles_especificos.css */
.section-divider {

                display: flex; align-items: center; gap: 12px; margin: 8px 0;
            }
/* OBSERVACOES_RODADA_1.md (odonto.html, "Detecção de Patologias"): o texto
   do divisor ("Incisivos", "Dentes de Lobo" etc.) não tinha tamanho/cor
   próprios — herdava um contexto pequeno/apagado e quase sumia. */
.section-divider span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--green, #2d5a4e);
    white-space: nowrap;
}
.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(45, 90, 78, 0.15);
}

/* de styles_especificos.css */
.section-header {

                font-family: "Inter", sans-serif;
                font-size: 13px;
                font-weight: 900;
                text-align: center;
                text-transform: uppercase;
                letter-spacing: 0.8px;
                color: #2d5a4e;
                opacity: 1;
                margin-bottom: 4px;
            }

/* de styles_especificos.css */
.sed-check {
 display: flex; width: 100%; }

/* de styles_especificos.css */
.selected {
border-color:var(--green);background:rgba(45,90,78,.06);box-shadow:0 0 0 2px var(--green);}

/* de styles_especificos.css */
.service-row-label {
font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.16em;color:var(--green);padding:4px 0 8px;}

/* de styles_especificos.css */
.stat-card {

            background: rgba(255,255,255,0.65);
            backdrop-filter: blur(20px);
            border: 1px solid var(--green);
            border-radius: 1.25rem;
            padding: 1rem 1.25rem;
            box-shadow: 0 4px 16px rgba(31,38,135,0.06);
        }

/* de styles_especificos.css */
.stat-label {
 font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(45,90,78,0.65); }

/* de styles_especificos.css */
.sub {
color:#666;font-size:13px;margin-bottom:24px;}

/* de styles_especificos.css */
.success {
 background: #2D5A4E; color: white; }

/* de styles_especificos.css */
.success-card {

            display: none;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            text-align: center;
            padding: 2rem 1rem;
        }

/* de styles_especificos.css */
.success-icon {

            width: 5rem; height: 5rem;
            border-radius: 9999px;
            background: linear-gradient(135deg, #2D5A4E, #D2B48C);
            display: flex; align-items: center; justify-content: center;
        }

/* de styles_especificos.css */
.tab-track {
background:rgba(45,90,78,.07);border-radius:14px;padding:4px;display:flex;gap:4px;}

/* de styles_especificos.css */
.thumb-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }

/* de styles_especificos.css */
.thumb-item {
 position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f0f5f3;
 border: 1.5px solid var(--gold, #d2b48c); cursor: pointer; }

/* OBSERVACOES_RODADA_1.md (exame_imagem/ferida/odonto/terapias_complementares):
   expansão da miniatura ao clicar — overlay fullscreen com a mesma borda
   dourada, e botão de fechar. */
.thumb-lightbox-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0, 0, 0, 0.85);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.thumb-lightbox-overlay.hidden { display: none; }
.thumb-lightbox-overlay img {
    max-width: 100%; max-height: 85vh; border-radius: 12px;
    border: 1.5px solid var(--gold, #d2b48c);
}
.thumb-lightbox-close {
    position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
    border-radius: 9999px; background: rgba(255, 255, 255, 0.15);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; border: none;
}

/* de styles_especificos.css */
.thumb-remove {

                position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
                background: rgba(239,68,68,0.9); border-radius: 50%; color: white;
                font-size: 10px; display: flex; align-items: center; justify-content: center;
                cursor: pointer; border: none;
            }

/* de styles_especificos.css */
.timeline-item {

                border-left: 3px solid #d2b48c;
                padding-left: 16px;
                position: relative;
            }

/* de styles_especificos.css */
.toast-error {
 background:#ef4444; }

/* de styles_especificos.css */
.toast-success {
 background:#2d5a4e; }

/* de styles_especificos.css */
.toggle-group {
 display: flex; gap: 8px; }

/* de styles_especificos.css */
.trial-banner {

                background: linear-gradient(135deg, rgba(210,180,140,0.12), rgba(210,180,140,0.06));
                border: 1px solid rgba(210,180,140,0.35);
                border-radius: 16px; padding: 16px;
                display: flex; gap: 12px; align-items: flex-start;
            }

/* de styles_especificos.css */
.trial-pill {

                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: rgba(210, 180, 140, 0.1);
                border: 1px solid rgba(210, 180, 140, 0.22);
                border-radius: 100px;
                padding: 5px 14px;
                font-size: 0.68rem;
                color: #d2b48c;
                font-weight: 600;
                letter-spacing: 0.04em;
            }

/* de styles_especificos.css */
.upload-zone {

                border: 2px dashed rgba(45,90,78,0.3); border-radius: 20px;
                background: rgba(45,90,78,0.03); padding: 24px 16px; text-align: center;
                cursor: pointer; transition: all 0.2s;
            }

/* de styles_especificos.css */
.utilizada {

                border-color: #ef4444;
            }

/* de styles_especificos.css */
.vet-card {
border:1.5px solid var(--border);border-radius:14px;padding:12px 14px;cursor:pointer;transition:all .2s;background:rgba(45,90,78,.02);}

/* de styles_especificos.css */
.warn {
border-left-color:#f59e0b;}


/* ─── styles4.css (conteúdo original, sem alteração) ─── */

/* ============================================================ */
/* styles4.css — HorseSmart                                      */
/* Classes encontradas no portal_vet.zip que NÃO existem em      */
/* styles1.css, styles2.css ou styles3.css                       */
/* ============================================================ */

/* de detalhe-fatura.html */
#modal-baixa.active {
                display: flex;
            }

/* de termoslgpd.html */
.accord-body.open { max-height: 2000px; }

/* de termoslgpd.html */
.accord-icon.open { transform: rotate(180deg); }

/* de atendimentos.html */
.action-btn:active {
                transform: scale(0.92);
            }

/* de financeiro.html */
.atendimentos-card.despesa {
                border-left-color: #6b7280;
                border-top: 1px solid #6b7280;
                border-right: 1px solid #6b7280;
                border-bottom: 1px solid #6b7280;
                background: linear-gradient(
                    135deg,
                    rgba(107, 114, 128, 0.05) 0%,
                    rgba(255, 255, 255, 0.85) 100%
                );
            }

/* de atendimentos.html */
.atendimentos-card.pago {
                border-left-color: #10b981;
                border-top: 1px solid #10b981;
                border-right: 1px solid #10b981;
                border-bottom: 1px solid #10b981;
                background: linear-gradient(
                    135deg,
                    rgba(16, 185, 129, 0.05) 0%,
                    rgba(255, 255, 255, 0.85) 100%
                );
            }

/* de atendimentos.html */
.atendimentos-card.pago-fora {
                border-left-color: #059669;
                border-top: 1px solid #059669;
                border-right: 1px solid #059669;
                border-bottom: 1px solid #059669;
                background: linear-gradient(
                    135deg,
                    rgba(5, 150, 105, 0.05) 0%,
                    rgba(255, 255, 255, 0.85) 100%
                );
            }

/* de atendimentos.html */
.atendimentos-card.aguardando {
                border-left-color: #ef4444;
                border-top: 1px solid #ef4444;
                border-right: 1px solid #ef4444;
                border-bottom: 1px solid #ef4444;
                background: linear-gradient(
                    135deg,
                    rgba(239, 68, 68, 0.05) 0%,
                    rgba(255, 255, 255, 0.85) 100%
                );
            }

/* de atendimentos.html */
.atendimentos-card.rascunho {
                border-left-color: #3b82f6;
                border-top: 1px solid #3b82f6;
                border-right: 1px solid #3b82f6;
                border-bottom: 1px solid #3b82f6;
                background: linear-gradient(
                    135deg,
                    rgba(59, 130, 246, 0.05) 0%,
                    rgba(255, 255, 255, 0.85) 100%
                );
            }

/* de atendimentos.html */
.badge-pulse .filter-badge {
                animation: pulse-badge 1.5s infinite;
            }

/* de atendimentos.html */
.btn-delete:hover {
                background: rgba(239, 68, 68, 0.25);
                color: #991b1b;
            }

/* de atendimentos.html */
.clear-search:hover {
                color: #d2b48c;
                transform: rotate(90deg);
            }

/* de financeiro.html */
.date-filter-btn.active {
                background: linear-gradient(135deg, #2d5a4e 0%, #1f3f35 100%);
                color: #d2b48c;
                border-color: #d2b48c;
                box-shadow: 0 4px 14px rgba(45, 90, 78, 0.2);
            }

/* de atendimento_clinico.html */
.error-boundary {
            background: linear-gradient(135deg, #fee 0%, #fdd 100%);
            border-left: 4px solid #dc2626;
        }

/* de faq.html */
.faq-answer.active {
            max-height: 500px;
            opacity: 1;
            padding: 1rem;
            /* A classe .active também é usada globalmente (styles1.css) com
               fundo verde-escuro em gradiente + texto dourado, pensada pra
               outros componentes (ex.: item de nav ativo) — como
               initializeAccordion() (functions1.js) marca .faq-answer com
               essa mesma classe pra controlar aberto/fechado, o acordeão
               herdava esse fundo escuro sem querer. Reseta explicitamente
               pra manter o fundo translúcido do .glass-panel por trás. */
            background: transparent;
            color: inherit;
            border-color: rgba(45, 90, 78, 0.2);
            box-shadow: none;
        }

/* de ajuda.html */
.faq-content.open { max-height: 200px; }

/* de ajuda.html */
.faq-item:last-child { border-bottom: none; }

/* de faq.html */
.faq-toggle i {
            transition: transform 0.3s ease-out;
        }

/* de faq.html */
.faq-toggle.active i {
            transform: rotate(180deg);
        }

/* de ajuda.html */
.faq-trigger .chevron { transition: transform 0.3s; }

/* de ajuda.html */
.faq-trigger.open .chevron { transform: rotate(180deg); }

/* de ajuda.html */
.field-input:focus {
            border-color: #D2B48C;
            box-shadow: 0 0 0 3px rgba(210,180,140,0.15);
            background: rgba(255,255,255,0.9);
        }

/* de atendimentos.html */
.filter-btn.active {
                background: linear-gradient(135deg, #2d5a4e 0%, #1f3f35 100%);
                color: #d2b48c;
                border-color: #d2b48c;
                box-shadow: 0 8px 20px rgba(45, 90, 78, 0.2);
            }

/* de atendimentos.html */
.filter-btn.active .filter-badge {
                background: rgba(255, 255, 255, 0.3);
            }

/* de financeiro.html */
.filter-btn.full-width {
                grid-column: 1/-1;
            }

/* de financeiro.html */
.hs-btn-primary i {
                font-size: 15px;
            }

/* de exames.html */
.icon-nav a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 12px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            color: #6b7280;
            font-weight: 500;
            font-size: 12px;
            transition: all 0.2s;
            text-decoration: none;
        }

/* de exames.html */
.icon-nav a.active {
            color: #d2b48c;
            font-weight: 700;
        }

/* de cadastro.html */
.input-field:focus {
                border-color: #d2b48c;
                box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.2);
                outline: none;
            }

/* de financeiro.html */
.insumos-body.open {
                max-height: 700px;
                opacity: 1;
            }

/* de financeiro.html */
.pagamento-label-card.selected-nao {
                border-color: #d2b48c;
                background: rgba(210, 180, 140, 0.12);
                box-shadow: 0 4px 14px rgba(210, 180, 140, 0.3);
            }

/* de financeiro.html */
.pagamento-label-card.selected-sim {
                border-color: #059669;
                background: rgba(5, 150, 105, 0.08);
                box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
            }

/* de atendimentos.html */
.search-container:focus-within {
                border-color: #d2b48c;
                box-shadow:
                    0 0 0 3px rgba(210, 180, 140, 0.15),
                    0 8px 24px rgba(45, 90, 78, 0.1);
            }

/* de atendimentos.html */
.search-icon:hover {
                color: #d2b48c;
                transform: scale(2.0);
            }

/* de atendimentos.html */
.search-input::placeholder {
                color: #2d5a4e;
                opacity: 0.5;
            }

/* de termoslgpd.html */
.section-accord.open { border-left-color: #2D5A4E; }

/* de relatorios.html */
.stat-value.neutral { color: #2D5A4E; }

/* de ajuda.html */
.success-card.show { display: flex; }

/* de seguranca.html */
.toast.error { background: #dc2626; color: white; }

/* de seguranca.html */
.toast.info { background: #D2B48C; color: #2D5A4E; font-weight: 800; }

/* de seguranca.html */
.toast.show { opacity: 1; }

/* de seguranca.html */
.toast.success { background: #2D5A4E; color: white; }

/* de financeiro.html */
.toggle-btn.active {
                background-color: #2d5a4e;
                color: white;
                font-weight: bold;
                box-shadow: 0 4px 12px rgba(45, 90, 78, 0.2);
            }


/* ============================================================ */
/* ADIÇÃO — portal_prop + portal_admin                           */
/* Classes que NÃO existem em styles1.css, styles2.css,          */
/* styles3.css NEM na primeira versão de styles4.css (portal_vet)*/
/* ============================================================ */

/* de perfil-vets.html */
#confirm-modal.open {
                display: flex;
            }

/* de cavalos-proprietarios.html */
#modal-cavalo.open {
                display: flex;
            }

/* de receitas-proprietarios.html */
#modal-confirmar.open {
                display: flex;
            }

/* de dossie-proprietarios.html */
#modal-edit.open {
                display: flex;
            }

/* de receitas-proprietarios.html */
#modal-farmacia.open {
                display: flex;
            }

/* de receitas-proprietarios.html */
#modal-receita.open {
                display: flex;
            }

/* de dossie-proprietarios.html */
#modal-transfer.open {
                display: flex;
            }

/* de dashboard-proprietarios.html */
.atend-card:hover { opacity: 0.75; }

/* de dashboard-proprietarios.html */
.atend-card:last-child { border-bottom: none; }

/* de faturas-proprietarios.html */
.btn-action:active {transform:scale(.98);}

/* de faturas-proprietarios.html */
.btn-action:hover {transform:translateY(-1px);}

/* de dashboard-proprietarios.html */
.btn-add:active { transform: scale(0.97); }

/* de dashboard-proprietarios.html */
.btn-add:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(210,180,140,0.4); }

/* de index-proprietario.html */
.btn-gold:active {
                transform: scale(0.97);
            }

/* de index-proprietario.html */
.btn-gold:disabled {
                opacity: 0.55;
                cursor: not-allowed;
                transform: none;
            }

/* de index-proprietario.html */
.btn-gold:hover {
                transform: translateY(-1px);
                box-shadow: 0 14px 36px rgba(210, 180, 140, 0.35);
            }

/* de cadastro-proprietarios.html */
.btn-submit:active { transform: scale(0.98); }

/* de cadastro-proprietarios.html */
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* de cadastro-proprietarios.html */
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(45,90,78,0.35); }

/* de receitas-proprietarios.html */
.card-receita.ativa {
                border-color: #22c55e;
            }

/* de receitas-proprietarios.html */
.card-receita.utilizada {
                border-color: #ef4444;
            }

/* de receitas-proprietarios.html */
.card-receita:hover {
                transform: translateY(-1px);
                box-shadow: 0 6px 24px rgba(45, 90, 78, 0.12);
            }

/* de index-proprietario.html */
.divider::after {
                content: "";
                flex: 1;
                height: 1px;
                background: rgba(255, 255, 255, 0.08);
            }

/* de index-proprietario.html */
.divider::before {
                content: "";
                flex: 1;
                height: 1px;
                background: rgba(255, 255, 255, 0.08);
            }

/* de cadastro-proprietarios.html */
.field-error.show { display: block; }

/* de financeiro-proprietarios.html: removida — conflitava com a regra de
   .filter-btn.active (portal_vet, atendimentos.html) mais acima neste
   arquivo, sobrescrevendo o gradiente/dourado dela pro verde chapado.
   Portal_prop ainda não importa este arquivo (usa CSS próprio), então
   remover aqui não quebra nada hoje. */

/* de index-proprietario.html */
.form-field::placeholder {
                color: rgba(255, 255, 255, 0.28);
            }

/* de index-proprietario.html */
.form-field:focus {
                border-color: rgba(210, 180, 140, 0.6);
                background: rgba(255, 255, 255, 0.1);
                box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.12);
            }

/* de cadastro-proprietarios.html */
.form-input.has-error { border-color: #ef4444; }

/* de cadastro-proprietarios.html */
.form-input::placeholder { color: #9bb3ab; }

/* de faturas-proprietarios.html */
.form-select:focus {border-color:var(--gold);box-shadow:0 0 0 3px rgba(210,180,140,.12);background:#fff;}

/* de faturas-proprietarios.html */
.horse-select:focus {border-color:var(--gold);box-shadow:0 0 0 3px rgba(210,180,140,.15);}

/* de faturas-proprietarios.html */
.item-card.danger {border-left-color:#ef4444;}

/* de faturas-proprietarios.html */
.item-card.ok {border-left-color:#22c55e;}

/* de faturas-proprietarios.html */
.item-card.warn {border-left-color:#f59e0b;}

/* de pagamento_faturaproprietarios.html */
.link-box:hover {background:rgba(45,90,78,.09);border-color:#D2B48C;}

/* de faturas-proprietarios.html */
.modal-bg.open {display:flex;}

/* de ajuda-vets.html */
.sidebar-link.active {
                background: rgba(210, 180, 140, 0.12);
                color: #d2b48c;
            }

/* de ajuda-vets.html */
.sidebar-link:hover {
                background: rgba(255, 255, 255, 0.06);
                color: white;
            }

/* de ajuda-vets.html */
.tab-btn.active {
                background: rgba(210, 180, 140, 0.15);
                color: #d2b48c;
            }

/* de faturas-proprietarios.html */
.vet-card.selected {border-color:var(--green);background:rgba(45,90,78,.06);box-shadow:0 0 0 2px var(--green);}

/* de faturas-proprietarios.html */
.vet-card:hover {border-color:var(--green);background:rgba(45,90,78,.06);}

/* ═══════════════════════════════════════════════════════════════════
   .loading-spinner / .hs-loader — indicador de "carregando" autoral do
   portal_vet, usado por renderLoadingScreen() dos 3 v3_framework
   (v3-framework-app.js/-prop.js/-atendimentos.js) e por telas que ainda
   montam o markup na mão (ex.: atendimentos.html). Substitui o antigo
   anel `.spinner`, que dependia de um `@keyframes spin` que não existia
   em nenhum CSS compartilhado (só era definido localmente em alguns
   HTMLs de webapp/portal_vet/atendimentos/) — na prática nunca girava
   na maioria das páginas.
   Ícone de cavalo (mesmo `fa-horse` já usado nos cards de
   clientes.html/geral_config.js), num badge redondo, fundo
   vetsmart-green, ícone branco — e um contorno dourado "correndo" ao
   redor (mesma técnica de brilho girando usada no botão "Salvar" do
   formulário de cadastro/`.glow-sweep` de portal-prop-fx.css, adaptada
   pra um anel circular via conic-gradient + máscara).
   ═══════════════════════════════════════════════════════════════════ */
.loading-spinner,
.hs-loader {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.loading-spinner .hs-loader-ring,
.hs-loader .hs-loader-ring {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.loading-spinner .hs-loader-ring::before,
.hs-loader .hs-loader-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(
        from 0deg,
        transparent 0 55%,
        rgba(210, 180, 140, 0.55) 80%,
        #d2b48c 92%,
        #c19a6b 100%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    /* Gira o anel de verdade via `transform: rotate()` (suportado em
       qualquer navegador) em vez de animar o ângulo do conic-gradient
       via `@property --hs-loader-ang`: essa técnica exige registro de
       custom property com sintaxe tipada, que falha silenciosamente em
       navegadores/webviews sem suporte — o ângulo nunca mudava e o anel
       ficava parado, dando a impressão de tela travada em vez de
       carregando. */
    animation: hsLoaderSpin 1.1s linear infinite;
    will-change: transform;
}
@keyframes hsLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}
.loading-spinner .hs-loader-badge,
.hs-loader .hs-loader-badge {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--green, #2d5a4e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(45, 90, 78, 0.28);
}
.loading-spinner .hs-loader-badge i,
.hs-loader .hs-loader-badge i {
    color: #ffffff;
    font-size: 28px;
}
.loading-spinner .hs-loader-text,
.hs-loader .hs-loader-text {
    font-size: 13px;
    font-weight: 800;
    color: var(--green, #2d5a4e);
    text-align: center;
}
@media (prefers-reduced-motion: reduce) {
    .loading-spinner .hs-loader-ring::before,
    .hs-loader .hs-loader-ring::before {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   .hs-offline-banner — barra de status offline/sincronização, injetada
   por modules/offline/offline-banner.js logo depois do <header> em toda
   página (PLANO_CORRECAO_OFFLINE, Causa 5, item 9 do ajustes2.md).
   ═══════════════════════════════════════════════════════════════════ */
.hs-offline-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    border-bottom: 2px solid #f59e0b;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    position: relative;
    z-index: 40;
}
.hs-offline-banner.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   .toggle-simnao — toggle "flip" Sim/Não (variante 1.5 do protótipo),
   substitui os pares de botões de rádio Sim/Não usados nos formulários
   de atendimento. Estrutura: 2 <input type="radio"> seguidos de 2
   <label for="..."> e um <div class="tsn-card"> com as duas faces.
   Tamanho fluido (preenche o container do pai) para caber no mesmo
   lugar dos toggles antigos; --tsn-h controla a altura (variantes
   --lg/--sm abaixo, no máximo ~1px acima da altura anterior: ~44px).
   ═══════════════════════════════════════════════════════════════════ */
.toggle-simnao {
    --tsn-h: 45px;
    --tsn-no: #c23b3b;
    --tsn-yes: #2d5a4e;
    position: relative;
    display: flex;
    width: 25%;
    height: var(--tsn-h);
    background: #efece2;
    border-radius: 12px;
    border: 1px solid rgba(45, 90, 78, 0.18);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.06);
    perspective: 800px;
    overflow: hidden;
}
.toggle-simnao input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.toggle-simnao .tsn-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 2;
    position: relative;
    color: #6b7168;
    font-weight: 900;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}
.toggle-simnao .tsn-btn i {
    font-size: 12px;
}
.toggle-simnao .tsn-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.toggle-simnao .tsn-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 11px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.toggle-simnao .tsn-face-front {
    background: var(--tsn-no);
    box-shadow: 0 4px 12px rgba(194, 59, 59, 0.3);
}
.toggle-simnao .tsn-face-back {
    background: var(--tsn-yes);
    transform: rotateY(180deg);
    box-shadow: 0 4px 12px rgba(45, 90, 78, 0.3);
}
.toggle-simnao input.tsn-no:checked ~ .tsn-card {
    transform: translateX(0%) rotateY(0deg);
}
.toggle-simnao input.tsn-yes:checked ~ .tsn-card {
    transform: translateX(100%) rotateY(180deg);
}
.toggle-simnao input.tsn-no:checked ~ label[for$="_nao"],
.toggle-simnao input.tsn-yes:checked ~ label[for$="_sim"] {
    color: #fff;
}
.toggle-simnao input.tsn-no:checked ~ label[for$="_sim"],
.toggle-simnao input.tsn-yes:checked ~ label[for$="_nao"] {
    color: #6b7168;
}
/* variante grande — toggles de nível de região (Cervical, Lombar...) */
.toggle-simnao.tsn-lg {
    --tsn-h: 35px;
    max-width: 190px;
}
.toggle-simnao.tsn-lg .tsn-btn {
    font-size: 13px;
}
/* variante pequena — subcampos dentro do box (Sensibilidade, Atrofia...) */
.toggle-simnao.tsn-sm {
    --tsn-h: 30px;
}
.toggle-simnao.tsn-sm .tsn-btn {
    font-size: 11.5px;
}
/* variante extra-pequena — subtoggles ao lado da frase (Possui Atrofia?
   etc. em coluna-sacroiliaca.js), menor que tsn-sm e com largura fixa (não
   ocupa 100% do container) já que fica ao lado do texto, não abaixo dele. */
.toggle-simnao.tsn-xs {
    --tsn-h: 30px;
    width: 88px;
    flex-shrink: 0;
}
.toggle-simnao.tsn-xs .tsn-btn {
    font-size: 10px;
    gap: 3px;
}
.toggle-simnao.tsn-xs .tsn-btn i {
    font-size: 9px;
}

/* ═══════════════════════════════════════════════════════════════════
   .grau-scale — escala numérica 1 a 5 (mesmo padrão visual do "Grau
   da Lesão" em odonto.html/laceração), reaproveitada para o campo
   Mobilidade de Coluna/Sacroilíaca, em tom verde/dourado da marca.
   ═══════════════════════════════════════════════════════════════════ */
.grau-scale {
    display: flex;
    gap: 6px;
}
.grau-scale label {
    display: flex;
    flex: 1;
}
.grau-scale input {
    display: none;
}
/* Mesmo padrão visual/tamanho do "Grau da Lesão" de odonto.html
   (.grau-check em arte-atendimentos.js: width:100% dos 5 ocupando o
   comprimento do box), só que mais fino de altura (30px em vez de 44px) e
   em verde/dourado (tom da marca) em vez de vermelho. */
.grau-scale div {
    width: 100%;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    border: 2px solid rgba(45, 90, 78, 0.25);
    background: #fff;
    color: #2d5a4e;
}
.grau-scale input:checked + div {
    background: linear-gradient(135deg, #2d5a4e, #1f3f35);
    color: #d2b48c;
    border-color: #d2b48c;
}

/* ═══════════════════════════════════════════════════════════════════
   .hs-checkbox / .hs-radio — checkbox/radio customizado (Uiverse.io by
   bociKond, adaptado). Tamanho controlado só por font-size no wrapper
   (.container), cor por --clr. .hs-radio é a variante circular (fica
   redondo mesmo marcado, pra diferenciar de checkbox visualmente).
   ═══════════════════════════════════════════════════════════════════ */
.hs-checkbox, .hs-radio {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}
.hs-checkbox input, .hs-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.hs-checkbox .mark, .hs-radio .mark {
    --clr: #2d5a4e;
    position: relative;
    display: block;
    height: 1em;
    width: 1em;
    background-color: #ccc;
    border-radius: 50%;
    transition: 300ms;
}
.hs-checkbox input:checked ~ .mark {
    background-color: #22c55e;;
    border-radius: 0.5rem;
    animation: hsCheckPulse 500ms ease-in-out;
}
.hs-radio input:checked ~ .mark {
    background-color: var(--clr);
    animation: hsCheckPulse 500ms ease-in-out;
}
.hs-checkbox .mark::after, .hs-radio .mark::after {
    content: "";
    position: absolute;
    display: none;
}
.hs-checkbox input:checked ~ .mark::after,
.hs-radio input:checked ~ .mark::after {
    display: block;
}
.hs-checkbox .mark::after {
    left: 0.45em;
    top: 0.25em;
    width: 0.25em;
    height: 0.5em;
    border: solid #e0e0e2;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
}
.hs-radio .mark::after {
    left: 50%;
    top: 50%;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: #e0e0e2;
    transform: translate(-50%, -50%);
}
@keyframes hsCheckPulse {
    0% { box-shadow: 0 0 0 color-mix(in srgb, var(--clr, #2d5a4e) 55%, transparent); rotate: 20deg; }
    50% { rotate: -20deg; }
    75% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--clr, #2d5a4e) 40%, transparent); }
    100% { box-shadow: 0 0 0 13px color-mix(in srgb, var(--clr, #2d5a4e) 20%, transparent); rotate: 0; }
}
/* Validação de campo obrigatório (setFieldError adiciona .has-error no
   próprio <input>, que fica com opacity:0 — o contorno vermelho precisa
   ir no ".mark" visível, irmão do input dentro do wrapper). */
.hs-checkbox input.has-error ~ .mark,
.hs-radio input.has-error ~ .mark {
    box-shadow: 0 0 0 2px #dc2626;
}

/* Classes usadas em cadastro.html/novo-insumo.html, ausentes na geração
   original (Tailwind CDN as gerava em runtime; aqui precisam existir
   explicitamente). */
.\!border-2 { border-width: 2px !important; }
.\!border-red-400 { border-color: #f87171 !important; }
.\!py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.\!py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.\!text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.\!text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:p-10 { padding: 2.5rem; }
}

