/* Metiorys Care Client 2.1 — strict host-theme integration. Nothing is fixed over the host BO. */
.mcc-v21-footer{position:static!important;inset:auto!important;z-index:auto!important;display:flex;align-items:center;gap:10px;max-width:100%;box-sizing:border-box;margin:22px 0 0;padding:11px 14px;border:1px solid color-mix(in srgb,currentColor 10%,transparent);border-radius:12px;background:color-mix(in srgb,currentColor 2%,transparent);color:inherit;font:inherit;opacity:.72;clear:both}.mcc-v21-footer-mark{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;background:color-mix(in srgb,currentColor 9%,transparent);font-size:12px;font-weight:900}.mcc-v21-footer>span:nth-child(2){display:flex;align-items:baseline;gap:8px;min-width:0}.mcc-v21-footer strong{font-size:11px;letter-spacing:.02em}.mcc-v21-footer small{font-size:10px;opacity:.65}.mcc-v21-footer i{margin-left:auto;width:7px;height:7px;border-radius:50%;background:#27a467;box-shadow:0 0 0 3px color-mix(in srgb,#27a467 13%,transparent)}
.mcc-v21-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 14px;padding:5px;border:1px solid color-mix(in srgb,currentColor 11%,transparent);border-radius:13px;background:color-mix(in srgb,currentColor 3%,transparent)}.mcc-v21-tabs button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:800;border-radius:9px;padding:8px 11px;cursor:pointer}.mcc-v21-tabs button.is-active{background:var(--mcc-tab-bg,#fff);box-shadow:0 1px 6px color-mix(in srgb,currentColor 9%,transparent)}.mcc-v21-tabs button b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;border-radius:999px;background:color-mix(in srgb,currentColor 8%,transparent);font-size:9px}.mcc-v21-pane[hidden]{display:none!important}.mcc-v21-diagnostic{font:inherit;color:inherit;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:var(--mcc-host-radius,14px);padding:16px;background:color-mix(in srgb,var(--mcc-host-bg,#fff) 98%,currentColor 2%)}.mcc-v21-diagnostic header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.mcc-v21-diagnostic header small{font-size:10px;font-weight:900;letter-spacing:.11em;opacity:.58}.mcc-v21-diagnostic h3{font:inherit;font-size:17px;font-weight:900;margin:3px 0}.mcc-v21-diagnostic p{margin:4px 0;font-size:12px;line-height:1.55;opacity:.72}.mcc-v21-diag-actions{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0}.mcc-v21-diag-actions button,.mcc-v21-life button,.mcc-v21-listbar button{font:inherit;color:inherit;border:1px solid color-mix(in srgb,currentColor 15%,transparent);background:color-mix(in srgb,var(--mcc-host-bg,#fff) 96%,currentColor 4%);border-radius:999px;padding:8px 11px;cursor:pointer;font-size:11px;font-weight:800}.mcc-v21-diag-actions button.is-primary{background:currentColor;color:var(--mcc-host-bg,#fff)}.mcc-v21-diagnostic label{display:grid;gap:5px;margin-top:10px;font-size:11px;font-weight:800}.mcc-v21-diagnostic textarea{box-sizing:border-box;width:100%;min-height:104px;resize:vertical;font:500 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:inherit;background:var(--mcc-host-bg,#fff);border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:10px;padding:10px}.mcc-v21-diag-status{margin-top:8px;font-size:11px;font-weight:700;opacity:.75}.mcc-v21-life{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 14px}.mcc-v21-life .danger{opacity:.72}.mcc-v21-listbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px}.mcc-v21-listbar button.is-active{background:currentColor;color:var(--mcc-host-bg,#fff)}.mcc-v21-listbar .mcc-v21-search{margin-left:auto;min-width:210px;max-width:330px;padding:8px 11px;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:999px;background:var(--mcc-host-bg,#fff);color:inherit;font:inherit;font-size:11px}.dcp-care-ticket[data-mcc-hidden="1"]{display:none!important}.dcp-care-ticket .mcc-v21-mini-state{display:inline-flex;margin-left:7px;font-size:9px;font-weight:800;opacity:.55}.mcc-v21-empty{padding:20px;text-align:center;font-size:12px;opacity:.6}
/* When Care creates tabs on a host ticket, the host thread is one pane and commercial never floods the same page. */
.dcp-care-thread.mcc-v21-pane,.mcc-thread.mcc-v21-pane{margin:0}.mcc-v2-commercial.mcc-v21-pane{margin:0}.mcc-v2-commercial.mcc-v21-pane .mcc-v2-head{margin-top:0}
@media(max-width:760px){.mcc-v21-footer>span:nth-child(2){display:grid;gap:1px}.mcc-v21-listbar .mcc-v21-search{order:2;width:100%;max-width:none;margin-left:0}.mcc-v21-tabs{overflow:auto;flex-wrap:nowrap}.mcc-v21-tabs button{white-space:nowrap}}


/* Care Client 2.2 — lifecycle compact and host-first */
.mcc-v22-life{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 12px;border:1px solid color-mix(in srgb,currentColor 10%,transparent);border-radius:12px;background:color-mix(in srgb,var(--mcc-host-bg,#fff) 98%,currentColor 2%);color:inherit;font:inherit}.mcc-v22-life>div:first-child{display:grid;gap:1px}.mcc-v22-life strong{font-size:11px}.mcc-v22-life small{font-size:9px;opacity:.62}.mcc-v22-life-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mcc-v22-life-actions button{display:inline-flex;align-items:center;gap:5px;appearance:none;border:1px solid color-mix(in srgb,currentColor 14%,transparent);background:var(--mcc-host-bg,#fff);color:inherit;border-radius:9px;padding:7px 10px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.mcc-v22-life-actions button svg{width:13px;height:13px}.mcc-v22-life-actions button.danger{color:#a33143;border-color:color-mix(in srgb,#a33143 28%,transparent);background:color-mix(in srgb,#a33143 4%,var(--mcc-host-bg,#fff))}.mcc-v22-life-actions button:disabled{opacity:.45;cursor:wait}
@media(max-width:720px){.mcc-v22-life{align-items:flex-start;flex-direction:column}.mcc-v22-life-actions{justify-content:flex-start}}

/* 2.2.2 — protect Care controls from host-admin CSS without styling the host itself */
.mcc-v21-tabs input[type="checkbox"],.mcc-v21-tabs input[type="radio"],.mcc-v21-diagnostic input[type="checkbox"],.mcc-v21-diagnostic input[type="radio"],.mcc-v22-life input[type="checkbox"],.mcc-v22-life input[type="radio"]{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;margin:0 6px 0 0!important;padding:0!important;border:1.5px solid color-mix(in srgb,currentColor 28%,transparent)!important;border-radius:5px!important;background:var(--mcc-host-bg,#fff)!important;box-shadow:none!important;vertical-align:middle!important;position:relative!important;inset:auto!important;transform:none!important}.mcc-v21-tabs input[type="radio"],.mcc-v21-diagnostic input[type="radio"],.mcc-v22-life input[type="radio"]{border-radius:50%!important}.mcc-v21-tabs input[type="checkbox"]:checked,.mcc-v21-diagnostic input[type="checkbox"]:checked,.mcc-v22-life input[type="checkbox"]:checked{background:currentColor!important}.mcc-v21-tabs input[type="checkbox"]:checked:after,.mcc-v21-diagnostic input[type="checkbox"]:checked:after,.mcc-v22-life input[type="checkbox"]:checked:after{content:""!important;display:block!important;width:7px!important;height:4px!important;border-left:2px solid var(--mcc-host-bg,#fff)!important;border-bottom:2px solid var(--mcc-host-bg,#fff)!important;transform:translate(3px,3px) rotate(-45deg)!important}.mcc-v21-tabs input[type="radio"]:checked:after,.mcc-v21-diagnostic input[type="radio"]:checked:after,.mcc-v22-life input[type="radio"]:checked:after{content:""!important;display:block!important;width:8px!important;height:8px!important;margin:3px!important;border-radius:50%!important;background:currentColor!important}


/* 2.2.3 — ticket actions on list + explicit deletion modal */
.dcp-care-ticket,.mcc-ticket-card{position:relative}
.mcc-v223-ticket-menu{position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:8}
.mcc-v223-ticket-menu-btn{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border:1px solid color-mix(in srgb,currentColor 13%,transparent)!important;border-radius:10px!important;background:var(--mcc-host-bg,#fff)!important;color:inherit!important;box-shadow:none!important;cursor:pointer!important}
.mcc-v223-ticket-menu-pop{display:none;position:absolute;right:0;top:40px;min-width:210px;padding:6px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:12px;background:var(--mcc-host-bg,#fff);box-shadow:0 14px 36px rgba(20,31,46,.16);z-index:9999}
.mcc-v223-ticket-menu.is-open .mcc-v223-ticket-menu-pop{display:grid;gap:3px}
.mcc-v223-ticket-menu-pop button{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;padding:9px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:inherit!important;text-align:left!important;font:inherit!important;font-size:11px!important;font-weight:750!important;cursor:pointer!important}
.mcc-v223-ticket-menu-pop button:hover{background:color-mix(in srgb,currentColor 5%,transparent)!important}
.mcc-v223-ticket-menu-pop button.danger{color:#a33143!important}
.mcc-v223-delete-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgba(8,18,30,.48)!important;backdrop-filter:blur(4px)!important}
.mcc-v223-delete-dialog{position:relative;width:min(560px,calc(100vw - 32px));box-sizing:border-box;padding:24px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:18px;background:var(--mcc-host-bg,#fff);color:inherit;box-shadow:0 28px 70px rgba(8,18,30,.28);font:inherit}
.mcc-v223-delete-dialog>span{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;opacity:.58}
.mcc-v223-delete-dialog h3{margin:5px 34px 8px 0;font-size:20px}
.mcc-v223-delete-dialog p{margin:0 0 16px;line-height:1.5;opacity:.72}
.mcc-v223-delete-close{position:absolute!important;right:14px!important;top:12px!important;width:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:9px!important;background:color-mix(in srgb,currentColor 6%,transparent)!important;color:inherit!important;font-size:20px!important;cursor:pointer!important}
.mcc-v223-hub-choice,.mcc-v223-confirm{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:10px 0!important;padding:12px!important;border:1px solid color-mix(in srgb,currentColor 10%,transparent)!important;border-radius:12px!important;background:color-mix(in srgb,currentColor 2%,transparent)!important;font:inherit!important}
.mcc-v223-hub-choice input,.mcc-v223-confirm input{appearance:none!important;-webkit-appearance:none!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important;margin:1px 0 0!important;padding:0!important;border:1.5px solid color-mix(in srgb,currentColor 30%,transparent)!important;border-radius:5px!important;background:var(--mcc-host-bg,#fff)!important;box-shadow:none!important}
.mcc-v223-hub-choice input:checked,.mcc-v223-confirm input:checked{background:#3558dc!important;border-color:#3558dc!important}
.mcc-v223-hub-choice input:checked:after,.mcc-v223-confirm input:checked:after{content:""!important;display:block!important;width:7px!important;height:4px!important;border-left:2px solid #fff!important;border-bottom:2px solid #fff!important;transform:translate(3px,3px) rotate(-45deg)!important}
.mcc-v223-hub-choice span{display:grid;gap:3px}.mcc-v223-hub-choice b{font-size:12px}.mcc-v223-hub-choice small{font-size:10px;line-height:1.45;opacity:.68}
.mcc-v223-confirm{font-size:11px;font-weight:750}
.mcc-v223-delete-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.mcc-v223-delete-actions button{border:1px solid color-mix(in srgb,currentColor 16%,transparent)!important;border-radius:9px!important;background:var(--mcc-host-bg,#fff)!important;color:inherit!important;padding:9px 12px!important;font:inherit!important;font-size:11px!important;font-weight:800!important;cursor:pointer!important}
.mcc-v223-delete-actions button.danger{background:#a33143!important;border-color:#a33143!important;color:#fff!important}.mcc-v223-delete-actions button:disabled{opacity:.4!important;cursor:not-allowed!important}
.mcc-v223-delete-status{margin-top:8px;font-size:10px;font-weight:700;opacity:.72}
@media(max-width:760px){.mcc-v223-ticket-menu{right:8px}.mcc-v223-delete-modal{padding:12px!important}}
