
.be-sms-panel{margin:14px 0;padding:16px;border:1px solid #d8c8a9;background:#fffcf6;border-radius:12px;color:#28241e}
.be-sms-panel h3{margin:0 0 6px;font-size:17px}.be-sms-panel>p,.be-sms-muted{color:#6e6658;font-size:13px;line-height:1.45}
.be-sms-panel code{white-space:normal;overflow-wrap:anywhere;user-select:all}
.be-sms-panel form,.be-sms-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:10px 0}
.be-sms-panel label{display:block;flex-basis:100%;font-weight:600;font-size:13px}
.be-sms-panel input,.be-sms-panel select{flex:1;min-width:170px;max-width:100%;border:1px solid #bcb1a0;border-radius:8px;background:white;color:#222;padding:11px}
.be-sms-person{padding:12px 0;border-top:1px solid #e7decc}
.be-sms-person-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.be-sms-person-head small{font-size:11px;color:#686159}
.be-sms-status{font-size:12px;font-weight:700;border-radius:50px;padding:5px 9px;background:#ece8e1;color:#544c40}
.be-sms-status.is-yes{background:#d9eddc;color:#205b36}.be-sms-status.is-no{background:#f9ded5;color:#883f2c}
.be-sms-status.is-message{background:#ffedbf;color:#775600}
.be-sms-messages{margin-top:7px;display:grid;gap:7px}
.be-sms-message{padding:8px 10px;border:1px solid #ebe6dd;background:white;border-radius:8px;overflow-wrap:anywhere}
.be-sms-message small{color:#726b64;font-size:11px}.be-sms-message p{margin:3px 0 0;font-size:13px;color:#28241e}

/* Appointment-level confirmation is prominent on both consultation and PT records. */
.be-response-panel{margin:16px 0 20px;padding:16px;border:1px solid #cabd9e;background:#fffdf8;border-radius:14px;color:#28251e}
.be-response-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.be-response-heading small{font-size:10px;letter-spacing:.11em;font-weight:800;color:#7d6442}
.be-response-heading h3{margin:2px 0 0;font-size:19px;line-height:1.25;color:#231f19}
.be-response-tally{font-size:12px;font-weight:700;color:#5d503e}
.be-response-person{padding:13px 0;border-top:1px solid #e5dccb}
.be-response-person-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}
.be-response-person-top strong{font-size:15px}
.be-response-indicator{display:inline-block;padding:8px 13px;border-radius:9px;font-size:13px;line-height:1.2;font-weight:850;letter-spacing:.01em;border:1px solid transparent}
.be-response-indicator.yes{background:#d6f0e0;border-color:#90cba3;color:#185431}
.be-response-indicator.no{background:#ffe0d8;border-color:#ecaa9c;color:#8b2a20}
.be-response-indicator.pending{background:#e9eaec;border-color:#bfc3c7;color:#424b53}
.be-response-indicator.message{background:#fff0c4;border-color:#dec378;color:#71530b}
.be-response-detail{font-size:12px;line-height:1.45;color:#60594e;margin:7px 0 0}
.be-response-help{font-size:12px;color:#6c5e4a;line-height:1.45;margin:12px 0 0}
.be-response-history{margin-top:8px}
.be-response-history>summary{font-size:12px;font-weight:650;cursor:pointer;color:#70502b}
.be-response-history .be-sms-messages{margin-top:8px}
@media(max-width:600px){.be-response-panel{padding:12px}.be-response-indicator{font-size:12px;padding:8px 10px}.be-response-person-top{align-items:flex-start}.be-response-tally{width:100%}}

/* Prominent appointment SMS confirmations: individual session, enquiries, tracker. */
.bh-sms-confirmation{margin:12px 0 17px;padding:15px 17px;border:1px solid #bfc3c7;border-left:5px solid #797d83;border-radius:11px;background:#f5f5f4;color:#232323}
.bh-sms-confirmation.yes{background:#eef8f0;border-color:#8aba99;border-left-color:#248248}
.bh-sms-confirmation.no{background:#fff1ed;border-color:#dc9b8b;border-left-color:#c84d36}
.bh-sms-confirmation.message{background:#fff9e8;border-color:#c5a75c;border-left-color:#a87c1a}
.bh-sms-confirmation.unsent{background:#f5f4f1}
.bh-sms-label{font-size:10px;font-weight:800;letter-spacing:.1em;color:#75634c;margin-bottom:7px}
.bh-sms-primary{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;gap:6px 14px}
.bh-sms-primary strong{font-size:20px;color:#1d3123}
.bh-sms-confirmation.no .bh-sms-primary strong{color:#902e24}
.bh-sms-primary small{font-size:12px;color:#575b58}
.bh-sms-disclaimer{font-size:11px;margin:9px 0 0;color:#67635d}
.bh-sms-history{margin-top:10px}.bh-sms-history summary{cursor:pointer;font-size:12px;font-weight:700}
.bh-sms-history p{font-size:12px;margin:6px 0;padding:7px;border-radius:6px;background:#ffffffbd}
.bh-sms-history p small{display:block}
.bh-person .bh-sms-confirmation{padding:8px 10px;margin:7px 0 0;max-width:280px}
.bh-person .bh-sms-primary strong{font-size:13px}
.be-response-lead{max-width:100%;margin:15px 0}
.be-response-lead-item{padding:12px 0;border-top:1px solid #e6dfd1}
.be-response-link-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.be-response-link-top strong{font-size:13px}
.be-response-link-top button{font-size:11px}
.be-response-lead-item>small{display:block;font-size:11px;margin:2px 0 6px;color:#675c49}
.be-response-lead-item .be-response-person{padding:9px 0 0;border:0}
.be-lt-response-badge{display:inline-block;font-size:10px;line-height:1.3;font-weight:800;border-radius:6px;background:#e8eaec;color:#444b55;padding:4px 7px;margin:4px 6px 0 0;white-space:nowrap}
.be-lt-response-badge.yes{background:#d6f0e0;color:#155733}
.be-lt-response-badge.no{background:#ffe0d8;color:#8b2a20}
.be-lt-response-badge.message{background:#fff0c4;color:#71530b}
.be-lt-response-badge.unsent{background:#e7e5e1;color:#5a544e}
@media(max-width:600px){.bh-sms-primary{display:block}.bh-sms-primary small{display:block;margin-top:5px}.be-response-lead-item{padding:10px 0}}

/* Nov 15: compact SMS status, no oversized announcement banners. */
.bh-sms-inline{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;padding:5px 0;margin:5px 0 9px;font-size:12px;color:#5f5d57;border:0;background:none}
.bh-sms-inline>span{font-size:11px;font-weight:650}
.bh-sms-inline>.bh-sms-status{display:inline-block;font-size:11px;font-weight:800;line-height:1.3;padding:3px 8px;border-radius:5px;background:#e8e7e5;color:#4b4b4b}
.bh-sms-inline.yes>.bh-sms-status{background:#def2e4;color:#21643b}
.bh-sms-inline.no>.bh-sms-status{background:#ffe5df;color:#93392b}
.bh-sms-inline.message>.bh-sms-status{background:#fff0c8;color:#735514}
.bh-sms-inline>small{font-size:11px;color:#66635f}
.bh-sms-inline .bh-sms-history{margin:0}
.bh-sms-inline .bh-sms-history summary{font-size:11px;text-decoration:underline;text-underline-offset:2px;color:#635e54}
.bh-sms-inline .bh-sms-history p{font-size:11px;padding:5px 7px;margin:2px 0}
.bh-person .bh-sms-inline{margin:3px 0;padding:2px 0;max-width:none}
.be-response-panel{margin:8px 0 11px;padding:9px 11px;border-radius:8px;border:1px solid #e7e1d8;background:#fff;color:inherit}
.be-response-heading{gap:8px;margin-bottom:4px}
.be-response-heading h3{font-size:13px;line-height:1.2;font-weight:750;margin:0;color:inherit}
.be-response-tally{font-size:10px}
.be-response-person{padding:6px 0;border-top:1px solid #f0ede8}
.be-response-person-top{justify-content:flex-start;gap:5px 9px;align-items:center}
.be-response-person-top strong{font-size:12px}
.be-response-indicator{font-size:11px;padding:3px 7px;font-weight:800;line-height:1.25;border-radius:5px}
.be-response-indicator.queued{background:#f6f0df;color:#766039}
.be-response-indicator.unsent{background:#efefed;color:#595855}
.be-response-detail,.be-response-person-top>small{font-size:11px;color:#736e67;margin:0;line-height:1.35}
.be-response-history{margin:0}
.be-response-history>summary{font-size:11px;line-height:1.4}
.be-response-lead{margin:9px 0}
.be-response-lead-item{padding:6px 0}
.be-response-link-top strong{font-size:12px}
.be-response-link-top button{font-size:11px;min-height:26px;padding:3px 8px}
.be-response-lead-item>small{margin:0 0 2px;font-size:10px}
.be-response-lead-item .be-response-person{padding:3px 0 0}
@media(max-width:600px){.be-response-panel{padding:8px 9px}.be-response-indicator{padding:3px 7px;font-size:11px}.be-response-tally{width:auto}}
