/* Cozinha de Focinho: marca. Carrega por último e assume a paleta "Divertida e afetiva" de identidade.md.
 * Amarelo só como preenchimento (botão principal), nunca como texto. Texto sobre amarelo é sempre marinho. */
:root{
 --bg:#FFF8EC;--card:#FFFFFF;--ink:#1F2A44;--muted:#4E5874;--line:#F1DFBF;
 --warm:#FFE9C2;--coral:#B8402D;--coral-soft:#FFE8E3;
 --cta:#FFC93C;--cta-ink:#1F2A44;
 --primary:#1F2A44;--secondary:#B8402D;--accent:#1F2A44;--button:#1F2A44;
 --primary-soft:#FFE9C2;--green-soft:#FFE9C2;--yellow-soft:#FFE9C2;--sky:#FFE9C2;--sky-strong:#B8402D;
 --radius:20px;
 font-family:Nunito,system-ui,sans-serif;color:var(--ink);background:var(--bg)
}
body{background:var(--bg);color:var(--ink);font-family:Nunito,system-ui,sans-serif}
h1,h2,h3,.brand strong,.detail-title,.stat-num,.ring strong,.nutrition strong,.breed-stats b,.breed-result strong,.grams-result strong,.today-dog strong,.dog-portion strong,.preparation-total strong,.weight-summary strong,.breed-shortcut b,.recipe-body h3{font-family:Fredoka,system-ui,sans-serif;font-weight:600}
/* tracking por tamanho (OFICIO 2) */
body h3,body .brand strong,body .recipe-body h3,body .breed-shortcut b,body .today-dog strong{letter-spacing:0}
body h1,body h2{letter-spacing:-.02em}
body .dialog-head h2,body .section-head h2{letter-spacing:-.01em}
body .fine,body small,body .mini{letter-spacing:.01em}
body .btn,body .pill,body .nav button,body .bottom-nav button,body .text-btn{letter-spacing:.02em}
body .eyebrow,body .tag,body .brand small,body .hero .eyebrow,body .daily .eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700}
body .eyebrow{color:var(--coral)}
body .daily .eyebrow{color:var(--muted)}
body button,body .btn,body .text-btn,body .nav button,body .category-chip,body .pill,body .segmented button,body .dog-chip,body .day{font-weight:700}
body .field label,body label{font-weight:700}

/* fundo, cartões e bordas */
body .sidebar,body .card,body .recipe-card,body .breed-card,body .care-item,body .food-result,body dialog,body .recipe-details,body .profile-details{background:var(--card);border-color:var(--line)}
body .card,body .care-item,body .breed-card,body .recipe-card{border-radius:20px}
body .card.soft{background:var(--warm)}
body .recipe-card{box-shadow:none;border:1px solid var(--line)}
body dialog{box-shadow:none;border:1px solid var(--line);border-radius:20px}
body dialog::backdrop{background:#1F2A4466;backdrop-filter:none}
body .sidebar{border-right:1px solid var(--line)}
body .bottom-nav{background:var(--card);backdrop-filter:none}
body input,body select,body textarea{border-color:#CDB98E;border-radius:16px;min-height:44px;background:#fff;color:var(--ink)}
body input[type=checkbox]{min-height:0;width:22px;height:22px;accent-color:var(--ink)}
body :focus-visible{outline:3px solid var(--ink);outline-offset:3px}
body .btn:focus-visible{outline-offset:4px}

/* botões: amarelo com texto marinho, nunca branco */
body .btn{background:var(--cta);color:var(--cta-ink);border-radius:16px;min-height:44px}
body .btn.secondary{background:var(--warm);color:var(--ink)}
body .btn.outline{background:#fff;color:var(--ink);border:1px solid #CDB98E}
body .btn.small{min-height:44px}
body .btn.danger{background:var(--coral);color:#fff}
body .text-btn{color:var(--ink);text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center;padding:6px 4px}
body .hero .text-btn{text-decoration:underline}
body .circle-btn,body .meal .list-row .circle-btn{width:44px;height:44px;border-color:#CDB98E}
body .meal .list-row .text-btn{min-height:44px}
body .fav{width:44px;height:44px;color:var(--coral)}
body .fav.selected .icon{fill:var(--coral)}
body .pill{min-height:44px;background:#fff;border-color:#CDB98E;color:var(--ink)}
body .filters .pill.active,body .day.active,body .pill.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}
body .segmented{background:var(--warm)}
body .segmented button{color:var(--ink);min-height:44px}
body .segmented button.active{background:var(--ink);color:var(--bg)}
body .nav button.active{background:var(--warm);color:var(--ink)}
body .nav button .icon,body .bottom-nav button .icon,body .dog-chip .icon,body .daily-extras .icon,body .empty-meals .icon{color:currentColor!important}
body .bottom-nav button{min-height:44px;color:var(--muted)}
body .bottom-nav button.active{color:var(--ink)}
body .dog-chip{min-height:44px;background:#fff;border-color:#CDB98E}
body #toast{background:var(--ink);color:var(--bg)}
body .footer button{min-height:44px;padding:0 6px}
body .footer,body .footer button,body .offline-status{font-size:12px}
body .side-foot button{min-height:44px}

/* faixas de cor trocadas por superfície quente neutra */
body .date-pill{background:var(--warm);color:var(--ink);font-size:12px}
body .hero,body .natural-hero{background:var(--warm)}
body .hero-text p{color:var(--muted)}
body .today-dog{background:var(--warm);border-color:var(--line)}
body .preparation{background:var(--warm)}
body .preparation-options{background:#ffffffb0}
body .nutrition>div,body .nutrition>div:nth-child(2),body .nutrition>div:nth-child(3),body .bcs,body .bcs:nth-child(2),body .bcs:nth-child(3),body .breed-stats>div,body .breed-stats>div:nth-child(2),body .breed-stats>div:nth-child(3),body .breed-result{background:var(--warm)}
body .breed-stats{grid-template-columns:repeat(2,1fr)}
body .breed-stats .icon,body .breed-stats>div:nth-child(2) .icon{color:var(--coral)}
body .breed-shortcut{background:var(--warm);border:1px solid var(--line)}
body .breed-shortcut>.icon{color:var(--coral)}
body .breed-shortcut small{color:var(--muted);font-size:13px}
body .care-item>span,body .steps li:before{background:var(--warm);color:var(--ink)}
body .breed-profile-status{background:var(--warm);color:var(--ink);display:flex;align-items:center;gap:8px}
body .breed-badge{background:var(--warm);color:var(--ink)}
body .profile-breed-summary{background:var(--warm)}
body .served-recipe{color:var(--ink)}
body .bcs-photo,body .breed-open img,body .breed-portrait,body .recipe-image{background:var(--warm)}
body .dog-portion{background:var(--warm);border:1px solid var(--line)}
body .dog-portion small,body .dog-portion strong{color:var(--ink)}
body .breed-result strong,body .grams-result strong,body .daily-breakdown b{color:var(--ink)}
body .daily-breakdown,body .recipe-meta,body .breed-title p,body .page-title p,body .care-item p,body .recipe-reason,body .stat-label,body .greeting p{color:var(--muted)}
body .daily-extras{border-top:1px dashed var(--line)}
body .ring{background:conic-gradient(var(--ink) var(--progress,0%),var(--warm) 0)}
body .progress{background:var(--warm)}

/* etiquetas e categorias: neutras (o acento fica para o botão e o rótulo da página) */
body .tag,body .tag.meal,body .tag.topper,body .tag.treat,body .recipe-body .tag{background:var(--warm);color:var(--ink);border-radius:999px;padding:5px 10px}
body .category-chip,body .category-chip.meal,body .category-chip.topper,body .category-chip.treat{background:var(--warm);color:var(--ink);border-radius:16px;min-height:44px}
body .recipe-card .recipe-body,body .recipe-card.meal .recipe-body,body .recipe-card.topper .recipe-body,body .recipe-card.treat .recipe-body{background:#fff;color:var(--ink)}
body .recipe-body h3{color:var(--ink)}

/* avisos */
.notice{background:var(--warm);border:1px solid var(--line);border-radius:20px;padding:16px 18px;margin:16px 0;color:var(--ink)}
.notice strong{display:block;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:18px;margin-bottom:4px}
.notice p{margin:0 0 8px;font-size:14px;line-height:1.55}
.notice p:last-child{margin-bottom:0}
.notice .btn{margin-top:10px}
.notice.lock{background:var(--coral-soft);border-color:#EFC3BA}
.notice.warn{background:#fff;border-color:#CDB98E}
.alert-item{grid-column:1/-1;margin:0}
.plain-list{margin:0 0 8px;padding-left:20px}
.plain-list li{margin:6px 0;line-height:1.55}
.guide-card{margin:18px 0}
.guide-card h2{font-size:24px;margin-bottom:10px}
.guide-steps{display:block}
.guide-steps .care-item{margin-top:12px}
.guide-actions{margin:20px 0}
.ration-block{border:1px solid var(--line);border-radius:20px;padding:16px;margin:20px 0 4px;background:#fff}
.ration-block legend{font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:18px;padding:0 8px}
.ration-block .fields{margin-top:6px}

/* estados da lista "Pode ou não pode?": ponto e texto, sem barra lateral colorida */
body .food-result:has(.toxic),body .food-result:has(.care),body .food-result:has(.avoid),body .food-result:has(.unknown){border-left:1px solid var(--line)}
body .food-result{min-height:64px;background:#fff}
body .status-text.avoid{color:#7A5A1F}
body .status-text.care{color:#6B5110}
body .status-text.safe{color:#28613a}
body .status-text.toxic{color:#9A3A2D}
body .status-text.unknown{color:var(--muted)}

/* textos pequenos acima de 11px e contraste */
body .fine,body small{font-size:12px;color:var(--muted)}
body .tag{font-size:12px}
body .nutrition small,body .breed-stats small,body .list-row small,body .recipe-meta{font-size:12px}

/* amarelo no máximo duas vezes por tela: o botão de servir cada refeição fica neutro */
body .meal-footer .btn{background:var(--warm);color:var(--ink);border:1px solid var(--line)}
body .meal-footer .btn:disabled{opacity:.6}

/* Logo 80% maior (pedido de 25/10/2026): 42px -> 76px no computador, 34px -> 61px no celular */
.brand img{width:76px;height:76px;border-radius:0}
@media(max-width:720px){.mobile-brand img{width:61px;height:61px}}
/* Logo ao lado do titulo e subtitulo, centralizado na altura do bloco de texto (print de 25/10/2026) */
.brand{flex-direction:row;align-items:center;gap:12px}
@media(max-width:720px){.mobile-brand{align-items:center;gap:12px}}
.brand img,.mobile-brand img{flex-shrink:0;align-self:center}
.sidebar .brand img{width:64px;height:64px}
.sidebar .brand strong{font-size:20px;line-height:1.1}
@media(min-width:721px){.shell{grid-template-columns:256px minmax(0,1fr)}.sidebar .brand img{width:60px;height:60px}.sidebar .brand small{white-space:nowrap;font-size:11px;letter-spacing:.06em}}

/* alergias e alimentos restritos */
.avoid-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:8px}
.check-line{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font-weight:400;font-size:14px;line-height:1.3}
body .restrict{display:block;color:#9A3A2D;font-weight:700;margin-top:8px;font-size:13px;line-height:1.35}
body .recipe-card.restricted .recipe-image{opacity:.5}
@media(max-width:600px){.avoid-grid{grid-template-columns:1fr}}

/* meus cães */
.dog-list{display:grid;gap:14px;margin:18px 0}
.dog-card{display:flex;align-items:center;gap:14px;padding:14px}
.dog-card img{width:76px;height:76px;border-radius:16px;object-fit:cover;background:var(--warm);flex-shrink:0}
.dog-card h3{margin:0 0 2px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dog-card .mini{margin:0}
.dog-card.current{border:2px solid var(--ink)}
.dog-card-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.dog-sheet-actions{margin:0 0 18px}
.archived{margin-top:22px}
.archived summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
@media(max-width:600px){.dog-card{flex-wrap:wrap}.dog-card-actions{flex-direction:row;width:100%;justify-content:space-between}}

/* alergias: caixas iguais e alinhadas no topo do texto */
.avoid-grid{align-items:start}
.check-line{align-items:flex-start;padding:10px 0;min-height:44px;cursor:pointer}
.check-line input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;min-width:24px;margin:0;padding:0}
.check-line .check-text{display:block;line-height:1.35;padding-top:2px}
.check-line .check-text small{display:block;font-size:12px;line-height:1.4;color:var(--muted);margin-top:2px}
.avoid-other{margin-top:16px}
.avoid-report{list-style:none;margin:10px 0 0;padding:0;font-size:14px;line-height:1.5}
.avoid-report li{margin:4px 0}
.avoid-report:empty{display:none}
.notice .avoid-report strong{display:inline;font-family:inherit;font-size:inherit;font-weight:700;margin:0}

/* rotina do cão */
.routine{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:16px;padding:6px 8px 6px 16px;margin:0 0 14px;font-size:14px}
.routine-warn,.meals-warn{color:#9A3A2D;font-weight:700}
.routine-warn{margin:-6px 0 14px}

/* alergias por categoria */
.avoid-cat{margin-top:16px}
.avoid-cat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.avoid-cat-title{font-family:Nunito,system-ui,sans-serif;font-size:14px;font-weight:700;letter-spacing:.02em;margin:0;color:var(--muted)}
.avoid-cat .avoid-grid{margin-top:2px}

/* planos por fase */
.phase-sub{font-size:17px;margin:18px 0 4px}
.phase-card{margin-top:0;margin-bottom:16px}
.guide-card .grid{margin-top:10px}

/* medidas caseiras */
.measure{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:2px}
.ingredient{grid-template-columns:1fr auto}
.ingredient-amount{text-align:right}
.affiliate{font-weight:700}
.shop-affiliate{margin-top:18px}

/* lista de compras por período */
.shop-period{margin:0 0 14px}
.shop-period>label{display:block;font-weight:700;margin-bottom:6px}
.shop-period .segmented{margin-bottom:0;flex-wrap:wrap}
.shop-period .segmented button{min-width:0;flex:1 1 30%;font-size:13px;line-height:1.25}
.shop-tip{margin:0 0 6px;color:var(--muted)}
.check-row small.weekly{display:block;color:var(--ink);font-weight:700}
.shop-footer{margin-top:18px}
.notice .mini strong{display:inline;font-family:inherit;font-size:inherit;font-weight:700;margin:0}

/* orientações do veterinário */
.vet-block{border-color:#CDB98E}
.vet-avoid{margin:10px 0 4px}
.vet-avoid summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;line-height:1.35}
.vet-card{margin:0 0 16px}
.vet-card h3{margin:0}
.vet-card p{margin:8px 0;font-size:14px;line-height:1.5}
.vet-contact{margin:12px 0}
.vet-contact .btn{margin-left:8px}

.alert-src{margin:8px 0 0}
.alert-src a{word-break:break-word}
