/* Oasys Clinic · painel da equipe — central de controle (tema escuro, vidro, luz em cobre) */
:root {
  --tinta-rgb: 240, 231, 215; --fundo-rgb: 16, 15, 12; /* tons de texto e de fundo das transparências; trocam no tema claro */
  --cobre-texto: var(--cobre); --verde-texto: var(--verde); --vermelho-texto: var(--vermelho); --interesse-texto: var(--interesse);
  --bg: #0b0a08; --bg-2: #12110e; --vidro: rgba(var(--fundo-rgb), .62); --vidro-2: rgba(36, 33, 28, .72); --vidro-forte: rgba(18, 17, 14, .9);
  --borda: rgba(212, 174, 126, .14); --borda-forte: rgba(212, 174, 126, .32); --linha: rgba(var(--tinta-rgb), .08);
  --texto: #f3ece0; --apoio: rgba(var(--tinta-rgb), .66); --suave: rgba(var(--tinta-rgb), .42);
  --cobre: #d4ae7e; --cobre-2: #b88a55; --cobre-escuro: #8e6436; --brilho: rgba(212, 174, 126, .35);
  --verde: #6fbf9a; --verde-fundo: rgba(111, 191, 154, .12); --oasis: #3f564c;
  --vermelho: #ef7a6f; --vermelho-2: #c9483d; --vermelho-fundo: rgba(239, 122, 111, .12);
  --interesse: #d99a8b; --interesse-2: #b0675a; --interesse-fundo: rgba(217, 154, 139, .13);
  --display: "Bodoni Moda", Didot, Georgia, serif; --sans: "Questrial", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Helvetica Neue", Helvetica, Arial, sans-serif; --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --r: 18px; --ease: cubic-bezier(.22, 1, .36, 1);
  --sombra: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .7);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--texto); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* fundo: aurora lenta + grade técnica + vinheta */
body::before { content: ""; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 12%, rgba(212, 174, 126, .16), transparent 70%),
    radial-gradient(34% 30% at 86% 18%, rgba(63, 86, 76, .32), transparent 70%),
    radial-gradient(40% 36% at 70% 92%, rgba(184, 138, 85, .12), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--tinta-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--tinta-rgb), .035) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%); }
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 100% { transform: translate3d(4%, -3%, 0) rotate(6deg); } }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: .005em; }
::selection { background: rgba(212, 174, 126, .35); }
.muted { color: var(--apoio); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--label); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cobre-texto); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--cobre)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 2px; }

/* ---------- superfícies de vidro com borda iluminada + luz que segue o cursor ---------- */
.cartao, .acesso__card, .gaveta__corpo, .dialogo__caixa {
  position: relative; background: var(--vidro); border: 1px solid var(--borda); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--sombra); isolation: isolate;
}
.cartao::before, .acesso__card::before { /* borda em gradiente */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(140deg, rgba(212, 174, 126, .45), rgba(212, 174, 126, .04) 35%, rgba(111, 191, 154, .05) 65%, rgba(212, 174, 126, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.cartao::after { /* holofote */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 174, 126, .1), transparent 45%);
}
.cartao:hover::after { opacity: 1; }

/* ---------- botões e campos ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(180deg, #2a2620, #1b1915); color: var(--texto); border-color: var(--borda-forte); font-family: var(--label); font-weight: 700; font-size: .84rem; letter-spacing: .03em;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, opacity .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); border-color: var(--cobre-texto); box-shadow: 0 8px 24px -8px var(--brilho); }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn--cobre, .acesso .btn--bloco[type="submit"]:not(.btn--ghost), .convite .btn { background: linear-gradient(135deg, #e6c597, var(--cobre) 45%, var(--cobre-2)); color: #16130f; border-color: transparent; box-shadow: 0 10px 30px -12px var(--brilho); }
.btn--cobre:hover, .convite .btn:hover { box-shadow: 0 14px 36px -10px rgba(212, 174, 126, .6); }
.btn--ghost { background: rgba(var(--tinta-rgb), .03); border-color: var(--borda); }
.btn--verde { background: linear-gradient(135deg, #9fe0c1, var(--verde) 50%, #3f9a73); color: #0d1a14; border-color: transparent; box-shadow: 0 8px 24px -10px rgba(111, 191, 154, .6); }
.btn--verde:hover { border-color: transparent; box-shadow: 0 12px 30px -10px rgba(111, 191, 154, .75); }
.btn--interesse {background: linear-gradient(135deg, #efc4b9, var(--interesse) 45%, var(--interesse-2)); color: #2a120d; border-color: transparent; box-shadow: 0 10px 30px -12px rgba(217, 154, 139, .55); }
.btn--interesse:hover { border-color: transparent; box-shadow: 0 14px 36px -10px rgba(217, 154, 139, .65); }
.btn--perigo {background: linear-gradient(135deg, #f08a7f, var(--vermelho-2)); color: #fff; border-color: transparent; box-shadow: 0 10px 30px -12px rgba(239, 122, 111, .55); }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: .76rem; }
.btn--bloco { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--cobre-texto); font-family: var(--label); font-weight: 700; font-size: .82rem; text-decoration: none; background-image: linear-gradient(var(--cobre), var(--cobre)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: color .2s; }
.link:hover { color: #f0d3a9; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: .76rem; color: var(--apoio); letter-spacing: .02em; }
.campo input, .campo select { height: 48px; padding: 0 14px; border: 1px solid var(--borda); border-radius: 12px; background: rgba(var(--fundo-rgb), .55); color: var(--texto); transition: border-color .25s, box-shadow .25s, background-color .25s; }
.campo input::placeholder { color: var(--suave); }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--cobre-texto); background: rgba(var(--fundo-rgb), .75); box-shadow: 0 0 0 4px rgba(212, 174, 126, .14), 0 0 24px -6px var(--brilho); }
.campo input:disabled { opacity: .7; }
.campo select option { background: var(--bg-2); }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.aviso { padding: 12px 14px; border-radius: 12px; font-size: .86rem; border: 1px solid; }
.aviso--erro { background: var(--vermelho-fundo); color: #ffb3ab; border-color: rgba(239, 122, 111, .3); }
.aviso--ok { background: var(--verde-fundo); color: #a7e3c6; border-color: rgba(111, 191, 154, .3); }

/* verificação de humano */
.humano { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 12px; background: rgba(var(--fundo-rgb), .45); text-align: left; transition: border-color .25s; }
.humano:hover { border-color: var(--borda-forte); }
.humano__caixa { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--borda-forte); display: grid; place-items: center; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.humano__txt { flex: 1; font-size: .9rem; }
.humano__txt small:empty { display: none; }
.humano__txt small { display: block; color: var(--suave); font-size: .7rem; font-family: var(--mono); letter-spacing: .02em; }
.humano.is-rodando .humano__caixa { border-color: var(--cobre-texto); border-top-color: transparent; border-radius: 50%; animation: gira .8s linear infinite; box-shadow: 0 0 16px -2px var(--brilho); }
.humano.is-ok { border-color: rgba(111, 191, 154, .4); }
.humano.is-ok .humano__caixa { background: var(--verde); border-color: var(--verde-texto); box-shadow: 0 0 18px -2px rgba(111, 191, 154, .7); }
.humano.is-ok .humano__caixa::after { content: ""; width: 7px; height: 12px; border: solid #0b0a08; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- telas de acesso ---------- */
.acesso { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.acesso__card { width: min(430px, 100%); padding: 40px 30px 32px; animation: sobe .7s var(--ease) both; overflow: hidden; }
.acesso__card .scan { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(212, 174, 126, .07), transparent); animation: varre 5.5s ease-in-out infinite; }
@keyframes varre { 0% { transform: translateY(-140px); } 60%, 100% { transform: translateY(680px); } }
.acesso__logo { display: block; height: 42px; width: auto; margin: 0 auto 26px; filter: drop-shadow(0 0 18px rgba(212, 174, 126, .25)); }
.acesso h1 { font-size: 2rem; text-align: center; background: linear-gradient(180deg, #fff6e8, #d9c4a4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acesso__sub { text-align: center; margin: 8px 0 24px; color: var(--apoio); font-size: .9rem; }
.acesso form { display: grid; gap: 14px; }
.acesso__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.acesso__selo { display: flex; justify-content: center; gap: 8px; margin-top: 22px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; color: var(--suave); text-transform: uppercase; }
.acesso__selo i { width: 6px; height: 6px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); align-self: center; animation: pulsa 2s ease-in-out infinite; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pulsa { 50% { opacity: .35; } }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, rgba(var(--fundo-rgb), .92), rgba(var(--fundo-rgb), .72)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--borda); }
.topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--cobre) 50%, transparent); opacity: .6; animation: linha 6s ease-in-out infinite; }
@keyframes linha { 0%, 100% { transform: scaleX(.3); opacity: .25; } 50% { transform: scaleX(1); opacity: .7; } }
.topo__in { max-width: 1360px; margin: 0 auto; padding: 0 22px; height: 66px; display: flex; align-items: center; gap: 22px; }
.topo__logo { height: 30px; width: auto; filter: drop-shadow(0 0 14px rgba(212, 174, 126, .2)); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); font-family: var(--mono); font-size: .72rem; color: var(--apoio); letter-spacing: .04em; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); animation: pulsa 2s ease-in-out infinite; }
.status b { color: var(--texto); font-weight: 600; font-variant-numeric: tabular-nums; }
.topo__user { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: .84rem; }
.avatar { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: .95rem; color: #16130f; background: linear-gradient(135deg, #e6c597, var(--cobre-2)); box-shadow: 0 0 0 2px rgba(var(--fundo-rgb), .9), 0 0 0 3px var(--borda-forte), 0 0 18px -4px var(--brilho); }
.topo__user span { color: var(--apoio); }
.abas { max-width: 1360px; margin: 0 auto; padding: 0 22px 12px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.abas button { position: relative; padding: 9px 16px; background: none; border: 1px solid transparent; border-radius: 999px; color: var(--apoio); font-family: var(--label); font-weight: 700; font-size: .8rem; letter-spacing: .04em; white-space: nowrap; transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s; }
.abas button:hover { color: var(--texto); background: rgba(var(--tinta-rgb), .04); }
/* aba selecionada: só uma linha embaixo, na mesma cor do texto */
.abas button[aria-selected="true"] { color: var(--cobre-texto); background: none; }
.abas button::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.abas button[aria-selected="true"]::after { transform: scaleX(1); }
.abas button[aria-selected="true"]:hover { background: none; }
main { max-width: 1360px; margin: 0 auto; padding: 30px 22px 90px; }
.painel-aba { animation: sobe .5s var(--ease) both; }
.cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cab h2 { margin-top: 6px; font-size: clamp(1.7rem, 3vw, 2.4rem); background: linear-gradient(180deg, #fff6e8, #cdb592); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ferramentas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(var(--tinta-rgb), .04); border: 1px solid var(--borda); }
.chips button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-family: var(--label); font-weight: 700; font-size: .76rem; color: var(--apoio); transition: background-color .25s, color .25s, box-shadow .25s; }
.chips button[aria-pressed="true"] { background: rgba(212, 174, 126, .16); color: var(--cobre-texto); box-shadow: inset 0 0 0 1px var(--borda-forte), 0 0 18px -6px var(--brilho); }

/* carregamento */
.carregando { position: relative; min-height: 220px; border-radius: 14px; overflow: hidden; background: rgba(var(--tinta-rgb), .03); }
.carregando::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(212, 174, 126, .08) 50%, transparent 80%); animation: brilha 1.4s linear infinite; }
@keyframes brilha { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- agenda ---------- */
.nav-data { display: flex; align-items: center; gap: 6px; }
.nav-data button.seta { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); font-size: 1.1rem; line-height: 1; color: var(--texto); transition: border-color .25s, box-shadow .25s; }
.nav-data button.seta:hover { border-color: var(--cobre-texto); box-shadow: 0 0 18px -6px var(--brilho); }
.nav-data input { height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(var(--fundo-rgb), .55); color: var(--texto); color-scheme: dark; font-family: var(--mono); font-size: .82rem; }
.tira { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(58px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 14px; margin-bottom: 14px; }
.tira button { position: relative; display: grid; gap: 4px; justify-items: center; padding: 9px 4px 11px; border-radius: 14px; border: 1px solid var(--borda); background: rgba(var(--fundo-rgb), .55); font-size: .7rem; color: var(--suave); text-transform: uppercase; letter-spacing: .08em; font-family: var(--label); font-weight: 700; transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s; }
.tira button b { font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--texto); letter-spacing: 0; text-transform: none; }
.tira button i { display: block; width: 70%; height: 3px; border-radius: 3px; background: rgba(var(--tinta-rgb), .08); overflow: hidden; }
.tira button i::after { content: ""; display: block; height: 100%; width: var(--oc, 0%); background: linear-gradient(90deg, var(--cobre-2), #f0d3a9); border-radius: 3px; box-shadow: 0 0 8px var(--brilho); transition: width .8s var(--ease); }
.tira button.is-hoje { border-color: var(--borda-forte); }
.tira button.is-hoje::before { content: "HOJE"; position: absolute; top: -7px; padding: 1px 6px; border-radius: 6px; font-size: .52rem; letter-spacing: .12em; color: #16130f; background: var(--cobre); }
.tira button.is-on { background: linear-gradient(180deg, rgba(212, 174, 126, .22), rgba(212, 174, 126, .06)); border-color: var(--cobre-texto); color: var(--cobre-texto); box-shadow: 0 0 24px -8px var(--brilho), inset 0 0 0 1px rgba(212, 174, 126, .2); }
.tira button:hover { transform: translateY(-2px); border-color: var(--borda-forte); }
.legenda { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 14px; font-size: .74rem; color: var(--apoio); font-family: var(--label); letter-spacing: .02em; }
.legenda span { display: inline-flex; align-items: center; gap: 7px; }
.legenda i { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.lg-livre { background: rgba(111, 191, 154, .14); border: 1px solid rgba(111, 191, 154, .55); box-shadow: 0 0 8px -2px rgba(111, 191, 154, .6); }
.lg-pago { background: linear-gradient(135deg, #e6c597, var(--cobre-2)); box-shadow: 0 0 10px -2px var(--brilho); }
.lg-pend { border: 1.5px dashed var(--cobre); }
.lg-bloq { background: repeating-linear-gradient(135deg, rgba(var(--tinta-rgb), .18) 0 3px, transparent 3px 6px); border: 1px solid var(--linha); }
.grade-wrap { overflow-x: auto; }
.grade { position: relative; display: grid; min-width: 660px; grid-template-columns: 64px repeat(var(--salas), minmax(190px, 1fr)); gap: 0 12px; }
.grade__sala { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 4px 12px; border-bottom: 1px solid var(--borda); }
.grade__sala h3 { font-size: 1.3rem; }
.grade__hora { font-family: var(--mono); font-size: .72rem; color: var(--suave); padding-top: 12px; text-align: right; padding-right: 6px; }
.celula { position: relative; overflow: hidden; margin: 5px 0; min-height: 50px; border-radius: 12px; border: 1px solid var(--linha); background: rgba(var(--fundo-rgb), .5); color: var(--apoio); text-align: left; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: .8rem; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background-color .25s; animation: entra .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 10ms); }
@keyframes entra { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.celula::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 174, 126, .14), transparent 60%); }
.celula:hover::after { opacity: 1; }
.celula--livre:hover { border-color: rgba(111, 191, 154, .45); box-shadow: 0 0 0 1px rgba(111, 191, 154, .15), 0 10px 26px -14px rgba(111, 191, 154, .55); transform: translateY(-1px); }
.chave { position: relative; flex: none; width: 36px; height: 20px; border-radius: 20px; transition: background-color .3s, box-shadow .3s; }
.chave::after { content: ""; position: absolute; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .3s var(--ease); }
.celula--livre .chave { background: linear-gradient(135deg, #8fd7b4, #3f9a73); box-shadow: 0 0 12px -2px rgba(111, 191, 154, .7); }
.celula--livre .chave::after { left: 19px; }
.celula--bloq { background: repeating-linear-gradient(135deg, rgba(var(--tinta-rgb), .05) 0 6px, transparent 6px 12px), rgba(var(--fundo-rgb), .7); color: var(--suave); border-style: dashed; border-color: rgba(var(--tinta-rgb), .14); }
.celula--bloq .chave { background: rgba(var(--tinta-rgb), .16); }
.celula--bloq .chave::after { left: 3px; background: rgba(var(--tinta-rgb), .6); }
.celula--bloq:hover { border-color: var(--borda-forte); }
.celula--bloq small { color: var(--suave); }
.celula--passado { opacity: .38; }
/* reservado pela equipe (fora do site): cobre em contorno, para não confundir com o pago pelo site */
.celula--fora { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; cursor: pointer; color: #f3dcb8; border-color: rgba(212, 174, 126, .6);
  background: linear-gradient(150deg, rgba(212, 174, 126, .24), rgba(184, 138, 85, .1)), rgba(var(--fundo-rgb), .6); box-shadow: inset 0 0 0 1px rgba(212, 174, 126, .12), 0 10px 26px -16px var(--brilho); }
.celula--fora b { font-size: .92rem; color: var(--cobre-texto); }
.celula--fora small { color: var(--apoio); }
.celula--fora:hover { border-color: var(--cobre-texto); transform: translateY(-1px); box-shadow: 0 14px 32px -14px var(--brilho); }
/* interessados: rosé terracota (vermelho claro da família do cobre), o horário segue livre no site */
.celula--interesse { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; cursor: pointer; color: #f3d2c9; border-color: rgba(217, 154, 139, .55);
  background: linear-gradient(150deg, rgba(217, 154, 139, .2), rgba(176, 103, 90, .07)), rgba(var(--fundo-rgb), .6); box-shadow: inset 0 0 0 1px rgba(217, 154, 139, .1), 0 10px 26px -16px rgba(217, 154, 139, .5); }
.celula--interesse b { font-size: .92rem; color: var(--interesse-texto); }
.celula--interesse small { color: #d9b5ab; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.celula--interesse:hover { border-color: var(--interesse-texto); transform: translateY(-1px); box-shadow: 0 14px 32px -14px rgba(217, 154, 139, .6); }
.celula--interesse::after { background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 154, 139, .16), transparent 60%); }
.lg-fora { border: 1px solid rgba(212, 174, 126, .7); background: rgba(212, 174, 126, .22); }
.lg-interesse { border: 1px solid rgba(217, 154, 139, .7); background: rgba(217, 154, 139, .24); box-shadow: 0 0 8px -2px rgba(217, 154, 139, .6); }
/* popup de bloqueio */
.dialogo__caixa--form { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; }
.dialogo__icone--interesse { background: var(--interesse-fundo); color: var(--interesse-texto); box-shadow: 0 0 30px -8px rgba(217, 154, 139, .7), inset 0 0 0 1px rgba(217, 154, 139, .35); }
.escolha { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.escolha button { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); color: var(--texto); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.escolha button b { display: block; font-size: .92rem; }
.escolha button small { display: block; margin-top: 3px; font-size: .74rem; color: var(--apoio); line-height: 1.35; }
.escolha button:hover { border-color: var(--borda-forte); }
.escolha [data-tipo="indisponivel"][aria-checked="true"] { border-color: rgba(239, 122, 111, .7); background: var(--vermelho-fundo); box-shadow: 0 0 22px -8px rgba(239, 122, 111, .6); }
.escolha [data-tipo="reservado"][aria-checked="true"] { border-color: var(--cobre-texto); background: rgba(212, 174, 126, .14); box-shadow: 0 0 22px -8px var(--brilho); }
.escolha [data-tipo="interessado"] b { color: var(--interesse-texto); }
.escolha [data-tipo="interessado"][aria-checked="true"] { border-color: var(--interesse-texto); background: var(--interesse-fundo); box-shadow: 0 0 22px -8px rgba(217, 154, 139, .7); }
.escolha--2fa { grid-template-columns: 1fr; margin: 0; }
.escolha--2fa button:hover { border-color: var(--cobre-texto); background: rgba(212, 174, 126, .08); box-shadow: 0 0 22px -10px var(--brilho); }
.periodo {display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: -6px 0 14px; }
.campos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .campos-2 { grid-template-columns: 1fr; } }
[data-campos] { display: grid; gap: 10px; }
[data-campos][hidden] { display: none; }
.campo label em, .dialogo .eyebrow em { font-style: normal; font-weight: 700; color: var(--suave); text-transform: none; letter-spacing: 0; }
.campo textarea { padding: 12px 14px; border: 1px solid var(--borda); border-radius: 12px; background: rgba(var(--fundo-rgb), .55); color: var(--texto); font: inherit; font-size: .9rem; resize: vertical; min-height: 84px; }
.campo textarea:focus { outline: none; border-color: var(--interesse-texto); box-shadow: 0 0 0 4px rgba(217, 154, 139, .14); }
.dados--dialogo { margin: 0 0 6px; font-size: .84rem; }
.dialogo__caixa { max-height: calc(100dvh - 32px); overflow-y: auto; }
.dialogo__icone--enc { background: rgba(var(--tinta-rgb), .06); color: var(--apoio); box-shadow: inset 0 0 0 1px var(--borda); }
/* horário que já passou: selo discreto */
.tag-enc { display: inline-block; font-style: normal; font-family: var(--label); font-weight: 700; font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; margin-bottom: 2px; color: var(--suave); border: 1px solid var(--linha); background: rgba(var(--tinta-rgb), .04); position: relative; }
.celula--bloq .tag-enc { margin-right: 6px; }
.celula--passado { cursor: pointer; }
.celula--passado:hover { opacity: .7; }
/* histórico: pequeno e discreto */
.hist { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--linha); }
.hist p { margin: 0 0 6px; font-family: var(--label); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.hist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; max-height: 160px; overflow-y: auto; }
.hist li { display: flex; gap: 8px; font-size: .72rem; color: var(--suave); line-height: 1.35; }
.hist time { flex: none; font-family: var(--mono); font-size: .66rem; color: var(--suave); opacity: .85; }
.hist small { font-size: .72rem; color: var(--suave); }
/* gaveta do reservado: seções que abrem */
.sanfona { display: grid; gap: 8px; margin-top: 4px; }
.sanfona details { border: 1px solid var(--borda); border-radius: 14px; background: rgba(var(--tinta-rgb), .02); }
.sanfona summary { cursor: pointer; padding: 12px 14px; font-family: var(--label); font-weight: 700; font-size: .82rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sanfona summary::-webkit-details-marker { display: none; }
.sanfona summary::after { content: "+"; color: var(--cobre-texto); font-size: 1rem; transition: transform .25s var(--ease); }
.sanfona details[open] summary::after { transform: rotate(45deg); }
.sanfona__corpo { display: grid; gap: 10px; padding: 0 14px 14px; }
.celula--pago { background: linear-gradient(150deg, #e9cb9f 0%, var(--cobre) 45%, var(--cobre-2) 100%); color: #16130f; border-color: transparent; align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 2px; cursor: pointer;
  box-shadow: 0 12px 30px -16px rgba(212, 174, 126, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.celula--pago::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); animation: reflexo 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 120ms); }
@keyframes reflexo { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.celula--pago:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(212, 174, 126, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.celula--pago b { font-size: .92rem; position: relative; }
.celula--pago small { opacity: .78; position: relative; }
.celula .pend { font-size: .68rem; color: var(--cobre-texto); border: 1.5px dashed rgba(212, 174, 126, .6); padding: 2px 8px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; animation: pulsa 2.4s ease-in-out infinite; }
.dica { position: fixed; z-index: 60; max-width: 290px; padding: 12px 14px; border-radius: 14px; background: rgba(var(--fundo-rgb), .94); border: 1px solid var(--borda-forte); color: var(--texto); font-size: .8rem; line-height: 1.5; pointer-events: none;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .8), 0 0 30px -12px var(--brilho); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .18s, transform .18s var(--ease); }
.dica.on { opacity: 1; transform: none; }
.dica b { font-family: var(--display); font-weight: 500; font-size: 1.08rem; display: block; margin-bottom: 4px; color: var(--cobre-texto); }
.dica span { display: block; color: var(--apoio); }

/* gaveta */
.gaveta { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: flex-end; }
.gaveta__fundo { position: absolute; inset: 0; background: rgba(5, 5, 4, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .25s both; }
.gaveta__corpo { width: min(460px, 100%); height: 100%; overflow-y: auto; border-radius: 22px 0 0 22px; padding: 30px 26px 44px; background: var(--vidro-forte); border-right: 0; animation: desliza .45s var(--ease) both; }
@keyframes desliza { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.gaveta__fechar { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); font-size: 1.1rem; color: var(--texto); transition: transform .3s var(--ease), border-color .25s; }
.gaveta__fechar:hover { transform: rotate(90deg); border-color: var(--cobre-texto); }
.gaveta h3 { font-size: 1.8rem; margin: 8px 0 4px; }
.dados { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 22px 0; font-size: .88rem; border: 1px solid var(--borda); border-radius: 14px; overflow: hidden; }
.dados dt, .dados dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--linha); }
.dados dt { color: var(--suave); font-family: var(--label); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(var(--tinta-rgb), .02); }
.dados dd { overflow-wrap: anywhere; }
.dados dt:last-of-type, .dados dd:last-of-type { border-bottom: 0; }
.bloco { border-top: 1px solid var(--borda); padding-top: 20px; margin-top: 20px; display: grid; gap: 12px; }

/* diálogo */
.dialogo { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.dialogo__fundo { position: absolute; inset: 0; background: rgba(5, 5, 4, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s both; }
.dialogo__caixa { width: min(460px, 100%); padding: 30px 26px 24px; background: var(--vidro-forte); animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.dialogo__icone { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.3rem; font-weight: 700; }
.dialogo__icone--perigo { background: var(--vermelho-fundo); color: var(--vermelho-texto); box-shadow: 0 0 30px -8px rgba(239, 122, 111, .7), inset 0 0 0 1px rgba(239, 122, 111, .35); }
.dialogo__icone--ok { background: var(--verde-fundo); color: var(--verde-texto); box-shadow: 0 0 30px -8px rgba(111, 191, 154, .7), inset 0 0 0 1px rgba(111, 191, 154, .35); }
.dialogo h3 { font-size: 1.55rem; margin-bottom: 8px; }
.dialogo p { margin: 0 0 16px; color: var(--apoio); }
.dialogo p b { color: var(--texto); }
.dialogo__acoes { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: rgba(var(--fundo-rgb), .95); border: 1px solid var(--borda-forte); color: var(--texto); padding: 12px 18px; border-radius: 999px; font-size: .84rem; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8), 0 0 30px -12px var(--brilho); animation: sobe .35s var(--ease) both; }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobre); box-shadow: 0 0 10px var(--cobre); }

/* minha conta: segurança */
.seg { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); }
.seg b { display: block; font-size: .95rem; }
.seg small { display: block; color: var(--apoio); font-size: .8rem; margin-top: 2px; }
.seg__icone { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--cobre-texto); background: rgba(212, 174, 126, .12); box-shadow: inset 0 0 0 1px var(--borda-forte); }
.seg__icone.on { color: var(--verde-texto); background: var(--verde-fundo); box-shadow: inset 0 0 0 1px rgba(111, 191, 154, .35), 0 0 22px -6px rgba(111, 191, 154, .6); }
#seg-acao { display: grid; gap: 12px; }
.passos { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 16px; }
.passos li { counter-increment: p; position: relative; padding-left: 42px; display: grid; gap: 8px; justify-items: start; }
.passos li::before { content: counter(p); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; color: #16130f; background: linear-gradient(135deg, #e6c597, var(--cobre-2)); }
.passos small { color: var(--apoio); font-size: .8rem; }
.passos .campo { width: 100%; }
.chave-2fa { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--borda-forte); background: rgba(var(--fundo-rgb), .6); font-family: var(--mono); font-size: .9rem; letter-spacing: .08em; color: var(--cobre-texto); word-break: break-all; }

/* ---------- gráficos ---------- */
.graficos { display: grid; gap: 20px; }
@media (min-width: 1100px) { .graficos { grid-template-columns: 1fr 1fr; } }
.grafico { padding: 24px 24px 20px; }
.grafico__cab { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 4px; }
.grafico h3 { font-size: 1.4rem; margin-top: 6px; }
.grafico__dest { margin: 16px 0 8px; font-size: .88rem; color: var(--apoio); }
.grafico__dest b { font-family: var(--display); font-weight: 500; font-size: 1.8rem; display: block; line-height: 1.1; background: linear-gradient(180deg, #fff6e8, var(--cobre)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grafico svg { display: block; width: 100%; height: auto; overflow: visible; }
.grafico .eixo text { font-family: var(--mono); font-size: 9.5px; fill: var(--suave); }
.grafico .grade-linha { stroke: rgba(var(--tinta-rgb), .07); stroke-width: 1; stroke-dasharray: 2 4; }
.barra { fill: url(#gradBarra); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease), opacity .2s; filter: drop-shadow(0 0 5px rgba(212, 174, 126, .35)); }
.vivo .barra { transform: scaleY(1); }
.grafico svg:hover .barra { opacity: .45; }
.grafico svg:hover .barra.ativa, .barra.ativa { opacity: 1; filter: drop-shadow(0 0 10px rgba(240, 211, 169, .8)); }
.area { fill: url(#gradArea); opacity: 0; transition: opacity 1.4s var(--ease) .3s; }
.vivo .area { opacity: 1; }
.linha-graf { fill: none; stroke: url(#gradLinha); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease); filter: drop-shadow(0 0 6px rgba(212, 174, 126, .55)); }
.marco-hoje { stroke: var(--verde); stroke-width: 1; stroke-dasharray: 3 4; opacity: .8; }
.marco-hoje-txt { font-family: var(--mono); font-size: 9.5px; font-weight: 700; fill: var(--verde); letter-spacing: .08em; }
.ponto { fill: #fff6e8; stroke: var(--cobre); stroke-width: 3; opacity: 0; transition: opacity .15s; filter: drop-shadow(0 0 8px var(--cobre)); }
.ponto.on { opacity: 1; }
.cursor { stroke: var(--borda-forte); stroke-width: 1; opacity: 0; }
.cursor.on { opacity: 1; }
.semana { display: grid; gap: 7px; margin-top: 18px; }
.semana__linha { display: grid; grid-template-columns: 38px 1fr 56px; align-items: center; gap: 10px; font-size: .78rem; }
.semana__linha span:first-child { font-family: var(--label); font-weight: 700; color: var(--suave); text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; }
.semana__linha .trilho { height: 8px; border-radius: 8px; background: rgba(var(--tinta-rgb), .06); overflow: hidden; }
.semana__linha .trilho i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--cobre-escuro), var(--cobre)); transition: width 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.semana__linha.topo-dia .trilho i { background: linear-gradient(90deg, var(--cobre), #fff0d6); box-shadow: 0 0 12px var(--brilho); }
.semana__linha.topo-dia span:first-child { color: var(--cobre-texto); }
.semana__linha span:last-child { text-align: right; color: var(--apoio); font-family: var(--mono); font-size: .74rem; }
.tabela-graf { margin-top: 12px; font-size: .78rem; }
.tabela-graf summary { cursor: pointer; display: inline-block; }
.tabela-graf table { width: 100%; border-collapse: collapse; margin-top: 8px; font-family: var(--mono); }
.tabela-graf td, .tabela-graf th { padding: 6px 8px; border-bottom: 1px solid var(--linha); text-align: left; }
.tabela-graf th { color: var(--suave); font-weight: 600; }
.tabela-graf td:last-child, .tabela-graf th:last-child { text-align: right; }

/* ---------- resumo ---------- */
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-bottom: 20px; }
.kpi { padding: 18px 18px 16px; overflow: hidden; animation: sobe .55s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.kpi span { font-family: var(--label); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.kpi b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.95rem; margin: 8px 0 6px; font-variant-numeric: tabular-nums; color: var(--texto); }
.kpi small { font-family: var(--mono); font-size: .7rem; }
.kpi small.sobe { color: var(--verde-texto); }
.kpi small.desce { color: var(--vermelho-texto); }
.kpi small.igual { color: var(--suave); }
.kpi--destaque { background: linear-gradient(150deg, rgba(212, 174, 126, .26), rgba(212, 174, 126, .05) 60%), var(--vidro); border-color: var(--borda-forte); }
.kpi--destaque b { background: linear-gradient(180deg, #fff6e8, var(--cobre)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(212, 174, 126, .25); }
.kpi--destaque::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 174, 126, .35), transparent 70%); pointer-events: none; opacity: 1; animation: respira 5s ease-in-out infinite; }
@keyframes respira { 50% { transform: scale(1.25); opacity: .6; } }
.listas { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lista { padding: 22px; }
.lista h3 { font-size: 1.25rem; margin-bottom: 4px; }
.lista p.muted { margin: 0 0 14px; font-size: .78rem; }
.lista ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lista li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; font-size: .86rem; padding: 8px 8px; border-radius: 10px; transition: background-color .2s; }
.lista li:hover { background: rgba(var(--tinta-rgb), .04); }
.lista li em { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--suave); width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(var(--tinta-rgb), .05); }
.lista li:first-child em { color: #16130f; background: linear-gradient(135deg, #e6c597, var(--cobre-2)); box-shadow: 0 0 12px -2px var(--brilho); }
.lista li small { display: block; color: var(--suave); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lista li b { font-family: var(--mono); font-size: .82rem; color: var(--cobre-texto); }
.lista .vazio { color: var(--suave); font-size: .84rem; }
.barra-h { display: grid; grid-template-columns: 80px 1fr 52px; gap: 10px; align-items: center; font-size: .82rem; }
.barra-h b { font-family: var(--mono); font-size: .78rem; color: var(--cobre-texto); text-align: right; }
.barra-h .trilho { height: 8px; border-radius: 8px; background: rgba(var(--tinta-rgb), .06); overflow: hidden; }
.barra-h .trilho i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--cobre-escuro), var(--cobre)); width: 0; transition: width 1.1s var(--ease); box-shadow: 0 0 10px var(--brilho); }

/* ---------- equipe ---------- */
.equipe { width: 100%; border-collapse: collapse; font-size: .88rem; }
.equipe th, .equipe td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linha); }
.equipe tbody tr { transition: background-color .2s; }
.equipe tbody tr:hover { background: rgba(var(--tinta-rgb), .03); }
.equipe th { font-family: var(--label); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); font-weight: 700; }
.equipe td:nth-child(2) { font-family: var(--mono); font-size: .8rem; color: var(--apoio); }
.equipe td .btn + .btn { margin-left: 6px; }
.selo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-family: var(--label); font-weight: 700; letter-spacing: .04em; border: 1px solid; }
.selo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.selo--ativo { color: var(--verde-texto); background: var(--verde-fundo); border-color: rgba(111, 191, 154, .3); }
.selo--aguardando { color: var(--cobre-texto); background: rgba(212, 174, 126, .1); border-color: var(--borda-forte); }
.selo--aguardando::before { animation: pulsa 1.6s ease-in-out infinite; }
.selo--convidado { color: var(--apoio); background: rgba(var(--tinta-rgb), .05); border-color: var(--linha); }
.selo--bloqueado, .selo--recusado { color: var(--vermelho-texto); background: var(--vermelho-fundo); border-color: rgba(239, 122, 111, .3); }
.convite { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 20px; margin-bottom: 16px; }
.convite .campo { flex: 1 1 280px; }

@media (max-width: 640px) {
  main { padding: 22px 14px 70px; }
  .topo__user span, .status { display: none; }
  .dados { grid-template-columns: 1fr; }
  .dados dt { border-bottom: 0; padding-bottom: 2px; }
  .gaveta__corpo { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- tema claro (botão no topo; a escolha fica salva no navegador) ---------- */
html[data-tema="claro"] {
  color-scheme: light;
  --tinta-rgb: 39, 34, 31; --fundo-rgb: 255, 252, 246;
  --bg: #f3ece0; --bg-2: #fbf7f0; --vidro: rgba(255, 252, 246, .74); --vidro-2: rgba(255, 252, 246, .88); --vidro-forte: rgba(255, 251, 244, .97);
  --borda: rgba(142, 100, 54, .2); --borda-forte: rgba(142, 100, 54, .42); --linha: rgba(39, 34, 31, .1);
  --texto: #27221f; --apoio: rgba(39, 34, 31, .74); --suave: rgba(39, 34, 31, .52);
  --brilho: rgba(184, 138, 85, .3);
  --cobre-texto: #8a5f30; --verde-texto: #2c7353; --vermelho-texto: #b23b30; --interesse-texto: #9a4436;
  --verde-fundo: rgba(63, 154, 115, .12); --vermelho-fundo: rgba(201, 72, 61, .1); --interesse-fundo: rgba(217, 154, 139, .22);
  --sombra: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 18px 44px -24px rgba(80, 56, 30, .35);
}
html[data-tema="claro"] body::before { opacity: .7; }
html[data-tema="claro"] .btn { background: linear-gradient(180deg, #fffdf8, #f1e8da); }
html[data-tema="claro"] .btn--ghost { background: rgba(255, 252, 246, .6); }
html[data-tema="claro"] .btn--cobre, html[data-tema="claro"] .acesso .btn--bloco[type="submit"]:not(.btn--ghost), html[data-tema="claro"] .convite .btn { background: linear-gradient(135deg, #e6c597, var(--cobre) 45%, var(--cobre-2)); }
html[data-tema="claro"] .btn--verde { background: linear-gradient(135deg, #9fe0c1, var(--verde) 50%, #3f9a73); }
html[data-tema="claro"] .btn--interesse { background: linear-gradient(135deg, #efc4b9, var(--interesse) 45%, var(--interesse-2)); }
html[data-tema="claro"] .btn--perigo { background: linear-gradient(135deg, #f08a7f, var(--vermelho-2)); }
html[data-tema="claro"] .link:hover { color: #6e4a22; }
html[data-tema="claro"] .aviso--erro { color: #9c2f25; }
html[data-tema="claro"] .aviso--ok { color: #24664a; }
html[data-tema="claro"] .acesso h1, html[data-tema="claro"] .cab h2 { background: linear-gradient(180deg, #2c2622, #6e4a22); -webkit-background-clip: text; background-clip: text; }
html[data-tema="claro"] .grafico__dest b, html[data-tema="claro"] .kpi--destaque b { background: linear-gradient(180deg, #3a2a1a, #a87a46); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
html[data-tema="claro"] .ponto { fill: #fffdf8; }
html[data-tema="claro"] .celula--fora { color: #5a3f22; background: linear-gradient(150deg, rgba(212, 174, 126, .34), rgba(212, 174, 126, .14)), #fffaf2; }
html[data-tema="claro"] .celula--interesse { color: #6e2f24; background: linear-gradient(150deg, rgba(217, 154, 139, .38), rgba(217, 154, 139, .16)), #fdf3f0; border-color: rgba(176, 103, 90, .6); }
html[data-tema="claro"] .celula--interesse small { color: #7d4a40; }
html[data-tema="claro"] .celula--livre .chave { background: linear-gradient(135deg, #7fcaa5, #3f9a73); }
html[data-tema="claro"] .dica { background: rgba(255, 252, 246, .97); box-shadow: 0 20px 50px -16px rgba(80, 56, 30, .4); }
html[data-tema="claro"] .dialogo__fundo, html[data-tema="claro"] .gaveta__fundo { background: rgba(60, 46, 30, .28); }
html[data-tema="claro"] .toast { background: rgba(39, 34, 31, .95); color: #f3ece0; }

/* botão do tema */
.tema { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .04); color: var(--apoio); transition: border-color .25s, color .25s, transform .4s var(--ease); }
.tema:hover { border-color: var(--borda-forte); color: var(--cobre-texto); transform: rotate(-20deg); }
.tema svg { width: 16px; height: 16px; }
.tema .lua { display: none; }
html[data-tema="claro"] .tema .sol { display: none; }
html[data-tema="claro"] .tema .lua { display: block; }html[data-tema="claro"] .topo__logo, html[data-tema="claro"] .acesso__logo { filter: brightness(.28) sepia(.6) saturate(1.3); }
/* pedidos de nova senha (aba Equipe) */
.pedidos-senha { padding: 18px 20px; margin-bottom: 16px; border-color: var(--borda-forte); }
.pedidos-senha h3 { font-size: 1.25rem; margin-bottom: 4px; }
.pedidos-senha > p { margin: 0 0 12px; font-size: .84rem; }
.pedidos-senha ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pedidos-senha li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--borda); border-radius: 12px; background: rgba(var(--tinta-rgb), .03); }
.pedidos-senha li b { display: block; }
.pedidos-senha li small { display: block; font-size: .76rem; color: var(--apoio); }
.pedidos-senha__acoes { display: flex; gap: 8px; flex-wrap: wrap; }/* canceladas do dia: discretas, abaixo da agenda */
.tag-canc { display: inline-block; font-style: normal; font-family: var(--label); font-weight: 700; font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; color: var(--vermelho-texto); border: 1px dashed rgba(239, 122, 111, .45); opacity: .8; }
.canceladas { margin-top: 12px; padding: 0; }
.canceladas summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-family: var(--label); font-weight: 700; font-size: .78rem; color: var(--apoio); }
.canceladas summary::-webkit-details-marker { display: none; }
.canceladas summary b { font-size: .7rem; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--borda); color: var(--suave); }
.canceladas summary::after { content: "+"; margin-left: auto; color: var(--cobre-texto); transition: transform .25s var(--ease); }
.canceladas[open] summary::after { transform: rotate(45deg); }
.canceladas ul { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; }
.canceladas li { display: grid; gap: 2px; padding: 10px 12px; border: 1px dashed var(--linha); border-radius: 12px; font-size: .82rem; color: var(--apoio); }
.canceladas__onde { font-family: var(--mono); font-size: .72rem; color: var(--suave); }
.canceladas li small { font-size: .72rem; color: var(--suave); }/* botão "+ Criar" (canto superior esquerdo da agenda) */
.cab__titulo { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-criar { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 16px; border-radius: 18px; border: 0; cursor: pointer;
  font-family: var(--label); font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: #16130f;
  background: linear-gradient(135deg, #f0d3a9, var(--cobre) 50%, var(--cobre-2)); box-shadow: 0 12px 30px -12px var(--brilho), 0 2px 6px -2px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .25s var(--ease), box-shadow .25s; }
.btn-criar span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-size: 1.5rem; line-height: 1; font-weight: 400; background: rgba(255, 255, 255, .35); }
.btn-criar:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(212, 174, 126, .75), 0 2px 6px -2px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-criar:active { transform: translateY(0); }
/* popup de criar em massa */
.dialogo__caixa--lote { width: min(720px, 100%); }
.dialogo__caixa--lote .escolha { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .dialogo__caixa--lote .escolha { grid-template-columns: 1fr; } }
#lt-regras { display: grid; gap: 10px; }
.regra { border: 1px solid var(--borda); border-radius: 14px; padding: 12px; background: rgba(var(--tinta-rgb), .025); display: grid; gap: 10px; }
.regra__linha { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.2fr auto; gap: 8px; align-items: end; }
@media (max-width: 620px) { .regra__linha { grid-template-columns: 1fr 1fr; } .regra__tirar { justify-self: end; } }
.regra .campo select, .regra .campo input { height: 42px; }
.regra__tirar { width: 34px; height: 42px; border-radius: 10px; border: 1px solid var(--borda); background: none; color: var(--suave); font-size: 1.2rem; }
.regra__tirar:hover { color: var(--vermelho-texto); border-color: rgba(239, 122, 111, .5); }
.dias-sem { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dias-sem [data-dia] { width: 46px; height: 36px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); font-family: var(--label); font-weight: 700; font-size: .74rem; color: var(--apoio); }
.dias-sem [data-dia][aria-pressed="true"] { background: linear-gradient(135deg, #e6c597, var(--cobre) 55%, var(--cobre-2)); color: #16130f; border-color: transparent; box-shadow: 0 6px 16px -8px var(--brilho); }
.dias-sem .link { margin-left: 6px; font-size: .74rem; }
.lote__mais { justify-self: start; margin: 10px 0 14px; }
.previa { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(111, 191, 154, .45); background: var(--verde-fundo); display: grid; gap: 4px; font-size: .84rem; }
.previa--aviso { border-color: rgba(212, 174, 126, .55); background: rgba(212, 174, 126, .1); }
.previa ul { margin: 6px 0 0; padding-left: 18px; max-height: 160px; overflow-y: auto; font-size: .78rem; color: var(--apoio); }
.previa em { font-style: normal; color: var(--vermelho-texto); font-size: .74rem; }.regra .periodo { margin: 0; }
.regra__quando { display: grid; gap: 10px; }
.regra__quando[hidden] { display: none; }
.regra .campo { min-width: 0; }
.regra .campo select, .regra .campo input { width: 100%; min-width: 0; }
.dialogo__caixa--lote { overflow-x: hidden; }
/* botão Criar ao lado de "Agenda conectada ao site" */
.cab__linha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
/* motivo do cancelamento dentro dos popups */
.dialogo__aviso { display: grid; gap: 10px; margin: 0 0 14px; }
.dialogo__aviso p { margin: 0; }
.nota-canc { border: 1px dashed rgba(239, 122, 111, .45); border-radius: 12px; padding: 10px 12px; background: var(--vermelho-fundo); margin-bottom: 10px; }
.nota-canc > p { margin: 0 0 6px; font-size: .84rem; color: var(--vermelho-texto); }
.nota-canc .dados { margin: 0; background: rgba(var(--fundo-rgb), .5); }
/* resumo do dia (fim da agenda) */
.resumo-dia { margin-top: 14px; padding: 20px 22px; }
.resumo-dia__cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.resumo-dia__cab h3 { font-size: 1.5rem; margin-top: 4px; }
.resumo-dia__cab h3::first-letter { text-transform: uppercase; }
.resumo-dia__anel { --p: 0; flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--bg-2) 76%, transparent 78% 100%), conic-gradient(var(--cobre) calc(var(--p) * 1%), rgba(var(--tinta-rgb), .08) 0); }
.resumo-dia__anel b { font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1; }
.resumo-dia__anel small { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--suave); }
.resumo-dia__frase { margin: 10px 0 14px; color: var(--apoio); font-size: .92rem; }
.resumo-dia__nums { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.resumo-dia__nums button { cursor: pointer; font: inherit; transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); font-size: .8rem; color: var(--apoio); }
.resumo-dia__nums button:hover { border-color: var(--borda-forte); background: rgba(var(--tinta-rgb), .06); transform: translateY(-1px); box-shadow: 0 8px 20px -12px var(--brilho); }
.resumo-dia__nums i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.resumo-dia__nums b { color: var(--texto); }
.lg-canc { border: 1.5px dashed rgba(239, 122, 111, .7); }
.resumo-dia__salas { display: grid; gap: 8px; max-width: 520px; }
.resumo-dia__salas .trilho i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cobre-2), #f0d3a9); }
.linha-tempo { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.linha-tempo li { display: grid; grid-template-columns: 78px 14px 1fr; gap: 10px; align-items: start; padding: 7px 0; border-bottom: 1px dashed var(--linha); }
.linha-tempo li:last-child { border-bottom: 0; }
.linha-tempo time { font-family: var(--mono); font-size: .74rem; color: var(--suave); padding-top: 2px; }
.linha-tempo__ponto { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: var(--suave); }
.linha-tempo b { display: block; font-size: .88rem; }
.linha-tempo small { display: block; font-size: .74rem; color: var(--suave); }
.lt-pago .linha-tempo__ponto { background: var(--cobre); box-shadow: 0 0 8px var(--brilho); }
.lt-fora .linha-tempo__ponto { background: rgba(212, 174, 126, .25); border: 2px solid var(--cobre); }
.lt-pend .linha-tempo__ponto { background: none; border: 2px dashed var(--cobre); }
.lt-bloq .linha-tempo__ponto { background: repeating-linear-gradient(135deg, var(--suave) 0 2px, transparent 2px 4px); border: 1px solid var(--suave); }
.lt-interesse .linha-tempo__ponto { background: var(--interesse); }
.lt-canc .linha-tempo__ponto { background: none; border: 2px dashed var(--vermelho); }
.lt-canc b { text-decoration: line-through; text-decoration-color: rgba(239, 122, 111, .6); color: var(--apoio); }
@media (max-width: 560px) { .linha-tempo li { grid-template-columns: 64px 12px 1fr; } .resumo-dia__anel { width: 70px; height: 70px; } }/* "+ Criar" à esquerda das abas, separado por um traço vertical que some nas pontas */
.abas-barra { max-width: 1360px; margin: 0 auto; padding: 0 22px 12px; display: flex; align-items: center; gap: 14px; }
.abas-barra .abas { max-width: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.btn-criar--nav { height: 40px; padding: 0 18px 0 8px; border-radius: 14px; font-size: .84rem; gap: 8px; }
.btn-criar--nav span { width: 26px; height: 26px; border-radius: 9px; font-size: 1.25rem; }
.abas__divisor { flex: none; width: 1px; height: 28px; background: linear-gradient(180deg, transparent, var(--borda-forte) 30%, var(--borda-forte) 70%, transparent); position: relative; }
.abas__divisor::after { content: ""; position: absolute; left: -2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--cobre); box-shadow: 0 0 8px var(--brilho); }
@media (max-width: 560px) { .abas-barra { gap: 10px; padding: 0 16px 10px; } .btn-criar--nav { padding: 0 14px 0 7px; } }/* detalhes de cada número do resumo do dia (popup) */
.det { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; max-height: min(56vh, 460px); overflow-y: auto; }
.det li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--borda); border-radius: 12px; background: rgba(var(--tinta-rgb), .025); text-align: left; }
.det__onde { font-family: var(--mono); font-size: .7rem; color: var(--suave); }
.det li b { font-size: .9rem; }
.det li small { font-size: .76rem; color: var(--apoio); }
.det--canc li { border-style: dashed; border-color: rgba(239, 122, 111, .4); }/* quem e quando agendou: discreto, abaixo do título da gaveta */
.agendado-em { margin: 2px 0 0; font-size: .74rem; color: var(--suave); font-style: italic; letter-spacing: .01em; }
/* ícone do calendário na mesma cor da data (tema claro) */
html[data-tema="claro"] input[type="date"] { color-scheme: light; }
html[data-tema="claro"] .nav-data input::-webkit-calendar-picker-indicator { opacity: .85; }
/* atualização ao vivo: sem animação de entrada */
.sem-anim .celula { animation: none !important; }
/* dispositivos conectados (aba Equipe), discreto */
.eq-disp { display: block; margin-top: 3px; font-size: .66rem; line-height: 1.45; color: var(--suave); }
/* Resumo: período de/até */
.rs-de-ate { gap: 8px; flex-wrap: wrap; }
.rs-de-ate label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--apoio); font-family: var(--label); font-weight: 700; }
/* sino de notificações */
.sino { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .04); color: var(--apoio); transition: border-color .25s, color .25s; }
.sino svg { width: 17px; height: 17px; }
.sino:hover, .sino[aria-expanded="true"] { border-color: var(--borda-forte); color: var(--cobre-texto); }
.sino.tem { color: var(--cobre-texto); border-color: var(--borda-forte); }
.sino.tem svg { animation: balanca 2.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes balanca { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(14deg); } 93% { transform: rotate(-12deg); } 97% { transform: rotate(6deg); } }
.sino__n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-family: var(--label); font-size: .62rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f08a7f, var(--vermelho-2)); box-shadow: 0 0 0 2px var(--bg); }
.notifs { position: fixed; z-index: 75; top: 64px; right: 16px; width: min(400px, calc(100vw - 32px)); max-height: min(72vh, 640px); overflow-y: auto; border-radius: 18px; border: 1px solid var(--borda-forte); background: var(--vidro-forte); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); animation: pop .25s var(--ease) both; }
.notifs__cab { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--vidro-forte); border-bottom: 1px solid var(--linha); font-size: .9rem; }
.notifs__lista { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; }
.notifs__vazio { margin: 0; padding: 22px 18px; text-align: center; color: var(--apoio); font-size: .86rem; }
.notifs__vazio small { color: var(--suave); font-size: .74rem; }
.notif { display: grid; gap: 3px; padding: 12px 13px; border-radius: 14px; border: 1px solid var(--borda); background: rgba(var(--tinta-rgb), .03); }
.notif--erro { border-color: rgba(239, 122, 111, .45); background: var(--vermelho-fundo); }
.notif__topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.notif__selo { font-family: var(--label); font-weight: 700; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; color: #16130f; background: linear-gradient(135deg, #e6c597, var(--cobre-2)); }
.notif--erro .notif__selo { color: #fff; background: linear-gradient(135deg, #f08a7f, var(--vermelho-2)); }
.notif time { font-family: var(--mono); font-size: .66rem; color: var(--suave); }
.notif b { font-size: .95rem; margin-top: 2px; }
.notif small { font-size: .76rem; color: var(--apoio); }
.notif__motivo { margin: 4px 0 0; font-size: .8rem; color: var(--vermelho-texto); }
.notif__horas { margin: 4px 0 0; padding-left: 16px; font-size: .78rem; color: var(--apoio); }
.notif__acoes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }/* mensagens da equipe */
.msg-form { padding: 18px 20px; margin-bottom: 14px; display: grid; gap: 10px; }
.msg-form__cab h3 { font-size: 1.25rem; }
.msg-form__cab p { margin: 2px 0 0; font-size: .82rem; }
.msg-form__para { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.msg-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 12px; background: rgba(var(--fundo-rgb), .55); color: var(--texto); font: inherit; font-size: .9rem; resize: vertical; }
.msg-form textarea:focus { outline: none; border-color: var(--cobre); box-shadow: 0 0 0 4px rgba(212, 174, 126, .14); }
.msg-form__anexos { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-form__anexos:empty { display: none; }
.msg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: 999px; border: 1px solid var(--borda); font-size: .78rem; background: rgba(var(--tinta-rgb), .03); max-width: 100%; }
.msg-chip small { color: var(--suave); }
.msg-chip button { border: 0; background: none; color: var(--suave); font-size: 1rem; width: 22px; height: 22px; border-radius: 50%; }
.msg-chip button:hover { color: var(--vermelho-texto); }
.msg-form__acoes { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-form__arquivo { cursor: pointer; }
.enviadas { margin-bottom: 14px; padding: 0; }
.enviadas summary { cursor: pointer; list-style: none; padding: 12px 16px; font-family: var(--label); font-weight: 700; font-size: .8rem; color: var(--apoio); display: flex; gap: 8px; align-items: center; }
.enviadas summary::-webkit-details-marker { display: none; }
.enviadas summary b { font-size: .7rem; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--borda); color: var(--suave); }
.enviadas ul { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; }
.enviadas li { padding: 10px 12px; border: 1px solid var(--linha); border-radius: 12px; font-size: .84rem; }
.enviadas__topo { display: flex; justify-content: space-between; gap: 8px; color: var(--apoio); font-size: .78rem; }
.enviadas time { font-family: var(--mono); font-size: .66rem; color: var(--suave); }
.enviadas p { margin: 6px 0 0; }
.notif--mensagem .notif__selo { color: #fff; background: linear-gradient(135deg, #7fb2a0, var(--oasis)); }
.notif__texto { margin: 6px 0 0; font-size: .86rem; color: var(--texto); overflow-wrap: anywhere; }
.anexos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.anexo--img img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--borda); }
.anexo--video { width: 100%; max-height: 220px; border-radius: 10px; background: #000; }
.anexo--arq { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--borda); font-size: .78rem; color: var(--texto); text-decoration: none; }
.anexo--arq small { color: var(--suave); }#eq-tabela td:first-child { min-width: 170px; }
/* aba Equipe: mensagens em cima; convites e lista de acessos embaixo */
.eq-acessos { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--borda); }
.eq-acessos h3 { font-size: 1.35rem; }
/* mensagens enviadas: cartão com período de/até */
.enviadas { padding: 16px 18px; }
.enviadas__cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.enviadas__cab h3 { font-size: 1.25rem; }
.enviadas ul { padding: 0; }
.enviadas__total, .enviadas__vazio { margin: 0 0 10px; font-size: .78rem; color: var(--suave); }
#eq-enviadas ul { list-style: none; margin: 0; display: grid; gap: 8px; max-height: 460px; overflow-y: auto; }
.eq-acessos + #eq-pedidos .pedidos-senha { margin-top: 18px; }/* mensagens enviadas: barra discreta que abre ao clicar */
.enviadas { padding: 0; margin-bottom: 14px; }
.enviadas > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-family: var(--label); font-weight: 700; font-size: .78rem; letter-spacing: .02em; color: var(--suave); transition: color .2s; }
.enviadas > summary::-webkit-details-marker { display: none; }
.enviadas > summary::after { content: "+"; margin-left: auto; color: var(--cobre-texto); font-size: 1rem; transition: transform .25s var(--ease); }
.enviadas[open] > summary::after { transform: rotate(45deg); }
.enviadas > summary:hover { color: var(--apoio); }
.enviadas__corpo { padding: 0 16px 14px; display: grid; gap: 10px; }
/* movimento: "Mais detalhes" (só administradores), cada locação do período */
.mv-det { margin-top: 18px; }
.mv-det__dica { margin: 0; font-size: .78rem; max-width: 70ch; }
.mv-det__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 620px; overflow-y: auto; }
.mv-det__lista > li { padding: 12px 14px; border: 1px solid var(--linha); border-radius: 12px; font-size: .84rem; }
.mv-det__valor { font-family: var(--mono); font-size: .78rem; color: var(--apoio); white-space: nowrap; }
.mv-det__canc { color: var(--vermelho-texto); font-size: .76rem; }
.mv-det__dados { margin: 8px 0 0; display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: 4px 14px; font-size: .8rem; }
.mv-det__dados dt { color: var(--suave); font-size: .74rem; padding-top: 1px; }
.mv-det__dados dd { margin: 0; overflow-wrap: anywhere; }
.mv-det__itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.mv-det .mv-det__itens li { border: 0; padding: 0; border-radius: 0; font-size: .8rem; }
.mv-det__st { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--borda); font-size: .66rem; color: var(--suave); }
.mv-det__st--ok { color: var(--cobre-texto); border-color: currentColor; }
.mv-det__st--canc { text-decoration: line-through; }
@media (max-width: 560px) { .mv-det__dados { grid-template-columns: 1fr; } .mv-det__dados dd { margin-bottom: 4px; } }/* mais detalhes: filtro por cliente (lista de e-mails que filtra conforme digita) */
.mv-det__cliente { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mv-det__cliente > label { font-size: .8rem; color: var(--apoio); }
.combo { position: relative; flex: 1 1 280px; max-width: 460px; }
.combo input { width: 100%; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(var(--fundo-rgb), .55); color: var(--texto); font: inherit; font-size: .84rem; transition: border-color .25s, box-shadow .25s; }
.combo input::placeholder { color: var(--suave); }
.combo input:focus { outline: none; border-color: var(--cobre-texto); box-shadow: 0 0 0 4px rgba(212, 174, 126, .14); }
.combo .combo__lista { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; display: block; max-height: 280px; overflow-y: auto;
  background: var(--vidro-forte); border: 1px solid var(--borda-forte); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); }
.combo .combo__lista li { border: 0; padding: 7px 10px; border-radius: 9px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; }
.combo__lista li b { font-weight: 400; overflow-wrap: anywhere; }
.combo__lista li span { color: var(--suave); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.combo__lista li:hover, .combo__lista li[aria-selected="true"] { background: rgba(212, 174, 126, .16); }
.combo .combo__lista li.combo__vazio { cursor: default; color: var(--suave); background: none; }/* agenda: botão "Filtrar" ao lado do "+ Criar" e popup por cliente */
.btn-filtrar { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px 0 12px; border-radius: 14px; cursor: pointer; flex: none;
  border: 1px solid var(--borda-forte); background: rgba(var(--fundo-rgb), .45); color: var(--texto); font-family: var(--label); font-weight: 700; font-size: .84rem;
  transition: border-color .2s, background-color .2s, transform .2s; }
.btn-filtrar svg { width: 17px; height: 17px; color: var(--cobre-texto); }
.btn-filtrar:hover { border-color: var(--cobre-texto); transform: translateY(-1px); }
.dialogo__caixa--filtro { width: min(600px, 100%); text-align: left; }
.dialogo__caixa--filtro .combo { max-width: none; }
.filtro__rotulo { margin: 16px 0 8px; }
.dialogo__caixa--filtro #fl-modo { width: fit-content; max-width: 100%; }
.filtro__datas { margin-top: 10px; flex-wrap: wrap; }
.filtro__lista { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; max-height: min(52vh, 460px); overflow-y: auto; }
.filtro__item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-align: left; cursor: pointer; border-radius: 12px; border: 1px solid var(--linha); background: rgba(var(--fundo-rgb), .35); color: var(--texto); font: inherit; transition: border-color .2s, background-color .2s; }
.filtro__item:hover, .filtro__item:focus-visible { border-color: var(--cobre-texto); background: rgba(212, 174, 126, .1); outline: none; }
.filtro__item > i { flex: none; width: 12px; height: 12px; border-radius: 4px; }
.filtro__item > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.filtro__item b { font-weight: 600; font-size: .86rem; }
.filtro__item small { color: var(--suave); font-size: .74rem; overflow-wrap: anywhere; }
.filtro__item .filtro__tag { font-family: var(--label); font-weight: 700; letter-spacing: .03em; color: var(--apoio); font-size: .66rem; text-transform: uppercase; }
.filtro__item > em { font-style: normal; color: var(--cobre-texto); font-size: 1.2rem; }
.filtro__vazio { color: var(--suave); font-size: .84rem; padding: 8px 2px; }
#fl-resumo { font-size: .84rem; color: var(--apoio); }
/* horário encontrado pelo filtro: destaque que pulsa e some */
.celula--achada { animation: achada 1.2s var(--ease) 3 !important; opacity: 1; transform: none; z-index: 2; }
@keyframes achada { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 174, 126, 0); } 40% { box-shadow: 0 0 0 4px var(--cobre), 0 0 28px 4px var(--brilho); } }
@media (max-width: 560px) { .btn-filtrar { padding: 0 12px 0 10px; } }
@media (max-width: 420px) { .btn-filtrar { width: 40px; padding: 0; justify-content: center; font-size: 0; gap: 0; } .btn-filtrar svg { width: 18px; height: 18px; } }
/* equipe: a tabela fica no final, depois dos pedidos de redefinição de senha */
.eq-tabela-caixa { margin-top: 18px; }
/* equipe: segunda parte (Acessos · Equipe) separada da primeira (Mensagens) */
/* a linha fica ACIMA do título: tudo abaixo dele (convite, pedidos, tabela) faz parte de "Acessos · Equipe" */
.cab.eq-parte { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--borda); }
.cab.eq-parte + .eq-acessos { margin-top: 14px; padding-top: 0; border-top: 0; }
/* agenda de hoje: linha pontilhada "Tempo real" no horário atual (como o "hoje" do gráfico de Movimento) */
.agora { position: absolute; left: 58px; right: 0; height: 0; border-top: 1.5px dashed var(--verde); opacity: .9; pointer-events: none; z-index: 3; transition: top .6s var(--ease); }
.agora::before { content: ""; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 3px rgba(111, 191, 154, .22), 0 0 10px rgba(111, 191, 154, .7); animation: pulsa 2.4s ease-in-out infinite; }
.agora span { position: absolute; right: 2px; bottom: 3px; font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-texto); white-space: nowrap; }