:root{--theme-primary:#246BFD;--theme-ink:#101B35;--theme-soft:#E6F2FF}
body.panel-shell-body,body.customer-v103-body{--fh-orange:var(--theme-primary);--fh-blue:var(--theme-primary);background:var(--theme-soft);color:var(--theme-ink)}
:is(.panel-shell-body,.customer-v103-body) :is(.btn,button.btn,.admin-scroll-top){background:var(--theme-primary)!important;color:#fff!important;border-color:var(--theme-primary)!important;box-shadow:0 7px 18px #101b3510!important}
:is(.panel-shell-body,.customer-v103-body) .btn.alt{background:var(--theme-soft)!important;color:var(--theme-ink)!important;border-color:#cddded!important}
:is(.panel-shell-body,.customer-v103-body) .btn.danger{background:#be123c!important;border-color:#be123c!important;color:#fff!important}
:is(.panel-shell-body,.customer-v103-body) :is(.panel,.stat-card,.dashboard-card){border:1px solid #d8e5f5;border-radius:16px;box-shadow:0 7px 25px #101b3508}
:is(.panel-shell-body,.customer-v103-body) :is(input,select,textarea){max-width:100%;min-width:0;font:inherit;border-color:#cfdeef;border-radius:9px;background:#fff;color:var(--theme-ink)}
:is(.panel-shell-body,.customer-v103-body) :is(input,select,textarea):focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}
.panel-shell-body .product-pro-editor{padding:24px;background:#f6faff;border:1px solid #d8e5f5;border-radius:16px;gap:22px}.product-pro-editor :is(h2,h3){color:var(--theme-ink)}.product-pro-editor label{display:grid;gap:8px;font-weight:600}.product-pro-editor :is(input,select){min-height:46px;padding:12px}.product-pro-editor :is(input[type=checkbox],input[type=radio]){min-height:0}.product-pro-editor textarea{padding:14px;min-height:110px}.product-pro-editor>button{position:static;justify-self:start}.product-pro-editor details{background:#fff;border:1px solid #d8e5f5;border-radius:12px;padding:18px}.product-pro-editor summary{cursor:pointer;font-weight:700}
.fc-page{padding-top:32px!important}.fc-hero{border-radius:18px;margin-inline:auto;width:calc(100% - 32px)}.fh-currency-notice{background:var(--theme-soft);color:var(--theme-ink);text-align:center;padding:10px 16px;font-size:13px}.fh-currency-menu>div>a{display:block;padding:10px;color:var(--theme-ink);text-decoration:none}
.fh-panel-theme-toggle{border:1px solid #d0deef;border-radius:9px;padding:10px;background:var(--theme-soft);color:var(--theme-ink);cursor:pointer;font:inherit}.fh-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.fh-ops-grid label{display:grid;gap:8px}.fh-ops-grid :is(input,select,textarea){width:100%;padding:12px}.fh-ops-grid .full{grid-column:1/-1}.fh-ops-card{padding:24px}.fh-ops-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.fh-ops-table{width:100%;border-collapse:collapse}.fh-ops-table :is(td,th){padding:14px;text-align:left;border-bottom:1px solid #d8e5f5}.fh-ops-overflow{overflow:auto}.fh-status-list{display:grid;gap:16px}.fh-status-row{display:flex;justify-content:space-between;gap:18px;padding:22px;background:#fff;border:1px solid #d8e5f5;border-radius:14px}.fh-status-row strong{color:var(--theme-ink)}.fh-status-row span{color:#62718c}.fh-status-badge{border-radius:20px;background:var(--theme-soft);padding:6px 12px;font-size:14px;white-space:nowrap}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body){background:#0c172a;color:#e6f2ff}html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) :is(.side,.main,.panel,.customer-v103-side,.customer-v103-main,.customer-v103-panel,.stat-card,.dashboard-card,.fh-ops-card,.product-pro-editor,.product-pro-editor details){background:#14233e!important;color:#e6f2ff!important;border-color:#304765!important}html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) :is(h1,h2,h3,h4,label,th,td,.side a,.muted){color:#d6e4f7!important}html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) :is(input,select,textarea){background:#203452!important;color:#fff!important;border-color:#3b5477!important}html[data-theme=dark] .fh-status-row{background:#14233e;border-color:#304765}html[data-theme=dark] .fh-status-row :is(strong,span){color:#d6e4f7}
@media(max-width:760px){.fh-ops-grid{grid-template-columns:minmax(0,1fr)}.fh-ops-card{padding:20px 16px}.panel-shell-body :is(.grid.two,.grid.three,.grid.four,.admin-grid,.svc-edit-grid){grid-template-columns:minmax(0,1fr)!important;min-width:0}.panel-shell-body .main{min-width:0;padding:20px 14px}.panel-shell-body :is(.panel,.product-pro-editor){min-width:0;max-width:100%;padding:20px 16px}.panel-shell-body .row-actions{flex-wrap:wrap}.panel-shell-body .table-wrap{max-width:100%;overflow:auto}.panel-shell-body :is(.panel-top,.section-head,.quick-item){flex-wrap:wrap;gap:14px}.fc-page{padding-top:22px!important}.fc-hero{width:calc(100% - 24px)}.fh-status-row{flex-direction:column}.fh-ops-table{min-width:650px}}
@media(min-width:1101px){.fh-promotion-nav{display:none!important}}
.wp-page-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:25px 0}.wp-page-links a{background:var(--theme-soft);border:1px solid var(--theme-primary);border-radius:24px;padding:12px 22px;color:var(--theme-primary);text-decoration:none;font-weight:700}.wp-project-section :is(article,p){overflow-wrap:anywhere}.fc-about details{border-bottom:1px solid #d8e5f5;padding:18px 0}.fc-about summary{font-weight:700;cursor:pointer}.fh-currency-menu>div{min-width:220px}.panel-shell-body .product-pro-editor .grid{min-width:0}
html[data-theme=dark] :is(.panel-brand,.customer-v103-brand,.fh-panel-mobilebar>a,.fh-header .brand){background:#fff!important;border-radius:10px;padding:5px 8px!important}html[data-theme=dark] .fh-ops-table{color:#d6e4f7}html[data-theme=dark] .fh-ops-table :is(th,td){border-color:#304765}.fh-catalog-imports{margin-bottom:22px}.fh-catalog-imports>summary{font-weight:700;cursor:pointer;padding:8px 0}.fh-ops-tabs>span{align-self:center}
@media(min-width:1101px){#fh-primary-menu a.fh-promotion-nav{display:none!important}}
.fh-ops-grid :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;accent-color:var(--theme-primary)}.fh-ops-card label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px}.fh-ops-card textarea{max-width:100%;width:100%}

.fh-product-detail>summary{font-size:17px}.fh-product-detail[open]>summary{margin-bottom:20px}
html[data-theme=dark] .customer-v103-body :is(.customer-v103-card,.fh-inventory-intro,.fh-inventory-list,.fh-dashboard-card,.fh-billing-item,.fh-wallet-card,.customer-detail-hero,.customer-detail-tabs,.customer-ticket-detail-head,.sms-center-tabs,.sms-contact-picker,.sj-help,.account-security-note,.fh-dashboard-welcome,.fh-dashboard-stat,.fh-inventory-card,.fh-billing-summary,.fh-wallet-summary){background:#14233e!important;border-color:#304765!important;color:#e6f2ff!important}html[data-theme=dark] .customer-v103-body :is(p,small,dt,dd,summary,.fh-inventory-note,.customer-v103-card-head){color:#c0cee4!important}html[data-theme=dark] .customer-v103-body :is(.fh-inventory-secondary,.ghost){background:#203452!important;color:#e6f2ff!important;border-color:#3b5477!important}html[data-theme=dark] .customer-v103-body :is(.customer-detail-tabs button,.sms-center-tabs button){background:#203452;color:#e6f2ff}html[data-theme=dark] .customer-v103-body :is(.customer-detail-tabs button.active,.sms-center-tabs button.active){background:var(--theme-primary)!important;color:#fff!important}
/* Shared dark surfaces keep legacy tables and checkbox labels readable. */
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) table{background:#14233e!important;color:#d6e4f7!important}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) :is(thead,th){background:#203452!important;color:#e6f2ff!important;border-color:#304765!important}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) :is(tbody,tr,td){background:transparent!important;border-color:#304765!important}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) label{background:transparent!important}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) :is(.admin-toggle,.check-row,.checkbox-grid,.checklist){background:#203452!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] .panel-shell-body :is(.popup-page-picker,.seo-detail){background:#203452!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] :is(.svc-eyebrow,.fc-kicker,.fh-inventory-eyebrow,.fh-dashboard-eyebrow){color:#8bb5ff!important}
html[data-theme=dark] .customer-v103-body :is(.fh-care-card,.fh-care-ticket,.fh-care-message){background:#14233e!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] :is(.fd-price-table,.fh-ops-table){background:#14233e!important;color:#d6e4f7!important}
html[data-theme=dark] :is(.fd-price-table,.fh-ops-table) :is(thead,th){background:#203452!important;color:#e6f2ff!important}
html[data-theme=dark] :is(.fd-price-table,.fh-ops-table) :is(td,th){border-color:#304765!important}
html[data-theme=dark] :is(.connect-page,.sms-v132-page,.sjy){background:#0c172a!important;color:#e6f2ff!important}
html[data-theme=dark] :is(.campaign-v94-row,.internet-package-grid>article,.sms-v132-solution-grid>article,.sjy-info,.software-v99-hero,.reference-hd-card,.reference-hd-summary){background:#14233e!important;color:#e6f2ff!important;border-color:#304765!important}
html[data-theme=dark] :is(.connect-page,.sms-v132-page,.sjy,.software-v99-hero,.reference-hd-card,.reference-hd-summary,.campaign-v94-row) :is(h1,h2,h3,h4,label,summary){color:#e6f2ff!important}
html[data-theme=dark] :is(.connect-page,.sms-v132-page,.sjy,.software-v99-hero,.reference-hd-card,.reference-hd-summary,.campaign-v94-row) :is(p,li,small){color:#c0cee4!important}
html[data-theme=dark] :is(.infra-form,.sy-how-public-grid>article,.references-hd-process){background:#14233e!important;color:#e6f2ff!important;border-color:#304765!important}
html[data-theme=dark] .infra-form :is(input,select,textarea){background:#203452!important;color:#fff!important;border-color:#3b5477!important}
html[data-theme=dark] :is(.sjy-empty,.sjy-template,.sy-explain-grid>article){background:#14233e!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] :is(.software-product-card,.software-catalog-stats,.software-search-v86,.software-empty-v86,.software-buybox,.software-concept-content,.software-v88-tech,.software-pro-side-card){background:#14233e!important;color:#e6f2ff!important;border-color:#304765!important}
html[data-theme=dark] :is(.software-product-card,.software-buybox,.software-concept-content,.software-v88-tech,.software-pro-side-card) :is(h1,h2,h3,h4,a:not(.btn),label){color:#e6f2ff!important}
html[data-theme=dark] :is(.software-showcase,.software-buybox,.software-concept-content,.software-v88-tech,.software-pro-side-card) :is(p,small,li){color:#c0cee4!important}
html[data-theme=dark] :is(.software-search-v86 input,.software-sort-v86 select){background:#203452!important;color:#e6f2ff!important;border-color:#304765!important}
html[data-theme=dark] .customer-v103-body .fh-inventory-stats>article{background:#14233e!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] .customer-v103-body .fh-inventory-stats :is(b,strong){color:#e6f2ff!important}

/* Customer currency affects service display only. */
.customer-v103-top-tools .fh-panel-currency{display:inline-flex;gap:4px;padding:4px;border:1px solid #cbd5e1;border-radius:12px;flex-shrink:0}
.customer-v103-top-tools .fh-panel-currency a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:38px;padding:6px 10px;border-radius:8px;text-decoration:none;font-weight:700;color:inherit}
.customer-v103-top-tools .fh-panel-currency a[aria-current="true"]{background:var(--theme-primary,#246BFD);color:#fff}
.fh-panel-currency-note{margin:0 0 18px;padding:12px 16px;background:var(--theme-soft,#E6F2FF);color:#101B35;border-radius:12px;font-size:13px;line-height:1.6}
@media(max-width:767px){.customer-v103-top-tools{flex-wrap:wrap;gap:10px}.fh-panel-currency-note{padding:10px 12px}}
html[data-theme=dark] .customer-v103-body .fh-panel-currency-note{background:#203452;color:#d6e4f7!important;border:1px solid #3b5477}

/* Read-only renewal overview. Wide logs stay inside their own scroll region. */
.fh-renewal-monitor{display:grid;gap:22px;margin:24px 0}.fh-renewal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fh-renewal-stats>a{text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:12px;min-width:0}.fh-renewal-stats strong{font-size:32px;color:var(--theme-primary,#246BFD)}.fh-renewal-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:24px 0}.fh-renewal-filters label{display:grid;gap:8px;flex:1;min-width:180px}.fh-renewal-filters :is(input,select){padding:12px;min-height:46px;width:100%;box-sizing:border-box;font:inherit}.fh-renewal-statuses{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.fh-renewal-statuses a{padding:10px 14px;background:var(--theme-soft,#E6F2FF);color:var(--theme-ink,#101B35);border-radius:10px;text-decoration:none}.fh-renewal-monitor .fh-ops-overflow{max-width:100%;min-width:0;overflow:auto}.fh-renewal-monitor table{min-width:720px}.fh-renewal-monitor td{max-width:330px;overflow-wrap:anywhere;vertical-align:top}.fh-renewal-monitor pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-width:300px}.fh-renewal-pages{display:flex;gap:12px;justify-content:end;margin-top:18px}.fh-renewal-monitor section{min-width:0}.fh-renewal-monitor :is(summary,a,button){min-height:44px}.fh-renewal-monitor [id]{scroll-margin-top:90px}
@media(max-width:1000px){.fh-renewal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fh-renewal-filters{display:grid;grid-template-columns:minmax(0,1fr)}.fh-renewal-filters label{min-width:0}.fh-renewal-filters button{width:100%}.fh-renewal-stats{gap:10px}.fh-renewal-stats>a{padding:16px!important;font-size:14px}.fh-renewal-statuses a{box-sizing:border-box;width:100%}}
html[data-theme=dark] .fh-renewal-filters :is(input,select){background:#203452;color:#fff;border-color:#3d5375}
.fh-manual-domain{min-width:0}.fh-manual-domain :is(h2,b,p,a){overflow-wrap:anywhere}.fh-manual-domain .customer-detail-grid{margin:24px 0}.fh-manual-domain .customer-info-grid>article{min-width:0}.fh-manual-domain .renewal-card .btn{white-space:normal}.fh-manual-domain-table td{overflow-wrap:anywhere;vertical-align:top}@media(max-width:760px){.fh-manual-domain-table{min-width:0!important;display:block}.fh-manual-domain-table thead{display:none}.fh-manual-domain-table tbody{display:grid;gap:16px}.fh-manual-domain-table tr{display:block;border:1px solid #d8e5f5;border-radius:12px;padding:8px}.fh-manual-domain-table td{display:block;width:auto;padding:10px;border:0}.fh-manual-domain-table td[data-label]:before{content:attr(data-label);display:block;font-size:12px;font-weight:700;color:var(--theme-primary,#246BFD);margin-bottom:6px}.fh-manual-domain .customer-detail-metrics{grid-template-columns:minmax(0,1fr)!important}.fh-manual-domain .customer-detail-title{min-width:0;flex-wrap:wrap}}
.fh-manual-domain-table :is(td,b){white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}@media(max-width:760px){.fh-manual-domain-table tr,.fh-manual-domain-table tbody{min-width:0;max-width:100%;box-sizing:border-box}.fh-manual-domain-table td{box-sizing:border-box;max-width:100%}.fh-manual-domain-table td b{display:block}}
.fh-workflow-space{margin-top:24px}.fh-notice-card{padding:20px 0;border-bottom:1px solid #d8e5f5;overflow-wrap:anywhere}.fh-ops-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:520px;font-size:13px}.fh-ops-card .fh-ops-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.fh-ops-card .fh-ops-grid select{min-width:0;max-width:100%}.fh-notice-card label{display:flex;gap:10px;align-items:flex-start}.fh-notice-card input[type=checkbox]{width:18px;flex-shrink:0}.fh-ops-card h2{overflow-wrap:anywhere}
.fh-workflow-form>.btn{align-self:end;min-height:46px;height:auto}
/* Dark mode must cover dashboard totals and mobile navigation as well as detail cards. */
html[data-theme=dark] body.customer-v103-body .fh-dashboard-stats>a{background:#14233e!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] body.customer-v103-body .fh-dashboard-stats :is(b,small){color:#d6e4f7!important}
html[data-theme=dark] body.customer-v103-body .customer-v103-nav a{color:#d6e4f7!important}
html[data-theme=dark] body.customer-v103-body .customer-v103-nav a.active{background:#203452!important;color:#a9c8ff!important}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) .fh-panel-mobilebar{background:#14233e!important;border-color:#304765!important;color:#e6f2ff!important}
html[data-theme=dark] :is(.panel-shell-body,.customer-v103-body) .fh-panel-mobilebar>span{color:#c0cfe4!important}
html[data-theme=dark] .panel-shell-body :is(.invoice-admin-edit,.live-admin-chat,.live-session-pane,.live-quick-replies){background:#14233e!important;color:#e6f2ff!important;border-color:#304765!important}
html[data-theme=dark] .panel-shell-body .fh-admin-invoices td[data-label]:before{color:#b7cbe5}

.fh-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fh-readiness-grid>*{min-width:0;overflow-wrap:anywhere}.fh-readiness-grid form{padding:18px;border:1px solid #cfdeef;border-radius:12px}.fh-readiness-grid label{display:block}.fh-readiness-grid input:not([type=checkbox]){width:100%}.fh-readiness-grid input[type=checkbox]{width:18px;min-height:18px}.fh-readiness-grid h2{font-size:20px}.panel-shell-body code{overflow-wrap:anywhere;white-space:normal}@media(max-width:760px){.fh-readiness-grid{grid-template-columns:minmax(0,1fr)}}
