.patient-requests{max-width:1060px;margin:auto}.request-page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px}.request-page-heading h1{margin:0 0 5px;font-size:27px}.request-page-heading p{margin:0;color:#52675b;font-size:14px}.request-page-heading>button{flex:0 0 auto;padding:9px 14px;font-size:13px}.request-filter{display:flex;gap:5px;padding:4px;background:#edf2ee;border:1px solid #d7e2db;border-radius:10px;width:fit-content;margin-bottom:14px}.request-filter button{background:transparent;border:0;color:#435d4c;border-radius:7px;padding:7px 12px;min-height:40px;font-size:13px}.request-filter button.active{background:#fff;color:#144c37;box-shadow:0 1px 4px #143b2520;font-weight:750}.request-filter button span{margin-left:5px;font-size:11px;color:#597163}.patient-request-list{display:grid;gap:12px}.patient-request-card{background:#fff;border:1px solid #d3dfd6;border-radius:12px;padding:16px 18px;min-width:0;overflow-wrap:anywhere}.patient-request-card .request-card-heading{position:static;display:flex;background:none;border:0;box-shadow:none;align-items:flex-start;justify-content:space-between;gap:14px;padding:0;margin:0 0 12px;min-width:0}.request-card-heading>div{min-width:0}.request-card-heading h2{font-size:17px;line-height:1.35;margin:0;color:#183e2c}.request-card-heading p{font-size:13px;margin:4px 0 0;color:#586c5e}.request-status{display:inline-block;border-radius:6px;font-size:11px;line-height:1.4;font-weight:700;padding:5px 8px;color:#526353;background:#edf1ee;max-width:45%;flex:0 0 auto}.request-status.status-waiting{background:#fff3d5;color:#80550e}.request-status.status-accepted{background:#e3f1e9;color:#17613b}.request-status.status-completed{background:#e8eef9;color:#36567f}.request-card-meta{display:grid;grid-template-columns:1.3fr 1.1fr 1fr;gap:12px;margin-bottom:13px}.request-card-meta>div{min-width:0}.request-card-meta span{display:block;font-size:10px;letter-spacing:.4px;text-transform:uppercase;color:#697c6c;margin-bottom:4px}.request-card-meta strong{font-size:12px;font-weight:600;line-height:1.5;display:block;color:#284433}.request-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.patient-request-card .request-card-actions>button,.patient-request-card .request-card-actions>a.button{font-size:12px;line-height:1.3;padding:9px 12px;min-height:40px;margin:0;flex:0 1 auto;border-radius:7px;text-align:center;text-decoration:none}.request-unread{display:inline-block;background:#fff1bf;color:#71500a;font-size:10px;padding:2px 5px;border-radius:5px;margin-left:3px}.request-feedback{margin-top:11px;padding-top:10px;border-top:1px solid #e5ece6}.request-feedback>summary{cursor:pointer;font-size:12px;font-weight:650;color:#226346;min-height:28px;line-height:1.6;list-style-position:inside}.request-feedback>summary small{font-weight:400;color:#607867;margin-left:8px}.request-feedback p{font-size:13px;margin:12px 0 9px}.request-feedback-actions{display:flex;gap:8px;flex-wrap:wrap}.patient-request-card .request-feedback-actions button{flex:0 1 170px;min-height:44px;padding:9px 12px;font-size:12px;margin:0}.request-offer{font-size:12px;background:#fff6dc;color:#76530a;padding:9px 11px;border-radius:7px;margin:0 0 12px}.patient-requests-view #patient-actions{margin-bottom:18px}.patient-requests-view .patient-action-grid button.patient-action{min-height:48px;padding:10px 12px;gap:8px;border-radius:9px}.patient-requests-view .patient-action svg{width:20px;height:20px;flex-basis:20px}.patient-requests-view .patient-action strong{font-size:13px}.patient-requests-view .patient-action small{display:none}
@media(max-width:600px){.request-page-heading{align-items:flex-start;gap:10px}.request-page-heading h1{font-size:23px}.request-page-heading p{font-size:12px}.request-page-heading>button{font-size:11px;padding:8px 10px}.patient-request-card{padding:14px}.request-card-meta{grid-template-columns:1fr 1fr;gap:10px}.request-card-meta>div:last-child{grid-column:1/-1;display:flex;align-items:baseline;gap:8px}.request-card-meta>div:last-child span{margin:0}.request-status{max-width:47%;font-size:10px}.request-card-heading h2{font-size:16px}.request-card-actions>button,.request-card-actions>a.button{flex:1 1 auto!important}.request-filter{width:100%;box-sizing:border-box}.request-filter button{flex:1;padding:7px 6px;font-size:12px}.request-feedback-actions button{flex:1 1 120px!important}}

/* Shared patient feedback controls on request cards and overview. */
.request-page-actions{display:flex;gap:8px;flex-wrap:wrap}.request-page-actions button{font-size:13px;padding:9px 14px;margin:0}
.request-card-heading .request-feedback-select,.patient-feedback .request-feedback-select{width:auto;max-width:50%;min-width:170px;margin:0;font:inherit;font-size:12px;font-weight:700;border:1px solid #baccc1;border-radius:7px;padding:9px 28px 9px 10px;min-height:40px;cursor:pointer;flex-shrink:0;background-color:#edf2ef;color:#355546}
.request-card-heading .feedback-yes,.patient-feedback .feedback-yes{background-color:#dff3e5;color:#155e32;border-color:#78b68c}
.request-card-heading .feedback-no,.patient-feedback .feedback-no{background-color:#fff0b9;color:#725000;border-color:#d6b44c}
.request-feedback-choices{display:flex;gap:6px;flex-wrap:wrap}.request-feedback-choices .feedback-choice{font-size:12px;min-height:40px;padding:9px 10px;border:1px solid #bed0c4;border-radius:7px;background:#fff;color:#345943;margin:0;box-shadow:none}
.request-feedback-choices .feedback-yes{border-color:#78b68c;color:#166136}.request-feedback-choices .feedback-no{border-color:#d6b44c;color:#765400}
.request-feedback-choices .feedback-yes.is-selected{background:#dff3e5;border-color:#287944;box-shadow:inset 0 0 0 1px #287944;color:#155e32;font-weight:750}
.request-feedback-choices .feedback-no.is-selected{background:#fff0b9;border-color:#b18b23;box-shadow:inset 0 0 0 1px #b18b23;color:#725000;font-weight:750}
.request-card-actions .request-withdraw{color:#8a3429;border-color:#dfb4aa;background:#fff8f5}.request-delete-dialog{max-width:620px}.request-delete-dialog p{font-size:14px;line-height:1.6}.patient-feedback .request-card-actions{margin-top:10px}
.patient-session .patient-status-card{margin-bottom:12px}.patient-session #app .grid>.patient-request-card{min-width:0}
@media(max-width:700px){.request-card-heading .request-feedback-select{min-width:0;max-width:55%;font-size:11px}.request-feedback-choices{width:100%}.request-feedback-choices .feedback-choice{flex:1}.request-page-heading{flex-wrap:wrap}.request-page-actions{margin-left:auto}.patient-session .patient-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.request-lifecycle{display:inline-block;font-size:10px;color:#4f6859;margin-top:5px}.request-card-heading .request-feedback-select{max-width:55%;min-width:210px}@media(max-width:600px){.request-card-heading .request-feedback-select{max-width:58%;min-width:0;padding-left:7px;padding-right:22px}.request-card-heading h2{font-size:15px}}

.pill.feedback-yes{background:#dff3e5;color:#155e32;border-color:#78b68c}.pill.feedback-no{background:#fff0b9;color:#725000;border-color:#d6b44c}.pill.feedback-pending{background:#edf2ef;color:#355546}.case-clinician-note{display:block;font-size:11px;line-height:1.5;color:#607369;margin-top:5px}.case-clinician-note strong{color:#855a13}.doctor-case-summary .pill{margin:5px 0}

.request-filter{flex-wrap:wrap}.request-trash-card{background:#fbfcfb;border-style:dashed}.request-trash-card .request-status{background:#eef0ee;color:#56675b}
.patient-confirmation{padding:14px;border:1px solid #e0c981;background:#fff9e9;border-radius:9px;margin:0 0 14px}.patient-confirmation h3{font-size:15px;margin:0 0 6px}.patient-confirmation p{font-size:13px;line-height:1.6;margin:0 0 12px}.patient-confirmation button{font-size:13px;min-height:44px;margin:0;white-space:normal}
@media(max-width:480px){.request-filter button{flex:1 1 calc(50% - 5px)}}
