/* Verificatorul pentru balconul închis (views/partials/balcon-verificator.ejs, public/js/utile-balcon.js).
   Merge și în pagina din Utile, și în articolul de blog (.prose), deci își fixează singur marginile și culorile. */
.bv { margin: 28px 0; padding: 20px; border: 1px solid #bfdbfe; border-radius: 18px; background: linear-gradient(180deg, #eff6ff 0, #fff 140px); color: #334155; font-size: 1rem; line-height: 1.5; container-type: inline-size; }
.bv p, .bv ul, .bv ol, .bv li, .bv fieldset, .bv legend, .bv label { margin: 0; }
.bv a { color: #1d4ed8; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bv-head { margin-bottom: 14px; }
.bv-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #dbeafe; color: #1e40af; font-size: .78rem; font-weight: 700; }
.bv .bv-title { margin-top: 8px; font-size: 1.3rem; line-height: 1.25; font-weight: 800; color: #0f172a; }
.bv .bv-lead { margin-top: 4px; color: #475569; }
.bv-form { display: grid; gap: 10px; }
.bv-branch, .bv-sub { display: grid; gap: 10px; }
.bv-branch[hidden], .bv-sub[hidden], .bv-tax[hidden], .bv-tax__in[hidden] { display: none; }
.bv-q { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bv .bv-q legend { float: left; width: 100%; display: flex; align-items: flex-start; gap: 8px; padding: 0; margin-bottom: 6px; font-weight: 800; color: #0f172a; font-size: .97rem; line-height: 1.35; }
.bv-q legend + * { clear: both; }
.bv-q legend span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #2563eb; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.bv .bv-q label { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 10px; cursor: pointer; font-size: .94rem; color: #334155; }
.bv-q label:hover { background: #f1f5f9; }
.bv-q label:has(input:checked) { background: #eff6ff; color: #0f172a; }
.bv input[type="radio"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #2563eb; flex: none; }
.bv-res { margin-top: 14px; }
.bv .bv-wait { padding: 12px 14px; border: 1px dashed #cbd5e1; border-radius: 14px; color: #64748b; background: #fff; }
.bv-verdict { padding: 16px 18px; border-radius: 16px; border: 1px solid; }
.bv-verdict--yes { background: #f0fdf4; border-color: #86efac; }
.bv-verdict--maybe { background: #fffbeb; border-color: #fcd34d; }
.bv-verdict--no { background: #fef2f2; border-color: #fca5a5; }
.bv .bv-verdict__t { margin-bottom: 8px; font-size: 1.12rem; font-weight: 800; color: #0f172a; }
.bv .bv-verdict ul { padding-left: 20px; display: grid; gap: 6px; list-style: disc; }
.bv .bv-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: .93rem; }
.bv-verdict .bv-note { margin: 10px 0 0; }
.bv-steps { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; }
.bv .bv-steps__t { margin-bottom: 6px; font-weight: 800; color: #0f172a; }
.bv .bv-steps ol { padding-left: 22px; display: grid; gap: 6px; list-style: decimal; }
.bv-tax { margin-top: 14px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; }
.bv .bv-tax__t { font-weight: 800; color: #0f172a; font-size: 1.05rem; margin-bottom: 8px; }
.bv-tax__mode { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bv .bv-tax__mode label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #cbd5e1; border-radius: 999px; cursor: pointer; font-size: .9rem; }
.bv-tax__mode label:has(input:checked) { border-color: #2563eb; background: #eff6ff; color: #1e40af; font-weight: 700; }
.bv-tax__in { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 560px) { .bv-tax__in[data-mod="calc"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bv .bv-field { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: #334155; }
.bv-field input, .bv-field select { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; font-size: 1rem; color: #0f172a; }
.bv-field input:focus, .bv-field select:focus { outline: 2px solid #93c5fd; outline-offset: 1px; border-color: #2563eb; }
.bv-tax__out { margin-top: 12px; }
.bv-nums { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 520px) { .bv-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bv-nums > div { padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; display: grid; gap: 2px; }
.bv-nums span { font-size: .82rem; color: #64748b; font-weight: 600; }
.bv-nums strong { font-size: 1.35rem; color: #0f172a; line-height: 1.2; }
.bv-nums small { font-size: .8rem; color: #64748b; }
.bv-nums .bv-nums__up { background: #fef2f2; border-color: #fca5a5; }
.bv-nums .bv-nums__up strong { color: #b91c1c; }
.bv .bv-small { margin-top: 8px; font-size: .84rem; color: #64748b; }
@media (max-width: 480px) { .bv { padding: 16px 12px; border-radius: 14px; } .bv .bv-q label { padding: 7px 6px; } }

/* Pagina din Utile (views/utile/balcon-inchis-fara-autorizatie.ejs, .bvp-*); culorile vin din utile.css (--ut-*) */
.bvp-content { padding-bottom: 64px; }
.bvp-content .bv { margin: 0; }
.bvp-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #334155; }
.bvp-steps small { color: #64748b; }
.bvp-table { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.bvp-table table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.bvp-table th, .bvp-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid #e2e8f0; }
.bvp-table thead th { border-top: 0; background: #f8fafc; color: #0f172a; }
.bvp-table td:last-child { color: #64748b; font-size: .86rem; }
.bvp-cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .bvp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bvp-card { padding: 16px 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.bvp-card h3 { margin: 0 0 6px; font-size: 1rem; color: #0f172a; }
.bvp-card p { margin: 0; color: #334155; font-size: .94rem; }
.bvp-faq details { border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; margin-bottom: 8px; }
.bvp-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: #0f172a; }
.bvp-faq p { margin: 0; padding: 0 16px 12px; color: #334155; }
.bvp-src { padding-left: 20px; display: grid; gap: 4px; }
