/* Cloud v0.6.48 — authoritative Team Management visual redesign.
   Brand: black + gray surfaces, Elements teal blue, green for verified evidence.
   No invented leaderboard, causality, sales, or numeric worker score. */
#appShell .re648-team-nav{display:flex;align-items:center;gap:10px;width:100%;border-radius:9px;position:relative}
#appShell .re648-team-nav .re648-team-chevron{margin-left:auto;width:13px;height:13px;opacity:.65}
#appShell .re85-children [data-view="team"]{display:none!important}
#appShell.sidebar-collapsed .re648-team-nav .re648-team-chevron{display:none}
#appShell .re648-team-nav.selected{background:rgba(18,167,199,.23);color:#59d3e7}
#appShell .re648-team-flyout{position:fixed;z-index:1600;overflow:hidden;display:flex;flex-direction:column;gap:11px;width:min(322px,calc(100vw - 18px));max-height:min(680px,calc(100vh - 85px));padding:17px;border-radius:16px;background:#101d26;box-shadow:0 25px 85px #0009,0 0 0 1px #5fc5dc60;color:#ecf8fc}
#appShell .re648-team-flyout[hidden]{display:none!important}
#appShell .re648-flyout-head{display:flex;align-items:start;justify-content:space-between;gap:10px}
#appShell .re648-flyout-head>div{display:grid;gap:4px}
#appShell .re648-flyout-head strong{font-size:16px;color:#fff}
#appShell .re648-flyout-head small,#appShell .re648-muted{color:#849ba9;line-height:1.5;font-size:12px}
#appShell .re648-flyout-head button{border:1px solid #476372;color:#aee4ec;background:#182f3b;font-size:20px;width:30px;height:30px;border-radius:8px;cursor:pointer}
#appShell .re648-flyout-search{display:flex;align-items:center;border:1px solid #3b5661;border-radius:10px;background:#1b2b35;padding:4px 10px;gap:7px;color:#71cce0}
#appShell .re648-flyout-search svg{width:17px;height:17px;stroke:currentColor;fill:none}
#appShell #re648FlyoutSearch{border:0!important;box-shadow:none!important;background:transparent!important;color:#ecf8fa!important;padding:8px 0;min-width:0;width:100%;font-size:12px}
#appShell .re648-flyout-list{display:grid;gap:4px;overflow-y:auto;min-height:50px;max-height:490px;overscroll-behavior:contain}
#appShell .re648-fly-person{display:flex!important;align-items:center;gap:10px;text-align:left;border:1px solid transparent!important;padding:9px!important;border-radius:11px;background:transparent!important;color:#f5ffff!important}
#appShell .re648-fly-person:hover,#appShell .re648-fly-person[aria-current="true"]{background:#163b4a!important;border-color:#28778e!important}
#appShell .re648-avatar{display:grid;place-items:center;flex:0 0 auto;height:40px;width:40px;border-radius:50%;background:#134a5b;border:2px solid #19a8c2;color:#d7f8fa;font-weight:750;font-size:13px;overflow:hidden}
#appShell .re648-avatar img{width:100%;height:100%;object-fit:cover}
#appShell .re648-fly-details{display:grid;min-width:0;gap:3px}
#appShell .re648-fly-details strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appShell .re648-fly-details small{font-size:10px;color:#8bafbd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appShell .re648-flyout-all{padding:11px 14px;border-radius:10px;border:1px solid #219dbd;background:#113b4b;color:#70d8ed;font-size:12px;font-weight:800;cursor:pointer}
/* Replace the old dense in-page directory/digest with a premium full-width team hub.
   Legacy DOM remains for existing Overview module mirroring and compatibility. */
#appShell #teamView>.re309-header,#appShell #teamView>.re309-status,#appShell #teamView>.re337-roster-status,#appShell #teamView>.re309-caution{display:none!important}
#appShell #teamView[data-re648-selection="all"] .re309-grid{display:none!important}
#appShell #teamView[data-re648-selection="all"][data-re648-section="overview"]>.re318-activity-top{margin-top:18px;display:block!important}
#appShell #teamView[data-re648-selection="all"]>.re318-activity-top{display:none!important}
#appShell #teamView[data-re648-selection="person"]>.re318-activity-top,#appShell #teamView[data-re648-selection="person"]>.re309-grid>section,#appShell #teamView[data-re648-selection="person"] #re415TeamDetailsModule>:not(#re309Profile){display:none!important}
#appShell #teamView[data-re648-selection="person"] .re309-grid{display:block!important}
#appShell #teamView[data-re648-selection="person"] #re415TeamDetailsModule{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;transform:none!important}
#appShell #teamView[data-re648-selection="person"] #re309Profile{padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
#appShell #teamView[data-re648-selection="person"] .re647-profile{max-width:none;width:100%}
#appShell .re648-team-hub[hidden]{display:none!important}
#appShell #teamView .re648-team-hub{--re648-line:var(--re647-border,#d5e2e9);--re648-white:var(--re647-surface,#fff);--re648-ink:var(--text,#1a2932);--re648-muted:var(--muted,#6c8190);color:var(--re648-ink);display:grid;gap:20px;min-width:0}
#appShell #teamView .re648-hub-head{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:7px 2px 1px}
#appShell #teamView .re648-eyebrow{display:block;font-size:10px;color:#13a9c9;font-weight:850;letter-spacing:.16em;margin-bottom:8px}
#appShell #teamView .re648-hub-head h2{font-size:clamp(24px,3vw,36px);font-weight:860;letter-spacing:-.04em;line-height:1.15;margin:0 0 8px;color:var(--re648-ink)}
#appShell #teamView .re648-hub-head p{color:var(--re648-muted);font-size:13px;line-height:1.5;max-width:670px;margin:0}
#appShell #teamView .re648-head-actions{display:flex;gap:9px;flex-wrap:wrap}
#appShell .re648-btn{cursor:pointer;border-radius:10px;border:1px solid var(--re648-line,#bfd5df);font-weight:760;font-size:12px;line-height:1.25;padding:10px 14px;color:var(--re648-ink,inherit);background:transparent;text-align:center}
#appShell .re648-btn:focus-visible,#appShell .re648-team-flyout button:focus-visible,#appShell .re648-review-dialog input:focus-visible{outline:3px solid #0ba8ca;outline-offset:3px}
#appShell .re648-primary{background:#0aadd0!important;color:#fff!important;border-color:#0aadd0!important;box-shadow:0 3px 10px #075c701a}
#appShell .re648-primary:hover{background:#087b9b!important}
#appShell .re648-outline{border-color:#23a7c5!important;color:#0b99b7!important}
#appShell #teamView .re648-sections{display:flex;align-items:center;gap:7px;padding:5px;border-radius:13px;background:color-mix(in srgb,var(--re648-white) 84%,#1a7897 16%);border:1px solid var(--re648-line);overflow-x:auto}
#appShell #teamView .re648-section-btn{border-color:transparent;flex:1 0 auto;min-width:0;white-space:nowrap;color:var(--re648-muted);border-radius:9px}
#appShell #teamView .re648-section-btn.selected{background:var(--re648-white);box-shadow:0 2px 8px #0b27321b;color:#0c96b5;border-color:var(--re648-line)}
#appShell #teamView .re648-hub-content{display:grid;gap:18px;min-width:0}
#appShell #teamView .re648-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#appShell #teamView .re648-summary-tile{display:grid;align-content:center;gap:8px;min-height:125px;border-radius:14px;padding:20px;background:var(--re648-white);border:1px solid var(--re648-line);border-top:3px solid #12b2d0;box-shadow:0 4px 18px #1d4d600b}
#appShell #teamView .re648-summary-tile:nth-child(2){border-top-color:#29b4a4}#appShell #teamView .re648-summary-tile:nth-child(3){border-top-color:#8c84e5}#appShell #teamView .re648-summary-tile:nth-child(4){border-top-color:#57bc8a}
#appShell #teamView .re648-summary-tile small{color:var(--re648-muted);font-weight:770;font-size:11px}
#appShell #teamView .re648-summary-tile strong{font-size:clamp(21px,2.7vw,32px);letter-spacing:-.025em;font-weight:850;color:var(--re648-ink)}
#appShell #teamView .re648-summary-tile span{color:var(--re648-muted);font-size:11px;line-height:1.45}
#appShell #teamView .re648-hub-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.85fr);gap:16px}
#appShell #teamView .re648-hub-panel{display:grid;align-content:start;gap:13px;padding:22px;border:1px solid var(--re648-line);border-radius:17px;background:var(--re648-white);min-width:0}
#appShell #teamView .re648-hub-panel h3,#appShell #teamView .re648-list-head h3{color:var(--re648-ink);font-size:18px;margin:0;letter-spacing:-.015em}
#appShell #teamView .re648-person-row{display:grid;gap:9px}
#appShell #teamView .re648-person-tile{display:flex!important;align-items:center;gap:13px;padding:13px!important;text-align:left;background:color-mix(in srgb,var(--re648-white) 92%,#14b3ce 8%)!important;border:1px solid var(--re648-line)!important;border-radius:12px!important;color:var(--re648-ink)!important}
#appShell #teamView .re648-person-tile:hover{border-color:#15a8c5!important;background:color-mix(in srgb,var(--re648-white) 80%,#14b3ce 20%)!important}
#appShell #teamView .re648-person-meta{display:grid;gap:3px;min-width:0}
#appShell #teamView .re648-person-meta strong{font-size:14px;font-weight:810}
#appShell #teamView .re648-person-meta span{font-size:12px;color:var(--re648-muted)}
#appShell #teamView .re648-person-meta small{font-size:10px;color:#158eaa}
#appShell #teamView .re648-link-button{color:#079fbd!important;border:0!important;padding:7px 4px;text-align:left!important;background:none!important;font-size:11px!important;justify-self:start}
#appShell #teamView .re648-link-button:hover{text-decoration:underline}
#appShell #teamView .re648-list-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
#appShell #teamView .re648-search{border:1px solid var(--re648-line);background:var(--re648-white);padding:12px;border-radius:10px;min-width:min(280px,100%);color:var(--re648-ink)}
#appShell #teamView .re648-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
#appShell #teamView .re648-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
#appShell #teamView .re648-project-tile{display:grid;align-content:start;gap:11px;min-width:0;background:linear-gradient(135deg,#0d9fbd0c,transparent 60%),var(--re648-white);border:1px solid var(--re648-line);padding:19px;border-radius:16px}
#appShell #teamView .re648-project-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#appShell #teamView .re648-project-category{border-radius:100px;background:#10b4d219;color:#079dbb;font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;padding:5px 8px}
#appShell #teamView .re648-project-status{border:1px solid #4b9f78a6;background:#31ac7b14;color:#188760;border-radius:100px;padding:5px 8px;font-size:10px;font-weight:760;text-transform:capitalize}
#appShell #teamView .re648-project-tile h3{margin:0;font-size:16px;color:var(--re648-ink)}
#appShell #teamView .re648-project-tile p{font-size:12px;color:var(--re648-muted);line-height:1.5;margin:0}
#appShell #teamView .re648-project-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:10px;color:var(--re648-muted)}
#appShell #teamView .re648-assignment-row{padding:9px 0;display:grid;gap:3px;border-bottom:1px solid var(--re648-line);font-size:11px}
#appShell #teamView .re648-assignment-row strong{color:var(--re648-ink)}
#appShell #teamView .re648-assignment-row small{color:var(--re648-muted)}
#appShell #teamView .re648-detail-table{background:var(--re648-white);border:1px solid var(--re648-line);border-radius:13px;padding:15px;overflow-x:auto}
#appShell #teamView .re648-detail-table summary{font-size:13px;font-weight:780;cursor:pointer}
#appShell #teamView .re648-detail-head,#appShell #teamView .re648-detail-row{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;padding:9px;border-bottom:1px solid var(--re648-line);font-size:11px}
#appShell #teamView .re648-detail-head{font-weight:800;color:var(--re648-muted)}
#appShell #teamView .re648-empty{padding:16px;border-radius:12px;background:#598ea00d;border:1px dashed var(--re648-line);font-size:12px;color:var(--re648-muted);line-height:1.5}
#appShell #teamView .re648-workspace-status{color:var(--muted,#6f8793);font-size:10px;margin:6px 2px 14px}
/* Full profile: preserve approved panoramic mountain hero, improve charts & content hierarchy. */
#appShell #teamView .re648-primary-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:14px}
#appShell #teamView .re648-profile-module{display:grid;align-content:start;gap:13px}
#appShell #teamView .re648-profile-module>h3{font-size:17px;color:var(--re647-ink);letter-spacing:-.025em;margin:0;font-weight:810}
#appShell #teamView .re648-profile-module>p{margin:0}
#appShell #teamView .re648-role-list{display:grid;gap:8px}
#appShell #teamView .re648-role-row{display:grid;gap:6px;padding:14px;border-radius:11px;border:1px solid var(--re647-border);background:rgba(18,170,195,.035)}
#appShell #teamView .re648-role-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#appShell #teamView .re648-role-top strong{font-size:13px;color:var(--re647-ink)}
#appShell #teamView .re648-role-row p,#appShell #teamView .re648-role-row small,#appShell #teamView .re648-role-date{font-size:11px;color:var(--re647-muted);margin:0}
#appShell #teamView .re648-profile-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:11px}
#appShell #teamView .re648-profile-project{display:grid;align-content:start;gap:9px;border-radius:13px;padding:15px;border:1px solid var(--re647-border);background:linear-gradient(140deg,#17a6c013,transparent 60%)}
#appShell #teamView .re648-profile-project h4{margin:0;font-size:14px;color:var(--re647-ink)}
#appShell #teamView .re648-profile-project p,#appShell #teamView .re648-profile-project small{font-size:11px;color:var(--re647-muted);line-height:1.5;margin:0}
#appShell #teamView .re648-project-participant{font-size:11px;padding:8px;border-radius:8px;background:#12b5ce0e;color:var(--re647-ink)}
#appShell #teamView .re648-team-links{display:grid;gap:9px}
#appShell #teamView .re648-team-link{display:grid;gap:5px;border:1px solid var(--re647-border);border-radius:10px;padding:12px}
#appShell #teamView .re648-team-link strong{font-size:13px;color:var(--re647-ink)}
#appShell #teamView .re648-team-link small,#appShell #teamView .re648-team-link span{color:var(--re647-muted);font-size:10px}
#appShell #teamView .re648-class-stats,#appShell #teamView .re648-outcome-placeholder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#appShell #teamView .re648-profile-stat{display:grid;gap:5px;border:1px solid var(--re647-border);border-radius:10px;padding:13px}
#appShell #teamView .re648-profile-stat strong{font-size:21px;color:var(--re647-ink)}
#appShell #teamView .re648-profile-stat small{font-size:10px;color:var(--re647-muted);line-height:1.45}
#appShell #teamView .re648-category-bars{display:grid;gap:10px}
#appShell #teamView .re648-category-row{display:grid;grid-template-columns:175px minmax(20px,1fr) 35px;gap:11px;align-items:center;font-size:11px;color:var(--re647-ink)}
#appShell #teamView .re648-category-track{display:block;width:100%;height:12px;background:rgba(120,154,173,.1);border-radius:9px;overflow:hidden}
#appShell #teamView .re648-category-fill{display:block;height:100%;border-radius:9px}
#appShell #teamView .re648-category-row strong{font-size:11px;text-align:right}
#appShell #teamView .re648-shared-list{display:grid;gap:12px}
#appShell #teamView .re648-shared-project{padding:13px;border-left:3px solid #14b5c7;background:#0d9fba0e;border-radius:6px}
#appShell #teamView .re648-shared-project h4{margin:0 0 5px;font-size:12px;color:var(--re647-ink)}
#appShell #teamView .re648-shared-project p{margin:0;color:var(--re647-muted);font-size:11px}
#appShell #teamView .re648-comparison{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:10px}
#appShell #teamView .re648-baseline{border:1px solid var(--re647-border);border-radius:12px;display:grid;gap:8px;padding:17px;min-height:125px}
#appShell #teamView .re648-baseline small{letter-spacing:.06em;color:var(--re647-muted);font-size:10px;font-weight:800}
#appShell #teamView .re648-baseline strong{font-size:26px;color:var(--re647-ink)}
#appShell #teamView .re648-baseline span,#appShell #teamView .re648-evidence-note{font-size:11px;color:var(--re647-muted)}
#appShell #teamView .re648-versus{font-size:26px;text-align:center;color:#15a9c9}
#appShell #teamView .re648-evidence-note{color:#1f9a76}
#appShell #teamView .re648-portfolio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:11px}
#appShell #teamView .re648-portfolio-card{border:1px solid var(--re647-border);border-radius:12px;overflow:hidden;display:grid;align-content:start;gap:8px;padding:0 13px 12px;min-width:0}
#appShell #teamView .re648-portfolio-band{height:52px;margin:0 -13px;background:linear-gradient(125deg,#0b2130 7%,#0d7591 52%,#19b4bd 100%);border-radius:11px 11px 0 0}
#appShell #teamView .re648-portfolio-card a{font-weight:790;font-size:12px;color:#0a9ab4;overflow-wrap:anywhere}
#appShell #teamView .re648-portfolio-card small{font-size:10px;color:var(--re647-muted)}
#appShell #teamView .re648-portfolio-stats{display:grid;gap:4px;font-size:10px;color:var(--re647-muted)}
#appShell #teamView .re648-evidence-rows{display:grid;gap:7px}
#appShell #teamView .re648-evidence-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border-bottom:1px solid var(--re647-border);padding:10px 0}
#appShell #teamView .re648-evidence-row strong{font-size:11px;flex:1 1 170px;color:var(--re647-ink)}
#appShell #teamView .re648-evidence-row span{font-size:10px;color:var(--re647-muted)}
/* Owner review editor is modal and accessible, never silently persists a local draft. */
.re648-review-dialog{border:1px solid #378ca5;border-radius:18px;max-width:min(540px,calc(100vw - 25px));width:100%;max-height:min(88vh,780px);overflow:auto;background:#f9fcfd;color:#142c37;box-shadow:0 40px 100px #0008;padding:0}
.re648-review-dialog::backdrop{background:#04111cc4}
.re648-review-form{padding:25px;display:grid;gap:14px}
.re648-review-form h2{margin:0;font-size:22px}
.re648-review-form p{margin:0}
.re648-review-form .re648-field{display:grid;gap:6px;font-size:12px;font-weight:750;color:#32505f}
.re648-review-form input:not([type="checkbox"]),.re648-review-form select{border:1px solid #c6d8e1;background:#fff;color:#112a35;padding:11px 12px;border-radius:9px;width:100%}
.re648-review-form .re648-approval{display:flex;align-items:flex-start;gap:9px;background:#eaf7f9;padding:11px;border-radius:10px;font-size:11px;color:#32505f}
.re648-review-form .re648-save-status{font-size:11px;color:#086e8f;min-height:15px}
.re648-review-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px}
[data-theme="dark"] #appShell #teamView .re648-team-hub,#appShell[data-theme="dark"] #teamView .re648-team-hub{--re648-white:#17252e;--re648-ink:#eaf6f9;--re648-muted:#9bb6c4;--re648-line:#384d58}
[data-theme="dark"] #appShell #teamView .re648-empty{background:#182c36}
@media(max-width:1250px){#appShell #teamView .re648-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#appShell #teamView .re648-hub-split,#appShell #teamView .re648-primary-grid{grid-template-columns:1fr}}
@media(max-width:760px){#appShell .re648-team-flyout{left:8px!important;right:8px;width:calc(100vw - 16px);top:62px!important;max-height:calc(100dvh - 78px)}#appShell #teamView .re648-team-hub{gap:13px}#appShell #teamView .re648-hub-head h2{font-size:25px}#appShell #teamView .re648-summary-grid{gap:9px}#appShell #teamView .re648-summary-tile{padding:14px;min-height:112px}#appShell #teamView .re648-sections{justify-content:flex-start;overflow-x:auto}#appShell #teamView .re648-section-btn{flex:0 0 auto}#appShell #teamView .re648-hub-panel{padding:15px}}
@media(max-width:470px){#appShell #teamView .re648-directory-grid,#appShell #teamView .re648-project-grid,#appShell #teamView .re648-portfolio-grid{grid-template-columns:1fr}#appShell #teamView .re648-primary-grid,#appShell #teamView .re648-profile-projects{grid-template-columns:1fr}#appShell #teamView .re648-class-stats,#appShell #teamView .re648-outcome-placeholder{grid-template-columns:1fr}#appShell #teamView .re648-category-row{grid-template-columns:112px minmax(30px,1fr) 25px;gap:6px}#appShell #teamView .re648-category-row span{font-size:10px}#appShell #teamView .re648-comparison{grid-template-columns:1fr}#appShell #teamView .re648-versus{transform:rotate(90deg)}#appShell #teamView .re648-summary-tile strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){#appShell #teamView .re648-team-hub *{animation:none!important;transition:none!important}}
