/* STAX Design System - KRDS principles adapted for a private SaaS product. */
:root{
--stax-blue-50:#eff6ff;--stax-blue-100:#dbeafe;--stax-blue-600:#2563eb;--stax-blue-700:#1d4ed8;--stax-blue-800:#1e40af;
--stax-gray-0:#fff;--stax-gray-50:#f8fafc;--stax-gray-100:#f1f5f9;--stax-gray-200:#e2e8f0;--stax-gray-300:#d1d5db;--stax-gray-600:#475569;--stax-gray-800:#1f2937;--stax-gray-900:#111827;--stax-gray-950:#09090b;
--stax-green-700:#15803d;--stax-amber-700:#b45309;--stax-red-600:#dc2626;--stax-red-700:#b91c1c;
--stax-space-1:.25rem;--stax-space-2:.5rem;--stax-space-3:.75rem;--stax-space-4:1rem;--stax-space-6:1.5rem;--stax-space-8:2rem;--stax-space-10:2.5rem;--stax-space-12:3rem;--stax-space-16:4rem;
--stax-radius-control:.75rem;--stax-radius-card:1.0625rem;--stax-radius-modal:1.25rem;
--stax-color-primary:var(--stax-blue-600);--stax-color-primary-hover:var(--stax-blue-700);--stax-color-primary-pressed:var(--stax-blue-800);
--stax-color-background:#f5f7fb;--stax-color-background-secondary:#eef2f7;--stax-color-surface:#fff;--stax-color-input:#fff;
--stax-color-text:#111827;--stax-color-text-secondary:#475569;--stax-color-border:#d9e0e8;
--stax-color-success:var(--stax-green-700);--stax-color-warning:var(--stax-amber-700);--stax-color-danger:var(--stax-red-600);--stax-color-focus:#1d4ed8;
--stax-container:77.5rem;--stax-header-height:4rem;--stax-sidebar-width:15.5rem;
--stax-button-height-sm:2.25rem;--stax-button-height-md:2.75rem;--stax-button-height-lg:3rem;--stax-input-height:3rem;
--stax-card-padding:1.5rem;--stax-card-gap:1.5rem;--stax-section-gap:3rem;--stax-shadow-focus:0 0 0 .1875rem rgba(37,99,235,.24)
}
.stax-dark{--stax-color-background:#0b0d12;--stax-color-background-secondary:#1d2430;--stax-color-surface:#151922;--stax-color-input:#111827;--stax-color-text:#f8fafc;--stax-color-text-secondary:#cbd5e1;--stax-color-border:#374151;--stax-color-primary:#3b82f6;--stax-color-primary-hover:#2563eb;--stax-color-primary-pressed:#1d4ed8;--stax-color-focus:#60a5fa}
html{font-size:100%;overflow-x:clip;scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{margin:0;background:var(--stax-color-background);color:var(--stax-color-text);font-family:Pretendard,"Pretendard GOV",Inter,"Noto Sans KR",system-ui,sans-serif;font-size:1rem;font-weight:400;line-height:1.6;overflow-wrap:anywhere}*,*::before,*::after{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}button,input,select,textarea{font:inherit}a{color:inherit}.skip:focus{z-index:1000!important;top:var(--stax-space-4)!important;left:var(--stax-space-4)!important}
.p-header,.site-header{min-height:var(--stax-header-height);height:var(--stax-header-height);border-bottom:1px solid var(--stax-color-border);background:color-mix(in srgb,var(--stax-color-surface) 96%,transparent);backdrop-filter:blur(16px)}.p-header{padding-inline:max(var(--stax-space-6),calc((100vw - var(--stax-container))/2));grid-template-columns:1fr auto 1fr;gap:var(--stax-space-6)}.header-inner{width:100%;max-width:var(--stax-container);height:100%;margin-inline:auto;padding-inline:var(--stax-space-6);grid-template-columns:1fr auto 1fr;gap:var(--stax-space-6)}.p-brand,.brand-group{justify-self:start;min-width:0}.p-header nav,.primary-nav{justify-self:center;min-width:0}.p-actions,.header-account{justify-self:end;min-width:0}.ui-v10 #content,.ui-v7>main:not(.mail-reader),.site-footer{width:min(var(--stax-container),calc(100% - 3rem));margin-inline:auto}.home-platform :where(.easy-hero,.easy-intro,.easy-feature-grid,.easy-story,.easy-steps>header,.easy-cta){width:min(var(--stax-container),calc(100% - 3rem));margin-inline:auto}
body :where(h1,h2,h3,h4,p){overflow-wrap:anywhere}body.ui-v10 h1,body.ui-v7 h1,body.home-platform h1{font-size:2rem!important;font-weight:700!important;line-height:1.35!important;letter-spacing:-.025em!important}body.ui-v10 h2,body.ui-v7 h2,body.home-platform h2{font-size:1.625rem!important;font-weight:700!important;line-height:1.4!important;letter-spacing:-.02em!important}body.ui-v10 h3,body.ui-v7 h3,body.home-platform h3{font-size:1.25rem!important;font-weight:700!important;line-height:1.45!important}body.ui-v10 :where(p,li,dd),body.ui-v7 :where(p,li,dd),body.home-platform :where(p,li,dd){font-size:1rem;line-height:1.6}body.ui-v10 :where(small,.overline,.eyebrow),body.ui-v7 :where(small,.overline,.eyebrow),body.home-platform :where(small,.overline,.eyebrow){font-size:.875rem;line-height:1.5}
:where(.btn,.button,button.button,.header-cta,.compose-button,.store-login,.text-button,.theme-toggle){min-width:5.5rem;min-height:var(--stax-button-height-md);height:auto;padding:.6875rem 1.25rem;border:1px solid transparent;border-radius:var(--stax-radius-control)!important;display:inline-flex;align-items:center;justify-content:center;gap:var(--stax-space-2);font-size:1rem!important;font-weight:700!important;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}:where(.btn,.button,button.button,.header-cta,.compose-button):hover{transform:none}:where(.btn,.button,button.button,.header-cta,.compose-button):active{transform:scale(.98)}:where(.btn,.button,button.button,.header-cta,.compose-button,.store-login,.text-button):focus-visible{outline:0;box-shadow:var(--stax-shadow-focus)}:where(.btn,.button,button.button,.header-cta,.compose-button,.store-login,.text-button)[disabled],:where(.btn,.button)[aria-disabled="true"]{opacity:.48;cursor:not-allowed;pointer-events:none;transform:none;box-shadow:none}.btn.small,.button.small{min-height:var(--stax-button-height-sm);padding:.4375rem 1.25rem}.btn.primary,.button.primary,.header-cta,.auth-submit,.compose-button{background:var(--stax-color-primary);border-color:var(--stax-color-primary);color:#fff}.btn.primary:hover,.button.primary:hover,.header-cta:hover,.auth-submit:hover,.compose-button:hover{background:var(--stax-color-primary-hover);border-color:var(--stax-color-primary-hover)}.btn.primary:active,.button.primary:active,.header-cta:active,.auth-submit:active,.compose-button:active{background:var(--stax-color-primary-pressed);border-color:var(--stax-color-primary-pressed)}.btn.ghost,.button.secondary{background:var(--stax-color-surface);border-color:var(--stax-color-border);color:var(--stax-color-text)}.danger,.danger-link,.button.danger{border-color:var(--stax-color-danger)!important;color:var(--stax-color-danger)!important}.stax-button-loading{position:relative;cursor:wait!important}.stax-button-loading::before{content:"";width:1rem;height:1rem;border:.125rem solid currentColor;border-right-color:transparent;border-radius:50%;animation:stax-spin .75s linear infinite}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea){width:100%;min-width:0;min-height:var(--stax-input-height);padding:.6875rem 1rem;border:1px solid var(--stax-color-border)!important;border-radius:var(--stax-radius-control)!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;font-size:1rem!important;line-height:1.5}textarea{height:auto;min-height:7rem;resize:vertical}:where(input,select,textarea):focus{outline:0;border-color:var(--stax-color-focus)!important;box-shadow:var(--stax-shadow-focus)!important}:where(input,textarea)::placeholder{color:var(--stax-color-text-secondary);opacity:.82}:where(.form-stack,.grid-form,.settings-form,.issue-form,.code-form){gap:1.25rem}:where(.form-stack,.grid-form,.settings-form,.issue-form,.code-form) label{display:grid;gap:var(--stax-space-2);font-size:.9375rem;font-weight:600;line-height:1.5}.form-card{width:100%;max-width:26.25rem;padding:var(--stax-space-8)}.form-card .btn,.auth-submit{width:100%;min-height:3.25rem;margin-top:var(--stax-space-6)}.stax-password-field{position:relative;display:block;min-width:0}.stax-password-field input{padding-right:5.5rem}.stax-password-toggle{position:absolute;right:.5rem;top:50%;translate:0 -50%;min-width:4.25rem;min-height:2.5rem;padding:.375rem .625rem;border:0;border-radius:var(--stax-radius-control);background:transparent;color:var(--stax-color-primary);font-size:.875rem;font-weight:700;cursor:pointer}.stax-password-toggle:focus-visible{outline:2px solid var(--stax-color-focus);outline-offset:1px}.field-status,.form-error,.signup-submit-status{margin-top:var(--stax-space-2);font-size:.875rem;line-height:1.5}.form-error,.notice.error,.status-notice.error{padding:var(--stax-space-4);border:1px solid color-mix(in srgb,var(--stax-color-danger) 55%,var(--stax-color-border));border-left:.25rem solid var(--stax-color-danger);border-radius:var(--stax-radius-control);background:color-mix(in srgb,var(--stax-color-danger) 8%,var(--stax-color-surface));color:var(--stax-color-danger)}.agreement-check,.form-card .check{padding:var(--stax-space-4);border:1px solid var(--stax-color-border);border-radius:var(--stax-radius-control);background:var(--stax-color-background-secondary)}
:where(.form-card,.service-tile,.status-card,.admin-card,.admin-box,.store-product,.wallet-card-v9,.pay-form-v9,.shop-wallet,.order-delivery,.data-panel,.license-panel,.number-overview,.number-result,.table-card,.auth-card,.account-head>article){border:1px solid var(--stax-color-border)!important;border-radius:var(--stax-radius-card)!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text);box-shadow:none!important;padding:var(--stax-card-padding)}:where(.service-tile,.store-product,.status-card,.admin-card){min-height:11.25rem;height:auto}:where(.service-tile,.store-product,.status-card,.admin-card):hover{transform:none!important;border-color:color-mix(in srgb,var(--stax-color-primary) 45%,var(--stax-color-border))!important}:where(.easy-feature-grid,.store-grid,.status-grid,.admin-grid,.number-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--stax-card-gap)}.status-summary,.note-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--stax-card-gap)}.p-section,.home-section,.shop-guide,.status-page,.number-shell,.admin-items{margin-block:var(--stax-section-gap)}.table,.table-wrap{width:100%;overflow-x:auto;border:1px solid var(--stax-color-border);border-radius:var(--stax-radius-card);background:var(--stax-color-surface)}.tr{min-height:3.5rem;padding:.75rem 1rem;align-items:center;border-bottom:1px solid var(--stax-color-border)}.tr:last-child{border-bottom:0}.tr.th{background:var(--stax-color-background-secondary);font-size:.875rem;font-weight:700;color:var(--stax-color-text-secondary)}.empty,.empty-state,.store-empty{padding:var(--stax-space-8);text-align:center;color:var(--stax-color-text-secondary)}.notice,.status-notice,.policy-note{padding:var(--stax-space-4);border:1px solid var(--stax-color-border);border-radius:var(--stax-radius-control);background:var(--stax-color-background-secondary)}.warning,.home-v5-caution{padding:var(--stax-space-4);border:1px solid color-mix(in srgb,var(--stax-color-warning) 55%,var(--stax-color-border));border-left:.25rem solid var(--stax-color-warning);border-radius:var(--stax-radius-control);background:color-mix(in srgb,var(--stax-color-warning) 8%,var(--stax-color-surface));color:var(--stax-color-text)}.status-chip,.state-chip,.stock-pill,.product-badge{display:inline-flex;align-items:center;gap:var(--stax-space-2);min-height:2rem;padding:.25rem .75rem;border:1px solid var(--stax-color-border);border-radius:999px;font-size:.875rem;font-weight:600}
.easy-hero,.shop-hero-v9,.pay-shell-v9>header,.mail-easy-hero{min-height:27.5rem;align-items:center}.easy-hero{grid-template-columns:minmax(0,55fr) minmax(0,45fr);gap:var(--stax-space-12)}.easy-hero h1{max-width:42.5rem}.easy-actions{gap:var(--stax-space-3)}.auth-shell{width:min(60rem,calc(100% - 3rem));margin:var(--stax-section-gap) auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(20rem,26.25rem);gap:var(--stax-space-12);align-items:center}.auth-shell .form-card{justify-self:end}.auth-copy{max-width:30rem}.auth-page,.mail-login-workspace{width:100%;max-width:26.25rem;margin-inline:auto}.auth-card{padding:var(--stax-space-8)}.mail-app{grid-template-columns:var(--stax-sidebar-width) 23.75rem minmax(0,1fr)}.mail-sidebar{width:var(--stax-sidebar-width)}.platform-admin,.note-app{grid-template-columns:var(--stax-sidebar-width) minmax(0,1fr)}.pay-workspace-v9{grid-template-columns:minmax(0,2fr) minmax(18rem,1fr);gap:var(--stax-space-6)}.modal,.dialog,[role="dialog"]{width:min(35rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);padding:var(--stax-space-8);border-radius:var(--stax-radius-modal);overflow:auto}
.stax-dark :where(.mail-easy-strip article,.easy-panel,.shop-catalog-v9,.shop-trust-v9,.mail-easy-features,.mail-easy-intro,.mail-easy-story,.mail-easy-cta){background:var(--stax-color-background)!important;color:var(--stax-color-text)!important;border-color:var(--stax-color-border)!important}.stax-dark :where(.mail-easy-strip article,.easy-panel,.store-product,.status-card,.service-tile){background:var(--stax-color-surface)!important;background-image:none!important}.stax-dark :where(h1,h2,h3,h4,strong,b){color:var(--stax-color-text)!important}.stax-dark :where(p,small,span,li,dt){color:var(--stax-color-text-secondary)}.stax-dark .btn.primary,.stax-dark .button.primary,.stax-dark .header-cta,.stax-dark .auth-submit{background:var(--stax-color-primary)!important;border-color:var(--stax-color-primary)!important;color:#07111f!important}
@media (min-width:48rem) and (max-width:74.9375rem){.ui-v10 #content,.ui-v7>main:not(.mail-reader),.site-footer{width:calc(100% - 3rem)}:where(.easy-feature-grid,.store-grid,.status-grid,.admin-grid,.number-grid,.status-summary,.note-stats){grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--stax-space-4)}.p-header nav,.primary-nav{max-width:55vw;overflow-x:auto;scrollbar-width:none}.p-header nav::-webkit-scrollbar,.primary-nav::-webkit-scrollbar{display:none}.mail-app{grid-template-columns:5rem 20rem minmax(0,1fr)}.mail-sidebar{width:5rem;padding-inline:.75rem}.mail-wordmark span,.mail-sidebar nav a span,.mail-sidebar .expiry-box{display:none}.mail-sidebar nav a{justify-content:center;padding-inline:0}.pay-workspace-v9{grid-template-columns:1fr}}
@media (max-width:47.9375rem){:root{--stax-header-height:3.75rem;--stax-card-padding:1rem;--stax-card-gap:1rem;--stax-section-gap:2rem}.p-header,.site-header{height:var(--stax-header-height)!important;min-height:var(--stax-header-height)!important;padding-inline:var(--stax-space-4)!important;grid-template-columns:1fr auto!important;gap:var(--stax-space-2)!important}.header-inner{height:var(--stax-header-height)!important;padding-inline:var(--stax-space-4)!important;grid-template-columns:1fr auto!important;gap:var(--stax-space-2)!important}.p-header nav,.primary-nav{display:none!important;position:absolute;top:var(--stax-header-height);left:0;right:0;width:100%;max-height:calc(100dvh - var(--stax-header-height));padding:var(--stax-space-4);border-bottom:1px solid var(--stax-color-border);background:var(--stax-color-surface);overflow:auto}.p-header nav.open,.primary-nav.open{display:grid!important;gap:var(--stax-space-2)}.p-header nav a,.primary-nav a{min-height:2.75rem;padding:.625rem .75rem}.stax-mobile-menu,.nav-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;min-width:2.75rem;padding:0;border:1px solid var(--stax-color-border);border-radius:var(--stax-radius-control);background:var(--stax-color-surface);color:var(--stax-color-text)}.p-actions>a,.header-account>a,.theme-toggle [data-theme-label]{display:none!important}.p-actions,.header-account{gap:var(--stax-space-2)}.theme-toggle{min-width:2.75rem;width:2.75rem;padding:0}.ui-v10 #content,.ui-v7>main:not(.mail-reader),.site-footer,.home-platform :where(.easy-hero,.easy-intro,.easy-feature-grid,.easy-story,.easy-steps>header,.easy-cta){width:calc(100% - 2rem);margin-inline:auto}body.ui-v10 h1,body.ui-v7 h1,body.home-platform h1{font-size:1.625rem!important}body.ui-v10 h2,body.ui-v7 h2,body.home-platform h2{font-size:1.375rem!important}body.ui-v10 h3,body.ui-v7 h3,body.home-platform h3{font-size:1.125rem!important}.easy-hero,.shop-hero-v9,.pay-shell-v9>header,.mail-easy-hero{min-height:0;grid-template-columns:1fr!important;padding-block:var(--stax-space-10)!important}.easy-hero{gap:var(--stax-space-8)}:where(.easy-feature-grid,.store-grid,.status-grid,.admin-grid,.number-grid,.status-summary,.note-stats,.account-grid,.pay-workspace-v9){grid-template-columns:1fr!important;gap:var(--stax-space-4)}.auth-shell{width:calc(100% - 2rem);grid-template-columns:1fr;gap:var(--stax-space-6);margin:var(--stax-space-6) auto}.auth-copy{display:none}.form-card,.auth-card{max-width:none;padding:1.25rem}.form-card .btn,.auth-submit,.easy-actions .btn,.buy-form .btn,.issue-form .button{width:100%}.easy-actions,.button-row,.result-actions{display:grid;grid-template-columns:1fr;gap:var(--stax-space-3)}.table{border:0;background:transparent}.table .tr{min-width:42rem}.table-wrap{overflow-x:auto;overscroll-behavior-inline:contain}.modal,.dialog,[role="dialog"]{padding:1.25rem}}
@media (max-width:22.5rem){.p-header,.header-inner{padding-inline:.75rem!important}.ui-v10 #content,.ui-v7>main:not(.mail-reader){width:calc(100% - 2rem)}}
.stax-dark :where(.btn,.button,.header-cta,.auth-submit) :where(span,small){color:inherit!important}
@media (max-width:47.9375rem){.header-inner{grid-template-columns:1fr auto auto!important}.header-account{display:flex!important;justify-self:end!important}}
/* QA corrections: legacy v10/v7 rules previously overrode the target dimensions. */
.stax-mobile-menu{display:none}.theme-toggle{min-height:2.5rem!important}
@media (min-width:48rem) and (max-width:74.9375rem){.ui-v10 .p-header{height:4.5rem!important;min-height:4.5rem!important;grid-template-columns:1fr auto 1fr!important}.ui-v10 .p-header nav{grid-column:auto!important;order:initial!important;margin:0!important;padding:0!important}.ui-v10 .p-actions{grid-column:auto!important}}
@media (max-width:47.9375rem){.theme-toggle{width:2.75rem!important;min-width:2.75rem!important;min-height:2.75rem!important;height:2.75rem!important}.ui-v7 .site-header,.stax-dark.ui-v7 .site-header{top:0!important;width:100%!important;height:3.75rem!important;min-height:3.75rem!important;margin:0!important;border-radius:0!important}.ui-v7 .header-inner{height:3.75rem!important;padding-inline:1rem!important}}.password-toggle,.stax-password-toggle{top:.125rem!important;right:.125rem!important;translate:none!important;width:auto!important;min-width:2.75rem!important;min-height:2.75rem!important;height:2.75rem!important;padding:.375rem .625rem!important;font-size:.875rem!important}
@media (max-width:61.25rem){.ui-v10 .theme-toggle,.ui-v7 .theme-toggle{width:2.75rem!important;min-width:2.75rem!important;min-height:2.75rem!important;height:2.75rem!important;padding:0!important}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}:where(*,*::before,*::after){animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@keyframes stax-spin{to{transform:rotate(1turn)}}
/* KRDS visual QA corrections: legacy theme specificity compatibility */
.stax-mobile-menu{display:none}
.stax-dark .store-empty{background:#18181b!important;border-color:#3f3f46!important;color:#f8fafc!important}
.stax-dark .store-empty :where(h2,p,span){color:inherit!important}
.stax-dark :where(.easy-window,.easy-phone,.easy-balance){background:#18181b!important;border-color:#3f3f46!important;color:#f8fafc!important}
.stax-dark :where(.easy-window,.easy-phone,.easy-balance) :where(b,small,i){color:inherit!important}
.ui-v7.stax-dark .brand::before{content:none!important;display:none!important}
.ui-v7.stax-dark .brand img{width:2rem!important;height:2rem!important;padding:0!important;border-radius:.375rem!important;background:transparent!important;filter:none!important}
.ui-v7.stax-dark .header-cta{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
.ui-v7.stax-dark .header-cta :where(span,svg,path){color:inherit!important;stroke:currentColor!important}
.stax-mobile-menu{display:none!important}
@media (max-width:47.9375rem){.stax-mobile-menu{display:inline-flex!important}}

/* V3 internal product polish. The public STAX home intentionally remains unchanged. */
.ui-v10 .p-header nav,.ui-v7 .primary-nav{gap:.5rem!important;padding:0!important;background:transparent!important}
.ui-v10 .p-header nav a,.ui-v7 .primary-nav a{min-height:2.75rem;padding:.625rem .75rem!important;border-radius:.375rem!important}
.ui-v10 .p-actions,.ui-v7 .header-account{gap:.75rem!important}
.ui-v10 #content{padding-block:2rem 4rem}
.ui-v10 #content>:where(section,div)+:where(section,div){margin-top:2rem}
.ui-v10 :where(.button-row,.result-actions,.hero-actions,.form-inline,.admin-tabs),.ui-v7 :where(.button-row,.result-actions,.hero-actions,.mail-easy-hero>div,.mail-easy-cta>div){gap:.75rem!important;align-items:center;flex-wrap:wrap}
.ui-v10 :where(.form-card,.grid-form,.note-editor,.admin-item),.ui-v7 :where(.form-stack,.settings-form,.issue-form,.auth-card form){gap:1.25rem!important}
.ui-v10 :where(.shop-hero-v9,.pay-shell-v9>header){min-height:20rem!important;padding:3rem 2.5rem!important;border-radius:.75rem!important}
.ui-v10 .shop-catalog-v9{margin-top:2rem!important;padding:0!important}
.ui-v10 .shop-catalog-v9>header{padding-bottom:1.5rem!important}
.ui-v10 .store-grid{gap:1rem!important}
.ui-v10 .store-empty{min-height:15rem!important;border-radius:.625rem!important}
.ui-v10 .shop-trust-v9{margin-top:3rem!important;padding-top:2rem!important}
.ui-v10 .pay-dashboard-v9{gap:1.5rem!important;margin-top:2rem!important}
.ui-v10 :where(.shop-wallet,.pay-balance-card-v9,.pay-workspace-v9,.account-head article,.data-panel,.admin-box,.platform-admin>header){border-radius:.625rem!important;box-shadow:none!important}
.ui-v10 .auth-shell{max-width:64rem;margin-block:3rem!important;gap:3rem!important}
.ui-v10 .form-card{border-radius:.625rem!important;box-shadow:0 1rem 2.5rem rgba(15,23,42,.06)!important}
.ui-v10 h1{max-width:48rem}
.ui-v10 :where(.simple,.order-detail,.status-shell,.platform-admin,.account-head,.p-section){scroll-margin-top:6rem}
.ui-v7>main:not(.mail-reader){padding-block:2rem 4rem}
.ui-v7 :where(.number-shell,.auth-page,.status-page,.checking-layout,.plus-login,.plus-workspace){gap:1.5rem!important}
.ui-v7 :where(.number-hero,.number-overview,.number-result,.license-card,.admin-card,.generated-box,.policy-note,.auth-card,.checking-input,.checking-results,.plus-login>form,.plus-output){border-radius:.625rem!important;box-shadow:none!important}
.ui-v7 .number-hero{min-height:auto!important;padding:2.5rem!important}
.ui-v7 .number-grid,.ui-v7 .admin-grid{gap:1.5rem!important;margin-top:1.5rem!important}
.ui-v7 .detail-list>div{padding-block:.875rem!important}
.ui-v7 .issue-form{margin-top:1.5rem!important;padding-top:1.5rem!important}
.ui-v7 .mail-easy-hero{min-height:23rem!important;padding:3rem 2.5rem!important;border-radius:.75rem!important}
.ui-v7 .mail-easy-strip{margin-top:1rem!important}
.ui-v7 .mail-easy-features{gap:1rem!important}
.ui-v7 .mail-easy-features>article{border-radius:.625rem!important;padding:1.5rem!important}
.ui-v7 :where(.button-row form,.result-actions form){margin:0!important}
.ui-v7 :where(.button-row .button,.result-actions .button){margin:0!important}
@media (max-width:47.9375rem){.ui-v10 #content,.ui-v7>main:not(.mail-reader){padding-block:1.5rem 3rem}.ui-v10 :where(.shop-hero-v9,.pay-shell-v9>header),.ui-v7 :where(.number-hero,.mail-easy-hero){min-height:auto!important;padding:2rem 1rem!important}.ui-v10 :where(.button-row,.result-actions,.hero-actions,.form-inline),.ui-v7 :where(.button-row,.result-actions,.hero-actions,.mail-easy-hero>div,.mail-easy-cta>div){display:grid!important;grid-template-columns:1fr!important;gap:.75rem!important}.ui-v10 :where(.button-row,.result-actions,.hero-actions,.form-inline)>*,.ui-v7 :where(.button-row,.result-actions,.hero-actions,.mail-easy-hero>div,.mail-easy-cta>div)>*{width:100%!important}.ui-v7 .number-grid,.ui-v7 .admin-grid{gap:1rem!important}}

/* V4 emergency usability pass: contrast, header fit and compact service layouts. */
:where(.ui-v10,.ui-v7){background:var(--stax-color-background)!important;color:var(--stax-color-text)!important}
:where(.ui-v10,.ui-v7) :where(p,span,small,dd,li){text-wrap:pretty}
:where(.ui-v10,.ui-v7) :where(.muted,.subtle,.helper,.description,small){color:var(--stax-color-text-secondary)}
:where(.ui-v10,.ui-v7) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){height:auto;min-height:3rem;background:var(--stax-color-input)!important;color:var(--stax-color-text)!important;border-color:var(--stax-color-border)!important}
.stax-dark :where(.ui-v10,.ui-v7) :where(input,select,textarea)::placeholder{color:#94a3b8!important;opacity:1}
:where(.ui-v10,.ui-v7) :where(.btn,.button,.header-cta,button[type="submit"]){min-height:2.75rem;padding-inline:1.125rem;border-radius:.375rem!important;white-space:nowrap;flex-shrink:0;font-size:.875rem;font-weight:700}
:where(.ui-v10,.ui-v7) :where(.btn,.button,button[type="submit"]):disabled{background:#e5e7eb!important;color:#6b7280!important;border-color:#d1d5db!important;box-shadow:none!important;cursor:not-allowed}
.stax-dark :where(.ui-v10,.ui-v7) :where(.btn,.button,button[type="submit"]):disabled{background:#1d2430!important;color:#94a3b8!important;border-color:#374151!important}
.p-header,.site-header{height:4rem!important;min-height:4rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;backdrop-filter:none!important}
.p-header,.header-inner{max-width:77.5rem;margin-inline:auto;padding-inline:1.5rem!important;gap:1.5rem!important}.p-header{width:100%;grid-template-columns:auto minmax(0,1fr) auto!important}.header-inner{grid-template-columns:auto minmax(0,1fr) auto!important}
.p-header nav,.primary-nav{display:flex;align-items:center;justify-content:center;gap:1.25rem!important;min-width:0}.p-header nav a,.primary-nav a{min-height:2.5rem!important;padding:.5rem 0!important;white-space:nowrap;flex-shrink:0;font-size:.875rem!important;font-weight:600}
.p-brand,.brand,.brand-group{min-width:max-content;flex-shrink:0;white-space:nowrap}.p-brand img,.brand img{width:1.5rem!important;height:1.5rem!important}.p-actions,.header-account{display:flex;align-items:center;gap:.75rem!important;min-width:max-content;white-space:nowrap}.p-actions>a,.header-account>a,.header-cta{white-space:nowrap!important;flex-shrink:0!important;word-break:keep-all!important}.header-cta{min-height:2.625rem!important;padding-inline:1.125rem!important}
.ui-v7 .mail-easy-hero{width:min(70rem,100%);min-height:21.25rem!important;padding:3.5rem 2.5rem!important;border-radius:.75rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important}.ui-v7 .mail-easy-hero h1{font-size:2.25rem!important;line-height:1.35!important;color:var(--stax-color-text)!important}.ui-v7 .mail-easy-hero>span{font-size:1rem;color:var(--stax-color-text-secondary)!important}.ui-v7 .mail-easy-hero>div{margin-top:1.5rem!important}
.ui-v7 .mail-easy-strip{width:min(70rem,100%);display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem!important;margin:1rem auto 0!important;background:transparent!important;box-shadow:none!important}.ui-v7 .mail-easy-strip>article{min-height:13.125rem!important;padding:1.5rem!important;border:1px solid var(--stax-color-border)!important;border-radius:.625rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;box-shadow:none!important}.ui-v7 .mail-easy-strip>article:nth-child(2n){background:color-mix(in srgb,var(--stax-color-primary) 5%,var(--stax-color-surface))!important}.ui-v7 .mail-easy-strip :where(b,strong){font-size:1.25rem!important;color:var(--stax-color-text)!important}.ui-v7 .mail-easy-strip :where(span,em,small){color:var(--stax-color-text-secondary)!important}
.ui-v7 .mail-easy-intro,.ui-v7 .mail-easy-story,.ui-v7 .mail-easy-cta{margin-block:3.5rem!important}.ui-v7 .mail-easy-features{width:min(70rem,100%);grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1rem!important;margin-inline:auto}.ui-v7 .mail-easy-features>article{min-height:auto!important;padding:1.5rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;border:1px solid var(--stax-color-border)!important}.ui-v7 .mail-easy-features .feature-scene{min-height:10rem!important;background:var(--stax-color-background-secondary)!important;color:var(--stax-color-text)!important}.ui-v7 .mail-easy-features>article>span{color:var(--stax-color-text-secondary)!important}
.ui-v7.mail-login-shell{padding:1.5rem!important;background:var(--stax-color-background)!important}.ui-v7 .mail-login-v5{width:min(61.25rem,100%)!important;min-height:33.75rem!important;margin:auto!important;border-radius:.75rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;box-shadow:0 1rem 2.5rem rgba(15,23,42,.08)!important}.ui-v7 .mail-login-top{height:4rem!important;min-height:4rem!important;padding-inline:1.5rem!important;background:var(--stax-color-surface)!important}.ui-v7 .mail-login-grid{grid-template-columns:minmax(0,45fr) minmax(0,55fr)!important;min-height:29.75rem!important}.ui-v7 .mail-login-intro{min-height:0!important;padding:2.5rem!important;background:#151922!important;color:#f8fafc!important}.ui-v7 .mail-login-intro h1{margin:1rem 0!important;font-size:1.75rem!important;line-height:1.35!important;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important}.ui-v7 .mail-login-intro>p,.ui-v7 .mail-login-intro dt{color:#cbd5e1!important;font-size:.9375rem!important}.ui-v7 .mail-login-intro dl{margin-top:2rem!important}.ui-v7 .mail-login-workspace{width:100%!important;max-width:none!important;padding:2.5rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important}.ui-v7 .mail-login-workspace .form-stack{gap:1.25rem!important}.ui-v7 .mail-login-workspace input{min-height:3rem!important}.ui-v7 .mail-login-workspace .btn{min-height:3rem!important}.ui-v7 .login-mode-tabs{margin-bottom:1.5rem!important;border-radius:.375rem!important;background:var(--stax-color-background-secondary)!important}.ui-v7 .login-mode-tabs button.active{background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important}
.ui-v10.shop-page #content{max-width:77.5rem}.ui-v10 .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.25rem!important}.ui-v10 .store-product{min-height:0!important;padding:0!important;overflow:hidden;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important}.ui-v10 .store-product-media{position:relative;aspect-ratio:16/10;min-height:0!important;background:var(--stax-color-background-secondary)!important;overflow:hidden}.ui-v10 .store-product-media img{width:100%;height:100%;object-fit:cover}.ui-v10 .stock-pill{position:absolute!important;top:.75rem!important;left:.75rem!important;right:auto!important;width:auto!important;min-height:1.625rem!important;padding:.1875rem .625rem!important;white-space:nowrap!important}.ui-v10 .store-product-body{display:grid;gap:.75rem;padding:1.25rem!important;color:var(--stax-color-text)!important}.ui-v10 .store-product-body h2{margin:0!important;font-size:1.125rem!important;line-height:1.45!important;color:var(--stax-color-text)!important;word-break:keep-all}.ui-v10 .store-product-body>span{font-size:.875rem;color:var(--stax-color-text-secondary)!important}.ui-v10 .store-product-price strong{font-size:1.5rem!important;color:var(--stax-color-text)!important}.ui-v10 .store-buy{display:grid;gap:.75rem}.ui-v10 .store-buy .btn,.ui-v10 .store-login{min-height:2.75rem!important}.ui-v10 .shop-trust-v9{margin-top:3rem!important;padding-bottom:0!important}
.ui-v10.pay-page #content{max-width:68.75rem}.ui-v10 .pay-dashboard-v9{gap:1.5rem!important}.ui-v10 .pay-workspace-v9{grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;gap:1.5rem!important}.ui-v10 :where(.pay-balance-card-v9,.pay-form-v9,.pay-login-v9,.pay-wait-v9){padding:2rem!important;border:1px solid var(--stax-color-border)!important;border-radius:.625rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important}.ui-v10 .pay-balance-card-v9 strong{font-size:2.25rem!important;color:var(--stax-color-text)!important}.ui-v10 .pay-form-v9 input{min-height:3rem!important}.ui-v10 .pay-form-v9 button{min-height:3rem!important}.ui-v10 .pay-steps-v9{gap:1rem!important;background:transparent!important}.ui-v10 .pay-steps-v9>div{padding:1rem!important;border:1px solid var(--stax-color-border)!important;border-radius:.625rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important}.ui-v10 .pay-steps-v9 small{color:var(--stax-color-text-secondary)!important}
.ui-v7 .number-shell{width:min(70rem,100%);margin-inline:auto}.ui-v7 .number-hero,.ui-v7 :where(.number-overview,.number-result,.license-card,.admin-card,.generated-box,.policy-note){padding:1.5rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;border-color:var(--stax-color-border)!important}.ui-v7 .number-hero h1{font-size:2.25rem!important;color:var(--stax-color-text)!important}.ui-v7 .number-hero p,.ui-v7 .number-shell :where(dt,p,small){color:var(--stax-color-text-secondary)!important}.ui-v7 .number-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1.5rem!important}.ui-v7 .number-grid>*{min-width:0}.ui-v7 .number-shell :where(h2,h3,dd,strong){color:var(--stax-color-text)!important}
@media(max-width:69.9375rem){.p-header nav,.primary-nav{display:none!important}.p-header nav.open,.primary-nav.open{display:grid!important}.stax-mobile-menu,.nav-toggle{display:inline-flex!important}.p-header,.header-inner{grid-template-columns:auto 1fr auto!important}.p-actions,.header-account{justify-self:end}.p-actions>a:not(.btn),.header-account>.quiet-link{display:none!important}}
@media(min-width:48rem) and (max-width:74.9375rem){.ui-v10 .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ui-v7 .mail-easy-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ui-v10 .pay-workspace-v9{grid-template-columns:1fr!important}}
@media(max-width:47.9375rem){:root{--stax-header-height:3.5rem}.p-header,.site-header,.header-inner{height:3.5rem!important;min-height:3.5rem!important}.p-header,.header-inner{padding-inline:1rem!important}.ui-v7 .mail-easy-hero{padding:2rem 1rem!important}.ui-v7 .mail-easy-hero h1{font-size:1.75rem!important}.ui-v7 .mail-easy-strip,.ui-v7 .mail-easy-features,.ui-v10 .store-grid,.ui-v7 .number-grid{grid-template-columns:1fr!important}.ui-v7 .mail-easy-intro,.ui-v7 .mail-easy-story,.ui-v7 .mail-easy-cta{margin-block:3rem!important}.ui-v7.mail-login-shell{padding:0!important}.ui-v7 .mail-login-v5{min-height:100dvh!important;border-radius:0!important}.ui-v7 .mail-login-grid{grid-template-columns:1fr!important;min-height:0!important}.ui-v7 .mail-login-intro{display:none!important}.ui-v7 .mail-login-workspace{padding:2rem 1.25rem!important}.ui-v10 .pay-workspace-v9{grid-template-columns:1fr!important}.ui-v10 :where(.pay-balance-card-v9,.pay-form-v9,.pay-login-v9,.pay-wait-v9){padding:1rem!important}.ui-v7 .number-hero,.ui-v7 :where(.number-overview,.number-result,.license-card,.admin-card,.generated-box,.policy-note){padding:1rem!important}.ui-v7 .number-hero h1{font-size:1.75rem!important}}

/* V5 theme conflict repair: body shells, password field and Number workspace. */
body.auth-shell.ui-v7{display:block!important;width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important;background:var(--stax-color-background)!important;color:var(--stax-color-text)!important}
body.auth-shell.ui-v7>main{display:block;width:min(26.25rem,calc(100% - 2rem));margin:0 auto;padding:3rem 0}
body.auth-shell.ui-v7>.site-header{width:100%;margin:0}
.password-wrap,.stax-password-field{position:relative!important;display:block!important;width:100%}
.password-wrap input,.stax-password-field input{padding-right:4.75rem!important}
.password-wrap .password-toggle,.stax-password-field .stax-password-toggle{position:absolute!important;top:50%!important;right:.25rem!important;translate:0 -50%!important;width:auto!important;min-width:4rem!important;height:2.5rem!important;min-height:2.5rem!important;margin:0!important;padding:0 .625rem!important;border:0!important;background:transparent!important;color:var(--stax-color-primary)!important;box-shadow:none!important}
input[type="password"]::-ms-reveal,input[type="password"]::-ms-clear{display:none}

body.number-page.ui-v7{min-height:100dvh;background:var(--stax-color-background)!important;color:var(--stax-color-text)!important}
body.number-page.ui-v7>main{width:100%!important;max-width:none!important;padding:0!important}
body.number-page.ui-v7 .number-shell{width:min(70rem,calc(100% - 3rem));margin:0 auto;padding:3rem 0 4.5rem}
body.number-page.ui-v7 .number-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2rem;margin:0 0 1.5rem;padding:2rem!important;border:1px solid var(--stax-color-border)!important;border-radius:.625rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;box-shadow:none!important}
body.number-page.ui-v7 .number-hero h1{max-width:42rem;margin:0;font-size:2rem!important;line-height:1.3!important;letter-spacing:-.035em;color:var(--stax-color-text)!important;-webkit-text-fill-color:var(--stax-color-text)!important}
body.number-page.ui-v7 .number-hero>div>p:last-child{max-width:43rem;margin:1rem 0 0;color:var(--stax-color-text-secondary)!important;font-size:.9375rem;line-height:1.7}
body.number-page.ui-v7 .member-tag,body.number-page.ui-v7 .state-chip{display:inline-flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.375rem .75rem;border:1px solid var(--stax-color-border)!important;border-radius:999px;background:var(--stax-color-background-secondary)!important;color:var(--stax-color-text)!important;font-size:.8125rem;font-weight:700;white-space:nowrap}
body.number-page.ui-v7 .number-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:1.5rem!important;margin:0!important;align-items:start}
body.number-page.ui-v7 :where(.number-overview,.license-panel,.number-result,.number-history,.admin-card,.generated-box){min-width:0;padding:1.5rem!important;border:1px solid var(--stax-color-border)!important;border-radius:.625rem!important;background:var(--stax-color-surface)!important;color:var(--stax-color-text)!important;box-shadow:none!important}
body.number-page.ui-v7 .number-overview{grid-row:auto!important}
body.number-page.ui-v7 :where(.number-result,.license-panel){grid-column:auto!important}
body.number-page.ui-v7 :where(.section-heading h2,.license-panel h2,.admin-card h2,.generated-box h2){margin:0;color:var(--stax-color-text)!important;font-size:1.375rem!important;line-height:1.4}
body.number-page.ui-v7 .eyebrow{margin:0 0 .5rem;color:var(--stax-color-primary)!important;font-size:.75rem;font-weight:800;letter-spacing:.1em}
body.number-page.ui-v7 .detail-list{margin:1.25rem 0 0}
body.number-page.ui-v7 .detail-list>div{display:grid;grid-template-columns:minmax(7.5rem,.8fr) minmax(0,1.2fr);align-items:center;gap:1rem;min-height:3.5rem;padding:.75rem 0!important;border-top:1px solid var(--stax-color-border)!important}
body.number-page.ui-v7 .detail-list dt{color:var(--stax-color-text-secondary)!important;font-size:.875rem}
body.number-page.ui-v7 .detail-list dd{min-width:0;margin:0;color:var(--stax-color-text)!important;font-weight:700;text-align:right;overflow-wrap:anywhere}
body.number-page.ui-v7 .flag{background:color-mix(in srgb,var(--stax-color-primary) 12%,var(--stax-color-surface))!important;color:var(--stax-color-primary)!important}
body.number-page.ui-v7 .license-panel>p:not(.eyebrow),body.number-page.ui-v7 .issue-form p,body.number-page.ui-v7 .history-list :where(span,time,small){color:var(--stax-color-text-secondary)!important}
body.number-page.ui-v7 :where(.license-panel,.admin-card) label{color:var(--stax-color-text)!important;font-size:.875rem;font-weight:600}
body.number-page.ui-v7 :where(.license-panel,.admin-card) input{min-height:3rem!important;border:1px solid var(--stax-color-border)!important;border-radius:.375rem!important;background:var(--stax-color-input)!important;color:var(--stax-color-text)!important}
body.number-page.ui-v7 .issue-form{margin-top:1.5rem!important;padding-top:1.5rem!important;border-top:1px solid var(--stax-color-border)}
body.number-page.ui-v7 .button{min-height:2.875rem!important;border-radius:.375rem!important;font-size:.875rem;font-weight:700;white-space:nowrap}
body.number-page.ui-v7 .button.primary{border-color:var(--stax-color-primary)!important;background:var(--stax-color-primary)!important;color:#fff!important}
body.number-page.ui-v7 .button.primary:hover{background:var(--stax-color-primary-hover)!important}
body.number-page.ui-v7 .button.secondary{border-color:var(--stax-color-border)!important;background:var(--stax-color-background-secondary)!important;color:var(--stax-color-text)!important}
body.number-page.ui-v7 .button.danger{border-color:color-mix(in srgb,var(--stax-color-danger) 55%,var(--stax-color-border))!important;background:color-mix(in srgb,var(--stax-color-danger) 10%,var(--stax-color-surface))!important;color:var(--stax-color-danger)!important}
body.number-page.ui-v7 .button.success{border-color:color-mix(in srgb,var(--stax-color-success) 55%,var(--stax-color-border))!important;background:color-mix(in srgb,var(--stax-color-success) 10%,var(--stax-color-surface))!important;color:var(--stax-color-success)!important}
body.number-page.ui-v7 .number-result .button-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem!important;margin-top:1.25rem}
body.number-page.ui-v7 .number-result .button-row>*{min-width:0;margin:0!important}
body.number-page.ui-v7 .number-result .button-row :where(form,button){width:100%}
body.number-page.ui-v7 :where(.waiting-line,.policy-note,.maintenance-bar){display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border:1px solid var(--stax-color-border)!important;border-radius:.625rem!important;background:var(--stax-color-background-secondary)!important;color:var(--stax-color-text-secondary)!important}
body.number-page.ui-v7 .policy-note{margin-top:1.5rem}
body.number-page.ui-v7 .policy-note strong{display:block;margin-bottom:.25rem;color:var(--stax-color-text)!important}
body.number-page.ui-v7 .code-box{margin-top:1.25rem;padding:1.25rem;border:1px solid var(--stax-color-border);border-radius:.625rem;background:#111827!important;color:#f8fafc!important}
body.number-page.ui-v7 .code-box :where(span,small){color:#cbd5e1!important}
body.number-page.ui-v7 .code-box strong{color:#fff!important;font-size:2rem!important}
body.number-page.ui-v7 .number-history{margin-top:1.5rem}
body.number-page.ui-v7 .history-list article{padding:1rem 0;border-top:1px solid var(--stax-color-border)!important}
body.number-page.ui-v7 .table-wrap{border-color:var(--stax-color-border)!important;background:var(--stax-color-surface)!important}
body.number-page.ui-v7 table{color:var(--stax-color-text)!important}
body.number-page.ui-v7 :where(th,td){border-color:var(--stax-color-border)!important}
body.number-page.ui-v7 th{color:var(--stax-color-text-secondary)!important}
.stax-dark body.number-page.ui-v7 .site-header{background:#151922!important;color:#f8fafc!important;border-bottom-color:#374151!important}
.stax-dark body.number-page.ui-v7 .primary-nav{background:#151922!important}
.stax-dark body.number-page.ui-v7 .primary-nav a{color:#cbd5e1!important}
.stax-dark body.number-page.ui-v7 .primary-nav a:hover,.stax-dark body.number-page.ui-v7 .primary-nav a[aria-current="page"]{background:#1d2430!important;color:#fff!important}
.stax-dark body.number-page.ui-v7 .header-cta{background:#3b82f6!important;color:#fff!important}
.stax-dark body.number-page.ui-v7 .theme-toggle{background:#1d2430!important;color:#f8fafc!important;border-color:#374151!important}
.stax-dark body.number-page.ui-v7 .notice{border-color:#374151!important;background:#1d2430!important;color:#cbd5e1!important}
.stax-dark body.number-page.ui-v7 .notice.error{border-color:#7f1d1d!important;background:#2a1519!important;color:#fecaca!important}

@media(max-width:79.9375rem){.ui-v7 .primary-nav,.ui-v10 .p-header nav{display:none!important}.ui-v7 .primary-nav.open,.ui-v10 .p-header nav.open{display:grid!important}.ui-v7 .nav-toggle,.ui-v10 .stax-mobile-menu{display:inline-flex!important}.ui-v7 .header-inner,.ui-v10.p-header{grid-template-columns:auto 1fr auto!important}}
@media(max-width:47.9375rem){body.auth-shell.ui-v7>main{padding:2rem 0}body.number-page.ui-v7 .number-shell{width:calc(100% - 2rem);padding:1.5rem 0 3rem}body.number-page.ui-v7 .number-hero{grid-template-columns:1fr;padding:1.25rem!important}body.number-page.ui-v7 .number-hero h1{font-size:1.625rem!important}body.number-page.ui-v7 .number-grid{grid-template-columns:1fr!important;gap:1rem!important}body.number-page.ui-v7 :where(.number-overview,.license-panel,.number-result,.number-history,.admin-card,.generated-box){padding:1rem!important}body.number-page.ui-v7 .detail-list>div{grid-template-columns:1fr;gap:.25rem}body.number-page.ui-v7 .detail-list dd{text-align:left}body.number-page.ui-v7 .number-result .button-row{grid-template-columns:1fr!important}}

/* V5.1 direct dark-theme overrides for legacy selectors loaded before this file. */
.ui-v7 .theme-toggle{width:auto!important;min-width:max-content!important;padding-inline:.75rem!important;white-space:nowrap!important;word-break:keep-all!important;flex-shrink:0!important}
.stax-dark.ui-v7 .site-header{background:#151922!important;color:#f8fafc!important;border-color:#374151!important;box-shadow:none!important}
.stax-dark.ui-v7 .primary-nav{border:0!important;background:transparent!important;box-shadow:none!important}
.stax-dark.ui-v7 .primary-nav a{border:0!important;background:transparent!important;color:#cbd5e1!important;box-shadow:none!important}
.stax-dark.ui-v7 .primary-nav a:hover,.stax-dark.ui-v7 .primary-nav a[aria-current="page"]{background:#1d2430!important;color:#f8fafc!important}
.stax-dark.ui-v7 .header-account :where(.quiet-link,.account-link){color:#cbd5e1!important}
.stax-dark.ui-v7 .header-cta{background:#3b82f6!important;color:#fff!important;border-color:#3b82f6!important;box-shadow:none!important}
.stax-dark.ui-v7 .theme-toggle{background:#1d2430!important;color:#f8fafc!important;border-color:#374151!important;box-shadow:none!important}
.stax-dark.ui-v7 :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:#111827!important;color:#f8fafc!important;border-color:#374151!important;box-shadow:none}
.stax-dark.ui-v7 :where(input,textarea)::placeholder{color:#94a3b8!important;opacity:1!important}
.stax-dark.ui-v7 :where(label,.checkline,.field-status,.auth-footnote){color:#cbd5e1!important}
.stax-dark.ui-v7 .auth-page>header :where(h1,p){color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important}
.stax-dark.ui-v7 .auth-page>header>p:last-child{color:#cbd5e1!important;-webkit-text-fill-color:#cbd5e1!important}
.stax-dark.ui-v7 .auth-card{background:#151922!important;color:#f8fafc!important;border-color:#374151!important;box-shadow:none!important}
.stax-dark.ui-v7 .auth-tabs{background:#0b0d12!important;border-color:#374151!important}
.stax-dark.ui-v7 .auth-tabs a{background:transparent!important;color:#94a3b8!important;border-color:transparent!important}
.stax-dark.ui-v7 .auth-tabs a.active{background:#1d2430!important;color:#f8fafc!important;box-shadow:none!important}
.stax-dark.ui-v7 .password-wrap .password-toggle,.stax-dark.ui-v7 .stax-password-field .stax-password-toggle{background:transparent!important;color:#93c5fd!important;border:0!important}
.stax-dark.ui-v7 .agreement-check{background:#1d2430!important;color:#cbd5e1!important;border-color:#374151!important;border-left-color:#3b82f6!important}
.stax-dark.ui-v7 .agreement-check a{color:#93c5fd!important}
.stax-dark.ui-v7 .auth-home-link{color:#cbd5e1!important}
.stax-dark.ui-v7 .site-footer{background:#0b0d12!important;color:#cbd5e1!important;border-color:#374151!important}
.stax-dark.ui-v7 .site-footer :where(a,b,strong){color:#f8fafc!important}
.stax-dark.ui-v7.number-page :where(.number-hero,.number-overview,.license-panel,.number-result,.number-history,.admin-card,.generated-box){background:#151922!important;color:#f8fafc!important;border-color:#374151!important}
.stax-dark.ui-v7.number-page :where(.number-hero h1,.section-heading h2,.license-panel h2,.admin-card h2,.generated-box h2,.detail-list dd){color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important}
.stax-dark.ui-v7.number-page :where(.number-hero p,.detail-list dt,.license-panel>p,.issue-form p,.history-list span,.history-list time,.history-list small){color:#cbd5e1!important}
.stax-dark.ui-v7.number-page :where(.member-tag,.state-chip,.waiting-line,.policy-note){background:#1d2430!important;color:#cbd5e1!important;border-color:#374151!important}
.stax-dark.ui-v7.number-page :where(.license-panel input,.admin-card input){background:#111827!important;color:#f8fafc!important;border-color:#374151!important}
@media(max-width:47.9375rem){.ui-v7 .theme-toggle{width:2.75rem!important;min-width:2.75rem!important;padding:0!important}.ui-v7 .theme-toggle [data-theme-label]{display:none!important}}
