/* public/commerce.css */
.commerce-footer{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:28px 16px;line-height:1.7}.commerce-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px}.commerce-footer a{color:inherit;text-decoration:underline;text-underline-offset:3px}.commerce-footer .commerce-filing{display:block;width:100%;text-align:center}.commerce-notice{font-size:13px;line-height:1.8;margin:16px 0;color:var(--text-secondary,#64748b);overflow-wrap:anywhere}.commerce-notice a{color:var(--primary,#316bd9);text-decoration:underline}.policy-body{margin:0;background:#f6f7f9;color:#1e293b;font:16px/1.9 system-ui,-apple-system,"Segoe UI",sans-serif}.policy-shell{max-width:900px;margin:auto;padding:24px 20px 60px}.policy-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.policy-header a,.policy-shell a{color:#245cc0}.policy-header select{font:inherit;padding:6px;border:1px solid #cbd5e1;border-radius:6px;background:white}.policy-nav{display:flex;flex-wrap:wrap;gap:10px 20px;margin:22px 0}.policy-shell section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin:20px 0;scroll-margin-top:16px}.policy-shell h1{font-size:28px}.policy-shell h2{font-size:21px;margin:0 0 12px}.policy-shell p{margin:12px 0;overflow-wrap:anywhere}.policy-identity{font-size:14px;color:#526175}.policy-shell footer{display:block;text-align:center;font-size:14px;margin-top:32px}@media(max-width:480px){.policy-shell{padding:16px 12px 40px}.policy-shell section{padding:18px}.policy-shell h1{font-size:24px}}
.reviews-panel{display:none!important} /* Randomly generated testimonials are not verified customer reviews. */
.commerce-footer{font-size:13px!important;color:#64748b!important}.commerce-footer span,.commerce-footer a{font-size:inherit!important;color:inherit!important}html[data-theme="dark"] .commerce-footer{color:#a4b2c7!important}


/* public/style.css */
:root{color-scheme:light;--blue:#2566d4;--primary-blue:#2566d4;--ink:#202b40;--muted:#758095;--line:#e5eaf2;--surface:#fff;--bright-yellow:#2566d4;font-family:'Segoe UI','Microsoft YaHei','PingFang SC',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;background:#f4f6fa;font-size:14px;line-height:1.5}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #78aaff;outline-offset:4px}svg{width:22px;height:22px;flex-shrink:0}button{color:inherit}button,a{touch-action:manipulation}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:linear-gradient(155deg,#f6f8fcf5,#edf2fae8);border-right:1px solid #dde4ef;padding:34px 20px 22px;display:flex;flex-direction:column;z-index:20;backdrop-filter:blur(24px)}.brand{display:flex;gap:11px;align-items:center;font-size:21px;font-weight:650;letter-spacing:1px}.brand-mark{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;color:white;background:linear-gradient(140deg,#4694fb,#285ad3);box-shadow:0 5px 12px #2f70de28}.brand-mark svg{width:25px;height:25px}.brand small{display:block;font-size:7px;letter-spacing:1.1px;color:#7e899d;margin-top:4px}.nav-caption{font-size:11px;color:#8a94a6;letter-spacing:2px;margin:47px 14px 13px}nav{display:grid;gap:7px}.nav-link{position:relative;display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:7px;color:#637086;font-size:13px;transition:background .18s}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#e6ecf6}.nav-link.active{background:#e0eafa;color:#245bc2;font-weight:600}.nav-link.active:before{content:'';position:absolute;left:0;top:15px;bottom:15px;width:3px;background:#2868d7;border-radius:3px}.sidebar-bottom{margin-top:auto;padding:20px 9px 0}.support-mini{display:flex;align-items:center;gap:11px;font-size:12px}.support-mini>svg{color:#7b8fae}.support-mini small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.primary{border:1px solid #2461c9;background:var(--blue);color:white;border-radius:6px;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:18px;box-shadow:0 2px 3px #133c7010}.primary svg{width:17px;height:17px}.sidebar-bottom p{text-align:center;font-size:10px;color:#929aab;margin:20px 0 0}.workspace{margin-left:236px}.topbar{height:72px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e9f1;background:#ffffff90;font-size:12px;position:relative;z-index:10}.breadcrumb{color:#929aab;margin-left:16px}.topbar-right{display:flex;align-items:center;gap:22px}.timezone{color:#8a94a4;font-size:11px}.timezone time{font-variant-numeric:tabular-nums;color:#465772;margin-left:8px}.top-avatar{display:grid;place-items:center;width:31px;height:31px;border:1px solid #dbe5f4;background:#e9f0fc;color:#396ed1;border-radius:50%;font-size:11px;font-weight:600}main{max-width:1280px;margin:auto;padding:34px 44px 0}.intro{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:154px;padding:5px 12px 22px 0;overflow:hidden}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2.3px;color:#6d88b6;margin-bottom:10px}h1{font-size:32px;line-height:1.35;letter-spacing:-.9px;font-weight:650;margin:0 0 11px}.intro p{font-size:13px;color:var(--muted);margin:0}.intro-symbol{width:132px;height:132px;display:grid;grid-template-columns:1fr 1fr;gap:7px;transform:perspective(400px) rotateY(-23deg) rotateZ(-13deg);margin-right:50px;position:relative}.intro-symbol:before{content:'';position:absolute;inset:-55px;background:radial-gradient(ellipse,#c8dbfc99,transparent 65%);z-index:-1}.intro-symbol span{border-radius:13px;background:linear-gradient(135deg,#fcffffd9,#a9cbff8f);border:1px solid #fff;box-shadow:7px 12px 18px #5d83c71a,inset -2px -3px 8px #9bbefb20}.intro-symbol span:nth-child(2){background:linear-gradient(135deg,#e0e9ff,#b7b6f179)}.intro-symbol span:nth-child(3){background:linear-gradient(135deg,#badcff,#87bcf988)}.intro-symbol span:nth-child(4){background:linear-gradient(135deg,#d2dfff,#959feb77)}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:8px 0 28px}.service-card{display:flex;gap:16px;align-items:center;text-align:left;position:relative;background:#ffffffdc;border:1px solid #e4e8f0;border-radius:12px;padding:25px 20px;box-shadow:0 3px 4px #20395a03;transition:transform .2s,box-shadow .2s,border-color .2s}.service-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #1f497c0d;border-color:#a7c4f0}.feature-icon{width:47px;height:47px;border-radius:13px;display:grid;place-items:center;flex-shrink:0}.feature-icon svg{width:25px;height:25px}.blue{background:linear-gradient(145deg,#edf4ff,#dfeaff);color:#397ae4}.violet{background:linear-gradient(145deg,#f2edff,#e8e1fd);color:#8363cf}.teal{background:linear-gradient(145deg,#e4f7fa,#d7eff1);color:#318e9c}.service-copy{min-width:0}.service-copy strong{display:block;font-size:16px;font-weight:600;margin-bottom:5px}.service-copy small{display:block;font-size:11px;color:var(--muted);line-height:1.6}.service-arrow{color:#94a1b6;margin-left:auto;font-size:18px}.panel{background:#ffffffd9;border:1px solid #e3e8f0;border-radius:12px;box-shadow:0 2px 4px #20395a02;margin-bottom:22px}.status-panel,.contact-panel{padding:24px 26px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}h2{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600;margin:0}h2 svg{width:19px;height:19px;color:#7b8ca8}.section-heading p{color:var(--muted);font-size:11px;margin:7px 0 0 29px}.subtle-badge{font-size:11px;color:#627a99;border:1px solid #e6ecf3;background:#f7f9fc;padding:5px 10px;border-radius:5px;white-space:nowrap}.status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.status-item{border:1px solid #e9edf3;border-radius:7px;background:#f8fafd;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 12px;font-size:12px;min-width:0}.status-item>span:first-child{font-weight:500}.online,.offline{white-space:nowrap;font-size:10px;display:inline-flex;align-items:center;gap:5px}.online{color:#329167}.offline{color:#969daa}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.online .dot{background:#35a876}.offline .dot{background:#9aa3b0}.notice-bar{display:flex;align-items:center;gap:9px;margin-top:18px;padding:14px 0 15px;border-top:1px solid #edf0f5;font-size:11px;color:#8390a4}.info-icon{display:grid;place-items:center;border:1px solid #a0aec4;width:14px;height:14px;border-radius:50%;font-size:10px;flex-shrink:0}.notice-bar p{margin:0}.notice-bar button{border:0;background:transparent;color:#497cca;font-size:11px;display:inline-flex;align-items:center;gap:3px;padding:0 0 0 8px}.notice-bar svg{width:13px;height:13px}.section-label{font-size:9px;letter-spacing:1.8px;color:#a0aabd}.contact-panel{padding-bottom:24px}.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.contact-card{display:flex;align-items:center;gap:12px;padding:15px 17px;border:1px solid #e8ecf2;border-radius:8px;background:#fff;text-align:left;transition:border-color .2s,background .2s;min-width:0}.contact-card:hover{border-color:#bdd0ee;background:#f8fbff}.contact-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;font-size:19px;font-weight:600}.wechat,.whatsapp{background:#e9f7ee;color:#40a66d}.qq,.telegram{background:#e9f3fe;color:#428ad4}.contact-icon svg{width:20px;height:20px}.contact-card strong{display:block;font-size:12px;font-weight:600}.contact-card small{display:block;font-size:11px;color:#8490a3;margin-top:3px}.contact-action{margin-left:auto;font-size:10px;color:#8d9bb0;white-space:nowrap}.toolbox-panel{overflow:hidden}.toolbox-toggle{background:none;border:0;display:flex;align-items:center;gap:16px;width:100%;padding:20px 26px;text-align:left}.toolbox-toggle .feature-icon{width:40px;height:40px;border-radius:10px}.toolbox-toggle .feature-icon svg{width:21px;height:21px}.toolbox-toggle strong{display:block;font-size:14px;font-weight:600}.toolbox-toggle small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.toolbox-expand{margin-left:auto;font-size:11px;color:#7c8ca6;white-space:nowrap}.toolbox-expand b{display:inline-block;margin-left:12px;transition:transform .2s}.toolbox-toggle[aria-expanded=true] b{transform:rotate(180deg)}.frp-content{border-top:1px solid var(--line);padding:22px 26px}.frp-section{margin-bottom:25px}.frp-section:last-child{margin-bottom:0}.frp-section h4{margin:0 0 12px;font-size:13px;font-weight:600}.frp-button-grid{display:flex;flex-wrap:wrap;gap:9px}.frp-button-grid button,.download-link{font-size:12px;color:#50657f;border:1px solid #dfe6f0;background:#f7f9fc;border-radius:6px;padding:9px 12px;max-width:100%;overflow-wrap:anywhere}.frp-button-grid button:hover,.download-link:hover{background:#e9f1ff;border-color:#aec8f4}footer{display:flex;justify-content:space-between;gap:14px;color:#9aa5b7;font-size:10px;padding:3px 2px 28px}.footer-dot{padding:0 7px}.modal{display:none;position:fixed;inset:0;background:#182b4a55;backdrop-filter:blur(8px);z-index:100;align-items:center;justify-content:center;padding:20px}.modal-content{width:100%;max-width:480px;max-height:85dvh;overflow:auto;padding:30px;background:#fcfdff;border:1px solid #ffffff;border-radius:15px;box-shadow:0 24px 90px #172c4c40;animation:appear .2s ease}.modal h3{font-size:18px;font-weight:600;margin-bottom:12px!important}.qr-text{font-size:18px;font-weight:600;color:var(--ink)!important}.qr-img{display:block;width:100%;max-width:255px;height:auto;margin:20px auto;border:8px solid white;border-radius:10px}.copy-feedback{font-size:12px;color:var(--muted)}.close-btn,.copy-account{width:100%;border-radius:6px;border:1px solid #d8e2f0;padding:11px 15px;margin-top:12px;font-weight:500;background:#f0f4fa!important;color:#526780!important}.copy-account{background:var(--blue)!important;border-color:var(--blue);color:white!important}.tool-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e6ecf4;padding:15px 2px;font-size:13px}.tool-link{color:#344d71}.tool-link:hover{color:var(--blue)}.tool-price{color:var(--blue);background:#eaf1fd;border:0;padding:5px 10px;border-radius:5px;white-space:nowrap;font-size:12px}.promo{font-size:9px;color:#926dcc;background:#f1ebfc;padding:2px 5px;border-radius:4px;margin-left:5px}.tip-text{display:block;color:#8190a6;font-size:11px;line-height:1.7;margin:10px 0}.modal .btn{display:block;background:var(--blue)!important;color:white;padding:12px 20px;border-radius:7px;font-size:13px}.modal-content p[style]{color:var(--muted)!important}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#223650;color:white;padding:12px 22px;border-radius:8px;box-shadow:0 8px 30px #142b4929;transition:.2s;z-index:200;font-size:12px}#toast.visible{opacity:1;transform:translate(-50%,0)}.skip-link{position:fixed;top:-80px;left:20px;padding:12px;background:white;z-index:300}.skip-link:focus{top:12px}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){main{padding-top:40px}.intro{min-height:170px}.service-card{padding:28px 24px}.status-item{padding:16px}.contact-card{padding:18px}.panel{margin-bottom:26px}}
@media(max-width:1150px){.sidebar{width:206px;padding-left:15px;padding-right:15px}.workspace{margin-left:206px}main{padding:25px 26px 0}.topbar{padding:0 26px}.service-card{padding:20px 14px;gap:11px}.feature-icon{width:38px;height:38px}.service-copy strong{font-size:14px}.service-copy small{font-size:10px}.service-arrow{display:none}.status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.contact-action{font-size:9px}.intro-symbol{margin-right:25px;width:112px;height:112px}.brand{font-size:19px}}
@media(max-width:850px){.sidebar{width:76px;padding:25px 13px}.brand{justify-content:center}.brand>span:last-child,.nav-caption,.nav-link:not(.active):before,.sidebar-bottom{display:none}nav{margin-top:38px;gap:13px}.nav-link{font-size:0;padding:14px;gap:0;justify-content:center}.nav-link svg{width:21px;height:21px}.workspace{margin-left:76px}.contact-action{display:none}.service-grid{gap:10px}.service-card{flex-direction:column;align-items:flex-start;gap:13px}.section-heading p{margin-left:0}.section-label{display:none}}
@media(max-width:560px){html{scroll-padding-top:25px}.sidebar{position:relative;width:100%;padding:15px 20px 0;border-right:0;border-bottom:1px solid #dde4ef;display:block}.brand{justify-content:flex-start;font-size:18px}.brand>span:last-child{display:block}.brand-mark{width:35px;height:35px;border-radius:10px}.brand-mark svg{width:21px;height:21px}.brand small{font-size:6px;margin-top:2px}.nav-link{font-size:11px;padding:11px 5px;gap:6px;border-radius:6px;white-space:nowrap}.nav-link svg{display:none}nav{margin-top:15px;display:flex;gap:6px;overflow-x:auto;padding-bottom:10px}.nav-link.active:before{display:none}.nav-link:last-child{display:none}.workspace{margin-left:0}.topbar{height:40px;padding:0 20px;background:#ffffff55;font-size:10px}.topbar>span{display:none}.topbar-right{width:100%;justify-content:space-between}.top-avatar{height:22px;width:22px;font-size:8px}.timezone{font-size:10px}main{padding:22px 16px 0}.intro{min-height:128px;padding-bottom:22px}.eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:25px}.intro p{font-size:11px}.intro-symbol{width:69px;height:69px;gap:4px;margin-right:8px;flex-shrink:0;margin-left:8px}.intro-symbol span{border-radius:8px}.service-grid{gap:8px;margin:0 0 19px}.service-card{padding:15px 11px;border-radius:9px;gap:11px}.service-copy strong{font-size:13px}.service-copy small{font-size:10px;line-height:1.6}.feature-icon{width:34px;height:34px;border-radius:9px}.feature-icon svg{width:20px;height:20px}.panel{border-radius:10px;margin-bottom:17px}.status-panel,.contact-panel{padding:19px 15px 0}.contact-panel{padding-bottom:16px}.section-heading{gap:8px;margin-bottom:18px}h2{font-size:14px;gap:7px}h2 svg{width:17px;height:17px}.section-heading p{font-size:10px}.subtle-badge{font-size:9px;padding:4px 7px}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.status-item{padding:12px 9px;font-size:11px}.online,.offline{font-size:9px;gap:4px}.notice-bar{font-size:10px;align-items:flex-start;line-height:1.8}.info-icon{margin-top:3px}.notice-bar button{font-size:10px;padding-left:0;margin-left:3px}.contact-grid{gap:8px}.contact-card{padding:12px 9px;gap:8px}.contact-icon{width:29px;height:29px;border-radius:8px}.contact-card strong{font-size:11px}.contact-card small{font-size:9px}.toolbox-toggle{padding:16px 15px;gap:10px}.toolbox-toggle strong{font-size:12px}.toolbox-toggle small{font-size:10px}.toolbox-expand{font-size:0}.toolbox-expand b{font-size:16px;margin-left:0}.frp-content{padding:18px 15px}.frp-button-grid button,.download-link{font-size:11px;padding:9px}footer{font-size:9px;flex-direction:column;gap:6px;padding:5px 3px 22px}.modal{padding:16px}.modal-content{padding:24px 20px}.tool-item{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.reviews-panel{display:flex;align-items:center;gap:18px;background:linear-gradient(105deg,#f7faff,#fff);border:1px solid #e2e9f3;border-radius:12px;padding:14px 20px;margin:0 0 22px;box-shadow:0 2px 4px #20395a02;min-height:78px}.reviews-head{display:flex;align-items:center;gap:10px;min-width:174px}.review-star{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff4d8;color:#e4a72b;font-size:18px}.reviews-head strong{display:block;font-size:13px}.reviews-head small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.reviews-counter{margin-left:auto;color:#94a0b4;font-size:10px;font-variant-numeric:tabular-nums}.review-window{height:45px;overflow:hidden;flex:1;border-left:1px solid #e8edf4;padding-left:20px}.review-track{height:100%;display:flex;flex-direction:column;justify-content:center}.review-item{height:45px;display:flex;align-items:center;gap:14px;animation:review-in .45s ease}.review-author{font-weight:600;color:#385475;white-space:nowrap}.review-location{color:#98a4b4;font-size:11px;white-space:nowrap}.review-text{font-size:13px;color:#4e617b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-date{margin-left:auto;color:#a0a9b7;font-size:10px;white-space:nowrap}@keyframes review-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.utility-link{color:#344d71;transition:background .18s,border-color .18s}.utility-link:hover{background:#f4f8ff;border-color:#aec8f4}.api-maintenance{color:#497cca;border:1px solid #d8e6fa;background:#f3f8ff;border-radius:6px;padding:9px 11px;text-align:center}.reviews-panel + .status-panel{margin-top:0}
@media(max-width:850px){.reviews-panel{gap:12px;padding:13px 15px}.reviews-head{min-width:130px}.review-window{padding-left:13px}.review-location{display:none}.review-text{font-size:11px}.review-date{display:none}}
@media(max-width:560px){.reviews-panel{align-items:flex-start;gap:10px;padding:12px;margin-bottom:17px}.reviews-head{min-width:118px;gap:7px}.review-star{width:29px;height:29px;font-size:15px;border-radius:8px}.reviews-head strong{font-size:11px}.reviews-head small{font-size:9px}.reviews-counter{font-size:9px}.review-window{height:42px;padding-left:10px;margin-top:0}.review-item{height:42px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:18px 18px;gap:0 8px;align-content:center}.review-author{font-size:11px}.review-location{display:block;font-size:9px}.review-text{grid-column:1 / -1;font-size:10px}.utility-link .tool-price{font-size:10px}.modal-content{max-height:88dvh}}
.reviews-panel{display:block;padding:14px 20px}.review-window{width:100%;padding-left:0;border-left:0}.review-item{width:100%}.review-location{color:#6f8098}.review-location::before{content:'·';margin-right:8px;color:#aab7c7}.review-date{display:block;color:#7f8da2}.reviews-counter,.reviews-head{display:none}
@media(max-width:850px){.review-location{display:inline;color:#98a4b4}.review-date{display:block}.reviews-panel{padding:13px 15px}.review-window{padding-left:0}}
@media(max-width:560px){.reviews-panel{padding:12px}.review-window{height:42px}.review-item{grid-template-columns:auto auto 1fr;grid-template-rows:18px 18px}.review-date{font-size:9px;margin-left:auto}.review-text{grid-column:1 / -1}.review-location::before{margin-right:4px}}
.intro-copy{max-width:780px}.service-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.service-badges span{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid #cbdcf5;border-radius:999px;background:#edf4ff;color:#376bb8;font-size:11px;font-weight:600;letter-spacing:.1px}.service-badges span::before{content:'✓';margin-right:6px;color:#4b8adc;font-weight:700}.intro h1{max-width:760px}.intro p{max-width:760px}
@media(max-width:560px){.intro-copy{max-width:calc(100% - 78px)}.service-badges{gap:5px;margin-top:14px}.service-badges span{padding:4px 7px;font-size:9px}.service-badges span::before{margin-right:3px}.intro h1{font-size:24px;line-height:1.3}.intro p{font-size:11px;line-height:1.7}}
.brand-mark{background-color:#fff;background-image:url("/brand-logo.jpg");background-position:center 38%;background-size:190%;background-repeat:no-repeat;overflow:hidden}.brand-mark svg{display:none}
.review-item{gap:14px}.review-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--avatar-a),var(--avatar-b));color:#fff;font-size:10px;font-weight:700;letter-spacing:.4px;box-shadow:0 2px 6px #42648c20;flex:0 0 auto}.review-stars{display:inline-flex;gap:1px;color:#e9a72b;font-size:15px;letter-spacing:0;white-space:nowrap}.review-stars span{display:inline-block;line-height:1}.review-stars .star-empty{color:#d8e0eb}.review-stars .star-half{color:transparent;background:linear-gradient(90deg,#e9a72b 50%,#d8e0eb 50%);background-clip:text;-webkit-background-clip:text}.review-author{font-weight:600}.review-text{min-width:0}.review-location::before{content:'·';margin-right:8px}.review-date{margin-left:auto}
@media(max-width:560px){.review-item{display:flex;flex-wrap:wrap;align-content:center;column-gap:8px;row-gap:2px}.review-avatar{width:28px;height:28px;font-size:9px}.review-stars{font-size:13px}.review-location{font-size:9px}.review-date{font-size:9px;margin-left:auto}.review-text{flex-basis:100%;font-size:10px;padding-left:36px}.review-location::before{margin-right:4px}}


/* public/portal.css */
.portal-btn,.portal-panel button,.portal-dialog button,.resource-row button{font:inherit;cursor:pointer;border:1px solid #dce5f5;border-radius:9px;background:#f6f9ff;color:#3567cf;padding:9px 15px}.portal-btn:hover,.portal-panel button:hover,.portal-dialog button:hover{background:#eaf0ff}.portal-btn.strong,.portal-dialog .strong{background:#376bd6;color:white;border-color:#376bd6}.portal-btn:disabled,.portal-dialog button:disabled{opacity:.5;cursor:wait}.resource-row{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:16px 0 28px;font-size:13px;color:#8796ad}.resource-row button{border:0;background:transparent;padding:0}.resource-row a{color:#3567cf}.portal-panel{margin:28px 0;padding:30px;border:1px solid #e1e8f5;border-radius:18px;background:#fff;scroll-margin-top:95px}.portal-panel[hidden]{display:none}.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.portal-heading h2{font-size:24px;margin:9px 0}.portal-heading p,.muted{font-size:13px;color:#8493ac;line-height:1.7}.portal-eyebrow{font-size:11px;letter-spacing:2px;color:#5e80bf}.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 18px}.catalog-tabs button.active{background:#376bd6;color:white}.catalog-filters{display:flex;gap:12px;margin-bottom:14px}.catalog-filters input{flex:1;min-width:0}.portal-panel input,.portal-panel select,.portal-dialog input,.portal-dialog select,.portal-dialog textarea{font:inherit;padding:11px 12px;border:1px solid #d9e2f0;border-radius:9px;background:#fff;color:#21334c;min-width:0}.catalog-filters select{max-width:42%}.catalog-list{display:grid;gap:10px;margin-top:14px}.catalog-service{display:flex;align-items:center;gap:20px;border:1px solid #e5ebf5;background:#fafcff;border-radius:12px;padding:18px}.catalog-service .service-meta{flex:1;min-width:0}.catalog-service h3{font-size:14px;line-height:1.6;margin:0 0 5px;overflow-wrap:anywhere}.catalog-service p{margin:0;color:#8896ac;font-size:12px}.catalog-service .service-price{font-weight:600;color:#365faf;white-space:nowrap}.catalog-service .service-price small{display:block;font-weight:400;font-size:11px;text-align:right;color:#8b99b0}.catalog-pages{display:flex;justify-content:center;gap:12px;align-items:center;margin:20px 0 0}.portal-dialog{position:relative;width:min(640px,calc(100vw - 30px));max-height:85vh;overflow:auto;background:#fff;border-radius:18px;padding:32px;box-shadow:0 24px 80px #182f5e33}.dialog-x{position:absolute;right:12px;top:12px;border:0!important;font-size:23px!important;padding:2px 9px!important}.portal-dialog h3{font-size:22px;margin:8px 0 20px}.portal-form{display:grid;gap:14px}.portal-form label{display:grid;gap:7px;font-size:13px;color:#546786}.portal-form .inline{display:flex;gap:8px;align-items:center}.portal-form .inline input{width:auto}.portal-form textarea{min-height:80px;resize:vertical}.portal-error{color:#b74444;font-size:13px;line-height:1.6;white-space:pre-wrap}.portal-info{padding:14px;background:#f4f7fc;border-radius:10px;font-size:13px;line-height:1.8;color:#566b8a;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.quote-box{background:#edf4ff;border:1px solid #d7e6ff;border-radius:12px;padding:18px;margin:18px 0}.quote-box strong{font-size:27px;color:#3567cf}.quote-box p{font-size:13px;color:#6d83a5}.account-summary{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.account-balance{font-size:32px;color:#3466cd}.account-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.portal-table-wrap{overflow-x:auto}.portal-table{width:100%;border-collapse:collapse;font-size:13px}.portal-table th,.portal-table td{text-align:left;padding:13px 9px;border-bottom:1px solid #e9eef6;vertical-align:top;min-width:70px}.portal-table th{font-weight:500;color:#8694a9}.portal-table td.wide{min-width:230px;max-width:360px;overflow-wrap:anywhere}.status-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:#edf3ff;color:#5375ae;white-space:nowrap}.status-completed,.status-approved{background:#e9f7f0;color:#369275}.status-rejected{background:#fff0f0;color:#b65353}.status-needs_review{background:#fff4df;color:#b58832}.result-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.admin-section{margin-top:25px;border-top:1px solid #e5ebf5;padding-top:20px}.admin-section h3{font-size:18px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.empty-state{padding:40px 12px;text-align:center;color:#8797b1}.portal-alert{padding:12px;border-radius:10px;color:#8d702f;background:#fff7e3;font-size:13px;line-height:1.7}.feature-icon{font-size:30px}.portal-top-small{font-size:12px}@media(max-width:700px){.portal-panel{padding:18px}.portal-heading h2{font-size:20px}.portal-heading{align-items:flex-start}.catalog-filters{flex-direction:column}.catalog-filters select{max-width:100%}.catalog-service{flex-wrap:wrap;gap:10px;padding:14px}.catalog-service .service-meta{flex-basis:100%}.catalog-service .service-price{margin-right:auto}.portal-dialog{padding:25px 18px}.admin-grid{grid-template-columns:1fr}.resource-row{gap:15px}.topbar-right .timezone{display:none}.portal-heading .portal-btn{white-space:nowrap}.service-grid .service-copy small{font-size:11px}}


/* public/layout.css */
:root{--blue:#0874d8;--ink:#17222b;--muted:#73808a;--line:#e3e7eb;font-family:'Segoe UI','Microsoft YaHei',sans-serif}body{background:#f6f7f9;color:var(--ink);font-size:14px}.sidebar{display:none!important}.workspace{margin-left:0}.topbar{height:76px;padding:0 max(24px,calc((100vw - 1320px)/2));background:#fffffff2;position:sticky;top:0;gap:26px;border-bottom:1px solid #dde2e6;backdrop-filter:blur(18px)}.brand{font-size:23px;letter-spacing:-.8px;gap:10px;white-space:nowrap}.brand img{width:40px;height:40px;object-fit:cover;border-radius:9px}.brand-blue{color:#0874d8}.brand small{font-size:9px;letter-spacing:1px;color:#7b8690}.desktop-nav{display:flex;gap:25px;margin-left:auto}.desktop-nav a{color:#697680;font-size:13px;padding:26px 0}.desktop-nav a:hover,.desktop-nav a.current{color:#0874d8}.topbar-right{gap:10px}.icon-button{border:0;background:transparent;font-size:25px;padding:8px}.topbar .portal-btn{border:0;border-radius:99px;background:#e7f1fc;color:#0874d8;font-weight:600}.topbar #menuButton{display:none}#mobileNav{position:fixed;right:16px;top:77px;width:min(340px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px #10274220;z-index:30;padding:15px;display:grid}#mobileNav[hidden]{display:none}#mobileNav a,#mobileNav button{padding:12px 15px;border:0;background:none;text-align:left;border-radius:8px}#mobileNav a:hover{background:#eef5fc}main{max-width:1320px;padding:0 28px;margin:auto}.home-section[hidden],.service-detail[hidden]{display:none!important}.intro{padding:76px 0 66px;min-height:580px;gap:55px;overflow:visible;background:linear-gradient(90deg,#f6f7f900,#edf5fc50);position:relative}.intro:before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#dbe4ec55 1px,transparent 1px),linear-gradient(90deg,#dbe4ec55 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(black,transparent)}.intro-copy{flex:1;max-width:700px}.hero-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #dce7e7;border-radius:999px;font-size:11px;background:#ecf4f1;margin-bottom:23px}.hero-pill i,.demo-top i{width:6px;height:6px;border-radius:99px;background:#279a74}.intro h1{font-size:46px;line-height:1.24;letter-spacing:-1.8px;margin-bottom:20px;font-weight:720}.intro h1 span{color:#0874d8}.intro p{font-size:15px;line-height:1.9;color:#68747f;max-width:620px}.hero-search{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #dde3e8;border-radius:99px;padding:9px 10px 9px 20px;margin-top:28px;box-shadow:0 4px 18px #1b314505}.hero-search>span{font-size:27px;color:#8a959e}.hero-search input{width:100%;min-width:0;padding:10px 0;background:none;border:0;outline:none;font-size:13px}.hero-search button{border:0;border-radius:99px;padding:13px 18px;background:#0874d8;color:white;white-space:nowrap}.hero-examples{display:flex;gap:7px;align-items:center;color:#89939d;font-size:11px;margin:10px 0 27px;flex-wrap:wrap}.hero-examples button{padding:3px 10px;border:1px solid #dee3e9;background:#fff;border-radius:99px;font-size:10px;color:#64717c}.hero-actions{display:flex;align-items:center;gap:24px}.hero-actions a{font-size:12px}.hero-actions .strong{border-radius:99px;padding:12px 21px;background:#0874d8;border-color:#0874d8}.hero-stats{display:flex;gap:25px;color:#89929d;font-size:10px;margin-top:30px}.hero-stats strong{font-size:18px;margin-right:6px;color:#202e3a}.hero-demo{flex:0 0 40%;border:1px solid #dde4eb;border-radius:18px;background:#fff;padding:22px;box-shadow:0 24px 64px #27476914;transform:rotate(-1deg)}.demo-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#94a0ab;border-bottom:1px solid #edf0f3;padding-bottom:15px}.demo-top span:first-child{display:flex;align-items:center;gap:6px;color:#364b5c;font-weight:600}.demo-steps{display:flex;gap:12px;color:#9da7b0;font-size:10px;margin:20px 0}.demo-steps .selected{color:#0874d8}.hero-demo .directory-card{border-radius:9px;padding:12px;grid-template-columns:32px 1fr auto;gap:10px}.hero-demo .service-tile{width:32px;height:32px;font-size:13px}.hero-demo .directory-copy strong{font-size:11px}.hero-demo .directory-copy small{font-size:9px}.hero-demo .directory-price{font-size:13px}.hero-demo .directory-price small{display:none}.demo-services{display:grid;gap:10px}.demo-result{display:flex;align-items:center;gap:13px;border-top:1px solid #eef1f4;margin-top:20px;padding-top:20px}.demo-check{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e6f5ed;color:#279875}.demo-result strong{font-size:12px}.demo-result small{display:block;color:#96a0a9;font-size:10px;margin-top:5px}.landing-section{padding:38px 0}.landing-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.landing-heading h2{font-size:25px;display:block;letter-spacing:-.5px;margin-top:6px}.landing-heading a,.landing-heading>span{font-size:12px;color:#7b8997}.landing-heading p{color:#8d98a2;font-size:12px}.portal-eyebrow{font-size:10px;color:#788a9c;letter-spacing:2px}.tools-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.tools-grid button{border:1px solid #e2e7ec;background:#fff;border-radius:12px;padding:20px 10px;display:grid;place-items:center;gap:9px}.tools-grid button:hover{border-color:#a9c9ea;transform:translateY(-2px)}.tool-logo{display:grid;place-items:center;width:45px;height:45px;border-radius:11px;background:#e8f2fd;color:#2b76bd;font-size:19px;font-weight:700}.tool-color-1{background:#ecf5e8;color:#629346}.tool-color-2{background:#f0eafa;color:#8e69b1}.tool-color-3{background:#f9eee4;color:#b58453}.tools-grid strong{font-size:12px}.tools-grid small{font-size:10px;color:#9ba5ad}.category-heading{margin-top:38px}.service-grid{gap:18px}.service-card{border-radius:13px;min-height:148px;background:#fff;box-shadow:none}.service-copy strong{font-size:19px}.service-copy small{font-size:12px}.feature-icon{border-radius:12px}.resource-row{border-bottom:1px solid #e3e8ed;padding-bottom:20px;margin-bottom:20px}.popular-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.directory-card{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid #e1e5e9;background:#fff;border-radius:9px;text-align:left;padding:20px;color:#28333d;transition:border-color .15s,box-shadow .15s}.directory-card:hover{border-color:#9bc3e9;box-shadow:0 6px 18px #0c315d09}.service-tile{display:grid;place-items:center;background:#f0f4f7;border-radius:9px;width:44px;height:44px;font-size:20px;font-weight:700;color:#5c788d;flex-shrink:0}.directory-copy{min-width:0}.directory-copy strong{display:block;font-size:12px;font-weight:600;line-height:1.65;overflow-wrap:anywhere}.directory-copy small{display:block;font-size:10px;color:#99a2a9;margin-top:5px}.directory-price{text-align:right;white-space:nowrap;color:#178667;font-weight:650;font-size:15px}.directory-price small{display:block;font-size:9px;font-weight:400;color:#8fa49c;margin-top:4px}.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.how-grid>a,.how-grid>button{padding:24px;background:#fff;border:1px solid #e3e7eb;border-radius:12px;text-align:left;color:inherit}.how-grid b{font-size:27px;color:#b9c9da;font-weight:500}.how-grid h3{font-size:16px;margin:15px 0 7px}.how-grid p{color:#8c98a2;font-size:12px;line-height:1.8;min-height:42px}.how-grid span{font-size:11px;color:#0874d8}.portal-panel{border:0;background:transparent;padding:44px 0;margin:0;min-height:70vh;scroll-margin-top:90px}.portal-heading{margin-bottom:25px}.portal-heading h2{font-size:32px;margin:7px 0}.catalog-tabs{margin:22px auto 32px;background:#edf0f4;border:1px solid #dfe4e9;padding:5px;border-radius:99px;width:max-content;max-width:100%;gap:5px}.catalog-tabs button{border:0;background:none;color:#76828d;border-radius:99px;padding:9px 25px}.catalog-tabs button.active{background:#fff;color:#182b3b;box-shadow:0 2px 6px #1c2c4210}.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:32px}.category-sidebar{position:sticky;top:106px;align-self:start;max-height:calc(100vh - 130px);overflow:auto;background:#fff;border:1px solid #e1e5e9;border-radius:9px;padding:16px}.category-sidebar h3{font-size:12px;color:#82909b;padding:0 9px}.category-sidebar button{display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;width:100%;font-size:10px;color:#647480;padding:10px 9px;border:0;background:none;border-radius:6px}.category-sidebar button.current{color:#0874d8;background:#eaf3fc}.category-sidebar button b{font-size:9px;font-weight:400;border-radius:99px;padding:2px 5px;background:#eef1f4}.catalog-filters input,.catalog-filters select{border-radius:10px;border-color:#dfe5ea}.catalog-filters{margin-bottom:20px}.catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-list .directory-card{padding:15px 12px}.directory-group{grid-column:1 / -1;font-size:11px;font-weight:600;color:#7d8a93;border-bottom:1px solid #e0e5ea;padding:18px 0 11px;margin:0 0 1px}.directory-group span{font-weight:400;color:#a0a8af;margin-left:7px}.catalog-list .empty-state{grid-column:1 / -1}.service-detail{padding:25px 0 60px;min-height:75vh}.detail-back{display:flex;justify-content:space-between;align-items:center;color:#8b96a0;font-size:12px;padding:0 0 24px}.detail-back button{border:0;background:none;color:#637886;font-size:12px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px}.detail-main{background:#fff;border:1px solid #e0e5e9;border-radius:10px;padding:30px}.detail-main h3{font-size:25px;line-height:1.45;margin:0 0 12px}.detail-main .portal-form{border-top:1px solid #e4e8eb;padding-top:24px}.detail-main button,.detail-side button{font:inherit;border:1px solid #d8e4ef;border-radius:7px;background:#eef5fc;color:#0874d8;padding:12px}.detail-main .strong{background:#0874d8;color:white;border-color:#0874d8}.detail-main input,.detail-main select{font:inherit;min-width:0;border:1px solid #d9e0e7;border-radius:7px;padding:14px;background:#fff}.detail-main input[type=checkbox]{width:auto}.detail-description{border-top:1px solid #e3e8ed;margin-top:30px;padding-top:24px}.detail-description h2{font-size:17px;margin-bottom:15px}.detail-description .portal-info{max-height:none;background:none;padding:0;color:#77818a}.detail-side{align-self:start;position:sticky;top:105px;padding:25px;border:1px solid #e0e5e9;border-radius:10px;background:#fff}.detail-side h3{margin:0 0 24px;font-size:16px}.detail-side dl{display:grid;grid-template-columns:65px 1fr;gap:16px 10px;font-size:12px}.detail-side dt{color:#8c98a1}.detail-side dd{margin:0;text-align:right;overflow-wrap:anywhere}.summary-price{font-size:22px;font-weight:650;color:#21876c}.detail-side>p{font-size:11px;color:#96a1ab;line-height:1.8}.detail-side>button{width:100%;margin-top:10px}.detail-benefits{border-top:1px solid #edf0f2;padding-top:15px}.account-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:30px}.account-stats>div{position:relative;background:#fff;border:1px solid #e0e6eb;border-radius:10px;padding:25px 20px;display:grid;gap:12px}.account-stats span{font-size:12px;color:#83909c}.account-stats strong{font-size:29px;font-weight:650}.account-stats small{font-size:10px;color:#9aa4ae}.account-stats button{position:absolute;top:18px;right:15px;padding:5px 8px;font-size:10px}.account-actions{padding-bottom:15px;border-bottom:1px solid #e1e6eb;gap:12px}.portal-table-wrap{background:#fff;border:1px solid #e1e6eb;border-radius:10px;padding:12px}.portal-dialog{border-radius:14px}.portal-dialog .strong{background:#0874d8}.reviews-panel{margin-top:35px}.status-panel{margin-top:24px}.panel{border-color:#e3e7eb;border-radius:10px}footer{padding-top:30px;border-top:1px solid #e2e6ea;margin-top:35px}.portal-btn.strong{background:#0874d8;border-color:#0874d8}.portal-panel button.directory-card{color:#28333d;background:#fff;border-radius:9px}.portal-panel button.directory-card:hover{background:#fff}.timezone{display:none}
.brand>span:last-child{display:block}.topbar #memberButton{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1400px){.intro h1{font-size:49px}.popular-grid .directory-card{min-height:115px}}
@media(max-width:1100px){.desktop-nav{gap:14px}.desktop-nav a{font-size:11px}.intro{gap:25px}.intro h1{font-size:36px}.hero-demo{flex-basis:42%}.tools-grid{grid-template-columns:repeat(4,1fr)}.catalog-layout{grid-template-columns:190px 1fr;gap:20px}.catalog-list{grid-template-columns:1fr}.popular-grid{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:minmax(0,1fr) 290px}.account-stats{gap:12px}.account-stats strong{font-size:24px}}
@media(max-width:800px){.desktop-nav{display:none}.topbar{height:66px;padding:0 18px}.topbar #menuButton{display:block}.brand{font-size:20px}.brand img{width:33px;height:33px}.brand small{font-size:8px}.topbar-right{margin-left:auto}.topbar .portal-btn{font-size:11px;padding:9px 12px}.topbar .icon-button{font-size:23px;padding:5px}main{padding:0 20px}.intro{padding:48px 0 30px;display:block;min-height:0}.intro-copy{max-width:none}.intro h1{font-size:38px;letter-spacing:-1px}.intro p{font-size:14px}.hero-demo{transform:none;margin-top:38px}.hero-stats{margin-top:25px}.hero-search input{font-size:12px}.landing-section{padding:28px 0}.landing-heading h2{font-size:23px}.tools-grid{grid-template-columns:repeat(3,1fr)}.service-grid{grid-template-columns:1fr;gap:12px}.service-card{min-height:100px;padding:20px}.category-heading{margin-top:22px}.how-grid{grid-template-columns:repeat(2,1fr)}.catalog-layout{display:block}.category-sidebar{display:none}.catalog-filters select{display:block!important}.catalog-list{grid-template-columns:1fr}.portal-panel{padding:32px 0}.portal-heading h2{font-size:28px}.detail-grid{display:block}.detail-side{position:static;margin-top:20px}.detail-main{padding:24px}.account-stats{grid-template-columns:repeat(2,1fr)}.resource-row{font-size:12px;gap:16px}.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){main{padding:0 16px}.brand small{display:none}.brand img{width:30px;height:30px}.brand{font-size:19px;gap:7px}.topbar{padding:0 13px;gap:8px}.intro h1{font-size:31px}.intro-copy{max-width:none}.hero-search button{padding:11px 13px;font-size:11px}.hero-examples{font-size:10px}.hero-actions{gap:16px}.hero-actions .strong{font-size:12px;padding:11px 14px}.hero-stats{gap:15px}.hero-stats strong{font-size:16px}.hero-demo{padding:17px}.tools-grid{gap:9px}.tools-grid button{padding:16px 7px}.tools-grid strong{font-size:10px}.tools-grid small{font-size:9px}.landing-heading h2{font-size:21px}.landing-heading a{font-size:10px;white-space:nowrap}.popular-grid{grid-template-columns:1fr}.how-grid{gap:10px}.how-grid>a,.how-grid>button{padding:18px}.how-grid h3{font-size:14px}.how-grid p{font-size:11px}.catalog-tabs button{padding:9px 17px;font-size:12px}.catalog-filters{flex-direction:column}.catalog-filters select{max-width:100%}.directory-card{gap:10px;padding:16px 12px;grid-template-columns:36px minmax(0,1fr) auto}.service-tile{width:36px;height:36px;font-size:16px}.directory-copy strong{font-size:11px}.directory-price{font-size:13px}.directory-price small{font-size:9px}.account-stats>div{padding:19px 15px}.account-stats strong{font-size:22px}.detail-main h3{font-size:21px}.hero-pill{margin-bottom:18px}.topbar .icon-button[aria-label='搜索服务']{display:none}}

@media(max-width:480px){.topbar #memberButton{max-width:130px}}

/* Typography: readable system fonts, consistent weights and stronger contrast. */
:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:#1f2328;font-synthesis:weight}
body{font-size:16px;line-height:1.5;color:#1f2328;letter-spacing:0}
button,input,select,textarea{font-family:inherit}
.intro h1{font-weight:600;letter-spacing:-.025em;line-height:1.22}
.intro p{font-size:16px;color:#57616c;line-height:1.7}
.hero-demo{transform:none}
.desktop-nav a{font-size:14px;color:#4d5864}
.hero-search input,.hero-search button{font-size:14px}
.hero-pill,.hero-examples,.hero-examples button{font-size:12px}
.hero-examples,.hero-stats{color:#637080}
.hero-actions a{font-size:14px}
.hero-stats{font-size:12px}
.demo-top,.demo-steps{font-size:12px}
.hero-demo .directory-copy strong{font-size:13px}
.hero-demo .directory-copy small{font-size:11px;color:#657382}
.hero-demo .directory-price{font-size:15px}
.demo-result strong{font-size:14px}.demo-result small{font-size:12px;color:#657382}
.landing-heading h2,.portal-heading h2,.detail-main h3{font-weight:600;letter-spacing:-.02em}
.landing-heading a,.landing-heading>span,.landing-heading p{font-size:14px;color:#64707d}
.portal-eyebrow{font-size:11px;color:#667587}
.tools-grid strong{font-size:14px}.tools-grid small{font-size:12px;color:#637080}
.service-copy small{font-size:14px;color:#637080}
.resource-row{font-size:14px;color:#637080}
.directory-copy strong{font-size:14px;line-height:1.5}
.directory-copy small{font-size:12px;color:#637080}
.directory-price{font-size:16px}.directory-price small{font-size:11px;color:#587065}
.directory-group{font-size:13px;color:#576675}.directory-group span{color:#64707d}
.category-sidebar h3,.category-sidebar button{font-size:12px;color:#576675}
.category-sidebar button b{font-size:11px}
.muted,.portal-heading p{font-size:14px;color:#657180}
.how-grid p{font-size:14px;color:#657180}.how-grid span{font-size:13px}
.portal-form label,.portal-table{font-size:14px}.portal-form label{color:#4e5e6f}
.portal-table th{color:#657180}.portal-info{font-size:14px;color:#536170}
.detail-description .portal-info{color:#536170}.detail-side dl{font-size:14px}.detail-side dt{color:#667381}
.detail-side>p,.detail-back{font-size:13px;color:#657180}
.account-stats span{font-size:14px;color:#657180}.account-stats small{font-size:12px;color:#657180}
.account-stats button{font-size:12px}.portal-alert,.portal-error{font-size:14px}
.review-text{font-size:14px;color:#536170}.review-location,.review-date{font-size:12px;color:#657180}
.section-heading p,.contact-card small{font-size:13px;color:#657180}.status-item{font-size:14px}
.online,.offline{font-size:12px}.notice-bar,.notice-bar button{font-size:13px}
@media(max-width:1100px){.desktop-nav a{font-size:13px}}
@media(max-width:800px){.intro p{font-size:16px}.hero-search input{font-size:14px}.service-copy small{font-size:14px}.resource-row{font-size:13px}.landing-heading a{font-size:12px}}
@media(max-width:480px){.hero-search input,.hero-search button{font-size:13px}.hero-examples,.hero-examples button{font-size:11px}.hero-actions a,.hero-actions .strong{font-size:13px}.hero-stats{font-size:11px}.landing-heading a{font-size:12px}.tools-grid strong{font-size:12px}.tools-grid small{font-size:11px}.directory-copy strong{font-size:14px}.directory-copy small{font-size:12px}.directory-price{font-size:15px}.directory-price small{font-size:11px}.how-grid p{font-size:13px}.catalog-tabs button{font-size:13px}.contact-card strong{font-size:13px}.contact-card small{font-size:11px}.review-text{font-size:12px}.review-location,.review-date{font-size:11px}.online,.offline{font-size:11px}}

/* Brand and software artwork from the corresponding public supplier listing. */
.service-tile,.tool-logo{background:#fff!important;overflow:hidden;flex-shrink:0}
.service-tile img,.tool-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box}
.detail-service-heading{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.detail-service-heading .service-tile{width:64px;height:64px;border:1px solid #e5e8ef;border-radius:12px}
.detail-service-heading h3{margin:0;flex:1}
/* Use native Windows Chinese glyphs without very small/light sidebar text. */
html[data-language="zh"] body{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}
html[data-language="en"] body,html[data-language="ru"] body,html[data-language="fr"] body{font-family:Arial,"Segoe UI",sans-serif}
body{font-synthesis:none;text-rendering:optimizeLegibility}
.category-sidebar h3{font-size:16px;font-weight:700;color:#202b38;letter-spacing:0}
#catalogGroups button{font-size:15px;line-height:1.55;font-weight:400;color:#293647;letter-spacing:0;padding:11px 12px;opacity:1}
#catalogGroups button.current{font-weight:700;color:#0862ae;background:#e6f1ff}
#catalogGroups button b{font-size:12px;color:#41556b;background:#eaf0f7;font-weight:700}
.directory-group{font-size:16px;font-weight:700;color:#253344;line-height:1.5}
.directory-copy strong{font-size:15px;line-height:1.6;font-weight:700;color:#1f2d3d;word-break:normal;overflow-wrap:anywhere}
.directory-copy small{font-size:13px;line-height:1.5;color:#596779}
.catalog-filters input,.catalog-filters select{font-size:15px;color:#263547}
.language-select{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:13px;width:89px;min-height:36px;padding:5px 7px;border:1px solid #d7e2ef;border-radius:8px;background:#fff;color:#24384c}
.original-service-name{margin:0 0 18px;border:1px solid #dee5ef;border-radius:8px;padding:10px 12px;font-size:13px;color:#526276}
.original-service-name summary{cursor:pointer;font-weight:600}.original-service-name p{overflow-wrap:anywhere;margin:10px 0 0}
@media(max-width:1100px){.desktop-nav{display:none}.topbar #menuButton{display:block}.topbar-right{margin-left:auto}}
@media(max-width:480px){.language-select{width:75px;font-size:12px}.topbar-right{gap:5px}.topbar .portal-btn{font-size:12px;padding:9px 11px}.brand{font-size:16px;gap:5px}.brand img{width:27px;height:27px}.directory-copy strong{font-size:14px}.directory-copy small{font-size:12px}.detail-service-heading h3{font-size:19px;line-height:1.5}.detail-service-heading .service-tile{width:48px;height:48px}}

@media(max-width:480px){.topbar{gap:7px;padding-left:12px;padding-right:12px}.topbar-right{min-width:0;flex-shrink:1}.topbar .portal-btn{max-width:95px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.brand{font-size:15px;flex-shrink:0}.topbar-right .icon-button:not(#menuButton){display:none}.detail-service-heading h3{overflow-wrap:anywhere}.detail-back{gap:10px}.detail-back button{white-space:normal;text-align:left}}

.language-picker{position:relative;flex-shrink:0}.language-picker .language-select{display:flex;align-items:center;justify-content:center;gap:5px;width:auto;min-width:90px;cursor:pointer}.language-picker img{width:19px;height:13px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px #00000014}.language-menu{position:absolute;right:0;top:calc(100% + 8px);width:155px;padding:5px;background:#fff;border:1px solid #d7e2ef;border-radius:9px;box-shadow:0 8px 24px #17222b20;z-index:60}.language-menu[hidden]{display:none}.language-menu button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;border:0;background:transparent;border-radius:5px;padding:10px;font:14px Arial,"Microsoft YaHei",sans-serif;color:#24384c;cursor:pointer}.language-menu button:hover,.language-menu button:focus-visible{background:#e6f1ff}@media(max-width:480px){.language-picker .language-select{min-width:76px;padding:5px;gap:4px}.language-picker img{width:16px;height:11px}.topbar .portal-btn{max-width:82px}}

.quantity-price-row{display:flex;align-items:center;gap:22px}.quantity-price-row label{flex:1;min-width:0}.quantity-total{display:flex;flex-direction:column;gap:5px;min-width:125px}.quantity-total span{font-size:13px;color:#536578}.quantity-total strong{font-size:26px;line-height:1.4;color:#16816e}.quantity-total small{font-size:12px;color:#657587}@media(max-width:480px){.quantity-price-row{gap:14px}.quantity-total{min-width:108px}.quantity-total strong{font-size:23px}}

/* Service workspace with a persistent catalogue alongside each project. */
.detail-grid{grid-template-columns:285px minmax(0,1fr) 260px;gap:20px}.detail-main{padding:24px}.detail-main h3{font-size:22px}.detail-navigator{align-self:start;position:sticky;top:96px;border:1px solid #dfe5ec;border-radius:10px;background:#fff;overflow:hidden}.detail-nav-tabs{display:flex;gap:3px;background:#edf0f4;margin:12px;padding:4px;border-radius:8px}.detail-nav-tabs button{flex:1;min-width:0;border:0;background:none;font:12px "Microsoft YaHei",Arial,sans-serif;line-height:1.5;padding:9px 3px;color:#617082;border-radius:6px}.detail-nav-tabs button.active{background:#fff;color:#0764ae;font-weight:700;box-shadow:0 1px 5px #17222b12}#detailNavSearch{font:13px "Microsoft YaHei",Arial,sans-serif;color:#263547;width:calc(100% - 24px);margin:0 12px 12px;padding:11px;border:1px solid #dbe3ec;border-radius:7px;background:#fff}.detail-nav-list{max-height:calc(100vh - 245px);min-height:280px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.detail-nav-list details{border-top:1px solid #e4e9ef}.detail-nav-list summary{display:flex;justify-content:space-between;gap:8px;padding:12px;font-size:12px;font-weight:700;background:#f5f7fa;color:#56677a;cursor:pointer}.detail-nav-list summary span{overflow-wrap:anywhere}.detail-nav-list summary b{color:#8694a5;font-weight:400}.detail-nav-service{display:flex;align-items:flex-start;gap:9px;width:100%;border:0;border-left:3px solid transparent;text-align:left;background:#fff;color:#263547;padding:13px 10px;font:13px "Microsoft YaHei",Arial,sans-serif;cursor:pointer}.detail-nav-service:hover{background:#f4f8fd}.detail-nav-service.active{border-left-color:#0874d8;background:#eaf3ff;color:#0862ae}.detail-nav-service img{width:26px;height:26px;object-fit:contain;border-radius:5px;background:#fff;padding:2px}.detail-nav-service span{flex:1;min-width:0}.detail-nav-service strong{font-weight:500;line-height:1.6;overflow-wrap:anywhere}.detail-nav-service small{display:block;margin-top:4px;color:#718194;font-size:11px}.detail-nav-service>b{font-size:12px;white-space:nowrap;margin-top:3px}.detail-nav-mobile{display:none}.theme-toggle{font:24px Arial,sans-serif;width:34px;height:36px;border:0;background:transparent;color:#60758c;cursor:pointer;border-radius:7px;flex-shrink:0}.theme-toggle:hover{background:#eaf0f7}.dashboard-button{display:flex;align-items:center;gap:6px;border:0;border-radius:99px;background:#e7f1fc;color:#0874d8;padding:10px 14px;font:600 13px Arial,"Microsoft YaHei",sans-serif;white-space:nowrap;cursor:pointer}.dashboard-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.dashboard-shortcuts,.dashboard-section{padding:22px;border:1px solid #e0e6ed;border-radius:10px;background:#fff}.dashboard-shortcuts{margin:24px 0}.dashboard-shortcuts h3,.dashboard-section h3{font-size:17px;margin:0 0 18px}.dashboard-shortcuts>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.dashboard-shortcuts button{padding:15px!important}.dashboard-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:20px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.dashboard-heading h3{margin:0}.dashboard-heading button{font-size:12px}.dashboard-section>p:not(.muted){display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e7edf4}.dashboard-section>p span{color:#748294}.dashboard-section>button{margin:6px 6px 6px 0}.dashboard-section .portal-table-wrap{padding:0;border:0}.dashboard-section .wide{min-width:170px}.dashboard-section small{font-size:12px;color:#748294}
@media(max-width:1200px){.desktop-nav{display:none}.topbar #menuButton{display:block}.detail-grid{grid-template-columns:245px minmax(0,1fr)}.detail-side{grid-column:2;position:static}.detail-navigator{grid-row:1 / span 2}.dashboard-columns{grid-template-columns:1fr}.detail-main{padding:20px}}
@media(max-width:800px){.detail-grid{display:block}.detail-navigator{position:static;margin-bottom:18px}.detail-nav-mobile{display:flex;width:100%;justify-content:space-between;align-items:center;border:0;background:#eef5fc;color:#0874d8;padding:15px;font:600 14px "Microsoft YaHei",Arial,sans-serif}.detail-navigator #detailNavContent{display:none}.detail-navigator.mobile-open #detailNavContent{display:block}.detail-nav-list{max-height:360px}.detail-side{margin-top:20px}.dashboard-shortcuts>div{grid-template-columns:repeat(2,1fr)}.dashboard-shortcuts,.dashboard-section{padding:17px}}
@media(max-width:480px){.topbar-right{gap:4px}.topbar #memberButton{display:none}.dashboard-button{padding:8px}.dashboard-button span{display:none}.theme-toggle{font-size:22px;width:29px}.detail-main{padding:18px}.dashboard-heading{align-items:flex-start}.dashboard-shortcuts>div{gap:8px}}
/* Dark surfaces keep logos and brand colors intact. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e5edf7;--muted:#a8b5c5;--line:#334357;background:#101722}
html[data-theme="dark"] body{background:#101722;color:#e5edf7}
html[data-theme="dark"] .topbar{background:#151e2cf2;border-color:#334357}
html[data-theme="dark"] :is(.detail-main,.detail-side,.detail-navigator,.portal-panel,.panel,.portal-dialog,.category-sidebar,.directory-card,.portal-panel button.directory-card,.account-stats>div,.dashboard-shortcuts,.dashboard-section,.portal-table-wrap,.language-menu,#mobileNav,.how-grid>a,.how-grid>button,.tools-grid button,.service-card,.reviews-panel,.hero-demo){background:#192435;color:#e5edf7;border-color:#334357}
html[data-theme="dark"] :is(.directory-copy strong,.directory-group,.category-sidebar h3,.landing-heading h2,.dashboard-section h3,.detail-main h3,.detail-side h3){color:#edf3fb}
html[data-theme="dark"] :is(.desktop-nav a,.detail-back,.detail-back button,.muted,.detail-nav-service small,.directory-copy small,.detail-side dt,.dashboard-section>p span,.dashboard-section small,.quantity-total span,.quantity-total small,.detail-description .portal-info,.portal-info,.portal-heading p,.account-stats span,.detail-side>p){color:#afbdd0}
html[data-theme="dark"] :is(input,select,textarea,#detailNavSearch,.language-select,.hero-search,.hero-search input){background:#121c2a!important;color:#e6edf7!important;border-color:#3a4b60!important}
html[data-theme="dark"] input::placeholder{color:#97a8be}
html[data-theme="dark"] :is(.detail-nav-list summary,.detail-nav-tabs,.catalog-tabs,.server-item,.portal-info){background:#202e42;color:#c5d2e3;border-color:#334357}
html[data-theme="dark"] .detail-nav-service{background:#192435;color:#e5edf7}
html[data-theme="dark"] :is(.detail-nav-service.active,.detail-nav-service:hover,.detail-nav-tabs button.active,#catalogGroups button.current,.language-menu button:hover,.quote-box){background:#243d5d;color:#8bc4ff;border-color:#3a5676}
html[data-theme="dark"] :is(.detail-nav-tabs button,#catalogGroups button,.language-menu button,.theme-toggle){color:#c5d2e3}
html[data-theme="dark"] :is(.topbar .portal-btn,.dashboard-button,.detail-main button,.detail-side button,.detail-nav-mobile,.account-actions button,.dashboard-section button,.dashboard-shortcuts button){background:#233d5b;color:#97cdff;border-color:#3a5676}
html[data-theme="dark"] :is(.detail-main .strong,.portal-btn.strong,.portal-dialog .strong){background:#0874d8;color:#fff;border-color:#0874d8}
html[data-theme="dark"] :is(.portal-alert,.status-needs_review){background:#3e3523;color:#f3d897}
html[data-theme="dark"] .intro{background:linear-gradient(90deg,#101722,#15283a)}
html[data-theme="dark"] :is(.summary-price,.quantity-total strong,.directory-price){color:#7bdfbf}
html[data-theme="dark"] :is(.detail-description,.detail-main .portal-form,.detail-benefits,.directory-group,.account-actions,.portal-table td,.portal-table th,footer,.dashboard-section>p:not(.muted),.detail-nav-list details){border-color:#334357}

.theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.detail-nav-list summary:before{content:"▾";flex-shrink:0}.detail-nav-list details:not([open]) summary:before{content:"▸"}.detail-nav-list summary span{flex:1}html[data-theme="dark"] .portal-form label{color:#bbcadd}html[data-theme="dark"] .portal-eyebrow{color:#91bdf0}html[data-theme="dark"] .account-stats button{background:#233d5b;color:#97cdff;border-color:#3a5676}html[data-theme="dark"] #catalogGroups button b{background:#31435a;color:#c5d2e3}html[data-theme="dark"] .account-stats small{color:#aabbd0}

.email-code-row{display:flex;align-items:stretch;gap:10px}.email-code-row input{flex:1;width:100%;min-width:0}.email-code-row button{flex-shrink:0;font-size:13px;white-space:nowrap}.dashboard-section>p strong{overflow-wrap:anywhere;min-width:0;text-align:right}

/* Contain touch/wheel scrolling within open dialogs. */
.modal,.modal-content,.portal-dialog{overscroll-behavior:contain}

.finance-chart-layout{display:flex;align-items:center;gap:40px;padding:20px 0;flex-wrap:wrap}.finance-donut{width:220px;height:220px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.finance-donut>div{width:170px;height:170px;border-radius:50%;background:var(--surface,#fff);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:inherit}.finance-donut strong{font-size:25px}.finance-donut span,.finance-donut small{font-size:12px;color:#7b8798}.finance-legend{min-width:230px;max-width:480px;flex:1}.finance-legend p{display:flex;align-items:center;gap:8px}.finance-legend strong{margin-left:auto}.finance-legend i{width:10px;height:10px;border-radius:50%}.finance-legend small{color:#7b8798}.finance-loss{color:#dc4848}@media(max-width:600px){.finance-chart-layout{justify-content:center;gap:15px}.finance-legend{width:100%}}

.dashboard-button.admin-entry{background:#c9323e;color:#fff}.dashboard-button.admin-entry:hover{background:#af2530}#memberButton:disabled{opacity:1;cursor:default}.payment-code{font-variant-numeric:tabular-nums;letter-spacing:.15em;color:var(--text);white-space:nowrap}.recharge-code{font-size:36px}.customer-search{display:block;max-width:600px;margin:20px 0}.customer-search input{display:block;width:100%;padding:12px 16px;border:1px solid var(--border,#dce2ec);border-radius:10px;background:var(--surface,#fff);color:inherit;margin-top:8px}
/* Order history follows a compact service-console layout. */
.order-history-page{padding-top:48px;padding-bottom:50px}.order-history-page>.portal-heading{margin-bottom:42px;display:block}.order-history-page>.portal-heading>div:first-child{display:flex;flex-direction:column-reverse;gap:13px}.order-history-page .portal-heading h2{font-size:36px;line-height:1.3;letter-spacing:-.6px;margin:0;font-weight:700}.order-history-page .portal-eyebrow{font-size:15px;letter-spacing:0;text-transform:none;color:#74808c}.order-history-page>.account-stats,.order-history-page>.account-actions,.order-history-page>.portal-heading>div:last-child:not(:first-child){display:none}.history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:34px}.history-stat{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #dce2e8;border-radius:18px;box-shadow:0 1px 2px #18263406;padding:24px;min-height:112px}.history-stat>div{display:grid;gap:9px}.history-stat>div>span{font-size:14px;color:#65717e;font-weight:600}.history-stat strong{font-size:29px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums}.history-stat-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;flex-shrink:0;background:#f5f7f9;color:#67717d}.history-stat-icon svg{width:26px;height:26px}.history-completed strong,.history-completed.history-status{color:#399772}.history-completed .history-stat-icon{background:#e3f1ea;color:#399772}.history-progress strong,.history-progress.history-status{color:#df762b}.history-progress .history-stat-icon{background:#f8eadd;color:#df762b}.history-rejected strong,.history-rejected.history-status{color:#d84442}.history-rejected .history-stat-icon{background:#fae5e5;color:#d84442}.history-search{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #d9e0e8;border-radius:10px;padding:0 17px;box-shadow:0 1px 2px #18263405;margin-bottom:22px}.history-search>svg{width:21px;height:21px;color:#8994a0;flex-shrink:0}.history-search input{border:0!important;box-shadow:none!important;background:transparent!important;padding:17px 0!important;outline:none;width:100%;font-size:15px!important;color:inherit;min-width:0}.history-search:focus-within{border-color:#6190ed;box-shadow:0 0 0 3px #6190ed16}.history-search input::placeholder{color:#919ba7}.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.history-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.history-filters>span{color:#78838e;margin-right:7px}.portal-panel .history-filters button{background:transparent;border:1px solid transparent;border-radius:10px;padding:10px 18px;font-size:14px;color:#63707b;font-weight:600}.portal-panel .history-filters button.active{background:#fff;color:#202b36;box-shadow:0 1px 2px #18263408}.history-count{font-size:12px;color:#84909d;white-space:nowrap}.history-table-shell{border:1px solid #dce3ea;border-radius:18px;overflow-x:auto;background:#fff;box-shadow:0 4px 18px #23344903}.history-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;font-size:13px}.history-table th{background:#f8f9fb;padding:16px;color:#65717d;font-size:12px;font-weight:600;border-bottom:1px solid #dfe5eb}.history-table td{padding:18px 16px;border-bottom:1px solid #dfe5eb;vertical-align:middle;line-height:1.6}.history-table tr:last-child td{border-bottom:0}.history-table th:nth-child(1){width:13%}.history-table th:nth-child(2){width:22%}.history-table th:nth-child(3){width:12%}.history-table th:nth-child(4){width:8%}.history-table th:nth-child(5){width:12%}.history-table th:nth-child(6){width:11%}.history-table th:nth-child(7){width:15%}.history-table th:nth-child(8){width:7%}.history-order-id{font-weight:600;font-size:11px;color:#52677d;overflow-wrap:anywhere}.history-service{display:flex;align-items:center;gap:10px;min-width:0}.history-service img{width:32px;height:32px;border-radius:8px;object-fit:contain;background:#f6f8fb;padding:3px;flex-shrink:0}.history-service strong{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.history-input{display:block;font:11px/1.6 Consolas,monospace;color:#7d8793;overflow-wrap:anywhere}.history-price{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.history-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;border-radius:99px;padding:4px 9px;background:#e4f1eb;white-space:nowrap}.history-status.history-rejected{background:#fae4e4}.history-status.history-progress{background:#fff0df}.history-date{font-size:12px;font-variant-numeric:tabular-nums}.history-date small{display:block;color:#84909d;font-size:11px}.history-result{color:#7a8591;font-size:12px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.portal-panel .history-open{border:0;border-radius:12px;background:#edf2ff;color:#3673dc;font-size:13px;font-weight:600;padding:10px 14px;white-space:nowrap}.portal-panel .history-open:hover{background:#dfe9ff}.history-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:20px;color:#88939e;font-size:12px}.history-pagination>div{display:flex;gap:8px}.history-pagination button{padding:9px 15px!important;border-radius:9px!important}.history-pagination button:disabled{opacity:.4;cursor:default}.history-empty{text-align:center;min-height:230px;padding:38px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center}.history-empty-icon{display:grid;place-items:center;width:54px;height:54px;background:#f3f6fa;border-radius:16px;color:#94a2b2;margin-bottom:16px}.history-empty-icon svg{width:28px;height:28px}.history-empty h3{font-size:17px;margin:0 0 8px}.history-empty p{color:#84909d;font-size:13px;margin:0 0 20px}.history-empty button{font-size:13px!important;padding:10px 20px!important}.history-table-shell[aria-busy=true]{opacity:.65;transition:opacity .15s}
html[data-theme=dark] .history-stat,html[data-theme=dark] .history-search,html[data-theme=dark] .history-table-shell{background:#1a2738;border-color:#334357}html[data-theme=dark] .history-table th{background:#202f42}html[data-theme=dark] .history-table td,html[data-theme=dark] .history-table th{border-color:#334357}html[data-theme=dark] .history-filters button.active{background:#263b53;color:#d4e3f7}html[data-theme=dark] .history-stat>div>span,html[data-theme=dark] .history-table th,html[data-theme=dark] .history-result,html[data-theme=dark] .history-date small{color:#a5b5c8}html[data-theme=dark] .history-stat-icon,html[data-theme=dark] .history-empty-icon,html[data-theme=dark] .history-service img{background:#2d3b4c}html[data-theme=dark] .history-status.history-completed{background:#203e36;color:#6dcca6}html[data-theme=dark] .history-status.history-rejected{background:#472b34;color:#ff9898}html[data-theme=dark] .history-status.history-progress{background:#443728;color:#f5b87b}html[data-theme=dark] .history-open{background:#263e61;color:#a0c5ff}
@media(max-width:900px){.history-stat{padding:18px}.history-stat-icon{width:42px;height:42px}.history-stat strong{font-size:25px}.history-table{min-width:1020px}.history-stats{gap:12px}}
@media(max-width:600px){.order-history-page{padding-top:30px}.order-history-page>.portal-heading{margin-bottom:26px}.order-history-page .portal-heading h2{font-size:29px}.history-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px}.history-stat{min-height:100px;padding:16px;border-radius:14px}.history-stat>div>span{font-size:12px}.history-stat-icon{width:38px;height:38px}.history-stat-icon svg{width:22px;height:22px}.history-toolbar{align-items:flex-start;flex-direction:column;margin-bottom:18px}.portal-panel .history-filters button{padding:8px 12px;font-size:12px}.history-search input{font-size:13px!important}.history-pagination{font-size:11px}.history-pagination button{padding:8px 10px!important}}
html[data-theme=dark] .history-order-id{color:#b8cbe0}html[data-theme=dark] .history-input,html[data-theme=dark] .history-filters>span,html[data-theme=dark] .history-count,html[data-theme=dark] .history-pagination{color:#a9bacd}html[data-theme=dark] .portal-panel .history-filters button{color:#b8cbe0}html[data-theme=dark] .portal-panel .history-filters button.active{background:#263b53;color:#e3edfa}
/* Complete logo boxes: flex layout avoids intrinsic grid-track overflow. */
.service-tile,.tool-logo{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;line-height:0;padding:5px!important;overflow:visible!important;min-width:0;min-height:0}.service-tile img,.tool-logo img{display:block!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain!important;object-position:center!important;padding:0!important;box-sizing:border-box;flex:0 1 auto;border-radius:0}.detail-nav-service img,.history-service img{box-sizing:border-box;object-fit:contain;object-position:center;flex-shrink:0;padding:4px}
@keyframes jf-progress-rotate{to{transform:rotate(360deg)}}.history-progress .history-stat-icon svg,.activity-icon.progress svg{animation:jf-progress-rotate 2.3s linear infinite;transform-origin:center}.history-progress .history-stat-icon{overflow:visible}@media(prefers-reduced-motion:reduce){.history-progress .history-stat-icon svg,.activity-icon.progress svg{animation:none}}
.customer-dashboard-page,.customer-profile-page{padding-top:48px!important;padding-bottom:48px!important}.customer-dashboard-page>.account-stats,.customer-dashboard-page>.account-actions,.customer-profile-page>.account-stats,.customer-profile-page>.account-actions,.customer-dashboard-page>.portal-heading>div:last-child:not(:first-child),.customer-profile-page>.portal-heading>div:last-child:not(:first-child){display:none}.customer-dashboard-page>.portal-heading,.customer-profile-page>.portal-heading{margin-bottom:42px;display:block}.customer-dashboard-page>.portal-heading>div:first-child,.customer-profile-page>.portal-heading>div:first-child{display:flex;flex-direction:column-reverse;gap:14px}.customer-dashboard-page .portal-heading h2,.customer-profile-page .portal-heading h2{font-size:36px;letter-spacing:-.7px;margin:0}.customer-dashboard-page .portal-eyebrow,.customer-profile-page .portal-eyebrow{font-size:14px;letter-spacing:0;color:#74808c}.customer-dashboard-page .portal-eyebrow strong{color:#3673dc;font-weight:600}.customer-summary{display:grid;grid-template-columns:2.1fr 1fr 1fr 1fr;gap:22px;margin-bottom:42px}.customer-metric{position:relative;border:1px solid #dce3eb;border-radius:24px;padding:25px;background:#fff;overflow:hidden;min-height:218px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.customer-metric:before{content:'';position:absolute;width:140px;height:140px;right:-20px;top:-35px;background:radial-gradient(circle,#dce7fa,transparent 70%);pointer-events:none}.metric-green:before{background:radial-gradient(circle,#e0eee7,transparent 70%)}.metric-amber:before{background:radial-gradient(circle,#f6edcf,transparent 70%)}.metric-purple:before{background:radial-gradient(circle,#e9e1f7,transparent 70%)}.customer-metric>span:not(.customer-metric-icon){font-size:14px;color:#617080;font-weight:600;margin-top:7px}.customer-metric>strong{font-size:31px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.6px;white-space:nowrap;position:relative}.customer-metric-icon,.side-card-icon{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf2ff;color:#3673dc}.customer-metric-icon svg,.side-card-icon svg{width:25px;height:25px}.metric-green .customer-metric-icon{background:#eaf4ef;color:#399772}.metric-amber .customer-metric-icon{background:#fbf7ea;color:#ca9a28}.metric-purple .customer-metric-icon{background:#f4efff;color:#8859ef}.portal-panel .metric-recharge{position:absolute;right:23px;top:22px;border:0;background:transparent;color:#3673dc;padding:4px;font-size:13px;font-weight:600}.portal-panel .metric-ledger{display:block;width:100%;margin-top:auto;text-align:left;border:0;border-top:1px solid #e1e7ed;border-radius:0;background:none;color:#617080;padding:14px 0 0;font-size:13px;font-weight:600}.customer-content-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(250px,1fr);gap:30px}.customer-content-main>section{margin-bottom:32px}.customer-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.customer-section-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}.customer-section-heading svg{width:20px;height:20px;color:#3673dc}.portal-panel .customer-section-heading button{border:0;background:none;color:#3673dc;font-size:13px;font-weight:600;padding:4px}.customer-activity-list{border:1px solid #dce3eb;border-radius:23px;background:#fff;overflow:hidden}.portal-panel .customer-activity{display:flex;align-items:center;gap:15px;padding:18px 17px;width:100%;text-align:left;border:0;border-bottom:1px solid #e1e7ed;background:#fff;border-radius:0;color:inherit}.portal-panel .customer-activity:last-child{border:0}.portal-panel .customer-activity:hover{background:#f8faff}.activity-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border:1px solid #d8eee5;border-radius:12px;color:#399772;font-size:22px}.activity-icon.rejected{color:#d84442;border-color:#f8dbdb}.activity-icon.progress{color:#df762b;border-color:#f4e5cc}.activity-icon svg{width:21px;height:21px}.activity-copy{flex:1;min-width:0}.activity-copy strong{display:block;font-size:13px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.activity-copy small{display:block;font-size:11px;color:#83909f;overflow-wrap:anywhere;margin-top:4px}.activity-meta{text-align:right;flex-shrink:0}.activity-meta .status-tag{border-radius:99px;font-size:10px;padding:3px 8px}.activity-meta small{display:block;margin-top:5px;font-size:11px;color:#83909f}.customer-empty{padding:32px 20px;font-size:13px;color:#83909f}.customer-empty button{margin-left:8px}.customer-content-aside{display:flex;flex-direction:column;gap:22px}.customer-side-card{padding:30px;border:1px solid #dce3eb;border-radius:24px;background:#fff}.side-card-icon{border:1px solid #dfe8ff;background:none;border-radius:17px;margin-bottom:25px}.side-card-icon.purple{color:#8859ef;border-color:#e9dfff}.customer-side-card h3{font-size:19px;margin:0 0 11px}.customer-side-card p{font-size:13px;color:#83909f;line-height:1.7;margin:0 0 22px}.portal-panel .customer-side-card>button{width:100%;border:1px solid #d7e4ff;border-radius:99px;padding:11px 14px;background:#fff;font-size:13px;color:#3673dc}.portal-panel .customer-side-card>.side-link{border:0;margin-top:9px;padding:6px;background:none}.portal-panel .customer-logout{border:0;background:none;color:#8995a2;padding:8px;font-size:13px}.customer-order-chart .dashboard-section{border-radius:23px;padding:24px}.customer-order-chart .finance-donut{width:170px;height:170px}.customer-order-chart .finance-donut>div{width:125px;height:125px}.customer-order-chart .finance-donut strong{font-size:25px}.customer-order-chart .finance-chart-layout{gap:24px}.customer-order-chart .finance-legend{font-size:13px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.profile-card{border:1px solid #dce3eb;border-radius:22px;padding:30px;background:#fff}.profile-card h3{font-size:19px;margin:0 0 20px}.profile-card dl{display:grid;grid-template-columns:80px 1fr;gap:16px;font-size:14px;margin:0 0 20px}.profile-card dt{color:#83909f}.profile-card dd{margin:0;overflow-wrap:anywhere}.profile-card dd small{display:block;color:#399772}.profile-card form{margin-top:22px}.profile-message{margin:0;font-size:13px;color:#3673dc}.portal-panel .profile-back{margin-bottom:23px;background:none;border:0;padding:0;color:#718194;font-size:13px}.customer-profile-page .portal-heading{margin-bottom:26px}.history-table th:nth-child(1){width:10%}.history-table th:nth-child(2){width:24%}.history-table th:nth-child(3){width:12%}.history-table th:nth-child(4){width:8%}.history-table th:nth-child(5){width:11%}.history-table th:nth-child(6){width:11%}.history-table th:nth-child(7){width:17%}.history-table th:nth-child(8){width:7%}.history-order-id{display:block;background:#f6f8fa;padding:12px 6px;border-radius:13px;text-align:center;font-weight:600}.history-service strong{-webkit-line-clamp:1;display:block;white-space:nowrap;text-overflow:ellipsis}.history-table-shell .history-empty{min-height:185px}.history-stat{min-height:104px}.order-history-page>.portal-heading{margin-bottom:38px}.order-history-page .history-toolbar{margin-bottom:24px}
html[data-theme=dark] .customer-metric,html[data-theme=dark] .customer-side-card,html[data-theme=dark] .customer-activity-list,html[data-theme=dark] .portal-panel .customer-activity,html[data-theme=dark] .profile-card{background:#1a2738;border-color:#334357}html[data-theme=dark] .customer-metric:before{opacity:.13}html[data-theme=dark] .customer-metric>span:not(.customer-metric-icon),html[data-theme=dark] .customer-side-card p,html[data-theme=dark] .activity-copy small,html[data-theme=dark] .activity-meta small{color:#a9bacd}html[data-theme=dark] .portal-panel .customer-activity:hover{background:#23364d}html[data-theme=dark] .portal-panel .metric-ledger{border-color:#334357;color:#a9bacd}html[data-theme=dark] .portal-panel .customer-side-card>button{background:#1a2738;border-color:#3a5676;color:#9ac6ff}html[data-theme=dark] .history-order-id{background:#25364b;color:#c2d5ea}
@media(max-width:1100px){.customer-summary{gap:14px;grid-template-columns:1.7fr 1fr 1fr 1fr}.customer-metric{padding:20px;min-height:205px}.customer-metric>strong{font-size:26px}.customer-content-grid{gap:20px;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr)}.customer-side-card{padding:24px}.customer-order-chart .finance-chart-layout{flex-direction:column;align-items:flex-start}.customer-order-chart .finance-legend{width:100%}}
@media(max-width:800px){.customer-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-content-grid{grid-template-columns:1fr}.customer-content-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.customer-order-chart .finance-chart-layout{flex-direction:row}.customer-metric{min-height:195px}.profile-grid{grid-template-columns:1fr}}
@media(max-width:480px){.customer-dashboard-page,.customer-profile-page{padding-top:30px!important}.customer-dashboard-page .portal-heading h2,.customer-profile-page .portal-heading h2{font-size:29px}.customer-summary{gap:10px;margin-bottom:28px}.customer-metric{padding:18px;border-radius:18px;min-height:180px}.customer-metric>strong{font-size:23px}.customer-metric>span:not(.customer-metric-icon){font-size:12px}.customer-metric-icon{width:40px;height:40px}.customer-metric-icon svg{width:22px;height:22px}.portal-panel .metric-recharge{top:18px;right:13px;font-size:11px}.customer-content-aside{display:flex}.customer-activity{gap:10px!important;padding:15px 12px!important}.activity-copy strong{font-size:12px}.activity-icon{width:30px;height:34px;border-radius:10px}.activity-meta .status-tag{font-size:9px}.customer-section-heading h3{font-size:17px}.customer-order-chart .finance-chart-layout{flex-direction:column}.profile-card{padding:22px}}

.dashboard-button.current:not(.admin-entry){background:#2f6bda;color:#fff}.history-table td[colspan]{padding:0}.customer-dashboard-page .finance-legend button{font-size:12px}

.history-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.history-waiting{color:#718095}.history-waiting .history-stat-icon{background:#edf0f5}.history-review{color:#b27720}.history-review .history-stat-icon,.history-status.history-review{background:#fff1d6}.history-status.history-waiting{background:#edf0f5}.activity-icon.review{color:#b27720;background:#fff1d6}.activity-icon.waiting{color:#718095;background:#edf0f5}.history-toolbar .history-filters{flex-wrap:wrap}.review-confirmation{display:flex!important;align-items:flex-start;gap:8px}.review-confirmation input{width:auto!important;margin-top:4px}@media(max-width:600px){.history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.history-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.portal-panel .history-export{border:1px solid #c9daf9;border-radius:9px;background:#edf3ff;color:#2863cd;padding:8px 11px;font-size:12px;font-weight:700;white-space:nowrap}.portal-panel .history-export:hover{background:#dfeaff}.portal-panel .history-export:disabled{opacity:.55;cursor:wait}.history-result.history-result-key{display:block;-webkit-line-clamp:unset;overflow:visible}.history-key-badges{display:flex;flex-wrap:wrap;gap:5px}.history-key-badge{display:inline-flex;max-width:100%;align-items:center;gap:4px;padding:3px 6px;border-radius:6px;background:#eef2f7;color:#53606d;font-size:11px;line-height:1.3}.history-key-badge strong{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243446}.history-key-ok{background:#e3f3e9;color:#246b47}.history-key-ok strong{color:#19643e}.history-key-warn{background:#fff0e3;color:#a94b24}.history-key-warn strong{color:#a13219}.history-result-key>small{display:block;margin-top:5px;color:#83909d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.history-actions{justify-content:flex-start}.history-toolbar{align-items:flex-start;flex-direction:column}}

/* Batch collections keep single orders in their existing rows. */
.history-batch-code{display:block;margin-top:4px;color:#8191a3;font-size:11px;font-family:Consolas,monospace}
.history-batch-parent{background:#f8fbff}.history-batch-label{display:inline-block;background:#edf2ff;color:#6245aa;font-weight:700;padding:7px 10px;border-radius:9px;white-space:nowrap}.history-batch-detail>td{padding:0!important;background:#f4f8ff}.history-batch-panel{margin:0 12px 14px;border:1px solid #d4e3f8;border-radius:12px;overflow:hidden;background:#fff}.history-batch-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;background:#edf4ff}.history-batch-bar strong{font-size:14px}.portal-panel .history-batch-bar .history-export{background:#2f72db;color:#fff;border-color:#2f72db}.history-batch-scroll{overflow-x:auto}.history-batch-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:760px}.history-batch-table th{background:#f9fbfd;text-align:left;color:#7a8798;font-size:11px;padding:10px 12px}.history-batch-table td{border-top:1px solid #edf1f5;padding:9px 12px;font-size:12px;vertical-align:middle}.history-batch-table th:nth-child(1){width:23%}.history-batch-table th:nth-child(2){width:12%}.history-batch-table th:nth-child(3){width:40%}.history-batch-table th:nth-child(4){width:12%}.history-batch-table th:nth-child(5){width:13%}.history-batch-table .history-input{font-size:12px;color:#354b68;white-space:nowrap;overflow:visible}.history-batch-table .history-result{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.history-batch-table .history-result-key{white-space:normal}.history-batch-table .history-result-key>small{display:none}.history-batch-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;color:#778798;font-size:12px}.history-batch-pages>div{display:flex;gap:7px}.portal-panel .history-batch-pages button{border:1px solid #d2e0f3;border-radius:7px;background:#fff;color:#2865c5;padding:5px 9px}.portal-panel .history-batch-pages button:disabled{opacity:.4;cursor:default}@media(max-width:700px){.history-batch-bar{align-items:flex-start;flex-direction:column}.history-batch-pages{align-items:flex-start;flex-direction:column}}

.customer-tier{display:inline-flex!important;align-items:center;vertical-align:middle;width:fit-content;gap:4px;padding:4px 10px;border:1px solid #dce6f5;border-radius:99px;background:#edf3ff;color:#3b6cba;font-size:11px;font-weight:650;line-height:1.4;white-space:nowrap;letter-spacing:0;text-transform:none}.portal-eyebrow .customer-tier{margin-left:10px}.tier-silver{background:#edf1f5;color:#617086;border-color:#d5dfe9}.tier-gold{background:#fff5df;color:#976718;border-color:#f3ddb0}.tier-reseller{background:#e9f6f0;color:#2e8665;border-color:#c8e7d9}.tier-distributor{background:#f2edff;color:#7850b7;border-color:#dfd0fa}.admin-main td .customer-tier{margin-top:5px}.order-detail-service .customer-tier{margin-top:8px}html[data-theme='dark'] .customer-tier{background:#24334a;color:#b7ccf0;border-color:#3e506b}

/* Metallic tier accents: high contrast text, fixed numbering, no flashing effects. */
.order-number:not(.order-number-standard){display:inline-flex;align-items:center;width:fit-content;padding:5px 10px;border:1px solid;border-radius:9px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.2px;transition:box-shadow .18s ease,filter .18s ease}:is(.portal-panel,.order-detail) .order-number.order-number-silver{color:#596573;background:linear-gradient(125deg,#e4e8ed,#fafbfc 48%,#d4dce5);border-color:#c6ced8;box-shadow:inset 0 1px 0 #ffffffb3}:is(.portal-panel,.order-detail) .order-number.order-number-gold{color:#916116;background:linear-gradient(125deg,#f4db9c,#fff3cb 48%,#e8c475);border-color:#d8b56c;box-shadow:inset 0 1px 0 #fff9e8}:is(.portal-panel,.order-detail) .order-number.order-number-reseller{color:#e4c785;background:linear-gradient(125deg,#28251e,#454033 48%,#24211b);border-color:#b99a5c;box-shadow:inset 0 1px 0 #8b795d66}:is(.portal-panel,.order-detail) .order-number.order-number-distributor{color:#eee4cf;background:linear-gradient(125deg,#14151b,#353842 48%,#171820);border-color:#938678;box-shadow:inset 0 1px 0 #d7c8b54d,0 1px 4px #1a1b2520}:is(.portal-panel,.order-detail) button.order-number:not(.order-number-standard):hover{filter:brightness(1.08);box-shadow:0 3px 10px #26364c24}.customer-activity .order-number:not(.order-number-standard){padding:2px 7px;font-size:10px}.order-detail-heading .order-number:not(.order-number-standard){font-size:13px}html[data-theme='dark'] :is(.portal-panel,.order-detail) .order-number.order-number-silver{color:#d7e0ed;background:linear-gradient(125deg,#303b49,#485564,#303b49);border-color:#7b8b9d}html[data-theme='dark'] :is(.portal-panel,.order-detail) .order-number.order-number-gold{color:#f8de9d;background:linear-gradient(125deg,#4d3920,#6b512c,#44331d);border-color:#ab884b}.portal-panel .customer-tier.tier-reseller{color:#e4c785;background:#302c24;border-color:#b99a5c}.portal-panel .customer-tier.tier-distributor{color:#eee4cf;background:#22252f;border-color:#938678}

/* Black Diamond: translucent amethyst facets and refracted edge light. */
:is(.portal-panel,.order-detail) .order-number.order-number-distributor,.portal-panel .customer-tier.tier-distributor{position:relative;isolation:isolate;overflow:hidden;color:#582a91;background:conic-gradient(from 25deg at 18% 24%,#ffffffa6 0deg 42deg,#c9a5f755 42deg 102deg,#f4eaff99 102deg 151deg,#ad80ed55 151deg 216deg,#ffffff99 216deg 272deg,#d9baff88 272deg 360deg),linear-gradient(125deg,#dfccff,#faf4ff 43%,#ceadf4 74%,#ede2ff);border-color:#b495e5;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #9560d133,0 0 0 1px #d9bbf54d,0 0 10px #aa77df38;text-shadow:0 1px 0 #ffffffb3}
:is(.portal-panel,.order-detail) .order-number.order-number-distributor::after,.portal-panel .customer-tier.tier-distributor::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#fff0 38%,#ffffff8c 48%,#e6dcff4d 53%,transparent 66%);background-size:260% 100%;animation:amethyst-refraction 7s ease-in-out infinite;opacity:.55}
:is(.portal-panel,.order-detail) button.order-number.order-number-distributor:hover{filter:brightness(1.04);border-color:#9965d3;box-shadow:inset 0 1px 0 #fff,0 0 0 1px #d6b9fa80,0 3px 15px #9f65d85c}
@keyframes amethyst-refraction{0%,15%{background-position:100% 0;opacity:.2}50%{opacity:.55}80%,100%{background-position:-60% 0;opacity:.2}}
@media(prefers-reduced-motion:reduce){:is(.portal-panel,.order-detail) .order-number.order-number-distributor::after,.portal-panel .customer-tier.tier-distributor::after{animation:none;background-position:50% 0;opacity:.3}}

/* Customer order IDs use the same blue baseline as the admin order IDs. */
.portal-panel .history-order-id.order-number-standard,.portal-panel .customer-activity .order-number-standard,.order-detail .order-number-standard{display:inline-flex;align-items:center;justify-content:center;width:fit-content;color:#3673dc;background:#edf2ff;border:1px solid #dce6f5;border-radius:9px;padding:6px 11px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.portal-panel .history-order-id.order-number{font-size:12px;line-height:1.5}.portal-panel .customer-activity .order-number-standard{padding:2px 7px;font-size:10px}html[data-theme='dark'] .portal-panel .history-order-id.order-number-standard,html[data-theme='dark'] .portal-panel .customer-activity .order-number-standard,html[data-theme='dark'] .order-detail .order-number-standard{color:#aecaff;background:#253958;border-color:#405779}

/* Number widths are a minimum, not a clipping boundary. Keep full IDs within their own cells. */
.history-table th:nth-child(1){width:12%}
.history-table th:nth-child(2){width:22%}
.portal-panel .order-number:not(.customer-tier),.order-detail .order-number{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;flex-shrink:1}


/* public/checkout.css */
/* Reference-style data entry and adjacent order summary. */
.checkout-grid{grid-template-columns:260px minmax(0,1fr) 300px;gap:22px;align-items:start}
.checkout-main{min-width:0;display:grid;gap:24px}.checkout-card{background:var(--checkout-card,#fff);border:1px solid var(--checkout-border,#dbe2ea);border-radius:8px;overflow:hidden;box-shadow:none}
.checkout-service-header{display:flex;align-items:flex-start;gap:18px;padding:24px;border-bottom:1px solid var(--checkout-border,#dbe2ea)}
.checkout-service-header .service-tile{width:72px;height:72px;flex-shrink:0;border-radius:8px;background:#f6f8fa!important;padding:8px!important}
.checkout-heading{flex:1;min-width:0}.checkout-heading>small{display:block;font-size:12px;font-weight:600;line-height:1.5;color:#8390a1;margin:0 0 8px}
.checkout-heading h1{font-size:21px;font-weight:600;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere;letter-spacing:0;color:var(--checkout-text,#202831)}
.checkout-service-header>strong{font-size:24px;font-weight:500;white-space:nowrap;color:var(--checkout-text,#202831);line-height:1.4}
.checkout-delivery{display:inline-flex;border-radius:99px;background:#e9f5ee;color:#3c956f;font-size:12px;padding:4px 10px}
.checkout-form{display:flex;flex-direction:column;gap:20px;padding:24px}.checkout-form h2,.checkout-description h2{margin:0 0 2px;font-size:17px;font-weight:600;color:var(--checkout-text,#202831)}
.checkout-form label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:500;color:var(--checkout-muted,#647080)}
.checkout-form label small{font-weight:400;font-size:12px}.checkout-form input,.checkout-form select{box-sizing:border-box;width:100%;min-height:48px;border:1px solid var(--checkout-border,#d3dce6);border-radius:6px;background:var(--checkout-input,#fff);padding:12px 15px;color:var(--checkout-text,#202831);font:inherit;font-size:15px}
.checkout-form label[hidden]{display:none!important}.checkout-input-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.checkout-bulk-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 12px;border:1px solid #2057c5;border-radius:8px;background:#2867dc;color:#fff;font:inherit;font-size:13px;font-weight:700;box-shadow:0 4px 12px #2867dc33;cursor:pointer}.checkout-bulk-toggle:hover{background:#1d56c6}.checkout-bulk-toggle:focus-visible{outline:3px solid #9cbbff;outline-offset:2px}.checkout-bulk-toggle svg{width:16px;height:16px;flex:none}.checkout-bulk-toggle[aria-pressed="true"]{background:#eaf1ff;color:#225ac8;border-color:#b9cff8;box-shadow:none}.checkout-form .checkout-bulk-field[hidden]{display:none}.checkout-form textarea[name="identifiers"]{box-sizing:border-box;width:100%;min-height:230px;resize:vertical;border:1px solid var(--checkout-border,#d3dce6);border-radius:6px;background:var(--checkout-input,#fff);padding:12px 15px;color:var(--checkout-text,#202831);font:inherit;font-size:15px;line-height:1.6}.checkout-form textarea[name="identifiers"]:focus{outline:2px solid #cbdcff;border-color:#78a2eb}.checkout-bulk-field small{color:var(--checkout-muted,#647080)}
.checkout-form input:focus,.checkout-form select:focus{outline:2px solid #cbdcff;border-color:#78a2eb}.checkout-form .required-mark{color:#dc5252;display:inline}.checkout-form label:has(.required-mark){display:block}.checkout-form label:has(.required-mark)>input,.checkout-form label:has(.required-mark)>select{display:block;margin-top:9px}
.checkout-form .checkout-quantity-label{display:block;margin:0}.checkout-quantity-label small{color:#8290a1}.checkout-stepper{display:flex;gap:9px;align-items:center;margin-top:-9px}.checkout-stepper input{width:90px;text-align:center;font-size:17px;min-height:48px;appearance:textfield}.checkout-stepper input::-webkit-inner-spin-button,.checkout-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.checkout-stepper button{width:44px;height:48px;background:var(--checkout-input,#fff);border:1px solid var(--checkout-border,#d3dce6);border-radius:6px;color:var(--checkout-muted,#647080);font-size:24px;padding:0;cursor:pointer}.checkout-stepper button:disabled{opacity:.4;cursor:default}
.checkout-description{padding:24px}.checkout-description h2{display:flex;align-items:center;gap:9px;margin-bottom:20px}.checkout-description svg{width:18px;height:18px;color:#8794a3}.checkout-description .portal-info{white-space:pre-wrap;font-size:14px;line-height:1.9;color:var(--checkout-muted,#657180);border:0;background:none;padding:0;margin:0;overflow-wrap:anywhere}.checkout-description a{color:#2c68d8;text-decoration:underline}
.checkout-side{position:sticky;top:96px;align-self:start;min-width:0}.checkout-summary h2{font-size:18px;padding:18px 22px;margin:0;background:var(--checkout-header,#f5f7fa);color:var(--checkout-text,#202831)}
.checkout-summary dl{padding:20px 22px 0;margin:0;display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:12px;row-gap:19px;font-size:13px;line-height:1.55}
.checkout-summary dt{color:var(--checkout-muted,#76818e);font-weight:400}.checkout-summary dd{margin:0;text-align:right;color:var(--checkout-text,#202831);overflow-wrap:anywhere;min-width:0}.checkout-service-name{font-weight:600}.checkout-field-summary{display:contents}.checkout-field-summary dd{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.checkout-delivery-dot{display:inline-block;width:8px;height:8px;background:#90d69b;border-radius:50%;margin-right:6px}
.checkout-totals{margin:22px 22px 0;padding-top:22px;border-top:1px solid var(--checkout-border,#dbe2ea)}.checkout-totals>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.checkout-totals>div:first-child{font-size:19px;color:var(--checkout-text,#202831)}.checkout-totals #detailTotal{font-size:27px;font-weight:500}.checkout-totals>div+div{margin-top:20px;font-size:13px;color:var(--checkout-muted,#76818e)}#checkoutAfterBalance{font-weight:500;color:#419672}#checkoutAfterBalance.balance-short{color:#d34b44}
.checkout-submit{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px 22px 0;width:calc(100% - 44px);border:0;border-radius:6px;background:#2f67d8;color:#fff;font-family:inherit;font-size:16px;font-weight:600;padding:17px 10px;cursor:pointer;min-height:52px}.checkout-submit svg{width:21px;height:21px}.checkout-submit:hover{background:#255bca}.checkout-submit:disabled{opacity:.55;cursor:default}#checkoutRecharge{display:block;margin:12px 22px 0;width:calc(100% - 44px);padding:12px;border:1px solid #dbe5f8;background:#f1f5ff;color:#376bd3;border-radius:6px;font:inherit;font-size:13px}#checkoutRecharge[hidden]{display:none}
.checkout-payment-note{display:block;text-align:center;margin:13px 22px 20px;color:var(--checkout-muted,#8290a1);font-size:11px;line-height:1.6}#checkoutEstimateStatus{font-size:12px;color:var(--checkout-muted,#76818e);margin:12px 22px 0;line-height:1.7}#checkoutEstimateStatus:empty{display:none}.checkout-form .portal-error{font-size:13px;line-height:1.8;margin:0}.checkout-form .portal-error:empty{display:none}.checkout-benefits{padding:12px 8px;font-size:13px;color:var(--checkout-muted,#76818e)}.checkout-benefits p{display:flex;align-items:center;gap:12px;margin:12px 0}.checkout-benefits svg{width:17px;height:17px;flex-shrink:0}
[data-theme="dark"] .checkout-grid{--checkout-card:#17212c;--checkout-border:#344251;--checkout-text:#e7edf5;--checkout-muted:#a9b6c6;--checkout-input:#1c2a38;--checkout-header:#1c2937}
@media(min-width:1600px){.checkout-grid{grid-template-columns:290px minmax(0,1fr) 330px}.checkout-heading h1{font-size:23px}.checkout-service-header{padding:26px}.checkout-form,.checkout-description{padding:26px}}
@media(max-width:1200px) and (min-width:801px){.checkout-grid{grid-template-columns:205px minmax(0,1fr) 260px;gap:14px}.checkout-grid .detail-navigator{grid-row:auto}.checkout-service-header{padding:18px;gap:12px;flex-wrap:wrap}.checkout-service-header .service-tile{width:54px;height:54px}.checkout-heading h1{font-size:18px}.checkout-service-header>strong{margin-left:auto;font-size:22px}.checkout-form,.checkout-description{padding:18px}.checkout-summary dl{grid-template-columns:70px 1fr;padding:18px 16px 0}.checkout-side{grid-column:auto}}
@media(max-width:1000px) and (min-width:801px){.checkout-grid{grid-template-columns:minmax(0,1fr) 290px}.checkout-grid .detail-navigator{grid-column:1/-1;position:static}.checkout-grid .detail-nav-mobile{display:flex;width:100%;justify-content:space-between;padding:13px;border:0;background:#eef4fd;color:#3869c6}.checkout-grid #detailNavContent{display:none}.checkout-grid .mobile-open #detailNavContent{display:block}.checkout-grid .detail-nav-list{max-height:300px}}
@media(max-width:800px){.checkout-grid{display:block}.checkout-main{gap:18px}.checkout-side{position:static;margin-top:18px}.checkout-service-header{padding:20px;gap:13px}.checkout-heading h1{font-size:20px}.checkout-service-header .service-tile{width:56px;height:56px}.checkout-service-header>strong{font-size:21px}.checkout-form,.checkout-description{padding:20px}.checkout-summary dl{grid-template-columns:100px minmax(0,1fr)}}
@media(max-width:480px){.checkout-service-header{flex-wrap:wrap}.checkout-heading{min-width:calc(100% - 75px)}.checkout-service-header>strong{margin-left:69px}.checkout-heading h1{font-size:18px}.checkout-form,.checkout-description{padding:18px}}

/* Feedback stays visible while price checks and the supplier request are pending. */
.checkout-submit.is-submitting{position:relative;opacity:1!important;cursor:wait;background:#316bd9!important;color:#fff!important;transform:none!important}
.checkout-submit.is-submitting>svg{display:none}
.checkout-submit.is-submitting:before{content:"";display:inline-block;width:17px;height:17px;flex-shrink:0;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:checkout-spin .8s linear infinite}
.checkout-progress{margin:12px 22px 0;padding:11px 12px;background:#edf3ff;color:#426591;border:1px solid #dce7fb;border-radius:9px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.checkout-progress[hidden]{display:none!important}
html[data-theme="dark"] .checkout-progress{background:#1c2f49;color:#bfd4f7;border-color:#345174}
@keyframes checkout-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.checkout-submit.is-submitting:before{animation:none;border-style:dotted}}


.customer-product-code{display:block;font-size:12px;line-height:1.5;color:var(--muted,#718096);margin-top:5px;overflow-wrap:anywhere}.checkout-heading .customer-product-code{margin:8px 0}

.checkout-description-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.checkout-description-toolbar h2{margin-bottom:0;min-width:0}.checkout-description-toolbar button{flex-shrink:0;background:var(--checkout-header,#f5f7fa);color:var(--checkout-muted,#657180);border:1px solid var(--checkout-border,#d3dce6);border-radius:8px;padding:8px 11px;font:inherit;font-size:12px;cursor:pointer}.checkout-description-toolbar button:hover{color:var(--checkout-text,#202831)}
#serviceDescriptionToggle,.order-detail [aria-controls="orderDetailResult"]{background:#eaf4ff;color:#2b65a4;border-color:#bfdcff;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
#serviceDescriptionToggle:hover,.order-detail [aria-controls="orderDetailResult"]:hover{background:#dceeff;color:#23558d;border-color:#a8cef6}
html[data-theme="dark"] #serviceDescriptionToggle,html[data-theme="dark"] .order-detail [aria-controls="orderDetailResult"]{background:#1c3c59;color:#c4e2ff;border-color:#3c6d97}
html[data-theme="dark"] #serviceDescriptionToggle:hover,html[data-theme="dark"] .order-detail [aria-controls="orderDetailResult"]:hover{background:#274e70;color:#e3f1ff}


/* public/home.css */
/* Homepage parity: animated previews, outlined controls and broad section rhythm. */
.home-hero{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);align-items:center;gap:54px;padding:72px 0 76px;min-height:610px;background:none;isolation:isolate}.home-hero:before{inset:0 calc((100% - 100vw)/2);z-index:-1;mask-image:none;background-image:radial-gradient(ellipse at 10% 0%,#eae7f8b0,transparent 55%),radial-gradient(ellipse at 88% 8%,#dce8f7c0,transparent 55%),linear-gradient(#d8e0e745 1px,transparent 1px),linear-gradient(90deg,#d8e0e745 1px,transparent 1px);background-size:auto,auto,72px 72px,72px 72px;border-bottom:1px solid #dfe5ec}.home-hero .intro-copy{max-width:none;min-width:0}.home-hero h1{font-size:44px;font-weight:650;letter-spacing:-.025em;line-height:1.3;margin:0 0 20px}.home-hero h1>span{display:block;color:#316bd9}.home-hero h1>.home-headline-dash{color:#232831;margin-top:12px;line-height:.8}.home-hero p{font-size:15px;line-height:1.9;margin-top:20px}.home-hero .hero-pill{background:#ffffffbd;border-color:#dbe2ea;margin-bottom:26px;color:#596675;font-size:12px}.home-hero .hero-pill i{animation:home-pulse 2.2s ease-in-out infinite}.home-hero .hero-search{box-shadow:none;margin-top:30px;padding:7px 17px;min-height:52px}.home-hero .hero-examples{margin-bottom:30px}.home-hero .hero-actions{margin-top:28px}.hero-actions .home-primary{background:#316bd9;color:#fff;padding:12px 20px;border-radius:99px;font-size:14px;font-weight:600}.home-hero .hero-stats{border-top:1px solid #dfe5ec;margin-top:36px;padding-top:22px;gap:25px}.home-hero .hero-stats strong{font-size:16px}.home-hero-demo{min-width:0;align-self:center;padding-top:15px}.home-hero-demo>h3{font-size:11px;font-weight:600;letter-spacing:.12em;color:#8895a5;margin:0 0 14px}.home-stages{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:14px}.home-stages button{display:grid;gap:8px;border:0;background:none;padding:0;text-align:left;color:#8893a2;font:inherit;font-size:11px;cursor:pointer}.home-stages button>i{height:3px;display:block;border-radius:4px;background:#d5dde6}.home-stages button.active{color:#313e4c}.home-stages button.active>i{background:#3470dc}.home-browser{border:1px solid #d6dee8;border-radius:13px;overflow:hidden;background:var(--home-card,#fff);box-shadow:0 15px 28px #24334718;color:var(--home-text,#252d36)}.home-browser>header{display:flex;align-items:center;gap:6px;padding:14px 15px;background:var(--home-head,#f6f8fa);border-bottom:1px solid var(--home-line,#dfe5ed);font-size:12px;font-weight:600;color:#7b8796}.home-browser>header>i{width:8px;height:8px;border-radius:50%;background:#d2d9e0}.home-browser>header>span{margin-left:11px}.home-browser-body{padding:18px;min-height:255px;font-size:12px}.home-browser-body h3{font-size:14px;font-weight:600;margin:0 0 16px}.home-browser-body p{font-size:12px;line-height:1.8;color:var(--home-muted,#7b8796);margin:15px 0 0}.home-browser-body label{font-size:11px;display:block;font-weight:600;color:#8793a2;margin:13px 0 7px}.home-browser-body em{font-style:normal;color:#dd4949}.home-browser>footer{display:flex;align-items:center;justify-content:space-between;background:var(--home-head,#f6f8fa);border-top:1px solid var(--home-line,#dfe5ed);font-size:11px;color:#7f8a98;margin:0;padding:10px 17px}.home-mini-search{border:1px solid var(--home-line,#dfe5ed);border-radius:99px;padding:10px 12px;font-size:11px;color:#8391a2;margin-bottom:10px}.home-demo-service{padding:12px;display:flex;gap:12px;border:1px solid transparent;border-radius:6px;align-items:center}.home-demo-service.selected{border-color:#b6caff;background:#eaf0fd}.home-demo-service>span{min-width:0;flex:1}.home-demo-service strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-demo-service.selected strong{color:#3470dc}.home-demo-service small{display:block;font-size:10px;color:#8572c2;margin-top:6px}.home-demo-service b{font-weight:500;font-size:12px;white-space:nowrap}.home-selected{background:var(--home-selected,#f0f4fe);border-left:3px solid #3b74e0;border-radius:5px;padding:10px 12px;margin:10px 0}.home-selected strong{display:block;color:#3f73d9;font-size:12px;font-weight:500;line-height:1.6;max-height:58px;overflow:hidden}.home-selected small{display:block;color:#8792a0;margin-top:4px;font-size:10px}.home-demo-input{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--home-line,#dfe5ed);border-radius:6px;min-height:40px;padding:10px 12px;margin-top:8px;gap:6px;font-size:12px}.home-demo-input small{color:#8995a4}.home-demo-submit{background:#316bd9;color:#fff;border-radius:5px;margin-top:13px;padding:11px;text-align:center;display:flex;justify-content:center;gap:7px;font-weight:600}.home-demo-submit svg{width:16px;height:16px}.home-typed{display:inline-block;overflow:hidden;white-space:nowrap;max-width:100%;animation:home-type 2.5s steps(18) both}.home-caret{width:1px;height:16px;background:#5384dc;margin-right:auto;animation:home-pulse .8s infinite}.home-swap{animation:home-swap .45s ease both}.home-demo-success,.home-demo-processing{display:flex;flex-direction:column;align-items:center;gap:16px;padding:28px 0 15px;color:#479778}.home-demo-success svg,.home-demo-processing svg{width:36px;height:36px}.home-demo-processing{color:#e17836}.home-demo-processing svg{animation:home-spin 2s linear infinite}.home-demo-result{padding:12px;border-radius:6px;background:#eaf6ee;color:#43896c;text-align:center;margin-top:16px}.home-loading-line{height:5px;background:#e9edf4;border-radius:9px;overflow:hidden}.home-loading-line>i{display:block;height:100%;width:35%;border-radius:9px;background:#3976df;animation:home-loading 1.8s ease-in-out infinite}.home-demo-code{display:flex;justify-content:space-between;padding:20px 10px;color:#74849b}.home-demo-code strong{letter-spacing:.2em;color:#316bd9}.home-block{padding:62px 0;border-bottom:1px solid var(--home-line,#dfe5ec)}.home-block .landing-heading,.home-block-heading{margin-bottom:30px}.home-block h2,.home-block-heading h2{font-size:33px;font-weight:650;line-height:1.3;margin:8px 0 0;letter-spacing:-.025em}.home-block .portal-eyebrow,.home-block-heading .portal-eyebrow{font-size:11px;color:#8895a4;letter-spacing:.08em}.home-block .landing-heading a{color:#316bd9;font-size:13px}.home-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.home-tools>button{border:1px solid var(--home-line,#dfe5ec);border-radius:6px;background:var(--home-card,#fff);padding:20px 12px 17px;min-height:130px;color:var(--home-text,#252d36);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.home-tools>button>span{height:50px;width:100%;display:flex;align-items:center;justify-content:center}.home-tools img{width:auto;max-width:100%;height:auto;max-height:50px;object-fit:contain}.home-tools strong{font-size:11px;font-weight:400;color:var(--home-muted,#788697);line-height:1.6}.home-tools>button:hover,.home-tool-chips button:hover{border-color:#9fbced;box-shadow:0 5px 16px #3d65ac0c}.home-tool-chips{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.home-tool-chips button{display:flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid var(--home-line,#dfe5ec);border-radius:99px;background:var(--home-card,#fff);color:var(--home-muted,#788697);font:inherit;font-size:11px;cursor:pointer}.home-tool-chips img{width:25px;height:23px;object-fit:contain}.home-block-heading{margin-top:60px}.home-categories{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;margin:0}.home-category{border:1px solid var(--home-line,#dfe5ec);border-radius:6px;background:var(--home-card,#fff);padding:24px;position:relative;overflow:hidden}.home-category:before{content:'';position:absolute;right:0;top:0;width:45%;height:160px;background:radial-gradient(at top right,#e7eefe8c,transparent);pointer-events:none}.home-category-head{display:flex;gap:15px;align-items:flex-start;position:relative}.home-icon{display:flex;width:42px;height:42px;flex-shrink:0;align-items:center;justify-content:center;border-radius:7px;background:#eaf0fd;color:#3a74e1}.home-icon svg{width:20px;height:20px}.home-category-head h3{font-size:18px;font-weight:600;margin:0 0 5px}.home-category-head p{font-size:12px;line-height:1.8;color:var(--home-muted,#788697);margin:0}.home-category-count{margin-left:auto;text-align:right;flex-shrink:0}.home-category-count strong{display:block;font-weight:600;font-size:23px}.home-category-count small{font-size:10px;color:#529f80}.home-category-list{margin:25px 0 18px;display:grid;gap:3px}.home-category-list button{border:0;background:none;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:11px 3px;font:inherit;font-size:12px;color:var(--home-muted,#788697);text-align:left;cursor:pointer;min-width:0}.home-category-list button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-category-list button b{color:var(--home-text,#252d36);font-size:12px;white-space:nowrap;font-weight:500}.home-category-list button:hover{color:#316bd9}.home-category>a{font-size:13px;color:#316bd9;font-weight:600}.home-filters{display:flex;gap:4px;border:1px solid var(--home-line,#dfe5ec);border-radius:99px;padding:3px}.home-filters button{border:0;border-radius:99px;padding:7px 13px;font:inherit;font-size:12px;color:var(--home-muted,#788697);background:none;cursor:pointer}.home-filters button.active{background:var(--home-card,#fff);color:var(--home-text,#252d36);box-shadow:0 1px 4px #182d3710}.home-popular{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--home-line,#dfe5ec);border-radius:7px;overflow:hidden;background:var(--home-card,#fff)}.home-popular-row{display:flex;gap:12px;align-items:center;background:none;color:var(--home-text,#252d36);border:0;border-bottom:1px solid var(--home-line,#dfe5ec);padding:16px;text-align:left;min-width:0;cursor:pointer}.home-popular-row:nth-child(odd){border-right:1px solid var(--home-line,#dfe5ec)}.home-popular-row:nth-last-child(-n+2){border-bottom:0}.home-popular-row:hover{background:var(--home-head,#f6f8fa)}.home-pop-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:5px;background:#eef3fd;flex-shrink:0;padding:5px}.home-pop-icon img{width:100%;height:100%;object-fit:contain}.home-pop-copy{flex:1;min-width:0}.home-pop-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.home-pop-copy small{display:block;font-size:10px;color:var(--home-muted,#788697);margin-top:4px}.home-popular-row>b{font-size:12px;white-space:nowrap;font-weight:500}.home-type{display:inline-block;padding:2px 5px;border-radius:4px;background:#e8efff;color:#316bd9}.home-type.purple{background:#eee8ff;color:#8a68cf}.home-all-services{font-size:13px;color:#316bd9;display:block;margin-top:23px}.home-how-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:34px;align-items:start;margin-top:42px}.home-how-steps{position:relative;display:grid;gap:5px}.home-how-steps:before{content:'';position:absolute;left:39px;top:35px;bottom:35px;width:1px;background:#dbe3ec}.home-step{position:relative;border-radius:6px;padding-bottom:8px}.home-step>button{display:flex;gap:17px;align-items:center;width:100%;padding:19px 17px;background:none;border:0;text-align:left;color:var(--home-text,#252d36);font:inherit;cursor:pointer}.home-step:has(>button.active){background:var(--home-card,#fff)}.home-step-icon{display:flex;align-items:center;justify-content:center;border:1px solid var(--home-line,#dfe5ec);border-radius:50%;width:45px;height:45px;flex-shrink:0;background:var(--home-card,#fff);color:#778594}.home-step-icon svg{width:20px;height:20px}.home-step>button.active .home-step-icon{color:#fff;background:#316bd9;border-color:#316bd9}.home-step-copy{display:grid;gap:6px}.home-step-copy strong{font-size:16px;font-weight:600}.home-step-copy strong small{font-size:11px;color:#8693a3;font-weight:500;margin-right:7px}.home-step-copy>span{font-size:13px;color:var(--home-muted,#788697);line-height:1.8}.home-step-action{display:none;padding:0 20px 15px 80px}.home-step:has(>button.active) .home-step-action{display:block}.home-step-action a,.home-step-action button{font:inherit;font-size:13px;border:0;background:none;padding:0;color:#316bd9;cursor:pointer}.home-how-grid .home-browser-body{min-height:280px}.home-flow{display:flex;align-items:center;background:var(--home-head,#f6f8fa);border:1px solid var(--home-line,#dfe5ec);border-radius:6px;padding:21px;gap:14px}.home-flow>div{display:flex;gap:12px;align-items:center;flex:1;background:var(--home-card,#fff);border:1px solid var(--home-line,#dfe5ec);border-radius:6px;padding:17px;font-weight:600;font-size:13px}.home-flow>div:nth-of-type(2){background:var(--home-selected,#eaf0fd);border-color:#b8caf1}.home-flow svg{width:20px;height:20px;color:#3b75dd;flex-shrink:0}.home-flow-line{position:relative;width:55px;height:1px;background:#d9e3ef;overflow:hidden;flex-shrink:0}.home-flow-line:after{content:'';position:absolute;height:1px;width:35%;background:#497fea;animation:home-flow 2.4s linear infinite}.home-flow-return:after{background:#58b995;animation-delay:1.2s}.home-flow-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.home-flow-features article{border:1px solid var(--home-line,#dfe5ec);border-radius:6px;padding:23px;display:grid;grid-template-columns:25px 1fr;column-gap:13px}.home-flow-features svg{width:23px;height:23px;color:#3a75dd}.home-flow-features h3{font-size:14px;margin:0}.home-flow-features p{grid-column:2;font-size:12px;line-height:1.9;color:var(--home-muted,#788697);margin:8px 0 0}
html[data-theme="dark"] :is(.home-hero,.home-block,.home-categories){--home-card:#192435;--home-head:#152030;--home-selected:#213957;--home-text:#edf2fa;--home-muted:#a3b1c4;--home-line:#334357}html[data-theme="dark"] .home-hero:before{background-image:radial-gradient(ellipse at 10% 0%,#372b5260,transparent 55%),radial-gradient(ellipse at 88% 8%,#17375d75,transparent 55%),linear-gradient(#33435745 1px,transparent 1px),linear-gradient(90deg,#33435745 1px,transparent 1px);border-color:#334357}html[data-theme="dark"] .home-hero h1>.home-headline-dash{color:#edf2fa}html[data-theme="dark"] .home-demo-service.selected{background:#213957;border-color:#385d92}html[data-theme="dark"] .home-hero .hero-pill{background:#192435}html[data-theme="dark"] .home-stages button.active{color:#e0eafa}html[data-theme="dark"] .home-hero .hero-stats{border-color:#334357}
@keyframes home-swap{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes home-type{from{max-width:0}to{max-width:230px}}@keyframes home-pulse{0%,100%{opacity:1}50%{opacity:.25}}@keyframes home-spin{to{transform:rotate(360deg)}}@keyframes home-loading{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}@keyframes home-flow{from{left:-35%}to{left:100%}}
@media(min-width:1500px){.home-hero h1{font-size:51px}.home-hero{min-height:670px}.home-block h2,.home-block-heading h2{font-size:38px}}
@media(max-width:1000px){.home-hero{gap:30px}.home-hero h1{font-size:36px}.home-tools{grid-template-columns:repeat(3,1fr)}.home-how-grid{grid-template-columns:1.25fr 1fr;gap:22px}.home-block h2,.home-block-heading h2{font-size:29px}.home-flow{gap:8px;padding:15px}.home-flow-line{width:25px}.home-flow>div{padding:13px;font-size:12px}}
@media(max-width:800px){.home-hero{display:block;padding:45px 0;min-height:0}.home-hero h1{font-size:38px}.home-hero-demo{margin-top:42px}.home-block{padding:42px 0}.home-block-heading{margin-top:40px}.home-categories{grid-template-columns:1fr}.home-category{padding:20px}.home-popular{grid-template-columns:1fr}.home-popular-row:nth-child(odd){border-right:0}.home-popular-row:nth-last-child(2){border-bottom:1px solid var(--home-line,#dfe5ec)}.home-how-grid{grid-template-columns:1fr;gap:28px}.home-flow{flex-direction:column}.home-flow>div{width:100%;box-sizing:border-box}.home-flow-line{width:1px;height:25px}.home-flow-line:after{width:1px;height:35%;animation:home-flow-vertical 2.4s linear infinite}.home-flow-features{grid-template-columns:1fr}.home-flow-features article{padding:20px}.home-browser-body{min-height:250px}}
@media(max-width:480px){.home-hero h1{font-size:33px}.home-hero p{font-size:14px}.home-hero .hero-stats{gap:14px}.home-tools{gap:8px}.home-tools>button{padding:15px 8px;gap:12px;min-height:120px}.home-tools strong{font-size:10px}.home-tools img{max-height:42px}.home-tools>button>span{height:42px}.home-block h2,.home-block-heading h2{font-size:27px}.home-block .landing-heading{align-items:flex-start;gap:16px;flex-wrap:wrap}.home-popular-row{padding:14px 10px;gap:9px}.home-category-head{gap:10px}.home-category-head h3{font-size:16px}.home-category-count strong{font-size:20px}.home-hero .hero-search input{font-size:12px}.home-tool-chips button{font-size:10px;padding:7px 9px}.home-step>button{padding:17px 10px;gap:12px}.home-how-steps:before{left:32px}.home-step-copy>span{font-size:12px}.home-step-copy strong{font-size:15px}.home-step-action{padding-left:67px}}
@keyframes home-flow-vertical{from{top:-35%}to{top:100%}}
@media(prefers-reduced-motion:reduce){.home-swap,.home-typed,.home-caret,.home-demo-processing svg,.home-loading-line>i,.home-flow-line:after,.home-hero .hero-pill i{animation:none!important}.home-typed{max-width:100%}.home-loading-line>i{width:100%}}

body:has(.home-hero){overflow-x:clip}
html[data-theme="dark"] .home-hero :is(p,.hero-pill,.hero-stats,.hero-stats strong){color:#b7c5d8}html[data-theme="dark"] .home-hero h1>span:not(.home-headline-dash){color:#80adff}html[data-theme="dark"] .home-selected strong{color:#95b9ff}html[data-theme="dark"] .home-hero .hero-examples{color:#a3b1c4}


/* public/recharge.css */
.topbar #memberButton.wallet-button{display:inline-flex;align-items:center;gap:9px;background:#419772;color:#fff;border:0;border-radius:99px;padding:11px 16px;font-weight:600;cursor:pointer;white-space:nowrap}.wallet-button svg{width:20px;height:20px;flex-shrink:0}.topbar #memberButton.wallet-button:hover{background:#348360}.wallet-button:focus-visible{outline:3px solid #90cbb0;outline-offset:3px}.recharge-page[hidden]{display:none!important}.recharge-page{max-width:960px;margin:0 auto;padding:52px 0 70px;color:#26313d}.recharge-heading{text-align:center;margin-bottom:40px}.recharge-hero-icon{display:flex;align-items:center;justify-content:center;background:#316bd9;color:white;border-radius:17px;width:68px;height:68px;margin:0 auto 24px}.recharge-hero-icon svg{width:34px;height:34px}.recharge-heading h1{font-size:36px;font-weight:650;margin:0 0 12px;letter-spacing:-.03em}.recharge-heading>p{font-size:18px;color:#788594;margin:0}.recharge-balance{display:inline-flex;align-items:center;gap:13px;padding:18px 26px;background:#fff;border:1px solid #e4e8ed;border-radius:17px;margin-top:26px}.recharge-balance span{font-size:14px;color:#8190a1}.recharge-balance strong{font-size:23px;color:#419772;font-weight:600}.recharge-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:38px}.recharge-benefits article{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #dfe5ed;border-radius:18px;padding:21px}.recharge-feature-icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:12px;flex-shrink:0}.recharge-feature-icon svg{width:25px;height:25px}.recharge-feature-icon.green{background:#e5f2ec;color:#419772}.recharge-feature-icon.blue{background:#e4ecfd;color:#316bd9}.recharge-feature-icon.purple{background:#eee8fd;color:#8861d1}.recharge-benefits strong{font-size:16px;font-weight:600}.recharge-benefits p{color:#8490a0;font-size:12px;line-height:1.7;margin:5px 0 0}.recharge-card{border:1px solid #dfe5ed;border-radius:25px;background:#fff;box-shadow:0 8px 24px #26364c06;overflow:hidden}.recharge-amount-section{padding:32px}.recharge-amount-section>label,.recharge-payment-section h2{display:block;font-size:14px;font-weight:600;color:#647182;margin:0 0 18px}.recharge-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:22px}.recharge-presets button{padding:19px 8px;border:1px solid transparent;background:#f3f4f6;color:#5e6a79;border-radius:12px;font:inherit;font-size:17px;font-weight:500;cursor:pointer}.recharge-presets button.selected{color:#316bd9;background:#eaf0fd;border-color:#aac1f2}.recharge-amount-input{display:flex;align-items:center;gap:18px;background:#f8f9fb;border:1px solid #cad3df;border-radius:16px;padding:19px 21px}.recharge-amount-input>span{color:#316bd9;font-size:24px}.recharge-amount-input input{flex:1;min-width:0;width:100%;font:inherit;font-size:23px;border:0!important;background:none!important;padding:0!important;outline:none}.recharge-amount-input input::placeholder{color:#a1acb9;font-weight:600}.recharge-amount-input small{white-space:nowrap;font-size:11px;background:#e8eefc;color:#316bd9;padding:7px 9px;border-radius:7px}.recharge-amount-input:focus-within{border-color:#316bd9;box-shadow:0 0 0 3px #316bd914}.recharge-payment-section{padding:32px;border-top:1px solid #e0e6ed}.recharge-methods{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;margin-bottom:24px}.recharge-method{display:flex;align-items:flex-start;text-align:left;gap:17px;border:1px solid #cad3df;background:#fff;padding:24px;border-radius:17px;min-height:150px;position:relative;cursor:pointer;color:#526172;font:inherit}.recharge-method.selected{border-color:#78c3a2;background:#f5fbf8}.recharge-payment-logo{display:flex;justify-content:center;align-items:center;background:#f0f4f2;border-radius:13px;min-width:55px;height:55px;width:55px}.recharge-payment-logo.wechat{color:#22ac38}.recharge-payment-logo.alipay{color:#1677ff;background:#eef4fe}.recharge-payment-logo svg{width:38px;height:38px}.alipay-glyph{font-family:'Microsoft YaHei',sans-serif;font-weight:600;font-size:32px;line-height:1}.recharge-method strong{display:block;font-weight:600;font-size:19px;color:#344351;margin:4px 0 9px}.recharge-method small{display:block;color:#7c8b9d;font-size:12px;line-height:1.7}.recharge-method em{display:inline-block;font-size:10px;background:#eff2f5;color:#7c8b9d;font-style:normal;border-radius:99px;padding:4px 9px;margin-top:10px}.recharge-selected-check{display:none;background:#419772;color:#fff;border-radius:50%;height:23px;width:23px;align-items:center;justify-content:center;position:absolute;right:13px;top:13px}.recharge-method.selected .recharge-selected-check{display:flex}.recharge-note-label{display:block;font-size:13px;color:#788594;margin-bottom:9px}.recharge-payment-section>input{width:100%;border:1px solid #dbe2eb;border-radius:10px;padding:13px;font:inherit;background:#f9fafc;box-sizing:border-box}.recharge-notice{font-size:13px;line-height:1.9;color:#8592a3;margin:20px 0}.recharge-footer{border-top:1px solid #e1e7ee;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.recharge-footer>span{font-size:13px;color:#8190a1}.recharge-footer strong{font-size:23px;font-weight:600;color:#419772;margin-left:10px}.recharge-submit{border:0;background:#316bd9;color:#fff;border-radius:10px;padding:16px 25px;font:inherit;font-weight:600;font-size:15px;cursor:pointer}.recharge-submit:hover{background:#245cc9}.recharge-submit:disabled{opacity:.5;cursor:wait}.recharge-record-link{text-align:center;margin-top:24px}.recharge-record-link button,.recharge-secondary{border:0;background:none;color:#316bd9;font:inherit;font-size:13px;cursor:pointer;padding:10px}.recharge-success{text-align:center;padding:36px}.recharge-success-icon{display:block;color:#419772}.recharge-success-icon svg{width:46px;height:46px}.recharge-success h2{font-size:27px;margin:18px 0}.recharge-success>p{color:#7d8b9b}.recharge-reference-code{display:block;font-size:44px;letter-spacing:.18em;color:#316bd9;background:#eff4fe;border-radius:12px;padding:20px;margin:24px 0}.recharge-success dl{max-width:460px;margin:0 auto}.recharge-success dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e5eaf0;font-size:14px}.recharge-success dt{color:#8190a1}.recharge-success dd{margin:0;overflow-wrap:anywhere}.recharge-success .recharge-notice{max-width:620px;margin:25px auto}.recharge-success .recharge-secondary{display:block;margin:15px auto 0}
html[data-theme="dark"] .recharge-page{color:#edf2fa}html[data-theme="dark"] :is(.recharge-card,.recharge-benefits article,.recharge-balance,.recharge-method){background:#192435;border-color:#334357}html[data-theme="dark"] .recharge-method.selected{background:#1e3830;border-color:#498f70}html[data-theme="dark"] .recharge-method strong{color:#edf2fa}html[data-theme="dark"] :is(.recharge-presets button,.recharge-amount-input,.recharge-payment-section>input){background:#152030;color:#d9e4f4;border-color:#334357}html[data-theme="dark"] .recharge-presets button.selected{color:#9abaff;background:#243c61;border-color:#517cc2}html[data-theme="dark"] :is(.recharge-payment-section,.recharge-footer,.recharge-success dl>div){border-color:#334357}html[data-theme="dark"] :is(.recharge-amount-section>label,.recharge-payment-section h2,.recharge-note-label,.recharge-notice){color:#a9b8cc}html[data-theme="dark"] .recharge-reference-code{background:#243c61;color:#a5c4ff}
@media(max-width:800px){.recharge-benefits{gap:10px}.recharge-benefits article{padding:16px;gap:10px}.recharge-benefits strong{font-size:14px}.recharge-feature-icon{width:40px;height:40px}.recharge-page{padding-top:38px}.recharge-amount-section,.recharge-payment-section{padding:24px}}
@media(max-width:580px){.recharge-heading h1{font-size:31px}.recharge-heading>p{font-size:15px}.recharge-benefits{grid-template-columns:1fr;margin-bottom:25px}.recharge-benefits article{padding:15px 18px}.recharge-benefits p{font-size:12px}.recharge-presets{grid-template-columns:repeat(3,1fr);gap:8px}.recharge-presets button{padding:14px}.recharge-amount-section,.recharge-payment-section{padding:21px 17px}.recharge-amount-input{flex-wrap:wrap;padding:16px;gap:12px}.recharge-amount-input input{font-size:20px;width:calc(100% - 40px)}.recharge-amount-input small{margin-left:auto}.recharge-methods{grid-template-columns:1fr}.recharge-method{min-height:115px;padding:20px}.recharge-footer{align-items:stretch;flex-direction:column}.recharge-footer>span{text-align:center}.recharge-success{padding:25px 18px}.recharge-reference-code{font-size:35px}.topbar #memberButton.wallet-button{display:inline-flex;padding:8px 10px;gap:5px;font-size:12px}.wallet-button svg{width:17px;height:17px}.topbar-right{gap:3px}.recharge-card{border-radius:19px}}
@media(max-width:580px){.topbar{gap:6px;padding-left:12px;padding-right:12px}.topbar .brand{font-size:16px;gap:6px}.topbar .brand img{width:26px;height:26px}.topbar #memberButton.wallet-button{flex-shrink:0;max-width:none;overflow:visible;padding:8px;font-size:11px}.topbar .language-select{padding:7px;font-size:11px}.topbar .theme-toggle{width:25px;padding:3px}.topbar #menuButton{padding:5px;font-size:22px}.topbar-right{gap:2px}}
.recharge-pay-grid{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:32px;align-items:start;text-align:left;max-width:800px;margin:24px auto}.recharge-qr img{display:block;width:100%;height:auto;border-radius:14px}.recharge-pay-amount{font-size:30px!important;font-weight:700;color:#419772!important}.recharge-pay-instructions .recharge-reference-code{text-align:center;margin:12px 0;font-size:36px}.recharge-pay-instructions .recharge-secondary{margin:5px auto 15px}.recharge-pay-instructions .recharge-notice{margin:18px 0}.recharge-pay-instructions #rechargePaidMessage{color:#419772;font-size:14px}.recharge-pay-instructions .recharge-submit{width:100%}@media(max-width:650px){.recharge-pay-grid{grid-template-columns:1fr;gap:20px}.recharge-qr{max-width:300px;margin:auto}.recharge-success{padding:22px}.recharge-pay-instructions .recharge-reference-code{font-size:32px}}
#rechargeAlerts{position:fixed;top:86px;right:20px;z-index:1100;display:grid;gap:12px;width:340px;max-width:calc(100vw - 28px);pointer-events:none}.recharge-alert{position:relative;padding:20px 36px 18px 20px;background:var(--adm-surface,#fff);color:var(--adm-text,#26313d);border:1px solid #dbe5ee;border-left:4px solid #419772;border-radius:14px;box-shadow:0 10px 36px #132c4626;pointer-events:auto;animation:rechargeAlertIn .2s ease-out}.recharge-alert.failure{border-left-color:#c34859}.recharge-alert>strong{color:#278362;display:block;font-size:16px;line-height:1.7}.recharge-alert.failure>strong{color:#c34859}.recharge-alert p{margin:10px 0;font-size:14px;line-height:1.6}.recharge-alert b{color:#316bd9}.recharge-alert small{display:block;color:#7c8b9d;font-size:11px;margin-top:12px;overflow-wrap:anywhere}.recharge-alert-close{position:absolute;right:9px;top:9px;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:#788594;font-size:22px;cursor:pointer}.recharge-alert-close:hover{background:#edf2fa}html[data-theme=dark] .recharge-alert{background:#192435;color:#edf2fa;border-color:#334357}html[data-theme=dark] .recharge-alert>strong{color:#84ceb3}html[data-theme=dark] .recharge-alert.failure>strong{color:#f0a3b2}html[data-theme=dark] .recharge-alert b{color:#91b6ff}@keyframes rechargeAlertIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media(max-width:650px){#rechargeAlerts{top:76px;right:14px}}@media(prefers-reduced-motion:reduce){.recharge-alert{animation:none}}


/* public/contact-fab.css */
.resource-row{display:none!important}.home-hero .hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.home-driver-button{display:inline-flex;align-items:center;border:1px solid #d4dfed;border-radius:99px;padding:11px 18px;color:#60738b;font-size:13px;background:#ffffff65}.home-driver-button:hover{color:#316bd9;border-color:#92b0e5}.contact-fab{position:fixed;right:26px;bottom:26px;z-index:40;display:flex;flex-direction:column;align-items:center;gap:13px}.contact-fab-button{border:0;border-radius:50%;width:58px;height:58px;background:#536bea;color:#fff;box-shadow:0 5px 20px #536bea44;display:flex;align-items:center;justify-content:center;cursor:pointer}.contact-fab-button svg{width:28px;height:28px;transition:transform .2s}.contact-fab-button.expanded svg{transform:rotate(-10deg)}.contact-fab-button:hover{background:#405bd9}.contact-app-menu{display:flex;flex-direction:column;gap:12px;align-items:center}.contact-app-menu[hidden]{display:none}.contact-app-button{position:relative;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e7ef;border-radius:50%;width:48px;height:48px;box-shadow:0 4px 16px #25334c14;cursor:pointer;animation:contact-rise .22s ease both}.contact-app-button:nth-child(3){animation-delay:.03s}.contact-app-button:nth-child(2){animation-delay:.06s}.contact-app-button:nth-child(1){animation-delay:.09s}.contact-app-button svg{width:28px;height:28px}.contact-app-button span{position:absolute;right:57px;white-space:nowrap;font-size:12px;border:1px solid #e1e6ef;background:#fff;color:#42526a;padding:6px 10px;border-radius:7px;box-shadow:0 3px 10px #25334c0b}.contact-app-button.wechat,.contact-detail-icon.wechat{color:#22ac38}.contact-app-button.qq{color:#1b2431}.contact-app-button.telegram,.contact-detail-icon.telegram{color:#289bd3}.contact-app-button.whatsapp,.contact-detail-icon.whatsapp{color:#24ac63}.contact-detail{text-align:center;padding:20px 0}.contact-detail-icon{display:inline-flex;width:60px;height:60px;align-items:center;justify-content:center;border-radius:15px;background:#f0f6fc}.contact-detail-icon svg{width:38px;height:38px}.contact-account{font-size:20px;color:#566780}.contact-open-link{display:inline-block;margin-top:18px;padding:12px 22px;border-radius:10px;background:#316bd9;color:#fff}.contact-fab button:focus-visible{outline:3px solid #a4bdf6;outline-offset:3px}html[data-theme="dark"] .home-driver-button{background:#192435;color:#b7c5d8;border-color:#334357}html[data-theme="dark"] .contact-app-button,html[data-theme="dark"] .contact-app-button span{background:#192435;border-color:#334357}html[data-theme="dark"] .contact-app-button span{color:#dce6f4}html[data-theme="dark"] .contact-app-button.qq{color:#e4ecf6}@keyframes contact-rise{from{opacity:0;transform:translateY(14px) scale(.85)}to{opacity:1;transform:none}}@media(max-width:580px){.contact-fab{right:17px;bottom:18px}.contact-fab-button{width:53px;height:53px}.contact-app-button{width:44px;height:44px}.contact-app-button span{right:52px}}@media(prefers-reduced-motion:reduce){.contact-app-button{animation:none}.contact-fab-button svg{transition:none}}


/* public/ui-polish.css */
/* Shared control dimensions and accessible interaction feedback. */
.topbar .dashboard-button,.topbar #memberButton{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;min-height:36px;padding:0 12px;line-height:1;font-size:13px;font-weight:600;border-radius:99px;white-space:nowrap;flex-shrink:0}
.topbar #memberButton.wallet-button{height:36px;min-height:36px;padding:0 12px;gap:6px;font-size:13px;line-height:1}
.topbar .dashboard-button svg,.topbar .wallet-button svg{width:18px;height:18px;flex-shrink:0}
.topbar .header-logout{display:inline-flex;align-items:center;justify-content:center;width:32px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:#768293;cursor:pointer;flex-shrink:0}.header-logout[hidden]{display:none!important}.header-logout svg{width:22px;height:22px}
button,a,input,select{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
button:focus-visible,a:focus-visible{outline:2px solid #316bd9;outline-offset:3px}
@media(hover:hover) and (pointer:fine){button:not(:disabled):hover,a:not(.brand):hover{filter:brightness(.97);transform:translateY(-1px)}button:not(:disabled):hover{box-shadow:0 3px 10px #24375312}.topbar .header-logout:hover{color:#d34c4c;background:#fff0f0}.desktop-nav a:hover{color:#316bd9}.directory-card:hover,.tools-grid button:hover,.home-tool-card:hover{border-color:#9eb9ec;box-shadow:0 6px 18px #24375312}}
button:not(:disabled):active,a:active{transform:translateY(0) scale(.98)}button:disabled{transform:none;filter:none}
@media(max-width:580px){.topbar .dashboard-button,.topbar #memberButton,.topbar #memberButton.wallet-button{height:34px;min-height:34px;padding:0 9px;font-size:11px;gap:5px}.topbar .dashboard-button svg,.topbar .wallet-button svg{width:17px;height:17px}.topbar .header-logout{width:26px;height:34px}.header-logout svg{width:19px;height:19px}.topbar-right{gap:3px}.topbar .brand{font-size:15px}.topbar .brand small{font-size:8px}#languageCaption{display:none}.topbar .language-select{gap:3px;padding:6px}.topbar .icon-button:not(#menuButton){display:none}}
@media(prefers-reduced-motion:reduce){button,a,input,select{transition:none}button:not(:disabled):hover,a:not(.brand):hover,button:not(:disabled):active,a:active{transform:none}html{scroll-behavior:auto!important}}
@media(max-width:580px){.topbar .language-select{min-width:40px;width:40px;justify-content:center}.topbar .language-picker{width:40px;flex-shrink:0}.topbar #menuButton{width:26px;padding:0}.topbar .theme-toggle{width:22px}.topbar .language-select img{width:18px}}

/* A 105% default desktop scale; browser zoom remains independently adjustable. */
@media(min-width:1024px){html{zoom:1.05}}
@media(min-width:1024px){.home-hero:before{inset:0 calc((100% - (100vw / 1.05))/2)}}
@media(min-width:1024px){html{overflow-x:clip}}

.currency-notice{max-width:1400px;margin:18px auto 24px;padding:0 20px;text-align:center;color:var(--text-muted,#7a8797);font-size:11px;line-height:1.8}.currency-notice a{color:inherit;text-decoration:underline;text-underline-offset:3px}

.desktop-nav a{white-space:nowrap}
@media(min-width:1101px) and (max-width:1400px){.topbar{gap:16px}.desktop-nav{gap:16px}.desktop-nav a{font-size:13px}.topbar-right{gap:8px}}


/* public/order-detail.css */
.portal-dialog:has(.order-detail){width:min(920px,calc(100vw / 1.05 - 40px));padding:0;border-radius:25px;max-height:90vh;box-sizing:border-box}.portal-dialog:has(.order-detail)>.dialog-x{right:20px;top:20px;z-index:2;color:#687581;background:none!important}.order-detail{color:#252e38}.order-detail-heading{padding:29px 32px 25px;border-bottom:1px solid #dae1e9;padding-right:70px}.order-detail-heading p{margin:0 0 8px;color:#798493;font-size:15px}.order-detail-heading h2{margin:0 0 15px;font-size:24px;font-weight:600;line-height:1.4}.order-detail .status-tag{border-radius:99px;font-size:14px;padding:6px 13px}.order-detail-content{padding:28px 32px;display:grid;gap:22px}.order-detail-card{border:1px solid #d7dfe9;border-radius:19px;padding:20px;background:#f6f8fb;min-width:0}.order-detail-card h3{font-size:14px!important;font-weight:600;color:#8793a2;margin:0 0 13px!important}.order-detail-service{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px}.order-detail-service strong{font-size:20px;font-weight:600;overflow-wrap:anywhere}.order-detail-service>div:last-child{text-align:right}.order-detail-service>div:last-child strong{color:#316bd9}.order-detail-card small{display:block;color:#8995a5;font-size:12px;margin-top:9px;overflow-wrap:anywhere}.order-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-detail-toolbar>div{display:flex;gap:9px}.order-detail-toolbar h3{margin:0!important}.order-detail-toolbar button{background:#fff;color:#647182;padding:7px 12px;border:0;border-radius:10px;font:inherit;font-size:13px;cursor:pointer}.order-detail dl{display:grid;grid-template-columns:minmax(90px,150px) minmax(0,1fr);gap:14px;margin:18px 0 0;font-size:15px}.order-detail dt{color:#738090}.order-detail dd{margin:0;font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.order-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:15px;margin:20px 0 0;line-height:1.7}.order-detail-times{display:grid;grid-template-columns:1fr 1fr;gap:20px}.order-detail-times strong{font-size:17px;font-weight:500}.order-detail-result{padding:0;overflow:hidden}.order-detail-result .order-detail-toolbar{padding:16px 20px;border-bottom:1px solid #d7dfe9}.order-detail-result pre{padding:19px 20px;margin:0;font-size:18px}.order-detail>footer{margin:0;padding:15px 32px 23px;border-top:1px solid #d7dfe9}.order-detail>footer button{width:100%;border:0;border-radius:99px;padding:14px;background:#f0f2f5;color:#617080;font:inherit;font-weight:600;cursor:pointer}html[data-theme="dark"] .order-detail{color:#e4ebf3}html[data-theme="dark"] .order-detail-card{background:#192638;border-color:#34465e}html[data-theme="dark"] .order-detail-toolbar button,html[data-theme="dark"] .order-detail>footer button{background:#27374a;color:#c4d1e0}@media(max-width:580px){.portal-dialog:has(.order-detail){width:calc(100vw - 24px);border-radius:19px}.order-detail-heading{padding:24px 18px;padding-right:53px}.order-detail-heading h2{font-size:19px}.order-detail-content{padding:19px 15px;gap:16px}.order-detail-card{padding:16px;border-radius:14px}.order-detail-times{gap:12px}.order-detail-times strong{font-size:13px}.order-detail-service strong{font-size:16px}.order-detail-toolbar{flex-wrap:wrap}.order-detail dl{grid-template-columns:95px 1fr;font-size:13px}.order-detail>footer{padding:15px}.order-detail-result pre{font-size:15px}}

/* Compact order view: short orders fit without a tall stack of cards. */
.portal-dialog:has(.order-detail){width:min(800px,calc(100vw / 1.05 - 32px));border-radius:18px;max-height:88vh}
.order-detail-heading{padding:16px 22px 13px;padding-right:58px}.order-detail-heading p{font-size:13px;margin-bottom:5px}.order-detail-heading h2{font-size:20px;margin-bottom:8px;line-height:1.3}
.order-detail-content{padding:14px 22px;gap:10px}.order-detail-card{padding:12px 15px;border-radius:12px}.order-detail-card h3{margin-bottom:7px!important;font-size:12px!important}.order-detail-card small{margin-top:5px;font-size:12px}
.order-detail-service strong{font-size:16px}.order-detail dl{margin-top:10px;gap:7px;font-size:13px}.order-detail pre{font-size:13px;line-height:1.5;margin-top:10px}.order-detail-times{gap:10px}.order-detail-times strong{font-size:14px}
.order-detail-result .order-detail-toolbar{padding:10px 15px}.order-detail-result pre{padding:12px 15px;font-size:14px;max-height:190px;overflow:auto}
.order-detail>footer{padding:10px 22px 13px}.order-detail>footer button{padding:9px}.order-detail-toolbar button{padding:5px 9px;font-size:12px}
@media(max-width:580px){.order-detail-heading{padding-left:15px}.order-detail-heading h2{font-size:17px}.order-detail-content{padding:12px;gap:9px}.order-detail-card{padding:11px}.order-detail-times strong{font-size:12px}}
.order-detail-service>div:first-child{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;align-content:start}.order-detail-service>div:first-child>h3{grid-column:1/-1}.order-detail-service>div:first-child>strong{display:none}.order-detail-card.order-detail-result{padding:0}.order-detail-content>.portal-alert{margin:0;padding:9px 12px}@media(max-width:580px){.order-detail-service>div:first-child{grid-template-columns:1fr}}

.admin-order-actions{border:1px solid #b8cbe9;background:#f3f7ff}.admin-order-actions h3{font-size:16px!important;color:#245bb8}.admin-order-actions p{font-size:13px;line-height:1.6;margin:6px 0}.admin-order-actions form{display:grid;gap:12px}.admin-order-actions label{display:grid;gap:6px;font-size:13px}.admin-order-actions :is(select,textarea,button){width:100%;max-width:100%;box-sizing:border-box}.admin-order-actions .admin-order-confirm{display:flex;align-items:flex-start;gap:8px}.admin-order-confirm input{width:auto;flex:0 0 auto}.admin-order-refund-hint{background:#fff0ee;border:1px solid #ecb8b3;border-radius:9px;padding:10px;color:#a52a2a}.admin-order-refund-button{background:#c23d43!important;border-color:#c23d43!important;color:white!important}.admin-order-refunded{color:#b12d36;font-weight:600}.admin-order-actions textarea{min-height:65px;resize:vertical}html[data-theme=dark] .admin-order-actions{background:#192b43;border-color:#455f85}html[data-theme=dark] .admin-order-actions h3{color:#a7c9ff}

.admin-order-actions.compact{padding:10px 12px}.admin-order-button-row{display:flex;gap:8px;flex-wrap:wrap}.admin-order-actions.compact .admin-order-button-row button{width:auto;padding:8px 16px;min-height:38px}.admin-order-current{background:#e3eeff!important;border-color:#6497e6!important;font-weight:700}.admin-order-actions.compact small{display:block;margin-top:7px;font-size:12px}.admin-order-decision-dialog{font-size:14px;line-height:1.6}.admin-order-decision-dialog h3{margin:0 0 12px}.admin-order-decision-dialog form{display:grid;gap:14px}.admin-order-decision-dialog :is(textarea,button){max-width:100%;box-sizing:border-box}.admin-order-decision-dialog textarea{width:100%;resize:vertical;min-height:68px}.admin-order-decision-dialog label{display:block;font-weight:650;margin-bottom:6px}.admin-order-decision-dialog label span{font-size:12px;font-weight:500;display:inline-block;margin-left:5px;padding:2px 7px;border-radius:6px}.admin-refund-public{padding:13px;background:#eef8f3;border:1px solid #8dc5ab;border-radius:12px}.admin-refund-public label{color:#24684c}.admin-refund-public label span{background:#d9efe4}.admin-refund-public>p{font-size:12px;margin:0 0 8px;color:#3c765a}.admin-refund-private{padding:13px;background:#f5f6f8;border:1px dashed #b9c0cb;border-radius:12px}.admin-refund-private label span{background:#e5e8ed;color:#596574}.admin-refund-preview{font-size:12px;margin-top:8px}.admin-refund-preview>div{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px;padding:8px;background:white;border-radius:7px}.admin-order-decision-buttons{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.admin-order-decision-dialog .admin-order-confirm{display:flex;align-items:flex-start;gap:8px;font-weight:500}.admin-order-decision-dialog .admin-order-confirm input{width:auto;flex:0 0 auto;margin-top:5px}.customer-refund-reason{border-color:#eac5a8}.customer-refund-reason p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:inherit}html[data-theme=dark] .admin-refund-public{background:#173c32;border-color:#3b8868}html[data-theme=dark] .admin-refund-public label,html[data-theme=dark] .admin-refund-public>p{color:#b4e3cc}html[data-theme=dark] .admin-refund-private{background:#243143;border-color:#5a6a7c}html[data-theme=dark] .admin-refund-preview>div{background:#152c25}@media(max-width:580px){.admin-order-actions.compact .admin-order-button-row button{flex:1 1 auto;padding:8px 11px}.admin-order-decision-buttons button{flex:1 1 auto}.admin-refund-public,.admin-refund-private{padding:10px}}

dialog.admin-order-decision-popup{position:fixed;inset:0;margin:auto;width:min(600px,calc(100vw - 24px));max-height:90dvh;box-sizing:border-box;padding:0;border:1px solid #d8e2ef;border-radius:18px;background:#fff;color:#26364d;box-shadow:0 25px 90px #152b5055;overflow:hidden}dialog.admin-order-decision-popup[open]{display:flex;flex-direction:column}dialog.admin-order-decision-popup::backdrop{background:#12213a66;backdrop-filter:blur(2px)}.admin-order-popup-body{padding:48px 22px 22px;overflow:auto;min-height:0;overscroll-behavior:contain}.admin-order-popup-close{position:absolute;right:12px;top:9px;width:34px;height:34px;border:0;border-radius:8px;background:#eef3fb;color:#526680;font-size:23px;cursor:pointer}.admin-order-decision-popup :is(button,textarea,input){font:inherit}.admin-order-decision-popup button{cursor:pointer;border:1px solid #d7e1ee;border-radius:9px;padding:9px 15px;color:#365e9e;background:#f6f9ff}.admin-order-decision-popup button.strong{background:#316bd9;border-color:#316bd9;color:white}.admin-order-decision-popup button:disabled{opacity:.55;cursor:wait}.admin-order-decision-popup textarea{border:1px solid #c9d8e8;border-radius:8px;padding:10px;color:inherit;background:#fff}.admin-order-decision-popup :focus-visible{outline:3px solid #8eb5f5;outline-offset:2px}.admin-order-popup-body .admin-order-confirm input{margin-top:5px}.admin-order-popup-close{line-height:1;padding:0!important}.admin-order-actions .admin-state-pending{background:#fff7e6!important;color:#a96a0d!important;border-color:#e8c57f!important}.admin-order-actions .admin-state-processing{background:#ebf3ff!important;color:#2768c1!important;border-color:#a6c5f0!important}.admin-order-actions .admin-state-completed{background:#eaf7ef!important;color:#25804d!important;border-color:#94cba9!important}.admin-order-actions .admin-state-refund{background:#fff0f0!important;color:#bc323b!important;border-color:#e7a3aa!important}.admin-order-actions .admin-state-auto{background:#f1eefc!important;color:#6c51a7!important;border-color:#c4b6e5!important}.admin-order-button-row button>span{display:inline-grid;place-items:center;width:18px;margin-right:5px;font-size:16px;font-weight:700}.admin-order-actions .admin-order-current{box-shadow:inset 0 0 0 1px currentColor;font-weight:750}html[data-theme=dark] dialog.admin-order-decision-popup{background:#19283a;color:#dce7f5;border-color:#425770}html[data-theme=dark] .admin-order-decision-popup textarea{background:#142134;border-color:#4c6078}@media(max-width:580px){.admin-order-popup-body{padding:48px 14px 16px}dialog.admin-order-decision-popup{max-height:92dvh;border-radius:14px}}

/* Phone form sizing: preserve complete identifiers and defer the software keyboard. */
.admin-order-decision-dialog{min-width:0;overflow-wrap:anywhere}.admin-order-popup-body{max-width:100%;box-sizing:border-box;overflow-x:hidden}.admin-order-decision-dialog form,.admin-order-decision-dialog :is(.admin-refund-public,.admin-refund-private){min-width:0;box-sizing:border-box}.admin-order-decision-popup textarea{display:block;min-width:0}.admin-order-button-row button{min-width:0}
@media(max-width:580px){
 .admin-order-actions.compact .admin-order-button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .admin-order-actions.compact .admin-order-button-row button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:4px;line-height:1.4;padding:9px 8px}
 .admin-order-actions.compact .admin-order-button-row button.admin-state-auto{grid-column:1/-1}
 .admin-order-button-row button>span{flex:0 0 18px;margin-right:0}
 dialog.admin-order-decision-popup{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))}
 .admin-order-popup-body{padding:60px 12px max(14px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;scroll-padding-block:14px}
 .admin-order-decision-popup .admin-order-popup-close{width:44px;height:44px;min-height:44px;right:8px;top:8px;font-size:25px}
 .admin-order-decision-popup :is(textarea,input){font-size:16px}
 .admin-order-decision-dialog textarea{min-height:88px;max-height:38dvh}
 .admin-order-decision-dialog .admin-order-confirm{font-size:14px;line-height:1.6;min-height:44px;align-items:flex-start}
 .admin-order-decision-dialog .admin-order-confirm input{width:20px;height:20px;min-width:20px;min-height:20px;margin:2px 0 0;accent-color:#316bd9}
 .admin-order-decision-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px}
 .admin-order-decision-buttons button{min-height:44px;white-space:normal;line-height:1.4;padding:10px 8px}
}


/* public/admin-ui.css */
/* Compact admin workspace, using the existing visual tokens and no external runtime. */
.admin-workspace{padding:28px 0!important}.admin-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:26px;align-items:start}.admin-navigation{position:sticky;top:100px;background:var(--card-bg,#fff);border:1px solid var(--line,#e4e9f0);border-radius:18px;padding:22px 12px;box-shadow:0 3px 14px #24375305}.admin-nav-brand{padding:0 14px 24px;display:grid;gap:5px}.admin-nav-brand>span{font-size:18px;font-weight:750;color:#2867d2}.admin-nav-brand small,.admin-nav-foot{font-size:12px;color:#8190a4}.admin-navigation nav{display:grid;gap:5px}.admin-navigation nav button{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:10px;padding:12px;color:#56657b;background:transparent;font-size:13px}.admin-navigation nav button.active{color:#2867d2;background:#eaf1ff;font-weight:650}.admin-navigation svg{width:18px;height:18px;flex-shrink:0}.admin-nav-foot{border-top:1px solid #edf0f5;margin:22px 12px 0;padding-top:16px;line-height:1.9}.admin-main{min-width:0}.admin-main-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.admin-main-header>div>span{font-size:11px;color:#8a96a7}.admin-main-header h1{font-size:26px;line-height:1.3;margin:8px 0 0}.admin-global-search{display:flex;min-width:260px;background:var(--card-bg,#fff);border:1px solid #e0e6ef;border-radius:10px;overflow:hidden}.admin-global-search input{min-width:0;flex:1;border:0;background:transparent;padding:11px 12px;font-size:12px}.admin-global-search button{border:0;background:transparent;font-size:22px;padding:0 12px;color:#5276bb}.admin-hint{background:#edf4ff;border:1px solid #dce7fb;border-radius:11px;font-size:12px;line-height:1.8;color:#59708e;padding:12px 16px;margin-bottom:18px}.admin-card,.admin-main .admin-section{background:var(--card-bg,#fff);border:1px solid var(--line,#e4e9f0);border-radius:15px;padding:20px;margin:0 0 18px}.admin-card h2{font-size:16px;margin:0 0 7px}.admin-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.admin-card-heading p,.admin-save-card p{font-size:12px;line-height:1.8;color:#8090a4;margin:0}.admin-main button:not(.admin-navigation button){border:1px solid #e0e7f3;border-radius:8px;padding:8px 12px;font-size:12px;color:#4271bf;background:#f8faff;cursor:pointer;white-space:nowrap}.admin-main button.admin-primary{background:#326ad7;color:#fff;border-color:#326ad7}.admin-main button:disabled{opacity:.4;cursor:default}.admin-main input,.admin-main select,.admin-main textarea{font:inherit;font-size:12px;box-sizing:border-box;border:1px solid #dce4ee;border-radius:8px;padding:10px 12px;background:var(--card-bg,#fff);color:inherit;max-width:100%}.admin-product-filters{display:grid;grid-template-columns:minmax(200px,2fr) repeat(4,minmax(100px,1fr));gap:8px;margin-bottom:18px}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.admin-metrics article{border:1px solid #e4eaf1;background:var(--card-bg,#fff);padding:18px;border-radius:13px;display:grid;gap:12px}.admin-metrics span{font-size:12px;color:#7b8a9e}.admin-metrics strong{font-size:25px;font-weight:700}.admin-table-scroll{overflow-x:auto}.admin-main table{width:100%;border-collapse:collapse;font-size:12px}.admin-main th{text-align:left;color:#7f8da2;background:#f7f9fc;font-weight:600;padding:12px;white-space:nowrap}.admin-main td{border-top:1px solid #edf0f5;padding:14px 12px;vertical-align:middle}.admin-main td small{display:block;font-size:10px;color:#93a0b1;margin-top:5px}.admin-product-cell{min-width:220px;max-width:350px}.admin-product-cell>div{display:flex;align-items:center;gap:11px}.admin-product-cell img{width:35px;height:35px;object-fit:contain;flex-shrink:0}.admin-product-cell strong{line-height:1.7;display:block;font-size:12px;overflow-wrap:anywhere}.admin-badge{display:inline-block;font-size:10px;border-radius:6px;padding:4px 8px;white-space:nowrap}.admin-badge.success{color:#378368;background:#eaf6f0}.admin-badge.warning{color:#b87820;background:#fff5e6}.admin-badge.muted{color:#8793a3;background:#f1f3f6}.admin-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;font-size:11px;color:#8995a7}.admin-pagination>div{display:flex;gap:8px}.admin-empty,.admin-loading{padding:32px;text-align:center;color:#8090a4;font-size:13px}.admin-editor{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}.admin-editor>div,.admin-editor>aside{min-width:0}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-form-grid label{display:grid;gap:8px;font-size:12px;color:#67788e}.admin-form-grid .full{grid-column:1/-1}.admin-form-grid textarea{resize:vertical;line-height:1.8}.admin-switch{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px}.admin-switch input{width:15px;height:15px;accent-color:#326ad7}.admin-rule-fields{display:grid;grid-template-columns:1.6fr 1fr;gap:8px}.admin-rule-fields input:disabled{background:#f5f7fa}.admin-group-price-row{padding:16px 0;border-top:1px solid #edf0f5;display:grid;gap:12px}.admin-group-price-row strong{font-size:13px}.admin-group-price-row small{display:block;color:#8390a2;font-size:11px;margin-top:6px}.admin-edit-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8b98a9;margin-bottom:15px}.admin-source h2{font-size:15px}.admin-source dl{display:grid;gap:7px}.admin-source dt{color:#8795a7;font-size:11px;margin-top:12px}.admin-source dd{margin:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.admin-source summary{font-size:12px;color:#6981a6;cursor:pointer;padding:12px 0}.admin-source-info{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8;color:#8895a5;max-height:400px;overflow:auto}.admin-save-card{display:grid;gap:12px}.admin-save-card .portal-error{color:#cd4d52}.admin-editor>aside{position:sticky;top:100px}.admin-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-category-grid button{display:grid;gap:15px;text-align:left;padding:20px!important;white-space:normal!important;background:var(--card-bg,#fff)!important}.admin-category-grid svg{height:24px;width:24px}.admin-category-grid strong{font-size:13px;color:var(--ink,#263649)}.admin-category-grid span{font-size:11px;color:#93a1b5}
@media(max-width:1100px){.admin-layout{grid-template-columns:170px minmax(0,1fr);gap:16px}.admin-product-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-product-filters input{grid-column:1/-1}.admin-editor{grid-template-columns:1fr}.admin-editor>aside{position:static;display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-main-header{flex-wrap:wrap}.admin-global-search{min-width:220px}.admin-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.admin-layout{display:block}.admin-navigation{position:static;padding:12px;margin-bottom:20px}.admin-nav-brand,.admin-nav-foot{display:none}.admin-navigation nav{display:flex;overflow-x:auto;gap:5px}.admin-navigation nav button{flex-shrink:0;font-size:11px;padding:9px}.admin-navigation nav button svg{display:none}.admin-metrics{grid-template-columns:1fr 1fr;gap:9px}.admin-main-header h1{font-size:23px}.admin-global-search{width:100%}.admin-card{padding:15px}.admin-editor>aside,.admin-form-grid{display:block}.admin-form-grid label{margin-bottom:14px}.admin-category-grid{grid-template-columns:1fr}.admin-rule-fields{grid-template-columns:1fr 1fr}.admin-pagination{flex-wrap:wrap}.admin-card-heading{align-items:flex-start}.admin-card-heading p{font-size:11px}}
html[data-theme='dark'] .admin-navigation,html[data-theme='dark'] .admin-card,html[data-theme='dark'] .admin-metrics article,html[data-theme='dark'] .admin-main .admin-section{background:#162130;border-color:#29384b}html[data-theme='dark'] .admin-main th{background:#1b293a}html[data-theme='dark'] .admin-main input,html[data-theme='dark'] .admin-main select,html[data-theme='dark'] .admin-main textarea{background:#1b293a;color:#d6e0ec;border-color:#35455a}

html[data-theme="dark"] .admin-navigation nav button{color:#bfd0e4}html[data-theme="dark"] .admin-navigation nav button.active{background:#213b5d;color:#afd0ff}html[data-theme="dark"] .admin-hint{background:#1c304a;border-color:#334b6d;color:#a8bedb}html[data-theme="dark"] .admin-main button{background:#21354e;border-color:#38506f;color:#b1d0ff}html[data-theme="dark"] .admin-main button.admin-primary{background:#326ad7;color:#fff}

.admin-category-search{width:100%;margin:0 0 18px}.admin-category-grid button[hidden]{display:none!important}

body:has(#memberPanel.admin-workspace:not([hidden]) #adminWorkspaceContent) .contact-fab{display:none}

.page-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.page-navigation button{min-width:34px;padding:7px 10px;border-radius:9px}.page-navigation .page-active{background:#2f6bdc;color:#fff;border-color:#2f6bdc}.page-navigation form,.page-navigation label{display:flex;align-items:center;gap:6px}.page-navigation form{margin-left:8px}.page-navigation input{width:62px;min-width:0;height:34px;padding:5px;border:1px solid #d8e0eb;border-radius:8px;background:var(--card-bg,#fff);color:inherit}.page-ellipsis{padding:0 3px}.admin-pagination{flex-wrap:wrap;gap:12px}#costPolicyForm input{width:100%}

/* Product totals are quick filters, with native keyboard button behavior. */
.admin-main #adminProductStats .admin-product-stat{display:grid;gap:12px;min-width:0;min-height:90px;padding:18px;text-align:left;white-space:normal;border-radius:13px;border:1px solid var(--line,#e4eaf1);background:var(--card-bg,#fff);color:inherit;transition:border-color .16s,box-shadow .16s,background .16s}
.admin-main #adminProductStats .admin-product-stat:hover{border-color:#7b9feb;box-shadow:0 3px 12px #326ad71a}
.admin-main #adminProductStats .admin-product-stat.active{border-color:#326ad7;background:#edf4ff;box-shadow:inset 0 0 0 1px #326ad7}
.admin-main #adminProductStats .admin-product-stat.active span{color:#285ebd}
.admin-main #adminProductStats .admin-product-stat:focus-visible{outline:3px solid #88adf0;outline-offset:3px}
html[data-theme='dark'] .admin-main #adminProductStats .admin-product-stat{background:#162130;border-color:#35455a}
html[data-theme='dark'] .admin-main #adminProductStats .admin-product-stat.active{background:#203454;border-color:#7da9ff}
html[data-theme='dark'] .admin-main #adminProductStats .admin-product-stat.active span{color:#a9c7ff}
@media(prefers-reduced-motion:reduce){.admin-main #adminProductStats .admin-product-stat{transition:none}}


/* public/security-ui.css */
.security-dialog{width:min(520px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #dbe3ef;border-radius:22px;padding:28px;background:#fff;color:#202630;box-shadow:0 24px 80px #14244240;line-height:1.7;z-index:10000}
.security-dialog::backdrop{background:#17243d99;backdrop-filter:blur(5px)}
.security-dialog h3{margin:0 0 16px;font-size:24px}.security-dialog p{color:#67748b}.security-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:12px;border:1px solid #d7dfee;border-radius:10px;font:inherit}.security-secret{font-family:monospace!important;letter-spacing:1px}.security-codes{font-size:16px;padding:16px;background:#f3f6fc;border-radius:12px}.security-dialog button{padding:10px 18px;border:1px solid #d8e2f5;border-radius:10px;background:#f5f8ff;color:#3268d2;cursor:pointer;transition:background .2s,transform .2s}.security-dialog button:hover{background:#e5edff;transform:translateY(-1px)}.security-dialog button.strong{background:#3268d2;color:white}.security-dialog .inline{display:flex;gap:8px;align-items:center}
.admin-mfa-login{padding:10px 12px;background:#f6f8fc;border:1px solid #e1e8f2;border-radius:10px}.admin-mfa-login summary{cursor:pointer;font-size:14px;color:#62738e}.admin-mfa-login[open] summary{margin-bottom:12px}.admin-mfa-login .inline{margin-top:10px}


/* public/phase1-polish.css */
/* Grid children must be allowed to shrink around long service names and order data. */
.customer-content-main,.customer-content-aside,.customer-content-grid>*,.profile-grid>*,.landing-category-grid>*,.workflow-demo{min-width:0}
.customer-content-grid{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}
.portal-panel .customer-activity{min-width:0;max-width:100%;box-sizing:border-box}
.activity-copy,.activity-copy strong,.customer-side-card{min-width:0}
.customer-side-card{overflow-wrap:anywhere}
html[lang="ko"] .intro h1,html[lang="ko"] .home-heading h2,html[lang="ko"] .checkout-heading h1{word-break:keep-all;overflow-wrap:break-word}
@media(max-width:800px){.customer-content-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){
 .topbar-right{gap:2px}
 .topbar #memberButton{padding:6px 7px;min-width:0}
 .topbar #dashboardButton{width:32px;min-width:32px;height:32px;padding:0}
 .topbar .language-toggle{width:36px;min-width:36px;padding:5px}
 .topbar #menuButton{flex-shrink:0}
}
@media(max-width:360px){
 .topbar{height:auto;min-height:88px;display:grid;grid-template-columns:minmax(0,1fr);padding:8px 12px;gap:5px}
 .topbar-right{width:100%;gap:6px;justify-content:space-between}
 .topbar #menuButton{position:absolute;top:8px;right:12px;display:grid;width:32px;height:32px;place-items:center}
 #mobileNav{top:94px}
}


/* public/member-prices.css */
.member-price-pair{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:9px;flex-wrap:wrap;max-width:100%;line-height:1.35}.member-price-pair .regular-price{font-size:.75em;font-weight:400;color:#8c97a7;text-decoration:line-through;text-decoration-thickness:1px;white-space:nowrap}.member-price-pair .actual-price{font-weight:650;white-space:nowrap}.member-price-pair.has-discount .actual-price{color:#419b78}.directory-price{flex-shrink:0;max-width:40%}.checkout-service-header>strong{max-width:34%;text-align:right}.checkout-totals>div>strong:last-child{max-width:65%;text-align:right}html[data-theme="dark"] .member-price-pair .regular-price{color:#a3aec0}html[data-theme="dark"] .member-price-pair.has-discount .actual-price{color:#72d4a9}@media(max-width:480px){.member-price-pair{gap:6px}.directory-price{max-width:45%}.checkout-service-header>strong{max-width:100%}.home-category-list .member-price-pair{font-size:13px}}
.directory-card .directory-price{max-width:none}.directory-card .member-price-pair{flex-wrap:nowrap}.checkout-service-header>strong{max-width:none}.home-popular-row .member-price-pair{flex-wrap:nowrap}


/* public/admin-extensions.css */
.source-chart-panel{display:flex;gap:30px;align-items:center;margin:20px 0;flex-wrap:wrap}.source-donut{width:180px;height:180px;border-radius:50%;display:grid;place-items:center;flex:none}.source-donut>span{width:125px;height:125px;display:grid;place-items:center;background:var(--card,#fff);border-radius:50%;font-size:15px;font-weight:600}.source-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.admin-card input[type=checkbox]{width:18px;height:18px}.admin-card select{padding:8px;border:1px solid #d6dfec;border-radius:9px}.admin-card small{display:block;margin-top:5px;color:#8190a5}#adminGroupSubmenu{margin-top:20px}.admin-card textarea{min-height:90px}

html[data-theme="dark"] .source-donut>span{background:#192638;color:#dce7f4}

.admin-edit-icon{display:inline-flex;align-items:center;justify-content:center;min-width:38px}.customer-edit-actions,.admin-bulk-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.admin-danger{color:#bc3449!important}.source-product-link{text-align:left!important;white-space:normal!important;line-height:1.5}.admin-bulk-toolbar label{display:flex;gap:8px;align-items:center}

.product-finance-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.product-finance-summary span{color:var(--muted,#7b8797);font-size:13px}.product-finance-summary strong{display:block;color:var(--text,#222831);font-size:18px;margin-top:5px}.api-confirm-list{max-height:280px;overflow:auto}#upstreamSearch{flex:1;min-width:180px}#upstreamList .admin-table-scroll{max-height:55vh;overflow:auto}


/* public/csp-assets/admin-polish-60b29f529f525852.css */
/* Shared administrator design system. Customer pages and membership colours are unchanged. */
.admin-workspace{--adm-surface:#fff;--adm-surface-soft:#f7f9fc;--adm-line:#e3e9f1;--adm-text:#253247;--adm-muted:#68788e;--adm-blue:#3169d5;--adm-blue-soft:#edf3ff;--adm-radius:14px;color:var(--adm-text);padding:24px 0!important;font-size:14px;line-height:1.5}
.admin-layout{grid-template-columns:204px minmax(0,1fr);gap:24px}
.admin-navigation{top:92px;padding:20px 10px 14px;border-radius:var(--adm-radius);border-color:var(--adm-line);background:var(--adm-surface);box-shadow:0 4px 20px #1d355905;max-height:calc(100vh - 112px);overflow:auto;scrollbar-width:thin}
.admin-nav-brand{padding:0 12px 18px;gap:4px}.admin-nav-brand>span{font-size:18px;letter-spacing:.2px;color:var(--adm-blue)}.admin-nav-brand small,.admin-nav-foot{font-size:11px;color:var(--adm-muted)}
.admin-navigation nav{gap:3px}.admin-nav-heading{display:block;padding:16px 12px 5px;font-size:10px;font-weight:650;letter-spacing:1px;color:#8895a8}.admin-nav-heading:first-child{padding-top:0}
.admin-navigation nav button{min-height:38px;padding:9px 12px;gap:10px;font-size:12.5px;font-weight:500;border-radius:8px;color:var(--adm-muted);transition:background .18s,color .18s,transform .18s}.admin-navigation nav button:hover{background:var(--adm-surface-soft);color:var(--adm-blue)}.admin-navigation nav button.active{background:var(--adm-blue-soft);color:var(--adm-blue);font-weight:650}.admin-navigation svg{width:17px;height:17px}.admin-nav-foot{margin:16px 12px 0;padding-top:12px;border-color:var(--adm-line)}
.admin-main-header{gap:16px;margin-bottom:22px;min-height:58px}.admin-main-header>div>span{font-size:11px;color:var(--adm-muted)}.admin-main-header h1{font-size:25px;font-weight:700;letter-spacing:-.5px;margin-top:5px;color:var(--adm-text)}
.admin-global-search{width:310px;min-width:220px;border-radius:9px;border-color:var(--adm-line);height:38px;background:var(--adm-surface)}.admin-main .admin-global-search input{border:0;padding:9px 12px;font-size:12px}.admin-main .admin-global-search button{border:0;border-left:1px solid var(--adm-line);border-radius:0;padding:0 12px;min-height:36px;background:var(--adm-surface-soft)}
.admin-card,.admin-main .admin-section{background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:var(--adm-radius);padding:22px;margin-bottom:18px;box-shadow:0 3px 14px #24375303}.admin-card h2,.admin-main .admin-section h3{font-size:16px;font-weight:650;line-height:1.45;color:var(--adm-text);margin:0 0 7px}.admin-card-heading{gap:16px;align-items:center;margin-bottom:18px}.admin-card-heading>div{min-width:0}.admin-card-heading>div>div{display:flex;flex-wrap:wrap;gap:8px}.admin-card-heading p,.admin-save-card p,.admin-card>p{font-size:12px;color:var(--adm-muted);line-height:1.7}.admin-hint{border-color:#dfe8f7;background:#f1f6ff;color:#587193;font-size:12px;padding:12px 16px;border-radius:10px;margin-bottom:18px}
.admin-main button:not(.admin-navigation button){min-height:33px;padding:7px 12px;font-size:12px;font-weight:550;line-height:1.4;border-radius:8px;border:1px solid var(--adm-line);background:var(--adm-surface);color:#486282;box-shadow:0 1px 2px #22334d04;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}.admin-main button:not(:disabled):hover{background:var(--adm-blue-soft);border-color:#c3d4f4;color:var(--adm-blue);box-shadow:0 3px 8px #3169d50c;transform:translateY(-1px)}.admin-main button:not(:disabled):active{transform:translateY(0);box-shadow:none}.admin-main button.admin-primary,.admin-main .page-navigation .page-active{background:var(--adm-blue);border-color:var(--adm-blue);color:#fff}.admin-main button.admin-primary:hover{background:#285dc2;color:#fff}.admin-main button.admin-danger{background:#fff7f8;border-color:#f2dce1;color:#b63b50!important}.admin-main button.admin-danger:hover{background:#ffedf0;border-color:#eeb8c4}.admin-main button:disabled{opacity:.42;cursor:not-allowed;transform:none}
.admin-main :is(button,input,select,textarea):focus-visible,.admin-modal :is(button,input,select,textarea):focus-visible{outline:3px solid #3169d533;outline-offset:2px}.admin-main :is(input,select,textarea){font-size:13px;border-radius:8px;border-color:var(--adm-line);padding:9px 11px;color:var(--adm-text);background:var(--adm-surface);transition:border-color .16s,box-shadow .16s}.admin-main :is(input,select){min-height:37px}.admin-main input[type=checkbox],.admin-modal input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--adm-blue,#3169d5);padding:0;cursor:pointer}.admin-main textarea{min-height:110px;line-height:1.65}.admin-main :is(input,textarea)::placeholder{color:#94a1b3}.admin-product-filters{grid-template-columns:minmax(190px,1.8fr) repeat(4,minmax(108px,1fr));gap:9px;margin-bottom:18px}
.admin-metrics{gap:12px;margin-bottom:18px}.admin-metrics article,.admin-main .account-stats>div,.admin-main .history-stats>div{border:1px solid var(--adm-line);background:var(--adm-surface);border-radius:12px;padding:16px 18px;gap:8px;box-shadow:none}.admin-metrics span,.admin-main .account-stats span{font-size:12px;color:var(--adm-muted)}.admin-metrics strong,.admin-main .account-stats strong{font-size:25px;font-weight:680;line-height:1.35;letter-spacing:-.5px}.admin-main .account-stats{gap:12px;margin-bottom:18px}.admin-main .account-stats small{font-size:11px;color:var(--adm-muted)}
.admin-main .admin-table-scroll{max-height:65vh;overflow:auto;border:1px solid var(--adm-line);border-radius:10px;scrollbar-width:thin;overscroll-behavior:contain}.admin-main table{font-size:13px;line-height:1.45}.admin-main th{position:sticky;top:0;z-index:1;padding:11px 13px;font-size:11.5px;letter-spacing:.15px;background:var(--adm-surface-soft);color:var(--adm-muted);border-bottom:1px solid var(--adm-line)}.admin-main td{padding:13px;border-top:1px solid var(--adm-line);color:var(--adm-text);transition:background .16s}.admin-main td small{font-size:11px;color:var(--adm-muted);line-height:1.5;margin-top:5px}.admin-main td:last-child{white-space:normal;min-width:125px;max-width:210px}.admin-main td:last-child button{margin:3px 3px 3px 0;min-height:30px;padding:6px 10px;font-size:11.5px}.admin-product-cell{min-width:215px;max-width:335px}.admin-product-cell img{width:34px;height:34px;border-radius:7px;background:var(--adm-surface-soft);padding:3px;box-sizing:border-box}.admin-product-cell strong{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.admin-badge,.admin-main .status-tag{font-size:11px;font-weight:550;padding:4px 8px;border-radius:7px}.admin-main .status-completed,.admin-main .status-approved,.admin-badge.success{background:#eaf6f0;color:#318569}.admin-badge.warning{background:#fff4e5;color:#a96e24}.admin-badge.muted{background:#eef1f5;color:#718096}.admin-pagination{font-size:12px;color:var(--adm-muted);gap:12px;margin-top:17px}.admin-main .page-navigation{gap:5px}.admin-main .page-navigation button{min-width:32px;min-height:32px;padding:6px 9px}.admin-main .page-navigation input{height:32px;min-height:32px;width:56px}
.admin-editor{grid-template-columns:minmax(0,1fr) 305px;gap:18px}.admin-editor>aside{position:static}.admin-edit-top{margin-bottom:16px;font-size:12px;color:var(--adm-muted)}.admin-form-grid{gap:14px}.admin-form-grid label{font-size:12px;color:var(--adm-muted);gap:7px}.admin-form-grid textarea{min-height:145px;max-height:340px}.admin-switch{font-size:12px;gap:8px}.admin-group-price-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-group-price-row{padding:14px;border:1px solid var(--adm-line);border-radius:10px;background:var(--adm-surface-soft);gap:12px}.admin-group-price-row strong{font-size:13px}.admin-group-price-row small{font-size:11px;line-height:1.7;color:var(--adm-muted)}.admin-group-price-row .admin-rule-fields{grid-template-columns:1fr}.admin-source dl{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;margin-bottom:8px}.admin-source dt{font-size:11px;margin:0;padding-top:2px}.admin-source dd{font-size:12px;line-height:1.55}.admin-source-info{max-height:200px;font-size:12px;color:var(--adm-muted)}.admin-save-card{position:sticky;bottom:16px;padding:16px;box-shadow:0 6px 26px #253b5810}.admin-save-card button{width:100%}.admin-save-card p{margin:0;font-size:11px}.product-finance-summary{gap:16px 12px;padding:12px 0 15px;border-bottom:1px solid var(--adm-line)}.product-finance-summary span{font-size:11px;color:var(--adm-muted)}.product-finance-summary strong{font-size:19px;color:var(--adm-text);font-variant-numeric:tabular-nums}.admin-main .product-finance-summary+p{font-size:12px;line-height:1.9}.admin-category-grid{gap:12px}.admin-category-grid button{border:1px solid var(--adm-line)!important;background:var(--adm-surface)!important;gap:12px;padding:18px!important}.admin-category-grid button:hover{border-color:#c3d4f4!important;background:var(--adm-blue-soft)!important}.admin-category-grid strong{font-size:13px;color:var(--adm-text)}.admin-category-grid span{font-size:11px;color:var(--adm-muted)}
.admin-main .history-toolbar{gap:12px;margin:16px 0}.admin-main .history-filters{gap:5px;display:flex;flex-wrap:wrap}.admin-main .history-filters button{font-size:12px;padding:7px 11px;min-height:33px;border-color:transparent;background:transparent;color:var(--adm-muted)}.admin-main .history-filters button.active{background:var(--adm-blue-soft);border-color:#d8e4fa;color:var(--adm-blue)}.admin-main .history-search{padding:0 12px;min-height:40px;border-radius:9px;border-color:var(--adm-line);background:var(--adm-surface)}.admin-main .history-search input{border:0;min-height:38px}.admin-main .history-search svg{width:18px;height:18px}.admin-main .history-stats{margin-bottom:18px;gap:12px}.admin-main .source-donut{width:160px;height:160px}.admin-main .source-donut>span{width:112px;height:112px;background:var(--adm-surface);color:var(--adm-text);font-size:14px}.source-chart-panel{gap:24px}.source-chart-panel p{font-size:13px;color:var(--adm-muted)}.admin-bulk-toolbar{margin:14px 0;gap:10px;font-size:12px}.admin-main .admin-table-scroll>.admin-bulk-toolbar{padding:0 12px}
.admin-modal .portal-dialog{width:min(760px,calc(100vw / 1.05 - 32px));padding:24px;border-radius:16px;max-height:88vh;color:#253247}.admin-modal .portal-dialog:has(#upstreamList),.admin-modal .portal-dialog:has([data-route-index]){width:min(1050px,calc(100vw / 1.05 - 32px))}.admin-modal h3{font-size:20px;line-height:1.4;margin:0 36px 16px 0}.admin-modal p,.admin-modal label{font-size:13px;line-height:1.7;color:#68788e}.admin-modal .portal-form{gap:14px}.admin-modal :is(input,select,textarea){font-size:13px;border-radius:8px;padding:10px 12px}.admin-modal button{font-size:12px;min-height:34px;padding:8px 13px;border-radius:8px;transition:background .16s,box-shadow .16s,transform .16s}.admin-modal button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 3px 10px #315b9610}.admin-modal .dialog-x{width:32px;height:32px;min-height:32px;right:14px;top:14px;padding:4px;font-size:24px}.admin-modal .admin-table-scroll{border:1px solid #e3e9f1;border-radius:10px;overflow:auto;max-height:55vh}.admin-modal table{border-collapse:collapse;width:100%;font-size:12px}.admin-modal th{position:sticky;top:0;background:#f7f9fc;color:#68788e;padding:11px 12px;text-align:left;font-size:11px;z-index:1}.admin-modal td{padding:12px;border-top:1px solid #e3e9f1;line-height:1.5}.admin-modal td.wide{min-width:215px;max-width:420px;overflow-wrap:anywhere}.admin-modal td small{display:block;margin-top:4px;font-size:11px;color:#68788e}.admin-modal td button{margin:3px;white-space:nowrap}.admin-modal .page-navigation{margin-top:14px;font-size:12px}.admin-modal #upstreamList:empty{min-height:110px}.admin-modal .admin-danger{background:#fff4f6;color:#b63b50!important;border-color:#f1d8df}
@keyframes adminEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}#adminWorkspaceContent>*{animation:adminEnter .2s ease-out both}
html[data-theme=dark] .admin-workspace{--adm-surface:#172335;--adm-surface-soft:#1d2b40;--adm-line:#2e4059;--adm-text:#dce6f4;--adm-muted:#a0afc4;--adm-blue:#7faaff;--adm-blue-soft:#253a59}.admin-workspace .admin-main button.admin-primary{background:#3169d5;border-color:#3169d5;color:#fff}html[data-theme=dark] .admin-hint{background:#1e304b;border-color:#2e466c;color:#b6cae6}html[data-theme=dark] .admin-main button.admin-danger{background:#382632;border-color:#613544;color:#efa7b6!important}html[data-theme=dark] .admin-main .admin-group-price-row{background:var(--adm-surface-soft)}html[data-theme=dark] .admin-main .status-completed,html[data-theme=dark] .admin-main .status-approved{background:#203d36;color:#8dcab5}html[data-theme=dark] .admin-main .status-rejected{background:#422a35;color:#f1b1bf}html[data-theme=dark] .admin-main .admin-badge.warning{background:#423722;color:#ecc185}html[data-theme=dark] .admin-main input:disabled{background:#233046;color:#a0afc4}html[data-theme=dark] .admin-modal .portal-dialog{background:#172335;color:#dce6f4}html[data-theme=dark] .admin-modal :is(p,label,small){color:#a0afc4}html[data-theme=dark] .admin-modal :is(input,select,textarea){background:#1d2b40;border-color:#2e4059;color:#dce6f4}html[data-theme=dark] .admin-modal .admin-table-scroll,html[data-theme=dark] .admin-modal td{border-color:#2e4059}html[data-theme=dark] .admin-modal th{background:#1d2b40;color:#a0afc4}html[data-theme=dark] .admin-modal button{background:#233854;border-color:#38506f;color:#bed5ff}html[data-theme=dark] .admin-modal button.strong{background:#3169d5;color:#fff}html[data-theme=dark] .admin-modal .admin-danger{background:#382632;border-color:#613544;color:#efa7b6!important}
@media(min-width:1500px){body:has(#memberPanel.admin-workspace:not([hidden])) main{max-width:1580px}.admin-editor{grid-template-columns:minmax(0,1fr) 320px}.admin-group-price-row{grid-template-columns:minmax(120px,1fr) minmax(160px,1fr);align-items:center}.admin-group-price-row .admin-rule-fields{grid-template-columns:1fr}}
@media(max-width:1180px){.admin-layout{grid-template-columns:184px minmax(0,1fr);gap:18px}.admin-product-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-product-filters>input{grid-column:1/-1}.admin-editor{grid-template-columns:1fr}.admin-editor>aside{display:grid;grid-template-columns:1fr 1fr;position:static;gap:16px}.admin-save-card{position:static;grid-column:1/-1;display:flex;flex-wrap:wrap}.admin-save-card button{width:auto}.admin-save-card p{width:100%}.admin-main-header{flex-wrap:wrap}.admin-global-search{max-width:100%}}
@media(max-width:700px){.admin-workspace{padding:16px 0!important}.admin-layout{display:block}.admin-navigation{position:static;max-height:none;padding:10px;margin-bottom:18px;border-radius:11px}.admin-nav-brand,.admin-nav-foot,.admin-nav-heading{display:none}.admin-navigation nav{display:flex;overflow-x:auto;gap:5px}.admin-navigation nav button{flex-shrink:0;padding:8px 11px;font-size:12px;min-height:35px}.admin-navigation nav button svg{display:none}.admin-main-header{margin-bottom:16px;gap:12px}.admin-main-header h1{font-size:23px}.admin-global-search{width:100%;min-width:0}.admin-card,.admin-main .admin-section{padding:16px;border-radius:12px;margin-bottom:14px}.admin-card-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.admin-metrics,.admin-main .account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.admin-metrics article{padding:14px}.admin-metrics strong{font-size:23px}.admin-group-price-list{grid-template-columns:1fr}.admin-editor>aside{display:block}.admin-editor .admin-save-card{display:grid}.admin-save-card button{width:100%}.admin-form-grid{display:block}.admin-category-grid{grid-template-columns:1fr}.admin-main .admin-table-scroll{max-height:62vh}.admin-pagination{align-items:flex-start}.admin-modal .portal-dialog{padding:20px 16px;width:calc(100vw / 1.05 - 20px);max-height:88vh}.admin-modal .portal-dialog:has(#upstreamList),.admin-modal .portal-dialog:has([data-route-index]){width:calc(100vw / 1.05 - 20px)}.admin-modal h3{font-size:18px}.admin-modal .page-navigation form{margin-left:0}.admin-modal .admin-bulk-toolbar{gap:8px}.admin-modal #upstreamSearch{width:100%;flex-basis:100%}.admin-modal td.wide{min-width:180px}.admin-main .history-toolbar{align-items:flex-start;flex-direction:column}.source-chart-panel{justify-content:center}}
@media(prefers-reduced-motion:reduce){#adminWorkspaceContent>*{animation:none}.admin-workspace *, .admin-modal *{transition:none!important}.admin-main button:hover,.admin-modal button:hover{transform:none!important}}

/* Keep actions visible without covering supplier details, and remove inactive pricing inputs. */
.admin-workspace .admin-save-card{position:static;bottom:auto}.admin-group-price-row input:disabled{display:none}.admin-workspace .admin-navigation nav button.active{background:var(--adm-blue-soft);color:var(--adm-blue)}
#adminWorkspaceContent:has(#sourceCompareResult) td:last-child{min-width:190px}#adminWorkspaceContent:has(#sourceCompareResult) td.wide{max-width:290px;overflow-wrap:anywhere}
html[data-theme=dark] .admin-workspace .admin-navigation nav button{color:var(--adm-muted)}html[data-theme=dark] .admin-workspace .admin-navigation nav button.active{background:var(--adm-blue-soft);color:var(--adm-blue)}html[data-theme=dark] .admin-workspace .admin-main button{background:var(--adm-surface-soft);border-color:var(--adm-line);color:#b9cce6}html[data-theme=dark] .admin-workspace .admin-main button:not(:disabled):hover{background:#2c4364;color:#c8dcff;border-color:#48648a}html[data-theme=dark] .admin-workspace .admin-main button.admin-primary,html[data-theme=dark] .admin-workspace .page-navigation .page-active{background:#3169d5;border-color:#3169d5;color:#fff}html[data-theme=dark] .admin-workspace .admin-main button.admin-danger{background:#382632;border-color:#613544;color:#efa7b6!important}
body:has(#memberPanel.admin-workspace:not([hidden])) .dashboard-button.admin-entry{background:#3169d5;border-color:#3169d5;color:#fff}html[data-theme=dark] body:has(#memberPanel.admin-workspace:not([hidden])) .brand,html[data-theme=dark] body:has(#memberPanel.admin-workspace:not([hidden])) .desktop-nav a{color:#dce6f4}html[data-theme=dark] body:has(#memberPanel.admin-workspace:not([hidden])) .brand small{color:#a0afc4}

/* Product browsing follows the document; only narrow screens scroll horizontally. */
.admin-main #adminProductTable{max-height:none;height:auto;overflow-x:auto;overflow-y:visible;overscroll-behavior:auto;scrollbar-gutter:auto}

.admin-product-toolbar{position:sticky;top:76px;z-index:6;background:var(--adm-surface,#fff);padding:14px 0 12px;margin-top:-14px;border-bottom:1px solid var(--adm-line,#e0e7f2);box-shadow:0 8px 10px -10px #1e355947}.admin-product-toolbar .admin-card-heading{margin-bottom:12px}.admin-product-toolbar .admin-product-filters{margin-bottom:0}#adminProductTable{margin-top:14px}
@media(max-width:650px){.admin-product-toolbar{top:66px;padding:10px 0}.admin-product-toolbar .admin-card-heading{gap:8px;margin-bottom:8px}.admin-product-toolbar .admin-card-heading p{display:none}.admin-product-toolbar .admin-card-heading h2{font-size:14px;margin-bottom:0}.admin-product-toolbar .admin-card-heading>div:last-child{display:flex;gap:5px}.admin-product-toolbar .admin-product-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.admin-product-toolbar #adminProductSearch{grid-column:1/-1}.admin-product-toolbar :is(input,select){width:100%;min-width:0}}

.admin-main #categoryProductTable{max-height:none;height:auto;overflow-x:auto;overflow-y:visible;overscroll-behavior:auto}.admin-category-grid[hidden],#adminCategorySubmenu[hidden]{display:none!important}#adminCategorySubmenu{scroll-margin-top:100px}

.admin-main #routeSwitchPriceButton.route-price-lower{color:#237c54!important;background:#e8f6ee;border-color:#96d4b3}.admin-main #routeSwitchPriceButton.route-price-lowest{color:#cf3e49!important;background:#fff0f1;border-color:#efb0b5}.admin-main #routeSwitchPriceButton.route-price-unknown{color:#a16a08!important;background:#fff5dc;border-color:#e8c773}

.admin-modal .portal-dialog:has(.api-route-comparison){width:min(1200px,calc(100vw / 1.05 - 32px))}.api-route-comparison table{min-width:950px}

.admin-main .admin-product-cell .admin-custom-price{color:#d83c4b!important;font-weight:700;font-size:11px;margin-top:5px}

/* Desktop navigation follows the document and spans the workspace. */
@media(min-width:701px){.admin-layout>.admin-navigation{position:static;align-self:stretch;max-height:none;min-height:calc(100dvh - 112px);overflow:visible;box-sizing:border-box}}

/* Fixed desktop workspace: only the right pane scrolls during content browsing. */
@media(min-width:701px){
html:has(#memberPanel.admin-workspace:not([hidden])),body:has(#memberPanel.admin-workspace:not([hidden])){overflow:hidden}
#memberPanel.admin-workspace{position:fixed;inset:88px max(20px,calc((100vw - 1580px)/2)) 12px;padding:0!important;box-sizing:border-box}
.admin-workspace>.admin-layout{height:100%;min-height:0;align-items:stretch}
.admin-layout>.admin-navigation{position:static;align-self:stretch;height:100%;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;box-sizing:border-box;overscroll-behavior:contain}
.admin-layout>.admin-navigation::-webkit-scrollbar{display:none;width:0;height:0}
.admin-layout>.admin-main{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px}
.admin-main .admin-product-toolbar{top:0}
}

/* Sticky tools are relative to the independent right pane, not the site header. */
@media(min-width:701px){
.admin-layout>.admin-main{isolation:isolate}
.admin-main .admin-browse-toolbar,.admin-main .admin-product-toolbar{top:0!important;z-index:6;background:var(--adm-surface,#fff)}
}

/* Fixed admin content must not expose the normal-flow public footer beneath it. */
@media(min-width:701px){
body:has(#memberPanel.admin-workspace:not([hidden])) main>.commerce-footer{display:none}
#memberPanel.admin-workspace{background:var(--adm-surface-soft,#f7f9fc);isolation:isolate;z-index:1}
.admin-layout>.admin-main{background:var(--adm-surface-soft,#f7f9fc)}
}

/* Compact administrator summaries; customer layouts remain scoped separately. */
#memberPanel .admin-main .history-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:14px}
#memberPanel .admin-main .history-stat{min-width:0;min-height:0!important;height:auto!important;padding:11px 12px!important;gap:6px!important;border-radius:10px;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;text-align:left}
#memberPanel .admin-main .history-stat-copy{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:6px;min-width:0}
#memberPanel .admin-main .history-stat-copy>span{font-size:12px;white-space:normal}
#memberPanel .admin-main .history-stat strong{font-size:23px;line-height:1.15}
#memberPanel .admin-main .history-stat-icon{width:18px;height:18px;min-height:0;padding:0;background:transparent}
#memberPanel .admin-main .history-stat-icon svg{width:16px;height:16px}
#sourceCompareResult[hidden]{display:none!important}
@media(max-width:1100px){#memberPanel .admin-main .history-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:500px){#memberPanel .admin-main .history-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}}

/* Semantic order colours, shared by summary cards and their filter buttons. */
#memberPanel [data-admin-order-status="all"]{--order-ink:#3159c9;--order-soft:#edf2ff;--order-line:#bacbf5}
#memberPanel [data-admin-order-status="completed"]{--order-ink:#23734f;--order-soft:#edf8f1;--order-line:#b2d9c0}
#memberPanel [data-admin-order-status="waiting"]{--order-ink:#596779;--order-soft:#f2f4f7;--order-line:#cbd2dc}
#memberPanel [data-admin-order-status="progress"]{--order-ink:#ad5018;--order-soft:#fff3e9;--order-line:#efc5a5}
#memberPanel [data-admin-order-status="needs_review"]{--order-ink:#8b680c;--order-soft:#fff9e5;--order-line:#e8d18b}
#memberPanel [data-admin-order-status="rejected"]{--order-ink:#b63846;--order-soft:#fff0f2;--order-line:#ecc0c7}
#memberPanel .admin-main .history-stat[data-admin-order-status]{background:var(--order-soft)!important;border-color:var(--order-line)!important;color:var(--order-ink)!important}
#memberPanel .admin-main .history-stat[data-admin-order-status] :is(strong,.history-stat-copy>span,.history-stat-icon,svg){color:var(--order-ink)!important}
#memberPanel .admin-main .history-stat[data-admin-order-status].active{border-color:var(--order-ink)!important;box-shadow:inset 0 0 0 1px var(--order-ink)!important}
#memberPanel .admin-main .history-filters [data-admin-order-status]{color:var(--order-ink)!important;border-color:var(--order-line)!important}
#memberPanel .admin-main .history-filters [data-admin-order-status].active{background:var(--order-soft)!important;border-color:var(--order-ink)!important}
#memberPanel [data-admin-order-status]:focus-visible{outline:2px solid var(--order-ink);outline-offset:3px}
html[data-theme=dark] #memberPanel [data-admin-order-status="all"]{--order-ink:#a6bfff;--order-soft:#202f4b;--order-line:#465f8b}
html[data-theme=dark] #memberPanel [data-admin-order-status="completed"]{--order-ink:#8bd3ac;--order-soft:#1c352c;--order-line:#386c53}
html[data-theme=dark] #memberPanel [data-admin-order-status="waiting"]{--order-ink:#b7c3d4;--order-soft:#273240;--order-line:#526175}
html[data-theme=dark] #memberPanel [data-admin-order-status="progress"]{--order-ink:#ffc08d;--order-soft:#402c20;--order-line:#855631}
html[data-theme=dark] #memberPanel [data-admin-order-status="needs_review"]{--order-ink:#ebcf78;--order-soft:#39331e;--order-line:#78672c}
html[data-theme=dark] #memberPanel [data-admin-order-status="rejected"]{--order-ink:#ffa2ae;--order-soft:#40272f;--order-line:#86505c}


/* public/continuous-list.css */
.continuous-marker{grid-column:1/-1;overflow-anchor:none}.continuous-status{display:flex;align-items:center;justify-content:center;gap:10px;height:58px;min-height:58px;box-sizing:border-box;padding:12px;font-size:12px;color:#7c8a9c;text-align:center}.continuous-status button{font:inherit;border:1px solid #dce5f2;border-radius:8px;background:transparent;color:#426fae;padding:7px 12px;cursor:pointer}.continuous-status button:hover{background:#eef4ff}.continuous-spinner{width:13px;height:13px;border:2px solid #dce5f2;border-top-color:#3973dc;border-radius:50%;animation:continuousSpin .7s linear infinite}.continuous-summary{font-size:12px;color:#7c8a9c}.admin-main tr.continuous-marker td,.admin-modal tr.continuous-marker td{padding:0}.admin-main .continuous-status button{min-height:30px}.customer-row-actions{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.admin-main .customer-row-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;min-height:34px;margin:0!important;padding:7px 10px!important;border-radius:8px;font-size:12px;color:#567294;background:var(--adm-surface)}.customer-row-actions svg{width:16px;height:16px;flex-shrink:0}.admin-main .customer-row-actions .admin-edit-icon{width:34px;min-width:34px;padding:7px!important}.api-product-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.api-product-counts{display:flex;flex-direction:column;gap:3px;white-space:nowrap;font-size:12px;line-height:1.5}.api-product-counts strong{font-size:14px;color:var(--adm-text,#253247);font-variant-numeric:tabular-nums}.api-product-counts small{margin:0!important;font-size:11px}.admin-main .api-product-summary button{display:inline-flex;align-items:center;gap:5px;min-height:32px;margin:0;padding:6px 9px;font-size:11.5px;border-radius:8px}.api-product-summary svg{width:15px;height:15px}.admin-table-scroll:has(.continuous-marker),.admin-modal .admin-table-scroll:has(.continuous-marker){scroll-behavior:auto;overflow-anchor:auto}html[data-theme=dark] .continuous-status,html[data-theme=dark] .continuous-summary{color:#a0afc4}html[data-theme=dark] .continuous-status button{border-color:#3a506e;color:#bfd5f7;background:#21354e}html[data-theme=dark] .admin-main .customer-row-actions button{background:var(--adm-surface-soft);border-color:var(--adm-line);color:#b9cce6}@keyframes continuousSpin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.continuous-spinner{animation:none}}
.workspace main:has(#catalog:not([hidden])){overflow-anchor:none}html:has(#catalog:not([hidden])){overflow-anchor:none}
.admin-main #continuousCustomers td:first-child,.admin-main #continuousCustomers td:nth-child(2){overflow-wrap:anywhere}.customer-note{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}


/* public/admin-logbook.css */
.admin-workspace .admin-main-header h1,.admin-workspace .admin-card h2,.admin-workspace .admin-section h3{color:var(--adm-blue,#3169d5)}.admin-workspace .admin-metrics strong,.admin-workspace .account-stats strong,.admin-workspace .history-stat strong,.admin-workspace .admin-number-accent,.admin-workspace .product-finance-summary strong,.admin-workspace .api-product-counts strong{color:var(--adm-blue,#3169d5);font-variant-numeric:tabular-nums}.admin-workspace .admin-number-accent small{color:var(--adm-muted,#68788e)}.admin-workspace .data-positive,.route-benefit{color:#278362!important}.admin-workspace .data-negative,.route-drawback{color:#c34859!important}.route-benefit,.route-drawback{display:block;font-size:12px;font-weight:600;line-height:1.7;margin-bottom:5px}.route-neutral{color:#7b8a9d;font-size:12px}.api-route-comparison th{white-space:nowrap}.api-route-comparison td{min-width:100px}.api-route-comparison td.wide{min-width:200px;max-width:300px}.api-route-comparison strong{color:#3169d5}.logbook-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.logbook-grid{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(0,1.25fr);gap:18px;align-items:start}.logbook-grid.logbook-all{grid-template-columns:1fr}.logbook-month-nav{display:flex;justify-content:space-between;align-items:center;margin:20px 0 15px}.logbook-month-nav strong{font-size:16px;color:var(--adm-blue)}.logbook-week,.logbook-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.logbook-week{margin-bottom:8px;font-size:11px;color:var(--adm-muted);text-align:center}.admin-main .logbook-days button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:65px;padding:8px 2px;white-space:normal;box-shadow:none;background:var(--adm-blue-soft);border-color:transparent}.logbook-days button strong{font-size:15px;color:var(--adm-blue)}.logbook-days button small{font-size:10px;line-height:1.4;color:var(--adm-muted)}.admin-main .logbook-days button:disabled{background:var(--adm-surface-soft);border-color:transparent;opacity:.65;cursor:default}.admin-main .logbook-days button:disabled strong{color:var(--adm-muted)}.admin-main .logbook-days button.logbook-today{border-color:#c3d4f4}.admin-main .logbook-days button.logbook-selected{background:#3169d5;color:#fff}.logbook-days button.logbook-selected strong,.logbook-days button.logbook-selected small{color:#fff!important}.logbook-filters{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(160px,1.2fr);gap:10px;margin:16px 0}.logbook-filters label{display:grid;gap:6px;font-size:12px;color:var(--adm-muted)}.logbook-filters input{width:100%;min-width:0}.logbook-summary{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px;font-size:11px;color:var(--adm-muted)}.logbook-summary>span{background:var(--adm-surface-soft);border:1px solid var(--adm-line);border-radius:7px;padding:5px 8px}.logbook-summary strong{color:var(--adm-blue);margin-left:3px}.logbook-detail{min-width:145px}.logbook-detail summary{color:var(--adm-blue);font-size:12px;cursor:pointer;white-space:nowrap}.logbook-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.65 ui-monospace,Consolas,monospace;max-height:250px;min-width:180px;max-width:440px;overflow:auto;color:var(--adm-text);background:var(--adm-surface-soft);padding:12px;border-radius:8px}.logbook-records #logbookLoaded{display:block;margin-top:12px}.logbook-calendar[hidden]{display:none}.admin-main .logbook-records .admin-table-scroll{max-height:55vh}
html[data-theme=dark] .route-benefit,html[data-theme=dark] .admin-workspace .data-positive{color:#84ceb3!important}html[data-theme=dark] .route-drawback,html[data-theme=dark] .admin-workspace .data-negative{color:#f0a3b2!important}html[data-theme=dark] .api-route-comparison strong{color:#91b6ff}html[data-theme=dark] .route-neutral{color:#a0afc4}@media(max-width:1180px){.logbook-grid{grid-template-columns:1fr}.logbook-calendar{max-width:540px}.logbook-grid.logbook-all .logbook-records{width:100%;box-sizing:border-box}}@media(max-width:700px){.logbook-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.logbook-metrics article{padding:10px}.logbook-metrics article span{font-size:10px}.logbook-metrics strong{font-size:21px}.logbook-filters{grid-template-columns:1fr}.admin-main .logbook-days button{min-height:56px}.logbook-days button strong{font-size:14px}.logbook-days button small{font-size:9px}}

.admin-workspace .admin-main th{color:var(--adm-blue,#3169d5);font-weight:600}.admin-workspace .source-donut>span{color:var(--adm-blue,#3169d5)}.admin-modal .portal-dialog:has(.api-route-comparison){width:min(1100px,calc(100vw / 1.05 - 32px))}

.daily-sidebar{display:grid;gap:14px}.daily-summary .source-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:0}.daily-summary .source-detail-summary article{padding:12px}.daily-summary .source-detail-summary strong{font-size:22px}.daily-summary .admin-card-heading{gap:8px;margin-bottom:12px}.daily-summary .admin-card-heading h2{font-size:15px}.daily-summary .admin-card-heading p{font-size:11px}.daily-sidebar .logbook-calendar{width:100%;max-width:none}.daily-sidebar .logbook-days{gap:4px}.daily-sidebar .logbook-days button{min-height:44px;padding:7px 3px}.daily-sidebar .logbook-days button strong{font-size:15px}.daily-sidebar .logbook-days button small{font-size:9px}.daily-sidebar .logbook-calendar>p{font-size:11px}.daily-sidebar .logbook-month-nav{margin:12px 0}.daily-sidebar .logbook-calendar>label{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:12px}.daily-sidebar input[type=date]{min-width:0;flex:1}.daily-layout #dailyContent .admin-table-scroll{max-height:none!important;overflow-x:auto;overscroll-behavior:auto}
@media(min-width:1181px){.daily-layout{grid-template-columns:minmax(310px,.8fr) minmax(0,1.4fr)}.daily-sidebar{position:sticky;top:76px;align-self:start}.daily-sidebar>.admin-card{padding:18px}.daily-sidebar .logbook-calendar h2{font-size:15px}.daily-sidebar .logbook-month-nav button{min-height:28px;padding:4px 9px}.daily-sidebar .logbook-week{font-size:11px}}
@media(min-width:1181px) and (max-height:850px){.daily-sidebar{gap:10px}.daily-sidebar>.admin-card{padding:12px}.daily-summary .source-detail-summary article{padding:7px 10px}.daily-sidebar .logbook-days button{min-height:34px;padding:3px}.daily-sidebar .logbook-calendar>p{margin:5px 0}.daily-sidebar .logbook-month-nav{margin:7px 0}.daily-sidebar .logbook-days button small{font-size:8px}}
@media(max-width:1180px){.daily-sidebar{position:static}.daily-sidebar .logbook-calendar{max-width:none}.daily-summary .source-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:650px){.daily-summary .source-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.daily-sidebar>.admin-card{margin-bottom:0}.daily-summary .source-detail-summary article{min-height:0;display:flex;flex-direction:column;gap:4px;padding:10px}.daily-summary .source-detail-summary small{font-size:11px;line-height:1.35}.daily-summary .source-detail-summary strong{font-size:22px;line-height:1.25}.daily-sidebar .logbook-days button{aspect-ratio:auto;height:44px;min-height:44px;gap:2px}
@media(min-width:1181px) and (max-height:950px){.daily-sidebar{gap:10px}.daily-sidebar>.admin-card{padding:12px}.daily-summary .source-detail-summary article{padding:7px 9px}.daily-sidebar .logbook-days button{height:34px;min-height:34px;padding:3px}.daily-sidebar .logbook-calendar>p{margin:5px 0}.daily-sidebar .logbook-month-nav{margin:7px 0}}


/* public/audit-polish.css */
/* Responsive finishing rules shared by the customer and administration views. */
:is(.portal-heading,.admin-main-header,.checkout-service-header,.order-detail-toolbar,.customer-section-heading)>*{min-width:0}
:is(.portal-heading h2,.checkout-heading h1,.order-detail-heading h2,.admin-main-header h1){overflow-wrap:anywhere;text-wrap:pretty}
:is(.portal-form,.checkout-form,.admin-form-grid) :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
.portal-dialog{overscroll-behavior:contain;scrollbar-gutter:stable}
:is(.admin-table-scroll,.history-table-shell,.detail-nav-list){overscroll-behavior:contain}
:is(.admin-main,.portal-dialog,.checkout-card,.customer-profile-page) input[type=checkbox]{accent-color:#316bd9}
:is(.admin-main,.portal-dialog,.checkout-card) :is(button,a):focus-visible{outline:3px solid #729cf4;outline-offset:3px}
.admin-navigation nav{scrollbar-width:thin;scrollbar-color:#c2cee0 transparent;scroll-padding-inline:12px}
.admin-main :is(.admin-card-heading,.admin-main-header) select{max-width:100%;min-width:0}
@media(max-width:700px){
 .admin-navigation{position:relative}
 .admin-navigation nav{padding:4px 0 9px;border-bottom:1px solid var(--adm-line);scroll-snap-type:x proximity}
 .admin-navigation nav button{scroll-snap-align:start;min-height:40px}
 .admin-main :is(.admin-card,.admin-section){padding:18px}
 .admin-main .admin-card-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}
 .portal-dialog{max-height:calc(100dvh - 32px)}
 :is(.portal-form,.checkout-form,.profile-grid,.recharge-form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
 .order-detail-toolbar{flex-wrap:wrap;align-items:flex-start}
 .order-detail-toolbar>div{flex-wrap:wrap;gap:7px}
 .order-detail-heading h2{font-size:20px;line-height:1.45}
}
@media(max-width:360px){
 .topbar .brand{gap:5px}.topbar-right{gap:3px!important}
 .customer-summary,.history-stats{gap:10px}
 .customer-metric{padding:16px}.customer-metric strong{font-size:23px}
 .hero-copy h1{font-size:29px}
 .order-detail-service{grid-template-columns:minmax(0,1fr)}
 .order-detail-service>div:last-child{text-align:left}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.admin-navigation nav{scroll-behavior:auto!important}}


/* public/source-reports.css */
.source-chart-panel>div:last-child button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;margin:5px 0!important;padding:10px 12px!important}.source-selected{background:var(--adm-blue-soft,#edf3ff)!important;color:var(--adm-blue,#316bd9)!important;border-color:#a8c0ee!important}#sourceDetailPanel:not(:empty){border-top:1px solid var(--adm-line,#dce3ee);margin-top:24px;padding-top:24px}.source-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.source-detail-summary article{background:var(--adm-surface-soft,#f5f7fb);border:1px solid var(--adm-line,#dce3ee);border-radius:10px;padding:15px;min-width:0}.source-detail-summary small{display:block;color:var(--adm-muted,#768398);margin-bottom:10px}.source-detail-summary strong{color:var(--adm-blue,#316bd9);font-size:20px;overflow-wrap:anywhere}#sourceDetailTable{max-height:60vh;overflow:auto}@media(max-width:800px){.source-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.source-detail-summary article{padding:12px}.source-detail-summary strong{font-size:18px}}
#dailyContent,.logbook-calendar{min-width:0;box-sizing:border-box}#dailyContent .admin-hint{overflow-wrap:anywhere}#dailyContent table{min-width:650px}#dailyContent .admin-table-scroll{max-width:100%;overflow:auto}



/* public/upstream-balances.css */
.upstream-balance-heading,.upstream-balance-title,.upstream-balance-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.upstream-balance-heading{margin:20px 0 12px}.upstream-balance-heading strong{color:var(--primary,#4169d4)}
.upstream-balance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.upstream-balance-card{--balance-color:#778397;border:1px solid color-mix(in srgb,var(--balance-color) 25%,transparent);background:color-mix(in srgb,var(--balance-color) 5%,var(--adm-surface-soft,#f7f9fc));border-radius:14px;padding:16px;min-width:0}
.upstream-balance-card.balance-red{--balance-color:#c04756}.upstream-balance-card.balance-yellow{--balance-color:#a46d08}.upstream-balance-card.balance-green{--balance-color:#278362}
.upstream-balance-title strong{font-size:14px}.upstream-balance-title span{font-size:12px;color:var(--balance-color)}
.upstream-balance-amount{font-size:26px;font-weight:750;color:var(--balance-color);font-variant-numeric:tabular-nums;margin:12px 0}.upstream-balance-amount small{font-size:12px;font-weight:500}
.upstream-balance-footer small{font-size:11px;color:var(--muted,#7c8798)}.upstream-recharge{font-size:13px;font-weight:600;color:var(--primary,#4169d4);text-decoration:none;padding:5px 9px;border-radius:8px;background:color-mix(in srgb,var(--primary,#4169d4) 8%,transparent);transition:background .2s,transform .2s}.upstream-recharge:hover{background:color-mix(in srgb,var(--primary,#4169d4) 16%,transparent);transform:translateY(-1px)}
[data-theme="dark"] .balance-red{--balance-color:#ff8995}[data-theme="dark"] .balance-yellow{--balance-color:#edbe5a}[data-theme="dark"] .balance-green{--balance-color:#6bcba3}
@media(max-width:1050px){.upstream-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.upstream-balance-grid{grid-template-columns:1fr}.upstream-balance-card{padding:14px}}


/* public/price-matrix.css */
.price-matrix-actions,.price-matrix-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.price-matrix-actions{justify-content:flex-end;flex-shrink:0}.price-matrix-toolbar{margin:18px 0}.price-matrix-toolbar input{flex:1;min-width:180px}.price-matrix-toolbar span{color:var(--adm-muted,#79869a);font-size:13px}
#portalModal:has(.price-matrix-dialog) .portal-dialog{width:min(1440px,96vw);max-width:1440px;padding:26px}.price-matrix-dialog table{min-width:960px;table-layout:fixed}.price-matrix-dialog th:first-child{width:24%}.price-matrix-dialog th:last-child{width:14%}.price-matrix-dialog td{vertical-align:top;overflow-wrap:anywhere}.price-matrix-dialog small{display:block;font-size:12px;line-height:1.5;color:var(--adm-muted,#7b879a);margin-top:5px}.price-matrix-dialog .admin-table-scroll{max-height:none!important;overflow-x:auto;overflow-y:visible}.price-matrix-dialog th{position:static}.price-matrix-dialog td button{display:block;margin-top:10px}.matrix-best{color:#25845d!important;font-weight:700}.matrix-higher{color:#c34254!important}.matrix-muted,.price-matrix-missing{color:#8b94a2!important}[data-theme=dark] .matrix-best{color:#79d9ad!important}[data-theme=dark] .matrix-higher{color:#ff96a4!important}@media(max-width:600px){#portalModal:has(.price-matrix-dialog) .portal-dialog{padding:18px}.price-matrix-actions{justify-content:flex-start}}
/* Keep the close control and filters outside the one scrolling table region. */
#portalModal:has(.price-matrix-dialog) .portal-dialog{height:min(860px,88dvh);max-height:88dvh;overflow:hidden;display:flex;flex-direction:column;scrollbar-gutter:auto;box-sizing:border-box}
#portalModal:has(.price-matrix-dialog) #portalModalBody{display:flex;flex:1;min-height:0;overflow:hidden}
.price-matrix-dialog{display:flex;flex-direction:column;min-height:0;min-width:0;width:100%}
.price-matrix-header{flex:none;padding-right:28px}.price-matrix-header h3{margin-top:0}.price-matrix-header p{margin-bottom:12px}.price-matrix-toolbar{margin:10px 0 14px}
#priceMatrixTable{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--adm-line,#e3e9f1);border-radius:10px;scrollbar-gutter:stable}
#priceMatrixTable>.portal-table-wrap{overflow:visible}#priceMatrixTable th{position:sticky;top:0;z-index:2;background:var(--adm-surface-soft,#f7f9fc)}
#portalModal:has(.price-matrix-dialog) .dialog-x{z-index:5;background:var(--adm-surface-soft,#f4f7fd)}
@media(max-width:600px){#portalModal:has(.price-matrix-dialog) .portal-dialog{height:88dvh}.price-matrix-header{padding-right:0}.price-matrix-header h3{padding-right:38px}.price-matrix-header p{font-size:12px;line-height:1.5}}

.price-matrix-modes{display:flex;gap:4px;flex-shrink:0;padding:3px;background:var(--adm-surface-soft,#f3f6fb);border-radius:10px}.price-matrix-modes button[aria-pressed="true"]{background:var(--adm-blue-soft,#e8efff);border-color:var(--adm-blue,#4169d4);color:var(--adm-blue,#4169d4);font-weight:700}
#priceMatrixTable table{min-width:1240px}#priceMatrixTable th:first-child{width:40px}#priceMatrixTable th:nth-child(2){width:23%}#priceMatrixTable th:nth-child(3){width:13%}#priceMatrixTable th:last-child{width:100px}#priceMatrixTable input[type=checkbox],#priceMatrixTable input[type=radio]{width:18px;height:18px;accent-color:#4169d4}.matrix-detail{padding:18px}.matrix-detail h3{margin-top:18px}.matrix-detail .portal-table-wrap{overflow:visible}.matrix-detail table{min-width:850px!important;table-layout:auto}.matrix-detail th:first-child{width:auto!important}.matrix-current-price{font-weight:700;font-size:16px;color:var(--adm-blue,#4169d4);margin-top:7px}#matrixApplyError{color:#c34254}

#priceMatrixTable .matrix-review-note{color:#ad7008!important;font-weight:600}

#priceMatrixTable .matrix-warning{color:#ad7008!important}

/* The route selector stays above the unchanged comparison list. */
.matrix-route-dialog{width:min(1080px,calc(100vw - 32px));max-height:88dvh;padding:0;overflow:hidden;box-sizing:border-box;background:var(--adm-surface,#fff);color:var(--text,#202630)}
.matrix-route-dialog[open]{display:flex;flex-direction:column}
.matrix-route-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--adm-line,#e3e9f1);flex:none}
.matrix-route-dialog .matrix-route-header h3{margin:0;font-size:22px}.matrix-route-header p{margin:6px 0 0;font-size:13px}
.matrix-route-dialog .matrix-route-close{flex:none;width:38px;height:38px;padding:0;font-size:27px;line-height:1;background:var(--adm-surface-soft,#f5f8ff)}
.matrix-route-body{min-height:0;overflow:auto;padding:16px 24px;overscroll-behavior:contain}.matrix-route-body h4{font-size:18px;margin:0 0 12px}.matrix-route-body>p{font-size:13px;margin:10px 0}
.matrix-route-body .portal-table-wrap{overflow:visible}.matrix-route-body table{min-width:720px;width:100%;border-collapse:collapse;table-layout:auto}.matrix-route-body th{position:sticky;top:-16px;background:var(--adm-surface-soft,#f7f9fc);z-index:1;text-align:left}.matrix-route-body td,.matrix-route-body th{padding:12px;border-bottom:1px solid var(--adm-line,#e3e9f1);vertical-align:top}.matrix-route-body td:nth-child(2){min-width:230px}.matrix-route-body small{display:block;font-size:12px;color:var(--adm-muted,#718096);line-height:1.5;margin-top:5px}.matrix-route-body input[type=radio]{width:18px;height:18px;accent-color:#4169d4}
.matrix-route-footer{flex:none;padding:14px 24px;border-top:1px solid var(--adm-line,#e3e9f1);max-height:42dvh;overflow:auto;background:var(--adm-surface,#fff)}.matrix-route-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.matrix-route-dialog .matrix-review-note{color:#ad7008!important}.matrix-route-dialog #matrixApplyError{color:#c34254}.matrix-route-dialog button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.matrix-route-dialog{width:calc(100vw - 20px);max-height:90dvh;border-radius:14px}.matrix-route-header{padding:16px}.matrix-route-dialog .matrix-route-header h3{font-size:19px}.matrix-route-body{padding:14px 16px}.matrix-route-footer{padding:12px 16px}.matrix-route-body table{min-width:680px}}

.matrix-route-confirm{width:min(520px,calc(100vw - 32px));max-height:82dvh;box-sizing:border-box;overflow:auto;background:var(--adm-surface,#fff);color:var(--text,#202630)}.matrix-route-confirm p{overflow-wrap:anywhere;font-size:14px}.matrix-route-confirm .matrix-confirm-product{font-weight:700;color:inherit}.matrix-route-confirm .matrix-review-note{color:#ad7008!important}.matrix-route-confirm #matrixApplyError{color:#c34254}.matrix-route-confirm .matrix-confirm-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:12px}.matrix-route-confirm .matrix-confirm-actions button{flex:none;min-width:72px;height:auto}.matrix-route-confirm button:disabled{opacity:.55;cursor:wait}

.matrix-route-dialog,.matrix-route-confirm,.matrix-route-footer{background:var(--dialog-surface,#fff);color:var(--dialog-text,#202630)}
.matrix-route-header,.matrix-route-footer,.matrix-route-body td,.matrix-route-body th{border-color:var(--dialog-line,#e3e9f1)}
.matrix-route-body th,.matrix-route-dialog .matrix-route-close{background:var(--dialog-soft,#f7f9fc)}
.matrix-route-body small{color:var(--dialog-muted,#718096)}
.matrix-warning{color:#ad7008!important}
html[data-theme=dark] :is(.matrix-route-dialog,.matrix-route-confirm) .matrix-warning,html[data-theme=dark] :is(.matrix-route-dialog,.matrix-route-confirm) .matrix-review-note{color:#eebf68!important}


/* public/modal-accessibility.css */
/* Close controls remain outside scrolling content for customer and admin dialogs. */
#portalModal .portal-dialog,.modal>.modal-content{display:flex;flex-direction:column;overflow:hidden;max-height:88dvh;box-sizing:border-box;padding-top:56px}
#portalModalBody,.modal-scroll-body{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.modal>.modal-content{position:relative}.modal .dialog-x{position:absolute;top:10px;right:12px;z-index:10;width:40px;height:40px;min-height:40px;border-radius:10px;border:0;display:grid;place-items:center;line-height:1;background:var(--adm-surface-soft,#f4f7fd);color:var(--adm-blue,#4169d4);cursor:pointer}
.modal .dialog-x:hover{background:var(--adm-blue-soft,#e8efff)}.modal .dialog-x:focus-visible{outline:3px solid #7da1fa;outline-offset:2px}
#portalModal .dialog-x{min-width:40px;min-height:40px;top:10px;right:12px}
@media(max-height:500px){#portalModal .portal-dialog,.modal>.modal-content{max-height:94dvh}}


/* public/csp-assets/admin-workbench-7daedf20767fb885.css */
.todo-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.todo-count{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px!important;background:var(--adm-surface,#fff)!important;border:1px solid var(--adm-line,#e0e7f2)!important;border-radius:14px!important}.todo-count>span{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--adm-muted,#75839a)}.todo-count strong{font-size:30px;color:var(--todo-color,#4169d4)}.todo-count small{color:var(--adm-muted,#75839a)}.todo-summary svg,.todo-item-icon svg{width:22px;height:22px;color:var(--todo-color,#d69625)}.todo-refund{--todo-color:#6366F1}.todo-late{--todo-color:#F4511E}.todo-stuck{--todo-color:#D97706}.todo-api{--todo-color:#E63946}.todo-filter,.todo-actions{display:flex;gap:8px;flex-wrap:wrap}.todo-filter{margin-bottom:18px}.todo-list{display:grid;gap:12px}.todo-item{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid var(--adm-line,#e0e7f2);border-left:3px solid var(--todo-color);border-radius:12px}.todo-item-copy{flex:1;min-width:0}.todo-item-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.todo-item-title strong{color:var(--todo-color)}.todo-item-title span{color:var(--adm-muted,#75839a);font-size:11px;border:1px solid var(--adm-line,#e0e7f2);padding:3px 7px;border-radius:6px}.todo-item-copy p{font-size:13px;margin:9px 0;overflow-wrap:anywhere}.todo-item-copy small{display:block;color:var(--adm-muted,#75839a);font-size:12px;line-height:1.8}.todo-item-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:240px}.todo-demo{margin-bottom:18px}.todo-nav-alert{display:flex;align-items:center;gap:4px;font-size:10px;color:#bb801c;background:#fff5da;border-radius:6px;padding:3px 5px;white-space:nowrap;margin-left:auto}.todo-nav-alert svg{width:15px;height:15px;flex:none}.todo-nav-alert span{font-size:10px!important}.admin-navigation button:has(.todo-nav-alert){flex-wrap:wrap}.todo-nav-alert{margin-top:3px}@media(max-width:900px){.todo-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.todo-item{flex-wrap:wrap}.todo-item-actions{margin-left:36px;max-width:none}}@media(max-width:450px){.todo-count{padding:14px!important}.todo-item{padding:14px;gap:10px}.todo-item-actions{margin-left:0;width:100%}}

.todo-item-actions{align-self:stretch;flex-direction:column;justify-content:space-between;align-items:flex-end;min-width:130px}.todo-item-actions>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.todo-ignore{margin-top:20px;color:var(--adm-muted,#75839a)!important}.todo-details{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}.todo-details dt{font-size:11px;color:var(--adm-muted,#75839a);margin-bottom:5px}.todo-details dd{margin:0;font-size:13px;font-weight:600;color:var(--adm-accent,#4169d4);overflow-wrap:anywhere}.todo-reason b{font-size:12px;color:var(--adm-muted,#75839a);margin-right:8px}.todo-item-copy small{margin-top:10px}@media(max-width:1100px){.todo-details{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.todo-item-actions{width:100%;flex-direction:row;align-items:center;max-width:none}.todo-ignore{margin-top:0;margin-left:auto}.todo-details{grid-template-columns:repeat(2,minmax(0,1fr))}}

.todo-item-actions>.todo-resolution{margin-top:auto;padding-top:20px;align-items:center}.todo-resolution .todo-ignore{margin:0}.todo-complete{color:#319367!important}.todo-restore{color:var(--adm-accent,#4169d4)!important}@media(max-width:900px){.todo-item-actions>.todo-resolution{padding-top:0;margin-left:auto}}

.todo-details{grid-template-columns:repeat(3,minmax(0,1fr))}.todo-customer-tier{margin-top:7px}.todo-customer-tier .customer-tier{font-size:10px;padding:3px 7px}@media(max-width:900px){.todo-details{grid-template-columns:repeat(2,minmax(0,1fr))}}

.todo-details .todo-profit{color:#23875b}.todo-details .todo-profit.todo-loss{color:#E63946}

/* Compact tasks: one data row on desktop, responsive columns on smaller screens. */
.todo-item{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px 12px;padding:14px 16px}.todo-item-copy{grid-column:2}.todo-item-copy p{margin:7px 0;font-size:12px}.todo-details{grid-template-columns:minmax(100px,1fr) minmax(80px,.85fr) minmax(130px,1.3fr) repeat(3,minmax(76px,.8fr)) minmax(70px,.8fr);gap:10px;margin:10px 0 6px;align-items:start}.todo-details dt{font-size:11px;margin-bottom:4px}.todo-details dd{font-size:12px}.todo-customer-tier{margin-top:4px}.todo-item-copy small{margin-top:6px;font-size:11px}.todo-item-actions{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-width:none;min-width:0;margin:0}.todo-item-actions>.todo-resolution{margin:0;padding:0}.todo-item-actions button{padding:6px 10px!important;font-size:12px!important;min-height:30px!important}.todo-list{gap:10px}.todo-item-title strong{font-size:14px}.todo-details .order-number{font-size:11px!important;padding:4px 7px!important}.todo-item-actions>div{gap:6px}
@media(min-width:1500px){.todo-item{grid-template-columns:22px minmax(0,1fr) auto}.todo-item-copy{grid-row:1}.todo-item-actions{grid-column:3;grid-row:1;width:auto;flex-direction:column;justify-content:space-between;gap:12px;max-width:220px}.todo-item-actions>.todo-resolution{margin-top:auto}.todo-details{gap:14px}}
@media(max-width:1100px){.todo-details{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.todo-details{grid-template-columns:repeat(2,minmax(0,1fr))}.todo-item{padding:12px;gap:8px}.todo-item-actions{flex-wrap:wrap;gap:8px}.todo-item-actions>.todo-resolution{margin-left:auto}.todo-item-title strong{font-size:13px}}

.todo-details .status-tag{font-size:11px;line-height:1.5;padding:4px 7px;border-radius:6px}.todo-details .status-completed{color:#23875b;background:#e8f6ee}.todo-details .status-processing{color:#3169d5;background:#edf3ff}.todo-details .status-pending,.todo-details .status-submitting{color:#64748b;background:#edf1f5}.todo-details .status-needs_review{color:#ad7008;background:#fff3d6}.todo-details .status-rejected{color:#d43845;background:#fff0f1}

.todo-details .todo-username{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box}.todo-details .todo-username.order-number-standard{color:var(--adm-accent,#4169d4)}

/* Keep task category and order status accents above generic admin span styles. */
.admin-main .todo-item-title>span{color:var(--todo-color)!important;border-color:var(--todo-color);background:color-mix(in srgb,var(--todo-color) 9%,transparent);font-weight:600}
.admin-main .todo-details .status-completed{color:#23875b!important;background:#e8f6ee!important}
.admin-main .todo-details .status-processing{color:#3169d5!important;background:#edf3ff!important}
.admin-main .todo-details .status-pending,.admin-main .todo-details .status-submitting{color:#64748b!important;background:#edf1f5!important}
.admin-main .todo-details .status-needs_review{color:#ad7008!important;background:#fff3d6!important}
.admin-main .todo-details .status-rejected{color:#d43845!important;background:#fff0f1!important}

.todo-summary .todo-count.todo-empty{--todo-color:#94a3b8}.todo-summary .todo-count.todo-empty>span,.todo-summary .todo-count.todo-empty small{color:#94a3b8}.todo-count svg,.todo-count strong{transition:color .18s ease}

.todo-manual{--todo-color:#316bd9}.todo-resolution[hidden]{display:none!important}@media(min-width:1101px){.todo-summary{grid-template-columns:repeat(5,minmax(0,1fr))}}

.todo-api_new{--todo-color:#238768}.todo-summary{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.todo-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact six-way overview: one row on desktop, wrapping on narrow screens. */
#memberPanel .todo-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:14px}
#memberPanel .todo-summary .todo-count{padding:11px 12px!important;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;border-radius:10px!important;text-align:left}
#memberPanel .todo-count>span{font-size:12px;gap:5px;min-width:0;white-space:normal}
#memberPanel .todo-count svg{width:16px;height:16px;flex:none}
#memberPanel .todo-count strong{font-size:23px;line-height:1.15;grid-column:2;grid-row:1}
#memberPanel .todo-count small{display:none}
@media(max-width:1100px){#memberPanel .todo-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:500px){#memberPanel .todo-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#memberPanel .todo-summary .todo-count{padding:10px!important}#memberPanel .todo-count strong{font-size:20px}}

/* To-do workbench and product diagnostics. */
#memberPanel .todo-open{background:none;border:0;padding:0;color:var(--todo-color);font-weight:700;text-align:left;min-height:28px;overflow-wrap:anywhere}
#memberPanel .todo-open:hover{text-decoration:underline}
.todo-selected{outline:2px solid var(--adm-accent,#4169d4);outline-offset:-2px}
.todo-funding-group{padding:12px 16px;border:1px solid var(--adm-line,#cbd5e1);border-left:3px solid #bd7a12;border-radius:12px}
.todo-funding-group summary{cursor:pointer;padding:6px 0;color:#8d5b13}
.todo-funding-group summary span{margin-inline-start:12px;color:var(--adm-muted,#52617a);font-size:.85rem}
.todo-funding-group[open] summary{margin-bottom:10px}
.todo-refund-remaining{color:#7544b2;font-weight:700}
.todo-refund-remaining.urgent{color:#b42336}
#portalModal:has(.todo-drawer-content){justify-content:flex-end;align-items:stretch;padding:0}
#portalModal:has(.todo-drawer-content)>.portal-dialog{width:min(100%,790px);max-width:100%;height:100dvh;max-height:100dvh;border-radius:14px 0 0 14px;margin:0;overflow:auto;overscroll-behavior:contain}
.todo-editor-shell{position:fixed;inset:0;z-index:80;isolation:isolate}
#todoEditorShade{position:absolute;inset:0;background:rgba(18,30,49,.48)}
#todoEditor{position:absolute;inset:0 0 0 auto;width:min(100%,1080px);overflow:auto;overscroll-behavior:contain;background:var(--adm-surface,#fff);padding:20px;box-sizing:border-box}
#todoEditor .admin-editor{grid-template-columns:minmax(0,1fr) minmax(250px,34%)}
@media(max-width:760px){#todoEditor{padding:12px}#todoEditor .admin-editor{grid-template-columns:minmax(0,1fr)}}
.admin-product-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.admin-product-shortcuts [aria-pressed=true]{color:#2447b4;background:#edf2ff;border-color:#8aa5ed}
.admin-product-status{display:grid;gap:5px;margin:8px 0 0;text-align:left}
.admin-product-status>div{display:flex;flex-wrap:wrap;gap:4px 8px}
.admin-product-status dt{color:var(--adm-muted,#52617a);font-size:.78rem}
.admin-product-status dd{margin:0;font-weight:600;font-size:.82rem}
.admin-edit-status{margin-bottom:14px}
.admin-edit-status .admin-product-status{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.route-review-actions button{display:block;margin:4px 0;white-space:normal}
.route-spec-differences{padding-inline-start:16px;margin:5px 0}

#portalModal .catalog-browser{position:relative}
#portalModal #catalogBrowserHideStatus{margin:0;color:var(--adm-blue)}
#portalModal #catalogBrowserScroll .catalog-detail-trigger{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-align:left;border:0;background:none;color:var(--adm-blue);font-size:13px;font-weight:700;padding:0;min-height:24px}
#portalModal .catalog-detail-trigger:hover{text-decoration:underline}
#catalogBrowserDetail{position:absolute;inset:0 0 0 auto;z-index:9;box-sizing:border-box;width:min(100%,590px);padding:20px;overflow:auto;overscroll-behavior:contain;background:var(--adm-surface);border:1px solid var(--adm-line);box-shadow:-10px 5px 34px #1e293b2a;border-radius:12px}
#catalogBrowserDetail[hidden]{display:none}
#catalogBrowserDetail header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-20px;background:var(--adm-surface);padding:10px 0;margin-bottom:10px}
#catalogBrowserDetail h3,#catalogBrowserDetail h4{margin:0;overflow-wrap:anywhere}
#catalogBrowserDetail h4{margin-top:12px}
.catalog-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.catalog-detail-facts dt{font-size:.8rem;color:var(--adm-muted)}
.catalog-detail-facts dd{margin:3px 0 0;overflow-wrap:anywhere}
@media(max-width:650px){
 #portalModal #catalogBrowserScroll table{min-width:0;display:block}
 #portalModal #catalogBrowserScroll thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 #portalModal #catalogBrowserScroll tbody{display:grid;gap:6px}
 #portalModal #catalogBrowserScroll .catalog-browser-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;border-bottom:1px solid var(--adm-line);padding:8px;gap:3px 6px}
 #portalModal #catalogBrowserScroll td{border:0;padding:4px;min-width:0}
 #portalModal #catalogBrowserScroll .catalog-browser-product{min-width:0;grid-column:2/-1}
 #portalModal #catalogBrowserScroll .catalog-browser-category{grid-column:2}
 #portalModal #catalogBrowserScroll .catalog-browser-source{grid-column:3}
 #portalModal #catalogBrowserScroll .catalog-browser-cost{grid-column:2}
 #portalModal #catalogBrowserScroll .catalog-browser-actions{grid-column:1/-1;white-space:normal}
 #portalModal .catalog-browser-tools{max-height:34dvh;overflow-y:auto}
}


#portalModal .catalog-browser-tools [hidden]{display:none!important}
/* The source popup is anchored below the whole toolbar so wrapped controls stay exposed. */
#portalModal .catalog-browser-tools:has(> #catalogBoardSources){
 flex-wrap:wrap;
 overflow:visible;
 max-height:none;
}
#catalogBoardSources{position:static;flex:0 0 auto}
#catalogBoardSourceLabel{cursor:pointer;background:var(--adm-surface-soft);color:var(--adm-blue);border:1px solid var(--adm-line);border-radius:8px;padding:9px;font-size:12px;white-space:nowrap}
#catalogBoardSourceOptions{position:absolute;top:calc(100% + 4px);left:0;z-index:10;min-width:155px;max-height:min(45dvh,24rem);overflow:auto;background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:8px;padding:7px;box-shadow:0 8px 25px #1e293b2b}
#catalogBoardSourceOptions label{display:flex;align-items:center;gap:8px;padding:6px;font-size:13px;cursor:pointer}
#catalogBoardSourceOptions input{width:15px;height:15px;margin:0;accent-color:#3169d5}
.catalog-board-price{display:flex;gap:5px;flex:0 1 auto;align-items:center}
#portalModal .catalog-board-price input{width:78px;min-width:0;height:36px;border:1px solid var(--adm-line);background:var(--adm-surface);color:var(--adm-text);border-radius:7px;padding:6px;box-sizing:border-box;font-size:12px}
.catalog-board{display:flex;gap:11px;flex:1;min-height:0;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;align-items:stretch}
.catalog-board-column{flex:1 0 245px;min-width:245px;display:flex;flex-direction:column;min-height:0;background:var(--adm-surface-soft);border:1px solid var(--adm-line);border-radius:10px;overflow:hidden}
.catalog-board-column>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;color:var(--adm-blue);background:var(--adm-surface);border-bottom:1px solid var(--adm-line)}
.catalog-board-column h4{margin:0;overflow-wrap:anywhere;font-size:14px}
.catalog-board-column>header small{font-size:11px;color:var(--adm-muted);white-space:nowrap}
.catalog-board-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:8px}
.catalog-board-scroll>p{color:var(--adm-muted);margin:8px;font-size:12px;text-align:center}
.catalog-board-scroll>button{display:block;margin:0 auto 6px}
.catalog-board-scroll>button[hidden]{display:none}
.catalog-board-list{display:grid;align-content:start;gap:7px}
.catalog-board-card{position:relative;display:grid;gap:5px;padding:9px 11px;background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:8px;color:var(--adm-text)}
#portalModal .catalog-board-title{font-weight:700;font-size:13px;line-height:1.45;text-align:left;color:var(--adm-blue);background:none;border:0;min-height:0;padding:0;overflow-wrap:anywhere}
#portalModal .catalog-board-title:hover{text-decoration:underline}
.catalog-board-card:has(.catalog-board-pick) .catalog-board-title{padding-right:20px!important}
.catalog-board-pick{position:absolute;right:8px;top:8px}
.catalog-board-pick input{width:16px;height:16px;min-height:16px;margin:0;accent-color:#3169d5}
.catalog-board-card small{font-size:11px;color:var(--adm-muted)}
.catalog-board-terms{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:12px}
.catalog-board-terms strong{font-size:15px;color:var(--adm-blue);font-variant-numeric:tabular-nums}
.catalog-board-actions{display:flex;gap:6px;padding-top:2px}
#portalModal .catalog-board-actions button{padding:5px 9px;min-height:28px;font-size:11px}
@media(max-width:650px){
 #portalModal .catalog-browser-tools:has(#catalogBoardSources){overflow:visible;max-height:none;gap:5px}
 #portalModal .catalog-browser-tools:has(#catalogBoardSources) #catalogBrowserSearch{flex-basis:100%;min-width:0;max-width:100%}
 .catalog-board-column{flex-basis:74vw;min-width:74vw}
 .catalog-board-price{flex-wrap:wrap}
}


.catalog-saved-views,.catalog-saved-views form,#catalogCompareBar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.catalog-saved-views{padding:0 0 8px}
#portalModal .catalog-saved-views :is(select,input,button),#portalModal #catalogCompareBar button{min-height:30px;padding:4px 8px;font-size:12px;border:1px solid var(--adm-line);border-radius:7px;background:var(--adm-surface);color:var(--adm-text)}
.catalog-saved-views input{width:125px;box-sizing:border-box}
.catalog-saved-views button:disabled{opacity:.55}
#catalogCompareBar{padding:7px 0 0;flex:none}
:is(#catalogCompareBar,#catalogComparePanel)[hidden]{display:none}
#catalogComparePanel{position:absolute;inset:auto 0 39px;z-index:8;display:flex;flex-direction:column;max-height:72%;min-height:0;background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:10px;box-shadow:0 0 22px #17233540;overflow:hidden}
#catalogComparePanel header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px}
#catalogComparePanel h3{margin:0}
#catalogCompareBody{overflow:auto;overscroll-behavior:contain;padding:0 8px 8px}
#catalogCompareBody th,#catalogCompareBody td{min-width:170px;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}
#catalogCompareBody tr>th:first-child{position:sticky;left:0;min-width:82px;z-index:2;background:var(--adm-surface-soft)}
#catalogCompareBody thead th{position:sticky;top:0;background:var(--adm-surface-soft);z-index:3}
#catalogCompareBody thead th:first-child{z-index:4}
#catalogCompareBody th button{display:block;margin-top:5px}
.catalog-board-column>header{flex-wrap:wrap}
.catalog-source-metric{width:100%;margin:0;color:var(--adm-muted);font-size:11px}
[data-compare-index][aria-pressed=true]{color:#234ab8!important;background:#edf3ff!important}
#catalogManualLink{padding:10px 12px;margin:12px 0;border:1px solid #d9e2f0;border-radius:8px}
#catalogManualLink summary{cursor:pointer;font-weight:650}
#catalogManualLink form{margin:8px 0}
#catalogManualLink li{padding:6px}
#catalogManualLink li button{margin-inline-start:8px}
.todo-funding-controls{padding:0 0 8px}
.todo-funding-controls p{margin:6px 0;color:var(--adm-muted,#52617a)}
.todo-funding-covered{color:#237650;font-weight:650}
.todo-funding-short{color:#a15e10;font-weight:650}
@media(max-width:650px){.catalog-saved-views{gap:4px}.catalog-saved-views input{width:94px}#catalogComparePanel{max-height:80%}}



/* public/scroll-layout.css */
/* Lists share their page or dialog scroll area; only horizontal overflow stays local. */
.admin-main .admin-table-scroll,
.admin-main .logbook-records .admin-table-scroll,
#portalModal #portalModalBody .admin-table-scroll{
 max-height:none;height:auto;overflow-x:auto;overflow-y:visible;overscroll-behavior:auto;scrollbar-gutter:auto;
}
.admin-browse-toolbar{position:sticky;top:76px;z-index:6;background:var(--adm-surface,#fff);padding:14px 0 12px;margin-top:-14px;margin-bottom:14px;border-bottom:1px solid var(--adm-line,#e0e7f2);box-shadow:0 8px 10px -10px #1e355947}
.admin-browse-toolbar .admin-card-heading{margin-bottom:12px}.admin-browse-toolbar .history-toolbar{margin-bottom:0}.admin-browse-toolbar .admin-bulk-toolbar{margin:12px 0 0}.admin-browse-toolbar .admin-category-search{margin-bottom:0}.admin-browse-toolbar .history-search{box-sizing:border-box;width:100%}
.admin-modal-toolbar{position:sticky;top:0;z-index:5;background:var(--adm-surface,#fff);padding:0 0 12px;border-bottom:1px solid var(--adm-line,#e0e7f2);margin-bottom:12px}.admin-modal-toolbar .admin-bulk-toolbar{margin:10px 0 0}.admin-modal-toolbar p{margin:8px 0}.admin-modal-toolbar input:not([type=checkbox]){min-width:0;max-width:100%;box-sizing:border-box}.admin-modal-toolbar #sourceProductSearch{width:100%}
/* Sidebar lists can hand the wheel back to the document at either end. */
.admin-navigation,.category-sidebar,.detail-nav-list{overscroll-behavior:auto}
/* The order table scrolls sideways on narrow screens. Let vertical wheel input
   chain to the page when the table itself has no vertical scroll range. */
.history-table-shell,.history-batch-scroll{overscroll-behavior-y:auto}
/* Keep the product search visible while the service list scrolls. */
#catalog .catalog-switcher{position:static;display:flex;justify-content:center;align-items:center;margin:0 0 16px}
#catalog .catalog-switcher .catalog-tabs{margin:0 auto}
#catalog .category-sidebar{top:76px;max-height:calc(100vh - 100px)}
#catalog .catalog-sidebar-head{flex:none;padding:1px 0 4px;margin-bottom:8px;border-bottom:1px solid #e7edf4;background:#fff}
#catalog #catalogGroups{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:auto}
#catalog .catalog-group-search{box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;margin:0 0 9px;border:1px solid #d9e2ed;border-radius:8px;background:#f8fafc;color:#25364a;font-size:12px}
#catalog .catalog-group-search:focus{outline:2px solid #7da9ed;outline-offset:1px}
#catalogGroups button[hidden],#catalogGroupEmpty[hidden]{display:none}
#catalogGroupEmpty{margin:12px 8px;color:#84909d;font-size:12px}
#catalog .catalog-filters{position:sticky;top:76px;z-index:9;padding:10px 0;margin-top:-10px;background:#f6f7f9f5;backdrop-filter:blur(8px);box-shadow:0 12px 16px -17px #20334b66}
#catalog .catalog-filters input{width:100%}
@media(min-width:801px){#catalog .category-sidebar{display:flex;flex-direction:column;overflow:hidden}#catalog .catalog-filters select{display:none!important}}
#catalog .catalog-filters select{display:none}
@media(max-width:800px){#catalog .catalog-filters{top:66px}#catalog .catalog-switcher .catalog-tabs{flex-wrap:nowrap;gap:2px}#catalog .catalog-switcher .catalog-tabs button{white-space:nowrap;padding:9px 13px}#catalog .catalog-filters select{display:block!important}}
@media(max-width:390px){#catalog .catalog-switcher .catalog-tabs button{padding:8px 9px;font-size:11px}}
html[data-theme=dark] #catalog .catalog-filters{background:#101722f5}
html[data-theme=dark] #catalog .catalog-sidebar-head{background:#1a2738}
html[data-theme=dark] #catalog .catalog-sidebar-head{border-bottom-color:#334357}
html[data-theme=dark] #catalog .catalog-group-search{background:#202f42;border-color:#334357;color:#e3edfa}
.order-history-page .history-pagination{justify-content:center;gap:14px;min-height:50px}.order-history-page .history-pagination button{border:1px solid #cbd9f2;background:#edf2ff;color:#3673dc;font-weight:600}.order-history-page .history-pagination button:hover{background:#dfe9ff}
/* Keep order search and both filters below the site header while rows scroll. */
.order-history-page .history-controls{position:sticky;top:76px;z-index:9;padding:10px 0 9px;margin:-10px 0 14px;background:#f6f7f9f5;backdrop-filter:blur(8px);box-shadow:0 12px 16px -17px #20334b66}
.order-history-page .history-controls .history-search{margin-bottom:8px}
.order-history-page .history-controls .history-toolbar{margin-bottom:0;gap:10px}
.order-history-page .history-controls .history-filters{gap:2px;flex-wrap:nowrap}
.order-history-page .history-controls .history-filters>span{margin-right:3px;white-space:nowrap}
.order-history-page .history-controls .history-filters button{padding:8px 10px;font-size:12px;white-space:nowrap}
.order-history-page .history-controls .history-actions{gap:9px;flex-wrap:nowrap}
.history-type-filter{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#65717d;font-size:12px;font-weight:600}
.history-type-filter select{max-width:190px;min-width:158px;padding:8px 29px 8px 10px;border:1px solid #d9e0e8;border-radius:9px;background:#fff;color:#29384a;font:600 12px 'Segoe UI','Microsoft YaHei',sans-serif;cursor:pointer}
.history-type-filter select:focus-visible{outline:2px solid #6190ed;outline-offset:2px}
html[data-theme=dark] .order-history-page .history-controls{background:#101722f5}
html[data-theme=dark] .history-type-filter{color:#a9bacd}
html[data-theme=dark] .history-type-filter select{background:#1a2738;border-color:#334357;color:#e3edfa}
@media(max-width:950px){.order-history-page .history-controls .history-toolbar{align-items:flex-start;flex-direction:column}.order-history-page .history-controls .history-filters{flex-wrap:wrap}.order-history-page .history-controls .history-actions{width:100%;justify-content:space-between}}
@media(max-width:600px){.order-history-page .history-controls .history-filters button{padding:7px 9px;font-size:11px}.order-history-page .history-controls .history-actions{flex-wrap:wrap}.history-type-filter select{min-width:145px}}
@media(max-width:650px){.admin-browse-toolbar{top:66px;padding:10px 0}.admin-browse-toolbar .admin-card-heading p{display:none}.admin-browse-toolbar .admin-card-heading{margin-bottom:8px}.admin-browse-toolbar .history-toolbar{gap:8px}.admin-browse-toolbar .history-filters{display:flex;flex-wrap:wrap;gap:5px}.admin-browse-toolbar .history-filters button{padding:7px 9px;min-height:32px}.admin-modal-toolbar h3{font-size:17px}.admin-modal-toolbar .admin-bulk-toolbar{gap:6px}}

.admin-main .admin-source-info{max-height:none;overflow:visible}


/* public/ui-motion.css */
/* Every dialog depth uses the same short entry motion. No layout dimensions animate. */
@keyframes jf-layer-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes jf-backdrop-in{from{opacity:0}to{opacity:1}}
dialog[open],.modal[aria-modal="true"]>:first-child,[role="alertdialog"]:not(dialog),[role="dialog"]:not(dialog):not(.modal),[role="menu"],[popover]:popover-open{animation:jf-layer-in 180ms cubic-bezier(.2,.7,.2,1)}
dialog[open]::backdrop{animation:jf-backdrop-in 160ms ease-out}
details[open]>:not(summary){animation:jf-backdrop-in 160ms ease-out}
#toast{transition:opacity 160ms ease,transform 160ms ease,visibility 160ms ease}
.ui-confirm-dialog{width:min(440px,calc(100vw - 32px));box-sizing:border-box;max-height:82dvh;overflow:auto;background:var(--adm-surface,#fff);color:var(--text,#202630)}.ui-confirm-dialog p{overflow-wrap:anywhere}.ui-confirm-dialog .ui-confirm-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:12px}.ui-confirm-dialog .ui-confirm-actions button{flex:none;min-width:72px;height:auto}
@media(prefers-reduced-motion:reduce){
 dialog[open],.modal[aria-modal="true"]>:first-child,[role="alertdialog"]:not(dialog),[role="dialog"]:not(dialog):not(.modal),[role="menu"],[popover]:popover-open,dialog[open]::backdrop,details[open]>:not(summary){animation:none!important}
 #toast{transition:none!important}
}

.customer-detail-link{background:none;border:0;padding:0;color:var(--primary,#4168cf);text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.customer-detail-dialog{width:min(820px,94vw);max-width:94vw;max-height:88dvh;padding:0;overflow:hidden}
.customer-detail-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e3e9f2}
.customer-detail-dialog h2{margin:0;font-size:21px}.customer-detail-body{max-height:calc(88dvh - 85px);overflow-y:auto;padding:20px 24px;overscroll-behavior:contain}
.customer-detail-profile{display:grid;gap:6px;overflow-wrap:anywhere}.customer-detail-note{white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.customer-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.customer-detail-summary>div{padding:12px;background:#f4f7fc;border-radius:12px;font-size:13px}.customer-detail-summary strong{display:block;font-size:20px;color:#4168cf;margin-top:8px;overflow-wrap:anywhere}
.customer-detail-body nav,.customer-detail-body footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.customer-detail-body [aria-pressed=true]{background:#edf2ff;color:#4168cf;border-color:#b4c6fb}
.customer-detail-hint{font-size:13px;color:#74839d}.customer-detail-records article{border-bottom:1px solid #e3e9f2;padding:12px 0;overflow-wrap:anywhere}.customer-detail-records article>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.customer-detail-records p{margin:6px 0;color:#74839d;font-size:13px}.customer-record-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customer-detail-body footer{justify-content:space-between;margin-top:18px;font-size:13px}
@media(max-width:600px){.customer-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-detail-body{padding:16px}.customer-detail-dialog>header{padding:16px}}

.customer-detail-dialog[open]{display:flex;flex-direction:column}.customer-detail-dialog>header{flex:none}.customer-detail-body{min-height:0;flex:1}

/* Native dialogs live under body, outside the admin palette scope. */
.security-dialog{--dialog-surface:#fff;--dialog-soft:#f4f7fc;--dialog-line:#e3e9f2;--dialog-text:#202630;--dialog-muted:#67748b;--dialog-accent:#4168cf}
html[data-theme=dark] .security-dialog{--dialog-surface:#162130;--dialog-soft:#1b293a;--dialog-line:#35455a;--dialog-text:#d6e0ec;--dialog-muted:#a8bad0;--dialog-accent:#91b6ff;background:var(--dialog-surface);color:var(--dialog-text);border-color:var(--dialog-line)}
html[data-theme=dark] .security-dialog p{color:var(--dialog-muted)}
html[data-theme=dark] .security-dialog button{background:#21354e;border-color:#38506f;color:#b1d0ff}
html[data-theme=dark] .security-dialog button:hover{background:#294365}
html[data-theme=dark] .security-dialog button.strong{background:#3268d2;color:#fff}
.customer-detail-dialog>header,.customer-detail-records article{border-color:var(--dialog-line)}
.customer-detail-dialog h2{min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.customer-detail-dialog>header>[data-close]{flex:none}
.customer-detail-summary>div{background:var(--dialog-soft)}
.customer-detail-summary strong{color:var(--dialog-accent)}
.customer-detail-hint,.customer-detail-records p{color:var(--dialog-muted)}
.customer-detail-body [aria-pressed=true]{background:var(--dialog-soft);color:var(--dialog-accent);border-color:var(--dialog-accent)}
.customer-detail-loading{margin:0 0 12px;font-size:13px}
.customer-detail-error{padding:10px 12px;border:1px solid #e5a0ab;border-radius:10px;margin:12px 0;overflow-wrap:anywhere}
.customer-detail-error p{margin:0 0 8px}
.customer-detail-body button:disabled{opacity:.5;cursor:wait}

html[data-theme=dark] .customer-detail-body [aria-pressed=true]{background:#29476d;border-color:#91b6ff;color:#d9e8ff}
html[data-theme=dark] .security-dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--dialog-soft);color:var(--dialog-text);border-color:var(--dialog-line);color-scheme:dark}
html[data-theme=dark] .security-dialog .security-codes{background:var(--dialog-soft)}


/* public/customer-passkeys.css */
/* Scope customer controls so administrator passkeys and other forms keep their layout. */
.customer-passkey-nudge{position:fixed;right:18px;bottom:18px;z-index:80;width:min(380px,calc(100vw - 28px));box-sizing:border-box;padding:20px;display:grid;gap:14px;border:1px solid var(--line,#dce4ef);border-radius:16px;background:var(--card,#fff);color:var(--text,#263347);box-shadow:0 12px 45px #16385b26}
.customer-passkey-nudge h3,.customer-passkey-nudge p{margin:0}.customer-passkey-nudge h3{font-size:1.05rem}.customer-passkey-nudge p{font-size:.88rem;line-height:1.65;color:var(--muted,#718096)}
.customer-passkey-nudge-actions{display:flex;gap:10px}.customer-passkey-nudge-actions button{flex:1;min-height:42px}
.customer-passkey-nudge-preference{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:.9rem;cursor:pointer}.customer-passkey-nudge-preference input{width:18px;min-width:18px;height:18px;flex:0 0 18px;margin:3px 0 0;accent-color:var(--primary,#4267d5)}
[data-theme='dark'] .customer-passkey-nudge{background:#1c2634;color:#e5eaf3;border-color:#36445a}
@media(max-width:520px){.customer-passkey-nudge{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:16px}}
.customer-passkey-login{display:grid;gap:10px;margin:4px 0 0;padding-top:16px;border-top:1px solid var(--line,#e2e8f0)}
.customer-passkey-login-button{width:100%;min-height:48px;font-size:1rem;display:flex;justify-content:center;align-items:center;gap:10px}
.customer-passkey-login-button::before{content:'◉';font-size:1.25rem;line-height:1}
.customer-passkey-password-submit{background:transparent!important;color:var(--primary,#4267d5)!important;border:1px solid var(--line,#e2e8f0)!important}
.customer-passkey-help,.customer-passkey-description{margin:0;color:var(--muted,#718096);font-size:.9rem;line-height:1.65}
.customer-passkey-status{margin:0;color:var(--muted,#718096);font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
.customer-passkey-status:empty{display:none}
.customer-passkey-status.customer-passkey-error{color:var(--danger,#ba3b4e)}
.customer-passkey-card{display:flex;flex-direction:column;gap:12px}
.customer-passkey-card h3,.customer-passkey-card p{margin:0}
.customer-passkey-preference{display:flex!important;align-items:flex-start;gap:10px!important;line-height:1.6;font-size:.9rem;color:var(--text,#263347);cursor:pointer}
.customer-passkey-preference input{width:18px!important;min-width:18px;height:18px;flex:0 0 18px;margin:3px 0 0;accent-color:var(--primary,#4267d5)}
.customer-passkey-manager{display:grid;gap:16px;min-width:0}
.customer-passkey-manager h3{margin:0}
.customer-passkey-content{display:grid;gap:18px;min-width:0}
.customer-passkey-list{padding:0;margin:0;list-style:none;display:grid;gap:10px}
.customer-passkey-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line,#e2e8f0);border-radius:12px;min-width:0}
.customer-passkey-copy{display:grid;gap:5px;min-width:0}
.customer-passkey-copy strong,.customer-passkey-copy small{overflow-wrap:anywhere}
.customer-passkey-copy small{color:var(--muted,#718096);line-height:1.5}
.customer-passkey-remove{flex:0 0 auto;color:var(--danger,#ba3b4e)!important}
.customer-passkey-empty{margin:0;color:var(--muted,#718096)}
.customer-passkey-enroll{margin:0!important}
.customer-passkey-enroll label{display:grid;gap:8px}
.customer-passkey-manager button:focus-visible,.customer-passkey-login button:focus-visible,.customer-passkey-preference input:focus-visible{outline:3px solid #82a8ef;outline-offset:3px}
[data-theme='dark'] .customer-passkey-manager,[data-theme='dark'] .customer-passkey-card,[data-theme='dark'] .customer-passkey-preference{color:#e5eaf3}
[data-theme='dark'] .customer-passkey-item,[data-theme='dark'] .customer-passkey-login,[data-theme='dark'] .customer-passkey-password-submit{border-color:#36445a!important}
[data-theme='dark'] .customer-passkey-status,[data-theme='dark'] .customer-passkey-description,[data-theme='dark'] .customer-passkey-help,[data-theme='dark'] .customer-passkey-copy small{color:#aab8ce}
[data-theme='dark'] .customer-passkey-status.customer-passkey-error,[data-theme='dark'] .customer-passkey-remove{color:#ff9caf!important}
@media(max-width:520px){.customer-passkey-item{align-items:flex-start;flex-wrap:wrap}.customer-passkey-remove{min-height:42px}.customer-passkey-manager{gap:12px}.customer-passkey-copy{flex:1 1 190px}.customer-passkey-preference{font-size:.88rem}}


/* public/customer-auth.css */
/* Only the ordinary public login gets this screen; recovery, signup and other dialogs retain their layout. */
#portalModal:has(.customer-auth-screen){background:#f3f5f8f5;backdrop-filter:blur(8px);padding:12px}
#portalModal .portal-dialog:has(.customer-auth-screen){width:min(530px,100%);max-height:calc(100dvh - 24px);padding:54px 0 20px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:hidden}
#portalModalBody:has(.customer-auth-screen){padding:0 10px 4px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
#portalModal .portal-dialog:has(.customer-auth-screen)>.dialog-x{top:4px;right:8px;background:#e9edf3;color:#65748a;border-radius:50%;width:40px;height:40px;z-index:12}
#portalModal .portal-dialog:has(.customer-auth-screen)>.dialog-x:hover{background:#dde5ef}
.customer-auth-screen,.customer-auth-screen *{box-sizing:border-box}
.customer-auth-screen{width:100%;max-width:440px;margin:0 auto;color:#273244}
.customer-auth-heading{text-align:center;margin:0 0 25px}
#portalModal .customer-auth-heading h3{margin:0 0 11px;font-size:clamp(25px,5vw,31px);line-height:1.3;font-weight:720;letter-spacing:-.6px;color:#263245}
.customer-auth-heading p{font-size:14px;line-height:1.6;color:#8390a1;margin:0}
.customer-auth-card{padding:31px 30px 27px;border:1px solid #e8ecf2;border-radius:28px;background:#fff;box-shadow:0 10px 36px #263f6210}
.customer-auth-screen .customer-auth-form{gap:17px;margin:0}
.customer-auth-screen .customer-auth-form>label{gap:9px;font-size:13px;font-weight:600;color:#59667a}
.customer-auth-screen .customer-auth-form input{width:100%;height:51px;border:1px solid #e0e8f3;border-radius:9px;padding:13px 15px;background:#f0f5fc;color:#2a3a50;font-size:15px;line-height:1.4;outline:none}
.customer-auth-screen .customer-auth-form input::placeholder{color:#96a4b7;font-size:14px;font-weight:400;opacity:1}
.customer-auth-screen .customer-auth-form input:focus{border-color:#6fa4ee;box-shadow:0 0 0 3px #3687f018}
.customer-auth-password{position:relative;display:block}
.customer-auth-screen .customer-auth-password input{padding-right:51px}
#portalModal .customer-auth-eye{position:absolute;top:5px;right:5px;display:grid;place-items:center;min-width:41px;width:41px;height:41px;padding:9px;background:transparent;border:0;border-radius:7px;color:#8c9bb0}
#portalModal .customer-auth-eye:hover{background:#e3ecf9;color:#547baa}
.customer-auth-eye svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.customer-auth-eye-slash{display:none}.customer-auth-eye[aria-pressed='true'] .customer-auth-eye-slash{display:block}
.customer-auth-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.customer-auth-security{display:flex;align-items:flex-start;gap:8px;margin:0;padding:12px;background:#f5f5f6;border-radius:14px;color:#8b98ab;font-size:12px;line-height:1.65}
.customer-auth-security svg{width:17px;height:17px;flex:0 0 17px;margin-top:2px;fill:none;stroke:#7f9cb9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#portalModal .customer-auth-forgot{justify-self:end;width:auto;min-height:25px;margin:-5px 0 0;padding:0;border:0;background:transparent;color:#4786db;font-size:12px;font-weight:500;text-align:right}
#portalModal .customer-auth-forgot:hover{text-decoration:underline;background:transparent}
.customer-auth-screen #portalError{margin:0;font-size:12px}.customer-auth-screen #portalError:empty{display:none}
#portalModal .customer-auth-continue{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;height:51px;padding:12px 18px;border:1px solid #2f65d7;border-radius:999px;background:#2f65d7;color:#fff;font-size:15px;font-weight:650;box-shadow:0 4px 10px #2f65d71a}
#portalModal .customer-auth-continue:hover{background:#2658c4;border-color:#2658c4}
.customer-auth-continue>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.customer-auth-passkey-slot:empty{display:none}
.customer-auth-screen #authPasskeySlot .customer-passkey-login{gap:10px;margin:0;padding:0;border:0}
.customer-auth-screen #authPasskeySlot .customer-passkey-help{display:none}
#portalModal .customer-auth-screen .customer-auth-passkey{width:100%;height:51px;padding:12px 15px;border:1px solid #dce3ec;border-radius:999px;background:#fff;color:#47576d;font-size:14px;font-weight:600;box-shadow:none}
#portalModal .customer-auth-screen .customer-auth-passkey:hover{background:#f8fbfe;border-color:#b9cde5}
.customer-auth-screen .customer-auth-passkey::before{content:'';width:23px;height:23px;flex:0 0 23px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327a87c' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 11a8 8 0 0 1 16 0M7 11a5 5 0 0 1 10 0c0 5-1 8-3 10M10 11a2 2 0 0 1 4 0c0 5-.5 7-2 10M4 14c0 3-.5 5-1 7M7 14c0 3-.5 5-1 7M10 14c0 3-.5 5-1 7'/%3E%3C/svg%3E")}
.customer-auth-screen #authPasskeySlot .customer-passkey-status{font-size:12px;line-height:1.6}
.customer-auth-register{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:1px;font-size:12px;color:#9ca5b3}
#portalModal .customer-auth-register button{padding:0;min-height:25px;border:0;background:transparent;color:#4285df;font-size:13px;font-weight:600}
#portalModal .customer-auth-register button:hover{text-decoration:underline;background:transparent}
.customer-auth-policies{text-align:center;margin:22px auto 0;max-width:385px;padding:0 8px;color:#98a3b2;font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.customer-auth-policies a{color:#3975d4;text-decoration:underline;text-decoration-color:#9fbce7;text-underline-offset:3px}
.customer-auth-screen button:focus-visible,.customer-auth-screen a:focus-visible{outline:3px solid #89b8f5;outline-offset:3px}
html[data-theme='dark'] #portalModal:has(.customer-auth-screen){background:#111b28f7}
html[data-theme='dark'] #portalModal .portal-dialog:has(.customer-auth-screen){background:transparent}
html[data-theme='dark'] #portalModal .portal-dialog:has(.customer-auth-screen)>.dialog-x{background:#26364a;color:#b5c3d7}
html[data-theme='dark'] .customer-auth-screen{color:#e4ebf5}
html[data-theme='dark'] #portalModal .customer-auth-heading h3{color:#e7eef9}
html[data-theme='dark'] .customer-auth-heading p,html[data-theme='dark'] .customer-auth-security{color:#9baabe}
html[data-theme='dark'] .customer-auth-security{background:#26354a}
html[data-theme='dark'] .customer-auth-card{background:#1d293a;border-color:#304057;box-shadow:0 10px 36px #0002}
html[data-theme='dark'] .customer-auth-screen .customer-auth-form>label{color:#c4cfe0}
html[data-theme='dark'] .customer-auth-screen .customer-auth-form input{background:#26374d;border-color:#3b506a;color:#e7effa}
html[data-theme='dark'] .customer-auth-screen .customer-auth-form input::placeholder{color:#91a3bd}
html[data-theme='dark'] #portalModal .customer-auth-eye:hover{background:#344b68;color:#c5d8ef}
html[data-theme='dark'] #portalModal .customer-auth-screen .customer-auth-passkey{background:#1d293a;border-color:#49607c;color:#d8e4f4}
html[data-theme='dark'] #portalModal .customer-auth-screen .customer-auth-passkey:hover{background:#263a52}
html[data-theme='dark'] .customer-auth-policies{color:#9aacc3}html[data-theme='dark'] .customer-auth-policies a{color:#8bb8ff}
@media(max-width:420px){#portalModal:has(.customer-auth-screen){padding:8px}#portalModal .portal-dialog:has(.customer-auth-screen){max-height:calc(100dvh - 16px);padding-top:50px;padding-bottom:12px}#portalModalBody:has(.customer-auth-screen){padding-right:4px;padding-left:4px;scrollbar-gutter:auto}.customer-auth-heading{margin-bottom:20px}.customer-auth-card{padding:24px 21px 22px;border-radius:24px}.customer-auth-screen .customer-auth-form{gap:15px}.customer-auth-policies{margin-top:18px}}
@media(max-height:500px){#portalModal .portal-dialog:has(.customer-auth-screen){max-height:calc(100dvh - 12px);padding-bottom:5px}.customer-auth-heading{margin-bottom:16px}.customer-auth-policies{margin-top:15px}}


/* public/admin-credit.css */
.admin-credit-panel{width:100%;max-width:600px;margin:auto;box-sizing:border-box;color:var(--text,#202630)}
.admin-credit-panel h3{margin:0 0 16px}.admin-credit-panel p{overflow-wrap:anywhere}.admin-credit-customer{background:var(--adm-surface-soft,#f4f7fb);border:1px solid var(--adm-line,#e0e7f2);border-radius:14px;padding:10px 16px;margin-bottom:18px}.admin-credit-customer p{margin:5px 0;display:flex;flex-wrap:wrap;gap:6px}.admin-credit-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:14px}.admin-credit-panel .portal-form label{min-width:0}.admin-credit-panel :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box;min-width:0;width:100%}.admin-credit-hint,.admin-credit-reference{font-size:13px;line-height:1.7;color:var(--adm-muted,#6d7e96);margin:8px 0}.admin-credit-panel [data-credit-use-reference]{margin:0 0 6px}.admin-credit-preview{border:1px solid var(--adm-line,#dce6f2);background:var(--adm-surface-soft,#f4f7fb);padding:14px 16px;border-radius:14px;line-height:1.7;min-height:66px;box-sizing:border-box;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.admin-credit-preview strong{color:var(--adm-blue,#3f67ce);font-size:24px}.admin-credit-preview small{color:var(--adm-muted,#6d7e96)}.admin-credit-received{display:flex;align-items:flex-start;gap:9px;line-height:1.6}.admin-credit-received input{flex:0 0 auto;margin-top:4px}.admin-credit-actions{display:flex;flex-wrap:wrap;gap:10px}.admin-credit-actions button{flex:1;min-width:100px}.admin-credit-confirm p{white-space:pre-line;line-height:1.8}.admin-credit-panel [hidden]{display:none!important}
html[data-theme=dark] .admin-credit-panel{color:#dce6f4}html[data-theme=dark] .admin-credit-customer,html[data-theme=dark] .admin-credit-preview{background:#1e2c40;border-color:#374a65}html[data-theme=dark] .admin-credit-panel :is(input:not([type=checkbox]),select,textarea){background:#172338;border-color:#374a65;color:#dce6f4}html[data-theme=dark] .admin-credit-hint,html[data-theme=dark] .admin-credit-reference,html[data-theme=dark] .admin-credit-preview small{color:#a9b8ce}html[data-theme=dark] .admin-credit-preview strong{color:#9dbaff}
@media(max-width:420px){.admin-credit-grid{grid-template-columns:minmax(0,1fr);gap:8px}.admin-credit-customer,.admin-credit-preview{padding:11px 12px}.admin-credit-actions{flex-direction:column}.admin-credit-actions button{width:100%}}


/* public/toolbox-compat.css */
/* No default hiding: a failed/missing script leaves the static list available. */
#frpContent.frp-compat-content {
    transition-property: height, opacity;
    transition-timing-function: ease;
    transition-duration: 220ms;
    box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
    #frpContent.frp-compat-content { transition: none !important; }
    #toolbox .toolbox-expand b { transition: none !important; }
}


/* public/api-cost-custom.css */
.admin-api-cost-field{display:grid;gap:8px;margin:14px 0;font-size:14px}.admin-api-cost-field input{box-sizing:border-box;width:100%;min-width:0}.admin-api-cost-field small{line-height:1.6;color:#71839d;overflow-wrap:anywhere}@media(max-width:580px){.admin-api-cost-field input{font-size:16px;min-height:44px}}


/* public/service-timing.css */
.service-timing-badge{display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;margin:4px 0 0 6px;padding:2px 8px;border-radius:999px;background:#edf3ff;color:#316ad3;font-size:11px;font-weight:600;line-height:1.6;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.service-timing-badge[hidden]{display:none!important}
.history-table .service-timing-badge{margin-left:0;font-size:10px}
.checkout-delivery .service-timing-badge{margin-top:0}
html[data-theme='dark'] .service-timing-badge{background:#223b5d;color:#b5ceff}
/* The history list stays visually quiet while background checks run. */
.order-history-page .order-number::after,.order-history-page .history-stat-icon svg{animation:none!important}
@media(max-width:650px){.service-timing-badge{font-size:10px;padding:2px 6px}.checkout-delivery{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.checkout-delivery .service-timing-badge{margin-left:0}}

.checkout-delivery{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.checkout-delivery .service-api-time{color:var(--muted,#738198);font-size:13px}.checkout-delivery .service-timing-badge{margin:0;flex-shrink:0}

/* Match the compact reference: plain estimate plus one quiet blue badge. */
.checkout-service-header .checkout-delivery{display:inline-flex;width:fit-content;max-width:100%;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;gap:7px;color:var(--checkout-muted,#76818e);font-size:12px;font-weight:400;line-height:1.5}
.checkout-service-header .checkout-delivery .service-api-time{font-size:12px;font-weight:400;color:inherit}
.checkout-service-header .checkout-delivery .service-timing-badge{margin:0;padding:1px 7px;font-size:11px;font-weight:500;line-height:1.5;box-shadow:none}


/* public/crypto-flow.css */
/* Reference-video flow: stable QR -> observed amount -> retained success receipt. */
#portalModal .portal-dialog:has(#cryptoCheckout .crypto-flow-shell){width:min(980px,calc(100vw - 28px));max-width:980px;padding:25px 28px 22px;border-radius:24px;max-height:calc(100dvh - 28px);overflow:hidden;animation:cryptoFlowEnter .24s ease-out both}
#portalModalBody:has(#cryptoCheckout .crypto-flow-shell){max-height:calc(100dvh - 86px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
#cryptoCheckout .crypto-flow-shell{min-width:0}
#cryptoCheckout .crypto-flow-shell>header{margin:0 40px 16px 0;align-items:center}
#cryptoCheckout .crypto-flow-shell>header h3{font-size:22px}
#cryptoCheckout .crypto-flow-shell .crypto-network-plaque{padding:6px 10px;font-size:12px;border-radius:9px}
#cryptoCheckout .crypto-flow-shell .crypto-stages{position:relative;gap:0;margin:14px 0 25px;padding:0 8px}
#cryptoCheckout .crypto-flow-shell .crypto-stages li{position:relative;display:grid;justify-items:center;gap:5px;font-size:11px;z-index:0;padding:0 3px}
#cryptoCheckout .crypto-flow-shell .crypto-stages li:before{content:'';position:absolute;left:-50%;right:50%;height:2px;top:13px;background:#dce3eb;z-index:-1}
#cryptoCheckout .crypto-flow-shell .crypto-stages li:first-child:before{display:none}
#cryptoCheckout .crypto-flow-shell .crypto-stages b{margin:0;width:27px;height:27px;border:2px solid #c3cedb;background:#fff;color:#7b8a9b;font-size:11px;box-shadow:none;animation:none;transition:background .22s,border-color .22s,color .22s}
#cryptoCheckout .crypto-flow-shell .crypto-stages li.active b{border-color:#3979e3;color:#3979e3;background:#fff;box-shadow:0 0 0 4px #edf3ff}
#cryptoCheckout .crypto-flow-shell .crypto-stages li.done b{border-color:#4eaa84;background:#4eaa84;color:#fff}
#cryptoCheckout .crypto-flow-shell .crypto-stages li.done:before{background:#83bdab}
#cryptoCheckout .crypto-flow-shell .crypto-payment-grid,#cryptoCheckout .crypto-flow-shell .crypto-payment-grid:has(#cryptoQR[hidden]){grid-template-columns:minmax(240px,.85fr) minmax(0,1.5fr);gap:24px;align-items:stretch}
#cryptoCheckout .crypto-flow-shell .crypto-payment-sidebar{padding:22px 16px 18px;border:0;background:#f5f7fa;border-radius:20px;justify-content:flex-start;min-height:355px}
#cryptoCheckout .crypto-flow-shell #cryptoVisualTitle{font-size:17px;line-height:1.4;margin:18px 0 10px;text-align:center}
#cryptoCheckout .crypto-flow-shell .crypto-qr-orbit{margin:5px 0 0;width:216px;height:216px;max-width:100%}
#cryptoCheckout .crypto-flow-shell .crypto-qr-frame{width:170px;height:170px;min-height:0;padding:12px;background:#fff;box-shadow:0 7px 20px #283e5d13;border-radius:18px}
#cryptoCheckout .crypto-flow-shell .crypto-qr-frame img{width:146px;height:146px;max-width:100%}
#cryptoCheckout .crypto-flow-shell .crypto-orbit-ring{inset:10px;border-width:6px}
#cryptoCheckout .crypto-flow-shell .crypto-monitor{margin:0 0 12px;font-size:11px;line-height:1.5;padding:6px 9px}
#cryptoCheckout .crypto-flow-shell .crypto-status-row{margin-top:auto;padding-top:12px}
#cryptoCheckout .crypto-flow-shell #cryptoSelfOpen{width:100%;min-height:42px;font-size:13px;border-radius:10px;color:#fff;background:#ce434a;border-color:#ce434a;box-shadow:0 3px 8px #ce434a18}
#cryptoCheckout .crypto-flow-shell #cryptoSelfOpen:hover{background:#b7353d;transform:translateY(-1px)}
#cryptoCheckout .crypto-flow-shell #cryptoStatus{font-size:12px;line-height:1.6;padding:10px 12px;margin:0 0 16px;background:#f4f7fb;border:1px solid #e4ebf3;border-radius:11px;color:#55718f}
#cryptoCheckout .crypto-flow-shell #cryptoStatus.crypto-transfer-notice{padding-left:38px}
#cryptoCheckout .crypto-flow-shell .crypto-payment-info{gap:12px;justify-content:center}
#cryptoCheckout .crypto-flow-shell .crypto-exact-amount{padding:14px 15px;border-radius:14px;border-color:#c9e2d6;background:#f3faf6}
#cryptoCheckout .crypto-flow-shell .crypto-exact-value input{font-size:27px}
#cryptoCheckout .crypto-flow-shell #cryptoAddressControls{padding:12px 14px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:14px}
#cryptoCheckout .crypto-flow-shell #cryptoAddress{background:#fff;font-size:11px;height:48px;min-height:44px}
#cryptoCheckout .crypto-flow-shell #cryptoCopy{border-radius:9px;color:#fff;background:#3273d5;border-color:#3273d5;min-height:38px;padding:8px 12px}
#cryptoCheckout .crypto-flow-shell .crypto-warning{font-size:11px;padding:9px 12px;border-radius:12px}
#cryptoCheckout .crypto-flow-shell .crypto-order-summary>div{font-size:12px;padding:6px 0}
#cryptoCheckout .crypto-flow-shell .crypto-order-details{margin:0}
#cryptoCheckout .crypto-flow-shell .crypto-receipt{margin-top:13px;font-size:10px}
.crypto-flow-visual{width:220px;height:220px;max-width:100%;position:relative;flex:none;animation:cryptoFlowEnter .25s ease-out both}
.crypto-flow-ring{width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
.crypto-flow-ring-track,.crypto-flow-ring-motion{fill:none;stroke-width:7;stroke-linecap:round;stroke-dasharray:5 2}
.crypto-flow-ring-track{stroke:#dce2e8}
.crypto-flow-ring-motion{stroke:#3977dc;transform-origin:110px 110px;animation:cryptoFlowOrbit 9s linear infinite,cryptoFlowPulse 2.2s ease-in-out infinite}
.crypto-flow-center{position:absolute;inset:45px 15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center}
.crypto-flow-center>span{font-size:11px;color:#748399;letter-spacing:.04em}
.crypto-flow-center strong{max-width:100%;font:650 23px ui-monospace,Consolas,monospace;overflow-wrap:anywhere;color:#263d59}
.crypto-flow-center small{font-size:11px;color:#78879b;line-height:1.5}
#cryptoCheckout .crypto-received-summary{padding:16px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:15px;animation:cryptoFlowEnter .25s ease-out both}
#cryptoCheckout .crypto-received-summary dl{margin:0}
#cryptoCheckout .crypto-received-summary dl>div{padding:10px 0;font-size:12px;grid-template-columns:100px minmax(0,1fr)}
.crypto-flow-pending-note{font-size:12px;line-height:1.7;margin:12px 0 0;color:#75859a}
#cryptoCheckout:is([data-crypto-visual-state='detected'],[data-crypto-visual-state='confirming']) .crypto-flow-shell .crypto-warning{display:none}
#cryptoCheckout:is([data-crypto-visual-state='review'],[data-crypto-visual-state='expired']) .crypto-flow-ring-motion{stroke:#c59643;animation:none}
#cryptoCheckout .crypto-flow-complete .crypto-payment-sidebar{justify-content:center}
#cryptoCheckout .crypto-flow-complete .crypto-payment-sidebar h3{font-size:21px;color:#328966;margin:15px 0 5px}
#cryptoCheckout .crypto-flow-complete .crypto-payment-sidebar p{font-size:12px;color:#829084;margin:6px 0}
.crypto-flow-success-visual .crypto-flow-ring-motion{stroke:#55a784;animation:none}
.crypto-flow-check-disc{fill:#4fa880;stroke:none;transform:rotate(90deg);transform-origin:center}
.crypto-flow-check{fill:none;stroke:white;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;transform:rotate(90deg);transform-origin:110px 110px;stroke-dasharray:65;stroke-dashoffset:0;animation:cryptoFlowCheck .4s ease-out both}
.crypto-flow-token{font-size:15px;color:#45725e;font-variant-numeric:tabular-nums}
.crypto-flow-settled{display:flex;align-items:flex-start;gap:13px;padding:17px;background:#eff8f3;border:1px solid #cce5d7;border-radius:15px}
.crypto-flow-settled-tick{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#4fa880;color:#fff;font-size:20px}
#cryptoCheckout .crypto-flow-settled .crypto-success-amount{font-size:27px;line-height:1.3}
#cryptoCheckout .crypto-flow-settled #cryptoStatus{padding:0;margin:7px 0 0;background:none;border:0;color:#56806b}
.crypto-flow-settled p{font-size:12px;margin:6px 0}
#cryptoCheckout .crypto-flow-completion-summary{margin:0}
#cryptoCheckout .crypto-flow-completion-summary>div{font-size:12px;padding:10px 0}
.crypto-flow-actions{display:grid;gap:9px;margin-top:5px}
#cryptoCheckout .crypto-flow-actions button{min-height:42px;border-radius:10px;font-size:13px;transition:background .16s,box-shadow .16s,transform .16s}
#cryptoCheckout #cryptoFlowDone{background:#3273d5;color:#fff;border-color:#3273d5}
#cryptoCheckout #cryptoFlowBill{background:#fff;border:1px solid #dce5ee;color:#326ab7}
#cryptoCheckout #cryptoFlowAgain{border:0;background:transparent;color:#627da3}
#cryptoCheckout .crypto-flow-actions button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2d5fa21c}
@keyframes cryptoFlowEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes cryptoFlowOrbit{to{transform:rotate(360deg)}}
@keyframes cryptoFlowPulse{50%{opacity:.55}}
@keyframes cryptoFlowCheck{from{stroke-dashoffset:65}to{stroke-dashoffset:0}}
html[data-theme='dark'] #cryptoCheckout .crypto-flow-shell .crypto-payment-sidebar,html[data-theme='dark'] #cryptoCheckout .crypto-received-summary,html[data-theme='dark'] #cryptoCheckout .crypto-flow-shell #cryptoAddressControls{background:#192738;border-color:#34475b}
html[data-theme='dark'] .crypto-flow-center strong{color:#e1ebf6}
html[data-theme='dark'] .crypto-flow-settled{background:#193b30;border-color:#305a49}
html[data-theme='dark'] #cryptoCheckout .crypto-flow-shell #cryptoStatus{background:#1a2d42;border-color:#34475b;color:#b3c9e1}
html[data-theme='dark'] #cryptoCheckout .crypto-flow-settled #cryptoStatus{background:none;border:0;color:#b0dcc7}
@media(max-width:700px){#portalModal .portal-dialog:has(#cryptoCheckout .crypto-flow-shell){padding:18px 17px;border-radius:20px}#cryptoCheckout .crypto-flow-shell .crypto-payment-grid,#cryptoCheckout .crypto-flow-shell .crypto-payment-grid:has(#cryptoQR[hidden]){grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr);gap:15px}#cryptoCheckout .crypto-flow-shell .crypto-qr-orbit,.crypto-flow-visual{width:190px;height:190px}#cryptoCheckout .crypto-flow-shell .crypto-qr-frame{width:150px;height:150px}#cryptoCheckout .crypto-flow-shell .crypto-qr-frame img{width:126px;height:126px}.crypto-flow-center{inset:38px 10px}.crypto-flow-center strong{font-size:20px}}
@media(max-width:560px){#portalModal .portal-dialog:has(#cryptoCheckout .crypto-flow-shell){width:calc(100vw - 16px);padding:15px 13px;max-height:calc(100dvh - 16px)}#portalModalBody:has(#cryptoCheckout .crypto-flow-shell){max-height:calc(100dvh - 64px)}#cryptoCheckout .crypto-flow-shell>header h3{font-size:18px}#cryptoCheckout .crypto-flow-shell .crypto-stages{margin:12px 0 18px}#cryptoCheckout .crypto-flow-shell .crypto-stages li{font-size:10px}#cryptoCheckout .crypto-flow-shell .crypto-payment-grid,#cryptoCheckout .crypto-flow-shell .crypto-payment-grid:has(#cryptoQR[hidden]){grid-template-columns:minmax(0,1fr);gap:14px}#cryptoCheckout .crypto-flow-shell .crypto-payment-sidebar{min-height:0;padding:13px 14px}#cryptoCheckout .crypto-flow-shell #cryptoVisualTitle{margin:10px 0;font-size:16px}#cryptoCheckout .crypto-flow-shell .crypto-status-row{padding-top:8px}#cryptoCheckout .crypto-flow-shell #cryptoSelfOpen{min-height:44px}#cryptoCheckout .crypto-flow-shell .crypto-exact-value input{font-size:24px}#cryptoCheckout .crypto-flow-shell #cryptoAddressControls{padding:11px}#cryptoCheckout .crypto-flow-shell #cryptoAddress{font-size:11px}.crypto-flow-settled{padding:14px}#cryptoCheckout .crypto-flow-actions button{min-height:44px}.crypto-flow-center small{font-size:10px}}
@media(prefers-reduced-motion:reduce){#portalModal .portal-dialog:has(#cryptoCheckout .crypto-flow-shell),.crypto-flow-visual,.crypto-flow-ring-motion,.crypto-flow-check,#cryptoCheckout .crypto-received-summary{animation:none!important}#cryptoCheckout .crypto-flow-actions button,#cryptoCheckout .crypto-flow-shell .crypto-stages b{transition:none!important}#cryptoCheckout .crypto-flow-actions button:hover,#cryptoCheckout .crypto-flow-shell #cryptoSelfOpen:hover{transform:none}}

@media(min-width:701px){#cryptoCheckout .crypto-flow-shell>header{margin-bottom:10px}#cryptoCheckout .crypto-flow-shell .crypto-stages{margin:10px 0 18px}#cryptoCheckout .crypto-flow-shell #cryptoStatus{padding-top:8px;padding-bottom:8px;margin-bottom:12px}#cryptoCheckout .crypto-flow-shell .crypto-payment-sidebar{padding-top:18px;padding-bottom:15px}#cryptoCheckout .crypto-flow-shell .crypto-qr-orbit{width:200px;height:200px}#cryptoCheckout .crypto-flow-shell #cryptoVisualTitle{margin-top:12px}#cryptoCheckout .crypto-flow-shell .crypto-monitor{margin-bottom:8px}}

/* Official WeChat/Alipay payments use the same success vocabulary and motion. */
@media(max-width:560px){#cryptoCheckout .crypto-flow-complete .crypto-payment-sidebar{display:grid;grid-template-columns:105px minmax(0,1fr);gap:3px 12px;align-items:center;text-align:left}#cryptoCheckout .crypto-flow-complete .crypto-flow-success-visual{grid-row:1/4;width:105px;height:105px}#cryptoCheckout .crypto-flow-complete .crypto-payment-sidebar h3{margin:0;font-size:17px}#cryptoCheckout .crypto-flow-complete .crypto-payment-sidebar p{margin:0;font-size:11px}#cryptoCheckout .crypto-flow-complete .crypto-flow-token{font-size:13px}}
#portalModal .portal-dialog:has(.jf-payment-success){width:min(760px,calc(100vw - 28px));max-width:760px;border-radius:24px;padding:26px;max-height:calc(100dvh - 28px);overflow:auto;animation:cryptoFlowEnter .24s ease-out both}
.jf-payment-success{min-width:0;color:var(--ink,#263747)}
.jf-payment-success>header{text-align:left;margin:0 32px 20px 0}
.jf-payment-success>header small{font-size:11px;color:#7f8c9a}
.jf-payment-success>header h3{font-size:23px;margin:5px 0 0!important}
.payment-flow-grid{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(0,1.25fr);gap:24px;align-items:stretch}
.payment-flow-grid>aside{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f3f8f5;padding:20px 12px;border-radius:18px}
.payment-flow-ring{width:200px;height:200px;max-width:100%;flex:none;overflow:visible}
.payment-flow-ring-dashes{fill:none;stroke:#5eac89;stroke-width:7;stroke-dasharray:5 2;stroke-linecap:round;animation:cryptoFlowEnter .3s ease-out both}
.payment-flow-ring-disc{fill:#4fa880}
.payment-flow-ring-check{fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:65;animation:cryptoFlowCheck .4s ease-out both}
.payment-flow-grid>aside>strong{font-size:15px;margin-top:12px;color:#42775c}
.payment-flow-grid>aside>p{font-size:15px;margin:7px 0;color:#457b61}
.payment-flow-grid>section{display:flex;flex-direction:column;justify-content:center;min-width:0}
.payment-flow-credit{display:flex;gap:10px;align-items:center;background:#f0f8f3;border:1px solid #d2e8dc;border-radius:13px;padding:13px}
.payment-flow-credit>b{display:grid;place-items:center;background:#4fa880;color:#fff;border-radius:50%;width:30px;height:30px;flex:none;font-size:19px}
.payment-flow-credit .wxpay-success-amount{font-size:25px;margin:0!important}
.payment-flow-status{font-size:12px;line-height:1.6;color:#648875;margin:12px 0}
.payment-flow-grid dl{margin:0 0 12px}
.payment-flow-grid dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid #e6edf2;font-size:12px}
.payment-flow-grid dt{color:#8391a1}.payment-flow-grid dd{margin:0;text-align:right;overflow-wrap:anywhere}
.payment-flow-actions{display:grid;gap:9px;margin-top:auto}
.payment-flow-actions button{min-height:42px;border-radius:10px;transition:transform .16s,box-shadow .16s;font-size:13px}
.payment-flow-actions button[data-pf-action='done']{background:#3e9c77;border-color:#3e9c77;color:#fff}
[data-payment-method='alipay'] .payment-flow-actions button[data-pf-action='done']{background:#3274d7;border-color:#3274d7}
.payment-flow-actions .payment-flow-again{background:transparent;border:0;color:#6480a2}
.payment-flow-actions button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2d5fa21a}
.payment-qr-orbit{position:relative;display:grid;place-items:center;width:256px;height:256px;max-width:100%;margin:18px auto}
.payment-qr-orbit:before{content:'';position:absolute;inset:3px;border:6px dashed #c6dfd3;border-radius:50%;animation:cryptoFlowOrbit 25s linear infinite;pointer-events:none}
#wxpayCheckout .payment-qr-orbit .wxpay-qr-frame{position:relative;width:206px;min-height:206px;padding:12px;border-radius:18px;margin:0;z-index:1}
#wxpayCheckout .payment-qr-orbit .wxpay-qr-frame img{width:180px;height:180px;max-width:100%}
.payment-gateway-orbit{position:relative;display:grid;place-items:center;width:92px;height:92px;margin:20px auto;color:#3274d7;font-size:34px}
.payment-gateway-orbit:before{content:'';position:absolute;inset:0;border:4px dashed #acc7ef;border-radius:50%;animation:cryptoFlowOrbit 15s linear infinite}
#apageCheckout>a,#apageCheckout p>a{transition:box-shadow .18s,transform .18s}
#apageCheckout p>a:hover{box-shadow:0 5px 15px #3274d727;transform:translateY(-1px)}
html[data-theme='dark'] .jf-payment-success{color:#dde7f2}
html[data-theme='dark'] .payment-flow-grid>aside,html[data-theme='dark'] .payment-flow-credit{background:#19382d;border-color:#375d4b}
html[data-theme='dark'] .payment-flow-grid>aside>strong,html[data-theme='dark'] .payment-flow-grid>aside>p{color:#a1d5bd}
@media(max-width:560px){#portalModal .portal-dialog:has(.jf-payment-success){width:calc(100vw - 16px);padding:20px 16px;max-height:calc(100dvh - 20px)}.payment-flow-grid{grid-template-columns:minmax(0,1fr);gap:17px}.payment-flow-ring{width:150px;height:150px}.payment-flow-grid>aside{padding:12px}.payment-flow-grid>aside>strong{margin-top:4px}.payment-flow-grid>aside>p{margin-bottom:0}.payment-flow-actions button{min-height:44px}.payment-flow-credit .wxpay-success-amount{font-size:24px}.payment-qr-orbit{width:230px;height:230px}#wxpayCheckout .payment-qr-orbit .wxpay-qr-frame{width:184px;min-height:184px}#wxpayCheckout .payment-qr-orbit .wxpay-qr-frame img{width:160px;height:160px}}
@media(prefers-reduced-motion:reduce){.payment-flow-ring-dashes,.payment-flow-ring-check,.payment-qr-orbit:before,.payment-gateway-orbit:before{animation:none!important}.payment-flow-actions button{transition:none!important}.payment-flow-actions button:hover,#apageCheckout p>a:hover{transform:none}}


/* Reference sequence: radar -> short detecting arc -> final success burst. */
.jf-radar{position:absolute;inset:0;pointer-events:none;border-radius:50%}.jf-radar i{position:absolute;inset:3%;border:1px solid #6193e88c;border-radius:50%;animation:jfRadar 3.6s ease-out infinite}.jf-radar i:nth-child(2){animation-delay:1.2s}.jf-radar i:nth-child(3){animation-delay:2.4s}.payment-qr-orbit .jf-radar i{border-color:#62ab8d77}
@keyframes jfRadar{0%{transform:scale(.5);opacity:.55}70%{opacity:.1}100%{transform:scale(1);opacity:0}}
@keyframes jfPop{0%{transform:scale(.4);opacity:0}65%{transform:scale(1.1);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes jfGlow{from{transform:scale(.7);opacity:.6}to{transform:scale(1.35);opacity:0}}
@keyframes jfBurst{0%{transform:translate(-50%,-50%) rotate(0) scale(.5);opacity:1}70%{opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--turn)) scale(1);opacity:0}}
@keyframes jfSegment{from{stroke-width:18;opacity:.25}to{stroke-width:10;opacity:1}}
@keyframes jfArrive{from{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
.crypto-flow-ring .crypto-flow-ring-track{stroke-dasharray:5 3;stroke-width:10;opacity:.7}.crypto-flow-ring .crypto-flow-ring-motion{stroke-width:10;stroke-dasharray:7 93;animation:cryptoFlowOrbit 1.4s linear infinite}
[data-crypto-visual-state='confirming'] .crypto-flow-ring .crypto-flow-ring-motion{stroke-dasharray:7 93}
.crypto-flow-visual{position:relative;animation:jfArrive .5s ease-out both;overflow:visible}
.crypto-flow-success-visual .crypto-flow-ring-motion{stroke-dasharray:5 3;animation:jfSegment .45s ease-out both}
.crypto-flow-check-disc,.payment-flow-ring-disc{transform-origin:110px 110px;animation:jfPop .55s cubic-bezier(.2,.9,.3,1.2) both}
.crypto-flow-check,.payment-flow-ring-check{stroke-dasharray:65;stroke-dashoffset:65;animation:cryptoFlowCheck .5s .25s ease-out forwards}
.crypto-flow-glow{fill:#4fa88044;transform-origin:110px 110px;animation:jfGlow 1.1s ease-out both}
.payment-flow-ring-dashes{stroke-dasharray:5 3;stroke-width:10;animation:jfSegment .45s ease-out both}
.payment-flow-celebration{position:relative;max-width:100%}.jf-confetti{position:absolute;inset:0;pointer-events:none;overflow:visible}.jf-confetti i{position:absolute;left:50%;top:50%;width:6px;height:9px;border-radius:2px;background:var(--color);opacity:0;animation:jfBurst 1.5s cubic-bezier(.15,.7,.3,1) var(--delay) forwards}
#cryptoCheckout .crypto-flow-shell .crypto-orbit-track{animation-duration:26s}
@media(prefers-reduced-motion:reduce){.jf-radar i,.crypto-flow-glow,.crypto-flow-check-disc,.payment-flow-ring-disc,.crypto-flow-visual,.crypto-flow-ring-motion,.payment-flow-ring-dashes{animation:none!important}.crypto-flow-check,.payment-flow-ring-check{animation:none!important;stroke-dashoffset:0}.jf-confetti{display:none}}

.crypto-flow-success-visual .crypto-flow-ring .crypto-flow-ring-motion{stroke-dasharray:5 3;animation:jfSegment .45s ease-out both}

@keyframes jfStepPing{75%,100%{transform:scale(1.55);opacity:0}}
#cryptoCheckout .crypto-stages li.active b{position:relative}
#cryptoCheckout .crypto-stages li.active b:after{content:'';position:absolute;inset:-2px;border:2px solid #3979e3;border-radius:50%;opacity:.4;animation:jfStepPing 1.2s ease-out infinite;pointer-events:none}
@media(prefers-reduced-motion:reduce){#cryptoCheckout .crypto-stages li.active b:after{animation:none;display:none}}

/* A ring is 15 independent paths, never a rotating dashed circle. */
.jf-segmented-ring{--jf-finish-delay:1.4s;overflow:visible}
.crypto-flow-ring.jf-segmented-ring{transform:none}
.jf-segmented-ring .jf-segment-track,.jf-segmented-ring .jf-segment-fill{fill:none;stroke-width:10;stroke-linecap:round;stroke-dasharray:none;transform:none}
.jf-segmented-ring .jf-segment-track{stroke:#d1d8df;opacity:.65}
.jf-segmented-ring .jf-segment-fill{stroke:currentColor;opacity:0}
.jf-segmented-ring .jf-segment-fills{color:#3977dc}
@keyframes jfBlockFill{from{opacity:0;stroke-width:18}to{opacity:1;stroke-width:10}}
@keyframes jfBlockActivity{0%,48%,100%{opacity:0;stroke-width:10}15%,25%{opacity:1;stroke-width:12}}
@keyframes jfRingSettled{from{color:#3977dc}to{color:#4fa880}}
@keyframes jfAmountYield{from{opacity:1}to{opacity:0;visibility:hidden}}
.jf-segmented-ring[data-ring-mode='complete'] .jf-segment-fill{animation:jfBlockFill .32s ease-out var(--segment-delay) both}
.jf-segmented-ring[data-ring-mode='complete'] .jf-segment-fills{animation:jfRingSettled .12s 1.3s linear both}
.jf-segmented-ring[data-ring-mode='pending'][data-ring-state='indeterminate'] .jf-segment-fill{animation:jfBlockActivity 1.8s linear var(--activity-delay) infinite}
.jf-segmented-ring[data-ring-mode='pending'][data-ring-state='progress'] .jf-segment-fill[data-lit='true']{opacity:1;animation:jfBlockFill .32s ease-out both}
.jf-segmented-ring .payment-flow-ring-disc{opacity:0;transform-origin:110px 110px;animation:jfPop .55s cubic-bezier(.2,.9,.3,1.2) var(--jf-finish-delay) both}
.jf-segmented-ring .payment-flow-ring-check{stroke-width:7;stroke-dasharray:65;stroke-dashoffset:65;animation:cryptoFlowCheck .5s calc(var(--jf-finish-delay) + .25s) ease-out forwards}
.jf-segmented-ring .crypto-flow-glow{animation:jfGlow 1.1s ease-out var(--jf-finish-delay) both}
.jf-ring-before-check{position:absolute;inset:30% 8%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#31465e;text-align:center;animation:jfAmountYield .1s 1.3s linear both;pointer-events:none}
.jf-ring-before-check small{font-size:11px;letter-spacing:.06em;color:#7d8a9b}
.jf-ring-before-check strong{font:650 23px ui-monospace,Consolas,monospace;max-width:100%;overflow-wrap:anywhere}
.crypto-flow-success-visual>.jf-confetti i,.payment-flow-celebration>.jf-confetti i{animation-delay:calc(1.4s + var(--delay,0ms))}
html[data-theme='dark'] .jf-ring-before-check{color:#dce8f5}
html[data-theme='dark'] .jf-segmented-ring .jf-segment-track{stroke:#4c5e72}
@media(max-width:560px){.crypto-flow-success-visual .jf-ring-before-check{inset:20% 5%;gap:2px}.crypto-flow-success-visual .jf-ring-before-check strong{font-size:12px}.crypto-flow-success-visual .jf-ring-before-check small{font-size:9px}.payment-flow-celebration .jf-ring-before-check strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.jf-segmented-ring .jf-segment-fill,.jf-segmented-ring .jf-segment-fills,.jf-segmented-ring .payment-flow-ring-disc,.jf-segmented-ring .payment-flow-ring-check,.jf-segmented-ring .crypto-flow-glow,.jf-ring-before-check{animation:none!important}.jf-segmented-ring[data-ring-mode='complete'] .jf-segment-fill{opacity:1}.jf-segmented-ring[data-ring-mode='complete'] .jf-segment-fills{color:#4fa880}.jf-segmented-ring .payment-flow-ring-disc{opacity:1;transform:none}.jf-segmented-ring .payment-flow-ring-check{stroke-dashoffset:0}.jf-segmented-ring .crypto-flow-glow,.jf-ring-before-check{display:none}}

.jf-segmented-ring[data-ring-state='paused'] .jf-segment-track{stroke:#c59643;opacity:.5}


/* public/admin-typography.css */
/* Solid administrator palette; native text rendering without synthetic weights or fractional site zoom. */
html:has(#memberPanel.admin-workspace:not([hidden])){zoom:1}
:is(.admin-workspace,.admin-modal){
 --adm-surface:#fff;--adm-surface-soft:#edf2f9;--adm-line:#c5cfdd;
 --adm-text:#172033;--adm-muted:#40516a;--adm-blue:#174ac6;--adm-blue-soft:#e0eaff;
 --ink:#172033;--text:#172033;--muted:#40516a;--line:#c5cfdd;
 font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
 font-synthesis:weight style;text-rendering:auto;font-weight:400;
}
html:is([lang^="zh"],[data-language="zh"],[data-language="zh-Hant"]) :is(.admin-workspace,.admin-modal){font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
:is(.admin-workspace,.admin-modal) :is(button,input,select,textarea){font-family:inherit;font-synthesis:weight style}
.admin-workspace :is(.admin-nav-heading,.admin-nav-brand small,.admin-nav-foot,.admin-main-header>div>span,.admin-card-heading p,.admin-save-card p,.admin-card>p,.admin-metrics span,.admin-form-grid label,.admin-pagination,.admin-empty,.admin-loading),.admin-workspace .admin-main td small{color:var(--adm-muted)}
.admin-workspace .admin-navigation nav button{color:var(--adm-text);font-weight:400;font-size:13px}
.admin-workspace .admin-navigation nav button.active{color:var(--adm-blue);font-weight:700;background:var(--adm-blue-soft)}
.admin-workspace :is(h1,h2,h3,th),.admin-workspace .admin-card strong{font-weight:700}
.admin-workspace .admin-hint{color:#234776;background:#e6efff;border-color:#afc6ed}
.admin-workspace .admin-main button.admin-primary,.admin-workspace .page-navigation .page-active{background:#174ac6;border-color:#174ac6;color:#fff}
.admin-workspace .admin-main button.admin-primary:hover{background:#123ba2;border-color:#123ba2;color:#fff}
.admin-workspace .admin-main button.admin-danger{background:#ffe5e8;border-color:#e5a1ad;color:#b11935!important}
.admin-workspace .admin-main :is(.status-completed,.status-approved,.admin-badge.success){background:#d6f3e4;color:#11613e}
.admin-workspace .admin-main .status-rejected{background:#ffe0e5;color:#ad1733}
.admin-workspace .admin-main .admin-badge.warning{background:#ffedc7;color:#885000}
.admin-workspace .admin-main :is(.admin-metrics article,.account-stats>div,.source-detail-summary article){border-color:var(--adm-line)}
.admin-workspace .admin-main :is(input,select,textarea){border-color:var(--adm-line);color:var(--adm-text)}
:is(.admin-workspace,.admin-modal) :is(input,textarea)::placeholder{color:#58687e;opacity:1}
html:has(#memberPanel.admin-workspace:not([hidden])) body{background:#eaf0f7}
html[data-theme="dark"] :is(.admin-workspace,.admin-modal){--adm-surface:#142033;--adm-surface-soft:#1b2d46;--adm-line:#415876;--adm-text:#f1f5fc;--adm-muted:#c1cee0;--adm-blue:#8cb6ff;--adm-blue-soft:#233e67;--ink:#f1f5fc;--text:#f1f5fc;--muted:#c1cee0;--line:#415876}
html[data-theme="dark"]:has(#memberPanel.admin-workspace:not([hidden])) body{background:#0c1422}
html[data-theme="dark"] .admin-workspace .admin-hint{color:#d1e3ff;background:#1b3456;border-color:#496d9d}
html[data-theme="dark"] .admin-workspace .admin-main button.admin-primary{background:#245bd6;border-color:#5989ef;color:#fff}
html[data-theme="dark"] .admin-workspace .admin-main button.admin-danger{background:#4a1e30;border-color:#a75b70;color:#ffbdcb!important}
html[data-theme="dark"] .admin-workspace .admin-main :is(.status-completed,.status-approved,.admin-badge.success){background:#153f31;color:#9aedc5}
html[data-theme="dark"] .admin-workspace .admin-main .status-rejected{background:#4a1e30;color:#ffbdcb}
html[data-theme="dark"] .admin-workspace .admin-main .admin-badge.warning{background:#493619;color:#ffd887}
html[data-theme="dark"] :is(.admin-workspace,.admin-modal) :is(input,textarea)::placeholder{color:#b2c3da}

/* Administrator data and helpers need explicit sizes: legacy components use fixed small values. */
.admin-workspace{font-size:15px;line-height:1.65}
.admin-workspace .admin-navigation nav button{font-size:15px;min-height:42px}
.admin-workspace :is(.admin-nav-heading,.admin-nav-brand small,.admin-nav-foot,.admin-main-header>div>span){font-size:13px}
.admin-workspace .admin-main :is(.admin-card h2,.admin-section h3){font-size:18px}
.admin-workspace .admin-main table{font-size:15px}
.admin-workspace .admin-main th{font-size:13px;line-height:1.6}
.admin-workspace .admin-main td{font-size:15px;line-height:1.6}
.admin-workspace .admin-main td small,.admin-workspace :is(.admin-card-heading p,.admin-save-card p,.admin-card>p,.admin-hint,.admin-metrics span,.admin-pagination,.admin-empty,.admin-loading,.admin-form-grid label){font-size:14px}
.admin-workspace .admin-main :is(button,input,select,textarea){font-size:14px}
.admin-workspace .admin-main :is(input,select,textarea){font-size:15px;min-height:40px}
.admin-workspace .admin-main input[type=checkbox]{min-height:0}
.admin-workspace .admin-main td:last-child button{font-size:13px;min-height:34px}
.admin-workspace .admin-main .admin-product-cell strong{font-size:15px}
.admin-workspace .daily-summary .admin-card-heading h2{font-size:17px}
.admin-workspace .daily-sidebar .logbook-calendar>p{font-size:13px}
.admin-workspace .daily-sidebar .logbook-days button small{font-size:11px}
.admin-workspace .daily-sidebar .logbook-days button{min-height:48px}
.admin-workspace .daily-sidebar .logbook-week{font-size:13px}
@media(max-width:700px){
 .admin-workspace .admin-navigation nav button{font-size:14px;min-height:42px}
 .admin-workspace .admin-main :is(input,select,textarea){font-size:16px}
 .admin-workspace .admin-main td{font-size:14px}
}


/* public/frontend-clarity.css */
/* Native-size layout and a solid customer palette. No raster scaling or colour filters. */
html{zoom:1}
:root{--blue:#1753ce;--ink:#182233;--muted:#46566c;--line:#c8d2df;--jf-text:#182233;--jf-muted:#46566c;--jf-line:#c8d2df;--jf-surface:#fff;--jf-soft:#edf2f8;--jf-blue:#1753ce;--jf-blue-soft:#e1ebff;--jf-green:#11704b;--jf-green-soft:#e0f4e9;--jf-red:#b9243e;--jf-red-soft:#ffe6eb;--jf-amber:#865000;--jf-amber-soft:#fff0cf;--jf-ui-line:#c8d2df;--jf-ui-hover:#e7efff;--jf-ui-ring:#346ee0}
html[data-theme=dark]{--ink:#eef3fa;--muted:#bdcadd;--line:#40536e;--jf-text:#eef3fa;--jf-muted:#bdcadd;--jf-line:#40536e;--jf-surface:#152234;--jf-soft:#1d3049;--jf-blue:#9dbfff;--jf-blue-soft:#243e64;--jf-green:#9ce6c1;--jf-green-soft:#163f32;--jf-red:#ffb1c0;--jf-red-soft:#4a2031;--jf-amber:#ffdc93;--jf-amber-soft:#46371e;--jf-ui-line:#40536e;--jf-ui-hover:#243e64;--jf-ui-ring:#9dbfff}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;font-synthesis:weight style;text-rendering:auto;line-height:1.6;color:var(--jf-text)}
html[data-language] body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
body:not(:has(#memberPanel.admin-workspace:not([hidden]))){background:#edf2f8}
html[data-theme=dark] body:not(:has(#memberPanel.admin-workspace:not([hidden]))){background:#0e1725}
body:not(:has(#memberPanel.admin-workspace:not([hidden]))) main{width:100%;max-width:1480px;box-sizing:border-box;margin-inline:auto;padding-inline:28px}
/* A shared header that reflows rather than shrinking customer controls. */
.topbar{height:78px;gap:20px;padding-inline:max(24px,calc((100vw - 1480px)/2));border-color:var(--jf-line);background:var(--jf-surface);backdrop-filter:none}
.desktop-nav a{font-size:15px;font-weight:600;color:var(--jf-muted)}
.desktop-nav a:hover,.desktop-nav a.current{color:var(--jf-blue)}
.topbar .brand{color:var(--jf-text)}.topbar .brand small{color:var(--jf-muted)}
.topbar :is(.language-select,.icon-button,.theme-toggle){color:var(--jf-muted)}
.topbar #memberButton.wallet-button{background:#11704b;color:#fff}
.topbar #memberButton.wallet-button:hover{background:#0b5b3c}
.topbar .dashboard-button.admin-entry{background:#174ac6;color:#fff}
.topbar .header-logout{color:var(--jf-muted)}
/* Home: large headings, readable compact content and deliberate tool grids. */
.home-hero{--home-text:var(--jf-text);--home-muted:var(--jf-muted);--home-line:var(--jf-line);--home-card:var(--jf-surface);--home-head:var(--jf-soft);grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:48px;padding-block:60px;min-height:570px}
.home-hero:before{inset:0 -28px}
.home-hero h1{font-size:clamp(34px,3.1vw,48px);font-weight:700;letter-spacing:-.02em;line-height:1.3;text-wrap:balance}
.home-hero h1>span{color:var(--jf-blue)}
.home-hero p{font-size:17px;color:var(--jf-muted);line-height:1.8}
.home-hero :is(.hero-pill,.hero-examples,.hero-stats){color:var(--jf-muted);font-size:13px}
.home-hero .hero-search{background:var(--jf-surface);border:1px solid var(--jf-line);min-height:56px}
.home-hero .hero-search input{font-size:16px;color:var(--jf-text)}
.home-hero .hero-actions :is(a,button){font-size:15px;min-height:46px;box-sizing:border-box}
.hero-actions .home-primary{background:#1753ce;color:#fff;font-weight:700}
.home-hero-demo>h3,.home-stages button,.home-browser>header{font-size:13px;color:var(--jf-muted)}
.home-stages button.active{color:var(--jf-blue);font-weight:700}
.home-browser-body{font-size:14px;padding:22px;min-height:280px}
.home-browser-body :is(p,label){font-size:13px;color:var(--jf-muted)}
.home-browser-body h3{font-size:16px;color:var(--jf-text)}
.home-block,.home-section{--home-text:var(--jf-text);--home-muted:var(--jf-muted);--home-line:var(--jf-line);--home-card:var(--jf-surface);--home-head:var(--jf-soft)}
.home-block :is(h2,.landing-heading h2),.home-block-heading h2{font-size:32px;font-weight:700;line-height:1.4;color:var(--jf-text)}
.home-tools strong,.home-tool-chips button,.home-popular-row strong{font-size:14px;font-weight:600;color:var(--jf-text)}
.home-tools>button{padding:22px 16px;min-height:142px;border-color:var(--jf-line)}
.home-tool-chips button{padding:9px 13px;min-height:40px}
.home-category-head h3{font-size:20px;font-weight:700}
.home-category :is(p,small),.home-popular-row :is(small,em),.home-step-copy>span{font-size:13px;color:var(--jf-muted)}
.home-step-copy strong{font-size:17px;font-weight:700;color:var(--jf-text)}
/* Catalogue: independent title / metadata / price hierarchy. */
#catalog{--card-bg:var(--jf-surface);--text:var(--jf-text)}
#catalog .catalog-filters input{font-size:16px;min-height:50px;color:var(--jf-text);background:var(--jf-surface)}
#catalog .catalog-tabs button{font-size:15px;min-height:46px;color:var(--jf-muted)}
#catalog .catalog-tabs button.active{background:var(--jf-blue);color:#fff}
#catalog .category-sidebar{background:var(--jf-surface);border-color:var(--jf-line)}
#catalog .catalog-sidebar-head{background:var(--jf-surface);border-color:var(--jf-line)}
#catalogGroups button{font-size:15px;color:var(--jf-text);min-height:44px}
#catalogGroups button.current{color:var(--jf-blue);background:var(--jf-blue-soft);font-weight:700}
#catalogGroups button b{color:var(--jf-muted);background:var(--jf-soft)}
#catalog .directory-card{padding:18px;gap:15px;border-color:var(--jf-line);background:var(--jf-surface)}
#catalog .directory-copy{min-width:0}
#catalog .directory-copy strong{font-size:15px;font-weight:600;color:var(--jf-text);line-height:1.55}
#catalog .directory-copy small{font-size:13px;color:var(--jf-muted);line-height:1.5;margin-top:5px}
#catalog .directory-price{font-size:18px;color:var(--jf-green);font-weight:700}
#catalog .directory-price small{font-size:12px;color:var(--jf-muted)}
#catalog .directory-group{font-size:16px;font-weight:700;color:var(--jf-text);padding-block:18px 10px}
/* Checkout retains its existing input -> summary -> long-description order on phones. */
#serviceDetail{--checkout-text:var(--jf-text);--checkout-muted:var(--jf-muted);--checkout-border:var(--jf-line);--checkout-card:var(--jf-surface);--checkout-input:var(--jf-surface);--checkout-header:var(--jf-soft)}
#serviceDetail .checkout-heading h1{font-size:24px;line-height:1.45;font-weight:700;color:var(--jf-text)}
#serviceDetail .checkout-heading>small,#serviceDetail .customer-product-code{font-size:13px;color:var(--jf-muted)}
#serviceDetail .checkout-form label{font-size:15px;font-weight:600}
#serviceDetail .checkout-form label small,#serviceDetail :is(.checkout-estimate,.checkout-benefits){font-size:13px;color:var(--jf-muted)}
#serviceDetail .checkout-description .portal-info{font-size:15px;line-height:1.85;color:var(--jf-text)}
#serviceDetail .checkout-summary dl{font-size:14px;row-gap:16px;grid-template-columns:80px minmax(0,1fr)}
#serviceDetail :is(.checkout-form input,.checkout-form textarea,.checkout-form select){font-size:16px;border-color:var(--jf-line);color:var(--jf-text)}
#serviceDetail .checkout-submit{background:#1753ce;color:#fff;font-weight:700}
#serviceDetail .checkout-submit:disabled{opacity:.55}
#serviceDetail .checkout-totals #detailTotal{font-size:28px;font-weight:700}
/* Quiet delivery estimate stays compact, as requested. */
#serviceDetail .checkout-delivery{color:var(--jf-muted)}
/* Orders and payment history: larger readable data, unchanged refresh behavior. */
.order-history-page{color:var(--jf-text)}
.order-history-page :is(.history-search,.history-table-shell,.history-stat){background:var(--jf-surface);border-color:var(--jf-line)}
.order-history-page :is(.history-filters button,.history-type-filter select){font-size:14px;color:var(--jf-muted)}
.order-history-page .history-filters button.active{color:var(--jf-blue);background:var(--jf-blue-soft)}
.order-history-page .history-table :is(th,td){font-size:14px;border-color:var(--jf-line)}
.order-history-page .history-table td{color:var(--jf-text)}
.order-history-page :is(.history-result,.history-date small,.history-service small,.history-result-key>small){color:var(--jf-muted);font-size:13px}
.order-history-page .history-open{color:var(--jf-blue);background:var(--jf-blue-soft);font-weight:700}
.order-history-page .history-completed,#paymentHistory .ph-credited{color:var(--jf-green);background:var(--jf-green-soft)}
.order-history-page .history-rejected,#paymentHistory :is(.ph-failed,.ph-rejected,.ph-cancelled,.ph-expired){color:var(--jf-red);background:var(--jf-red-soft)}
.order-history-page :is(.history-progress,.history-waiting,.history-review),#paymentHistory :is(.ph-confirming,.ph-detected){color:var(--jf-amber);background:var(--jf-amber-soft)}
#paymentHistory{background:var(--jf-surface);border-color:var(--jf-line);color:var(--jf-text)}
#paymentHistory .ph-table :is(th,td){font-size:14px;border-color:var(--jf-line)}
#paymentHistory .ph-table :is(th,td:first-child),#paymentHistory .ph-mobile-label{color:var(--jf-muted)}
#paymentHistory .ph-order{font-size:13px!important;color:var(--jf-blue);overflow-wrap:anywhere}
#paymentHistory .ph-amount{color:var(--jf-green);font-weight:700}
#paymentHistory .ph-view{color:var(--jf-blue);border-color:var(--jf-line);font-size:14px}
/* Recharge: stronger selection state and clear limits without enlarging payment codes. */
#rechargePage{color:var(--jf-text)}
#rechargePage :is(.recharge-card,.recharge-balance,.recharge-method){background:var(--jf-surface);border-color:var(--jf-line)}
#rechargePage :is(.recharge-amount-section>label,.recharge-payment-section h2,.recharge-heading>p,.recharge-note-label,.recharge-notice,.recharge-amount-hint){color:var(--jf-muted);font-size:14px}
#rechargePage .recharge-method strong{color:var(--jf-text);font-size:18px;font-weight:700}
#rechargePage .recharge-method small{color:var(--jf-muted);font-size:13px;line-height:1.6}
#rechargePage .recharge-method em{font-size:12px;color:var(--jf-green);background:var(--jf-green-soft)}
#rechargePage .recharge-method.selected{background:var(--jf-green-soft);border-color:var(--jf-green)}
#rechargePage .recharge-selected-check{background:#11704b;color:#fff}
#rechargePage .recharge-presets button{background:var(--jf-soft);border:1px solid var(--jf-line);color:var(--jf-text);font-size:16px;font-weight:600}
#rechargePage .recharge-presets button.selected{background:var(--jf-blue-soft);border-color:var(--jf-blue);color:var(--jf-blue)}
#rechargePage .recharge-amount-input{background:var(--jf-surface);border-color:var(--jf-line);color:var(--jf-text)}
#rechargePage .recharge-amount-input small{font-size:12px;color:var(--jf-blue);background:var(--jf-blue-soft)}
#rechargePage .recharge-footer strong,.recharge-balance strong{color:var(--jf-green);font-weight:700}
#rechargePage .recharge-submit{background:#1753ce;color:#fff;font-weight:700;min-height:48px}
#rechargePage .recharge-submit:disabled{opacity:.5}
:is(#cryptoCheckout,#wxpayCheckout,#apageCheckout){color:var(--jf-text);--crypto-muted:var(--jf-muted)}
#cryptoCheckout :is(.crypto-monitor,#cryptoStatus,.crypto-stages li){font-size:13px}
#cryptoCheckout .crypto-stages b{font-size:13px}
#cryptoCheckout :is(.crypto-rate-note,.crypto-finality-note),#cryptoCheckout .crypto-flow-shell #cryptoStatus{color:var(--jf-muted);font-size:13px}
#rechargePage :is(.wxpay-integer-hint,.wxpay-group-label small){color:var(--jf-muted);font-size:13px}
#rechargePage .wxpay-group-label{font-size:14px}
:is(#cryptoCheckout,#wxpayCheckout,#apageCheckout) input{font-size:16px}
#cryptoCheckout header p{color:var(--jf-muted);font-size:13px;line-height:1.65}
#cryptoCheckout #cryptoChooseForm .crypto-choice-copy strong{font-size:14px;color:var(--jf-text)}
#cryptoCheckout #cryptoChooseForm :is(.crypto-choice-copy small,.crypto-quantity-column>small,.crypto-input-estimate small){font-size:12px;color:var(--jf-muted);line-height:1.55}
#cryptoCheckout #cryptoChooseForm :is(.crypto-choice-card,.crypto-input-estimate){border-color:var(--jf-line);background:var(--jf-surface)}
#cryptoCheckout #cryptoChooseForm .crypto-choice-card.selected{border-color:var(--jf-green);background:var(--jf-green-soft)}
#cryptoCheckout .crypto-warning{background:var(--jf-amber-soft);color:var(--jf-amber);border-color:var(--jf-line)}
#cryptoCheckout #cryptoChooseForm>.crypto-warning{font-size:12px}
#paymentBillView .ph-bill{color:var(--jf-text);background:var(--jf-surface);border-color:var(--jf-line)}
#paymentBillView :is(dt,.ph-bill footer){color:var(--jf-muted);font-size:13px}
/* Customer login and order details use the same readable surfaces. */
#portalModal .customer-auth-screen{color:var(--jf-text)}
#portalModal .customer-auth-heading h3{color:var(--jf-text);font-weight:700}
#portalModal .customer-auth-card{background:var(--jf-surface);border-color:var(--jf-line)}
#portalModal :is(.customer-auth-heading p,.customer-auth-security,.customer-auth-policies){color:var(--jf-muted);font-size:13px}
#portalModal .customer-auth-form>label{font-size:14px;color:var(--jf-text)}
#portalModal .customer-auth-form input{font-size:16px;color:var(--jf-text);background:var(--jf-soft);border-color:var(--jf-line)}
#portalModal:not(.admin-modal) .order-detail{color:var(--jf-text)}
#portalModal:not(.admin-modal) .order-detail-card{background:var(--jf-soft);border-color:var(--jf-line)}
#portalModal:not(.admin-modal) .order-detail-card :is(h3,small),#portalModal:not(.admin-modal) .order-detail dt{color:var(--jf-muted)}
/* Footer and general customer form text remain legible without dominating. */
.commerce-footer.compact-footer{color:var(--jf-muted);font-size:13px;border-color:var(--jf-line)}
.commerce-footer.compact-footer a{color:var(--jf-muted)}
body:not(:has(#memberPanel.admin-workspace:not([hidden]))) :is(input,textarea)::placeholder{color:#59697e;opacity:1}
html[data-theme=dark] body:not(:has(#memberPanel.admin-workspace:not([hidden]))) :is(input,textarea)::placeholder{color:#b3c2d7}
/* Responsive widths set real columns and padding; browser/OS scaling remains user controlled. */
@media(min-width:1440px){.checkout-grid{grid-template-columns:250px minmax(0,1fr) 320px;gap:24px}.home-hero{gap:64px}.home-hero p{max-width:620px}}
@media(min-width:1920px){body:not(:has(#memberPanel.admin-workspace:not([hidden]))) main{max-width:1640px;padding-inline:40px}.topbar{padding-inline:max(40px,calc((100vw - 1640px)/2))}.home-hero h1{font-size:52px}.home-tools strong{font-size:15px}.home-hero{padding-block:76px}}
@media(max-width:1180px){.desktop-nav{gap:14px}.topbar{gap:12px}.desktop-nav a{font-size:14px}.home-hero{gap:30px}.home-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.home-hero{grid-template-columns:minmax(0,1fr);padding-block:44px;min-height:0}.home-hero-demo{margin-top:12px}.home-hero h1{font-size:40px}.home-browser-body{min-height:240px}}
@media(max-width:800px){body:not(:has(#memberPanel.admin-workspace:not([hidden]))) main{padding-inline:20px}.home-hero:before{inset-inline:-20px}.topbar{height:68px;padding-inline:16px}.home-hero h1{font-size:36px}.home-hero p{font-size:16px}.home-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.home-tools strong{font-size:14px}.home-block :is(h2,.landing-heading h2),.home-block-heading h2{font-size:28px}.checkout-grid{gap:18px}#serviceDetail .checkout-heading h1{font-size:22px}#catalog .catalog-tabs button{font-size:14px}#catalog .directory-card{padding:16px 14px}#rechargePage .recharge-presets{gap:10px}#rechargePage .recharge-amount-input input{font-size:22px!important}}
@media(max-width:480px){
 body:not(:has(#memberPanel.admin-workspace:not([hidden]))) main{padding-inline:14px}
 .home-hero:before{inset-inline:-14px}
 .topbar{display:flex;height:104px;padding-inline:12px;gap:8px}.topbar .brand{font-size:17px;flex:0 0 auto;width:auto}.topbar .brand small{font-size:9px}
 .topbar-right{display:grid;grid-template-columns:30px minmax(0,1fr) 28px;grid-template-rows:36px 36px;gap:6px;width:216px;min-width:0;flex:1;margin-left:0;align-items:center;justify-items:end}
 .topbar #themeToggle{grid-area:1 / 1}.topbar .language-picker{grid-area:1 / 2}.topbar #menuButton{grid-area:1 / 3;position:static}.topbar #dashboardButton{grid-area:2 / 1}.topbar #memberButton{grid-area:2 / 2}.topbar #headerLogout{grid-area:2 / 3}
 .topbar #memberButton.wallet-button{font-size:12px;max-width:none;width:100%;min-height:36px;white-space:normal;padding:6px;gap:0}.topbar #memberButton.wallet-button>span{white-space:normal;overflow-wrap:anywhere;line-height:1.3}
 #catalog .catalog-filters,.order-history-page .history-controls,.admin-browse-toolbar,.admin-product-toolbar{top:104px}
 #mobileNav{top:108px}
 .home-hero{padding-block:32px}.home-hero h1{font-size:32px}.home-hero p{font-size:16px;line-height:1.75}.home-hero .hero-search input{font-size:16px}.home-hero .hero-actions{display:flex;flex-wrap:wrap;gap:10px}.home-hero .hero-stats{gap:14px;flex-wrap:wrap}
 .home-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-tools>button{min-height:126px;padding:18px 12px}.home-tools strong{font-size:14px}.home-tool-chips button{font-size:13px}.home-stages button{font-size:12px}.home-browser-body{padding:16px}.home-popular-row{padding:16px 12px}
 #catalog .directory-card{gap:10px;align-items:center}#catalog .directory-copy strong{font-size:15px}#catalog .directory-copy small{font-size:12px}#catalog .directory-price{font-size:16px}#catalog .directory-price small{font-size:11px}#catalog .directory-price{max-width:100px;overflow-wrap:anywhere}
 #serviceDetail .checkout-heading h1{font-size:21px}#serviceDetail .checkout-summary dl{grid-template-columns:72px minmax(0,1fr)}
 #rechargePage .recharge-amount-input{gap:10px;flex-wrap:wrap}#rechargePage .recharge-amount-input input{flex:1;min-width:0}#rechargePage .recharge-amount-input small{flex-basis:100%;width:fit-content;margin:0;text-align:center}#rechargePage .recharge-method{padding:18px 16px;gap:12px;min-height:112px}#rechargePage .recharge-method strong{font-size:17px}#rechargePage .recharge-amount-section,#rechargePage .recharge-payment-section{padding:20px 16px}
 .order-history-page .history-filters{gap:6px}.order-history-page .history-filters button{min-height:40px;font-size:13px;padding:8px 10px}#paymentHistory .ph-mobile-label{font-size:13px}
}


/* Match the reference font fallback for UI text; raw addresses and results keep monospace. */
body :is(.language-select,.language-menu button,.detail-nav-tabs button,#detailNavSearch,.detail-nav-service,.dashboard-button,.detail-nav-mobile,.history-type-filter select){font-family:inherit;font-synthesis:weight style}

/* Comfortable reading sizes. Keep the tested font faces, palette and native layout scale. */
body{font-size:17px}
.home-browser-body{font-size:15px}.home-browser-body :is(p,label),.home-hero-demo>h3,.home-stages button,.home-browser>header{font-size:14px}
.home-tools strong,.home-popular-row strong{font-size:16px}.home-tool-chips button{font-size:14px}
.home-category :is(p,small),.home-popular-row :is(small,em),.home-step-copy>span{font-size:14px}
#catalog .directory-copy strong{font-size:17px}#catalog .directory-copy small{font-size:14px}#catalog .directory-price{font-size:20px}#catalog .directory-price small{font-size:13px}
#catalogGroups button{font-size:16px}
#serviceDetail .checkout-heading h1{font-size:26px;line-height:1.5}
#serviceDetail .checkout-heading>small,#serviceDetail .customer-product-code{font-size:14px}
#serviceDetail .checkout-form label{font-size:16px}
#serviceDetail .checkout-form label small,#serviceDetail :is(.checkout-estimate,.checkout-benefits){font-size:14px}
#serviceDetail :is(.checkout-form input,.checkout-form textarea,.checkout-form select){font-size:17px;min-height:50px}
#serviceDetail .checkout-description .portal-info{font-size:17px;line-height:1.85}
#serviceDetail .checkout-summary dl{font-size:15px;line-height:1.65;row-gap:18px}
.order-history-page :is(.history-filters button,.history-type-filter select){font-size:15px}
.order-history-page .history-table :is(th,td),#paymentHistory .ph-table :is(th,td){font-size:15px}
.order-history-page :is(.history-result,.history-date small,.history-service small,.history-result-key>small){font-size:14px}
#paymentHistory .ph-view{font-size:15px}#paymentHistory .ph-order{font-size:14px!important}
#rechargePage :is(.recharge-amount-section>label,.recharge-payment-section h2){font-size:16px}
#rechargePage :is(.recharge-heading>p,.recharge-note-label,.recharge-notice,.recharge-amount-hint,.recharge-method small,.wxpay-integer-hint,.wxpay-group-label small){font-size:14px;line-height:1.7}
#rechargePage .recharge-method em,#rechargePage .recharge-amount-input small{font-size:13px}
#rechargePage .wxpay-group-label{font-size:15px}
#cryptoCheckout{font-size:15px}
#cryptoCheckout header p{font-size:14px}
#cryptoCheckout #cryptoChooseForm .crypto-choice-copy strong{font-size:16px}
#cryptoCheckout #cryptoChooseForm :is(.crypto-choice-copy small,.crypto-quantity-column>small,.crypto-input-estimate small),#cryptoCheckout #cryptoChooseForm>.crypto-warning{font-size:13px}
#cryptoCheckout #cryptoChooseForm .crypto-quantity-column>label{font-size:15px}
#portalModal .customer-auth-form>label{font-size:15px}
#portalModal :is(.customer-auth-heading p,.customer-auth-security,.customer-auth-policies){font-size:14px}
@media(max-width:800px){
 body{font-size:16px}
 #catalog .directory-copy strong{font-size:16px}#catalog .directory-copy small{font-size:13px}#catalog .directory-price{font-size:18px}
 #serviceDetail .checkout-heading h1{font-size:22px}
 #serviceDetail :is(.checkout-form input,.checkout-form textarea,.checkout-form select){font-size:16px}
 #serviceDetail .checkout-description .portal-info{font-size:16px}
 .home-tools strong{font-size:15px}
 #rechargePage .recharge-method strong{font-size:18px}
 #cryptoCheckout #cryptoChooseForm .crypto-choice-copy strong{font-size:14px}
}

/* Six compact, keyboard-accessible order filters. Only the progress glyph animates. */
.order-history-page #historyStats{display:grid;grid-template-columns:repeat(6,minmax(0,128px));gap:12px;margin-bottom:24px;overflow-x:auto;padding:3px 3px 8px;scrollbar-width:thin}
.order-history-page #historyStats .history-stat{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:1;min-height:112px;min-width:0;padding:12px 8px;border:1px solid var(--jf-line);border-radius:14px;text-align:center;font:inherit;cursor:pointer;box-shadow:none;transform:none;transition:border-color .16s,box-shadow .16s;background:var(--jf-surface);color:var(--jf-text)}
.order-history-page #historyStats .history-stat-copy{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;width:100%}
.order-history-page #historyStats .history-stat-copy>span{font-size:14px;font-weight:600;line-height:1.4;color:var(--jf-muted)}
.order-history-page #historyStats strong{font-size:26px;line-height:1.25;max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:inherit}
.order-history-page #historyStats .history-stat-icon{display:grid;place-items:center;width:26px;height:26px;min-height:26px;border-radius:8px;background:transparent;color:inherit;flex:none}
.order-history-page #historyStats .history-stat-icon svg{width:22px;height:22px}
.order-history-page #historyStats .history-completed{background:var(--jf-green-soft);color:var(--jf-green)}
.order-history-page #historyStats :is(.history-waiting,.history-progress,.history-review){background:var(--jf-amber-soft);color:var(--jf-amber)}
.order-history-page #historyStats .history-rejected{background:var(--jf-red-soft);color:var(--jf-red)}
.order-history-page #historyStats .history-stat.active{border-color:var(--jf-blue);box-shadow:inset 0 0 0 2px var(--jf-blue)}
.order-history-page #historyStats .history-stat:hover{border-color:var(--jf-blue);transform:none;filter:none}
.order-history-page #historyStats .history-stat:focus-visible{outline:3px solid var(--jf-ui-ring);outline-offset:3px}
@keyframes jfHistoryActiveSpin{to{transform:rotate(360deg)}}
.order-history-page #historyStats .history-progress .history-stat-icon svg{animation:jfHistoryActiveSpin 1.6s linear infinite!important;transform-origin:center;transform-box:fill-box}
@media(max-width:700px){.order-history-page #historyStats{grid-template-columns:repeat(6,96px);gap:8px;margin-bottom:18px}.order-history-page #historyStats .history-stat{min-height:96px;padding:8px 6px;gap:4px;border-radius:12px}.order-history-page #historyStats .history-stat-copy>span{font-size:13px}.order-history-page #historyStats strong{font-size:24px}.order-history-page #historyStats .history-stat-icon{width:22px;height:22px;min-height:22px}.order-history-page #historyStats .history-stat-icon svg{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){.order-history-page #historyStats .history-progress .history-stat-icon svg{animation:none!important}.order-history-page #historyStats .history-stat{transition:none}}

/* Customer status cards match the administrator: white cards, blue counts, tinted icon wells. */
.order-history-page #historyStats{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.order-history-page #historyStats .history-stat{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;aspect-ratio:auto;min-height:92px;padding:14px 12px;background:var(--jf-surface);color:var(--jf-text);border-radius:12px;text-align:left}
.order-history-page #historyStats .history-stat-copy{align-items:flex-start;gap:5px;min-width:0;width:auto;flex:1}
.order-history-page #historyStats .history-stat-copy>span{font-size:14px;line-height:1.45;color:var(--jf-muted)}
.order-history-page #historyStats strong{font-size:28px;color:var(--jf-blue);line-height:1.2}
.order-history-page #historyStats .history-stat-icon{flex:0 0 38px;width:38px;height:38px;min-height:38px;border-radius:11px;background:var(--jf-soft);color:#64748b}
.order-history-page #historyStats .history-stat-icon svg{width:23px;height:23px}
.order-history-page #historyStats .history-completed .history-stat-icon{background:var(--jf-green-soft);color:var(--jf-green)}
.order-history-page #historyStats .history-progress .history-stat-icon{background:#fae6d5;color:#bc6420}
.order-history-page #historyStats .history-review .history-stat-icon{background:var(--jf-amber-soft);color:var(--jf-amber)}
.order-history-page #historyStats .history-rejected .history-stat-icon{background:var(--jf-red-soft);color:var(--jf-red)}
.order-history-page #historyStats .history-stat.active{background:var(--jf-blue-soft);box-shadow:inset 0 0 0 1px var(--jf-blue);border-color:var(--jf-blue)}
html[data-theme=dark] .order-history-page #historyStats .history-progress .history-stat-icon{background:#493222;color:#ffba80}
/* Explicit administrator ownership preserves its layout and filter dispatch. */
.admin-workspace #adminOrderStats .history-stat{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;min-height:86px;background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:12px;padding:14px;cursor:pointer}
.admin-workspace #adminOrderStats .history-stat-copy{display:flex;align-items:baseline;gap:4px;min-width:0;flex-wrap:wrap}
.admin-workspace #adminOrderStats .history-stat-copy>span{color:var(--adm-muted);font-size:14px}
.admin-workspace #adminOrderStats strong{font-size:28px;line-height:1.3;color:var(--adm-blue)}
.admin-workspace #adminOrderStats .history-stat.active{background:var(--adm-blue-soft);border-color:var(--adm-blue)}
.admin-workspace #adminOrderStats .history-stat-icon{flex:none}
.admin-workspace #adminOrderStats .history-progress .history-stat-icon svg{animation:jfHistoryActiveSpin 1.6s linear infinite;transform-origin:center;transform-box:fill-box}
@media(max-width:900px){.order-history-page #historyStats{grid-template-columns:repeat(6,156px)}.order-history-page #historyStats .history-stat{min-height:86px;padding:12px}.order-history-page #historyStats strong{font-size:26px}.order-history-page #historyStats .history-stat-icon{width:34px;height:34px;min-height:34px;flex-basis:34px}}
@media(prefers-reduced-motion:reduce){.admin-workspace #adminOrderStats .history-progress .history-stat-icon svg{animation:none}}

/* Targeted audit of legacy small/pale UI text; identifiers retain their original font family. */
#historyControls .history-filters button,#historyControls .history-type-filter select{font-size:15px}
#historyControls :is(.history-filters>span,.history-type-filter>span),#historyCount,#historyPages{font-size:14px;color:var(--jf-muted)}
#historyCount span,#historyPages span{font-size:inherit;color:inherit}
#historyRows .history-input,.history-batch-table .history-input{font-size:13px;line-height:1.6;color:var(--jf-muted)}
#historyRows .history-service strong{font-size:15px;line-height:1.6}
#historyRows .history-status{font-size:13px}
#historyRows .history-order-id.order-number{font-size:13px}
.order-history-page>.portal-heading .portal-eyebrow{color:var(--jf-muted)}
.home-section .portal-eyebrow{font-size:13px;color:var(--jf-muted)}
.home-hero .hero-examples button{font-size:13px;color:var(--jf-muted)}
.home-category .home-category-list button{font-size:14px;color:var(--jf-text);line-height:1.6}
.home-category .home-category-list button b,.home-popular-row .actual-price{font-size:15px;color:var(--jf-text);font-weight:600}
.home-category .home-category-list .actual-price{font-size:inherit}
#popularSection .home-tabs button,.home-step-copy small{font-size:13px;color:var(--jf-muted)}
#toolbox .toolbox-toggle strong{font-size:15px;color:var(--jf-text)}
#toolbox :is(.toolbox-toggle small,.toolbox-expand,.tip-text){font-size:13px;color:var(--jf-muted);line-height:1.6}
#toolbox :is(.frp-button-grid button,.download-link){font-size:14px;color:var(--jf-text);min-height:42px;line-height:1.5}
#server-status :is(.online,.offline,.subtle-badge){font-size:13px}
#server-status :is(.offline,.section-heading p){color:var(--jf-muted)}
#server-status .section-heading p{font-size:14px;line-height:1.6}
#rechargePage .recharge-benefits{flex-wrap:wrap;gap:12px}
#rechargePage .recharge-benefits strong{font-size:13px;color:var(--jf-text)}
#rechargePage .recharge-balance span,#rechargePage .recharge-footer>span{font-size:13px;color:var(--jf-muted)}
#paymentHistory .ph-status{font-size:13px}
#cryptoCheckout dt{font-size:13px;color:var(--jf-muted)}
body .commerce-footer.compact-footer{font-size:14px!important;color:var(--jf-muted)!important}
body .commerce-footer.compact-footer :is(span,a,summary,small){font-size:14px!important;color:inherit!important}
.admin-workspace :is(.admin-badge,.status-tag){font-size:13px}


/* public/storefront.css */
/* Apply the same layout zoom to guest, customer and administrator views. */
:root {
  zoom: .95 !important;
  --product-mark-w: 92px;
  --product-mark-h: 52px;
  --row-mark-w: 60px;
  --row-mark-h: 36px;
  --jf-text: #142034;
  --jf-muted: #34445b;
  --preview-meta: #604c91;
}
html[data-theme=dark] {
  --jf-text: #f2f6fc;
  --jf-muted: #d2ddec;
  --preview-meta: #d2beff;
}
html:lang(zh-CN) body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

html:lang(zh-CN) :is(.admin-workspace,.admin-modal) { font-family: inherit; }
html:not([data-theme=dark]) :is(.admin-workspace,.admin-modal) { --adm-muted: #34445b; }
html[data-theme=dark] :is(.admin-workspace,.admin-modal) { --adm-muted: #d2ddec; }

#overview .intro-copy > p { color: var(--jf-muted); }
.home-browser .home-demo-service :is(strong,b) { font-size: 14px; font-weight: 600; }
.home-browser .home-demo-service small { color: var(--preview-meta); font-size: 12px; }
.home-browser .home-demo-service.selected strong { color: var(--jf-blue); }
.home-browser :is(.home-mini-search,.home-selected small), .home-browser > footer {
  color: var(--jf-muted); font-size: 12px;
}
#catalog .directory-price .regular-price { color: var(--jf-muted); }
#catalog .member-price-pair.has-discount .actual-price { color: var(--jf-green); }
#historyRows .history-table th { color: var(--jf-muted); font-weight: 650; }
#historyRows :is(.history-input,.history-date small,.history-result,.history-result-key > small) {
  color: var(--jf-text); font-size: 14px; font-weight: 500;
}
#historyRows .history-input:not([data-i18n-original]) { font-family: inherit; }
#historyRows .order-number-distributor { text-shadow: none; }
#historyRows .order-number-distributor::after { opacity: .12; }
#historyRows[aria-busy="true"] { opacity: 1; }

/* Use the existing card tracks, navigation rows, and wrapping shortcut buttons. */
#catalog .directory-card { grid-template-columns: var(--product-mark-w) minmax(0,1fr) auto; }
#catalog .directory-card > .service-tile, #serviceDetail .checkout-service-header .service-tile {
  width: var(--product-mark-w); height: var(--product-mark-h);
  padding: 0 !important; border: 0; background: transparent !important;
}
#supportedTools .home-tools > button > span > img {
  width: var(--product-mark-w); height: 100%;
  max-width: 100%; max-height: var(--product-mark-h); object-fit: contain;
}
#homeToolChips > button { flex: 0 0 auto; max-width: 100%; }
#homeToolChips > button > span { min-width: 0; overflow-wrap: anywhere; }
#homeToolChips img {
  flex: none; width: 42px; height: 28px; object-fit: contain;
}
#popularServices .home-pop-icon, #detailNavigator .detail-nav-service img,
#historyRows .history-service img, .admin-product-cell > div > img {
  flex: none; box-sizing: border-box; width: var(--row-mark-w); height: var(--row-mark-h);
  padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain;
}
#historyRows .history-service strong { min-width: 0; }

@media (max-width: 700px) {
  :root { --product-mark-w: 68px; --product-mark-h: 42px; --row-mark-w: 48px; --row-mark-h: 32px; }
  #catalog .directory-price .member-price-pair { flex-wrap: wrap; }
  #homeToolChips img { width: 36px; height: 26px; }
}
@media (max-width: 480px) {
  #serviceDetail .checkout-service-header { grid-template-columns: var(--product-mark-w) minmax(0,1fr); }
}

/* Transparent logos with dark lettering need a light foreground in night mode. */
html[data-theme=dark] img:is(
  [src$="/7b724d5d52d9a005.png"], [src$="/ddc29d224a250546.png"],
  [src$="/01473636652b190c.webp"], [src$="/0d330e4bef1b0788.png"],
  [src$="/1141ac0e882f2735.png"], [src$="/152e5482ef77ba80.webp"],
  [src$="/454182afb9171eda.webp"], [src$="/63c951b5b8dc8f2d.png"],
  [src$="/6a236686cdd0d5d0.webp"], [src$="/95527651f9b01db8.png"],
  [src$="/972b8fe5183a741b.webp"], [src$="/ae2287d6acb25260.webp"],
  [src$="/ccbb3cd9d8dc6264.webp"], [src$="/cd0f4658604cf95a.webp"]
) { filter: invert(1) hue-rotate(180deg); }

/* Paint the landing backdrop on the full page width, outside the centred content column. */
body:has(#overview.home-hero:not([hidden])) {
  --landing-paper: #f6f8fa;
  background-color: var(--landing-paper);
}
html[data-theme=dark] body:has(#overview.home-hero:not([hidden])) { --landing-paper: #0e1725; }
.workspace:has(> main > #overview.home-hero:not([hidden])) {
  --landing-violet: rgb(162 141 219 / 20%);
  --landing-blue: rgb(104 143 211 / 22%);
  --landing-grid: rgb(84 108 146 / 8%);
  background-color: var(--landing-paper);
  background-image:
    linear-gradient(to bottom, transparent 125px, var(--landing-paper) 540px),
    linear-gradient(to right, var(--landing-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--landing-grid) 1px, transparent 1px),
    radial-gradient(ellipse 35% 245px at 12% 55px, var(--landing-violet), transparent),
    radial-gradient(ellipse 43% 365px at 78% 138px, var(--landing-blue), transparent);
  background-size: auto, 72px 72px, 72px 72px, auto, auto;
}
html[data-theme=dark] .workspace:has(> main > #overview.home-hero:not([hidden])) {
  --landing-violet: rgb(112 77 161 / 20%);
  --landing-blue: rgb(60 114 183 / 24%);
  --landing-grid: rgb(159 184 216 / 8%);
}
#overview.intro { background: transparent; }
#overview.intro::before { content: none; }

/* These panels wrap entire routes; their cards provide the individual surfaces. */
html[data-theme=dark] :is(#catalog, #memberPanel).portal-panel { background-color: transparent; }

/* Bring the tint to zero at both edges of its decorative area. */
#services .home-category::before {
  background: radial-gradient(ellipse 100% 100% at top right, rgb(204 218 245 / 35%), transparent 100%);
}
html[data-theme=dark] #services .home-category::before {
  background: radial-gradient(ellipse 100% 100% at top right, rgb(80 117 168 / 18%), transparent 100%);
}


/* public/balance-actions.css */
/* Only the recharge choices scroll; the operation controls stay in view. */
#portalModal .portal-dialog:has(.balance-action-panel){width:min(1020px,calc(100vw / .95 - 32px));max-width:1020px;max-height:calc(100dvh / .95 - 32px);padding:20px;border-radius:16px;overflow:hidden;scrollbar-gutter:auto}
#portalModal .portal-dialog:has(.balance-action-panel[data-mode=reverse]){height:min(650px,calc(100dvh / .95 - 32px))}
#portalModal .portal-dialog:has(.balance-action-panel[data-mode=deduct]){width:min(640px,calc(100vw / .95 - 32px))}
#portalModalBody:has(>.balance-action-panel){overflow:hidden;scrollbar-gutter:auto;display:flex;min-height:0}
#portalModal .balance-action-panel{width:100%;max-width:none;min-height:0;margin:0;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;color:var(--adm-text,#202630)}
#portalModal .balance-action-panel h3{font-size:19px;line-height:1.4;margin:0 44px 0 0!important;min-height:28px}
#portalModal .balance-action-panel p{overflow-wrap:anywhere;margin:0}
#portalModal .balance-action-customer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;background:var(--adm-surface-soft,#f4f7fb);border:1px solid var(--adm-line,#dce6f2);border-radius:10px;padding:8px 12px}
#portalModal .balance-action-customer p{display:flex;gap:5px;flex-wrap:wrap;font-size:13px;line-height:1.5}
#portalModal .balance-action-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0}
#portalModal .balance-action-tabs button[aria-pressed=true]{background:var(--adm-blue,#3f67ce);color:#fff}
#portalModal .balance-action-hint{font-size:12px;line-height:1.5;color:var(--adm-muted,#526078)}
#portalModal .balance-action-panel .portal-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:20px;min-height:0;flex:1;margin:0}
#portalModal .balance-action-panel[data-mode=deduct] .portal-form{display:block;flex:0 1 auto}
#portalModal .balance-action-selection{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}
#portalModal .balance-action-filter{display:flex;gap:8px;align-items:end;flex-shrink:0}
#portalModal .balance-action-filter label{flex:1;min-width:0;display:flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap}
#portalModal .balance-action-filter select{width:auto;flex:1}
#portalModal .balance-action-filter button{flex-shrink:0}
#portalModal .balance-action-panel :is(input:not([type=radio]),textarea,select){box-sizing:border-box;width:100%;min-width:0;padding:8px 10px;font-size:13px;line-height:1.5}
#portalModal .balance-action-records{display:flex;flex-direction:column;gap:8px;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px}
#portalModal .balance-action-record{display:flex;flex-direction:row;align-items:flex-start;gap:8px;flex-shrink:0;border:1px solid var(--adm-line,#dce6f2);border-radius:9px;padding:9px 10px;cursor:pointer;line-height:1.4}
#portalModal .balance-action-record:has(input:checked){border-color:var(--adm-blue,#3f67ce);background:var(--adm-surface-soft,#f4f7fb)}
#portalModal .balance-action-record:has(input:disabled){cursor:default}
#portalModal .balance-action-record input[type=radio]{width:17px;height:17px;flex:0 0 17px;margin:3px 0 0}
#portalModal .balance-action-record-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
#portalModal .balance-action-record-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 8px}
#portalModal .balance-action-record-top strong{font-size:15px;color:var(--adm-text,#202630)}
#portalModal .balance-action-note{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#portalModal .balance-action-status{color:var(--adm-muted,#526078)}
#portalModal .balance-action-pagination{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-shrink:0;font-size:12px;line-height:1.4}
#portalModal .balance-action-pagination button{min-height:30px;padding:4px 9px}
#portalModal .balance-action-editor{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}
#portalModal .balance-action-editor>label{display:flex;flex-direction:column;gap:5px;line-height:1.4;font-size:13px}
#portalModal .balance-action-editor textarea{height:88px;min-height:0;resize:none}
#portalModal .balance-action-preview{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px;background:var(--adm-surface-soft,#f4f7fb);border:1px solid var(--adm-line,#dce6f2);border-radius:10px;padding:10px 12px;font-size:13px}
#portalModal .balance-action-preview strong{font-size:22px}
#portalModal .balance-action-editor [data-balance-error]:empty{display:none}
#portalModal .balance-action-editor [data-balance-error]{font-size:12px;line-height:1.4;max-height:72px;overflow:auto}
#portalModal .balance-action-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;flex-shrink:0}
#portalModal .balance-action-buttons button{flex:1;min-width:90px;min-height:38px;padding:7px 10px;font-size:13px}
#portalModal .balance-action-buttons [data-balance-retry-same]:not([hidden]){order:-1}
#portalModal .balance-action-buttons:has([data-balance-retry-same]:not([hidden])) button[type=submit]{display:none}
#portalModal .balance-action-panel [hidden]{display:none!important}
.balance-action-confirm p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.8}
.customer-detail-balance-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.balance-action-history-state{display:inline-block;margin-left:8px;color:var(--adm-muted,#526078);font-size:14px}
html[data-theme=dark] #portalModal .balance-action-panel{color:#e2eaf7;--adm-text:#e2eaf7;--adm-muted:#bdcbe0;--adm-surface-soft:#1e2c40;--adm-line:#374a65}
html[data-theme=dark] #portalModal .balance-action-panel :is(input,textarea,select){background:#172338;color:#e2eaf7;border-color:#374a65}
html[data-theme=dark] .balance-action-history-state{color:#bdcbe0}
@media(max-width:760px){
 #portalModal .portal-dialog:has(.balance-action-panel){width:calc(100vw / .95 - 20px);padding:14px;max-height:calc(100dvh / .95 - 20px)}
 #portalModal .portal-dialog:has(.balance-action-panel[data-mode=reverse]){height:calc(100dvh / .95 - 20px)}
 #portalModal .balance-action-panel{gap:8px}
 #portalModal .balance-action-panel h3{font-size:18px;min-height:28px}
 #portalModal .balance-action-customer{padding:6px 9px;gap:2px 8px}
 #portalModal .balance-action-customer p{font-size:12px;line-height:1.4}
 #portalModal .balance-action-tabs button{padding:6px 10px;min-height:32px}
 #portalModal .balance-action-hint{font-size:12px;line-height:1.4}
 #portalModal .balance-action-panel .portal-form{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:10px}
 #portalModal .balance-action-filter{gap:6px}
 #portalModal .balance-action-filter label{display:block;white-space:normal;font-size:12px}
 #portalModal .balance-action-filter label>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #portalModal .balance-action-filter select{width:100%;height:34px;padding:6px 8px}
 #portalModal .balance-action-filter button{padding:6px 8px;min-height:34px}
 #portalModal .balance-action-selection{gap:5px}
 #portalModal .balance-action-records{gap:6px}
 #portalModal .balance-action-record{padding:7px 8px}
 #portalModal .balance-action-pagination{font-size:11px}
 #portalModal .balance-action-pagination button{min-height:28px;padding:3px 7px;font-size:11px}
 #portalModal .balance-action-editor{gap:7px}
 #portalModal .balance-action-editor>label{font-size:12px;gap:3px}
 #portalModal .balance-action-editor textarea{height:52px;padding:6px 8px}
 #portalModal .balance-action-preview{padding:7px 9px;font-size:12px}
 #portalModal .balance-action-preview strong{font-size:18px}
 #portalModal .balance-action-buttons button{min-width:80px;font-size:12px;padding:7px 8px;min-height:36px}
}
/* When a keyboard or landscape viewport leaves little height, keep one outer scroll. */
@media(max-height:480px){
 #portalModalBody:has(>.balance-action-panel){display:block;overflow:auto}
 #portalModal .portal-dialog:has(.balance-action-panel[data-mode=reverse]){height:auto}
 #portalModal .balance-action-panel .portal-form{display:flex;flex-direction:column;flex:none}
 #portalModal .balance-action-records{flex:none;max-height:150px}
}
.ph-reversed{color:#8f351e;background:#fff0e9;border:1px solid #e9b7a7;border-radius:999px;padding:5px 10px;display:inline-block}html[data-theme=dark] .ph-reversed{color:#ffd4bd;background:#482c25;border-color:#82513d}


/* public/csp-assets/membership-dashboard-66deac62a734.css */
.membership-card .membership-spend{font-size:25px;color:#11704b}.membership-thresholds{margin:16px 0;padding:10px 14px;background:#f5f2fb;border-radius:12px}.membership-thresholds p{display:flex;justify-content:space-between;gap:12px;margin:8px 0}.membership-card small{display:block;overflow-wrap:anywhere}.mini-binding-card{padding:24px;border:1px solid #e1e7f0;border-radius:18px;background:var(--card-bg,#fff);margin-bottom:20px}.mini-binding-code{display:block;width:min(300px,100%);height:auto;aspect-ratio:1;margin:12px auto;object-fit:contain}.mini-binding-dialog .mini-binding-hint{font-size:14px;color:#7a668d}.mini-binding-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px))}html[data-theme=dark] .membership-thresholds{background:#302c40}html[data-theme=dark] .mini-binding-card{background:#162130;border-color:#35455a}


/* public/csp-assets/detail-sidebar-58cc84af2a38c3c4.css */
/* Compact service switching list within the customer product detail only. */
#serviceDetail #detailNavigator .detail-nav-tabs{margin:9px;padding:3px;gap:2px}
#serviceDetail #detailNavigator .detail-nav-tabs button{padding:7px 3px;font-size:12px}
#serviceDetail #detailNavigator #detailNavSearch{margin:0 9px 9px;width:calc(100% - 18px);padding:8px 9px;min-height:34px;font-size:12px}
#serviceDetail #detailNavigator .detail-nav-list summary{padding:8px 9px;gap:6px;font-size:11.5px;line-height:1.4}
#serviceDetail #detailNavigator .detail-nav-service{display:grid!important;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:7px;min-height:0!important;padding:8px 9px!important;box-sizing:border-box}
#serviceDetail #detailNavigator .detail-nav-service>img{width:24px!important;height:24px!important;box-sizing:border-box;padding:1px;margin-top:1px}
#serviceDetail #detailNavigator .detail-nav-service>span{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 6px;min-width:0}
#serviceDetail #detailNavigator .detail-nav-service strong{grid-column:1/-1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12.5px!important;line-height:1.4!important;font-weight:550}
#serviceDetail #detailNavigator .detail-nav-service small{display:block;min-width:0;margin:0!important;font-size:10.5px!important;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#serviceDetail #detailNavigator .detail-nav-service .customer-product-code span{display:inline!important}
#serviceDetail #detailNavigator .detail-nav-service>b{font-size:11.5px!important;line-height:1.5;margin:0!important;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:1000px){#serviceDetail #detailNavigator .detail-nav-service{min-height:44px!important}}


/* public/csp-assets/admin-header-45b7cf48ea83f1ec.css */
/* Keep header menus above the fixed administrator workspace. */
body:has(#memberPanel.admin-workspace:not([hidden])){min-height:100dvh}
body:has(#memberPanel.admin-workspace:not([hidden])) .workspace>.topbar{z-index:200!important;overflow:visible!important}
body:has(#memberPanel.admin-workspace:not([hidden])) .language-picker{z-index:1}


/* public/csp-assets/push-settings-43757698343dc2a3.css */
.push-settings{--push-line:var(--line,#dce3ef);--push-muted:var(--muted,#74819b);min-width:0}.push-settings [hidden],.push-mail[hidden]{display:none!important}.push-settings .push-tabs{display:flex;gap:6px;overflow-x:auto;white-space:nowrap;padding:5px;margin:0 0 18px;border:1px solid var(--push-line);border-radius:12px;background:var(--surface,#fff);scrollbar-width:thin}.push-settings .push-tabs button{border:0;background:transparent;color:var(--push-muted);padding:11px 17px;flex:0 0 auto;border-radius:8px;font-weight:650}.push-settings .push-tabs button[aria-selected=true]{background:#e8eeff;color:#2b4dc7;box-shadow:0 1px 4px #244cc415}.push-settings .push-tabs button:focus-visible{outline:2px solid #4b70e0;outline-offset:-2px}.push-settings .push-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start}.push-settings .push-form>.admin-card{margin:0;min-width:0;padding:24px}.push-settings .push-primary{grid-column:span 8}.push-settings .push-delivery{grid-column:span 4}.push-settings .push-brand,.push-settings .push-wa{grid-column:1/-1}.push-settings h2{font-size:19px;line-height:1.4;margin:0 0 10px}.push-settings p{font-size:14px;line-height:1.7;color:var(--push-muted);margin:8px 0 15px}.push-settings .admin-card-heading{align-items:start;gap:12px;margin-bottom:14px}.push-settings .admin-card-heading>div{min-width:0}.push-settings .admin-card-heading p{max-width:650px;margin-bottom:0}.push-settings .push-count{display:inline-grid;place-items:center;min-width:26px;height:24px;margin-left:5px;background:#edf1fa;border-radius:6px;color:#59708e;font-size:12px;vertical-align:middle}.push-settings .push-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.push-settings label{font-size:13px;line-height:1.5;color:inherit;min-width:0}.push-settings label>span:first-child{display:block;margin-bottom:6px;color:var(--push-muted)}.push-settings input{min-width:0;font-size:14px;min-height:42px}.push-settings .push-check{display:flex;align-items:center;gap:8px;margin:0}.push-settings .push-check>span{margin:0!important;color:inherit!important}.push-settings .push-check input{width:17px;height:17px;min-height:0;flex:none;accent-color:#3b62d1}.push-settings .push-add-row{display:grid;grid-template-columns:minmax(190px,1.35fr) minmax(130px,1fr) auto;gap:10px;align-items:end;margin:18px 0 12px}.push-settings .push-add-row button{min-height:42px;white-space:nowrap}.push-settings .push-channel{display:grid;grid-template-columns:20px minmax(140px,1fr) minmax(100px,auto) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--push-line)}.push-settings .push-channel-main input{border:0;border-radius:4px;min-height:28px;padding:3px 6px;background:transparent;width:100%;text-overflow:ellipsis}.push-settings .push-channel-main input:first-child{font-weight:650}.push-settings .push-channel-main input:last-child{color:var(--push-muted);font-size:12px}.push-settings .push-channel-main input:focus{outline:2px solid #4773d4;box-shadow:none}.push-settings .push-channel-state{font-size:12px}.push-settings .push-remove{font-size:12px;padding:6px 10px;color:#a64c54}.push-settings .push-note{font-size:12px;margin-top:16px}.push-settings .push-badge{display:inline-block;white-space:nowrap;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:650}.push-settings .ready{background:#e6f5ee;color:#287658}.push-settings .pending{background:#fff3d8;color:#8c650d}.push-settings .paused{background:#edf0f5;color:#647086}.push-settings small{display:block;color:var(--push-muted);font-size:11px;overflow-wrap:anywhere;margin-top:6px}.push-settings .push-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 18px}.push-settings .push-delivery .push-fields{grid-template-columns:1fr}.push-settings .push-daily{padding-top:16px;margin-top:16px;border-top:1px solid var(--push-line)}.push-settings .push-daily p{font-size:12px}.push-settings summary,.push-mail>summary,.push-source-dialog summary{cursor:pointer;font-weight:650;font-size:14px;padding:10px 0}.push-settings .push-advanced,.push-settings .push-whatsapp{border-top:1px solid var(--push-line);margin-top:16px;padding-top:8px}.push-settings .push-save-row{grid-column:1/-1;display:flex;gap:12px;align-items:center;padding:2px 0 8px}.push-settings .push-save-row button{width:auto;flex:none}.push-settings #pushSaveStatus{flex:1;font-size:13px;color:#287658;min-width:0}.push-settings .push-brand{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:36px;align-items:start}.push-settings .push-brand figure{margin:0}.push-settings .push-brand img{display:block;width:100%;max-height:350px;object-fit:contain;border-radius:10px;background:#071c32}.push-settings figcaption{font-size:11px;color:var(--push-muted);text-align:center;margin-top:8px}.push-settings .push-pipeline{background:#f1f5ff;color:#4664a4;border-radius:8px;font-size:13px;line-height:1.8;padding:12px 16px;margin:18px 0}.push-settings .push-wa .push-add-row{max-width:1000px}.push-settings .push-source-toolbar{display:flex;align-items:center;gap:14px;margin:18px 0 16px}.push-settings .push-source-toolbar>input{flex:1;min-width:180px;max-width:380px}.push-settings .push-filters{display:flex;gap:6px;flex-wrap:wrap}.push-settings .push-filters button{padding:7px 10px;font-size:12px;white-space:nowrap}.push-settings .push-filters button>span:last-child{margin-left:6px;color:var(--push-muted);font-size:11px}.push-settings .push-filters [aria-pressed=true]{background:#e8eeff;border-color:#a6b8ef;color:#2b4dc7}.push-settings .push-table{max-height:540px;overflow:auto}.push-settings .push-table table{width:100%;font-size:13px}.push-settings .push-table th,.push-settings .push-table td{padding:13px 15px;vertical-align:middle}.push-settings .push-table td:first-child{width:27%}.push-settings .push-table td:nth-child(3){max-width:420px;overflow-wrap:anywhere}.push-settings .push-table td:last-child{width:100px}.push-settings .push-jobs table{font-size:13px}.push-settings a{overflow-wrap:anywhere}.push-settings .push-empty{padding:24px;text-align:center;border:1px dashed var(--push-line);border-radius:8px}.push-mail>div{margin-top:18px}.push-source-dialog{max-width:680px}.push-source-dialog .push-check{display:flex;align-items:center;gap:10px}.push-source-dialog .push-check input{width:auto}.push-source-error{color:#b23c49;font-size:13px}.push-settings .push-wa .push-channels{max-width:1100px}[data-theme=dark] .push-settings .ready{background:#1c3c32;color:#90d6b4}[data-theme=dark] .push-settings .pending{background:#443b20;color:#ecd07e}[data-theme=dark] .push-settings .push-tabs{background:#172033}[data-theme=dark] .push-settings .push-tabs [aria-selected=true],[data-theme=dark] .push-settings .push-filters [aria-pressed=true]{background:#233661;color:#b8ccff}[data-theme=dark] .push-settings .push-pipeline{background:#20304b;color:#bad0fa}[data-theme=dark] .push-settings .push-count{background:#28344b;color:#bbcae2}@media(max-width:1150px){.push-settings .push-primary,.push-settings .push-delivery{grid-column:1/-1}.push-settings .push-delivery .push-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.push-settings .push-source-toolbar{align-items:stretch;flex-direction:column}.push-settings .push-source-toolbar>input{max-width:none}}@media(max-width:700px){.push-settings .push-form{gap:12px}.push-settings .push-form>.admin-card{padding:18px}.push-settings .push-add-row{grid-template-columns:minmax(0,1fr) auto}.push-settings .push-add-row label:first-child{grid-column:1/-1}.push-settings .push-fields,.push-settings .push-delivery .push-fields{grid-template-columns:1fr}.push-settings .push-brand{grid-template-columns:1fr;gap:20px}.push-settings .push-brand figure{max-width:230px}.push-settings .push-channel{grid-template-columns:20px minmax(0,1fr) auto;gap:8px}.push-settings .push-channel-state{grid-column:2}.push-settings .push-remove{grid-column:3;grid-row:1/3}.push-settings .push-tabs button{padding:10px 13px}.push-settings .push-save-row{flex-wrap:wrap}.push-settings #pushSaveStatus{order:3;flex-basis:100%}.push-settings .push-table{max-height:450px}.push-settings .push-table table{min-width:650px}}


/* public/csp-assets/catalog-browser-2497553ca670fa79.css */
/* Header menus stay above the workspace; dialogs stay above the header. */
#portalModal.modal{z-index:450!important}
#portalModal .portal-dialog:has(.catalog-browser){z-index:451}
#portalModal .catalog-browser-heading h3{color:#244ac8;font-size:22px}
#portalModal .catalog-browser #catalogBrowserScroll table{font-size:14px;line-height:1.5}
#portalModal .catalog-browser #catalogBrowserScroll th{font-size:13px;color:#244ac8;background:#edf2f8;font-weight:700;padding:14px 16px}
#portalModal .catalog-browser #catalogBrowserScroll td{padding:20px 16px}
#portalModal .catalog-browser #catalogBrowserScroll .admin-product-cell img{width:48px;height:48px;flex-basis:48px;border-radius:10px}
#portalModal .catalog-browser #catalogBrowserScroll .admin-product-cell strong{font-size:15px;line-height:1.55}
#portalModal .catalog-browser #catalogBrowserScroll td small{font-size:12px;margin-top:7px}
#portalModal .catalog-browser #catalogBrowserScroll .catalog-browser-cost strong{color:#244ac8;font-size:17px}
#portalModal .catalog-browser .admin-badge{font-size:13px;font-weight:700;padding:6px 10px;border-radius:8px}
#portalModal .catalog-browser .admin-badge.success{color:#286b4b;background:#dbf2e6}
#portalModal .catalog-browser .admin-badge.muted{color:#687586;background:#edf0f3}
#portalModal #catalogBrowserRefreshStatus{font-size:12px;margin:4px 0 0;color:#576c88;line-height:1.5}
#portalModal #catalogBrowserRefreshStatus:empty{display:none}
#portalModal #catalogBrowserRefreshStatus.portal-error{color:#a62630}
html[data-theme=dark] #portalModal .catalog-browser-heading h3,html[data-theme=dark] #portalModal .catalog-browser #catalogBrowserScroll .catalog-browser-cost strong{color:#a4c2ff}
html[data-theme=dark] #portalModal .catalog-browser #catalogBrowserScroll th{color:#a4c2ff;background:#1c2b40}
html[data-theme=dark] #portalModal .catalog-browser .admin-badge.success{background:#1e4134;color:#a6dfbd}
html[data-theme=dark] #portalModal .catalog-browser .admin-badge.muted{background:#2a3546;color:#bdc7d4}
html[data-theme=dark] #portalModal #catalogBrowserRefreshStatus{color:#b3c0d5}
@media(max-width:700px){#portalModal .catalog-browser #catalogBrowserScroll td{padding:15px 12px}#portalModal .catalog-browser-heading h3{font-size:19px}}



/* public/csp-assets/custom-product-83f4627b1109cff0.css */
#portalModal .custom-product-toolbar-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  white-space: nowrap;
}

dialog.custom-product-dialog {
  --custom-surface: #fff;
  --custom-panel: #f6f8fc;
  --custom-border: #d7e0ed;
  --custom-text: #202d43;
  --custom-muted: #52647e;
  --custom-accent: #294fc1;
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--custom-border);
  border-radius: 20px;
  background: var(--custom-surface);
  color: var(--custom-text);
  box-shadow: 0 24px 80px #1725443d;
  overflow: auto;
}

.custom-product-dialog::backdrop { background: #17254470; }
.custom-product-dialog [hidden] { display: none !important; }
.custom-product-heading, .custom-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
}
.custom-product-heading { border-bottom: 1px solid var(--custom-border); }
.custom-product-heading h3 { margin: 0; font-size: 22px; color: var(--custom-accent); }
.custom-product-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 14px;
  padding: 14px 22px;
}
.custom-product-panel {
  min-width: 0;
  margin: 0;
  padding: 13px;
  background: var(--custom-panel);
  border: 1px solid var(--custom-border);
  border-radius: 12px;
}
.custom-product-panel h4 { margin: 0 0 9px; font-size: 15px; }
.custom-product-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 8px 10px;
}
.custom-product-wide { grid-column: 1 / -1; }
.custom-product-dialog fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.custom-product-dialog label { display: grid; min-width: 0; gap: 4px; font-size: 13px; font-weight: 600; }
.custom-product-dialog :is(input:not([type=checkbox]),select,textarea) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid var(--custom-border);
  border-radius: 8px;
  background: var(--custom-surface);
  color: var(--custom-text);
  font: inherit;
  font-weight: 400;
}
.custom-product-dialog textarea { height: 60px; resize: none; }
.custom-product-help { color: var(--custom-muted); font-size: 12px; line-height: 1.45; margin: 0; }
.custom-product-dialog button {
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--custom-border);
  border-radius: 8px;
  background: var(--custom-surface);
  color: var(--custom-accent);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.custom-product-dialog button.strong { background: var(--custom-accent); color: #fff; border-color: transparent; }
.custom-product-dialog button:disabled { opacity: .5; cursor: default; }
.custom-product-dialog :focus-visible { outline: 2px solid var(--custom-accent); outline-offset: 2px; }
.custom-product-field-tools, .custom-product-pager, .custom-product-buttons { display: flex; align-items: center; gap: 6px; }
.custom-product-field-tools { justify-content: space-between; flex-wrap: wrap; }
.custom-product-pager { font-size: 12px; color: var(--custom-muted); }
.custom-product-field {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(84px,.65fr) auto auto;
  align-items: end;
  gap: 6px;
}
.custom-product-dialog .custom-product-check { display: flex; align-items: center; gap: 5px; }
.custom-product-check input { accent-color: var(--custom-accent); margin: 0; }
.custom-product-field .custom-product-check { min-height: 34px; white-space: nowrap; }
.custom-product-footer {
  position: sticky;
  bottom: 0;
  background: var(--custom-surface);
  border-top: 1px solid var(--custom-border);
}
.custom-product-buttons { flex: 0 0 auto; }
.custom-product-dialog .portal-error { color: #c02e3f; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.custom-product-dialog .portal-error:empty { display: none; }
html[data-theme=dark] dialog.custom-product-dialog {
  --custom-surface: #192637;
  --custom-panel: #142032;
  --custom-border: #475b77;
  --custom-text: #e5eefc;
  --custom-muted: #bdcce2;
  --custom-accent: #a9c5ff;
  color-scheme: dark;
}
html[data-theme=dark] .custom-product-dialog button.strong { color: #182b48; }
html[data-theme=dark] .custom-product-dialog .portal-error { color: #ffadb9; }

@media (max-width: 780px) {
  dialog.custom-product-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); margin: auto; }
  .custom-product-columns { grid-template-columns: 1fr; padding: 10px 12px; }
  .custom-product-heading, .custom-product-footer { padding: 10px 12px; flex-wrap: wrap; }
  .custom-product-dialog :is(input:not([type=checkbox]),select,textarea) { font-size: 16px; }
}


/* public/csp-assets/catalogue-features-0eb8d644de0f0a65.css */
.product-category-picker { position: relative; min-width: 0; }
.product-category-picker > label { position: relative; }
.product-category-picker input { padding-inline-end: 40px !important; }
.product-category-picker .product-category-toggle {
  position: absolute; inset-inline-end: 5px; bottom: 4px;
  min-height: 28px; padding: 2px 9px; border: 0; background: transparent;
}
.product-category-menu {
  position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 4px);
  max-height: 200px; overflow: auto; padding: 5px;
  display: grid; gap: 3px;
  border: 1px solid #c3d0e3; border-radius: 9px; background: #fff;
  color: #202d43; box-shadow: 0 7px 22px #17254424;
}
.product-category-menu[hidden] { display: none; }
.product-category-menu button { text-align: start; overflow-wrap: anywhere; }
.product-category-menu span { padding: 8px; }
.category-management-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.product-category-create { margin-inline-end: 10px; margin-bottom: 8px; }
#adminWorkspaceContent:has(#adminCategorySubmenu:not([hidden])) > .product-category-create { display: none; }
dialog.category-members-dialog { width: min(640px, calc(100vw - 25px)); }
.category-members-body { padding: 0 22px 15px; }
.category-members-results {
  max-height: min(370px,42dvh); overflow: auto; margin-block: 10px;
  border: 1px solid var(--custom-border); border-radius: 8px;
}
.category-members-results label { padding: 8px; border-bottom: 1px solid var(--custom-border); }
.category-members-results label:last-child { border-bottom: 0; }
.category-members-results label strong { overflow-wrap: anywhere; }
.category-members-results label small { margin-inline-start: auto; text-align: end; color: var(--custom-muted); }
.category-members-results p { padding-inline: 8px; }
.category-members-navigation { display: flex; justify-content: space-between; align-items: center; }
html[data-theme=dark] .product-category-menu { background: #192637; border-color: #475b77; color: #e5eefc; }


/* public/csp-assets/hant-font-clarity-91e3dcd538a79351.css */
/* Match the established Simplified Chinese stroke clarity, including admin views. */
html:lang(zh-Hant)[data-language="zh-Hant"] body {
  font-family: "Segoe UI", "PingFang TC", "Microsoft YaHei UI", "Microsoft YaHei", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", sans-serif;
  font-synthesis: weight style;
}
html:lang(zh-Hant)[data-language="zh-Hant"] :is(.admin-workspace,.admin-modal) {
  font-family: inherit;
  font-synthesis: weight style;
}
html:lang(zh-Hant)[data-language="zh-Hant"] :is(button,input,select,textarea) {
  font-family: inherit;
}


/* public/search-focus-20261119.css */
/* The icon and text field share one focus indicator. */
:is(.history-search, .hero-search) > input[type="search"],
:is(.history-search, .hero-search) > input[type="search"]:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

:is(.history-search, .hero-search):has(> input:focus) {
  border-color: var(--jf-ui-ring, #4977cf) !important;
  outline: 1px solid var(--jf-ui-ring, #4977cf);
  outline-offset: -1px;
  box-shadow: none !important;
}

@media (forced-colors: active) {
  :is(.history-search, .hero-search):has(> input:focus) {
    outline-color: Highlight;
  }
}


/* public/site-search-focus-20261119.css */
/* Standalone search fields use their existing border for focus. */
input:is([type="search"], [id*="search" i], [role="searchbox"], [placeholder*="搜索"], [placeholder*="搜尋"], [placeholder*="关键词"]):not(:where(.hero-search, .history-search, .quick-search) > input):focus {
  outline: 0 !important;
  box-shadow: none !important;
  border: 1px solid var(--jf-ui-ring, #4977cf) !important;
}

/* The search icon and text share the wrapper's focus indicator. */
.quick-search:has(input:focus) {
  outline: 2px solid var(--jf-ui-ring, #4977cf);
  outline-offset: -2px;
  box-shadow: none !important;
}

.quick-search input:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

@media (forced-colors: active) {
  input:is([type="search"], [id*="search" i], [role="searchbox"], [placeholder*="搜索"], [placeholder*="搜尋"], [placeholder*="关键词"]):not(:where(.hero-search, .history-search, .quick-search) > input):focus {
    border-color: Highlight !important;
  }
  .quick-search:has(input:focus) { outline-color: Highlight; }
}


/* public/search-toolbar-surface-20261119.css */
/* Keep sticky controls legible as results scroll beneath them. */
body {
  --search-toolbar-surface: #edf2f8;
}

html[data-theme="dark"] body {
  --search-toolbar-surface: #0e1725;
}

#catalog .catalog-filters,
.order-history-page .history-controls {
  background: var(--search-toolbar-surface) !important;
  box-shadow: none !important;
  backdrop-filter: none;
}


/* public/csp-assets/catalog-product-nav-fab45710432a499a.css */
#catalog .category-sidebar.catalogue-product-sidebar {
  padding: 0;
}
#catalog .catalogue-product-sidebar .catalog-sidebar-head {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#catalog .catalogue-product-sidebar .detail-nav-tabs {
  margin: 9px;
  padding: 3px;
  gap: 2px;
}
#catalog .catalogue-product-sidebar .detail-nav-tabs button {
  display: block;
  width: auto;
  padding: 7px 3px;
  text-align: center;
  font-size: 12px;
}
#catalog .catalogue-product-sidebar .catalog-group-search {
  width: calc(100% - 18px);
  margin: 0 9px 9px;
}
#catalog .catalogue-product-sidebar .detail-nav-list {
  min-height: 0;
  max-height: none;
}
#catalog .catalogue-nav-group summary { padding: 8px 9px; font-size: 12px; }
#catalog .catalogue-product-sidebar .detail-nav-service {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: start;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 0;
}
#catalog .catalogue-product-sidebar .detail-nav-service img { width: 24px; height: 24px; padding: 0; }
#catalog .catalogue-nav-product {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  gap: 3px 5px;
}
#catalog .catalogue-nav-product strong {
  grid-column: 1 / -1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 12.5px;
}
#catalog .catalogue-nav-product small {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.5px;
}
#catalog .catalogue-product-sidebar .detail-nav-service > b {
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  font-size: 11.5px;
  font-weight: 650;
}
@media (min-width: 801px) {
  #catalog .catalog-switcher { display: none; }
}


/* public/csp-assets/mobile-header-2308208cfa672f27.css */
.mobile-service-nav { display: none; }
@media (max-width: 800px) {
 .topbar {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  grid-template-rows: 48px 42px;
  gap: 0 6px;
  height: 100px;
  padding: 4px 10px 6px;
  box-sizing: border-box;
  align-items: center;
 }
 .topbar .brand { width: 32px; min-width: 0; padding: 0; gap: 0; margin: 0; }
 .topbar .brand img { width: 32px; height: 32px; object-fit: contain; }
 .topbar .brand > span { display: none; }
 .topbar .desktop-nav { display: none; }
 .topbar .topbar-right {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  width: auto;
  min-width: 0;
  margin: 0;
  height: 44px;
 }
 .topbar .topbar-right > * { grid-area: auto; flex: 0 0 auto; }
 .topbar :is(#themeToggle,#dashboardButton,#headerLogout,#menuButton) {
  width: 34px;
  height: 38px;
  min-height: 38px;
  padding: 6px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 9px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 23px;
 }
 .topbar [hidden] { display: none !important; }
 .topbar #dashboardButton > span { display: none; }
 .topbar #dashboardButton svg,.topbar #headerLogout svg { width: 22px; height: 22px; margin: 0; }
 .topbar .topbar-right > .icon-button:not(#menuButton) { display: none; }
 .topbar #languageCaption { display: none; }
 .topbar #languageToggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  width: 45px;
  min-width: 0;
  height: 38px;
  padding: 4px;
  box-sizing: border-box;
 }
 .topbar #languageFlag { width: 20px; height: 15px; }
 .topbar #memberButton,.topbar #memberButton.wallet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 118px;
  min-width: 0;
  min-height: 38px;
  height: 38px;
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  gap: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
 }
 .topbar #memberButton.wallet-button > svg { display: none; }
 .topbar #memberButton.wallet-button > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  line-height: 1.2;
 }
 .topbar .mobile-service-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  width: 100%;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  overflow: visible;
  position: static;
  align-self: stretch;
  align-items: center;
 }
 .mobile-service-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 36px;
  padding: 0 3px;
  border: 1px solid #d5dfef;
  background: #f3f6fb;
  color: #334d72;
  border-radius: 9px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  box-sizing: border-box;
 }
 .mobile-service-nav a.current { color: #fff; background: #284dc7; border-color: #284dc7; }
 #mobileNav { top: 100px; }
 #catalog .catalog-switcher { display: none; }
 #catalog .catalog-filters,.order-history-page .history-controls,.admin-browse-toolbar,.admin-product-toolbar { top: 100px; }
 html[data-theme=dark] .mobile-service-nav a { background: #23354d; color: #d4e4fa; border-color: #455c7b; }
 html[data-theme=dark] .mobile-service-nav a.current { background: #365cce; border-color: #6687e3; color: #fff; }
}
@media (max-width: 359px) {
 .topbar { padding-inline: 7px; gap: 0 3px; }
 .topbar .topbar-right { gap: 2px; }
 .topbar :is(#themeToggle,#dashboardButton,#headerLogout,#menuButton) { width: 30px; padding: 5px; }
 .topbar #memberButton.wallet-button { max-width: 91px; padding-inline: 5px; font-size: 11px; }
}

@media(max-width:800px){#catalog .catalog-filters select#catalogGroup{display:none!important}}

 #mobileNavBackdrop,.mobile-drawer-heading { display:none; }
@media(max-width:800px) {
 .topbar {
  grid-template-columns: 42px minmax(0,1fr);
  grid-template-rows: 56px 44px;
  height: 112px;
  padding: 5px 12px 7px;
  column-gap: 9px;
 }
 .topbar .brand,.topbar .brand img { width:42px; height:42px; }
 .topbar .topbar-right { height:44px; gap:6px; }
 .topbar #headerLogout { display:none!important; }
 .topbar :is(#themeToggle,#menuButton) { width:36px; height:40px; min-height:40px; }
 .topbar #dashboardButton {
  width:40px; height:40px; min-height:40px;
  border-radius:12px; padding:8px;
 }
 .topbar #dashboardButton svg { width:24px; height:24px; }
 .topbar #languageToggle { width:44px; height:40px; border-radius:12px; }
 .topbar #memberButton,.topbar #memberButton.wallet-button {
  height:40px; min-height:40px; max-width:150px;
  border-radius:12px; padding:7px 11px;
  font-size:14px; font-weight:650;
 }
 .topbar #memberButton.wallet-button > span { font-size:13px; font-weight:650; }
 .topbar .mobile-service-nav {
  height:44px; min-height:44px; padding:3px;
  gap:4px; border-radius:12px; background:#edf2f8;
  box-sizing:border-box;
 }
 .topbar .mobile-service-nav a {
  height:38px; font-size:13px;
  border:0; border-radius:9px; background:transparent;
 }
 .topbar .mobile-service-nav a.current { background:#284dc7; color:white; }
 #mobileNav {
  position:fixed; inset:0 0 0 auto; top:0;
  display:flex; flex-direction:column; gap:4px;
  width:min(340px,86vw); max-width:100%; height:auto; max-height:none;
  margin:0; padding:14px 16px max(20px,env(safe-area-inset-bottom));
  box-sizing:border-box; overflow-y:auto; overscroll-behavior:contain;
  background:#fff; border:0; border-left:1px solid #dce4ef;
  border-radius:20px 0 0 20px; box-shadow:-16px 0 50px #162a4726;
  z-index:1002;
 }
 #mobileNav[hidden] { display:none; }
 #mobileNavBackdrop:not([hidden]) {
  display:block; position:fixed; inset:0; width:auto; height:auto;
  margin:0; padding:0; border:0; border-radius:0;
  background:#13233d66; backdrop-filter:blur(3px); z-index:1001;
 }
 body:has(#mobileNav:not([hidden])) { overflow:hidden; }
 #mobileNav .mobile-drawer-heading {
  display:flex; align-items:center; justify-content:space-between;
  padding:4px 0 18px; margin-bottom:10px; border-bottom:1px solid #dce4ef;
 }
 .mobile-drawer-brand { display:flex; align-items:center; gap:9px; color:#254bc1; font-weight:750; font-size:18px; }
 .mobile-drawer-brand img { width:36px; height:36px; object-fit:contain; }
 #mobileNav .mobile-drawer-close { width:40px; min-height:40px; padding:0; border:0; border-radius:10px; font-size:25px; color:#415875; background:#eef3fa; }
 #mobileNav > a,#mobileNav > button {
  display:flex; align-items:center; justify-content:flex-start;
  min-height:48px; margin:0; padding:12px 14px;
  border:0; border-radius:10px; background:transparent;
  color:#263b58; text-decoration:none; font:inherit; font-size:16px;
  text-align:start; box-sizing:border-box;
 }
 #mobileNav > a:hover,#mobileNav > button:hover { background:#edf3fc; }
 #mobileNav #mobileLogout {
  display:flex; align-items:center; gap:9px;
  width:100%; min-height:44px; padding:12px 16px;
  margin-top:6px; border:0; border-top:1px solid #dce4ef;
  color:#b43e48; background:transparent; text-align:start; font:inherit;
 }
 #mobileNav #mobileLogout[hidden] { display:none; }
 #mobileLogout svg { width:20px; height:20px; flex-shrink:0; }
 #catalog .catalog-filters,.order-history-page .history-controls,.admin-browse-toolbar,.admin-product-toolbar { top:112px; }
 html[data-theme=dark] .topbar .mobile-service-nav { background:#1d3047; }
 html[data-theme=dark] .topbar .mobile-service-nav a { background:transparent; color:#d4e4fa; }
 html[data-theme=dark] .topbar .mobile-service-nav a.current { background:#365cce; color:white; }
 html[data-theme=dark] #mobileNav #mobileLogout { border-color:#455c7b; color:#f6a5ad; }
 html[data-theme=dark] #mobileNav { background:#182637; border-color:#455c7b; }
 html[data-theme=dark] #mobileNav > a,html[data-theme=dark] #mobileNav > button { color:#dfebfb; }
 html[data-theme=dark] #mobileNav > a:hover,html[data-theme=dark] #mobileNav > button:hover { background:#253c56; }
 html[data-theme=dark] #mobileNav .mobile-drawer-heading { border-color:#455c7b; }
 html[data-theme=dark] .mobile-drawer-brand { color:#b2c9ff; }
}
@media(max-width:359px) {
 .topbar { padding-inline:8px; column-gap:6px; }
 .topbar .topbar-right { gap:3px; }
 .topbar :is(#themeToggle,#menuButton) { width:30px; padding:4px; }
 .topbar #languageToggle { width:38px; }
 .topbar #dashboardButton { width:36px; padding:6px; }
 .topbar #memberButton,.topbar #memberButton.wallet-button { font-size:12px; padding-inline:7px; }
}


/* public/csp-assets/mobile-reference-14f6a49e879fae9c.css */
.drawer-dashboard,.drawer-theme,.drawer-languages,.drawer-account { display:none; }
@media(max-width:800px) {
 .topbar {
  height:64px; min-height:64px; display:flex; justify-content:space-between;
  padding:8px 15px; gap:10px;
 }
 .topbar .brand { display:flex; width:auto; height:40px; gap:7px; flex:0 1 auto; }
 .topbar .brand img { width:34px; height:34px; }
 .topbar .brand > span { display:block; font-size:20px; line-height:1; white-space:nowrap; }
 .topbar .brand small { display:none; }
 .topbar .topbar-right { flex:0 0 auto; justify-content:flex-end; gap:10px; }
 .topbar .topbar-right > .language-picker,.topbar #headerLogout { display:none!important; }
 .topbar .topbar-right > .icon-button:not(#menuButton) {
  display:inline-flex; width:38px; height:40px; padding:5px;
  align-items:center; justify-content:center; font-size:28px;
 }
 .topbar #menuButton { width:38px; height:40px; font-size:25px; }
 .topbar .mobile-service-nav { display:none; }
 #mobileNav { width:min(360px,90vw); padding:16px 18px max(20px,env(safe-area-inset-bottom)); }
 #mobileNav .drawer-dashboard,#mobileNav .drawer-theme,
 #mobileNav .drawer-languages,#mobileNav .drawer-account { display:block; }
 #mobileNav > a,#mobileNav > button,#mobileNav #dashboardButton,#mobileNav #themeToggle {
  display:flex; align-items:center; gap:12px;
  min-height:48px; width:100%; height:auto; padding:12px;
  border:0; border-radius:10px; background:transparent;
  font-size:16px; color:inherit; text-align:start;
  font-family:inherit; box-sizing:border-box;
 }
 #mobileNav :is(#dashboardButton,#themeToggle) svg,#mobileNav > a svg,#mobileNav > button svg {
  width:22px; height:22px; flex:0 0 22px; margin:0;
 }
 #mobileNav #dashboardButton > span { display:inline; }
 #mobileNav .drawer-theme { border-top:1px solid #dce4ef; margin-top:8px; padding-top:8px; }
 #mobileNav .drawer-languages { margin:8px 0 16px; }
 .drawer-languages > p { margin:8px 12px; font-size:13px; color:#73829a; }
 .drawer-language-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
 #mobileNav .drawer-language-grid button {
  display:flex; align-items:center; gap:8px; min-width:0; min-height:42px;
  padding:8px 5px; border:0; border-radius:9px; background:transparent; color:inherit; font:inherit; text-align:start; font-size:12px;
 }
 .drawer-language-grid button img { width:21px; height:16px; object-fit:contain; }
 .drawer-language-grid button span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 #mobileNav .drawer-language-grid button.current { background:#e9efff; color:#264ec1; }
 .drawer-account { margin-top:auto; padding-top:14px; border-top:1px solid #dce4ef; }
 #mobileNav #memberButton {
  display:flex; align-items:center; justify-content:center; gap:9px;
  width:100%; min-height:46px; max-width:none;
  border-radius:12px; padding:11px; background:#284dc7; border:0; color:white; font-size:16px;
 }
 #mobileNav #memberButton.wallet-button { background:#18744e; }
 #mobileNav #memberButton svg { width:22px; height:22px; }
 #mobileNav #mobileLogout { margin-top:10px; }
 #catalog .catalog-filters,.order-history-page .history-controls,.admin-browse-toolbar,.admin-product-toolbar { top:64px; }
 html[data-theme=dark] #mobileNav .drawer-theme,html[data-theme=dark] .drawer-account { border-color:#455c7b; }
 html[data-theme=dark] #mobileNav .drawer-language-grid button.current { color:#c4d6ff; background:#2d4569; }
}
@media(max-width:359px) { .drawer-language-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }


/* public/csp-assets/mobile-pages-93d57a7f61e1f176.css */
.mobile-home-register,#mobileCatalogCategories,.mobile-catalog-intro,.mobile-category-backdrop,.mobile-category-sheet-header { display:none; }
@media(max-width:800px) {
 body:not(:has(#memberPanel.admin-workspace:not([hidden]))) main { padding-inline:16px; }
 #overview.home-hero { display:block; min-height:0; padding:40px 0 30px; }
 #overview.home-hero .intro-copy { max-width:none; }
 #overview .hero-pill { display:inline-flex; min-height:30px; box-sizing:border-box; padding:6px 11px; margin:0 0 24px; font-size:13px; }
 #overview.home-hero h1 { margin:0 0 20px; font-size:34px; font-weight:750; line-height:1.2; letter-spacing:-.025em; text-align:start; text-wrap:initial; }
 #overview.home-hero h1 > span:not(.home-headline-dash) { display:block; }
 #overview.home-hero h1 .home-headline-dash { display:none; }
 #overview.home-hero .intro-copy > p { margin:0 0 28px; font-size:16px; line-height:1.7; }
 #overview .hero-search { height:52px; min-height:52px; margin:0; padding:0 15px; box-sizing:border-box; border-radius:28px; }
 #overview .hero-search input { font-size:16px; min-width:0; }
 #overview .hero-examples { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:12px 0 30px; font-size:13px; }
 #overview .hero-examples button { padding:6px 11px; min-height:30px; font-size:13px; }
 #overview .hero-actions { display:grid; grid-template-columns:1fr; gap:10px; margin:0; }
 #overview .hero-actions .mobile-home-register {
  display:flex; justify-content:center; align-items:center; gap:12px;
  width:100%; min-height:46px; margin:0; padding:11px 20px;
  border:0; border-radius:24px; background:#284dc7; color:#fff; font:inherit; font-weight:700; font-size:16px;
 }
 #overview .hero-actions > a.home-primary { display:flex; justify-content:center; align-items:center; min-height:46px; padding:11px 20px; border:1px solid #bfcde0; border-radius:24px; background:transparent; color:var(--jf-text,#24364f); font-size:16px; }
 #overview .hero-actions .home-driver-button { display:none; }
 body:has(#memberButton.wallet-button) #overview .mobile-home-register { display:none; }
 body:has(#memberButton.wallet-button) #overview .hero-actions > a.home-primary { color:white; background:#284dc7; border-color:#284dc7; }
 #overview .hero-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:23px 0 0; margin:30px 0 0; border-top:1px solid #d3dce8; align-items:start; }
 #overview .hero-stats > span { display:block; min-width:0; font-size:12px; line-height:1.6; white-space:normal; }
 #overview .hero-stats strong { font-size:18px; font-weight:750; margin-right:4px; }
 #overview .home-hero-demo { width:100%; margin:28px 0 0; }
 #overview .home-hero-demo > h3 { display:none; }
 #overview .home-stages { gap:8px; margin:0 0 18px; }
 #overview .home-stages button { display:flex; flex-direction:column; align-items:flex-start; gap:7px; padding:0; font-size:12px; }
 #overview .home-stages button > i { width:100%; height:3px; border-radius:3px; }
 #overview .home-browser { border-radius:14px; margin:0; }
 #overview .home-browser-body { min-height:230px; padding:16px; }
 #overview .home-browser > header { padding:12px 16px; }
 #catalog { padding-top:32px; }
 #catalog .portal-heading { text-align:center; display:block; margin:0 0 25px; }
 #catalog .portal-heading > div { width:100%; text-align:center; }
 #catalog .portal-heading .portal-eyebrow { display:none; }
 #catalog .portal-heading h2 { display:block; font-size:30px; line-height:1.25; margin:0; text-align:center; }
 #catalog .mobile-catalog-intro { display:block; margin:12px 0 0; font-size:15px; line-height:1.6; color:var(--jf-muted,#667890); }
 #catalog .catalog-results { display:flex; flex-direction:column; min-width:0; }
 #catalog .catalog-filters { position:static; margin:0 0 16px; padding:0; box-shadow:none; background:none; backdrop-filter:none; }
 #catalog #catalogSearch { height:50px; border-radius:25px; font-size:16px; padding:12px 16px; box-sizing:border-box; }
 #catalog .catalog-switcher { display:flex; position:static; margin:0 0 16px; justify-content:center; }
 #catalog .catalog-switcher .catalog-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px; width:100%; margin:0; padding:4px; border-radius:24px; box-sizing:border-box; border:1px solid #cbd7e6; background:transparent; }
 #catalog .catalog-tabs button { white-space:normal; font-size:13px; min-height:38px; padding:8px 6px; border-radius:20px; }
 #catalog .catalog-tabs button.active { background:#fff; color:#284dc7; box-shadow:0 2px 6px #2034520a; }
 #mobileCatalogCategories { display:block; margin:0 0 22px; border:1px solid #cbd7e6; border-radius:12px; background:#fff; }
 #mobileCatalogCategories > summary { list-style:none; display:grid; grid-template-columns:minmax(0,1fr) auto 20px; align-items:center; gap:10px; min-height:70px; padding:13px 15px; box-sizing:border-box; cursor:pointer; }
 #mobileCatalogCategories > summary::-webkit-details-marker { display:none; }
 #mobileCatalogCategories summary small { display:block; color:#78879b; margin-bottom:4px; font-size:12px; }
 #mobileCatalogCategories summary strong { font-size:16px; overflow-wrap:anywhere; }
 #mobileCatalogCategories summary b { border-radius:20px; background:#f0f3f7; color:#5a6b83; padding:3px 9px; font-size:13px; }
 #mobileCatalogCategories summary > i { font-style:normal; color:#78879b; transition:transform .15s; text-align:center; }
 #mobileCatalogCategories[open] summary > i { transform:rotate(180deg); }
 body.mobile-category-open { overflow:hidden; }
 #mobileCatalogCategories[open] .mobile-category-backdrop { display:block; position:fixed; inset:0; z-index:1200; background:#18253780; backdrop-filter:blur(3px); }
 #mobileCatalogCategories[open] .mobile-category-sheet { display:flex; flex-direction:column; position:fixed; inset:15dvh 0 0; z-index:1201; background:#fff; border-radius:18px 18px 0 0; box-shadow:0 -12px 40px #12234020; padding-bottom:env(safe-area-inset-bottom,0px); }
 .mobile-category-sheet-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px; border-bottom:1px solid #e2e8f1; }
 #catalog .mobile-category-sheet-header strong { font-size:17px; }
 #catalog .mobile-category-close { border:0; background:#edf2f9; color:#5a6b83; border-radius:50%; width:34px; height:34px; font-size:23px; padding:0; }
 .mobile-category-options { overflow:auto; min-height:0; padding:8px 10px 16px; }
 #catalog .mobile-category-options button { display:flex; justify-content:space-between; align-items:center; gap:10px; width:100%; border:0; background:transparent; text-align:start; padding:12px 10px; color:inherit; font:inherit; font-size:14px; border-radius:7px; }
 #catalog .mobile-category-options button.current { color:#284dc7; background:#edf2fc; }
 #catalog .mobile-category-options b { flex-shrink:0; font-size:12px; font-weight:500; color:#78879b; }
 #catalog #catalogCount { display:none; }
 #catalog .directory-group { margin:8px 0 12px; padding:0 2px 10px; border-bottom:1px solid #d3dce8; font-size:13px; font-weight:650; line-height:1.5; }
 #catalog .directory-group span { font-weight:400; color:#7c8ba0; margin-left:5px; }
 #catalog .catalog-list { gap:12px; }
 #catalog .directory-card { grid-template-columns:50px minmax(0,1fr) auto; gap:11px; min-height:94px; border-radius:12px; padding:14px 12px; align-items:center; }
 #catalog .service-tile,#catalog .service-tile img { width:50px; height:50px; }
 #catalog .directory-copy strong { font-size:14px; line-height:1.4; font-weight:650; }
 #catalog .directory-copy > .customer-product-code { display:none; }
 #catalog .directory-copy > small:last-child { margin-top:7px; color:#287f63; font-size:12px; }
 #catalog .directory-price { font-size:16px; max-width:90px; line-height:1.4; }
 #catalog .directory-price > small { display:none; }
 #catalog .member-price-pair { flex-direction:column; gap:2px; align-items:flex-end; }
 html[data-theme=dark] #catalog .catalog-tabs button.active,html[data-theme=dark] #mobileCatalogCategories { background:#1d2d43; color:#d5e5fb; border-color:#455a78; }
 html[data-theme=dark] #mobileCatalogCategories summary b { background:#2b405b; color:#c5d4e9; }
 html[data-theme=dark] .mobile-category-options { border-color:#455a78; }
 html[data-theme=dark] #mobileCatalogCategories[open] .mobile-category-sheet { background:#1d2d43; color:#d5e5fb; }
 html[data-theme=dark] #catalog .mobile-category-options button.current { background:#293f61; color:#c4d6ff; }
}


/* public/csp-assets/customer-entry-ad01e28e9a7a09f1.css */
/* Compact category controls and keep each product in its own grid column. */
#catalog .directory-card { min-width:0; }
#catalog .directory-card > .service-tile { grid-column:1; grid-row:1; flex-shrink:0; overflow:hidden; isolation:isolate; }
#catalog .directory-card > .service-tile img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
#catalog .directory-card > .directory-copy { grid-column:2; grid-row:1; min-width:0; max-width:100%; margin:0; text-align:start; }
#catalog .directory-copy strong { white-space:normal; overflow-wrap:anywhere; word-break:normal; margin:0; }
#catalog .directory-card > .directory-price { grid-column:3; grid-row:1; min-width:0; max-width:100%; }
.customer-auth-actions { display:flex; align-items:center; gap:8px; }
.customer-auth-actions[hidden],#memberButton[hidden],.drawer-account[hidden] { display:none!important; }
.topbar .customer-auth-actions button { min-height:38px; padding:8px 16px; border:1px solid #cbd8eb; border-radius:22px; background:transparent; color:inherit; font:inherit; font-size:14px; white-space:nowrap; cursor:pointer; }
.topbar .customer-auth-actions .auth-register { background:#284dc7; color:#fff; border-color:#284dc7; }
#mobileNav .customer-auth-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding-top:14px; margin-top:auto; border-top:1px solid #dce4ef; }
#mobileNav .customer-auth-actions button { width:100%; text-align:center; min-height:46px; padding:10px; background:#edf2f9; color:inherit; border:0; font:inherit; border-radius:24px; }
#mobileNav .customer-auth-actions .auth-register { background:#284dc7; color:white; }
html[data-theme=dark] .customer-auth-actions button { border-color:#536783; }
html[data-theme=dark] #mobileNav .customer-auth-actions { border-color:#455c7b; }
html[data-theme=dark] #mobileNav .customer-auth-actions button { background:#293d58; }
html[data-theme=dark] #mobileNav .customer-auth-actions .auth-register { background:#284dc7; }
@media(max-width:800px){
 #catalog { padding-top:20px; }
 #catalog .portal-heading { margin-bottom:16px; }
 #catalog .mobile-catalog-intro { margin-top:8px; }
 #catalog .catalog-filters,#catalog .catalog-switcher { margin-bottom:10px; }
 #mobileCatalogCategories { margin-bottom:6px; }
 #mobileCatalogCategories > summary { min-height:46px; padding:8px 12px; gap:8px; }
 #mobileCatalogCategories summary > span { display:flex; align-items:center; gap:8px; min-width:0; }
 #mobileCatalogCategories summary small { flex:0 0 auto; margin:0; font-size:12px; }
 #mobileCatalogCategories summary strong { font-size:14px; line-height:1.4; }
 #catalog #catalogList { margin-top:0; gap:8px; }
 #catalog .directory-group { margin:4px 0 0; padding:5px 1px 6px; line-height:1.4; }
 #catalog .directory-card { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; min-height:82px; padding:12px; align-items:center; }
 #catalog .directory-card .service-tile,#catalog .directory-card .service-tile img { width:44px; height:44px; }
 #catalog .directory-price { max-width:84px; font-size:15px; }
 .topbar .customer-auth-actions { gap:5px; }
 .topbar .customer-auth-actions button { min-height:36px; padding:7px 11px; font-size:13px; }
 .topbar:has(#headerAuthActions:not([hidden])) .brand { gap:5px; min-width:0; }
 .topbar:has(#headerAuthActions:not([hidden])) .brand > span { font-size:18px; }
 .topbar:has(#headerAuthActions:not([hidden])) .topbar-right { gap:5px; }
 .topbar:has(#headerAuthActions:not([hidden])) .topbar-right > .icon-button:not(#menuButton) { display:none; }
 .topbar .customer-auth-actions[hidden] { display:none; }
}
@media(max-width:359px){
 .topbar:has(#headerAuthActions:not([hidden])) { padding-inline:10px; gap:6px; }
 .topbar:has(#headerAuthActions:not([hidden])) .brand img { width:26px; height:26px; }
 .topbar:has(#headerAuthActions:not([hidden])) .brand > span { font-size:16px; }
 .topbar .customer-auth-actions button { padding:7px 9px; font-size:12px; }
 .topbar:has(#headerAuthActions:not([hidden])) #menuButton { width:30px; }
}


/* public/csp-assets/customer-auth-pages-dbe3522d1f252be3.css */
/* Account forms share a page layout beneath the real site navigation. */
#portalModal:has(.customer-auth-screen){inset:var(--customer-auth-header-height,64px) 0 0;z-index:110;align-items:flex-start;padding:0;background:var(--bg,#f3f6fa);backdrop-filter:none;overflow-y:auto;overscroll-behavior:contain}
#portalModal .portal-dialog:has(.customer-auth-screen){box-sizing:border-box;display:block;width:100%;max-width:none;min-height:100%;height:auto;max-height:none;margin:0;padding:48px 18px 24px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
#portalModalBody:has(.customer-auth-screen){display:block;flex:none;max-height:none;height:auto;padding:0;overflow:visible;scrollbar-gutter:auto}
#portalModal .portal-dialog:has(.customer-auth-screen)>.dialog-x{top:12px;right:16px;width:32px;height:32px;background:transparent;color:#6d7e95}
body.customer-auth-page-open .topbar{z-index:120}
body.customer-auth-page-open #mobileNavBackdrop{z-index:140}
body.customer-auth-page-open #mobileNav{z-index:150}
.customer-auth-screen{max-width:440px;color:var(--text,#25344a)}
.customer-auth-heading{margin-bottom:30px}
#portalModal .customer-auth-heading h3{margin-bottom:8px;font-size:30px;font-weight:720;letter-spacing:-.4px}
.customer-auth-heading p{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;align-items:center;color:#697b92;font-size:14px}
#portalModal .customer-auth-heading p button{font:inherit;color:#2857c5;background:none;border:0;padding:0;min-height:24px;cursor:pointer}
.customer-auth-card{padding:26px 25px;border-radius:18px;border:1px solid #e0e6ef;box-shadow:none}
.customer-auth-screen .customer-auth-form{gap:18px}
.customer-auth-screen .customer-auth-form>label{font-weight:500;gap:7px}
.customer-auth-screen .customer-auth-form input{height:49px;background:#fff;border-color:#cbd7e8;border-radius:7px;font-size:16px}
.customer-auth-screen .customer-auth-form input::placeholder{font-size:14px}
#portalModal .customer-auth-continue{height:46px;background:#284dc7;border-color:#284dc7;box-shadow:none}
#portalModal .customer-auth-screen .customer-auth-passkey{height:46px;border-color:#b8c7dd;font-weight:500}
.customer-auth-security{padding:11px 12px;border-radius:11px;color:#63738a}
#portalModal .customer-auth-forgot{margin:0}
.customer-auth-register{margin-top:6px}
.customer-auth-policies{max-width:none;margin:22px 0 0;font-size:12px}
.customer-signup-screen #emailStatus:empty{display:none}
.customer-signup-screen .email-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
#portalModal .customer-signup-screen #sendEmailCode{align-self:stretch;margin:0;padding:9px 12px;min-width:0;font:inherit;font-size:13px;border-radius:7px;white-space:normal}
.customer-signup-screen .customer-signup-note{margin:0;font-size:12px;line-height:1.6;color:#6a7b91}
.customer-auth-footer{display:flex;flex-direction:column;align-items:center;gap:15px;margin-top:42px;padding:27px 10px 0;border-top:1px solid #d7e0eb;color:#60738d;font-size:12px}
.customer-auth-footer strong{color:#284dc7;font-size:17px;font-weight:700}
.customer-auth-footer>div{display:flex;gap:22px;justify-content:center;flex-wrap:wrap}
.customer-auth-footer a{color:inherit}
html[data-theme=dark] #portalModal:has(.customer-auth-screen){background:#111b28}
html[data-theme=dark] .customer-auth-screen .customer-auth-form input{background:#223249;border-color:#40536e;color:#e7effa}
html[data-theme=dark] .customer-auth-heading p,html[data-theme=dark] .customer-signup-screen .customer-signup-note{color:#b1bfd2}
html[data-theme=dark] #portalModal .customer-auth-heading p button{color:#9ec1ff}
html[data-theme=dark] .customer-auth-footer{border-color:#35485f;color:#9caec5}
html[data-theme=dark] .customer-auth-footer strong{color:#9ec1ff}
@media(max-width:800px){
 #portalModal .portal-dialog:has(.customer-auth-screen){padding:46px 16px 26px;max-height:none}
 .customer-auth-heading{margin-bottom:30px}
 #portalModal .customer-auth-heading h3{font-size:28px}
 .customer-auth-card{padding:25px 24px;border-radius:17px}
 .customer-auth-screen .customer-auth-form{gap:18px}
 .customer-auth-policies{margin-top:23px;font-size:11px}
 .customer-auth-screen .customer-auth-form input{font-size:16px!important}
}
@media(max-width:359px){
 #portalModal .portal-dialog:has(.customer-auth-screen){padding-inline:12px}
 .customer-auth-card{padding:23px 18px}
 #portalModal .customer-signup-screen #sendEmailCode{padding-inline:9px;font-size:12px}
}

body.customer-guest .topbar #dashboardButton{display:none}


/* public/csp-assets/order-success-0337135c772231c7.css */
dialog.order-success-dialog{width:min(540px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #dbe5e6;border-radius:24px;background:#fff;color:#243348;box-shadow:0 24px 90px #122c4730;overflow:auto;box-sizing:border-box;animation:orderSuccessEnter .22s ease-out}
.order-success-dialog::backdrop{background:#14273d73;backdrop-filter:blur(5px)}
.order-success-dialog *{box-sizing:border-box}.order-success-dialog [hidden]{display:none!important}
.order-success-top{position:relative;padding:34px 30px 23px;text-align:center;background:radial-gradient(ellipse at 50% 0,#def5eb,transparent 78%)}
.order-success-close{position:absolute;top:14px;right:14px;width:32px;height:32px;padding:8px;border:0;border-radius:50%;background:#ffffffa3;color:#718696;cursor:pointer}
.order-success-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.order-success-icon{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 18px;background:#168466;color:#fff;border:7px solid #ddf2e9;border-radius:50%;box-shadow:0 0 0 7px #edf8f3}
.order-success-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.order-success-top h2{margin:0 0 10px;font-size:26px;line-height:1.4;letter-spacing:-.4px;color:inherit;font-weight:750}
.order-success-top p{max-width:390px;margin:0 auto;font-size:14px;line-height:1.7;color:#728497}
.order-success-details{margin:0 28px;padding:19px 20px;background:#f6f8fb;border:1px solid #e6ebf2;border-radius:14px}
.order-success-product>span,.order-success-meta>div>span,.order-success-reference>span{display:block;font-size:12px;line-height:1.5;color:#7e8d9f;margin-bottom:6px}
.order-success-product strong{display:block;font-size:15px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}
.order-success-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:17px;padding-top:16px;border-top:1px solid #e0e7ef}
.order-success-meta>div:last-child{text-align:right}.order-success-meta strong{font-size:21px;line-height:1.4;font-variant-numeric:tabular-nums}.order-success-amount{color:#187754}
.order-success-reference{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #e0e7ef;margin-top:17px;padding-top:14px}
.order-success-reference>span{margin:0;flex-shrink:0}.order-success-reference b{font:600 12px/1.5 ui-monospace,Consolas,monospace;color:#5b6e86;overflow-wrap:anywhere;text-align:right}
.order-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:24px 28px 0}
.order-success-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:49px;padding:11px 14px;border:1px solid #d5dfed;border-radius:12px;background:white;color:#345172;cursor:pointer;font:inherit;line-height:1.4;font-family:inherit;font-size:15px;font-weight:650}
.order-success-actions .order-success-history{background:#284dc7;border-color:#284dc7;color:#fff}
.order-success-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;border:1px solid #ffffff75;border-radius:50%;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.order-success-hint{margin:15px 25px 20px;text-align:center;color:#8a98a9;font-size:12px;line-height:1.5}
.order-success-progress{height:3px;overflow:hidden;border-radius:0 0 24px 24px;background:#edf1f7}.order-success-progress i{display:block;height:100%;background:#6c88dc;transform-origin:left;transition:transform .2s linear}
.order-success-dialog button:focus-visible{outline:3px solid #8faafa;outline-offset:3px}
.order-success-dialog.is-review .order-success-icon{background:#bd8a29;border-color:#f6ead0;box-shadow:0 0 0 7px #fcf7eb}.order-success-dialog.is-review .order-success-top{background:radial-gradient(ellipse at 50% 0,#fbf0d4,transparent 78%)}
.order-success-dialog.is-failed .order-success-icon{background:#c7565d;border-color:#f8dfe1;box-shadow:0 0 0 7px #fff1f2}.order-success-dialog.is-failed .order-success-top{background:radial-gradient(ellipse at 50% 0,#fbe6e8,transparent 78%)}
html[data-theme=dark] .order-success-dialog{background:#1b293b;color:#e1eaf7;border-color:#3a5068;box-shadow:0 24px 90px #0006}html[data-theme=dark] .order-success-top{background:radial-gradient(ellipse at 50% 0,#214e42,transparent 78%)}
html[data-theme=dark] .order-success-close{background:#33465c;color:#b7c8db}html[data-theme=dark] .order-success-details{background:#24364b;border-color:#3a4d65}html[data-theme=dark] .order-success-meta,html[data-theme=dark] .order-success-reference{border-color:#3a4d65}
html[data-theme=dark] .order-success-meta>div>span,html[data-theme=dark] .order-success-product>span,html[data-theme=dark] .order-success-reference>span,html[data-theme=dark] .order-success-reference b,html[data-theme=dark] .order-success-top p{color:#a7b8ce}html[data-theme=dark] .order-success-amount{color:#8bd3b0}
html[data-theme=dark] .order-success-continue{background:#26394f;border-color:#4a607d;color:#d7e5fa}
@media(max-width:480px){dialog.order-success-dialog{width:calc(100vw - 26px);border-radius:20px}.order-success-top{padding:29px 23px 21px}.order-success-top h2{font-size:24px}.order-success-top p{font-size:13px}.order-success-details{margin:0 19px;padding:16px}.order-success-actions{padding:20px 19px 0;gap:9px}.order-success-actions button{padding:11px 9px;font-size:14px}.order-success-product strong{font-size:14px}.order-success-meta strong{font-size:20px}}
@media(max-width:359px){.order-success-actions{grid-template-columns:1fr}.order-success-actions .order-success-history{grid-row:1}.order-success-hint{margin-bottom:16px}}
@keyframes orderSuccessEnter{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){dialog.order-success-dialog{animation:none}.order-success-progress i{transition:none}}

.order-success-dialog .order-success-top h2{display:block;text-align:center}
.order-success-dialog .order-success-amount [data-product-amount]{font:inherit!important}


/* public/csp-assets/customer-commerce-42ff326dba4a8859.css */
/* System sans-serif typography, with explicit CJK fallbacks for every Chinese script. */
:root{--jf-customer-font:-apple-system,BlinkMacSystemFont,'Segoe UI Variable Text','Segoe UI','Noto Sans SC','PingFang SC','Microsoft YaHei UI','Microsoft YaHei','Noto Sans TC','Microsoft JhengHei UI','Microsoft JhengHei',Roboto,Arial,sans-serif}
html[lang='zh-Hant'],html[lang='zh-TW']{--jf-customer-font:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang TC','Noto Sans TC','Microsoft JhengHei UI','Microsoft JhengHei','Microsoft YaHei UI',Arial,sans-serif}
html[lang^='ja']{--jf-customer-font:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans JP','Yu Gothic UI',Meiryo,sans-serif}
html[lang^='ko']{--jf-customer-font:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR','Malgun Gothic',sans-serif}
body,button,input,textarea,select{font-family:var(--jf-customer-font)!important}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
:is(.checkout-heading,.recharge-heading,.ph-heading,.customer-auth-heading) :is(h1,h2,h3){font-weight:650;letter-spacing:-.025em}
.checkout-heading h1{font-size:clamp(24px,2.2vw,31px);line-height:1.45}.checkout-form h2,.checkout-summary>h2{font-weight:650}
#rechargePage{max-width:1120px;margin-inline:auto;padding:44px 0 55px}.recharge-heading{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 17px;text-align:left;margin-bottom:28px;align-items:center}
.recharge-heading>.recharge-hero-icon{grid-column:1;grid-row:1/3;width:58px;height:58px;border-radius:16px;margin:0;background:#2c59cf;color:white}.recharge-heading h1{grid-column:2;grid-row:1;font-size:32px;margin:0;line-height:1.2}.recharge-heading>p{grid-column:2;grid-row:2;margin:0;font-size:14px;color:#728198}.recharge-heading>.recharge-balance{grid-column:3;grid-row:1/3;margin:0;padding:15px 19px;border:1px solid #e0e6ef;border-radius:19px;background:white;display:flex;gap:10px;align-items:center;font-size:14px}.recharge-balance strong{font-size:23px;font-weight:600;color:#2d8d69}
.commerce-crypto-banner{display:flex;align-items:center;gap:23px;padding:27px 28px;border:1px solid #b9ccef;border-radius:16px;background:linear-gradient(110deg,#e0e9f8,#f9fbff);margin-bottom:25px}.commerce-crypto-banner[hidden]{display:none}.commerce-crypto-banner h2{font-size:23px;margin:0 0 8px;font-weight:650}.commerce-crypto-banner p{margin:0;color:#647d99;font-size:14px}.commerce-crypto-banner>button{margin-left:auto;flex-shrink:0;border:0;border-radius:24px;background:#2a59ce;color:white;font:600 15px/1.5 var(--jf-customer-font);padding:13px 23px;cursor:pointer}.commerce-crypto-symbol{display:flex;position:relative;width:90px;flex:0 0 90px}.commerce-crypto-symbol i{display:grid;place-items:center;width:57px;height:57px;border:3px solid #fff;border-radius:50%;font-style:normal;background:#55a68b;color:white;font-size:31px;font-weight:650}.commerce-crypto-symbol i+i{margin-left:-20px;background:#447ac7}
#rechargePage.crypto-enabled #wxpayBanner{display:none}.recharge-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:13px 20px!important;border:1px solid #dce4ef;border-radius:20px;background:#fff;margin:0 0 25px}.recharge-benefits article{display:flex;justify-content:center;align-items:center;gap:10px;padding:0!important;border:0!important;background:transparent!important;min-height:30px;box-shadow:none!important}.recharge-benefits article p{display:none}.recharge-benefits article strong{font-size:13px;font-weight:550}.recharge-benefits .recharge-feature-icon{width:25px;height:25px;background:none}.recharge-benefits svg{width:22px;height:22px}
#rechargePageForm.recharge-card{padding:0!important;border:1px solid #dae3ef;border-radius:24px;overflow:hidden;box-shadow:0 12px 26px #203a5810}.recharge-amount-section{padding:28px 29px 25px}.recharge-presets{gap:10px;margin:17px 0!important}.recharge-presets button{min-height:48px;border:1px solid transparent;border-radius:15px!important;background:#f0f3f7;font-size:16px;font-weight:550}.recharge-presets button[aria-pressed=true]{border-color:#a6bced;background:#ebf1ff;color:#2856c4}.recharge-amount-input{border-radius:14px;padding:10px 17px!important;border-color:#c4cfdf;min-height:59px}.recharge-amount-input input{min-height:36px;font-size:20px!important;background:transparent!important}.recharge-amount-input small{padding:6px 9px;border-radius:10px;background:#eaf0fa;color:#4265ab;font-size:12px}.wxpay-integer-hint{font-size:12px;color:#8290a4;margin:9px 0 0}
.recharge-payment-section{padding:25px 29px 24px!important;border-top:1px solid #dfe6ef}.recharge-payment-section>h2{margin:0 0 16px;font-size:18px;font-weight:600}.recharge-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.recharge-methods .wxpay-group-label,.recharge-methods .wxpay-manual-label{display:none}.recharge-methods .recharge-method{min-width:0;border:1px solid #d0dbe9;border-radius:15px;padding:17px 15px;box-shadow:none;min-height:94px}.recharge-methods .recharge-method.selected{border-color:#75af96;background:#f2faf6;box-shadow:inset 0 0 0 1px #93c6af25}.recharge-method strong{font-size:15px;font-weight:600}.recharge-method small{font-size:12px;line-height:1.6}.recharge-method .wxpay-method-reminder{font-size:11px}.recharge-footer{display:flex;align-items:center;gap:20px;padding-top:22px;margin-top:20px;border-top:1px solid #e1e7f0}.recharge-footer .recharge-submit{flex:1;border-radius:13px;min-height:51px;box-shadow:none;font-weight:600}.recharge-notice{font-size:12px;line-height:1.7}
#paymentHistory.payment-history{margin-top:34px;border:1px solid #d9e2ed;border-radius:24px;overflow:hidden;background:white;box-shadow:0 9px 25px #203a580b}.ph-heading{padding:23px 26px!important;border-bottom:1px solid #dee5ef}.ph-heading h2{font-size:22px!important;font-weight:650;gap:14px}.ph-history-icon{display:grid;place-items:center;background:#43a57c;color:white;border-radius:14px;width:45px;height:45px;font-size:27px}.ph-heading button{border:0;background:transparent;font-size:14px;font-weight:600;color:#315fc8}.ph-content{padding:0!important}.ph-table{font-size:14px}.ph-table th{background:#f6f8fb;font-weight:600;color:#718096;padding:16px 21px!important}.ph-table td{padding:18px 21px!important;border-bottom:1px solid #e2e8f0;vertical-align:middle}.ph-table .ph-order{background:none;border:0;color:#2c61cd;font-size:13px;font-weight:550}.ph-table .ph-amount{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.ph-status{border-radius:22px!important;padding:6px 10px!important;font-size:12px;font-weight:550}.ph-table .ph-view{border-radius:22px;background:#fff;border:1px solid #c6d7f5;color:#3b65b2;min-height:35px;padding:7px 15px;box-shadow:none}.ph-pagination{padding:16px 22px}.ph-empty{padding:28px 22px}.ph-bill{border-radius:18px}
.checkout-payment-options{margin:19px 0 17px}.checkout-payment-options h3{font-size:14px;color:#7d8ba0;font-weight:600;margin:0 0 11px}.checkout-wallet-short{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:14px 15px;border:1px solid #e0e6ee;border-radius:13px;background:#f6f8fb;color:#8b98a9;margin-bottom:10px}.checkout-wallet-short span{font-size:14px}.checkout-wallet-short strong{font-size:14px;font-weight:600}.checkout-wallet-short small{grid-column:1/-1;font-size:12px;color:#a47e40}.checkout-method-list{display:grid;gap:9px}.checkout-payment-method{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:14px;border:1px solid #d2ddec;border-radius:13px;background:white;color:inherit;cursor:pointer;min-height:76px}.checkout-payment-method[aria-pressed=true]{border-color:#7193e7;background:#f0f4ff}.checkout-method-radio{width:17px;height:17px;border:1px solid #b5c2d4;border-radius:50%;flex:0 0 17px}.checkout-payment-method[aria-pressed=true] .checkout-method-radio{border:5px solid #3c70d9;background:white}.checkout-method-copy{min-width:0}.checkout-method-copy strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.checkout-method-copy small{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:#8694a7}.checkout-method-logo{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#eef5f2;color:#2b9d70}.checkout-method-logo.alipay{background:#e9f3ff;color:#2388d4}.checkout-method-logo svg{width:29px;height:29px}.checkout-token-pair{display:flex;width:42px;flex:0 0 42px}.checkout-token-pair i{display:grid;place-items:center;flex:0 0 29px;height:29px;border:2px solid #fff;border-radius:50%;background:#4b9d7f;color:white;font-style:normal;font-size:18px}.checkout-token-pair i+i{margin-left:-15px;background:#417bc6}.checkout-payment-hint{font-size:11px;color:#8795a8;line-height:1.6;margin:11px 0 0}
.checkout-return-banner{display:flex;justify-content:flex-start;margin:0 0 19px}.checkout-return-banner button{border:1px solid #bcd0f0;border-radius:12px;background:#eff5ff;color:#2d5db8;padding:11px 16px;font:600 14px/1.5 var(--jf-customer-font);cursor:pointer}
html[data-theme=dark] :is(.recharge-heading>.recharge-balance,.recharge-benefits,#rechargePageForm.recharge-card,#paymentHistory.payment-history,.checkout-payment-method){background:#1b2a3c;border-color:#394d67}html[data-theme=dark] .commerce-crypto-banner{background:linear-gradient(110deg,#263d61,#1b2a3c);border-color:#49658e}html[data-theme=dark] .checkout-payment-method[aria-pressed=true]{background:#273f64;border-color:#6d91cc}html[data-theme=dark] .checkout-wallet-short{background:#24344a;border-color:#3d506a}html[data-theme=dark] .ph-table th{background:#24364d;color:#a5b7cf}html[data-theme=dark] .ph-table td,html[data-theme=dark] .ph-heading{border-color:#374a62}html[data-theme=dark] .ph-table .ph-view{background:#23374f;border-color:#486184;color:#b8d1f7}html[data-theme=dark] .recharge-methods .recharge-method.selected{background:#224539;border-color:#6da991}
@media(max-width:800px){#rechargePage{padding-top:27px}.recharge-heading{grid-template-columns:48px minmax(0,1fr);gap:5px 12px}.recharge-heading>.recharge-hero-icon{width:48px;height:48px;border-radius:13px}.recharge-heading h1{font-size:28px}.recharge-heading>p{font-size:12px}.recharge-heading>.recharge-balance{grid-column:1/-1;grid-row:3;margin-top:14px;justify-content:space-between;padding:13px 16px;border-radius:14px}.commerce-crypto-banner{padding:20px;gap:15px;flex-wrap:wrap;border-radius:16px}.commerce-crypto-symbol{width:67px;flex-basis:67px}.commerce-crypto-symbol i{width:44px;height:44px;font-size:24px}.commerce-crypto-symbol i+i{margin-left:-17px}.commerce-crypto-banner>div:nth-child(2){flex:1;min-width:0}.commerce-crypto-banner h2{font-size:19px}.commerce-crypto-banner p{font-size:12px}.commerce-crypto-banner>button{width:100%;margin-left:0;font-size:14px;padding:11px}.recharge-benefits{gap:7px;padding:12px 10px!important}.recharge-benefits article{gap:5px;flex-direction:column}.recharge-benefits article strong{font-size:11px;text-align:center}.recharge-benefits .recharge-feature-icon{width:23px;height:23px}.recharge-amount-section,.recharge-payment-section{padding:21px 19px!important}.recharge-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recharge-presets button{min-height:43px;font-size:15px}.recharge-amount-input{padding:9px 12px!important;flex-wrap:wrap}.recharge-amount-input small{font-size:10px}.recharge-methods{grid-template-columns:1fr}.recharge-footer{flex-direction:column;align-items:stretch;gap:12px}.recharge-footer>span{display:flex;justify-content:space-between}.recharge-footer .recharge-submit{width:100%;min-height:48px}.ph-heading{padding:18px!important}.ph-heading h2{font-size:19px!important}.ph-history-icon{width:38px;height:38px;border-radius:11px;font-size:23px}.ph-heading button{font-size:12px}.ph-table td{padding:10px 16px!important}.ph-table tbody tr{padding:12px 0}.ph-table .ph-view{min-height:36px}.checkout-heading h1{font-size:23px}}

/* One attached blue border with a soft halo, without changing the field dimensions. */
body :is(input:not([type=checkbox]):not([type=radio]),textarea,select){transition:border-color .18s ease,box-shadow .18s ease}
body :is(input:not([type=checkbox]):not([type=radio]),textarea,select):not(:where(.hero-search,.history-search,.quick-search,.recharge-amount-input)>input):focus{border-color:#6c91e7!important;outline:none!important;box-shadow:0 0 0 1px #7397e875,0 0 0 5px #7597ea19!important}
body :is(.hero-search,.history-search,.quick-search,.recharge-amount-input):focus-within{border-color:#6c91e7!important;outline:none!important;box-shadow:0 0 0 1px #7397e875,0 0 0 5px #7597ea19!important}
body :is(.hero-search,.history-search,.quick-search,.recharge-amount-input)>input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important}
body :is(.hero-search,.history-search,.quick-search,.recharge-amount-input)>input:focus{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important}
@media(prefers-reduced-motion:reduce){body :is(input,textarea,select){transition:none}}

#rechargePage .recharge-methods{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#rechargePage .recharge-methods [data-payment]{grid-column:auto!important;min-width:0}
#checkoutPaymentOptions{margin:18px 20px}
@media(max-width:800px){
 #rechargePage .recharge-methods{grid-template-columns:minmax(0,1fr)!important}
 #paymentHistory .ph-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 13px;padding:18px 16px;align-items:center}
 #paymentHistory .ph-table tbody td{display:block!important;min-width:0;padding:0!important;border:0!important;margin:0}
 #paymentHistory .ph-table tbody td:nth-child(1){grid-column:1;grid-row:1;font-size:12px}
 #paymentHistory .ph-table tbody td:nth-child(2){grid-column:2;grid-row:1;text-align:right}
 #paymentHistory .ph-table tbody td:nth-child(3){grid-column:1;grid-row:2;font-size:13px}
 #paymentHistory .ph-table tbody td:nth-child(4){grid-column:2;grid-row:2;text-align:right;font-size:14px}
 #paymentHistory .ph-table tbody td:nth-child(5){grid-column:1;grid-row:3}
 #paymentHistory .ph-table tbody td:nth-child(6){grid-column:2;grid-row:3;justify-self:end}
 #paymentHistory .ph-mobile-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #paymentHistory .ph-table .ph-order{padding:0!important;min-height:0}
}


/* public/csp-assets/recharge-capabilities-9846d986be5b4972.css */
.recharge-capability-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0 0 14px;border:1px solid #cbdaf1;border-radius:12px;background:#f3f7ff;color:#536985;font-size:13px;line-height:1.6}.recharge-capability-status[hidden]{display:none}.recharge-capability-status button{flex:none;border:1px solid #b8cdf2;border-radius:9px;padding:7px 12px;color:#2858be;background:#fff;font:inherit;cursor:pointer}.recharge-capability-status button:disabled{opacity:.55;cursor:wait}[data-theme="dark"] .recharge-capability-status{background:#18263c;border-color:#345071;color:#cfddf0}[data-theme="dark"] .recharge-capability-status button{background:#22354e;color:#d4e5ff}@media(max-width:480px){.recharge-capability-status{align-items:flex-start;font-size:12px;gap:8px}.recharge-capability-status button{padding:6px 9px}}


/* public/csp-assets/customer-typography-997eb92c038df3ec.css */
/* cyrillic-ext */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-ca157063339ac4ad.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-71d5ee93cc1e9f1d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-6e9e020a25f9b56d.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-1be3448e292fbf05.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-5c66f9e07e90c6d4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-34b9c504cab7a73e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JF Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/csp-assets/inter-3100e775e8616cd2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{--jf-customer-font:'JF Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei UI','Microsoft YaHei',Arial,sans-serif}
html[lang='zh-Hant'],html[lang='zh-TW']{--jf-customer-font:'JF Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang TC','Microsoft JhengHei UI','Microsoft JhengHei',Arial,sans-serif}
html[lang^='ja']{--jf-customer-font:'JF Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Yu Gothic UI',Meiryo,sans-serif}
html[lang^='ko']{--jf-customer-font:'JF Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif}
body{font-weight:450;font-optical-sizing:auto;text-rendering:optimizeLegibility;-webkit-font-smoothing:auto}
button,input,textarea,select{font-optical-sizing:auto}
#rechargePage .recharge-method strong,.checkout-method-copy strong{font-weight:650}
#rechargePage :is(.recharge-payment-section>h2,.recharge-presets button,.recharge-heading>p){font-weight:500}
#paymentHistory .ph-table{font-weight:450;font-variant-numeric:tabular-nums}
#paymentHistory .ph-table :is(th,.ph-order){font-weight:550}
#paymentHistory :is(.ph-status,.ph-table .ph-amount,.ph-heading button){font-weight:600}
:is(.recharge-heading,.ph-heading) :is(h1,h2){font-weight:650;letter-spacing:-.015em}


/* public/csp-assets/site-motion-ae057866d9ec0726.css */
/* Entry animation is provided by site-motion.js; content polling never restarts it. */
#portalModal .portal-dialog,.order-success-dialog{animation:none!important}
@keyframes site-dialog-backdrop{from{background-color:rgb(21 35 55 / 0)}to{background-color:rgb(21 35 55 / .28)}}
.order-success-dialog[open]::backdrop{animation:site-dialog-backdrop 160ms ease-out}
@media(prefers-reduced-motion:reduce){.order-success-dialog[open]::backdrop{animation:none}}

@keyframes site-native-dialog-reveal{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
dialog[open]:not(.order-success-dialog){animation:site-native-dialog-reveal 240ms cubic-bezier(.2,.8,.2,1)}
dialog[open]:not(.order-success-dialog)::backdrop{animation:site-dialog-backdrop 160ms ease-out}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open]::backdrop{animation:none!important}}


/* public/csp-assets/customer-icons-3d07f12fcfd535e5.css */
.customer-ui-icon{display:inline-block;width:1.15em;height:1.15em;flex:none;vertical-align:-.16em;overflow:visible;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.topbar .icon-button,.topbar .theme-toggle,.mobile-drawer-close,.mobile-category-close{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:42px;min-height:42px;border-radius:12px}
.topbar .icon-button>.customer-ui-icon,.topbar .theme-toggle>.customer-ui-icon{width:21px;height:21px}
#menuButton>.customer-ui-icon{width:23px;height:23px}
.topbar .dashboard-button svg,.topbar .wallet-button svg,.header-logout svg{width:20px;height:20px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#languageToggle>.customer-ui-icon{width:15px;height:15px;margin-inline-start:3px}
#mobileNav>a>svg,#mobileNav>button>svg,#mobileNav .dashboard-button>svg,#mobileNav .theme-toggle>svg{width:23px;height:23px;flex:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mobile-drawer-close>.customer-ui-icon,.mobile-category-close>.customer-ui-icon{width:21px;height:21px}
#mobileCatalogCategories summary>.customer-ui-icon{width:18px;height:18px;color:var(--muted,#788699);transition:transform .24s ease}
#mobileCatalogCategories[open] summary>.customer-ui-icon{transform:rotate(180deg)}
.customer-search-field{position:relative;display:block;flex:1;min-width:0;margin:0}
.customer-search-field>.customer-ui-icon{position:absolute;inset-inline-start:16px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:var(--muted,#8491a2)}
.customer-search-field>input{display:block;width:100%;min-width:0;box-sizing:border-box;padding-inline-start:46px!important}
.customer-search-field:focus-within>.customer-ui-icon{color:var(--accent,#316bd9)}
.hero-search>span:has(.customer-ui-icon){display:flex;align-items:center;justify-content:center;font-size:24px}
.hero-search>span>.customer-ui-icon{width:24px;height:24px;stroke-width:1.8}
.directory-copy>small:last-child,.catalogue-nav-product>small:last-child,.service-api-time{display:inline-flex;align-items:center;gap:5px}
.directory-copy>small:last-child::before,.catalogue-nav-product>small:last-child::before,.service-api-time::before{content:"";display:inline-block;width:13px;height:13px;flex:none;background:currentColor;-webkit-mask:var(--customer-clock) center/contain no-repeat;mask:var(--customer-clock) center/contain no-repeat}
.ph-history-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:15px;background:linear-gradient(135deg,#63ba75,#429976);box-shadow:inset 0 1px 0 #ffffff24}
.ph-history-icon>.customer-ui-icon{width:27px;height:27px;color:#fff;stroke-width:1.9}
.ph-status,.status-tag{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.ph-status::before,.status-tag::before{content:none!important}
.ph-status>.customer-ui-icon,.status-tag>.customer-ui-icon{width:14px;height:14px;stroke-width:1.8}
.recharge-hero-icon>svg,.recharge-feature-icon>svg{stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.checkout-description-toolbar h2>svg,.checkout-benefits svg{stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.detail-back button{display:inline-flex;align-items:center;gap:7px}
.detail-back button>.customer-ui-icon{width:16px;height:16px}
.directory-card .directory-copy{min-width:0}
.directory-card .directory-copy>strong{overflow-wrap:anywhere}
:root[data-theme=dark] .ph-history-icon{background:linear-gradient(135deg,#468c61,#286c55)}
@media(max-width:800px){
 .topbar .topbar-right{gap:8px}
 .customer-search-field>input{padding-inline-start:43px!important}
 .customer-search-field>.customer-ui-icon{inset-inline-start:15px;width:18px;height:18px}
 .directory-copy>small:last-child::before,.service-api-time::before{width:12px;height:12px}
 #mobileNav .theme-toggle{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){#mobileCatalogCategories summary>.customer-ui-icon{transition:none}}

:root{--customer-clock:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E")}


/* public/csp-assets/admin-order-email-3fb0a67a6545c8fe.css */
/* Keep customer email inside its order cell, with a compact two-line limit. */
#adminOrderRows .admin-order-email{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;max-inline-size:min(100%,24ch);overflow:hidden;overflow-wrap:anywhere;word-break:normal;white-space:normal!important;font-size:13px!important;line-height:1.3!important;margin-top:3px;}


/* public/recharge-motion.css */
/* Recharge-only layout and state animations; preserve global branding and other dialogs. */
.wxpay-recharge-page [hidden]{display:none!important}
.wxpay-integer-hint{margin:10px 0 0;color:#7b8799;font-size:12px}
.wxpay-recharge-page .recharge-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.wxpay-group-label,.wxpay-fee-note,.wxpay-recharge-page .wxpay-native-method{grid-column:1/-1}
.wxpay-group-label{font-size:14px;font-weight:650;color:#168455}.wxpay-group-label small{display:block;margin-top:6px;font-size:12px;font-weight:400;line-height:1.7}.wxpay-manual-label{margin-top:14px;padding-top:22px;border-top:1px dashed #d7dfe8;color:#936127}
.wxpay-recharge-page .wxpay-native-method{min-height:130px;border-width:2px}.wxpay-recharge-page .wxpay-native-method strong{font-size:20px}.wxpay-recharge-page .wxpay-method-reminder{display:block;margin-top:9px;color:#168455;font-weight:550}
.wxpay-fee-note{display:flex;align-items:flex-start;gap:9px;padding:12px 15px;background:#f1f6fd;border-radius:12px;color:#536e91;font-size:12px;line-height:1.8}.wxpay-fee-note svg{width:18px;height:18px;flex-shrink:0;margin-top:3px}.wxpay-fee-note strong,.wxpay-fee-note span{display:block}
.wxpay-recharge-page .wxpay-manual-method em{background:#fff0d9;color:#946224}.wxpay-recharge-page .recharge-notice{padding:14px 16px;background:#edf8f2;border:1px solid #c7e8d6;border-radius:12px;color:#24674b;line-height:1.9}.wxpay-recharge-page .recharge-notice.wxpay-manual-notice{background:#fff7e8;border-color:#edcf96;color:#87591e}
html[data-theme=dark] .wxpay-fee-note{background:#223750;color:#b6cee8}html[data-theme=dark] .wxpay-manual-label{color:#e3ba7f;border-color:#45505f}html[data-theme=dark] .wxpay-recharge-page .recharge-notice{background:#1c3e31;color:#b9e3cb;border-color:#356d51}html[data-theme=dark] .wxpay-recharge-page .recharge-notice.wxpay-manual-notice{background:#403423;color:#edcd99;border-color:#735c39}
@media(max-width:780px){.wxpay-recharge-page .recharge-methods{grid-template-columns:1fr!important}.wxpay-recharge-page .wxpay-native-method strong{font-size:18px}}
.wxpay-recharge-page{max-width:1120px;padding-top:38px}
.wxpay-recharge-page .recharge-heading{display:grid;grid-template-columns:64px 1fr auto;column-gap:20px;align-items:center;text-align:left;margin-bottom:30px}
.wxpay-recharge-page .recharge-hero-icon{grid-row:1/3;margin:0;width:64px;height:64px;border-radius:18px;background:linear-gradient(140deg,#316bd9,#1859c5);box-shadow:0 8px 18px #2566d421}
.wxpay-recharge-page .recharge-heading h1{grid-column:2;font-size:34px;margin:0;line-height:1.3}
.wxpay-recharge-page .recharge-heading>p{grid-column:2;font-size:15px;margin:4px 0 0}
.wxpay-recharge-page .recharge-balance{grid-column:3;grid-row:1/3;margin:0;padding:18px 23px;border-radius:20px}
.wxpay-topup-banner{position:relative;isolation:isolate;display:flex;align-items:center;gap:22px;padding:28px 30px;margin:0 0 28px;overflow:hidden;border:1px solid #c6dfd8;border-radius:17px;background:linear-gradient(105deg,#e5f4ee 0%,#edf4fb 55%,#fff 100%);animation:wxpay-enter .45s ease both}
.wxpay-topup-banner:after{content:'';z-index:-1;position:absolute;right:-55px;top:-80px;width:260px;height:260px;border:22px solid #1e88650a;border-radius:50%;transform:rotate(-25deg)}
.wxpay-banner-icon{display:grid;place-items:center;width:62px;height:62px;flex-shrink:0;border-radius:20px;background:#07a85b;color:white;box-shadow:0 9px 22px #07a85b22}
.wxpay-banner-icon svg{width:32px;height:32px}.wxpay-topup-banner h2{margin:0 0 8px;font-size:23px;color:#1b3543}.wxpay-topup-banner p{margin:0;color:#527084;font-size:14px;line-height:1.7}
.wxpay-topup-banner button{display:flex;align-items:center;justify-content:center;gap:16px;margin-left:auto;padding:15px 22px;border:0;border-radius:99px;color:white;background:#316bd9;font:inherit;font-weight:650;white-space:nowrap;cursor:pointer;transition:transform .18s,box-shadow .18s;box-shadow:0 5px 12px #316bd91a}
.wxpay-topup-banner button:hover{transform:translateY(-2px);box-shadow:0 9px 18px #316bd92b}.wxpay-topup-banner button svg{width:19px;height:19px}
.wxpay-recharge-page .recharge-benefits{display:flex;justify-content:center;gap:28px;margin-bottom:28px;padding:13px 20px;background:#fff;border:1px solid #dfe5ed;border-radius:99px}
.wxpay-recharge-page .recharge-benefits article{padding:0;gap:9px;border:0;background:none;box-shadow:none}.wxpay-recharge-page .recharge-benefits p{display:none}.wxpay-recharge-page .recharge-feature-icon{width:24px;height:24px;background:none}.wxpay-recharge-page .recharge-feature-icon svg{width:21px;height:21px}.wxpay-recharge-page .recharge-benefits strong{font-size:13px;font-weight:550}
.wxpay-recharge-page .recharge-card{box-shadow:0 16px 35px #1b2e4c08;border-radius:26px;animation:wxpay-enter .4s ease both}
.wxpay-recharge-page .recharge-presets button{transition:background .18s,transform .18s,box-shadow .18s,border-color .18s}.wxpay-recharge-page .recharge-presets button:not(:disabled):hover{transform:translateY(-2px);background:#eaf0fd}.wxpay-recharge-page .recharge-presets button.selected{box-shadow:0 3px 8px #316bd915}
.wxpay-recharge-page .wxpay-out-of-range{opacity:.35;cursor:not-allowed}.wxpay-recharge-page .recharge-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.wxpay-recharge-page .recharge-method{min-height:132px;align-items:center;gap:12px;padding:20px 16px;transition:border-color .2s,transform .2s,box-shadow .2s,background .2s}.wxpay-recharge-page .recharge-method:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 7px 14px #223e5710}.wxpay-recharge-page .recharge-method.selected{border-color:#35b27d;box-shadow:0 0 0 1px #35b27d0a;background:#f4fbf7}
.wxpay-recharge-page .recharge-method strong{font-size:17px;margin:0 0 5px}.wxpay-recharge-page .recharge-payment-logo{width:43px;min-width:43px;height:43px;border-radius:13px}.wxpay-recharge-page .recharge-payment-logo svg{width:31px;height:31px}.wxpay-recharge-page .recharge-method em{margin-top:8px}.wxpay-native-method em{background:#e0f3e9;color:#178458}.wxpay-recharge-page .recharge-selected-check{right:10px;top:10px;width:19px;height:19px;font-size:13px}
.wxpay-recharge-page .recharge-footer{flex-direction:column;align-items:stretch}.wxpay-recharge-page .recharge-footer>span{text-align:center}.wxpay-primary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:19px 24px;border-radius:15px;font-size:17px;transition:background .2s,transform .15s,box-shadow .2s}.wxpay-primary:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 9px 20px #316bd924}.wxpay-primary svg{height:22px;width:22px}.wxpay-primary:disabled{cursor:not-allowed;opacity:.48}.wxpay-primary.wxpay-button-loading{opacity:.8;cursor:progress}
.wxpay-spinner{display:inline-block;width:20px;height:20px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:wxpay-spin .8s linear infinite}.wxpay-balance-updated{display:inline-block;animation:wxpay-balance-pop .65s ease}
#portalModal .modal-content:has(#wxpayCheckout){max-width:480px;width:100%;padding:30px 28px 22px;border-radius:26px}
.wxpay-checkout{text-align:center;animation:wxpay-enter .3s ease}.wxpay-dialog-head h3{font-size:26px;margin:13px 0 6px}.wxpay-dialog-head>p{font-size:13px;line-height:1.8;color:#7b8799;margin:0}.wxpay-method-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.03em;border-radius:99px;padding:6px 12px;background:#e8f6ef;color:#168455}.wxpay-method-badge svg{width:15px;height:15px}
.wxpay-amount{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:20px 0;color:#1c3440}.wxpay-amount small{font-size:15px;font-weight:600}.wxpay-amount strong{font-size:42px;font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.wxpay-qr-frame{position:relative;display:grid;place-items:center;width:234px;max-width:100%;min-height:234px;padding:13px;margin:auto;border-radius:20px;background:#fff;border:1px solid #dbe9e2;box-shadow:0 6px 20px #1e715b0b;overflow:hidden;animation:wxpay-qr-in .4s ease both}.wxpay-qr-frame img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.wxpay-scanline{position:absolute;pointer-events:none;left:13px;right:13px;top:15px;height:2px;background:linear-gradient(90deg,transparent,#14b478,transparent);box-shadow:0 0 14px #07a85b4d;animation:wxpay-scan 3.8s ease-in-out infinite}
.wxpay-live{display:flex;justify-content:center;align-items:center;gap:8px;margin:20px 0 8px;color:#46866e;font-size:13px;line-height:1.7}.wxpay-live>i{width:7px;height:7px;min-width:7px;border-radius:50%;background:#18aa71;animation:wxpay-pulse 1.8s ease-out infinite}.wxpay-expiry{color:#8a96a4;font-size:12px;margin:0 0 20px}.wxpay-expiry b{color:#617286;font-variant-numeric:tabular-nums;margin-left:6px}
.wxpay-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:15px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;font-size:11px;color:#9aa5b2}.wxpay-steps .done{color:#168455}.wxpay-steps .active{color:#316bd9;font-weight:600}.wxpay-refresh{background:#f1f5fc;border:0;border-radius:10px;color:#316bd9;padding:10px 18px;margin:16px auto 12px;cursor:pointer;font:inherit;font-size:12px}.wxpay-refresh:disabled{opacity:.6;cursor:progress}.wxpay-checking:before{content:'';display:inline-block;width:11px;height:11px;margin-right:8px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-1px;animation:wxpay-spin .8s linear infinite}.wxpay-receipt{overflow-wrap:anywhere;color:#98a3b2;font-size:10px;line-height:1.6}
.wxpay-expired .wxpay-qr-frame img{opacity:.15;filter:blur(2px)}.wxpay-expired .wxpay-scanline{display:none}.wxpay-expired .wxpay-live{color:#b47a39}.wxpay-expired .wxpay-live>i{animation:none;background:#c79a5e}
.wxpay-success{padding:28px 0 8px;animation:wxpay-enter .35s ease}.wxpay-success-ring{width:100px;height:100px;margin:0 auto 22px;position:relative;border-radius:50%;background:#edf9f3}.wxpay-success-ring:before{content:'';position:absolute;inset:-8px;border:1px solid #51b88d4d;border-radius:50%;animation:wxpay-success-halo .7s ease-out both}.wxpay-success-ring svg{width:100%;height:100%;fill:none;stroke:#16a46a;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.wxpay-success-ring circle{stroke-dasharray:220;stroke-dashoffset:220;animation:wxpay-circle .6s ease forwards}.wxpay-success-ring path{stroke-dasharray:60;stroke-dashoffset:60;animation:wxpay-tick .35s .4s ease forwards}.wxpay-success h3{font-size:26px;margin:0 0 16px}.wxpay-success>p{font-size:13px;color:#8a96a4}.wxpay-success-amount{display:block;color:#159663;font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:8px 0 18px;animation:wxpay-enter .4s .15s ease both}.wxpay-success-note{padding:12px;background:#f0f9f5;border-radius:12px;color:#42866b!important}.wxpay-success .recharge-submit{margin-top:24px;width:100%;border-radius:13px}
html[data-theme=dark] .wxpay-topup-banner{background:linear-gradient(110deg,#173a30,#1d2c43);border-color:#315447}html[data-theme=dark] .wxpay-topup-banner h2{color:#eff9f5}html[data-theme=dark] .wxpay-topup-banner p{color:#a1bdb5}html[data-theme=dark] .wxpay-recharge-page .recharge-benefits{background:#192435;border-color:#334357}html[data-theme=dark] .wxpay-recharge-page .recharge-method.selected{background:#1e3830}html[data-theme=dark] .wxpay-amount{color:#eef8f3}html[data-theme=dark] .wxpay-method-badge,html[data-theme=dark] .wxpay-success-note{background:#1c3e31}html[data-theme=dark] .wxpay-steps{border-color:#334357}html[data-theme=dark] .wxpay-refresh{background:#223750;color:#a3c5ff}html[data-theme=dark] .wxpay-success-ring{background:#183a2d}
@keyframes wxpay-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes wxpay-qr-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes wxpay-spin{to{transform:rotate(360deg)}}@keyframes wxpay-scan{0%,100%{top:15px;opacity:0}15%,85%{opacity:.7}50%{top:calc(100% - 17px)}}@keyframes wxpay-pulse{0%{box-shadow:0 0 0 0 #18aa7133}75%,100%{box-shadow:0 0 0 7px #18aa7100}}@keyframes wxpay-balance-pop{40%{transform:scale(1.08);color:#17a76d}}@keyframes wxpay-circle{to{stroke-dashoffset:0}}@keyframes wxpay-tick{to{stroke-dashoffset:0}}@keyframes wxpay-success-halo{from{transform:scale(.85);opacity:1}to{transform:scale(1.17);opacity:0}}
@media(max-width:780px){.wxpay-recharge-page .recharge-heading{grid-template-columns:54px 1fr;gap:10px 14px}.wxpay-recharge-page .recharge-hero-icon{width:54px;height:54px;border-radius:15px}.wxpay-recharge-page .recharge-heading h1{font-size:29px}.wxpay-recharge-page .recharge-heading>p{font-size:13px}.wxpay-recharge-page .recharge-balance{grid-column:1/-1;grid-row:3;justify-content:center;margin-top:8px;padding:12px 18px}.wxpay-topup-banner{gap:14px;padding:22px;flex-wrap:wrap}.wxpay-banner-icon{width:48px;height:48px;border-radius:15px}.wxpay-topup-banner h2{font-size:20px}.wxpay-topup-banner button{width:100%;margin:4px 0 0;padding:12px}.wxpay-recharge-page .recharge-benefits{gap:12px;padding:12px}.wxpay-recharge-page .recharge-benefits strong{font-size:11px}.wxpay-recharge-page .recharge-feature-icon{display:none}.wxpay-recharge-page .recharge-methods{grid-template-columns:1fr}.wxpay-recharge-page .recharge-method{min-height:100px;padding:18px 20px}}
@media(max-width:420px){#portalModal .modal-content:has(#wxpayCheckout){padding:25px 17px 18px}.wxpay-dialog-head h3{font-size:23px}.wxpay-qr-frame{width:210px;min-height:210px}.wxpay-live{font-size:12px}.wxpay-success-amount{font-size:30px}.wxpay-topup-banner p{font-size:12px}}
@media(max-height:800px){#portalModal .modal-content:has(#wxpayCheckout){padding-top:20px;padding-bottom:16px}.wxpay-dialog-head h3{margin-top:9px;font-size:23px}.wxpay-amount{margin:10px 0}.wxpay-amount strong{font-size:35px}.wxpay-qr-frame{width:210px;min-height:210px}.wxpay-live{margin-top:12px}.wxpay-expiry{margin-bottom:10px}.wxpay-steps{padding:10px 0}.wxpay-refresh{margin-top:10px;margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.wxpay-recharge-page *,.wxpay-checkout *,.wxpay-checkout *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}.wxpay-success-ring circle,.wxpay-success-ring path{stroke-dashoffset:0}.wxpay-scanline{display:none}}

/* Compact top-up workspace: no fixed heights, clipped content or page scaling. */
.wxpay-recharge-page{max-width:1040px;padding:16px 0 24px}
.wxpay-recharge-page .recharge-heading{grid-template-columns:42px 1fr auto;column-gap:12px;margin-bottom:12px}
.wxpay-recharge-page .recharge-hero-icon{width:42px;height:42px;border-radius:12px}.wxpay-recharge-page .recharge-hero-icon svg{width:24px;height:24px}
.wxpay-recharge-page .recharge-heading h1{font-size:25px;line-height:1.2}.wxpay-recharge-page .recharge-heading>p{font-size:12px;margin-top:3px}
.wxpay-recharge-page .recharge-balance{padding:9px 14px;border-radius:12px}.wxpay-recharge-page .recharge-balance span{font-size:12px}.wxpay-recharge-page .recharge-balance strong{font-size:20px}
.wxpay-recharge-page .wxpay-topup-banner{display:none}
.wxpay-recharge-page .recharge-benefits{gap:22px;padding:7px 14px;margin-bottom:12px}.wxpay-recharge-page .recharge-benefits strong{font-size:12px}.wxpay-recharge-page .recharge-feature-icon{width:18px;height:18px}.wxpay-recharge-page .recharge-feature-icon svg{width:17px;height:17px}
.wxpay-recharge-page .recharge-card{border-radius:17px}.wxpay-recharge-page .recharge-amount-section,.wxpay-recharge-page .recharge-payment-section{padding:18px}
.wxpay-recharge-page .recharge-amount-section>label,.wxpay-recharge-page .recharge-payment-section h2{font-size:13px;margin-bottom:10px}
.wxpay-recharge-page .recharge-presets{gap:7px;margin-bottom:10px}.wxpay-recharge-page .recharge-presets button{padding:10px 6px;font-size:14px;border-radius:9px;min-height:40px}
.wxpay-recharge-page .recharge-amount-input{padding:10px 12px;gap:10px;border-radius:10px}.wxpay-recharge-page .recharge-amount-input>span{font-size:17px}.wxpay-recharge-page .recharge-amount-input input{font-size:19px}.wxpay-recharge-page .recharge-amount-input small{font-size:10px;padding:4px 6px}.wxpay-recharge-page .wxpay-integer-hint{margin-top:7px;font-size:11px}
.wxpay-recharge-page .recharge-methods{gap:8px;margin-bottom:10px}.wxpay-recharge-page .wxpay-group-label{font-size:12px;line-height:1.5}.wxpay-recharge-page .wxpay-group-label small{margin-top:2px;font-size:11px;line-height:1.5}.wxpay-recharge-page .wxpay-manual-label{margin-top:3px;padding-top:9px}
.wxpay-recharge-page .recharge-method,.wxpay-recharge-page .wxpay-native-method{min-height:68px;padding:10px 12px;gap:9px;border-radius:11px}.wxpay-recharge-page .recharge-method strong,.wxpay-recharge-page .wxpay-native-method strong{font-size:14px;line-height:1.4;margin:0 16px 3px 0}.wxpay-recharge-page .recharge-method small{font-size:11px;line-height:1.5}.wxpay-recharge-page .recharge-method em{margin-top:4px;padding:2px 6px;font-size:10px}.wxpay-recharge-page .wxpay-method-reminder{margin-top:4px}
.wxpay-recharge-page .recharge-payment-logo{width:32px;min-width:32px;height:32px;border-radius:9px}.wxpay-recharge-page .recharge-payment-logo svg{width:25px;height:25px}.wxpay-recharge-page .alipay-glyph{font-size:25px}.wxpay-recharge-page .recharge-selected-check{top:8px;right:8px;width:16px;height:16px;font-size:11px}
.wxpay-recharge-page .recharge-notice{padding:8px 11px;margin:10px 0;font-size:11px;line-height:1.65}.wxpay-recharge-page .recharge-note-label{font-size:11px;margin-bottom:5px}.wxpay-recharge-page .recharge-payment-section>input{padding:9px;font-size:12px}.wxpay-recharge-page .portal-error:empty{display:none}
.wxpay-recharge-page .recharge-footer{flex-direction:row;align-items:center;gap:12px;padding-top:10px}.wxpay-recharge-page .recharge-footer>span{flex-shrink:0;font-size:11px;text-align:left}.wxpay-recharge-page .recharge-footer strong{font-size:19px;margin-left:5px}.wxpay-recharge-page .wxpay-primary{width:auto;flex:1;min-height:42px;padding:10px 14px;font-size:14px;border-radius:10px}.wxpay-recharge-page .wxpay-primary svg{width:18px;height:18px}
.wxpay-recharge-page .recharge-record-link{margin-top:8px}.wxpay-recharge-page .recharge-record-link button{padding:6px;font-size:12px}
/* Amount first, full width; payment methods follow below. */
@media(min-width:960px){
 .wxpay-recharge-page #rechargePageForm{display:block}
 .wxpay-recharge-page .recharge-amount-section,.wxpay-recharge-page .recharge-payment-section{padding:24px 28px}
 .wxpay-recharge-page .recharge-payment-section{border-left:0;border-top:1px solid #e0e6ed}
 .wxpay-recharge-page .recharge-presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}
 .wxpay-recharge-page .recharge-presets button{padding:16px 10px;font-size:17px}
 .wxpay-recharge-page .recharge-amount-input{flex-wrap:nowrap;padding:16px 18px;gap:14px;border-radius:14px}
 .wxpay-recharge-page .recharge-amount-input>span{font-size:22px}
 .wxpay-recharge-page .recharge-amount-input input{width:100%;font-size:22px}
 .wxpay-recharge-page .recharge-amount-input small{margin-left:auto;font-size:11px;padding:7px 10px}
 html[data-theme=dark] .wxpay-recharge-page .recharge-payment-section{border-color:#334357}
}
@media(max-width:780px){.wxpay-recharge-page{padding-top:12px}.wxpay-recharge-page .recharge-heading{grid-template-columns:36px minmax(0,1fr) auto;column-gap:8px;row-gap:0}.wxpay-recharge-page .recharge-hero-icon{width:36px;height:36px}.wxpay-recharge-page .recharge-heading h1{font-size:22px}.wxpay-recharge-page .recharge-heading>p{font-size:11px}.wxpay-recharge-page .recharge-balance{grid-column:3;grid-row:1/3;display:flex;flex-direction:column;gap:2px;padding:7px 10px;margin:0}.wxpay-recharge-page .recharge-balance strong{font-size:17px}.wxpay-recharge-page .recharge-balance span{font-size:10px}.wxpay-recharge-page .recharge-benefits{gap:12px}.wxpay-recharge-page .recharge-benefits strong{font-size:10px}.wxpay-recharge-page .recharge-amount-section,.wxpay-recharge-page .recharge-payment-section{padding:14px}.wxpay-recharge-page .recharge-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wxpay-recharge-page .recharge-method{gap:7px;padding:10px}.wxpay-recharge-page .wxpay-manual-method .recharge-payment-logo{display:none}.wxpay-recharge-page .recharge-method strong{font-size:13px}.wxpay-recharge-page .recharge-footer{flex-wrap:wrap}.wxpay-recharge-page .wxpay-primary{min-width:155px}}
@media(max-width:420px){.wxpay-recharge-page .recharge-presets{grid-template-columns:repeat(3,1fr)}.wxpay-recharge-page .recharge-amount-input{flex-wrap:nowrap;gap:7px;padding:10px}.wxpay-recharge-page .recharge-amount-input>span{font-size:14px}.wxpay-recharge-page .recharge-amount-input input{width:65px;font-size:17px}.wxpay-recharge-page .recharge-amount-input small{font-size:9px;padding:4px}.wxpay-recharge-page .recharge-benefits{gap:9px;padding:7px}.wxpay-recharge-page .recharge-benefits strong{font-size:9px}}


/* public/crypto-checkout.css */
/* Only an explicitly enabled direct-wallet capability changes the recharge grid. */
#portalModal .portal-dialog:has(#cryptoCheckout){box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:760px}
.recharge-page.crypto-enabled .recharge-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.recharge-page.crypto-enabled :is(.apage-auto-method,.crypto-auto-method){grid-column:auto!important;min-width:0}
.recharge-page.crypto-selected .recharge-amount-section,.recharge-page.crypto-selected .recharge-footer>span{display:none}
.recharge-page.crypto-selected #rechargePageForm{grid-template-columns:minmax(0,1fr)}
.recharge-page.crypto-selected #rechargePageForm>.recharge-payment-section{grid-column:1/-1;border-left:0}
.recharge-page.crypto-enabled .crypto-auto-method{background:linear-gradient(135deg,#f6fcfa,#f3f9ff);border-color:#bddbd2}
.recharge-page.crypto-enabled .crypto-auto-method.selected{background:#eaf8f2;border-color:#399c78;box-shadow:0 0 0 1px #399c7820}
.crypto-token-symbol{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#26a17b;color:#fff;font-size:29px;font-weight:750;line-height:1}
.crypto-token-symbol i{position:absolute;right:-8px;bottom:-4px;display:grid;place-items:center;width:23px;height:23px;border:2px solid #fff;border-radius:50%;background:#2775ca;color:#fff;font-size:16px;font-style:normal}
.crypto-checkout{max-width:980px;margin:0 auto;padding:6px 2px;color:#26313d;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.crypto-checkout *{box-sizing:border-box}
.crypto-checkout [hidden]{display:none!important}
.crypto-checkout header{text-align:center;margin-bottom:25px}
.crypto-checkout header h3{font-size:26px;margin:12px 0 8px;color:inherit}
.crypto-checkout header p{margin:0 auto;max-width:660px;color:#718196}
.crypto-modal-badge{display:inline-flex;align-items:center;justify-content:center;min-width:70px;height:48px;border-radius:15px;background:#e4f6ee;color:#248b68;font-size:23px;font-weight:700}
.crypto-choose-form{display:grid;gap:17px;max-width:560px;margin:0 auto}
.crypto-choose-form label{display:grid;gap:8px;font-size:14px;font-weight:600;color:inherit}
.crypto-choose-form :is(select,input){width:100%;min-width:0;border:1px solid #cdd7e4;border-radius:12px;padding:13px 14px;background:#f8fafc;color:inherit;font:inherit}
.crypto-token-input{position:relative;display:flex;align-items:center;gap:10px}.crypto-token-input input{padding-right:78px!important}.crypto-token-input>b{position:absolute;right:14px;font-weight:650;color:#4a7667;pointer-events:none}
.crypto-input-estimate{display:grid;grid-template-columns:1fr auto;gap:7px 12px;padding:13px 15px;border-radius:12px;background:#f1f8f5;color:#426b5a}.crypto-input-estimate strong{font:650 17px ui-monospace,Consolas,monospace}.crypto-input-estimate small{grid-column:1/-1;font-size:12px;line-height:1.6;color:#718196}
html[data-theme=dark] .crypto-input-estimate{background:#19392f;color:#99d5ba}html[data-theme=dark] .crypto-token-input>b{color:#99d5ba}
.crypto-choose-form>small,.crypto-rate-note,.crypto-finality-note{font-size:12px;line-height:1.7;color:#718196;margin:0}
.crypto-exact-amount{padding:18px 20px;margin:0 0 24px;border:1px solid #b8dccc;border-radius:15px;background:#f1faf6}
.crypto-exact-amount>label{display:block;font-weight:650;color:#307a60;margin-bottom:10px}
.crypto-exact-value{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.crypto-checkout .crypto-exact-value input{flex:1 1 180px;min-width:0;width:100%;font:700 29px ui-monospace,Consolas,monospace;padding:5px 0;border:0;background:transparent;color:#246c53;letter-spacing:.02em}
.crypto-exact-value>b{font-size:16px;color:#307a60}.crypto-exact-amount>p{font-size:12px;line-height:1.75;color:#5d7c6f;margin:12px 0 0}
.crypto-checkout :is(button,select,textarea):focus-visible{outline:3px solid #8ab7ed;outline-offset:3px}
.crypto-warning{margin:14px 0;padding:13px 16px;border:1px solid #edcf91;border-radius:12px;background:#fff8e9;color:#8b611b;font-size:13px}
.crypto-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:22px 0 27px;gap:8px;text-align:center}
.crypto-stages li{color:#8d99a8;font-size:12px;min-width:0}
.crypto-stages b{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#edf1f6;color:#7b8a9b;margin:0 auto 8px;font-size:13px}
.crypto-stages li.active{color:#276dc1;font-weight:650}.crypto-stages li.active b{background:#e4effe;color:#276dc1;box-shadow:0 0 0 4px #eaf3ff}
.crypto-stages li.done{color:#258d6b}.crypto-stages li.done b{background:#e4f6ee;color:#258d6b}
.crypto-payment-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:30px;align-items:start}.crypto-payment-grid[hidden]{display:none}
.crypto-payment-grid:has(#cryptoQR[hidden]){grid-template-columns:minmax(0,1fr)}
.crypto-qr-frame{display:flex;align-items:center;justify-content:center;min-width:0;min-height:220px;padding:14px;background:#fff;border:1px solid #dce5ee;border-radius:17px;color:#687b91;text-align:center}
.crypto-qr-frame img{display:block;width:230px;height:230px;max-width:100%;object-fit:contain;image-rendering:pixelated}
.crypto-payment-info{min-width:0}.crypto-payment-info>label{display:block;font-weight:600;margin-bottom:8px}
.crypto-checkout textarea{resize:none;width:100%;max-width:100%;border:1px solid #cdd7e4;border-radius:10px;padding:12px;background:#f5f8fb;color:#293d52;font-family:ui-monospace,Consolas,monospace;font-size:13px;line-height:1.5;word-break:break-all}
.crypto-checkout dl{margin:8px 0}.crypto-checkout dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;padding:10px 0;border-bottom:1px solid #e6edf3;font-size:12px}.crypto-checkout dt{color:#738297}.crypto-checkout dd{margin:0;overflow-wrap:anywhere;text-align:right}
.crypto-live{padding:13px 16px;margin:18px 0 8px;border-radius:12px;background:#edf5ff;color:#326caa;font-size:14px}
.crypto-receipt{margin-top:18px;font-size:11px;color:#8a97a7;text-align:center;overflow-wrap:anywhere}
.crypto-history-label{display:block;margin-top:7px;font-size:11px;line-height:1.6;color:#278365}
html[data-theme=dark] .crypto-history-label{color:#97d2b9}
.crypto-success{text-align:center;padding:25px 10px}.crypto-success h3{font-size:27px;color:inherit;margin:20px 0 12px}.crypto-success-icon{display:grid;place-items:center;width:78px;height:78px;border:3px solid #59b18f;border-radius:50%;color:#329775;background:#ebf8f1;font-size:47px;margin:0 auto;animation:cryptoSuccessIn .25s ease-out}.crypto-success-amount{display:block;color:#2c946f;font-size:32px;line-height:1.4}.crypto-success p{color:#738297}
@keyframes cryptoSuccessIn{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}
html[data-theme=dark] .recharge-page.crypto-enabled .crypto-auto-method{background:linear-gradient(135deg,#1b3432,#1e2f45);border-color:#3b665b}html[data-theme=dark] .recharge-page.crypto-enabled .crypto-auto-method.selected{background:#21453c;border-color:#60b797}
html[data-theme=dark] .crypto-checkout{color:#e8eef7}html[data-theme=dark] .crypto-checkout header p,html[data-theme=dark] .crypto-success p,html[data-theme=dark] :is(.crypto-choose-form>small,.crypto-rate-note,.crypto-finality-note){color:#a9b8ca}html[data-theme=dark] .crypto-modal-badge{background:#24483c;color:#88dab7}html[data-theme=dark] .crypto-choose-form :is(select,input),html[data-theme=dark] .crypto-checkout textarea{background:#172333;border-color:#3b4e63;color:#e1ecf8}html[data-theme=dark] .crypto-warning{background:#3a321f;border-color:#6d5932;color:#e4c480}html[data-theme=dark] .crypto-live{background:#20364e;color:#abd0fb}html[data-theme=dark] .crypto-checkout dl>div{border-color:#37495c}html[data-theme=dark] .crypto-checkout dt{color:#a1b1c5}html[data-theme=dark] .crypto-stages b{background:#2b3d50;color:#a9b8c8}html[data-theme=dark] .crypto-stages li.active,html[data-theme=dark] .crypto-stages li.active b{color:#b2d2ff}html[data-theme=dark] .crypto-stages li.active b{background:#28466c;box-shadow:0 0 0 4px #20334b}html[data-theme=dark] .crypto-stages li.done,html[data-theme=dark] .crypto-stages li.done b{color:#9fdec3}html[data-theme=dark] .crypto-stages li.done b{background:#294c40}html[data-theme=dark] .crypto-success-icon{background:#234b3d;color:#a2e4c5}html[data-theme=dark] .crypto-success-amount{color:#97ddbd}
html[data-theme=dark] .crypto-exact-amount{background:#1f3b32;border-color:#3d705a}html[data-theme=dark] .crypto-exact-amount :is(label,b,input){color:#9de1bd}html[data-theme=dark] .crypto-exact-amount>p{color:#b1c9bd}
@media(min-width:1024px){#portalModal .portal-dialog:has(#cryptoCheckout){width:min(760px,calc(100vw / 1.05 - 24px))}}
@media(max-width:580px){.recharge-page.crypto-enabled :is(.apage-auto-method,.crypto-auto-method){grid-column:1/-1!important}.crypto-checkout{padding:0;font-size:13px}.crypto-checkout header h3{font-size:23px}.crypto-checkout header{margin-bottom:18px}.crypto-payment-grid{grid-template-columns:1fr;gap:18px}.crypto-qr-frame{width:216px;min-height:216px;margin:0 auto}.crypto-qr-frame img{width:186px;height:186px}.crypto-stages{gap:4px;margin-bottom:23px}.crypto-stages li{font-size:11px}.crypto-checkout dl>div{gap:8px}.crypto-warning{padding:11px 12px}.crypto-success-amount{font-size:28px}}
@media(prefers-reduced-motion:reduce){.crypto-success-icon{animation:none}}
@media(max-width:580px){.crypto-exact-amount{padding:15px;margin-bottom:19px}.crypto-checkout .crypto-exact-value input{font-size:24px;flex-basis:150px}.crypto-exact-value button{flex-basis:100%;text-align:center}}

/* Compact checkout: transfer essentials first, secondary quote fields expandable. */
#portalModal .portal-dialog:has(#cryptoCheckout){padding:52px 22px 18px;border-radius:20px}
#cryptoCheckout{max-width:none;padding:0;font-size:13px;line-height:1.5}
#cryptoCheckout header{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;text-align:left;align-items:center;margin-bottom:12px}
#cryptoCheckout .crypto-modal-badge{grid-row:1/3;min-width:0;width:42px;height:42px;border-radius:12px;font-size:17px}
#cryptoCheckout header h3{font-size:20px;margin:0 38px 3px 0;line-height:1.3}
#cryptoCheckout header p{margin:0;font-size:12px;line-height:1.4}
#cryptoCheckout .crypto-stages{margin:10px 0 14px;gap:6px}
#cryptoCheckout .crypto-stages li{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;line-height:1.4}
#cryptoCheckout .crypto-stages b{flex:0 0 22px;width:22px;height:22px;margin:0;font-size:11px}
#cryptoCheckout .crypto-exact-amount{padding:12px 14px;margin-bottom:14px;border-radius:12px}
#cryptoCheckout .crypto-exact-amount>label{font-size:12px;margin-bottom:4px}
#cryptoCheckout .crypto-exact-value{gap:9px}
#cryptoCheckout .crypto-exact-value input{font-size:25px;padding:2px 0;flex-basis:150px;line-height:1.3}
#cryptoCheckout .crypto-exact-value>b{font-size:13px}
#cryptoCheckout .crypto-exact-value button{padding:7px 10px;font-size:12px;flex-basis:auto;min-height:34px}
#cryptoCheckout .crypto-exact-amount>p{font-size:11px;line-height:1.5;margin-top:6px}
#cryptoCheckout .crypto-payment-grid{grid-template-columns:180px minmax(0,1fr);gap:16px}
#cryptoCheckout .crypto-payment-grid:has(#cryptoQR[hidden]){grid-template-columns:minmax(0,1fr)}
#cryptoCheckout .crypto-qr-frame{width:180px;min-height:180px;padding:10px;border-radius:12px;margin:0}
#cryptoCheckout .crypto-qr-frame img{width:158px;height:158px}
#cryptoCheckout #cryptoAddressControls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;align-items:center}
#cryptoCheckout #cryptoAddressControls>label{grid-column:1/-1;font-size:12px;font-weight:600}
#cryptoCheckout #cryptoAddress{height:51px;padding:8px 10px;font-size:12px;line-height:1.4}
#cryptoCheckout #cryptoCopy{padding:8px;font-size:12px;min-height:34px;margin:0}
#cryptoCheckout dl{margin:6px 0}
#cryptoCheckout dl>div{padding:6px 0;gap:10px;font-size:11px;line-height:1.45}
#cryptoCheckout .crypto-order-summary>div:first-child dd{color:#278365;font-size:14px;font-weight:650}
#cryptoCheckout .crypto-order-details{margin-top:7px}
#cryptoCheckout .crypto-order-details summary{cursor:pointer;color:#3567cf;font-size:12px;padding:4px 0}
#cryptoCheckout .crypto-order-details[open]{padding-bottom:5px}
#cryptoCheckout .crypto-order-details summary:focus-visible{outline:2px solid #8ab7ed;outline-offset:2px;border-radius:4px}
#cryptoCheckout .crypto-warning{margin:12px 0 7px;padding:9px 11px;font-size:11px;line-height:1.5}
#cryptoCheckout .crypto-finality-note,#cryptoCheckout .crypto-rate-note{font-size:11px;line-height:1.5}
#cryptoCheckout .crypto-status-row{display:flex;align-items:center;gap:10px;margin-top:10px}
#cryptoCheckout .crypto-live{flex:1;margin:0;padding:8px 10px;font-size:12px;line-height:1.5}
#cryptoCheckout #cryptoCheck{flex-shrink:0;font-size:12px;padding:8px 10px;margin:0;min-height:36px}
#cryptoCheckout .crypto-receipt{margin-top:8px;font-size:10px;line-height:1.5}
html[data-theme=dark] #cryptoCheckout .crypto-order-summary>div:first-child dd{color:#97ddbd}
html[data-theme=dark] #cryptoCheckout .crypto-order-details summary{color:#abd0fb}
@media(max-width:580px){
 #portalModal .portal-dialog:has(#cryptoCheckout){width:calc(100vw - 20px);padding:52px 14px 16px;border-radius:17px}
 #cryptoCheckout header h3{font-size:19px}
 #cryptoCheckout .crypto-stages li{display:grid;justify-items:center;gap:5px;font-size:10px}
 #cryptoCheckout .crypto-exact-value{gap:5px 8px}
 #cryptoCheckout .crypto-exact-value input{font-size:23px;flex-basis:130px}
 #cryptoCheckout .crypto-exact-value button{flex-basis:100%;text-align:center}
 #cryptoCheckout .crypto-payment-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 #cryptoCheckout .crypto-qr-frame{margin:0 auto}
 #cryptoCheckout .crypto-status-row{flex-wrap:wrap;gap:7px}
 #cryptoCheckout .crypto-live{flex-basis:100%}
 #cryptoCheckout #cryptoCheck{width:100%}
}

/* One-page desktop payment view: QR/status beside the transfer instructions. */
#portalModal .portal-dialog:has(#cryptoCheckout .crypto-order-layout){width:min(940px,calc(100vw / 1.05 - 28px));max-width:940px;padding:22px;border-radius:22px}
#portalModalBody:has(.crypto-order-layout){scrollbar-gutter:auto}
#cryptoCheckout .crypto-order-layout header{margin:0 42px 10px 0}
#cryptoCheckout .crypto-order-layout .crypto-stages{margin:10px 0 18px}
#cryptoCheckout .crypto-order-layout .crypto-payment-grid{grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:stretch}
#cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:22px 16px;background:#f5f8fb;border:1px solid #e6edf3;border-radius:18px}
#cryptoCheckout .crypto-order-layout .crypto-qr-frame{width:204px;min-height:204px;padding:12px;border-radius:14px}
#cryptoCheckout .crypto-order-layout .crypto-qr-frame img{width:178px;height:178px}
#cryptoCheckout .crypto-order-layout .crypto-status-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;margin-top:16px}
#cryptoCheckout .crypto-order-layout .crypto-live{flex:none;font-size:12px;line-height:1.6;text-align:center;margin:0;padding:10px}
#cryptoCheckout .crypto-order-layout #cryptoCheck{width:100%;min-height:36px;font-size:12px}
#cryptoCheckout .crypto-order-layout .crypto-payment-info{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0}
#cryptoCheckout .crypto-order-layout .crypto-exact-amount{margin:0;padding:12px 14px}
#cryptoCheckout .crypto-order-layout .crypto-exact-value{gap:8px}
#cryptoCheckout .crypto-order-layout .crypto-exact-value input{flex-basis:125px;font-size:25px}
#cryptoCheckout .crypto-order-layout #cryptoAddressControls{grid-template-columns:minmax(0,1fr) auto;gap:5px 9px}
#cryptoCheckout .crypto-order-layout #cryptoAddress{height:54px;font-size:12px;padding:9px 10px}
#cryptoCheckout .crypto-order-layout .crypto-order-summary{margin:0}
#cryptoCheckout .crypto-order-layout .crypto-order-summary>div{padding:5px 0}
#cryptoCheckout .crypto-order-layout .crypto-warning{margin:0;padding:9px 11px;line-height:1.5;font-size:11px}
#cryptoCheckout .crypto-order-layout .crypto-order-details{position:relative;margin:0}
#cryptoCheckout .crypto-order-layout .crypto-order-details summary{padding:6px 0;font-size:12px}
#cryptoCheckout .crypto-order-layout .crypto-details-sheet{position:absolute;z-index:4;right:0;bottom:32px;width:100%;padding:13px 15px;border:1px solid #cdd7e4;border-radius:12px;background:#fff;box-shadow:0 12px 40px #1b2f4f26;text-align:left}
#cryptoCheckout .crypto-order-layout .crypto-details-sheet .crypto-finality-note{margin-top:8px}
#cryptoCheckout .crypto-order-layout .crypto-receipt{margin-top:10px}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{background:#172638;border-color:#33495d}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-details-sheet{background:#192b3d;border-color:#40566e}
@media(min-width:701px) and (max-height:720px){
 #portalModal .portal-dialog:has(#cryptoCheckout .crypto-order-layout){padding:18px;max-height:92dvh}
 #cryptoCheckout .crypto-order-layout .crypto-stages{margin:8px 0 12px}
 #cryptoCheckout .crypto-order-layout .crypto-payment-info{gap:8px}
 #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{padding:16px 12px}
 #cryptoCheckout .crypto-order-layout .crypto-exact-amount{padding:10px 12px}
 #cryptoCheckout .crypto-order-layout .crypto-exact-amount>p{margin-top:4px}
 #cryptoCheckout .crypto-order-layout .crypto-receipt{margin-top:6px}
}
@media(max-width:700px){
 #portalModal .portal-dialog:has(#cryptoCheckout .crypto-order-layout){width:calc(100vw - 20px);padding:52px 14px 16px;border-radius:17px}
 #cryptoCheckout .crypto-order-layout header{margin-right:0}
 #cryptoCheckout .crypto-order-layout .crypto-payment-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{padding:14px}
 #cryptoCheckout .crypto-order-layout .crypto-status-row{margin-top:10px}
 #cryptoCheckout .crypto-order-layout .crypto-exact-value input{flex-basis:130px}
 #cryptoCheckout .crypto-order-layout .crypto-details-sheet{position:static;box-shadow:none;margin-top:5px}
}

/* The shared modal manager owns the page scroll lock and releases it on close. */

/* Network badge and an on-demand illustrated fee example. */
#cryptoCheckout .crypto-order-layout .crypto-network-plaque{display:inline-flex;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 62px);padding:7px 12px;margin-top:7px;border:1px solid #deb753;border-radius:8px;background:#fff5ce;color:#77510b;font-size:15px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
#cryptoCheckout .crypto-network-plaque[data-crypto-network="usdt_tron"]{background:#fff0ef;border-color:#e9a29e;color:#b12630}
#cryptoCheckout .crypto-network-plaque[data-crypto-network="usdc_base"]{background:#eaf1ff;border-color:#9cb8f3;color:#2453be}
#cryptoCheckout .crypto-amount-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin-bottom:4px}
#cryptoCheckout .crypto-amount-heading label{margin:0}
#cryptoCheckout .crypto-example-link{padding:3px 0;border:0;background:transparent;color:#275fc6;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
#cryptoCheckout .crypto-order-layout{position:relative}
#cryptoCheckout .crypto-example-panel{position:absolute;inset:0;z-index:8;display:flex;align-items:center;padding:8px;background:#fffefef5;border-radius:16px}
#cryptoCheckout .crypto-example-panel[hidden]{display:none}
#cryptoCheckout .crypto-example-card{width:100%;padding:20px;border:1px solid #cdd8e9;border-radius:15px;background:white;box-shadow:0 8px 30px #18376818;font-size:13px}
#cryptoCheckout .crypto-example-card>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0}
#cryptoCheckout .crypto-example-card>header h3{margin:0;font-size:21px}
#cryptoCheckout .crypto-example-card>header button{min-height:34px;padding:6px 12px;font-size:12px}
#cryptoCheckout .crypto-example-only{color:#6d788b;margin:12px 0}
#cryptoCheckout .crypto-example-target{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:12px 16px;border-radius:10px;background:#eef8f2;border:1px solid #bedfca;color:#28704e}
#cryptoCheckout .crypto-example-target strong{font-size:20px}
#cryptoCheckout .crypto-example-flow{display:grid;grid-template-columns:1fr 20px 1fr 20px 1fr;gap:8px;align-items:center;margin:20px 0 12px}
#cryptoCheckout .crypto-example-flow>div{min-width:0;display:flex;flex-direction:column;gap:12px;padding:18px 10px;border:1px solid #d7dfeb;border-radius:12px;background:#f7f9fc;text-align:center}
#cryptoCheckout .crypto-example-flow>div>span{min-height:2.7em;font-size:12px;color:#61718a;line-height:1.35}
#cryptoCheckout .crypto-example-flow strong{font-size:15px;overflow-wrap:anywhere}
#cryptoCheckout .crypto-example-flow .crypto-example-entry{background:#edf3ff;border-color:#afc7f1;color:#2455b9}
#cryptoCheckout .crypto-example-flow .crypto-example-received{background:#eef8f2;border-color:#a9d4b8;color:#28704e}
#cryptoCheckout .crypto-example-operator{font-size:23px;text-align:center;color:#62708a}
#cryptoCheckout .crypto-example-formula{font-size:12px;text-align:center;color:#65738b;margin:0 0 16px}
#cryptoCheckout .crypto-example-check{padding:12px;background:#f0f7ff;border-radius:9px;color:#255aaf;line-height:1.5}
#cryptoCheckout .crypto-example-zero{font-weight:650;line-height:1.5;margin:12px 0 8px}
#cryptoCheckout .crypto-example-card>small{display:block;color:#6d788b;line-height:1.5}
html[data-theme=dark] #cryptoCheckout .crypto-network-plaque{filter:brightness(.9)}
html[data-theme=dark] #cryptoCheckout .crypto-example-panel{background:#142334f5}
html[data-theme=dark] #cryptoCheckout .crypto-example-card{background:#192b3d;border-color:#425773;color:#e2ebf7}
html[data-theme=dark] #cryptoCheckout .crypto-example-only,html[data-theme=dark] #cryptoCheckout .crypto-example-card>small{color:#a7b9ce}
html[data-theme=dark] #cryptoCheckout .crypto-example-link{color:#8db4ff}
@media(max-width:700px){
 #cryptoCheckout .crypto-order-layout .crypto-network-plaque{font-size:13px;max-width:calc(100% - 62px)}
 #cryptoCheckout .crypto-example-panel{position:fixed;inset:55px 12px 16px;padding:4px;overflow:auto;align-items:flex-start}
 #cryptoCheckout .crypto-example-card{padding:14px;font-size:12px}
 #cryptoCheckout .crypto-example-flow{gap:3px;grid-template-columns:1fr 12px 1fr 12px 1fr}
 #cryptoCheckout .crypto-example-flow>div{padding:12px 4px}
 #cryptoCheckout .crypto-example-flow strong{font-size:12px}
 #cryptoCheckout .crypto-example-flow>div>span{font-size:10px;min-height:4em}
}

/* Hash-only receipt check; current invoice and network remain server-bound. */
#cryptoCheckout .crypto-order-layout #cryptoSelfOpen{width:100%;min-height:36px;font-size:12px;font-weight:650;border-color:#9ebee9;background:#edf4ff;color:#245db7}
#cryptoCheckout .crypto-self-panel{position:absolute;inset:0;z-index:9;display:flex;align-items:center;padding:8px;background:#fffffff8;border-radius:16px}
#cryptoCheckout .crypto-self-card{width:100%;padding:22px;border:1px solid #cdd8e9;border-radius:15px;background:#fff;box-shadow:0 8px 30px #18376818;font-size:13px}
#cryptoCheckout .crypto-self-card>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px}
#cryptoCheckout .crypto-self-card>header h3{font-size:22px;margin:0}
#cryptoCheckout .crypto-self-card>header button{padding:6px 10px;min-height:34px;font-size:12px}
#cryptoCheckout .crypto-self-hint{margin:0 0 12px;line-height:1.6;color:#53677f}
#cryptoCheckout .crypto-self-card .crypto-network-plaque{font-size:14px;margin:0 0 14px;max-width:100%}
#cryptoSelfForm{display:flex;flex-direction:column;gap:9px}
#cryptoSelfForm label{font-weight:650}
#cryptoSelfHash{width:100%;border:1px solid #b7c7dc;border-radius:10px;padding:12px;background:#f7faff;color:inherit;font:13px ui-monospace,Consolas,monospace}
#cryptoSelfForm small,#cryptoCheckout .crypto-self-rule{color:#748398;font-size:12px;line-height:1.5}
#cryptoSelfMessage{min-height:1.6em;color:#b76c16;margin:3px 0;overflow-wrap:anywhere}
#cryptoSelfSubmit{width:100%;padding:11px}
#cryptoCheckout .crypto-self-rule{margin:12px 0 0}
html[data-theme=dark] #cryptoCheckout .crypto-self-panel{background:#142334f8}
html[data-theme=dark] #cryptoCheckout .crypto-self-card{background:#192b3d;border-color:#425773;color:#e2ebf7}
html[data-theme=dark] #cryptoSelfHash{background:#132439;border-color:#425773}
html[data-theme=dark] #cryptoCheckout .crypto-self-hint{color:#b2c3d5}
@media(max-width:700px){#cryptoCheckout .crypto-self-panel{position:fixed;inset:55px 12px 16px;padding:4px;overflow:auto;align-items:flex-start}#cryptoCheckout .crypto-self-card{padding:16px}}

#cryptoCheckout #cryptoSelfSubmit{background:#316bd4;color:#fff;border:1px solid #316bd4;border-radius:10px;font-weight:650;cursor:pointer}#cryptoCheckout #cryptoSelfSubmit:disabled{opacity:.55;cursor:wait}

/* Checkout motion: a stable QR with decorative orbits and real server stages. */
#portalModal .portal-dialog:has(#cryptoCheckout .crypto-order-layout){width:min(1000px,calc(100vw / 1.05 - 28px));max-width:1000px;animation:jfCryptoDialogIn .28s cubic-bezier(.2,.8,.2,1) both}
#cryptoCheckout .crypto-token-pair{display:flex;align-items:center;justify-content:flex-start;background:transparent;overflow:visible}
#cryptoCheckout .crypto-token-pair i{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border:2px solid #fff;border-radius:50%;background:#44a281;color:white;font-style:normal;font-size:21px;font-weight:750;line-height:1}
#cryptoCheckout .crypto-token-pair i+i{margin-left:-11px;background:#3975ce;font-size:19px}
#cryptoCheckout .crypto-order-layout .crypto-stages{gap:0;margin:12px 0 16px;padding:0 4px}
#cryptoCheckout .crypto-order-layout .crypto-stages li{position:relative;display:flex;flex-direction:column;gap:7px;justify-content:flex-start;font-size:11px;line-height:1.35}
#cryptoCheckout .crypto-order-layout .crypto-stages li:not(:last-child)::after{content:'';position:absolute;top:13px;left:calc(50% + 19px);width:calc(100% - 38px);height:2px;border-radius:2px;background:#d5deea}
#cryptoCheckout .crypto-order-layout .crypto-stages b{position:relative;z-index:1;flex:0 0 28px;width:28px;height:28px;font-size:12px;background:#fff;border:2px solid #c9d4e2;color:#8d9aae;transition:color .2s,border-color .2s,background .2s}
#cryptoCheckout .crypto-order-layout .crypto-stages li.active b{border-color:#3276d8;background:#f0f6ff;color:#2866c7;box-shadow:0 0 0 4px #e9f2ff;animation:jfCryptoStepHalo 2.7s ease-in-out infinite}
#cryptoCheckout .crypto-order-layout .crypto-stages li.done b{border-color:#45a582;background:#e8f7ef;color:#2e8e6e}
#cryptoCheckout .crypto-order-layout .crypto-stages li.done::after{background:#72bea1}
#cryptoCheckout .crypto-order-layout .crypto-transfer-notice{position:relative;display:block;margin:0 0 16px;padding:10px 14px 10px 39px;border:1px solid #e8d3a8;border-radius:12px;background:#fff8e9;color:#8a5919;font-size:12px;line-height:1.55;text-align:left}
#cryptoCheckout .crypto-order-layout .crypto-transfer-notice::before{content:'!';position:absolute;left:13px;top:11px;display:grid;place-items:center;width:17px;height:17px;border:1.5px solid currentColor;border-radius:50%;font-size:11px;font-weight:750;line-height:1}
#cryptoCheckout[data-crypto-state=detected] .crypto-transfer-notice,#cryptoCheckout[data-crypto-state=confirming] .crypto-transfer-notice{background:#edf5ff;border-color:#b9d3f5;color:#2a66b8}
#cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{padding:20px 16px;background:linear-gradient(155deg,#f5f8fc,#f0f5fb);border-color:#e5edf5;border-radius:20px}
#cryptoCheckout .crypto-qr-orbit{position:relative;display:grid;place-items:center;width:218px;max-width:100%;aspect-ratio:1;margin:4px 0 12px;isolation:isolate}
#cryptoCheckout .crypto-orbit-ring{position:absolute;inset:2px;border:7px dashed #d5dee7;border-radius:50%;animation:jfCryptoOrbit 30s linear infinite;pointer-events:none;z-index:-1}
#cryptoCheckout .crypto-orbit-ring::before{content:'';position:absolute;inset:-15px;border:1px solid #bad0f4;border-radius:50%;opacity:.65}
#cryptoCheckout .crypto-orbit-track{position:absolute;inset:-3px;border-radius:50%;animation:jfCryptoOrbit 24s linear infinite;pointer-events:none}
#cryptoCheckout .crypto-orbit-track i{position:absolute;top:50%;left:-3px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#2d67eb;box-shadow:0 0 0 3px #ebf2ff}
#cryptoCheckout .crypto-orbit-track i+i{left:auto;right:-3px;background:#efbd38;box-shadow:0 0 0 3px #fff7df}
#cryptoCheckout .crypto-order-layout .crypto-qr-orbit .crypto-qr-frame{position:relative;width:calc(100% - 36px);min-height:0;aspect-ratio:1;padding:10px;margin:0;background:#fff;border:1px solid #e4eaf2;border-radius:19px;box-shadow:0 8px 23px #263b5920;z-index:1}
#cryptoCheckout .crypto-order-layout .crypto-qr-orbit .crypto-qr-frame img{display:block;width:100%;height:auto;max-width:178px;aspect-ratio:1;animation:none;transform:none;opacity:1}
#cryptoCheckout .crypto-monitor{display:flex;align-items:flex-start;justify-content:center;gap:7px;max-width:100%;margin:7px 0 0;color:#667b92;font-size:11px;line-height:1.55;text-align:center}
#cryptoCheckout .crypto-monitor>i{position:relative;flex:0 0 7px;width:7px;height:7px;margin-top:5px;background:#3c9c79;border-radius:50%}
#cryptoCheckout .crypto-monitor>i::after{content:'';position:absolute;inset:-4px;border:1px solid #67b99a;border-radius:50%;animation:jfCryptoSignal 2.2s ease-out infinite}
#cryptoCheckout .crypto-order-layout .crypto-status-row{margin-top:17px}
#cryptoCheckout .crypto-order-layout #cryptoSelfOpen,#cryptoCheckout #cryptoSelfSubmit,#cryptoCheckout [data-crypto-history-check]{border:1px solid #c73b48;background:linear-gradient(145deg,#df505d,#c63544);color:#fff;box-shadow:0 4px 10px #c6354424;font-weight:650;border-radius:11px}
#cryptoCheckout .crypto-order-layout #cryptoSelfOpen{min-height:39px;font-size:12px}
#cryptoCheckout button{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;color-scheme:light}
#cryptoCheckout #cryptoCopy{border:1px solid #3274d5;background:#3274d5;color:white;border-radius:11px;box-shadow:0 3px 8px #3274d51c}
#cryptoCheckout #cryptoSelfOpen:focus-visible,#cryptoCheckout #cryptoSelfSubmit:focus-visible{outline:3px solid #e59ca4;outline-offset:3px}
#cryptoCheckout button:enabled:active{transform:translateY(0) scale(.98);box-shadow:none}
#cryptoCheckout .crypto-self-panel:not([hidden]) .crypto-self-card,#cryptoCheckout .crypto-example-panel:not([hidden]) .crypto-example-card{animation:jfCryptoCardIn .23s ease-out both}
@media(hover:hover) and (pointer:fine){
 #cryptoCheckout :is(#cryptoSelfOpen,#cryptoSelfSubmit):enabled:hover{background:linear-gradient(145deg,#d94050,#b92a3a);border-color:#b92a3a;box-shadow:0 7px 16px #be354437;transform:translateY(-2px)}
 #cryptoCheckout #cryptoCopy:enabled:hover{background:#245fbb;border-color:#245fbb;box-shadow:0 6px 14px #2869c330;transform:translateY(-2px)}
 #cryptoCheckout .crypto-example-link:hover{color:#174b9b;transform:translateY(-1px)}
}
html[data-theme=dark] #cryptoCheckout .crypto-token-pair i{border-color:#192b3d}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{background:linear-gradient(155deg,#192a3e,#162537);border-color:#31465e}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-stages b{background:#1b2c40;border-color:#435972;color:#9bb0ca}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-stages li.active b{background:#223e62;border-color:#82b3f7;color:#b3d2ff}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-stages li:not(:last-child)::after{background:#3c5069}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-stages li.done::after{background:#4a9c7d}
html[data-theme=dark] #cryptoCheckout .crypto-order-layout .crypto-transfer-notice{background:#382f22;border-color:#735832;color:#f0c887}
html[data-theme=dark] #cryptoCheckout[data-crypto-state=detected] .crypto-transfer-notice,html[data-theme=dark] #cryptoCheckout[data-crypto-state=confirming] .crypto-transfer-notice{background:#20354f;border-color:#42658e;color:#b2d2ff}
html[data-theme=dark] #cryptoCheckout .crypto-orbit-ring{border-color:#40556a}
html[data-theme=dark] #cryptoCheckout .crypto-orbit-track i{border-color:#1b2c40;box-shadow:0 0 0 3px #243c5c}
html[data-theme=dark] #cryptoCheckout .crypto-orbit-track i+i{box-shadow:0 0 0 3px #403d2a}
html[data-theme=dark] #cryptoCheckout .crypto-monitor{color:#a7bbd0}
@media(min-width:701px) and (max-height:760px){
 #portalModal .portal-dialog:has(#cryptoCheckout .crypto-order-layout){padding:17px 20px}
 #cryptoCheckout .crypto-order-layout header{margin-bottom:7px}
 #cryptoCheckout .crypto-order-layout .crypto-stages{margin:8px 0 10px}
 #cryptoCheckout .crypto-order-layout .crypto-stages li{gap:5px;font-size:10px}
 #cryptoCheckout .crypto-order-layout .crypto-stages b{width:25px;height:25px;flex-basis:25px}
 #cryptoCheckout .crypto-order-layout .crypto-stages li:not(:last-child)::after{top:12px}
 #cryptoCheckout .crypto-order-layout .crypto-transfer-notice{margin-bottom:11px;padding-top:8px;padding-bottom:8px;font-size:11px}
 #cryptoCheckout .crypto-order-layout .crypto-transfer-notice::before{top:9px}
 #cryptoCheckout .crypto-order-layout .crypto-payment-info{gap:7px}
 #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{padding:14px 16px}
 #cryptoCheckout .crypto-qr-orbit{width:200px;margin-bottom:8px}
 #cryptoCheckout .crypto-order-layout .crypto-order-summary>div{padding:4px 0}
 #cryptoCheckout .crypto-order-layout .crypto-warning{padding:8px 10px;font-size:10px}
}
@media(max-width:700px){
 #cryptoCheckout .crypto-order-layout .crypto-transfer-notice{font-size:11px;padding:9px 11px 9px 35px;margin-bottom:12px}
 #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{padding:18px 16px}
 #cryptoCheckout .crypto-qr-orbit{width:208px}
 #cryptoCheckout .crypto-order-layout .crypto-stages li{font-size:10px;gap:5px}
 #cryptoCheckout .crypto-order-layout .crypto-stages b{width:25px;height:25px;flex-basis:25px}
 #cryptoCheckout .crypto-order-layout .crypto-stages li:not(:last-child)::after{top:12px;left:calc(50% + 16px);width:calc(100% - 32px)}
}
@keyframes jfCryptoOrbit{to{transform:rotate(360deg)}}
@keyframes jfCryptoStepHalo{0%,100%{box-shadow:0 0 0 3px #3276d814}50%{box-shadow:0 0 0 6px #3276d82b}}
@keyframes jfCryptoSignal{from{transform:scale(.7);opacity:.7}to{transform:scale(1.5);opacity:0}}
@keyframes jfCryptoDialogIn{from{opacity:0;transform:translateY(10px) scale(.987)}to{opacity:1;transform:none}}
@keyframes jfCryptoCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 #portalModal .portal-dialog:has(#cryptoCheckout),#cryptoCheckout *,#cryptoCheckout *::before,#cryptoCheckout *::after{animation:none!important;transition:none!important}
}

#cryptoCheckout .crypto-order-layout .crypto-transfer-notice{font-weight:600}
.portal-table [data-crypto-history-check]{border:1px solid #c73b48;background:#ca3b49;color:#fff;border-radius:8px;padding:6px 11px;font-weight:650}

/* Native radio cards for currency and network selection. */
#portalModal .portal-dialog:has(#cryptoChooseForm){width:min(800px,calc(100vw - 28px));max-width:800px;padding:24px;border-radius:22px}
#cryptoCheckout:has(#cryptoChooseForm)>header{margin:0 35px 18px 0}
#cryptoChooseForm{max-width:690px;gap:13px}
#cryptoChooseForm .crypto-choice-field{position:relative;min-width:0;margin:0;padding:0;border:0}
#cryptoChooseForm .crypto-choice-field legend{display:block;padding:0;margin:0 0 9px;font-size:13px;font-weight:700;color:inherit;line-height:1.4}
#cryptoChooseForm .crypto-choice-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#cryptoChooseForm .crypto-choice-card{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:66px;padding:12px 14px;border:1px solid #ccd7e5;border-radius:13px;background:#fff;color:#283748;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
#cryptoChooseForm .crypto-choice-card input[type=radio]{position:absolute;inset:auto;width:1px;height:1px;min-height:0;min-width:0;margin:-1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#cryptoChooseForm .crypto-choice-card.selected{border-color:#55aa88;background:#f0faf5;box-shadow:0 0 0 1px #55aa8812}
#cryptoChooseForm .crypto-choice-card:focus-within{outline:3px solid #96b9ee;outline-offset:2px}
#cryptoChooseForm .crypto-choice-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#eef2f7;color:#5b779c;font-size:22px;font-weight:750;line-height:1}
#cryptoChooseForm .crypto-choice-icon.usdt{background:#e2f3ec;color:#2b9371}
#cryptoChooseForm .crypto-choice-icon.usdc{background:#e8f0ff;color:#3674d2}
#cryptoChooseForm .crypto-choice-icon.network-usdt_bsc{background:#fff5d8;color:#bc900c}
#cryptoChooseForm .crypto-choice-icon.network-usdt_tron{background:#fff0ee;color:#d1464e}
#cryptoChooseForm .crypto-choice-icon.network-usdc_base{background:#eaf0ff;color:#396fe3}
#cryptoChooseForm .crypto-choice-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
#cryptoChooseForm .crypto-choice-copy strong{font-size:15px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}
#cryptoChooseForm .crypto-choice-copy small{font-size:11px;line-height:1.3;color:#77869a}
#cryptoChooseForm .crypto-choice-copy em{font-style:normal;font-size:10px;color:#9b6b2d}
#cryptoChooseForm .crypto-choice-tick{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border:1px solid #c1cddb;border-radius:50%;color:transparent;font-size:13px;line-height:1}
#cryptoChooseForm .selected .crypto-choice-tick{background:#419b79;border-color:#419b79;color:#fff}
#cryptoChooseForm .crypto-choice-card.is-unavailable{opacity:.6;cursor:not-allowed;background:#f4f6f9}
#cryptoChooseForm .crypto-network-card{min-height:76px}
#cryptoChooseForm #cryptoRetryNetworks{position:absolute;top:-6px;right:0;width:auto;min-height:28px;margin:0;padding:4px 8px;border-radius:7px;font-size:10px;background:#f5f8fe}
#cryptoChooseForm .crypto-quantity-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:13px;align-items:stretch;margin-top:1px}
#cryptoChooseForm .crypto-quantity-column{display:flex;flex-direction:column;gap:6px;min-width:0}
#cryptoChooseForm .crypto-quantity-column>label{display:block;font-size:13px;font-weight:700}
#cryptoChooseForm .crypto-token-input input{padding:10px 70px 10px 12px!important;border-radius:11px;font-size:17px;min-height:43px}
#cryptoChooseForm .crypto-quantity-column>small{color:#7b8b9f;font-size:10px;line-height:1.45}
#cryptoChooseForm .crypto-input-estimate{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:12px 14px;margin-top:0;border:1px solid #e0eee7;border-radius:13px}
#cryptoChooseForm .crypto-input-estimate>span{font-size:11px}
#cryptoChooseForm .crypto-input-estimate strong{font-size:21px;line-height:1.3}
#cryptoChooseForm .crypto-input-estimate small{font-size:10px;line-height:1.45}
#cryptoChooseForm>.crypto-warning{margin:0;padding:9px 12px;font-size:11px;line-height:1.5}
#cryptoChooseForm>#cryptoError{margin:0;font-size:11px}
#cryptoChooseForm>#cryptoError:empty{display:none}
#cryptoChooseForm #cryptoCreate{width:100%;min-height:43px;padding:10px;border:1px solid #3671cf;border-radius:11px;background:#3671cf;color:white;font-weight:650;font-size:13px;cursor:pointer}
#cryptoChooseForm #cryptoCreate:disabled{opacity:.5;cursor:not-allowed}
@media(hover:hover) and (pointer:fine){#cryptoChooseForm .crypto-choice-card:not(.is-unavailable):hover{border-color:#7eaece;box-shadow:0 4px 12px #2b557615;transform:translateY(-1px)}#cryptoChooseForm #cryptoCreate:enabled:hover{background:#255daf;box-shadow:0 5px 12px #2e67c02a;transform:translateY(-1px)}}
#cryptoChooseForm .crypto-choice-card:not(.is-unavailable):active{transform:scale(.985)}
html[data-theme=dark] #cryptoChooseForm .crypto-choice-card{background:#192a3c;border-color:#435970;color:#e0ebf7}
html[data-theme=dark] #cryptoChooseForm .crypto-choice-card.selected{background:#193b32;border-color:#68b796}
html[data-theme=dark] #cryptoChooseForm .crypto-choice-card.is-unavailable{background:#1b2635}
html[data-theme=dark] #cryptoChooseForm .crypto-choice-copy small,html[data-theme=dark] #cryptoChooseForm .crypto-quantity-column>small{color:#a2b4ca}
html[data-theme=dark] #cryptoChooseForm #cryptoRetryNetworks{background:#21364f;color:#b3d1fb;border-color:#435b79}
html[data-theme=dark] #cryptoChooseForm .crypto-input-estimate{border-color:#305448}
@media(max-width:560px){
 #portalModal .portal-dialog:has(#cryptoChooseForm){width:calc(100vw - 20px);padding:52px 15px 18px}
 #cryptoCheckout:has(#cryptoChooseForm)>header{margin-right:0}
 #cryptoChooseForm .crypto-choice-card{gap:7px;padding:10px 9px;border-radius:11px}
 #cryptoChooseForm .crypto-choice-icon{flex-basis:29px;width:29px;height:29px;font-size:18px;border-radius:9px}
 #cryptoChooseForm .crypto-choice-copy strong{font-size:12px}
 #cryptoChooseForm .crypto-choice-tick{flex-basis:17px;width:17px;height:17px;font-size:11px}
 #cryptoChooseForm .crypto-quantity-row{grid-template-columns:minmax(0,1fr)}
 #cryptoChooseForm .crypto-input-estimate{gap:4px}
}
@media(prefers-reduced-motion:reduce){#cryptoChooseForm .crypto-choice-card{transition:none;transform:none!important}}

#cryptoNetworkCards .crypto-choice-card:only-child{grid-column:1/-1}
@media(max-width:560px){
 #cryptoChooseForm .crypto-network-card{flex-direction:column;align-items:flex-start;gap:6px;padding:10px;min-height:90px}
 #cryptoChooseForm .crypto-network-card .crypto-choice-icon{width:24px;height:24px;flex-basis:24px;font-size:15px}
 #cryptoChooseForm .crypto-network-card .crypto-choice-tick{position:absolute;right:9px;top:12px}
 #cryptoChooseForm .crypto-network-card .crypto-choice-copy{gap:4px}
 #cryptoChooseForm .crypto-network-card strong{font-size:11px;overflow-wrap:normal}
 #cryptoChooseForm .crypto-network-card small{font-size:10px}
 #cryptoChooseForm #cryptoRetryNetworks{top:-4px;max-width:55%;white-space:normal;line-height:1.3}
 #cryptoChooseForm .crypto-choice-field:has(#cryptoNetworkCards) legend{max-width:42%;min-height:22px}
}

/* Self-check is its own view in the existing modal scroller, avoiding a clipped overlay. */
#cryptoCheckout.crypto-self-active .crypto-order-layout>:not(.crypto-self-panel){display:none!important}
#cryptoCheckout.crypto-self-active .crypto-self-panel{position:static;inset:auto;overflow:visible;display:block;padding:0;background:transparent}
#cryptoCheckout.crypto-self-active .crypto-self-card{box-sizing:border-box;box-shadow:none;border:0;padding:0}
#portalModal .portal-dialog:has(#cryptoCheckout.crypto-self-active){width:min(640px,calc(100vw - 24px));max-width:640px;padding:56px 24px 24px;animation:none}
#portalModalBody:has(#cryptoCheckout.crypto-self-active){overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
@media(max-width:560px){#portalModal .portal-dialog:has(#cryptoCheckout.crypto-self-active){padding:52px 17px 20px}}

/* Keep the availability action in document flow at every width. */
#cryptoChooseForm #cryptoRetryNetworks{position:static;display:block;width:auto;max-width:100%;margin:0 0 9px auto;white-space:normal;line-height:1.4}
#cryptoChooseForm .crypto-asset-card strong{white-space:nowrap;overflow-wrap:normal}
@media(max-width:560px){#cryptoCheckout:has(#cryptoChooseForm)>header h3{font-size:18px;line-height:1.4;overflow-wrap:normal}#cryptoChooseForm .crypto-choice-field:has(#cryptoNetworkCards) legend{max-width:100%;min-height:0}}
@media(max-width:360px){#cryptoChooseForm .crypto-asset-card{gap:5px;padding:9px 8px}#cryptoChooseForm .crypto-asset-card .crypto-choice-icon{width:22px;height:22px;flex-basis:22px;font-size:16px}#cryptoChooseForm .crypto-asset-card .crypto-choice-tick{width:15px;height:15px;flex-basis:15px}}

/* Long translated titles and plaques must fit narrow phone viewports. */
@media(max-width:700px){
 #portalModalBody:has(#cryptoCheckout){min-width:0;scrollbar-gutter:auto;overflow-x:hidden}
 #cryptoCheckout .crypto-order-layout>header{grid-template-columns:47px minmax(0,1fr);gap:8px 10px}
 #cryptoCheckout .crypto-order-layout>header .crypto-modal-badge{grid-row:1;width:47px;height:36px}
 #cryptoCheckout .crypto-order-layout>header h3{margin:0;font-size:18px;overflow-wrap:normal;word-break:normal}
 #cryptoCheckout .crypto-order-layout>header .crypto-network-plaque{grid-column:1/-1;width:100%;max-width:100%;margin:2px 0 0;font-size:13px;padding:8px 10px;overflow-wrap:normal;word-break:normal}
 #cryptoCheckout .crypto-order-layout .crypto-payment-sidebar{padding:14px 10px}
 #cryptoCheckout .crypto-qr-orbit{width:min(208px,100%);min-width:0;overflow:clip}
 #cryptoCheckout .crypto-order-layout .crypto-stages li{min-width:0;overflow-wrap:anywhere}
 #cryptoCheckout .crypto-order-layout .crypto-qr-frame{width:min(174px,100%);min-height:0;aspect-ratio:1}
 #cryptoCheckout .crypto-order-layout .crypto-qr-frame img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
}


/* public/csp-assets/payment-history-efd1bbd51fad75e8.css */
.payment-history{margin:26px 0 20px;background:var(--card,#fff);border:1px solid #dce4ef;border-radius:24px;overflow:hidden;box-shadow:0 12px 34px #24447606;color:var(--text,#273341)}
.ph-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;gap:16px}.ph-heading h2{display:flex;align-items:center;gap:14px;margin:0;font-size:23px}.ph-history-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#58bd6e,#419c79);color:white;font-size:34px}.payment-history button{cursor:pointer;font:inherit}.ph-heading button,.ph-order{background:none;border:0;color:#3269d8}.ph-heading button{font-weight:650}.ph-table{width:100%;border-collapse:collapse;table-layout:fixed}.ph-table th,.ph-table td{padding:17px 20px;border-top:1px solid #e2e8f1;text-align:left;overflow-wrap:anywhere;vertical-align:middle;font-size:14px}.ph-table th{background:#f6f8fb;color:#687990;font-weight:650}.ph-table th:nth-child(1){width:18%}.ph-table th:nth-child(2){width:24%}.ph-table th:last-child{width:10%}.ph-table td:first-child{font-size:13px;color:#62718a}.ph-order{text-align:left;padding:0;line-height:1.6;font-size:12px!important;overflow-wrap:anywhere}.ph-amount{font-weight:700}.ph-credit{color:#419b76}.ph-status{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 10px;border-radius:20px;background:#edf1f7;color:#687790;font-size:12px;line-height:1.4}.ph-status:before{content:'◷';flex-shrink:0}.ph-credited{background:#e6f4ed;color:#308b66}.ph-credited:before{content:'✓'}.ph-failed,.ph-rejected{background:#fce9e8;color:#cc4440}.ph-failed:before,.ph-rejected:before{content:'×'}.ph-confirming,.ph-detected{background:#eaf1ff;color:#3269d8}.ph-view,.ph-pagination button{background:transparent;border:1px solid #c6d6f2;border-radius:24px;color:#3269d8;padding:7px 14px;transition:background .15s,transform .15s}.ph-view:hover,.ph-pagination button:hover:enabled{background:#edf3ff;transform:translateY(-1px)}.ph-view:active{transform:scale(.97)}.ph-content>p{padding:12px 26px;color:#71829b}.ph-pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:16px 24px;border-top:1px solid #e2e8f1;font-size:13px}.ph-pagination span:first-child{margin-right:auto}.ph-pagination button:disabled{opacity:.4;cursor:default}.ph-mobile-label{display:none}
#portalModal .portal-dialog:has(#paymentBillView){width:min(900px,calc(100vw - 32px));max-width:900px;padding:26px;background:#f5f7fa}#paymentBillView{padding-top:4px}.ph-bill-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 40px 22px 0}.ph-bill-toolbar h2{font-size:20px;margin:0}.ph-bill-toolbar button{background:#172033;border:0;border-radius:12px;color:white;padding:12px 18px;cursor:pointer;font:inherit;font-weight:650}.ph-bill{background:var(--card,#fff);border:1px solid #dfe6f0;border-radius:20px;overflow:hidden}.ph-bill-header{display:flex;justify-content:space-between;gap:28px;padding:32px;background:#f8fafc}.ph-bill-header h2{font-size:32px;margin:0 0 14px;color:#1e3152}.ph-bill-header a{color:#3269d8}.ph-bill p{margin:8px 0}.ph-bill-number{max-width:47%;text-align:right;overflow-wrap:anywhere}.ph-bill-number>p,.ph-bill h3{color:#8090a6;font-size:14px;font-weight:600;margin:0 0 12px}.ph-bill-number strong{display:block;font-size:16px;margin-bottom:14px}.ph-bill-part{padding:24px 32px;border-top:1px solid #e7ecf4}.ph-bill-meta{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ph-bill dl{margin:0;min-width:0}.ph-bill dl>div{display:flex;justify-content:space-between;gap:24px;padding:8px 0}.ph-bill dt{color:#7a8ba3;flex-shrink:0;font-size:14px}.ph-bill dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.ph-bill-values>div:first-child{font-size:22px;font-weight:700;padding-bottom:18px;margin-bottom:8px;border-bottom:1px solid #e5ebf3;color:#3d9674}.ph-bill-reference p,.ph-bill-meta p{overflow-wrap:anywhere}.ph-bill-reference p{font:13px/1.6 ui-monospace,monospace}.ph-bill footer{padding:18px 24px;background:#f8fafc;text-align:center;font-size:12px;color:#8593a8}.ph-unpaid{color:#a97429}.ph-self{display:block;width:100%;padding:12px;background:#ce4745;color:white;border:0;border-radius:10px;margin-top:14px;cursor:pointer;font:inherit}.payment-history button:focus-visible,#paymentBillView button:focus-visible{outline:3px solid #7fafff;outline-offset:3px}
@media(max-width:680px){.ph-heading{padding:18px}.ph-heading h2{font-size:20px;gap:10px}.ph-history-icon{width:38px;height:38px;font-size:27px}.ph-heading button{font-size:13px}.ph-table,.ph-table tbody{display:block}.ph-table thead{display:none}.ph-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:14px 18px;border-top:1px solid #e2e8f1;gap:9px 12px}.ph-table td{display:block;padding:0;border:0;font-size:13px}.ph-table td:first-child,.ph-table td:nth-child(2){grid-column:1/-1}.ph-table td:nth-child(3){grid-column:1}.ph-table td:nth-child(4){grid-column:2;grid-row:3;text-align:right}.ph-table td:nth-child(5){grid-column:1}.ph-table td:nth-child(6){grid-column:2;text-align:right}.ph-mobile-label{display:inline;color:#8291a5;font-weight:400;margin-right:8px;font-size:12px}.ph-table td:nth-child(4) .ph-mobile-label{display:none}.ph-order{font-size:11px!important}.ph-view{padding:5px 15px}.ph-pagination{flex-wrap:wrap;padding:14px 18px}.ph-pagination>span:first-child{width:100%}#portalModal .portal-dialog:has(#paymentBillView){padding:18px;width:calc(100vw - 20px);border-radius:20px}.ph-bill-toolbar{padding:30px 0 18px;align-items:center}.ph-bill-toolbar h2{font-size:18px}.ph-bill-toolbar button{font-size:12px;padding:10px}.ph-bill-header{padding:22px;gap:18px;flex-direction:column}.ph-bill-header h2{font-size:27px}.ph-bill-number{max-width:100%;text-align:left}.ph-bill-number strong{font-size:13px}.ph-bill-meta{grid-template-columns:minmax(0,1fr)}.ph-bill-part{padding:20px}.ph-bill dl>div{gap:14px}.ph-bill dt{font-size:12px;max-width:45%;flex-shrink:1}.ph-bill dd{font-size:13px}.ph-bill-values>div:first-child dd{font-size:20px}.ph-bill-reference p{font-size:11px}.ph-bill footer{padding:16px;font-size:11px}}
[data-theme="dark"] .payment-history,[data-theme="dark"] .ph-bill{background:#182232;color:#dce5f3;border-color:#354055}[data-theme="dark"] .ph-table th,[data-theme="dark"] .ph-bill-header,[data-theme="dark"] .ph-bill footer{background:#1f2b3d}[data-theme="dark"] .ph-bill-header h2{color:#e1eafe}[data-theme="dark"] .ph-table td,[data-theme="dark"] .ph-table th,[data-theme="dark"] .ph-table tr,[data-theme="dark"] .ph-bill-part,[data-theme="dark"] .ph-pagination{border-color:#354055}[data-theme="dark"] #portalModal .portal-dialog:has(#paymentBillView){background:#111b2c}[data-theme="dark"] .ph-status{background:#29374c;color:#bdcce2}[data-theme="dark"] .ph-credited{background:#203c32;color:#83cfaa}
@media(prefers-reduced-motion:reduce){.ph-view,.ph-pagination button{transition:none!important;transform:none!important}}
@media print{body.ph-printing *{visibility:hidden!important}body.ph-printing #paymentBill,body.ph-printing #paymentBill *{visibility:visible!important;color:#172033!important}body.ph-printing #portalModal{position:absolute!important;inset:0!important;display:block!important;background:white!important;overflow:visible!important}body.ph-printing #portalModal .portal-dialog,body.ph-printing #portalModalBody,body.ph-printing #paymentBillView{overflow:visible!important;max-height:none!important;height:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}body.ph-printing #paymentBill{position:absolute!important;top:0!important;left:0!important;width:100%!important;box-sizing:border-box;print-color-adjust:exact;background:white!important}body.ph-printing .ph-bill-part{break-inside:avoid}body.ph-printing .ph-bill-header,body.ph-printing .ph-bill footer{background:#f7f9fc!important}body.ph-printing .ph-bill-toolbar,body.ph-printing .dialog-x,body.ph-printing .ph-self{display:none!important}}

.commerce-footer.compact-footer{gap:8px;padding:22px 16px 18px;margin-top:28px;line-height:1.55;border-top:1px solid #e1e7ef;font-size:12px!important}
.compact-footer .footer-brand-row,.compact-footer .footer-legal-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px 18px}
.compact-footer nav{gap:6px 18px}.compact-footer .footer-extra{margin-top:2px;font-size:11px;max-width:100%}.compact-footer .footer-extra summary{cursor:pointer;color:#8797ad}.compact-footer #footerTechnicalInfo{padding:10px 0 0;max-width:850px}.compact-footer .currency-notice{margin:8px 0 0;padding:0;font-size:11px;line-height:1.6}
@media(max-width:560px){.commerce-footer.compact-footer{padding:18px 12px;margin-top:22px;font-size:11px!important;gap:9px}.compact-footer .footer-brand-row{flex-direction:column;gap:3px}.compact-footer nav{gap:7px 13px}.compact-footer .footer-legal-row{gap:4px 14px}}

[data-theme="dark"] .payment-history .ph-view,[data-theme="dark"] .payment-history .ph-heading button,[data-theme="dark"] .payment-history .ph-order,[data-theme="dark"] .payment-history .ph-pagination button{color:#a9c9ff;border-color:#526781}
[data-theme="dark"] .payment-history .ph-table td:first-child,[data-theme="dark"] .payment-history .ph-mobile-label{color:#a3b3cc}

/* Terminal payment states stay red in lists, receipts and both themes. */
.ph-status:is(.ph-failed,.ph-rejected,.ph-cancelled,.ph-expired){background:#fce9eb;color:#c33242;border:1px solid #f2c7ce}
.ph-status:is(.ph-failed,.ph-rejected,.ph-cancelled,.ph-expired)::before{content:'×'}
[data-theme="dark"] .ph-status:is(.ph-failed,.ph-rejected,.ph-cancelled,.ph-expired){background:#492630;color:#ffb5c0;border-color:#844250}
#paymentBillView .ph-bill-actions{position:sticky;top:0;z-index:3;background:#f5f7fa;padding:0 0 15px}
#paymentBillView .ph-self{display:flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;min-height:52px;width:100%;margin:0;padding:13px 22px;background:linear-gradient(135deg,#dc4b59,#c52f42);color:#fff;border:1px solid #c52f42;border-radius:12px;font-size:16px;font-weight:750;line-height:1.4;box-shadow:0 5px 14px #c52f4225;transition:background .15s,box-shadow .15s,transform .15s}
#paymentBillView .ph-self:hover{background:linear-gradient(135deg,#cc3d4d,#ad2436);color:#fff;border-color:#ad2436;box-shadow:0 7px 17px #b72b3e32}
#paymentBillView .ph-self:active{transform:scale(.99)}
[data-theme="dark"] #paymentBillView .ph-bill-actions{background:#111b2c}
@media(max-width:680px){#paymentBillView .ph-bill-actions{padding-bottom:13px}#paymentBillView .ph-self{font-size:16px;min-height:52px;padding:13px 16px}}
@media print{body.ph-printing .ph-bill-actions{display:none!important}}
@media(prefers-reduced-motion:reduce){#paymentBillView .ph-self{transition:none;transform:none}}

.ph-opening{cursor:progress!important}.ph-view.ph-opening{position:relative;color:transparent!important}.ph-view.ph-opening::after{content:'';position:absolute;left:calc(50% - 6px);top:calc(50% - 6px);width:12px;height:12px;border:2px solid #bdd0ef;border-top-color:#3269d8;border-radius:50%;box-sizing:border-box;animation:ph-receipt-loading .75s linear infinite}.ph-order.ph-opening{opacity:.65}@keyframes ph-receipt-loading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.ph-view.ph-opening::after{animation:none}}


/* public/customer-experience.css */
/* Customer workspace refinements after inspecting the reference's actual frontend. */
:root{--jf-ui-line:#dce4ef;--jf-ui-hover:#edf4ff;--jf-ui-ring:#749eeb}
html[data-theme=dark]{--jf-ui-line:#35475e;--jf-ui-hover:#203953;--jf-ui-ring:#91b6ff}
html[data-theme=dark] #catalog .catalog-tabs button.active{background:#29476d;color:#dcecff;box-shadow:none}
html[data-theme=dark] #catalog .catalog-tabs button{color:#b9c9dc}
html[data-theme=dark] #catalog .directory-price small{color:#a5bfbd}
/* Keep headline punctuation with its first line instead of occupying a third row. */
.home-hero h1>.home-headline-dash{display:inline;margin:0 0 0 .2em;font-size:.8em;line-height:inherit;color:inherit}
.home-hero .hero-search:focus-within{border-color:var(--jf-ui-ring);box-shadow:0 0 0 3px #749eeb20}
#catalog .catalog-tabs{margin-top:18px;margin-bottom:20px}
#catalog .portal-heading{margin-bottom:18px}
#catalog .catalog-filters input{min-height:48px;box-shadow:none;border-color:var(--jf-ui-line)}
#catalog .directory-card{border-color:var(--jf-ui-line);box-shadow:none}
#catalog .directory-copy strong{font-weight:600;line-height:1.55}
#catalog .directory-price{font-variant-numeric:tabular-nums}
#catalog .directory-group{padding-top:15px;font-size:13px}
/* Predictable hover, press and keyboard feedback; never animate list refreshes. */
:is(#overview,#supportedTools,#popularSection,#services,#catalog,#serviceDetail,#rechargePage,.home-section) :is(button,a,input,select,textarea){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}
:is(#overview,#supportedTools,#popularSection,#services,#catalog,#serviceDetail,#rechargePage,.home-section) :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--jf-ui-ring);outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 #catalog .directory-card:hover,.home-tools>button:hover,.home-popular-row:hover{border-color:#9db8e7;box-shadow:0 4px 14px #264c8810}
 .recharge-page [data-payment]:not(:disabled):hover{border-color:var(--jf-ui-ring);box-shadow:0 3px 12px #264c8812}
 .recharge-page [data-amount]:not(:disabled):hover{background:var(--jf-ui-hover);border-color:var(--jf-ui-ring)}
}
.recharge-page [data-payment][aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor}
.recharge-page .recharge-selected-check{transition:opacity .16s ease,transform .16s ease}
.recharge-page [data-payment][aria-pressed=true] .recharge-selected-check{transform:scale(1)}
.recharge-page [data-payment][aria-pressed=false] .recharge-selected-check{transform:scale(.75)}
.recharge-page .recharge-footer strong,.recharge-balance strong,.checkout-totals strong{font-variant-numeric:tabular-nums}
.recharge-page .recharge-amount-input:focus-within{border-color:var(--jf-ui-ring);box-shadow:0 0 0 3px #749eeb20}
.recharge-page .recharge-amount-input input:focus-visible{outline:0}
.payment-history button,.history-controls button,.history-table button{min-height:44px;transition:background-color .16s ease,border-color .16s ease}
.payment-history button:focus-visible,.history-controls :is(button,input,select):focus-visible,.history-table button:focus-visible{outline:3px solid var(--jf-ui-ring);outline-offset:2px}
.payment-history .ph-view:hover,.payment-history .ph-pagination button:hover:enabled,.payment-history .ph-view:active{transform:none}
@media(hover:hover) and (pointer:fine){.ph-table tbody tr:hover{background:var(--jf-ui-hover)}}
:is(#rechargePage,#cryptoCheckout,#wxpayCheckout,#apageCheckout) :is(button,a):focus-visible{outline:3px solid var(--jf-ui-ring);outline-offset:3px}
/* The code and runtime both use a 280ms sheet, 450ms rise and 1.2s staggered dots. */
@keyframes jfCustomerSheet{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes jfCustomerMobileSheet{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes jfCustomerRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes jfCustomerDot{0%,80%,100%{opacity:.2}40%{opacity:1}}
#portalModal .portal-dialog:has(:is(#cryptoCheckout,#wxpayCheckout,#apageCheckout)){animation:jfCustomerSheet .28s ease-out both}
#cryptoCheckout[data-crypto-visual-state] #cryptoVisualTitle,#wxpayCheckout .wxpay-dialog-head,#apageCheckout>h3{animation:jfCustomerRise .45s ease-out both}
.jf-wait-dots{display:inline-flex;align-items:center;justify-content:center;gap:4px;margin-inline:5px;vertical-align:middle;color:#3e7fca}
.jf-wait-dots[hidden]{display:none!important}
.jf-wait-dots i{width:4px;height:4px;border-radius:50%;background:currentColor;animation:jfCustomerDot 1.2s ease infinite}
.jf-wait-dots i:nth-child(2){animation-delay:.2s}.jf-wait-dots i:nth-child(3){animation-delay:.4s}
#cryptoVisualTitle+.jf-wait-dots{display:flex;min-height:8px;margin:-3px auto 10px}
#wxpayCheckout .jf-wait-dots{color:#4a9e7b}
/* One click target stays put on hover and touch, including red recovery actions. */
:is(#cryptoCheckout,#wxpayCheckout,#apageCheckout) :is(button,.recharge-submit){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;min-height:44px}
#cryptoCheckout .crypto-flow-shell #cryptoSelfOpen:hover,.payment-flow-actions button:hover,#apageCheckout p>a:hover{transform:none}
/* Tablet: collapse the long service switcher to make room for data and totals. */
@media(min-width:801px) and (max-width:1280px){
 .checkout-grid{grid-template-columns:minmax(0,1fr) 300px;gap:20px}
 .checkout-grid .detail-navigator{grid-column:1/-1;position:static;grid-row:auto}
 .checkout-grid .detail-nav-mobile{display:flex;width:100%;justify-content:space-between;min-height:44px;padding:12px 15px;background:var(--jf-ui-hover);border:1px solid var(--jf-ui-line);border-radius:10px;color:inherit}
 .checkout-grid #detailNavContent{display:none}.checkout-grid .mobile-open #detailNavContent{display:block}
 .checkout-grid .detail-nav-list{max-height:300px}
}
/* Place the existing summary directly after inputs, before a long description. No cloned submit button. */
@media(max-width:800px){
 .checkout-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .checkout-grid .detail-navigator{order:0;grid-column:auto}
 .checkout-grid .checkout-main{display:contents}
 .checkout-grid .checkout-main>.checkout-card:first-child{order:1}
 .checkout-grid .checkout-side{order:2;margin-top:0;position:static}
 .checkout-grid .checkout-description{order:3}
 .checkout-grid input,.checkout-grid textarea,.checkout-grid select,.recharge-page input,.recharge-page select{font-size:16px!important}
 .checkout-heading h1{line-height:1.45}
 #catalog .catalog-tabs{display:flex;width:100%;box-sizing:border-box;gap:3px}
 #catalog .catalog-tabs button{flex:1;min-width:0;min-height:44px;padding:8px 5px;font-size:13px;white-space:normal}
 #catalog .catalog-filters select{min-height:44px;font-size:16px}
 .history-controls :is(input,select){font-size:16px;min-height:44px}
 .history-filters{flex-wrap:wrap}
 .recharge-page .recharge-presets button,.recharge-page [data-payment]{min-height:44px}
 #portalModal .portal-dialog:has(:is(#cryptoCheckout,#wxpayCheckout,#apageCheckout)){animation-name:jfCustomerMobileSheet}
}
@media(max-width:480px){
 .checkout-service-header{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px}
 .checkout-service-header .service-tile{width:48px;height:48px}
 .checkout-service-header .checkout-heading{min-width:0;width:auto;grid-column:2}
 .checkout-service-header>strong{grid-column:2;margin:0;font-size:22px;white-space:normal;overflow-wrap:anywhere}
 .recharge-page .recharge-footer{flex-direction:column;align-items:stretch}
 .recharge-page .recharge-footer>span{display:flex;align-items:center;justify-content:space-between}
 .recharge-page .recharge-footer .recharge-submit{width:100%;min-height:48px}
 .recharge-page .recharge-methods{grid-template-columns:minmax(0,1fr)!important}
 #catalog .directory-card{padding:14px 12px;gap:10px}
 #catalog .directory-price{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 #portalModal .portal-dialog:has(:is(#cryptoCheckout,#wxpayCheckout,#apageCheckout)),#cryptoCheckout[data-crypto-visual-state] #cryptoVisualTitle,#wxpayCheckout .wxpay-dialog-head,#apageCheckout>h3,.jf-wait-dots i{animation:none!important}
 .jf-wait-dots{display:none!important}
 :is(#overview,#supportedTools,#popularSection,#services,#catalog,#serviceDetail,#rechargePage,.home-section) :is(button,a,input,select,textarea){transition:none!important}
}

/* Large balances needed for bulk orders must not push the phone menu offscreen. */
@media(max-width:480px){
 .topbar #memberButton.wallet-button{min-width:0;flex-shrink:1;max-width:110px;height:auto;min-height:36px;padding:6px;gap:0;overflow:visible;white-space:normal;font-size:11px}
 .topbar #memberButton.wallet-button>svg{display:none}
 .topbar #memberButton.wallet-button>span{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
}

/* Allow translated catalogue price captions to wrap on narrow screens. */
#catalog .directory-price small{white-space:normal;overflow-wrap:anywhere}


/* public/catalog-drafts.css */
/* Keep these states above the shared button:not(...) and dark-theme skin rules. */
#memberPanel.admin-workspace .admin-main button.admin-detect-button{background:#c83232;border-color:#b82828;color:#fff;font-weight:700;box-shadow:0 3px 8px #a8202020}
#memberPanel.admin-workspace .admin-main button.admin-detect-button:hover{background:#a92121;border-color:#a92121;color:#fff}
#memberPanel.admin-workspace .admin-main .catalog-draft-tabs button[aria-pressed=true]{background:#2b63ce;color:#fff;border-color:#2b63ce}
.catalog-draft-heading,.catalog-draft-actions,.catalog-draft-meta,.catalog-draft-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.catalog-draft-heading{justify-content:space-between}.catalog-draft-heading h3{margin:0}.catalog-draft-actions{justify-content:flex-end}.catalog-draft-toolbar{justify-content:space-between;margin-bottom:18px}.catalog-draft-toolbar h2{margin:0}.catalog-draft-meta{font-size:13px;color:var(--adm-muted,#53627b);margin:12px 0}.catalog-draft-meta .draft-state{border-radius:20px;padding:4px 10px;background:#eef3ff;color:#2754b5;font-weight:600}.catalog-draft-publish-reason{flex-basis:100%;margin:0;color:#a62630;font-size:13px;overflow-wrap:anywhere}
.catalog-draft-search{display:flex;align-items:center;gap:10px;flex:1;min-width:220px}.catalog-draft-search input{width:100%}.catalog-draft-list{display:grid;gap:14px}.catalog-draft-list article{border:1px solid var(--adm-line,#dbe2ec);border-radius:12px;padding:18px;display:flex;justify-content:space-between;gap:18px;align-items:center}.catalog-draft-list h3{margin:0;font-size:17px;overflow-wrap:anywhere}.catalog-draft-list p{margin:8px 0 0;color:var(--adm-muted,#53627b);font-size:13px}.catalog-draft-list .catalog-draft-actions{flex-shrink:0}.catalog-draft-list .empty-state{padding:44px 20px}
.catalog-draft-title{display:grid;gap:8px;max-width:720px;margin:18px 0}.catalog-draft-title input{width:100%}.catalog-draft-product-list{display:grid;gap:12px}.catalog-draft-product{border:1px solid var(--adm-line,#dbe2ec);border-radius:12px;overflow:hidden}.catalog-draft-product summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;background:var(--adm-surface-soft,#f6f8fb);list-style-position:inside}.catalog-draft-product summary strong{display:block;overflow-wrap:anywhere}.catalog-draft-product summary small{display:block;margin-top:6px;color:var(--adm-muted,#53627b)}.catalog-draft-product summary .draft-product-price{white-space:nowrap;font-size:17px;color:#286646}.catalog-draft-product .admin-form-grid{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.catalog-draft-product label{display:grid;gap:7px;font-size:13px}.catalog-draft-product input,.catalog-draft-product textarea{width:100%;min-width:0}.catalog-draft-product label.full{grid-column:1/-1}.catalog-draft-savebar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;position:sticky;bottom:12px;background:var(--adm-surface,#fff);border:1px solid var(--adm-line,#dbe2ec);border-radius:12px;padding:14px 18px;margin-top:18px;box-shadow:0 6px 25px #1b30431a;z-index:2}.catalog-draft-savebar .portal-error{margin:0;flex-basis:100%}.catalog-draft-stale{color:#a62630!important;font-weight:600}.catalog-draft-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.catalog-draft-tabs button[aria-pressed=true]{background:#2b63ce;color:#fff;border-color:#2b63ce}
dialog.catalog-draft-preview{width:min(1510px,calc(100vw - 32px));height:min(960px,calc(100dvh - 32px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #cdd7e5;border-radius:18px;background:var(--bg,#edf2f7);color:var(--text,#1b2638);box-shadow:0 24px 80px #1226404d;overflow:hidden}
dialog.catalog-draft-preview::backdrop{background:#17244080;backdrop-filter:blur(3px)}.draft-preview-layout{height:100%;display:flex;flex-direction:column;min-height:0}.draft-preview-tools{display:flex;gap:16px;align-items:center;justify-content:space-between;background:var(--surface,#fff);border-bottom:1px solid #d5deeb;padding:14px 20px;flex-wrap:wrap;flex-shrink:0}.draft-preview-tools strong{display:block;font-size:16px}.draft-preview-tools small{display:block;margin-top:3px;color:var(--muted,#5a677b);font-size:12px}.draft-preview-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.draft-preview-controls label{display:flex;gap:6px;align-items:center;font-size:12px}.draft-preview-controls select{min-height:36px;border:1px solid #d1dcef;border-radius:8px;background:var(--surface,#fff);color:inherit;padding:6px}.draft-preview-controls button{min-height:36px;border:1px solid #d1dcef;border-radius:8px;background:var(--surface,#fff);color:inherit;padding:7px 12px;cursor:pointer}.draft-preview-controls button[aria-pressed=true]{color:#2355bb;background:#eaf0ff;border-color:#95b3ee}.draft-preview-scroll{min-height:0;flex:1;overflow:auto;padding:20px;background:var(--bg,#edf2f7)}.draft-preview-frame{margin:auto;width:100%;min-height:100%;background:var(--bg,#edf2f7);transition:width .15s}.draft-preview-frame.mobile{width:390px;max-width:100%;border:1px solid #ccd6e4;border-radius:15px;overflow:hidden;box-shadow:0 8px 24px #283d5620}.draft-preview-brand{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:var(--surface,#fff);border-bottom:1px solid #d5deeb;gap:16px;flex-wrap:wrap}.draft-preview-brand strong{font-size:22px;color:#1d345c}.draft-preview-brand nav{display:flex;gap:8px;flex-wrap:wrap}.draft-preview-brand button{border:0;background:transparent;padding:10px;color:inherit;cursor:pointer;font-weight:600}.draft-preview-brand button[aria-pressed=true]{color:#235dcd;border-bottom:2px solid #235dcd}.draft-preview-catalog{padding:26px;max-width:1300px;margin:auto}.draft-preview-catalog h1{font-size:26px;margin:0 0 18px}.draft-preview-search{width:100%;padding:14px 18px;border-radius:12px;border:1px solid #d0dced;background:var(--surface,#fff);color:inherit;margin-bottom:14px}.draft-preview-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.draft-preview-products .directory-group{grid-column:1/-1;margin:18px 0 0;font-size:15px}.draft-preview-products .directory-card{width:100%;min-width:0;text-align:left}.draft-preview-products .directory-copy{min-width:0}.draft-preview-products .directory-copy strong{overflow-wrap:anywhere}.draft-preview-frame.mobile .draft-preview-products{grid-template-columns:1fr}.draft-preview-frame.mobile .draft-preview-catalog{padding:18px 12px}.draft-preview-frame.mobile .draft-preview-brand{padding:16px 12px;display:block}.draft-preview-frame.mobile .draft-preview-brand nav{margin-top:10px;font-size:12px}.draft-preview-frame.mobile .directory-card{padding:15px 12px;gap:10px}.draft-preview-frame.mobile .directory-price{font-size:17px}.draft-preview-frame.mobile .directory-copy strong{font-size:14px}.draft-preview-frame.mobile .service-tile{width:44px;flex-basis:44px}.draft-preview-frame.mobile .service-tile img{max-width:44px;max-height:48px}
.draft-preview-detail{max-width:1280px;padding:22px;margin:auto}.draft-preview-back{margin:0 0 18px;background:transparent;border:0;color:#2858bc;cursor:pointer;font-size:14px}.draft-preview-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.draft-preview-detail .checkout-main,.draft-preview-detail .checkout-side{min-width:0}.draft-preview-detail .checkout-service-header{display:flex;gap:16px;align-items:center}.draft-preview-detail .checkout-heading{min-width:0}.draft-preview-detail h1{overflow-wrap:anywhere}.draft-preview-detail .checkout-side{position:static}.draft-preview-detail .portal-info{white-space:pre-wrap;overflow-wrap:anywhere}.draft-preview-detail .checkout-form fieldset{border:0;padding:0;margin:0;display:grid;gap:16px;min-width:0}.draft-preview-detail .checkout-form fieldset input,.draft-preview-detail .checkout-form fieldset select{opacity:1;color:var(--text,#1c293c);background:var(--surface,#fff);min-width:0}.draft-preview-detail .checkout-submit:disabled{opacity:.65;cursor:not-allowed}.draft-preview-detail .checkout-summary dd{overflow-wrap:anywhere}.draft-preview-frame.mobile .draft-preview-detail{padding:16px 12px}.draft-preview-frame.mobile .draft-preview-detail-grid{grid-template-columns:1fr}.draft-preview-frame.mobile .checkout-service-header{flex-wrap:wrap}.draft-preview-frame.mobile .checkout-heading{flex:1}.draft-preview-frame.mobile .checkout-service-header>strong{margin-left:0}.draft-preview-frame.mobile .checkout-card{padding:18px}
@media(max-width:700px){.catalog-draft-list article{align-items:stretch;flex-direction:column}.catalog-draft-list .catalog-draft-actions{justify-content:flex-start}.catalog-draft-product .admin-form-grid{grid-template-columns:1fr}.catalog-draft-product summary{align-items:flex-start}.catalog-draft-toolbar{align-items:stretch}.catalog-draft-savebar{bottom:4px;padding:10px}.catalog-draft-savebar button{flex:1;min-width:120px}dialog.catalog-draft-preview{width:100vw;height:100dvh;border:0;border-radius:0}.draft-preview-tools{padding:12px;gap:10px}.draft-preview-tools small{max-width:230px}.draft-preview-controls{gap:7px}.draft-preview-scroll{padding:0}.draft-preview-controls .draft-preview-device{display:none}.draft-preview-catalog{padding:20px 12px}.draft-preview-products{grid-template-columns:1fr}.draft-preview-brand{padding:16px 12px;display:block}.draft-preview-brand nav{margin-top:10px;font-size:12px}.draft-preview-detail{padding:16px 12px}.draft-preview-detail-grid{grid-template-columns:1fr}.draft-preview-detail .checkout-service-header{flex-wrap:wrap}.draft-preview-detail .checkout-card{padding:18px}.draft-preview-brand strong{font-size:20px}}

.draft-preview-real{flex:1;min-height:0;display:flex;justify-content:center;background:var(--bg)}.draft-preview-real iframe{height:100%;width:100%;border:0;background:var(--bg)}.draft-preview-real.mobile iframe{max-width:390px}dialog.catalog-draft-preview{width:calc(100vw - 24px);height:calc(100dvh - 24px)}@media(max-width:700px){dialog.catalog-draft-preview{width:100vw;height:100dvh}}


/* public/order-status.css */
/* Order states share one palette. Wallet and payment states keep their own colors. */
body :is(.history-submitting,.status-submitting){--order-fill:#6f42c1;--order-ink:#fff;--order-count:#6f42c1}
body :is(.history-waiting,.status-pending){--order-fill:#6c757d;--order-ink:#fff;--order-count:#6c757d}
body :is(.history-progress,.status-processing){--order-fill:#007bff;--order-ink:#fff;--order-count:#007bff}
body :is(.history-completed,.status-completed){--order-fill:#28a745;--order-ink:#fff;--order-count:#238a3b}
body :is(.history-rejected,.status-rejected){--order-fill:#dc3545;--order-ink:#fff;--order-count:#dc3545}
body :is(.history-review,.status-needs_review){--order-fill:#ffc107;--order-ink:#523b00;--order-count:#a66c00}
html[data-theme=dark] :is(.history-submitting,.status-submitting){--order-fill:#6f42c1;--order-count:#d6acff}
html[data-theme=dark] :is(.history-waiting,.status-pending){--order-fill:#6c757d;--order-count:#b0bed1}
html[data-theme=dark] :is(.history-progress,.status-processing){--order-fill:#007bff;--order-count:#8cb5ff}
html[data-theme=dark] :is(.history-completed,.status-completed){--order-fill:#28a745;--order-count:#93cf7d}
html[data-theme=dark] :is(.history-rejected,.status-rejected){--order-fill:#dc3545;--order-count:#ffa0af}
html[data-theme=dark] :is(.history-review,.status-needs_review){--order-fill:#ffc107;--order-ink:#493400;--order-count:#f5cd60}
html body :is(.history-status,.status-tag):is(.history-submitting,.status-submitting,.history-waiting,.status-pending,.history-progress,.status-processing,.history-completed,.status-completed,.history-rejected,.status-rejected,.history-review,.status-needs_review){display:inline-flex;align-items:center;justify-content:center;gap:4px!important;min-height:24px;padding:4px 8px!important;border:0!important;border-radius:999px!important;background:var(--order-fill)!important;color:var(--order-ink)!important;box-shadow:none!important;font-size:12px!important;font-weight:600;line-height:16px!important;white-space:nowrap;vertical-align:middle}
html body :is(.history-status,.status-tag):is(.history-submitting,.status-submitting,.history-waiting,.status-pending,.history-progress,.status-processing,.history-completed,.status-completed,.history-rejected,.status-rejected,.history-review,.status-needs_review)>.customer-ui-icon{width:12px!important;height:12px!important;flex:none;color:inherit;stroke-width:1.9}
/* Statistics retain their current layout and icon sizes. */
:is(#historyStats,#adminOrderStats) .history-stat:not(.history-all) strong{color:var(--order-count)!important}
:is(#historyStats,#adminOrderStats) .history-stat:not(.history-all) .history-stat-icon{background:var(--order-fill)!important;color:var(--order-ink)!important}

/* Rotate only the processing arrow; keep badge geometry and text stationary. */
@keyframes jf-order-status-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:no-preference){
 .history-status.history-progress>.customer-ui-icon,.status-tag.status-processing>.customer-ui-icon{animation:jf-order-status-spin 2s linear infinite;transform-origin:center;transform-box:fill-box}
}
@media(prefers-reduced-motion:reduce){
 .history-status.history-progress>.customer-ui-icon,.status-tag.status-processing>.customer-ui-icon{animation:none!important}
}

/* public/select-panels.css */
/* Native customizable pickers preserve form values, validation, and change events. */
html{--jf-select-panel:#fff;--jf-select-text:#26364b;--jf-select-border:#d5dfec;--jf-select-hover:#f2f6fc;--jf-select-selected:#eaf1ff;--jf-select-accent:#2463d4;--jf-select-muted:#74849a;--jf-select-shadow:0 12px 32px #172c4924,0 3px 8px #172c490a}
html[data-theme=dark]{--jf-select-panel:#1b293b;--jf-select-text:#e3ebf7;--jf-select-border:#3b4d65;--jf-select-hover:#26374e;--jf-select-selected:#29436b;--jf-select-accent:#a9c8ff;--jf-select-muted:#a7b6ca;--jf-select-shadow:0 12px 32px #0005,0 3px 8px #0002}
@supports(appearance:base-select){
 body select:not([multiple]):not([size]):not([hidden]),body select:not([multiple]):not([size]):not([hidden])::picker(select){appearance:base-select}
 body select:not([multiple]):not([size]):not([hidden]){background-image:none;max-inline-size:100%;cursor:pointer}
 body select:not([multiple]):not([size]):not([hidden])::picker(select){box-sizing:border-box;min-inline-size:anchor-size(width);max-inline-size:min(480px,calc(100vi - 24px));max-block-size:min(340px,60vb);padding:6px;margin-block:6px;border:1px solid var(--jf-select-border);border-radius:12px;background:var(--jf-select-panel);color:var(--jf-select-text);box-shadow:var(--jf-select-shadow);font-family:var(--jf-customer-font,inherit);font-size:14px;line-height:1.5;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--jf-select-border) transparent}
 body select:not([multiple]):not([size]):not([hidden]) option{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-block-size:36px;padding:8px 12px;border:0;border-radius:7px;background:transparent;color:var(--jf-select-text);font:inherit;font-weight:500;text-align:start;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
 body select:not([multiple]):not([size]):not([hidden]) option:not(:disabled):is(:hover,:focus-visible){background:var(--jf-select-hover);color:var(--jf-select-text)}
 body select:not([multiple]):not([size]):not([hidden]) option:checked{background:var(--jf-select-selected);color:var(--jf-select-accent);font-weight:600}
 body select:not([multiple]):not([size]):not([hidden]) option:disabled{color:var(--jf-select-muted);opacity:.65;cursor:not-allowed}
 body select:not([multiple]):not([size]):not([hidden]) option::checkmark{order:1;margin-inline-start:auto;color:var(--jf-select-accent);content:'✓';font-size:14px;font-weight:600;flex:none}
 body select:not([multiple]):not([size]):not([hidden])::picker-icon{color:var(--jf-select-muted);margin-inline-start:12px;transition:transform 160ms ease}
 body select:not([multiple]):not([size]):not([hidden]):open::picker-icon{transform:rotate(180deg);color:var(--jf-select-accent)}
 body select:not([multiple]):not([size]):not([hidden]) optgroup{padding-block:4px;color:var(--jf-select-muted);font:inherit;font-weight:600}
 @media(pointer:coarse){body select:not([multiple]):not([size]):not([hidden]) option{min-block-size:44px;padding-block:10px;font-size:16px}}
 @media(prefers-reduced-motion:no-preference){body select:not([multiple]):not([size]):not([hidden]):open::picker(select){animation:jf-select-panel-open 240ms cubic-bezier(.2,.8,.2,1) both}}
 @media(prefers-reduced-motion:reduce){body select:not([multiple]):not([size]):not([hidden])::picker-icon{transition:none}}
}
@keyframes jf-select-panel-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

@media (max-width:800px) {
  #server-status .section-heading { flex-wrap:wrap; }
  .status-grid .status-item { flex-wrap:wrap; align-content:center; }
  .status-grid .status-item > span { min-width:0; max-width:100%; }
  .status-grid .status-item :is(.online,.offline), #statusSummary, #catalog .catalog-switcher .catalog-tabs button {
    white-space:normal; overflow-wrap:anywhere;
  }
}

@media (max-width:700px) {
  #historyRows .history-table { display:block; width:100%; min-width:0; }
  #historyRows .history-table > thead {
    position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);
  }
  #historyRows .history-table > tbody { display:block; }
  #historyRows .history-table > tbody > tr:not(.history-batch-detail) {
    display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:
      "number price" "service service" "status action" "input date" "result result";
    gap:4px 10px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--jf-line,#dce3ea);
  }
  #historyRows .history-table > tbody > tr > td {
    display:block; width:auto; min-width:0; padding:0; border:0; overflow-wrap:anywhere; white-space:normal;
  }
  #historyRows .history-table > tbody > tr > td:nth-child(1) { grid-area:number; }
  #historyRows .history-table > tbody > tr > td:nth-child(2) { grid-area:service; }
  #historyRows .history-table > tbody > tr > td:nth-child(3) { grid-area:input; }
  #historyRows .history-table > tbody > tr > td:nth-child(4) { grid-area:price; text-align:end; }
  #historyRows .history-table > tbody > tr > td:nth-child(5) { grid-area:status; }
  #historyRows .history-table > tbody > tr > td:nth-child(6) { grid-area:date; text-align:end; }
  #historyRows .history-table > tbody > tr > td:nth-child(7) { grid-area:result; }
  #historyRows .history-table > tbody > tr > td:nth-child(8) { grid-area:action; text-align:end; }
  #historyRows .history-table > tbody > .history-batch-detail { display:block; }
  #historyRows .history-input { white-space:normal; overflow-wrap:anywhere; }
  #historyRows .history-date small { display:inline; margin-inline-start:4px; }
  #historyRows .history-batch-scroll { max-width:100%; overflow-x:auto; }
}
