/* Claro e escuro: cada cor tem as duas versões, e o navegador escolhe pelo tema do sistema. A escolha do menu da conta
   vira data-tema no <html>, que o tema.js aplica antes de a página aparecer, para não piscar. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#fff, #191919);
  --panel: light-dark(#fff, #202020); /* painel lateral */
  --surface: light-dark(#fff, #252525); /* cartão, botão, popover, campo em foco */
  --surface-h: light-dark(#f5f5f3, #2f2f2f); /* hover do botão */
  --card-h: light-dark(#fcfcfb, #2a2a2a);
  --well: light-dark(#f7f7f5, rgba(255, 255, 255, .055)); /* poço: campo, área de colar, bloco Privado */
  --ring: light-dark(rgba(15, 15, 15, .08), rgba(255, 255, 255, .094));
  --ring-btn: light-dark(rgba(15, 15, 15, .12), rgba(255, 255, 255, .13));
  --ink: light-dark(#37352f, #d4d4d2);
  --ink-2: light-dark(#6b6a66, #9b9a97); /* passa de 4,5:1 também sobre a tinta das colunas e o poço */
  --ink-3: light-dark(#9b9a97, #6b6a66);
  --icon: light-dark(#8b8a86, #7f7e7b);
  --line: light-dark(rgba(55, 53, 47, .09), rgba(255, 255, 255, .094));
  --hover: light-dark(rgba(55, 53, 47, .06), rgba(255, 255, 255, .055));
  --active: light-dark(rgba(55, 53, 47, .08), rgba(255, 255, 255, .08));
  --blue: #1b71ca; /* o azul do Notion escurecido só até o branco em cima passar de 4,5:1 */
  --blue-h: #165fac;
  --danger: #c9372f;
  --danger-h: #ad2e27;
  --danger-t: light-dark(#a5332f, #ec8a86);
  --danger-bg: light-dark(#fdebec, #3a2222);
  --shadow-card: 0 0 0 1px light-dark(rgba(15, 15, 15, .06), rgba(255, 255, 255, .094)), 0 2px 4px light-dark(rgba(15, 15, 15, .06), rgba(0, 0, 0, .35));
  --shadow-pop: 0 0 0 1px light-dark(rgba(15, 15, 15, .05), rgba(255, 255, 255, .094)), 0 3px 6px light-dark(rgba(15, 15, 15, .1), rgba(0, 0, 0, .3)), 0 9px 24px light-dark(rgba(15, 15, 15, .2), rgba(0, 0, 0, .5));
  --shadow-peek: -1px 0 0 var(--line), -14px 0 36px light-dark(rgba(15, 15, 15, .09), rgba(0, 0, 0, .45));
  --shadow-seg: 0 1px 2px light-dark(rgba(15, 15, 15, .12), rgba(0, 0, 0, .4)), 0 0 0 1px light-dark(rgba(15, 15, 15, .05), rgba(255, 255, 255, .094));
  --shadow-toast: 0 6px 18px light-dark(rgba(15, 15, 15, .22), rgba(0, 0, 0, .5));
  --toast: light-dark(#2f2e2b, #3a3a38);
  /* no escuro volta o azul-petróleo do Radar, que já é de fundo escuro; no branco ele é escurecido até 4,5:1 */
  --brand-teal: light-dark(#2f6f80, #5298ac);
  --scrollbar: light-dark(#d3d1cb, #4a4a48);
  --gutter: clamp(32px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
:root[data-tema="claro"] { color-scheme: light; }
:root[data-tema="escuro"] { color-scheme: dark; }

/* Cores do Notion: fundo da pílula, texto (escurecido no claro, clareado no escuro, para ler bem), bolinha, tinta da
   coluna e avatar. Algumas peças fora do quadro pegam a cor daqui. */
.c-gray, .seg, kbd { --pb: light-dark(#f1f1ef, #2f2f2f); --pt: light-dark(#66655f, #b4b4b1); --pd: light-dark(#787774, #8a8a87); --tint: light-dark(#f8f8f7, #1f1f1f); --ab: light-dark(#e6e5e2, #3a3a3a); }
.c-yellow, .live.off, .alerta, .prop.check, .aviso-3 { --pb: light-dark(#fbf3db, #4a3b1f); --pt: light-dark(#7f5c16, #e8c47a); --pd: light-dark(#c29343, #ca9849); --tint: light-dark(#fdf9ee, #221e16); --ab: light-dark(#f3e9d9, #574627); }
.c-green, .live { --pb: light-dark(#edf3ec, #233a2d); --pt: light-dark(#2f6e4d, #8fcca8); --pd: light-dark(#448361, #529e72); --tint: light-dark(#f6f9f6, #18211c); --ab: light-dark(#dae6df, #2c4637); }
.c-blue { --pb: light-dark(#e7f3f8, #173547); --pt: light-dark(#2a6a90, #8fc3e8); --pd: light-dark(#337ea9, #379ad3); --tint: light-dark(#f3f9fb, #161f26); --ab: light-dark(#d6e5ee, #1e4258); }
.c-red, .alerta.red { --pb: light-dark(#fdebec, #4a2826); --pt: light-dark(#a5332f, #ec8a86); --pd: light-dark(#d44c47, #df5452); --tint: light-dark(#fef5f5, #241a19); --ab: light-dark(#f6dbda, #5a2f2c); }
.c-orange { --pb: light-dark(#fbecdd, #50331f); --pt: light-dark(#9f4f08, #f0b07c); --pd: light-dark(#d9730d, #c77d48); --tint: light-dark(#fdf5ee, #241c16); --ab: light-dark(#f8e3cf, #5f3d25); }
.c-purple { --pb: light-dark(#f6f3f9, #382a45); --pt: light-dark(#6e4a8c, #cfaaf0); --pd: light-dark(#9065b0, #9d68d3); --tint: light-dark(#faf9fc, #1f1a24); --ab: light-dark(#e9e0ef, #44335a); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scrollbar-color: var(--scrollbar) transparent; scrollbar-width: thin; }
body {
  margin: 0;
  color: var(--ink);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}
::selection { background: rgba(35, 131, 226, .22); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid rgba(35, 131, 226, .65); outline-offset: 1px; }
b { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* telas de entrada: carregando, login, sem perfil, outra aba */
.tela { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.tela-box { width: min(380px, 100%); }
.tela-box h2 { margin-top: 22px; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.tela-box p { margin-top: 8px; color: var(--ink-2); }
.tela-box form { display: grid; gap: 14px; margin-top: 24px; }
.tela-box .btn { margin-top: 18px; }
.tela-box form .btn { margin-top: 4px; height: 34px; }
.input {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--ring);
  color: var(--ink);
  font: inherit;
}
.input:focus, .paste:focus {
  outline: none;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(35, 131, 226, .6), 0 0 0 3px rgba(35, 131, 226, .18);
}
.erro { color: var(--danger-t); font-size: 13px; }
.erro:empty { display: none; }

/* topo da página e marca, no padrão dos sistemas da Milhas Plus (como o Radar): o ícone no quadrado amarelo e
   "Milhas Plus" embaixo do nome */
.head { padding: 24px var(--gutter) 0; }
.page-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: #f4dd58; display: grid; place-items: center; color: #193b33; }
.page-icon svg { width: 28px; height: 28px; stroke-width: 1.7; }
h1 { font-weight: 700; letter-spacing: -.015em; }
.marca { display: flex; align-items: center; gap: 14px; }
.marca h1 { margin: 0; font-size: 28px; line-height: 1.15; }
.marca .marca-sub { margin: 2px 0 0; color: var(--brand-teal); font-size: 14px; font-weight: 500; }
.tela-box .marca + p { margin-top: 18px; }

/* barra de visualizações */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg); margin-top: 12px; padding: 0 var(--gutter); }
.bar-in { display: flex; align-items: center; gap: 16px; height: 46px; box-shadow: inset 0 -1px 0 var(--line); }
.tabs { display: flex; gap: 2px; }
.tab { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 6px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.tab:hover { background: var(--hover); color: var(--ink); }
.tab[aria-current] { background: var(--active); color: var(--ink); }
.tab .n { font-size: 12px; font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.ib { position: relative; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: var(--icon); }
.ib:hover, .ib.on { background: var(--hover); color: var(--ink); }
.ib .i { width: 18px; height: 18px; }
.badge {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.sep { width: 1px; height: 18px; background: var(--line); margin: 0 8px; }
.live { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 6px; color: var(--pt); font-size: 13px; font-weight: 500; white-space: nowrap; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pd); box-shadow: 0 0 0 3px var(--pb); }
.me { width: 24px; height: 24px; margin: 0 6px 0 4px; font-size: 12px; }
.new { display: flex; height: 28px; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 600; }
.new button { display: flex; align-items: center; padding: 0 10px; border-radius: 6px 0 0 6px; }
.new .caret { padding: 0 6px; border-radius: 0 6px 6px 0; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .28); }
.new button:hover, .new .caret.on { background: var(--blue-h); }
.new .i { width: 14px; height: 14px; stroke-width: 1.8; }

/* quadro */
.board { display: flex; align-items: flex-start; gap: 12px; padding: 14px var(--gutter) 40px; }
/* Em pagamento ganha uma coluna por pagador e pode passar da tela: rola de lado no próprio quadro.
   Os outros cabem a partir de 1280 px e ficam sem rolagem própria; com ela, o cabeçalho preso da coluna grudaria no quadro, não na página. */
#v-pagamento { overflow-x: auto; scrollbar-width: thin; }
.col { flex: 0 0 272px; border-radius: 10px; background: var(--tint); padding: 2px 8px 8px; }
#v-links .col { flex-basis: 300px; }
/* Meus cartões chega a 5 colunas: elas dividem a largura para caber em 1366 px */
#v-meus .col { flex: 1 1 0; min-width: 220px; max-width: 272px; }
.col.wide { flex-basis: 360px; }
.col-h { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 -8px; padding: 0 12px; border-radius: 10px 10px 0 0; background: var(--tint); }
.board:not(#v-pagamento) .col-h { position: sticky; top: 46px; z-index: 1; }
.col.estreita { flex-basis: 248px; }
.col-n { color: var(--pt); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 8px; border-radius: 999px; background: var(--pb); color: var(--pt); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pd); }
.col-person { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.col-person .av { width: 22px; height: 22px; }
.cards { display: flex; flex-direction: column; gap: 8px; }
.vazio { padding: 8px 6px 4px; color: var(--ink-2); font-size: 13px; }
.add { display: flex; align-items: center; gap: 6px; width: 100%; height: 32px; margin-top: 6px; padding: 0 6px; border-radius: 6px; color: var(--pt); }
.add:hover { background: var(--hover); }

/* cartão */
.card { position: relative; background: var(--surface); border-radius: 8px; box-shadow: var(--shadow-card); padding: 10px 12px; cursor: pointer; }
.card:hover { background: var(--card-h); }
/* o único movimento: o cartão que acabou de chegar ou de mudar de coluna acende na cor da coluna e apaga */
@keyframes chegou { from { background: var(--pb); } to { background: var(--surface); } }
.card.chegou { animation: chegou 1.4s var(--ease); }
.c-line.aviso-3 { color: var(--pt); }
.c-top { display: flex; align-items: flex-start; gap: 6px; }
.c-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.c-top .tag { margin-top: 1px; }
.c-prop { color: var(--ink-2); font-size: 12.5px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.c-top + .c-prop { margin-top: 2px; }
.c-line { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink-2); font-size: 12.5px; }
.c-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 26px; }
.timer { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: 999px; background: var(--pb); color: var(--pt); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timer .i { width: 14px; height: 14px; stroke-width: 1.6; }
.who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.av { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--ab); color: var(--pt); font-size: 11px; font-weight: 600; line-height: 1; }
.c-meta { margin-left: auto; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dot-new { display: inline-block; width: 7px; height: 7px; margin: 0 7px 2px 0; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; background: var(--pb); color: var(--pt); font-size: 12px; font-weight: 500; white-space: nowrap; }
/* visibility esconde também o desabilitado, que o .btn:disabled deixaria a meia opacidade */
.pegar { margin-left: auto; visibility: hidden; opacity: 0; transition: opacity .12s; }
.card:hover .pegar, .card:focus-within .pegar, .is-next .pegar { visibility: visible; opacity: 1; }
.c-menu { width: 24px; height: 24px; margin: -2px -6px 0 0; display: grid; place-items: center; flex: none; border-radius: 5px; color: var(--icon); opacity: 0; }
.card:hover .c-menu, .card:focus-within .c-menu, .c-menu.on { opacity: 1; }
.c-menu:hover, .c-menu.on { background: var(--hover); color: var(--ink); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ring-btn); color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.btn:hover { background: var(--surface-h); }
.btn-blue { background: var(--blue); box-shadow: none; color: #fff; font-weight: 600; }
.btn-blue:hover { background: var(--blue-h); }
.btn-red { background: var(--danger); box-shadow: none; color: #fff; font-weight: 600; }
.btn-red:hover { background: var(--danger-h); }
/* a ação destrutiva fica discreta; o vermelho cheio é só do botão que confirma */
.btn-perigo { color: var(--danger-t); }
.btn-perigo:hover { background: var(--danger-bg); }
.btn-sm { height: 26px; padding: 0 10px; font-size: 13px; }
.btn-ghost { box-shadow: none; color: var(--ink-2); }
.btn-ghost:hover { background: var(--hover); color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:disabled:hover { background: var(--surface); }
.btn-blue:disabled:hover { background: var(--blue); }
.mini { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px; border-radius: 5px; color: var(--ink-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.mini:hover { background: var(--hover); color: var(--ink); }
.mini .i { width: 14px; height: 14px; }

/* cartão aberto: texto privado, notas e ações */
.priv { margin-top: 10px; padding: 6px 10px 10px; border-radius: 6px; background: var(--well); }
.priv-h { display: flex; align-items: center; gap: 2px; margin: 0 -4px 4px 0; }
.priv-l { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.priv-l .i { width: 13px; height: 13px; }
.priv-t { font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.c-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.note { margin-top: 10px; padding: 8px 10px 9px; border-radius: 6px; background: var(--pb); }
.note-h { display: flex; align-items: center; gap: 6px; color: var(--pt); font-size: 12.5px; }
.note-t { margin-top: 5px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.img { display: block; max-width: 100%; max-height: 220px; margin-top: 8px; border-radius: 6px; box-shadow: var(--shadow-card); }

/* histórico */
.tablewrap { padding: 14px var(--gutter) 40px; overflow-x: auto; }
.db { border-collapse: collapse; table-layout: fixed; width: 960px; }
.db th, .db td { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.db th + th, .db td + td { border-left: 1px solid var(--line); }
.db th { height: 34px; padding: 0 10px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.db th span { display: inline-flex; align-items: center; gap: 6px; }
.db th .i { color: var(--ink-3); }
.db td { height: 38px; padding: 6px 10px; }
.db tbody tr:hover td { background: light-dark(rgba(55, 53, 47, .025), rgba(255, 255, 255, .025)); }
.db .h { width: 120px; font-variant-numeric: tabular-nums; }
.db .q { width: 170px; }
.db .a { width: 400px; }
.db .det { margin-left: 8px; color: var(--ink-2); font-size: 13px; }
.db .cart { font-weight: 500; overflow-wrap: anywhere; }
.db .tipo { margin-left: 6px; color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.db .who { font-size: 14px; color: var(--ink); }
.db-foot { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: var(--ink-2); font-size: 12.5px; }
.db tbody tr { cursor: pointer; }
.filtros { display: flex; gap: 8px; margin-bottom: 12px; }
.filtros .input { width: auto; margin: 0; height: 32px; }
.filtros .busca { width: 300px; }

/* painel lateral: novo, corrigir, seguimento, devolver, recusar, não deu certo, histórico do cartão */
.peek {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 20;
  width: min(580px, 46vw);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  box-shadow: var(--shadow-peek);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform .36s var(--ease), visibility 0s .36s;
}
.peek.open { transform: none; visibility: visible; transition: transform .36s var(--ease); }
.peek-top { display: flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 12px; color: var(--ink-2); font-size: 13px; }
.peek-body { flex: 1; overflow-y: auto; padding: 12px 44px 28px; }
.peek-body h2 { font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; overflow-wrap: anywhere; }
.peek-sub { margin-top: 6px; color: var(--ink-2); }
.field { margin-top: 20px; }
.lbl { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.paste { display: block; width: 100%; min-height: 136px; resize: vertical; padding: 10px 12px; border: 0; border-radius: 6px; background: var(--well); box-shadow: inset 0 0 0 1px var(--ring); color: var(--ink); font: 14px/1.6 var(--font); }
.paste.curta { min-height: 88px; }
.dest { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.dest .lbl { margin: 0; }
.seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 7px; background: var(--pb); }
.seg button { height: 26px; padding: 0 14px; border-radius: 5px; color: var(--pt); font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-seg); }
.sub { margin: 26px 0 6px; font-size: 15px; font-weight: 600; }
.prop { display: flex; align-items: flex-start; min-height: 34px; }
.prop-l { flex: 0 0 150px; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 6px; color: var(--ink-2); }
.prop-l .i { color: var(--ink-3); }
.prop-v { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.prop-v input { flex: 1; min-width: 0; height: 34px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; }
.prop-v input:hover { background: var(--hover); }
.prop-v input:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(35, 131, 226, .6), 0 0 0 3px rgba(35, 131, 226, .18); }
.prop-v input::placeholder { color: var(--ink-2); }
.prop.check input { background: var(--tint); }
.prop .hint { flex-basis: 100%; padding: 0 8px 6px; color: var(--pt); font-size: 12.5px; }
.prop:not(.check) input ~ .tag, .prop:not(.check) .hint { display: none; }
.of-box { margin-top: 14px; padding: 6px 12px 12px; border-radius: 6px; background: var(--well); }
.alerta { margin-top: 14px; padding: 8px 12px; border-radius: 6px; background: var(--pb); color: var(--pt); font-size: 13px; }
.thumb { display: block; max-width: 100%; max-height: 220px; margin-top: 10px; border-radius: 6px; box-shadow: var(--shadow-card); }
.soltar { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 14px; border-radius: 6px; background: var(--well); box-shadow: inset 0 0 0 1px var(--ring); color: var(--ink-2); font-size: 13px; cursor: pointer; }
.soltar:hover, .soltar.sobre { background: light-dark(#f3f9fb, #1b2a33); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(35, 131, 226, .6); }
.soltar .i { width: 20px; height: 20px; color: var(--ink-3); }
.props.detalhe { margin-top: 18px; }
.props.detalhe .prop-v { min-height: 34px; padding: 0 8px; gap: 0 10px; }
.nada { color: var(--ink-2); }
.confirmar { width: 300px; padding: 12px; }
.conf-t { font-size: 13.5px; line-height: 1.45; }
.peek-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 44px; box-shadow: inset 0 1px 0 var(--line); }
.peek-foot .erro { flex-basis: 100%; }
.kbd { margin-left: auto; color: var(--ink-2); font-size: 12.5px; }
kbd { display: inline-block; min-width: 20px; padding: 1px 5px; border-radius: 4px; background: var(--pb); box-shadow: inset 0 -1px 0 light-dark(rgba(15, 15, 15, .1), rgba(255, 255, 255, .1)); color: var(--pt); font: 500 11.5px/1.5 var(--font); text-align: center; }

/* linha do tempo do cartão */
.tempo { margin-top: 20px; }
.ev { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.ev-h { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ev-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ev-t .det { color: var(--ink-2); font-size: 13px; }

/* menus e avisos */
[popover] { position: fixed; inset: auto; margin: 0; padding: 6px; border: 0; border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); }
.menu { width: 224px; }
.pop-h { padding: 6px 8px 6px; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.mi { display: flex; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 8px; border-radius: 5px; text-align: left; white-space: nowrap; }
.mi:hover, .mi:focus-visible { background: var(--hover); outline: none; }
.mi .i { color: var(--icon); }
.mi .r { margin-left: auto; }
.mi-red, .mi-red .i { color: var(--danger-t); }
.tema { margin-bottom: 4px; padding: 0 8px 10px; box-shadow: inset 0 -1px 0 var(--line); }
.tema .pop-h { padding: 2px 0 6px; }
.tema .seg { display: flex; }
.tema .seg button { flex: 1; padding: 0 6px; font-size: 13px; }
.avisos { width: 372px; max-height: min(520px, 80vh); overflow-y: auto; padding: 6px 6px 4px; }
.aviso { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: 6px; text-align: left; }
.aviso:hover, .aviso:focus-visible { background: var(--hover); outline: none; }
.aviso-i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pb); color: var(--pt); }
.aviso.c-red .aviso-t { color: var(--pt); }
.aviso-t { font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
.aviso-h { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.unread { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  max-width: 520px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--toast);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-toast);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity .2s, transform .32s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* janelas estreitas (notebook com o painel do navegador aberto): a barra cabe sem rolar a página */
@media (max-width: 1080px) {
  .bar-in { gap: 12px; }
  .tab { padding: 0 6px; }
  .sep { display: none; }
  .live { gap: 0; padding: 0 8px; font-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .card.chegou { animation: none; }
}
