/* Final application surfaces: shared spacing, typography and touch targets. */
:root{--app-ink:#182b29;--app-muted:#788883;--app-green:#087f6a;--app-line:#e9eeeb;--app-bg:#f5f7f6}
body.agent-body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--app-ink);background:var(--app-bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}
.app-page:not([data-page="support"]):not([data-page="player-chat"])>.page-heading h1{font-size:24px;letter-spacing:-.5px;font-weight:700}
.app-page:not([data-page="support"]):not([data-page="player-chat"]) .panel{border:1px solid var(--app-line);box-shadow:none;border-radius:16px}
.app-page:not([data-page="support"]):not([data-page="player-chat"]) .field{font-size:13px;font-weight:500;color:#455b52}
.app-page:not([data-page="support"]):not([data-page="player-chat"]) .field input:not([type=checkbox]):not([type=radio]):not([type=file]),.app-page:not([data-page="support"]):not([data-page="player-chat"]) .field select,.app-page:not([data-page="support"]):not([data-page="player-chat"]) .field textarea{border:1px solid #e1e8e4;border-radius:10px;background:#fafcfb;color:var(--app-ink);font-size:15px;box-shadow:none;min-height:46px}
.app-page .field input:focus,.app-page .field textarea:focus,.app-page .field select:focus{outline:0;border-color:#55a18a!important;box-shadow:0 0 0 3px #12835c0d!important}
.app-page:not([data-page="support"]):not([data-page="player-chat"]) .button-primary{background:#087f6a;color:#fff;border:0;box-shadow:none;border-radius:11px;font-weight:600;min-height:44px}
.app-page .safe-action-note,.app-page .data-note{font-size:12px;line-height:1.6;color:#7b8b83}
body[data-page="profile"] .profile-card{padding:22px 20px!important;border:0!important;border-radius:18px!important}
body[data-page="profile"] .profile-main{gap:16px;align-items:center}
body[data-page="profile"] .profile-main h1{font-size:23px!important;font-weight:700;letter-spacing:-.4px;margin-bottom:5px}
body[data-page="profile"] .profile-main p{font-size:12px!important;margin:3px 0!important;color:#7c8c85!important;line-height:1.55!important}
body[data-page="profile"] .profile-main .profile-edit-hint{display:none}
body[data-page="profile"] .profile-avatar{width:68px;height:68px;border:3px solid #eef6f1;background:#e3f0e9}
body[data-page="profile"] .profile-stats{padding-top:18px;margin-top:20px}
body[data-page="profile"] .profile-stats strong{font-size:23px;font-weight:650;letter-spacing:-.6px}
body[data-page="profile"] .profile-stats span{font-size:11px;color:#89978f;margin-top:5px}
body[data-page="profile"] #card-profile-panel{padding:0 20px;border:0!important;border-radius:16px!important;overflow:visible}
body[data-page="profile"] #card-profile-panel>summary{display:flex;align-items:center;justify-content:space-between;min-height:58px;list-style:none;font-size:15px;font-weight:600;margin:0!important}
body[data-page="profile"] #card-profile-panel>summary::-webkit-details-marker{display:none}
body[data-page="profile"] #card-profile-panel>summary:after{content:'›';font-size:24px;font-weight:400;color:#a2afa8;transform:rotate(90deg)}
body[data-page="profile"] #card-profile-panel[open]>summary:after{transform:rotate(-90deg)}
body[data-page="profile"] #card-profile-panel>summary .badge{display:none}
body[data-page="profile"] #card-profile-form{gap:0;padding-bottom:18px}
body[data-page="profile"] #card-profile-form .field{display:grid;grid-template-columns:95px minmax(0,1fr);align-items:center;gap:8px;min-height:60px;border-top:1px solid #edf1ee;margin:0;font-size:14px;color:#40554a}
body[data-page="profile"] #card-profile-form .field input{background:transparent!important;border:0!important;box-shadow:none!important;text-align:right;padding:10px 0!important;min-height:44px!important;font-size:14px!important;min-width:0}
body[data-page="profile"] #card-profile-form>button{margin-top:18px;border-radius:11px;min-height:45px;font-size:14px}
body[data-page="profile"] #card-profile-status:empty,body[data-page="profile"] #agent-avatar-status:empty{display:none}
body[data-page="profile"] .avatar-action-sheet{position:fixed;z-index:250;inset:auto 12px calc(12px + env(safe-area-inset-bottom,0px));padding:8px 0 0;gap:0;border-radius:20px;background:#fff;box-shadow:0 0 0 100vmax #11282066,0 16px 60px #10231b20;margin:0;overflow:hidden}
body[data-page="profile"] .avatar-action-sheet>strong{text-align:center;padding:18px 20px 15px;font-size:13px;font-weight:500;color:#8a9690;margin:0}
body[data-page="profile"] .avatar-action-sheet>button{min-height:55px;border-radius:0;font-size:16px;border-top:1px solid #f0f3f1;background:white;color:#1b4638}
body[data-page="profile"] .avatar-action-sheet>#agent-avatar-cancel{border-top:8px solid #f5f7f6;min-height:61px;color:#6e7e75}
body[data-page="profile"] .profile-assets .profile-balance-main>strong{font-size:32px!important;letter-spacing:-1px;color:#137b63!important}
body[data-page="profile"] .profile-assets small{font-size:11px;color:#89978f}
body[data-page="profile"] .profile-menu a{min-height:55px;font-size:14px;border-bottom:1px solid #f0f3f1;box-shadow:none}
body[data-page="support"] .support-heading{background:#f8f9f8!important;border-bottom:1px solid #e8ece9!important}
body[data-page="support"] #support-title{font-size:18px!important;font-weight:650}
body[data-page="support"] #support-sync-status{font-size:10px!important;font-weight:400;background:transparent;color:#7b9082;padding:3px 0}
body[data-page="support"] .support-boundary{padding:8px 18px!important;background:#f5f7f5!important;color:#8a978f!important;font-size:10px!important;line-height:1.55!important;border-bottom:1px solid #e9edea!important}
body[data-page="player-chat"] .consultation-log,body[data-page="support"] .support-messages{background:#f0f2f1!important;gap:20px!important}
body[data-page="player-chat"] .consultation-message-avatar,.wechat-message-avatar{width:37px;height:37px;border-radius:9px;background:#e1ebe6;color:#698376}
body[data-page="player-chat"] .consultation-message-row .consultation-bubble,body[data-page="support"] .wechat-message-content{border-radius:10px!important;padding:11px 13px!important;box-shadow:0 1px 2px #122b1b04!important;line-height:1.6}
body[data-page="player-chat"] .consultation-message-row:not(.is-self) .consultation-bubble,body[data-page="support"] .support-message:not(.support-message--agent) .wechat-message-content{border-top-left-radius:3px!important}
body[data-page="player-chat"] .consultation-message-row.is-self .consultation-bubble,body[data-page="support"] .support-message--agent .wechat-message-content{border-top-right-radius:3px!important;background:#c8ebad!important}
body[data-page="player-chat"] .consultation-compose,body[data-page="support"] .support-composer{background:#fbfcfb!important;border-top:1px solid #e1e7e2!important;padding-top:8px!important;gap:8px!important}
body[data-page="player-chat"] .consultation-input-row textarea,body[data-page="support"] #support-input{border:1px solid #e4e9e5!important;border-radius:10px!important;padding:9px 12px!important;background:white!important}
body[data-page="player-chat"] .consultation-send,body[data-page="support"] #support-send{background:#138267!important;border-radius:9px!important;min-height:38px!important}
body[data-page="support"] .chat-quick-actions>a{padding:5px 10px;background:#edf5ee;color:#4d7a5f;border:1px solid #e0ece2;border-radius:7px;font-size:11px}
body[data-page="support"] #support-more{border-color:#b1beb6;color:#6c8475}
@media(min-width:761px){body[data-page="profile"] .avatar-action-sheet{left:calc(50% - 190px);right:auto;width:380px;bottom:24px}}
@media(prefers-reduced-motion:reduce){.app-page{animation:none!important}*{scroll-behavior:auto!important}}

body[data-page="profile"] .profile-card{position:relative}body[data-page="profile"] .profile-main{padding-right:66px}.profile-edit-button{position:absolute;right:18px;top:27px;padding:7px 10px;border:1px solid #e2ebe6;background:#fff;border-radius:8px;color:#477b67;font-size:12px}body[data-page="profile"] #card-profile-panel{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:20px!important;margin:auto!important;border:0!important;border-radius:18px!important;background:#fff;overflow:auto}#card-profile-panel::backdrop{background:#10261b70}.profile-editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.profile-editor-header h2{font-size:18px}.profile-editor-header button{width:32px;height:32px;border:0;background:#f4f7f5;border-radius:50%;color:#7d9085;font-size:23px}#card-profile-panel:not([open]){display:none!important}#header-support-unread{position:absolute;top:0;right:0;background:#e54e4e;color:#fff;border:2px solid white}

.agent-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.wallet-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.wallet-action-grid button{display:flex;flex-direction:column;gap:7px;align-items:center;border:1px solid #e4ece7;border-radius:14px;background:white;padding:19px 6px;color:#294e3d;font-size:14px}.wallet-action-grid button>span{font-size:25px;color:#208569}.wallet-action-grid small{font-size:10px;color:#97a49b}.wallet-action-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:25px 20px;border:0;border-radius:18px;background:white;overflow:auto}.wallet-action-dialog::backdrop{background:#142a1d66}.wallet-dialog-close{float:right;width:28px;height:28px;border:0;border-radius:50%;background:#f0f5f2;color:#668473;font-size:22px}.wallet-action-dialog .section-heading{margin-right:25px}.statistics-day-card{padding:14px 16px!important;border-radius:11px!important}.statistics-day-card:not([open])>dl{display:none}.statistics-day-heading{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;margin:0!important;padding:2px 0}.statistics-day-heading h3{font-size:14px;margin:0}.statistics-day-heading strong{font-size:12px;font-weight:500;color:#628271}.statistics-day-card[open]>summary{margin-bottom:14px!important}.statistics-daily-cards{gap:7px!important}

.profile-phone-row{display:flex;align-items:center;justify-content:space-between;min-height:58px;border-top:1px solid #edf1ee;font-size:14px}.profile-phone-row button{background:none;border:0;padding:10px 0;color:#52836d;font-size:13px}#phone-change-dialog form{display:grid;gap:16px;margin-top:20px}#phone-change-dialog .field{display:grid;gap:8px;font-size:13px}#phone-change-dialog input{width:100%;min-height:45px;padding:10px;border:1px solid #dfe8e2;border-radius:9px}

#login-view.is-binding{display:flex!important;flex-direction:column;justify-content:flex-start!important;min-height:100dvh;padding:32px 24px!important;gap:0!important;background:#f7f9f8!important}#login-view.is-binding .login-hero,#login-view.is-binding .login-footer,#login-view.is-binding .version-pill{display:none!important}#login-view.is-binding .login-brand{margin:0 0 44px!important;padding:0}#login-view.is-binding .brand-mark{width:52px;height:52px;border-radius:15px;box-shadow:0 8px 25px #1a735c15}#phone-binding-form{display:flex;flex-direction:column;gap:22px;width:100%;max-width:420px;margin:0 auto;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}#phone-binding-form[hidden]{display:none!important}.binding-step{font-size:11px;letter-spacing:1px;color:#72988a}.binding-intro h2{font-size:28px;font-weight:700;color:#173d30;margin:12px 0 10px;line-height:1.35}.binding-intro p{font-size:13px;color:#93a199;line-height:1.6;margin:0 0 16px}.binding-field{display:flex;flex-direction:column;gap:10px;min-width:0}.binding-field>label{font-size:13px;color:#466554;font-weight:500}.binding-field input{width:100%;min-width:0;height:52px;padding:14px 15px;border:1px solid #e0e9e3;border-radius:12px;background:white;box-shadow:none;font-size:16px;color:#1b3e2d;outline:none}.binding-field input:focus{border-color:#399378;box-shadow:0 0 0 3px #21886b0a}.binding-field small{font-size:11px;color:#9da9a1}.binding-phone-input{display:flex;align-items:center;position:relative}.binding-phone-input>span{position:absolute;left:15px;font-size:14px;color:#70877b;padding-right:12px;border-right:1px solid #e5ece7}.binding-phone-input input{padding-left:70px}.binding-privacy{margin:0;text-align:center;font-size:11px;color:#a1ada5}#phone-binding-form>.button{min-height:50px;background:#108368;border:0;color:white;border-radius:12px;font-size:15px;font-weight:600;box-shadow:0 7px 20px #08785d12}#binding-error{font-size:12px;line-height:1.5;color:#c5574f;margin:0}#binding-error:empty{display:none}@media(min-width:761px){#login-view.is-binding{align-items:center;padding-top:70px!important}#login-view.is-binding .login-brand{width:420px}}

.platform-payment-qr{display:block;width:min(240px,100%);height:auto;object-fit:contain;margin:15px auto;padding:12px;background:white;border-radius:10px}.chat-order-link{display:block;border-top:1px solid #b8d4bf;margin-top:10px;padding-top:10px;color:#246346;font-size:12px;overflow-wrap:anywhere}
/* Conversation lists and the workbench follow normal page scrolling. */
body[data-page="messages"]{height:auto;overflow-y:auto}
body[data-page="messages"] .agent-shell,body[data-page="messages"] .agent-main{height:auto;max-height:none;overflow:visible}
body[data-page="messages"] .app-page[data-page="messages"]:not([hidden]){height:auto;min-height:0;max-height:none;padding-top:0;background:#fff}
body[data-page="messages"] .agent-header .header-notice{display:none}
body[data-page="messages"] .page-heading{min-height:48px;margin:0;padding:10px 14px;align-items:center;border-bottom:1px solid #e9eeeb;background:#f8f9f8}
body[data-page="messages"] .page-heading h1{font-size:18px!important;line-height:1.3;font-weight:600!important}
body[data-page="messages"] #refresh-messages{min-height:32px;padding:5px 8px;font-size:12px;color:#71857a}
body[data-page="messages"] #notification-list.conversation-list{display:grid;height:auto;min-height:0;max-height:none;align-content:start;gap:0;overflow:visible;padding:0;background:#fff;border-radius:0}
body[data-page="messages"] #notification-list .conversation-row{min-height:72px;margin:0;padding:12px 14px;gap:12px;border:0;border-bottom:1px solid #edf0ed;border-radius:0;box-shadow:none}
body[data-page="messages"] #notification-list .conversation-avatar{width:42px;height:42px;border-radius:10px}
body[data-page="messages"] #notification-list .conversation-row-title strong{font-size:15px;font-weight:600}
body[data-page="messages"] #notification-list .conversation-row-summary{font-size:12px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-page="messages"] #notification-list .conversation-empty-note{padding:26px 14px;margin:0;font-size:13px;color:#97a39b}
body[data-page="home"] .workbench-layout{align-items:start}
body[data-page="home"] .home-order-workspace{height:auto!important;min-height:0!important;max-height:none;align-self:start;overflow:visible}
body[data-page="home"] #home-order-list{height:auto;min-height:0;max-height:none;align-content:start;gap:10px;overflow:visible}
body[data-page="home"] #home-order-list>.empty-state{min-height:0!important;height:auto;padding:24px 16px;gap:6px;border:0;background:#fafcfb;border-radius:10px}
body[data-page="home"] #home-order-list .empty-state-icon{display:none}
body[data-page="home"] #home-order-list .empty-state h3{margin:0;font-size:14px;font-weight:500;color:#5d7566}
body[data-page="home"] #home-order-list .empty-state p{margin:0;font-size:12px;line-height:1.6;color:#8b9b90}
body[data-page="home"] #home-order-list .empty-state button{min-height:32px;margin-top:6px;padding:5px 12px;font-size:12px}
body[data-page="home"] #home-order-list .order-card{height:auto;min-height:0;padding:14px;border-radius:11px;gap:9px}
body[data-page="home"] #home-order-list .order-card-amount{margin:10px 0}
body[data-page="home"] #home-order-list .order-card-amount strong{font-size:24px}
body[data-page="home"] #home-order-list .order-card dl{margin:8px 0;gap:6px}
body[data-page="home"] #home-order-list .order-card-foot{margin-top:8px;padding-top:10px;gap:10px}
body[data-page="home"] #home-order-list .order-hint{font-size:11px;line-height:1.5}
.order-sound-toggle{min-height:30px;padding:5px 8px;border:1px solid #e0e9e3;border-radius:7px;background:#f5faf7;color:#438169;font-size:11px;white-space:nowrap;cursor:pointer}
.order-sound-toggle[aria-pressed="false"]{color:#8a978f;background:#f7f8f7}
.order-sound-toggle:disabled{color:#9ba79f;background:#f7f8f7;cursor:default}
body[data-page="support"] .has-order-card .wechat-message-content{width:254px;max-width:calc(100vw - 94px);padding:0!important;overflow:hidden;background:#fff!important;border-radius:11px!important}
body[data-page="support"] .has-order-card .support-message-body[hidden]{display:none!important}
body[data-page="support"] .has-order-card .chat-order-link{display:grid;gap:9px;margin:0;padding:15px;border:0;color:#395d4b;text-decoration:none}
.chat-order-link-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600}
.chat-order-link-title strong{color:#17805e;font-size:16px}
.chat-order-link-summary{color:#98a69c;font-size:12px;line-height:1.4}
.chat-order-link-action{margin-top:2px;padding-top:10px;border-top:1px solid #edf1ee;color:#557e67;font-size:12px}
@media(max-width:480px){.agent-header-actions{gap:6px}.order-sound-toggle{max-width:102px;overflow:hidden;text-overflow:ellipsis}body[data-page="messages"] .agent-main{padding-top:8px}}
body[data-page="messages"] #notification-list.conversation-list{grid-template-columns:minmax(0,1fr)!important}
#message-order-sound-toggle{display:none}
@media(max-width:760px){body[data-page="messages"] .agent-header{display:none!important}body[data-page="messages"] #message-order-sound-toggle{display:inline-block}body[data-page="messages"] .page-heading{gap:8px}body[data-page="messages"] .page-heading>div{flex:1}}
@media(min-width:761px){#home-order-sound-toggle{display:none}}

/* Compact, consistent modal controls and confirmed transfer receipt. */
.wallet-dialog-close{display:grid!important;place-items:center;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border:0!important;border-radius:9px!important;background:#f1f5f3!important;color:#58756c!important;font:24px/1 Arial,sans-serif!important;box-shadow:none!important;cursor:pointer}
.wallet-dialog-close:hover{background:#e3eeea!important;color:#126e58!important}.wallet-dialog-close:focus-visible{outline:2px solid #11836b;outline-offset:3px}
.transfer-result-dialog{text-align:center;max-width:420px}.transfer-result-mark{display:grid;place-items:center;width:56px;height:56px;margin:4px auto 18px;border-radius:50%;background:#e5f5ed;color:#087d61;font-size:30px}.transfer-result-dialog h2{margin:0 0 8px}.transfer-result-dialog>p{color:#71847c;font-size:14px}.transfer-result-dialog .wallet-meta{text-align:left;margin:24px 0}.transfer-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.transfer-result-actions .button{margin:0!important}
/* Order workspace and account surfaces. */
body[data-page="messages"],body[data-page="orders"]{background:#fff!important}
body[data-page="messages"] .agent-main,body[data-page="messages"] .agent-shell{background:#fff!important;min-height:calc(100dvh - var(--agent-bottom-nav-height,72px))}
body[data-page="messages"] .app-page[data-page="messages"]:not([hidden]){min-height:calc(100dvh - var(--agent-bottom-nav-height,72px) - 16px)!important}
body[data-page="messages"] .page-heading{background:#fff!important}
body[data-page="wallet"] .wallet-reconciliation-details,body[data-page="wallet"] .wallet-account-details,body[data-page="wallet"] #live-wallet-source-badge{display:none!important}
body[data-page="wallet"] .live-wallet-balance{border:0!important;background:#fff!important;border-radius:16px!important;padding:22px 18px!important}
body[data-page="wallet"] .live-wallet-balance-grid{gap:24px!important}
body[data-page="wallet"] .live-wallet-balance-grid strong{font-size:28px!important;letter-spacing:-.6px}
.order-list{grid-template-columns:minmax(0,1fr)!important;gap:0!important;background:#fff;border-radius:12px;overflow:hidden}
.order-list .order-card.order-card--compact{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:10px!important;min-height:98px!important;height:auto!important;margin:0!important;padding:28px 14px 14px!important;border:0!important;border-bottom:1px solid #edf0ed!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.order-card--compact .order-card-head{display:grid!important;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;min-width:0}
.order-player-avatar{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:50%;background:#edf4ef;color:#54816c;font-size:18px;font-weight:600}
.order-player-avatar img{width:100%;height:100%;object-fit:cover}
.order-card--compact .order-card-head>div{display:grid;gap:3px;min-width:0}
.order-card--compact .order-player{font-size:13px!important;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-card--compact .order-kind{font-size:10px!important;color:#83948a!important}
.order-card--compact .order-card-time{font-size:10px!important;line-height:1.4;color:#98a59d;white-space:nowrap}
.order-card--compact .order-status{position:absolute;top:0;left:0;padding:3px 10px!important;border:0!important;border-radius:0 0 7px 0!important;font-size:10px!important;font-weight:500;background:#fff2cc!important;color:#98722b!important}
.order-card--compact[data-order-state="completed"] .order-status{background:#e5f4e9!important;color:#288349!important}
.order-card--compact[data-order-state="cancelled"] .order-status{background:#eff1ef!important;color:#88918b!important}
.order-card--compact[data-order-state="disputed"] .order-status{background:#fce9e5!important;color:#ba6358!important}
.order-card--compact .order-card-amount{display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px!important;max-width:125px;margin:0!important;padding:0!important;text-align:right}
.order-card--compact .order-cny{order:-1;flex-basis:100%;font-size:18px!important;font-weight:650!important;color:#244b3b!important;white-space:nowrap}
.order-card--compact .order-gold{font-size:11px!important;font-weight:400!important;color:#99a59e!important}
.order-card--compact .order-card-amount>span{font-size:10px!important;color:#99a59e!important}
.order-card--compact>dl,.order-card--compact .order-hint{display:none!important}
.order-card--compact .order-card-foot{display:contents!important}
.order-card--compact .order-link{position:absolute;inset:0;z-index:1;display:block!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:0!important;color:transparent!important;transform:none!important}
.order-card--compact .order-link:focus-visible{outline:2px solid #13856b;outline-offset:-2px}
body[data-page="orders"] .direction-switch{display:flex;padding:0!important;gap:28px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;border-bottom:1px solid #edf0ed!important}
body[data-page="orders"] .direction-switch button{flex:0 0 auto!important;min-width:52px;padding:12px 2px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#89978f;font-size:16px}
body[data-page="orders"] .direction-switch button.active{color:#178567!important;border-bottom-color:#178567!important;font-weight:600}
body[data-page="orders"] .filter-chips{gap:18px!important;padding:14px 0 4px!important;overflow-x:auto;flex-wrap:nowrap}
body[data-page="orders"] .filter-chips button{flex-shrink:0;padding:6px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#929d96;font-size:12px}
body[data-page="orders"] .filter-chips button.active{color:#198164!important;font-weight:600}
body[data-page="orders"] .search-form{margin:12px 0!important;gap:8px}
body[data-page="orders"] .search-form input{min-height:38px!important;background:#f5f7f5!important;border:0!important;border-radius:8px!important;font-size:12px}
body[data-page="orders"] .list-summary{font-size:11px;color:#9aa79e}
body[data-page="order-detail"] #detail-title{font-size:13px!important;overflow-wrap:anywhere;color:#84978a;font-weight:400!important}
body[data-page="order-detail"] .page-heading>#detail-status{display:none}
body[data-page="order-detail"] .order-amount-panel{padding:26px 20px!important;text-align:left!important;border:0!important;border-radius:15px!important;background:#fff4d6!important;color:#8e742d!important;box-shadow:none!important}
body[data-page="order-detail"] #detail-content[data-order-state="completed"] .order-amount-panel{background:#e7f4eb!important;color:#27814b!important}
body[data-page="order-detail"] #detail-content[data-order-state="cancelled"] .order-amount-panel{background:#edf0ed!important;color:#7c8b80!important}
#detail-hero-direction{font-size:11px;opacity:.8}#detail-hero-status{margin:10px 0 18px;font-size:22px;font-weight:600}
.detail-primary-amount{display:flex;align-items:baseline;gap:6px;font-size:18px}.detail-primary-amount #detail-cny{font-size:38px!important;line-height:1.15;font-weight:650;letter-spacing:-1px}
body[data-page="order-detail"] .order-amount-panel p{margin:10px 0 0;font-size:12px;opacity:.8}body[data-page="order-detail"] #detail-gold{display:inline!important;font-size:13px!important;font-weight:500}
body[data-page="order-detail"] .detail-list>div{padding:13px 0;border-bottom:1px solid #f0f2f0;gap:18px}
body[data-page="order-detail"] .detail-list dt{font-size:12px;color:#91a094}body[data-page="order-detail"] .detail-list dd{font-size:12px;color:#395443;overflow-wrap:anywhere}
.order-record-details>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:13px;color:#6e8676}.order-record-details>summary:after{content:'⌄';color:#9caba1}.order-record-details[open]>summary{margin-bottom:18px}.order-record-details>summary span{margin-left:auto;font-size:11px;color:#a0afa5}
body[data-page="order-detail"] #detail-actions{gap:10px!important;margin-top:22px}body[data-page="order-detail"] #detail-actions .button{border-radius:9px!important;font-size:13px!important;min-height:44px!important}
@media(max-width:760px){body[data-page="orders"] .agent-header,body[data-page="order-detail"] .agent-header{display:none!important}body[data-page="orders"] .agent-main{padding-top:10px!important}body[data-page="orders"] .page-heading{margin-bottom:12px!important}body[data-page="orders"] .page-heading h1{font-size:21px!important}}
@media(max-width:1023px){body[data-page="home"] .workbench-account{height:94px!important;box-sizing:border-box;grid-template-rows:22px 24px!important;transform:none!important;transition:none!important;overflow:visible}body[data-page="home"] .workbench-account .switch{transform:none!important;transition:none!important;outline-offset:2px}body[data-page="home"] .workbench-account .home-bank-feedback{position:absolute!important;bottom:3px;left:10px;right:10px;max-height:16px;margin:0!important;font-size:10px;line-height:14px;overflow:hidden}body[data-page="home"] .workbench-account .trade-dock-icon{transition:background-color .15s,color .15s}}
/* A transformed page-in animation would turn the fixed account dock into a page-relative element. */
body[data-page="home"] .app-page[data-page="home"]{animation:none!important;transform:none!important}
.order-card--compact .order-card-head>div{display:grid!important}.order-card--compact .order-kind{display:none!important}.order-card--compact .order-cny:before{content:none!important}
body[data-page="orders"] .filter-chips{display:flex!important;justify-content:flex-start!important;width:100%!important;box-sizing:border-box;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important}
.order-card--compact .order-card-amount .order-gold,.order-card--compact .order-card-amount>span{display:inline!important}
.order-detail-back{flex-shrink:0;color:#3c6652;font-size:13px;text-decoration:none}body[data-page="order-detail"] .page-heading>div{margin-left:auto}.order-record-details>summary span{display:none}
/* Compact corner state and a persistent mobile action bar. */
.order-list .order-card.order-card--compact{min-height:82px!important;padding-top:20px!important;padding-bottom:11px!important}.order-card--compact .order-status{padding:2px 8px!important;font-size:9px!important;line-height:1.3}
.order-detail-back{font-size:17px;font-weight:600;color:#233e31}body[data-page="order-detail"] .page-heading{min-height:36px;margin-bottom:16px!important}body[data-page="order-detail"] .page-heading>div{display:none}
.detail-evidence:empty{display:none}.detail-evidence{display:grid;gap:10px;padding:16px;background:#fff;border:1px solid #ecf0ed;border-radius:12px;font-size:12px;color:#7c9183}.detail-evidence p{margin:0}.detail-evidence input{max-width:100%;font-size:12px}
.conversation-row[data-conversation-kind="payment"] .conversation-avatar{background:#e6f4ed;color:#078364;border-radius:14px;font:600 30px/1 sans-serif}.conversation-row[data-conversation-kind="payment"] .conversation-row-title strong{font-size:17px}
@media(max-width:760px){body[data-page="order-detail"] .bottom-nav{display:none!important}body[data-page="order-detail"] .app-page[data-page="order-detail"]{padding-bottom:calc(var(--order-actions-height,100px) + 24px)!important;animation:none!important;transform:none!important}body[data-page="order-detail"] #detail-actions{position:fixed;z-index:65;bottom:0;left:0;right:0;display:flex!important;flex-wrap:wrap;gap:8px!important;margin:0!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e8ede9;box-shadow:0 -4px 20px #1f503508}body[data-page="order-detail"] #detail-actions .button{flex:1;min-width:0;padding:10px!important;font-size:12px!important;white-space:nowrap}body[data-page="order-detail"] #detail-actions .button-primary{flex:1.5}}

.payment-reminder-filters{margin:0 0 16px;border-bottom:1px solid #edf1ef;padding:0 0 12px}.payment-reminder-filters>summary{cursor:pointer;color:#087c68;font-size:14px;padding:10px 0}.payment-reminder-filters[open] .account-activity-toolbar{margin-top:12px}
.order-process{margin:22px 0 8px}.order-process ol{display:flex;list-style:none;padding:0;margin:0;gap:0}.order-process li{position:relative;flex:1;min-width:0;text-align:center}.order-process li:not(:last-child):after{content:'';position:absolute;top:16px;left:calc(50% + 20px);width:calc(100% - 40px);height:1px;background:#dce5e0}.order-process li>span{display:grid;place-items:center;width:32px;height:32px;margin:0 auto 10px;border-radius:50%;background:#edf1ef;color:#91a098;font-size:14px}.order-process li>small{display:block;font-size:11px;line-height:1.4;color:#84978c;padding:0 2px}.order-process .is-done>span{background:#168878;color:white}.order-process .is-current>span{background:#fff1c9;border:2px solid #d7a630;color:#856100}.order-process .is-current>small{font-weight:700;color:#846400}.order-process-notice{font-size:13px;padding:10px;background:#fff3e4;border-radius:8px;color:#a46522}
