.cst-rtl{direction:rtl;text-align:right}.cst-wrap{max-width:1180px;margin:24px auto;font-family:inherit}.cst-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;margin:14px 0;box-shadow:0 10px 28px rgba(17,24,39,.06)}.cst-form label{display:block;margin:12px 0;font-weight:600}.cst-form input,.cst-form select,.cst-form textarea{width:100%;max-width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px;margin-top:6px}.cst-inline input{width:auto}.cst-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0d6efd;color:#fff!important;border:0;border-radius:10px;padding:10px 16px;text-decoration:none;cursor:pointer}.cst-table{width:100%;border-collapse:collapse}.cst-table th,.cst-table td{border-bottom:1px solid #e5e7eb;padding:10px}.cst-dashboard-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.cst-stat{background:linear-gradient(135deg,#0d6efd,#00c2ff);color:#fff;border-radius:16px;padding:16px}.cst-stat strong{display:block;font-size:26px}.cst-layout{display:grid;grid-template-columns:360px 1fr;gap:18px}.cst-thread{display:flex;flex-direction:column;gap:12px}.cst-message{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px}.cst-message>div{display:flex;justify-content:space-between;color:#64748b}.cst-private{background:#fff7ed;border-color:#fed7aa}.cst-agent,.cst-manager,.cst-ai{background:#eef6ff}.cst-attachment{display:inline-block;margin:6px 0 0 6px;border:1px solid #d1d5db;border-radius:8px;padding:4px 8px;text-decoration:none}.cst-support-topbar{position:fixed;top:0;right:0;left:0;z-index:99999;background:#111827;color:#fff;display:flex;gap:16px;align-items:center;justify-content:center;padding:9px 14px;direction:rtl;box-shadow:0 8px 28px rgba(0,0,0,.22)}.cst-support-topbar a{color:#fff;text-decoration:none}.cst-support-topbar .cst-btn{padding:7px 12px;background:#0d6efd}@media(max-width:800px){.cst-layout{grid-template-columns:1fr}.cst-support-topbar{flex-wrap:wrap;font-size:12px}.cst-wrap{margin-top:72px}}
.cst-support-topbar-bottom{top:auto;bottom:0}.cst-agent-status{display:inline-flex;align-items:center;gap:6px;margin:0}.cst-agent-status select{width:auto!important;min-width:110px;border-radius:8px;border:1px solid rgba(255,255,255,.25);padding:5px 8px;background:#fff;color:#111827}.cst-presence-card{display:flex;gap:12px;align-items:center;justify-content:flex-start}.cst-rating-box select{max-width:240px}.cst-notice{border-color:#10b981;background:#ecfdf5}.cst-support-topbar span{white-space:nowrap}@media(max-width:800px){.cst-support-topbar{justify-content:flex-start;overflow-x:auto}.cst-support-topbar .cst-topbar-status{order:10}}
.cst-form .cst-entitlement-field[hidden]{display:none!important}

.cst-account-credit{overflow-x:auto}.cst-account-credit .cst-table{min-width:680px}.cst-preflight textarea{width:100%;display:block}.cst-preflight .cst-preflight-answer{line-height:2}

/* Staff desk inside the WooCommerce My Account content area. */
.woocommerce-MyAccount-content .cst-support-panel{max-width:100%;margin:0;min-width:0}
.woocommerce-MyAccount-content .cst-support-panel .cst-layout{grid-template-columns:minmax(215px,35%) minmax(0,1fr);gap:13px}
.woocommerce-MyAccount-content .cst-support-panel .cst-table{min-width:490px}
.woocommerce-MyAccount-content .cst-support-panel .cst-card{min-width:0;overflow-x:auto}
.woocommerce-MyAccount-content .cst-support-panel .cst-stat{background:linear-gradient(120deg,#6555c9,#169ac7)}
@media(max-width:1000px){.woocommerce-MyAccount-content .cst-support-panel .cst-layout{grid-template-columns:1fr}}

/* Dedicated renewal options inside the customer's WooCommerce order. */
.cst-order-license-support{margin:22px 0;direction:rtl}
.cst-order-license-support .cst-license-support{background:linear-gradient(135deg,#f8fcff,#ffffff);border:1px solid #d3e6f7!important;border-radius:14px!important;padding:18px!important;box-shadow:0 5px 18px rgba(23,85,142,.055)}
.cst-order-license-support .cst-license-support>strong{color:#174d82}
.cst-order-license-support .cst-direct-support-renewal .button{border:1px solid #2475cd;background:#2475cd;color:#fff;border-radius:9px;padding:8px 14px;font-weight:600;transition:filter .18s ease}
.cst-order-license-support .cst-direct-support-renewal .button:hover{filter:brightness(.91);color:#fff}
@media(max-width:640px){.cst-order-license-support .cst-license-support{padding:14px!important}.cst-order-license-support .cst-direct-support-renewal{width:100%}.cst-order-license-support .cst-direct-support-renewal .button{width:100%;white-space:normal}}
