/* V21 shared controls: local Inter, compact rhythm and visible interaction states. */
html:root body.fdm-ui-v51{--fdm-ui-font:Inter,Arial,sans-serif!important}
html body.fdm-ui-v51 :is(.fdm15-module-nav a,.fdm21-button,.fdm21-publishing-nav a,.fdm21-calendar-toolbar a){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:36px!important;padding:8px 12px!important;border:1px solid #d7e3ef!important;border-radius:7px!important;background:#fff!important;color:#365b7c!important;font:500 13px/1.35 Inter,Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important;white-space:nowrap}
html body.fdm-ui-v51 :is(.fdm15-module-nav a.active,.fdm21-button.active,.fdm21-publishing-nav a.active){background:#eaf3fd!important;border-color:#bdd8f3!important;color:#1764a6!important}
html body.fdm-ui-v51 :is(.fdm21-button.primary,.fdm21-publishing-nav a.primary){background:#176cba!important;border-color:#176cba!important;color:#fff!important}
html body.fdm-ui-v51 :is(.fdm21-button,.fdm21-publishing-nav a,.fdm15-module-nav a):hover{filter:brightness(.97)}
html body.fdm-ui-v51 :is(.fdm21-button,.fdm21-publishing-nav a,.fdm15-module-nav a):focus-visible{outline:2px solid #2687d5!important;outline-offset:2px!important}
html body.fdm-ui-v51 .fdm15-module-nav{gap:6px!important;margin:0!important;padding:0 0 12px!important}
#fdm-connect-header .fdm-topactions .fdm-action{width:34px!important;height:34px!important;min-width:34px!important;border-radius:7px!important;padding:6px!important}
#fdm-connect-header .fdm-topactions .fdm-action>.fdm20-icon{width:18px!important;height:18px!important;max-width:18px!important;min-width:18px!important}
#fdm-connect-header .fdm-topactions .global-ai{height:34px!important;min-height:34px!important;padding:6px 12px!important;box-shadow:none!important}
html:root body.fdm-ui-v51 .fdm-account-menu257{width:224px!important;padding:7px!important;border-radius:9px!important;font:400 13px/1.5 Inter,Arial,sans-serif!important;box-shadow:0 8px 24px #183b621c!important}
html:root body.fdm-ui-v51 .fdm-account-menu257 p{padding:6px!important;margin:0 0 5px!important;font:500 11px/1.5 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;border-bottom:1px solid #e6edf5!important;color:#647b92!important}
html:root body.fdm-ui-v51 .fdm-account-menu257 a{display:flex!important;align-items:center!important;gap:8px!important;min-height:34px!important;padding:7px 9px!important;font:500 13px/1.4 Inter,Arial,sans-serif!important;border-radius:6px!important}
.fdm-account-menu257 a img{width:16px!important;height:16px!important;flex:0 0 16px!important}
.fdm-v51-person-avatar{position:relative!important;overflow:hidden!important}.fdm-v51-person-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.fdm21-entity-photo{width:32px!important;height:32px!important;object-fit:cover!important;border-radius:50%!important;flex:0 0 32px!important}
.fdm21-entity-photo[hidden]{display:none!important}.preview-head .avatar{overflow:hidden!important;padding:0!important}.preview-head .avatar>.fdm21-entity-photo{width:100%!important;height:100%!important}
/**** Details expands inside the chat, so no clipping/negative popup coordinates. ****/
html body.fdm-ui-v51[data-fdm-route="conversations"] .fdm20-window-details[open]{flex:1 0 100%!important;order:2!important}
html body.fdm-ui-v51[data-fdm-route="conversations"] .fdm20-window-explanation{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:100%!important;max-width:none!important;margin-top:6px!important;box-shadow:none!important;box-sizing:border-box!important}
html body.fdm-ui-v51[data-fdm-route="conversations"] .fdm-ai-switch[data-fdm21-unknown] .fdm-ai-track{background:#aab7c6!important;box-shadow:none!important}
/**** Publishing ****/
html body.fdm-ui-v51[data-fdm-route="publishing"] main,html body.fdm-ui-v51[data-fdm-route="create"] main{padding-top:16px!important}
.fdm21-publishing-nav{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin:0 0 18px!important;padding:0!important}
.fdm21-publishing-nav .fdm21-create-post{margin-left:auto!important}
html body.fdm-ui-v51 .fdm21-publishing-nav~.hero{padding:16px 20px!important;margin:0 0 16px!important;border-radius:10px!important;box-shadow:none!important}
html body.fdm-ui-v51 .fdm21-publishing-nav~.hero h1{font:600 25px/1.3 Inter,Arial,sans-serif!important;margin:0 0 5px!important}
html body.fdm-ui-v51 :is(#postForm button,.preview-card button){font-family:Inter,Arial,sans-serif!important;border-radius:7px!important;box-shadow:none!important}
html body.fdm-ui-v51 #postForm .fdm21-draft-toolbar{gap:7px!important;display:flex!important;flex-wrap:wrap!important;margin-bottom:8px!important;align-items:center!important}
html body.fdm-ui-v51 #postForm .fdm21-draft-toolbar button{min-height:32px!important;padding:6px 10px!important;font-size:12px!important}
html body.fdm-ui-v51 #postForm .fdm21-draft-toolbar button[hidden]{display:none!important}
html body.fdm-ui-v51 #postForm .fc-muted{font:400 11px/1.5 Inter,Arial,sans-serif!important;color:#63788e!important}
html body.fdm-ui-v51 #postForm .section{padding:12px 0 16px!important;margin:0 0 12px!important;border-radius:0!important;border-width:0 0 1px!important;box-shadow:none!important}
html body.fdm-ui-v51 :is(#postForm,.preview-card){padding:18px!important;border-radius:10px!important;box-shadow:0 2px 8px #24405b06!important}
html body.fdm-ui-v51 #postForm .title{font:600 13px/1.5 Inter,Arial,sans-serif!important}
html body.fdm-ui-v51 #postForm textarea#caption{min-height:160px!important;font:400 13px/1.6 Inter,Arial,sans-serif!important;padding:12px!important;border-radius:8px!important}
html body.fdm-ui-v51 #postForm .hint{font:400 11px/1.55 Inter,Arial,sans-serif!important;color:#63788e!important}
html body.fdm-ui-v51 #postForm .page{gap:10px!important;padding:10px!important;align-items:center!important}
html body.fdm-ui-v51 #postForm .page-meta{flex:1 1 auto!important;min-width:0!important}
.fdm21-post-options>summary{cursor:pointer;padding:8px 0;font:500 12px/1.5 Inter,Arial,sans-serif;color:#4f6d88}
html body.fdm-ui-v51 #postForm #submitBtn{min-height:38px!important;padding:9px 14px!important;font-size:13px!important}
/**** Calendar ****/
.fdm21-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0}
.fdm21-calendar-paging,.fdm21-calendar-views{display:flex;align-items:center;gap:6px}.fdm21-calendar-paging strong{font:600 14px Inter,Arial,sans-serif;margin:0 8px}
.fdm21-calendar-more{position:relative}.fdm21-calendar-more>a{display:block;padding:8px;font-size:12px}.fdm21-calendar-more[open]{background:#fff;border:1px solid #dbe5ef;border-radius:8px;padding:5px}
.fdm21-calendar-weekdays,.fdm21-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.fdm21-calendar-weekdays{padding:0 10px 8px;font:500 11px Inter,Arial,sans-serif;color:#6b8095}
.fdm21-calendar-day{background:#fff;border:1px solid #dce5ef;border-radius:8px;min-height:105px;padding:10px;min-width:0}
.fdm21-calendar-day.today{border-color:#76ade2;box-shadow:inset 0 2px #2980c9}.fdm21-calendar-day h2{font:600 12px/1.4 Inter,Arial,sans-serif!important;margin:0 0 8px!important}.fdm21-day-name{display:none}
.fdm21-calendar-event{border-left:3px solid #80afd8;border-radius:4px;background:#f4f8fc;margin-top:6px;padding:7px;font:400 11px/1.5 Inter,Arial,sans-serif;overflow-wrap:anywhere}
.fdm21-calendar-event>summary{cursor:pointer;list-style:none}.fdm21-calendar-event :is(strong,small,.fdm21-event-time){display:block}.fdm21-calendar-event strong{font-size:11px;font-weight:500}.fdm21-calendar-event small{font-size:10px;color:#637990;margin-top:3px}
.fdm21-status{display:inline-block;border-radius:10px;padding:2px 6px;margin-top:6px;background:#e7eff9;color:#345d85;font-size:9px}.fdm21-status.failed{background:#fdeaea;color:#a13f3f}.fdm21-status.partial{background:#fff1db;color:#8d6429}.fdm21-status.published{background:#e5f6ed;color:#2b7656}.fdm21-status.scheduled{background:#e7f1fe;color:#1768b7}
.fdm21-event-details{padding-top:6px}.fdm21-event-details>a{display:block;margin-top:6px;font-size:11px}.fdm21-more-operations{margin-top:18px!important}.fdm21-more-operations>summary{font-size:12px;font-weight:500;cursor:pointer}
.fdm21-account-card{max-width:580px!important}.fdm21-account-summary{display:flex;gap:12px;align-items:center;margin-bottom:16px}.fdm21-account-summary img{border-radius:50%;object-fit:cover}.fdm21-account-summary h2{margin:0;font-size:17px}.fdm21-account-summary p{margin:4px 0;color:#62788f;font-size:12px}.fdm21-account-card form{display:grid;gap:12px}.fdm21-account-card label{display:grid;gap:5px;font-size:12px}.fdm21-account-card input{height:38px;padding:8px;border:1px solid #d5e2ed;border-radius:7px}
@media(max-width:800px){.fdm21-calendar-weekdays,.fdm21-calendar-blank,.fdm21-calendar-day.empty{display:none}.fdm21-calendar{grid-template-columns:1fr}.fdm21-calendar-day{min-height:0}.fdm21-day-name{display:inline}.fdm21-calendar-toolbar{gap:8px}.fdm21-calendar-paging{flex-wrap:wrap}.fdm21-publishing-nav .fdm21-create-post{margin-left:0!important}}
html body.fdm-ui-v51[data-fdm-route="publishing"] :is(.btn,.cancel-post,.publishing-filter,button:not(.toolbtn):not(.post-option-icon):not(.media-remove):not(#submitBtn):not(#emojiToggle)){min-height:34px!important;padding:7px 11px!important;border-radius:7px!important;font:500 12px/1.4 Inter,Arial,sans-serif!important;box-shadow:none!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] :is(.card,.hero){border-radius:10px!important;box-shadow:0 2px 8px #24405b06!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] :is(.cancel-post,.publishing-filter){border:1px solid #d4e1ef!important;background:#fff!important;color:#365e83!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] form:has(input[value*="cancel"]) button{background:#fff5f4!important;color:#a34747!important;border-color:#ead0ce!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] .publishing-filter.is-active{background:#e9f2fd!important;color:#176cba!important;border-color:#bfd8f1!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] :is(th,td){padding:10px 12px!important;font:400 12px/1.5 Inter,Arial,sans-serif!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] th{font-weight:500!important;color:#556e87!important}
.fdm21-calendar:has(.fdm21-calendar-day.empty):not(:has(.has-events))::after{content:'No posts scheduled in this period.';display:block;padding:16px;font:400 12px Inter,Arial,sans-serif;color:#627a91;grid-column:1/-1}

.preview-head .avatar{position:relative!important}.preview-head .avatar>.fdm21-entity-photo{position:absolute!important;inset:0!important}

/* V24: compact FDM action buttons, matching the approved blue-gradient reference. */
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton){
 border:1px solid #0866b9!important;border-radius:7px!important;
 background:linear-gradient(180deg,#1878c5 0%,#0d72ca 48%,#066bc7 100%)!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 1px 2px rgba(16,74,126,.12)!important;
 min-height:36px!important;padding:8px 14px!important;
 font-family:Inter,Arial,sans-serif!important;font-size:13px!important;font-weight:600!important;line-height:18px!important;
 text-decoration:none!important;vertical-align:middle;transition:background .15s ease,box-shadow .15s ease!important;
}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):hover:not(:disabled):not([aria-disabled=true]){
 background:linear-gradient(180deg,#1c78c6,#0870ca)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 2px 4px rgba(16,74,126,.16)!important;
}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):active:not(:disabled){background:linear-gradient(180deg,#0868bb,#147bd0)!important;box-shadow:inset 0 1px 3px rgba(0,40,85,.18)!important}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):focus-visible{outline:3px solid #8bc9fb!important;outline-offset:2px!important}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):is(:disabled,[aria-disabled=true]){background:#e0e8f0!important;border-color:#cdd9e5!important;color:#526b83!important;-webkit-text-fill-color:#526b83!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):is(.danger,.btn-danger,[data-destructive=true]){background:linear-gradient(180deg,#cc4853,#ae2431)!important;border-color:#9e202c!important;color:#fff!important}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton) svg{color:inherit!important}
@media(prefers-reduced-motion:reduce){:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton){transition:none!important}}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):is(.danger,.btn-danger,[data-destructive=true]):hover:not(:disabled){background:linear-gradient(180deg,#d65560,#b42b38)!important;border-color:#9e202c!important}
:is(.btn,.fdm23-export button,.ac-btn,.fdm72-btn,.fdm21-button,.linkbtn,.fdm21-draft-toolbar>button,#humanSendButton):is(:disabled,[aria-disabled=true]){background:#e0e8f0!important;border-color:#cdd9e5!important;color:#526b83!important;-webkit-text-fill-color:#526b83!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important}

/* V25: explicitly readable labels on the two Publishing option toggles.
   The original page applies transparent backgrounds to these buttons. */
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm :is(#messengerIcon,#locationIcon).post-option-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
 width:auto!important;min-width:116px!important;max-width:100%!important;height:36px!important;min-height:36px!important;
 padding:7px 12px!important;border:1px solid #c4d8eb!important;border-radius:7px!important;
 background:#f3f8fd!important;background-image:none!important;color:#174d7f!important;-webkit-text-fill-color:#174d7f!important;
 font:600 12px/18px Inter,Arial,sans-serif!important;white-space:nowrap!important;overflow:visible!important;
 box-shadow:none!important;filter:none!important;opacity:1!important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm :is(#messengerIcon,#locationIcon) [data-fdm24-option-label]{
 display:inline!important;position:static!important;width:auto!important;height:auto!important;
 color:#174d7f!important;-webkit-text-fill-color:#174d7f!important;
 font:600 12px/18px Inter,Arial,sans-serif!important;letter-spacing:normal!important;text-indent:0!important;
 opacity:1!important;visibility:visible!important;overflow:visible!important;white-space:nowrap!important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm :is(#messengerIcon,#locationIcon).post-option-icon:is(.active,[aria-pressed=true]){
 background:linear-gradient(180deg,#1878c5,#066bc7)!important;border-color:#0866b9!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;filter:none!important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm :is(#messengerIcon,#locationIcon):is(.active,[aria-pressed=true]) [data-fdm24-option-label]{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm :is(#messengerIcon,#locationIcon) svg{width:18px!important;height:18px!important;flex:none!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm #messengerIcon:is(.active,[aria-pressed=true]) svg path:first-child,
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm #locationIcon:is(.active,[aria-pressed=true]) svg path{fill:#fff!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm #messengerIcon:is(.active,[aria-pressed=true]) .messenger-bolt{fill:#0b70c8!important}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .fdm24-inline-options .post-option-icons{flex-wrap:wrap!important;gap:8px!important}

/* V25: compact Phosphor bell; no additional header row. */
html body.fdm-ui-v51 .fdm25-bell-wrap{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;position:relative!important;margin:0 6px!important}
html body.fdm-ui-v51 #fdmNotificationBell25.fdm25-bell-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;border:1px solid #cfdfef!important;border-radius:8px!important;background:#fff!important;color:#176cba!important;-webkit-text-fill-color:#176cba!important;box-shadow:none!important;cursor:pointer!important}
html body.fdm-ui-v51 #fdmNotificationBell25 img{display:block!important;width:20px!important;height:20px!important;filter:none!important}
html body.fdm-ui-v51 #fdmNotificationBell25 .fdm25-bell-count{position:absolute!important;top:-6px!important;right:-7px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:17px!important;height:17px!important;padding:0 4px!important;background:#c82f40!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid #fff!important;border-radius:10px!important;font:700 9px/13px Inter,Arial,sans-serif!important}
html body.fdm-ui-v51 #fdmNotificationBell25 .fdm25-bell-count[hidden],html body.fdm-ui-v51 .fdm25-bell-panel[hidden]{display:none!important}
html body.fdm-ui-v51 .fdm25-bell-panel{position:fixed!important;z-index:2147483300!important;max-height:min(520px,calc(100vh - 110px))!important;overflow:auto!important;background:#fff!important;color:#173f68!important;border:1px solid #d3e1ee!important;border-radius:12px!important;box-shadow:0 12px 36px rgba(20,57,94,.18)!important;font:13px/1.45 Inter,Arial,sans-serif!important;text-align:left!important}
html body.fdm-ui-v51 .fdm25-bell-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 15px!important;border-bottom:1px solid #e2ebf3!important}
html body.fdm-ui-v51 .fdm25-bell-head strong{font-size:14px!important;color:#173f68!important}
html body.fdm-ui-v51 .fdm25-bell-head button{background:#f1f7fd!important;color:#176cba!important;-webkit-text-fill-color:#176cba!important;border:1px solid #ccdeee!important;border-radius:6px!important;padding:5px 9px!important;font:600 11px Inter,Arial,sans-serif!important;box-shadow:none!important;min-height:28px!important}
html body.fdm-ui-v51 .fdm25-alert-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:12px 15px!important;border-bottom:1px solid #e8eff5!important;text-decoration:none!important;color:#173f68!important;background:#fff!important}
html body.fdm-ui-v51 .fdm25-alert-row:hover{background:#f3f8fd!important}
html body.fdm-ui-v51 .fdm25-alert-row strong{display:block!important;color:#173f68!important;font:600 12px Inter,Arial,sans-serif!important}
html body.fdm-ui-v51 .fdm25-alert-row small{display:block!important;color:#526a82!important;font:400 11px/1.5 Inter,Arial,sans-serif!important;margin-top:4px!important}
html body.fdm-ui-v51 .fdm25-alert-row b{flex:none!important;color:#176cba!important;font:700 15px Inter,Arial,sans-serif!important}
html body.fdm-ui-v51 .fdm25-bell-note,html body.fdm-ui-v51 .fdm25-alert-empty{margin:0!important;padding:12px 15px!important;color:#526a82!important;font:400 11px/1.5 Inter,Arial,sans-serif!important}
html body.fdm-ui-v51 #fdmNotificationBell25:focus-visible,html body.fdm-ui-v51 .fdm25-alert-row:focus-visible{outline:2px solid #2687d5!important;outline-offset:2px!important}
@media print{html body.fdm-ui-v51 .fdm25-bell-wrap,html body.fdm-ui-v51 .fdm25-bell-panel{display:none!important}}

/* Staff paper standard for browser printing; dedicated export reports use the same size. */
@page{size:Letter landscape;margin:0.45in}

/* V26: unread acknowledgement is separate from resolving the underlying issue. */
html body.fdm-ui-v51 .fdm26-read-actions{display:flex!important;justify-content:flex-end!important;padding:9px 14px!important;border-bottom:1px solid #e2ebf3!important;background:#f8fbfe!important}
html body.fdm-ui-v51 .fdm26-read-actions button{background:#176cba!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #0866b9!important;border-radius:6px!important;padding:6px 10px!important;min-height:30px!important;font:600 11px Inter,Arial,sans-serif!important;box-shadow:none!important}
html body.fdm-ui-v51 .fdm26-read-actions button:disabled{background:#e0e8f0!important;color:#526b83!important;-webkit-text-fill-color:#526b83!important;border-color:#cdd9e5!important;cursor:not-allowed!important;opacity:1!important}
html body.fdm-ui-v51 .fdm25-alert-row.fdm26-read{background:#f8fafc!important}
html body.fdm-ui-v51 .fdm25-alert-row.fdm26-read b{color:#658097!important}

/* Publishing surfaces. Keep all composer controls in their original form. */
html body.fdm-ui-v51[data-fdm-route="publishing"] main:has(#postForm) {
 --publish-surface: #f1f6fc;
 --publish-border: #c7daee;
 --publish-shadow: 0 5px 18px rgba(25, 66, 107, .08);
}
html body.fdm-ui-v51[data-fdm-route="publishing"] main:has(#postForm) > .hero {
 background: linear-gradient(112deg, #e5f1fd, #f6faff) !important;
 border: 1px solid var(--publish-border) !important;
 border-inline-start: 4px solid #1877c2 !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) {
 gap: clamp(14px, 2vw, 24px) !important;
 grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] :is(#postForm, .grid:has(> #postForm) > aside .preview-card) {
 background: var(--publish-surface) !important;
 border: 1px solid var(--publish-border) !important;
 border-radius: 14px !important;
 box-shadow: var(--publish-shadow) !important;
 min-width: 0;
 padding: clamp(12px, 1.35vw, 20px) !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm > .section {
 background: #fff !important;
 border: 1px solid var(--publish-border) !important;
 border-radius: 11px !important;
 box-shadow: 0 2px 5px rgba(25, 66, 107, .045) !important;
 margin: 0 0 12px !important;
 padding: clamp(12px, 1.3vw, 18px) !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm :is(.title, .section-head .title) {
 color: #153e67 !important;
 font-size: 14px !important;
 font-weight: 700 !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .upload {
 background: #f5f9fe;
 border-color: #abc9e5;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .upload-row > input[type="file"] {
 max-inline-size: 100%;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .mode {
 container-type: inline-size;
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .mode-option {
 flex: 1 1 100%;
 min-width: 0;
 padding: 12px;
 border-color: #c5d8ec;
 border-radius: 9px;
}
@container (min-width: 570px) {
 html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .mode-option {
  flex: 1 1 0;
 }
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .mode-option:has(input:checked) {
 border-color: #2782cf;
 background: #eaf4ff;
 box-shadow: inset 0 0 0 1px #2782cf;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] #postForm .mode-option:has(input:focus-visible) {
 outline: 2px solid #1669ad;
 outline-offset: 2px;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) > aside {
 min-width: 0;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) .preview-card {
 position: static !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) :is(.preview-shell, .selected-pages) {
 border-color: var(--publish-border);
 background: #fff;
 overflow-wrap: anywhere;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) .preview-head {
 background: #f7fbff;
 border-bottom-color: var(--publish-border);
}
@media (min-width: 1001px) and (min-height: 650px) {
 html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) > aside {
  position: sticky !important;
  top: 94px !important;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  border-radius: 14px;
 }
}
@media (max-width: 1000px) {
 html body.fdm-ui-v51[data-fdm-route="publishing"] .grid:has(> #postForm) {
  grid-template-columns: minmax(0, 1fr) !important;
 }
}

html body.fdm-ui-v51[data-fdm-route="publishing"] :is(.fdm21-calendar-day, .fdm-v312-post-card) {
 border-color: #c7daee !important;
 box-shadow: 0 3px 12px rgba(25, 66, 107, .07) !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .fdm21-calendar-day.has-events {
 background: #f7fbff;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .fdm21-calendar-day.today {
 border-color: #548fc6 !important;
 box-shadow: inset 0 3px #2980c9 !important;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .fdm21-calendar-event {
 background: #e9f3fe;
 border-inline-start-color: #3984c5;
}
html body.fdm-ui-v51[data-fdm-route="publishing"] .fdm-v312-post-card {
 border-inline-start: 3px solid #5495cf !important;
}

/* Individual notification details. */
.fdm25-bell-list details > summary { cursor: pointer; }
.fdm25-bell-list > details > summary::after { content: "▸"; margin-inline-start: auto; }
.fdm25-bell-list > details[open] > summary::after { content: "▾"; }
.fdm27-alert-record { padding: 8px 14px; background: #f7fbff; border-bottom: 1px solid #dfeaf5; overflow-wrap: anywhere; }
.fdm27-alert-record > summary { display: flex; justify-content: space-between; gap: 8px; }
.fdm27-alert-record > p { margin: 8px 0; }
.fdm27-unread { color: #145d9b; font-weight: 700; }
.fdm27-alert-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fdm27-alert-actions > button { color: #145d9b !important; -webkit-text-fill-color: #145d9b !important; background: #fff !important; border: 1px solid #b9d4eb; border-radius: 6px; padding: 4px 8px; }
.fdm27-alert-actions > button:disabled { opacity: .65; }

/* Dashboard toolbar typography and initial render. */
#fdm-dashboard-v72 .fdm72-head-actions a:is([href$="#aiPagePanel"], [href="/account-settings.php?section=reply-ai"]) { display: none !important; }
html:root body.fdm-ui-v51 #fdm-dashboard-v72 .fdm72-head-actions > .fdm72-btn,
html:root body.fdm-ui-v51 #fdm-dashboard-v72 .fdm72-head-actions > .fdm72-btn > span:not([aria-hidden]) {
 font: 700 13px/18px Inter, "Segoe UI", Arial, sans-serif !important;
 letter-spacing: normal !important;
}


/* Wide layouts already show the Client Info panel beside the composer. */
@media (min-width: 1181px) {
 html:root body.fdm-ui-v51[data-fdm-route="conversations"] .layout:has(> #fdm19ClientDetails)
 .composer .compose-tools > button[data-fdm19-details] {
  display: none !important;
 }
}
