/* Pauze-verzoeken en geplande pauzes (social.js, Afspreken, Home) */
.brq-row { display: flex; gap: 12px; padding: 12px 2px; align-items: flex-start; }
.brq-row + .brq-row { border-top: 1px solid var(--line); }
.brq-time { display: flex; flex-direction: column; min-width: 50px; font-size: 14px; color: var(--muted); line-height: 1.25; }
.brq-time b { color: var(--ink); font-size: 17px; font-weight: 750; }
.brq-day { font-size: 12px; font-weight: 650; text-transform: capitalize; }
.brq-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.brq-title { font-weight: 700; font-size: 16px; line-height: 1.25; }
.brq-sub { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.brq-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.brq-actions:empty { display: none; }
.brq-actions .icon-btn { width: 36px; height: 36px; margin-left: -6px; }
.brq-actions .icon-btn .ico { width: 18px; height: 18px; }
.brq-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.brq-chip { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--card-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.brq-chip.r-accepted { background: var(--together-soft); color: var(--ink); box-shadow: none; }
.brq-chip.r-declined { text-decoration: line-through; opacity: .7; }
.brq-warn { font-size: 13px; font-weight: 650; color: var(--danger); }
.brq-now { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; background: var(--together); color: var(--together-ink); padding: 1px 7px; border-radius: 99px; margin-right: 6px; vertical-align: 2px; }

/* Soort: ask = iemand vraagt jou (opvallend), planned = gaat door, wait = je wacht op antwoord, off = gaat niet */
.brq-row.k-ask { background: var(--accent-soft); border-radius: 14px; padding-left: 10px; padding-right: 10px; }
.brq-row.k-ask + .brq-row, .brq-row + .brq-row.k-ask { border-top: 0; margin-top: 4px; }
.brq-row.k-planned .brq-time b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 9px; background: var(--together); margin-left: 6px; vertical-align: 2px; }
.brq-row.k-planned.now { background: var(--together-soft); border-radius: 14px; padding-left: 10px; padding-right: 10px; }
.brq-row.k-off { opacity: .6; }

/* Onderblad: pauze vragen */
.brq-one { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0; }
.brq-people { display: flex; flex-direction: column; }
.brq-modes { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 16px; gap: 2px; }
.brq-modes button { white-space: normal; line-height: 1.2; border-radius: 13px; padding: 8px 6px; min-height: 48px; }
.brq-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Onderblad: pauze plannen */
.brq-days { align-self: flex-start; }
.brq-slots { display: flex; flex-direction: column; gap: 12px; }
.brq-slot { background: var(--card-2); border-radius: 16px; padding: 8px 12px 10px; }
.brq-slot-head { display: flex; align-items: center; gap: 8px; margin: 2px 0 2px; }
.brq-slot-head .ico { color: var(--muted); width: 18px; height: 18px; }
.brq-slot .row-btn { min-height: 48px; padding: 8px 2px; }
.brq-all { margin-top: 6px; }
.brq-all .ico { width: 18px; height: 18px; }
.brq-person .row-btn .ico:first-child { color: var(--accent); }

/* ---- Planbalk: één regel boven de tabbalk, op elk scherm (app.js refreshPlanbar) ---- */
:root { --planbar: 0px; }
body.has-plan { --planbar: 46px; }
body.has-plan .view { padding-bottom: calc(var(--tabbar) + var(--planbar) + 28px + env(safe-area-inset-bottom)); }
body.has-plan #toasts { bottom: calc(var(--tabbar) + var(--planbar) + 14px + env(safe-area-inset-bottom)); }
body.has-plan .sticky-bottom { bottom: calc(var(--tabbar) + var(--planbar) + 12px + env(safe-area-inset-bottom)); }
#planbar {
  position: fixed; z-index: 19; left: 0; right: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
  padding: 0 max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left));
  display: flex; justify-content: center; pointer-events: none;
}
.planbar {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; height: 40px;
  padding: 0 8px 0 6px; border: 0; border-radius: 999px; cursor: pointer; text-align: left; color: var(--ink);
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(22, 32, 43, .14), inset 0 0 0 1px var(--line); font-size: 14.5px;
  animation: pb-in .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes pb-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.pb-ico { flex: none; width: 28px; height: 28px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-2); color: var(--muted); }
.pb-ico .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.pb-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-text b { font-weight: 760; }
.pb-more { flex: none; font-size: 12px; font-weight: 750; color: var(--muted); background: var(--card-2); border-radius: 99px; padding: 2px 7px; }
.pb-cta { flex: none; font-size: 13px; font-weight: 750; background: var(--accent); color: var(--accent-ink); border-radius: 99px; padding: 5px 11px; }
.planbar .ico.chev { margin-left: 0; width: 16px; height: 16px; }
.planbar.k-planned .pb-ico { background: var(--together); color: var(--together-ink); }
.planbar.k-ask { box-shadow: 0 4px 16px rgba(46, 91, 255, .25), inset 0 0 0 1.5px var(--accent); }
.planbar.k-ask .pb-ico { background: var(--accent-soft); color: var(--accent); }
@media (min-width: 900px) {
  body.has-plan { --planbar: 0px; }
  #planbar { bottom: 18px; }
  body.has-plan .view { padding-bottom: 80px; }
}
body.compact #planbar { bottom: 8px; }
body.compact.has-plan .view { padding-bottom: 58px; }

/* Onderblad 'Plannen' */
.plan-sheet .brq-card { padding: 0; box-shadow: none; background: none; }
.plan-sheet > .btn { margin-top: 12px; }
.plan-others { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.plan-other { display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.plan-other + .plan-other { border-top: 1px solid var(--line); }
.plan-other.now { background: var(--together-soft); border-radius: 12px; padding-left: 8px; padding-right: 8px; }
.plan-existing .brq-row { padding-top: 4px; }
