/* Meus Plantões — produto B1 (base: identidade G2/G2.1 congelada em 23/10/2026; tokens, componentes e navegação inalterados)
   Layout: uma coluna, iPhone; escala tipográfica do iOS (11–34 pt); fonte do sistema (SF Pro) com Inter como apoio fora do iOS.
   Cor: duas identidades completas (claro/escuro); acento único e calmo; vermelho só para atrasado e apagar. */
@font-face { font-family: "Inter"; src: url(fonts/inter-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --bg: #FFFFFF; --bg-grouped: #F2F2F7; --cell: #FFFFFF;
  --fill: #F2F2F7; --fill2: #E5E5EA; --fill3: #D1D1D6; --seg-on: #FFFFFF;
  --sep: rgba(60, 60, 67, .24);
  --label: #111214; --label2: #6D6D72; --label3: #8E8E93; --on-accent: #FFFFFF;
  --accent: #2A62BC; --accent-soft: rgba(42, 98, 188, .12);
  --ok: #27704A; --ok-soft: rgba(39, 112, 74, .12);
  --late: #B83A28; --late-soft: rgba(184, 58, 40, .10); --danger: #B83A28;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .10);
  --sb: 47px; --tab: 64px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg-grouped: #000000; --cell: #1C1C1E;
  --fill: #1C1C1E; --fill2: #2C2C2E; --fill3: #3A3A3C; --seg-on: #636366;
  --sep: rgba(84, 84, 88, .6);
  --label: #F5F5F7; --label2: #A1A1A6; --label3: #6B6B70; --on-accent: #0B1220;
  --accent: #6FA8FF; --accent-soft: rgba(111, 168, 255, .16);
  --ok: #5DD39A; --ok-soft: rgba(93, 211, 154, .14);
  --late: #FF7A6E; --late-soft: rgba(255, 122, 110, .14); --danger: #FF6B5E;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--label); font: 17px/22px var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.grouped { background: var(--bg-grouped); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
svg { flex: none; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- moldura ---------- */
.app { max-width: 430px; margin: 0 auto; min-height: 100dvh; position: relative; }
.sb { height: var(--sb); display: flex; align-items: flex-end; justify-content: space-between; padding: 0 26px 9px; font-size: 15px; font-weight: 600; }
.sb .ic { display: flex; gap: 6px; align-items: center; }
body.artifact .sb { display: none; }
main { padding-bottom: calc(var(--tab) + 36px + env(safe-area-inset-bottom)); outline: none; }

/* ---------- cabeçalho ---------- */
.nav { height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; }
.nav .l { justify-self: start; display: flex; gap: 6px; } .nav .r { justify-self: end; display: flex; gap: 6px; }
.nav h1 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.nav h1.month { font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.circ { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fill); color: var(--label); display: grid; place-items: center; }
.circ.s { width: 36px; height: 36px; }
.pillb { height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--fill); color: var(--label); font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; }
.textb { height: 44px; padding: 0 8px; border: 0; background: none; color: var(--accent); font-size: 17px; }
.textb.b { font-weight: 600; } .textb:disabled { color: var(--label3); }
.lt { padding: 6px 20px 0; }
.lt h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 34px; }
.lt p { margin: 2px 0 0; font-size: 15px; color: var(--label2); }

/* ---------- calendário ---------- */
.cal { padding: 2px 8px 0; }
.wk { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; font-weight: 600; color: var(--label2); letter-spacing: .03em; padding: 4px 0 4px; }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; touch-action: pan-y; }
.day { height: 60px; border: 0; background: none; padding: 5px 0 0; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--label); border-radius: 12px; }
.day .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; letter-spacing: -.01em; }
.day.other .n { color: var(--label3); }
.day.today .n { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.day.sel:not(.today) .n { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); font-weight: 600; }
.dots { display: flex; gap: 4px; height: 7px; align-items: center; }
/* opção "Siglas no calendário": etiquetas curtas no lugar dos pontos (Ajustes → Calendário) */
.grid.siglas .day { height: auto; min-height: 78px; justify-content: flex-start; }
.sgs { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0 2px; }
.sgs i { font-style: normal; font-size: 11px; font-weight: 700; line-height: 15px; border-radius: 3px; padding: 0 3px; text-align: left; color: var(--label); background: color-mix(in srgb, var(--pc) 24%, transparent); border-left: 3px solid var(--pc); white-space: nowrap; overflow: hidden; letter-spacing: -.01em; }
.sgs em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--label2); padding-left: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--pc); }
.dots i.night { width: 6px; height: 6px; border-radius: 50%; }
.dots em { font-style: normal; font-size: 11px; line-height: 7px; color: var(--label2); font-weight: 600; }
.legend { display: flex; gap: 14px; padding: 10px 20px 0; font-size: 12px; color: var(--label2); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.legend::-webkit-scrollbar { display: none; }
.legend span { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc); }

.dayhead { display: flex; flex-direction: column; gap: 1px; padding: 14px 20px 2px; }
.dayhead h2 { margin: 0; font-size: 17px; font-weight: 600; }
.dayhead .sub { font-size: 13px; color: var(--label2); }
.empty { padding: 18px 20px; color: var(--label2); font-size: 15px; }

/* ---------- linhas de plantão (lista do dia, pagamentos) ---------- */
.rows { list-style: none; margin: 0; padding: 0 0 0 20px; }
.row { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto 16px; gap: 14px; align-items: center; min-height: 72px; padding: 12px 10px 12px 0; border-bottom: .5px solid var(--sep); width: 100%; background: none; border-top: 0; border-left: 0; border-right: 0; text-align: left; color: var(--label); }
.rows li:last-child .row { border-bottom: 0; }
.bar { width: 6px; height: 40px; border-radius: 3px; background: var(--pc); }
.row .info { display: flex; flex-direction: column; min-width: 0; }
.row .right { display: flex; flex-direction: column; align-items: flex-end; }
.when { font-size: 13px; color: var(--label2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.when .mo { color: var(--accent); }
.ttl { display: block; font-size: 17px; font-weight: 600; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where { display: block; font-size: 15px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where .sg { font-weight: 600; color: var(--label); }
.amt { font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st { font-size: 13px; margin-top: 4px; display: flex; gap: 4px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.st.ok { color: var(--ok); } .st.late { color: var(--late); font-weight: 600; } .st.pend { color: var(--label2); }
.chev { color: var(--label3); }
/* G2.1 · I1 reveal direto: a superfície [data-swipe] desliza sobre o plano das ações; repouso = linha G2 + "⋯" */
.rows li[data-shift] { position: relative; }
.sws { position: relative; z-index: 1; display: flex; align-items: center; background: var(--bg); border-bottom: .5px solid var(--sep); touch-action: pan-y; -webkit-user-select: none; user-select: none;
  margin-left: max(0px, var(--x, 0px)); margin-right: max(0px, calc(var(--x, 0px) * -1)); }
.rows li:last-child .sws { border-bottom: 0; }
.sws .row { flex: 1; min-width: 0; border-bottom: 0; padding-right: 0; }
.mbtn { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--label2); display: grid; place-items: center; }
.act { position: absolute; top: 0; bottom: 0; padding: 0; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--on-accent); visibility: hidden; }
.act.pay, .act.unpay { right: 0; width: max(96px, calc(var(--x, 0px) * -1)); background: var(--ok); }
.act.unpay { background: var(--fill2); color: var(--label); }
.act.rm { left: 0; width: max(96px, var(--x, 0px)); background: var(--danger); }
li[data-side="pay"] .act.pay, li[data-side="pay"] .act.unpay, li[data-side="delete"] .act.rm { visibility: visible; }
li.sl .when { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
li.sl .when > span + span { display: none; } /* aberta: só o horário, nada além da tela */
li.sl .right { min-width: 0; overflow: hidden; }
li.sl .sws .row { grid-template-columns: 6px minmax(0, 1fr) auto; } li.sl .chev { display: none; } /* aberta, tocar só fecha: a seta sai e o título ganha espaço */

/* ---------- detalhes ---------- */
.detail { padding: 6px 20px 0; }
.hd { display: flex; gap: 14px; align-items: center; margin: 12px 0 16px; }
.hd .bar { height: 54px; width: 5px; }
.hd h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 34px; }
.meta { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--label2); padding-bottom: 16px; }
.meta .d { font-size: 17px; font-weight: 600; color: var(--label); display: flex; gap: 8px; align-items: center; }
.meta .d svg { color: var(--label2); }
.sect { border-top: .5px solid var(--sep); padding: 12px 0; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; }
.kv .k { display: flex; gap: 10px; align-items: center; color: var(--label); }
.kv .k svg { color: var(--label2); }
.kv .v { color: var(--label2); text-align: right; font-variant-numeric: tabular-nums; }
.kv .v.strong { color: var(--label); }
.kv .v.ok { color: var(--ok); } .kv .v.late { color: var(--late); font-weight: 600; }
.note { font-size: 13px; color: var(--label2); margin: 2px 0 0; line-height: 18px; }
.obs { font-size: 17px; color: var(--label2); margin: 6px 0 0; white-space: pre-wrap; }
/* toggle: desenho nativo de 51×31 dentro de um alvo de 51×44 */
.sw { width: 51px; height: 44px; background: none; position: relative; border: 0; flex: none; padding: 0; }
.sw::before { content: ""; position: absolute; left: 0; top: 6.5px; width: 51px; height: 31px; border-radius: 999px; background: var(--fill3); transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 8.5px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: left .2s; }
.sw[aria-checked="true"]::before { background: var(--ok); } .sw[aria-checked="true"]::after { left: 22px; }
.del { display: block; width: 100%; text-align: center; color: var(--danger); font-size: 17px; background: none; border: 0; padding: 16px; margin-top: 12px; } /* G2.1: com 36 px o botão ficava sob a barra de abas flutuante e o toque caía em "Pagamentos" */
.datein { border: 0; background: var(--fill); border-radius: 10px; padding: 0 10px; min-height: 44px; font-size: 15px; color: var(--label); }

/* ---------- formulários e listas agrupadas ---------- */
.gl { padding: 0 16px 24px; }
.ghead { font-size: 13px; color: var(--label2); text-transform: uppercase; letter-spacing: .04em; padding: 20px 16px 6px; }
.group { background: var(--cell); border-radius: 12px; overflow: hidden; }
.cell { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 4px 16px; border-top: .5px solid var(--sep); color: var(--label); width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; font-size: 17px; }
.group > :first-child { border-top: 0; }
.cell .k { flex: none; display: flex; gap: 10px; align-items: center; }
.cell .k .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
.cell .v { margin-left: auto; color: var(--label2); text-align: right; display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.cell .v .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
.cell input:not([type="checkbox"]), .cell select { margin-left: auto; min-width: 0; flex: 1; border: 0; background: none; text-align: right; padding: 8px 0; font-size: 17px; color: var(--label); }
.cell input::placeholder { color: var(--label3); }
.cell select { appearance: none; -webkit-appearance: none; direction: rtl; }
.cell .v select, .cell .v input { flex: none; width: auto; margin-left: 0; }
.cell input[type="date"] { flex: none; width: 156px; }
.cell input[type="time"] { flex: none; width: 96px; }
.cell.plain input { margin-left: 0; text-align: left; }
.tagp { display: inline-flex; align-items: center; gap: 8px; }
.tagp .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
.cell textarea { width: 100%; border: 0; background: none; padding: 10px 0; resize: vertical; min-height: 44px; font-size: 17px; }
.cell.col { flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
.cell.col .k { font-size: 13px; color: var(--label2); }
.cell .chev { margin-left: 2px; }
.gfoot { font-size: 13px; color: var(--label2); padding: 6px 16px 0; line-height: 18px; }
.gfoot.night { color: var(--accent); }
.gfoot.warn { color: var(--late); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 8px; } /* quebra de linha: nenhum chip cortado */
.chip { flex: none; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--cell); border: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--label); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.chip[aria-pressed="true"] i { background: var(--on-accent); }
.chip[aria-pressed="true"]::after { content: "✓"; font-weight: 700; margin-left: 2px; } /* selecionado: cor + símbolo */
.chip.s { height: 44px; font-size: 14px; padding: 0 12px; background: var(--fill); }
.chip.s[aria-pressed="true"] { background: var(--accent); }
.seg { display: flex; background: var(--fill2); border-radius: 12px; padding: 0; } /* cada botão com 44 px de toque */
.seg button { flex: 1; height: 44px; border: 0; background: none; border-radius: 12px; font-size: 13px; font-weight: 500; color: var(--label); box-shadow: inset 0 0 0 3px var(--fill2); }
.seg [aria-pressed="true"] { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }
.cell .seg { margin-left: auto; width: 60%; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-top: .5px solid var(--sep); cursor: pointer; }
.radio input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--fill3); margin: 1px 0 0; flex: none; }
.radio input:checked { border: 7px solid var(--accent); }
.radio b { display: block; font-size: 17px; font-weight: 500; }
.radio small { display: block; font-size: 13px; color: var(--label2); margin-top: 1px; }
.radio.dis { opacity: .55; }
.savebar { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); margin: 16px 0 0; }
.btn { height: 50px; border-radius: 12px; border: 0; font-size: 17px; font-weight: 600; background: var(--fill2); color: var(--label); width: 100%; }
.btn.p { background: var(--accent); color: var(--on-accent); }
.btn.p:disabled { opacity: .45; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.status-line { font-size: 13px; color: var(--label2); padding: 12px 4px 0; display: flex; gap: 6px; align-items: center; }
.status-line.ok { color: var(--ok); } .status-line.warn { color: var(--late); }

/* ---------- pagamentos ---------- */
.pg { padding: 0 20px; }
.mon { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 10px; }
.mon h2 { margin: 0; font-size: 17px; font-weight: 600; }
.hero { padding: 16px 0 6px; }
.hero .lab { font-size: 15px; color: var(--label2); }
.hero .big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 41px; font-variant-numeric: tabular-nums; margin: 2px 0 0; }
.hero .cap { font-size: 15px; color: var(--label2); margin-top: 2px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.split div { font-size: 13px; color: var(--label2); }
.split b { display: block; font-size: 20px; font-weight: 600; color: var(--label); font-variant-numeric: tabular-nums; margin-top: 2px; }
.split .ok b { color: var(--ok); }
.bar2 { height: 4px; border-radius: 2px; background: var(--fill2); margin-top: 14px; overflow: hidden; }
.bar2 i { display: block; height: 100%; background: var(--ok); }
.late-box { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--late-soft); border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; }
.late-box .ic { width: 28px; height: 28px; border-radius: 50%; background: var(--late); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.late-box b { display: block; font-size: 15px; color: var(--late); }
.late-box small { font-size: 13px; color: var(--label2); }
.late-box .textb { font-weight: 600; }
.sec h2 { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; font-weight: 600; margin: 22px 0 2px; }
.sec h2 span { font-size: 13px; color: var(--label2); font-weight: 400; }
.pg .rows { padding-left: 0; }
.pg .row { grid-template-columns: 6px minmax(0, 1fr) auto; padding-right: 0; }
.row.place { min-height: 60px; }
.row.place .where { white-space: normal; }
.more { background: none; border: 0; color: var(--accent); font-size: 15px; padding: 12px 0; width: 100%; text-align: left; }

/* ---------- série ---------- */
.series-hd { display: flex; gap: 14px; align-items: center; padding: 10px 20px 0; }
.series-hd .bar { height: 44px; }
.series-hd h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.series-hd p { margin: 2px 0 0; font-size: 15px; color: var(--label2); }
.mlabel { font-size: 13px; color: var(--label2); text-transform: uppercase; letter-spacing: .04em; padding: 18px 20px 4px; }
.occ { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 8px 20px 8px 0; margin-left: 20px; border-bottom: .5px solid var(--sep); width: calc(100% - 20px); background: none; border-top: 0; border-left: 0; border-right: 0; text-align: left; color: var(--label); font-size: 15px; }
.occ .d { font-weight: 600; } .occ .d.past { color: var(--label2); font-weight: 400; }
.occ .t { color: var(--label2); } .occ .t b { color: var(--label); font-weight: 500; }
.occ .tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.occ .tag.ok { background: var(--ok-soft); color: var(--ok); }
.occ.skip .d, .occ.skip .t { color: var(--label3); text-decoration: line-through; }
.occ.skip .textb { font-size: 15px; }

/* ---------- barra de abas, aviso, folha ---------- */
.tabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom)); width: min(100% - 24px, 406px); height: var(--tab); background: var(--fill); border-radius: 32px; display: flex; padding: 6px; box-shadow: var(--shadow); z-index: 20; }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 26px; color: var(--label2); font-size: 11px; font-weight: 600; }
.tabs a[aria-current="page"] { background: var(--fill2); color: var(--accent); }
body.noframe .tabs { display: none; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab) + 22px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); width: max-content; background: var(--label); color: var(--bg); border-radius: 14px; padding: 10px 14px; font-size: 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); z-index: 25; }
.toast button { background: none; border: 0; color: var(--bg); font-weight: 700; font-size: 14px; padding: 0 6px; min-height: 44px; min-width: 44px; }
.dim { position: fixed; inset: 0; background: rgba(0, 0, 0, .42); z-index: 30; }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(100%, 430px); max-height: calc(100dvh - 80px); overflow-y: auto; background: var(--cell); border-radius: 20px 20px 0 0; padding: 8px 20px calc(16px + env(safe-area-inset-bottom)); z-index: 31; box-shadow: var(--shadow); }
.sheet .handle { width: 36px; height: 5px; border-radius: 3px; background: var(--fill3); margin: 0 auto 12px; }
.sheet h2 { margin: 0 0 2px; font-size: 20px; font-weight: 600; }
.sheet .sub { font-size: 15px; color: var(--label2); margin: 0 0 8px; }
.sheet .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.sheet .three label { font-size: 13px; color: var(--label2); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sheet .three input { border: 0; background: var(--fill); border-radius: 10px; padding: 0 10px; height: 44px; font-size: 17px; color: var(--label); width: 100%; min-width: 0; }
.sheet .radio { padding-left: 0; padding-right: 0; }
.mlist { background: var(--bg-grouped); border-radius: 12px; overflow: hidden; margin: 8px 0 10px; }
.mi { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-top: .5px solid var(--sep); background: none; color: var(--label); font-size: 17px; text-align: left; }
.mi:first-child { border-top: 0; }
.mi svg { color: var(--label2); }
.mi.danger, .mi.danger svg { color: var(--danger); }
/* alerta compacto no estilo do iOS: título, uma linha, Cancelar / Apagar */
.alert { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(300px, calc(100% - 48px)); background: var(--cell); border-radius: 14px; overflow: hidden; text-align: center; z-index: 31; }
.alert h2 { margin: 0; padding: 20px 16px 4px; font-size: 17px; font-weight: 600; line-height: 22px; }
.alert p { margin: 0; padding: 0 16px 16px; font-size: 13px; line-height: 18px; color: var(--label2); }
.alert .radio { text-align: left; }
.aacts { display: grid; grid-template-columns: 1fr 1fr; border-top: .5px solid var(--sep); }
.aacts button { min-height: 48px; border: 0; background: none; font-size: 17px; color: var(--accent); }
.aacts button + button { border-left: .5px solid var(--sep); }
.aacts .danger { color: var(--danger); font-weight: 600; }
.lock { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--label2); margin: 8px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: up .22s ease-out; } .toast { animation: up .18s ease-out; }
  .sws { transition: margin .2s ease-out; } li.drag .sws { transition: none; }
  @keyframes up { from { transform: translate(-50%, 16px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .sw, .sw::after { transition: none; } }

/* integração G2.1 (fiscal): a 320 px as sete células do calendário precisam de ≥ 44 px — sem a margem lateral de 8 px, 320/7 = 45,7 px */
@media (max-width: 359px) { .cal { padding-left: 0; padding-right: 0; } }

/* F02: zona gestual do calendário (separada da lista): acompanha o dedo de forma contida e desliza ao trocar de mês */
.cal { touch-action: pan-y; transform: translateX(var(--cx, 0px)); transition: transform .15s ease-out; } .cal.drag { transition: none; }
@keyframes slide-next { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes slide-prev { from { transform: translateX(-24px); opacity: .6; } to { transform: none; opacity: 1; } }
.cal.slide-next { animation: slide-next .22s ease-out; } .cal.slide-prev { animation: slide-prev .22s ease-out; }
/* botões "Mês anterior"/"Próximo mês" só para leitor de tela e teclado (alternativa acessível ao gesto); aparecem ao receber foco */
.srb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; background: var(--fill); color: var(--label); font-size: 22px; }
.srb:focus-visible { position: static; width: 44px; height: 44px; clip: auto; overflow: visible; border-radius: 22px; }
/* F01: linha recém-criada em destaque breve ao voltar ao dia */
@keyframes flash { 0%, 45% { background-color: var(--accent-soft); } 100% { background-color: transparent; } }
li.flash .row { animation: flash 1.6s ease-out; }
@media (prefers-reduced-motion: reduce) { .cal, .cal.slide-next, .cal.slide-prev { transition: none; animation: none; transform: none; } li.flash .row { animation: none; background-color: var(--accent-soft); } }

/* ---------- B1: produto ---------- */
.app { padding-top: env(safe-area-inset-top); } /* sem barra de status desenhada: o aparelho tem a dele */
.cell.danger, .cell.danger .k { color: var(--danger); }
.cell.accent { color: var(--accent); }
.cell .v.ok { color: var(--ok); } .cell .v.late { color: var(--late); }
.cell .v.wrap { white-space: normal; text-align: right; }
.cell input[type="number"] { flex: none; width: 72px; }
.cell input.short { flex: none; width: 72px; text-transform: uppercase; }
.gl .first { background: var(--cell); border-radius: 12px; padding: 16px; margin-top: 16px; }
.gl .first h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.gl .first p { margin: 0 0 12px; font-size: 15px; color: var(--label2); line-height: 20px; }
.gl .first .acts { grid-template-columns: 1fr; margin-top: 0; }
.imp { list-style: none; margin: 0; padding: 0; }
.imp li { display: flex; gap: 12px; justify-content: space-between; min-height: 44px; padding: 8px 16px; border-top: .5px solid var(--sep); font-size: 15px; }
.imp li:first-child { border-top: 0; }
.imp li small { color: var(--label2); }
.imp .n { font-weight: 600; flex: none; }
.cell .badge { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.cell .badge.warn { background: var(--late-soft); color: var(--late); }
.cell .badge.ok { background: var(--ok-soft); color: var(--ok); }
.toast .act2 { color: var(--bg); font-weight: 700; text-decoration: underline; }
.rows li.plain .row { grid-template-columns: 6px minmax(0, 1fr) auto; padding-right: 0; }
.rows li.plain { display: flex; align-items: center; gap: 8px; }
.rows li.plain .row { flex: 1; min-width: 0; }
.priv p { font-size: 15px; line-height: 21px; color: var(--label2); margin: 8px 0; }

.toast button { white-space: nowrap; }
.nolocal { color: var(--label3); } /* R6: plantão sem local — marca neutra, nunca cor de local */

/* =====================================================================================================
   R6 · candidato B — Clean Premium: a mesma informação com mais respiro e menos peso.
   Grade 17 px em passo de 58 px · linha do dia ≈ 62 px com faixa de 4 px e estado em texto com ponto ·
   herói financeiro de 34 px · ícones em círculo suave · separadores finos · cabeçalhos em sentence case.
   ===================================================================================================== */
.textb { display: inline-flex; align-items: center; } /* "Cancelar" alinhado ao título (antes caía 20 px acima) */

/* calendário: número 17 px, passo 56 + 2 = 58 px; selecionado = círculo cheio no acento; hoje = acento suave */
.wk { font-size: 13px; font-weight: 500; letter-spacing: 0; padding: 8px 0 2px; }
.day { height: 56px; padding: 6px 0 0; gap: 4px; }
.day .n { width: 32px; height: 32px; font-size: 17px; letter-spacing: 0; }
.day.today .n { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.day.sel .n, .day.sel:not(.today) .n { background: var(--accent); color: var(--on-accent); box-shadow: none; font-weight: 600; }
.dots { gap: 3px; height: 5px; } .dots i, .dots i.night { width: 5px; height: 5px; } .dots em { line-height: 5px; }
.legend { gap: 16px; padding: 12px 20px 0; } .legend i { width: 6px; height: 6px; }

/* ícone em círculo suave (Ajustes e lembrete de backup) */
.ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ico.ok { background: var(--ok-soft); color: var(--ok); }
.ico.mute { background: var(--fill2); color: var(--label2); }
.notice { display: flex; align-items: center; gap: 12px; margin: 16px 16px 0; padding: 10px 14px; min-height: 56px; border-radius: 14px; background: var(--fill); color: var(--label); font-size: 15px; line-height: 20px; }
.notice .nt { flex: 1; min-width: 0; }
.notice .na { flex: none; display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 500; }

/* lista do dia: 62 px, faixa 4×36, hairline a partir do texto */
.dayhead { gap: 2px; padding: 24px 20px 6px; }
.row { grid-template-columns: 4px minmax(0, 1fr) auto 12px; gap: 12px; min-height: 62px; padding: 4px 4px 4px 0; }
.bar { width: 4px; height: 36px; border-radius: 2px; }
.when { line-height: 15px; gap: 5px; }
.ttl { line-height: 21px; margin: 1px 0 0; }
.where { line-height: 18px; }
.amt { line-height: 22px; }
.chev { color: var(--fill3); }
.st { line-height: 16px; margin-top: 2px; gap: 6px; }
.st svg { display: none; }
.st::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; } /* ponto + texto, nunca só cor */
.st.pend::before { background: var(--label3); }
.sws { border-bottom: 0; }
.sws::after { content: ""; position: absolute; left: 16px; right: 0; bottom: 0; border-bottom: .5px solid var(--sep); pointer-events: none; }
.rows li:last-child .sws::after { display: none; }
li.sl .sws .row, .pg .row, .rows li.plain .row { grid-template-columns: 4px minmax(0, 1fr) auto; }
.pg .row .chev { display: none; } /* 3 colunas: a seta caía numa segunda linha da grade e somava altura */

/* detalhes: herói, meta com ícones alinhados, seções por hairline e espaço generoso */
.detail { padding: 4px 20px 0; }
.hd { margin: 16px 0 18px; } .hd .bar { width: 4px; height: 40px; }
.meta { gap: 8px; padding-bottom: 22px; }
.meta .d, .meta .ml { display: flex; gap: 10px; align-items: center; }
.meta .ml svg { margin: 0 1px; color: var(--label3); }
.meta .ml.mo, .meta .ml.mo svg { color: var(--accent); }
.meta .note { padding-left: 30px; }
.sect { padding: 14px 0; }
.kv { min-height: 48px; }
.sdot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin: 0 8px 1px 0; }
.sdot.pend::before { background: var(--label3); }
.del { margin-top: 24px; }

/* listas agrupadas e formulário: cabeçalhos em sentence case, grupos com respiro, ajuda bem assentada */
.ghead { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--label); text-transform: none; letter-spacing: 0; padding: 26px 4px 8px; }
.mlabel { font-size: 15px; font-weight: 600; color: var(--label); text-transform: none; letter-spacing: 0; padding: 22px 20px 6px; }
.mlabel::first-letter { text-transform: uppercase; }
.gl .group { margin-top: 20px; } .gl .ghead + .group { margin-top: 0; }
.gl .chips { padding-bottom: 0; }
.cell { min-height: 52px; }
.gfoot { padding: 8px 16px 0; }
.status-line { padding: 16px 4px 0; }
.group.ics .cell .k { white-space: nowrap; }
.cell .k:has(.kt) { flex: 1 1 auto; min-width: 0; } .cell .k .kt { min-width: 0; }
.cell:has(.kt) { padding-top: 7px; padding-bottom: 7px; }
.cell .seg { flex: 0 1 auto; width: 60%; min-width: 0; }

/* Ajustes: ícone em círculo + hairline a partir do texto */
.group.ics .cell { position: relative; border-top: 0; min-height: 54px; }
.group.ics .cell + .cell::before { content: ""; position: absolute; top: 0; left: 56px; right: 0; border-top: .5px solid var(--sep); }
.kt { display: flex; flex-direction: column; white-space: normal; }
.kt small { font-size: 13px; line-height: 18px; color: var(--label2); }

/* Pagamentos: herói grande com respiro; barra antes da legenda recebido/pendente */
.pg .mon { margin: 6px 0 14px; }
.pg .mon .circ { background: none; color: var(--accent); }
.hero { display: flex; flex-direction: column; padding: 28px 0 24px; border-bottom: .5px solid var(--sep); }
.hero .big { margin-top: 4px; }
.hero .cap { font-size: 13px; margin-top: 4px; }
.hero .bar2 { order: 1; height: 6px; border-radius: 3px; margin-top: 20px; background: var(--fill3); }
.hero .split { order: 2; margin-top: 14px; }
.hero .note { order: 3; }
.split div::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fill3); margin: 0 6px 1px 0; }
.split .ok::before { background: var(--ok); }
.split b { line-height: 25px; }
.late-box { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; padding: 14px 16px; margin-top: 20px; border-radius: 14px; }
.late-box .ic { width: 32px; height: 32px; }
.sec h2 { margin: 30px 0 4px; }
.row.place { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.row.place .amt { font-weight: 600; }
/* Pagamentos: "cai …" e "trabalhado …" empilhados (antes quebravam com um "·" solto no início da linha) */
.when:has(.w2) { flex-direction: column; align-items: flex-start; gap: 0; }
/* Por local: nome e total na 1ª linha; contagem e recebido ocupam a largura toda na 2ª (sem quebrar) */
.row.place { grid-template-rows: auto auto; row-gap: 1px; }
.row.place > span:nth-child(2) { display: contents; }
.row.place .bar { grid-row: 1 / 3; } .row.place .ttl { grid-column: 2; grid-row: 1; } .row.place .amt { grid-column: 3; grid-row: 1; }
.row.place .where { grid-column: 2 / 4; grid-row: 2; white-space: nowrap; }
.status-line.warn { color: var(--label2); } /* "Falta: …" é orientação, não erro: vermelho fica só para atrasado e apagar */
/* chip selecionado: acento suave + texto no acento + ✓ (menos peso que o bloco sólido; a cor do local continua no ponto) */
.chip[aria-pressed="true"], .chip.s[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.chip[aria-pressed="true"] i { background: var(--pc); }

/* R6 (Pintora, correção 3): chevron na célula Local — affordance de seleção; o select continua o alvo inteiro */
.cell .v select + svg { color: var(--label3); flex: none; margin-left: -2px; }

/* ---- R6 · Monoco (acabamento, parecer r1 gpt-5.6-sol high; r6/PARECER_MONOCO.md) ---- */
.chev { color: var(--label3); }                                   /* M1: affordance legível nos dois temas */
.late-box .ic { color: var(--on-accent); }                        /* M2: "!" escuro sobre o coral claro do tema escuro */
body.grouped .nav .circ { background: var(--cell); }              /* M3: círculo visível sobre o fundo agrupado claro */
.lt h1 { font-size: 34px; line-height: 41px; }                    /* M5: Large title 34/41 (DESIGN.md §2) */
.group.ics a[href="#/locais"] .v .dot:nth-of-type(n+6) { display: none; } /* M6: no máximo 5 amostras; o contador diz o total */
.notice { margin: 16px 20px 0; }                                  /* M7: gutter de 20 px como o resto da tela */
.late-box { gap: 12px; padding: 12px 16px; border-radius: 12px; } /* M8: malha de 4 px e raio 12 */
.ghead { padding: 24px 4px 8px; } .mlabel { padding: 24px 20px 8px; } /* M9: ritmo 24/8 */
.gl > .empty { padding: 16px 4px; }                               /* M10: eixo de 20 px no estado vazio (16 do .gl + 4) */
.hd h1, .kv .k { min-width: 0; overflow-wrap: anywhere; }         /* M11: quebra defensiva para textos longos */
/* M12 (harness TC-14 a 390×844): a página de detalhes do candidato B ficou 56 px mais alta e "Apagar" (744–798) caía sob a barra flutuante (770) —
   mesma armadilha já registrada no G2.1. Devolve 40 px sem mexer nas linhas de 48 px: Apagar termina em 758, 12 px acima da barra. */
.hd { margin: 12px 0 16px; } .meta { padding-bottom: 16px; } .sect { padding: 12px 0; } .del { margin-top: 12px; }

/* =====================================================================================================
   R7 · Frontend Recovery (30/10/2026) — composição por referência real (Plantãozinho 19/10 e 27/10) + cor individual.
   Calendário sem legenda e sem círculo em repouso · dia vazio acionável · amostras de cor · detalhes e pagamentos em cards ·
   ícones quadrados em Ajustes · célula de local com amostra quadrada · busca de locais. Tokens de cor inalterados.
   ===================================================================================================== */
/* calendário: número 17 px sem círculo em repouso; hoje = anel no acento; selecionado = cheio; hoje+selecionado = cheio com anel externo (3 estados) */
.wk { padding: 6px 0 0; }
.day { height: 54px; padding: 4px 0 0; gap: 3px; }
.day .n { width: 30px; height: 30px; font-size: 17px; background: none; box-shadow: none; }
/* três estados (parecer visual r1 #5, como o app-modelo: hoje colorido, selecionado na cor do texto): */
.day.today .n { background: var(--accent); color: var(--on-accent); box-shadow: none; font-weight: 600; }
.day.sel .n, .day.sel:not(.today) .n { background: var(--label); color: var(--bg); box-shadow: none; font-weight: 600; }
.day.sel.today .n { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--label); }
.dots { height: 6px; gap: 3px; } .dots i, .dots i.night { width: 6px; height: 6px; } .dots em { line-height: 6px; }
.dayhead { padding: 12px 20px 4px; }
.notice { margin-top: 8px; }
.emptyday { display: flex; flex-direction: column; align-items: center; padding: 2px 20px 0; }
.emptyday .empty { padding: 8px 0 8px; text-align: center; }
.addbtn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 15px; }
/* linha do dia: a coluna da direita fica no seu conteúdo (valor + estado); o título usa o resto e pode ocupar 2 linhas antes de cortar (parecer r1 #9); na linha aberta pelo gesto, 1 linha (G2.1) */
.row .right { min-width: 0; }
.ttl { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
li.sl .ttl { display: block; white-space: nowrap; }
/* amostra quadrada (célula de local, cor, listas de locais e modelos) */
.sq { flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--pc); }
.sq.neutral { background: var(--fill3) !important; }
.cell .v .sq { margin-right: 2px; }
/* amostras de cor (formulário do plantão e do modelo): 44 px de alvo, 32 px visíveis; selecionada = anel na cor do texto + ✓ */
.swcell { gap: 10px; padding-bottom: 12px; } .swcell .k { font-size: 13px; color: var(--label2); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; }
.swc { position: relative; width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; border-radius: 50%; color: var(--label); }
.swc i { width: 32px; height: 32px; border-radius: 50%; background: var(--pc); display: grid; place-items: center; }
.swc[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--cell), 0 0 0 4px var(--label); }
/* marca de seleção desenhada (não depende da fonte): traço branco; escuro nas amostras claras (parecer r1 #10) */
.swc[aria-pressed="true"] i::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(0, -2px) rotate(45deg); }
.swc.lightc[aria-pressed="true"] i::after { border-color: #0B1220; }
.swc.inherit { width: auto; height: 44px; margin-right: 6px; padding: 0 12px 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; background: var(--fill2); font-size: 13px; font-weight: 600; }
.swc.inherit i { width: 20px; height: 20px; } .swc.inherit.neutral i { background: var(--fill3); }
.swc.inherit[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.swc.inherit[aria-pressed="true"] i { box-shadow: none; } .swc.inherit[aria-pressed="true"] i::after { width: 4px; height: 8px; border-width: 0 2px 2px 0; }
.swc.inherit.neutral[aria-pressed="true"] i::after { border-color: var(--label); }
.ghead small { font-weight: 400; color: var(--label2); margin-left: 4px; }
/* detalhes em cards sobre o fundo agrupado */
.detail.gl { padding: 4px 16px 24px; }
body.grouped .nav .circ, body.grouped .nav .pillb { background: var(--cell); } /* pílula "Editar" visível também no claro (parecer r1 #6) */
.detail .ghead { padding: 12px 4px 6px; } /* TC-14: Apagar acima da barra flutuante a 390×844, também com observação */
.detail .cell.kv, .detail .cell { min-height: 44px; }
.detail .cell:has(.kt) { padding-top: 5px; padding-bottom: 5px; } .detail .kt small { line-height: 16px; }
.detail .obsrow .v { font-size: 15px; text-align: right; }
.herocard { padding: 10px 14px; margin-top: 8px; }
.herocard .hd { margin: 0; gap: 12px; align-items: stretch; }
.herocard .hd .bar { width: 4px; height: auto; align-self: stretch; border-radius: 2px; }
.herocard .hdt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.herocard h1 { margin: 0; font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.herocard .d { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--label); }
.herocard .ml { margin: 0; font-size: 15px; color: var(--label2); } .herocard .ml .mo { color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.herocard .rep { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--accent); }
.detail .cell.kv { min-height: 48px; justify-content: space-between; } .detail .kv .k { color: var(--label); }
.detail .obs.cell { display: block; padding: 12px 16px; font-size: 17px; color: var(--label); white-space: pre-wrap; margin: 0; }
.dangercard { margin-top: 12px; }
.dangercard .del { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; padding: 0 16px; min-height: 52px; width: 100%; color: var(--danger); font-size: 17px; font-weight: 500; }
.dangercard .del svg { color: var(--danger); }
/* pagamentos em cards */
.pg.gl { padding: 0 16px 24px; }
.pg .mon { padding: 0 4px; margin: 4px 0 12px; }
.pg .seg { margin: 0 0 16px; }
.hero.group { padding: 16px 16px 14px; border-bottom: 0; }
.hero.group .big { font-size: 30px; line-height: 36px; }
.hero.group .bar2 { margin-top: 14px; } .hero.group .split { margin-top: 12px; } .hero.group .note { margin-top: 10px; }
.late-box.group { display: block; padding: 0; margin-top: 12px; background: var(--late-soft); }
.latehd { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 12px; align-items: center; width: 100%; min-height: 56px; padding: 10px 16px; border: 0; background: none; color: var(--label); text-align: left; }
.latehd .lt2 { min-width: 0; } .latehd .lt2 b { display: block; font-size: 15px; color: var(--late); } .latehd .lt2 small { font-size: 13px; color: var(--label2); }
.latehd > svg { color: var(--label3); }
.late-box .rows { padding: 0 0 4px 16px; }
.lateact { padding: 0 16px 2px 60px; } .lateact .textb { height: 44px; padding: 0; font-weight: 600; font-size: 15px; }
.sec h2 { margin: 24px 4px 8px; }
.placecards { display: flex; flex-direction: column; gap: 8px; padding: 0; }
.placecards li { list-style: none; }
.row.place.group { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto 16px; grid-template-rows: auto; row-gap: 0; gap: 12px; align-items: center; min-height: 72px; padding: 12px 12px 12px 14px; border-radius: 12px; border: 0; }
.row.place.group .bar { grid-row: auto; grid-column: auto; height: 40px; }
.row.place.group .pinfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row.place.group .ttl, .row.place.group .where, .row.place.group .pr { grid-column: auto; grid-row: auto; }
.row.place.group .ttl { font-size: 15px; } .row.place.group .where { font-size: 13px; }
.row.place.group .pr { display: flex; gap: 12px; font-size: 13px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.place.group .pr b { font-weight: 600; color: var(--label); } .row.place.group .pr b.ok { color: var(--ok); }
.row.place.group .amt { grid-column: auto; font-weight: 600; }
.row.place.group .chev { display: block; color: var(--label3); }
.row.place.group[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
body.grouped .sws { background: var(--bg-grouped); }
/* ajustes: ícone quadrado colorido (28 px, raio 7) por item — a cor vem da paleta aprovada via --pc (inline), sem hex novo */
.ico { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: #fff; }
.ico[style] { background: var(--pc); }
.ico.ok { background: var(--ok); color: #fff; } .ico.mute { background: var(--label3); color: #fff; }
/* locais: busca */
.group.search .cell { gap: 8px; } .group.search svg { color: var(--label3); } .group.search input { padding: 10px 0; }
/* folha da série: cor */
.sheet .cell.sccolor { background: var(--bg-grouped); border-radius: 12px; border-top: 0; margin: 0 0 12px; }
