/* Iron Coach · tema claro e limpo (24/11/26). O tema escuro anterior está guardado em flow-escuro.css.
   Só CSS por cima do bundle: nada do funcionamento muda. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap");
:root, .dark {
  --fc-bg: #f4f6fb; --fc-card: #ffffff; --fc-t: #0f172a; --fc-s: #64748b; --fc-s2: #94a3b8; --fc-borda: #e6e9f0; --fc-azul: #1542e8; --fc-azul-c: #eef2ff;
  --background: var(--fc-bg); --app-surface: var(--fc-bg); --foreground: var(--fc-t); --card: var(--fc-card); --card-foreground: var(--fc-t);
  --popover: #fff; --popover-foreground: var(--fc-t); --primary: var(--fc-azul); --primary-foreground: #fff; --secondary: #f1f4f9; --secondary-foreground: var(--fc-t);
  --muted: #f1f4f9; --muted-foreground: var(--fc-s); --accent: var(--fc-azul-c); --accent-foreground: var(--fc-azul); --border: var(--fc-borda); --input: #dfe3ec; --ring: var(--fc-azul); --radius: 16px;
  --sidebar: #fff; --sidebar-foreground: var(--fc-s); --sidebar-primary: var(--fc-azul); --sidebar-accent: var(--fc-azul-c); --sidebar-accent-foreground: var(--fc-azul); --sidebar-border: var(--fc-borda);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; --font-display: Montserrat, "Inter", system-ui, sans-serif;
  --iron-pagina: var(--fc-bg); --iron-fundo: var(--fc-bg); --iron-cartao: #fff; --iron-tinta: var(--fc-t); --iron-suave: var(--fc-s); --iron-degrau: #f1f4f9; --iron-borda: var(--fc-borda); --iron-azul: var(--fc-azul); --iron-azul-claro: var(--fc-azul-c); --iron-azul-forte: var(--fc-azul);
  color-scheme: light;
}
html, body, html body { background: var(--fc-bg) !important; color: var(--fc-t) !important; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -.005em; }
html body *:not(code):not(pre):not(kbd):not(samp) { font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif !important; }
html body :is(h1, h2, h3, .font-display, .font-barlow, .text-2xl, .text-3xl, .text-4xl, .font-bold.text-xl) { font-family: Montserrat, "Inter", system-ui, sans-serif !important; letter-spacing: -.02em; }
h1 { font-weight: 800 !important; } h2, h3 { font-weight: 700 !important; }
.bg-app-surface { background: transparent !important; }

/* cartões: brancos, borda fina, sombra quase imperceptível */
html :is(.bg-card, .card-soft, [class*="rounded-2xl"].border, [class*="rounded-3xl"].border, .bg-card.border) {
  background: #fff !important; background-image: none !important; border: 1px solid var(--fc-borda) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -22px rgba(15, 23, 42, .25) !important;
}
html :is(.bg-white, .bg-muted, .bg-secondary, .bg-background\/80, .bg-card\/80) { background-color: #f6f8fc !important; }
html :is(.border, .border-b, .border-t, .border-r, .border-l, .border-border) { border-color: var(--fc-borda) !important; }
.text-muted-foreground { color: var(--fc-s) !important; } .text-foreground, .text-card-foreground { color: var(--fc-t) !important; }
.text-primary { color: var(--fc-azul) !important; }

/* destaque azul sólido, sem brilho exagerado */
html .bg-primary, html :is(button, a).bg-primary { background: var(--fc-azul) !important; background-image: none !important; color: #fff !important; box-shadow: 0 6px 16px -10px rgba(21, 66, 232, .7) !important; }
html button.bg-foreground, html .bg-foreground, html main button.rounded-full.bg-foreground, html main button.rounded-full.border.text-xs.bg-primary { background: var(--fc-t) !important; color: #fff !important; border-color: var(--fc-t) !important; }

/* botões de contorno */
button, [role="tab"], [role="button"] { font-weight: 600; letter-spacing: 0 !important; }
html main :is(button, a).rounded-md.border:not(.bg-primary):not(.text-left):not(.w-full.p-3),
html main :is(button, a).inline-flex.justify-center.border.bg-background,
html main button.rounded-full.border.text-xs { background: #fff !important; border: 1px solid var(--fc-borda) !important; color: var(--fc-t) !important; box-shadow: none !important; }
html main :is(button, a).rounded-md.border:not(.bg-primary):hover, html main :is(button, a).inline-flex.justify-center.border.bg-background:hover, html main button.rounded-full.border.text-xs:hover { background: #f6f8fc !important; border-color: #d5dbe7 !important; }
html main :is(button, a).inline-flex.justify-center.bg-secondary { background: #f1f4f9 !important; color: var(--fc-t) !important; }

/* campos */
input, select, textarea { background-color: #fff !important; color: var(--fc-t) !important; border-color: #dfe3ec !important; }
input::placeholder, textarea::placeholder { color: var(--fc-s2) !important; }
input:focus, select:focus, textarea:focus { border-color: var(--fc-azul) !important; box-shadow: 0 0 0 3px rgba(21, 66, 232, .14) !important; outline: none !important; }
option { background: #fff; color: var(--fc-t); }

/* topo: branco, fino */
html header.sticky, html header[class*="border-b"], header, .sticky.top-0 { background: rgba(255, 255, 255, .97) !important; border-color: var(--fc-borda) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
html header .min-w-0.leading-tight { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; }
html header .min-w-0.leading-tight::before { content: ""; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 11px; background: url("/iron/capacete-branco.png") center / 20px auto no-repeat, var(--fc-azul); }
html body header p.font-extrabold.truncate { font-size: 0 !important; line-height: 1.1; }
html header p.font-extrabold::after { content: "Iron Coach"; font: 800 16px/1.1 Montserrat, "Inter", system-ui, sans-serif; letter-spacing: -.02em; color: var(--fc-t); }
html header img[alt^="Logo"] { display: none !important; }
html header select { border-radius: 12px !important; }

/* barra de baixo: branca, aba ativa em pílula azul-clara */
nav.fixed.bottom-0, .fixed.bottom-0.inset-x-0, .fixed.inset-x-0.bottom-0 { left: 12px !important; right: 12px !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important; width: auto !important; border-radius: 20px !important; background: #fff !important; border: 1px solid var(--fc-borda) !important; box-shadow: 0 12px 32px -14px rgba(15, 23, 42, .28) !important; padding-bottom: 0 !important; }
html nav[aria-label="Navegação principal"] { height: 64px !important; padding: 6px !important; gap: 4px; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html nav[aria-label="Navegação principal"] a, html nav[aria-label="Navegação principal"] button { border-radius: 14px !important; color: var(--fc-s) !important; font-size: 11px !important; font-weight: 600 !important; height: auto !important; padding-left: 2px !important; padding-right: 2px !important; min-width: 0; }
html nav[aria-label="Navegação principal"] a[aria-current="page"] { background: var(--fc-azul-c) !important; color: var(--fc-azul) !important; }
html nav[aria-label="Navegação principal"] a[aria-current="page"] svg { color: var(--fc-azul) !important; }
html nav[aria-label="Navegação principal"] [role="dialog"] { border-radius: 20px !important; border: 1px solid var(--fc-borda) !important; background: #fff !important; box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .35) !important; }
@media (max-width: 767px) { html main { padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important; } html body :is(input, select, textarea) { font-size: 16px !important; } }

/* janelas e menus: brancos e opacos, acima da barra */
html [role="dialog"], html [role="menu"], html [role="listbox"], html [data-radix-popper-content-wrapper] > *, html .bg-background:is([role="dialog"] *, [data-state="open"]) { background: #fff !important; color: var(--fc-t) !important; border-color: var(--fc-borda) !important; }
html [data-state="open"].fixed.inset-0 { background: rgba(15, 23, 42, .35) !important; }
html body > [role="dialog"], html [data-radix-portal] [role="dialog"], html div[data-state="open"].fixed.inset-0 { z-index: 60 !important; }
html body > [role="dialog"] { padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important; }
html .bg-card { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* tabelas */
html main table thead th { background: #f8fafc !important; color: var(--fc-s) !important; border-bottom-color: var(--fc-borda) !important; font-weight: 600 !important; }
html main table tbody td { border-bottom-color: #f0f2f7 !important; } html main table tbody tr:hover > td { background-color: #f8faff; }
* { scrollbar-color: #cbd5e1 transparent; } ::selection { background: rgba(21, 66, 232, .18); }

/* cartões que o Iron injeta no painel e nos ajustes, no mesmo padrão claro */
html [data-flow-rec-p], html [data-flow-tr-p] { background: #fff !important; background-image: none !important; color: var(--fc-t) !important; border: 1px solid var(--fc-borda) !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important; }
html [data-flow-rec-p] *, html [data-flow-tr-p] b { color: var(--fc-t) !important; } html [data-flow-tr-p] span span, html [data-flow-tr-p] > span:last-child { color: var(--fc-s) !important; }
html [data-flow-sair] { background: #fff1f2 !important; color: #be123c !important; border-color: #fecdd3 !important; }
html [data-flow-enc] { background: var(--fc-azul) !important; box-shadow: 0 8px 20px -12px rgba(21, 66, 232, .7) !important; }
/* conferência 24/11: nada rola para o lado no celular */
html, body { overflow-x: hidden; } html main :is(section, article, .grid > *) { min-width: 0; } html main article p, html main article span { overflow-wrap: anywhere; }
.fc-sem-prof { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 13.5px; text-decoration: none; } .fc-sem-prof b { font-weight: 700; } .fc-sem-prof span { margin-left: auto; font-weight: 700; color: #c2410c; }
