/* JOB MONEY 300 Job -- compact accordion. Presentation only; all source/KPI/contract logic unchanged. */
.of-office-accordion{padding:16px 17px 18px}
.of-office-accordion .of-office-top{margin-bottom:13px}
.of-office-accordion .of-leaders{margin-bottom:15px}
.of-office-accordion .of-leader{min-height:86px;padding:9px}
.of-office-accordion .of-staff-person{width:60px;height:67px;flex-basis:60px}
.of-office-accordion .of-staff-person .of-avatar{transform:scale(.88);left:2px}
.of-office-accordion .of-leader .of-leader-copy>small{display:none}
.of-accordion-section{background:#fff;border:1px solid #dce6ef;border-radius:14px;margin:11px 0 0;overflow:hidden;box-shadow:0 3px 12px #142d4408}
.of-accordion-master{width:100%;border:0;padding:14px 14px;background:#f9fbfd;color:#18344e;display:flex;align-items:center;gap:10px;text-align:left;font:inherit;cursor:pointer}
.of-accordion-master:hover{background:#f1f7fa}
.of-accordion-master:focus-visible,.of-hunter-toggle:focus-visible{outline:2px solid #e68138;outline-offset:-3px}
.of-accordion-icon{height:41px;width:41px;flex:0 0 41px;border-radius:12px;display:grid;place-items:center;background:#fff0e3;color:#e0782e}
.of-executors-icon{background:#eaf4f8;color:#397d95}
.of-accordion-heading{display:flex;flex:1 1 180px;min-width:0;flex-direction:column;gap:3px}
.of-accordion-heading strong{font-size:17px;line-height:1.2;letter-spacing:-.025em;color:#173754}
.of-accordion-heading small{font-size:10px;line-height:1.35;color:#6d8295}
.of-accordion-kpis{display:grid;grid-template-columns:repeat(3,minmax(54px,1fr));gap:5px;flex:0 1 260px;min-width:180px}
.of-accordion-kpis>span{padding:3px 5px 3px 9px;border-left:1px solid #e0e7ed;display:flex;flex-direction:column;gap:3px;min-width:0}
.of-accordion-kpis b{font-size:13px;color:#1d3851;line-height:1.15;font-variant-numeric:tabular-nums}
.of-accordion-kpis small{font-size:9px;color:#8192a4;line-height:1.2}
.of-accordion-chevron{flex:0 0 20px;color:#2f4c63;display:grid;place-items:center;transition:transform .15s}
.of-accordion-master[aria-expanded=true] .of-accordion-chevron{transform:rotate(180deg)}
.of-accordion-body{padding:12px;border-top:1px solid #e3eaf1}
.of-accordion-body .of-hunter-filter{margin:0 0 10px;border:0;background:#f6f9fb}
.of-hunter-list{display:flex;flex-direction:column;gap:7px}
.of-hunter-compact{border:1px solid #e1e9f0;border-radius:12px;background:#fff;overflow:hidden;min-width:0}
.of-hunter-compact.is-expanded{border-color:#c9ddec;background:#fafcfe}
.of-hunter-compact.is-operating{border-left:3px solid #56b39a}
.of-hunter-toggle{width:100%;border:0;background:transparent;padding:8px 10px;display:grid;grid-template-columns:55px minmax(0,1.15fr) minmax(90px,.85fr) minmax(155px,1.3fr) 17px;align-items:center;gap:9px;text-align:left;color:inherit;font:inherit;cursor:pointer}
.of-hunter-toggle:hover{background:#f4f8fa}
.of-hunter-toggle .of-staff-person{width:53px;height:56px;flex:0 0 53px;border-radius:9px}
.of-hunter-toggle .of-staff-person .of-avatar{left:-2px;top:-4px;transform:scale(.80)}
.of-hunter-toggle .of-staff-person .of-staff-desk{height:10px}
.of-hunter-toggle .of-staff-person .of-staff-desk i{left:16px}
.of-hunter-identity{display:flex;flex-direction:column;gap:3px;min-width:0}
.of-hunter-identity>strong{font-size:12px;font-weight:850;color:#173957;line-height:1.25}
.of-hunter-identity>small{font-size:10px;line-height:1.25;color:#62788c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.of-hunter-identity .of-hunter-state{align-self:flex-start;font-size:9px;padding:2px 6px;margin:0}
.of-hunter-compact.is-operating .of-hunter-state{background:#e7f5ee;color:#248264}
.of-hunter-specialty{font-size:10px;line-height:1.45;color:#667d91;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.of-hunter-inline-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;min-width:0}
.of-hunter-inline-kpis>span{display:flex;flex-direction:column;gap:4px;padding:1px 3px 1px 6px;border-left:1px solid #e4ebf1;min-width:0}
.of-hunter-inline-kpis b{font-size:12px;line-height:1;color:#1b3a56;font-variant-numeric:tabular-nums}
.of-hunter-inline-kpis small{font-size:9px;line-height:1.2;color:#8594a3}
.of-hunter-chevron{display:grid;place-items:center;color:#3f5b76;transition:transform .15s}
.of-hunter-toggle[aria-expanded=true] .of-hunter-chevron{transform:rotate(180deg)}
.of-hunter-detail{border-top:1px solid #e5ebf1;background:#f7fafc;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px;align-items:center}
.of-hunter-detail-info{display:flex;flex-direction:column;gap:4px;border-right:1px solid #dce6ef;padding-right:10px}
.of-hunter-detail-info strong{font-size:11px;color:#3d5a71}
.of-hunter-detail-info span{font-size:10px;line-height:1.4;color:#788da0}
.of-hunter-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.of-hunter-detail-actions button{font-size:10px;padding:9px 6px;white-space:nowrap}
.of-more-wrap{display:flex;justify-content:center;padding:11px 0 3px}
.of-more-hunters{font-size:11px;padding:8px 18px}
.of-accordion-note{font-size:10px;color:#8193a4;line-height:1.6;margin:10px 2px 2px}
.of-executor-body .of-office-nav{margin:2px 0 11px}
.of-executor-body .of-room-legend{padding:2px 0}
.of-executor-body .of-office-scroll{max-width:100%}
.of-office-accordion .of-office-top .of-capacity{max-width:160px}
@media(max-width:1100px){
 .of-hunter-toggle{grid-template-columns:54px minmax(100px,1fr) minmax(0,.6fr) minmax(140px,1.1fr) 16px;gap:6px}
 .of-hunter-identity>strong{font-size:11px}
 .of-accordion-heading strong{font-size:15px}
 .of-accordion-kpis{flex-basis:218px}
}
@media(max-width:760px){
 .of-office-accordion{padding:11px}
 .of-accordion-master{display:grid;grid-template-columns:35px minmax(0,1fr) 20px;gap:7px 9px;padding:12px}
 .of-accordion-icon{width:35px;height:35px}
 .of-accordion-heading{grid-column:2;grid-row:1}
 .of-accordion-heading strong{font-size:15px}
 .of-accordion-chevron{grid-column:3;grid-row:1}
 .of-accordion-kpis{grid-column:1 / -1;grid-row:2;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
 .of-accordion-kpis>span{padding:5px 5px 3px 8px}
 .of-accordion-body{padding:9px}
 .of-hunter-toggle{grid-template-columns:48px minmax(0,1fr) 18px;gap:5px 9px;padding:8px}
 .of-hunter-toggle .of-staff-person{width:47px;height:52px;flex-basis:47px;grid-column:1;grid-row:1 / 3}
 .of-hunter-identity{grid-column:2;grid-row:1}
 .of-hunter-identity>strong{font-size:11px}
 .of-hunter-chevron{grid-column:3;grid-row:1}
 .of-hunter-specialty{grid-column:2 / 4;grid-row:2;font-size:10px;-webkit-line-clamp:1}
 .of-hunter-inline-kpis{grid-column:1 / -1;grid-row:3;gap:4px;background:#f5f8fa;border-radius:7px;padding:5px 0}
 .of-hunter-inline-kpis>span{padding-left:9px}
 .of-hunter-detail{grid-template-columns:1fr;padding:9px;gap:9px}
 .of-hunter-detail-info{border-right:0;border-bottom:1px solid #e0e7ed;padding-right:0;padding-bottom:8px}
 .of-hunter-detail-actions{gap:5px}
 .of-hunter-detail-actions button{font-size:10px}
}
@media(max-width:410px){
 .of-accordion-heading small{font-size:9px}
 .of-hunter-inline-kpis small,.of-accordion-kpis small{font-size:8px}
 .of-hunter-detail-actions button{font-size:9px}
}

/* Width protection at tablet sizes; status belongs below header when space is narrow. */
@media(min-width:761px) and (max-width:1150px){
 .of-toolbar{flex-wrap:wrap}
 .of-toolbar-state{min-width:0;max-width:100%;flex:0 1 auto}
 .of-toolbar-state .of-live{white-space:normal;max-width:100%;overflow-wrap:anywhere}
}

/* On phones/tablets, put the operating office before financial reporting. */
@media(max-width:900px){
 .of-work-grid{display:flex;flex-direction:column;gap:14px;min-width:0}
 .of-work-grid>.of-work-main{order:1;width:100%;min-width:0}
 .of-work-grid>.of-fin-rail{order:2;width:100%;position:static}
}

/* All 300 logical executor workstations are provisioned; display in pages of 15 or 30. */
.of-worker-nav{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 14px;background:#f5f8fb;border:1px solid #e4ebf1;border-radius:12px;padding:11px;margin:2px 0 12px!important}
.of-worker-page-title{display:flex;flex-direction:column;align-items:flex-start!important;min-width:160px;flex:1 1 180px;gap:4px!important}
.of-worker-page-title>strong{font-size:12px!important;color:#213f59!important}
.of-worker-page-title>span{font-size:10px;color:#7b90a3}
.of-worker-nav-controls{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px 8px;min-width:0;max-width:100%}
.of-worker-nav-controls label{font-size:10px;font-weight:800;white-space:nowrap;color:#526a81}
.of-worker-nav-controls .of-country-select{width:auto;max-width:185px;min-width:100px;padding:8px 10px;font-size:11px}
.of-worker-nav-controls #ofWorkerGroup{min-width:94px;max-width:113px}
.of-worker-nav-controls .of-alt{padding:8px 10px;font-size:10px;white-space:nowrap}
.of-room-15{min-width:960px}
.of-room-15 .of-desk-row{grid-template-columns:repeat(8,minmax(0,1fr))}
.of-room-30{min-width:1840px}
.of-room-30 .of-desk-row{grid-template-columns:repeat(15,minmax(0,1fr))}
.of-room-15 .of-seat-no,.of-room-30 .of-seat-no{font-size:8px}
.of-room-15 .of-seat-name,.of-room-30 .of-seat-name{font-size:10px}
.of-room-15 .of-seat-status,.of-room-30 .of-seat-status{color:#7a94a4;font-weight:750}
.of-room-15 .of-seat-wait,.of-room-30 .of-seat-wait{background:linear-gradient(180deg,#f9fcff,#fff);border-color:#d8e6ee}
.of-room-15 .of-seat-wait .of-avatar,.of-room-30 .of-seat-wait .of-avatar{opacity:.96;filter:saturate(.95)}
.of-room-15 .of-seat-wait .of-seat-status,.of-room-30 .of-seat-wait .of-seat-status{color:#3d8390}
.of-room-15 .of-seat-summary,.of-room-30 .of-seat-summary{white-space:nowrap}
@media(max-width:850px){
 .of-worker-nav{align-items:stretch;flex-direction:column!important}
 .of-worker-page-title{width:100%;flex:auto}
 .of-worker-nav-controls{justify-content:flex-start;width:100%}
}
@media(max-width:430px){
 .of-worker-nav-controls label{font-size:9px}
 .of-worker-nav-controls .of-country-select{max-width:155px;padding:7px}
 .of-worker-nav-controls .of-alt{padding:8px}
}

/* Office copy: allow the live-status pill to wrap with the longer, clearer heading. */
.of-toolbar{flex-wrap:wrap}
.of-toolbar>div:first-child{flex:1 1 610px;min-width:0}
.of-toolbar .of-toolbar-state{flex:0 1 auto;max-width:100%;min-width:0}
.of-toolbar .of-live{white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.4}
.of-toolbar .of-live i{flex-shrink:0}

/* Three equal administrators; invitation links created only by authenticated admins. */
.of-team-section{background:#f9fbfc;border:1px solid #e2eaf0;border-radius:12px;margin:0 0 11px;overflow:hidden}
.of-team-toggle{display:flex;width:100%;align-items:center;text-align:left;border:0;padding:11px 14px;background:transparent;gap:9px;color:#274761;font:inherit;cursor:pointer}
.of-team-toggle:hover{background:#f2f7fa}
.of-team-toggle strong{font-size:11px;white-space:nowrap}
.of-team-toggle>span{color:#7a90a2;font-size:10px;margin-left:auto}
.of-team-toggle svg:last-child{flex-shrink:0}
.of-team-body{border-top:1px solid #e1e9f0;padding:10px 14px}
.of-team-member{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e6edf3}
.of-team-member:last-of-type{border:0}
.of-team-member>div{min-width:0;overflow-wrap:anywhere}
.of-team-member strong{font-size:11px;color:#274964}
.of-team-member small{display:block;font-size:10px;color:#8196a5;margin-top:3px}
.of-team-member button{flex-shrink:0;padding:8px 11px;font-size:10px}
.of-team-ok{font-weight:800;font-size:10px;color:#14805e}
.of-team-body p{margin:9px 0 0;color:#728699;font-size:10px;line-height:1.6}
@media(max-width:740px){.of-team-toggle>span{display:none}.of-team-toggle strong{white-space:normal;flex:1}.of-team-body{padding:7px 10px}}

/* Moderation of external registration requests and limited staff memberships */
.of-team-shortcut{display:inline-flex;align-items:center;gap:7px;font-size:11px!important;margin-top:11px!important;padding:9px 12px!important}
.of-team-group-title{font-size:12px;color:#21475e;letter-spacing:-.01em;margin:19px 0 8px;padding-bottom:8px;border-bottom:1px solid #dfe8ee}
.of-team-group-title>span{font-weight:800;color:#b46b2f;background:#fff3e6;border-radius:10px;padding:3px 7px;margin-left:5px}
.of-team-approval{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px;border:1px solid #dfebf4;background:#fbfdff;border-radius:11px;margin:9px 0}
.of-team-approval>div:first-child{min-width:0;overflow-wrap:anywhere}
.of-team-approval strong{display:block;color:#24435f;font-size:12px}
.of-team-approval small{display:block;margin-top:3px;color:#728b9e;font-size:10px}
.of-team-approval p{font-size:11px;margin:7px 0;color:#5d7589;line-height:1.6}
.of-approval-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}
.of-approval-actions button{font-size:10px;padding:8px 10px}
.of-approval-actions .of-primary{background:#173a55;color:#fff;border:0;border-radius:8px}
.of-empty-request{padding:13px 9px;font-size:11px;color:#7a8e9f;background:#f5f8fb;border-radius:9px}
@media(max-width:650px){.of-team-approval{flex-direction:column}.of-approval-actions{justify-content:flex-start;width:100%}.of-team-shortcut{font-size:10px!important}}

/* Account-approval inbox status. Only highlighted when actual pending applications exist. */
.of-team-shortcut.has-pending{background:#fff2e5!important;color:#a54b16!important;border:1px solid #efbb8a!important;font-weight:850!important}
.of-team-shortcut.has-pending:hover{background:#ffe3cb!important}
#ofTeamPanel{scroll-margin-top:16px}

/* Client-service intake is a separate commercial inbox, not job sourcing. */
.of-core-shortcuts{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:11px}
.of-core-shortcuts .of-team-shortcut{margin-top:0!important}
.of-studio-inbox-shortcut{display:inline-flex;align-items:center;gap:7px;font-size:11px!important;font-weight:800!important;text-decoration:none;padding:9px 12px!important}
.of-studio-inbox-shortcut.has-pending{background:#fff0e4!important;border:1px solid #efd1b1!important;color:#a85022!important}
@media(max-width:580px){.of-core-shortcuts>*{width:100%;justify-content:center}}
