.op-wrap{max-width:1250px;width:100%;margin:0 auto;color:#3d241f;font-family:inherit}
.op-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.op-head h2{font:700 clamp(24px,3vw,30px)/1.18 "Bree Serif",Georgia,serif;margin:4px 0}
.op-head p{font-size:13px;color:#765e56;margin:0;max-width:720px;line-height:1.55}
.op-switch{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}
.op-btn{background:#fff8f0;border:1px solid #cdb3a7;color:#462b25;border-radius:9px;padding:9px 12px;font:700 12px/1.3 system-ui;cursor:pointer}
.op-btn.active,.op-btn.primary{background:#af2447;border-color:#af2447;color:#fff}
.op-btn:focus-visible,.op-search:focus-visible{outline:3px solid #af2447;outline-offset:2px}
.op-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(300px,1.3fr);gap:14px;align-items:start}
.op-panel{padding:16px;background:#fff9f1;border:1px solid #ddc3b5;border-radius:14px;min-width:0}
.op-panel h3{font:700 19px/1.3 "Bree Serif",Georgia,serif;margin:0 0 13px}
.op-panel h4{font-size:16px;margin:8px 0 11px}
.op-panel label{font-weight:750;font-size:12px;display:block;margin-bottom:6px}
.op-search{width:100%;min-height:42px;padding:9px 12px;background:#fff;border:1px solid #dbbdb1;border-radius:9px;font:inherit;box-sizing:border-box}
.op-list{margin-top:10px}
.op-item{width:100%;display:block;text-align:left;border:0;border-top:1px solid #e5d1c7;padding:12px 7px;background:transparent;color:#3d241f;cursor:pointer}
.op-item.active{border-left:3px solid #af2447;background:#f8e8e5;padding-left:9px}
.op-item strong{display:block;font-size:14px}
.op-item small{font-size:11px;color:#80675e;display:block;margin-top:3px;overflow-wrap:anywhere}
.op-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0}
.op-data dt{font-size:11px;color:#7a6158;font-weight:700}
.op-data dd{font-size:13px;font-weight:600;margin:2px 0 0;overflow-wrap:anywhere}
.op-files{margin-top:19px}
.op-files h4{font-size:16px;margin:0 0 9px}
.op-docgroup{padding:10px 0;border-top:1px solid #e8d3c8}
.op-docgroup strong{font-size:13px}
.op-docgroup .op-doc{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:8px;flex-wrap:wrap}
.op-doc small{color:#7a6158;max-width:85%;overflow-wrap:anywhere}
.op-empty{font-size:12px;color:#856e65;padding:5px 0}
.op-alert{font-size:12px;color:#9a3353;padding:10px}
.op-notice{background:#f8eee4;border-left:3px solid #af2447;padding:9px 12px;font-size:12px;color:#6c554d;margin:14px 0}
@media(max-width:750px){.op-layout{grid-template-columns:1fr}.op-data{grid-template-columns:1fr}.op-head h2{font-size:25px}}
/* Shared Owner/GM personnel directory. The work-area scrolls, not the
   employee cards: long employment records must remain reachable on wheel,
   touch and keyboard in both portal shells. */
.op-wrap{min-width:0;min-height:0;padding-bottom:clamp(24px,4vh,48px)}
.op-layout,.op-panel{min-width:0;min-height:0}
.op-panel{overflow:visible}
.op-docgroup{min-width:0}
.op-docgroup button{min-height:42px}
.op-item{min-height:60px}
.op-item:focus-visible{outline:3px solid #af2447;outline-offset:-3px}
#app.command-center-view .gm-work-area .s-root:has(.s-shared-people){
 width:100%;max-width:1320px;min-width:0;
}
.s-shared-people{min-width:0;min-height:0}
.s-shared-people .op-wrap{max-width:none}
.s-shared-people .op-panel{scroll-margin-top:14px}
@media(max-width:750px){
 .op-wrap{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 .op-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .op-panel{padding:15px}
 .op-head{gap:9px}
 .op-head .op-btn{min-height:43px}
 .op-list{display:grid}
 .op-item{min-height:57px}
 .op-data{grid-template-columns:minmax(0,1fr)}
}
/* Preserve the same two-panel geometry in GM dark mode, using the existing
   near-black Homestead palette instead of unreadable beige-only text. */
html[data-theme="dark"] #app.command-center-view .op-wrap{color:#f5e9ef}
html[data-theme="dark"] #app.command-center-view .op-panel{
 background:#131013;border-color:#59414a;color:#f5e9ef;
}
html[data-theme="dark"] #app.command-center-view .op-head p,
html[data-theme="dark"] #app.command-center-view .op-data dt,
html[data-theme="dark"] #app.command-center-view .op-item small,
html[data-theme="dark"] #app.command-center-view .op-empty,
html[data-theme="dark"] #app.command-center-view .op-doc small{color:#c7acb9}
html[data-theme="dark"] #app.command-center-view .op-btn{
 background:#241a20;color:#f9e8f0;border-color:#604552;
}
html[data-theme="dark"] #app.command-center-view .op-btn.active{
 background:#af2447;border-color:#af2447;color:#fff;
}
html[data-theme="dark"] #app.command-center-view .op-search{
 background:#191419;border-color:#604552;color:#f5e9ef;
}
html[data-theme="dark"] #app.command-center-view .op-search::placeholder{color:#baa6b0}
html[data-theme="dark"] #app.command-center-view .op-item{
 color:#f5e9ef;border-top-color:#503945;
}
html[data-theme="dark"] #app.command-center-view .op-item.active{
 background:#50202f;border-left-color:#ed90aa;
}
html[data-theme="dark"] #app.command-center-view .op-docgroup{border-color:#503945}
html[data-theme="dark"] #app.command-center-view .op-notice{
 background:#241b22;border-left-color:#af2447;color:#f1dce5;
}
