/* Painel da barbearia — tablet primeiro, depois celular e computador */
body { overflow-x: hidden; }
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100dvh; }

/* Menu lateral */
.lado { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem .8rem; border-right: 1px solid var(--line); background: var(--bg); }
.lado .marca { display: flex; align-items: center; gap: .7rem; padding: .2rem .5rem 1.2rem; text-decoration: none; }
.lado .marca img { width: 44px; height: 44px; border-radius: 50%; }
.lado .marca b { font-family: var(--display); font-weight: 600; letter-spacing: .04em; line-height: 1.1; }
.lado .marca small { display: block; font-family: var(--ui); font-weight: 400; letter-spacing: 0; color: var(--muted); font-size: .75rem; }
.nav { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 46px; padding: 0 .8rem; border: 0; border-radius: var(--r); background: transparent; color: var(--muted); font-weight: 600; font-size: .95rem; text-align: left; text-decoration: none; transition: background-color .2s, color .2s; }
.nav svg { width: 20px; height: 20px; flex: none; }
.nav:hover { color: var(--text); background: var(--surface); }
.nav[aria-current='page'] { color: var(--gold); background: color-mix(in srgb, var(--gold) 11%, transparent); }
.lado .fim { margin-top: auto; display: grid; gap: .25rem; }
.lado .fim .linha { display: flex; align-items: center; justify-content: space-between; padding: .4rem .5rem 0; }

.baixo { display: none; }

/* Área principal */
#tela { padding: clamp(1rem, 2.6vw, 2.2rem); padding-bottom: 6rem; max-width: 1320px; width: 100%; }
.cab { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.cab h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; }
.cab p { color: var(--muted); margin-top: .25rem; }
.cab .acoes { margin-left: auto; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ver { animation: ver .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes ver { from { opacity: 0; transform: translateY(8px); } }

.cartao { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; }
.cartao > h2 { font-size: 1rem; font-weight: 600; }
.cartao > h2 + p { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.grade { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.cartao { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-hoje { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }

/* Números do dia */
.numeros { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; margin-bottom: 1rem; }
.numeros > div { padding: 1.15rem 1.25rem; border-left: 1px solid var(--line); }
.numeros > div:first-child { border-left: 0; }
.numeros span { display: block; color: var(--muted); font-size: .82rem; }
.numeros b { display: block; font-size: 1.6rem; font-weight: 600; line-height: 1.2; margin-top: .2rem; }
.numeros .grande b { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1; color: var(--gold); }
.numeros small { display: block; color: var(--muted); font-size: .78rem; margin-top: .3rem; }

.lista { list-style: none; margin: .9rem 0 0; padding: 0; }
.lista li { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.lista li:first-child { border-top: 0; }
.lista time { font-weight: 600; }
.lista b { display: block; font-weight: 600; } .lista span.s { color: var(--muted); font-size: .85rem; }
.vazio { margin-top: 1rem; padding: 1.25rem; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); text-align: center; font-size: .92rem; }

/* Gráfico de barras em pé */
.barras { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .45rem; align-items: end; height: 170px; margin-top: 1.25rem; }
.barras .b { display: grid; grid-template-rows: 1fr auto; gap: .4rem; height: 100%; justify-items: center; }
.barras .b i { align-self: end; width: 100%; max-width: 44px; height: calc(var(--v) * 100%); min-height: 2px; background: var(--pri); border-radius: 5px 5px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 45ms); position: relative; }
.barras .b i.fraco { background: var(--surface-2); }
.barras .b i em { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font-style: normal; font-size: .7rem; font-weight: 600; white-space: nowrap; color: var(--text); opacity: 0; transition: opacity .4s .7s; }
.barras .b small { color: var(--muted); font-size: .72rem; }
.in .barras .b i, .barras.in .b i { transform: none; } .in .barras .b i em, .barras.in .b i em { opacity: 1; }

/* Barras deitadas */
.hb { margin-top: 1rem; display: grid; gap: .8rem; }
.hb .l { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; } .hb .l b { font-weight: 650; }
.hb .t { display: block; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: .35rem; }
.hb .t i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--pri); border-radius: 99px; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 70ms); }
.in .hb .t i { transform: none; }

/* Rosca */
.rosca { display: flex; align-items: center; gap: 1.25rem; margin-top: 1rem; }
.rosca svg { width: 116px; height: 116px; flex: none; transform: rotate(-90deg); }
.rosca circle { fill: none; stroke-width: 11; }
.rosca .f { stroke: var(--surface-2); }
.rosca .p { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 1.2s cubic-bezier(.2, .8, .2, 1) .15s; }
.in .rosca .p { stroke-dasharray: var(--arco) 999; }
.rosca b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; display: block; }
.rosca span { color: var(--muted); font-size: .88rem; }

/* Mapa de horários */
.mapa { margin-top: 1rem; display: grid; grid-template-columns: 34px repeat(6, 1fr); gap: 3px; font-size: .72rem; }
.mapa span { color: var(--muted); display: grid; place-items: center; }
.mapa i { height: 26px; border-radius: 4px; background: color-mix(in srgb, var(--gold) calc(var(--v) * 100%), var(--surface-2)); opacity: 0; transition: opacity .6s; transition-delay: calc(var(--i) * 12ms); display: grid; place-items: center; font-style: normal; font-weight: 600; color: var(--on-pri); }
.mapa i.baixo { color: var(--muted); }
.in .mapa i { opacity: 1; }

/* Agenda */
.ag-topo { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg button { min-height: 40px; padding: 0 .9rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: .85rem; }
.seg button[aria-pressed='true'] { background: var(--pri); color: var(--on-pri); }
.legenda { margin-left: auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.agenda { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.ag-cab { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(0, 1fr)); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: var(--surface); }
.ag-cab .pf { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-left: 1px solid var(--line); }
.ag-cab img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ag-cab b { display: block; font-weight: 600; } .ag-cab small { color: var(--muted); font-size: .78rem; }
.ag-corpo { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(0, 1fr)); position: relative; }
.ag-horas { display: grid; grid-auto-rows: var(--lh); }
.ag-horas span { font-size: .74rem; color: var(--muted); text-align: right; padding: 0 .6rem; transform: translateY(-.55em); }
.ag-horas span:first-child { transform: none; }
.ag-col { position: relative; border-left: 1px solid var(--line); height: calc(var(--lh) * 20); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% calc(var(--lh) * 2); cursor: copy; }
.bloco-ag { position: absolute; left: 6px; right: 6px; border: 0; border-radius: 9px; padding: .4rem .65rem; text-align: left; overflow: hidden; display: grid; align-content: start; gap: 0; background: var(--surface-2); border-left: 3px solid var(--muted); cursor: pointer; transition: transform .15s, box-shadow .2s; animation: bloco .45s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 30ms); }
@keyframes bloco { from { opacity: 0; transform: scale(.96); } }
.bloco-ag:hover { transform: translateY(-1px); box-shadow: var(--shadow); z-index: 3; }
.bloco-ag b { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bloco-ag small { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bloco-ag.confirmado { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 13%, var(--surface)); }
.bloco-ag.chegou { border-left-color: var(--info); background: color-mix(in srgb, var(--info) 16%, var(--surface)); }
.bloco-ag.atendido { border-left-color: var(--ok); background: color-mix(in srgb, var(--ok) 11%, var(--surface)); }
.bloco-ag.atendido b { color: var(--muted); }
.bloco-ag.faltou { border-left-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--surface)); }
.bloco-ag.faltou b { text-decoration: line-through; color: var(--muted); }
.pausa { position: absolute; left: 0; right: 0; display: grid; place-items: center; color: var(--muted); font-size: .78rem; background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--line) 70%, transparent) 7px 8px); cursor: default; }
.agora { position: absolute; left: 58px; right: 0; height: 0; border-top: 1.5px solid var(--bad); z-index: 4; pointer-events: none; }
.agora::before { content: attr(data-h); position: absolute; left: -52px; top: -.7em; font-size: .7rem; font-weight: 700; color: var(--bad); background: var(--surface); padding: 0 .3rem; }

/* Listas de cadastro */
.abas { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { min-height: 40px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 600; font-size: .88rem; color: var(--muted); }
.chip[aria-pressed='true'] { border-color: var(--gold); color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.tab { width: 100%; }
.tab .r { display: grid; gap: .9rem; align-items: center; padding: .8rem 0; border-top: 1px solid var(--line); }
.tab .r:first-child { border-top: 0; }
.r-cli { grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.r-serv { grid-template-columns: minmax(0, 1.6fr) 96px 120px auto auto 42px; }
.r-prod { grid-template-columns: minmax(0, 1.5fr) 110px auto auto 42px; }
.av { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 600; font-size: .85rem; color: var(--gold); }
.r b { font-weight: 600; } .r .s { color: var(--muted); font-size: .85rem; display: block; }
.mini { min-height: 40px; padding: 0 .6rem; }
.interr { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.interr input { appearance: none; width: 38px; height: 22px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.interr input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background-color .2s; }
.interr input:checked { background: var(--pri); border-color: var(--gold); } .interr input:checked::after { transform: translateX(16px); background: var(--on-gold); }
.passo { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.passo button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.1rem; font-weight: 600; } .passo b { min-width: 2.2ch; text-align: center; }
.novo-rapido { display: grid; grid-template-columns: minmax(0, 1.5fr) 150px 110px 90px auto; gap: .6rem; align-items: end; margin-bottom: 1rem; }

/* Gaveta lateral */
#camada { position: fixed; inset: 0; z-index: 60; display: none; }
#camada.aberta { display: block; }
#camada .fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: surge .25s; }
@keyframes surge { from { opacity: 0; } }
.gaveta { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; animation: desliza .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes desliza { from { transform: translateX(40px); opacity: 0; } }
.gaveta header { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.25rem .9rem; }
.gaveta header h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.gaveta header p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.gaveta header [data-fechar] { margin-left: auto; } .gaveta header .tras { margin: 0 -.3rem 0 -.6rem; } .gaveta:focus { outline: none; }
.gaveta .miolo { flex: 1; overflow-y: auto; padding: .25rem 1.25rem 1.25rem; display: grid; gap: 1rem; align-content: start; }
.gaveta footer { padding: .9rem 1.25rem calc(.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.par { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); } .par:first-child { border-top: 0; } .par span { color: var(--muted); }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pergunta { text-align: center; padding: 1rem 0; } .pergunta h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; } .pergunta p { color: var(--muted); margin-top: .3rem; }
.prods { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.pd { position: relative; text-align: left; padding: .75rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: .1rem; transition: border-color .2s, transform .12s; }
.pd:active { transform: scale(.97); } .pd b { font-weight: 600; font-size: .9rem; } .pd small { color: var(--muted); }
.pd[data-q]:not([data-q='0']) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 9%, var(--surface)); }
.pd .q { position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--pri); color: var(--on-pri); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.pd[disabled] { opacity: .4; }
.pags { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pags button { min-height: 54px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-weight: 600; }
.pags button[aria-pressed='true'] { border-color: var(--gold); background: var(--pri); color: var(--on-pri); }
.total { display: flex; justify-content: space-between; align-items: baseline; } .total b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; color: var(--gold); }
.serv-op { display: flex; flex-wrap: wrap; gap: .4rem; }
.aviso { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--surface); transition: border-color .2s; }
.aviso:hover { border-color: var(--gold); } .aviso b { display: block; font-weight: 600; } .aviso span { color: var(--muted); font-size: .85rem; } .aviso svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.nota-proto { margin-top: 2rem; color: var(--muted); font-size: .8rem; }
.cor { width: 54px; height: 46px; padding: 2px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

/* Tablet: menu vira trilho de ícones */
@media (max-width: 1100px) {
  .shell { grid-template-columns: 84px minmax(0, 1fr); } #menu { align-self: stretch; }
  .lado { padding: 1rem .5rem; align-items: center; }
  .lado .marca { padding: 0 0 1rem; } .lado .marca b { display: none; }
  .nav { flex-direction: column; gap: .2rem; min-height: 60px; padding: .4rem 0; font-size: .68rem; justify-content: center; text-align: center; }
  .nav svg { width: 22px; height: 22px; }
  .lado .fim .linha { flex-direction: column; gap: .4rem; padding: 0; } .lado .fim .linha span { display: none; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Celular: menu embaixo */
@media (max-width: 720px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .lado { display: none; }
  .numeros b { font-size: 1.35rem; }
  .baixo { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .baixo .nav { flex-direction: column; gap: .15rem; min-height: 58px; padding: .3rem 0; font-size: .68rem; justify-content: center; border-radius: 0; background: transparent !important; }
  .numeros { grid-template-columns: 1fr 1fr; } .numeros > div { border-left: 0; border-top: 1px solid var(--line); } .numeros > div:nth-child(even) { border-left: 1px solid var(--line); }
  .numeros .grande { grid-column: 1 / -1; border-top: 0; } .numeros > div:nth-child(2), .numeros > div:nth-child(4) { border-left: 0; } .numeros > div:nth-child(3), .numeros > div:nth-child(5) { border-left: 1px solid var(--line); }
  .g2, .g3, .g-hoje { grid-template-columns: minmax(0, 1fr); }
  .legenda { display: none; }
  .r-cli { grid-template-columns: 44px minmax(0, 1fr) auto; } .r-cli .gasto { display: none; }
  .r-serv { grid-template-columns: 1fr 84px 104px 42px; } .r-serv .interr { grid-column: span 2; }
  .r-prod { grid-template-columns: 1fr 96px; } .r-prod .passo { justify-self: start; }
  .novo-rapido { grid-template-columns: 1fr 1fr; } .novo-rapido .field:first-child, .novo-rapido .btn { grid-column: 1 / -1; }
  .gaveta { top: auto; left: 0; width: 100%; max-height: 92dvh; border-left: 0; border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; animation-name: sobe; }
  @keyframes sobe { from { transform: translateY(40px); opacity: 0; } }
  .cab .acoes { margin-left: 0; width: 100%; }
}

/* ---------- tudo que mostra um número leva ao detalhe ---------- */
:root { --heat: #d9b84a; --on-heat: #0a0a0a; }
:root[data-theme='light'] { --heat: #5f4e0c; --on-heat: #ffffff; }
.numeros > div { padding: 0; }
.tile { display: block; width: 100%; height: 100%; padding: 1.15rem 1.25rem; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.tile:hover, .tile:focus-visible { background: var(--surface-2); }
.tile i { display: block; margin-top: .6rem; font-style: normal; font-size: .82rem; font-weight: 650; color: var(--gold); }
.numeros b.ruim { color: var(--bad); }
.bolha { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--bad); color: #fff; font-size: .78rem; font-weight: 700; display: inline-grid; place-items: center; }
.nav .bolha { margin-left: auto; }
.nome-bt { display: block; width: 100%; min-width: 0; background: none; border: 0; padding: .25rem .4rem; margin-left: -.4rem; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px; transition: background-color .2s; }
.nome-bt:hover { background: var(--surface-2); } .nome-bt b { display: block; font-weight: 650; }
.barras button.b { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.barras button.b:disabled { cursor: default; } .barras button.b:not(:disabled):hover i { filter: brightness(1.2); }
.hb-bt { display: block; width: calc(100% + 1rem); margin: 0 -.5rem; padding: .45rem .5rem; background: none; border: 0; border-radius: 10px; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.hb-bt:hover { background: var(--surface-2); }
.par-bt { width: calc(100% + 1rem); margin: 0 -.5rem; padding: .6rem .5rem; background: none; border: 0; border-top: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.par-bt:first-child { border-top: 0; } .par-bt:hover { background: var(--surface-2); }
.sec { margin: 0 0 .35rem; font-size: .84rem; font-weight: 700; color: var(--muted); display: flex; gap: .5rem; align-items: baseline; } .sec span { color: var(--gold); }
.lin { border-top: 1px solid var(--line); } .sec + .lin { border-top: 0; }
.lin-bt { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: .8rem; align-items: center; width: 100%; padding: .7rem .4rem; background: none; border: 0; border-radius: 10px; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.lin-bt:hover { background: var(--surface-2); }
.lin-bt time { font-weight: 650; font-size: .92rem; line-height: 1.25; } .lin-bt .mid { min-width: 0; } .lin-bt b { display: block; font-weight: 650; }
.lin-bt .s { display: block; color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lin-bt .fim { display: grid; justify-items: end; gap: .15rem; text-align: right; }
.lin-ac { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 .4rem .8rem; }
.explica, .dica { font-size: .88rem; color: var(--muted); padding: .85rem 1rem; border-left: 2px solid var(--gold); background: var(--surface); border-radius: 0 10px 10px 0; }
.dica { display: grid; gap: .5rem; margin-bottom: 1rem; max-width: 78ch; } .dica b { color: var(--text); }
.prog { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; } .prog i { display: block; height: 100%; background: var(--pri); border-radius: 99px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.trio div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem .85rem; min-width: 0; }
.cartao .trio div { background: var(--bg); }
.trio b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .trio span { font-size: .8rem; color: var(--muted); }
.area { min-height: 0; height: auto; padding: .75rem .9rem; line-height: 1.5; resize: vertical; }
.avisos { display: grid; gap: .6rem; max-width: 780px; }
button.aviso { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.aviso > div { min-width: 0; } .aviso > svg:last-child { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }
.checks { display: grid; gap: .85rem; } .checks .interr { white-space: normal; color: var(--text); font-size: .93rem; }
.gaveta footer .btn-sm { min-height: 40px; }
/* produtos com foto */
.pgrid { margin-top: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1rem; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .2s; }
.pcard:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.pfoto { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); cursor: pointer; overflow: hidden; }
.pfoto img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--surface-2)); }
.ph svg { width: auto; height: 54%; opacity: .8; } .pm .ph svg { height: 72%; }
.pfoto .trocar { position: absolute; left: .6rem; bottom: .6rem; padding: .25rem .75rem; border-radius: 99px; background: rgba(0, 0, 0, .74); color: #fff; font-size: .8rem; font-weight: 650; opacity: 0; transition: opacity .2s; }
.pfoto:hover .trocar, .pfoto:focus-within .trocar { opacity: 1; }
@media (pointer: coarse) { .pfoto .trocar { opacity: 1; } }
.pfoto:focus-within { outline: 3px solid var(--gold); outline-offset: -3px; }
.pcard.zerado .pfoto img { filter: grayscale(1) opacity(.5); }
.pinf { padding: .9rem 1rem 1rem; display: grid; gap: .7rem; align-content: start; } .pinf b { font-weight: 700; } .pinf .s { display: block; color: var(--muted); font-size: .84rem; }
.plin { display: flex; align-items: center; justify-content: space-between; gap: .6rem; } .plin .field { width: 92px; }
.pd { grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: .7rem; }
.pm { position: relative; display: block; width: 42px; height: 42px; border-radius: 9px; overflow: hidden; background: var(--surface-2); } .pm img { width: 100%; height: 100%; object-fit: cover; } .pm .ph { font-size: 1.25rem; }
.pt { display: grid; gap: .1rem; min-width: 0; }
/* ranking de clientes */
.rk { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: .9rem; align-items: center; width: 100%; padding: .7rem .4rem; background: none; border: 0; border-top: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.rk:first-child { border-top: 0; } .rk:hover { background: var(--surface-2); }
.rk .pos { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--gold); } .rk b { display: block; font-weight: 650; }
.rk .t { display: block; height: 6px; margin-top: .4rem; border-radius: 99px; background: var(--surface-2); overflow: hidden; } .rk .t i { display: block; height: 100%; background: var(--pri); border-radius: 99px; }
.rk .fim { text-align: right; } .rk .s { display: block; color: var(--muted); font-size: .82rem; }
/* mapa de horários legível nos dois modos */
.mapa .cel { height: 32px; border: 0; border-radius: 6px; background: color-mix(in srgb, var(--heat) calc(var(--v) * 100%), var(--surface-2)); color: var(--on-heat); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; opacity: 0; transition: opacity .6s, transform .15s; transition-delay: calc(var(--i) * 12ms), 0s; }
.mapa .cel.fraca { color: var(--text); } .mapa .cel:hover { transform: scale(1.1); } .in .mapa .cel { opacity: 1; }
.mapa span { font-size: .8rem; }
@media (max-width: 720px) { .trio b { font-size: 1.1rem; } .r-cli .nome-bt { margin-left: 0; } }

@media (max-width: 720px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } .pinf { padding: .75rem; } .plin { flex-wrap: wrap; } .ph { font-size: 2.4rem; } }

/* ===== segunda rodada: janela central, mês, combos, acessos ===== */
[hidden] { display: none !important; }
.tag-at { background: var(--pri); color: var(--on-pri); }
.bloco-ag.atendendo { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 30%, var(--surface)); box-shadow: inset 0 0 0 1px var(--gold); }
.ouro { color: var(--gold); }
.btn[aria-pressed='true'] { border-color: var(--gold); background: var(--pri); color: var(--on-pri); }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quem { display: grid; gap: .25rem; padding: .5rem .5rem 0; } .quem span { font-size: .74rem; color: var(--muted); } .quem .select { min-height: 40px; font-size: .86rem; padding-left: .7rem; }

/* janela central */
.gaveta.centro { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(560px, calc(100% - 2rem)); max-height: min(92dvh, 860px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: aparece .28s cubic-bezier(.2, .8, .2, 1); }
.gaveta.centro.largo { width: min(980px, calc(100% - 2rem)); }
@keyframes aparece { from { opacity: 0; transform: translate(-50%, -47%) scale(.97); } }
.cmd { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.cmd-a, .cmd-b { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.cmd-b { position: sticky; top: 0; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmd-l { align-items: center; } .cmd-l > span:last-child { display: flex; align-items: center; gap: .3rem; } .cmd-l .input { width: 104px; text-align: right; }
.cmd .pergunta { padding: .9rem 1rem 1rem; border: 1px dashed var(--line); border-radius: var(--r-lg); } .cmd .pergunta h3 { font-size: 1.45rem; }
.cmd .sec { margin: 0; }
.recibo { justify-self: center; width: min(100%, 360px); display: grid; gap: .45rem; padding: 1.4rem 1.3rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.recibo img { width: 54px; height: 54px; border-radius: 50%; justify-self: center; } .recibo .rn { font-family: var(--display); font-weight: 400; font-size: 1.4rem; } .recibo .rs { color: var(--muted); font-size: .84rem; margin-bottom: .4rem; }
.recibo .rl { display: flex; justify-content: space-between; gap: 1rem; text-align: left; font-size: .93rem; } .recibo .rl span { color: var(--muted); } .recibo .rl b { font-weight: 600; text-align: right; }
.recibo hr { width: 100%; border: 0; border-top: 1px dashed var(--line); margin: .35rem 0; } .recibo .rt b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--gold); } .recibo .rt { align-items: baseline; }

/* faixa do mês */
.mesfx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; margin-bottom: 1rem; }
.mesfx .tile { border-left: 1px solid var(--line); } .mesfx .tile:first-child { border-left: 0; } div.tile { cursor: default; } div.tile:hover { background: transparent; }
.mesfx span { display: block; color: var(--muted); font-size: .82rem; } .mesfx b { display: block; font-size: 1.45rem; font-weight: 600; line-height: 1.2; margin-top: .2rem; white-space: nowrap; }
.mesfx small { display: block; color: var(--muted); font-size: .78rem; margin-top: .3rem; }
.delta { display: inline-block; font-weight: 700; } .delta.sobe { color: var(--ok); } .delta.desce { color: var(--bad); }
.mesfx .delta { display: inline; }

/* gráfico por mês: dica ao passar o mouse e mês escolhido */
.bmes .b { position: relative; } .bmes button.b[aria-pressed='true'] small { color: var(--gold); font-weight: 700; } .bmes button.b[aria-pressed='true'] i { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--gold); }
.bmes .tip { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) translateY(4px); z-index: 5; min-width: 150px; padding: .55rem .7rem; background: var(--text); color: var(--bg); border-radius: 10px; font-size: .78rem; line-height: 1.45; text-align: left; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.bmes .tip b { display: block; font-weight: 700; }
.bmes .b:hover .tip, .bmes .b:focus-visible .tip { opacity: 1; transform: translateX(-50%); }
.bmes .b:first-child .tip { left: 0; transform: none; } .bmes .b:last-child .tip { left: auto; right: 0; transform: none; }
.mesdet { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.mesdet-t { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin-bottom: .7rem; } .mesdet-t b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; } .mesdet-t span { color: var(--muted); font-size: .86rem; }
.mesdet-p { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 1rem; font-size: .86rem; }

/* ranking enxuto */
.rk-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin: .9rem 0 .5rem; font-size: .84rem; }
.rk2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.rk2 button { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .5rem; align-items: baseline; min-height: 44px; padding: .5rem .3rem; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
.rk2 button:hover { background: var(--surface-2); } .rk2 .pos { font-family: var(--display); font-style: italic; color: var(--gold); } .rk2 b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rk2 .v { font-weight: 650; font-size: .9rem; }
.tab button.r { width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.r-bar { grid-template-columns: 1.3fr repeat(4, 1fr); } .tab button.r:hover { background: var(--surface-2); }
.numzao { margin-top: .8rem; font-family: var(--display); font-size: 2.2rem; line-height: 1; } .numzao + p { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.g4 .rosca { flex-direction: column; align-items: flex-start; gap: .8rem; } .g4 .rosca svg { width: 92px; height: 92px; }

/* produtos por categoria */
.pfiltro { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-bottom: .5rem; } .pfiltro .input { max-width: 260px; margin-left: auto; min-height: 40px; }
.pcat { margin-top: 1.6rem; } .pcat header { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); } .pcat h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; } .pcat header .btn { margin-left: auto; }
.pcat .pgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pinf > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }

/* combos e acessos */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.combo { position: relative; display: grid; gap: .8rem; align-content: start; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s; }
.combo::before { content: ''; position: absolute; left: 1.4rem; top: 0; width: 46px; height: 2px; background: var(--gold); }
.combo:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); } .combo.off { opacity: .55; }
.combo header { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; } .combo h2 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.combo p { color: var(--muted); font-size: .92rem; }
.combo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .92rem; } .combo li { display: flex; justify-content: space-between; gap: 1rem; } .combo li span { color: var(--muted); }
.cpreco { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; padding-top: .8rem; border-top: 1px dashed var(--line); } .cpreco s { color: var(--muted); font-size: .95rem; } .cpreco b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--gold); }
.combo footer { display: flex; align-items: center; gap: .6rem; margin-top: auto; } .combo footer > :nth-child(2) { margin-left: auto; }
.combo.novo { place-items: center; align-content: center; min-height: 220px; border-style: dashed; background: transparent; color: var(--muted); font: inherit; cursor: pointer; } .combo.novo::before { display: none; } .combo.novo b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.conta { display: grid; gap: .25rem; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: .9rem; color: var(--muted); } .conta b { color: var(--text); }
.checks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; }

@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lado .quem span { display: none; } }
@media (max-width: 720px) {
  .gaveta.centro, .gaveta.centro.largo { top: auto; left: 0; bottom: 0; transform: none; width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; animation-name: sobe; }
  .cmd { grid-template-columns: minmax(0, 1fr); } .cmd-b { position: static; }
  .mesfx { grid-template-columns: 1fr 1fr; } .mesfx .tile:nth-child(odd) { border-left: 0; } .mesfx .tile:nth-child(n+3) { border-top: 1px solid var(--line); } .mesfx b { font-size: 1.2rem; }
  .g4, .rk2, .checks.cols, .tres { grid-template-columns: minmax(0, 1fr); }
  .r-bar { grid-template-columns: 1fr 1fr; } .r-bar > b { grid-column: 1 / -1; }
  .pfiltro .input { max-width: none; margin-left: 0; width: 100%; } .pcat .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bmes .tip { display: none; }
}

.mesdet .trio b { font-size: 1.12rem; font-family: var(--ui); font-weight: 650; }

.rk2 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cartao p.numzao { margin-top: .8rem; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--text); }

/* período dos relatórios, ajustes e regra da comissão */
.perbar { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1rem; margin-bottom: 1rem; } .perbar .field { min-width: 170px; } .perbar .btn { margin-left: auto; }
.perleg { margin: -.3rem 0 1rem; color: var(--muted); font-size: .88rem; }
.regra { display: grid; gap: .35rem; margin-top: .4rem; } .regra label { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); } .regra .input { width: 64px; min-height: 36px; text-align: right; }
.aj { align-items: start; } .aj .cartao > h2 + p { margin-bottom: .2rem; }
.aj-linha { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.2rem; } .aj-linha .muted { font-size: .82rem; margin-top: .3rem; } .aj-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #000; }
.aj-campos { margin-top: 1rem; gap: .9rem; }
.aj-dias { margin-top: .8rem; } .aj-dia { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 56px; padding: .5rem 0; border-top: 1px solid var(--line); } .aj-dia:first-child { border-top: 0; }
.aj-dia .interr { color: var(--text); font-size: .95rem; } .aj-dia.off b { color: var(--muted); } .aj-h { display: flex; align-items: center; gap: .5rem; } .aj-h i { font-style: normal; color: var(--muted); font-size: .85rem; } .aj-h .input { width: auto; min-width: 70px; }
@media (max-width: 720px) { .perbar .btn { margin-left: 0; width: 100%; } .perbar .field { flex: 1; } }

/* ===== terceira rodada ===== */
.tema-topo { flex: none; }
.avp { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.comfoto { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .45rem; }
.hb-bt.comav { display: flex; align-items: center; gap: .7rem; } .hb-bt.comav .avp { width: 38px; height: 38px; } .hb-c { flex: 1; min-width: 0; }
.qt { margin-left: .35rem; padding: .05rem .5rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: .78rem; font-weight: 650; }
.cartao.destaque { border-color: var(--gold); }
.ruim-t { color: var(--bad); font-weight: 650; }
.avlista { margin-top: .5rem; } .avlin { display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; gap: .8rem; align-items: center; width: 100%; padding: .7rem .2rem; background: none; border: 0; border-top: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px; }
.avlin:first-child { border-top: 0; } .avlin:hover { background: var(--surface-2); } .avlin svg { width: 20px; height: 20px; color: var(--gold); } .avlin svg:last-child { width: 16px; color: var(--muted); } .avlin b { display: block; font-weight: 600; font-size: .93rem; } .avlin span span { display: block; color: var(--muted); font-size: .84rem; }
.avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.avcard { display: grid; gap: .5rem; align-content: start; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.avcard > svg { width: 26px; height: 26px; color: var(--gold); } .avcard h2 { font-size: 1.02rem; font-weight: 650; line-height: 1.3; } .avcard p { color: var(--muted); font-size: .9rem; } .avcard footer { display: flex; gap: .5rem; margin-top: .5rem; }
.pagi { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; font-size: .88rem; color: var(--muted); }
/* clientes */
.pfiltro .input { min-width: 200px; }
.clis { padding: .4rem 1.25rem 1.1rem; }
.cli-cab, .cli-l { display: grid; grid-template-columns: 42px minmax(0, 1.7fr) 130px repeat(3, minmax(0, .8fr)) 128px; gap: 1rem; align-items: center; }
.cli-cab { padding: .8rem 0 .5rem; font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.cli-l { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; } .cli-l:last-of-type { border-bottom: 0; } .cli-l .btn { justify-self: end; }
.cli-l .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, var(--surface-2)); color: var(--gold); font-weight: 700; font-size: .85rem; }
.cli-l .nome-bt { margin: 0; } .cli-l .nome-bt b { display: block; font-weight: 650; } .cli-l .nome-bt .s { display: block; color: var(--muted); font-size: .84rem; }
.gaveta .trio { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); } .gaveta .trio div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: .75rem .9rem; } .gaveta .trio div:first-child { border-top: 0; }
.gaveta .trio b { order: 2; font-size: 1.25rem; white-space: nowrap; overflow: visible; } .gaveta .trio span { font-size: .9rem; }
/* serviços */
.svcs { display: grid; gap: .7rem; margin-top: 1rem; }
.svc { display: grid; grid-template-columns: minmax(0, 1.6fr) 118px 132px minmax(0, 1fr) 44px; gap: 1rem; align-items: center; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: var(--r-lg); }
.svc.dest { border-left-color: var(--gold); } .svc-a { display: grid; gap: .4rem; min-width: 0; } .svc-n { font-weight: 650; font-size: 1.02rem; } .svc .field > span:first-child { font-size: .76rem; }
.svc-t { display: grid; gap: .55rem; } .svc-t .interr { white-space: normal; }
.comun { display: flex; align-items: center; gap: .4rem; } .comun i { font-style: normal; color: var(--muted); font-size: .86rem; } .comun .input { min-width: 0; }
/* metas */
.meta-t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; } .meta-t .comun .input { width: 130px; text-align: right; }
.meta { margin-bottom: 1rem; } .meta .prog { margin-top: 1rem; height: 10px; }
.meta-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; } .meta-n b { display: block; font-size: 1.3rem; font-weight: 600; white-space: nowrap; } .meta-n span { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.meta-o { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; } .meta-o .input { width: 84px; text-align: right; }
/* acessos */
.acgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1rem; }
.ac { display: grid; gap: .7rem; align-content: start; padding: 1.1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.ac header { display: flex; align-items: center; gap: .8rem; min-width: 0; } .ac header > div { min-width: 0; } .ac h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.1; margin-bottom: .25rem; overflow-wrap: anywhere; }
.ac-f { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, var(--surface-2)); color: var(--gold); font-weight: 700; }
.ac p { font-size: .88rem; overflow-wrap: anywhere; } .ac ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; }
.ac-c { padding: .5rem .7rem; border-radius: 10px; background: var(--surface-2); color: var(--muted); } .ac-c.on { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); font-weight: 650; }
.ac footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: auto; }
.comis { display: grid; gap: .9rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-lg); } .comis.on { border-color: var(--gold); } .comis .interr { color: var(--text); font-size: .95rem; }
.combo footer { flex-wrap: wrap; }
.msgc { display: grid; gap: .45rem; } .msgc-t { display: flex; gap: .4rem; align-items: center; } .msgc-t .input { font-weight: 650; min-width: 0; } .msgc-t .btn-icon { flex: 0 0 42px; }
/* agendamento novo pelo site */
#novoag { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; display: grid; gap: .7rem; width: min(380px, calc(100% - 2.2rem)); }
.nvcard { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .9rem; padding: 1.1rem; background: var(--bg); border: 1px solid var(--gold); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); animation: sobe .35s cubic-bezier(.2, .8, .2, 1); }
.nv-i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: var(--on-pri); } .nv-i svg { width: 22px; height: 22px; }
.nvcard small { display: block; font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); } .nvcard b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; margin: .15rem 0; }
.nvcard span { display: block; color: var(--muted); font-size: .9rem; } .nvcard .nv-i { display: grid; color: var(--on-pri); } .nvcard em { display: block; margin-top: .3rem; font-style: normal; font-size: .86rem; color: var(--ok); font-weight: 600; } .nvcard footer { grid-column: 1 / -1; display: flex; gap: .5rem; } .nvcard footer .btn { flex: 1; }
@media (max-width: 1100px) { .svc { grid-template-columns: minmax(0, 1fr) 110px 124px 44px; } .svc-t { grid-column: 1 / -2; grid-row: 2; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; } .meta-n { grid-template-columns: 1fr 1fr; }
  .cli-cab { display: none; } .cli-l { grid-template-columns: 42px minmax(0, 1fr) auto; } .cli-l > span:nth-child(3) { grid-column: 3; grid-row: 1; } .cli-l > [data-r] { grid-column: 2 / -1; font-size: .86rem; color: var(--muted); } .cli-l > [data-r]::before { content: attr(data-r) ': '; } .cli-l > .btn { grid-column: 2 / -1; justify-self: start; } }
@media (max-width: 720px) { .svc { grid-template-columns: 1fr 1fr; } .svc-a, .svc-t { grid-column: 1 / -1; grid-row: auto; } .svc > .btn { justify-self: end; grid-column: 2; }
  #novoag { left: 1.1rem; right: 1.1rem; bottom: 76px; width: auto; } .pfiltro .input { min-width: 0; } }

@media (max-width: 1100px) { .lado .quem { padding: .3rem 0 0; width: 100%; } .lado .quem .select { padding: 0 1.1rem 0 .35rem; font-size: .68rem; min-height: 38px; background-position: right .25rem center; } }

.mesfx b, .mesdet .trio b, .meta-n b { white-space: normal; overflow: visible; text-overflow: clip; }
@media (max-width: 1100px) and (min-width: 721px) {
  .mesfx { grid-template-columns: 1fr 1fr; } .mesfx .tile:nth-child(odd) { border-left: 0; } .mesfx .tile:nth-child(n+3) { border-top: 1px solid var(--line); }
  .numeros { grid-template-columns: repeat(4, minmax(0, 1fr)); } .numeros .grande { grid-column: 1 / -1; border-bottom: 1px solid var(--line); } .numeros > div:nth-child(2) { border-left: 0; }
}
@media (max-width: 720px) { .mesdet .trio { grid-template-columns: 1fr; } .mesdet .trio div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .mesdet .trio b { order: 2; } }

@media (max-width: 1100px) { .g-hoje { grid-template-columns: minmax(0, 1fr); }
  .mesdet .trio { grid-template-columns: 1fr; } .mesdet .trio div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .mesdet .trio b { order: 2; } }

/* pilha de agendamentos novos: os que esperam aparecem como cartões atrás */
#novoag { isolation: isolate; } #novoag .nvcard { position: relative; }
#novoag.pilha1::before, #novoag.pilha2::before, #novoag.pilha2::after { content: ''; position: absolute; left: 14px; right: 14px; top: -9px; height: 60px; z-index: -1; background: var(--surface); border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--line)); border-radius: 18px; }
#novoag.pilha2::after { left: 28px; right: 28px; top: -18px; z-index: -2; background: var(--surface-2); border-color: var(--line); }
.nvcard small i { font-style: normal; margin-left: .4rem; padding: .05rem .45rem; border-radius: 99px; background: var(--pri); color: var(--on-pri); letter-spacing: 0; }
.nv-fila { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }

.aj-site { grid-column: 1 / -1; margin-top: .25rem; font-size: .84rem; color: var(--muted); } .aj-site a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }

.perbt { margin-left: auto; display: flex; flex-wrap: wrap; gap: .5rem; } .perbar .perbt .btn { margin-left: 0; }
@media (max-width: 720px) { .perbt { width: 100%; margin-left: 0; } .perbt .btn { flex: 1; } }

/* horário bloqueado na agenda */
.bloq { position: absolute; left: 6px; right: 6px; z-index: 2; border: 1px dashed var(--muted); border-radius: 9px; padding: .4rem .65rem; text-align: left; overflow: hidden; display: grid; align-content: start; color: var(--muted); font: inherit; cursor: pointer;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 8px, var(--surface) 8px 16px); }
.bloq b { font-weight: 650; font-size: .86rem; color: var(--text); } .bloq small { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bloq:hover { border-color: var(--gold); }

.link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 0; }

/* ---------- 12/11/2026: status na agenda, escolha de serviços, movimentações, dashboards de produtos e combo pré-pago ---------- */
.bloco-ag .st { position: absolute; top: .3rem; right: .35rem; display: flex; gap: .25rem; pointer-events: none; }
.bloco-ag .st .tag { font-size: .66rem; padding: .08rem .4rem; line-height: 1.35; }
.bloco-ag b { padding-right: 5.4rem; }
.svsel { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .45rem; }
.svb { display: grid; gap: .1rem; text-align: left; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s; min-height: 54px; }
.svb b { font-weight: 600; font-size: .92rem; } .svb small { color: var(--muted); font-size: .78rem; }
.svb:hover { border-color: var(--gold); }
.svb[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 16%, var(--surface)); box-shadow: inset 0 0 0 1px var(--gold); }
.movl { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .65rem .2rem; }
.movl time { font-size: .82rem; color: var(--muted); line-height: 1.3; } .movl .mid b { display: block; font-weight: 600; } .movl .mid .s { display: block; color: var(--muted); font-size: .82rem; }
.movl .entra { color: var(--ok); } .movl .sai { color: var(--bad); }
.tcat .r { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: .6rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.tcat .r:first-child { border-top: 0; } .tcat .r > :not(:first-child) { text-align: right; } .tcat .s { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.hb .pos { display: inline-block; min-width: 1.3rem; font-family: var(--display); font-style: italic; color: var(--gold); }
.pacbox { display: grid; gap: .25rem; padding: .85rem 1rem; border: 1px solid var(--gold); border-radius: 14px; background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.pacbox b { font-weight: 650; } .pacbox > span { font-size: .95rem; } .pacbox small { color: var(--muted); font-size: .82rem; } .pacbox .interr { margin-top: .35rem; color: var(--text); }
.pacbox + .pacbox { margin-top: .5rem; }
.pacbox.off { border-color: var(--line); background: var(--surface-2); } .pacbox.off b, .pacbox.off > span { color: var(--muted); }
.qtl { align-items: center; }

/* ---------- 12/11/2026 à noite: janela de escolha, combo com quantidade, Dashboards de produtos, equipe grande ---------- */
#escolha { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.ek-fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); animation: surge .2s; }
.ek-caixa { position: relative; width: min(760px, 100%); max-height: min(88dvh, 820px); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); overflow: hidden; animation: aparece2 .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes aparece2 { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.ek-caixa header { display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.4rem .6rem; }
.ek-caixa header h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; } .ek-caixa header p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.ek-caixa header .btn { margin-left: auto; }
.ek-busca { position: relative; display: block; margin: .3rem 1.4rem .6rem; }
.ek-busca svg { position: absolute; left: .95rem; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ek-busca .input { padding-left: 2.7rem; min-height: 50px; border-radius: 14px; font-size: 1rem; }
.ek-chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 1.4rem .7rem; scrollbar-width: none; } .ek-chips::-webkit-scrollbar { display: none; } .ek-chips .chip { flex: none; }
.ek-lista { flex: 1; overflow-y: auto; padding: .3rem 1.4rem 1.4rem; display: grid; gap: .5rem; align-content: start; }
.ek-g { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: .7rem 0 .1rem; }
.ek-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .55rem; }
.ek { position: relative; display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 66px; padding: .75rem .95rem; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .18s, background-color .18s, transform .12s; }
.ek:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); } .ek:active { transform: scale(.985); }
.ek.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 13%, var(--surface)); box-shadow: inset 0 0 0 1px var(--gold); }
.ek-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: color-mix(in srgb, var(--gold) 16%, var(--surface-2)); color: var(--gold); font-weight: 700; font-size: .85rem; } .ek-av svg { width: 20px; height: 20px; }
.ek-t { display: grid; gap: .1rem; min-width: 0; flex: 1; } .ek-t b { font-weight: 650; line-height: 1.25; } .ek-t small { color: var(--muted); font-size: .8rem; white-space: normal; } .ek-t .tag { justify-self: start; margin-top: .2rem; font-size: .7rem; }
.ek-d { flex: none; text-align: right; font-weight: 700; font-size: .95rem; } .ek-d small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); }
.ek-ck { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .2s; } .ek-ck svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: all .2s cubic-bezier(.3, 1.4, .5, 1); }
.ek.on .ek-ck { background: var(--pri); border-color: var(--pri); color: var(--on-pri); } .ek.on .ek-ck svg { opacity: 1; transform: none; }
.ek-novo { border-style: dashed; margin-bottom: .3rem; }
.ek-mais { font-size: .85rem; text-align: center; padding-top: .4rem; }
.ek-caixa footer { padding: .9rem 1.4rem calc(.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (max-width: 720px) { #escolha { padding: 0; place-items: end stretch; } .ek-caixa { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; animation: sobe .3s cubic-bezier(.2, .8, .2, 1); } .ek-grade { grid-template-columns: 1fr; } }
@keyframes sobe { from { transform: translateY(40px); opacity: 0; } }

.svlista { display: grid; gap: .45rem; }
.svl { display: flex; align-items: center; gap: .7rem; padding: .6rem .5rem .6rem .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.svl > span:first-child { flex: 1; display: grid; min-width: 0; } .svl b { font-weight: 650; } .svl small { color: var(--muted); font-size: .8rem; }
.svl .passo { display: inline-flex; align-items: center; gap: .2rem; } .svl .passo button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: inherit; font-size: 1.1rem; } .svl .passo b { min-width: 2.2rem; text-align: center; }
.svadd { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 52px; border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, var(--line)); border-radius: 14px; background: transparent; color: var(--text); font: inherit; font-weight: 650; cursor: pointer; transition: background-color .2s, border-color .2s; }
.svadd:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); } .svadd svg { width: 18px; height: 18px; color: var(--gold); }
.clipick, .opcard { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 64px; padding: .7rem .95rem; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s; }
.clipick:hover, .opcard:hover { border-color: var(--gold); } .opcard.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.clipick .trocar, .opcard .trocar { flex: none; font-size: .85rem; font-weight: 650; color: var(--gold); }
.opcards { display: grid; gap: .5rem; } .oc-i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); } .oc-i svg { width: 21px; height: 21px; }

.profsel { display: flex; gap: .4rem; overflow-x: auto; max-width: 100%; padding: 2px; scrollbar-width: thin; }
.profsel button { flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .25rem .9rem .25rem .3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.profsel button[aria-pressed='true'] { background: var(--pri); border-color: var(--pri); color: var(--on-pri); }
.profsel .avp, .profsel .pz { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; } .profsel .pz { display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font-size: .78rem; font-weight: 700; }
.agenda.muitos { overflow-x: auto; } .agenda.muitos .ag-cab, .agenda.muitos .ag-corpo { min-width: calc(58px + var(--cols) * 190px); grid-template-columns: 58px repeat(var(--cols), minmax(190px, 1fr)); }
.agenda.muitos .ag-horas, .agenda.muitos .ag-cab > div:first-child { position: sticky; left: 0; z-index: 6; background: var(--surface); }

.prtab { margin-top: .8rem; }
.prl { display: grid; grid-template-columns: 30px 44px minmax(0, 1.8fr) 90px 110px 110px minmax(0, .9fr); gap: .8rem; align-items: center; padding: .6rem .3rem; border-top: 1px solid var(--line); font-size: .92rem; }
.prl.prcab { border-top: 0; font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: .3rem; }
.prl .pos { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--muted); } .prl.top .pos { color: var(--gold); } .prl.top { background: color-mix(in srgb, var(--gold) 5%, transparent); }
.prf { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; } .prf img { width: 100%; height: 100%; object-fit: cover; } .prf svg { width: 34px; height: 34px; }
.prn { display: grid; min-width: 0; } .prn b { font-weight: 650; } .prn small { color: var(--muted); font-size: .8rem; } .prn em { font-style: normal; font-weight: 650; }
.acaol { display: grid; gap: 0; margin-top: .6rem; } .acaol > div { display: grid; gap: .1rem; padding: .7rem 0; border-top: 1px solid var(--line); } .acaol > div:first-child { border-top: 0; }
.acaol b { font-weight: 650; } .acaol span { color: var(--muted); font-size: .84rem; } .acaol small { font-size: .88rem; color: var(--text); border-left: 2px solid var(--gold); padding-left: .6rem; margin-top: .25rem; }
.vendgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .7rem; margin-top: .8rem; }
.vend { display: grid; gap: .45rem; text-align: left; padding: 1rem; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s; } .vend:hover { border-color: var(--gold); }
.vend-t { display: flex; align-items: center; gap: .7rem; } .vend-t .avp { width: 44px; height: 44px; } .vend-t b { display: block; font-weight: 650; } .vend-t small { color: var(--muted); font-size: .82rem; }
.vend-l { display: flex; justify-content: space-between; gap: .8rem; font-size: .86rem; border-top: 1px dashed var(--line); padding-top: .4rem; } .vend-l span { color: var(--muted); } .vend-l b { text-align: right; font-weight: 600; }
.rolalado { overflow-x: auto; } .tcat .r { grid-template-columns: minmax(130px, 1.3fr) repeat(var(--c, 3), minmax(76px, 1fr)); min-width: max-content; } .tcat .num.ouro { color: var(--gold); font-weight: 700; }
.svc-s { order: 10; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; } .svc-s .select { width: auto; min-width: 200px; min-height: 40px; font-size: .9rem; }
.tres.quatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .prl { grid-template-columns: 26px 40px minmax(0, 1fr) auto; } .prl.prcab { display: none; } .prl > [data-r] { grid-column: 3 / -1; font-size: .84rem; color: var(--muted); } .prl > [data-r]::before { content: attr(data-r) ": "; } .prl > [data-r="Vendidos"] { grid-column: 4; grid-row: 1; color: var(--text); font-size: .92rem; } .prl > [data-r="Vendidos"]::before { content: ""; } }
@media (max-width: 720px) { .tres.quatro { grid-template-columns: 1fr 1fr; } }

/* Trazer dados, cores prontas e fontes */
.mg-passos { margin: .9rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--muted); } .mg-passos b { color: var(--text); }
.mg-envio { display: grid; justify-items: center; gap: .3rem; padding: 2rem 1rem; margin-top: 1rem; border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, var(--line)); border-radius: 18px; cursor: pointer; text-align: center; } .mg-envio:hover { border-color: var(--gold); }
.mg-envio svg { width: 34px; height: 34px; color: var(--gold); } .mg-envio small { color: var(--muted); }
.mg-ok { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .8rem 1rem; margin: 1rem 0; border: 1px solid var(--gold); border-radius: 14px; } .mg-ok span { color: var(--muted); } .mg-ok .btn { margin-left: auto; }
.mg-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.mg-tab { width: 100%; border-collapse: collapse; margin-top: .9rem; font-size: .88rem; } .mg-tab th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .4rem .6rem; border-bottom: 1px solid var(--line); } .mg-tab td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.paletas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-top: 1rem; }
.paleta { display: grid; gap: .5rem; padding: .7rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; } .paleta[aria-pressed='true'] { border-color: var(--c, var(--gold)); box-shadow: inset 0 0 0 1px var(--gold); }
.paleta b { font-weight: 600; font-size: .88rem; }
.pl-a.pl-2 { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); background: none; place-items: stretch; }
.pl-2 > span { display: flex; align-items: center; justify-content: center; gap: .45rem; } .pl-e { background: #0d0d0d; } .pl-c { background: #f6f6f3; }
.pl-2 em { font-style: normal; font-weight: 700; font-size: 1.25rem; font-family: var(--display); }
.pl-a { height: 54px; border-radius: 10px; background: #0d0d0d; display: grid; place-items: center; } .pl-a i { width: 60%; height: 14px; border-radius: 999px; background: var(--c); box-shadow: 0 -12px 0 -5px color-mix(in srgb, var(--c) 40%, #fff); }
.fontes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; margin-top: 1rem; }
.fonte { display: grid; gap: .3rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; } .fonte[aria-pressed='true'] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.fonte span { font-size: 1.5rem; line-height: 1.15; } .fonte small { color: var(--muted); font-size: .8rem; }

.ag-cab .pz { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font-weight: 700; font-size: .8rem; }

/* Comissões: 3 quadros lado a lado (18/11/2026) */
.mesfx.tres { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.mesfx.tres .tile { border-top: 0 !important; border-left: 1px solid var(--line) !important; }
.mesfx.tres .tile:first-child { border-left: 0 !important; }
@media (max-width: 600px) {
  .mesfx.tres { grid-template-columns: 1fr !important; }
  .mesfx.tres .tile { border-left: 0 !important; border-top: 1px solid var(--line) !important; }
  .mesfx.tres .tile:first-child { border-top: 0 !important; }
}
.mesfx.dois { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.mesfx.dois .tile { border-top: 0 !important; border-left: 1px solid var(--line) !important; }
.mesfx.dois .tile:first-child { border-left: 0 !important; }
