/* BP Tools: shared styles for the small tools (reading plan, quizzes, fasting checker, novena calendar, Lent picker, Advent calendar) */
.bpt { --bpt-ink: #16305c; --bpt-gold: #c9962b; --bpt-line: #d5dbe8; --bpt-soft: #f3f6fb; --bpt-ok: #2d6a3e; --bpt-no: #9b2226; margin: 0 0 28px; color: #1b2233; font-size: 17px; line-height: 1.5; scroll-margin-top: 64px; }
.bpt *, .bpt *::before, .bpt *::after { box-sizing: border-box; }
.bpt [hidden] { display: none !important; }
.bpt-card { background: #fff; border: 1px solid var(--bpt-line); border-top: 4px solid var(--bpt-ink); border-radius: 12px; padding: 16px; box-shadow: 0 2px 10px rgba(22, 48, 92, .08); }
.bpt-row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 12px; }
.bpt-field { flex: 1 1 150px; display: block; font-size: 15px; font-weight: 600; color: #2d3a55; }
.bpt-field select, .bpt-field input[type="date"], .bpt-field input[type="number"], .bpt-field input[type="text"] { display: block; width: 100%; min-height: 46px; margin: 4px 0 0; padding: 8px 10px; border: 1px solid #93a0bb; border-radius: 8px; background: #fff; color: #1b2233; font: inherit; font-size: 17px; font-weight: 400; }
.bpt-check { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; font-size: 16px; }
.bpt-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--bpt-ink); }
.bpt button { font: inherit; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.bpt-btn { display: block; width: 100%; min-height: 54px; margin: 0 0 10px; padding: 12px 18px; border: 1px solid var(--bpt-ink); border-radius: 10px; background: var(--bpt-ink); color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; }
.bpt-btn:hover { background: #21427c; color: #fff; }
.bpt-ghost { background: #fff; color: var(--bpt-ink); border-color: #93a0bb; font-weight: 600; }
.bpt-ghost:hover { background: var(--bpt-soft); color: var(--bpt-ink); }
.bpt-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.bpt-bar .bpt-btn { flex: 1 1 auto; width: auto; min-height: 44px; margin: 0; padding: 8px 14px; font-size: 15px; }
.bpt button:focus-visible, .bpt select:focus-visible, .bpt input:focus-visible, .bpt summary:focus-visible { outline: 3px solid var(--bpt-gold); outline-offset: 2px; }
.bpt-h { margin: 0 0 8px; font-size: 22px; line-height: 1.25; color: var(--bpt-ink); }
.bpt-kicker { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .03em; color: #7a5600; }
.bpt-small { margin: 6px 0 0; font-size: 14px; color: #55617c; }
.bpt-note { min-height: 20px; margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--bpt-ok); }
.bpt-out { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--bpt-line); }
.bpt-box { margin: 0 0 12px; padding: 14px 16px; border-radius: 10px; background: var(--bpt-soft); border-left: 4px solid var(--bpt-gold); }
.bpt-box p { margin: 0 0 6px; } .bpt-box p:last-child { margin: 0; }
.bpt-big { font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--bpt-ink); }
.bpt-yes { color: var(--bpt-ok); } .bpt-no { color: var(--bpt-no); }
.bpt-progress { height: 8px; margin: 0 0 12px; border-radius: 4px; background: #e3e8f2; overflow: hidden; }
.bpt-progress span { display: block; height: 100%; width: 0; background: var(--bpt-gold); transition: width .25s ease; }
.bpt-month { margin: 0 0 8px; border: 1px solid var(--bpt-line); border-radius: 8px; background: #fff; }
.bpt-month summary { padding: 12px 14px; font-weight: 700; color: var(--bpt-ink); cursor: pointer; }
.bpt-days { margin: 0; padding: 0 8px 8px; list-style: none; }
.bpt-days li { margin: 0; border-top: 1px solid #eef1f6; }
.bpt-days label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 6px; cursor: pointer; }
.bpt-days input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--bpt-ink); }
.bpt-days .bpt-date { flex: 0 0 96px; font-size: 15px; color: #55617c; }
.bpt-days .bpt-today label { background: #fff8e8; border-radius: 6px; font-weight: 600; }
.bpt-days input:checked ~ span { color: #7c869c; text-decoration: line-through; }
.bpt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.bpt-chip { min-height: 42px; padding: 7px 14px; border: 1px solid #93a0bb; border-radius: 21px; background: #fff; color: var(--bpt-ink); font-size: 15px; line-height: 1.2; }
.bpt-chip:hover { background: var(--bpt-soft); color: var(--bpt-ink); }
.bpt-chip[aria-pressed="true"] { background: var(--bpt-ink); border-color: var(--bpt-ink); color: #fff; }
.bpt-opts { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.bpt-opt { display: block; width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #93a0bb; border-radius: 10px; background: #fff; color: #1b2233; font-size: 17px; text-align: left; line-height: 1.3; }
.bpt-opt:hover { background: var(--bpt-soft); color: #1b2233; }
.bpt-opt[data-state="right"] { background: #e6f4ea; border-color: var(--bpt-ok); color: #1b2233; font-weight: 700; }
.bpt-opt[data-state="wrong"] { background: #fbeaea; border-color: var(--bpt-no); color: #1b2233; }
.bpt-opt:disabled { cursor: default; opacity: 1; }
.bpt-scale { display: flex; gap: 6px; margin: 0 0 12px; }
.bpt-scale button { flex: 1 1 0; min-height: 56px; padding: 6px 2px; border: 1px solid #93a0bb; border-radius: 10px; background: #fff; color: var(--bpt-ink); font-size: 13px; line-height: 1.15; }
.bpt-scale button strong { display: block; font-size: 18px; }
.bpt-scale button:hover { background: var(--bpt-soft); color: var(--bpt-ink); }
.bpt-q { margin: 0 0 14px; font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--bpt-ink); }
.bpt-result h4 { margin: 14px 0 4px; font-size: 19px; color: var(--bpt-ink); }
.bpt-result ul { margin: 0 0 8px; padding-left: 20px; }
.bpt-meter { height: 10px; margin: 2px 0 8px; border-radius: 5px; background: #e3e8f2; overflow: hidden; }
.bpt-meter span { display: block; height: 100%; background: var(--bpt-ink); }
.bpt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 12px; }
.bpt-door { position: relative; aspect-ratio: 1; border: 2px solid var(--bpt-ink); border-radius: 10px; background: var(--bpt-ink); color: #fff; font-size: 22px; font-weight: 700; }
.bpt-door:hover { background: #21427c; color: #fff; }
.bpt-door[data-open="1"] { background: #fff8e8; color: var(--bpt-ink); border-color: var(--bpt-gold); }
.bpt-door[data-locked="1"] { background: #e3e8f2; border-color: #c4ccdb; color: #7c869c; }
.bpt-door[data-today="1"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--bpt-gold); }
.bpt a { color: #7a3b00; font-weight: 600; text-decoration: underline; }
@media (min-width: 700px) { .bpt-card { padding: 24px 28px; } .bpt-grid { grid-template-columns: repeat(7, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bpt-progress span { transition: none; } }
@media print {
    body.bpt-printing * { visibility: hidden; }
    body.bpt-printing .bpt-print, body.bpt-printing .bpt-print * { visibility: visible; }
    body.bpt-printing .bpt-print { position: absolute; left: 0; top: 0; width: 100%; }
    body.bpt-printing .bpt-print details { border: 0; }
    body.bpt-printing .bpt-noprint { display: none !important; }
}
.bpt-lead { margin: 0 0 12px; font-size: 17px; }
.bpt-after .bpt-box { margin: 0 0 12px; }
.bpt-after p { margin: 0; }
.bpt-out:first-child, .bpt-row + .bpt-out { margin-top: 4px; }
.bpt-out .bpt-days { margin: 0 0 8px; padding: 0; }
.bpt-out .bpt-days label { cursor: default; }
.bpt-out .bpt-days .bpt-date { flex-basis: 132px; }
.bpt-out .bpt-h { margin-top: 16px; font-size: 19px; }
