/* Native dashboard panels: a readable hierarchy, preserving WHMCS output/actions. */
html.vs-ui.vs-v2.vs-minimal .vs-home-workspace{margin-top:24px}
html.vs-ui.vs-v2.vs-minimal .vs-home-section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}
html.vs-ui.vs-v2.vs-minimal .vs-home-section-heading span{font-size:12px;color:#627c91}
html.vs-ui.vs-v2.vs-minimal .vs-home-section-heading h2{font-size:19px!important;margin:3px 0 0;color:#213b50;font-weight:600}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start}
html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel{grid-column:span 4;min-width:0;margin:0;padding:0!important;border:1px solid #dfe8ef;border-radius:17px;background:#fff;box-shadow:0 5px 22px #153d5b04;overflow:visible}
html.vs-ui.vs-v2.vs-minimal .client-home-cards :is(.vs-home-panel--services,.vs-home-panel--tickets){grid-column:span 6;min-height:230px}
html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel--full{grid-column:1/-1}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:87px;padding:18px 20px;border-bottom:1px solid #e8eef4;border-radius:17px 17px 0 0;background:#fafcfe}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-panel-header{background:linear-gradient(115deg,#edf6fc,#fff)}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--tickets .vs-home-panel-header{background:linear-gradient(115deg,#fff3ec,#fff)}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-heading{display:flex;align-items:center;gap:11px;min-width:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #d7e7f2;border-radius:10px;background:#fff;color:#ff653f}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-icon svg{width:21px;height:21px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--tickets .vs-home-panel-icon{border-color:#f4dccc}
html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel h3{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:15px!important;font-weight:600!important;line-height:1.9;margin:0;color:#213b50}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-heading p{margin:2px 0 0;font-size:12px;color:#617b90;line-height:1.8}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-action{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:7px;min-height:40px;padding:7px 10px;border:1px solid #d6e5f0;border-radius:9px;background:#fff;color:#005a9c;font-size:12px;font-weight:500;line-height:1.8;text-decoration:none!important}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-action svg{width:15px;height:15px;flex:0 0 15px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-action:hover{background:#edf6fc;border-color:#aacde4;color:#005a9c}
html.vs-ui.vs-v2.vs-minimal .vs-home-body{padding:18px 20px;font-size:14px;line-height:2;color:#435e73;min-width:0;overflow-wrap:anywhere}
html.vs-ui.vs-v2.vs-minimal .vs-home-body>p{margin:0 0 10px}
html.vs-ui.vs-v2.vs-minimal .vs-home-body>p:last-child{margin-bottom:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--tickets:not(:has(.vs-home-list)) .vs-home-body{padding:25px 22px;min-height:125px;color:#5e778a;background:linear-gradient(135deg,#fff,#fafcfd);border-radius:0 0 17px 17px}
html.vs-ui.vs-v2.vs-minimal .vs-home-list{list-style:none;padding:16px 18px;margin:0;display:grid;gap:9px;min-width:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-list>li{padding:0;margin:0;list-style:none;min-width:0}
html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-list .vs-home-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px!important;border:1px solid #e0eaf2;border-radius:11px;background:#fbfdff;box-shadow:none!important;color:#294a63;font-size:14px;line-height:1.9;min-height:58px;text-decoration:none}
html.vs-ui.vs-v2.vs-minimal .vs-home-row-label{min-width:0;overflow-wrap:anywhere}
html.vs-ui.vs-v2.vs-minimal .vs-home-row-label i{font-size:14px;margin-inline-end:6px;color:#005a9c}
html.vs-ui.vs-v2.vs-minimal .vs-home-list a.vs-home-row:hover{border-color:#bbd7e9;background:#f0f7fc;color:#005a9c}
html.vs-ui.vs-v2.vs-minimal .vs-home-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:24px;padding:2px 8px;border:1px solid #d8e6f0;border-radius:7px;background:#f1f7fc;color:#335e7c;font-size:12px;line-height:1.6;white-space:nowrap;font-weight:500}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-footer{padding:12px 20px;border-top:1px solid #e7eef4;background:#fcfdff;border-radius:0 0 17px 17px;font-size:13px;color:#617b90;line-height:1.9}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-footer a{color:#005a9c;font-size:13px}
/* Style native service controls, without rebuilding SSO/dropdown markup. */
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .btn{font-size:13px;min-height:40px;padding:8px 11px;border-radius:8px!important;white-space:normal;line-height:1.7}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .btn-group{display:inline-flex;align-items:stretch;max-width:100%;vertical-align:middle;flex-wrap:nowrap}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .btn-group .btn{white-space:nowrap}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .dropdown-menu{border:1px solid #dce7f0;border-radius:10px;box-shadow:0 8px 24px #173a5814;font-size:13px;z-index:20}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .dropdown-menu a{min-height:40px;line-height:1.8;padding:9px 14px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .label{display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1.7;min-height:25px;padding:3px 8px;border-radius:7px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--invoices .vs-home-body{background:linear-gradient(145deg,#fff,#fff9f5);border-radius:0 0 17px 17px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--domain :is(.input-group,.input-group-btn){display:flex;min-width:0;align-items:stretch}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--domain .input-group{flex-wrap:wrap;gap:8px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--domain .input-group>.form-control{flex:1 1 100%;width:100%;min-width:0;border-radius:8px!important;direction:ltr;text-align:left;min-height:44px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--domain .input-group-btn{width:100%;gap:8px;white-space:normal}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--domain .input-group-btn .btn{flex:1;margin:0!important;min-height:42px;border-radius:8px!important}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--domain .btn-success{background:#005a9c;border-color:#005a9c;color:#fff}
html.vs-ui.vs-v2.vs-minimal .vs-home-workspace :is(a,button,input):focus-visible{outline:2px solid #005a9c;outline-offset:3px}
@media(max-width:1250px){html.vs-ui.vs-v2.vs-minimal .vs-home-panel-header{align-items:flex-start;flex-wrap:wrap;gap:10px;padding:16px}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-action{min-height:40px}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-grid{gap:14px}html.vs-ui.vs-v2.vs-minimal .vs-home-body{padding:16px}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-footer{padding:12px 16px}}
@media(max-width:1050px){html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel{grid-column:span 6}html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel--full{grid-column:1/-1}}
@media(max-width:650px){html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel{grid-column:1/-1;min-height:0}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-header{min-height:0}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-action{min-height:44px}html.vs-ui.vs-v2.vs-minimal .vs-home-section-heading h2{font-size:17px!important}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-heading p{font-size:12px}html.vs-ui.vs-v2.vs-minimal .vs-home-panel-icon{width:32px;height:32px;flex-basis:32px}html.vs-ui.vs-v2.vs-minimal .vs-home-panel .btn{min-height:44px}html.vs-ui.vs-v2.vs-minimal .vs-home-list{padding:12px}html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-list .vs-home-row{padding:12px!important;font-size:14px}}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-body>.row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-body>.row>[class*=col-]{flex:1 1 190px;width:auto;min-width:0;max-width:100%;padding:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .btn-default{background:#fff;border-color:#dbe7f0;color:#31546d}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel .btn-default:is(:hover,:focus){background:#f1f7fc;border-color:#bdd7e9;color:#005a9c}
/* 3.5.2: align row bottoms and keep service controls at the physical left in RTL. */
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-grid{align-items:stretch}
html.vs-ui.vs-v2.vs-minimal .client-home-cards .vs-home-panel{display:flex;flex-direction:column;align-self:stretch;height:100%}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-header{min-height:96px;align-items:center;flex-shrink:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-body{flex:1 0 auto}
html.vs-ui.vs-v2.vs-minimal .vs-home-list{align-content:start}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel-footer{margin-top:auto;flex-shrink:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--tickets:not(:has(.vs-home-list)) .vs-home-body{border-radius:0 0 17px 17px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-row-label{display:block;width:100%;flex:1;min-width:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-service-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px;width:100%;min-width:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-service-line>:not(.vs-home-service-actions){min-width:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-service-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;max-width:100%;min-width:0;margin-inline-start:auto;margin-inline-end:0;flex:0 0 auto}
html.vs-ui.vs-v2.vs-minimal .vs-home-service-actions>.btn-group{margin:0!important;float:none!important}
html.vs-ui.vs-v2.vs-minimal .vs-home-service-actions>.btn{margin:0!important;float:none!important}
html.vs-ui.vs-v2.vs-minimal .vs-home-service-actions .btn{min-height:40px}
html.vs-ui.vs-v2.vs-minimal .vs-home-panel--invoices .vs-home-body{background:#fff}
html.vs-ui.vs-v2.vs-minimal .vs-home-invoice-note{padding:16px 18px;border:1px solid #f0dfd3;border-inline-start:3px solid #ff653f;border-radius:11px;background:linear-gradient(130deg,#fffaf5,#fff);color:#4b6172;font-size:14px;line-height:2.1}
html.vs-ui.vs-v2.vs-minimal .vs-home-invoice-note>p{margin:0}
html.vs-ui.vs-v2.vs-minimal .vs-home-invoice-note>p+p{margin-top:8px}
@media(max-width:650px){html.vs-ui.vs-v2.vs-minimal .vs-home-panel-header{min-height:0}html.vs-ui.vs-v2.vs-minimal .vs-home-panel--services .vs-home-service-actions{width:100%;margin-inline-start:0;justify-content:flex-end}html.vs-ui.vs-v2.vs-minimal .vs-home-service-actions .btn{min-height:44px}html.vs-ui.vs-v2.vs-minimal .vs-home-invoice-note{padding:14px;font-size:14px}}
