/* Product previews inspired by NimbusCRM's Vue components. Scoped to the figure. */
.crm-preview [hidden]{display:none!important}
.crm-tour-nav button{display:flex;align-items:center;gap:10px;padding:10px;border:0;border-radius:7px;color:#526772;background:transparent;text-align:left;font:inherit;cursor:pointer;width:100%}
.crm-tour button:focus-visible,.crm-tour select:focus-visible,.crm-tour-viewport:focus-visible{outline:3px solid #086874;outline-offset:-3px}
.crm-tour .crm-tour-viewport{height:690px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
.crm-tour.is-enhanced .crm-slide{animation:crm-reveal .2s ease-out}
.crm-tour-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:12px 16px;border:1px solid #d7e3e5;background:white;border-radius:10px}
.crm-tour-controls>span{font-weight:700;color:#086874}.crm-tour-controls>div{display:flex;gap:6px}.crm-tour-controls button{font:inherit;border:1px solid #d7e3e5;border-radius:6px;padding:0;background:white;color:#086874;cursor:pointer;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}.crm-tour-controls button:hover{background:#e4f3f2}.crm-tour-controls [data-tour-play]{background:#086874;color:white;min-width:40px}
.crm-tour-mobile{display:none;padding:12px 14px;border-bottom:1px solid #dfe7e9;background:white;color:#526772;font-size:12px}.crm-tour-mobile select{font:inherit;color:#086874;background:white;border:1px solid #d7e3e5;border-radius:6px;padding:9px;margin-left:10px;max-width:100%}
.crm-tour-controls button[data-tour-play]:hover{background:#07545e;color:white}
.crm-project-heading,.crm-project-summary,.crm-project-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.crm-project-heading p{margin-top:5px}.crm-project-summary>div{flex:1;max-width:240px}.crm-project-summary small{margin-top:6px}.crm-project-meta{border-top:1px solid #dfe7e9;padding-top:16px;font-size:12px}.crm-project-meta b{color:#086874}.crm-project-stages{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:22px;font-size:12px}.crm-tasks article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:16px;padding:16px 0;border-top:1px solid #dfe7e9}.crm-tasks{margin-top:12px}.crm-tasks p{font-size:12px}.crm-tasks .crm-pill{align-self:center}
@keyframes crm-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:850px){.crm-tour-mobile{display:block}.crm-tour .crm-tour-viewport{height:640px}}
@media(max-width:560px){.crm-tour-controls{flex-direction:column;align-items:stretch}.crm-tour-controls>div{justify-content:center}.crm-tour-controls button{padding:0}.crm-project-heading,.crm-project-summary,.crm-project-meta{flex-wrap:wrap}.crm-project-summary>div{flex-basis:100%;max-width:none}.crm-tasks article{grid-template-columns:1fr auto}.crm-tasks article>small{grid-column:1/-1}.crm-tour-mobile select{margin:5px 0 0;width:100%}}
@media(prefers-reduced-motion:reduce){.crm-tour.is-enhanced .crm-slide{animation:none}}
.crm-preview{margin:42px 0 0;text-align:left;color:#101f27;font-size:13px;line-height:1.5;min-width:0}
.crm-preview *{box-sizing:border-box}.crm-preview h2,.crm-preview h3,.crm-preview h4,.crm-preview p{margin:0;letter-spacing:normal}.crm-preview h2{font-size:24px;line-height:1.25;font-weight:900}.crm-preview h3{font-size:14px;font-weight:700}.crm-preview h4{font-size:13px;font-weight:700}.crm-preview p,.crm-preview small,.crm-muted{color:#526772}.crm-preview small{display:block;font-size:11px}.crm-preview figcaption{text-align:center;font-size:12px;color:#526772;margin-top:14px}
.crm-frame{display:flex;border:1px solid #d7e3e5;border-radius:14px;overflow:hidden;background:#f3f8f8;box-shadow:0 24px 70px #08687416}.crm-sidebar{width:188px;flex-shrink:0;background:white;border-right:1px solid #dfe7e9;padding:24px 12px 16px;display:flex;flex-direction:column;gap:20px}.crm-sidebar>img{width:148px;height:auto;align-self:center}.crm-workspace{border:1px solid #dfe7e9;border-radius:6px;padding:9px;font-size:12px}.crm-nav{display:grid;gap:4px}.crm-nav>span{display:flex;gap:10px;align-items:center;padding:10px;border-radius:7px;color:#526772}.crm-nav .is-active{background:#e4f3f2;color:#086874;font-weight:700}.crm-icon{width:18px;height:18px;flex-shrink:0;display:inline-block;vertical-align:middle}.crm-user{display:flex;gap:9px;align-items:center;margin-top:auto;padding-top:24px}.crm-avatar{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:#dcefed;color:#086874;border-radius:50%;font-size:11px;flex-shrink:0}.crm-main{flex:1;min-width:0}.crm-topbar{height:54px;padding:0 24px;background:white;border-bottom:1px solid #dfe7e9;display:flex;justify-content:space-between;align-items:center;color:#526772;font-size:12px}.crm-topbar>span:first-child{display:flex;align-items:center;gap:10px}.crm-content{padding:24px;display:grid;gap:18px}.crm-heading{display:flex;gap:14px;justify-content:space-between;align-items:flex-start}.crm-heading p{margin-top:5px;font-size:12px}.crm-pill{display:inline-flex;align-items:center;white-space:nowrap;align-self:flex-start;padding:3px 8px;background:#e4f3f2;color:#086874;border-radius:5px;font-size:11px;font-weight:700}.crm-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.crm-toolbar h3{margin-right:auto}.crm-select,.crm-action{display:inline-flex;gap:8px;align-items:center;padding:7px 11px;border:1px solid #d7e3e5;border-radius:6px;background:white;font-size:12px}.crm-action{background:#086874;color:white;border-color:#086874;margin-left:auto}.crm-section-title{display:flex;align-items:center;gap:10px}.crm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.crm-card{background:white;border:1px solid #dfe7e9;border-radius:12px;padding:18px;min-width:0}.crm-kpi{display:flex;gap:10px;align-items:center;padding:14px}.crm-icon-tile{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#e4f3f2;color:#086874;flex-shrink:0}.crm-kpi strong{display:block;font-size:25px;line-height:1.2}.crm-kpi div>span{display:block;font-size:10px;font-weight:700;text-transform:uppercase;color:#526772;line-height:1.4;margin-top:5px}.crm-alert .crm-icon-tile{background:#fff1d6;color:#93600b}.crm-charts{display:grid;grid-template-columns:1.5fr 1fr;gap:14px}.crm-bars{display:grid;gap:16px;margin-top:20px}.crm-bar-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:6px}.crm-track{height:8px;border-radius:9px;background:#eaf0f1;overflow:hidden}.crm-track i{display:block;height:100%;background:#086874;border-radius:inherit}.crm-bars .crm-track{height:15px}.crm-bars small{margin-top:4px}.crm-forecast>h3{margin-top:12px}.crm-forecast>strong{display:block;font-size:30px;color:#086874;margin:8px 0}.crm-forecast>div{border-top:1px solid #e1e9ea;margin-top:24px;padding-top:18px}.crm-forecast b{display:block;font-size:19px;margin-top:4px}.crm-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.crm-result-value{display:block;font-size:25px;color:#086874;margin:8px 0}.crm-results small{margin-top:10px}.crm-goal{display:flex;gap:24px;align-items:center}.crm-goal-bars{flex:1;display:grid;gap:8px}.crm-summary{display:flex;gap:36px;flex-wrap:wrap}.crm-summary b{display:block;font-size:20px;color:#086874}.crm-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.crm-column{background:#eaf0f1;border-radius:10px;padding:10px;min-width:0}.crm-column>h3{display:flex;align-items:center;gap:6px}.crm-column>h3>i{width:7px;height:7px;border-radius:50%}.crm-column>h3>span{margin-left:auto;color:#526772}.crm-column>p{font-size:11px;margin:4px 0 12px}.crm-deal{padding:12px;border:1px solid #d7e3e5;background:white;border-radius:8px;margin-top:10px}.crm-deal-title{display:flex;align-items:start;gap:6px;margin-bottom:12px}.crm-deal-title .crm-pill{font-size:10px;padding:2px 5px}.crm-deal p{display:flex;align-items:center;gap:5px;font-size:11px;margin-top:6px}.crm-deal .crm-icon{width:13px;height:13px}.crm-deal-money{border-top:1px solid #e1e9ea;margin:12px 0 6px;padding-top:10px;color:#086874}.crm-agenda-tabs{display:flex;gap:20px;align-items:center}.crm-activity,.crm-partners article{display:flex;align-items:center;gap:14px;padding:22px 0;border-top:1px solid #e1e9ea}.crm-activity:first-of-type{margin-top:18px}.crm-activity p,.crm-partners p{font-size:12px;margin-top:4px}.crm-activity time{font-weight:700;color:#086874}.crm-partners{margin-top:16px}.crm-partners article>.crm-pill{margin-left:auto;align-self:center}.crm-compact{margin:0}.crm-compact .crm-content{border:1px solid #d7e3e5;border-radius:14px;background:#f3f8f8}.crm-compact .crm-results{grid-template-columns:1fr 1fr}.crm-compact .crm-results>.crm-card:last-child{grid-column:1/-1}.crm-compact .crm-goal{display:block}.crm-compact .crm-goal-bars{margin-top:14px}
@media(max-width:1100px){.crm-sidebar{width:160px;padding-inline:8px}.crm-sidebar>img{width:130px}.crm-content{padding:18px}.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-kpi div>span{font-size:11px}.crm-board{gap:8px}.crm-column{padding:8px}}
@media(max-width:850px){.crm-sidebar{display:none}.crm-preview h2{font-size:23px}.crm-preview h3{font-size:14px}.crm-content{padding:18px}.crm-board{grid-template-columns:1fr}.crm-column{padding:14px}.crm-deal p{font-size:13px}.crm-deal h4{font-size:14px}.crm-deal small{font-size:12px}.crm-results{grid-template-columns:1fr 1fr}.crm-results>.crm-card:last-child{grid-column:1/-1}}
@media(max-width:560px){.crm-preview{margin-top:28px}.crm-content{padding:14px;gap:16px}.crm-heading{flex-direction:column;gap:8px}.crm-topbar{padding:0 14px;font-size:11px}.crm-topbar .crm-icon{display:none}.crm-charts,.crm-results,.crm-compact .crm-results{grid-template-columns:1fr}.crm-card{padding:16px}.crm-kpi{padding:12px;gap:8px;align-items:flex-start}.crm-kpi .crm-icon-tile{width:27px;height:27px;border-radius:7px}.crm-kpi .crm-icon{width:16px;height:16px}.crm-kpi strong{font-size:24px}.crm-kpi div>span{font-size:10px}.crm-action{margin-left:0}.crm-goal{display:block}.crm-goal-bars{margin-top:16px}.crm-activity{gap:10px;flex-wrap:wrap}.crm-activity>div{flex-basis:100%}.crm-partners article{gap:9px;flex-wrap:wrap}.crm-partners .crm-icon-tile{display:none}.crm-preview figcaption{font-size:11px}.crm-compact{margin:0}.crm-preview .crm-heading p{font-size:13px}}

.crm-tour-controls button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.crm-tour-controls [data-play-icon]{fill:currentColor;stroke:none}
