/* Cloud v0.3.09: private, evidence-first Team workspace. */
#teamView {color:var(--text,#172934)}
.re309-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.re309-header h2{font-size:24px;margin:0 0 6px;font-weight:800}
.re309-header p{margin:0;color:var(--muted,#7290a0);font-size:13px}
.re309-panel{border:1px solid var(--border,#d8e3e9);border-radius:14px;background:var(--card,#fff);padding:18px;min-width:0}
.re309-panel h3{font-size:17px;margin:0 0 12px}
.re309-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}
.re309-controls label{display:grid;gap:4px;font-size:12px;font-weight:700;color:var(--muted,#7792a1)}
.re309-controls select{border:1px solid #bfdae5;border-radius:8px;padding:8px 10px;background:var(--card,#fff);color:inherit;font:inherit}
.re309-outline{padding:8px 11px;border:1px solid #b9d7e4;background:transparent;color:#0097bd;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer}
.re309-outline:focus-visible,.re309-person:focus-visible,.re309-bar:focus-visible{outline:3px solid #00b2d3;outline-offset:2px}
.re309-grid{display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);gap:14px}
.re309-person{display:flex;align-items:center;gap:10px;text-align:left;width:100%;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;padding:10px;cursor:pointer;font:inherit}
.re309-person.selected{border-color:#04a7cb;background:rgba(0,171,209,.11)}
.re309-person-text{display:flex;flex-direction:column;gap:5px;min-width:0}
.re309-person strong{font-size:13px;overflow-wrap:anywhere}.re309-person small,.re309-muted{font-size:12px;color:var(--muted,#7290a0);line-height:1.5}
.re309-avatar{display:grid;place-items:center;width:38px;height:38px;min-width:38px;border-radius:50%;background:rgba(0,150,190,.12);color:#009cc5}.re309-avatar svg{height:21px;width:21px}
.re309-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.re309-fact{background:rgba(113,170,190,.08);border-radius:9px;padding:12px;display:grid;gap:5px}.re309-fact span{font-size:11px;color:var(--muted,#7290a0)}.re309-fact strong{font-size:19px}
.re309-caution{font-size:12px;color:var(--muted,#7290a0);margin:14px 0 0;line-height:1.5}
.re309-graph{height:110px;display:flex;align-items:flex-end;gap:2px;padding:12px 0 4px;border-bottom:1px solid #b4cbd6;overflow:hidden}
.re309-bar{flex:1;min-width:2px;max-width:18px;border:0;padding:0;border-radius:3px 3px 0 0;background:#00a6cc;cursor:pointer}.re309-bar:hover,.re309-bar.active{background:#07587e}
.re309-events{display:grid;gap:8px}.re309-event{border-top:1px solid var(--border,#d8e3e9);padding:12px 2px}.re309-event-head{display:flex;justify-content:space-between;gap:10px}.re309-event-head strong{font-size:13px}.re309-event-head span{color:var(--muted,#7290a0);font-size:11px;white-space:nowrap}.re309-event p{margin:5px 0}.re309-page-link{font-size:12px;color:#00a0c7;margin-right:12px}.re309-status{font-size:12px;line-height:1.45;color:var(--muted,#7290a0)}
[data-theme="dark"] #teamView .re309-panel{background:#18242d;border-color:#344651;color:#e5f4fa}
[data-theme="dark"] #teamView .re309-fact{background:#213742}
[data-theme="dark"] #teamView .re309-controls select{background:#18242d;border-color:#445c66;color:#e5f4fa}
@media(max-width:920px){.re309-grid{grid-template-columns:1fr}.re309-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.re309-page-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid rgba(120,153,168,.2)}.re309-page-row .re309-page-link{overflow-wrap:anywhere}.re309-page-row small{white-space:nowrap;color:var(--muted,#7290a0)}

/* v0.3.09 portrait-gallery and adjacent selected profile. Image-sized tiles with
   safe default WP avatar; no profile photos are harvested or guessed. */
.re309-grid{grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:18px}
.re309-grid>section.re309-panel:first-child{position:sticky;top:18px;max-height:calc(100vh - 130px);overflow-y:auto}
.re309-directory-all{display:block;width:100%;border:1px solid var(--border,#c9dce5);background:transparent;color:inherit;font:inherit;border-radius:9px;padding:9px 12px;text-align:left;font-size:13px;font-weight:750;cursor:pointer;margin-bottom:12px}
.re309-directory-all.selected{background:rgba(0,164,204,.11);border-color:#03a5c7}
.re309-people-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.re309-person-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;min-height:188px;text-align:center;border:1px solid var(--border,#d9e5ed);border-radius:14px;padding:15px 8px;background:var(--card,#fff)}
.re309-person-card:hover{border-color:#00a6cf;background:rgba(0,160,195,.055)}
.re309-person-card.selected{border-color:#00a6cf;box-shadow:0 0 0 2px rgba(0,166,207,.2) inset;background:rgba(0,166,207,.08)}
.re309-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#e5f4f9,#c3e4f0);border:1px solid #a8d5e4;color:#168db1;flex-shrink:0}
.re309-avatar-card{width:84px;height:84px;min-width:84px}.re309-avatar-card svg{width:47px;height:47px}
.re309-avatar-profile{width:104px;height:104px;min-width:104px}.re309-avatar-profile svg{width:56px;height:56px}
.re309-person-card .re309-person-text{align-items:center;gap:4px;max-width:100%;line-height:1.3}
.re309-person-card strong{font-size:13px;line-height:1.3}.re309-person-card small{font-size:11px}.re309-person-count{font-size:11px;color:#087b9d;font-weight:750}
.re309-unknown-button{border:0;padding:10px 4px;background:transparent;color:var(--muted,#7290a0);font-size:12px;text-align:left;cursor:pointer}
.re309-unknown-button.selected{color:#00a6cf;font-weight:750}
.re309-profile-hero{display:flex;align-items:center;gap:22px;padding:8px 2px 23px;border-bottom:1px solid var(--border,#d8e3e9);margin-bottom:18px}
.re309-profile-details{min-width:0}.re309-profile-details h3{font-size:23px;line-height:1.18;margin:4px 0 5px;overflow-wrap:anywhere}
.re309-profile-details p{margin:0 0 9px;color:var(--muted,#7290a0);font-size:13px}
.re309-kicker{font-size:10px;letter-spacing:.13em;font-weight:800;color:#0a96b8}
.re309-id-chip{font-size:11px;border:1px solid var(--border,#ccdfe8);background:rgba(116,172,196,.09);border-radius:30px;padding:4px 8px;color:var(--muted,#7290a0)}
.re309-grid #re309Profile{min-height:205px}
[data-theme="dark"] #teamView .re309-person-card{background:#1a2a34;border-color:#354b58;color:#e9f7fb}
[data-theme="dark"] #teamView .re309-person-card.selected{background:#183d4c;border-color:#00b5d5}
[data-theme="dark"] #teamView .re309-avatar{background:linear-gradient(145deg,#253f51,#1a313f);border-color:#4f7887;color:#b2e5f6}
@media(max-width:1000px){.re309-grid{grid-template-columns:1fr}.re309-grid>section.re309-panel:first-child{position:static;max-height:none}.re309-people-gallery{grid-template-columns:repeat(auto-fill,minmax(138px,1fr))}.re309-person-card{min-height:175px}}
@media(max-width:520px){.re309-profile-hero{gap:12px}.re309-avatar-profile{width:75px;height:75px;min-width:75px}.re309-profile-details h3{font-size:19px}.re309-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.3.37: visible roster diagnostic without pretending inactive accounts are absent. */
.re337-roster-status{margin:0 0 14px;padding:10px 13px;border:1px solid rgba(39,167,191,.3);background:rgba(14,148,180,.08);border-radius:9px;font-size:12px;line-height:1.5;color:var(--text,#dfedf6)}
.re337-roster-status[hidden]{display:none!important}
.re337-roster-status.warn{border-color:rgba(230,174,86,.45);background:rgba(230,174,86,.08)}
