/* Action Pedidos — vidro + holograma, no padrão do site da Action (preto, vidro fosco, brilho ciano, vermelho REC) */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --fundo: #000;
  --vidro: rgba(255, 255, 255, .055);
  --vidro-2: rgba(255, 255, 255, .085);
  --vidro-3: rgba(255, 255, 255, .12);
  --linha: rgba(255, 255, 255, .09);
  --linha-2: rgba(255, 255, 255, .16);
  --brilho: inset 0 1px 0 rgba(255, 255, 255, .14);
  --holo: 190, 236, 255;
  --texto: #f5f5f7;
  --texto-2: #a1a1a6;
  --texto-3: #6e6e73;
  --rec: #ff3b30;
  --rec-claro: #ff453a;
  --rec-fundo: rgba(255, 59, 48, .14);
  --ok: #30d158;
  --aviso: #ffd60a;
  --laranja: #ff9f0a;
  --azul: #0a84ff;
  --ciano: #64d2ff;
  --roxo: #bf5af2;
  --raio: 20px;
  --raio-p: 12px;
  --sombra: 0 30px 80px rgba(0, 0, 0, .55);
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titulo: "Inter Tight", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--fundo); color: var(--texto); font: 15px/1.5 var(--fonte); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--titulo); letter-spacing: -.025em; margin: 0; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 600; }
.mudo { color: var(--texto-2); }
.fraco { color: var(--texto-3); font-size: 13px; }
.carregando { display: grid; place-items: center; min-height: 100vh; color: var(--texto-3); }
.oculto { display: none !important; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; }

/* ---------- fundo vivo (aurora + grade holográfica) ---------- */
.ambiente { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: #000; }
.ambiente::before, .ambiente::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.ambiente::before { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(var(--holo), .20), transparent 62%); animation: deriva 26s ease-in-out infinite alternate; }
.ambiente::after { width: 55vmax; height: 55vmax; right: -20vmax; bottom: -24vmax; background: radial-gradient(circle, rgba(255, 59, 48, .16), transparent 60%); animation: deriva 32s ease-in-out infinite alternate-reverse; }
.ambiente .grade { position: absolute; inset: -2px; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 75%); }
.ambiente .varredura { position: absolute; left: 0; right: 0; height: 160px; top: -160px; background: linear-gradient(180deg, transparent, rgba(var(--holo), .05), transparent); animation: varre 9s linear infinite; }
@keyframes deriva { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.1); } }
@keyframes varre { to { top: 110vh; } }
#halo { position: fixed; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255,255,255,.055) 0%, rgba(var(--holo),.02) 32%, transparent 62%); opacity: 0; transition: opacity .6s; will-change: transform; }

/* ---------- vidro ---------- */
.vidro, .bloco, .numero, .coluna, .card, .cli-card, .servico, .ped-linha, .lateral, .modal .caixa, .gaveta, .briefing div, .arq, .soltar, .fila .item,
.entrada-form form, .galeria .peca, .decisao-fixa, .barra-movel, .ev .bolha, .caixa-aprovacao, .convite-chip, .notif {
  background: var(--vidro); border: 1px solid var(--linha); box-shadow: var(--brilho);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }

/* borda holográfica girando (igual aos botões do site) */
.holo { position: relative; isolation: isolate; }
.holo::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), rgba(255,255,255,.10) 0deg, rgba(255,255,255,.10) 230deg, rgba(var(--holo),.55) 285deg, #fff 320deg, rgba(var(--holo),.55) 345deg, rgba(255,255,255,.10) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: gira 6s linear infinite; }
.holo.lento::before { animation-duration: 11s; }
@keyframes gira { to { --ang: 360deg; } }

/* ---------- botões e campos ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--linha-2); background: var(--vidro-2); cursor: pointer; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--texto);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 24px rgba(0,0,0,.3); transition: background .2s, box-shadow .2s, transform .1s, border-color .2s; }
.btn:hover { background: var(--vidro-3); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 24px rgba(0,0,0,.3), 0 0 26px rgba(var(--holo), .14); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 17px; height: 17px; flex: none; }
/* principal: branco sólido, texto preto */
.btn.prim { background: linear-gradient(180deg, #fff, #e4e4e7); border-color: rgba(255,255,255,.9); color: #000; font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 10px 30px rgba(255,255,255,.12); }
.btn.prim:hover { background: #fff; box-shadow: 0 12px 36px rgba(255,255,255,.26), 0 0 0 4px rgba(255,255,255,.08); }
/* secundário forte: preto em degradê */
.btn.preto, .btn.claude { background: linear-gradient(180deg, #34353b, #0b0b0d); border-color: rgba(255,255,255,.2); color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 28px rgba(0,0,0,.5); }
.btn.preto:hover, .btn.claude:hover { background: linear-gradient(180deg, #45464d, #141417); border-color: rgba(255,255,255,.32); }
.btn.ok { background: linear-gradient(180deg, #fff, #e4e4e7); border-color: rgba(255,255,255,.9); color: #000; font-weight: 600; box-shadow: 0 10px 30px rgba(255,255,255,.14); }
.btn.ok svg { color: #1a7f37; }
.btn.zap { background: linear-gradient(180deg, #2fe07a, #1fbf5f); border-color: rgba(150,255,190,.4); color: #032912; font-weight: 600; }
.btn.fantasma { background: transparent; border-color: transparent; box-shadow: none; color: var(--texto-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn.fantasma:hover { background: var(--vidro); color: var(--texto); }
.btn.peq { height: 34px; padding: 0 13px; font-size: 13px; }
.btn.grande { height: 54px; padding: 0 28px; font-size: 16px; }
.btn.bloco { width: 100%; }
.icone-btn { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.icone-btn svg { width: 19px; height: 19px; }

label.campo { display: block; margin-bottom: 14px; }
label.campo > span, .rotulo { display: block; font-size: 12.5px; color: var(--texto-2); margin-bottom: 7px; font-weight: 500; letter-spacing: .01em; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; height: 46px; padding: 0 15px; border-radius: var(--raio-p); border: 1px solid var(--linha-2); background-color: rgba(255,255,255,.04);
  outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1a6' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select option { background: #16171a; }
textarea { height: auto; min-height: 100px; padding: 13px 15px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(var(--holo), .6); background-color: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(var(--holo), .10), 0 0 24px rgba(var(--holo), .12); }
::placeholder { color: var(--texto-3); }
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator { filter: invert(.7); }
input[type=color] { width: 46px; height: 46px; padding: 4px; border-radius: 12px; border: 1px solid var(--linha-2); background: rgba(255,255,255,.04); cursor: pointer; }
.linha { display: flex; gap: 12px; flex-wrap: wrap; }
.linha > * { flex: 1 1 200px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--texto-2); }
.check input { accent-color: #fff; width: 18px; height: 18px; }
.erro-msg { background: var(--rec-fundo); color: #ffbdb7; border: 1px solid rgba(255,59,48,.35); padding: 11px 15px; border-radius: var(--raio-p); margin-bottom: 14px; font-size: 14px; }

/* ---------- aviso flutuante ---------- */
#aviso { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100;
  background: rgba(245,245,247,.92); color: #111; padding: 12px 20px; border-radius: 999px; font-weight: 550; box-shadow: var(--sombra);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: .3s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 32px); }
#aviso.ver { opacity: 1; transform: translate(-50%, 0); }
#aviso.erro { background: var(--rec); color: #fff; }

/* ---------- notificações na tela ---------- */
.notifs { position: fixed; top: 18px; right: 18px; z-index: 95; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); pointer-events: none; }
.notif { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; cursor: pointer; background: rgba(20,22,26,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 20px 50px rgba(0,0,0,.6), 0 0 30px rgba(var(--holo),.12); animation: entraNotif .45s cubic-bezier(.2,.8,.2,1); }
.notif .t { font-weight: 600; line-height: 1.3; }
.notif .s { font-size: 13px; color: var(--texto-2); margin-top: 2px; }
.notif .x { margin-left: auto; background: none; border: 0; color: var(--texto-3); cursor: pointer; padding: 0 0 0 6px; font-size: 20px; line-height: 1; }
.notif.sai { animation: saiNotif .3s forwards; }
@keyframes entraNotif { from { opacity: 0; transform: translateX(30px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes saiNotif { to { opacity: 0; transform: translateX(30px); } }

/* ---------- anéis holográficos ---------- */
.aneis { position: absolute; pointer-events: none; }
.aneis svg { width: 100%; height: 100%; overflow: visible; }
.aneis circle { fill: none; transform-box: fill-box; transform-origin: center; }
.aneis .r0 { stroke: rgba(var(--holo), .12); stroke-width: .5; }
.aneis .tk { stroke: rgba(var(--holo), .45); stroke-width: 4; stroke-dasharray: .35 3.15; animation: giraSvg 18s linear infinite; }
.aneis .tk2 { stroke: rgba(var(--holo), .9); stroke-width: 7; stroke-dasharray: .5 45.3; animation: giraSvg 9s linear infinite; }
.aneis .ds { stroke: rgba(var(--holo), .3); stroke-width: .7; stroke-dasharray: 6 4; animation: giraSvg 26s linear infinite reverse; }
.aneis .rc { stroke: rgba(255,59,48,.75); stroke-width: 2; stroke-dasharray: 18 300; animation: giraSvg 12s linear infinite reverse; }
@keyframes giraSvg { to { transform: rotate(360deg); } }

/* ---------- entrada ---------- */
.entrada { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; position: relative; }
.entrada-arte { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.entrada-arte .aneis { width: min(620px, 70vw); aspect-ratio: 1; right: -200px; top: 50%; transform: translateY(-50%); opacity: .9; }
.entrada-arte img.lockup { width: 170px; position: relative; }
.entrada-arte h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; max-width: 560px; letter-spacing: -.04em; position: relative; }
.reflexo { background: linear-gradient(90deg, #fff, rgb(var(--holo)) 45%, #fff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: reflexo 6s linear infinite; font-style: normal; }
@keyframes reflexo { to { background-position: -200% 0; } }
.rec-tag { display: inline-flex; align-items: center; gap: 9px; color: var(--texto-2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.rec-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 14px var(--rec); animation: pisca 1.6s infinite; }
@keyframes pisca { 50% { opacity: .3; } }
.entrada-form { display: grid; place-items: center; padding: 32px 20px; }
.entrada-form form { width: 100%; max-width: 410px; padding: 34px 30px; border-radius: 28px; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--sombra); }
.entrada-form h2 { font-size: 28px; margin-bottom: 6px; letter-spacing: -.03em; }
.entrada-form .sub { color: var(--texto-2); margin: 0 0 24px; }
.convite-chip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; margin-bottom: 20px; }
.troca { margin-top: 18px; text-align: center; color: var(--texto-2); font-size: 14px; }
.troca a { color: var(--texto); font-weight: 600; }

/* ---------- estrutura ---------- */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; position: relative; z-index: 1; }
.lateral { position: sticky; top: 12px; margin: 12px 0 12px 12px; height: calc(100vh - 24px); border-radius: 24px; padding: 22px 14px; display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.04); }
.lateral .lockup { width: 118px; margin: 2px 12px 26px; }
.lateral a.item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 14px; text-decoration: none; color: var(--texto-2); font-weight: 500; transition: background .2s, color .2s; position: relative; }
.lateral a.item:hover { background: rgba(255,255,255,.05); color: var(--texto); }
.lateral a.item.ativo { background: rgba(255,255,255,.09); color: var(--texto); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.lateral a.item.ativo::after { content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.7); }
.lateral a.item svg { width: 19px; height: 19px; flex: none; }
.lateral .badge { margin-left: auto; background: #fff; color: #000; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; box-shadow: 0 0 12px rgba(255,255,255,.4); }
.lateral .notif-btn { margin: 14px 4px 0; font-size: 13px; }
.lateral .pe { margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--linha); display: flex; align-items: center; gap: 10px; }
.lateral .pe .nome { font-size: 14px; font-weight: 600; line-height: 1.2; }
.lateral .pe .papel { font-size: 12px; color: var(--texto-3); }
.lateral .pe button { margin-left: auto; }
.principal { min-width: 0; padding: 34px 36px 70px; }
.topo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.topo .acoes { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.barra-movel { display: none; }
.entra { animation: entra .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes entra { from { opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- avatar / logo ---------- */
.logo-cli { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #0e0e0e; overflow: hidden; color: #111;
  font-family: var(--titulo); font-weight: 700; font-size: 14px; letter-spacing: -.02em; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6px 16px rgba(0,0,0,.4); }
.logo-cli img { width: 100%; height: 100%; object-fit: contain; }
.logo-cli.sem { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(255,255,255,.12), 0 6px 16px rgba(0,0,0,.4); }
.logo-cli.p { width: 26px; height: 26px; border-radius: 8px; font-size: 10px; }
.logo-cli.g { width: 66px; height: 66px; border-radius: 18px; font-size: 21px; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 12.5px; color: #fff;
  background: linear-gradient(135deg, rgba(var(--holo),.35), rgba(255,255,255,.08)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(255,255,255,.12); }
.avatar.ia { background: linear-gradient(135deg, #3a3b41, #0b0b0d); border: 1px solid rgba(255,255,255,.25); }

/* ---------- painel ---------- */
.hero-painel { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.numero { position: relative; overflow: hidden; border-radius: var(--raio); padding: 20px 20px 18px; text-decoration: none; display: block; transition: transform .25s, background .25s; }
.numero:hover { transform: translateY(-2px); background: var(--vidro-2); }
.numero .v { font-family: var(--titulo); font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.numero .r { color: var(--texto-2); font-size: 13px; margin-top: 8px; }
.numero .ic { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--texto-2); }
.numero .ic svg { width: 18px; height: 18px; }
.numero.verde .v { color: var(--ok); text-shadow: 0 0 24px rgba(48,209,88,.3); }
.numero.cafe { background: linear-gradient(140deg, rgba(var(--holo),.10), rgba(255,255,255,.03) 60%); }
.numero.cafe .v { background: linear-gradient(90deg, #fff, rgb(var(--holo))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xicara { position: absolute; right: 10px; bottom: 4px; width: 78px; height: 78px; }
.xicara .vapor { fill: none; stroke: rgba(var(--holo),.7); stroke-width: 2.2; stroke-linecap: round; animation: vapor 3.2s ease-in-out infinite; }
.xicara .vapor.b { animation-delay: -1.1s; } .xicara .vapor.c { animation-delay: -2.1s; }
@keyframes vapor { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.faixa-status { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.faixa-status a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; text-decoration: none; background: rgba(255,255,255,.035); border: 1px solid var(--linha); transition: background .2s; }
.faixa-status a:hover { background: var(--vidro-2); }
.faixa-status b { font-family: var(--titulo); font-size: 22px; margin-left: auto; }
.faixa-status a.alerta { border-color: rgba(255,59,48,.45); } .faixa-status a.alerta b { color: var(--rec-claro); }
.grade-2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.grade-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.bloco { border-radius: var(--raio); padding: 20px; position: relative; }
.bloco > h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.bloco > h3 svg { width: 18px; height: 18px; }
.bloco > h3 .dir { margin-left: auto; font-weight: 400; }
.lista-linha { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-top: 1px solid var(--linha); text-decoration: none; transition: background .2s; }
.lista-linha:first-of-type { border-top: 0; }
.lista-linha:hover { background: rgba(255,255,255,.04); border-radius: 12px; }
.lista-linha .meio { min-width: 0; flex: 1; }
.lista-linha .t { font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lista-linha .s { font-size: 13px; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vazio { color: var(--texto-3); text-align: center; padding: 28px 10px; font-size: 14px; }

/* gráfico */
.grafico { position: relative; height: 220px; display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 8px; }
.grafico .eixo { position: relative; font-size: 11px; color: var(--texto-3); }
.grafico .eixo span { position: absolute; right: 0; transform: translateY(50%); }
.grafico .area { position: relative; border-bottom: 1px solid var(--linha-2); }
.grafico .guia { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255,255,255,.06); }
.grafico .barras { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; padding: 0 2px; }
.grafico .col { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.grafico .col .b { width: min(26px, 70%); border-radius: 4px 4px 0 0; min-height: 3px;
  background: linear-gradient(180deg, rgb(var(--holo)), rgba(var(--holo), .25)); box-shadow: 0 0 18px rgba(var(--holo), .25); transform-origin: bottom; animation: cresce .8s cubic-bezier(.2,.8,.2,1) both; transition: filter .2s; }
.grafico .col.atual .b { background: linear-gradient(180deg, #fff, rgba(255,255,255,.35)); box-shadow: 0 0 20px rgba(255,255,255,.3); }
.grafico .col:hover .b { filter: brightness(1.35); }
.grafico .col .zero { width: min(26px, 70%); height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); }
@keyframes cresce { from { transform: scaleY(0); } }
.grafico .rotulos { grid-column: 2; display: flex; gap: 2px; padding: 7px 2px 0; font-size: 11px; color: var(--texto-3); }
.grafico .rotulos span { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: visible; }
@media (max-width: 600px) { .grafico .rotulos span:nth-child(4n+2), .grafico .rotulos span:nth-child(4n+4) { visibility: hidden; } }
.tip { position: fixed; z-index: 99; pointer-events: none; background: rgba(20,22,26,.94); border: 1px solid var(--linha-2); border-radius: 12px; padding: 9px 12px; font-size: 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5); opacity: 0; transition: opacity .12s; white-space: nowrap; }
.tip.ver { opacity: 1; }
.tip b { font-family: var(--titulo); font-size: 18px; display: block; }
.barras-h { display: grid; gap: 12px; }
.barras-h .l { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; }
.barras-h .l .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--texto-2); }
.barras-h .trilho { height: 8px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; }
.barras-h .trilho i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, rgba(var(--holo),.35), rgb(var(--holo))); box-shadow: 0 0 12px rgba(var(--holo),.35); transform-origin: left; animation: cresceH .9s cubic-bezier(.2,.8,.2,1) both; }
.barras-h .v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes cresceH { from { transform: scaleX(0); } }

.grade-clientes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cli-card { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 18px; text-decoration: none; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; text-align: left; width: 100%; }
.cli-card:hover { transform: translateY(-2px); background: var(--vidro-2); box-shadow: var(--brilho), 0 0 30px rgba(var(--holo), .08); }
.cli-card .nome { font-weight: 600; line-height: 1.25; }
.cli-card .info { font-size: 12.5px; color: var(--texto-3); }
.cli-card .info b { color: var(--aviso); font-weight: 600; }
.cli-card.pendente { border-style: dashed; border-color: rgba(255,159,10,.6); }

/* ---------- etiquetas e prioridade ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--texto-2); white-space: nowrap; border: 1px solid rgba(255,255,255,.06); }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.st.novo { color: #e5e5ea; }
.st.producao { color: #4da3ff; background: rgba(10,132,255,.12); }
.st.aprovacao { color: var(--aviso); background: rgba(255,214,10,.10); }
.st.ajustes { color: var(--laranja); background: rgba(255,159,10,.12); }
.st.aprovado { color: var(--ok); background: rgba(48,209,88,.12); }
.st.entregue { color: var(--ciano); background: rgba(100,210,255,.12); }
.st.cancelado { color: var(--texto-3); }
.tipo { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--texto-2); }
.tipo svg { width: 14px; height: 14px; }
.etqs { display: flex; flex-wrap: wrap; gap: 5px; }
.etq { --c: #8e8e93; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #fff;
  background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); white-space: nowrap; }
.etq::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
button.etq { cursor: pointer; opacity: .42; height: 28px; padding: 0 12px; font-size: 12.5px; transition: opacity .15s, transform .1s; }
button.etq.on { opacity: 1; background: color-mix(in srgb, var(--c) 38%, transparent); border-color: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 55%, transparent); }
button.etq:hover { opacity: .85; }
.card[data-prio]::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--prio); box-shadow: 0 0 12px var(--prio); }
.prazo { font-size: 12px; color: var(--texto-2); display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.prazo svg { width: 13px; height: 13px; flex: none; }
.prazo.atrasado { color: var(--rec-claro); font-weight: 600; }
.prazo.hoje { color: var(--aviso); font-weight: 600; }
.origem { font-size: 11px; color: var(--texto-3); border: 1px solid var(--linha); border-radius: 999px; padding: 1px 8px; }

/* ---------- quadro ---------- */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.filtros select, .filtros input { width: auto; min-width: 160px; height: 40px; border-radius: 999px; }
.alterna { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linha-2); background: transparent; color: var(--texto-2); cursor: pointer; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.alterna.on { background: rgba(var(--holo), .14); border-color: rgba(var(--holo), .5); color: #fff; box-shadow: 0 0 20px rgba(var(--holo), .15); }
.quadro { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(278px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 14px; align-items: start;
  margin: 0 -36px; padding-left: 36px; padding-right: 36px; scroll-padding: 36px; }
.quadro::-webkit-scrollbar { height: 8px; } .quadro::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
.coluna { border-radius: 22px; display: flex; flex-direction: column; max-height: calc(100vh - 220px); min-height: 240px; background: rgba(255,255,255,.03); transition: background .2s, box-shadow .2s, border-color .2s; }
.coluna-topo { display: flex; align-items: center; gap: 8px; padding: 15px 15px 10px; }
.coluna-topo .n { margin-left: auto; color: var(--texto-3); font-size: 13px; font-weight: 600; }
.coluna-lista { flex: 1; overflow-y: auto; padding: 4px 10px 12px; display: flex; flex-direction: column; gap: 9px; min-height: 60px; }
.coluna-lista::-webkit-scrollbar { width: 6px; } .coluna-lista::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 6px; }
.coluna.alvo { background: rgba(var(--holo), .06); border-color: rgba(var(--holo), .4); box-shadow: inset 0 0 40px rgba(var(--holo), .08), 0 0 30px rgba(var(--holo), .1); }
.card { border-radius: 16px; padding: 13px 13px 13px 15px; cursor: grab; user-select: none; -webkit-user-select: none; position: relative; background: rgba(255,255,255,.06);
  transition: border-color .2s, box-shadow .2s, opacity .2s, background .2s; }
.card:hover { background: rgba(255,255,255,.09); border-color: var(--linha-2); box-shadow: var(--brilho), 0 10px 24px rgba(0,0,0,.35); }
.card .cli { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--texto-2); margin-bottom: 9px; font-weight: 500; }
.card .titulo { font-weight: 600; line-height: 1.3; margin-bottom: 10px; word-break: break-word; }
.card .etqs { margin: -2px 0 10px; }
.card .rodape { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--texto-3); }
.card .rodape .dir { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card .mini { display: inline-flex; gap: 3px; align-items: center; }
.card .mini svg { width: 13px; height: 13px; }
.card .ia-tag, .ia-tag { color: #fff; font-weight: 700; }
.card.arrastando { opacity: .25; }
.card.fantasma { position: fixed; pointer-events: none; z-index: 90; transform: rotate(2.5deg) scale(1.03); cursor: grabbing; background: rgba(30,32,36,.92);
  border-color: rgba(var(--holo), .6); box-shadow: 0 24px 50px rgba(0,0,0,.65), 0 0 40px rgba(var(--holo), .25); }
.card .resp { width: 24px; height: 24px; font-size: 10px; }
.card.aprovado-agora { border-color: rgba(48,209,88,.7); box-shadow: 0 0 0 1px rgba(48,209,88,.6), 0 0 30px rgba(48,209,88,.3); }
.marcador { height: 3px; border-radius: 3px; margin: -3px 4px; background: rgb(var(--holo)); box-shadow: 0 0 12px rgb(var(--holo)); }

/* ---------- gaveta ---------- */
.veu { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; opacity: 0; transition: opacity .25s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.veu.ver { opacity: 1; }
.gaveta { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(780px, calc(100vw - 20px)); z-index: 51; border-radius: 26px; background: rgba(14,15,18,.84);
  transform: translateX(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--brilho), var(--sombra); }
.gaveta.ver { transform: none; }
.gaveta-topo { display: flex; align-items: flex-start; gap: 14px; padding: 22px 26px 18px; border-bottom: 1px solid var(--linha); }
.gaveta-topo h2 { font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.gaveta-corpo { flex: 1; overflow-y: auto; padding: 22px 26px 40px; }
.controles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.controles label > span { font-size: 12px; color: var(--texto-3); display: block; margin-bottom: 5px; }
.controles select, .controles input { height: 40px; }
.linha-etq { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.linha-etq .rot { font-size: 12px; color: var(--texto-3); margin-right: 4px; }
.secao { margin-bottom: 28px; }
.secao > h3 { margin-bottom: 12px; font-size: 12px; color: var(--texto-3); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.briefing { display: grid; gap: 10px; margin: 0; }
.briefing div { border-radius: 14px; padding: 11px 15px; }
.briefing dt { font-size: 12px; color: var(--texto-3); margin-bottom: 2px; }
.briefing dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.briefing a { color: var(--ciano); }
.caixa-aprovacao { border-radius: 18px; padding: 16px 18px; margin-bottom: 22px; background: linear-gradient(135deg, rgba(255,214,10,.12), rgba(255,214,10,.02)); border-color: rgba(255,214,10,.3); }
.caixa-aprovacao.feito { background: linear-gradient(135deg, rgba(48,209,88,.14), rgba(48,209,88,.02)); border-color: rgba(48,209,88,.35); }
.caixa-aprovacao.laranja { background: linear-gradient(135deg, rgba(255,159,10,.12), rgba(255,159,10,.02)); border-color: rgba(255,159,10,.4); }
.caixa-aprovacao.ia { background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.02)); border-color: rgba(255,255,255,.3); }
.caixa-aprovacao .linha-link { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.caixa-aprovacao input { flex: 1 1 240px; height: 40px; font-size: 13px; color: var(--texto-2); }
.caixa-aprovacao .texto-ia { white-space: pre-wrap; margin-top: 8px; background: rgba(0,0,0,.25); border-radius: 12px; padding: 12px 14px; max-height: 320px; overflow: auto; }
.caixa-aprovacao .arquivos { margin-top: 10px; }
.arquivos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.arq { border-radius: 14px; overflow: hidden; position: relative; text-decoration: none; display: block; transition: transform .2s; }
.arq:hover { transform: translateY(-2px); }
.arq .prev { aspect-ratio: 4/3; background: rgba(0,0,0,.4); display: grid; place-items: center; align-content: center; overflow: hidden; }
.arq .prev img, .arq .prev video { width: 100%; height: 100%; object-fit: cover; }
.arq .prev svg { width: 32px; height: 32px; color: var(--texto-3); }
.arq .prev .ext { font-family: var(--titulo); font-weight: 700; font-size: 12px; color: var(--texto-2); letter-spacing: .08em; margin-top: 4px; text-align: center; }
.arq .info { padding: 8px 11px; font-size: 12.5px; }
.arq .info .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.arq .info .m { color: var(--texto-3); font-size: 11.5px; }
.arq .apagar { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; display: none; }
.arq:hover .apagar { display: grid; place-items: center; }
.versao-rotulo { font-size: 12px; color: var(--texto-3); margin: 14px 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.soltar { border-radius: 18px; padding: 24px; text-align: center; color: var(--texto-2); cursor: pointer; transition: .2s; border-style: dashed; border-color: var(--linha-2); background: rgba(255,255,255,.025); }
.soltar:hover, .soltar.sobre { border-color: rgba(var(--holo), .7); background: rgba(var(--holo), .07); color: var(--texto); box-shadow: inset 0 0 40px rgba(var(--holo), .08); }
.soltar svg { width: 30px; height: 30px; margin-bottom: 6px; color: rgba(var(--holo), .8); }
.soltar b { color: var(--texto); }
.fila { margin-top: 10px; display: grid; gap: 6px; }
.fila .item { display: flex; align-items: center; gap: 10px; font-size: 13px; border-radius: 12px; padding: 9px 12px; }
.fila .item .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila .barra { width: 110px; height: 5px; background: rgba(255,255,255,.08); border-radius: 5px; overflow: hidden; }
.fila .barra i { display: block; height: 100%; background: rgb(var(--holo)); box-shadow: 0 0 10px rgb(var(--holo)); width: 0; transition: width .2s; }
.fila .item.feito .barra i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.linha-tempo { display: flex; flex-direction: column; gap: 12px; }
.ev { display: flex; gap: 10px; align-items: flex-start; }
.ev .avatar { width: 30px; height: 30px; font-size: 11.5px; }
.ev .bolha { border-radius: 4px 16px 16px 16px; padding: 10px 14px; max-width: 100%; }
.ev .bolha .q { font-size: 12px; color: var(--texto-3); margin-bottom: 2px; }
.ev .bolha .q b { color: var(--texto-2); font-weight: 600; }
.ev .bolha .x { white-space: pre-wrap; word-break: break-word; }
.ev.sis { color: var(--texto-3); font-size: 13px; align-items: center; padding-left: 6px; }
.ev.sis .ponto { width: 7px; height: 7px; border-radius: 50%; background: rgba(var(--holo), .6); box-shadow: 0 0 8px rgba(var(--holo), .6); margin: 0 12px 0 5px; flex: none; }
.ev.cliente .bolha { border-color: rgba(100,210,255,.28); }
.ev.interno .bolha { border-style: dashed; background: rgba(255,255,255,.03); }
.ev.aprovado .bolha { border-color: rgba(48,209,88,.45); background: rgba(48,209,88,.08); }
.ev.ajuste .bolha { border-color: rgba(255,159,10,.45); background: rgba(255,159,10,.08); }
.comentar { display: flex; gap: 8px; margin-top: 14px; align-items: flex-end; flex-wrap: wrap; }
.comentar textarea { min-height: 46px; height: 46px; border-radius: 23px; padding: 12px 18px; flex: 1 1 260px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible;
  width: min(540px, calc(100vw - 24px)); max-width: none; height: fit-content; max-height: calc(100dvh - 24px); }
.modal.larga { width: min(680px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal:focus { outline: none; }
.modal .caixa { position: relative; border-radius: 26px; width: 100%; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 26px 26px 0; background: rgba(18,19,22,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--sombra); animation: entraModal .35s cubic-bezier(.2,.8,.2,1); }
.modal .caixa h2 { margin-bottom: 18px; font-size: 22px; letter-spacing: -.03em; }
body:has(dialog.modal[open]) { overflow: hidden; }
/* rodapé preso embaixo: o botão de salvar fica sempre à vista, mesmo em tela baixa */
.modal .rodape-modal { position: sticky; bottom: 0; z-index: 3; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; align-items: center;
  margin: 10px -26px 0; padding: 14px 26px 22px; background: linear-gradient(180deg, rgba(18,19,22,0), rgba(18,19,22,.97) 26%); }
.modal .rodape-modal .esq { margin-right: auto; }
@keyframes entraModal { from { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(6px); } }
.dados-acesso { font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; background: rgba(0,0,0,.35); border: 1px solid var(--linha); border-radius: 14px; padding: 14px 16px; line-height: 1.7; white-space: pre-wrap; margin-bottom: 14px; word-break: break-all; }
.passos { margin: 0 0 16px; padding-left: 20px; color: var(--texto-2); } .passos li { margin-bottom: 8px; }

/* ---------- área do cliente ---------- */
.saudacao { margin-bottom: 28px; }
.saudacao h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.04em; }
.servicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 36px; }
.servico { position: relative; text-align: left; border-radius: 22px; padding: 20px 18px; cursor: pointer; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, box-shadow .3s; overflow: hidden; }
.servico::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(var(--holo), .14), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.servico:hover { transform: translateY(-4px); background: var(--vidro-2); box-shadow: var(--brilho), 0 18px 40px rgba(0,0,0,.4), 0 0 30px rgba(var(--holo), .1); }
.servico:hover::after { opacity: 1; }
.servico .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff;
  background: linear-gradient(160deg, #3a3b41, #08080a); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px rgba(0,0,0,.5); }
.servico .ic svg { width: 22px; height: 22px; }
.servico .n { font-weight: 650; font-family: var(--titulo); font-size: 17px; letter-spacing: -.02em; }
.servico .d { font-size: 12.5px; color: var(--texto-3); line-height: 1.35; margin-top: 3px; }
.pedidos-cli { display: grid; gap: 10px; }
.ped-linha { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.ped-linha:hover { background: var(--vidro-2); transform: translateX(2px); }
.ped-linha .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--texto-2); flex: none; }
.ped-linha .ic svg { width: 18px; height: 18px; }
.ped-linha .meio { flex: 1; min-width: 0; }
.ped-linha .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ped-linha .s { font-size: 13px; color: var(--texto-3); }
.ped-linha.atencao { border-color: rgba(255,214,10,.45); box-shadow: var(--brilho), 0 0 24px rgba(255,214,10,.08); }
.abas { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.aba { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linha-2); background: transparent; color: var(--texto-2); cursor: pointer; font-size: 13.5px; font-weight: 550; }
.aba.ativa { background: rgba(245,245,247,.92); color: #111; border-color: transparent; }
.aguardando-lib { max-width: 520px; margin: 12vh auto; text-align: center; position: relative; z-index: 1; }
.aguardando-lib .logo-cli { margin: 0 auto 18px; }
.form-pedido { max-width: 780px; }
.tipo-escolhido { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.tipo-escolhido .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #3a3b41, #08080a); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px rgba(0,0,0,.5); }
.tipo-escolhido .ic svg { width: 25px; height: 25px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--linha-2); background: rgba(255,255,255,.04); cursor: pointer; font-size: 13.5px; color: var(--texto-2); transition: .2s; }
.chip:hover { background: rgba(255,255,255,.08); }
.chip.on { border-color: rgba(var(--holo), .6); background: rgba(var(--holo), .14); color: #fff; box-shadow: 0 0 18px rgba(var(--holo), .15); }

/* ---------- aprovação pública ---------- */
.aprovar-pag { max-width: 900px; margin: 0 auto; padding: 28px 18px 130px; position: relative; z-index: 1; }
.aprovar-pag .cab { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.aprovar-pag .cab .lockup { width: 96px; margin-left: auto; opacity: .9; }
.aprovar-pag h1 { letter-spacing: -.035em; }
.galeria { display: grid; gap: 14px; margin: 20px 0; }
.galeria .peca { border-radius: 22px; overflow: hidden; }
.galeria .peca img, .galeria .peca video { display: block; width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.galeria .peca .leg { display: flex; align-items: center; gap: 10px; padding: 11px 15px; font-size: 13px; color: var(--texto-2); }
.galeria .peca .leg a { margin-left: auto; }
.decisao-fixa { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(8,9,11,.78); border-width: 1px 0 0; z-index: 20; }
.decisao-fixa .dentro { max-width: 900px; margin: 0 auto; display: flex; gap: 10px; }
.decisao-fixa .btn { flex: 1; height: 56px; font-size: 16px; }
.resultado { text-align: center; padding: 30px 10px; position: relative; }
.resultado .selo { position: relative; width: 150px; height: 150px; margin: 0 auto 10px; display: grid; place-items: center; }
.resultado .selo .aneis { inset: 0; }
.resultado .selo .nucleo { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(48,209,88,.16); color: var(--ok); box-shadow: 0 0 40px rgba(48,209,88,.35); }
.resultado .selo .nucleo svg { width: 38px; height: 38px; }
.resultado.ajuste .selo .nucleo { background: rgba(255,159,10,.16); color: var(--laranja); box-shadow: 0 0 40px rgba(255,159,10,.3); }

/* ---------- celular ---------- */
@media (max-width: 1100px) { .hero-painel { grid-template-columns: repeat(2, 1fr); } .faixa-status { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .entrada { grid-template-columns: 1fr; }
  .entrada-arte { padding: 26px 20px 8px; gap: 22px; }
  .entrada-arte .aneis { width: 420px; right: -190px; top: 10px; transform: none; opacity: .55; }
  .entrada-arte h1 { font-size: 34px; }
  .entrada-arte .rodape-arte { display: none; }
  .entrada-form { padding: 16px 14px 40px; place-items: start center; }
  .entrada-form form { padding: 26px 20px; }
  .app { grid-template-columns: 1fr; }
  .lateral { position: fixed; top: auto; bottom: 10px; left: 10px; right: 10px; margin: 0; height: auto; flex-direction: row; justify-content: space-around; padding: 6px; z-index: 40; gap: 0; border-radius: 22px; background: rgba(18,19,22,.8); }
  .lateral .lockup, .lateral .pe, .lateral .notif-btn { display: none; }
  .lateral a.item { flex-direction: column; gap: 3px; font-size: 10.5px; padding: 7px 4px; flex: 1; text-align: center; }
  .lateral a.item.ativo::after { left: 30%; right: 30%; top: auto; bottom: -6px; width: auto; height: 3px; }
  .lateral .badge { position: absolute; top: 2px; right: 18%; margin: 0; }
  .barra-movel { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-width: 0 0 1px; position: sticky; top: 0; z-index: 30; background: rgba(8,9,11,.72); }
  .barra-movel > img { width: 92px; margin-right: auto; }
  .principal { padding: 22px 16px 110px; }
  .quadro { margin: 0 -16px; padding-left: 16px; padding-right: 16px; grid-auto-columns: 84vw; scroll-snap-type: x mandatory; }
  .coluna { scroll-snap-align: start; max-height: calc(100vh - 270px); }
  .grade-2, .grade-3 { grid-template-columns: 1fr; }
  .hero-painel { grid-template-columns: 1fr 1fr; gap: 10px; }
  .numero .v { font-size: 34px; }
  .xicara { width: 60px; height: 60px; }
  .faixa-status { grid-template-columns: 1fr 1fr; }
  .gaveta { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; }
  .gaveta-topo, .gaveta-corpo { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 25px; }
  .filtros select, .filtros input { min-width: 0; flex: 1 1 140px; }
  .notifs { top: auto; bottom: 90px; }
  #halo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* foto de perfil */
.avatar.foto { padding: 0; overflow: hidden; background: #111; }
.avatar.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-perfil { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.foto-perfil .avatar { width: 64px; height: 64px; font-size: 20px; }
.avatar-btn { position: relative; cursor: pointer; border-radius: 50%; }
.avatar-btn::after { content: "Foto"; position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700;
  background: rgba(0,0,0,.6); color: #fff; opacity: 0; transition: opacity .15s; }
.avatar-btn:hover::after { opacity: 1; }

/* nada pode empurrar a página para os lados no celular */
.app > *, .grade-2 > *, .grade-3 > *, .hero-painel > *, .faixa-status > *, .grade-clientes > * { min-width: 0; }
.lista-linha .meio .t, .lista-linha .meio .s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .app { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .lista-linha:has(> .btn) { flex-wrap: wrap; }
  .lista-linha:has(> .btn) .meio { flex: 1 1 calc(100% - 56px); }
  .lista-linha:has(> .btn) > .btn:first-of-type { margin-left: 46px; }
}
.periodo { display: flex; gap: 8px; flex: 1 1 280px; }
.periodo label { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--texto-3); min-width: 0; }
.filtros .periodo input { width: 100%; height: 40px; flex: none; min-height: 0; border-radius: 999px; padding: 0 14px; }

.servico:hover .ic { background: linear-gradient(160deg, #fff, #d4d4d8); color: #000; }
@media (max-width: 600px) {
  .ped-linha { flex-wrap: wrap; }
  .ped-linha .meio { flex: 1 1 calc(100% - 60px); }
  .ped-linha > .st { margin-left: 54px; }
}

/* ---------- indicadores do painel (clientes, colaboradores, andamento…) ---------- */
.indicadores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.ind { display: block; padding: 16px 18px; border-radius: 20px; text-decoration: none; color: inherit; background: var(--vidro); border: 1px solid var(--linha);
  box-shadow: var(--brilho); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); transition: background .2s, transform .2s, border-color .2s; }
a.ind:hover { background: var(--vidro-2); border-color: var(--linha-2); transform: translateY(-2px); }
.ind-topo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ind-topo .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(160deg, #303137, #0b0b0d); border: 1px solid rgba(255,255,255,.14); }
.ind-topo .ic svg { width: 16px; height: 16px; }
.ind-topo .r { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ind-topo .seta { margin-left: auto; color: var(--texto-3); font-size: 15px; }
.ind-val { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ind-val b { font-family: var(--titulo); font-size: 34px; letter-spacing: -.04em; line-height: 1; }
.ind-val .s { font-size: 12.5px; color: var(--texto-3); line-height: 1.3; min-width: 0; }
.ind.alerta { border-color: rgba(255,59,48,.45); } .ind.alerta b { color: var(--rec-claro); }
@media (max-width: 1100px) { .indicadores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ind { padding: 13px 14px; } .ind-val { flex-direction: column; gap: 4px; } .ind-val b { font-size: 28px; } .ind-topo .r { font-size: 13px; } }

/* ---------- Lista | Quadro | Agenda ---------- */
.vistas { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--vidro); border: 1px solid var(--linha); margin-bottom: 14px; }
.vista { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--texto-2); font: inherit; font-weight: 600; cursor: pointer; }
.vista svg { width: 16px; height: 16px; }
.vista.on { background: #fff; color: #000; box-shadow: 0 6px 20px rgba(255,255,255,.12); }
.vista:not(.on):hover { color: var(--texto); background: var(--vidro-2); }

.lista-topo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.lista-topo b { font-family: var(--titulo); font-size: 18px; }
.contagem { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--vidro-2); border: 1px solid var(--linha-2); }
.sel-mini { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sel-mini select { height: 34px; width: auto; border-radius: 999px; padding: 0 30px 0 12px; font-size: 13px; }
.tabela-caixa { overflow-x: auto; border-radius: 20px; border: 1px solid var(--linha); background: var(--vidro); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.tabela { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 14px; }
.tabela th { text-align: left; font-size: 12px; font-weight: 600; color: var(--texto-3); padding: 12px 14px; border-bottom: 1px solid var(--linha); cursor: pointer; white-space: nowrap; user-select: none; }
.tabela th.on { color: var(--texto); }
.tabela td { padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.tabela tbody tr[data-dem] { cursor: pointer; transition: background .15s; }
.tabela tbody tr[data-dem]:hover { background: rgba(255,255,255,.04); }
.tabela td.tit { font-weight: 600; min-width: 220px; max-width: 360px; }
.tabela .grupo td { background: rgba(255,255,255,.03); font-weight: 700; font-size: 13px; padding: 9px 14px; }
.cel-cli { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cel-cli .avatar { width: 26px; height: 26px; font-size: 10.5px; }

.agenda { padding: 14px; }
.ag-topo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ag-titulo { font-family: var(--titulo); font-size: 18px; min-width: 150px; text-align: center; }
.ag-topo .dir { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.alterna-grupo { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--linha); }
.ag-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); }
.ag-sem { font-size: 11px; font-weight: 700; color: var(--texto-3); text-align: center; padding: 8px 0; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--linha); }
.ag-dia { min-height: 112px; padding: 6px; border-right: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-width: 0; transition: background .15s; }
.ag-grade.semana .ag-dia { min-height: 320px; }
.ag-dia:nth-child(7n) { border-right: 0; }
.ag-dia:hover { background: rgba(255,255,255,.025); }
.ag-dia .n { font-size: 12px; font-weight: 700; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--texto-2); }
.ag-dia.fora { background: rgba(0,0,0,.35); } .ag-dia.fora .n { color: var(--texto-3); opacity: .6; }
.ag-dia.hoje .n { background: #fff; color: #000; }
.ag-dia.sel { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.ag-dia.alvo { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px #fff; }
.chip-ag { --c: rgba(255,255,255,.35); display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 6px 3px 3px; border-radius: 8px;
  background: rgba(255,255,255,.07); border-left: 3px solid var(--c); cursor: grab; min-width: 0; }
.chip-ag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-ag .logo-cli { width: 18px; height: 18px; border-radius: 5px; font-size: 8px; flex: none; }
.chip-ag.feito { opacity: .5; text-decoration: line-through; }
.chip-ag.arrastando { opacity: .3; }
.ag-dia .mais { font-size: 11px; color: var(--texto-3); padding-left: 4px; }
.ag-dia .pontos { display: none; }
.ag-sem-prazo { display: flex; flex-wrap: wrap; gap: 6px; } .ag-sem-prazo .chip-ag { max-width: 260px; }
.ag-det { margin-top: 14px; }
@media (max-width: 700px) {
  .ag-dia { min-height: 54px; padding: 4px 2px; align-items: center; }
  .ag-grade.semana .ag-dia { min-height: 80px; }
  .ag-dia .chip-ag, .ag-dia .mais { display: none; }
  .ag-dia .pontos { display: flex; gap: 3px; } .ag-dia .pontos i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
  .ag-titulo { min-width: 0; flex: 1; font-size: 16px; }
  .ag-topo .dir { margin-left: 0; width: 100%; justify-content: space-between; }
  .vistas { display: flex; } .vista { flex: 1; justify-content: center; padding: 0 8px; }
  .sel-mini { margin-left: 0; }
}
.alterna-grupo .alterna { height: 30px; border: 0; padding: 0 12px; font-size: 13px; }
.alterna-grupo .alterna.on { background: #fff; color: #000; box-shadow: none; }
@media (max-width: 600px) { .ind-topo { align-items: flex-start; } .ind-topo .r { white-space: normal; line-height: 1.25; } .ind-topo .ic { width: 28px; height: 28px; } .ind-topo .seta { display: none; } }

/* painel: tudo clicável */
.numero { color: inherit; cursor: pointer; }
button.numero { font: inherit; text-align: left; width: 100%; border: 0; }
.numero::after { content: '↗'; position: absolute; right: 18px; bottom: 14px; font-size: 13px; color: var(--texto-3, rgba(255,255,255,.35)); opacity: 0; transition: opacity .2s; }
.numero:hover::after { opacity: 1; }
.numero.cafe::after { content: none; }
.barras .col[data-semana] { cursor: pointer; }
.barras .col[data-semana]:hover .b { filter: brightness(1.25); }
a.l { color: inherit; text-decoration: none; border-radius: 8px; padding: 3px 4px; margin: -3px -4px; transition: background .2s; }
a.l:hover { background: rgba(255,255,255,.06); }
.recorte { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 10px 16px; margin: 0 0 14px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--linha-2); }
.recorte b { font-weight: 600; }
.recorte .btn { margin-left: auto; }

/* equipe: cartões e perfil */
.grade-equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; max-width: 1100px; }
.pessoa { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 18px 16px;
  border-radius: 22px; background: var(--vidro); border: 1px solid var(--linha); transition: transform .25s, background .25s, border-color .25s; }
.pessoa:hover, .pessoa:focus-visible { transform: translateY(-2px); background: var(--vidro-2); border-color: var(--linha-2); }
.pessoa.inativa { opacity: .5; }
.avatar.gg { width: 84px; height: 84px; font-size: 26px; margin-bottom: 6px; box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 10px 26px rgba(0,0,0,.45); }
.avatar.mini { width: 30px; height: 30px; font-size: 11px; }
.pessoa-nome { font-family: var(--titulo); font-weight: 650; font-size: 16px; letter-spacing: -.02em; }
.pessoa-cargo { color: var(--texto-2); font-size: 13px; }
.pessoa-redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; min-height: 20px; color: var(--texto-2); font-size: 12.5px; }
.pessoa-redes span, .perfil-links a, .perfil-links span { display: inline-flex; align-items: center; gap: 5px; }
.pessoa-redes svg, .perfil-links svg { width: 14px; height: 14px; }
.pessoa-rodape { width: 100%; display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--linha); font-size: 12.5px; color: var(--texto-2); }
.pessoa:hover .seta { color: #fff; }
.avatar-btn.sem-borda { all: unset; position: relative; cursor: pointer; border-radius: 50%; display: inline-flex; }
.avatar-btn.sem-borda::after { content: none; }
.avatar-btn.sem-borda:hover .avatar { box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.avatar-btn.sem-borda:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pe-nome { cursor: pointer; }
.perfil-topo { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.perfil-foto { position: relative; flex: none; }
.perfil-foto .avatar.gg { margin: 0; }
.perfil-trocar { position: absolute; right: -2px; bottom: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: #000; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.perfil-trocar svg { width: 16px; height: 16px; }
.perfil-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--texto-2); }
.perfil-links a { color: #fff; text-decoration: none; }
.perfil-links a:hover { text-decoration: underline; }
.grade-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.perfil-admin { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
@media (max-width: 600px) { .grade-campos { grid-template-columns: 1fr; } .perfil-topo { flex-direction: column; text-align: center; } .perfil-links { justify-content: center; }
  .grade-equipe { grid-template-columns: 1fr 1fr; gap: 10px; } .pessoa { padding: 16px 10px 12px; } .avatar.gg { width: 64px; height: 64px; font-size: 20px; } .pessoa-rodape { flex-direction: column; align-items: center; } }

/* gaveta: concluir tarefa */
.concluir-btn { width: 100%; justify-content: center; margin-bottom: 14px; min-height: 46px; }
.concluir-btn svg { color: #1f9d48; }
.concluir-faixa { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px;
  background: rgba(48,209,88,.10); border: 1px solid rgba(48,209,88,.35); }
.concluir-faixa > svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.concluir-faixa .btn { margin-left: auto; }

/* selecionar e concluir */
.cel-sel { width: 38px; text-align: center; }
.cel-sel input { width: 18px; height: 18px; accent-color: #fff; cursor: pointer; vertical-align: middle; }
.cel-sel .feita-ic svg { width: 16px; height: 16px; color: var(--ok); vertical-align: middle; }
.tabela tr.marcada td { background: rgba(255,255,255,.06); }
.barra-sel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: sticky; top: 8px; z-index: 5; padding: 10px 12px 10px 16px; margin: 0 0 12px;
  border-radius: 16px; background: rgba(28,29,33,.92); border: 1px solid var(--linha-2); box-shadow: var(--sombra); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.barra-sel .btn.prim svg { color: #1f9d48; }
.concluir-rapido { flex: none; margin-left: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  border: 1px solid var(--linha-2); background: rgba(255,255,255,.04); color: var(--texto-2); opacity: .55; transition: opacity .2s, background .2s, color .2s; }
.concluir-rapido svg { width: 14px; height: 14px; }
.card .concluir-rapido { margin-left: auto; }
.card .cli span[style*="margin-left:auto"] + .concluir-rapido { margin-left: 6px; }
.card:hover .concluir-rapido, .lista-linha:hover .concluir-rapido, .concluir-rapido:focus-visible { opacity: 1; }
.concluir-rapido:hover { background: #fff; color: #1f9d48; border-color: #fff; }
@media (pointer: coarse) { .concluir-rapido { opacity: 1; width: 30px; height: 30px; } }

/* editar / excluir */
.cli-card { position: relative; }
.cli-acoes { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; opacity: 0; transition: opacity .2s; padding: 3px; border-radius: 12px; background: rgba(12,13,15,.85); }
.cli-card:hover .cli-acoes, .cli-card:focus-within .cli-acoes { opacity: 1; }
@media (pointer: coarse) { .cli-acoes { opacity: 1; position: static; margin-left: auto; background: none; padding: 0; } }
.mini-btn { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; padding: 0;
  border: 1px solid var(--linha-2); background: rgba(255,255,255,.05); color: var(--texto-2); transition: background .2s, color .2s, border-color .2s; }
.mini-btn svg { width: 15px; height: 15px; }
.mini-btn:hover { background: #fff; color: #000; border-color: #fff; }
.mini-btn.perigo:hover { background: #ff453a; color: #fff; border-color: #ff453a; }
.btn.perigo { background: #ff453a; color: #fff; border-color: #ff453a; }
.btn.perigo:disabled { opacity: .35; cursor: not-allowed; }
.btn.perigo-txt { color: #ff6961; }
.lista-exclusao { margin: 0 0 16px; padding-left: 20px; color: var(--texto-2); line-height: 1.8; }

/* pedido apagado pelo cliente */
.ped-linha .mini-btn { margin-left: 4px; }
.motivos { display: grid; gap: 8px; margin-bottom: 16px; }
.motivo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--linha); background: rgba(255,255,255,.03); cursor: pointer; }
.motivo:has(input:checked) { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.motivo input { accent-color: #fff; width: 17px; height: 17px; }
.caixa-aprovacao.cancelados { background: rgba(255,69,58,.08); border: 1px solid rgba(255,69,58,.35); }
.caixa-aprovacao.cancelados > b { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.caixa-aprovacao.cancelados > b svg { width: 17px; height: 17px; color: #ff6961; }
.cancelado-linha { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.cancelado-linha .meio { flex: 1; min-width: 0; }
.cancelado-linha .t { font-weight: 600; font-size: 14px; }
.cancelado-linha .s { color: var(--texto-2); font-size: 12.5px; }
@media (max-width: 600px) { .cancelado-linha { flex-wrap: wrap; } .cancelado-linha .meio { flex-basis: calc(100% - 40px); } }

/* site e evento: serviços à parte */
.portao { text-align: center; padding-bottom: 22px; }
.portao-ic { width: 58px; height: 58px; margin: 4px auto 14px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, #2a2b30, #0e0e10); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 26px rgba(0,0,0,.45); }
.portao-ic svg { width: 26px; height: 26px; }
.portao h2 { margin-bottom: 8px; }
.portao-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.portao-opcoes .btn { justify-content: center; min-height: 48px; }
.portao .rodape-modal { margin: 18px -26px -22px; }
.oferta { padding: 6px 4px 4px; }
.oferta-selo { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--linha-2); color: var(--texto-2); margin-bottom: 10px; }
.oferta-preco { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 6px 0 12px; }
.oferta-preco span { color: var(--texto-2); font-size: 14px; }
.oferta-preco b { font-family: var(--titulo); font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.modal h2 svg { width: 22px; height: 22px; vertical-align: -3px; margin-right: 8px; }
@media (max-width: 600px) { .portao-opcoes { grid-template-columns: 1fr; } }

.trocar-senha { margin: 2px 0 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--linha); background: rgba(255,255,255,.03); }
.trocar-senha summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.trocar-senha summary svg { width: 16px; height: 16px; }
.trocar-senha .linha { margin-top: 12px; }

.ver-concl { margin-top: 4px; justify-content: center; opacity: .85; }
.ver-concl svg { width: 14px; height: 14px; }

.baixar-pronto { flex: 0 0 auto; white-space: nowrap; }
.baixar-pronto svg { width: 15px; height: 15px; }
.baixar-grande { width: 100%; justify-content: center; margin-bottom: 16px; padding: 14px 18px; font-size: 15px; }
.baixar-pronto .txt-curto { display: none; }
@media (max-width: 640px) { .ped-linha .baixar-pronto:not(.baixar-grande) .txt-longo { display: none; } .ped-linha .baixar-pronto:not(.baixar-grande) .txt-curto { display: inline; } }

/* admin vendo como cliente */
.faixa-como { position: fixed; z-index: 90; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(20,20,22,.92); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 40px rgba(0,0,0,.5); backdrop-filter: blur(14px); font-size: 14px; white-space: nowrap; max-width: calc(100vw - 24px); }
.faixa-como > svg { width: 18px; height: 18px; flex: 0 0 auto; color: #64d2ff; }
.faixa-como > span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .faixa-como { bottom: auto; top: 10px; font-size: 13px; } .faixa-como .fraco { display: none; } }

/* janela grande das concluídas */
.modal.enorme { width: min(1320px, calc(100vw - 24px)); }
.modal.enorme .caixa { height: calc(100dvh - 40px); max-height: none; }
.concl-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.concl-topo h2 { display: flex; align-items: center; gap: 10px; }
.concl-topo h2 svg { width: 22px; height: 22px; color: #30d158; }
.concl-filtros { flex-wrap: wrap; }
.concl-resumo { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.2fr; gap: 12px; margin: 6px 0 18px; }
.concl-card, .concl-total { border: 1px solid var(--linha); border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.03); min-width: 0; }
.concl-card h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); font-weight: 600; }
.concl-total { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.concl-total b { font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.concl-barra { display: grid; grid-template-columns: minmax(0, 1fr) 1.1fr auto; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 7px; }
.concl-barra .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.concl-barra .tr { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.concl-barra .tr i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #64d2ff, #30d158); }
.concl-barra b { font-variant-numeric: tabular-nums; min-width: 22px; text-align: right; }
.concl-tabela tr[data-abrir] { cursor: pointer; }
@media (max-width: 1000px) { .concl-resumo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .concl-resumo { grid-template-columns: 1fr; } .modal.enorme .caixa { height: calc(100dvh - 16px); padding: 18px 14px 0; } .concl-total b { font-size: 36px; } }

/* ---------- acompanhamento animado do pedido ---------- */
.acomp { position: relative; margin: 0 0 18px; padding: 14px 16px 12px; border-radius: 22px; border: 1px solid var(--linha);
  background: radial-gradient(120% 90% at 50% 0%, rgba(100,210,255,.10), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); overflow: hidden; }
.acomp-cena { position: relative; height: 150px; }
.acomp-estrela { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .5; animation: piscar 3s ease-in-out infinite; }
.acomp-estrela.s1 { left: 18%; top: 14px; } .acomp-estrela.s2 { left: 56%; top: 30px; animation-delay: 1s; } .acomp-estrela.s3 { left: 82%; top: 10px; animation-delay: 2s; }
@keyframes piscar { 50% { opacity: .1; transform: scale(.6); } }
.acomp-trilha { position: absolute; left: 0; right: 0; bottom: 10px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); }
.acomp-fill { position: absolute; inset: 0 auto 0 0; width: var(--pos); border-radius: 6px; overflow: hidden;
  background: linear-gradient(90deg, #64d2ff, #5e5ce6 55%, #30d158); animation: encher 1.6s cubic-bezier(.2,.8,.2,1); }
.acomp-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: translateX(-100%); animation: brilho 2.2s ease-in-out infinite 1.6s; }
@keyframes encher { from { width: 0; } }
@keyframes brilho { to { transform: translateX(100%); } }
.acomp-ponto { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #1b1c20; border: 2px solid rgba(255,255,255,.22); }
.acomp-ponto.ok { background: #fff; border-color: #fff; }
.acomp-ponto.atual { box-shadow: 0 0 0 0 rgba(100,210,255,.6); animation: pulso 1.8s ease-out infinite; background: #64d2ff; border-color: #64d2ff; }
.e3 .acomp-ponto.atual { background: #30d158; border-color: #30d158; box-shadow: 0 0 0 0 rgba(48,209,88,.6); }
@keyframes pulso { to { box-shadow: 0 0 0 12px rgba(100,210,255,0); } }
.acomp-ator { position: absolute; left: var(--pos); bottom: 16px; width: 0; animation: chegar 1.6s cubic-bezier(.2,.8,.2,1); cursor: pointer; -webkit-tap-highlight-color: transparent; }
@keyframes chegar { from { left: 0%; } }
.acomp-boneco { position: absolute; bottom: 0; left: -30px; width: 60px; }
.acomp-drone { position: absolute; bottom: 92px; left: -6px; width: 74px; animation: pairar 2.4s ease-in-out infinite; }
@keyframes pairar { 0%,100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(-6px,-8px) rotate(3deg); } }
/* boneco */
.boneco { width: 100%; height: auto; overflow: visible; display: block; }
.boneco path, .boneco circle, .boneco rect { stroke-linecap: round; stroke-linejoin: round; }
.b-tronco, .b-perna path, .b-braco > path { fill: none; stroke: #fff; stroke-width: 5.5; }
.b-tras path { stroke: rgba(255,255,255,.55); }
.b-cabeca { fill: #f5d0a9; stroke: #fff; stroke-width: 1.5; }
.b-bone { fill: #111; stroke: #fff; stroke-width: 1.5; } .b-aba { stroke: #fff; stroke-width: 2.6; fill: none; }
.b-olho { fill: #111; } .b-mochila { fill: #5e5ce6; }
.b-camera { fill: #1c1c1e; stroke: #fff; stroke-width: 1.4; } .b-lente { fill: #64d2ff; stroke: #fff; stroke-width: 1; } .b-rec { fill: #ff453a; animation: rec 1s steps(2) infinite; }
.b-sombra { fill: rgba(0,0,0,.45); }
.b-perna, .b-braco { transform-box: view-box; }
.b-perna { transform-origin: 31px 47px; } .b-braco { transform-origin: 32px 29px; }
.b-corpo { transform-box: view-box; transform-origin: 32px 80px; }
@keyframes rec { 50% { opacity: 0; } }
/* correndo (recebido = trote, produção = corrida) */
.e0 .b-frente.b-perna, .e1 .b-frente.b-perna { animation: perna .5s ease-in-out infinite alternate; }
.e0 .b-tras.b-perna, .e1 .b-tras.b-perna { animation: perna .5s ease-in-out infinite alternate-reverse; }
.e0 .b-frente.b-braco, .e1 .b-frente.b-braco { animation: braco .5s ease-in-out infinite alternate-reverse; }
.e0 .b-tras.b-braco, .e1 .b-tras.b-braco { animation: braco .5s ease-in-out infinite alternate; }
.e0 .b-corpo, .e1 .b-corpo { animation: quique .25s ease-in-out infinite alternate; }
.e1 .b-perna, .e1 .b-braco { animation-duration: .32s !important; } .e1 .b-corpo { animation-duration: .16s; }
.e0 .b-perna, .e0 .b-braco { animation-duration: .7s !important; } .e0 .b-corpo { animation-duration: .35s; }
@keyframes perna { from { transform: rotate(-26deg); } to { transform: rotate(24deg); } }
@keyframes braco { from { transform: rotate(-30deg); } to { transform: rotate(22deg); } }
@keyframes quique { to { transform: translateY(-3px); } }
.e1 .acomp-boneco { transform: rotate(4deg); }
.acomp-poeira { position: absolute; left: -6px; bottom: 2px; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); opacity: 0; }
.e1 .acomp-poeira, .e0 .acomp-poeira { animation: poeira .6s ease-out infinite; }
@keyframes poeira { 0% { opacity: .7; transform: translate(0,0) scale(.4); } 100% { opacity: 0; transform: translate(-22px,-8px) scale(1.6); } }
/* para aprovar: acena chamando o cliente */
.e2 .b-frente.b-braco { animation: acenar .6s ease-in-out infinite alternate; }
@keyframes acenar { from { transform: rotate(-120deg); } to { transform: rotate(-150deg); } }
/* pronto: pula comemorando */
.e3 .b-corpo { animation: pulo 1s cubic-bezier(.3,0,.3,1) infinite; }
.e3 .b-braco { animation: comemora 1s ease-in-out infinite; }
@keyframes pulo { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-14px); } 60% { transform: translateY(-14px); } }
@keyframes comemora { 0%,100% { transform: rotate(-100deg); } 50% { transform: rotate(-150deg); } }
/* drone */
.drone { width: 100%; height: auto; overflow: visible; display: block; }
.d-braco { stroke: #c7c7cc; stroke-width: 3; stroke-linecap: round; fill: none; }
.d-pe { fill: #8e8e93; } .d-casco { fill: #f2f2f7; } .d-cam { fill: #1c1c1e; } .d-lente { fill: #64d2ff; } .d-gimbal { stroke: #8e8e93; stroke-width: 2; }
.d-luz { fill: #30d158; animation: rec 1.2s steps(2) infinite; }
.d-helice { fill: rgba(255,255,255,.75); transform-box: fill-box; transform-origin: center; animation: helice .12s linear infinite; }
.d-helice.h2 { animation-delay: -.06s; }
@keyframes helice { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
.d-feixe { fill: url(#none); fill: rgba(100,210,255,.16); opacity: 0; transform-box: fill-box; transform-origin: top; }
.e1 .d-feixe, .e2 .d-feixe { animation: feixe 2s ease-in-out infinite; }
@keyframes feixe { 0%,100% { opacity: .2; transform: scaleY(.9); } 50% { opacity: .65; transform: scaleY(1.15); } }
.e1 .acomp-drone { animation: seguir 1.6s ease-in-out infinite; }
@keyframes seguir { 0%,100% { transform: translate(-4px,0) rotate(6deg); } 50% { transform: translate(4px,-6px) rotate(9deg); } }
/* toque: pirueta do drone + pulo do boneco */
.acomp-ator.festa .acomp-drone { animation: pirueta 1.1s cubic-bezier(.3,.1,.3,1); }
.acomp-ator.festa .acomp-boneco { animation: pulinho .7s cubic-bezier(.3,0,.3,1); }
@keyframes pirueta { 0% { transform: none; } 50% { transform: translateY(-26px) rotate(200deg) scale(1.1); } 100% { transform: rotate(360deg); } }
@keyframes pulinho { 40% { transform: translateY(-18px); } }
/* confete */
.acomp-confete { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.acomp-confete i { position: absolute; top: -10px; left: var(--x); width: 6px; height: 10px; border-radius: 2px; background: var(--c); animation: cair 2.6s linear infinite; animation-delay: var(--d); opacity: .9; }
@keyframes cair { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(170px) rotate(540deg); opacity: 0; } }
/* etapas e mensagem */
.acomp-etapas { position: relative; height: 18px; margin-top: 2px; font-size: 12px; color: var(--texto-2); }
.acomp-etapas span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.acomp-etapas span:first-child { transform: translateX(-30%); } .acomp-etapas span:last-child { transform: translateX(-70%); }
.acomp-etapas .feita { color: #fff; } .acomp-etapas .atual { color: #64d2ff; font-weight: 600; } .e3 .acomp-etapas .atual { color: #30d158; }
.acomp-msg { margin: 12px 0 0; text-align: center; font-weight: 600; font-size: 15px; }
@media (max-width: 520px) { .acomp-cena { height: 136px; } .acomp-drone { width: 62px; bottom: 84px; } .acomp-boneco { width: 52px; left: -26px; } .acomp-etapas { font-size: 10.5px; } }
/* mini trilha nas listas */
.mini-acomp { position: relative; height: 4px; margin: 14px 0 2px; max-width: 320px; border-radius: 4px; background: rgba(255,255,255,.08); }
.ma-fill { position: absolute; inset: 0 auto 0 0; width: var(--pos); border-radius: 4px; background: linear-gradient(90deg, #64d2ff, #5e5ce6); animation: encher 1.4s cubic-bezier(.2,.8,.2,1); }
.mini-acomp.e2 .ma-fill { background: linear-gradient(90deg, #64d2ff, #ffd60a); }
.ma-drone { position: absolute; left: var(--pos); bottom: 2px; width: 26px; margin-left: -13px; animation: chegar 1.4s cubic-bezier(.2,.8,.2,1); }
.ma-drone .drone { animation: pairar 2s ease-in-out infinite; }
.ma-drone .d-feixe, .ma-drone .d-gimbal, .ma-drone .d-cam, .ma-drone .d-lente { display: none; }
@media (prefers-reduced-motion: reduce) {
  .acomp *, .mini-acomp *, .acomp-ator, .acomp-fill, .acomp-fill::after { animation: none !important; }
}
.acomp-cena { height: 168px; }
.acomp-boneco { width: 72px; left: -36px; }
.acomp-drone { bottom: 108px; }
.e2 .acomp-drone, .e3 .acomp-drone { left: -84px; }
@media (max-width: 520px) { .acomp-cena { height: 150px; } .acomp-boneco { width: 60px; left: -30px; } .acomp-drone { bottom: 94px; } .e2 .acomp-drone, .e3 .acomp-drone { left: -70px; } }
@media (max-width: 760px) { .faixa-como { top: auto; bottom: 86px; } }

/* boneco de frente (para aprovar) */
.boneco.frente .bf-perna, .boneco.frente .bf-braco { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.bf-camisa { fill: #5e5ce6; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.bf-mao { fill: #f5d0a9; stroke: #fff; stroke-width: 1.4; }
.bf-aba { fill: #111; stroke: #fff; stroke-width: 1.2; }
.bf-sorriso { fill: none; stroke: #111; stroke-width: 1.4; stroke-linecap: round; }
.bf-corpo, .bf-aceno { transform-box: view-box; }
.bf-corpo { transform-origin: 32px 80px; }
.bf-aceno { transform-origin: 38px 32px; }
.e2 .bf-aceno { animation: acenoFrente .45s ease-in-out infinite alternate; }
.e2 .bf-corpo { animation: respira 1.8s ease-in-out infinite; }
@keyframes acenoFrente { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes respira { 50% { transform: translateY(-1.5px) scaleY(1.01); } }
.acomp-balao { position: absolute; left: 62px; bottom: 66px; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: #111;
  font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.35); animation: balao 2.4s ease-in-out infinite; transform-origin: bottom left; }
@keyframes balao { 0%,100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.06) rotate(1deg); } }
.e2 .acomp-poeira { display: none; }
@media (max-width: 520px) { .acomp-balao { left: 50px; bottom: 56px; font-size: 12px; padding: 6px 10px; } }

/* nova tarefa: data de entrega e avulso */
.data-entrega { margin-bottom: 14px; }
.data-entrega .rotulo { display: flex; align-items: center; gap: 6px; }
.data-entrega .rotulo svg { width: 15px; height: 15px; }
.linha-data { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.linha-data input[type=date] { flex: 1 1 160px; min-width: 150px; }
.avulso-caixa { margin: 0 0 14px; padding: 14px 14px 2px; border-radius: 18px; border: 1px dashed rgba(255,214,10,.45); background: rgba(255,214,10,.06); }
.avulso-tit { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 10px; }
.avulso-tit svg { width: 16px; height: 16px; color: #ffd60a; }
.avulso-faixa { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255,214,10,.08); border: 1px solid rgba(255,214,10,.3); font-size: 14px; }
.avulso-faixa svg { width: 16px; height: 16px; color: #ffd60a; flex: 0 0 auto; }
.etq-avulso { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(255,214,10,.16); color: #ffd60a; }
/* concluídas: períodos e valor */
.concl-periodos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.concl-valor { color: #30d158; font-weight: 700; font-size: 14px; margin-top: 4px; }

/* ---------- gravador de áudio (pedido falado) ---------- */
.gravador { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; border: 1px dashed var(--linha-2); background: rgba(255,255,255,.025); transition: .2s; }
.gravador.gravando { border-style: solid; border-color: rgba(255,59,48,.55); background: var(--rec-fundo); }
.grav-btn { position: relative; flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff5a4f, #e0261c); color: #fff; box-shadow: 0 8px 24px rgba(255,59,48,.35), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .15s; }
.grav-btn:hover { transform: scale(1.05); }
.grav-btn:active { transform: scale(.96); }
.grav-btn svg { width: 26px; height: 26px; }
.grav-quadrado { display: none; width: 18px; height: 18px; border-radius: 4px; background: #fff; }
.gravando .grav-btn svg { display: none; }
.gravando .grav-quadrado { display: block; }
.gravando .grav-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,59,48,.6); animation: gravPulso 1.3s ease-out infinite; }
@keyframes gravPulso { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.grav-info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.grav-tit { font-size: 15px; }
.grav-sub { font-size: 13px; line-height: 1.4; }
.grav-ondas { display: none; height: 26px; align-items: center; gap: 3px; margin-top: 4px; }
.gravando .grav-ondas { display: flex; }
.grav-ondas i { flex: 1; max-width: 5px; height: 100%; border-radius: 3px; background: #ff6b61; transform: scaleY(.12); transition: transform .08s linear; }
.grav-lista { display: grid; gap: 8px; margin-top: 10px; }
.grav-lista:empty { display: none; }
.grav-item, .grav-lista .item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--vidro); border: 1px solid var(--linha); font-size: 13px; }
.grav-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rec-fundo); color: var(--rec-claro); flex: 0 0 auto; }
.grav-ic svg { width: 16px; height: 16px; }
.grav-item audio { flex: 1; min-width: 0; height: 36px; }
.mini.mic svg { color: var(--rec-claro); }
/* cartão do pedido falado na gaveta */
.pf-card { border-radius: 16px; border: 1px solid var(--linha); background: linear-gradient(180deg, rgba(255,59,48,.07), rgba(255,255,255,.02)); padding: 14px; display: grid; gap: 12px; }
.pf-card + .pf-card { margin-top: 10px; }
.pf-topo { display: flex; align-items: center; gap: 10px; }
.pf-topo audio { flex: 1; min-width: 0; height: 36px; }
.pf-resumo { margin: 0; font-size: 15px; line-height: 1.5; color: var(--texto); font-weight: 500; }
.pf-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.pf-bloco { border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--linha); padding: 10px 12px; }
.pf-bloco h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-2); font-weight: 600; }
.pf-bloco ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; line-height: 1.4; }
.pf-bloco p { margin: 0; font-size: 14px; }
.pf-bloco.fazer ul { list-style: none; padding: 0; }
.pf-bloco.fazer li { position: relative; padding-left: 22px; }
.pf-bloco.fazer li::before { content: ""; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 4px; border: 1.6px solid rgba(var(--holo), .7); }
.pf-bloco.pf-prazo p { color: var(--laranja); font-weight: 600; }
.pf-bloco.confirmar { border-color: rgba(255,214,10,.3); background: rgba(255,214,10,.06); }
.pf-bloco.confirmar h4 { color: var(--aviso); }
.pf-bloco.textos { grid-column: 1 / -1; }
.pf-textos { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-texto { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--linha-2); background: rgba(255,255,255,.06);
  color: var(--texto); font: 600 14px var(--fonte); cursor: pointer; text-align: left; }
.pf-texto svg { width: 13px; height: 13px; opacity: .5; flex: 0 0 auto; }
.pf-texto:hover { border-color: rgba(var(--holo), .6); }
.pf-texto:hover svg { opacity: 1; }
.pf-transcricao summary { cursor: pointer; font-size: 13px; color: var(--texto-2); }
.pf-transcricao p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--texto-2); white-space: pre-wrap; }
.pf-card > .btn { justify-self: start; }
.pf-carregando { display: flex; align-items: center; gap: 10px; color: var(--texto-2); font-size: 14px; }
.pf-pontos { display: inline-flex; gap: 4px; }
.pf-pontos i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec-claro); animation: pfPonto 1s ease-in-out infinite; }
.pf-pontos i:nth-child(2) { animation-delay: .15s; } .pf-pontos i:nth-child(3) { animation-delay: .3s; }
@keyframes pfPonto { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.pf-erro { color: var(--laranja); font-size: 14px; }
@media (max-width: 520px) { .gravador { padding: 12px; gap: 12px; } .grav-btn { width: 52px; height: 52px; } .pf-grade { grid-template-columns: 1fr; } }

.pf-bloco h4 { display: block; }

/* período das concluídas (Quadro, Lista, Agenda) */
.periodo-concl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -4px 0 14px; padding: 10px 12px; border-radius: 16px;
  border: 1px solid rgba(48,209,88,.28); background: rgba(48,209,88,.06); }
.periodo-concl .rot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); }
.periodo-concl .chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.periodo-concl .chip .qt { opacity: .55; font-size: 11px; margin-left: 3px; }
.periodo-concl .chip.on .qt { opacity: .8; }
@media (max-width: 720px) { .periodo-concl .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; } .periodo-concl .chip { flex: 0 0 auto; } }

/* preenchido pelo áudio */
.grav-status:empty { display: none; }
.grav-status { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--texto-2); padding: 10px 12px; border-radius: 12px; background: var(--vidro); }
.grav-status.lendo { color: var(--texto); }
.grav-status.ok { color: var(--texto); background: rgba(48,209,88,.08); border: 1px solid rgba(48,209,88,.3); }
.grav-status.ok > svg { width: 18px; height: 18px; color: var(--ok); flex: 0 0 auto; }
.auto-preenchido { animation: autoPreench 2.6s ease-out; }
input.auto-preenchido, textarea.auto-preenchido { border-color: rgba(48,209,88,.6) !important; }
@keyframes autoPreench { 0% { box-shadow: 0 0 0 0 rgba(48,209,88,.0); } 15% { box-shadow: 0 0 0 4px rgba(48,209,88,.35); } 100% { box-shadow: 0 0 0 0 rgba(48,209,88,0); } }

/* áudio do WhatsApp no Nova tarefa */
.zap-audio { margin-bottom: 14px; }
.zap-soltar { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-color: rgba(37,211,102,.45); background: rgba(37,211,102,.06); }
.zap-soltar:hover, .zap-soltar.sobre { border-color: rgba(37,211,102,.8); background: rgba(37,211,102,.12); box-shadow: none; }
.zap-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; flex: 0 0 auto; }
.zap-soltar .zap-ic svg { width: 22px; height: 22px; margin: 0; color: #fff; }
select.auto-preenchido { border-color: rgba(48,209,88,.6) !important; }

/* o que falar no áudio */
.grav-dicas { margin-top: 6px; font-size: 13px; color: var(--texto-2); }
.grav-dicas > span { font-weight: 600; color: var(--texto); }
.grav-dicas ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.grav-dicas li { position: relative; padding-left: 18px; line-height: 1.35; }
.grav-dicas li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--rec-claro); }
.gravando .grav-dicas li::before { animation: pfPonto 1.4s ease-in-out infinite; }

.ic-gpt svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
