/* Service/account/commerce only. Creation pages deliberately keep their own palette. */
body{--commerce-primary:#426580;--commerce-soft:#eaf0f5}
body[data-commerce-theme=pine]{--commerce-primary:#3e6b5d;--commerce-soft:#e9f1ed}body[data-commerce-theme=sand]{--commerce-primary:#826448;--commerce-soft:#f4eee5}body[data-commerce-theme=slate]{--commerce-primary:#58636d;--commerce-soft:#edf0f2}body[data-commerce-theme=mauve]{--commerce-primary:#75617c;--commerce-soft:#f0ebf3}
.commerce-surface,.commerce-surface .confirmed,body.desk-page{--bg:#f4f6f8!important;--surface:#fff!important;--surface2:#f7f9fb!important;--ink:#253345!important;--muted:#667488!important;--line:#e0e6ed!important;--soft:var(--commerce-soft)!important;--accent:var(--commerce-primary)!important;--accent-ink:#fff!important;--paper:#fff!important;--gold:var(--commerce-primary)!important;--desk-green:#263948;--bubble:#fff!important;--bubble-ink:#253345!important;color:#253345!important;background:#f4f6f8!important;font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif!important;letter-spacing:normal!important}
.commerce-surface *{box-sizing:border-box}.commerce-surface h1,.commerce-surface h2,.commerce-surface h3,.commerce-surface strong,.commerce-surface button,.commerce-surface input,.commerce-surface textarea,.commerce-surface select,.desk-page h1,.desk-page h2,.desk-page h3{font-family:inherit!important;letter-spacing:normal!important}
.commerce-surface h2{font-size:24px!important;line-height:1.4}.commerce-surface h3{font-size:18px!important;line-height:1.5}.commerce-surface p{font-size:15px;line-height:1.75}.commerce-surface .muted,.commerce-surface small{color:#667488}.commerce-surface button,.commerce-surface a.primary,.commerce-surface a.secondary{font-size:16px!important;line-height:1.5;border-radius:10px!important;min-height:44px;box-shadow:0 2px 5px #2639480a!important;text-align:center;cursor:pointer}.commerce-surface button:focus-visible,.desk-page button:focus-visible{outline:3px solid #87a3b8;outline-offset:3px}.commerce-surface .primary,.commerce-surface .quota-add{background:var(--commerce-primary)!important;color:#fff!important;border:1px solid var(--commerce-primary)!important;box-shadow:0 3px 8px #26394820!important}.commerce-surface .secondary,.commerce-surface .text-btn,.commerce-surface .subtle{background:#fff!important;color:var(--commerce-primary)!important;border:1px solid #dbe3ec!important}.commerce-surface button:disabled{opacity:.45;cursor:not-allowed}.commerce-surface input,.commerce-surface textarea,.commerce-surface select{font-family:inherit!important;background:#fff!important;border:1px solid #cdd7e1!important;border-radius:9px!important;font-size:16px!important;color:#253345!important;padding:12px!important}.commerce-surface input[type=checkbox]{accent-color:var(--commerce-primary);padding:0!important;width:20px;height:20px}.commerce-surface .field{font-size:15px!important;color:#4d5b6c;gap:8px;margin:18px 0}.commerce-surface .panel,.commerce-surface .card,.commerce-surface .feedback-item,.commerce-surface .service-order-card{background:#fff!important;border:1px solid #e0e6ed!important;border-radius:14px!important;padding:20px!important;box-shadow:none!important;margin:16px 0}.commerce-surface .notice,.commerce-surface .service-notice{background:var(--commerce-soft)!important;border-color:#dce4ec!important;color:#40546a!important;border-radius:9px;padding:14px;font-size:14px}.commerce-surface [role=alert]{background:#fff1ed!important;border:1px solid #f1d0c5!important;color:#98462f!important;padding:14px;border-radius:9px;font-size:15px;overflow-wrap:anywhere}.commerce-surface .modal-close{background:#edf1f5!important;color:#667488!important;border:0!important;width:36px;height:36px;min-height:36px;padding:6px}.commerce-surface.modal{max-width:760px;padding:32px;background:#f7f9fb!important;border:0!important;box-shadow:0 24px 80px #0f203530!important;max-height:90dvh;overflow:auto}.commerce-surface .profile-card{display:flex;gap:16px;align-items:center;background:none!important;border:0!important;box-shadow:none!important;padding:8px 0 20px!important;margin:0!important}.commerce-surface .profile-card h2{margin:0!important}.commerce-surface .profile-avatar{background:var(--commerce-soft)!important;color:var(--commerce-primary)!important;border:4px solid #fff!important;width:64px;height:64px;border-radius:50%}.commerce-surface .profile-avatar svg{width:28px;height:28px}.commerce-surface .profile-account{border:0!important;min-height:32px;background:none!important;color:#667488!important;font-size:14px!important;box-shadow:none!important;padding:0!important}.commerce-surface .profile-edit{margin-left:auto;font-size:13px!important;white-space:nowrap;padding:8px 12px;background:#fff!important;color:#667488!important;border:1px solid #e0e6ed!important}.commerce-surface .mine-refined{padding:24px!important}.commerce-surface .quota-simple{margin:0 0 20px!important;padding:22px!important;background:#fff!important;border:1px solid #dbe4ed!important;box-shadow:none!important;border-radius:15px!important}.commerce-surface .quota-simple>div:first-child{display:flex;justify-content:space-between;align-items:center}.commerce-surface .quota-simple h3{margin:0!important;font-size:17px!important}.commerce-surface .quota-simple strong{font-size:24px;color:var(--commerce-primary)}.commerce-surface .quota-track{background:#e9eef3!important;height:9px!important;border-radius:9px!important;margin:16px 0!important;overflow:hidden}.commerce-surface .quota-track>span{background:var(--commerce-primary)!important;height:100%;display:block;border-radius:9px}.commerce-surface .quota-add{display:block;margin:16px 0 0 auto!important;padding:8px 18px!important;width:auto!important;min-height:40px!important;font-size:15px!important}.commerce-surface .mine-main{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin:0 0 18px!important}.commerce-surface .mine-main .tile{background:#fff!important;border:1px solid #e0e6ed!important;border-radius:14px!important;min-height:112px!important;box-shadow:0 3px 9px #25334508!important;display:flex!important;flex-direction:column!important;gap:8px!important;align-items:center!important;justify-content:center!important;padding:18px!important;color:#33485c!important}.commerce-surface .mine-main .tile small,.commerce-surface .mine-main .tile>.chevron{display:none}.commerce-surface .mine-main .tile svg{color:var(--commerce-primary)!important;width:27px;height:27px;margin:0!important}.commerce-surface .bird-entry{margin:18px 0!important;background:#fff!important;border:1px solid #e0e6ed!important;border-radius:14px!important;box-shadow:none!important;padding:14px 18px!important;min-height:70px!important;text-align:left;justify-content:flex-start!important}.commerce-surface .bird-entry img{width:44px!important;height:44px!important;margin-right:10px}.commerce-surface .bird-entry .chevron{margin-left:auto!important}.commerce-surface .mine-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:18px 0!important}.commerce-surface .mine-tools button{display:flex!important;flex-direction:column!important;align-items:center!important;gap:9px!important;padding:16px 4px!important;min-height:88px!important;color:#566b80!important;background:#fff!important;border:1px solid #e0e6ed!important;box-shadow:0 2px 5px #26394807!important;font-size:14px!important}.commerce-surface .mine-tools svg{width:22px!important;height:22px!important;margin:0!important;color:#7890a3!important}.commerce-surface .human-writing-button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;background:linear-gradient(110deg,var(--commerce-soft),#fff)!important;border:1px solid #dbe4ed!important;border-radius:14px!important;color:#2c4258!important;min-height:130px!important;padding:14px 18px!important;margin:20px 0!important;text-align:left!important;font-size:18px!important}.commerce-surface .human-writing-button img{height:110px;width:85px;object-fit:contain}.commerce-surface .human-writing-button span{flex:1}.commerce-surface .human-writing-button small{display:block;font-size:13px;font-weight:400;margin-top:6px}.commerce-surface .mine-services{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 18px!important;background:#fff;border:1px solid #e0e6ed;border-radius:14px;padding:8px 18px}.commerce-surface .mine-service-slot{position:relative}.commerce-surface .mine-services .tile{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:68px!important;height:auto!important;padding:13px 0!important;width:100%!important;text-align:left!important;color:#405269!important;background:none!important;border:0!important;border-bottom:1px solid #edf0f4!important;border-radius:0!important;box-shadow:none!important;font-size:15px!important}.commerce-surface .mine-services .tile small{display:none}.commerce-surface .mine-services .tile svg{width:20px!important;height:20px!important;margin:0!important;color:#8094aa!important}.commerce-surface .mine-services .chevron{display:none}.commerce-surface .support-card{background:#fff!important;border:1px solid #e0e6ed!important;border-radius:12px!important;color:#53677c!important;padding:18px!important;justify-content:center!important;margin:18px 0!important;font-size:16px!important;box-shadow:none!important}.commerce-surface .logout-link{display:flex;justify-content:center;padding:12px!important}.commerce-surface .bottom-nav{background:#fff!important;border-color:#e0e6ed!important}.commerce-surface .bottom-nav button{color:#7c8a9a!important;box-shadow:none!important;border:0!important;background:none!important}.commerce-surface .bottom-nav .active{color:var(--commerce-primary)!important}.commerce-surface .device{background:#f4f6f8!important}.commerce-surface .app-header,.commerce-surface .site-header{background:#fff!important;border-color:#e0e6ed!important}.natural-themes{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 24px}.natural-themes button{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px 14px;background:#fff;color:#475569;border:1px solid #d8e0e8;border-radius:10px;min-height:44px;font-size:15px}.natural-themes button[aria-pressed=true]{border:2px solid var(--commerce-primary);padding:9px 13px;background:var(--commerce-soft)}.natural-themes i{width:23px;height:23px;border-radius:50%;display:inline-block}.natural-themes button span{font-size:15px;color:var(--commerce-primary)}
.commerce-surface .top-up-plans{display:grid;gap:12px;margin:24px 0}.commerce-surface .top-up .plan-card{display:grid!important;grid-template-columns:56px 1fr auto 20px;gap:14px;align-items:center;text-align:left!important;background:#fff!important;border:1px solid #dce4ec!important;border-radius:13px!important;padding:20px 16px!important;min-height:110px;box-shadow:none!important;color:#253345!important;width:100%;margin:0!important}.commerce-surface .top-up .plan-card.chosen{border:2px solid var(--commerce-primary)!important;background:var(--commerce-soft)!important;padding:19px 15px!important}.commerce-surface .plan-card .plan-icon{width:56px;height:60px;object-fit:contain}.commerce-surface .plan-copy strong{display:block;font-size:18px}.commerce-surface .plan-copy small{display:block;font-size:13px;margin-top:5px}.commerce-surface .plan-card b,.commerce-surface .cash-amount{color:#b35932!important;font:700 24px/1.3 system-ui!important;white-space:nowrap}.commerce-surface .plan-radio{width:20px;height:20px;border-radius:50%;border:1px solid #aebdcb;color:transparent;display:grid;place-items:center}.commerce-surface .chosen .plan-radio{background:var(--commerce-primary);border-color:var(--commerce-primary);color:#fff}.commerce-surface .purchase-footer{position:sticky;bottom:-32px;background:#fff;border-top:1px solid #e0e6ed;margin:22px -32px -32px;padding:18px 32px;display:flex;align-items:center;gap:16px;z-index:2}.commerce-surface .purchase-footer>div{flex:1}.commerce-surface .purchase-footer small{display:block;font-size:12px}.commerce-surface .purchase-footer button{padding:12px 25px}.commerce-surface .cash-product{display:flex;gap:18px;align-items:center;background:#fff;border:1px solid #e0e6ed;border-radius:14px;padding:20px;margin:20px 0}.commerce-surface .cash-product img{width:72px;height:86px;object-fit:contain}.commerce-surface .cash-product strong{font-size:18px}.commerce-surface .cash-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid #edf0f4;font-size:15px}.commerce-surface .cash-row:last-child{border:0}.commerce-surface .cash-row .wechat-label{display:flex;align-items:center;gap:10px}.commerce-surface .cash-row svg{color:#32916b}.commerce-surface .checkout-consent{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#667488;line-height:1.7;margin:18px 0}.commerce-surface .checkout-consent input{flex:none}.commerce-surface .checkout-consent a{color:var(--commerce-primary)}.commerce-surface .payment-error{margin:16px 0}.commerce-surface .service-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #dce4ec;gap:8px;margin-bottom:24px;padding:0 0 12px}.commerce-surface .service-tabs button{white-space:nowrap;background:#fff!important;color:#637387!important;border:1px solid #dce4ec!important;padding:9px 14px!important;min-height:40px;font-size:14px!important}.commerce-surface .service-tabs button.active{background:var(--commerce-soft)!important;color:var(--commerce-primary)!important;border-color:var(--commerce-primary)!important}.commerce-surface .service-heading{gap:14px;margin:22px 0}.commerce-surface .service-heading svg{color:var(--commerce-primary)}.commerce-surface .service-order-card>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:18px}.commerce-surface .service-order-card>div:first-child>span{color:#b35932;font-weight:700}.commerce-surface .service-order-card small{overflow-wrap:anywhere}.commerce-surface .service-order-card button{margin:12px 10px 0 0;padding:9px 14px}.commerce-surface .feedback-item textarea{width:100%}.commerce-surface .service-alert{background:#fff1ed;color:#98462f;border:1px solid #f1d0c5;padding:14px;border-radius:9px}.commerce-surface .theme-option{background:#fff!important;color:#405269!important;border:1px solid #dce4ec!important}.commerce-surface .theme-option.chosen{border-color:var(--commerce-primary)!important}
/* Protected admin/agent forms use the same neutral ecommerce baseline. */
body.desk-page{--desk-green:#263948;background:#f4f6f8!important;color:#253345!important}.desk-page .desk-header{background:#263948!important;border-color:#263948!important}.desk-page .desk-nav{background:#263948!important}.desk-page .desk-nav a[aria-current=page]{background:var(--commerce-primary)!important}.desk-page .desk-group h2{color:#afbdc9!important}.desk-page .desk-mark{color:#d5e0ea!important}.desk-page .primary,.desk-page button.primary,.desk-page .desk-form-page button[type=submit]{background:var(--commerce-primary)!important;color:#fff!important;border-color:var(--commerce-primary)!important;border-radius:8px!important}.desk-page .panel,.desk-page .desk-card{border-radius:12px!important;background:#fff!important;border-color:#e0e6ed!important;box-shadow:none!important}.desk-page .secondary,.desk-page .cfg-tabs button,.desk-page .filters button{background:#fff;color:#526579;border:1px solid #dce4ec;border-radius:8px}.desk-page .cfg-tabs [aria-pressed=true],.desk-page .filters .active{color:var(--commerce-primary);background:var(--commerce-soft)}.desk-page table{font-size:14px;border-collapse:collapse;width:100%}.desk-page th{background:#f6f8fb;color:#667488;font-weight:600}.desk-page td,.desk-page th{padding:14px 16px;border-bottom:1px solid #e6ebf1;text-align:left}.desk-page tbody tr:hover{background:#f8fafc}.desk-page .feedback-item{border:1px solid #e0e6ed!important;padding:20px;border-radius:12px;background:#fff;margin:16px 0}.desk-page .feedback-item textarea{background:#f8fafc;border:1px solid #d8e1ea;border-radius:8px}.desk-page input,.desk-page textarea,.desk-page select{font-family:inherit;font-size:15px;border-radius:8px!important}.desk-page .natural-themes button[aria-pressed=true]{border-color:var(--commerce-primary);background:var(--commerce-soft)}
@media(max-width:600px){.commerce-surface.modal{padding:24px 18px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px);border-radius:16px!important}.commerce-surface .mine-refined{padding:20px 16px!important}.commerce-surface h2{font-size:22px!important}.commerce-surface .mine-services{gap:0 12px;padding:6px 12px}.commerce-surface .mine-services .tile{gap:8px!important;font-size:14px!important}.commerce-surface .human-writing-button{gap:8px!important;font-size:17px!important;padding:12px!important}.commerce-surface .human-writing-button small{font-size:12px}.commerce-surface .purchase-footer{bottom:-24px;margin:20px -18px -24px;padding:16px 18px calc(16px + env(safe-area-inset-bottom))}.commerce-surface .top-up .plan-card{grid-template-columns:42px 1fr auto 18px;gap:10px;padding:18px 12px!important}.commerce-surface .top-up .plan-card.chosen{padding:17px 11px!important}.commerce-surface .plan-card .plan-icon{width:42px;height:52px}.commerce-surface .plan-copy strong{font-size:16px}.commerce-surface .plan-copy small{font-size:12px}.commerce-surface .plan-card b{font-size:20px!important}.commerce-surface .profile-edit{padding:6px 8px;font-size:12px!important}.commerce-surface .profile-avatar{width:52px;height:52px}.commerce-surface .profile-card{gap:10px}}
.commerce-surface .mine-services .tile{flex-direction:row!important}.commerce-surface .mine-services .tile small,.commerce-surface .mine-main .tile small{display:none!important}.commerce-surface .top-up-plans{grid-template-columns:minmax(0,1fr)!important}.commerce-surface .plan-copy{min-width:0}.commerce-surface .plan-copy small{white-space:nowrap}.commerce-surface .mine-services .tile>span{flex:1}.commerce-surface .mine-refined .profile-card h2{font-weight:700}.commerce-surface nav#nav{background:#fff!important;border-top:1px solid #e0e6ed!important}.commerce-surface nav#nav button{background:none!important;color:#788a9d!important;box-shadow:none!important}.commerce-surface nav#nav button[aria-current=page]{color:var(--commerce-primary)!important}
.commerce-surface nav#nav button.active:after{background:var(--commerce-primary)!important}.commerce-auth{min-height:100dvh;margin:0!important;background:#f4f6f8!important;color:#253345!important;font:17px/1.75 system-ui,sans-serif!important}.commerce-auth main{background:#fff!important;color:#253345!important;max-width:540px!important;padding:28px!important;border:1px solid #e0e6ed;border-radius:16px!important;box-shadow:0 8px 30px #2533450a}.commerce-auth h1{font:700 27px/1.5 system-ui,sans-serif!important}.commerce-auth button,.commerce-auth .button{background:var(--commerce-primary)!important;color:#fff!important;border-radius:9px!important}.commerce-auth a{color:var(--commerce-primary)!important}.commerce-auth small{color:#667488!important}.commerce-auth .notice{color:#98462f!important;background:#fff1ed!important;border-color:#f1d0c5!important}.commerce-auth input:not([type=checkbox]){background:#fff!important;color:#253345!important;border:1px solid #cdd7e1!important}.commerce-auth section{border-color:#e0e6ed!important}.commerce-surface.partner-app{min-height:100vh}.commerce-surface .partner-header{background:#fff;border-color:#e0e6ed;color:#253345}.commerce-surface .partner-header a{color:var(--commerce-primary)}
.commerce-surface .mine-services .tile>span{justify-content:center!important}.commerce-surface .natural-themes button{white-space:nowrap}
