/* Brincar e rotina (Semeando Sabores). Prefixo br-. Toques com 44px; leitura mínima de 13px. */
.br-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.br-tabs > a, .br-tabs > button { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--card);
  color: var(--ink); font: 800 .95rem var(--f-body); text-decoration: none; cursor: pointer; }
.br-tabs > .on { background: var(--green); border-color: var(--green); color: var(--on-green); }
.br-tabs.sm > button { padding: 6px 14px; font-size: .9rem; }

/* cartões do hub */
.br-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; align-items: start; }
.br-tile { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .15s var(--ease); }
.br-tile:hover { transform: translateY(-3px); }
.br-tile-img { height: 128px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 10px; background: linear-gradient(135deg, var(--a), var(--b)); }
.br-tile-img img { max-height: 104px; max-width: 42%; object-fit: contain; }
.br-tile-bd { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.br-tile-bd strong { font: 700 1.1rem var(--f-head); } .br-tile-bd small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.br-tile-bd em { align-self: flex-start; margin-top: 8px; font: 800 .8125rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; font-style: normal; padding: 5px 10px; border-radius: 999px; background: var(--a); color: var(--tc); }
.br-g { --a: #e6f2df; --b: #d5ebc9; --tc: #3f6e37; } .br-y { --a: #fff6d8; --b: #fde6b8; --tc: #7a4f00; } .br-o { --a: #f2f2dc; --b: #e7e7c4; --tc: #55551a; }
.br-b { --a: #e5f0f8; --b: #d2e5f3; --tc: #2d5878; } .br-r { --a: #fde9e6; --b: #f9d3cd; --tc: #9c2a22; } .br-p { --a: #f3e8f8; --b: #e6d4f1; --tc: #6b3590; } .br-l { --a: #f6efdf; --b: #efe1bf; --tc: #8a4f00; }
.br-old { margin-top: 10px; }

/* cabeçalho de cada recurso */
.br-head { display: flex; gap: 16px; align-items: center; margin: 4px 0 16px; }
.br-head img { width: 84px; height: 84px; object-fit: contain; flex: none; padding: 6px; border-radius: 22px; background: var(--a, var(--blush)); }
.br-head h1 { margin: 2px 0 2px; } .br-head p { margin: 0; color: var(--muted); }
.br-c-g { --a: #e6f2df; } .br-c-y { --a: #fff3cf; } .br-c-o { --a: #f2f2dc; } .br-c-b { --a: #e5f0f8; }

.br-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.br-sub { font: 700 1.1rem var(--f-head); margin: 18px 0 6px; }
.br-muted { color: var(--muted); font-size: .92rem; margin: 6px 0; }
.br-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.br-chip, .br-chips > button { min-height: 44px; border: 2px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 700 .95rem var(--f-body); cursor: pointer; }
.br-chip.on { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.br-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.br-msg { display: flex; gap: 12px; align-items: center; background: #f2fbef; border-radius: 16px; padding: 10px 14px; margin-top: 14px; }
.br-msg img { width: 64px; height: auto; }

/* Nosso combinado */
.br-comb { border: 2px solid #f0cfc9; }
.br-script { font: 400 2.1rem var(--f-script); color: var(--coral-ink); margin: 0 0 6px; }
.br-comb-eu { font-size: 1.05rem; } .br-comb-eu b { border-bottom: 2px solid var(--coral-ink); padding: 0 6px; }
.br-comb-list { list-style: none; padding: 0; margin: 8px 0; }
.br-comb-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed #f0d0cc; }
.br-comb-list li span { flex: 1; font-weight: 700; overflow-wrap: anywhere; }
.br-chk { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 2px solid var(--leafg); background: #fff; color: #fff; font: 900 1.2rem var(--f-body); cursor: pointer; }
.br-chk.on { background: var(--leaf); border-color: var(--leaf); }
.br-pad { display: block; width: 100%; max-width: 520px; aspect-ratio: 10 / 3; background: #fff; border: 2px dashed #e0b9b2; border-radius: 14px; touch-action: none; cursor: crosshair; }
.br-sig { margin: 8px 0; } .br-sig img { width: 100%; max-width: 360px; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.br-sig figcaption { color: var(--st-ok); font-weight: 800; margin-top: 6px; }

/* Minha rotina */
.br-rot { background: #fffaf0; }
.br-rot-h { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .br-rot-h > div { flex: 1; min-width: 160px; }
.br-rot-h h2 { margin: 0; font: 700 1.3rem var(--f-head); } .br-rot-h img { width: 58px; height: 58px; }
.br-prog { height: 12px; background: #eee; border-radius: 99px; overflow: hidden; margin: 12px 0 16px; }
.br-prog i { display: block; height: 100%; background: linear-gradient(90deg, #f6c24a, #56b04a); transition: width .3s; }
.br-rc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (min-width: 700px) { .br-rc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.br-rc { position: relative; display: flex; flex-direction: column; }
.br-rc-b { position: relative; width: 100%; min-height: 150px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); }
.br-rc .br-rc-b img { height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.br-rc-b b { font: 800 .85rem var(--f-body); letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.br-rc.done .br-rc-b { background: #f2fbef; border-color: #9fd18f; } .br-rc.done .br-rc-b img { opacity: .55; }
.br-star { position: absolute; top: 6px; right: 10px; color: #f6c24a; font-size: 1.5rem; }
.br-rc-txt { font-size: 2.6rem; line-height: 76px; }
.br-ref { display: block; margin-top: 6px; text-align: center; font: 800 .8125rem var(--f-body); background: #fdf0dc; color: #8a4f00; border-radius: 999px; padding: 6px 8px; text-decoration: none; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.br-edit { list-style: none; padding: 0; margin: 10px 0; }
.br-edit li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.br-edit li > span:not(.br-rc-txt) { flex: 1; min-width: 120px; font-weight: 700; } .br-edit li.hid { opacity: .5; } .br-edit .br-rc-txt { font-size: 1.6rem; line-height: 36px; }
.br-ic { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 900; cursor: pointer; } .br-ic:disabled { opacity: .35; }
.br-add input { flex: 2 1 200px; } .br-add select { flex: 1 1 160px; }
.br-hist { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 120px; align-items: end; }
.br-hist > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.br-hist span { width: 70%; background: linear-gradient(#56b04a, #a1d296); border-radius: 6px 6px 0 0; }
.br-hist em { font: 700 .8125rem var(--f-body); font-style: normal; } .br-hist small { color: var(--muted); font-size: .8125rem; text-transform: capitalize; }

/* Família */
.br-cf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); gap: 12px; }
.br-cf-it { position: relative; background: #f2f2dc; border: 2px solid transparent; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); min-height: 130px; }
.br-cf .br-cf-it img { height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.br-cf-it b { font-size: .92rem; background: #fff; border-radius: 10px; padding: 6px; border: 1px solid #f4c9b9; width: 100%; }
.br-cf-it.on { border-color: #e3826a; background: #fff3ea; }
.br-tick { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-weight: 900; }
.br-qcard { border-radius: 20px; padding: 26px; text-align: center; font: 700 1.4rem var(--f-head); min-height: 120px; display: flex; align-items: center; justify-content: center; margin: 6px 0 10px; }
.br-qcard.sun { background: #fff3c8; color: #7a4f00; } .br-qcard.blue { background: #dcecf7; color: #2d5878; }
.br-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); gap: 14px; margin-top: 10px; }
.br-note { position: relative; background: #ffe6a8; border: 0; border-radius: 6px; padding: 18px 10px 26px; text-align: center; font: 700 1.05rem var(--f-head); color: #4a3200; box-shadow: 0 3px 6px #0001; transform: rotate(-1.5deg); cursor: pointer; min-height: 96px; }
.br-note:nth-child(2n) { transform: rotate(1.5deg); background: #ffd9c2; }
.br-note small { position: absolute; left: 0; right: 0; bottom: 6px; font: 800 .8125rem var(--f-body); color: var(--st-ok); }
.br-note.dita { outline: 3px solid var(--leaf); }
.br-det summary { font-weight: 800; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.br-det li { margin: 6px 0; }
.br-home-q { font: 700 1.15rem var(--f-head); color: #7a4f00; background: #fff3c8; border-radius: 14px; padding: 12px 14px; margin: 4px 0 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 600px) {
  .br-head img { width: 64px; height: 64px; } .br-head { gap: 12px; }
  .br-script { font-size: 1.8rem; } .br-qcard { font-size: 1.2rem; padding: 18px; }
}

/* ===================== JOGOS NOVOS ===================== */
.br-c-p { --a: #f3e8f8; } .br-c-r { --a: #fde9e6; } .br-c-l { --a: #f6efdf; }
.br-pill { display: inline-flex; align-items: center; background: #f3eee8; border-radius: 99px; padding: 4px 12px; font: 800 .875rem var(--f-body); white-space: nowrap; }
.br-pill.or { background: #fde3b8; color: #6b4b00; }
.br-cm-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.br-cm-h .br-muted { margin: 0; flex: 1; min-width: 200px; }
.br-center { text-align: center; }
.btn.br-btn-p { background: #7b3fa0; border-color: #7b3fa0; color: #fff; } .btn.br-btn-r { background: #c2372f; border-color: #c2372f; color: #fff; } .btn.br-btn-o { background: #b86a0c; border-color: #b86a0c; color: #fff; }
.br-chip.on.red { background: #c2372f; border-color: #c2372f; } .br-chip.on.or { background: #b86a0c; border-color: #b86a0c; color: #fff; }

/* Corrida Matinal */
.br-cm { background: #f3e8f8; border: 2px solid #e3cdef; }
.br-board { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; background: #7b3fa0; border-radius: 22px; }
.br-casa { position: relative; min-height: 104px; border-radius: 16px; padding: 26px 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; color: #fff; font: 800 .875rem/1.15 var(--f-body); }
.br-casa.bom { background: #3f8a35; } .br-casa.mau { background: #c9445b; } .br-casa.ini { background: #f6c24a; color: #5a3b00; } .br-casa.fim { background: #fff; color: #7b3fa0; }
.br-casa.here { outline: 4px solid #fff; outline-offset: -3px; box-shadow: 0 0 0 4px #f6c24a; }
.br-casa-n { position: absolute; top: 6px; left: 9px; font-size: .875rem; opacity: .9; }
.br-casa-ic { position: absolute; top: 4px; right: 8px; font-size: 1.1rem; }
.br-casa-t { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; max-width: 100%; }
.br-casa-fim { width: 64%; max-height: 46px; object-fit: contain; margin-bottom: 4px; }
.br-board .br-peao { position: absolute; top: -10px; right: -6px; width: 50px; height: auto; filter: drop-shadow(0 3px 3px #0004); }
.br-cm-ctl { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.br-dado { width: 92px; height: 92px; flex: none; border-radius: 20px; background: #fff; border: 3px solid #7b3fa0; display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; padding: 8px; }
.br-dado img { width: 22px; height: 22px; }
.br-dado.roll { animation: br-roll .5s; }
@keyframes br-roll { 0% { transform: rotate(0); } 50% { transform: rotate(200deg) scale(.85); } 100% { transform: rotate(360deg); } }
.br-cm-msg { flex: 1 1 220px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 8px 14px; min-height: 64px; }
.br-cm-msg:empty { background: transparent; }
.br-cm-msg img { width: 64px; height: auto; }

/* Rei e Rainha da Feira */
.br-rr { background: #fde9e6; border: 2px solid #f5c9c2; }
.br-pick { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.br-pick button { background: #fff; border: 3px solid transparent; border-radius: 20px; padding: 12px 18px; cursor: pointer; font: 800 1rem var(--f-body); color: var(--ink); min-width: 160px; }
.br-pick button:hover, .br-pick button:focus-visible { border-color: #c2372f; }
.br-pick .br-pick img, .br-pick button img { height: 180px; width: auto; display: block; margin: 0 auto 8px; }
.br-rr-lay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; } .br-rr-lay > div { min-width: 0; }
.br-rr .br-rr-fim { height: 220px; width: auto; }
.br-carta { display: block; width: 250px; max-width: 100%; aspect-ratio: 233 / 360; margin: 0 auto; perspective: 900px; background: none; border: 0; padding: 0; cursor: pointer; }
.br-carta-in { position: relative; display: block; width: 100%; height: 100%; transition: transform .6s; transform-style: preserve-3d; }
.br-carta.vir .br-carta-in { transform: rotateY(180deg); }
.br-carta-v, .br-carta-f { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; overflow: hidden; }
.br-carta .br-carta-v img, .br-carta .br-carta-f img { width: 100%; height: 100%; object-fit: cover; }
.br-carta-f { transform: rotateY(180deg); }
.br-carta-txt { position: absolute; left: 12%; right: 12%; top: 24%; bottom: 30%; color: #fff; font: 700 1.05rem/1.3 var(--f-head); display: flex; align-items: center; justify-content: center; text-align: center; }
.br-opts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.br-opts button { min-width: 104px; min-height: 44px; background: #fff; border: 2px solid #f2c7c0; border-radius: 16px; padding: 10px 14px; font: 800 1rem var(--f-body); color: var(--ink); cursor: pointer; }
.br-opt-f { display: block; font-size: 2.1rem; line-height: 1.2; }
.br-opts button.ok { background: #e6f2df; border-color: #5f9a55; } .br-opts button.no { background: #fde4e4; border-color: #e88; opacity: .6; text-decoration: line-through; }
.br-coroa { position: relative; width: 320px; max-width: 100%; margin: 0 auto; }
.br-coroa > img { width: 100%; height: auto; display: block; }
.br-joias { position: absolute; left: 4%; right: 4%; bottom: 10%; height: 38%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 2px 4px; font-size: 1.7rem; }

/* Detetive dos Alimentos */
.br-det-bg { background: #f6efdf radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px) 0 0 / 6px 6px; border: 2px solid #e8d9b5; }
.br-det-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.br-det-top img { flex: none; width: 110px; height: auto; }
.br-det-t { margin: 0; font: 700 1.6rem var(--f-head); color: #b86a0c; }
.br-steps { display: flex; gap: 6px; margin: 6px 0 14px; } .br-steps i { flex: 1; height: 8px; border-radius: 99px; background: #eadfc5; } .br-steps i.on { background: #e98a1d; }
.br-cp { display: grid; gap: 3px; max-width: 480px; }
.br-cp button { aspect-ratio: 1; min-width: 0; border: 1.5px solid #f0b75b; background: #fff; font: 800 1rem var(--f-body); border-radius: 6px; padding: 0; color: #4a3200; cursor: pointer; }
.br-cp button.sel { background: #ffe1a8; } .br-cp button.found { background: #e98a1d; color: #fff; border-color: #e98a1d; }
.br-enig { background: #fff; border: 3px solid #f0b75b; border-radius: 12px; padding: 14px; font: 800 1.05rem/1.5 var(--f-body); color: #6b4b2b; margin: 8px 0; }
.br-cores { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.br-cores button[data-br="cor"] { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #ccc; cursor: pointer; }
.br-cores button.on { box-shadow: 0 0 0 3px #3b2b3a; }
.br-pad.det { max-width: 480px; aspect-ratio: 2 / 1; border: 3px solid #f0b75b; border-style: solid; }
.br-inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.br-inv-q { background: #fff; border: 2px solid #f0b75b; border-radius: 16px; padding: 12px; }
.br-inv-q b { display: block; margin-bottom: 8px; color: #6b4b2b; }

/* Minhas conquistas */
.br-conq { margin: 18px 0 0; }
.br-conq ul { list-style: none; padding: 0; margin: 0; }
.br-conq li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.br-conq li img { width: 44px; height: 44px; object-fit: contain; }
.br-conq li span { flex: 1; display: flex; flex-direction: column; } .br-conq small { color: var(--muted); font-size: .875rem; }

/* Diploma (janela) */
.br-dip { border: 0; padding: 0; border-radius: 18px; width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--card); }
.br-dip::backdrop { background: rgba(59, 43, 58, .6); }
.br-dip-in { padding: 16px; }
.br-dip-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.br-dip-top h2 { margin: 0; font: 700 1.15rem var(--f-head); color: var(--c); }
.br-dip-img { display: block; width: 100%; height: auto; border-radius: 10px; margin: 10px 0; box-shadow: 0 2px 10px #0002; }
.br-dip-nm { display: flex; flex-direction: column; gap: 4px; font-weight: 800; }

/* impressão (diploma e coroa): só as folhas, em A4 deitado */
.br-print { display: none; }
.br-recortar { padding: 14mm; font-family: var(--f-body); }
.br-recortar h2 { text-align: center; color: #c2372f; margin: 0 0 8mm; }
.br-recortar > div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6mm; }
.br-recortar span { display: flex; flex-direction: column; align-items: center; gap: 2mm; }
.br-recortar i { width: 30mm; height: 30mm; border: 2px dashed #555; border-radius: 50%; display: grid; place-items: center; font-size: 16mm; font-style: normal; }
.br-recortar i svg { width: 18mm; height: 18mm; }
@media print {
  html.br-printing body > *:not(.br-print) { display: none !important; }
  html.br-printing, html.br-printing body { background: #fff !important; }
  html.br-printing .br-print { display: block; background: #fff; }
  .br-print-pg { width: 297mm; height: 209mm; page-break-after: always; break-after: page; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .br-print-pg:last-child { page-break-after: auto; break-after: auto; }
  .br-print-pg > img { width: 100%; height: 100%; object-fit: contain; }
}

@media (max-width: 700px) {
  .br-board { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px; gap: 8px; }
  .br-rr-lay { grid-template-columns: minmax(0, 1fr); }
  .br-det-top img { width: 80px; }
  .br-pick button img { height: 140px; }
}

/* ===================== FASE A3 ===================== */
/* Rastreador de hábitos: grade com rolagem própria e a 1ª coluna fixa no celular */
.br-trk-card { border: 2px solid #f6cdbd; }
.br-trk-dica { display: none; } @media (max-width: 600px) { .br-trk-dica { display: block; } }
.br-trk-wrap { overflow-x: auto; margin: 8px 0; -webkit-overflow-scrolling: touch; }
.br-trk { display: grid; min-width: 520px; gap: 4px; }
.br-trk-r { display: grid; grid-template-columns: minmax(140px, 1.6fr) repeat(7, minmax(44px, 1fr)); gap: 4px; align-items: stretch; }
.br-trk-c { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.br-trk-l { justify-content: flex-start; font-weight: 700; font-size: .92rem; line-height: 1.2; position: sticky; left: 0; background: var(--card); z-index: 1; padding-right: 6px; overflow-wrap: break-word; }
.br-trk-l small { color: var(--muted); font-weight: 600; font-size: .8125rem; margin-left: 3px; }
.br-trk-dh { flex-direction: column; gap: 0; color: var(--muted); } .br-trk-dh b { color: var(--ink); } .br-trk-dh small { font-size: .8125rem; }
.br-trk-dh.hoje b { color: #d0643e; } .br-trk-dh.hoje { background: #fff1ea; border-radius: 10px; }
.br-trk-b { width: 100%; height: 44px; border-radius: 10px; border: 1.5px solid #f4c9b9; background: #fff; font-size: 1.15rem; cursor: pointer; }
.br-trk-b.on { background: #ffe6dc; border-color: #f4a58a; }
.br-trk-b.agua { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; border-color: #9cc8e8; background: #eef7ff; font: 800 1rem var(--f-body); color: #2d5878; }
.br-trk-b.agua small { font-size: .8125rem; }
.br-trk-v { width: 100%; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #faf6f2; font-size: 1.1rem; }
.br-trk-v.on { background: #ffe6dc; } .br-trk-v.agua { background: #eef7ff; color: #2d5878; font-weight: 800; }
.br-trk-r.ci .br-trk-v { background: #f6f3f8; }
.br-notas { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; } .br-notas textarea { width: 100%; }

/* Ajudantes da casa e Checklist do passeio */
.br-tasks { list-style: none; padding: 0; margin: 8px 0; }
.br-tasks li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.br-tasks li b { flex: 1; min-width: 140px; }
.br-tasks li.dest { background: #fff6e8; border-radius: 12px; padding: 8px 10px; border-bottom: 0; margin-bottom: 4px; }
.br-kit { font: 800 .8125rem var(--f-body); background: var(--leaf-soft); color: var(--green-ink); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
a.br-kit.link { background: #fdf0dc; color: #8a4f00; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.br-data { display: flex; flex-direction: column; gap: 4px; font-weight: 800; }

/* ficha da nutri */
.brn-list { list-style: none; padding: 0; margin: 6px 0; }
.brn-list li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.brn-list li b { min-width: 180px; } .brn-list li span { flex: 1; min-width: 160px; } .brn-list li small { color: var(--muted); width: 100%; }
.brn-draws { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 10px; }
.brn-draws figure { margin: 0; } .brn-draws img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.brn-draws figcaption, .brn-sig figcaption { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.brn-sig { margin: 0 0 8px; } .brn-sig img { width: 100%; max-width: 320px; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.brn-rot { display: grid; gap: 8px; } .brn-rot > div { display: grid; grid-template-columns: 150px 1fr 48px; gap: 10px; align-items: center; } .brn-rot .br-prog { margin: 0; }
.brn-sec { padding: 0; margin-bottom: 10px; } .brn-sec summary { cursor: pointer; padding: 14px 16px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; min-height: 44px; }
.brn-sec summary small { color: var(--muted); } .brn-body { padding: 0 16px 16px; }
.brn-trilha { padding-left: 22px; display: grid; gap: 6px; } .brn-trilha li { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.brn-trilha input { flex: 2 1 220px; } .brn-trilha select { flex: 1 1 200px; }
@media (max-width: 600px) { .brn-rot > div { grid-template-columns: 1fr 48px; } .brn-rot > div b { grid-column: 1 / -1; } }

/* ===================== QUEM DECIDE? ===================== */
.qd-barra { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.qd-barra i { height: 10px; border-radius: 99px; background: #e4e0e6; }
.qd-barra i.ok { background: #56b04a; } .qd-barra i.atual { background: #f6c24a; }
.qd-n { margin: 8px 0 4px; }
.qd-balao { position: relative; background: #fff; border: 3px solid #d2e5f3; border-radius: 26px; padding: 22px 20px; margin: 6px auto 20px; max-width: 560px; text-align: center;
  font: 700 1.35rem/1.3 var(--f-head); color: var(--ink); }
.qd-balao::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 24px; height: 24px; background: #fff; border-right: 3px solid #d2e5f3; border-bottom: 3px solid #d2e5f3; transform: translateX(-50%) rotate(45deg); }
.qd-perg { text-align: center; font: 800 1.05rem var(--f-body); margin: 0 0 12px; }
.qd-ps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 620px; margin: 0 auto; }
.qd-p { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 150px; padding: 12px 8px; border-radius: 22px; border: 4px solid transparent; background: var(--bg); color: var(--cor); cursor: pointer; font: 800 1.1rem var(--f-body); }
.qd-p img { height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.qd-ps .qd-p img { height: 84px; }
.qd-p:not(:disabled):hover, .qd-p:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .1); }
.qd-p:disabled { cursor: default; opacity: .75; }
.qd-p.certo { border-color: #3f8a35; opacity: 1; } .qd-p.errado { border-color: #e2557a; opacity: 1; }
.qd-p.certo b::after { content: " ✓"; } .qd-p.errado b::after { content: " ✗"; }
.qd-msg { display: flex; gap: 12px; align-items: center; border-radius: 16px; padding: 10px 14px; margin: 16px auto 0; max-width: 620px; }
.qd-msg.certo { background: #f2fbef; } .qd-msg.quase { background: #fdf0f3; }
.qd-msg img { width: 56px; height: 56px; object-fit: contain; flex: none; } .qd-msg p { margin: 0; font-weight: 700; }
.qd-fim-img { width: 180px; height: auto; } .qd-fim { font: 700 1.6rem var(--f-head); margin: 6px 0; }
.qd-resumo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 16px 0; text-align: left; }
.qd-card { background: var(--bg); color: var(--cor); border-radius: 18px; padding: 14px; }
.qd-card img { height: 64px; width: auto; display: block; margin-bottom: 6px; } .qd-card b { font: 800 1.1rem var(--f-body); }
.qd-card ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink); } .qd-card li { margin: 4px 0; }
@media (max-width: 480px) { .qd-p { min-height: 128px; font-size: 1rem; } .qd-ps .qd-p img { height: 64px; } .qd-balao { font-size: 1.15rem; padding: 18px 14px; } }
