/* LittleChapter · vidro quente (família visual NMM / Glassy Dashboard V24): aresta gelo + latão com faixa de luz, Easy Ease. Base: Mamadas 0.8 */
@font-face { font-family: 'Montserrat'; src: url(/fontes/montserrat.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Lato'; src: url(/fontes/lato-regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lato'; src: url(/fontes/lato-bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ice: #F0F2EF; --ink: #0B0F1A; --brass: #C9A46A; --muted: #A9B0BC;
  --esq: 255, 111, 97; --dir: 79, 195, 217;
  --ease: cubic-bezier(.33, 0, .67, 1);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --topo: env(safe-area-inset-top, 0px); --base: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--ice); font-family: 'Lato', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
body { overflow: hidden; }
h1, h2, h3, .num, .grande { font-family: 'Montserrat', system-ui, sans-serif; margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.corta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- fundo: manchas de luz que derivam devagar (o vidro fica por cima) */
.fundo { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, #0E1322, #0B0F1A 55%, #080B14); overflow: hidden; }
.fundo i { position: absolute; border-radius: 50%; filter: blur(40px); will-change: transform; }
.fundo .b1 { width: 130vmax; height: 130vmax; left: -75vmax; top: -85vmax; background: radial-gradient(closest-side, rgba(var(--esq), .38), transparent 70%); animation: d1 40s var(--ease) infinite alternate; }
.fundo .b2 { width: 130vmax; height: 130vmax; right: -80vmax; top: 20vh; background: radial-gradient(closest-side, rgba(var(--dir), .30), transparent 70%); animation: d2 46s var(--ease) infinite alternate; }
.fundo .b3 { width: 110vmax; height: 110vmax; left: -30vmax; bottom: -80vmax; background: radial-gradient(closest-side, rgba(201, 164, 106, .22), transparent 70%); animation: d3 52s var(--ease) infinite alternate; }
@keyframes d1 { to { transform: translate(14vw, 8vh); } }
@keyframes d2 { to { transform: translate(-12vw, -10vh); } }
@keyframes d3 { to { transform: translate(16vw, -6vh); } }

/* ---- estrutura */
#app { position: fixed; inset: 0; z-index: 1; max-width: 560px; margin: 0 auto; }
/* iPhone com a app instalada: o ecrã inteiro (no Android o lvh cortava a barra de baixo e partia o fundo) */
@media (display-mode: standalone) { html.ios, html.ios body { height: 100lvh; min-height: 100lvh; } html.ios #app { height: 100lvh; bottom: auto; } }
/* durante o scroll os brilhos e o fundo páram (o scroll fica fluido) */
html.rolando .vidro::after { animation-play-state: paused; }
html.rolando .fundo i { animation-play-state: paused; }
/* as folhas sem desfoque do fundo (pesa no scroll) */
.folha.vidro { -webkit-backdrop-filter: none; backdrop-filter: none; }
.palco { height: 100%; display: flex; flex-direction: column; padding-top: var(--topo); }
.cab { padding: 14px 20px 6px; display: flex; align-items: center; gap: 12px; flex: none; }
.cab .logo { width: 34px; height: 34px; opacity: .95; }
.cab h1 { font-size: 17px; font-weight: 600; }
.cab p { margin: 1px 0 0; font-size: 11px; color: var(--muted); }
.cab .estado { margin-left: auto; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cab .estado i { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); animation: pulsa 1.6s var(--ease) infinite alternate; }
@keyframes pulsa { from { opacity: .35; } to { opacity: 1; } }
.ecra { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 16px 14px; display: flex; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; }
.ecra.fixo { overflow: hidden; }
.ecra:not(.fixo) > * { flex: none; }

/* ---- vidro: fosco, reflexo no topo, aresta gelo + latão com faixa de luz a correr */
.vidro { --r: 36px; --aresta: 1px; position: relative; border-radius: var(--r); isolation: isolate; overflow: hidden;
  background: linear-gradient(145deg, rgba(var(--tinta, 255, 255, 255), .16), rgba(var(--tinta, 255, 255, 255), .05));
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
.vidro::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), transparent 55%); }
.vidro::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: var(--aresta); pointer-events: none;
  background:
    linear-gradient(115deg, transparent 40%, rgba(240, 242, 239, .95) 48%, rgba(201, 164, 106, .9) 52%, transparent 60%) 0 0 / 300% 100% no-repeat,
    linear-gradient(135deg, rgba(240, 242, 239, .6), rgba(255, 255, 255, .08) 50%, rgba(201, 164, 106, .38));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: faixa var(--periodo, 6.5s) var(--ease) infinite var(--atraso, 0s); }
/* «Brilho nas bordas» desligado (escolha de cada pessoa); o ecrã de entrada mantém o brilho */
html.calmo .vidro::after { animation: none; }
html.calmo .entrada .vidro::after { animation: faixa var(--periodo, 6.5s) var(--ease) infinite var(--atraso, 0s); }
.cab .logo { border-radius: 9px; }
.avatar.mini { width: 34px; height: 34px; font-size: 13px; flex: none; margin-left: 10px; }
@keyframes faixa { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
.cartao { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cartao.pequeno { --r: 26px; padding: 16px; }
.cartao h3 { font-size: 18px; font-weight: 600; }
.sub { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.etiq { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.linha { display: flex; align-items: center; gap: 12px; }
.cresce { flex: 1; min-width: 0; }

/* ---- início */
.heroi { padding: 26px 26px 24px; gap: 8px; flex: none; }
.heroi .vazio-t { font-size: 26px; font-weight: 800; line-height: 1.15; }
.contador { --fs: clamp(54px, 17vw, 78px); font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; position: relative; height: calc(var(--fs) * 1.12); }
.contador span { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; font-size: var(--fs); }
.contador span.curto { font-size: calc(var(--fs) * .62); }
.quando { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; }
.ponto { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 12px rgba(var(--c), .8); flex: none; }
.proximo { font-size: 14px; color: var(--muted); }
.proximo.passou { color: var(--brass); font-weight: 700; }
.lados { flex: 1; min-height: 170px; display: flex; gap: 14px; padding-bottom: 4px; }
.lado-caixa { flex: 1; position: relative; transition: transform .6s var(--mola); }
.lado-caixa:active { transform: scale(.94); transition-duration: .14s; transition-timing-function: var(--ease); }
.brilho { position: absolute; inset: 14px; border-radius: 40px; background: rgba(var(--c), .8); filter: blur(34px); opacity: .18; transition: opacity .5s var(--ease); }
.lado-caixa.sug .brilho { animation: respira 1.5s ease-in-out infinite alternate; }
@keyframes respira { from { opacity: .35; } to { opacity: .85; } }
.lado { --r: 44px; --aresta: 1.5px; --periodo: 7s; position: absolute; inset: 0; width: 100%; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(145deg, rgba(var(--c), .46), rgba(var(--c), .16)); color: var(--ice); }
.lado::before { background: linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 50%), linear-gradient(0deg, rgba(var(--c), .25), transparent 40%); }
.lado-caixa.sug .lado { --aresta: 2px; --periodo: 3.2s; background: linear-gradient(145deg, rgba(var(--c), .66), rgba(var(--c), .30)); }
.lado-caixa.dir .lado { --atraso: 1.2s; }
.lado .nome { font-family: 'Montserrat', sans-serif; font-size: clamp(26px, 8vw, 34px); font-weight: 800; }
.lado .pilula-sug { padding: 5px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; color: transparent; background: rgba(255, 255, 255, 0); transition: all .4s var(--ease); }
.lado-caixa.sug .pilula-sug { color: var(--ice); background: rgba(255, 255, 255, .22); }
.lado::after { z-index: 2; }
.lado .flash { position: absolute; inset: 0; background: rgba(255, 255, 255, .35); opacity: 0; pointer-events: none; }
.lado-caixa:active .flash { opacity: 1; transition: opacity .09s; }

.esq { --c: var(--esq); } .dir { --c: var(--dir); }

/* ---- aviso (banner) */
.banner { --tinta: 201, 164, 106; --r: 24px; padding: 16px; gap: 10px; flex: none; }
.banner p { margin: 0; font-size: 14px; line-height: 1.45; }

/* ---- botões */
.pilula { appearance: none; border: 0; border-radius: 16px; min-height: 46px; padding: 0 20px; font-weight: 700; font-size: 15px; color: var(--ink); background: var(--brass);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .5s var(--mola), opacity .3s var(--ease); }
.pilula:active { transform: scale(.95); transition-duration: .12s; }
.pilula.sec { background: rgba(255, 255, 255, .08); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(240, 242, 239, .28); }
.pilula.perigo { background: rgba(var(--esq), .9); color: #fff; }
.pilula.larga { width: 100%; }
.pilula.google { background: #fff; color: #1f1f1f; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.pilula[disabled] { opacity: .45; pointer-events: none; }
.botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.botoes > .pilula { flex: 1; }
.sis { display: inline-flex; }

/* ---- histórico */
.dia { display: flex; align-items: flex-end; padding: 10px 6px 0; }
.dia h3 { font-size: 18px; font-weight: 600; flex: 1; }
.dia span { font-size: 13px; color: var(--muted); }
.item { --r: 26px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; --tinta: var(--c); }
.item .hora { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; }
.item .lado-t { font-size: 14px; color: var(--muted); }
.item .dist { font-size: 12px; color: var(--muted); }
.icone-b { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); color: var(--ice); display: grid; place-items: center; transition: transform .4s var(--mola); }
.icone-b:active { transform: scale(.88); }
.icone-b.perigo { color: rgb(var(--esq)); }
.vazio { text-align: center; padding: 48px 20px; color: var(--muted); font-size: 17px; }

/* ---- definições */
.interruptor { display: flex; align-items: center; gap: 14px; }
.interruptor .t { flex: 1; }
.interruptor b { display: block; font-size: 17px; font-weight: 700; }
.int { position: relative; flex: none; width: 52px; height: 32px; border-radius: 99px; background: rgba(255, 255, 255, .14); transition: background .35s var(--ease); }
.int::after { content: ''; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ice); transition: transform .45s var(--mola); }
input.sw { position: absolute; opacity: 0; width: 0; height: 0; }
input.sw:checked + .int { background: var(--brass); }
input.sw:checked + .int::after { transform: translateX(20px); background: var(--ink); }
input.sw:disabled + .int { opacity: .4; }
.valor-grande { font-family: 'Montserrat', sans-serif; font-size: 46px; font-weight: 700; text-align: center; padding: 4px 0; }
.passos { display: flex; gap: 12px; }
.passo-n { --r: 24px; flex: 1; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.passo-n .etiq { letter-spacing: .08em; font-size: 12px; text-transform: none; }
.passo-n .ctl { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.passo-n .ctl b { font-family: 'Montserrat', sans-serif; font-size: 28px; }
.mais-menos { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--brass); font-size: 28px; font-weight: 700; transition: transform .4s var(--mola); }
.mais-menos:active { transform: scale(.85); }
.segmento { display: flex; gap: 8px; }
.segmento button { flex: 1; min-height: 56px; border-radius: 18px; border: 0; padding: 8px 10px; background: rgba(255, 255, 255, .07); color: var(--muted); font-weight: 700; font-size: 14px; line-height: 1.25; box-shadow: inset 0 0 0 1px rgba(240, 242, 239, .12); transition: all .35s var(--ease); }
.segmento button.ativo { background: rgba(201, 164, 106, .24); color: var(--ice); box-shadow: inset 0 0 0 1.5px var(--brass); }
.segmento small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.estado-linha { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.estado-linha .luz { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.estado-linha .luz.ok { background: #5BD08A; box-shadow: 0 0 10px rgba(91, 208, 138, .7); }
.estado-linha .luz.mau { background: rgb(var(--esq)); }
.versao { text-align: center; padding: 6px 0 2px; font-size: 12px; color: var(--muted); }

/* ---- gestão (admin) */
.online-grande { display: flex; align-items: baseline; gap: 12px; }
.online-grande .num { font-size: 56px; font-weight: 800; }
.online-grande .luz { width: 12px; height: 12px; border-radius: 50%; background: #5BD08A; box-shadow: 0 0 12px rgba(91, 208, 138, .8); animation: pulsa 1.6s var(--ease) infinite alternate; align-self: center; }
.pessoa { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, rgba(var(--esq), .5), rgba(var(--dir), .4)); font-family: 'Montserrat', sans-serif; font-weight: 700; flex: none; position: relative; }
.avatar.on::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #5BD08A; border: 2px solid #11162a; }
.pessoa h4 { margin: 0; font-size: 15px; font-weight: 700; }
.pessoa p { margin: 1px 0 0; font-size: 12px; color: var(--muted); }
.tag { font-size: 11px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--muted); white-space: nowrap; }
.tag.ouro { background: rgba(201, 164, 106, .22); color: var(--brass); }

/* ---- barra de separadores */
.barra { flex: none; margin: 4px 16px calc(10px + var(--base)); --r: 30px; display: flex; padding: 6px; gap: 4px; }
.barra button { flex: 1; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; border: 0; border-radius: 24px; background: transparent; color: var(--muted); font-weight: 700; transition: all .4s var(--ease); }
.barra button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.barra button.ativo svg { transform: translateY(-1px) scale(1.08); }
.barra button.ativo { background: rgba(201, 164, 106, .26); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(201, 164, 106, .7); }
.barra button.ativo { flex: 1.22; }
.barra.muitos button.ativo { flex: 1.34; padding: 0 5px; }

/* ---- entrada */
.entrada { flex: 1; overflow-y: auto; padding: 10px 20px 24px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.entrada .marca { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-bottom: 4px; }
.entrada .marca img { width: 84px; border-radius: 20px; }
.entrada h2 { font-size: 26px; font-weight: 800; }
.entrada form { gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.campo input, .campo select { height: 50px; border-radius: 16px; border: 0; padding: 0 16px; background: rgba(0, 0, 0, .28); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(240, 242, 239, .2); font-size: 16px; outline: none; transition: box-shadow .3s var(--ease); }
.campo input:focus, .campo select:focus { box-shadow: inset 0 0 0 1.5px var(--brass); }
.erro { min-height: 20px; margin: 0; font-size: 13px; color: rgb(var(--esq)); }
.erro.mau { color: #FF6B5A; font-weight: 700; padding-left: 22px; position: relative; }
.erro.mau::before { content: "!"; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: #FF6B5A; color: #1D1D1B; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
/* nudge: abanão curto, Easy Ease, com rasto na direção do movimento */
@keyframes nudge { 0%,100% { transform: translateX(0); filter: blur(0) } 15% { transform: translateX(-9px); filter: blur(1.6px) } 35% { transform: translateX(8px); filter: blur(1.6px) } 55% { transform: translateX(-5px); filter: blur(1px) } 75% { transform: translateX(3px); filter: blur(.4px) } }
.nudge { animation: nudge .45s cubic-bezier(.33,0,.67,1); }
@media (prefers-reduced-motion: reduce) { .nudge { animation: none; } }
@keyframes a-trabalhar { to { background-position: -200% 0 } }
.a-trabalhar { pointer-events: none; opacity: .85; background-image: linear-gradient(100deg, transparent 30%, rgba(240,242,239,.35) 50%, transparent 70%); background-size: 200% 100%; animation: a-trabalhar 1s linear infinite; }
.nota-browser { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(201,164,106,.10); box-shadow: inset 0 0 0 1px rgba(201,164,106,.28); }
.manter { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); position: relative; }

/* ---- folhas (sheet) e aviso */
.fundo-folha { position: fixed; inset: 0; z-index: 20; background: rgba(5, 7, 12, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .35s var(--ease); }
.fundo-folha.ver { opacity: 1; }
.folha { --r: 32px; width: 100%; max-width: 560px; margin: 0 8px calc(8px + var(--base)); padding: 24px 22px 22px; max-height: 88dvh; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(30, 36, 56, .92), rgba(18, 22, 36, .94)); }
.folha { padding: 0; }
.folha-corpo { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.pilula svg { width: 18px; height: 18px; flex: none; }
.folha h3 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.passos-inst { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.passo { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; }
.passo .num { width: 26px; height: 26px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.passo .ico { color: var(--brass); display: inline-flex; flex: none; }
.aviso-safari { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(var(--esq), .18); font-size: 13px; }
.seletor-lado { display: flex; gap: 10px; }
.seletor-lado button { flex: 1; min-height: 54px; border-radius: 18px; border: 0; font-weight: 800; background: rgba(255, 255, 255, .07); color: var(--muted); transition: all .3s var(--ease); }
.seletor-lado button.esq.ativo { background: rgba(var(--esq), .55); color: #fff; } .seletor-lado button.dir.ativo { background: rgba(var(--dir), .55); color: #fff; }
.dia-sel { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dia-sel .pilula { min-height: 40px; padding: 0 14px; }
.dia-sel b { font-size: 15px; }
#aviso { position: fixed; left: 0; right: 0; bottom: calc(86px + var(--base)); z-index: 30; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.toast { --r: 22px; pointer-events: auto; max-width: 520px; width: 100%; padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; background: rgba(24, 30, 48, .9); }
.toast span { flex: 1; }
.toast button { border: 0; background: transparent; color: var(--brass); font-weight: 800; padding: 6px 4px; }

/* ---- skeleton: forma do conteúdo + faixa de luz gelo e latão (Easy Ease) */
.esq-sk { position: relative; overflow: hidden; border-radius: 22px; background: rgba(255, 255, 255, .07); }
.esq-sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(240, 242, 239, .22) 45%, rgba(201, 164, 106, .22) 55%, transparent 70%); transform: translateX(-100%); animation: varre 1.6s var(--ease) infinite; }
@keyframes varre { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .fundo i, .vidro::after, .brilho, .esq-sk::after { animation: none !important; }
}
@media (max-height: 640px) { .heroi { padding: 18px 20px; } .lados { min-height: 140px; } }

.nov { display: flex; gap: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.nov > b { color: var(--brass); font-family: Montserrat, sans-serif; flex: none; width: 38px; }
.tag.mau { background: rgba(var(--esq), .25); color: rgb(var(--esq)); }
.pilula.whats { background: #25D366; color: #06210f; text-decoration: none; }
a.pilula { text-decoration: none; }

/* ---- gráficos do histórico */
.resumo svg { width: 100%; height: auto; display: block; overflow: visible; }
.tiles { display: flex; gap: 8px; }
.tiles > div { flex: 1; padding: 10px 8px; border-radius: 18px; background: rgba(255, 255, 255, .06); text-align: center; display: flex; flex-direction: column; gap: 2px; }
.tiles b { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; }
.tiles span { font-size: 11px; color: var(--muted); }
.b-esq { fill: rgba(var(--esq), .9); } .b-dir { fill: rgba(var(--dir), .9); }
.b-hora { fill: rgba(240, 242, 239, .38); } .b-pico { fill: var(--brass); }
.resumo .v { fill: var(--ice); font-size: 9px; font-weight: 700; }
.resumo .x { fill: var(--muted); font-size: 9px; }
.resumo .eixo { stroke: rgba(240, 242, 239, .22); stroke-width: 1; }
.legenda { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.legenda i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legenda i.esq { background: rgb(var(--esq)); } .legenda i.dir { background: rgb(var(--dir)); margin-left: 8px; }

.lado:disabled { opacity: .45; filter: saturate(.5); pointer-events: none; }
/* o avatar nunca se espreme */
.avatar { flex: none; min-width: 34px; }
/* botões das folhas: o principal em destaque, os outros ao lado e «Voltar» sempre em baixo */
.folha-corpo > .botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.folha-corpo > .botoes .pilula { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; }
.folha-corpo > .botoes .pilula.principal { flex: 1.8 1 0; }
.folha-corpo > .botoes .pilula.voltar { order: 9; flex: 1 1 100%; }
/* barra de botões sempre à vista no fundo da folha (igual à NMM App): Guardar nunca fica escondido em folhas compridas */
.folha-corpo > .botoes.fixa { position: sticky; bottom: 0; z-index: 2; margin: 10px -22px -22px; padding: 16px 22px 22px; background: linear-gradient(180deg, rgba(18, 22, 36, 0), rgba(18, 22, 36, .98) 28%); gap: 10px; }
.folha-corpo > .botoes.fixa .pilula { gap: 6px; padding: 0 9px; }
.beta { font-size: .62em; font-weight: 600; letter-spacing: .04em; margin-left: 2px; vertical-align: super; line-height: 0; color: var(--brass, #C9A46A); text-transform: lowercase; }

/* apresentação do Nuno + caixinha de sugestões */
.intro { position: relative; gap: 8px; }
.intro-topo { display: flex; align-items: center; gap: 10px; }
.intro-topo img { height: 28px; width: auto; display: block; }
.intro-topo b, .intro-topo h3 { font-size: 16px; font-weight: 700; }
.fechar-x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; }
.caixa-txt { width: 100%; resize: none; font: inherit; color: var(--ice); background: rgba(255,255,255,.06); border: 1px solid rgba(240,242,239,.2); border-radius: 16px; padding: 12px 14px; }
.intro { padding: 8px 12px; flex: none; }
.intro-abrir { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 4px 36px 4px 0; font: inherit; }
.intro-abrir b { display: block; font-size: 14px; } .intro-abrir small { display: block; font-size: 12px; color: var(--muted); }
.intro-abrir i { font-style: normal; font-size: 22px; color: var(--muted); }
.intro .fechar-x { top: 50%; transform: translateY(-50%); right: 6px; }
.intro-abrir img { height: 28px; width: auto; max-width: 44px; flex: none; object-fit: contain; }
.intro-abrir .cresce { min-width: 0; }

/* ---- chat das mamãs */
.ecra.chat { overflow: hidden; gap: 10px; padding-bottom: 8px; }
.chat-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.on-pilula { --r: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; color: var(--muted); }
.on-pilula b { color: var(--ice); font-size: 15px; }
.on-pilula .luz { width: 8px; height: 8px; border-radius: 50%; background: #7FD69A; box-shadow: 0 0 10px #7FD69A; animation: pulsa 1.8s var(--ease) infinite; }
.pilula.mini { height: 34px; padding: 0 14px; font-size: 13px; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 34px; }
.chat-corpo { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-lista { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; padding: 6px 2px 8px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.bolha-l { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; margin-top: 8px; }
.bolha-l.junto { margin-top: 0; }
.bolha-l.eu { align-items: flex-end; }
.b-nome { font-size: 11px; color: var(--muted); margin: 0 12px 3px; letter-spacing: .02em; }
.bolha { position: relative; max-width: 82%; padding: 9px 13px 7px; border-radius: 20px; font-size: 15px; line-height: 1.4; word-break: break-word; display: flex; flex-direction: column; gap: 2px; }
.bolha span { white-space: pre-wrap; }
.bolha small { align-self: flex-end; font-size: 10px; opacity: .55; }
.bolha.outra { background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px rgba(240,242,239,.14); border-bottom-left-radius: 7px; color: var(--ice); }
.bolha.eu { background: linear-gradient(135deg, #D2B176, #B88F52); color: #1D1D1B; border-bottom-right-radius: 7px; }
.bolha-l.junto .bolha.outra { border-top-left-radius: 7px; } .bolha-l.junto .bolha.eu { border-top-right-radius: 7px; }
.b-x { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #7a2f33; color: #fff; font-size: 14px; line-height: 1; }
.bolha-sk { display: flex; margin-top: 8px; } .bolha-sk.eu { justify-content: flex-end; } .bolha-sk .esq-sk { width: 62%; }
.chat-vazio { margin: auto; text-align: center; display: flex; flex-direction: column; gap: 6px; max-width: 260px; color: var(--muted); font-size: 14px; }
.chat-vazio b { color: var(--ice); font-size: 16px; }
.chat-input { --r: 28px; flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 16px; }
.chat-input textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: none; color: var(--ice); font: inherit; font-size: 16px; line-height: 1.35; padding: 9px 0; max-height: 110px; }
.chat-input textarea::placeholder { color: var(--muted); }
.chat-input .enviar { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brass); color: #1D1D1B; display: grid; place-items: center; }
.chat-input .enviar svg { width: 20px; height: 20px; }
.chat-entrar { flex: none; }
.campo-in { width: 100%; font: inherit; font-size: 16px; color: var(--ice); background: rgba(255,255,255,.06); border: 1px solid rgba(240,242,239,.2); border-radius: 16px; padding: 13px 14px; }
.ecra.chat > .chat-corpo { flex: 1 1 0; min-height: 0; }
.pilula.mini[hidden] { display: none; }
.chat-lista { scrollbar-width: none; } .chat-lista::-webkit-scrollbar { display: none; }
.pilula.mini { height: 36px; min-height: 0; border-radius: 18px; line-height: 36px; padding: 0 16px; }

.nov ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.nov { margin-top: 10px; }
.nov > b { width: 54px; }
.nov li b { color: var(--ice); font-weight: 600; }
.chat-input { background: linear-gradient(135deg, rgba(40,46,66,.96), rgba(24,28,44,.98)); border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(240,242,239,.16); }
.chat-input textarea { overflow-y: hidden; caret-color: var(--brass); }
.chat-lista { contain: layout paint; overflow-anchor: auto; }

/* faixa de avaliação */
#faixa { flex: none; display: flex; justify-content: center; padding: 0 16px 2px; }
.faixa-teste { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; padding: 6px 14px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--brass); background: rgba(201,164,106,.12); box-shadow: inset 0 0 0 1px rgba(201,164,106,.4); }
.faixa-teste i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
/* teclado aberto: sem a barra de separadores, para sobrar espaço ao chat */
html.teclado .barra { display: none; }
html.teclado #aviso { bottom: 16px; }
html.teclado #faixa { display: none; }

/* início: se houver muitos avisos em cima, desliza em vez de deformar os botões */
.ecra.fixo { overflow-y: auto; }
.ecra.fixo > * { flex: none; }
.ecra.fixo > .lados { flex: 1 0 auto; min-height: 190px; }
.avatar.mini { border: 0; padding: 0; color: inherit; font-size: 13px; cursor: pointer; }
/* barra com 6 separadores (admin) */
.barra.muitos { padding: 5px 3px; gap: 1px; }
.barra.muitos button { min-width: 0; padding: 0 1px; }
.barra.muitos button span { font-size: 10px; letter-spacing: -.01em; }
/* blog */
.blog-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.seg2 { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(240,242,239,.14); }
.seg2 button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 99px; }
.seg2 button.ativo { background: var(--brass); color: #1D1D1B; }
.pilula.mini2 { height: 34px; min-height: 0; padding: 0 14px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.pilula.publicar svg { width: 16px; height: 16px; }
.blog-aviso a { color: var(--brass); font-weight: 700; }
.blog-cartao h3 { font-size: 18px; line-height: 1.25; }
.blog-meta { margin: 0; font-size: 12px; color: var(--muted); }
.blog-texto { white-space: pre-wrap; font-size: 15px; line-height: 1.5; color: var(--ice); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.blog-texto.aberto { display: block; overflow: visible; }
.blog-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-link { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.blog-host { font-size: 12px; font-weight: 700; color: var(--brass); }
.blog-vazio { text-align: center; padding: 18px 8px; }

.conta-linha { display: flex; align-items: center; gap: 12px; padding: 8px 0 2px; border-top: 1px solid rgba(240,242,239,.12); margin-top: 4px; }
.conta-linha b { font-size: 15px; display: block; } .conta-linha .sub { font-size: 12px; display: block; }

.pilula.google:disabled { opacity: .42; filter: saturate(.3); }
.entrada .cartao h3 { font-size: 17px; }
.pilula.google[aria-disabled="true"] { opacity: .42; filter: saturate(.3); cursor: not-allowed; }

/* novidades: ~10 linhas por versão */
.nov-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.nov-lista { max-height: 14.6em; overflow: hidden; position: relative; }
.nov-lista.aberta { max-height: none; }
.nov-lista.cortada { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.nov-mais { border: 0; background: none; color: var(--brass); font: inherit; font-size: 12px; font-weight: 700; padding: 4px 0; }
.nov-mais[hidden] { display: none; }

/* blog: procurar e filtrar */
.blog-botoes { display: flex; align-items: center; gap: 8px; }
.redondo-b { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--ice); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(240,242,239,.16); }
.redondo-b svg { width: 18px; height: 18px; }
.redondo-b.ativo { background: var(--brass); color: #1D1D1B; }
.blog-busca input { width: 100%; font: inherit; font-size: 16px; color: var(--ice); background: rgba(255,255,255,.07); border: 1px solid rgba(240,242,239,.2); border-radius: 18px; padding: 12px 16px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-chips.linha-rolar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.blog-chips.linha-rolar::-webkit-scrollbar { display: none; }
.blog-chips.linha-rolar:empty { display: none; }
.chip { flex: none; border: 0; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(240,242,239,.14); white-space: nowrap; }
.chip.estilo { color: var(--brass); box-shadow: inset 0 0 0 1px rgba(201,164,106,.45); }
.chip.ativo { background: var(--brass); color: #1D1D1B; box-shadow: none; }
.blog-lista { display: flex; flex-direction: column; gap: 14px; }
.campo select { width: 100%; font: inherit; font-size: 16px; color: var(--ice); background: rgba(255,255,255,.06); border: 1px solid rgba(240,242,239,.2); border-radius: 16px; padding: 13px 14px; }
.campo select option { color: #1D1D1B; }

/* nada de texto selecionável nos botões e cartões (evita a janela «Pesquisar/Definir» do Google ao tocar); só campos e conversas */
html, body, #app { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, .copiavel, .bolha span, .blog-texto { -webkit-user-select: text; user-select: text; }
.pilula[aria-disabled="true"] { opacity: .5; pointer-events: none; filter: saturate(.4); }

/* mini ecrã de carregamento: a app em pequeno enquanto os dados chegam */
.mini-load { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16vh 0 26px; }
.mini-load img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 26px rgba(0,0,0,.45); animation: mini-pulso 1.7s cubic-bezier(.33,0,.67,1) infinite; }
.mini-load i { width: 84px; height: 3px; border-radius: 2px; background: linear-gradient(100deg, rgba(240,242,239,.12) 30%, rgba(201,164,106,.85) 50%, rgba(240,242,239,.12) 70%) 0 0 / 200% 100%; animation: mini-luz 1.2s linear infinite; }
@keyframes mini-pulso { 50% { transform: scale(.93); opacity: .85 } }
@keyframes mini-luz { to { background-position: -200% 0 } }
html, body, #app { -webkit-touch-callout: none; }

/* família (só vê): separadores e botões cinzentos mas tocáveis, para verem o que existe */
.barra button.bloq { opacity: .5; }
.barra button.bloq svg { filter: saturate(.3); }
.vidro.lado[aria-disabled="true"] { opacity: .5; filter: saturate(.35); }

/* topo do blog: uma linha limpa (separador + lupa + publicar) */
.blog-topo { flex-wrap: nowrap; }
.seg2 { flex: none; }
.seg2 button { white-space: nowrap; }
.blog-botoes { flex: none; }
.blog-admin { display: flex; }
/* Questões das Mamãs: pílulas de vidro que abrem */
.quest-pil { border-radius: 28px; padding: 0; overflow: hidden; flex: none; }
.quest-cab, .quest-t-cab { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
.quest-cab { padding: 14px 16px; }
.quest-cab b { display: block; font-size: 15px; color: var(--ice); font-family: Montserrat, sans-serif; }
.quest-cab small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.quest-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(240,242,239,.1); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(240,242,239,.22); }
.quest-ic svg { width: 18px; height: 18px; }
.quest-n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ice); background: rgba(240,242,239,.12); }
.seta { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .4s var(--ease); }
.quest-pil.aberta > .quest-cab .seta, .quest-t.aberta > .quest-t-cab .seta { transform: rotate(180deg); }
.quest-corpo, .quest-t-corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.quest-pil.aberta > .quest-corpo, .quest-t.aberta > .quest-t-corpo { grid-template-rows: 1fr; }
.quest-corpo > .quest-int, .quest-t-corpo > .quest-int { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 0 14px; }
.quest-corpo > .quest-int > :last-child, .quest-t-corpo > .quest-int > :last-child { margin-bottom: 14px; }
.quest-lista { display: flex; flex-direction: column; gap: 8px; }
.quest-t { border-radius: 22px; padding: 0; overflow: hidden; }
.quest-t-cab { padding: 10px 14px; font-size: 15px; font-weight: 700; color: var(--ice); gap: 10px; }
.quest-meta { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12px; font-weight: 700; color: var(--muted); }
.quest-meta svg { width: 14px; height: 14px; }
.quest-t-corpo > .quest-int { padding: 0 14px; }
.quest-txt { margin: 0; white-space: pre-wrap; font-size: 14px; line-height: 1.5; color: var(--ice); }
.quest-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.pilula.gosto svg { width: 15px; height: 15px; }
.pilula.gosto.ativo { color: var(--ice); background: rgba(201,164,106,.22); box-shadow: inset 0 0 0 1px rgba(201,164,106,.7); }
.pilula.gosto.ativo svg { fill: currentColor; }
.quest-respostas { display: flex; flex-direction: column; gap: 8px; }
.quest-resp { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 16px; background: rgba(201,164,106,.08); box-shadow: inset 0 0 0 1px rgba(201,164,106,.28); align-items: flex-start; }
.quest-resp .blog-meta b { color: var(--ice); }
.quest-notif { padding: 2px 0; }
.quest-nota { margin: -4px 0 0; font-size: 12px; }
.quest-topo { display: flex; }
.quest-txt, .quest-t .blog-meta { -webkit-user-select: text; user-select: text; }
.b-nome .tag { margin-left: 4px; }
/* Gestão: tempo e limite */
.uso-linha { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; font-size: 13px; margin-top: 8px; color: var(--muted); }
.uso-linha b { color: var(--ice); font-size: 12px; white-space: nowrap; }
.prog { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgba(240,242,239,.85), var(--brass)); }
.prog.grande { height: 12px; border-radius: 6px; margin: 6px 0 10px; }
.uso-grande { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.uso-grande .num { font-family: Montserrat, sans-serif; font-size: 30px; font-weight: 700; color: var(--ice); }
.uso-barras { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin-top: 6px; }
.uso-barras i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, rgba(240,242,239,.9), rgba(201,164,106,.7)); min-height: 3px; }
.uso-eixo { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 4px 0 8px; }

/* ---- folhas: sem barra de scroll a morder a aresta, cantos limpos, teclado */
.folha-corpo { scrollbar-width: none; border-radius: inherit; }
.folha-corpo::-webkit-scrollbar { display: none; width: 0; height: 0; }
.fundo-folha { inset: auto 0 auto 0; top: var(--vvt, 0px); height: var(--vvh, 100%); }
.folha { max-height: calc(100% - 16px - var(--base)); }
html.teclado .folha { margin-bottom: 8px; max-height: calc(100% - 16px); }
html.teclado .folha-corpo > .botoes.fixa { position: static; margin: 6px 0 0; padding: 0; background: none; }
/* setas dos seletores: desenhadas por nós, afastadas da borda */
select, .campo select { -webkit-appearance: none; appearance: none; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B0BC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }

/* questões: o título lê-se sempre inteiro, a pergunta primeiro, respostas depois */
.quest-tit { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.quest-t-cab { align-items: flex-start; padding: 12px 14px; }
.quest-t-cab .quest-meta, .quest-t-cab .seta { margin-top: 2px; }
.quest-t:not(.aberta) .quest-tit { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quest-txt.corte { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.quest-int > .nov-mais { align-self: flex-start; }
.quest-respostas { padding-top: 4px; border-top: 1px solid rgba(240,242,239,.12); }
.quest-resp .quest-txt { font-size: 15px; }
.quest-h { font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.blog-cartao > .blog-chips { margin-bottom: 2px; }
@media (max-height: 560px) { .folha-corpo > .botoes.fixa { position: static; margin: 6px 0 0; padding: 0; background: none; } }

/* v0.9: biberão, duas mamas, fraldas, perfil do bebé */
[hidden] { display: none !important; }
.rapidos { display: flex; gap: 10px; }
.rapidos > button { --r: 26px; flex: 1; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; padding: 8px 4px; color: var(--ice); position: relative; font-family: 'Montserrat', sans-serif; transition: transform .5s var(--mola); }
.rapidos > button b { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }
.rapidos > button svg { color: var(--brass); }
.rapidos > button:active { transform: scale(.94); transition-duration: .14s; }
.rapidos > button .flash { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.3); opacity: 0; pointer-events: none; }
.rapidos > button:active .flash { opacity: 1; transition: opacity .09s; }
.seletor-lado button.duas.ativo { background: rgba(201, 164, 106, .5); color: #fff; }
.bloco-r { display: flex; flex-direction: column; gap: 8px; }
.chips-ml button { min-height: 44px; }
.b-duas { fill: rgba(201, 164, 106, .92); } .b-bib { fill: rgba(201, 164, 106, .92); }
.b-xixi { fill: rgba(var(--dir), .9); } .b-coco { fill: rgba(160, 120, 70, .95); }
.legenda i.duas { background: var(--brass); margin-left: 8px; } .legenda i.xixi { background: rgb(var(--dir)); } .legenda i.coco { background: rgb(160, 120, 70); margin-left: 8px; }
.resumo .linha-g { stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.resumo .pt { fill: var(--ice); stroke: var(--brass); stroke-width: 1.6; }
.item.bib .ponto, .item.fra .ponto { background: var(--c); }
.duas-col { display: flex; gap: 10px; } .duas-col .campo { flex: 1; min-width: 0; }
.pilha-med { display: flex; flex-direction: column; gap: 6px; }
.linha-med { display: flex; align-items: center; gap: 8px; padding: 6px 4px 6px 12px; border-radius: 16px; background: rgba(255,255,255,.06); font-size: 14px; }
.linha-med .cresce { flex: 1; min-width: 0; }
.ecra.fixo .lados { min-height: 150px; }

/* v0.9.1: hora e data próprias da app (sem relógio/calendário nativos); aresta da folha acima da barra fixa */
.hora-sel { margin-top: -2px; }
.hora-sel .passo-n { --r: 22px; touch-action: manipulation; }
.hora-sel .mais-menos { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.dia-sel4 { gap: 6px; }
.dia-sel4 .pilula { min-height: 40px; padding: 0 9px; font-size: 13px; white-space: nowrap; }
.dia-sel4 b { flex: 1; text-align: center; font-size: 14px; min-width: 0; }
.folha.vidro::after { z-index: 5; }
.folha { contain: paint; }
