/* Uploaded website design: shared geometry, colors and responsive navigation. */
:root{--rail-w:232px;--font-body:-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;--font-display:var(--font-body);--font-num:var(--font-body);--foreground:rgb(29 36 51);--ink-2:rgb(74 84 104);--ink-3:rgb(107 116 136);--ink-4:rgb(135 147 168);--border:rgb(230 233 240);--line-2:var(--border);--line-3:rgb(240 242 246);--surface-2:rgb(245 246 248);--sunk:rgb(240 242 246);--teal-deep:rgb(43 91 217);--teal-bg:rgb(234 240 254);--danger-bright:rgb(229 83 75);--t-base:14px;--t-sm:13px;--t-xs:12px;--t-md:16px;--t-lg:16px;--t-xl:20px;--t-num:28px}
#app .rail{padding:20px 14px;gap:16px}
#app .brand{height:32px;padding:0 8px;gap:10px}
#app .brand .wm{font-size:17px}
#app .brand .wm small{display:none}
#app .brand .mark,#app .brand .mark svg{width:24px;height:24px}
#app .workspace-switch{order:0;height:38px;padding:3px;gap:0;margin:0;border:0;border-radius:11px;background:var(--sunk)}
#app .workspace-switch button{font-size:13px;border-radius:9px;padding:0 4px}
#app .workspace-switch button[aria-pressed="true"]{background:var(--surface);box-shadow:0 1px 2px rgb(0 0 0/.06)}
#app #nav{display:flex;flex-direction:column;gap:4px}
#app .nav-item{height:42px;min-height:42px;border-radius:10px;gap:12px;font-size:14px;color:rgb(58 67 88)}
#app .nav-item.on{color:var(--teal-deep)}
#app .nav-item svg{width:18px;height:18px}
#app .team-org-caption{font-size:12px;padding:0 12px 4px;color:var(--ink-3)}
#app .rail-foot .me-line{background:var(--paper);border-radius:12px;gap:0;padding:2px}
#app .rail-foot .me-row{background:transparent;border:0;padding:10px;gap:10px}
#app .acct-icon-btn{background:transparent;border:0;width:26px}
#app .main{padding:28px 32px;display:flex;flex-direction:column;gap:18px;min-width:0}
#app .topbar{position:static;height:auto;min-height:54px;padding:0;background:transparent;border:0;gap:12px;align-items:flex-start;box-shadow:none}
.pw-topbar-heading{flex:1;min-width:0}
.pw-topbar-subline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
#prototypePageMeta:empty{display:none}
#prototypePageMeta{margin-top:6px;font-size:12px}
#prototypePageTitle{font-size:24px;line-height:1.25;letter-spacing:0;margin:0;font-weight:700}
#prototypePageSubtitle{font-size:13px;line-height:1.5;color:var(--ink-3);margin:6px 0 0}
#prototypePageSubtitle:empty{display:none}
#app .topbar #crumbs{display:none!important}
#app .topbar .rail-search{display:flex!important;flex:none;width:260px;height:40px;margin:0;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:14px;color:var(--ink-4);gap:8px}
#app .topbar .rail-search kbd{border:0;padding:0;background:transparent;font-size:11px}
#app .topbar .icon-btn{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--surface)}
#app .topbar .btn{height:40px;padding:0 18px;font-size:14px;border-radius:11px}
#app .topbar .btn-primary{box-shadow:0 4px 12px rgb(56 112 248/.25)}
#app .topbar #orgAdminBtn{display:none!important}
#app:not(.team-active) .topbar #inviteBtn{display:none!important}
#app:not(.team-active) .main[data-prototype-group="partners"] #inviteBtn{display:inline-flex!important}
#app:not(.team-active) .main[data-prototype-group="partners"] #railQuick{display:none!important}
#app .main:not([data-prototype-group="organization"]) #teamInviteMemberBtn{display:none!important}
#app.team-active .main[data-prototype-group="organization"] #teamInviteAllianceBtn{display:none!important}
#app .pw-tabs{background:transparent;border-bottom:1px solid var(--line);height:42px;min-height:42px;padding:0;gap:28px;align-items:stretch;overflow-x:auto}
#app .pw-tabs a,#app .pw-tabs button{padding:6px 0 10px;border-radius:0;border-bottom:3px solid transparent;color:var(--ink-2);font-size:15px;line-height:23px;white-space:nowrap}
#app .pw-tabs a[aria-current="page"],#app .pw-tabs button[aria-current="page"]{background:transparent;border-bottom-color:var(--teal);color:var(--teal-deep);font-weight:700}
#app .pw-tabs a:hover,#app .pw-tabs button:hover{background:transparent;color:var(--teal-deep)}
#app .main[data-prototype-group="overlap"] .pw-tabs{display:none}
#app .content{padding:0 0 32px;max-width:none;width:100%;min-width:0}
#screen{min-width:0}
#app .pw-page{gap:18px}
#app .pw-card,#app .pw-section,#app .pw-panel,#app .pw-list-card,#app .card{border-color:var(--line);border-radius:16px;box-shadow:none}
#app .pw-card,#app .pw-section,#app .pw-panel,#app .pw-list-card{padding:20px}
#app .pw-card h2,#app .pw-section h2,#app .pw-panel h3{font-size:16px}
#app .pw-route-title{display:none}
#app .pw-page>.pw-header>h1,#app .pw-page>.pw-heading>div>h1,#app .pw-page>.pw-heading>h1{display:none}
#app .pw-settings-shell{display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto 1fr;gap:18px 20px}
#app .pw-settings-shell>.topbar{grid-column:1/-1}
#app .pw-settings-shell>.pw-tabs{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-self:start;height:auto;min-height:0;gap:4px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:visible}
#app .pw-settings-shell>.pw-tabs a{padding:10px 12px;font-size:14px;line-height:20px;border:0;border-radius:10px}
#app .pw-settings-shell>.pw-tabs a[aria-current="page"]{background:var(--teal-bg);font-weight:600}
#app .pw-settings-shell>.content{grid-column:2;grid-row:2}
@media(min-width:881px){#app .menu-btn{display:none!important}.mnav{display:none}.team-active .team-rail-collapse{position:absolute;right:4px;top:23px;width:20px;height:24px}#app.team-rail-collapsed{grid-template-columns:64px minmax(0,1fr)}#app.team-rail-collapsed .rail{padding-left:10px;padding-right:10px}#app.team-rail-collapsed .workspace-switch{display:none}}
@media(min-width:881px) and (max-width:1180px){#app .main{padding:24px}#app .topbar .rail-search{width:200px}#app .topbar .btn{padding:0 12px}#prototypePageTitle{font-size:22px}}
@media(max-width:880px){:root{--rail-w:0px}#app .main{padding:0;gap:0}#app .rail{width:232px}#app .topbar{position:sticky;top:0;min-height:64px;align-items:center;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--line);z-index:var(--z-topbar);gap:10px}#prototypePageTitle{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#prototypePageSubtitle{display:none}#app .topbar .rail-search{display:none!important}#app .topbar .btn{height:36px;padding:0 12px;font-size:13px}#app .topbar .icon-btn{width:36px;height:36px}#app .topbar #railQuick{display:none!important}#app .topbar #inviteBtn{display:none!important}#app .content{padding:16px 16px 120px}#app .pw-tabs{height:48px;min-height:48px;gap:24px;padding:8px 16px 0;background:var(--surface)}#app .pw-tabs a{font-size:14px;line-height:24px;padding:4px 0 9px}#app .pw-card,#app .pw-section,#app .pw-panel,#app .pw-list-card{padding:16px}#app .pw-settings-shell{display:flex;gap:0}#app .pw-settings-shell>.pw-tabs{display:flex;flex-direction:row;height:48px;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;overflow-x:auto;gap:20px;padding:8px 16px 0}#app .pw-settings-shell>.pw-tabs a{padding:4px 0 9px;border-radius:0;border-bottom:3px solid transparent}#app .pw-settings-shell>.pw-tabs a[aria-current="page"]{background:transparent;border-bottom-color:var(--teal)}.mnav{min-height:68px;background:var(--surface);border-top:1px solid var(--line)}.mnav button{font-size:11px}#imBubble{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}}
@media(prefers-reduced-motion:reduce){#app *,#app *::before,#app *::after{scroll-behavior:auto}}

@media(min-width:881px){#app .pw-route-actions{display:none}}

#app .team-page-head>div>h1,#app .team-page-head>div>p{display:none}
#app .team-page-head{margin-bottom:0;min-height:0}

/* The embedded enterprise theme previously took precedence over shared chrome. */
#app.team-active:has(.shell){--ent-canvas:rgb(245 246 248);--ent-subtle:rgb(240 242 246);--ent-hover:rgb(247 250 255);--ent-border:rgb(230 233 240);--ent-control-border:rgb(214 220 232);--ent-text:rgb(29 36 51);--ent-secondary:rgb(74 84 104);--ent-muted:rgb(107 116 136);--ent-accent:rgb(56 112 248);--ent-accent-hover:rgb(43 91 217);--teal-deep:rgb(43 91 217);--teal-bg:rgb(234 240 254);--teal-line:rgb(185 205 249);--ent-radius:16px;--ent-control-radius:10px}
#app.team-active .shell .rail{padding:20px 14px;gap:16px}
#app.team-active .shell .brand{padding:0 8px;min-height:32px}
#app.team-active .shell .nav-item{height:42px;min-height:42px;font-size:14px;gap:12px;border-radius:10px}
#app.team-active .shell .nav-item.on{background:var(--teal-bg);color:var(--teal-deep)}
#app.team-active .shell .workspace-switch{height:38px;margin:0;border-radius:11px}
#app.team-active .shell .workspace-switch button{font-size:13px;border-radius:9px}
#app.team-active .shell .topbar{height:auto;min-height:54px;padding:0;border:0;background:transparent}
#app.team-active .shell .content,#app.team-active .shell .content.wide{padding:0 0 32px}
#app.team-active .shell .team-org-caption{padding:0 12px 4px}
#app.team-active .shell .team-page-head{margin-bottom:0}
#app.team-active .shell .team-page-head:has(>div:only-child){display:none}
#app.team-active .shell .team-home-todos{display:flex;flex-direction:column;gap:12px;margin:0}
#app.team-active .shell .pe-todos [data-requests],#app.team-active .shell .pe-todos [data-confirmations]>.card{padding:0;border:0;box-shadow:none;background:transparent}
#app.team-active .shell .pw-tabs a[aria-current="page"]{color:var(--teal-deep);border-bottom-color:var(--teal)}
@media(max-width:880px){#app.team-active .shell .topbar{min-height:64px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--line)}#app.team-active .shell .content,#app.team-active .shell .content.wide{padding:16px 16px 120px}#app.team-active .shell .rail{width:232px;position:fixed}body:has(#app.team-active) #imBubble{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}}

#app .main[data-prototype-group="trust"]>.pw-tabs{display:none}
#app .pw-legacy-trust .pw-trust-summary{gap:16px;flex-wrap:nowrap}
#app .pw-legacy-trust .pw-trust-ring{width:68px;height:68px;color:var(--teal)}
#app .pw-legacy-trust .pw-trust-ring strong{font-size:20px;color:var(--ink)}
#app .pw-legacy-trust .pw-trust-ring-stack{flex-direction:row;gap:14px}
#app .pw-legacy-trust .pw-trust-overview p{margin:4px 0}

#app.team-active .shell [data-opportunity-filter]{padding:12px 16px;margin-bottom:16px}
#app.team-active .shell [data-opportunity-filter] .field{margin:0;min-width:120px}
#app.team-active .shell [data-opportunity-filter]>.actions{align-items:flex-end}
#app.team-active .shell .team-account-map-entry:has(+[data-opportunity-filter]){padding:12px 16px;margin-bottom:16px}
@media(max-width:540px){#app.team-active .shell [data-opportunity-filter] .field{flex:1 1 90px;min-width:0}#app.team-active .shell [data-opportunity-filter] select{width:100%;min-width:0}#app.team-active .shell [data-opportunity-filter] [data-filter-apply]{width:100%}#app.team-active .shell .team-account-map-entry:has(+[data-opportunity-filter]){flex-direction:row;align-items:center;gap:12px}#app.team-active .shell .team-account-map-entry:has(+[data-opportunity-filter]) p{font-size:12px}}

@media(max-width:880px){#app .topbar .icon-btn,#app .topbar .menu-btn{width:44px;height:44px;min-width:44px}.pe-stage-tabs button{min-height:44px}}
