/* Buyiou Core — Planejador, Biblioteca, Sorteio, Rotinas, Cookies */
.bz-tool { margin: 10px 0 40px; }
.bz-tool noscript p { background: #fff7e6; padding: 16px; border-radius: 12px; }

/* Wizard */
.bzp-wizard { background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 26px; box-shadow: var(--bz-shadow-lg, 0 18px 50px rgba(36,58,120,.16)); padding: 28px; max-width: 880px; margin: 0 auto; }
.bzp-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 8px; counter-reset: s; }
.bzp-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--bz-muted, #5f6880); padding-bottom: 12px; border-bottom: 4px solid var(--bz-line, #e6e1d8); }
.bzp-steps li span { width: 28px; height: 28px; border-radius: 50%; background: var(--bz-line, #e6e1d8); color: var(--bz-ink, #1d2742); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.bzp-steps li.is-current { color: var(--bz-ink, #1d2742); border-color: var(--bz-coral, #ef4b30); }
.bzp-steps li.is-current span { background: var(--bz-coral, #ef4b30); color: #fff; }
.bzp-steps li.is-done { border-color: var(--bz-blue, #4b6cc8); }
.bzp-steps li.is-done span { background: var(--bz-blue, #4b6cc8); color: #fff; }
.bzp-field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.bzp-field legend { font-family: var(--bz-font-head, sans-serif); font-weight: 800; font-size: 1.12rem; color: var(--bz-ink, #1d2742); margin-bottom: 10px; padding: 0; }
.bzp-help { font-size: .9rem; color: var(--bz-muted, #5f6880); margin: -4px 0 10px; }
.bzp-options { display: flex; flex-wrap: wrap; gap: 10px; }
.bzp-options--wide .bzp-opt { flex: 1 1 200px; }
.bzp-opt { font: inherit; font-weight: 700; font-size: .98rem; padding: 12px 18px; border-radius: 14px; border: 2px solid var(--bz-line, #e6e1d8); background: var(--bz-cream, #fbf8f3); color: var(--bz-ink, #1d2742); cursor: pointer; transition: .12s; text-align: left; }
.bzp-opt:hover { border-color: var(--bz-blue, #4b6cc8); }
.bzp-opt.is-selected { border-color: var(--bz-blue, #4b6cc8); background: var(--bz-blue-50, #eef2fc); box-shadow: inset 0 0 0 1px var(--bz-blue, #4b6cc8); }
.bzp-opt.is-selected::before { content: "✓ "; color: var(--bz-blue, #4b6cc8); }
.bzp-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.bzp-privacy { font-size: .85rem; color: var(--bz-muted, #5f6880); margin: 16px 0 0; text-align: center; }

/* Result */
.bzp-result { background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 26px; padding: 28px; box-shadow: var(--bz-shadow, 0 8px 24px rgba(29,39,66,.07)); }
.bzp-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.bzp-summary h2 { margin: 0 0 6px; }
.bzp-profile { color: var(--bz-muted, #5f6880); font-weight: 600; margin: 0; }
.bzp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bzp-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.bzp-metrics div { background: var(--bz-blue-50, #eef2fc); border-radius: 16px; padding: 14px 16px; }
.bzp-metrics strong { display: block; font-family: var(--bz-font-head, sans-serif); font-size: 1.35rem; color: var(--bz-blue-800, #243a78); line-height: 1.2; }
.bzp-metrics span { font-size: .85rem; color: var(--bz-muted, #5f6880); line-height: 1.35; display: block; margin-top: 2px; }
.bzp-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 2px solid var(--bz-line, #e6e1d8); margin-bottom: 22px; scrollbar-width: none; }
.bzp-tabs::-webkit-scrollbar { display: none; }
.bzp-tab { font: inherit; font-weight: 800; font-size: .95rem; white-space: nowrap; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 14px; color: var(--bz-muted, #5f6880); cursor: pointer; }
.bzp-tab.is-active { color: var(--bz-ink, #1d2742); border-color: var(--bz-coral, #ef4b30); }
.bzp-pane { display: none; }
.bzp-pane.is-active { display: block; }
.bzp-lead { color: var(--bz-muted, #5f6880); }

.bzp-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.bzp-tl { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin-bottom: 12px; }
.bzp-tl__slot { font-family: var(--bz-font-head, sans-serif); font-weight: 800; color: var(--bz-blue-600, #3a58ad); padding-top: 14px; text-align: right; font-size: .95rem; }
.bzp-tl__card { background: var(--bz-cream, #fbf8f3); border: 1px solid var(--bz-line, #e6e1d8); border-radius: 16px; padding: 14px 16px; position: relative; }
.bzp-tl__card::before { content: ""; position: absolute; left: -11px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--bz-coral, #ef4b30); box-shadow: 0 0 0 3px #fff; }
.bzp-tl__head { display: flex; gap: 12px; align-items: flex-start; }
.bzp-tl__head > div { flex: 1; }
.bzp-tl__head h3 { font-size: 1.05rem; margin: 0; }
.bzp-tl__icon { font-size: 1.4rem; line-height: 1; margin-top: 2px; }
.bzp-tl__meta { font-size: .85rem; color: var(--bz-muted, #5f6880); margin: 2px 0 0; }
.bzp-tl__note { font-size: .93rem; margin: 8px 0 0; }
.bzp-tl details { margin-top: 8px; }
.bzp-tl summary, .bzp-card__more summary { cursor: pointer; font-weight: 700; color: var(--bz-blue-600, #3a58ad); font-size: .92rem; }
.bzp-swap { border: 1px solid var(--bz-line, #e6e1d8); background: #fff; border-radius: 10px; width: 36px; height: 36px; cursor: pointer; flex-shrink: 0; }
.bzp-swap:hover { border-color: var(--bz-blue, #4b6cc8); }
.bzp-act__details { font-size: .94rem; margin-top: 8px; }
.bzp-act__details ol { padding-left: 1.2em; margin: 6px 0 10px; }
.bzp-act__details li { margin-bottom: 4px; }
.bzp-act__care { background: var(--bz-coral-50, #fff0ec); border-radius: 10px; padding: 8px 12px; }
.bzp-act__details p { margin: 0 0 8px; }
.bzp-act__read a { font-weight: 700; }

.bzp-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.bzp-day { background: var(--bz-cream, #fbf8f3); border: 1px solid var(--bz-line, #e6e1d8); border-radius: 16px; padding: 14px; }
.bzp-day__name { font-family: var(--bz-font-head, sans-serif); font-weight: 900; color: var(--bz-ink, #1d2742); margin: 0; }
.bzp-day__theme { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--bz-coral, #ef4b30); margin: 0 0 8px; }
.bzp-day ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bzp-linkact { font: inherit; font-size: .9rem; text-align: left; background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 10px; padding: 8px 10px; width: 100%; cursor: pointer; color: var(--bz-ink, #1d2742); line-height: 1.35; }
.bzp-linkact:hover { border-color: var(--bz-blue, #4b6cc8); }
@media (max-width: 1100px) { .bzp-week { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .bzp-week { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .bzp-week { grid-template-columns: 1fr; } }

.bzp-modal { position: fixed; inset: 0; background: rgba(23, 33, 59, .55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bzp-modal[hidden] { display: none; }
.bzp-modal__box { background: #fff; border-radius: 22px; max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; position: relative; padding: 8px; }
.bzp-modal__box .bzp-card { border: 0; box-shadow: none; }
.bzp-modal__close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bz-blue-50, #eef2fc); font-size: 1.4rem; cursor: pointer; z-index: 2; }

.bzp-progress { margin-bottom: 14px; }
.bzp-progress__bar { height: 12px; background: var(--bz-line, #e6e1d8); border-radius: 999px; overflow: hidden; }
.bzp-progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--bz-green, #2d9d6b), #54c48f); border-radius: 999px; transition: width .3s ease; }
.bzp-progress p { margin: 8px 0 0; font-size: .95rem; }
.bzp-checklist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.bzp-checklist label { display: flex; gap: 12px; align-items: flex-start; background: var(--bz-cream, #fbf8f3); border: 1px solid var(--bz-line, #e6e1d8); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.bzp-checklist input { width: 22px; height: 22px; accent-color: var(--bz-green, #2d9d6b); flex-shrink: 0; margin-top: 1px; }
.bzp-checklist input:checked + span { text-decoration: line-through; color: var(--bz-muted, #5f6880); }

.bzp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bzp-cols h3 { font-size: 1.1rem; }
.bzp-list { padding-left: 1.2em; }
.bzp-list li { margin-bottom: 8px; }
.bzp-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bzp-tips li { display: flex; gap: 10px; background: var(--bz-sun-50, #fff7e6); border-radius: 12px; padding: 12px 14px; font-size: .96rem; }
.bzp-tips li span { font-size: 1.2rem; }
@media (max-width: 760px) { .bzp-cols { grid-template-columns: 1fr; } }

.bzp-reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bzp-read { display: flex; gap: 12px; align-items: center; background: var(--bz-cream, #fbf8f3); border: 1px solid var(--bz-line, #e6e1d8); border-radius: 14px; padding: 10px; text-decoration: none; color: var(--bz-ink, #1d2742); font-weight: 700; line-height: 1.3; font-size: .95rem; }
.bzp-read:hover { border-color: var(--bz-blue, #4b6cc8); color: var(--bz-blue-600, #3a58ad); }
.bzp-read img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.bzp-read small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bz-coral, #ef4b30); margin-bottom: 2px; }
@media (max-width: 900px) { .bzp-reads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bzp-reads { grid-template-columns: 1fr; } }
.bzp-disclaimer { font-size: .88rem; color: var(--bz-muted, #5f6880); border-top: 1px dashed var(--bz-line, #e6e1d8); margin: 24px 0 0; padding-top: 14px; }

@media (max-width: 700px) {
	.bzp-wizard, .bzp-result { padding: 18px; border-radius: 20px; }
	.bzp-steps li { font-size: 0; gap: 0; justify-content: center; }
	.bzp-steps li span { font-size: .85rem; }
	.bzp-steps li.is-current { font-size: .85rem; gap: 6px; }
	.bzp-opt { flex: 1 1 calc(50% - 10px); font-size: .93rem; padding: 12px 12px; }
	.bzp-options--wide .bzp-opt { flex-basis: 100%; }
	.bzp-metrics { grid-template-columns: 1fr 1fr; }
	.bzp-tl { grid-template-columns: 1fr; gap: 4px; }
	.bzp-tl__slot { text-align: left; padding: 6px 0 0; }
	.bzp-tl__card::before { display: none; }
	.bzp-nav .bz-btn { flex: 1; }
	.bzp-actions .bz-btn { flex: 1 1 calc(50% - 8px); }
}

/* Activity cards (library / modal) */
.bzp-card { background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: .15s; }
.bzp-card.is-picked { border-color: var(--bz-coral, #ef4b30); box-shadow: 0 0 0 3px rgba(239, 75, 48, .2); }
.bzp-card__top { display: flex; gap: 12px; align-items: flex-start; }
.bzp-card__icon { font-size: 1.6rem; width: 50px; height: 50px; border-radius: 14px; background: var(--bz-blue-50, #eef2fc); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bzp-card__type { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--bz-coral, #ef4b30); margin: 0; }
.bzp-card__title { font-size: 1.1rem; margin: 2px 0 0; }
.bzp-badges, .bzp-goals { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.bzp-badges span { font-size: .8rem; font-weight: 700; background: var(--bz-cream, #fbf8f3); border: 1px solid var(--bz-line, #e6e1d8); padding: .25em .6em; border-radius: 8px; }
.bzp-goals span { font-size: .78rem; font-weight: 700; color: var(--bz-blue-600, #3a58ad); background: var(--bz-blue-50, #eef2fc); padding: .25em .65em; border-radius: 999px; }

.bzl-bar { background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 22px; padding: 18px; margin-bottom: 22px; position: relative; }
.bzl-pets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.bzl-pets .bz-pill { cursor: pointer; font: inherit; font-weight: 700; }
.bzl-filters { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 12px; }
.bzl-filter span { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--bz-muted, #5f6880); margin-bottom: 4px; }
.bzl-filter select, .bzl-filter input { width: 100%; font: inherit; padding: .65em .9em; border-radius: 12px; border: 2px solid var(--bz-line, #e6e1d8); background: var(--bz-cream, #fbf8f3); color: var(--bz-ink, #1d2742); }
.bzl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.bzl-count { margin: 0; font-weight: 700; color: var(--bz-ink, #1d2742); }
.bzl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.bzl-empty { grid-column: 1 / -1; text-align: center; padding: 30px; background: #fff; border-radius: 16px; }
@media (max-width: 980px) { .bzl-grid { grid-template-columns: 1fr 1fr; } .bzl-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bzl-grid, .bzl-filters { grid-template-columns: 1fr; } .bzl-row .bz-btn { width: 100%; } }

/* Random widget */
.bzr { background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 22px; padding: 20px; box-shadow: var(--bz-shadow, 0 8px 24px rgba(29,39,66,.07)); margin-top: 20px; }
.bzr-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.bzr-pets { display: flex; gap: 8px; }
.bzr-pets .bz-pill { cursor: pointer; font: inherit; font-weight: 700; }
.bzr-card { margin-top: 16px; background: var(--bz-sun-50, #fff7e6); border-radius: 16px; padding: 16px 18px; }
.bzr-card h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.bzr-card p { margin: 0 0 6px; font-size: .96rem; }
.bzr-type { font-size: .82rem !important; font-weight: 800; color: var(--bz-coral, #ef4b30); text-transform: uppercase; letter-spacing: .03em; }
.bzr-links { font-weight: 700; margin-top: 8px !important; }

/* Routines */
.bzt-pets { display: flex; gap: 8px; margin-bottom: 20px; }
.bzt-pets .bz-pill { cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; }
.bzt-age { margin-bottom: 40px; }
.bzt-age h2 { margin-bottom: 4px; }
.bzt-note { color: var(--bz-muted, #5f6880); }
.bzt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bzt-card { background: #fff; border: 1px solid var(--bz-line, #e6e1d8); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; }
.bzt-card header p { font-size: .9rem; margin: 8px 0 12px; color: var(--bz-muted, #5f6880); }
.bzt-card ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: .93rem; }
.bzt-card li { display: grid; grid-template-columns: 110px 1fr; gap: 8px; border-bottom: 1px dashed var(--bz-line, #e6e1d8); padding-bottom: 6px; }
.bzt-card em { color: var(--bz-muted, #5f6880); font-style: normal; font-size: .85rem; }
.bzt-slot { font-weight: 800; color: var(--bz-blue-600, #3a58ad); font-size: .85rem; }
.bzt-energy { display: inline-block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: .3em .8em; border-radius: 999px; }
.bzt-energy--1 { background: var(--bz-green-50, #e8f6ef); color: #1d7a50; }
.bzt-energy--2 { background: var(--bz-sun-50, #fff7e6); color: #9a6a00; }
.bzt-energy--3 { background: var(--bz-coral-50, #fff0ec); color: var(--bz-coral-600, #d63b22); }
.bzt-cta { margin-top: auto; font-weight: 800; text-decoration: none; }
@media (max-width: 980px) { .bzt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bzt-grid { grid-template-columns: 1fr; } .bzt-card li { grid-template-columns: 1fr; gap: 0; } }

/* Posts shortcode */
.bz-postlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 36px; }
@media (max-width: 960px) { .bz-postlist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bz-postlist { grid-template-columns: 1fr; } }

/* Cookie banner */
.bz-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 920px; margin: 0 auto; background: #fff; color: var(--bz-text, #333c52); border: 1px solid var(--bz-line, #e6e1d8); border-radius: 20px; box-shadow: 0 20px 60px rgba(23, 33, 59, .25); padding: 18px 20px; display: flex; gap: 18px; align-items: center; font-size: .94rem; }
.bz-cookie[hidden] { display: none; }
.bz-cookie p { margin: 0; flex: 1; }
.bz-cookie__btns { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 700px) { .bz-cookie { flex-direction: column; align-items: stretch; } .bz-cookie__btns .bz-btn { flex: 1; } }

@media print {
	.bzp-actions, .bzp-tabs, .bzp-swap, .bzp-wizard, .bz-cookie { display: none !important; }
	.bzp-pane { display: block !important; page-break-inside: avoid; margin-bottom: 20px; }
	.bzp-result { box-shadow: none; border: 0; padding: 0; }
	.bzp-tl details { display: none; }
	body.bz-tool-page .bz-content > *:not(.bz-tool) { display: none; }
}
