/* Support-cart-only UI. No changes to existing global components. */
#support-cart-launcher{position:fixed;right:24px;bottom:22px;z-index:6;background:#9c007b;color:#fff;border:0;border-radius:40px;padding:15px 23px;box-shadow:0 8px 30px #54214230;font:600 13px Arial;cursor:pointer}
#support-cart-dialog{border:1px solid #e3dce2;border-radius:22px;padding:0;width:min(760px,calc(100% - 28px));max-height:85dvh;color:#232128;background:#fffdfd;box-shadow:0 24px 90px #23212840}
#support-cart-dialog::backdrop{background:#23212880}
#support-cart-dialog .sc-head{position:sticky;top:0;z-index:1;background:#fffdfd;display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid #e8e0e6;gap:16px}
#support-cart-dialog h2{font-size:26px;letter-spacing:-.7px;margin:0}
#support-cart-dialog .sc-close{border:1px solid #dacbd7;background:white;border-radius:30px;padding:10px 14px;cursor:pointer;font-size:12px}
#support-cart-dialog .sc-body{padding:0 26px 25px}
#support-cart-dialog .sc-line{padding:23px 0;border-bottom:1px solid #e8e0e6}
#support-cart-dialog .sc-line h3{font-size:15px;line-height:1.45;margin:0 0 7px;font-weight:600}
#support-cart-dialog .sc-unit,#support-cart-dialog .sc-note{font-size:12px;color:#706b74;line-height:1.6;margin:5px 0}
#support-cart-dialog .sc-line-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px}
#support-cart-dialog .sc-qty{display:inline-flex;align-items:center;border:1px solid #dacbd7;border-radius:25px;overflow:hidden}
#support-cart-dialog .sc-qty button{width:34px;height:34px;background:#f0eaf1;border:0;cursor:pointer;color:#9c007b;font-size:17px}
#support-cart-dialog .sc-qty span{min-width:30px;text-align:center;font-size:13px}
#support-cart-dialog .sc-remove{border:0;background:none;color:#786173;text-decoration:underline;cursor:pointer;font-size:12px;padding:7px}
#support-cart-dialog .sc-line-total{margin-left:auto;font-size:15px;color:#9c007b;white-space:nowrap}
#support-cart-dialog .sc-total{display:flex;justify-content:space-between;gap:20px;font-size:21px;margin:23px 0 6px}
#support-cart-dialog .sc-issues{padding:14px 18px;border-radius:12px;background:#fff2df;color:#704d21;font-size:12px;line-height:1.6}
#support-cart-dialog .sc-checkout{width:100%;border:0;border-radius:30px;padding:16px;margin-top:17px;background:#e8e0e6;color:#71626d;font-size:13px;font-weight:600;cursor:not-allowed}
#support-cart-dialog .sc-empty{padding:30px 0;color:#706b74;line-height:1.7;font-size:14px}
#support-cart-dialog .sc-help{font-size:12px;color:#9c007b;display:inline-block;margin-top:16px;text-decoration:underline}
#support-cart-status{position:fixed;bottom:80px;right:24px;z-index:7;max-width:300px;background:#fffdfd;border:1px solid #dacbd7;border-radius:12px;padding:12px 16px;color:#786173;font-size:12px;box-shadow:0 6px 20px #54214214}
#support-cart-status:empty{display:none}
#workplaces .sc-plan-actions,#kkt .sc-plan-actions{margin-top:auto;display:grid;gap:12px}
#workplaces .sc-discuss,#kkt .sc-discuss{font-size:11px;color:#786173;text-align:center;text-decoration:underline}
#oneoff-catalog .oc-price{color:#000}
#oneoff-catalog .oc-actions{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:12px;width:260px;max-width:100%}
#oneoff-catalog .oc-actions .oc-price{min-width:0;text-align:right}
#oneoff-catalog .oc-actions .sc-add{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:10px 12px;border:1px solid #000;border-radius:10px;background:#000;color:#fff;font-size:14px;font-weight:600;line-height:1.25;white-space:nowrap;cursor:pointer}
#oneoff-catalog .oc-actions .sc-add:not(:disabled):hover{background:#333;border-color:#333}
#oneoff-catalog .oc-actions .sc-add:disabled{background:#555;border-color:#555;color:#fff;opacity:.7;cursor:not-allowed}
#oneoff-catalog .oc-actions .sc-add:focus-visible{outline:3px solid #000;outline-offset:3px}
#support-cart-dialog button:focus-visible,#support-cart-launcher:focus-visible,#oneoff-catalog .sc-add:focus-visible{outline:3px solid #b8208e;outline-offset:3px}
@media(max-width:600px){#support-cart-launcher{right:14px;bottom:14px;padding:14px 18px}#support-cart-dialog .sc-head{padding:18px}#support-cart-dialog .sc-body{padding:0 18px 20px}#support-cart-dialog h2{font-size:23px}#oneoff-catalog .sc-add{margin-left:0}#support-cart-status{right:14px;bottom:72px}}

#support-cart-dialog .sc-inclusions{margin:11px 0;padding-left:18px;font-size:12px;color:#706b74;line-height:1.65}
#support-cart-dialog .sc-inclusions li{margin:5px 0}

#support-cart-dialog .sc-scope-label{font-size:11px;font-weight:600;color:#786173;margin:13px 0 6px}
#support-cart-dialog .sc-invoice-form{display:grid;gap:8px;margin-top:20px;padding:18px;background:#faf6f9;border:1px solid #e8dfe6;border-radius:14px}
#support-cart-dialog .sc-invoice-form h3{margin:0 0 3px;font-size:16px}
#support-cart-dialog .sc-invoice-form label{font-size:12px;font-weight:600;color:#4f414b;margin-top:7px}
#support-cart-dialog .sc-invoice-form input{width:100%;box-sizing:border-box;background:#fff;border:1px solid #d5c5d1;border-radius:8px;padding:12px;font:14px Arial,sans-serif;color:#232128}
#support-cart-dialog .sc-invoice-form input:focus-visible{outline:3px solid #b8208e;outline-offset:2px}
#support-cart-dialog .sc-invoice-submit{width:100%;border:0;border-radius:30px;padding:15px;margin-top:8px;background:#9c007b;color:white;font-size:13px;font-weight:600;cursor:pointer}
#support-cart-dialog .sc-invoice-submit:disabled{background:#e8e0e6;color:#71626d;cursor:not-allowed}
#support-cart-dialog .sc-invoice-error{margin:2px 0;color:#a3222c;font-size:12px}
/* Company+ has no cart action: reserve the same secondary-link space as adjacent plans. */
@media(min-width:601px){#workplaces .price-card:last-child > .btn{margin-bottom:25px;height:42px;box-sizing:border-box}}

#support-cart-dialog .sc-scope{border:0;padding:0}
#support-cart-dialog .sc-scope>summary{cursor:pointer;line-height:1.6}

/* Footer cart is in normal flow so it cannot cover contacts on small screens. */
.sc-footer-cart{display:none}
@media(max-width:600px){
 #support-cart-launcher{bottom:max(14px,env(safe-area-inset-bottom))}
 #support-cart-launcher.sc-footer-in-view{visibility:hidden;pointer-events:none}
 footer.site-footer .sc-footer-cart:not([hidden]){display:flex;justify-content:flex-end;margin:20px 0}
 footer.site-footer .sc-footer-cart-button{min-height:48px;padding:12px 18px;border:1px solid #bcbcbc;border-radius:40px;background:#f1f1f1;color:#000;font:600 13px Arial,sans-serif;cursor:pointer}
 footer.site-footer .sc-footer-cart-button:focus-visible{outline:3px solid #b8208e;outline-offset:3px}
}
