.appointment-text { box-sizing: border-box; display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; width: 100%; padding: 14px; margin: 10px 0; border: 2px solid #b47b27; border-radius: 12px; background: #fff7e6; color: #29251e; }
.appointment-text__heading { font-size: 14px; line-height: 1.4; }
.appointment-text .appointment-text__button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; height: auto; padding: 12px 16px; border: 1px solid #29251e; border-radius: 8px; background: #29251e; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; white-space: normal; cursor: pointer; }
.appointment-text__button svg { flex-shrink: 0; }
.appointment-text .appointment-text__button:hover { background: #483921; color: #fff; }
.appointment-text .appointment-text__button:focus-visible { outline: 3px solid #9c650e; outline-offset: 3px; }
.appointment-text .appointment-text__button:disabled { background: #e8e1d4; border-color: #bab1a0; color: #605747; cursor: not-allowed; }
.appointment-text__hint { font-size: 12px; line-height: 1.5; color: #60503a; }
.appointment-text textarea { box-sizing: border-box; width: 100%; min-height: 90px; padding: 10px; font-size: 14px; }

/* Shared emphasis for the agent's next action and saved task checklist. */
.spark-next-step.tsp-qc-panel, .spark-checklist.tsp-oppsec { border: 2px solid #b47b27 !important; border-left-width: 5px !important; border-radius: 12px; background: #fffaf0 !important; padding: 16px; }
.spark-next-step .tsp-qc-panelhead { font-size: 14px; color: #654311; font-weight: 750; margin-bottom: 10px; }
.spark-workflow-guidance { font-size: 13px; line-height: 1.55; color: #65543b; margin: 10px 0 16px; }
.spark-checklist .tsp-oppsec-head > span:first-child { font-size: 14px !important; font-weight: 750; color: #654311 !important; letter-spacing: .03em !important; }
.spark-next-step .tsp-qc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.spark-next-step .tsp-qc-actions > button, .spark-next-step .tsp-qc-actions > a, .spark-checklist .tsp-button, .spark-checklist select.field { min-height: 42px; height: auto; }
.spark-next-step .tsp-qc-actions > button:focus-visible, .spark-checklist button:focus-visible, .spark-checklist summary:focus-visible { outline: 3px solid #9c650e; outline-offset: 3px; }
.spark-checklist .spark-checklist-task { padding: 14px 12px; margin: 10px 0; border: 1px solid #d6c7af; border-radius: 9px; background: #fff; }
.spark-checklist .spark-checklist-task[data-timing="Overdue"] { border-left: 4px solid #a33f29; }
.spark-task-timing { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 5px; background: #f0ede6; color: #514b41; font-size: 11px; font-weight: 700; }
.spark-task-timing[data-timing="Overdue"] { background: #fce5df; color: #913420; }
.spark-task-timing[data-timing="Due today"], .spark-task-timing[data-timing="Needs a date"] { background: #fff0c9; color: #77500d; }
.spark-checklist .tsp-postsale-shortcut-menu > summary { padding: 12px; border: 1px solid #b47b27; border-radius: 8px; background: #fff0d2; color: #654311; font-weight: 700; cursor: pointer; }
@media(max-width:560px) { .spark-next-step.tsp-qc-panel, .spark-checklist.tsp-oppsec { padding: 12px; } .spark-next-step .tsp-qc-actions > button, .spark-next-step .tsp-qc-actions > a { flex: 1 1 auto; } }


.tsp-postsale-list .tsp-postsale-queue-bar { padding: 16px; border: 2px solid #b47b27; border-radius: 12px; background: #fff7e6; margin: 16px 0; }
.tsp-postsale-list .spark-checklist-start { min-height: 46px; font-size: 14px; font-weight: 700; padding: 12px 18px; }
.tsp-postsale-list .tsp-postsale-expand { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 8px; background: #30213d; color: white; font-weight: 700; font-size: 13px; }
.tsp-postsale-list .tsp-postsale-client[data-expanded=true] { border: 2px solid #b47b27; }
.tsp-postsale-list .tsp-postsale-inline-heading { background: #fff7e6; padding: 16px; border-radius: 10px; margin-bottom: 14px; }
.tsp-postsale-list .tsp-ps-task-actions { flex-wrap: wrap; }
.tsp-postsale-list .tsp-ps-task-actions > button, .tsp-postsale-list .tsp-ps-more > summary { min-height: 42px !important; height: auto !important; padding: 10px 12px !important; }
.tsp-postsale-list .tsp-ps-task-actions > .tsp-ps-done { background: #30213d; border-color: #30213d; color: #fff; font-weight: 700; }
.tsp-postsale-list .spark-checklist .spark-task-timing { display: inline-block; }
.tsp-postsale-list .tsp-postsale-shortcut-menu > summary { min-height: 44px; font-size: 14px; }
.tsp-postsale-list .tsp-sale-task-shortcuts > button { min-height: 54px; }

.tsp-postsale-list .tsp-postsale-task-controls .spark-checklist-task[data-timing="Overdue"] { border-left: 4px solid #a33f29 !important; }
.tsp-postsale-list .tsp-sale-task-shortcuts > p, .tsp-postsale-list .tsp-ps-template-copy small, .tsp-postsale-list .tsp-sale-task-shortcuts > button:not(:disabled) .tsp-ps-template-copy em { display: block; }
.tsp-postsale-list .tsp-sale-task-shortcuts > button { height: auto; padding: 12px; white-space: normal; }

.tsp-postsale-list .tsp-postsale-inline-heading p { display: block; line-height: 1.5; }
.tsp-postsale-list .tsp-postsale-task-controls .spark-checklist-task { padding: 14px !important; border: 1px solid #d6c7af !important; border-radius: 9px; background: #fff; margin: 10px 0; }
.tsp-postsale-list .tsp-postsale-task-controls .spark-checklist-task[data-timing="Overdue"] { border-left: 4px solid #a33f29 !important; }
.tsp-postsale-list .tsp-oppsec-row .tsp-ps-done { position: static; min-width: 80px; width: auto; font-size: 14px; background: #30213d; border-color: #30213d; color: #fff; }

.tsp-postsale-list .tsp-oppsec-row>.tsp-ps-task-actions>.tsp-ps-done{position:static!important;width:auto!important;min-width:80px!important;height:auto!important;min-height:42px!important;padding:10px 12px!important;font-size:14px!important;background:#30213d!important;color:white!important}.tsp-postsale-list .tsp-oppsec-row .tsp-ps-done::after{content:none!important}.spark-calendar-reminder-hint{padding:10px 14px;border-radius:8px;background:#fff7e6;color:#60503a;font-size:13px}
