*{box-sizing:border-box}html,body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb}a{color:inherit;text-decoration:none}.cp-topbar{height:74px;background:#fff;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:30}.cp-brand{display:flex;align-items:center;gap:11px}.cp-brand strong{display:block;font-size:20px}.cp-brand small{display:block;color:#94a3b8;font-size:11px;text-transform:uppercase;letter-spacing:.12em}.cp-brand.big strong{font-size:24px}.cp-logo{width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#fb4266,#e91e54);display:grid;place-items:center;color:#fff;font-weight:800}.cp-account{margin-left:auto;display:flex;align-items:center;gap:10px}.cp-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff1f2;color:#e11d48;font-weight:700}.cp-account-name strong,.cp-account-name small{display:block}.cp-account-name small{color:#94a3b8;font-size:11px}.cp-account>a{margin-left:12px;color:#64748b;font-size:13px}.cp-menu-btn{display:none;margin-left:auto;border:0;background:#f8fafc;border-radius:9px;padding:9px 12px}.cp-shell{display:flex;min-height:calc(100vh - 74px)}.cp-sidebar{width:230px;background:#fff;border-right:1px solid #e7ebf2;padding:22px 14px;display:flex;flex-direction:column}.cp-sidebar nav{display:grid;gap:6px}.cp-sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:11px;color:#56647b;font-size:14px}.cp-sidebar nav a span{width:20px;text-align:center}.cp-sidebar nav a:hover{background:#f8fafc}.cp-sidebar nav a.active{background:#fff1f2;color:#e11d48;font-weight:600}.cp-help{margin-top:auto;border:1px solid #edf0f5;background:#fafbfc;border-radius:12px;padding:14px}.cp-help strong,.cp-help span{display:block}.cp-help span{font-size:11px;color:#94a3b8;margin-top:4px;line-height:1.5}.cp-main{flex:1;min-width:0;padding:32px;max-width:1500px}.eyebrow{font-size:10px;color:#f43f5e;font-weight:800;letter-spacing:.16em}.cp-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.cp-heading h1{font-size:30px;margin:5px 0}.cp-heading p{margin:0;color:#718096}.cp-heading-actions{gap:20px}.cp-back{display:block;color:#64748b;font-size:13px;margin-bottom:5px}.cp-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.cp-stats article,.cp-card,.cp-service-card{background:#fff;border:1px solid #e5eaf1;border-radius:15px;box-shadow:0 5px 18px rgba(15,23,42,.025)}.cp-stats article{padding:20px}.cp-stats span,.cp-stats small{display:block;color:#8390a6}.cp-stats strong{display:block;font-size:25px;margin:6px 0}.cp-stats small{font-size:11px}.cp-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:18px}.cp-card{padding:20px}.cp-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.cp-card-head h2{font-size:17px;margin:0 0 3px}.cp-card-head p{font-size:12px;color:#94a3b8;margin:0}.cp-card-head>a{font-size:12px;color:#f43f5e}.cp-list{display:grid}.cp-list>a,.cp-list>.static{display:flex;justify-content:space-between;align-items:center;padding:13px 2px;border-top:1px solid #eef1f5}.cp-list>a:first-child,.cp-list>.static:first-child{border-top:0}.cp-list strong,.cp-list small{display:block}.cp-list small{margin-top:4px;color:#8b97aa;font-size:11px}.cp-list b{font-size:13px}.cp-status{display:inline-flex!important;padding:4px 8px;border-radius:999px;font-size:10px!important;font-weight:700;background:#f1f5f9;color:#64748b}.cp-status.paid,.cp-status.active{background:#ecfdf3;color:#16a34a}.cp-status.unpaid,.cp-status.overdue,.cp-status.expired{background:#fff1f2;color:#e11d48}.cp-status.partial,.cp-status.grace_period{background:#fff7ed;color:#d97706}.cp-table-wrap{overflow:auto}.cp-table{width:100%;border-collapse:collapse;min-width:650px}.cp-table th,.cp-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf1f5;font-size:13px}.cp-table th{color:#8290a5;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.cp-table tr{cursor:pointer}.cp-table tbody tr:hover{background:#fafbfc}.cp-table .right{text-align:right}.cp-empty{padding:28px;text-align:center;color:#94a3b8}.cp-invoice-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.cp-invoice-summary>div{background:#fff;border:1px solid #e5eaf1;border-radius:12px;padding:15px}.cp-invoice-summary span,.cp-invoice-summary strong{display:block}.cp-invoice-summary span{color:#94a3b8;font-size:11px}.cp-invoice-summary strong{margin-top:5px}.cp-totals{margin-left:auto;max-width:320px;margin-top:16px}.cp-totals div{display:flex;justify-content:space-between;padding:7px 0}.cp-totals div:last-child{border-top:2px solid #edf1f5;font-size:17px;margin-top:4px;padding-top:11px}.cp-notes{margin-top:20px;padding:15px;background:#fafbfc;border-radius:10px}.cp-notes p{margin-bottom:0;color:#607086}.cp-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cp-service-card{padding:18px}.cp-service-top{display:flex;justify-content:space-between;align-items:center}.cp-type{font-size:10px;font-weight:800;color:#3b82f6;letter-spacing:.1em}.cp-service-card h2{font-size:17px;margin:12px 0 4px;word-break:break-word}.cp-service-desc{font-size:12px;color:#76849b}.cp-service-meta{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:16px}.cp-service-meta span,.cp-service-meta strong{display:block}.cp-service-meta span{font-size:10px;color:#94a3b8}.cp-service-meta strong{font-size:12px;margin-top:3px}.cp-expiry{margin-top:15px;border-radius:8px;padding:8px 10px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700}.cp-expiry.soon{background:#fff7ed;color:#d97706}.cp-expiry.expired{background:#fff1f2;color:#e11d48}.cp-service-card details{margin-top:12px;font-size:11px;color:#64748b}.cp-service-card details div{margin-top:8px;white-space:normal;line-height:1.5}.cp-profile-lines div{display:flex;justify-content:space-between;padding:11px 0;border-top:1px solid #edf1f5}.cp-profile-lines div:first-child{border-top:0}.cp-profile-lines span{color:#94a3b8}.cp-form{display:grid;gap:13px}.cp-form label,.cp-login-card label{display:grid;gap:6px;font-size:12px;font-weight:600}.cp-form input,.cp-login-card input{width:100%;border:1px solid #dfe5ee;border-radius:9px;padding:11px 12px;font:inherit;outline:none}.cp-form input:focus,.cp-login-card input:focus{border-color:#f43f5e;box-shadow:0 0 0 3px rgba(244,63,94,.08)}.cp-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce2eb;background:#fff;border-radius:9px;padding:10px 15px;font-weight:650;font-size:13px;cursor:pointer}.cp-btn.primary{background:#f43f5e;border-color:#f43f5e;color:#fff}.cp-alert{padding:11px 13px;border-radius:9px;margin-bottom:14px;font-size:12px}.cp-alert.error{background:#fff1f2;color:#be123c}.cp-alert.success{background:#ecfdf3;color:#15803d}.cp-login-body{background:#f5f7fb;min-height:100vh;display:grid;place-items:center;padding:24px}.cp-login-wrap{width:min(920px,100%);display:grid;grid-template-columns:1.1fr .9fr;background:#fff;border:1px solid #e5eaf1;border-radius:20px;overflow:hidden;box-shadow:0 25px 70px rgba(15,23,42,.08)}.cp-login-brand{padding:55px;background:linear-gradient(150deg,#fff 0%,#fff7f8 100%)}.cp-login-brand h1{font-size:34px;margin:70px 0 14px}.cp-login-brand p{color:#718096;max-width:430px;line-height:1.7}.cp-login-card{padding:55px;display:flex;flex-direction:column;justify-content:center}.cp-login-card h2{font-size:26px;margin:6px 0}.cp-login-card>p{color:#8290a5;margin:0 0 22px}.cp-login-card form{display:grid;gap:14px}.cp-login-card .cp-btn{margin-top:5px}.invoice-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.6fr)}
@media(max-width:1000px){.cp-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-grid{grid-template-columns:1fr}.cp-login-wrap{grid-template-columns:1fr}.cp-login-brand{display:none}}
@media(max-width:760px){.cp-topbar{padding:0 15px}.cp-menu-btn{display:block}.cp-account{display:none}.cp-sidebar{position:fixed;left:-250px;top:74px;bottom:0;z-index:20;transition:.2s;box-shadow:10px 0 30px rgba(15,23,42,.1)}.cp-sidebar.open{left:0}.cp-main{padding:20px 14px}.cp-stats,.cp-invoice-summary{grid-template-columns:1fr 1fr}.cp-service-grid{grid-template-columns:1fr}.cp-heading h1{font-size:25px}.cp-heading-actions{align-items:flex-start}.cp-login-card{padding:35px 24px}}
@media(max-width:480px){.cp-stats,.cp-invoice-summary{grid-template-columns:1fr}.cp-heading{align-items:flex-start}.cp-heading-actions{flex-direction:column}.cp-heading-actions .cp-btn{width:100%}}

/* v12.49: CRM-style customer portal */
.cp-main .profile-header,.cp-main .stat-grid,.cp-main .panel,.cp-main .mini-grid,.cp-main .welcome,.cp-main .service-summary-grid{max-width:none}
.cp-main .profile-header{margin-bottom:18px}
.cp-admin-profile .profile-actions{align-items:center}
.cp-main .panel{background:#fff}
.cp-main .table-wrap{overflow:auto}
.cp-main table{min-width:820px}
.cp-main .service-assets-table{min-width:1250px}
.cp-main .statement-date-filter{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.cp-main .statement-date-filter label{font-size:11px;color:#64748b;display:grid;gap:4px}
.cp-main .statement-date-filter input{min-height:38px;border:1px solid #dce3ed;border-radius:8px;padding:7px 9px}
.cp-main .invoice-filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}
.cp-main .invoice-filters input,.cp-main .invoice-filters select{min-height:40px;border:1px solid #dce3ed;border-radius:8px;padding:8px 10px;background:#fff}
.cp-main .invoice-detail-lines{min-width:240px}
.cp-main .service-history{white-space:pre-line;min-width:210px}
.cp-main .service-row-expired>td{background:#fff0f0!important}
.cp-main .service-row-highlighted>td{background:#fff7d6!important}
@media(max-width:760px){
 .cp-main .profile-header{display:block}
 .cp-main .profile-actions{margin-top:12px;justify-content:flex-start}
 .cp-main .statement-panel-head{align-items:flex-start}
 .cp-main .statement-actions{width:100%}
 .cp-main .statement-date-filter{width:100%}
}


/* v12.57 — Customer Portal typography aligned with main CRM */
html{font-size:14px!important}
body,.cp-topbar,.cp-sidebar,.cp-main,.cp-card,.cp-service-card,.cp-table,
button,input,select,textarea{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  line-height:1.45!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.cp-heading h1{font-size:26px!important;line-height:1.2!important;font-weight:650!important;letter-spacing:-.018em!important}
.cp-card-head h2,.cp-service-card h2{font-size:16px!important;font-weight:650!important;letter-spacing:-.01em!important}
.cp-heading p,.cp-card-head p,.cp-service-desc{font-size:12.5px!important}
.cp-sidebar nav a{font-size:13px!important;font-weight:500!important}
.cp-table th{font-size:10.5px!important;font-weight:700!important;letter-spacing:.02em!important}
.cp-table td{font-size:12.5px!important}
.cp-stats span{font-size:11.5px!important}
.cp-stats strong{font-size:23px!important;font-weight:650!important;letter-spacing:-.02em!important}
.cp-btn{font-size:12.5px!important;font-weight:600!important}
.cp-status,.cp-type{font-size:10px!important;font-weight:700!important}
.cp-service-meta span{font-size:10px!important}
.cp-service-meta strong{font-size:11.5px!important}


/* v12.58 — Refined customer portal typography */
html{font-size:15px!important}
body,.cp-topbar,.cp-sidebar,.cp-main,.cp-card,.cp-service-card,.cp-table,
button,input,select,textarea{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  line-height:1.5!important;
  font-weight:400!important;
}
.cp-heading h1{font-size:28px!important;line-height:1.2!important;font-weight:600!important}
.cp-card-head h2,.cp-service-card h2{font-size:17px!important;font-weight:600!important}
.cp-heading p,.cp-card-head p,.cp-service-desc{font-size:14px!important;font-weight:400!important}
.cp-sidebar nav a{font-size:14.5px!important;font-weight:400!important}
.cp-table th{font-size:12px!important;font-weight:600!important;text-transform:none!important}
.cp-table td{font-size:14px!important;font-weight:400!important}
.cp-stats span{font-size:13px!important;font-weight:400!important}
.cp-stats strong{font-size:25px!important;font-weight:600!important}
.cp-btn{font-size:13.5px!important;font-weight:500!important}
.cp-status,.cp-type{font-size:10.5px!important;font-weight:600!important}
.cp-service-meta span{font-size:11px!important}
.cp-service-meta strong{font-size:12.5px!important;font-weight:500!important}


/* v12.59 — Uniform portal table typography */
.cp-table tbody td,
.cp-table tbody td strong,
.cp-table tbody td a:not(.cp-btn):not(.cp-status):not(.cp-type){
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  line-height:1.5!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.cp-table tbody td small{
  font-size:12.5px!important;
  line-height:1.4!important;
  font-weight:400!important;
}


/* v13.34 — Customer portal statement/actions/print alignment */
.cp-main .portal-statement-date{width:132px;min-width:132px;white-space:nowrap!important}
.cp-main td.portal-statement-date small{display:block;white-space:nowrap}
.cp-main .portal-statement-action{width:58px;min-width:58px;text-align:center}
.cp-main .portal-action-menu{display:inline-block;position:relative;text-align:left}
.cp-main .portal-action-menu>summary{list-style:none;width:32px;height:32px;display:grid;place-items:center;border:1px solid #d8e0eb;border-radius:9px;background:#fff;color:#334155;font-size:20px!important;line-height:1!important;cursor:pointer;user-select:none}
.cp-main .portal-action-menu>summary::-webkit-details-marker{display:none}
.cp-main .portal-action-menu .invoice-action-dropdown{right:0;left:auto;min-width:145px;z-index:50}
.cp-main .portal-action-menu .invoice-action-dropdown a,.cp-main .portal-action-menu .portal-action-empty{display:block;width:100%;padding:9px 12px;font-size:12.5px!important;line-height:1.25!important;white-space:nowrap}
.cp-main .portal-action-menu .portal-action-empty{color:#94a3b8}
.cp-main .statement-print-summary-columns{display:none}

@media print{
 @page{size:A4 portrait;margin:8mm 7mm 9mm}
 body{font-size:14px!important;line-height:1.35!important;background:#fff!important}
 .cp-topbar,.cp-sidebar,.profile-header,.customer-stats,.current-statement-stats,.statement-actions,.portal-statement-action,.cp-help{display:none!important}
 .cp-shell,.cp-main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 .cp-main .panel,.cp-main .ledger-panel,.cp-main .ledger-panel-full,.cp-main .current-statement-panel{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
 .cp-main .statement-panel-head{display:none!important}
 .cp-main .statement-print-summary.statement-print-summary-columns{display:grid!important;grid-template-columns:1.45fr 1.15fr .85fr .95fr .85fr!important;align-items:start!important;gap:18px!important;padding:9px 0 10px!important;margin:0 0 8px!important;border-top:1px solid #d7dde6!important;border-bottom:1px solid #d7dde6!important;border-left:0!important;border-right:0!important}
 .statement-print-summary-columns .statement-print-period span,.statement-print-summary-columns .statement-print-metric span{display:block!important;margin:0 0 3px!important;color:#374151!important;font-size:11.5px!important;line-height:1.2!important;font-weight:400!important}
 .statement-print-summary-columns .statement-print-period strong,.statement-print-summary-columns .statement-print-metric strong{display:block!important;margin:0!important;color:#111827!important;font-size:14px!important;line-height:1.25!important;font-weight:700!important;white-space:normal!important}
 .statement-print-summary-columns .statement-print-customer strong{display:block!important;font-size:15px!important;line-height:1.2!important}
 .statement-print-summary-columns .statement-print-customer span{display:block!important;margin-top:3px!important;font-size:13px!important;line-height:1.2!important}
 .cp-main .table-wrap{overflow:visible!important;width:100%!important;border-left:0!important;border-right:0!important}
 .cp-main table{min-width:0!important;width:100%!important;table-layout:fixed!important;font-size:13.5px!important;line-height:1.35!important;border-left:0!important;border-right:0!important}
 .cp-main thead{display:table-header-group!important}
 .cp-main th{font-size:12.5px!important;line-height:1.2!important;padding:6px 7px!important;font-weight:700!important}
 .cp-main td{font-size:13.5px!important;line-height:1.35!important;padding:6px 7px!important;vertical-align:top!important}
 .cp-main tr{break-inside:avoid!important;page-break-inside:avoid!important}
 .cp-main .statement-standard,.cp-main .statement-desc{font-size:13.5px!important;line-height:1.35!important}
 .cp-main .statement-standard small,.cp-main .statement-desc small,.cp-main td small{font-size:10.5px!important;line-height:1.2!important;margin-top:2px!important}
 .cp-main .statement-desc{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
 /* Portal table has: Date, Description, Debit, Credit, Balance, Action(hidden) */
 .cp-main th:nth-child(1),.cp-main td:nth-child(1){width:17%!important;white-space:nowrap!important}
 .cp-main th:nth-child(2),.cp-main td:nth-child(2){width:50%!important}
 .cp-main th:nth-child(3),.cp-main td:nth-child(3),.cp-main th:nth-child(4),.cp-main td:nth-child(4),.cp-main th:nth-child(5),.cp-main td:nth-child(5){width:11%!important}
}

.cp-main .portal-payment-actions{display:flex;align-items:center;gap:10px}.cp-main .portal-slip-btn{padding:6px 9px!important;font-size:11.5px!important}


/* v13.39 portal invoices: compact filter row + action menu */
.portal-invoice-filter-row{
 display:grid;
 grid-template-columns:minmax(300px,1fr) 190px 160px 160px auto auto;
 gap:10px;
 align-items:center;
 margin-bottom:14px;
}
.portal-invoice-filter-row input,
.portal-invoice-filter-row select,
.portal-invoice-filter-row .btn{
 min-height:40px;
 margin:0;
}
.portal-invoice-filter-btn,
.portal-invoice-reset-btn{
 white-space:nowrap;
 justify-content:center;
}
.portal-invoice-action-head,
.portal-invoice-actions{
 width:58px;
 text-align:center;
}
.portal-invoice-actions{position:relative}
.portal-action-menu{
 position:relative;
 display:inline-block;
}
.portal-action-menu>summary{
 list-style:none;
 width:34px;
 height:34px;
 display:grid;
 place-items:center;
 border:1px solid var(--cp-border,#dbe3ef);
 border-radius:9px;
 background:#fff;
 color:#475569;
 font-size:20px;
 line-height:1;
 cursor:pointer;
 user-select:none;
}
.portal-action-menu>summary::-webkit-details-marker{display:none}
.portal-action-menu[open]>summary{
 border-color:#94a3b8;
 box-shadow:0 0 0 2px rgba(148,163,184,.12);
}
.portal-action-dropdown{
 position:absolute;
 right:0;
 top:40px;
 z-index:80;
 min-width:190px;
 padding:7px;
 border:1px solid var(--cp-border,#dbe3ef);
 border-radius:11px;
 background:#fff;
 box-shadow:0 16px 34px rgba(15,23,42,.14);
 text-align:left;
}
.portal-action-dropdown a{
 display:block;
 padding:9px 10px;
 border-radius:7px;
 color:#25324a;
 text-decoration:none;
 white-space:nowrap;
 font-size:13px;
}
.portal-action-dropdown a:hover{background:#f5f7fb}
.portal-action-separator{
 height:1px;
 background:var(--cp-border,#e2e8f0);
 margin:5px 3px;
}
@media(max-width:1100px){
 .portal-invoice-filter-row{
  grid-template-columns:minmax(240px,1fr) 170px 150px 150px auto auto;
 }
}
@media(max-width:850px){
 .portal-invoice-filter-row{
  grid-template-columns:1fr 1fr;
 }
 .portal-invoice-search{grid-column:1/-1}
}
@media(max-width:560px){
 .portal-invoice-filter-row{grid-template-columns:1fr}
 .portal-invoice-search{grid-column:auto}
}


/* v13.41 portal combined billing transactions */
.portal-billing-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.portal-billing-filter-row{
 display:grid;
 grid-template-columns:minmax(260px,1.55fr) minmax(135px,.72fr) minmax(160px,.82fr) 135px 135px 72px 72px;
 gap:8px;
 align-items:center;
 margin-bottom:14px;
 width:100%;
}
.portal-billing-filter-row input,
.portal-billing-filter-row select,
.portal-billing-filter-row .btn{
 min-width:0;
 width:100%;
 min-height:40px;
 height:40px;
 margin:0;
 box-sizing:border-box;
}
.portal-billing-filter-row .btn{
 padding-left:10px;
 padding-right:10px;
 justify-content:center;
 white-space:nowrap;
}
.portal-billing-table th,
.portal-billing-table td{vertical-align:middle}
.portal-billing-table th:first-child{width:90px}
.portal-billing-table th:nth-child(2){width:105px}
.portal-billing-table th:nth-child(4){width:120px}
.portal-billing-date{white-space:nowrap}
.portal-billing-type{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:62px;
 padding:4px 8px;
 border-radius:999px;
 font-size:11px;
 font-weight:700;
}
.portal-billing-type.invoice{background:#eef2ff;color:#4f46e5}
.portal-billing-type.payment{background:#eaf8ef;color:#16803b}
.portal-billing-payment{background:#fbfffc}
@media(max-width:1050px){
 .portal-billing-filter-row{
  grid-template-columns:minmax(220px,1fr) 150px 170px 130px 130px 68px 68px;
  gap:7px;
 }
}
@media(max-width:900px){
 .portal-billing-filter-row{grid-template-columns:1fr 1fr}
 .portal-billing-filter-row .portal-invoice-search{grid-column:1/-1}
 .portal-billing-summary{grid-template-columns:1fr 1fr}
}
@media(max-width:580px){
 .portal-billing-filter-row{grid-template-columns:1fr}
 .portal-billing-filter-row .portal-invoice-search{grid-column:auto}
 .portal-billing-summary{grid-template-columns:1fr}
}


/* v13.42 FORCE portal billing filter to one desktop row */
@media (min-width: 901px){
 form.invoice-filters.portal-billing-filter-row{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
 }
 form.invoice-filters.portal-billing-filter-row > input,
 form.invoice-filters.portal-billing-filter-row > select,
 form.invoice-filters.portal-billing-filter-row > button,
 form.invoice-filters.portal-billing-filter-row > a{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  height:40px !important;
  min-height:40px !important;
  box-sizing:border-box !important;
  flex:none !important;
 }
 form.invoice-filters.portal-billing-filter-row > .portal-invoice-search{
  flex:1 1 340px !important;
  min-width:240px !important;
 }
 form.invoice-filters.portal-billing-filter-row > select[name="type"]{
  width:160px !important;
 }
 form.invoice-filters.portal-billing-filter-row > select[name="status"]{
  width:185px !important;
 }
 form.invoice-filters.portal-billing-filter-row > input[type="date"]{
  width:145px !important;
 }
 form.invoice-filters.portal-billing-filter-row > .btn{
  width:auto !important;
  min-width:68px !important;
  padding:0 12px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
 }
}
@media (max-width:900px){
 form.invoice-filters.portal-billing-filter-row{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
 }
 form.invoice-filters.portal-billing-filter-row > *{
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
 }
 form.invoice-filters.portal-billing-filter-row > .portal-invoice-search{
  grid-column:1/-1 !important;
 }
}
@media (max-width:580px){
 form.invoice-filters.portal-billing-filter-row{
  grid-template-columns:1fr !important;
 }
 form.invoice-filters.portal-billing-filter-row > .portal-invoice-search{
  grid-column:auto !important;
 }
}


/* v13.43 portal service renewal actions */
.portal-service-table th:last-child,
.portal-service-table td:last-child{width:58px;text-align:center}
.portal-service-actions{position:relative}
.portal-action-dropdown form{margin:0}
.portal-action-button{
 width:100%;
 border:0;
 background:transparent;
 text-align:left;
 padding:9px 10px;
 border-radius:7px;
 color:#25324a;
 font:inherit;
 font-size:13px;
 cursor:pointer;
 white-space:nowrap;
}
.portal-action-button:hover{background:#f5f7fb}
.portal-action-disabled{
 display:block;
 padding:9px 10px;
 color:#16803b;
 font-size:13px;
 font-weight:700;
 white-space:nowrap;
}


/* v13.45 customer profile edit request */
.cp-profile-pending{
 margin:0 0 16px;
 padding:12px 14px;
 border:1px solid #f2c94c;
 border-radius:10px;
 background:#fff8db;
 color:#6b4f00;
}
.cp-profile-pending strong,
.cp-profile-pending span,
.cp-profile-pending small{display:block}
.cp-profile-pending span{margin-top:3px;font-size:12px}
.cp-profile-pending small{margin-top:5px;color:#7c6a32;line-height:1.4}
.cp-profile-edit-form input{font-weight:600;color:#172033}


/* v13.48 portal domain search */
.domain-search-card{max-width:1050px}
.domain-search-form{margin:0}
.domain-search-input-wrap{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:10px;
 align-items:center;
}
.domain-search-input-wrap input{
 height:48px;
 margin:0;
 font-size:16px;
}
.domain-search-input-wrap .cp-btn{
 min-width:145px;
 height:48px;
 margin:0;
}
.domain-search-result{
 margin-top:18px;
 padding:16px;
 border:1px solid #e2e8f0;
 border-radius:12px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
}
.domain-search-result-main{
 display:flex;
 align-items:center;
 gap:12px;
 min-width:0;
}
.domain-search-result-main strong,
.domain-search-result-main span{display:block}
.domain-search-result-main strong{font-size:18px}
.domain-search-result-main span{margin-top:3px;color:#64748b}
.domain-status-icon{
 width:40px;
 height:40px;
 display:grid;
 place-items:center;
 border-radius:50%;
 font-size:20px;
 font-weight:800;
 flex:none;
}
.domain-search-result-available{
 border-color:#9fd8b5;
 background:#f1fbf5;
}
.domain-search-result-available .domain-status-icon{
 background:#dff5e7;
 color:#16803b;
}
.domain-search-result-registered{
 border-color:#f0b4b4;
 background:#fff5f5;
}
.domain-search-result-registered .domain-status-icon{
 background:#fde6e6;
 color:#c52b2b;
}
.domain-search-result-unknown{
 border-color:#f2cf75;
 background:#fffaf0;
}
.domain-search-result-unknown .domain-status-icon{
 background:#fff0c7;
 color:#a56b00;
}
.domain-search-note{
 margin-top:16px;
 padding:12px 14px;
 border-radius:10px;
 background:#f8fafc;
 color:#64748b;
 font-size:12px;
}
.domain-search-note strong,
.domain-search-note span{display:block}
.domain-search-note strong{color:#334155;margin-bottom:3px}
.domain-pending-card{max-width:1050px;margin-top:16px}
.domain-pending-list{display:grid;gap:8px}
.domain-pending-list>div{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 gap:12px;
 align-items:center;
 padding:11px 12px;
 border:1px solid #e2e8f0;
 border-radius:9px;
}
.domain-pending-list span{color:#64748b;font-size:12px}
.domain-pending-list em{
 font-style:normal;
 color:#a56b00;
 background:#fff2c8;
 padding:4px 8px;
 border-radius:999px;
 font-size:11px;
 font-weight:700;
}
@media(max-width:650px){
 .domain-search-input-wrap{grid-template-columns:1fr}
 .domain-search-input-wrap .cp-btn{width:100%}
 .domain-search-result{align-items:flex-start;flex-direction:column}
 .domain-search-result form,
 .domain-search-result .cp-btn{width:100%}
 .domain-pending-list>div{grid-template-columns:1fr}
}


/* v13.50 domain registration price */
.domain-registration-price{
 margin-left:auto;
 min-width:180px;
 padding:10px 14px;
 border:1px solid #b9e2c8;
 border-radius:10px;
 background:#fff;
 text-align:right;
}
.domain-registration-price span,
.domain-registration-price strong,
.domain-registration-price small{display:block}
.domain-registration-price span{font-size:11px;color:#64748b}
.domain-registration-price strong{margin-top:2px;font-size:18px;color:#16803b}
.domain-registration-price small{margin-top:2px;font-size:10px;color:#7a869b}
.domain-pending-list>div{grid-template-columns:minmax(0,1fr) auto auto auto}
.domain-pending-price{font-size:12px;white-space:nowrap}
@media(max-width:800px){
 .domain-registration-price{margin-left:0;text-align:left;width:100%;box-sizing:border-box}
}
@media(max-width:650px){
 .domain-pending-list>div{grid-template-columns:1fr}
}


/* v13.51 domain request + hosting services */
.cp-btn.domain-register-request-btn{
 background:#219653 !important;
 border-color:#219653 !important;
 color:#fff !important;
 min-width:165px;
}
.cp-btn.domain-register-request-btn:hover{
 background:#187b43 !important;
 border-color:#187b43 !important;
}
.domain-pending-list>div{
 grid-template-columns:minmax(0,1fr) auto auto auto auto;
}
.domain-request-cancel-btn{
 border:1px solid #f0b4b4;
 background:#fff;
 color:#c52b2b;
 border-radius:8px;
 padding:7px 10px;
 font:inherit;
 font-size:11px;
 font-weight:700;
 cursor:pointer;
}
.domain-request-cancel-btn:hover{background:#fff1f2}
.domain-pending-list form{margin:0}

.domain-hosting-suggestion{
 margin-top:16px;
 border-color:#bfd6ff;
 background:#f7faff;
}
.domain-hosting-suggestion-main{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:20px;
}
.domain-hosting-suggestion h2{margin:4px 0 4px}
.domain-hosting-suggestion p{margin:0;color:#64748b}
.cp-btn.hosting-suggestion-btn,
.cp-btn.hosting-request-btn{
 background:#2f6fed !important;
 border-color:#2f6fed !important;
 color:#fff !important;
}
.cp-btn.hosting-suggestion-btn:hover,
.cp-btn.hosting-request-btn:hover{
 background:#255bcc !important;
 border-color:#255bcc !important;
}

.hosting-domain-suggestion{
 display:flex;
 flex-direction:column;
 gap:3px;
 margin-bottom:16px;
 background:#eef5ff;
 color:#234b8f;
}
.hosting-plan-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:14px;
}
.hosting-plan-card{
 display:flex;
 flex-direction:column;
 gap:18px;
}
.hosting-plan-head{
 display:flex;
 justify-content:space-between;
 align-items:flex-start;
 gap:16px;
}
.hosting-plan-kicker{
 font-size:10px;
 font-weight:800;
 letter-spacing:.08em;
 color:#f43f5e;
}
.hosting-plan-head h2{
 margin:4px 0 4px;
 font-size:19px;
}
.hosting-plan-head p{
 margin:0;
 color:#64748b;
 font-size:12px;
}
.hosting-plan-price{
 text-align:right;
 flex:none;
}
.hosting-plan-price strong,
.hosting-plan-price span{display:block}
.hosting-plan-price strong{
 font-size:20px;
 color:#172033;
}
.hosting-plan-price span{
 margin-top:3px;
 font-size:10px;
 color:#8a96aa;
}
.hosting-request-form{
 margin-top:auto;
 display:grid;
 gap:10px;
}
.hosting-request-form label{
 display:grid;
 gap:5px;
 font-size:11px;
 font-weight:700;
 color:#475569;
}
.hosting-request-form input{
 width:100%;
 box-sizing:border-box;
 border:1px solid #dfe5ee;
 border-radius:9px;
 padding:10px 11px;
 font:inherit;
}
.hosting-pending-card{margin-top:16px}
.hosting-pending-list{display:grid;gap:8px}
.hosting-pending-list>div{
 display:grid;
 grid-template-columns:minmax(0,1.2fr) auto auto auto;
 gap:12px;
 align-items:center;
 padding:11px 12px;
 border:1px solid #e2e8f0;
 border-radius:9px;
}
.hosting-pending-list strong,
.hosting-pending-list small{display:block}
.hosting-pending-list small{margin-top:2px;color:#64748b}
.hosting-pending-list span{font-size:12px;color:#64748b}
.hosting-pending-list em{
 font-style:normal;
 background:#fff2c8;
 color:#a56b00;
 border-radius:999px;
 padding:4px 8px;
 font-size:11px;
 font-weight:700;
}
@media(max-width:1050px){
 .hosting-plan-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 .hosting-plan-grid{grid-template-columns:1fr}
 .domain-hosting-suggestion-main{align-items:flex-start;flex-direction:column}
 .cp-btn.hosting-suggestion-btn{width:100%}
 .hosting-pending-list>div,
 .domain-pending-list>div{grid-template-columns:1fr}
}


/* v13.52 registration + renewal pricing visibility */
.hosting-plan-head{
 align-items:flex-start !important;
}
.hosting-plan-head>div:first-child{
 min-width:0;
 flex:1 1 auto;
}
.hosting-plan-head h2{
 line-height:1.22 !important;
 overflow:visible !important;
 white-space:normal !important;
 word-break:normal !important;
}
.hosting-plan-prices{
 flex:0 0 170px;
 min-width:170px;
 display:grid;
 grid-template-columns:1fr;
 gap:5px;
 text-align:right;
}
.hosting-price-box{
 padding:7px 9px;
 border:1px solid #e2e8f0;
 border-radius:8px;
 background:#fff;
}
.hosting-price-box span,
.hosting-price-box strong{
 display:block;
 white-space:nowrap;
}
.hosting-price-box span{
 font-size:10px;
 line-height:1.25;
 color:#7b8798;
}
.hosting-price-box strong{
 margin-top:2px;
 font-size:16px;
 line-height:1.28;
 color:#172033;
}
.hosting-price-box.registration strong{color:#16803b}
.hosting-price-box.renewal strong{color:#2f6fed}
.hosting-plan-prices>small{
 display:block;
 margin-top:1px;
 font-size:10px;
 line-height:1.35;
 color:#8a96aa;
 white-space:normal;
}

.domain-search-result{
 overflow:visible !important;
}
.domain-search-result-main{
 flex:1 1 auto;
 min-width:220px;
}
.domain-price-panel{
 flex:0 0 205px;
 min-width:205px;
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:6px;
 padding:8px;
 border:1px solid #b9e2c8;
 border-radius:10px;
 background:#fff;
 box-sizing:border-box;
}
.domain-price-item{
 min-width:0;
 padding:6px 7px;
 border-radius:7px;
 background:#f8fafc;
 text-align:center;
}
.domain-price-item span,
.domain-price-item strong{
 display:block;
 white-space:nowrap;
}
.domain-price-item span{
 font-size:9px;
 line-height:1.25;
 color:#64748b;
}
.domain-price-item strong{
 margin-top:2px;
 font-size:14px;
 line-height:1.3;
 color:#172033;
}
.domain-price-item.registration strong{color:#16803b}
.domain-price-item.renewal strong{color:#2f6fed}
.domain-price-panel>small{
 grid-column:1/-1;
 display:block;
 text-align:center;
 font-size:9px;
 line-height:1.35;
 color:#7a869b;
 white-space:normal;
 overflow:visible;
}

.hosting-pending-list>div>span:nth-child(2) strong,
.hosting-pending-list>div>span:nth-child(2) small{
 display:block;
 white-space:nowrap;
}
.hosting-pending-list>div>span:nth-child(2) small{
 margin-top:2px;
 font-size:10px;
 color:#8a96aa;
}

@media(max-width:1250px){
 .hosting-plan-prices{
  flex-basis:155px;
  min-width:155px;
 }
}
@media(max-width:900px){
 .hosting-plan-head{
  flex-direction:column;
 }
 .hosting-plan-prices{
  width:100%;
  min-width:0;
  flex:none;
  grid-template-columns:1fr 1fr;
  text-align:left;
 }
 .hosting-plan-prices>small{
  grid-column:1/-1;
 }
}
@media(max-width:800px){
 .domain-search-result{
  flex-direction:column;
  align-items:stretch;
 }
 .domain-price-panel{
  width:100%;
  min-width:0;
  flex:none;
 }
}


/* v13.53 featured hosting template */
.hosting-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:14px}
.hosting-feature-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:590px;padding:28px 24px 18px;border:1px solid #dfe7f2;border-radius:16px;background:#fff;box-shadow:0 7px 26px rgba(34,48,74,.06)}
.hosting-feature-card-basic{border-color:#b9d1ff;background:linear-gradient(180deg,#f4f8ff 0,#fff 32%)}
.hosting-feature-card-ecommerce{border-color:#cfe8c9;background:linear-gradient(180deg,#f6fff1 0,#fff 32%)}
.hosting-feature-card-multisite{border-color:#dfd1ff;background:linear-gradient(180deg,#faf6ff 0,#fff 32%)}
.hosting-ribbon{position:absolute;top:0;left:0;z-index:2;min-width:92px;padding:10px 18px 10px 14px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;clip-path:polygon(0 0,100% 0,76% 100%,0 100%)}
.hosting-feature-card-basic .hosting-ribbon{background:#2767f3}
.hosting-feature-card-ecommerce .hosting-ribbon{background:#2ca11d}
.hosting-feature-card-multisite .hosting-ribbon{background:#7041d6}
.hosting-feature-icon{width:92px;height:92px;margin:8px auto 10px;display:grid;place-items:center;border-radius:24px;font-size:48px;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),0 8px 24px rgba(36,53,88,.08)}
.hosting-feature-card-basic .hosting-feature-icon{background:linear-gradient(145deg,#b8d6ff,#5f9bff);color:#165dc8}
.hosting-feature-card-ecommerce .hosting-feature-icon{background:linear-gradient(145deg,#d7ffc9,#75cf58)}
.hosting-feature-card-multisite .hosting-feature-icon{background:linear-gradient(145deg,#ddceff,#9a78eb);color:#6338c4}
.hosting-feature-card h2{margin:4px 0 18px;text-align:center;font-size:22px;line-height:1.22;color:#111827}
.hosting-dual-pricing{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1}
.hosting-dual-pricing>div{padding:13px 8px 10px;text-align:center}
.hosting-dual-pricing>div+div{border-left:1px solid #e7ebf1}
.hosting-dual-pricing span,.hosting-dual-pricing strong{display:block}
.hosting-dual-pricing span{font-size:11px;color:#77839a}
.hosting-dual-pricing strong{margin-top:4px;font-size:18px;line-height:1.25}
.hosting-feature-card-basic .hosting-dual-pricing strong{color:#155fee}
.hosting-feature-card-ecommerce .hosting-dual-pricing strong{color:#1e8d19}
.hosting-feature-card-multisite .hosting-dual-pricing strong{color:#6b3fd4}
.hosting-period{margin:4px 0 8px;text-align:center;font-size:10px;color:#7e899c}
.hosting-feature-list{display:grid;gap:9px;margin:12px 0 18px}
.hosting-feature-list>div{display:flex;align-items:center;gap:9px;font-size:13px;color:#243047}
.hosting-feature-list>div>span{width:18px;height:18px;display:grid;place-items:center;flex:none;border-radius:50%;color:#fff;font-size:11px;font-weight:800}
.hosting-feature-card-basic .hosting-feature-list>div>span{background:#1766f4}
.hosting-feature-card-ecommerce .hosting-feature-list>div>span{background:#1c9a28}
.hosting-feature-card-multisite .hosting-feature-list>div>span{background:#7344d8}
.hosting-feature-request-form{display:grid;gap:9px;margin-top:auto}
.hosting-feature-request-form label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#475569}
.hosting-feature-request-form input{width:100%;height:40px;box-sizing:border-box;border:1px solid #dfe6ef;border-radius:9px;padding:0 11px;font:inherit;background:#fff}
.hosting-feature-request-btn{height:42px;border-radius:8px!important;font-weight:800!important}
.hosting-feature-card-basic .hosting-feature-request-btn{background:#fff!important;color:#1766f4!important;border:1px solid #1766f4!important}
.hosting-feature-card-ecommerce .hosting-feature-request-btn{background:#199329!important;color:#fff!important;border:1px solid #199329!important}
.hosting-feature-card-multisite .hosting-feature-request-btn{background:#fff!important;color:#7041d6!important;border:1px solid #7041d6!important}
.hosting-plan-badge{margin:14px auto 0;padding:7px 12px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;font-size:11px;text-align:center}
.hosting-feature-card-basic .hosting-plan-badge{color:#155fee}
.hosting-feature-card-ecommerce .hosting-plan-badge{color:#16803b}
.hosting-feature-card-multisite .hosting-plan-badge{color:#6b3fd4}
.hosting-compare-strip{margin:20px 0 26px;padding:16px 18px;display:flex;align-items:center;gap:14px;border:1px solid #dfe8f7;border-radius:12px;background:#f8fbff}
.hosting-compare-icon{width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:50%;background:#1766f4;color:#fff;font-size:20px}
.hosting-compare-strip strong,.hosting-compare-strip span{display:block}
.hosting-compare-strip strong{font-size:14px}
.hosting-compare-strip span{margin-top:2px;font-size:12px;color:#68758b}
.hosting-monthly-section{margin-top:12px}
.hosting-monthly-heading{margin-bottom:12px}
.hosting-monthly-heading h2{margin:4px 0 2px}
.hosting-monthly-heading p{margin:0;color:#6f7c90}
.hosting-monthly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hosting-monthly-card{padding:18px}
.hosting-monthly-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}
.hosting-monthly-kicker{font-size:10px;font-weight:800;letter-spacing:.05em;color:#f43f5e}
.hosting-monthly-top h3{margin:4px 0 0;font-size:18px;line-height:1.25}
.hosting-monthly-price{text-align:right;min-width:120px}
.hosting-monthly-price span,.hosting-monthly-price strong{display:block}
.hosting-monthly-price span{font-size:9px;color:#7e899c}
.hosting-monthly-price strong{margin:1px 0 4px;font-size:14px;line-height:1.3}
@media(max-width:980px){.hosting-featured-grid{grid-template-columns:1fr}.hosting-feature-card{min-height:0}.hosting-monthly-grid{grid-template-columns:1fr}}
@media(max-width:560px){.hosting-dual-pricing{grid-template-columns:1fr}.hosting-dual-pricing>div+div{border-left:0;border-top:1px solid #e7ebf1}.hosting-monthly-top{flex-direction:column}.hosting-monthly-price{text-align:left}}


/* v13.54 hosting yearly/monthly toggle */
.hosting-billing-toggle-wrap{
 display:flex;
 justify-content:flex-end;
 margin:-6px 0 14px;
}
.hosting-billing-toggle{
 display:inline-flex;
 align-items:center;
 gap:4px;
 padding:4px;
 border:1px solid #dfe6ef;
 border-radius:999px;
 background:#f8fafc;
 box-shadow:0 3px 10px rgba(34,48,74,.04);
}
.hosting-billing-tab{
 min-width:90px;
 height:36px;
 padding:0 16px;
 border:0;
 border-radius:999px;
 background:transparent;
 color:#64748b;
 font:inherit;
 font-size:12px;
 font-weight:700;
 cursor:pointer;
 transition:all .15s ease;
}
.hosting-billing-tab:hover{
 color:#172033;
 background:#fff;
}
.hosting-billing-tab.active{
 background:#172033;
 color:#fff;
 box-shadow:0 2px 8px rgba(23,32,51,.14);
}
.hosting-billing-view{
 display:none;
}
.hosting-billing-view.active{
 display:block;
}
.hosting-billing-view-monthly .hosting-monthly-section{
 margin-top:0;
}
@media(max-width:700px){
 .hosting-billing-toggle-wrap{
  justify-content:stretch;
 }
 .hosting-billing-toggle{
  width:100%;
 }
 .hosting-billing-tab{
  flex:1 1 50%;
 }
}


/* v13.55 monthly cards use the same featured template as yearly */
.hosting-featured-grid-monthly{
 margin-top:14px;
}
.hosting-billing-view-monthly .hosting-feature-card{
 min-height:590px;
}
.hosting-billing-view-monthly .hosting-feature-card h2{
 min-height:54px;
 display:flex;
 align-items:center;
 justify-content:center;
}
.hosting-billing-view-monthly .hosting-compare-strip{
 margin-top:20px;
}


/* v13.56 hosting payment screenshot upload */
.hosting-pending-list>div{
 grid-template-columns:minmax(0,1.2fr) auto auto auto !important;
}
.hosting-pending-actions{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 flex-wrap:wrap;
 gap:7px;
}
.hosting-payment-btn{
 height:30px;
 padding:0 11px;
 border:1px solid #2f6fed;
 border-radius:8px;
 background:#2f6fed;
 color:#fff;
 font:inherit;
 font-size:11px;
 font-weight:700;
 cursor:pointer;
}
.hosting-payment-btn:hover{background:#255bcc}
.hosting-payment-submitted{
 padding:4px 8px;
 border-radius:999px;
 background:#e9f8ef;
 color:#16803b !important;
 font-size:10px !important;
 font-weight:700;
 white-space:nowrap;
}
body.hosting-payment-modal-open{overflow:hidden}
.hosting-payment-modal[hidden]{display:none!important}
.hosting-payment-modal{
 position:fixed;
 inset:0;
 z-index:10000;
 display:grid;
 place-items:center;
 padding:20px;
}
.hosting-payment-modal-backdrop{
 position:absolute;
 inset:0;
 background:rgba(15,23,42,.55);
 backdrop-filter:blur(2px);
}
.hosting-payment-modal-dialog{
 position:relative;
 z-index:1;
 width:min(560px,100%);
 max-height:calc(100vh - 40px);
 overflow:auto;
 padding:24px;
 border-radius:16px;
 background:#fff;
 box-shadow:0 24px 70px rgba(15,23,42,.28);
}
.hosting-payment-modal-close{
 position:absolute;
 top:12px;
 right:14px;
 width:34px;
 height:34px;
 border:0;
 border-radius:50%;
 background:#f3f6fa;
 color:#334155;
 font-size:23px;
 line-height:1;
 cursor:pointer;
}
.hosting-payment-modal-head h2{
 margin:4px 0 5px;
 font-size:22px;
}
.hosting-payment-modal-head p{
 margin:0;
 color:#64748b;
 font-size:12px;
}
.hosting-payment-summary{
 margin:18px 0;
 display:grid;
 grid-template-columns:1.2fr 1.2fr .8fr;
 gap:8px;
}
.hosting-payment-summary>div{
 padding:10px;
 border:1px solid #e2e8f0;
 border-radius:10px;
 background:#f8fafc;
}
.hosting-payment-summary span,
.hosting-payment-summary strong{display:block}
.hosting-payment-summary span{
 font-size:9px;
 text-transform:uppercase;
 letter-spacing:.04em;
 color:#94a3b8;
}
.hosting-payment-summary strong{
 margin-top:3px;
 font-size:12px;
 overflow-wrap:anywhere;
}
.hosting-payment-dropzone{
 min-height:145px;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:4px;
 border:2px dashed #cbd5e1;
 border-radius:12px;
 background:#fafcff;
 cursor:pointer;
 text-align:center;
 transition:.15s ease;
}
.hosting-payment-dropzone:hover{
 border-color:#2f6fed;
 background:#f5f8ff;
}
.hosting-payment-dropzone input{display:none}
.hosting-payment-upload-icon{
 width:40px;
 height:40px;
 display:grid;
 place-items:center;
 border-radius:50%;
 background:#eaf1ff;
 color:#2f6fed;
 font-size:22px;
 font-weight:700;
}
.hosting-payment-dropzone strong{
 margin-top:3px;
 font-size:13px;
}
.hosting-payment-dropzone small{
 color:#8a96aa;
 font-size:10px;
}
.hosting-payment-preview{
 position:relative;
 margin-top:12px;
 padding:8px;
 border:1px solid #dfe6ef;
 border-radius:11px;
 background:#f8fafc;
}
.hosting-payment-preview img{
 display:block;
 width:100%;
 max-height:280px;
 object-fit:contain;
 border-radius:7px;
 background:#fff;
}
.hosting-payment-preview button{
 position:absolute;
 top:14px;
 right:14px;
 border:0;
 border-radius:7px;
 padding:6px 9px;
 background:rgba(15,23,42,.82);
 color:#fff;
 font-size:10px;
 cursor:pointer;
}
.hosting-payment-modal-note{
 margin-top:11px;
 padding:10px 12px;
 border-radius:9px;
 background:#fff8db;
 color:#7c5a00;
 font-size:11px;
}
.hosting-payment-modal-actions{
 margin-top:16px;
 display:flex;
 justify-content:flex-end;
 gap:8px;
}
.cp-btn.hosting-payment-cancel-modal{
 background:#fff!important;
 color:#475569!important;
 border:1px solid #d7dee8!important;
}
.cp-btn.hosting-payment-submit-btn{
 background:#219653!important;
 color:#fff!important;
 border:1px solid #219653!important;
}
.cp-btn.hosting-payment-submit-btn:hover{
 background:#187b43!important;
}
@media(max-width:700px){
 .hosting-pending-list>div{grid-template-columns:1fr!important}
 .hosting-pending-actions{justify-content:flex-start}
 .hosting-payment-summary{grid-template-columns:1fr}
 .hosting-payment-modal-actions{flex-direction:column-reverse}
 .hosting-payment-modal-actions .cp-btn{width:100%}
}


/* v13.57 payment proof drag & drop */
.hosting-payment-dropzone{
 transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.hosting-payment-dropzone.drag-over{
 border-color:#2f6fed !important;
 background:#eef4ff !important;
 box-shadow:0 0 0 4px rgba(47,111,237,.10);
 transform:translateY(-1px);
}
.hosting-payment-dropzone.has-file{
 border-color:#8fd0a8;
 background:#f3fbf6;
}
.hosting-payment-dropzone-or{
 margin:2px 0;
 font-size:10px;
 color:#94a3b8;
 text-transform:uppercase;
 letter-spacing:.08em;
}
.hosting-payment-dropzone b{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:30px;
 padding:0 12px;
 border:1px solid #d5deea;
 border-radius:8px;
 background:#fff;
 color:#334155;
 font-size:11px;
 font-weight:700;
}
.hosting-payment-dropzone.drag-over .hosting-payment-upload-icon{
 background:#2f6fed;
 color:#fff;
}


/* v13.59 payment customer note */
.hosting-payment-btn{
 height:auto;
 min-height:30px;
 white-space:nowrap;
}
.hosting-payment-customer-note{
 display:grid;
 gap:5px;
 margin-top:12px;
 color:#475569;
 font-size:11px;
 font-weight:700;
}
.hosting-payment-customer-note>span small{
 color:#94a3b8;
 font-weight:500;
}
.hosting-payment-customer-note textarea{
 width:100%;
 min-height:76px;
 resize:vertical;
 box-sizing:border-box;
 border:1px solid #d7e0eb;
 border-radius:10px;
 padding:10px 11px;
 background:#fff;
 color:#172033;
 font:inherit;
 font-size:12px;
 line-height:1.4;
 outline:none;
}
.hosting-payment-customer-note textarea:focus{
 border-color:#2f6fed;
 box-shadow:0 0 0 3px rgba(47,111,237,.08);
}
.hosting-payment-customer-note>small{
 color:#94a3b8;
 font-size:9px;
 font-weight:500;
}

/* v13.60 hosting cancel + domain payment */
.hosting-cancel-order-form,.domain-pending-actions form{margin:0}
.hosting-cancel-order-btn{min-height:30px;padding:0 10px;border:1px solid #efb0b0;border-radius:8px;background:#fff;color:#c93636;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.hosting-cancel-order-btn:hover{background:#fff3f3}
.domain-pending-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.domain-payment-btn{min-height:30px;padding:0 11px;border:1px solid #2f6fed;border-radius:8px;background:#2f6fed;color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.domain-payment-btn:hover{background:#255bcc}
.domain-payment-summary{grid-template-columns:1.4fr .8fr!important}
.domain-pending-list>div{grid-template-columns:minmax(0,1fr) auto auto minmax(300px,auto)!important}
@media(max-width:800px){.domain-pending-list>div{grid-template-columns:1fr!important}.domain-pending-actions{justify-content:flex-start}}


/* v13.75 - Wider customer portal Services Registry table */
.cp-main:has(.portal-service-table){
  max-width:none;
}
.service-registry-panel .table-wrap{
  width:100%;
  overflow-x:auto;
}
.portal-service-table{
  width:100%;
  min-width:1180px;
  table-layout:auto;
}
.portal-service-table th:nth-child(1),
.portal-service-table td:nth-child(1){
  width:18%;
  min-width:190px;
}
.portal-service-table th:nth-child(2),
.portal-service-table td:nth-child(2){
  width:10%;
  min-width:125px;
}
.portal-service-table th:nth-child(3),
.portal-service-table td:nth-child(3){
  width:9%;
  min-width:105px;
}
.portal-service-table th:nth-child(4),
.portal-service-table td:nth-child(4){
  width:7%;
  min-width:80px;
}
.portal-service-table th:nth-child(5),
.portal-service-table td:nth-child(5){
  width:10%;
  min-width:115px;
}
.portal-service-table th:nth-child(6),
.portal-service-table td:nth-child(6){
  width:38%;
  min-width:390px;
}
.portal-service-table th:nth-child(7),
.portal-service-table td:nth-child(7){
  width:8%;
  min-width:70px;
  text-align:center;
}
.portal-service-table .service-description{
  white-space:nowrap;
  line-height:1.45;
}
@media(max-width:900px){
  .portal-service-table{
    min-width:1050px;
  }
  .portal-service-table th:nth-child(6),
  .portal-service-table td:nth-child(6){
    min-width:340px;
  }
}


/* v13.76 portal billing running balance */
.portal-billing-table .portal-running-balance{
  min-width:125px;
  white-space:nowrap;
  font-weight:700;
}
.portal-billing-table th:nth-child(7){
  min-width:125px;
  white-space:nowrap;
}

.cp-sidebar nav a{position:relative}.cp-nav-unread{margin-left:auto}

.cp-topbar{gap:10px}
.cp-top-chat-notification{flex:0 0 auto}
@media(max-width:700px){.cp-account-name{display:none}.cp-top-chat-notification{margin-left:auto}}

/* v14.52 — keep client chat notification with right-side account controls */
.cp-account{margin-left:auto!important;display:flex!important;align-items:center!important;gap:12px!important}
.cp-account .cp-top-chat-notification{margin-left:0!important;margin-right:8px!important;flex:0 0 auto!important}
@media(max-width:700px){
 .cp-account{margin-left:auto!important;gap:8px!important}
 .cp-account .cp-top-chat-notification{margin-right:2px!important}
}


/* v14.56 — Customer Portal mobile service-card safeguard */
@media (max-width:649px){
 .cp-main .portal-service-summary.service-summary-clickable{
   display:grid!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;
   width:100%!important;
   overflow:visible!important;
 }
 .cp-main .portal-service-summary .service-stat-card{
   min-width:0!important;
   width:100%!important;
   min-height:68px!important;
   padding:9px!important;
   gap:8px!important;
 }
 .cp-main .portal-service-summary .service-stat-card>div{
   display:block!important;
   min-width:0!important;
   flex:1!important;
 }
 .cp-main .portal-service-summary .service-stat-card strong{
   display:block!important;
   font-size:17px!important;
   margin:0 0 3px!important;
 }
 .cp-main .portal-service-summary .service-stat-card div span{
   display:block!important;
   font-size:9.5px!important;
   white-space:normal!important;
   line-height:1.15!important;
 }
 .cp-main .portal-service-summary .service-stat-arrow{display:none!important}
}

/* v14.84 Customer Portal DNS */
.portal-dns-request-list .dns-request-card{margin-bottom:8px}
@media(max-width:650px){.cp-sidebar .cp-nav-unread{margin-left:auto}}

.cp-optional{font-size:10px;color:#94a3b8;font-weight:400;margin-left:4px}

/* v14.67 — Customer Portal deep-navy shell to match STARIZ CRM */
:root{
 --cp-shell-navy:#13213b;
 --cp-shell-navy-2:#172946;
 --cp-shell-border:rgba(255,255,255,.10);
 --cp-shell-muted:#90a0bc;
 --cp-shell-active:#c42f72;
 --cp-shell-active-2:#b82565;
}
body{background:#f5f7fb}
.cp-topbar{
 background:var(--cp-shell-navy)!important;
 border-bottom:1px solid var(--cp-shell-border)!important;
 box-shadow:0 8px 24px rgba(15,23,42,.10);
 color:#fff;
}
.cp-brand{color:#fff!important}
.cp-brand strong{color:#fff!important}
.cp-brand small{color:#90a0bc!important}
.cp-logo{
 background:linear-gradient(145deg,#fb4266,#e91e54)!important;
 box-shadow:0 8px 20px rgba(233,30,84,.22);
}
.cp-menu-btn{
 color:#fff!important;
 background:rgba(255,255,255,.08)!important;
 border:1px solid rgba(255,255,255,.12)!important;
}
.cp-account{color:#fff}
.cp-avatar{
 background:#ef315d!important;
 color:#fff!important;
 box-shadow:0 0 0 3px rgba(255,255,255,.08);
}
.cp-account-name strong{color:#fff!important}
.cp-account-name small{color:#9facc3!important}
.cp-account>a{color:#d8e0ee!important}
.cp-account>a:hover{color:#fff!important}
.cp-top-chat-notification{
 color:#fff!important;
 background:rgba(255,255,255,.055)!important;
 border:1px solid rgba(255,255,255,.17)!important;
 box-shadow:none!important;
}
.cp-top-chat-notification:hover{
 background:rgba(255,255,255,.11)!important;
 border-color:rgba(255,255,255,.28)!important;
}
.cp-top-chat-notification svg{stroke:#fff!important}
.cp-top-chat-notification b{background:#f43f5e!important;color:#fff!important}

.cp-sidebar{
 background:linear-gradient(180deg,var(--cp-shell-navy) 0%,#102038 100%)!important;
 border-right:1px solid var(--cp-shell-border)!important;
 color:#fff;
 box-shadow:10px 0 28px rgba(15,23,42,.04);
}
.cp-sidebar nav a{
 color:#dbe4f2!important;
 border:1px solid transparent;
 transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.cp-sidebar nav a span{color:#8596b3!important}
.cp-sidebar nav a:hover{
 color:#fff!important;
 background:rgba(255,255,255,.065)!important;
 border-color:rgba(255,255,255,.04)!important;
 transform:translateX(1px);
}
.cp-sidebar nav a:hover span{color:#fff!important}
.cp-sidebar nav a.active{
 color:#fff!important;
 background:linear-gradient(135deg,var(--cp-shell-active),var(--cp-shell-active-2))!important;
 border-color:rgba(255,255,255,.08)!important;
 box-shadow:0 8px 20px rgba(196,47,114,.20)!important;
 font-weight:700!important;
}
.cp-sidebar nav a.active span{color:#fff!important}
.cp-nav-unread{background:#f43f5e!important;color:#fff!important}
.cp-help{
 border:1px solid rgba(255,255,255,.10)!important;
 background:rgba(255,255,255,.055)!important;
 color:#fff!important;
}
.cp-help strong{color:#fff!important}
.cp-help span{color:#9facc3!important}

/* retain a bright content workspace against the dark shell */
.cp-main{background:#f5f7fb}

@media(max-width:820px){
 .cp-sidebar{box-shadow:18px 0 40px rgba(15,23,42,.28)!important}
}

/* v14.70 SoftwaresPlanet portal shared shell */
.cp-logo-image{width:54px!important;background:#fff!important;padding:4px 6px!important;border-radius:10px!important;overflow:hidden}.cp-logo-image img{display:block;width:100%;height:100%;object-fit:contain}.cp-brand:has(.cp-logo-image) strong{font-size:16px}
