/* Native page navigation, with the dimensions and components of R1. */
:root{--ws-sidebar-width:225px;--ws-ink:#17243b;--ws-muted:#69778d;--ws-purple:#4c55d8;--ws-border:#e4e9f1;--ws-bg:#f5f7fb}
.yj-shell-ui{font:14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ws-ink)}
.yj-shell-ui,.yj-shell-ui *{box-sizing:border-box}.yj-shell-ui a:hover{text-decoration:none}
.ws-mobile-top{position:fixed;z-index:120;top:0;left:0;right:0;height:74px;background:#fff;border-bottom:1px solid var(--ws-border);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px}
.ws-brand{display:flex;gap:11px;align-items:center;color:var(--ws-ink);text-decoration:none;flex-shrink:0}
.ws-logo{width:37px;height:37px;border-radius:11px;background:transparent;color:var(--ws-purple);display:grid;place-items:center}
.ws-brand img{width:37px;height:37px;object-fit:contain;border-radius:11px}.ws-brand strong{display:block;font-size:18px;font-weight:650;letter-spacing:.2px}.ws-brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:-3px;color:var(--ws-muted)}
.ws-roles{display:flex;background:#f1f3f8;padding:4px;border-radius:10px;gap:3px}.ws-roles a{color:var(--ws-muted);padding:7px 19px;border-radius:7px;font-size:13px;white-space:nowrap;text-decoration:none}.ws-roles a[aria-current=page]{background:#fff;color:var(--ws-purple);box-shadow:0 2px 7px #2436540a;font-weight:650}
.ws-top-account{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--ws-ink);text-decoration:none}.ws-top-account small{display:block;font-size:11px;color:var(--ws-muted)}.ws-avatar{width:31px;height:31px;border-radius:50%;background:#eef0ff;color:var(--ws-purple);display:grid;place-items:center;font-weight:700;flex-shrink:0}
.ws-mobile-account{display:none}.ws-menu,.ws-close{display:none;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--ws-border);border-radius:10px;background:#fff;color:var(--ws-muted);padding:0;flex-shrink:0}.ws-menu svg,.ws-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.ws-sidebar{position:fixed;inset:74px auto 0 max(0px,calc((100vw - 1680px)/2));width:var(--ws-sidebar-width);z-index:115;background:#fff;border-right:1px solid var(--ws-border);display:flex;flex-direction:column;padding:26px 16px 18px;overflow:hidden}
.ws-sidebar-header{display:none}.ws-nav-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.ws-nav,.ws-context{display:block}.ws-nav a,.ws-context a{display:flex;align-items:center;gap:11px;border-radius:9px;padding:11px 13px;margin:3px 0;color:#647087;font-size:13px;line-height:1.6;text-decoration:none;min-width:0;overflow-wrap:anywhere}.ws-nav a:hover,.ws-context a:hover{background:#f6f7fb}.ws-nav a[aria-current],.ws-context a[aria-current]{background:#eef0ff;color:var(--ws-purple);font-weight:650}.ws-nav svg,.ws-context svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ws-nav-group,.ws-section-label{font-size:11px;font-weight:400;color:#8a95a8;letter-spacing:1px;padding:15px 14px 7px;margin:0}.ws-context:empty{display:none}
.ws-sidebar-footer{flex:0 0 auto;margin-top:16px;padding:16px 14px 0;border-top:1px solid var(--ws-border);color:var(--ws-muted);font-size:11px}.ws-sidebar-footer>a{display:block;margin-top:5px}.ws-sidebar-footer .ws-account{display:flex;gap:9px;align-items:center;color:var(--ws-ink);text-decoration:none}.ws-account-copy{min-width:0}.ws-account-copy strong{display:block;font-size:12px;font-weight:650;overflow-wrap:anywhere}.ws-account-copy small{display:block;font-size:10px;color:var(--ws-muted)}body:not([data-workspace=agent]):not([data-workspace=account]) .ws-sidebar-footer .ws-account{display:none}.ws-logout{display:flex;align-items:center;gap:7px;border:0;background:none;color:var(--ws-purple);font:inherit;min-height:34px;padding:7px 0;cursor:pointer}.ws-logout svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ws-inline-status{font-size:11px;color:#bb4d56;line-height:1.7;margin:5px 0}.ws-inline-status:empty{display:none}
.ws-backdrop,.ws-personal-bottom{display:none}
html.yjui body[data-workspace]{margin:0;padding-top:74px;background:var(--ws-bg);color:var(--ws-ink)}
html.yjui body[data-workspace]>.workspace-main{margin-left:max(var(--ws-sidebar-width),calc((100vw - 1680px)/2 + var(--ws-sidebar-width)));margin-right:auto;width:calc(min(100%,1680px) - var(--ws-sidebar-width));max-width:none;min-height:calc(100dvh - 74px);padding:30px 38px 38px}
html.yjui body[data-workspace]>.top,html.yjui body[data-workspace]>.bottom-nav{display:none}
.yj-shell-ui [hidden]{display:none}.yj-shell-ui :focus-visible{outline:3px solid #858de9;outline-offset:3px}
body[data-workspace=agent] .workspace-main :is(#appSearch,#codesQuery,#merchantSalesQuery){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b98af' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M21 21l-5.2-5.2M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:13px center;background-size:17px 17px;padding-left:39px;border-radius:8px;-webkit-appearance:none;appearance:none}
@media(min-width:1450px){html.yjui body[data-workspace]>.workspace-main{padding:34px 45px}}
@media(max-width:1150px){:root{--ws-sidebar-width:206px}html.yjui body[data-workspace]>.workspace-main{padding:27px 25px}}
@media(max-width:860px){
 html.yjui body[data-workspace]{padding-top:66px}html.yjui body[data-workspace]>.workspace-main{width:100%;margin:0;padding:25px;min-height:calc(100dvh - 66px)}
 .ws-mobile-top{height:66px;padding:0 20px;gap:12px}.ws-brand{margin-right:auto}.ws-brand strong{font-size:16px}.ws-brand small{font-size:9px}.ws-top-account{display:none}.ws-roles a{padding:7px 12px}
 .ws-menu,.ws-close{display:flex}.ws-sidebar{inset:0 auto 0 0;width:300px;max-width:90vw;height:100dvh;visibility:hidden;transform:translateX(-100%);z-index:140;padding:19px 15px 30px}.ws-sidebar[aria-hidden=false]{visibility:visible;transform:none}.ws-sidebar-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:10px;padding:0 5px 19px;border-bottom:1px solid var(--ws-border);margin-bottom:10px}body[data-workspace] .ws-sidebar-footer .ws-account{display:flex}.ws-backdrop:not([hidden]){display:block;position:fixed;inset:0;border:0;border-radius:0;background:#17243b66;backdrop-filter:blur(2px);z-index:130}
}
@media(max-width:600px){
 html.yjui{scroll-padding-top:78px;scroll-padding-bottom:calc(83px + env(safe-area-inset-bottom))}
 html.yjui body[data-workspace]{padding-top:62px}html.yjui body[data-workspace]>.workspace-main{padding:22px 17px calc(95px + env(safe-area-inset-bottom));min-height:calc(100dvh - 62px)}
 .ws-mobile-top{height:62px;gap:9px;padding:11px 15px}.ws-menu{width:34px;height:34px}.ws-brand{gap:10px;margin:0}.ws-brand strong{font-size:16px;white-space:nowrap}.ws-brand small{display:none}.ws-logo,.ws-brand img{width:31px;height:31px;border-radius:9px}.ws-roles{margin-left:auto;padding:3px;gap:0}.ws-roles a{font-size:11px;padding:7px 8px}
 .ws-personal-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--ws-border);padding:7px 8px calc(7px + env(safe-area-inset-bottom));height:calc(67px + env(safe-area-inset-bottom));z-index:116;align-items:center;justify-content:space-around}.ws-personal-bottom a{flex:1;display:flex;flex-direction:column;gap:3px;align-items:center;font-size:10px;color:#8490a5;padding:5px 4px;border-radius:9px;text-decoration:none}.ws-personal-bottom a[aria-current]{color:var(--ws-purple);background:#f1f2ff}.ws-personal-bottom svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
}
