.response-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;padding:0;list-style:none;margin:1rem 0}
.response-flow li{padding:.85rem;border:1px solid var(--border,#d8e5ed);border-radius:1rem;background:var(--surface,#fff);display:flex;gap:.65rem;align-items:center}
.response-flow li[aria-current=step]{border-color:#087f8c;background:#e5f4f5;color:#075664;box-shadow:0 3px 12px #087f8c12}
.response-flow .complete{border-color:#83bcad}.response-flow small{display:block;font-size:.78rem;margin-top:.2rem}
.response-flow-number{font-weight:800;font-size:1.25rem;color:#087f8c}.response-next{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border:1px solid #b8dce2;border-radius:1rem;background:var(--surface,#fff);margin-bottom:1rem}.response-next p{margin:.3rem 0}
.response-card{margin-block:1rem;padding:1.25rem}.response-card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.response-card h2,.response-card h3{margin:.2rem 0}.response-card-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-block:1rem}.response-status{border-radius:2rem;padding:.4rem .8rem;background:#e5f4f5;color:#075664;font-weight:700}.response-status.draft{background:#fff1df;color:#8a4a0b}
.response-delivery{border-top:1px solid var(--border,#d8e5ed);padding-top:1rem}.response-delivery .inline{align-items:end;flex-wrap:wrap}.response-delivery input,.response-delivery select{min-height:44px}.response-editor details{margin-block:1rem;padding:1rem;border:1px solid var(--border,#d8e5ed);border-radius:1rem}.response-editor summary,.response-history summary{cursor:pointer;font-weight:700;padding:.3rem}.response-editor textarea{min-height:15rem}.response-editor .response-text-preview{max-height:28rem;overflow:auto;white-space:pre-wrap}.response-save-bar{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;border-top:1px solid var(--border,#d8e5ed);padding-top:1rem;margin-top:1rem}.response-editor .operation-fields{margin-bottom:1rem}.response-editor .notice:empty{display:none}
@media(max-width:720px){.response-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.response-next{align-items:stretch;flex-direction:column}.response-card{padding:1rem}.response-save-bar .button,.response-save-bar button{flex:1}.response-delivery label{width:100%}}
[data-theme=dark] .response-flow li[aria-current=step],[data-theme=dark] .response-status{background:#143b45;color:#b9eff1}[data-theme=dark] .response-status.draft{background:#43321d;color:#ffdda4}
.response-template-toolbar{position:sticky;top:-24px;z-index:5;margin:-24px -24px 0;padding:20px 24px 12px;background:var(--surface,#fff);border-bottom:1px solid var(--line,#d8e5ed)}
.response-template-selection{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.response-template-selection p{flex:1 1 220px;margin:.35rem 0}.response-template-selection button{flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.response-template-toolbar h2{margin:0}.response-template-toolbar #response-template-search{margin:12px 0}
@media(max-width:600px){.response-template-selection button{width:100%}.response-template-toolbar{padding:16px 24px 12px}}
.response-queue-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:20px}.response-queue-tabs a{display:flex;align-items:center;gap:12px;padding:18px;background:var(--surface,#fff);border:1px solid var(--line,#d8e5ed);border-radius:16px;color:inherit;text-decoration:none}.response-queue-tabs a.active{background:#087f8c;color:white;border-color:#087f8c;box-shadow:0 8px 20px #087f8c20}.response-queue-tabs svg{width:24px;height:24px}.response-queue-state{display:inline-block;padding:6px 10px;border-radius:10px;background:#e7f5f5;color:#0a6874;font-size:.85rem}.response-queue-state.pending{background:#fff3df;color:#845012}.response-queue-state.draft{background:#fce8ef;color:#9d3451}.response-queue-pages{justify-content:center;margin-block:18px;flex-wrap:wrap}@media(max-width:650px){.response-queue-tabs{grid-template-columns:1fr}.response-queue-tabs a{padding:12px}}
