/* Shared section affordance: same 9px drawn chevron as company disclosure. */
html :is(body,#callMode) :is(.crm-disclosure-control,.stage-disclosure-toggle,#auditEvaluationToggle,#salesEvaluationToggle,.inbound-fold-toggle,.crm-disclosure-banner)::after,
html body #salesServicePlan details.sales-service-card>summary::after,
html body #clientPersistentWorkbench #clientWorkDetails>summary::after{content:''!important;display:block!important;box-sizing:border-box!important;width:9px!important;height:9px!important;min-width:9px!important;flex:0 0 9px!important;border:0!important;border-right:2px solid currentColor!important;border-bottom:2px solid currentColor!important;border-radius:0!important;background:transparent!important;position:static!important;transform:rotate(45deg)!important;font-size:0!important;margin:0 10px 4px auto!important;align-self:center!important}
html :is(body,#callMode) :is(.crm-disclosure-control,.stage-disclosure-toggle,#auditEvaluationToggle,#salesEvaluationToggle,.inbound-fold-toggle,.crm-disclosure-banner)[aria-expanded=true]::after,
html body #salesServicePlan details.sales-service-card[open]>summary::after,
html body #clientPersistentWorkbench #clientWorkDetails[open]>summary::after{transform:rotate(225deg)!important;margin-bottom:-4px!important}
html :is(body,#callMode) :is(.crm-disclosure-control,.stage-disclosure-toggle,#auditEvaluationToggle,#salesEvaluationToggle,.inbound-fold-toggle){font-size:0!important;color:var(--premium-muted,var(--muted))!important}
html body .phone-disclosure-head[tabindex="0"],html body details>summary{cursor:pointer;transition:background-color .15s}
html body .phone-disclosure-head[tabindex="0"]:hover,html body details>summary:hover{background-color:color-mix(in srgb,var(--premium-muted,var(--muted)) 7%,transparent)}
html body .phone-disclosure-head:focus-visible{outline:2px solid var(--premium-accent,var(--blue));outline-offset:2px;border-radius:7px}
html body #callMode #livePatrykAdvisor.advisor-collapsed>:not(.ai-widget-head){display:none!important}
html body #callMode #livePatrykAdvisor.advisor-collapsed{min-height:0!important;height:auto!important;padding:0!important;gap:0!important;grid-template-rows:auto!important}
html body #callMode #livePatrykAdvisor.advisor-collapsed>.ai-widget-head{margin:0!important;padding:12px!important;border-bottom:0!important}
html body #callMode #livePatrykAdvisor{flex:none!important}

/* One shared banner. Counts remain outside the folded content. */
html body #clientPersistentWorkbench #clientWorkDetails>summary{display:flex!important;align-items:center;gap:10px!important;padding:10px 12px!important;min-height:44px;box-sizing:border-box;line-height:1.45;font-size:var(--fs-lg,14px)!important}
html body #clientPersistentWorkbench #clientWorkDetails>summary>strong{font-size:var(--fs-lg,14px)!important;font-weight:var(--fw-s,600)!important;min-width:0}
html body #clientPersistentWorkbench #clientWorkCount{display:flex!important;flex-wrap:wrap;gap:4px 8px;font-size:var(--fs-xs,11.5px)!important;margin-left:auto;line-height:1.5}
html body #clientPersistentWorkbench .phone-work-count{display:inline-flex;align-items:center;white-space:nowrap;padding:2px 6px;border-radius:5px;font-weight:var(--fw-s,600)}
html body #clientPersistentWorkbench .phone-work-count[hidden]{display:none!important}
html body #clientPersistentWorkbench .phone-work-count.tasks{color:var(--work-blue,var(--blue));background:var(--work-blue-bg,color-mix(in srgb,var(--blue) 10%,transparent))}
html body #clientPersistentWorkbench .phone-work-count.notes{color:var(--work-note-ink,var(--amber));background:var(--work-note-bg,color-mix(in srgb,var(--amber) 10%,transparent))}
html body #clientPersistentWorkbench .phone-work-count.gaps{color:var(--muted);background:var(--surface2)}
html body #clientPersistentWorkbench #clientWorkDetails>.work-tabs-bar{margin:0 10px 8px;padding-top:8px;border-top:1px solid var(--border);display:flex!important;flex-wrap:wrap}
html body #clientPersistentWorkbench #clientWorkDetails:not([open])>:not(summary){display:none!important}
html body #clientPersistentWorkbench .work-tabs-bar:before{display:none!important}
html body #clientPersistentWorkbench #workTasksTab{color:var(--work-blue,var(--blue))!important}
html body #clientPersistentWorkbench #workNotesTab{color:var(--work-note-ink,var(--amber))!important}
html body #callMode .live-advisor-rail>#clientPersistentWorkbench{order:-1;flex:none;min-width:0;width:100%;box-sizing:border-box;margin:0!important}
html body #callMode #clientPersistentWorkbench #clientWorkDetails>summary{flex-wrap:wrap!important}
html body #callMode #clientPersistentWorkbench #clientWorkCount{order:2;width:100%;margin-left:0!important}
html body #callMode #clientPersistentWorkbench .split-work-head{display:none!important}
html body #callMode #clientPersistentWorkbench .client-work-grid{grid-template-columns:minmax(0,1fr)!important}
html body #callMode #clientPersistentWorkbench .client-work-grid>article[hidden]{display:none!important}
html body #callMode #clientPersistentWorkbench #compactLiveTasks{border:0!important;border-radius:0!important;background:transparent!important;margin:0 0 10px!important;padding:0!important}
html body #callMode #clientPersistentWorkbench #compactLiveTasks>summary{display:none!important}
html body #callMode #clientPersistentWorkbench #compactLiveTasks>input{max-width:100%;box-sizing:border-box}
html body #callMode #clientPersistentWorkbench .task-line{flex-wrap:wrap;gap:8px}
html body #callMode #clientPersistentWorkbench .task-line>div{min-width:0;flex:1 1 160px}
html body #callMode #clientPersistentWorkbench #priorLiveNoteDetails[hidden]{display:none!important}
html body #phoneManualAuditGaps{font-size:var(--fs-md,13.5px);white-space:pre-wrap;line-height:1.5;color:var(--muted);border-left:2px solid var(--border);padding:8px;margin-top:8px}
html body #phoneManualAuditGaps[hidden]{display:none!important}
html body .spoken-sales-guidance{color:var(--muted)!important;font-size:var(--fs-sm,12.5px)!important;padding-top:8px;border-top:1px solid var(--border)}
@media(prefers-reduced-motion:reduce){html body .phone-disclosure-head,html body details>summary{transition:none}}

html :is(body,#callMode) :is(.crm-disclosure-control,.stage-disclosure-toggle,#auditEvaluationToggle,#salesEvaluationToggle,.inbound-fold-toggle){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;width:var(--crm-disc,30px)!important;min-width:var(--crm-disc,30px)!important;height:var(--crm-disc,30px)!important;min-height:var(--crm-disc,30px)!important;flex:0 0 var(--crm-disc,30px)!important}/* 13.10 (sesja L): na telefonie 36 px przez --crm-disc (crm-sales-clean.css) */

/* Price label and focus ring occupy separate boxes; retain numeric validation. */
html body #callMode #salesLiveActions .client-service-price-field{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-content:start;position:static!important;min-width:0!important;padding:0!important;line-height:1.5!important}
html body #callMode #salesLiveActions .client-service-price-field>span{display:block;position:static!important;transform:none!important;white-space:normal!important;line-height:1.5!important;margin:0!important}
html body #callMode .client-service-price-field:is(.needs-action,.required-spotlight,:focus-within){background:transparent!important;box-shadow:none!important;outline:none!important}
html body #callMode .client-service-price-field::before,html body #callMode .client-service-price-field::after{content:none!important}
html body #callMode #liveSalesPrice{--crm-type-body:var(--fs-lg,14px);box-sizing:border-box!important;width:100%!important;min-width:0!important;margin:0!important;position:static!important;transform:none!important;min-height:40px!important;padding:9px 10px!important;font-size:var(--fs-lg,14px)!important;line-height:1.5!important;border:1px solid var(--premium-line,var(--border))!important;border-radius:7px!important;background:var(--premium-paper,var(--surface))!important;color:var(--premium-ink,var(--text))!important;outline:none!important;box-shadow:none!important;appearance:textfield!important;-moz-appearance:textfield!important}
html body #callMode #liveSalesPrice:focus{border-color:var(--blue)!important;box-shadow:inset 0 0 0 1px var(--blue)!important;outline:none!important}
html body #liveSalesPrice::-webkit-inner-spin-button,html body #liveSalesPrice::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
html body #callMode .owner-choices label,html body #callMode .coordinator-picker button{font-size:var(--fs-sm,12.5px)!important;--crm-type-body:var(--fs-sm,12.5px);line-height:1.35!important;white-space:normal!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:34px!important;box-sizing:border-box!important;padding:7px 8px!important;overflow-wrap:normal!important;word-break:normal!important}
html body #callMode .owner-choices label{display:flex!important;align-items:center;gap:5px!important}
html body #callMode .owner-choices input{flex:0 0 14px!important;width:14px!important;height:14px!important;margin:0!important}
html body #liveGuide>summary{display:flex!important;align-items:center;gap:10px!important;cursor:pointer;padding:4px 0!important}
html body #liveGuide>summary h3{flex:1;min-width:0;margin:0!important;white-space:normal}
html body #liveGuide:not([open])>:not(summary){display:none!important}
html body #liveGuide:not([open]){min-height:0!important;height:auto!important}

/* Start edits stay in the same row and never toggle the next-step panel. */
html body #salesPlanStart{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 12px!important}
html body #salesPlanStart .sales-start-caption{flex:1 1 180px;min-width:0}
html body #salesPlanStart .sales-start-value{flex:0 1 auto;white-space:normal}
html body #salesPlanStart>.field{flex:0 1 190px;min-width:0;margin:0!important}
html body #salesPlanStart>.field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body #salesPlanStart input{width:100%;min-width:0;box-sizing:border-box}
html body #salesPlanStart #editSalesVerification{flex:none;margin:0!important;white-space:nowrap}
html body #salesPlanStart [hidden]{display:none!important}
html body #outcomeWorkSection #clientWorkDetails>summary{display:flex!important;flex-wrap:wrap;cursor:pointer}
html body #outcomeWorkSection #clientWorkDetails:not([open])>:not(summary){display:none!important}

/* One disclosure for the shared workbench in every stage. Inner task/note containers are sections. */
html body #phoneUnifiedWork.phone-work-host{margin:16px 0;padding:0;border:0;background:transparent}
html body #clientPersistentWorkbench .client-notes-fold{display:block;border:0;padding:0;margin:0}
html body #clientPersistentWorkbench .client-notes-fold>.client-notes-label{display:none!important}
html body #clientPersistentWorkbench section#compactLiveTasks{padding:8px 0;margin:0;border:0}
html body #clientPersistentWorkbench section#priorLiveNoteDetails>h3{font-size:var(--fs-md,13.5px);margin:10px 0 6px}
