/* Dynamics 365 CRM page: additive styles only, shared theme stays unchanged. */
.crm-page main{overflow:clip}
.crm-page main section[id],.crm-page .crm-app-panel[id]{scroll-margin-top:100px}
.crm-breadcrumb{padding:23px 0 0;background:#fff}
.crm-breadcrumb nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted)}
.crm-breadcrumb nav a{color:#205bc0}
.crm-breadcrumb nav [aria-current]{color:var(--navy);font-weight:400}
.crm-breadcrumb p{font-size:12px;margin-top:7px}
.crm-page .crm-hero{padding-top:38px;padding-bottom:24px}
.crm-page .crm-hero h1{font-size:clamp(34px,3.9vw,54px);line-height:1.3;letter-spacing:0;max-width:1200px}
.crm-page .crm-hero>.wrap>p{max-width:850px}
.crm-page .crm-product{height:455px;margin-bottom:0}
.crm-page .crm-product .dashboard{height:365px}
.crm-page .crm-product .dash-top{gap:10px;min-height:48px}
.crm-page .crm-product .dash-top svg{flex:none;width:20px;height:20px}
.crm-demo-tag{font-size:11px;font-weight:400;color:inherit;margin-left:auto;white-space:normal}
.crm-dashboard-inner{padding:20px 22px;font-family:var(--font)}
.crm-dashboard-inner .dash-title{align-items:center}
.crm-dashboard-inner .dash-title h3{font-size:19px;letter-spacing:0}
.crm-stage-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.crm-stage-row span{background:#dbe8fa;color:#274b84;border-radius:6px;text-align:center;padding:7px 3px;font-size:11px;font-weight:400}
.crm-stage-row span:nth-child(2){background:#dbe9f7}
.crm-stage-row span:nth-child(3){background:#d9efee;color:#22635c}
.crm-stage-row span:nth-child(4){background:#d9f2e5;color:#246644}
.crm-pipeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.crm-stage{min-width:0;padding:10px 8px 18px;background:#e9eef6;border-radius:9px;font-size:11px;line-height:1.5}
.crm-stage>strong{display:block;color:#465671;margin-bottom:8px}
.crm-stage>div{background:white;border:1px solid #e3e8f2;padding:10px 8px;border-radius:8px;min-height:104px;overflow-wrap:anywhere;font-weight:400}
.crm-stage small{font-weight:400;color:#5d5d66;font-size:10px;display:inline-block;margin-top:5px}
.crm-dashboard-note{font-size:10px;color:#5d5d66;margin-top:13px}
.crm-page .crm-case{width:235px;top:230px}
.crm-page .crm-case h3,.crm-page .copilot h3{display:flex;gap:7px;align-items:center}
.crm-page .floating h3 svg{width:17px;height:17px;flex:none;color:#526bc0}
.crm-page .crm-case-line{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:10px;font-size:11px;color:#4a4f5c}
.crm-status{font-size:10px;padding:3px 7px;border-radius:30px;background:#e8efff;color:#2c579a;flex:none}
.crm-status.progress{background:#fff1d8;color:#80520e}
.crm-status.resolved{background:#dff4e8;color:#1e7248}
.crm-page .copilot small{display:block;font-size:10px;color:#5d5d66;line-height:1.5;margin-top:8px}
.crm-page .crm-notification{bottom:13px;display:flex;align-items:center;gap:8px;font-size:11px}
.crm-notification svg{width:17px;height:17px;color:#278b80}
.crm-page .crm-loop-video{width:100%;max-width:950px;margin:20px auto;border-radius:22px}
.crm-section{padding:74px 0}
.crm-tint{background:#f6f7fa}
.crm-page .section-title{font-size:clamp(25px,3vw,39px);letter-spacing:0;line-height:1.3;margin:0 auto 13px;max-width:1000px}
.crm-lead{max-width:820px;margin:0 auto 32px;text-align:center;line-height:1.75}
.crm-answer{background:#f7f9fc;border:1px solid var(--line);border-radius:24px;padding:36px 40px;box-shadow:0 5px 14px #11131f05}
.crm-answer h2{font-size:clamp(26px,3vw,36px);margin:7px 0 16px;line-height:1.3}
.crm-answer p{font-size:17px;line-height:1.75}
.crm-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}
.crm-facts span{border:1px solid #dce4ee;background:#fff;border-radius:12px;padding:9px 14px;font-size:13px;color:var(--navy);line-height:1.6}
.crm-grid-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.crm-page .crm-feature{min-height:0;gap:8px;padding:25px}
.crm-feature h3{font-size:21px;line-height:1.35;margin:5px 0 0}
.crm-feature p{font-size:15px;line-height:1.75;max-width:none}
.crm-icon{width:48px;height:48px;background:#eaf0fc;color:#4267ad;display:grid;place-items:center;border-radius:14px}
.crm-apps{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:white}
.crm-tablist{display:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px;background:#f6f7fa;border-bottom:1px solid var(--line)}
.crm-apps.crm-enhanced:not(.crm-mobile) .crm-tablist{display:grid}
.crm-tablist button{padding:13px 8px;min-height:52px;border:1px solid transparent;background:none;border-radius:12px;color:var(--muted);font-weight:400;line-height:1.4;overflow-wrap:anywhere}
.crm-tablist button[aria-selected=true]{background:white;color:#205bc0;border-color:#dce5f2;box-shadow:0 3px 10px #11131f08}
.crm-tablist button:hover{color:#205bc0}
.crm-app-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px;padding:36px;min-width:0;border-bottom:1px solid var(--line)}
.crm-app-panel:last-child{border-bottom:0}
.crm-app-panel>div{min-width:0}
.crm-app-panel h3{font-size:clamp(23px,2.4vw,32px);margin:7px 0 10px;line-height:1.35;overflow-wrap:anywhere}
.crm-definition{font-size:17px}
.crm-audience{margin:15px 0}
.crm-checks{list-style:none;padding:0;margin:20px 0;display:grid;gap:12px;line-height:1.75}
.crm-checks li{display:flex;align-items:flex-start;gap:10px;min-width:0}
.crm-checks svg{width:19px;height:19px;flex:none;margin-top:3px;color:#278b80}
.crm-checks li span{min-width:0;overflow-wrap:anywhere}
.crm-page .crm-app-panel .learn,.crm-page #copilot .learn{display:inline-flex;padding:0;margin-top:12px}
.crm-note{font-size:13px;line-height:1.75;margin-top:18px}
.crm-media-slot{width:100%;aspect-ratio:16/10;border:1px solid #e1e7f0;background:linear-gradient(145deg,#f1f5fc,#e9f1f6);border-radius:18px;overflow:hidden;position:relative;display:grid;place-items:center;text-align:center;color:#526783}
.crm-media-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px;min-width:0;font-size:13px}
.crm-media-placeholder svg{width:36px;height:36px;color:#5482bb}
.crm-media-placeholder strong{font-size:16px;font-weight:400;overflow-wrap:anywhere}
.crm-media-slot img{width:100%;height:100%;object-fit:contain;display:block}
.crm-app-panel video{max-width:100%;border-radius:16px;margin-top:12px}
.crm-accordion{display:none}
.crm-apps.crm-mobile .crm-accordion{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);background:#f6f7fa;padding:17px 18px;font-weight:400;color:var(--navy);line-height:1.4}
.crm-apps.crm-mobile .crm-accordion[aria-expanded=true]{color:#205bc0;background:#eef3fb}
.crm-apps.crm-mobile .crm-accordion[aria-expanded=true] span{transform:rotate(45deg)}
.crm-diagram{position:relative;max-width:1000px;height:460px;margin:0 auto 30px;border:1px solid var(--line);background:white;border-radius:24px;overflow:hidden}
.crm-connectors{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.crm-node,.crm-center{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;background:#fff;border:1px solid #dce5f1;border-radius:16px;box-shadow:0 6px 18px #11131f08;line-height:1.4;font-weight:400;z-index:1}
.crm-node{width:23%;min-height:78px;padding:10px 7px;font-size:18px}
.crm-node small,.crm-center small{font-size:12px;font-weight:400;color:var(--muted);overflow-wrap:anywhere;max-width:100%}
.crm-node.marketing{left:15.5%;top:15.2%}.crm-node.sales{left:84.5%;top:15.2%}.crm-node.service{left:84.5%;top:84.8%}.crm-node.field{left:15.5%;top:84.8%}
.crm-center{left:50%;top:50%;width:150px;aspect-ratio:1;border-radius:50%;background:#edf4ff;color:#214c91;gap:6px;font-size:19px}
.crm-center svg{color:#4267ad}
.crm-outcomes .crm-checks{max-width:1000px;margin:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.crm-outcomes li{padding:18px;border:1px solid var(--line);border-radius:15px;background:white;font-size:14px}
.crm-video-slot{aspect-ratio:16/9;display:flex;flex-direction:column;justify-content:center;gap:12px;background:#eaf0f8;padding:24px}
.crm-video-slot>svg{width:58px;height:58px;border:1px solid #c5d4e8;background:white;border-radius:50%;padding:15px;color:#4267ad}
.crm-video-slot>span{font-size:13px}
.crm-page .video .btn.primary{color:white}
.crm-page .crm-notification [hidden]{display:none!important}
@media(prefers-reduced-motion:no-preference){
 .crm-page .crm-diagram.crm-draw-ready .crm-connectors g>path{stroke-dasharray:1;stroke-dashoffset:1}
 .crm-page .crm-diagram.crm-draw-ready.crm-drawn .crm-connectors g>path{animation:crm-draw 1.2s cubic-bezier(.22,1,.36,1) var(--crm-delay,0ms) forwards}
 @keyframes crm-draw{to{stroke-dashoffset:0}}
 .crm-page .crm-grid-four .crm-feature.reveal{transition-delay:var(--crm-delay,0ms)}
}
@media(max-width:1100px){.crm-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-page .crm-case{width:200px}.crm-app-panel{gap:25px;padding:28px}}
@media(max-width:850px){.crm-section{padding:52px 0}.crm-page .crm-product{height:auto;padding:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.crm-page .crm-product .dashboard{position:relative;inset:auto;width:100%;height:auto;min-height:320px;grid-column:1/-1}.crm-page .crm-product .floating{position:relative;inset:auto;width:100%;min-width:0;transform-origin:center}.crm-page .crm-product .notification{grid-column:1/-1;justify-self:center;width:auto;max-width:100%}.crm-page .crm-case-line{flex-wrap:wrap}.crm-page .crm-product .wave{top:40px}.crm-app-panel{grid-template-columns:1fr;gap:22px}.crm-outcomes .crm-checks{grid-template-columns:1fr}.crm-diagram{height:400px}.crm-center{width:130px}.crm-node{width:26%;font-size:15px}.crm-page .crm-apps:not(.crm-enhanced) .crm-app-panel{display:grid}}
@media(max-width:560px){.crm-breadcrumb{padding-top:17px}.crm-page .crm-hero{padding-top:25px}.crm-page .crm-hero h1{font-size:clamp(28px,7.3vw,40px);line-height:1.3}.crm-page .crm-product{grid-template-columns:1fr}.crm-page .crm-product .dashboard{border-width:5px;min-height:0}.crm-dashboard-inner{padding:12px 9px}.crm-dashboard-inner .dash-title h3{font-size:15px}.crm-stage-row{gap:4px;margin-bottom:7px}.crm-stage-row span{font-size:9px}.crm-pipeline{gap:4px}.crm-stage{padding:6px 4px;font-size:9px}.crm-stage>div{min-height:88px;padding:6px 3px;font-size:9px}.crm-stage small{font-size:8px}.crm-dashboard-note{font-size:9px}.crm-page .crm-product .floating{padding:14px;font-size:13px}.crm-page .crm-product .copilot .reply,.crm-page .crm-product .copilot .bubble{font-size:13px}.crm-page .crm-case-line{font-size:13px}.crm-page .crm-status{font-size:11px}.crm-page .crm-product .notification{font-size:11px}.crm-grid-four{grid-template-columns:1fr}.crm-answer{padding:24px 20px}.crm-answer p{font-size:15px}.crm-app-panel{padding:20px;gap:20px}.crm-diagram{height:360px;border-radius:18px}.crm-node{width:28%;min-height:72px;font-size:14px;padding:6px 3px}.crm-node small{font-size:9px}.crm-center{width:96px;font-size:14px;gap:3px}.crm-center small{font-size:10px}.crm-center svg{width:19px;height:19px}.crm-page .crm-feature{padding:22px}.crm-video-slot{padding:14px}.crm-video-slot strong{font-size:14px}}

.crm-app-panel>.crm-app-nav{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}.crm-app-nav button{font:inherit;font-weight:400;color:#205bc0;background:none;border:0;padding:4px 0;cursor:pointer}.crm-app-nav button:hover{text-decoration:underline}.crm-app-nav button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
