/* Microsoft 365 solution: current Excel page template, with a scoped product grid. */
#wf-m365-hero .wf-m365-preview-wrap{width:100%;max-width:500px;min-width:0;margin-top:36px;align-self:flex-start}
.wf-m365-preview{border:2px solid #064c43;border-radius:8px;background:#fff;box-shadow:0 18px 36px #064c4314;overflow:hidden;color:#173f3b;font-size:14px}
.m365-preview-title{display:flex;align-items:center;gap:10px;background:#064c43;color:white;padding:14px 16px}
.m365-preview-title img{width:28px;height:28px;object-fit:contain}.m365-preview-title strong{font-size:15px}
.m365-tabs{display:flex;border-bottom:1px solid #b8d9cf;background:#f2f8f5;padding:0 12px}
.m365-tabs button{padding:13px 10px;border:0;border-bottom:3px solid transparent;background:transparent;color:#456762;cursor:pointer;font-weight:500}
.m365-tabs button[aria-selected=true]{color:#064c43;border-color:#087d71;background:white}
#m365-workflow-panel{padding:18px}.m365-preview-heading{font-size:15px;font-weight:600;margin:0 0 15px}
.m365-workflow-steps{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.m365-workflow-steps li{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #d5eee7;border-radius:6px;background:#f7faf8}
.m365-workflow-steps li>span{border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;color:#087d71;background:#d5eee7;font-size:12px}
.m365-workflow-steps li>div{min-width:0}.m365-workflow-steps strong{display:block;font-size:13px;font-weight:600;line-height:1.45}.m365-workflow-steps small{display:block;font-size:11px;line-height:1.5;color:#456762}.m365-workflow-steps b{margin-left:auto;color:#087d71;font-size:15px}
.m365-preview-status{display:flex;align-items:center;gap:7px;margin-top:15px;font-size:10px;color:#456762}.m365-preview-status span{width:6px;height:6px;border-radius:50%;background:#087d71}
.m365-products{padding-top:0;padding-bottom:80px;scroll-margin-top:120px}.m365-section-intro,.m365-context-links{font-family:inherit;font-size:18px;line-height:1.6;margin-top:20px;max-width:960px;color:#212121}
.m365-product-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.m365-product-card{border:2px solid #064c43;border-radius:18px;padding:26px 22px;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff}
.m365-product-card:nth-child(4n+2){background:#f2f8f5}.m365-product-card:nth-child(4n+3){border-color:#fa5e36}
.m365-product-icon{display:grid;place-items:center;width:44px;height:44px;color:#087d71;margin-bottom:18px}.m365-product-icon img,.m365-product-icon svg{width:40px;height:40px;object-fit:contain}
.m365-product-card h3{font-size:22px;line-height:1.3;font-weight:600;color:#173f3b;margin:0 0 12px}.m365-product-card p{font-size:16px;line-height:1.6;margin:0;color:#212121}
.m365-licence-note{font-size:14px;line-height:1.65;color:#456762;margin:26px 0 0;max-width:960px}
.m365-context-links a{text-decoration:underline;text-underline-offset:3px;color:#064c43}.m365-context-links a:hover{color:#fa5e36}
#wf-m365-reach li{min-width:0;text-align:center;padding:16px;align-items:center}#wf-m365-reach li>span{white-space:normal;font-size:clamp(22px,2.3vw,36px)}
#wf-m365-features [data-colored-card]{text-align:center}#wf-m365-features .shrink-0{margin-inline:auto}
.m365-tabs button:focus-visible{outline:2px solid #fa5e36;outline-offset:-3px}
@media(min-width:768px){#wf-m365-hero .wf-m365-preview-wrap{width:44%;margin-left:auto}#wf-m365-hero .md\:flex.md\:justify-between{gap:36px}}
@media(max-width:1100px){.m365-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.m365-product-card h3{font-size:20px}.m365-product-card{padding:24px 18px}}
@media(min-width:768px) and (max-width:1100px){.m365-product-card:last-child{grid-column:2}}
@media(min-width:768px) and (max-width:1023px){#wf-m365-hero .md\:flex.md\:justify-between{flex-direction:column;gap:0}#wf-m365-hero .mt-8.max-w-140{max-width:620px}#wf-m365-hero .wf-m365-preview-wrap{width:94%;max-width:500px;margin-inline:auto}}
@media(max-width:767px){#wf-m365-hero .wf-m365-preview-wrap{width:94%;margin-inline:auto;max-width:480px}.m365-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.m365-products{padding-bottom:56px}.m365-product-card{padding:22px 16px}.m365-product-card p{font-size:15px}.m365-section-intro,.m365-context-links{font-size:17px}}
@media(max-width:420px){.m365-product-grid{grid-template-columns:minmax(0,1fr)}.m365-product-card{padding:24px}.m365-product-card h3{font-size:22px}.m365-product-card p{font-size:16px}.m365-preview-title{padding:12px}.m365-preview-title strong{font-size:13px}#m365-workflow-panel{padding:12px}.m365-tabs button{font-size:12px}.m365-workflow-steps li{padding:8px;gap:8px}.m365-workflow-steps small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.wf-m365-preview *{animation:none!important;transition:none!important}}
/* Continuous label → Microsoft 365 → together → example flow. */
#wf-m365-hero{isolation:isolate;overflow:hidden}
#wf-m365-hero>.container{position:relative;z-index:1}
#wf-m365-hero-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible}
#wf-m365-hero-lines>path{fill:none;stroke:#064c43;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#wf-m365-hero-lines>[data-flow="arrow"]{fill:#f1f8f5}
@media(min-width:1024px){#wf-m365-hero-lines>path{stroke-width:4}}
@media(max-width:1023px){#wf-m365-hero h2{max-width:calc(100% - 36px)}#wf-m365-hero .wf-m365-hero-copy{max-width:calc(100% - 36px)}}

/* Shared heading and description rows keep the benefit columns level. */
#wf-m365-reach>ul{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
#wf-m365-reach>ul>li{display:grid;grid-template-rows:subgrid;grid-row:span 2;min-width:0;padding-inline:16px;text-align:center;row-gap:16px;align-items:start}
#wf-m365-reach>ul>li>span{display:flex;align-items:flex-start;justify-content:center;white-space:normal;min-width:0;line-height:1.2}
#wf-m365-reach>ul>li>.prose{width:100%;min-width:0}
@media(min-width:1024px){#wf-m365-reach>ul{grid-template-columns:repeat(4,minmax(0,1fr))}}
