/* One workspace, stable controls, progressive disclosure. */
:root{--pw:360px;--nw:380px;--sub:#776d60;--wb-primary:#8b623b;--wb-focus:#4388c5}
.wb-ready button{font-family:inherit}.wb-ready button:focus-visible{outline:2px solid var(--wb-focus);outline-offset:3px}
#title .t2{gap:9px;align-items:center}.wb-time-label{font-size:12px;font-weight:400;color:#554c40}
#clock,#wbPlay,#wbSpeed{border:0;background:var(--glass-content);color:var(--ink);border-radius:9px;padding:5px 9px;cursor:pointer}
#clock{font-size:17px;letter-spacing:0}#wbPlay,#wbSpeed{font-size:12px;min-width:42px}#wbPlay:disabled{cursor:default;color:#8a633c;background:#f3e8d7}#paused{display:none!important}
#tp [aria-disabled=true]{opacity:.55;cursor:default}#tp{top:100px!important}#cal{top:100px}
#person{display:flex!important;overflow:hidden;padding:0;max-width:calc(100vw - 130px)}#person.hidden{display:none!important}
.wb-person-head{flex:none;background:rgba(250,247,241,.96);padding-bottom:12px}.wb-viewing{padding:13px 18px 0;font-size:12px;font-weight:500;color:#7d6e59}
#person .ph{padding:9px 18px 12px;gap:10px}#person .ph>img{width:48px;height:48px;border-radius:13px}#person .pn{font-size:19px;flex-wrap:wrap;gap:2px 7px;padding-right:16px}#person .pn small{font-size:11px}#person .ps{font-size:12px;max-width:240px}#person .more{font-size:12px;margin-top:4px}#person .x{top:0;right:12px}
#person .dev{margin:0 16px;font-size:12px;padding:6px 10px}.dev .lv2{font-size:11px}
#person .nowm{margin:10px 16px 0;padding:11px 12px}.nowm .ev{font-size:15px;line-height:1.4}.nowm .na,.nowm .na img{width:58px;height:58px}.nowm .mt{font-size:12px}
.wb-tabs{flex:none;display:flex;gap:5px;padding:0 16px;border-bottom:1px solid var(--line);background:rgba(250,247,241,.96)}.wb-tabs button{flex:1;border:0;background:transparent;color:var(--sub);font-size:14px;font-weight:500;padding:12px 8px;border-bottom:2px solid transparent;cursor:pointer}.wb-tabs button.is-active{color:var(--accd);border-color:var(--acc)}
.wb-person-body{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;padding-bottom:16px;scrollbar-width:thin;scrollbar-color:#d4c6b2 transparent}.wb-page[hidden]{display:none!important}.wb-page .mod{margin:12px 14px 0;padding:14px;border-radius:15px}.wb-page .mh{font-size:14px}.wb-page .mh small{font-size:11px;color:var(--sub)}
.wb-summary-head{display:flex;align-items:center;gap:8px;justify-content:space-between}.wb-summary-head strong{font-size:13px}.wb-summary-head strong span{font-weight:400;color:var(--sub);font-size:12px;margin-left:3px}.wb-summary-head button,#wbScheduleMore{border:0;background:transparent;color:var(--accd);padding:4px 0;font-size:12px;cursor:pointer}
.wb-pending{margin-top:10px;display:flex;align-items:center;gap:7px;width:100%;text-align:left;border:1px solid #e1c8b1;border-radius:10px;background:#faf0e3;color:#785336;padding:8px;cursor:pointer}.wb-pending span{font-size:11px;white-space:nowrap;background:#f0dcc3;border-radius:5px;padding:3px 4px}.wb-pending b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.wb-pending i{font-size:11px;font-style:normal;margin-left:auto;flex:none}
.wb-next{display:grid;grid-template-columns:42px 1fr;gap:4px;margin-top:10px}.wb-next>span{font-size:12px;color:var(--sub)}.wb-next>strong{font-size:13px;font-weight:500;line-height:1.5}.wb-next small{grid-column:2;font-size:12px;color:var(--sub)}.wb-muted{font-size:12px;color:var(--sub);line-height:1.65;margin-top:8px}
.wb-schedule-hidden{display:none!important}#wbScheduleMore{display:block;margin:8px auto 0;padding:6px 10px}#tl .ev{font-size:14px}#tl li.past{opacity:.7}#tl .lc,#tl .t small{font-size:12px}.rm li{font-size:13px;line-height:1.5}.rm li b{font-size:11px}.tal{font-size:12px}.src{font-size:11px}.workspace-source{font-size:11px}
#pGoals>.ci-incoming-header{font-size:15px;align-items:center}#completedGoalTabs{margin:4px 0 12px;gap:10px;display:flex;justify-content:space-between}#completedGoalTabs button{font-size:13px;flex:1;padding:9px 2px;white-space:nowrap}#pGoals>.cg-content{margin:0;padding:0;border:0;box-shadow:none;background:none}#pGoals .cg-section-header{justify-content:flex-end;margin-bottom:8px}#pGoals .cg-goal-item{padding:10px 0}
#pGoals[data-goal-tab=ongoing] [data-goal-section=pending],#pGoals[data-goal-tab=pending] [data-goal-section=ongoing],#pGoals[data-goal-tab=completed] .ci-assignment-section{display:none!important}
#pGoals[data-goal-tab=pending] .ci-send-entry,#pGoals[data-goal-tab=completed] .ci-send-entry{display:none!important}
.cr-inline-heading{display:none}.cr-inline-item strong{font-size:14px}.cr-inline-item small,.cr-inline-item button{font-size:12px}
.wb-quiet-notifications #ciBubble{display:none!important}.wb-detail-back{display:none;font:inherit;border:0;background:transparent;color:#885f36;font-size:12px;padding:7px 0;text-align:left;cursor:pointer}
.wb-nearby-info{font-size:12px;color:var(--sub);margin-top:15px;padding-top:12px;border-top:1px solid var(--line);line-height:1.6}.wb-nearby-info button{display:block;border:0;border-radius:9px;background:#f1e5d5;color:#7f5735;font-size:12px;padding:8px 12px;margin-top:10px;cursor:pointer}
#mapControls{left:112px!important;right:auto!important;bottom:24px!important;top:auto!important;width:276px!important;max-width:calc(100vw - 40px);box-sizing:border-box;padding:8px 9px;z-index:150}#mapControls .zoom-row{display:flex;justify-content:center;gap:0}#mapControls button{font-size:12px!important;padding-left:7px;padding-right:7px}#mapControls .map-help{font-size:11px}.ui.panels-left #mapControls{left:auto!important;right:24px!important}
#modeTip{left:112px!important;bottom:156px!important;font-size:12px;max-width:360px;padding:6px 10px 6px 6px}#modeTip img{width:24px;height:24px}#modeTip #modeHelp{display:none}.ui.panels-left #modeTip{left:auto!important;right:24px!important}
.cg-primary,.ci-primary,.cs-button-primary,.cs-send{background:var(--wb-primary)!important;border-color:var(--wb-primary)!important;color:#fff!important}.cg-button,.ci-button,.cs-button{min-height:34px}.cg-meta,.cg-task-flow,.cg-next-task,.ci-task-time,.ci-task dl,.ci-muted,.cs-muted{font-size:12px}.cg-goal-title{font-size:14px}.ci-assignment-title{font-size:18px}.ci-panel-body{font-size:14px}.ci-panel-body h4{font-size:13px}
@media(max-width:1500px){
 :root{--pw:350px;--nw:350px}
 body.wb-detail-open #person{display:none!important}
 #note:not(.hidden),#prof:not(.hidden),#live:not(.hidden){right:24px!important;left:auto!important;top:24px!important;width:var(--pw)!important;max-height:calc(100vh - 48px)!important}
 #incomingPanel:not([hidden]){right:24px!important;left:auto!important;top:24px!important;width:var(--pw)!important;height:calc(100vh - 48px)!important;max-height:calc(100vh - 48px)!important}
 .ui.panels-left #note,.ui.panels-left #prof,.ui.panels-left #live{left:112px!important;right:auto!important;top:96px!important;max-height:calc(100vh - 120px)!important}
 .wb-detail-back{display:block;flex:none}#incomingPanel>.wb-detail-back{padding:12px 20px 0}
 #note h2{font-size:20px}
}
@media(max-width:1100px){:root{--pw:320px;--nw:320px}#mapControls{width:260px!important;left:100px!important}#modeTip{left:100px!important}.wb-viewing{padding-top:10px}.wb-person-head{padding-bottom:9px}#person .ph{padding-top:7px;padding-bottom:9px}.wb-time-label{display:none}.wb-tabs button{padding:10px 8px}}
@media(prefers-reduced-motion:reduce){.wb-ready *{scroll-behavior:auto!important}}

.cg-draft-task{padding:10px 14px;margin:10px 0}.cg-draft-task .cg-link{min-height:0;padding:2px 0}.cg-draft-task>.cg-row strong{font-size:14px}.cg-draft-task .cg-task-flow{padding:6px 9px;margin:6px 0;line-height:1.6}.cg-draft-time{margin-top:4px}.cg-task-editor{margin-top:6px;padding-top:5px}.cg-task-editor>summary{padding:3px 0}.cg-coverage-note{padding:8px 11px;margin:10px 0}.cg-duplicate-note{padding:9px 12px;border:1px solid #dec6a6;border-radius:11px;background:#fff4e1;margin-top:10px}.cg-duplicate-note .cg-muted{margin:0}

@media(max-width:1500px){body:has(#ui.panels-left) #incomingPanel:not([hidden]){left:112px!important;right:auto!important;top:96px!important;height:calc(100vh - 120px)!important;max-height:calc(100vh - 120px)!important}}
@media(max-width:1100px){#ciBubble .ci-bubble-content strong,#ciBubble .ci-bubble-content small,#ciBubble .ci-bubble-guidance{display:none}#ciBubble{padding:8px 10px;gap:6px}#ciBubble .ci-bubble-content p{font-size:12px}}

body.wb-message-open #ui.panels-left #person{display:none!important}

/* Browsing indoor applications gives the entrance fixtures their own visible space. */
body.library-browsing #person{display:none!important}

/* Current-person context and private My panel are separate surfaces. */
#identityCapsule{cursor:pointer;font:inherit;color:inherit;position:relative}
#identityCapsule[aria-expanded=true]{border-color:#ae8255;background:rgba(251,240,224,.96)}
body.my-open #person,body.my-open #nearbyCard,body.my-document-open #person,body.my-document-open #nearbyCard,body.wb-detail-open #person{display:none!important}
body.wb-detail-open #myPanel{display:none!important}
#person .wb-person-head{padding-bottom:13px;border-bottom:1px solid var(--line)}
#person .wb-person-body{padding-bottom:18px}
#person [data-page=records]{border-top:1px solid var(--line);margin-top:12px}
#person .wb-viewing{font-size:12px}
#pGoals .ci-pending-badge,#ciBubble,#ciToast,#cg-toast{display:none!important}

#ui.panels-left #person,#ui.panels-left #nearbyCard{left:auto!important;right:24px!important}
body:has(#ui.panels-left) #incomingPanel:not([hidden]){left:auto!important;right:24px!important;top:24px!important;height:calc(100vh - 48px)!important}

body #incomingPanel:not([hidden]),body:has(#ui.panels-left) #incomingPanel:not([hidden]){width:clamp(360px,33.333vw,600px)!important;max-width:calc(100vw - 32px)!important;}

body.session-open #person,body.session-open #nearbyCard,body.session-open #myPanel{display:none!important}

#wbPersonNav{position:sticky;top:0;z-index:5;display:flex;gap:4px;padding:10px 14px;background:rgba(250,247,241,.97);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
#wbPersonNav[hidden]{display:none}#wbPersonNav button{flex:1;min-width:0;border:0;border-radius:9px;padding:8px 3px;background:transparent;color:var(--sub);font-size:12px;cursor:pointer}#wbPersonNav button.is-active{color:#8b623b;background:#eee2d1;font-weight:600}
#person .wb-person-head{padding-bottom:0}#person #pCurrentSection{padding-top:12px}#person #pCurrentSection .nowm{margin:10px 14px 0}#person #pCurrentSection .dev{margin:0 14px}#person .wb-person-section{scroll-margin-top:62px}
.wb-member-tabs{display:flex;gap:8px;flex:none;padding:8px 16px;border-bottom:1px solid var(--line);background:#faf7f1}.wb-member-tabs button{border:0;border-radius:9px;padding:8px 12px;background:transparent;color:var(--sub);font-size:13px;cursor:pointer}.wb-member-tabs button.is-active{color:#805a32;background:#eee1cf;font-weight:600}
#memberResults{padding:14px}#memberResults[hidden]{display:none}#memberResults h3{font-size:14px;margin:20px 0 10px}#memberResults h3:first-of-type{margin-top:12px}.wb-readonly{font-size:12px;color:#8a7254;margin:0 0 10px}
.wb-member-goal{padding:12px;margin:10px 0;background:#fffdf8;border:1px solid #e8dfd2;border-radius:13px}.wb-member-goal summary{display:flex;gap:10px;justify-content:space-between;align-items:center;cursor:pointer;font-size:14px}.wb-member-goal summary strong{font-weight:550}.wb-member-goal summary span{font-size:12px;color:#946d40;flex:none}.wb-member-goal progress{display:block;width:100%;height:5px;margin:12px 0;accent-color:#b68c58}
.wb-member-task{border-top:1px solid #ebe2d4;margin-top:12px;padding-top:10px;font-size:12px;line-height:1.6}.wb-member-task p{color:#7b6c58;margin:5px 0}.wb-member-task strong{font-size:13px;font-weight:500}.wb-member-task small{display:block;color:#8a7a65}.wb-result-link{border:0;background:none;color:#956b39;padding:5px 0;cursor:pointer;font-size:12px}
.wb-member-history,.wb-member-docs{padding:12px;margin-bottom:10px;border-radius:12px;background:#fffdf8;border:1px solid #e8dfd2}.wb-member-history strong,.wb-member-history small{display:block}.wb-member-history strong{font-size:13px}.wb-member-history small{font-size:11px;color:#8a7a65;margin-top:5px}.wb-member-docs h4{font-size:12px;color:#8a7458;margin:0 0 8px}.wb-member-document{display:block;width:100%;padding:10px 0;text-align:left;background:none;border:0;border-top:1px solid #eee6da;color:#514638;cursor:pointer;font:inherit;font-size:13px}.wb-member-document small{display:block;color:#9a8872;font-size:11px;margin-top:4px}
