/* H5 staff workspaces. Native templates and phone interaction remain shared. */
.work-sidebar,.work-topbar,.work-session-rail,.work-compact-toolbar{display:none}
.work-shell,.work-main,.work-content{min-width:0}
.work-layout-choice{display:flex;align-items:center;gap:7px;color:#9b84ac;font-size:12px}
.work-layout-choice svg{width:17px;height:17px}
.work-layout-choice select{border:1px solid #e7ddef!important;background:white;border-radius:9px;padding:7px 10px;color:#8e719f;font:inherit;min-height:34px;width:auto;cursor:pointer}
.work-layout-choice select:focus-visible{outline:2px solid #ad8bcb;outline-offset:2px}
@media(min-width:1024px){html[data-role-layout="mobile"] .work-compact-toolbar{display:flex;justify-content:flex-end;padding:8px 15px;border-bottom:1px solid #eee6f5;background:#fff}html[data-role-layout="mobile"] .work-shell[data-work-role="user"] .work-compact-toolbar{display:none}html[data-role-layout="mobile"] .work-compact-toolbar+.work-content .h5-role-surface{height:calc(var(--app-height) - 51px)!important}}
html[data-role-layout="desktop"]{--app-width:100vw;--rpx:.5px;--gutter:0px;background:#f6f4fa}
html[data-role-layout="desktop"] body{width:100%;max-width:2240px;box-shadow:none;overflow:hidden;background:#f6f4fa;font-size:15px}
html[data-role-layout="desktop"] #app{height:var(--app-height);min-height:0}
html[data-role-layout="desktop"] .work-shell{display:flex;height:var(--app-height);overflow:hidden;background:#f7f5fb;color:#5f496d}
html[data-role-layout="desktop"] .work-sidebar{width:220px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid #eae3f1;background:linear-gradient(175deg,#fff,#f7f2fc);height:100%;padding:25px 16px 16px;overflow:hidden}
.work-brand{display:flex;align-items:center;gap:11px;text-decoration:none;margin:0 1px 22px;min-width:0}.work-brand img{width:49px;height:49px;flex-shrink:0;object-fit:contain}.work-brand div{min-width:0}.work-brand b{font-size:18px;font-weight:750;display:block;color:#805b99;overflow-wrap:anywhere;line-height:1.5}.work-brand small{display:block;color:#ad98ba;font-size:10px;margin-top:3px;letter-spacing:.8px}.work-space-label{padding:12px 8px;background:#f0e8f8;border:1px solid #e9def3;border-radius:10px;font-size:10px;color:#a28bb2;display:flex;align-items:center;gap:6px;margin-bottom:22px;line-height:1.6}.work-space-label>i{width:5px;height:5px;background:#8ac5ac;border-radius:50%;flex-shrink:0}
.work-sidebar nav{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#e7dceb transparent}.work-sidebar nav>a{display:flex;align-items:center;gap:12px;padding:12px 15px;margin-bottom:4px;border-radius:10px;font-size:13px;color:#9a83a9;line-height:1.6;transition:background .15s}.work-sidebar nav>a svg{width:19px;height:19px;flex-shrink:0}.work-sidebar nav>a:hover{background:#f4edf9;color:#88639e}.work-sidebar nav>a.selected{background:linear-gradient(110deg,#ece0f8,#f9ecf7);box-shadow:inset 3px 0 #b292cf;color:#8a60a6;font-weight:650}.work-sidebar-foot{border-top:1px solid #eee5f4;padding:20px 10px 4px;margin-top:15px}.work-sidebar-foot>a{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9d84b1}.work-sidebar-foot svg{width:16px;height:16px}.work-sidebar-foot>small{display:block;font-size:10px;color:#b6a5c0;margin-top:13px}
html[data-role-layout="desktop"] .work-main{flex:1;display:flex;flex-direction:column;min-height:0;height:100%}
html[data-role-layout="desktop"] .work-topbar{height:75px;flex-shrink:0;background:#ffffffd9;border-bottom:1px solid #eee7f4;padding:0 30px;display:flex;align-items:center;gap:22px}.work-topbar>div{display:flex;align-items:center;gap:18px;flex:1;min-width:0}.work-topbar>div>span{color:#b29dbd;font-size:12px}.work-topbar b{font-size:15px;color:#71527f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-profile{font-size:12px;color:#ab95b6;padding-left:20px;border-left:1px solid #eee5f3;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-role-layout="desktop"] .work-content{flex:1;min-height:0;padding:27px 30px;overflow:hidden;display:flex;gap:0}
html[data-role-layout="desktop"] .h5-role-surface{flex:1;height:100%!important;min-width:0;border-radius:18px;border:1px solid #eee5f5;background:#faf8fc;box-shadow:0 3px 18px #9676ac05;overflow:hidden}
html[data-role-layout="desktop"] .h5-role-surface>.h5-header{display:none!important}
html[data-role-layout="desktop"] .h5-role-body{height:100%;min-height:0;min-width:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .role-page{background:#faf8fc;height:100%}
html[data-role-layout="desktop"] #app[data-view-style="role"] .page-inner{padding:0 25px 25px;max-width:1600px;margin:0 auto;width:100%}
html[data-role-layout="desktop"] #app[data-view-style="role"] .role-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e0d2eb transparent;scroll-padding-top:20px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .role-nav{display:none!important}
html[data-role-layout="desktop"] #app[data-view-style="role"] .brand-line{padding:23px 0 18px;font-size:15px;flex-wrap:nowrap;gap:10px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .brand-line .system-brand-logo{width:34px;height:34px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .brand-line .brand-role{font-size:11px;color:#b19bbb}
html[data-role-layout="desktop"] #app[data-view-style="role"] .brand-line .refresh-button{margin-left:auto;min-height:32px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .hero-title{font-size:23px;color:#765685}
html[data-role-layout="desktop"] #app[data-view-style="role"] .hero{padding:12px 0 18px;margin:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .card{border:1px solid #eae1f1;background:#fff;border-radius:14px;box-shadow:none;margin:0 0 15px;padding:20px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .primary{background:linear-gradient(110deg,#a27cc6,#b392cc);box-shadow:none;border-radius:9px;color:white}
html[data-role-layout="desktop"] #app[data-view-style="role"] .outline{border-color:#e1d3ec;background:#fff;color:#9e7eb3;border-radius:9px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .muted{color:#a491b0;font-size:13px;line-height:1.9;overflow-wrap:anywhere}
html[data-role-layout="desktop"] #app[data-view-style="role"] .search-box{background:#fff;max-width:620px;border:1px solid #e6dcef;border-radius:10px;height:44px;margin:8px 0 15px;padding:0 14px;display:flex;align-items:center}
html[data-role-layout="desktop"] #app[data-view-style="role"] .search-box input{height:42px;font-size:14px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .filter-scroll{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;white-space:nowrap;margin:10px 0 18px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .filters{gap:8px;padding:0 0 7px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .filter{font-size:12px;padding:9px 14px;border-radius:9px;background:#f2edf8;color:#ab93ba}
html[data-role-layout="desktop"] #app[data-view-style="role"] .filter.selected{color:#9163b0;background:#eadef5}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-title{font-size:16px;color:#795d88;line-height:1.7;overflow-wrap:anywhere}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-desc{font-size:12px;line-height:1.9;color:#b09cbb;white-space:normal;overflow-wrap:anywhere}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-no{font-size:12px;color:#ab95b9;overflow-wrap:anywhere}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-body{gap:15px;min-width:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-body>.grow{min-width:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-body .amount{font-size:20px;font-variant-numeric:tabular-nums;color:#a37cba;flex-shrink:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-card .cover{width:58px;height:58px;border-radius:12px;flex-shrink:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .status{font-size:11px;background:#f3eafa;color:#aa84be;padding:5px 10px;border-radius:7px;flex-shrink:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-actions{margin-top:14px;padding-top:14px;border-top:1px solid #f3edf7;gap:10px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .record-actions button{min-height:34px;font-size:12px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .empty{padding:55px 15px;font-size:15px;color:#ad98ba}
html[data-role-layout="desktop"] #app[data-view-style="role"] .empty img{height:80px;width:80px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .list-heading{margin-bottom:17px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .load-more{padding:20px;font-size:12px;color:#af99be}
html[data-role-layout="desktop"] #app[data-view-style="role"] .bottom-space{height:15px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .profile-card,html[data-role-layout="desktop"] #app[data-view-style="role"] .skin-bear .profile-card{background:linear-gradient(115deg,#f0e7fb,#fff5fa)!important;color:#8e6b9e;box-shadow:none!important;border:1px solid #e8dcf1}
html[data-role-layout="desktop"] #app[data-view-style="role"] .profile-card .profile-name{color:#856194;font-size:20px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .profile-card .muted{color:#a68cb7}
html[data-role-layout="desktop"] #app[data-view-style="role"] .profile-card .identity{color:#a083b2;border-color:#e9dbf0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .metrics{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:25px;padding:27px 20px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .metric-number{font-size:28px;color:#976fb1;font-variant-numeric:tabular-nums}
html[data-role-layout="desktop"] #app[data-view-style="role"] .section-title{font-size:16px;color:#896699}
html[data-role-layout="desktop"] #app[data-view-style="role"] .link{color:#a078b8;font-size:12px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .menu-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .menu-card>.section-title{grid-column:1/-1;margin-bottom:12px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .menu-row{padding:18px 4px;font-size:13px;min-width:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .menu-row .menu-icon{width:30px;height:30px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .menu-row>.grow{min-width:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .field-input,html[data-role-layout="desktop"] #app[data-view-style="role"] .textarea{font-size:14px;border:1px solid #e7dbef;border-radius:9px;background:#fdfbff;padding:12px;min-height:44px;width:100%}
html[data-role-layout="desktop"] #app[data-view-style="role"] .field-label{font-size:13px;color:#987ba9;margin-bottom:9px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .form-field{margin-bottom:21px}
html[data-role-layout="desktop"] .work-content[data-work-kind="form"] .page-inner{max-width:1000px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .submit-button{max-width:280px;min-height:44px;margin:25px 0 0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .modal-mask,html[data-role-layout="desktop"] #app[data-view-style="workspace"] .mask{display:flex;align-items:center;justify-content:center;padding:30px;inset:0;position:fixed;z-index:100}
html[data-role-layout="desktop"] #app[data-view-style="role"] .modal,html[data-role-layout="desktop"] #app[data-view-style="workspace"] .dialog{width:min(640px,100%);max-width:640px;max-height:85dvh;border-radius:20px;padding:28px;box-shadow:0 24px 80px #72538f26}
html[data-role-layout="desktop"] #app[data-view-style="role"] .modal-body,html[data-role-layout="desktop"] #app[data-view-style="workspace"] .dialog-content{max-height:58dvh;overflow:auto;scrollbar-width:thin}
html[data-role-layout="desktop"] #app[data-view-style="role"] .chat-page{background:#fcfaff}
html[data-role-layout="desktop"] .work-content.is-chat{padding:25px 30px 30px}
html[data-role-layout="desktop"] .work-session-rail{display:flex;flex-direction:column;min-width:240px;width:290px;background:#fff;border:1px solid #eee4f4;border-right:0;border-radius:17px 0 0 17px;min-height:0;overflow:hidden}
.work-session-rail>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:22px 18px;border-bottom:1px solid #f1eaf6}.work-session-rail>header b{font-size:15px;color:#92709f;display:block}.work-session-rail>header small{font-size:10px;color:#baa6c6;display:block;margin-top:6px}.work-session-rail>header button{display:grid;place-items:center;background:#faf5ff;border:0;min-height:30px;width:30px;border-radius:8px;padding:0;margin:0;color:#b093c3;line-height:1;cursor:pointer}.work-session-rail svg{width:16px;height:16px}.work-session-list{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;padding:10px}.work-session-list>a{display:flex;gap:10px;align-items:center;min-width:0;border-radius:10px;padding:15px 10px;margin:4px 0;color:#a48aaf}.work-session-list>a:hover{background:#fcf8ff}.work-session-list>a.selected{background:#f1e9f9}.work-peer-avatar{width:38px;height:38px;flex-shrink:0;border-radius:12px;background:linear-gradient(145deg,#eee4fa,#fbe9f3);display:grid;place-items:center;color:#aa89bb;font-size:15px}.work-session-list>a>div{flex:1;min-width:0}.work-session-list b{font-size:12px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-session-list small{font-size:10px;color:#bba5c6;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}.work-session-list i{background:#d9b4d7;color:white;padding:3px 5px;border-radius:20px;min-width:18px;text-align:center;font-size:9px;font-style:normal}.work-sessions-state{font-size:12px;color:#b6a2c0;line-height:1.9;padding:25px 10px;text-align:center}.work-all-sessions{font-size:11px;color:#ae91bc;padding:17px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0e9f5}
html[data-role-layout="desktop"] .work-content.is-chat .h5-role-surface{border-radius:0 17px 17px 0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .chat-state{min-height:56px;padding:15px 25px;background:#fff;border-bottom:1px solid #f2e9f7;font-size:11px;flex-wrap:wrap;gap:10px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .chat-scroll{padding:25px 30px;overflow:auto;scrollbar-width:thin}
html[data-role-layout="desktop"] #app[data-view-style="role"] .message-meta{font-size:11px;color:#b6a1c2;margin-bottom:7px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .text-bubble{font-size:14px;line-height:1.85;padding:12px 17px;border-radius:13px;overflow-wrap:anywhere;white-space:pre-wrap;background:#fff;color:#897294;border:1px solid #eee4f5}
html[data-role-layout="desktop"] #app[data-view-style="role"] .outgoing .text-bubble{background:#eee2f8;color:#966eae;border-color:#e9d8f3}
html[data-role-layout="desktop"] #app[data-view-style="role"] .message-main{max-width:min(78%,720px);min-width:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .message-avatar{height:36px;width:36px;border-radius:12px;flex-shrink:0}
html[data-role-layout="desktop"] #app[data-view-style="role"] .chat-extra-toolbar{justify-content:flex-start;gap:25px;padding:14px 25px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .composer{padding:15px 25px 22px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .message-input{height:46px;font-size:14px;border:1px solid #ede3f4;border-radius:10px;background:#fdfaff;padding:0 14px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .composer-row button{min-height:44px;min-width:80px;font-size:13px;line-height:1.5}
html[data-role-layout="desktop"] #app[data-view-style="role"] .quick-panel{max-height:210px;padding:17px 25px;scrollbar-width:thin}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .workspace{min-height:0;height:100%;width:100%;background:#fcfaff}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .order-head{padding:20px 30px;max-height:40dvh;overflow:auto;scrollbar-width:thin}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .order-overview{max-width:100%;gap:18px}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .messages{padding:25px 30px;scrollbar-width:thin}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .bubble{font-size:14px;line-height:1.8;max-width:650px;overflow-wrap:anywhere}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .composer{padding:15px 25px;background:#fff;min-height:76px}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .composer input{font-size:14px;height:44px}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .actions{flex-wrap:wrap;gap:10px}
html[data-role-layout="desktop"] #app[data-view-style="workspace"] .actions button{min-height:36px;font-size:12px}
html[data-role-layout="desktop"] .work-shell.is-login .work-content{align-items:center;justify-content:center;padding:30px}
html[data-role-layout="desktop"] .work-shell.is-login .h5-role-surface{flex:0 1 580px;height:min(800px,100%)!important}
html[data-role-layout="desktop"] #app[data-view-style="role"] .login-card{padding:27px;max-width:460px;margin:20px auto}
html[data-role-layout="desktop"] #app[data-view-style="role"] .login-card .login-input{height:46px;font-size:14px}
html[data-role-layout="desktop"] #app[data-view-style="role"] .login-card .primary{margin:15px 0 0;min-height:44px;line-height:1.5}
@media(min-width:1280px){html[data-role-layout="desktop"] .work-content[data-work-kind="list"][data-work-entity="order"] .record-card{display:grid;grid-template-columns:200px minmax(0,1fr);gap:0 22px;align-items:center;padding:20px 23px}html[data-role-layout="desktop"] .work-content[data-work-kind="list"][data-work-entity="order"] .record-head{display:flex;flex-direction:column;align-items:flex-start;gap:11px;margin:0;padding:0}html[data-role-layout="desktop"] .work-content[data-work-kind="list"][data-work-entity="order"] .record-actions{grid-column:2}html[data-role-layout="desktop"] .work-content[data-work-kind="dashboard"] .page-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}html[data-role-layout="desktop"] .work-content[data-work-kind="dashboard"] .page-inner>*{grid-column:1/-1}html[data-role-layout="desktop"] .work-content[data-work-kind="dashboard"] .page-inner>.game-scope,html[data-role-layout="desktop"] .work-content[data-work-kind="dashboard"] .page-inner>.profile-card{grid-column:auto}}
@media(max-width:1279px){html[data-role-layout="desktop"] .work-sidebar{width:190px;padding:22px 12px}.work-brand b{font-size:16px}.work-brand img{width:42px;height:42px}.work-space-label{font-size:9px}.work-sidebar nav>a{font-size:12px;padding:11px 12px}.work-profile{display:none}html[data-role-layout="desktop"] .work-content{padding:20px}html[data-role-layout="desktop"] .work-content.is-chat{padding:20px}html[data-role-layout="desktop"] .work-session-rail{width:235px;min-width:210px}html[data-role-layout="desktop"] .work-topbar{padding:0 22px;height:67px}.work-topbar>div>span{display:none}html[data-role-layout="desktop"] #app[data-view-style="role"] .menu-card{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-role-layout="desktop"] #app[data-view-style="role"] .chat-scroll{padding:20px}html[data-role-layout="desktop"] #app[data-view-style="role"] .composer{padding:15px 18px}}
@media(min-width:1800px){html[data-role-layout="desktop"] .work-sidebar{width:240px}html[data-role-layout="desktop"] .work-session-rail{width:320px}.work-sidebar nav>a{font-size:14px;padding:14px 17px}html[data-role-layout="desktop"] .work-content{padding:35px 45px}html[data-role-layout="desktop"] .work-topbar{padding:0 45px;height:83px}html[data-role-layout="desktop"] #app[data-view-style="role"] .page-inner{padding-inline:35px}}
@media(max-height:700px) and (min-width:1024px){html[data-role-layout="desktop"] .work-topbar{height:59px}html[data-role-layout="desktop"] .work-content{padding:15px 20px}.work-sidebar nav>a{padding-top:9px;padding-bottom:9px}.work-brand{margin-bottom:15px}.work-space-label{margin-bottom:12px}html[data-role-layout="desktop"] #app[data-view-style="role"] .brand-line{padding-top:15px}.work-sidebar-foot{padding-top:12px;margin-top:8px}}
@media(prefers-reduced-motion:reduce){.work-shell *{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:1280px){html[data-role-layout="desktop"] .work-content[data-work-kind="dashboard"] .page-inner>.game-scope,html[data-role-layout="desktop"] .work-content[data-work-kind="dashboard"] .page-inner>.profile-card{grid-column:1/-1}}
@media(max-width:850px){#app[data-view-style="role"] .login-input,#app[data-view-style="role"] .message-input,#app[data-view-style="workspace"] .composer input{font-size:16px!important}}
