/* CRM only: the shared controller owns assembly, rotation and overlay geometry. */
.brekmen-motion-overlay,.brekmen-motion-results{font-family:inherit}
html[lang=ar] .brekmen-motion-overlay,html[lang=ar] .brekmen-motion-results,
html[lang=ar] .brekmen-motion-overlay .bm-slogan,html[lang=ar] .brekmen-motion-overlay .bm-loading-caption{font-family:Cairo,"Segoe UI",Arial,sans-serif}
.brekmen-motion-results{min-block-size:60px}
/* One visible original-K lease covers this host; retain the request caption for assistive technology. */
.brekmen-motion-results:not([hidden]) + [data-brekmen-motion-pending="true"] > .loading{position:absolute!important;inline-size:1px!important;block-size:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.brekmen-motion-results:not([hidden]) + [data-brekmen-motion-pending="true"] > .loading::before{content:none!important;animation:none!important}
.brekmen-motion-overlay .bm-wordmark{height:auto;max-width:100%;object-fit:contain}
.brekmen-motion-intro .bm-wordmark{margin-block-end:8px}

.crm-standalone-brand{display:block;width:min(240px,75vw);height:auto;object-fit:contain;margin-block-end:18px}.crm-standalone{box-sizing:border-box;max-width:960px;margin-inline:auto;padding:32px;font-family:inherit}

/* Identity tokens preserve semantic error, warning and status colors. */
:root{--bk-green:#064b3c;--bk-paper:#f5f3ee;--bk-ink:#143d33;--bk-line:#d8e2db;--forest:var(--bk-green);--forest-deep:#053d31;--green:var(--bk-green);--mint:#eaf1eb;--ink:var(--bk-ink);--line:var(--bk-line);--canvas:var(--bk-paper);--bk-focus:var(--bk-green);--bk-control-line:#638774}
body{background:var(--bk-paper);color:var(--bk-ink)}
.sidebar,.auth-story{background:var(--bk-green)}
.brand{display:inline-flex;align-items:center;direction:ltr;max-inline-size:100%}
.brand .brand-logo{display:block;min-inline-size:0;inline-size:210px;max-inline-size:100%;height:auto;object-fit:contain;background:transparent}
.auth-story .brand .brand-logo{inline-size:250px;max-inline-size:100%}
.brekmen-nav-ask-icon{display:block;flex:0 0 24px;inline-size:24px;block-size:24px;object-fit:contain}
.crm-ask-lockup{display:inline-flex;align-items:center;gap:7px}.crm-ask-wordmark{display:block;width:90px;height:auto;object-fit:contain;background:transparent}.sidebar .crm-ask-wordmark{filter:invert(1)}
.talk-chat-head .crm-ask-wordmark{width:136px;filter:invert(1)}.brekmen-help-heading .crm-ask-wordmark{width:136px}.brekmen-help-launcher .crm-ask-wordmark,#talk-send .crm-ask-wordmark{filter:invert(1)}
.brekmen-help-launcher{gap:8px;background:var(--bk-green);border-color:#638774}
.brekmen-help-launcher::before,.talk-chat-head h2::before,.brekmen-help-heading h2::before,#talk-send::before{content:"";display:inline-block;flex:0 0 26px;inline-size:26px;block-size:26px;background:url('assets/brekmen-k-original.svg') center/contain no-repeat}
.talk-chat-head h2,.brekmen-help-heading h2{display:flex;align-items:center;gap:9px}
#talk-send{display:inline-flex;align-items:center;gap:8px}
.brekmen-nav-ask-icon,.brekmen-help-launcher::before,.talk-chat-head h2::before,.brekmen-help-heading h2::before,#talk-send::before{transform-origin:center;animation:bm-spin 3s linear infinite}
.workspace :is(.button.primary,button.primary){background:var(--bk-green);border-color:var(--bk-green);color:#fff}
.workspace :is(.button.primary,button.primary):hover{background:#053d31;border-color:#053d31}
@media(max-width:600px){.brand .brand-logo{inline-size:190px;max-inline-size:100%}.talk-chat-head h2{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.brekmen-nav-ask-icon,.brekmen-help-launcher::before,.talk-chat-head h2::before,.brekmen-help-heading h2::before,#talk-send::before{animation:none!important;transform:none!important}}

/* Static identity marks remain separate from the original wordmark and Ask spinner. */
.workspace-label .crm-workspace-k{display:block;flex:0 0 30px;inline-size:30px;block-size:30px;margin-inline-start:auto;object-fit:contain;background:transparent}
.topbar-right .crm-topbar-k{display:block;flex:0 0 30px;inline-size:30px;block-size:30px;object-fit:contain;background:transparent;pointer-events:none}
@media(max-width:760px){.topbar-left{min-inline-size:0;flex:1 1 auto;gap:8px}.topbar-left .breadcrumb{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right{flex:0 0 auto}.topbar-left .mobile-menu{flex:0 0 auto}}
@media(max-width:600px){.topbar-right .crm-topbar-k{flex-basis:26px;inline-size:26px;block-size:26px}}

/* L06: static original K at the physical lower-left of the login hero. */
.auth-story::before{content:"";position:absolute;left:28px;bottom:28px;width:96px;height:96px;background:url("assets/brekmen-k-original.svg") center/contain no-repeat;pointer-events:none;z-index:1}
.auth-story-footer{padding-left:112px}
@media(max-width:700px){.auth-story::before{width:64px;height:64px}.auth-story-copy{padding-left:84px}}
