/* Request card: quick actions, ready-made replies, slot load and the client's photos. */
.request-quick{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 6px}
.request-quick-button{min-height:42px;padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-size:.875rem;font-weight:700}
.request-quick-button:hover{border-color:var(--red);background:transparent}
.request-quick-button.is-primary{border-color:var(--red);background:var(--red);color:#fff}
.request-quick-button.is-primary:hover{background:#c00510}
.request-quick-button.is-danger{color:#b20e20}
.request-quick-note{margin:0 0 12px;color:var(--muted);font-size:.875rem}
.request-quick-note:empty{display:none}
.request-editor [type=submit].is-ready{box-shadow:0 0 0 4px rgba(227,6,19,.28)}
.request-templates{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0 6px}
.request-templates-title{margin-right:4px;color:var(--muted);font-size:.8125rem;font-weight:700}
.request-template{min-height:34px;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-size:.8125rem;font-weight:600}
.request-template:hover{border-color:var(--red);background:transparent}
.request-slot-load{margin:8px 0 0;color:var(--muted);font-size:.8125rem}
.request-slot-load:empty{display:none}
.request-slot-load.is-warn{color:#b26a00;font-weight:700}
.request-photos{margin:14px 0}
.request-photos h4{margin:0 0 8px;font-size:.9375rem}
.request-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.request-photo{position:relative;display:block;min-height:0;aspect-ratio:4/3;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:#fff}
.request-photo:hover{background:var(--soft);border-color:var(--red)}
.request-photo img{display:block;width:100%;height:100%;object-fit:cover}
.request-photo span{position:absolute;right:0;bottom:0;left:0;padding:16px 8px 5px;background:linear-gradient(transparent,rgba(0,0,0,.7));font-size:.75rem;font-weight:700;text-align:left}
dialog.request-photo-dialog{width:min(96vw,1100px);max-width:none;max-height:96vh;padding:0;border:0;background:transparent;color:#fff;overflow:visible}
dialog.request-photo-dialog::backdrop{background:rgba(8,9,12,.88)}
.request-photo-dialog figure{margin:0;text-align:center}
.request-photo-dialog img{max-width:100%;max-height:80vh;border-radius:12px;background:#000}
.request-photo-dialog figcaption{margin-top:10px;font-size:.875rem}
.request-photo-dialog .rp-close,.request-photo-dialog .rp-nav{position:fixed;z-index:2;display:grid;place-items:center;width:48px;min-height:48px;height:48px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(20,22,27,.8);color:#fff;font-size:1.75rem;line-height:1}
.request-photo-dialog .rp-close{top:16px;right:16px}
.request-photo-dialog .rp-prev{top:50%;left:16px;transform:translateY(-50%)}
.request-photo-dialog .rp-next{top:50%;right:16px;transform:translateY(-50%)}
html[data-theme=dark] .request-quick-button.is-danger{color:#ff9099}
html[data-theme=dark] .request-slot-load.is-warn{color:#ffc584}
@media(max-width:700px){.request-quick-button{flex:1 1 calc(50% - 8px);min-height:46px}.request-template{min-height:40px}}
.request-contact-actions button{border:1px solid var(--line);background:transparent;color:var(--ink)}
.request-contact-actions button:hover{border-color:var(--red);background:transparent}
