/* Shared compact scope of a sales call. No changes to unrelated process stages. */
#salesServiceSummary[hidden],#salesServicePlan[hidden],#salesTransferActions[hidden],#admitMeetClient[hidden],#salesServicesTalk[hidden]{display:none!important}
html body #callMode.sales-service-mode :is(#newFirmLivePayment,#liveCommercialDemo,.sales-live-fields>.month-picker,.sales-live-fields>label:has(#liveSalesStartMonth),.sales-live-fields>.client-service-price-field,.sales-live-fields>#salesOwnerOptions){display:none!important}
html body #callMode.sales-service-mode .sales-live-fields>fieldset:has([data-sales-owner]){display:none!important}
#salesServicePlan{display:grid;gap:10px;margin:12px 0}
#salesServicePlan .sales-service-card,#salesTransferActions{padding:11px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}
#salesServicePlan header{display:grid;gap:3px;margin-bottom:9px}#salesServicePlan header strong{font-size:var(--fs-lg,14px)!important}#salesServicePlan header span{font-size:var(--fs-sm,12.5px);color:var(--muted)}
html body #salesServicePlan label{display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,1fr);align-items:center;gap:8px;font-size:var(--fs-sm,12.5px)!important;margin:8px 0!important}
html body #salesServicePlan input{box-sizing:border-box;width:100%;min-width:0;min-height:34px;height:34px;padding:5px 7px!important;font:inherit;color:var(--text);background:var(--surface2);border:1px solid var(--border);border-radius:6px}
.sales-service-prices{display:grid;gap:6px;margin:8px 0}.sales-service-prices span{display:flex;flex-wrap:wrap;gap:3px 8px;justify-content:space-between;font-size:var(--fs-sm,12.5px);line-height:1.5}.sales-service-prices b{font-weight:var(--fw-s,600)}
.sales-service-card>small{font-size:var(--fs-sm,12.5px);color:var(--muted)}.sales-service-actions{display:grid;gap:7px;margin-top:10px}.sales-service-actions h4{font-size:var(--fs-lg,14px);margin:0}.sales-service-actions p{font-size:var(--fs-sm,12.5px)!important;line-height:1.5;margin:3px 0!important;color:var(--muted)}
html body #callMode .sales-service-actions .btn{min-height:34px;height:auto;white-space:normal;font-size:var(--fs-sm,12.5px)!important;padding:7px 9px!important;text-align:left;justify-content:flex-start;border-radius:7px}
.sales-service-actions [data-transfer-buttons]{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sales-service-actions small{font-size:var(--fs-sm,12.5px);line-height:1.5;color:var(--muted)}
#salesServiceError{font-size:var(--fs-sm,12.5px);color:var(--amber);margin:6px 0}#salesServiceError:empty{display:none}
#salesServiceSummary{display:grid;gap:8px;margin:12px 0}#salesServiceSummary>div{display:grid;gap:5px;padding:9px;border:1px solid var(--border);border-radius:7px;font-size:var(--fs-md,13.5px)}#salesServiceSummary span{color:var(--muted)}
.sales-service-summary #salesPlanStart{display:none!important}
html.crm-premium-trial body #confirmSalesVerification:not(.completed),html body #confirmSalesVerification:not(.completed){border:1px solid var(--crm-review-line,#E5A83D)!important;background:var(--crm-review-surface,#322a1f)!important;color:var(--crm-review-ink,var(--amber,#E5A83D))!important}
#salesServicesTalk{grid-column:1;line-height:1.6;padding:12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);margin:0 0 12px}#salesServicesTalk strong{font-size:var(--fs-lg,14px)}#salesServicesTalk p{font-size:var(--fs-md,13.5px)!important;margin:8px 0}
html body .company-quote-saved>span>small{white-space:normal;line-height:1.4}
/* Videos use a short header, rather than a third full-height column. */
html body #callMode.meet-open{grid-template-columns:330px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important}
html body #callMode.meet-open>.call-left{grid-column:1!important;grid-row:1!important;display:flex!important}
html body #callMode.meet-open>.call-main{grid-column:2!important;grid-row:1!important;min-width:0;min-height:0}
html body #callMode.meet-open>.call-office-footer{grid-column:1/-1!important;grid-row:2!important}
html body #callMode.meet-open #meetVideoPanel{display:grid!important;grid-template-columns:repeat(2,minmax(0,210px));grid-template-rows:112px auto;justify-content:center;gap:6px 10px;height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;padding:8px!important;border-right:0;border-bottom:1px solid var(--border);grid-column:auto!important;grid-row:auto!important}
html body #meetVideoPanel .meet-video,html body #meetVideoPanel .meet-self{position:relative!important;inset:auto!important;width:100%!important;height:112px!important;min-height:0!important;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:none;border:1px solid var(--border);border-radius:8px;background:var(--surface2);padding:7px;font-size:var(--fs-sm,12.5px)!important;overflow:hidden}
html body #meetVideoPanel .meet-self{grid-column:1;grid-row:1}html body #meetVideoPanel .meet-video{grid-column:2;grid-row:1}
html body #meetVideoPanel .meet-avatar{width:30px;height:30px;font-size:var(--fs-md,13.5px)!important;flex-shrink:0}
html body #meetVideoPanel .meet-client-label{position:static!important;font-size:var(--fs-xs,11.5px)!important;background:none;padding:0;text-align:center}
html body #admitMeetClient{font-size:var(--fs-xs,11.5px)!important;min-height:24px;height:24px;padding:3px 9px!important}
html body #meetVideoPanel .meet-controls{grid-column:1/-1;grid-row:2;margin:0;gap:6px}html body #meetVideoPanel .meet-controls button{width:28px;height:28px}
html body #meetVideoPanel :is(.meet-cue,.meet-connection,#meetAbsent){display:none!important}
html body #meetVideoPanel .meet-self::after{content:'Pokój szkoleniowy · symulacja';font-size:var(--fs-xs,11.5px);color:var(--muted);margin-top:6px}
@media(max-width:760px){html body #callMode.meet-open{display:block!important}html body #callMode.meet-open #meetVideoPanel{grid-template-columns:repeat(2,minmax(0,180px));position:static!important}html body #callMode.meet-open>.call-left{display:flex!important}#salesServicePlan label{grid-template-columns:1fr 1fr}}
html body #callMode.sales-service-mode #taskCoordinatorPicker{display:flex!important;flex-wrap:wrap}
html body #callMode.meet-open .focus-wrap{max-width:none!important;width:100%;box-sizing:border-box}
html body #salesServicePlan .sales-service-actions .btn:disabled{color:var(--green)!important;opacity:.8}
/* Final customer identity stays in the existing top banner. */
.stage-view[data-view="finale"]>.crm-company-context,.stage-view[data-view="finale"] #phoneUnifiedClientCard [data-client-topic="company"]{display:none!important}
/* Requested post-call simplification only. */
html body .post-payment-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;align-items:stretch}
html body .post-payment-row>.client-fact-status{padding:9px;min-width:0;font-size:var(--fs-sm,12.5px);grid-column:auto!important;grid-row:auto!important;align-self:stretch;box-sizing:border-box}
html body .post-payment-row>[data-card-trigger="refreshClosing"]{grid-column:1/-1!important;grid-row:auto!important;justify-self:end}
html body .post-payment-row strong{font-size:var(--fs-md,13.5px)!important}
html body .commercial-complete{border-color:var(--green)!important;background:var(--surface)!important}
html body .commercial-complete>.client-topic-head .client-now-alert{color:var(--green)!important}
#newFirmClosing .nf-handoff-only{display:none!important}
#newFirmClosing{margin:12px 0}
#newFirmClosing .nf-content{padding:12px}
.office-payment-confirm{display:grid;gap:6px;font-size:var(--fs-sm,12.5px)}.office-payment-confirm input:not([type=checkbox]){width:100%;box-sizing:border-box;min-width:0}
@media(max-width:580px){html body .post-payment-row{grid-template-columns:1fr!important}}

/* Closing note is one disclosure directly below client signatures/payments. */
html.crm-premium-trial body #newFirmClosing{padding:0;border:0;background:transparent;box-shadow:none;margin:12px 0}
#newFirmClosing>.nf-fold{margin:0}
#newFirmClosing>.nf-fold>summary{min-height:48px;padding:12px 16px}

/* v45: video belongs to the script column; the tool rail begins at the top. */
html body #callMode.meet-open>.call-main{display:block!important}
html body #callMode.meet-open .call-detail-scroll{height:100%;box-sizing:border-box;align-items:start}
html body #callMode.meet-open .focus-wrap>.audit-progress-top{position:static;margin:0 0 8px;padding:8px 10px}
html body #callMode.meet-open #meetVideoPanel{grid-template-columns:minmax(130px,175px) repeat(2,minmax(0,150px));grid-template-rows:86px;justify-content:start;padding:0 0 7px!important;gap:7px;background:transparent}
html body #callMode.meet-open #meetVideoPanel .meet-self{grid-column:2;grid-row:1;height:86px!important;font-size:var(--fs-xs,11.5px)!important;text-align:center}
html body #callMode.meet-open #meetVideoPanel .meet-video{grid-column:3;grid-row:1;height:86px!important}
html body #callMode.meet-open .meet-host-actions{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0}
html body #callMode.meet-open #meetVideoPanel .meet-controls{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px}
html body #callMode.meet-open #meetVideoPanel .meet-controls button{width:auto;height:27px;border-radius:6px;padding:4px 6px;font-size:var(--fs-xs,11.5px);display:inline-flex;align-items:center;gap:4px}
html body #callMode.meet-open #meetVideoPanel #meetEnd{display:none!important}
html body #callMode.meet-open #meetAbsentCall{margin:0;min-height:29px;height:auto;padding:5px 7px;font-size:var(--fs-xs,11.5px);white-space:normal;text-align:left}
html body #callMode.meet-open #meetVideoPanel .meet-self::after{font-size:9px;margin:0}
html body #callMode.meet-open .live-advisor-rail{top:0;max-height:100%;gap:6px}
html body #callMode.meet-open .live-advisor-rail>.live-price-toolbar{order:-2;display:flex;flex-wrap:wrap;gap:4px;margin:0;width:100%;flex-shrink:0}
html body #callMode.meet-open .live-price-toolbar .btn{min-height:28px;height:auto;padding:5px 6px!important;font-size:var(--fs-xs,11.5px)!important;margin:0!important;white-space:normal}
@media(max-width:760px){
 html body #callMode.meet-open .call-detail-scroll{height:auto}
 html body #callMode.meet-open #meetVideoPanel{grid-template-columns:repeat(2,minmax(0,150px));grid-template-rows:86px auto}
 html body #callMode.meet-open #meetVideoPanel .meet-self{grid-column:1}
 html body #callMode.meet-open #meetVideoPanel .meet-video{grid-column:2}
 html body #callMode.meet-open .meet-host-actions{grid-column:1/-1;grid-row:2;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}
}

html body #callMode.meet-open #meetVideoPanel .meet-video{gap:3px;padding:4px}
html body #callMode.meet-open #meetVideoPanel .meet-avatar{width:22px;height:22px;font-size:var(--fs-xs,11.5px)!important}
html body #callMode.meet-open #meetVideoPanel .meet-client-label{font-size:var(--fs-xs,11.5px)!important;line-height:1.2}
html body #callMode.meet-open #admitMeetClient{min-height:22px;height:22px;padding:2px 7px!important;font-size:var(--fs-xs,11.5px)!important;flex-shrink:0}
html body #companyQuoteLedger .company-formation-send{grid-column:1/-1;width:100%;height:auto;min-height:30px;margin:5px 0 0;white-space:normal;font-size:var(--fs-xs,11.5px)!important}

/* Sales correction: centered video pair, smaller company disclosure, explicit months. */
html body #callMode.meet-open>.call-main{display:flex!important;flex-direction:column;min-height:0}
html body #callMode.meet-open>.call-main>.call-detail-scroll{height:auto;flex:1;min-height:0;width:100%}
html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-columns:minmax(0,1fr) 150px 150px minmax(0,1fr);justify-content:center;width:100%;box-sizing:border-box;padding:5px 10px!important}
html body #callMode.meet-open>.call-main>#meetVideoPanel .meet-host-actions{justify-self:end;max-width:175px;margin-right:8px}
html body #callMode.meet-open .crm-company-context>summary{min-height:30px!important;padding:5px 9px!important;gap:6px!important}
html body #callMode.meet-open .crm-company-context>summary h3{font-size:var(--fs-sm,12.5px)!important;line-height:1.3;margin:0!important}
html body #callMode.meet-open .crm-company-context>summary .btn{min-height:24px!important;padding:3px 7px!important;font-size:var(--fs-xs,11.5px)!important}
.service-month-picker{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(75px,1fr);gap:6px}
html body #salesServicePlan .service-month-picker select{display:block!important;min-width:0;width:100%;height:34px;padding:5px 7px;font:inherit;font-size:var(--fs-sm,12.5px);color:var(--text);background:var(--surface2);border:1px solid var(--border);border-radius:6px}
html body #callMode .sales-service-actions .btn.is-sent{color:var(--green)!important;border-color:var(--green)!important;background:color-mix(in srgb,var(--green) 9%,var(--surface))!important;opacity:1}
#salesServicePlan .sales-service-card:has([data-formation-action]) .sales-service-prices{display:flex;flex-direction:column-reverse}
#manualOutboundError{color:var(--red);white-space:pre-wrap;min-height:1.4em}
html body #salesPriceCalculator [data-quote-extra]{width:100%;box-sizing:border-box}
@media(max-width:760px){html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-columns:repeat(2,minmax(0,150px));grid-template-rows:86px auto}html body #callMode.meet-open>.call-main>#meetVideoPanel .meet-host-actions{grid-column:1/-1;justify-self:center;max-width:none;margin:0}}

@media(min-width:1100px){html body #callMode.meet-open>.call-main>#meetVideoPanel :is(.meet-self,.meet-video,.meet-host-actions){transform:translateX(-165px)}}

/* Formation sells one fixed service; planning estimates remain in the saved data. */
html body #salesPriceCalculator :is(#salesPriceTotal,#salesPriceBreakdown,#priceFirstMonthTerms,#salesPriceApplied,.company-quote-agreed,[data-quote-result],label)[hidden]{display:none!important}

/* Call controls and instructions remain close to the current action. */
#callCommercialGuide{padding:12px;margin:0 0 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface2)}
#callCommercialGuide[hidden]{display:none!important}#callCommercialGuide header{display:flex;justify-content:space-between;align-items:center;gap:10px}#callCommercialGuide p{font-size:var(--fs-lg,14px);line-height:1.6}#callCommercialGuide small{color:var(--muted)}
.crm-meet-test-preview{resize:none!important;width:min(520px,calc(100vw - 40px))!important;max-height:80vh;height:auto!important;padding:22px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}
.crm-meet-test-preview .meet-preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.crm-meet-test-preview button{outline:none;box-shadow:none!important;border:1px solid var(--border)!important;border-radius:7px;min-height:36px;padding:8px 12px}.crm-meet-test-preview [data-close-test]{margin-left:auto}
html body #callMode .focus-step.audit-folded{margin:0;min-height:0}html body #callMode .focus-step.audit-folded .focus-step-head{padding:4px 8px!important;min-height:24px;border-bottom:0}html body #callMode .focus-step.audit-folded .focus-step-title span{display:none}html body #callMode .focus-script{gap:5px}
html body #callMode .audit-folded .audit-fold-body-hidden{display:none!important;min-height:0!important;height:0!important;padding:0!important;margin:0!important}
@media(min-width:1000px){
html body #callMode.meet-open>.call-main{display:grid!important;grid-template-columns:minmax(0,1fr) 290px;grid-template-rows:auto minmax(0,1fr);padding:0!important;overflow:hidden}
html body #callMode.meet-open>.call-main>.call-detail-scroll{display:contents!important}
html body #callMode.meet-open .focus-wrap{grid-column:1;grid-row:2;min-height:0;overflow:auto;padding:10px;scroll-behavior:auto;overflow-anchor:none}
html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr) 140px 140px minmax(0,1fr)}
html body #callMode.meet-open>.call-main>#meetVideoPanel :is(.meet-self,.meet-video,.meet-host-actions){transform:none}
html body #callMode.meet-open .live-advisor-rail{grid-column:2;grid-row:1/3;position:static!important;height:100%;max-height:100%;overflow:auto;min-height:0;padding:8px!important;margin:0;border-left:1px solid var(--border);box-sizing:border-box}
html body #callMode.meet-open .live-advisor-rail>.live-price-toolbar{padding-bottom:8px;border-bottom:1px solid var(--border)}
}

html:has(#callMode.open){overflow:clip!important}html body #callMode.open{top:0!important;bottom:0!important}

/* Completed information is green; outstanding data amber; an overdue call red. */
html body :is(#missingStatusBadge,#clientAuditMissingCount).missing-complete,
html body #auditGapsCard.audit-section-complete :is(.doc-head,#auditGapsDisclosureStatus),
html body #missingStatusPanel .missing-status-step.done{
 color:var(--green,#2FBF87)!important;border-color:color-mix(in srgb,var(--green,#2FBF87) 55%,var(--border))!important;background:color-mix(in srgb,var(--green,#2FBF87) 10%,var(--surface))!important}
html body #missingStatusPanel .missing-status-step:not(.done):not(.missing-overdue),
html body #callMode #liveMissingDeadline{border-color:var(--amber,#E5A83D)!important;background:color-mix(in srgb,var(--amber,#E5A83D) 9%,var(--surface))!important}
html body #liveMissingDeadline .missing-deadline label{color:var(--amber,#E5A83D)!important}
/* 07.10 18:07 (Dawid): brak terminu kolejnej rozmowy = do zrobienia — ramka pomarańczowa zamiast czerwonej */
html body #auditAppointmentConfirm.appointment-missing{color:var(--amber,#E5A83D)!important;border:1px solid color-mix(in srgb,var(--amber,#E5A83D) 50%,var(--border))!important;background:color-mix(in srgb,var(--amber,#E5A83D) 8%,var(--surface))!important}
html body #missingStatusPanel .missing-status-step.missing-overdue,
html body .saved-contact-bar.contact-not-booked{color:var(--red)!important;border:1px solid color-mix(in srgb,var(--red) 50%,var(--border))!important;background:color-mix(in srgb,var(--red) 8%,var(--surface))!important}
html body #auditAppointmentConfirm.appointment-saved{border:1px solid var(--green,#2FBF87)!important;background:color-mix(in srgb,var(--green,#2FBF87) 8%,var(--surface))!important}
html body #auditAppointmentConfirm.appointment-saved #confirmAuditAppointment{color:var(--green,#2FBF87)!important;border-color:var(--green,#2FBF87)!important;background:color-mix(in srgb,var(--green,#2FBF87) 12%,var(--surface))!important}
html body .saved-contact-bar{box-sizing:border-box;display:flex;flex-direction:column;gap:7px;min-width:0;margin:10px 0;padding:12px;border:1px solid var(--green,#2FBF87);border-radius:8px;background:color-mix(in srgb,var(--green,#2FBF87) 8%,var(--surface));color:var(--text);font-size:var(--fs-lg,14px);line-height:1.45}
html body .saved-contact-bar[hidden]{display:none!important}.saved-contact-bar p{margin:0}.saved-contact-bar small{color:var(--muted)}.saved-contact-actions{display:flex;gap:6px;flex-wrap:wrap}.saved-contact-actions .btn{white-space:normal!important;height:auto!important;min-height:32px;padding:6px 9px!important;font-size:var(--fs-sm,12.5px)!important}
#savedContactEditor{width:min(650px,calc(100vw - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}#savedContactEditor footer{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}#savedContactEditor [role=alert]{color:var(--red)}#savedContactEditor select{padding:9px;margin:8px;border:1px solid var(--border);border-radius:6px;background:var(--surface2);color:var(--text)}#savedContactEditor [data-contact-hint]{font-size:var(--fs-sm,12.5px);color:var(--muted)}
html body #salesTransferActions{margin:10px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--border);background:transparent}
@media(min-width:1000px){
 html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-columns:minmax(130px,1fr) minmax(90px,130px) minmax(90px,130px) minmax(90px,120px);gap:8px;align-items:center}
 html body #meetVideoPanel>.meet-host-actions{grid-column:1;grid-row:1;position:static;min-width:0;align-items:flex-start;justify-self:start}
 html body #meetVideoPanel>.meet-self{grid-column:2;grid-row:1;width:100%;max-width:130px}
 html body #meetVideoPanel>.meet-video{grid-column:3;grid-row:1;width:100%;max-width:130px}
 html body #meetVideoPanel>#admitMeetClient{grid-column:4;grid-row:1;position:static;transform:none;margin:0;white-space:normal;width:100%;height:auto;min-height:36px;padding:8px}
 html body #meetVideoPanel .meet-host-actions #meetAbsentCall{position:static;white-space:normal;max-width:100%;height:auto;min-height:34px;margin:0}
}
html body #callMode .audit-row[data-state=no]{border-left-color:var(--amber)!important;background:color-mix(in srgb,var(--amber) 5%,var(--surface))!important}
html body #callMode .audit-row[data-state=no] .answer-btn.no.selected{color:var(--amber)!important;border-color:var(--amber)!important;background:color-mix(in srgb,var(--amber) 10%,var(--surface))!important}
html body #salesServicePlan .sales-service-card>label{display:block!important;grid-template-columns:none!important}
@media(min-width:1000px){
 html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-rows:minmax(110px,auto)!important}
 html body #callMode.meet-open>.call-main>#meetVideoPanel>.meet-host-actions{justify-self:start!important;align-self:center;max-width:100%;width:100%;margin:0!important;align-items:flex-start!important}
 html body #callMode.meet-open>.call-main>#meetVideoPanel #meetAbsentCall{align-self:flex-start!important;max-width:100%;margin:0!important;min-height:36px!important}
 html body #callMode.meet-open>.call-main>#meetVideoPanel>#admitMeetClient{height:auto!important;min-height:36px!important;white-space:normal!important;align-self:center}
}
/* Follow-up sales calls use the same service cards and original sending controls. */
html body #callMode.operational-call :is(#opContract,#opPayment,#operationalCommercialDemo,#opPriority,#opLastContext){display:none!important}
html body #callMode.operational-call #operationalControls>h3{margin:0 0 12px;font-size:var(--fs-lg,14px)}
html body #callMode.operational-call #focusScript{display:block!important}
html body #callMode.operational-call #focusScript #clientPersistentWorkbench{display:block!important;width:100%;margin:0!important}
html body #callMode.operational-call .focus-head .audit-progress-head{display:none!important}
html body #callMode.operational-call #salesServicePlan{display:grid}
html body #callMode.operational-call #salesServicePlan[hidden]{display:none!important}
html body #callMode.operational-call #salesTransferActions:not([hidden]){display:grid!important}
html body .saved-call-channel{border-color:var(--green)!important;box-shadow:inset 0 0 0 1px var(--green)}
html body [data-saved-channel]{font-size:var(--fs-xs,11.5px);margin-left:5px;color:var(--green)}
html body [data-saved-channel][hidden]{display:none!important}
/* The same native disclosure for each saved service, with original actions inside. */
html body #salesServicePlan details.sales-service-card{padding:0!important;margin:0;overflow:hidden}
html body #salesServicePlan details.sales-service-card>summary{display:flex;align-items:center;gap:8px;padding:11px;list-style:none;margin:0;min-height:42px;box-sizing:border-box}
html body #salesServicePlan details.sales-service-card>summary>span{display:grid;gap:3px;min-width:0}
html body #salesServicePlan details.sales-service-card>summary strong{font-size:var(--fs-lg,14px)}
html body #salesServicePlan details.sales-service-card>summary small{font-size:var(--fs-sm,12.5px);color:var(--muted);overflow-wrap:anywhere}
html body #salesServicePlan .sales-service-body{padding:0 11px 11px}
html body #salesServicePlan details.sales-service-card:not([open])>:not(summary){display:none!important}

/* One instruction panel, readable immediately after sending in phone and Meet calls. */
html body #callCommercialGuide{border:1px solid color-mix(in srgb,var(--blue) 65%,var(--border))!important;border-left:3px solid var(--blue)!important;background:color-mix(in srgb,var(--blue) 12%,var(--surface))!important;color:var(--text);scroll-margin-top:10px}
#callCommercialGuide p{white-space:pre-wrap}
html body #callMode #saveSalesNextStepsLive{display:none!important}

/* Audit127: pending work has an outline only; saved dates/completed services turn green. */
html body #salesServicePlan .sales-service-card[data-service-complete=false],html body #salesServicePlan .service-date-choice[data-date-complete=false]{border:1px solid var(--crm-review-line,var(--amber))!important;background:var(--surface)!important}
html body #salesServicePlan .sales-service-card[data-service-complete=true],html body #salesServicePlan .service-date-choice[data-date-complete=true]{border:1px solid var(--green)!important}
html body #salesServicePlan .service-date-choice[data-date-complete=false] select{border-color:var(--crm-review-line,var(--amber))!important}

/* Sales129: actions need attention; the surrounding service/date keeps its own state. */
html body #callMode.sales-service-mode #salesServicePlan .sales-service-card[data-service-complete=false]{border-color:var(--border)!important}
html body #manualOutboundEditor{width:min(1040px,calc(100vw / var(--crm-ui-scale,1) - 40px))!important;box-sizing:border-box}
html body #manualOutboundEditor .material-message-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
html body #manualOutboundEditor .material-message-fields>label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:var(--fs-lg,14px)}
html body #manualOutboundEditor :is(#manualOutboundBody,#manualOutboundEmail){width:100%!important;min-width:0!important;height:300px!important;min-height:260px!important;box-sizing:border-box;padding:12px;margin:0!important;font:inherit;font-size:var(--fs-lg,14px)!important;line-height:1.6;resize:vertical;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface2)}
html body #manualOutboundEditor [data-material-subject-label]{display:grid;gap:6px;margin:12px 0}
html body #manualOutboundEditor [data-material-subject]{box-sizing:border-box;width:100%;padding:10px;color:var(--text);background:var(--surface2);border:1px solid var(--border);border-radius:6px}
html body #salesPreparedRow{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
html body #salesPreparedRow>span{flex:1 1 250px}
html body #salesPreparedRow .btn{flex:0 1 auto}
html body .sales-eval-card.crm-needs-verification{border:1px solid var(--crm-review-line)!important;background:var(--surface)!important}
html body .sales-eval-card.crm-needs-verification .doc-status{border:1px solid var(--crm-review-line)!important;background:var(--surface)!important;white-space:nowrap!important}
html body #newFirmClosing .sales-package-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
html body #newFirmClosing .sales-package-actions>.btn{width:auto!important;margin:0!important}
@media(max-width:700px){html body #manualOutboundEditor .material-message-fields{grid-template-columns:minmax(0,1fr)}}
html body #newFirmClosing .sales-package-messages{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
html body #newFirmClosing .sales-package-messages>label{display:flex;flex-direction:column;gap:7px;min-width:0;align-items:stretch}
html body #newFirmClosing .sales-package-messages textarea{width:100%!important;min-width:0;box-sizing:border-box;min-height:190px!important;height:220px!important;max-height:none!important;padding:10px;font:inherit;font-size:var(--fs-md,13.5px)!important;line-height:1.5;color:var(--text);background:var(--surface2);border:1px solid var(--border);border-radius:7px;resize:vertical}
@media(max-width:700px){html body #newFirmClosing .sales-package-messages{grid-template-columns:minmax(0,1fr)}}

/* FLOW138: admission actions inside the room; one centered pair and icon controls under host. */
html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-columns:minmax(0,1fr) 150px 150px minmax(0,1fr);grid-template-rows:86px 30px;gap:5px 10px}
html body #callMode.meet-open #meetVideoPanel>.call-meet-join-tools{grid-column:1;grid-row:1/3;align-self:center;justify-self:end;display:flex;flex-direction:column;gap:6px;max-width:190px;margin:0}
html body #callMode.meet-open #meetVideoPanel>.call-meet-join-tools[hidden]{display:none!important}
html body #callMode.meet-open #meetVideoPanel>.meet-host-actions{grid-column:2;grid-row:2;justify-self:center;align-self:start;max-width:none;margin:0}
html body #callMode.meet-open #meetVideoPanel .meet-controls{justify-content:center;margin:0}
html body #callMode.meet-open #meetVideoPanel .meet-controls button{width:28px;height:28px;padding:5px;justify-content:center}
html body #callMode.meet-open #meetVideoPanel>#admitMeetClient{grid-column:4;grid-row:1;justify-self:start;align-self:center}
html body #callMode.meet-open #meetVideoPanel>.meet-self{grid-column:2;grid-row:1}
html body #callMode.meet-open #meetVideoPanel>.meet-video{grid-column:3;grid-row:1}
@media(max-width:900px){html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-columns:minmax(0,1fr) minmax(0,150px) minmax(0,150px) minmax(0,1fr);grid-template-rows:86px 30px auto}html body #callMode.meet-open #meetVideoPanel>.call-meet-join-tools{grid-column:1/4;grid-row:3;justify-self:start;flex-direction:row;max-width:none;flex-wrap:wrap}html body #callMode.meet-open #meetVideoPanel>#admitMeetClient{grid-column:3;grid-row:2;justify-self:center}}
html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-rows:86px 30px!important}
html body #callMode.meet-open>.call-main>#meetVideoPanel>.meet-host-actions{grid-column:2;grid-row:2;justify-self:center!important;align-self:start!important;align-items:center!important;width:auto!important;max-width:none;margin:0!important;transform:none!important}
html body #callMode.meet-open>.call-main>#meetVideoPanel :is(.meet-self,.meet-video){max-width:none;transform:none!important}
html body #callMode.meet-open #meetVideoPanel>.call-meet-join-tools .btn{font-size:var(--fs-xs,11.5px)!important;white-space:normal;min-height:28px;height:auto;padding:5px 7px!important;text-align:left}
@media(max-width:900px){html body #callMode.meet-open>.call-main>#meetVideoPanel{grid-template-rows:86px 30px auto!important}}

/* One readable next-contact block and the same channel controls as audit. */
html body #callMode #salesCalendarSection{margin:12px 0;padding:10px;border:1px solid var(--crm-review-line,var(--amber));border-radius:8px;background:var(--surface);min-width:0}
html body #callMode #salesCalendarSection .reply-mode-buttons{display:flex!important;flex-direction:column;gap:6px}
html body #callMode #salesCalendarSection .reply-mode-buttons .btn{width:100%;min-width:0;min-height:36px;white-space:normal!important;word-break:normal;overflow-wrap:normal;justify-content:center;text-align:center;font-size:var(--fs-md,13.5px)!important;padding:8px!important}
html body #callMode #salesCalendarSection .reply-mode-buttons [hidden]{display:none!important}
html body #callMode #salesMeetingFooter{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:8px 0 0;padding:0;min-width:0}
html body #callMode #salesMeetingFooter[hidden],html body #callMode #salesNextChannel[hidden]{display:none!important}
html body #callMode #salesNextChannel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;gap:6px}
html body #callMode #salesNextChannel label{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0;min-height:34px;padding:6px 8px;font-size:var(--fs-lg,14px);white-space:nowrap}
html body #callMode #salesNextChannel input{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;flex:0 0 16px;accent-color:var(--blue)}
html body #callMode #salesBookNextMeeting{width:100%;white-space:normal;min-height:36px}
html body #callMode #liveAvailability{margin-bottom:8px}
html body #callMode #callFollowup{margin-top:0}
html body #salesNextActionCorrection .reply-mode-buttons{display:flex!important;flex-wrap:wrap;gap:6px}
html body #salesNextActionCorrection .reply-mode-buttons .btn{flex:1 1 180px;min-width:0;white-space:normal!important;word-break:normal;overflow-wrap:normal}
html body #salesNextActionCorrection .reply-mode-buttons [hidden]{display:none!important}

/* 07.10.2026 10:30 (Dawid — REGUŁA): „Poprowadź klienta” wszędzie w jednym wyglądzie */
html body #callCommercialGuide.sk-zamk-sc-host{border:0!important;background:none!important;padding:0!important}
.live-guide{padding:10px 14px!important;border:1px solid var(--border,#272B33)!important;border-left:3px solid #A78BFA!important;border-radius:10px!important;background:none!important}
