/* Restore the original teal/gold identity without altering data, layouts or access. */
body.crm-unified,body.workspace-home-body,body.crm-workbooks{--crm-header:linear-gradient(108deg,#102f39 0%,#174b57 55%,#1d6371 100%);--crm-header-ink:#fff;--crm-gold:#f4ca28;--header-gradient:var(--crm-header);--header-gold:var(--crm-gold)}
body.crm-unified .app-main>.topbar,body.crm-workbooks .desk-top,#workspace-home .dh-header{background:var(--crm-header);color:#fff;border-color:#174b57;box-shadow:0 3px 14px #102f3926}
body.crm-unified .topbar>.home-link{color:var(--crm-gold)}
body.crm-unified #main-content .page-heading>.executive-header:has(+.header-nav),body.crm-unified #main-content :is(.executive-header,.page-head){background:var(--crm-header)!important;color:#fff!important;border-color:#174b57!important;box-shadow:0 4px 14px #102f391c!important}
body.crm-unified #main-content :is(.executive-header,.page-head) :is(h1,h2,p,.eyebrow,.header-scope,small),body.crm-unified #main-content .dashboard-header .header-copy>small{color:#fff!important}
body.crm-unified #main-content :is(.executive-header,.page-head) .eyebrow{color:var(--crm-gold)!important}
body.crm-unified #main-content :is(.panel-head,.section-head),body.crm-unified #main-content :is(.panel,.form-panel)>h2{background:var(--crm-header)!important;color:#fff!important;border-color:#174b57}
body.crm-unified #main-content :is(.panel-head,.section-head) :is(h2,h3,p,small,.eyebrow){color:#fff!important}
body.crm-unified #personal-dashboard .pd-header-columns{background:#e8f0ed}
body.crm-unified .app-main :is(.topbar,.executive-header,.page-head,.panel-head,.section-head) :is(button,a.button,a.secondary,a.mini,summary):not(.danger):not(.reject):not(.delete):not(.link-button){background:#123c46!important;color:#fff!important;border-color:#6b8e91!important;box-shadow:inset 0 1px #ffffff15,0 2px 5px #08252a26!important}
body.crm-unified .app-main :is(.topbar,.executive-header,.page-head,.panel-head,.section-head) :is(button,a.button,a.secondary,a.mini,summary):hover:not(:disabled){background:#235966!important}
/* Popovers remain light: do not inherit dark toolbar controls into their content. */
body.crm-unified .app-main .topbar :is(.module-switcher-panel,.user-popover,.notification-panel,.hanger-panel) :is(button,summary,a.button,a.secondary,a.mini){background:#f8fcfa!important;color:var(--crm-ink)!important;border-color:var(--crm-line)!important}
body.crm-unified .app-main .topbar .global-search button{background:transparent!important;border:0!important;color:#006d69!important;box-shadow:none!important}
body.crm-unified .topbar .avatar,#workspace-home .dh-avatar,#workspace-home .dh-logo{background:var(--crm-gold);color:#123c46;border-color:var(--crm-gold)}
body.crm-unified :is(.topbar,.executive-header,.page-head,.panel-head,.section-head) .crm-action-icon{color:var(--crm-gold)}
body.crm-unified :is(.module-nav-icon,.module-primary .nav-icon),body.crm-unified #personal-dashboard .pd-shortcut .crm-action-icon,#workspace-home .dh-banner .dh-button-icon{background:#174b57;color:var(--crm-gold);border-radius:6px;padding:3px;width:25px;height:25px;flex-basis:25px;box-sizing:border-box;display:inline-grid;place-items:center}
body.crm-unified .module-nav-icon svg,body.crm-unified .module-primary .nav-icon svg{width:19px;height:19px}
body.crm-unified :is(.module-view-tabs,.module-section-links)>a.active,body.crm-unified .module-primary>a.active,body.crm-unified #main-content .header-nav :is(a.active,button.active,[aria-current="page"],[aria-pressed="true"]),body.crm-unified .app-main :is(.tabs,.compact-tabs) a.active{background:#f4ca28!important;color:#102f39!important;border-color:#d8af1e!important;box-shadow:inset 3px 0 #174b57!important}
body.crm-unified .topbar :is(a,button,summary):focus-visible,body.crm-unified :is(.executive-header,.panel-head,.section-head) :is(a,button,summary):focus-visible,#workspace-home .dh-header :is(a,button,summary):focus-visible{outline:2px solid var(--crm-gold)!important;outline-offset:3px}
#workspace-home .dh-brand,#workspace-home .dh-brand small,#workspace-home .dh-profile{color:#fff}
#workspace-home .dh-profile-menu>summary{background:#123c46;border:1px solid #6b8e91}
#workspace-home .dh-profile-popover{color:#193d43}
#workspace-home .dh-banner,#workspace-home .dh-banner:nth-child(even){border-top:0!important;--dh-accent:#006d69;--dh-wash:#e7f2ed}
#workspace-home .dh-copy h2{background:var(--crm-header);color:#fff;padding:9px 62px 9px 12px;margin:-13px -15px 10px;border-radius:13px 13px 0 0;min-height:44px;font-size:18px}
#workspace-home .dh-art{top:2px}
#workspace-home .dh-art::before{background:#ffffff12}
#workspace-home .dh-custom-section-icon{background:#174b57;color:var(--crm-gold);box-shadow:none}
#workspace-home .dh-access-badge{background:var(--crm-gold);color:#102f39;border-color:var(--crm-gold)}
#workspace-home .dh-link{min-height:34px;padding:4px 8px}
#workspace-home .dh-link-label{gap:8px}
/* A compact directory: the separate welcome hero no longer consumes a screen. */
body.crm-unified #main-content .module-hanger-home .executive-header{padding:10px 14px!important}
body.crm-unified #main-content .module-hanger-home h1{font-size:21px}
.module-hanger-home .directory-settings{margin:8px 0 0;max-width:100%}
.module-hanger-home .directory-settings>summary{display:inline-flex;min-height:32px;padding:6px 10px;cursor:pointer}
.module-hanger-home .directory-style-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0 0}
.module-hanger-home .directory-style-controls>strong{font-size:13px}
body.crm-unified .module-hanger-home .hanger-home-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 12px;padding:0;border:0;background:transparent}
body.crm-unified .module-hanger-home .hanger-home-controls label{display:flex;align-items:center;gap:8px;margin:0;flex:1 1 260px}
body.crm-unified .module-hanger-home #module-filter{min-width:100px;max-width:400px;flex:1;padding:7px 10px;min-height:36px}
body.crm-unified .module-hanger-home [data-hanger-motion]{display:inline-flex!important;min-height:32px;font-size:12px;padding:6px 9px}
body.crm-unified .module-hanger-home .module-hanger-group{padding:0;margin:0;border:0;background:transparent;box-shadow:none;min-height:0}
body.crm-unified .module-hanger-home .module-hanger-group>h2{font-size:15px;margin:8px 0}
body.crm-unified .module-hanger-home .module-hanger-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));align-items:start;gap:10px;padding:0;margin:0;min-height:0}
body.crm-unified .module-hanger-home .home-chain{padding:0!important;margin:0;border:1px solid #c9dcd6!important;border-radius:12px;background:#fff;min-width:0;box-shadow:0 3px 10px #174b570b}
body.crm-unified .module-hanger-home .home-chain::before,body.crm-unified .module-hanger-home .home-leaf::before,body.crm-unified .module-hanger-home .home-leaf::after{display:none!important}
body.crm-unified .module-hanger-home .home-leaf{min-height:58px!important;margin:0!important;padding:0!important;transform:none!important;animation:none!important}
body.crm-unified .module-hanger-home .home-leaf>a{display:flex;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;min-height:58px!important;padding:9px 58px 9px 10px!important;text-align:left;white-space:normal}
body.crm-unified .module-hanger-home .home-leaf>a>strong{font-size:14px!important;text-align:left;line-height:1.3;margin:0;overflow-wrap:anywhere}
body.crm-unified .module-hanger-home .home-tile-icon{display:grid;place-items:center;flex:0 0 32px;width:32px!important;height:32px!important;background:#174b57!important;color:#f4ca28!important;border-radius:9px;box-shadow:none;font-size:17px}
body.crm-unified .module-hanger-home .home-tile-icon .crm-line-icon{width:24px!important;height:24px!important;color:#f4ca28}
body.crm-unified .module-hanger-home .home-leaf-tools{top:16px!important;right:5px;gap:1px}
body.crm-unified .module-hanger-home .home-leaf-tools button{width:24px;height:27px;min-height:27px;padding:2px!important}
body.crm-unified .module-hanger-home .home-chain-add{display:block;min-height:28px;margin:0 8px 8px;width:calc(100% - 16px);padding:4px 8px!important;font-size:11px}
body.crm-unified .module-hanger-home .hanger-help{font-size:12px;margin:12px 0;color:#526c70}
body.crm-unified .module-hanger-home.motion-paused .crm-line-icon,body.crm-unified .module-hanger-home.motion-paused .crm-icon-accent{animation:none!important}
/* Help is one answer followed by optional, bounded reference collections. */
body.crm-unified .help-workspace{max-width:1120px;margin-inline:auto}
body.crm-unified .help-workspace .help-assistant{padding:18px;margin-bottom:12px}
.help-workspace .assistant-form{display:block}
.help-workspace .assistant-form>label{display:block;margin-bottom:8px;font-size:17px}
.help-workspace .help-input-row{display:flex;gap:8px}
.help-workspace .help-input-row input{width:100%;min-width:0;min-height:42px;flex:1}
.help-workspace .help-input-row button{flex-shrink:0}
.help-workspace .help-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.help-workspace .help-suggestions button{padding:6px 9px;min-height:32px;font-size:12px}
.help-workspace .help-status{margin:9px 0;color:#3d6266;font-size:13px}
.help-workspace .help-status:empty{display:none}
.help-workspace .help-result{margin:14px 0 0;border-top:1px solid #d0e0de;padding-top:14px;outline-offset:4px}
.help-workspace .help-result h2{background:none!important;color:#193d43!important;padding:0;font-size:19px;margin:0 0 8px}
.help-workspace .help-result p{margin:6px 0;line-height:1.5}
.help-workspace .help-result ol{padding-left:22px;margin:10px 0;line-height:1.55}
.help-workspace .help-result li+li{margin-top:7px}
.help-workspace .help-answer-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}
.help-workspace .help-result>button{margin:6px 6px 0 0}
.help-workspace .help-disclosure{font-size:12px;color:#526c70;margin:12px 0 0}
.help-workspace .help-library{display:grid;gap:8px}
body.crm-unified .help-workspace details.help-library-section{margin:0;padding:0;border-radius:12px}
body.crm-unified .help-workspace details.help-library-section>summary{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;min-height:42px;font-size:14px}
.help-workspace .help-library-section>summary::before{content:'›';font-style:normal;margin-right:4px}
.help-workspace .help-library-section[open]>summary::before{content:'⌄'}
.help-workspace .help-library-section>summary span{margin-left:auto;font-size:12px;font-weight:400;color:#526c70}
.help-workspace .help-library-section>p,.help-workspace .help-library-section>.table-wrap,.help-workspace .help-library-section>.guide-grid,.help-workspace .help-library-section>label{margin:12px}
.help-workspace .guide-grid{gap:10px}
.help-workspace .guide-card{padding:14px;border-radius:10px;box-shadow:none}
.help-workspace .guide-card ol{font-size:14px;line-height:1.5}
.help-workspace .help-guide-list{max-height:420px;overflow:auto;overscroll-behavior:contain;padding:0 12px 12px}
.help-workspace .help-guide-list details{margin:8px 0}
.help-workspace #help-guide-filter{margin:8px 12px;width:calc(100% - 24px);min-height:38px;padding:8px 10px}
.help-workspace .help-learning-link{display:inline-block;margin-top:12px;font-size:13px}
.help-workspace [hidden]{display:none!important}
@media(max-width:650px){.help-workspace .help-input-row{flex-wrap:wrap}.help-workspace .help-input-row input{flex-basis:100%}.help-workspace .help-input-row button{width:100%}body.crm-unified .module-hanger-home .module-hanger-rail{grid-template-columns:minmax(0,1fr)}}
@media(min-width:1100px) and (max-height:800px){#workspace-home .dh-copy h2{margin:-11px -13px 8px;padding-block:7px;min-height:40px}#workspace-home .dh-link{min-height:32px}}
@media(pointer:coarse){.help-workspace .help-suggestions button,body.crm-unified .module-hanger-home .home-leaf-tools button{min-width:44px;min-height:44px}body.crm-unified .module-hanger-home .home-leaf>a{padding-right:104px!important}body.crm-unified .module-hanger-home .home-leaf-tools{top:7px!important}}
@media(prefers-reduced-motion:reduce){.module-hanger-home .crm-line-icon,.module-hanger-home .crm-icon-accent{animation:none!important}}

body.crm-unified :is(.module-nav-icon,.nav-icon,.home-tile-icon,.topbar .crm-action-icon,.executive-header .crm-action-icon,.panel-head .crm-action-icon,.pd-shortcut .crm-action-icon) .crm-icon-accent{stroke:#f4ca28!important}

body.crm-unified .module-hanger-home .home-leaf>a{border-left:4px solid var(--leaf-colour,#d8eee0)!important}
body.crm-unified .topbar :is(.user-menu>div,.notification-panel,.hanger-panel){color:var(--crm-ink)}
body.crm-unified .topbar .user-menu>summary small{color:#e4f1f1}
body.crm-unified .topbar :is(.personal-workspace-button,.bell-button,.hanger-toggle,.module-switcher>summary,.module-view-toggle)>svg,body.crm-unified .topbar .hanger-icon{color:var(--crm-gold)}
#workspace-home .dh-profile strong,#workspace-home .dh-profile>span>span{color:#fff}
body.crm-unified .module-hanger-home .home-leaf-tools{left:auto;width:54px;justify-content:flex-end}
body.crm-unified .module-hanger-home .home-shortcut{width:100%}
body.crm-unified .module-hanger-home .home-leaf>a{font-style:inherit}
@media(pointer:coarse){body.crm-unified .module-hanger-home .home-leaf-tools{width:92px}body.crm-unified .module-hanger-home .home-leaf-tools button{min-width:44px!important;min-height:44px!important;width:44px;height:44px}}
