/* V22: per-branch WhatsApp, seven-day visual schedule, theme-compatible */
html[data-theme] .rp-office-week h4,html[data-theme] .rp-office-week dt,html[data-theme] .rp-office-week dd{display:flex;align-items:center;gap:8px}
html[data-theme] .rp-office-week h4{font-size:clamp(14px,1.1vw,16px);margin-bottom:12px;line-height:1.4}
html[data-theme] .rp-office-week dt{font-size:clamp(13px,1.15vw,15px);font-weight:650}
html[data-theme] .rp-office-week dd{font-size:clamp(13px,1.1vw,14px);font-weight:750;justify-content:flex-end;white-space:normal;line-height:1.5}
html[data-theme] .rp-office-week dt .rp-inline-icon{color:var(--brand-accent,#c51d38);flex-shrink:0}
html[data-theme] .rp-office-week dd .rp-inline-icon{color:var(--brand-accent,#c51d38);flex-shrink:0}
html[data-theme] .rp-office-week dd.is-closed .rp-inline-icon,html[data-theme] .rp-office-week dd.is-closed{color:#b52c3c}
html[data-theme] .rp-inline-icon{display:inline-block;vertical-align:middle;flex:0 0 auto;stroke:currentColor}
html[data-theme] .rp-office-hours{display:flex;align-items:center;gap:8px}
html[data-theme] .rp-office-week{background:color-mix(in srgb,var(--brand-surface,#fff) 90%,var(--brand-accent,#c51d38));border-color:color-mix(in srgb,var(--brand-ink,#182a3e) 16%,transparent)}
html[data-theme] .rp-office-week h4,html[data-theme] .rp-office-week dt,html[data-theme] .rp-office-week dd{color:var(--brand-ink,#17263a)}
html[data-theme] .rp-office-whatsapp{display:flex;align-items:center;gap:12px;min-height:58px;margin:0 0 8px;padding:12px 16px;border-radius:12px;background:#126e47;color:#fff!important;text-decoration:none!important;box-shadow:0 8px 22px #10492b40;font-weight:750;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
html[data-theme] .rp-office-whatsapp .rp-inline-icon{width:24px;height:24px}
html[data-theme] .rp-office-whatsapp span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
html[data-theme] .rp-office-whatsapp strong{font-size:15px;line-height:1.4;color:#fff}
html[data-theme] .rp-office-whatsapp small{font-size:12px;color:#e7fff3;overflow-wrap:anywhere}
html[data-theme] .rp-office-whatsapp:hover,html[data-theme] .rp-office-whatsapp:focus-visible{background:#085c37;transform:translateY(-2px);box-shadow:0 11px 24px #06462860;outline:2px solid #2ada8a;outline-offset:2px}
.rp-branch-whatsapp-option{display:flex!important;flex-direction:row!important;gap:10px!important;align-items:center!important;align-self:center;min-height:44px;font-size:14px;color:#233b55}
.rp-branch-whatsapp-option input{width:20px!important;height:20px;accent-color:#137a4b}
.rp-week-row>strong{display:flex;align-items:center;gap:6px;line-height:1.5}
.rp-week-row label{display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:12px}
.rp-week-row label .rp-inline-icon{color:#1b6990}
.rp-week-row .rp-week-closed{flex-direction:row!important}
.rp-week-row .rp-week-closed .rp-inline-icon{width:16px;height:16px;color:#ac2b45}
@media(max-width:540px){html[data-theme] .rp-office-week dl>div{align-items:flex-start;gap:8px}html[data-theme] .rp-office-week dt{min-width:0;flex:1}html[data-theme] .rp-office-week dd{flex:0 0 auto;max-width:55%;text-align:right}html[data-theme] .rp-office-whatsapp{padding:12px}}
@media(prefers-reduced-motion:reduce){html[data-theme] .rp-office-whatsapp{transition:none!important}}
/* V22: always obvious reorder handles, even without mouse hover, in all record managers. */
html .component-grip,html .rp-branch-handle,html .v18-order-list .component-grip{opacity:1!important;visibility:visible!important;color:#1f3959!important;background:#eaf0fa!important;border:1px solid #aebdd0!important;border-radius:9px!important;min-width:40px;min-height:40px;display:inline-flex!important;align-items:center;justify-content:center;font-size:23px;box-shadow:0 2px 5px #10253f1a;cursor:grab}
html .component-grip:hover,html .component-grip:focus-visible,html .rp-branch-handle:hover{color:#b31839!important;border-color:#a22040!important;background:#fff5f7!important}
/* V22: slider layers crossfade instead of snapping; no transition under reduced motion. */
html[data-theme] .rp-hero .rp-slide{opacity:0;visibility:visible;pointer-events:none;transition:opacity 1.05s cubic-bezier(.22,.61,.36,1)!important;will-change:opacity;z-index:1}
html[data-theme] .rp-hero .rp-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
html[data-theme] .rp-hero .rp-slide:not(.is-active) a,html[data-theme] .rp-hero .rp-slide:not(.is-active) button{pointer-events:none}
html[data-theme] .rp-hero.rp-reduced-transitions .rp-slide{transition:none!important}
@media(prefers-reduced-motion:reduce){html[data-theme] .rp-hero .rp-slide{transition:none!important}}
