.scm-page .scc-card{margin-bottom:10px}.scm-page h2,.scm-page h3{margin:0 0 12px}.scm-tabs{display:flex;gap:8px}.scm-tabs>*{flex:1;text-align:center;padding:9px 5px;border-radius:8px;color:#12677d;text-decoration:none;border:1px solid #d5e0e5;font-size:14px}.scm-tabs span{background:#12677d;color:#fff}.scm-person{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e6ecef;text-decoration:none!important;color:inherit!important;min-width:0}.scm-person:last-child{border-bottom:0}.scm-person>span:nth-child(2){flex:1;min-width:0}.scm-person strong,.scm-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scm-person small{font-size:12px;color:#63757d}.scm-person .scc-avatar,.scm-dialog-head .scc-avatar,.scm-admin-avatar{width:42px;height:42px;min-width:42px;flex-shrink:0;border-radius:50%;object-fit:cover}.scm-admin-avatar{display:grid;place-items:center;background:#e5eff1;color:#12677d}.scm-unread{background:#12677d;color:#fff;border-radius:20px;min-width:22px;text-align:center;padding:2px 6px;font-size:12px}.scm-search,.scm-compose{display:flex;gap:8px;align-items:center}.scm-search input,.scm-compose textarea{flex:1;min-width:0;border:1px solid #d5e0e5;border-radius:9px;padding:10px;font:inherit;width:100%;margin:0}.scm-compose textarea{resize:vertical;min-height:44px}.scm-page .scm-form{margin:0}.scm-dialog-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #e6ecef}.scm-dialog-head strong{flex:1;overflow-wrap:anywhere}.scm-dialog-head details{position:relative}.scm-dialog-head summary,.scm-settings summary{cursor:pointer;list-style:none}.scm-dialog-head summary::-webkit-details-marker,.scm-settings summary::-webkit-details-marker{display:none}.scm-dialog-head details[open] form{position:absolute;right:0;top:100%;z-index:3;background:white;border:1px solid #d5e0e5;border-radius:8px;padding:8px;white-space:nowrap}.scm-dialog-head details button{color:#12677d;background:none;border:0;padding:8px}.scm-thread{display:flex;flex-direction:column;gap:8px;padding:14px 0}.scm-bubble{align-self:flex-start;background:#edf2f4;border-radius:12px 12px 12px 3px;padding:9px 12px;max-width:85%;overflow-wrap:anywhere;color:#193849}.scm-bubble.is-mine{align-self:flex-end;background:#dceef0;border-radius:12px 12px 3px 12px}.scm-bubble small{display:block;text-align:right;font-size:10px;color:#536870;margin-top:5px}.scm-compose .scc-btn{min-width:42px;padding:10px!important}.scm-muted,.scm-earlier{font-size:13px;color:#63757d}.scm-settings summary{color:#12677d;font-weight:600}.scm-settings summary:before{content:'+ ';}.scm-settings[open] summary:before{content:'− ';}.scm-settings form{padding-top:12px}.scm-link-button{display:inline-block;margin:8px 0 0 8px;padding:8px 14px;border:1px solid #12677d;border-radius:8px;color:#12677d!important;text-decoration:none!important}

.scc-wrap.scm-page .scm-person .scc-avatar,.scc-wrap.scm-page .scm-dialog-head .scc-avatar{width:42px;height:42px;font-size:19px}.scm-error{position:fixed;bottom:calc(84px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 28px);background:#263b46;color:white;padding:10px 14px;border-radius:9px;z-index:10000;font-size:13px;box-shadow:0 3px 14px #0002}.scm-page .scm-compose textarea,.scm-page .scm-search input{font-size:16px}.scm-page .scm-person>span:last-child{flex:none;font-size:12px}.scm-page .scm-person>span:nth-child(2){flex:1}

.scm-thread.scm-live-thread{max-height: min(56vh, 560px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;overflow-anchor:none;min-height:84px}.scm-thread.scm-live-thread .scm-bubble{flex-shrink:0}.scm-page .scm-earlier[hidden],#scm-live-notice[hidden]{display:none!important}.scm-compose button[aria-busy=true]{opacity:.65}.scm-compose textarea[readonly]{opacity:.7}
.scm-bubble-head{display:none}.scm-actions-ready .scm-bubble-head{display:flex;justify-content:flex-end;margin:-5px -5px 0 0}.scm-actions summary{list-style:none;cursor:pointer;line-height:1;padding:2px 6px;font-size:20px;color:#536870}.scm-actions summary::-webkit-details-marker{display:none}.scm-actions-menu{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #d5e0e5;border-radius:8px;padding:4px;margin:3px 0;max-width:100%}.scm-actions-menu button{border:0;background:transparent;color:#12677d;font:inherit;font-size:13px;text-align:left;padding:8px;cursor:pointer;white-space:normal}.scm-actions-menu .scm-danger{color:#a34545}.scm-quote{border-left:3px solid #12677d;padding:4px 7px;margin:2px 0 6px;background:#ffffff80;border-radius:3px;font-size:12px;overflow-wrap:anywhere}.scm-quote strong,.scm-quote span{display:block}.scm-deleted-text{font-style:italic;color:#63757d;font-size:13px}.scm-compose-context{display:flex;align-items:center;gap:8px;border-left:3px solid #12677d;background:#edf2f4;padding:6px 8px;margin:0 0 6px;border-radius:5px;font-size:12px;color:#193849}.scm-compose-context[hidden]{display:none!important}.scm-compose-context span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scm-compose-context button{background:none;border:0;color:#12677d;font-size:22px;padding:0 6px;cursor:pointer}
.scm-photo-picker{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-top:8px}.scm-photo-picker[hidden]{display:none!important}.scm-photo-picker small{font-size:12px;color:#63757d;padding-top:8px}.scm-photo-picker label{margin:0!important;min-width:0;max-width:100%}.scm-photo-picker .sd-photo-label .scm-photo-fallback-label{display:none}.scm-photo-picker input[type=file]:not(.sd-photo-native){max-width:100%;font-size:13px}.scm-view-photo{display:block;max-width:240px;margin:4px 0}.scm-view-photo img{display:block;max-width:100%;max-height:240px;width:auto;height:auto;object-fit:contain;border-radius:8px}.scm-message-body:empty{display:none}
.scm-dialog-head .scm-peer{flex:1;min-width:0}.scm-peer strong,.scm-peer small{display:block}.scm-peer .scm-presence{font-size:12px;color:#267b55}.scm-peer .scm-presence[hidden]{display:none!important}.scm-presence:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#279666;margin-right:5px;vertical-align:1px}.scm-report-dialog{color:#193849;background:white;border:1px solid #d5e0e5;border-radius:14px;padding:18px;width:min(380px,calc(100vw - 32px));max-width:100%;box-sizing:border-box}.scm-report-dialog::backdrop{background:#10232c80}.scm-report-dialog h3{font-size:18px;margin:0 0 12px}.scm-report-dialog label,.scm-report-dialog select{display:block;width:100%;box-sizing:border-box}.scm-report-dialog select{margin:6px 0 0;padding:9px;border:1px solid #d5e0e5;border-radius:8px;font-size:16px}.scm-report-dialog p{font-size:13px;color:#536870;margin:12px 0}.scm-report-buttons{display:flex;justify-content:flex-end;gap:8px;align-items:center}.scm-report-buttons button{padding:9px 14px;border:1px solid #d5e0e5;border-radius:8px;background:white;color:#12677d;font:inherit;cursor:pointer}.scm-report-buttons .scc-btn{background:#12677d;color:white;border-color:#12677d}

/* Compact conversation list and live search. */
.scm-page .scm-top{margin:0 0 12px}.scm-page .scm-list{position:relative;padding:14px}.scm-page .scm-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.scm-page .scm-list-head h2{margin:0;font-size:21px}.scm-page .scm-settings summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d5e0e5;border-radius:9px;color:#12677d;cursor:pointer}.scm-page .scm-settings summary:before{content:none}.scm-page .scm-settings-panel{position:absolute;top:58px;right:12px;left:auto;width:min(320px,calc(100% - 24px));z-index:5;background:#fff;border:1px solid #d5e0e5;border-radius:10px;padding:14px;box-shadow:0 6px 22px #19384920}.scm-page .scm-settings-panel h3{font-size:16px;margin:0 0 10px}.scm-page .scm-settings-panel .scm-form{display:grid;gap:12px;padding:0;margin:0}.scm-page .scm-settings-panel .scc-check{display:flex!important;align-items:flex-start;gap:9px;margin:0;font-size:14px;line-height:1.4;cursor:pointer}.scm-page .scm-settings-panel .scc-check input{flex:0 0 auto;width:17px;height:17px;margin:2px 0 0;accent-color:#12677d}.scm-page .scm-settings-panel .scc-check span{flex:1;min-width:0}.scm-page .scm-settings-panel .scc-btn{justify-self:end;width:auto;min-height:40px}.scm-page .scm-search{margin:0 0 8px;gap:8px}.scm-page .scm-search-field{display:flex;align-items:center;gap:9px;min-width:0;flex:1;background:#edf2f4;border:1px solid #d5e0e5;border-radius:9px;padding:0 11px;color:#63757d}.scm-page .scm-search-field svg{flex:none}.scm-page .scm-search-field input{padding:10px 0;min-height:42px;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0;margin:0;font-size:16px}.scm-page .scm-search-field:focus-within{border-color:#12677d}.scm-search-live .scm-search-submit{display:none!important}.scm-page .scm-conversations[hidden],.scm-page .scm-search-results[hidden]{display:none!important}.scm-page .scm-empty{font-size:14px;color:#63757d;margin:12px 0 2px;line-height:1.4}.scm-page .scm-search-reset{display:block;font-size:14px;margin:8px 0}.scm-page .scm-person{padding:11px 0}.scm-page .scm-person strong{font-size:15px}.scm-page .scm-person small{font-size:13px}.scm-page .scm-person>span:last-child{font-size:16px;color:#63757d}.scm-page .scm-person>b.scm-unread{color:#fff}.scm-page .scm-person .scm-admin-avatar{font-size:19px}.scm-page .scm-list-head .scm-settings summary:focus-visible,.scm-page .scm-person:focus-visible{outline:2px solid #12677d;outline-offset:2px}

/* 0.2.24: keep one focus indicator on the complete search control. */
.scc-wrap.scm-page .scm-search .scm-search-field{box-sizing:border-box;min-width:0;max-width:100%;transition:border-color .15s,box-shadow .15s}
.scc-wrap.scm-page .scm-search .scm-search-field input[type="search"]{flex:1 1 0%;width:0;min-width:0;max-width:100%;border-radius:0;outline:none!important;outline-offset:0!important;box-shadow:none!important;-webkit-appearance:none;appearance:none}
.scc-wrap.scm-page .scm-search .scm-search-field input[type="search"]:focus,.scc-wrap.scm-page .scm-search .scm-search-field input[type="search"]:focus-visible{outline:none!important;box-shadow:none!important}
.scc-wrap.scm-page .scm-search .scm-search-field:focus-within{border-color:#12677d;box-shadow:0 0 0 1px #12677d}


/* 0.2.63 — mobile conversation input, scoped to active composition. */
@media (max-width:760px){
 body.sd5-theme.scm-mobile-compose .sd5-bottom-nav{display:none!important}
 body.sd5-theme.scm-mobile-compose .sd5-site-header{position:static}
 body.sd5-theme.scm-mobile-compose{padding-bottom:max(68px,calc(var(--scm-keyboard-gap,0px) + 24px));}
 body.sd5-theme.scm-mobile-compose .scm-thread.scm-live-thread{max-height:min(56vh,calc(var(--scm-visible-height,100vh)*.40),560px);overscroll-behavior-y:auto;}
 body.sd5-theme.scm-mobile-compose .scm-compose{scroll-margin-block:12px;}
}

.scm-receipt{display:inline-flex;vertical-align:middle;align-items:center;color:#536870;margin-left:3px}.scm-receipt.is-read{color:#12677d}.scm-peer .scm-typing{font-size:12px;color:#12677d}.scm-peer .scm-typing[hidden]{display:none!important}.scm-staff-inbox{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;padding:10px 12px;background:#fff;border:1px solid #d5e0e5;border-radius:8px;color:#12677d!important;text-decoration:none!important}.schat-staff-unread{display:inline-block;background:#12677d;color:#fff;border-radius:20px;min-width:22px;text-align:center;padding:2px 6px;font-size:12px}

/* 0.2.66 — a spacious, scoped conversation view; preserve keyboard scrolling. */
.scc-wrap.scm-page:has(.scm-dialog){max-width:880px}
.scc-wrap.scm-page:has(.scm-dialog)>.scc-links{margin:0 0 8px}
.scc-wrap.scm-page .scm-dialog{padding:14px;min-width:0}
.scc-wrap.scm-page .scm-dialog-head{padding-bottom:10px}
.scc-wrap.scm-page .scm-dialog .scm-thread{height:clamp(300px,54vh,660px);max-height:none;min-height:0;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;padding:12px 9px;gap:8px;margin:8px 0 10px;background:#f7f9fa;border-radius:10px}
.scc-wrap.scm-page .scm-dialog .scm-thread::before{content:'';flex:1 0 0px}
.scc-wrap.scm-page .scm-dialog .scm-thread>.scm-bubble{flex-shrink:0;max-width:88%;padding:7px 10px}
.scc-wrap.scm-page .scm-dialog .scm-compose textarea{min-height:44px;line-height:1.4;padding:9px 10px;resize:vertical}
.scc-wrap.scm-page .scm-dialog .scm-photo-picker{margin-top:5px}
/* Daily/parent page chrome consumes space; visually retain the page title for assistive tech. */
.sd5-theme .content-section:has(.scm-dialog) .page-head{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0}
.sd5-theme .content-section:has(.scm-dialog)>.breadcrumbs{display:none}
.sd5-theme:not(.sd5-front) .site-main .content-section:has(.scm-dialog){padding-top:10px;padding-bottom:18px}
.sd5-theme .content-section:has(.scm-dialog) .content-return{display:none}
@media(max-width:760px){
 .scc-wrap.scm-page:has(.scm-dialog){margin-top:0;margin-bottom:12px}
 .scc-wrap.scm-page .scm-dialog{padding:10px}
 .scc-wrap.scm-page .scm-dialog .scm-thread{height:clamp(220px,52vh,560px);height:clamp(220px,52dvh,560px);padding:10px 6px}
 .scc-wrap.scm-page .scm-dialog .scm-thread>.scm-bubble{max-width:91%}
 body.sd5-theme.scm-mobile-compose .scc-wrap.scm-page .scm-dialog .scm-thread{height:clamp(100px,calc(var(--scm-visible-height,100vh)*.40),320px);max-height:calc(var(--scm-visible-height,100vh)*.40);min-height:0;overscroll-behavior-y:auto}
}

/* 0.2.67 — compact messages, tap-to-open floating actions (no layout shift). */
.scm-actions:not([open])>.scm-actions-menu{display:none!important}
.scc-wrap.scm-page .scm-dialog .scm-thread{gap:5px}
.scc-wrap.scm-page .scm-dialog .scm-thread>.scm-bubble{position:relative;padding:5px 9px;border-radius:10px 10px 10px 3px;line-height:1.35;font-size:15px;min-width:0}
.scc-wrap.scm-page .scm-dialog .scm-thread>.scm-bubble.is-mine{border-radius:10px 10px 3px 10px}
.scc-wrap.scm-page .scm-dialog .scm-bubble .scm-message-body{line-height:1.35;margin:0;font-size:inherit}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small{font-size:10px;line-height:1.15;margin:3px 0 0;padding:0;white-space:nowrap}
.scc-wrap.scm-page .scm-dialog .scm-bubble .scm-receipt svg{width:16px;height:13px}
.scm-actions-ready .scm-bubble:not(.is-deleted){cursor:pointer}
.scc-wrap.scm-page .scm-actions-ready .scm-bubble-head{position:absolute;top:0;right:0;width:0;height:0;margin:0;padding:0;display:block}
.scm-actions-ready .scm-actions>summary{position:absolute;right:0;top:0;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.scm-actions-ready .scm-actions>summary:focus-visible{width:auto;height:auto;padding:5px 9px;overflow:visible;clip-path:none;z-index:2;background:#fff;border:1px solid #12677d;border-radius:6px;outline:2px solid #12677d}
.scc-wrap.scm-page .scm-actions-ready .scm-actions[open]>.scm-actions-menu{position:fixed;z-index:10001;display:flex;width:174px;max-width:calc(100vw - 16px);box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;gap:0;padding:4px;margin:0;background:#fff;border:1px solid #d5e0e5;border-radius:10px;box-shadow:0 6px 24px #19384930;cursor:default}
.scc-wrap.scm-page .scm-actions-ready .scm-actions-menu>button{display:block;width:100%;margin:0;padding:10px 11px;min-height:40px;border:0;border-radius:6px;background:transparent;color:#12677d;text-align:left;font-size:14px;line-height:1.25;font-weight:400;box-shadow:none}
.scc-wrap.scm-page .scm-actions-ready .scm-actions-menu>button.scm-danger{color:#a34545}
.scc-wrap.scm-page .scm-actions-ready .scm-actions-menu>button:hover,.scc-wrap.scm-page .scm-actions-ready .scm-actions-menu>button:focus-visible{background:#edf2f4}

.scm-reaction-badge{display:inline-block;font-size:15px;line-height:1.3;background:#fff9;border-radius:12px;padding:2px 6px;margin:3px 4px 0 0}.scm-reaction-dialog{max-width:calc(100vw - 24px);box-sizing:border-box;padding:12px}.scm-reaction-options{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.scm-reaction-options button{background:#fff;border:1px solid #d5e0e5;border-radius:9px;min-width:40px;min-height:40px;font-size:20px;cursor:pointer}.scm-reaction-options button[aria-pressed=true]{border-color:#12677d;background:#e4f0f2}

/* 0.2.69 — direct reaction control, inline with message time. */
.scc-wrap.scm-page .scm-dialog .scm-bubble>small{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;white-space:normal}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small .scm-reaction-badge{display:inline-flex;align-items:center;justify-content:center;line-height:1.15;padding:2px 5px;margin:0;font-size:15px;vertical-align:middle}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small button.scm-reaction-trigger{display:none}
.scc-wrap.scm-page .scm-dialog .scm-actions-ready .scm-bubble>small button.scm-reaction-trigger{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:32px;min-height:32px;width:auto;height:auto;margin:0;padding:2px 5px;border:1px solid transparent;border-radius:12px;background:transparent;color:#526c76;line-height:1;box-shadow:none;cursor:pointer}
.scc-wrap.scm-page .scm-dialog .scm-actions-ready .scm-bubble>small button.scm-reaction-trigger.is-selected{background:#ffffffa8;border-color:#cddde1}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small button.scm-reaction-trigger:focus-visible{outline:2px solid #12677d;outline-offset:1px}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small .scm-reaction-badge img.emoji{width:1em!important;height:1em!important;display:inline-block!important;margin:0!important}
.scm-reaction-options button:focus-visible{outline:2px solid #12677d;outline-offset:2px}

/* Reaction controls and message menu. */
.scc-wrap.scm-page .scm-dialog .scm-bubble>small button.scm-reaction-trigger:not(.is-selected){min-height:24px;min-width:24px;padding:0;background:transparent;border:0;box-shadow:none}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small .scm-reaction-badge img.emoji{width:1em!important;height:1em!important;vertical-align:middle!important}
.scc-wrap.scm-page .scm-actions-ready .scm-actions[open]>.scm-actions-menu.has-reaction-options{width:302px;max-width:calc(100vw - 16px);padding:5px}
.scc-wrap.scm-page .scm-actions-ready .scm-menu-reactions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;align-items:center;padding:3px 1px 5px;border-bottom:1px solid #e6ecef;margin-bottom:3px}
.scc-wrap.scm-page .scm-actions-ready .scm-menu-reactions>button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:40px;padding:0;margin:0;background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;box-shadow:none;font-size:23px;line-height:1;cursor:pointer}
.scc-wrap.scm-page .scm-actions-ready .scm-menu-reactions>button[aria-pressed=true]{border-color:#12677d;background:#e4f0f2}
.scc-wrap.scm-page .scm-actions-ready .scm-menu-reactions>button:focus-visible{outline:2px solid #12677d;outline-offset:-2px}
.scc-wrap.scm-page .scm-actions-ready .scm-menu-reactions>button img.emoji{width:1em!important;height:1em!important;margin:0!important}

/* 0.2.72 — reaction and timestamp occupy their own normal-flow footer. */
.scc-wrap.scm-page .scm-dialog .scm-bubble>small{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:4px 8px;white-space:normal}
.scc-wrap.scm-page .scm-dialog .scm-bubble>small .scm-message-time{display:inline-flex;flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 3px;margin-left:auto;text-align:right;line-height:1.35;overflow-wrap:anywhere}
.scc-wrap.scm-page .scm-dialog .scm-bubble.has-reaction>small .scm-reaction-badge,
.scc-wrap.scm-page .scm-dialog .scm-actions-ready .scm-bubble.has-reaction>small button.scm-reaction-trigger.is-selected{position:static;transform:none;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:32px;height:24px;min-height:24px;padding:2px 6px;margin:0 auto 0 0;border:0;border-radius:999px;background:#c9e6ef;color:#193849;box-shadow:none;font-size:15px;line-height:1}
.scc-wrap.scm-page .scm-dialog .scm-bubble.has-reaction>small .scm-reaction-badge img.emoji{width:1em!important;height:1em!important;display:inline-block!important;margin:0!important}
