.ent-panel,.opc-coach{--ent-ink:#f2f7ff;--ent-muted:#b9cfe5;--ent-line:#40617f;color:var(--ent-ink);font-family:inherit;position:relative;z-index:1;overflow-wrap:anywhere}.ent-panel{border:1px solid #426787;border-radius:17px;background:#122a44;padding:22px;margin:18px 0}.ent-panel *,.opc-coach *{box-sizing:border-box;min-width:0}.ent-panel h3,.ent-panel h4,.ent-panel h5,.ent-panel strong,.ent-panel b,.ent-panel label,.opc-coach h3,.opc-coach strong{color:#f2f7ff}.ent-panel h3{font-size:21px;line-height:1.5;margin:6px 0 8px}.ent-panel h4{font-size:16px;line-height:1.6;margin:4px 0 10px}.ent-panel h5{font-size:12px;margin:12px 0 6px}.ent-panel p,.opc-coach p{font-size:12px;line-height:1.85;color:#bed5e9;margin:8px 0 14px}.ent-panel small,.opc-coach small{font-size:10px;line-height:1.8;color:#b9cfe5}.ent-panel ul{font-size:12px;line-height:1.9;color:#d4e6f6;padding-left:18px}.ent-panel li{margin:6px 0}.ent-panel button,.ent-panel input,.ent-panel textarea,.ent-panel select,.opc-coach button{font-family:inherit}.ent-panel button,.opc-coach button{cursor:pointer}.ent-panel button:disabled,.opc-coach button:disabled{opacity:.55;cursor:not-allowed}.ent-panel button:focus-visible,.ent-panel input:focus-visible,.ent-panel textarea:focus-visible,.ent-panel select:focus-visible,.ent-panel summary:focus-visible,.opc-coach button:focus-visible{outline:3px solid #a5dcff;outline-offset:3px}.ent-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #395b7a;padding-bottom:14px;margin-bottom:20px}.ent-heading p{max-width:760px;margin-bottom:0}.ent-kicker{color:#a6dbff;font-size:9px;letter-spacing:1.7px;font-weight:800;line-height:1.8}.ent-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border:1px solid #6486a8;border-radius:9px;line-height:1.6;font-size:12px;font-weight:750;background:#193753;color:#eff8ff;white-space:normal}.ent-primary{color:#fff!important;background:#2a5a81!important;border-color:#88bce3!important}.ent-primary:hover:not(:disabled){background:#32698f!important}.ent-quiet{color:#e2f2ff!important;background:#17314d!important;border-color:#527899!important}.ent-quiet:hover:not(:disabled){background:#214360!important}.ent-text{background:none;border:0;color:#b8dfff;padding:7px 2px;font-size:11px;text-align:left;font-weight:650}.ent-card{padding:20px;border:1px solid #3d6181;border-radius:13px;background:#152e49;min-width:0}.ent-section{display:grid;gap:16px}.ent-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ent-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ent-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:13px}.ent-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.ent-panel fieldset{border:0;padding:0;margin:0;min-width:0}.ent-panel label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;line-height:1.8;margin:12px 0}.ent-panel input:not([type=checkbox]),.ent-panel select,.ent-panel textarea{width:100%;display:block;background:#102b46!important;color:#eef7ff!important;border:1px solid #5a7d9e!important;border-radius:9px;padding:10px 12px;line-height:1.7;font-size:12px;box-shadow:none!important;opacity:1}.ent-panel input::placeholder,.ent-panel textarea::placeholder{color:#b2cbe1!important;opacity:1}.ent-panel select{min-height:43px}.ent-panel textarea{resize:vertical}.ent-panel .ent-checkbox{display:flex;flex-direction:row;align-items:center;gap:9px}.ent-checkbox input{width:17px;height:17px;accent-color:#94d7f5}.ent-panel input:disabled,.ent-panel select:disabled,.ent-panel textarea:disabled{background:#15314b!important;color:#c3d7e8!important}.ent-panel summary{cursor:pointer;font-size:11px;line-height:1.85;font-weight:700;color:#bbdfff;padding:8px 0}.ent-panel details p{font-size:11px}.ent-tag{display:inline-block;padding:4px 8px;border:1px solid #587999;background:#193753;border-radius:6px;font-size:10px;color:#d3ebff;line-height:1.5}.ent-alert{border:1px solid #7a694a;background:#342e24;color:#ffe0b3;padding:13px 15px;line-height:1.8;font-size:12px;border-radius:10px;margin:12px 0}.ent-error{border-color:#9c6371;background:#3c2936;color:#ffd5df}.ent-success{border-color:#5b917d;background:#1b3b34;color:#c1efdb}.ent-readonly,.ent-caution{color:#ffddb0!important}.ent-readonly{border-left:3px solid #aa8653;padding:5px 12px}.ent-confirm{border:1px solid #d2ad77;background:#363126;padding:18px 20px;border-radius:12px;margin:16px 0}.ent-confirm h4,.ent-confirm p{color:#ffe9c9}.ent-warning-list{color:#ffe1b6!important}.ent-list-item{border-top:1px solid #3b5d7b;margin-top:16px;padding-top:16px;font-size:12px}.ent-list-item p{margin:7px 0}.ent-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin:17px 0}.ent-mapping h4{grid-column:1/-1}.ent-table-wrap{overflow:auto;border:1px solid #426484;border-radius:10px;margin:16px 0}.ent-table-wrap table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.75}.ent-table-wrap th,.ent-table-wrap td{text-align:left;padding:12px;border-bottom:1px solid #355874;vertical-align:top;color:#dfedf9;min-width:130px}.ent-table-wrap th{background:#173550;color:#d1e6f8}.ent-table-wrap tbody tr:last-child td{border-bottom:0}.ent-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.ent-stat-grid>div{padding:11px 12px;background:#112940;border:1px solid #375c7b;border-radius:9px}.ent-stat-grid span{display:block;color:#b8d0e7;font-size:10px;line-height:1.75;margin-bottom:5px}.ent-stat-grid b{font-size:16px;line-height:1.65;font-variant-numeric:tabular-nums}.ent-plan{border-top:1px solid #426280;padding:18px 0}.ent-plan:last-child{padding-bottom:0}.ent-plan>.ent-row strong{font-size:13px}.ent-plan progress{display:block;width:100%;height:7px;accent-color:#92dbc5;border:0;border-radius:10px;overflow:hidden;margin:15px 0;background:#2c4d67}.ent-plan progress::-webkit-progress-bar{background:#2c4d67;border-radius:10px}.ent-plan progress::-webkit-progress-value{background:#92dbc5;border-radius:10px}.ent-definition{margin:10px 0;font-size:11px;line-height:1.8}.ent-definition>div{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:12px;border-bottom:1px solid #345673;padding:10px 0}.ent-definition dt{color:#bbd3e8}.ent-definition dd{color:#edf6ff;margin:0}.ent-flow-wrap{overflow:auto}.ent-flow-wrap svg{width:100%;min-width:600px;height:auto;display:block;max-height:600px}.ent-flow-path{stroke-dasharray:7 7;animation:ent-flow 14s linear infinite}.ent-trace-legend{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:#c4e4f5}.ent-trace-legend span{padding:5px 8px;border:1px solid #446986;border-radius:6px;background:#123049}.ent-search{width:260px;max-width:100%;margin:0!important}.ent-trace-entry{border-top:1px solid #3e6282;margin-top:15px;padding-top:17px;font-size:12px}.ent-trace-entry .ent-stat-grid{max-width:520px}.ent-pager{display:flex;gap:14px;justify-content:center;align-items:center;margin-top:18px;color:#c3dff4;font-size:11px}.ent-story{border-top:3px solid #9cd1cd;background:linear-gradient(145deg,#19394c,#17334a)}.ent-story>.ent-kicker{color:#beeadc}.ent-story h4{font-size:20px;margin-top:8px}.ent-story-context{border-left:3px solid #72a7b1;padding:4px 12px;color:#d3ece8!important}.ent-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:17px}.ent-choice{text-align:left;border:1px solid #7194ac;background:#16354c;border-radius:11px;padding:17px;color:#e4f2ff}.ent-choice:hover:not(:disabled){border-color:#b0dcf7;background:#20465f}.ent-choice strong,.ent-choice span,.ent-choice small,.ent-choice b{display:block}.ent-choice strong{font-size:14px;line-height:1.6}.ent-choice span{font-size:11px;color:#c9dfef;line-height:1.85;margin:8px 0}.ent-choice b{font-size:10px;color:#c4f2e1;margin-top:13px}.ent-customer-grid,.ent-acquisition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.ent-customer>.ent-row{justify-content:flex-start;flex-wrap:nowrap}.ent-customer-avatar{display:flex;width:44px;height:48px;flex:0 0 44px;align-items:center;justify-content:center;border:1px solid #7aa7b7;border-radius:14px;background:linear-gradient(145deg,#21526a,#2b5347);font-size:21px;color:#d5f6eb;font-weight:800}.ent-customer h4{margin-bottom:2px}.ent-acquisition-complete{border-top:1px solid #446986;padding-top:10px;margin-top:15px}.ent-footnote{font-size:10px!important;margin:16px 0 0!important;color:#b7d1e6!important}
.opc-coach{position:fixed;right:24px;bottom:22px;z-index:900;width:min(365px,calc(100vw - 28px));pointer-events:none}.opc-coach-card,.opc-coach-launch{pointer-events:auto;border:1px solid #9ac9ea;background:#153550;color:#f4faff;box-shadow:0 12px 45px #0006;border-radius:16px}.opc-coach-launch{display:flex;align-items:center;gap:9px;margin-left:auto;padding:12px 17px;font-size:12px;font-weight:750;cursor:pointer}.opc-coach-launch span{display:inline-flex;width:25px;height:25px;border-radius:8px;background:#2e5c74;align-items:center;justify-content:center;color:#cefff0}.opc-coach-card{padding:17px 19px;max-height:min(70vh,520px);overflow:auto;scrollbar-width:thin}.opc-coach-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.opc-coach-header h3{font-size:15px;margin:0;line-height:1.6}.opc-coach-close{border:1px solid #668fab;background:#17354f;color:#e5f4ff;border-radius:8px;padding:4px 8px;font-size:11px;line-height:1.6}.opc-coach-status{display:flex;gap:10px;align-items:center;justify-content:space-between;color:#c9e5f8;font-size:10px;line-height:1.8}.opc-coach-card p{margin:10px 0;font-size:11px}.opc-coach-proof{border-left:3px solid #86c7b4;padding:4px 10px;background:#193e46;color:#d4f2e7!important;border-radius:0 7px 7px 0}.opc-coach-actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}.opc-coach-card .ent-button{font-size:11px;flex:1}.opc-coach-card>small{display:block;margin-top:11px;color:#bfd5e7}.opc-coach-highlight{outline:3px solid #8de8d0!important;outline-offset:5px!important;box-shadow:0 0 0 7px #4ce3b71c!important;scroll-margin:100px 0!important}.opc-coach-card .ent-error{font-size:11px}.opc-coach-step-list{margin:10px 0;padding-left:18px;color:#c9e2f7;font-size:11px;line-height:1.85}.opc-coach-card summary{font-size:11px;color:#cce9ff;cursor:pointer;line-height:1.8}
@keyframes ent-flow{to{stroke-dashoffset:-84}}
.opc-coach-branches{display:flex;gap:7px;margin:13px 0}.opc-coach-branches button{flex:1;background:#173550;color:#d8eeff;border:1px solid #6b93ad;padding:7px 9px;border-radius:8px;font-size:11px;line-height:1.7}.opc-coach-branches button[aria-pressed=true]{background:#295a6b;border-color:#a1e0d2;color:#effffa}.opc-coach-stage{color:#bfecdc!important;font-size:10px!important;letter-spacing:1px}.opc-coach-card>strong{display:block;font-size:14px;line-height:1.8}.opc-coach-step-list strong{font-size:11px}
.ops-enterprise-fold{margin-top:16px}.ops-enterprise-fold>summary{cursor:pointer;color:#d9edff;font-size:14px;font-weight:700;line-height:1.8}.ops-enterprise-fold>summary small{font-size:11px;font-weight:400;color:#bed5e9}.ops-enterprise-fold>.ent-panel{margin-bottom:0}
@media(max-width:850px){.ent-two{grid-template-columns:1fr}.ent-panel{padding:18px}.ent-heading{gap:12px}.ent-customer-grid,.ent-acquisition-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
@media(max-width:520px){.ent-panel{padding:15px 13px;border-radius:13px}.ent-heading{align-items:stretch;flex-direction:column}.ent-heading h3{font-size:20px}.ent-heading>.ent-button{align-self:flex-start}.ent-card{padding:16px 13px}.ent-fields,.ent-mapping{grid-template-columns:1fr}.ent-actions>.ent-button{flex:1 1 150px}.ent-customer-grid,.ent-acquisition-grid,.ent-choice-grid{grid-template-columns:1fr}.ent-stat-grid{gap:8px}.ent-stat-grid>div{padding:9px}.ent-stat-grid b{font-size:14px}.ent-search{width:100%}.ent-definition>div{grid-template-columns:1fr;gap:3px}.ent-table-wrap th,.ent-table-wrap td{min-width:105px}.ent-flow-wrap svg{min-width:560px}.opc-coach{right:14px;bottom:14px}.opc-coach-card{padding:15px}.opc-coach-card .ent-button{flex:1 1 110px}.ent-confirm{padding:15px}.ent-pager{gap:9px}}
@media(prefers-reduced-motion:reduce){.ent-flow-path{animation:none}.ent-panel *,.opc-coach *{scroll-behavior:auto!important;transition:none!important}}

/* Contextual lessons keep the actual page usable while explaining every step. */
.opc-context-coach{width:min(425px,calc(100vw - 28px));z-index:900}
.opc-context-coach .opc-coach-card{padding:18px 20px;max-height:min(81vh,760px);overscroll-behavior:contain}
.opc-context-coach .opc-coach-header{align-items:flex-start;position:sticky;top:-18px;background:#153550;margin:-1px -1px 10px;padding:5px 0 10px;z-index:2;border-bottom:1px solid #4a718e}
.opc-context-coach .opc-coach-header small{display:block;font-size:10px;color:#b8e6de;margin-bottom:4px}
.opc-context-coach .opc-coach-header h3{font-size:16px;line-height:1.6}
.opc-context-coach .opc-coach-close{flex:0 0 auto;padding:7px 10px}
.opc-context-coach .opc-coach-status{font-size:11px;color:#d6e9f7}
.opc-context-coach .opc-coach-intro{font-size:12px;line-height:1.8;margin:12px 0}
.opc-coach-step-picker{display:grid;grid-template-columns:1fr;gap:5px;margin:12px 0;max-height:140px;overflow:auto;border:1px solid #416b86;border-radius:9px;padding:5px;scrollbar-width:thin}
.opc-coach-step-picker button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;border:1px solid transparent;border-radius:6px;background:#173a55;color:#d4e7f8;padding:7px 8px;font-size:11px;line-height:1.6}
.opc-coach-step-picker button>span{display:flex;align-items:center;justify-content:center;flex:0 0 21px;height:21px;border-radius:6px;background:#294f69;color:#e7f9ff;font-size:10px}
.opc-coach-step-picker button.selected{border-color:#8cd9c5;background:#245261;color:#fff}
.opc-coach-step-picker button small{white-space:nowrap;margin-left:auto;color:#bbefdf;font-size:9px}
.opc-coach-lesson h4{font-size:15px;line-height:1.8;margin:4px 0 10px;color:#f3f9ff}
.opc-context-coach .opc-coach-stage{margin:10px 0 2px}
.opc-coach-instructions{padding-left:22px;margin:0 0 15px;color:#e3f0fa;font-size:12px;line-height:1.9}
.opc-coach-instructions li{padding-left:3px;margin:8px 0}
.opc-coach-instructions li::marker{color:#b4eadd;font-weight:700}
.opc-coach-check{border:1px solid #547f84;border-radius:9px;background:#163d48;padding:11px 12px}
.opc-coach-check>strong{font-size:11px;color:#d4f3e9}
.opc-coach-check p{font-size:11px;line-height:1.85;margin:6px 0 0;color:#e0f0f5}
.opc-context-coach .opc-coach-proof{font-size:11px;margin-top:9px}
.opc-coach-trouble{border:1px solid #58758b;border-radius:8px;margin-top:11px;padding:8px 11px;background:#17364e}
.opc-coach-trouble summary{font-size:11px;font-weight:700;color:#f0dfb5;cursor:pointer}
.opc-coach-trouble p{font-size:11px;color:#dceafa;margin:7px 0 2px;line-height:1.85}
.opc-context-coach .opc-coach-actions .ent-button{padding:9px 10px;min-height:39px}
.opc-coach-step-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:4px;border-bottom:1px solid #42647e;margin-bottom:9px}
.opc-coach-step-nav .ent-text{color:#cfeeff;font-size:11px}
.opc-context-coach .opc-coach-footnote{font-size:10px;line-height:1.8;color:#b8cfe2;display:block}
.opc-context-coach .opc-coach-notice{border-left:2px solid #82cdbb;padding-left:9px;color:#d3f1e6;font-size:11px}
.opc-context-coach .opc-coach-compact{max-height:240px}
.opc-coach-compact-title{display:block;font-size:12px;line-height:1.7;margin-top:9px}
.opc-context-coach .opc-coach-compact .opc-coach-header{position:static;padding:0 0 7px;margin:0 0 5px}
.opc-context-coach .opc-coach-compact .opc-coach-header small{display:none}
.opc-context-coach .opc-coach-compact .opc-coach-header h3{font-size:13px}
/* Desktop lessons scroll independently; the controls remain in view. */
@media(min-width:769px){
 .opc-context-coach .opc-coach-card:not(.opc-coach-compact){display:flex;flex-direction:column;overflow:hidden;max-height:min(81dvh,760px)}
 .opc-context-coach .opc-coach-card:not(.opc-coach-compact)>:not(.opc-coach-scroll-body){flex:0 0 auto}
 .opc-context-coach .opc-coach-card:not(.opc-coach-compact)>.opc-coach-header{position:static}
 .opc-context-coach .opc-coach-scroll-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding:0 6px 2px 0}
 .opc-context-coach .opc-coach-scroll-body:focus-visible{outline:2px solid #a5dcff;outline-offset:-2px;border-radius:5px}
}
@media(max-width:520px){.opc-context-coach .opc-coach-card{max-height:72dvh;padding:14px 15px}.opc-context-coach .opc-coach-header{top:-14px}.opc-context-coach .opc-coach-header h3{font-size:14px}.opc-coach-step-picker{max-height:116px}.opc-context-coach .opc-coach-compact{max-height:225px}.opc-context-coach .opc-coach-launch{max-width:100%;text-align:left}.opc-context-coach .opc-coach-instructions{font-size:12px}.opc-context-coach .opc-coach-actions .ent-button{flex:1 1 115px}}


/* Desktop coach layout: reserve the fixed panel column so it never covers the business controls it is explaining. */
@media (min-width:901px){
  body:has(.opc-context-coach .opc-coach-card) .main-content{
    padding-right:clamp(300px,32vw,470px);
  }
}

