/* Request-specific UX8 accents. Original photos and domain states are retained. */
.rcrp-v4 .rcrp-request-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:space-between;margin:12px 0}
.rcrp-v4 .rcrp-request-card{display:grid!important;grid-template-columns:var(--rcrp-request-photo-size,180px) minmax(0,1fr) 180px!important;gap:18px;align-items:start!important;padding:16px!important}
.rcrp-v4 .rcrp-request-card .rcrp-case-card-photo{width:100%!important;max-width:none!important;min-width:0!important;align-self:start;margin:0!important}
.rcrp-v4 .rcrp-request-card .rcrp-case-card-photo__open{width:100%!important;height:auto!important;aspect-ratio:1;max-height:none!important}
.rcrp-v4 .rcrp-request-card .rcrp-case-card-photo img{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:1;object-fit:cover!important}
.rcrp-v4 .rcrp-request-card .rcrp-v4-private-card__body{min-width:0;margin:0!important}
.rcrp-v4 .rcrp-request-card .rcrp-v4-private-card__title-row{gap:12px;flex-wrap:wrap}
.rcrp-v4 .rcrp-request-titleline{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.rcrp-v4 .rcrp-request-date{font-size:16px;font-weight:750;line-height:1.5;color:inherit}
.rcrp-v4 .rcrp-request-new{display:inline-flex;align-items:center;gap:7px;color:#076346;background:#dcf8eb;border:1px solid #80b49f;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:800;line-height:1.3}
.rcrp-request-new::before{content:'';width:8px;height:8px;background:currentColor;border-radius:50%;flex:none}
html[data-rcrp-theme="dark"] .rcrp-request-new{background:#103a2c;color:#8af3c3;border-color:#598d76}
@media(prefers-reduced-motion:no-preference){.rcrp-request-new{animation:rcrp-new-pulse 8s ease-in-out infinite}@keyframes rcrp-new-pulse{0%,5%,13%,100%{transform:translateY(0);box-shadow:0 0 0 0 transparent}8%,10%{transform:translateY(-2px);box-shadow:0 0 0 5px #28a47720}}}
.rcrp-v4 .rcrp-request-card .rcrp-v4-private-card__actions{display:flex;flex-direction:column;gap:8px;min-width:0;align-self:start}
.rcrp-v4 .rcrp-request-secondary{display:flex;gap:6px;flex-wrap:wrap}.rcrp-v4 .rcrp-request-secondary a,.rcrp-v4 .rcrp-request-secondary button{font-size:12px!important;padding:9px!important;min-height:44px!important}.rcrp-request-secondary form{margin:0}
.rcrp-request-confirm{max-width:420px;width:calc(100vw - 32px);box-sizing:border-box;border:1px solid var(--rcrp-border,#cdc7bd);background:var(--rcrp-surface,#fff);color:var(--rcrp-text,#222);border-radius:18px;padding:22px;font-family:inherit}.rcrp-request-confirm::backdrop{background:#0009}.rcrp-request-confirm button{min-height:44px;font:inherit;margin-right:8px;border:1px solid #bbb;border-radius:9px;padding:10px;cursor:pointer}.rcrp-request-trash-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--rcrp-border,#ddd)}
.rcrp-happy-toast{position:fixed;top:calc(100px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:1000001;background:#e0faec;color:#07563c;border:1px solid #67ad89;border-radius:14px;padding:14px 20px;font:700 16px/1.4 system-ui;max-width:calc(100vw - 36px);box-shadow:0 6px 22px #0002;pointer-events:none}
.rcrp-happy-confetti{position:fixed;inset:0;pointer-events:none;z-index:1000000;overflow:hidden}.rcrp-happy-confetti i{position:absolute;top:-20px;left:var(--x);width:8px;height:13px;border-radius:2px;animation:rcrp-happy-fall 2.3s var(--delay) ease-in forwards}@keyframes rcrp-happy-fall{to{transform:translate(var(--dx),105vh) rotate(620deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.rcrp-happy-confetti{display:none!important}.rcrp-request-new{animation:none!important}}
@media(max-width:900px){.rcrp-v4 .rcrp-request-card{grid-template-columns:minmax(0,1fr)!important;gap:14px}.rcrp-v4 .rcrp-request-card .rcrp-case-card-photo{width:100%!important;max-width:480px!important;justify-self:center}.rcrp-v4 .rcrp-request-card .rcrp-v4-private-card__actions{width:100%}.rcrp-v4 .rcrp-request-secondary{justify-content:flex-end}.rcrp-request-date{font-size:15px!important}}

/* Clear inherited two-column placements on touch layouts. */
@media(max-width:900px){.rcrp-v4 .rcrp-request-card > *{grid-column:1!important;grid-row:auto!important}}

.rcrp-request-confirm{background:var(--rcrp-color-surface,#fff);color:var(--rcrp-color-text,#222);border-color:var(--rcrp-color-border,#cdc7bd)}.rcrp-request-confirm button{color:inherit;background:var(--rcrp-color-surface-subtle,#f8f5ef);border-color:var(--rcrp-color-border,#aaa)}html[data-rcrp-theme=dark] .rcrp-request-confirm{background:var(--rcrp-color-surface,#222);color:var(--rcrp-color-text,#f8f5ed)}html[data-rcrp-theme=dark] .rcrp-happy-toast{background:#103a2c;color:#8af3c3;border-color:#598d76}

.rcrp-request-confirm button.rcrp-v4-button--primary{background:#ff6900!important;color:#24170e!important;border-color:#ff6900!important}

/* A quiet, touch-safe test beside refresh; no business event is recorded. */
.rcrp-v4 .rcrp-request-tools__refresh{display:flex;align-items:center;gap:6px}
.rcrp-v4 .rcrp-confetti-test{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid var(--rcrp-color-border,#cdc7bd);border-radius:12px;background:var(--rcrp-color-surface-subtle,#faf7f2);color:var(--rcrp-color-text,#222);font-size:21px;line-height:1;cursor:pointer}
.rcrp-v4 .rcrp-confetti-test:hover{border-color:#ff7900}.rcrp-v4 .rcrp-confetti-test:focus-visible{outline:3px solid #ff7900;outline-offset:3px}
