/* Non-visual release identifier for verifying the delivered stylesheet. */
:root { --wc-revive-build-id: "1.0.2"; }

/* WebCare360 native WHMCS theme. Palette D is copied unchanged in design-tokens.css.
   Sections below own their geometry; parent business logic and Bootstrap behavior remain native. */
@font-face{font-family:Inter;src:url('../fonts/inter-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Montserrat;src:url('../fonts/montserrat-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--font-body:Inter,sans-serif;--font-display:Montserrat,sans-serif;--wc-content-width:1320px;--wc-gutter:24px;--wc-control-height:44px}
body.wc-whmcs{background:var(--color-bg-page);color:var(--color-text-secondary);font:400 15px/1.65 var(--font-body)}
.wc-whmcs .container{max-width:var(--wc-content-width);padding-inline:var(--wc-gutter)}
.wc-whmcs h1,.wc-whmcs h2{font-family:var(--font-display);font-weight:650;line-height:1.25;color:var(--color-text-primary)}
.wc-whmcs h1{font-size:32px}.wc-whmcs h2{font-size:24px}
.wc-whmcs h3,.wc-whmcs h4,.wc-whmcs h5,.wc-whmcs h6,.wc-whmcs strong{color:var(--color-text-primary)}
.wc-whmcs a{color:var(--color-link);text-decoration:none}.wc-whmcs a:hover{color:var(--color-link-hover)}
.wc-whmcs :focus-visible{outline:2px solid var(--color-focus);outline-offset:4px}
/* Parent text-muted utility is !important. Keep metadata legible at small sizes. */
.wc-whmcs .text-muted{color:var(--color-text-secondary)!important}
.wc-whmcs .primary-bg-color,.wc-whmcs #main-body,.wc-whmcs #footer{background:var(--color-bg-page)}
.wc-whmcs .primary-content,.wc-whmcs .row>[class*=col-]{min-width:0}

/* One compact utility row and one primary row. No legacy header search or 30px More-menu layout. */
.wc-whmcs #header{background:var(--color-bg-surface);border-bottom:1px solid var(--color-border);border-radius:0}
.wc-utility{background:var(--color-bg-page);border-bottom:1px solid var(--color-border)}
.wc-whmcs .wc-utility .container{display:flex;justify-content:flex-end;align-items:center;gap:16px;min-height:38px;padding-block:3px}
.wc-utility-start,.wc-utility-account{display:flex;align-items:center;gap:12px;min-width:0}
.wc-whmcs .wc-utility .btn{min-height:32px;padding:4px 6px;font-size:12px;line-height:20px;color:var(--color-text-secondary);background:transparent;border-color:transparent}
.wc-whmcs .wc-utility .btn:hover{color:var(--color-text-primary)}
.wc-whmcs .wc-account-nav{flex-direction:row;min-width:0}
.wc-account-nav>li{min-width:0;max-width:100%}
.wc-whmcs .wc-account-nav>li>a{display:flex;align-items:center;gap:8px;padding:4px 0;color:var(--color-text-primary);font-size:12px;line-height:20px}
.wc-client-name{min-width:0;max-width:300px;overflow-wrap:anywhere}
.wc-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border:1px solid var(--color-border);border-radius:50%;color:var(--color-text-accent);background:var(--color-bg-surface-2)}
.wc-whmcs #header .wc-main-bar{padding:0}
.wc-whmcs #header .wc-main-row{display:flex;align-items:center;gap:28px;min-height:78px}
.wc-brand{flex:0 0 220px;display:block}.wc-brand img{display:block;width:220px;max-width:100%;height:auto}
.wc-whmcs #mainNavbar{min-width:0}
.wc-whmcs #wc-primary-nav{display:flex;flex:1;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.wc-whmcs #wc-primary-nav>li>a{display:flex;align-items:center;gap:6px;position:relative;min-height:52px;padding:14px 0;color:var(--color-text-primary);font-size:13px;line-height:22px;font-weight:550;white-space:nowrap}
.wc-whmcs #wc-primary-nav>li>a:before{content:'';position:absolute;height:2px;bottom:3px;left:0;right:0;background:transparent}
.wc-whmcs #wc-primary-nav>li>a:hover:before,.wc-whmcs #wc-primary-nav>li.show>a:before,.wc-whmcs #wc-primary-nav>li[data-current=true]>a:before{background:var(--color-primary)}
.wc-whmcs .wc-header-ticket>li{margin-left:24px}
.wc-whmcs .wc-header-ticket>li>a{display:flex;align-items:center;justify-content:center;font-size:13px;line-height:22px;min-height:44px;padding:10px 18px;border:1px solid var(--color-primary);border-radius:var(--radius-action);background:var(--color-primary);color:var(--color-on-primary);font-weight:600}
.wc-whmcs .wc-header-ticket>li>a:before{content:none}
.wc-whmcs .wc-header-ticket>li>a:hover{background:var(--color-primary-hover)}
.wc-whmcs .dropdown-toggle:after{margin-left:3px;vertical-align:middle}
.wc-whmcs .wc-nav-toggle{margin-left:auto;padding:10px 14px;background:var(--color-bg-surface-2);color:var(--color-text-primary);border:1px solid var(--color-border)}

/* Menus are readable before interaction. Existing native disabled states stay disabled. */
.wc-whmcs #header .dropdown-menu,.wc-whmcs .dropdown-menu{background:var(--color-bg-surface-2);border:1px solid var(--color-border);border-radius:var(--radius-data);padding:8px;min-width:230px;max-width:calc(100vw - 40px);box-shadow:var(--shadow-elevated)}
.wc-whmcs #header li.dropdown-item{padding:0}
.wc-whmcs #header a.dropdown-item,.wc-whmcs .dropdown-item{color:var(--color-text-primary);font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;opacity:1}
.wc-whmcs #header a.dropdown-item{display:block;padding:11px 12px}
.wc-whmcs #header .dropdown-item:hover,.wc-whmcs #header .dropdown-item:focus,.wc-whmcs .dropdown-item:hover,.wc-whmcs .dropdown-item:focus{background:var(--color-primary-tint);color:var(--color-text-primary)}
.wc-whmcs .dropdown-divider{border-color:var(--color-border);margin:7px 4px}
.wc-whmcs .dropdown-item.disabled,.wc-whmcs .dropdown-item:disabled{color:var(--color-text-muted);pointer-events:none}
.wc-whmcs .popover{background:var(--color-bg-surface-2);border-color:var(--color-border);max-width:calc(100vw - 32px)}
.wc-whmcs .popover-body,.wc-whmcs .client-alerts li.none{color:var(--color-text-secondary)}
.wc-whmcs .client-alerts a{background:var(--color-bg-surface-2);color:var(--color-text-primary);overflow-wrap:anywhere}

/* Shared content, cards and sidebar. */
.wc-whmcs .master-breadcrumb{background:var(--color-bg-page);border-bottom:1px solid var(--color-border)}
.wc-whmcs .breadcrumb{background:none;padding:14px 0;margin:0;font-size:13px}
.wc-whmcs #main-body{padding:36px 0 64px;min-height:40vh}
.wc-whmcs .card,.wc-whmcs .panel,.wc-whmcs .modal-content{background:var(--color-bg-surface);color:var(--color-text-secondary);border:1px solid var(--color-border);border-radius:var(--radius-data);box-shadow:none;overflow-wrap:anywhere}
.wc-whmcs .card{margin-bottom:20px}
.wc-whmcs .card-header{padding:20px 24px;background:var(--color-bg-surface);border-bottom:1px solid var(--color-border)}
.wc-whmcs .card-title{font-size:16px;line-height:1.5;font-weight:600;margin-bottom:16px}
.wc-whmcs .card-body{padding:24px}
.wc-whmcs .card-footer{padding:16px 24px;background:var(--color-bg-surface);border-color:var(--color-border)}
.wc-whmcs .card-footer:empty{display:none}
.wc-whmcs .list-group-item{padding:16px 20px;background:var(--color-bg-surface);color:var(--color-text-secondary);border-color:var(--color-border);line-height:1.65;overflow-wrap:anywhere}
.wc-whmcs a.list-group-item{color:var(--color-text-primary)}
.wc-whmcs .list-group-item-action:hover{background:var(--color-bg-surface-2);color:var(--color-text-primary)}
.wc-whmcs .list-group-item.active{background:var(--color-primary-tint);border-color:var(--color-primary);color:var(--color-text-primary)}
.wc-whmcs .sidebar .card-body{padding:20px;line-height:1.75}
.wc-whmcs .sidebar .card-header,.wc-whmcs .sidebar .card-footer{padding:16px 20px}
.wc-whmcs .sidebar-menu-item-wrapper{min-width:0;gap:10px}.wc-whmcs .sidebar-menu-item-label{min-width:0;overflow-wrap:anywhere}
.wc-whmcs .wc-avatar-profile{display:flex;width:40px;height:40px;margin-bottom:14px}
.wc-whmcs .wc-profile-actions{padding:0 20px 16px;font-size:14px}
.wc-whmcs .wc-dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.wc-panel-wide{grid-column:1 / -1}.wc-panel-slot{min-width:0;align-self:start}
.wc-whmcs .wc-dashboard-panels .card{margin:0;height:auto;min-height:0}
.wc-panel-action{float:right;margin:0 0 8px 12px;display:flex;justify-content:flex-end}
/* Only these two border declarations override parent !important rules. */
.wc-whmcs .client-home-cards .list-group{max-height:none;overflow:visible;border-top-color:var(--color-border)!important;border-bottom-color:var(--color-border)!important}
.wc-whmcs .client-home-cards .list-group .list-group-item{padding:16px 20px;border-bottom:1px solid var(--color-border);color:var(--color-text-secondary)}
.wc-whmcs .client-home-cards small{color:var(--color-text-secondary);font-size:12px}

/* Metrics: one number/label group, a fixed icon slot, and a separated accent rule. */
.wc-whmcs .tiles{border:0;background:none}
.wc-whmcs .tiles>.row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.wc-whmcs .tiles>.row>div{max-width:none;width:auto}
.wc-whmcs .tiles>.row>div>.tile{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:auto auto auto;column-gap:10px;row-gap:6px;align-content:center;min-height:148px;padding:20px;background:var(--color-bg-surface);border:1px solid var(--color-border);border-radius:var(--radius-data)}
.wc-whmcs .tiles .tile .stat{grid-column:1;grid-row:1;font:600 30px/1.2 var(--font-display);color:var(--color-text-primary)}
.wc-whmcs .tiles .tile .title{grid-column:1 / -1;grid-row:2;font-size:13px;line-height:1.5;font-weight:500;text-transform:none;color:var(--color-text-secondary);white-space:normal}
.wc-whmcs .tiles .tile>i{position:static;grid-column:2;grid-row:1;align-self:center;font-size:22px;color:var(--color-text-accent);opacity:1;transform:none}
.wc-whmcs .tiles .tile .highlight{position:static;grid-row:3;grid-column:1 / -1;display:block;height:2px;width:32px;margin-top:10px;background:var(--color-primary)}
.wc-whmcs .tiles .tile:hover{background:var(--color-bg-surface-2)}
.wc-whmcs .tiles .tile:hover i{transform:none}

/* Buttons, inputs and tabs: one control rhythm; underline indicators sit below text. */
.wc-whmcs .btn{min-height:var(--wc-control-height);border-radius:var(--radius-action);font:550 14px/22px var(--font-body);padding:10px 18px;white-space:normal}
.wc-whmcs .btn-primary,.wc-whmcs .btn-success{color:var(--color-on-primary);background:var(--color-primary);border-color:var(--color-primary)}
.wc-whmcs .btn-primary:hover,.wc-whmcs .btn-success:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}
.wc-whmcs .btn-default,.wc-whmcs .btn-outline-primary{background:var(--color-bg-surface-2);border-color:var(--color-border);color:var(--color-text-primary)}
.wc-whmcs .btn-default:hover,.wc-whmcs .btn-outline-primary:hover{background:var(--color-primary-tint);border-color:var(--color-text-accent)}
.wc-whmcs .btn-sm,.wc-whmcs .btn-xs,.wc-whmcs .card .btn-xs{min-height:34px;font-size:13px;line-height:20px;padding:6px 12px}
.wc-whmcs .btn:disabled,.wc-whmcs .btn.disabled{opacity:.55}
.wc-whmcs .form-control,.wc-whmcs .custom-select,.wc-whmcs .custom-file-label{background:var(--color-bg-page);color:var(--color-text-primary);border:1px solid var(--color-border);border-radius:var(--radius-action);min-height:var(--wc-control-height);font:400 15px/1.5 var(--font-body)}
.wc-whmcs .form-control::placeholder{color:var(--color-text-muted)}
/* Explicit state paint beats native .form-control:focus even if its bundle is
   emitted later. WHMCS Twenty-One uses Bootstrap 4 literals, not --bs-* roles.
   Keep validation imagery, readonly/disabled behavior and field geometry native. */
.wc-whmcs .form-control:is(:hover,:focus,:focus-visible,:active):not(:disabled):not([readonly]),
.wc-whmcs #registration .form-control:not(:disabled):not([readonly]),
.wc-whmcs #order-standard_cart .form-control:is(:hover,:focus,:focus-visible,:active):not(:disabled):not([readonly]){
  background-color:var(--color-bg-page);
  color:var(--color-text-primary);
  -webkit-text-fill-color:var(--color-text-primary);
  caret-color:var(--color-text-primary);
}
.wc-whmcs .form-control:is(:focus,:focus-visible),
.wc-whmcs #registration .form-control:is(:focus,:focus-visible),
.wc-whmcs #order-standard_cart .form-control:is(:focus,:focus-visible){
  border-color:var(--color-focus);
  box-shadow:0 0 0 3px var(--color-primary-tint);
  outline:2px solid var(--color-focus);
  outline-offset:2px;
}
.wc-whmcs .input-group:focus-within .input-group-text{
  background-color:var(--color-bg-surface-2);
  color:var(--color-text-primary);
  border-color:var(--color-focus);
}
.wc-whmcs .form-group{margin-bottom:22px}.wc-whmcs label{color:var(--color-text-primary);font-size:14px;line-height:1.5}
.wc-whmcs .input-group-text{background:var(--color-bg-surface-2);color:var(--color-text-secondary);border-color:var(--color-border)}
.wc-whmcs input[type=checkbox],.wc-whmcs input[type=radio]{accent-color:var(--color-primary)}
.wc-whmcs .nav-tabs{border-bottom:1px solid var(--color-border);gap:8px}
.wc-whmcs .nav-tabs .nav-link{padding:14px 16px 18px;line-height:1.5;color:var(--color-text-secondary);border:0;border-bottom:2px solid transparent;background:transparent}
.wc-whmcs .nav-tabs .nav-link.active,.wc-whmcs .nav-tabs .nav-link:hover{color:var(--color-text-primary);border-bottom-color:var(--color-primary)}
.wc-whmcs .badge{background:var(--color-bg-surface-2);color:var(--color-text-primary);border:1px solid var(--color-border);white-space:normal}
.wc-whmcs .alert{padding:18px 20px;background:var(--color-bg-surface-2);border:1px solid var(--color-text-accent);color:var(--color-text-primary);line-height:1.65}
/* WHMCS status/urgency and destructive-button colors retain their native semantics.
   Status labels and icons remain present, so color is never the only meaning. */

/* Table paint and local overflow; native sorting/filtering/pagination are untouched. */
.wc-whmcs .table{color:var(--color-text-secondary)}
.wc-whmcs .table th,.wc-whmcs .table td{border-color:var(--color-border);line-height:1.65}
.wc-whmcs .table td{overflow-wrap:anywhere}
.wc-whmcs .table-responsive,.wc-whmcs .table-container{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.wc-whmcs .table-list>tbody>tr>td{background:var(--color-bg-surface);color:var(--color-text-secondary)}
.wc-whmcs .table-list>tbody>tr:hover>td{background:var(--color-bg-surface-2)}
.wc-whmcs .dataTables_wrapper table.table-list{border-color:var(--color-border)}
.wc-whmcs .dataTables_wrapper table.table-list thead th,.wc-whmcs .dataTables_wrapper table.table-list thead th.sorting_asc,.wc-whmcs .dataTables_wrapper table.table-list thead th.sorting_desc{padding:14px 10px;background:var(--color-bg-surface-2);color:var(--color-text-primary);border-color:var(--color-border);font-weight:550}
.wc-whmcs .dataTables_wrapper .dataTables_info{color:var(--color-text-secondary);background:transparent}
.wc-whmcs .dataTables_wrapper .dataTables_filter label .form-control{background:var(--color-bg-page);color:var(--color-text-primary);border-color:var(--color-border)}
.wc-whmcs .page-link,.wc-whmcs .page-item.disabled .page-link{background:var(--color-bg-surface);color:var(--color-text-secondary);border-color:var(--color-border)}
.wc-whmcs .page-item.active .page-link{background:var(--color-primary);color:var(--color-on-primary);border-color:var(--color-primary)}
.wc-whmcs .page-link:hover{background:var(--color-bg-surface-2);color:var(--color-text-primary)}

/* Native Markdown reply editor: retain its toolbar, preview and submit behavior.
   Three targeted !important paint overrides are necessary because Twenty-One marks these declarations !important. */
.wc-whmcs .md-editor{border-color:var(--color-border);background:var(--color-bg-page)}
.wc-whmcs .md-editor>.md-header,.wc-whmcs .md-editor>.md-footer,.wc-whmcs .md-editor>.btn-toolbar{background:var(--color-bg-surface-2)!important;border-color:var(--color-border);color:var(--color-text-secondary);padding:8px}
.wc-whmcs .md-editor>textarea.markdown-editor,.wc-whmcs .md-editor>.md-preview{background:var(--color-bg-page)!important;color:var(--color-text-primary);border-color:var(--color-border)!important;padding:16px;line-height:1.8}
.wc-whmcs .md-editor.active{border-color:var(--color-focus);box-shadow:none}
.wc-whmcs .md-editor .btn-toolbar .btn{min-height:32px;padding:5px 9px;font-size:13px}
.wc-whmcs .md-editor .md-controls a{color:var(--color-text-secondary)}
.wc-whmcs .custom-file-label:after{background:var(--color-bg-surface-2);color:var(--color-text-primary);border-color:var(--color-border);height:42px}

/* Centered native login: all authentication, captcha and linked-account contracts retained. */
.wc-whmcs .wc-login-form{max-width:none;margin:0;width:100%}
.wc-whmcs .wc-login-card{margin:0}
.wc-whmcs .wc-login-card>.card-body{padding:32px}
.wc-login-card h1{margin:0 0 12px}.wc-login-intro{margin:0;color:var(--color-text-secondary)}
.wc-whmcs .wc-login-card .form-group{margin-bottom:24px}
.wc-whmcs .wc-login-card .form-control-label{margin-bottom:10px}
.wc-whmcs .wc-forgot-password{font-size:13px;color:var(--color-text-accent)}
.wc-whmcs .wc-remember{display:flex;align-items:center;gap:10px;font-size:14px;margin:2px 0 24px}
.wc-whmcs .wc-remember input{position:static;margin:0;width:16px;height:16px}
.wc-whmcs .wc-login-submit{width:100%;min-height:48px}
.wc-whmcs .wc-login-card .card-footer{padding:20px 32px;line-height:1.8}
.wc-whmcs .wc-login-card .card-footer small{font-size:13px}

/* Native ticket conversation: sender classification is $reply.admin, never inferred from text. */
.wc-whmcs .view-ticket{background:transparent;border:0}
.wc-whmcs .wc-ticket-summary{background:var(--color-bg-surface);border:1px solid var(--color-border);border-radius:var(--radius-data);margin-bottom:24px}
.wc-whmcs .view-ticket .wc-message-slot{padding:0;margin-bottom:20px;border:0}
.wc-whmcs .ticket-reply.wc-message{border:1px solid var(--color-border);border-radius:var(--radius-data);overflow:visible;color:var(--color-text-secondary);background:var(--color-bg-surface);animation:wc-client-arrive 220ms ease-out both}
.wc-whmcs .ticket-reply.wc-message-client{margin-left:24px;border-left:3px solid var(--color-border)}
.wc-whmcs .ticket-reply.wc-message-staff{margin-right:24px;background:var(--color-bg-surface-2);border-left:3px solid var(--color-primary);animation-name:wc-staff-arrive}
.wc-whmcs .wc-message .posted-by{padding:16px 20px;background:transparent;color:var(--color-text-secondary);border-bottom:1px solid var(--color-border);line-height:1.7;font-size:13px;overflow-wrap:anywhere}
.wc-whmcs .wc-message .posted-by-name{font-weight:600;color:var(--color-text-primary)}
.wc-whmcs .wc-message .requestor-badge{background:var(--color-bg-page);color:var(--color-text-accent);border:1px solid var(--color-border);padding:4px 8px;border-radius:var(--radius-action)}
.wc-whmcs .wc-message .message{padding:20px;color:var(--color-text-primary);font-size:15px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.wc-whmcs .wc-message .message p:last-child{margin-bottom:0}
.wc-whmcs .wc-message pre{width:100%;max-width:100%;box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:auto;padding:16px;background:var(--color-bg-page);color:var(--color-text-primary);border:1px solid var(--color-border);border-radius:var(--radius-action);font-size:13px;line-height:1.65}
.wc-whmcs .wc-message code{color:var(--color-code);background:var(--color-bg-page);overflow-wrap:anywhere}
.wc-whmcs .wc-message pre code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.wc-whmcs .wc-message blockquote{padding:12px 16px;margin:16px 0;border-left:2px solid var(--color-text-accent);color:var(--color-text-secondary);background:var(--color-bg-page)}
.wc-whmcs .wc-message img{max-width:100%;height:auto}
.wc-whmcs :is(.wc-message,.md-preview) table{background:var(--color-bg-page);color:var(--color-text-primary);border-color:var(--color-border);display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.wc-whmcs :is(.wc-message,.md-preview) table>thead>tr>th,.wc-whmcs :is(.wc-message,.md-preview) table>tbody>tr>td{background:var(--color-bg-page);color:var(--color-text-primary);padding:10px 12px;border:1px solid var(--color-border)}
.wc-whmcs .wc-message .attachments{padding:16px 20px;border-top:1px solid var(--color-border);font-size:13px;background:transparent}
.wc-whmcs .wc-message .attachment-list{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 0;padding:0;list-style:none}
.wc-whmcs .wc-message .attachment-list li{max-width:100%;margin:0}
.wc-whmcs .wc-message .attachment-list a{display:block;max-width:100%;border:1px solid var(--color-border);padding:10px 12px;background:var(--color-bg-page)}
.wc-whmcs .wc-message .attachment-list li span{border:0;padding:0;margin:0}
.wc-whmcs .wc-message .attachment-list li figure{background:var(--color-bg-surface-2);color:var(--color-text-accent);line-height:56px;font-size:28px;border-radius:var(--radius-action)}
.wc-whmcs .wc-message .attachment-list .caption{white-space:normal;overflow-wrap:anywhere;color:var(--color-text-accent)}
@keyframes wc-client-arrive{from{opacity:0;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}
@keyframes wc-staff-arrive{from{opacity:0;transform:translateX(-5px)}to{opacity:1;transform:translateX(0)}}

/* Approved public footer composition and canonical raster W, with the website's matte edge treatment. */
.wc-whmcs #footer.wc-site-footer{padding:52px 0 28px;border-top:1px solid var(--color-border)}
.wc-footer-brand{display:inline-block;margin-bottom:40px;max-width:100%}.wc-footer-brand img{width:360px;height:auto;max-width:100%}
.wc-footer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;position:relative;isolation:isolate}
.wc-footer-grid>div{min-width:0;position:relative;z-index:1}
.wc-footer-grid h3{font-family:var(--font-body);font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;margin:0 0 22px}
.wc-footer-grid ul{list-style:none;margin:0;padding:0}.wc-footer-grid li{margin:0 0 16px}
.wc-whmcs .wc-footer-grid a{color:var(--color-text-secondary);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.wc-whmcs .wc-footer-grid a:hover{color:var(--color-text-primary)}
.wc-footer-watermark{position:absolute;right:0;bottom:0;width:420px;max-width:42%;height:auto;pointer-events:none;z-index:0}
.wc-footer-description{color:var(--color-text-secondary);max-width:680px;margin:40px 0 24px;font-size:13px;line-height:1.8}
/* Shared footer utility controls; social icons keep their existing treatment. */
.wc-footer-utilities{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px}
.wc-footer-utilities>ul:empty{display:none}
.wc-whmcs #footer .wc-footer-utilities .wc-footer-control{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 16px;margin:0;border:1px solid var(--color-border);border-radius:var(--radius-data);background:var(--color-bg-surface-2);color:var(--color-text-primary);font:inherit;line-height:22px;text-align:center;white-space:normal;text-decoration:none;transition:background-color 150ms ease,border-color 150ms ease}
.wc-whmcs #footer .wc-footer-utilities .wc-footer-control:hover{background:var(--color-bg-surface);border-color:var(--color-text-accent)}
.wc-whmcs #footer .wc-footer-utilities .wc-footer-control:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}
@media(max-width:575px){.wc-footer-utilities{gap:10px}.wc-footer-utilities>.wc-footer-control{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.wc-whmcs #footer .wc-footer-utilities .wc-footer-control{transition:none}}
.wc-footer-bottom{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--color-border);padding-top:28px;margin-top:28px;font-size:13px;color:var(--color-text-secondary)}
.wc-footer-bottom>div{display:flex;flex-wrap:wrap;gap:24px}

@media(max-width:1199px){
 .wc-whmcs #header .wc-main-row{flex-wrap:wrap;gap:0;min-height:76px;padding-block:14px}
 .wc-whmcs #mainNavbar{flex-basis:100%;padding-top:16px}
 .wc-whmcs #wc-primary-nav{align-items:stretch;gap:0}
 .wc-whmcs #wc-primary-nav>li>a{padding:14px 8px}
 .wc-whmcs .wc-header-ticket>li{margin:12px 0 0;padding:0;align-self:start}
 .wc-whmcs #wc-primary-nav .dropdown-menu{max-width:none;box-shadow:none}
 .wc-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .wc-whmcs .tiles>.row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:992px) and (max-width:1199px){.wc-whmcs .wc-dashboard-panels{grid-template-columns:1fr}}
@media(max-width:767px){
 :root{--wc-gutter:20px}
 .wc-whmcs h1{font-size:28px}
 .wc-whmcs .wc-utility .container{flex-wrap:wrap;gap:2px 12px;padding-block:6px}
 .wc-utility-start{gap:12px}.wc-utility-account{max-width:100%}.wc-client-name{max-width:220px}
 .wc-brand{flex-basis:200px}.wc-brand img{width:200px}
 .wc-whmcs #main-body{padding:28px 0 44px}
 .wc-whmcs .wc-dashboard-panels{grid-template-columns:1fr}
 .wc-whmcs .card-body{padding:20px}.wc-whmcs .card-header,.wc-whmcs .card-footer{padding:16px 20px}
 .wc-whmcs .ticket-reply.wc-message-client{margin-left:8px}.wc-whmcs .ticket-reply.wc-message-staff{margin-right:8px}
 .wc-whmcs .wc-message .posted-by,.wc-whmcs .wc-message .message,.wc-whmcs .wc-message .attachments{padding:16px}
 .wc-whmcs .wc-login-card>.card-body{padding:24px}.wc-whmcs .wc-login-card>.card-footer{padding:18px 24px}
 .wc-footer-grid{grid-template-columns:1fr}.wc-footer-watermark{width:320px;max-width:95%}.wc-footer-bottom{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
 .wc-whmcs .ticket-reply.wc-message{animation:none}
 .wc-whmcs *{scroll-behavior:auto!important;transition:none!important}
}

/* Native overdue panel is promoted once, above the dashboard metrics. */
.wc-overdue-notice{margin-bottom:24px}
.wc-whmcs .wc-overdue-notice .card{border-left:3px solid var(--color-text-accent);margin:0}
.wc-whmcs .wc-overdue-notice .card-header{padding:18px 24px 0;border:0}
.wc-whmcs .wc-overdue-notice .card-body{padding:16px 24px}
.wc-whmcs .wc-overdue-notice .card-footer{padding:12px 24px}
.wc-whmcs .wc-overdue-notice .card-title{font-size:16px}
/* The Store panel renders only entries already supplied by WHMCS. */
.wc-whmcs #header [menuItemName="Store"]{position:static}
.wc-whmcs #header .wc-main-row{position:relative}
/* A contained, static infrastructure fabric keeps authentication distraction-free. */
/* Browser autofill can use an !important UA background. Keep an inset paint
   layer through focus/hover without changing values, autocomplete or native UI.
   Important is limited to autofill paint to beat native #registration focus CSS.
   :is() is forgiving when an engine does not support the prefixed alias. */
.wc-whmcs input.form-control:is(:autofill, :-webkit-autofill),
.wc-whmcs input.form-control:is(:autofill, :-webkit-autofill):hover,
.wc-whmcs input.form-control:is(:autofill, :-webkit-autofill):focus,
.wc-whmcs input.form-control:is(:autofill, :-webkit-autofill):active {
  background-color:var(--color-bg-page);
  color:var(--color-text-primary);
  -webkit-text-fill-color:var(--color-text-primary);
  caret-color:var(--color-text-primary);
  box-shadow:inset 0 0 0 1000px var(--color-bg-page)!important;
  transition-property:border-color;
}
.wc-whmcs input.form-control:is(:autofill, :-webkit-autofill)::selection {
  background-color:var(--color-primary);
  color:var(--color-on-primary);
  -webkit-text-fill-color:var(--color-on-primary);
}
/* Rich content keeps its semantics and wraps within the message. */
.wc-message .message>:first-child{margin-top:0}
.wc-message .message :is(p,ul,ol,pre,blockquote,table){margin-block:0 16px}
.wc-message .message :is(ul,ol){padding-left:24px}
.wc-message .message li{margin-block:6px}
.wc-message .message li :is(ul,ol){margin-block:8px}
.wc-whmcs .wc-message .message :is(h1,h2,h3,h4,h5,h6){font-family:var(--font-display);font-size:18px;line-height:1.5;margin:22px 0 12px}
.wc-message .message a{overflow-wrap:anywhere;word-break:break-word}
.wc-whmcs .wc-message blockquote blockquote{margin:12px 0 0;padding-left:12px}
.wc-whmcs .wc-message table{width:100%;table-layout:auto}
.wc-whmcs .wc-message :is(td,th){overflow-wrap:anywhere;white-space:normal}
@media(max-width:1199px){
}
@media(max-width:900px){
}
@media(max-width:575px){
 .wc-whmcs .wc-overdue-notice .card-header,.wc-whmcs .wc-overdue-notice .card-body,.wc-whmcs .wc-overdue-notice .card-footer{padding-inline:18px}
}

/* Native MarketConnect client promotions: Twenty-One theme.css owns the white
   .promo-container/.promo-banner paint and vendor link/button colors. Override
   only these components; no global card paint, logo filtering or inline hacks.
   .mc-panel-promo is WHMCS's native sidebar promotion body. */
.wc-whmcs .promo-container,
.wc-whmcs .card-sidebar:has(.mc-panel-promo){
  background-color:var(--color-bg-surface);
  color:var(--color-text-secondary);
  border-color:var(--color-border);
}
.wc-whmcs .promo-banner,
.wc-whmcs .promo-container :is(.carousel-inner,.carousel-item,.card-body),
.wc-whmcs .mc-panel-promo{
  background-color:var(--color-bg-surface-2);
  color:var(--color-text-secondary);
  border-color:var(--color-border);
}
.wc-whmcs .promo-banner :is(.card-body,.content),
.wc-whmcs .card-sidebar:has(.mc-panel-promo) :is(.card-header,.card-body,.card-footer){
  background-color:var(--color-bg-surface);
  color:var(--color-text-secondary);
  border-color:var(--color-border);
}
.wc-whmcs .promo-banner :is(.card-body,.content){background-color:var(--color-bg-surface-2)}
.wc-whmcs :is(.promo-container,.promo-banner,.mc-panel-promo) :is(h3,h4,.headline,.price),
.wc-whmcs .card-sidebar:has(.mc-panel-promo) .card-title{color:var(--color-text-primary)}
.wc-whmcs :is(.promo-container,.promo-banner,.mc-panel-promo) :is(p,li,small,.tagline){color:var(--color-text-secondary)}
.wc-whmcs :is(.promo-container,.promo-banner,.mc-panel-promo) a:not(.btn){color:var(--color-link)}
.wc-whmcs :is(.promo-container,.promo-banner,.mc-panel-promo) a:not(.btn):is(:hover,:focus-visible){color:var(--color-link-hover)}
.wc-whmcs .promo-banner .fa:not(.fa-spinner){color:var(--color-text-accent)}
/* Use the approved action palette: native vendor orange/green buttons do not
   consistently provide 4.5:1 with white text. Vendor artwork stays unchanged. */
.wc-whmcs :is(.promo-container,.promo-banner,.mc-panel-promo) :is(a,button).btn{
  color:var(--color-on-primary);
  background-color:var(--color-primary);
  border-color:var(--color-primary);
}
.wc-whmcs :is(.promo-container,.promo-banner,.mc-panel-promo) :is(a,button).btn:is(:hover,:focus-visible,:active){
  color:var(--color-on-primary);
  background-color:var(--color-primary-hover);
  border-color:var(--color-primary-hover);
}
.wc-whmcs :is(.promo-container,.mc-panel-promo) hr{border-color:var(--color-border)}
.wc-whmcs .promotions-slider-control :is(.carousel-control-prev,.carousel-control-next){color:var(--color-text-accent);opacity:1}
.wc-whmcs .promotions-slider-control :is(.carousel-control-prev,.carousel-control-next):is(:hover,:focus-visible){color:var(--color-text-primary)}
/* Native arrows are dark-blue SVG backgrounds; use currentColor chevrons so
   the control remains legible without recoloring any vendor artwork. */
.wc-whmcs .promotions-slider-control :is(.carousel-control-prev-icon,.carousel-control-next-icon){
  background-image:none;
  width:10px;height:10px;
  border:solid currentColor;border-width:0 2px 2px 0;
}
.wc-whmcs .promotions-slider-control .carousel-control-prev-icon{transform:rotate(135deg)}
.wc-whmcs .promotions-slider-control .carousel-control-next-icon{transform:rotate(-45deg)}
