/* A guided request with an explicit review before the WhatsApp hand-off. */
.appointment-board-top{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:.875rem;line-height:1.5;color:#6d4b87;margin:0 0 20px}
.appointment-board-top>span:first-child{font-weight:600}.appointment-board-top>span:last-child{white-space:nowrap;color:#84708e}
.appointment-board .appointment-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 0 24px;margin:0 0 27px}
.appointment-board .appointment-progress li{display:block;position:relative;padding-top:12px;font-size:.875rem}
.appointment-board .appointment-progress li:before{content:'';position:absolute;inset:0 0 auto;height:4px;border-radius:6px;background:#e9dfee}
.appointment-board .appointment-progress li[aria-current]:before,.appointment-board .appointment-progress li.is-complete:before{background:#8b45b6}
.appointment-board .appointment-progress button{display:flex;align-items:center;gap:7px;padding:6px 0;border:0;background:none;font:inherit;line-height:1.5;color:#674c7c;min-height:44px;cursor:pointer;width:100%;text-align:left}
.appointment-board .appointment-progress button>span{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border-radius:50%;background:#f1eaf7;color:#7d5999;font-size:.875rem}
.appointment-board .appointment-progress li[aria-current] button{font-weight:600;color:#692394}
.appointment-board .appointment-progress li[aria-current] button>span{background:#7b2caa;color:white}
.appointment-board .appointment-progress button:disabled{color:#97899f;cursor:default}
.appointment-board .appointment-progress button:disabled>span{background:#f5f1f8;color:#9d8ba8}
.appointment-board :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #9c6cc1;outline-offset:4px}
#page-turnos .appointment-board .appointment-step-intro{font-size:1rem;line-height:1.65;color:#706079;margin:0 0 22px}
#page-turnos .appointment-board .appointment-step-note{font-size:.875rem;line-height:1.65;color:#776284;margin:16px 0 0}
#page-turnos .appointment-board .appointment-step-title{font-family:Georgia,serif;font-size:1.875rem;line-height:1.25;letter-spacing:-.45px;color:#402b50;margin:4px 0 20px;font-weight:400}
.appointment-recipient-choices{grid-template-columns:1fr;gap:12px}
.appointment-recipient-choices .choice{padding:19px 18px;min-height:62px;gap:12px}
#page-turnos .appointment-board .appointment-forward{width:100%;font-size:1rem;min-height:50px;justify-content:center}
.appointment-board button:disabled{opacity:.65;cursor:default}
.appointment-step-actions{display:flex;align-items:stretch;gap:12px;margin-top:24px}
#page-turnos .appointment-step-actions .button{font-size:1rem;min-height:48px;padding:12px 16px;line-height:1.5;white-space:normal;justify-content:center}
.appointment-step-actions .button:last-child{flex:1}
#page-turnos .appointment-board #appointment-next{width:auto;margin:0}
.appointment-topic-label{display:block;font-size:1rem;font-weight:500;line-height:1.5;margin-bottom:10px;color:#5a3e70}
.appointment-topic-label>span{font-size:.875rem;font-weight:400;color:#877190}
#appointment-topic{width:100%;appearance:none;background:#fcfaff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Cpath d='m3 4 5 5 5-5' fill='none' stroke='%237b5598' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 13px center;padding:13px 37px 13px 13px;border:1px solid #d9cae4;border-radius:10px;font-size:1rem;min-height:50px;color:#573f6a;line-height:1.5}
.appointment-review-badge{display:inline-block;background:#ede6f8;color:#65448b;padding:6px 12px;font-size:.875rem;line-height:1.5;border-radius:20px;margin-bottom:13px}
.appointment-review-section{border:1px solid #e6dbed;background:#fff;border-radius:15px;padding:19px 20px;margin-bottom:15px}
.appointment-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#page-turnos .appointment-review-head h3{font-family:inherit;font-size:1rem;font-weight:600;letter-spacing:0;color:#4e345f;line-height:1.5;margin:0}
.appointment-review-head button,.appointment-inline-edit{border:0;background:transparent;color:#7a2ca7;text-decoration:underline;text-underline-offset:3px;line-height:1.5;padding:8px 0;font-size:.875rem;cursor:pointer;min-height:44px;text-align:left}
.appointment-review-head button{white-space:nowrap}
.appointment-review-section dl{margin:0;display:grid;gap:12px}
.appointment-review-section dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px}
.appointment-review-section dt{font-size:.875rem;line-height:1.65;color:#83718e}
.appointment-review-section dd{font-size:1rem;line-height:1.5;color:#45304f;margin:0;overflow-wrap:anywhere;font-weight:500}
.appointment-review-section>.appointment-inline-edit{margin-top:6px}
.appointment-message-details{margin:23px 0 16px;padding:0;border-block:1px solid #e5daee}
.appointment-message-details>summary{font-size:1rem;line-height:1.5;padding:16px 25px 16px 0;min-height:48px;color:#684480}
.appointment-message-details label{font-size:.875rem;color:#6c587b;line-height:1.5;margin:0 0 10px}
#appointment-message{display:block;width:100%;padding:16px;border:1px solid #dacbe7;background:#faf7fd;border-radius:10px;font:inherit;font-size:1rem;line-height:1.65;color:#573e69;resize:vertical;margin-bottom:18px;white-space:pre-wrap;overflow-wrap:anywhere;min-height:260px}
#page-turnos .appointment-board .appointment-whatsapp{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;font-size:1rem;line-height:1.5;padding:15px 18px;margin-top:22px;text-align:center;white-space:normal}
.appointment-review-actions{display:flex;justify-content:space-between;gap:18px;margin-top:12px;flex-wrap:wrap}
#page-turnos .appointment-copy-status{font-size:.875rem;line-height:1.65;color:#546e57;margin:8px 0 0}
#page-turnos .appointment-error{font-size:1rem;line-height:1.5;color:#9c3056;margin:14px 0 0}
.appointment-error:empty{display:none}
@media(max-width:1050px){.appointment-board .appointment-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.appointment-review-section dl>div{grid-template-columns:1fr;gap:2px}}
@media(max-width:760px){.appointment-board-top{gap:10px;font-size:.875rem}.appointment-board .appointment-progress{padding-bottom:20px;margin-bottom:24px;gap:8px 14px}.appointment-board .appointment-progress button{font-size:.875rem;gap:8px}.appointment-recipient-choices .choice{padding:16px 14px}.appointment-step-actions{gap:10px}.appointment-step-actions .button:first-child{flex:0 0 auto}#page-turnos .appointment-step-actions .button{font-size:.9375rem;padding:12px 14px}#page-turnos .appointment-board .appointment-step-title{font-size:1.625rem}.appointment-review-section{padding:15px 16px}.appointment-review-head{gap:8px;flex-wrap:wrap;margin-bottom:8px}.appointment-review-head button{padding-block:6px}.appointment-review-section dl{gap:13px}#page-turnos .appointment-board #appointment-mode .choice{padding:14px;font-size:1rem}.appointment-board #appointment-mode legend{line-height:1.5}}
@media(max-width:360px){.appointment-board-top{flex-wrap:wrap;gap:4px}.appointment-step-actions{flex-wrap:wrap}.appointment-step-actions .button:last-child{flex-basis:100%;order:-1}.appointment-step-actions .button:first-child{width:100%}.appointment-review-actions{flex-direction:column;gap:0}}
