/* Commerce light palette. Dark retains the original product surfaces. */
html[data-theme="light"]{
  color-scheme:light;--bg:#f4f7fb;--surface:#fff;--line:#cbd6e3;--text:#182b42;--muted:#52657b;--ice:#245fa5;
  --commerce-panel:#fff;--commerce-soft:#edf3fa;--commerce-line:#cbd6e3;--commerce-ink:#182b42;--commerce-muted:#52657b;--commerce-blue:#245fa5;--commerce-success:#176247;--commerce-amber:#805112;--commerce-danger:#a03535
}
html[data-theme="light"] body{background:#f4f7fb;color:var(--commerce-ink)}
html[data-theme="light"] :is(button,a,input,select,summary):focus-visible{outline-color:#2869b5}
html[data-theme="light"] :is(.brand small,.eyebrow,.client-note,.field-note,.field-label,.support-line,.site-footer,.hero-from>span,.hero-trust,.hero-trust>p,.hero-trust>span,.hero-lead,.hero-copy>.client-note,.section-head>p,.card-description){color:var(--commerce-muted)}
html[data-theme="light"] :is(h1,h2,h3,h4,.hero-copy h1,.hero-trust>strong,.plan-price>strong,.plan-top h3,.plan-quota-line strong,.service-numbers strong,.checkout-plan-head h3,.checkout-price>strong,.checkout-terms strong){color:var(--commerce-ink)}
html[data-theme="light"] .button-primary{background:#245fa5;color:#fff;border-color:#245fa5;box-shadow:0 3px 10px #245fa51a}
html[data-theme="light"] .button-primary:hover:not(:disabled){background:#184c89;border-color:#184c89}
html[data-theme="light"] :is(.button-secondary,.icon-button){color:#244d7b;background:#eef4fb;border-color:#bbccdf;box-shadow:none}
html[data-theme="light"] :is(.button-secondary,.icon-button):hover:not(:disabled){color:#173e6c;background:#e0ecf9;border-color:#6e99ca}
html[data-theme="light"] .text-button{color:#245fa5;background:transparent;border-color:transparent}
html[data-theme="light"] .text-button:hover:not(:disabled){color:#174a85;border-color:#93b3d7;background:#eaf2fc}
html[data-theme="light"] :is(.button,.icon-button,.text-button):disabled{background:#e9eef4;border-color:#d0dae6;color:#6f7d8e;box-shadow:none;opacity:1}
html[data-theme="light"] :is(.destructive,.table-actions .permanent-delete,.orders-bulk-actions .permanent-delete){color:#a03535}
html[data-theme="light"] :is(.button-danger,.admin-dialog .button.permanent-delete){background:#a23d3b;border-color:#a23d3b;color:white}
html[data-theme="light"] :is(input,select){background:#fff;border-color:#aebfd2;color:#182b42;box-shadow:none;accent-color:#2869b5}
html[data-theme="light"] input::placeholder{color:#66788e}
html[data-theme="light"] :is(input,select):disabled{background:#e9eef4;border-color:#ccd6e2;color:#6b7b8f}
html[data-theme="light"] :is(input[type="checkbox"],.order-select-input){accent-color:#2869b5}
html[data-theme="light"] :is(.language select,.language option){color:#233e5c;background:#f4f7fb}
html[data-theme="light"] .language svg{color:#49647f}
html[data-theme="light"] :is(.site-header,.admin-header){background:#f8faffed;border-color:#cfdae6}
html[data-theme="light"] .admin-header{background:#f8faff}
html[data-theme="light"] .header-inner nav{color:#425e7b}
html[data-theme="light"] .header-inner nav a:hover{color:#174d89}
html[data-theme="light"] :is(.hero-values li,.plan-common>span,.plan-use,.plan-quota-line>span,.plan-period,.plan-price>span,.service-numbers>div>span:last-child,.service-copy>p,.service-benefits p,.client-format-grid p,.compatibility-platforms,.compatibility-section>.field-note,.purchase-steps p,.faq-grid details>p,.closing-cta p:not(.eyebrow)){color:var(--commerce-muted)}
html[data-theme="light"] :is(.hero-values svg,.plan-common svg,.plan-top>svg,.client-format-grid article>svg,.purchase-steps li>span){color:#2d6bae}
html[data-theme="light"] .hero-copy>.eyebrow>span:first-child{background:#2869b5;box-shadow:0 0 9px #2869b548}
html[data-theme="light"] .eyebrow-divider{border-color:#a7b8cc}
html[data-theme="light"] :is(.order-section,.service-section,.compatibility-section,.purchase-process,.faq-section,.closing-cta,.site-footer,.faq-grid details){border-color:var(--commerce-line)}
html[data-theme="light"] .plan-grid{background:#fff;border-color:#bacbdd;box-shadow:0 8px 28px #203a5910}
html[data-theme="light"] :is(.plan-card+.plan-card,.plan-quota-line){border-color:#cbd8e6}
html[data-theme="light"] .plan-card{background:#fff}
html[data-theme="light"] .plan-card:before{background:radial-gradient(ellipse at 65% 0,#dceaff,transparent 80%)}
html[data-theme="light"] .plan-card:hover{background:#f1f6fd}
html[data-theme="light"] .plan-card:focus-within{box-shadow:inset 0 0 0 2px #3976bb}
html[data-theme="light"] .plan-balanced{background:#eaf2fc;box-shadow:inset 0 0 0 1px #5c8fc8}
html[data-theme="light"] .plan-number{color:#627b97}
html[data-theme="light"] .plan-recommend{background:#255e9d;border-color:#255e9d;color:#fff}
html[data-theme="light"] :is(.client-format-grid article,.lookup-card,.order-panel){background:#fff;border-color:#b4c7de;color:var(--commerce-ink);box-shadow:0 5px 22px #203a5909}
html[data-theme="light"] .lookup-input-row>input{background:#f9fbff;border-color:#a6bbd3;color:#182b42}
html[data-theme="light"] :is(#lookup-form>label,.lookup-card .field-note,.order-plan-summary,.delivery-heading p,.usage-grid span,.workspace-precision,.workspace-empty){color:var(--commerce-muted)}
html[data-theme="light"] :is(.client-format-grid article,.purchase-steps li,.usage-grid,.usage-grid>div+div,.order-key,.order-refresh-row,.address-block,.workspace-details,.site-footer){border-color:var(--commerce-line)}
html[data-theme="light"] :is(.faq-grid summary:after,.site-footer>a:last-child,.support-line>a){color:#245fa5}
html[data-theme="light"] .support-line>a{ text-decoration-color:#8cadcf}
html[data-theme="light"] .support-line>a:hover{color:#123f75;text-decoration-color:#245fa5}
html[data-theme="light"] :is(.site-footer>p:not(.footer-support),.site-footer>.footer-support,.site-footer>.footer-support>a){color:#52657b}
html[data-theme="light"] :is(.inline-status,.order-message,.payment-warning){color:#765322}
html[data-theme="light"] :is(.order-state,.network-pill){background:#e6f0fd;border-color:#92b5dc;color:#235b98}
html[data-theme="light"] .order-state[data-state="fulfilled"]{background:#e7f5ed;border-color:#8dbfa5;color:#176247}
html[data-theme="light"] :is(.order-state[data-state="expired"],.order-state[data-state="payment_review"],.order-state[data-state="fulfillment_failed"]){background:#fff2dc;border-color:#d9b478;color:#805112}
html[data-theme="light"] .delivery-heading>svg{color:#237354}
html[data-theme="light"] .status-dot{background:#2c77bd}
/* The canvas uses deeper route colors in light mode, including while paused. */
html[data-theme="light"] .network-art{background:radial-gradient(ellipse at 50% 45%,#e0efff,#f1f6fd 75%);border-radius:16px;box-shadow:0 12px 30px #1f3f6812}
html[data-theme="light"] .network-art canvas{background:radial-gradient(ellipse at 50% 45%,#dfedff,#f1f6fd 75%)}
html[data-theme="light"] .network-art .art-logo{background:linear-gradient(145deg,#fff,#dfebfc);border-color:#89aace;box-shadow:0 0 40px #3679b91b,inset 0 1px 2px #fff}
html[data-theme="light"] .network-art :is(.art-topline,.art-motion,.art-center-title){color:#345a83}
html[data-theme="light"] .network-art .art-geography strong{color:#174b82}
html[data-theme="light"] .network-art .art-geography>span{color:#4b6380}
html[data-theme="light"] .art-controls button{background:#e8f0fb;color:#355c89;border-color:#a7bfdc}
html[data-theme="light"] .art-controls [aria-pressed="true"]{background:#255e9d;color:#fff;border-color:#255e9d}
html[data-theme="light"] :is(.network-art[data-art-scene="stream"],.network-art[data-art-scene="privacy"]) .art-controls [aria-pressed="true"]{background:#255e9d;border-color:#255e9d;color:#fff}
html[data-theme="light"] .art-feedback{color:#345a83}
/* Native dialogs need their own palette because they are in the top layer. */
html[data-theme="light"] :is(dialog,.checkout-dialog,#order-workspace){background:#f8faff;color:#182b42;border-color:#a7bdd5;box-shadow:0 24px 100px #17334f35}
html[data-theme="light"] dialog::backdrop,html[data-theme="light"] #order-workspace::backdrop{background:#152c4666;backdrop-filter:blur(7px)}
html[data-theme="light"] :is(.dialog-shell>p,.checkout-shell>p.checkout-next,.checkout-shell>.support-line,.checkout-shell>.support-line>a,.checkout-shell .dialog-heading .eyebrow,.checkout-selection>.field-label,.checkout-terms span,.checkout-price>span){color:#52657b}
html[data-theme="light"] :is(.dialog-plan,.checkout-selection){background:#eaf2fd;color:#1d426e!important;border-color:#a6bfdc}
html[data-theme="light"] .checkout-shell .dialog-heading>.icon-button{background:#edf3fb;color:#365a82;border-color:#c0cfdf}
html[data-theme="light"] .checkout-progress li{color:#5d718b;border-color:#c4d3e4}
html[data-theme="light"] .checkout-progress li>span{color:#58789d}
html[data-theme="light"] .checkout-progress li[aria-current="step"]{color:#174f90;border-color:#3475bd}
html[data-theme="light"] .checkout-progress li[aria-current="step"]>span{color:#245fa5}
html[data-theme="light"] :is(.checkout-terms,.checkout-terms>div+div,.checkout-shell>.support-line){border-color:#b7cade}
html[data-theme="light"] .checkout-plan-head .network-pill{background:#e1f4ef;color:#176750;border-color:#8ec5b3}
html[data-theme="light"] .checkout-shell>.inline-status{color:#82551a}
html[data-theme="light"] .checkout-next svg{color:#2d6bae}
html[data-theme="light"] #order-workspace :is(.lookup-card,.order-panel,.amount-block){background:transparent;box-shadow:none}
html[data-theme="light"] #order-workspace :is(.workspace-merchant,.workspace-main){background:#fff;border-color:#bdccdd;box-shadow:0 3px 12px #17334f07}
html[data-theme="light"] #order-workspace .workspace-main{background:linear-gradient(155deg,#f0f8ff,#fff 68%);border-color:#a3bdd9}
html[data-theme="light"] #order-workspace #order-workspace-lookup:not([hidden]){background:#edf3fb;border-color:#c2d2e4}
html[data-theme="light"] #order-workspace :is(.workspace-merchant-brand,#workspace-plan-name,.workspace-plan-facts dd,.order-key code,#payment-address,.usage-grid strong,.delivery-heading h4){color:#182b42}
html[data-theme="light"] #order-workspace :is(.workspace-state-row h3,.workspace-merchant-product>.field-label,.workspace-plan-facts dt,.order-plan-summary,.workspace-amount-label>.field-label,.workspace-address>.field-label,.workspace-precision,.watch-status,.order-message,.workspace-details summary,.workspace-details p,.workspace-details .field-note,.order-support,#lookup-form label,.usage-grid span,.workspace-empty){color:#52657b}
html[data-theme="light"] #order-workspace :is(.workspace-plan-facts,.workspace-plan-facts>div,.workspace-merchant>.order-key,.order-refresh-row,.usage-grid,.usage-grid>div+div,.workspace-details,.lookup-card){border-color:#c7d4e3}
html[data-theme="light"] #order-workspace :is(#toggle-order-lookup,.order-support a){color:#245fa5}
html[data-theme="light"] #order-workspace .order-key{background:transparent;border-color:#d4bb88}
html[data-theme="light"] #order-workspace .workspace-order-identity>.field-label{color:#7d520f}
html[data-theme="light"] #order-workspace .order-key>p{color:#805b29}
html[data-theme="light"] #order-workspace .order-key code{background:#f2f6fb;border-color:#c4d2e2}
html[data-theme="light"] #order-workspace .usage-grid{background:#f1f6fc}
html[data-theme="light"] #order-workspace .field-label{color:#52657b}
html[data-theme="light"] #order-workspace .exact-amount strong{color:#152e47}
html[data-theme="light"] #order-workspace .order-key .icon-button{background:#eef4fb;color:#245481;border-color:#b2c6de}
html[data-theme="light"] #order-workspace .order-key .order-save-primary{background:#e5edf8;color:#214c7d;border-color:#8caace}
html[data-theme="light"] #order-workspace .workspace-save-jump{color:#805112}
html[data-theme="light"] #order-workspace #payment-amount .amount-integer{color:#152e47}
html[data-theme="light"] #order-workspace #payment-amount .amount-fraction{color:#176c79}
html[data-theme="light"] #order-workspace .exact-amount>span{color:#176d5b}
html[data-theme="light"] #order-workspace .network-pill{background:#e1f4ed;color:#14654f;border-color:#8cbfad}
html[data-theme="light"] #order-workspace :is(#copy-address,#copy-amount){background:#e6f4f2;border-color:#96c4bd;color:#17685c}
html[data-theme="light"] #order-workspace .workspace-payment-meta{background:#f4f1e9;border-color:#d8c9ab}
html[data-theme="light"] #order-workspace :is(.countdown,#payment-countdown,#payment-countdown-prefix,#payment-countdown-suffix){color:#805112}
html[data-theme="light"] #order-workspace .countdown-digits{background:#fff9ed;border-color:#c9ae79;box-shadow:inset 0 1px #fff;color:#805112}
html[data-theme="light"] #order-workspace .countdown-colon{color:#996b24}
html[data-theme="light"] #order-workspace .payment-qr-image{box-shadow:0 3px 14px #1c40541a;border:1px solid #d8e1eb}
html[data-theme="light"] #order-workspace .qr-state{color:#52657b}
html[data-theme="light"] #order-workspace .workspace-test-note{background:#edf3fd;border-color:#9ab9da;color:#245481}
html[data-theme="light"] #order-workspace .order-state{background:#e6f0fd;border-color:#92b5dc;color:#235b98}
html[data-theme="light"] #order-workspace .order-state[data-state="fulfilled"]{background:#e7f5ed;border-color:#8dbfa5;color:#176247}
html[data-theme="light"] #order-workspace :is(.order-state[data-state="expired"],.order-state[data-state="payment_review"],.order-state[data-state="fulfillment_failed"],.order-state[data-state="test_fulfillment_failed"]){background:#fff2dc;border-color:#d9b478;color:#805112}
html[data-theme="light"] :is(#store-toast,#admin-toast,.toast){background:#163c67;color:#fff;border-color:#315d8e;box-shadow:0 7px 25px #17334f30}
/* Administration: credentials, settings, API diagnostics and ledgers. */
html[data-theme="light"] :is(.admin-sidebar,.auth-card,.admin-card,.metric-card,.secret-box,.monitor-address,.plan-editor,.api-test-result,.qr-admin-preview,.admin-test-current,.admin-test-order-key){background:#fff;border-color:#bdccdd;color:#182b42}
html[data-theme="light"] .admin-sidebar{background:#edf3fa;border-color:#c7d5e6}
html[data-theme="light"] .admin-sidebar nav button{color:#415b77}
html[data-theme="light"] .admin-sidebar nav button:hover{background:#dfeafa;color:#1d4d83}
html[data-theme="light"] .admin-sidebar nav [aria-current="page"]{background:#dceafa;border-color:#7da5d2;color:#1c4d86}
html[data-theme="light"] :is(.signed-in strong,.metric-card>strong,.monitor-status strong,.large-code,.secret-box>code,.panel-plan-results code,.plan-editor legend,.qr-admin-controls>code,.order-detail-grid dd,.admin-test-current code,.admin-test-order-key code){color:#182b42}
html[data-theme="light"] :is(.admin-connection,.auth-intro>p:last-of-type,.auth-card form>p,.auth-card form>label,.security-grid form>label,.signed-in span,.sidebar-note,.metric-card>span,.metric-card>small,.monitor-status span,.monitor-address small,.subheading,.form-grid label>span,.form-grid small,.plan-mapping-grid label>span,.panel-plan-results,.settings-draft-summary,.section-draft-state,.section-save-status,.orders-list-status,.order-detail-grid dt,.admin-dialog .field-note,.api-test-bar>p,.api-test-summary,.api-check-list p,.api-check-list li>span,.qr-admin-preview>p,.qr-admin-preview>span,.plan-editor>label>span,.plan-editor-fields label>span,.admin-test-current>span,.admin-test-order-key>span,.admin-test-dialog .admin-test-impact,.admin-test-dialog #admin-test-plan-summary,.admin-test-result-status){color:#52657b}
html[data-theme="light"] .admin-connection[data-connected="true"]{color:#216b50}
html[data-theme="light"] :is(.sidebar-note,.section-save-bar,.panel-plan-results,.api-test-bar,.api-check-list li,.payment-qr-manager){border-color:#c7d4e3}
html[data-theme="light"] :is(.large-code,.admin-dialog .confirm-order){background:#f0f5fb;border-color:#bacde1;color:#244a73}
html[data-theme="light"] .admin-notice{background:#eaf2fd;border-color:#9ab9db;color:#28517e}
html[data-theme="light"] :is(.admin-notice[data-error="true"],.mapping-result,.setup-help){background:#fff3df;border-color:#d7b77f;color:#79521e}
html[data-theme="light"] .mapping-result[data-state="matched"]{background:#e7f5ed;border-color:#8fbda5;color:#216348}
html[data-theme="light"] .settings-nav{background:#e9f0f9;border-color:#bbccdf}
html[data-theme="light"] .settings-nav button{color:#4c6581}
html[data-theme="light"] .settings-nav [aria-selected="true"]{background:#fff;border-color:#77a1cf;color:#21568e;box-shadow:0 2px 5px #264d7b0c}
html[data-theme="light"] .draft-dot{background:#a97528}
html[data-theme="light"] :is(.section-save-status[data-error="true"],.orders-list-status[data-error="true"],.api-test-result[data-ready="false"] h3,.api-check-list li[data-ok="false"]>strong){color:#87591d}
html[data-theme="light"] .api-test-result h3{color:#254d7c}
html[data-theme="light"] .api-check-list li>strong{color:#246b4e}
html[data-theme="light"] .qr-admin-controls input[type="file"]::file-selector-button{background:#e5eefb;border-color:#9bb9da;color:#254f80}
html[data-theme="light"] :is(.orders-filter,.orders-bulkbar){background:#edf3fa;border-color:#bdccdd}
html[data-theme="light"] :is(.orders-select-page,#orders-selection-count,#orders-page-label,.orders-table small,.orders-table .table-plan){color:#536c87}
html[data-theme="light"] .orders-table-wrap{background:#fff;border-color:#bdccdd}
html[data-theme="light"] .orders-table th{background:#eaf1fa;border-color:#bdccdd;color:#48627f}
html[data-theme="light"] .orders-table td{border-color:#d1dce8}
html[data-theme="light"] .orders-table tr[data-selected="true"]{background:#dfeeff}
html[data-theme="light"] :is(.orders-table .order-copy,.orders-table .order-copy code,.orders-table .table-amount){color:#203c5b}
html[data-theme="light"] .table-actions button{color:#245fa5}
html[data-theme="light"] .table-actions .retry-action{color:#805112}
html[data-theme="light"] .table-actions .order-recycle-action{color:#945247}
html[data-theme="light"] #orders-bulk-delete{background:#fff0ea;color:#9a4335;border-color:#d6a99e}
html[data-theme="light"] #orders-bulk-restore{background:#e7f5ed;color:#216348;border-color:#91bda7}
html[data-theme="light"] :is(.delete-verification,.admin-test-warning){background:#fff4e2;border-color:#d7b77d;color:#78531c}
html[data-theme="light"] :is(.delete-verification label,.delete-verification p,.admin-dialog .confirm-error,.admin-test-result-status[data-error="true"]){color:#9b3b2f}
html[data-theme="light"] .admin-test-warning p{color:#745b35}
html[data-theme="light"] .admin-test-dialog .admin-test-label{background:#fff3da;border-color:#d3b67b;color:#74521a}
html[data-theme="light"] .admin-test-state{color:#285780}
html[data-theme="light"] .admin-test-state[data-state="fulfilled"]{color:#216348}
html[data-theme="light"] .admin-test-state[data-state="test_fulfillment_failed"]{color:#87591d}
html[data-theme="light"] .admin-test-progress{background-image:linear-gradient(90deg,transparent,#3a7bc3,transparent)}
html[data-theme="light"] .empty-state{background:#fff;border-color:#c3d2e3;color:#536c87}
html[data-theme="light"] .auth-decoration>span{background:linear-gradient(145deg,#dae8f9b0,#f3f7fc);border-color:#8facce}
html[data-theme="light"] .auth-decoration>span:nth-child(2){border-color:#5f8fc7}
html[data-theme="light"] .auth-decoration>span:nth-child(3){background:linear-gradient(145deg,#c5daf3,#eff5fd);border-color:#7e9fc6}
html[data-theme="light"] .auth-decoration>b{color:#496c95}
@media(max-width:1050px){html[data-theme="light"] .orders-table tr{background:#fff;border-color:#bdccdd}html[data-theme="light"] .orders-table tr[data-selected="true"]{background:#e4f0ff}}
@media(max-width:700px){
  html[data-theme="light"] .network-art{background:none;box-shadow:none}
  html[data-theme="light"] .art-controls button{background:#e8f0fb;color:#355c89;border-color:#a7bfdc}
  html[data-theme="light"] .art-controls [aria-pressed="true"]{background:#255e9d;color:#fff;border-color:#255e9d}
  html[data-theme="light"] :is(.network-art[data-art-scene="stream"],.network-art[data-art-scene="privacy"]) .art-controls [aria-pressed="true"]{background:#255e9d;border-color:#255e9d;color:#fff}
  html[data-theme="light"] .art-feedback{color:#52657b}
  html[data-theme="light"] #order-workspace .order-key{background:#fff8eb;border:1px solid #d7bb88}
}
@media(max-width:760px){
  html[data-theme="light"] [data-mobile-nav]>[data-mobile-toggle]{color:#315a85}
  html[data-theme="light"] [data-mobile-nav][data-menu-open="true"]>[data-mobile-toggle]{background:#e2edfa}
  html[data-theme="light"] [data-mobile-nav] [data-mobile-menu]{background:#f8faff;border-bottom:1px solid #cbd6e3;box-shadow:0 16px 24px #17334f24;scrollbar-color:#8da8c7 transparent}
  html[data-theme="light"] [data-mobile-nav][data-menu-open="true"] [data-mobile-menu]>:is(a,button){color:#24486f;border-color:#d1deec}
  html[data-theme="light"] [data-mobile-nav][data-menu-open="true"] [data-mobile-menu]>:is(a,button):hover{background:#e5effb;color:#174a85}
  html[data-theme="light"] [data-mobile-nav] [data-mobile-menu] [data-mobile-nav-arrow]{color:#577aa1}
}
@media(max-width:440px){html[data-theme="light"] .orders-table .order-actions-cell{border-color:#cfdae7}}
