/* Call107: scoped corrections; shared status tokens retain their meanings. */
html body #ownTimer:empty{display:none!important}
html body .own-call-controls{justify-content:center}
@media(min-width:761px){
 html body #callMode .call-detail-scroll.ai-advisor-visible{grid-template-rows:minmax(0,1fr)!important;overflow:hidden!important;align-items:stretch!important}
 html body #callMode .call-detail-scroll>.focus-wrap:has(.call-fixed-finish){height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 html body #callMode #focusScript.call-fixed-finish{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;flex:1 1 0!important;min-height:0!important;height:0;overflow:hidden!important;padding:0!important;gap:10px}
 html body #callMode #focusScript.call-fixed-finish>.call-script-scroll{min-height:0;overflow:auto;scrollbar-width:thin}
 html body #callMode #focusScript.call-fixed-finish>.focus-finish{position:static!important;margin:0!important;order:initial;align-self:end;background:var(--surface);z-index:2}
}
html body :is(#reviewAiTraining,#salesAiTraining).required{border:1px solid var(--crm-review-line)!important;background:var(--crm-review-surface)!important;color:var(--text)!important;opacity:1!important}
html body :is(#reviewAiTraining,#salesAiTraining).completed{border:1px solid var(--green)!important;background:color-mix(in srgb,var(--green) 12%,var(--surface))!important;color:var(--green)!important;opacity:1!important}
html body #newFirmClosing .sales-transfer-package .nf-content{padding:12px!important;display:grid;gap:8px}
html body #newFirmClosing .sales-transfer-package :is(p,h3){margin:0!important}
html body #newFirmClosing .sales-transfer-package .nf-actions{gap:6px;margin:0!important}
html body #newFirmClosing .sales-transfer-package form{padding:0!important;gap:8px!important}
html body #newFirmClosing .sales-package-messages{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
html body #newFirmClosing .sales-package-messages textarea{min-height:100px!important;height:100px;resize:vertical}
html body #newFirmClosing .sales-package-reference>summary{padding:6px 0!important;cursor:pointer}
html body #newFirmClosing .sales-package-reference:not([open])>:not(summary){display:none!important}
html body #newFirmClosing .sales-transfer-package .btn{padding:7px 10px!important;min-height:32px!important;width:auto!important}
html body #newFirmClosing .sales-transfer-package .nf-check{margin:0!important;padding:8px!important}
html body #handoffPdfDialog .pdf-small-tools,html body .business-document-editor .pdf-small-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
html body #handoffPdfDialog .pdf-small-tools .btn,html body .business-document-editor .pdf-small-tools .btn{font-size:var(--fs-sm,12.5px)!important;min-height:28px!important;padding:5px 8px!important;width:auto!important}
html body #handoffPdfDialog footer>[data-pdf-close]{display:none!important}
@media(max-width:760px){html body #newFirmClosing .sales-package-messages{grid-template-columns:1fr}}

/* 04.10 (Dawid): bez podświetlenia imienia klienta po starcie rozmowy (fokus zostaje dla czytników ekranu) */
#callClientName:focus,#callClientName:focus-visible,#callMode .call-left :is(h2,div)[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}

/* 04.10 17:59 (Dawid: „rozjebało się umów rozmowę”) — w wąskiej lewej kolumnie „Umów rozmowę” mieści się w szerokości kolumny:
   dni kurczą się zamiast wypychać ikonę kalendarza, rzędy godzin / kanału nie rozpychają belki */
#callMode #huWzBelki,#callMode #huWzBelki>.hu-wzb,#callMode #huWzBelki .hu-wzb-body,#callMode #huWzBelki .hu-wzk,#callMode #huWzBelki .hu-wzk>*{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#callMode #huWzBelki .hu-wzk-dni{min-width:0}
#callMode #huWzBelki .hu-wzk-dzien{flex:1 1 0!important;min-width:38px!important;padding:5px 2px!important}
#callMode #huWzBelki .hu-wzk-dzien b{font-size:var(--fs-xs,11.5px)}#callMode #huWzBelki .hu-wzk-dzien small{font-size:var(--fs-xs,11.5px)}
#callMode #huWzBelki .hu-wzk-kal{flex:0 0 32px!important}
#callMode #huWzBelki .hu-wzk-godz,#callMode #huWzBelki .hu-wzk-dol{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
#callMode #huWzBelki .hu-wzk-godz>:last-child,#callMode #huWzBelki .hu-wzk-dol>:last-child{grid-column:1/-1}
#callMode #huWzBelki .hu-wzk-slot{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* wynik rozmowy niewybrany w tej rozmowie → belki Braki / Umów nie wiszą na środku */
#callMode.open #skZamkniecie:not(.sk-zamk-pokaz) #skZamkDalej{display:none!important}
