:root{--people-primary:#24563f;--people-accent:#537c50;--people-bg:#f4f6f1;--people-ink:#263d32;--people-border:#dce4dc;--people-soft:#e9f0e5;--people-gold:#c6ad69;--sidebar-width:238px}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;background:var(--people-bg)!important;color:var(--people-ink)!important;font-size:13px!important;line-height:1.45}.navbar{height:62px;border-color:var(--people-border);padding:0 22px;gap:16px}.nav-brand{font-size:18px;letter-spacing:-.5px}.nav-brand .logo-icon{background:#24563f;border-radius:10px}.brand-sub{font-size:10px;color:#68806e;letter-spacing:.02em;font-weight:500}.nav-brand .logo-icon img{filter:brightness(0) invert(1);width:22px;height:22px}.navbar .header-search{margin-left:auto;min-width:240px;display:flex;gap:9px;align-items:center;color:#6c7b6d;background:#f5f7f3;border:1px solid #dfe6dd;padding:8px 11px;border-radius:7px;font-size:12px}.header-search kbd{margin-left:auto;font:10px inherit;background:white;border:1px solid #dce4dc;padding:1px 5px;border-radius:4px}.navbar .assist-trigger{display:flex;gap:7px;align-items:center;background:#24563f;color:white;border:1px solid #24563f;border-radius:7px;padding:8px 11px;font:600 12px inherit;cursor:pointer}.assist-trigger img{filter:brightness(0) invert(1)}#wsShell{height:calc(100vh - 62px)}#wsSide2{background:#fffefb!important;border-color:#dfe6dd;padding:10px 8px}.ws2-home,.ws2-mod{font-size:12px!important;font-weight:600;padding:10px 11px;border-radius:6px;color:#465b4b}.ws2-home.active,.ws2-mod.active{background:#e8efe4!important;color:#24563f!important}.ws2-child{font-size:11.5px!important;margin-left:23px;padding:8px 11px}.ws2-child.on{background:#edf2e8!important;color:#24563f!important}.ws2-grp{font-size:9px;padding-top:18px;letter-spacing:1.6px;color:#879483}.ws2-chev{background:transparent!important;color:#466c4d!important;font-size:12px}.ws2-collapse{border:1px solid #e1e7dd;background:#f7f8f3;font-size:11px}.ws2-ic img{width:17px;height:17px}.ws-avatar{background:#e6eee1;color:#24563f;border-radius:50%}.ws-profile{color:#2d4938}.ws2-child .dot{color:#7f9a72}.ws2-home:hover,.ws2-mod:hover,.ws2-child:hover{background:#f0f4eb!important;color:#24563f!important}#wsResize{width:5px;background:#e0e6dc}#wsResize:hover{background:#9fb18d}#wsHead{background:#fffefb;border-color:#dfe6dd;font-size:12px;height:42px;color:#3d5846}#wsHomeBtn{font-size:11px;border-color:#dce4dc;color:#345d43}button,input,select,textarea{font-family:inherit!important}button{transition:background .16s,border-color .16s,transform .16s}button:focus-visible,[role=button]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #557a40!important;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{border:1px solid #d2dccf!important;border-radius:6px!important;background:#fffefb!important;color:#2a4034!important;font-size:12px!important;box-shadow:none!important}input:not([type=checkbox]):not([type=radio]),select{min-height:34px;padding:7px 10px!important}input[type=checkbox],input[type=radio]{accent-color:#24563f}.p-icon{display:inline-block;flex-shrink:0;vertical-align:middle;opacity:.9}.topbar,.app-header,.main-header,.bottombar{background:#24563f!important;background-image:linear-gradient(90deg,rgba(25,64,43,.96),rgba(25,64,43,.75)),url('assets/palm-landscape.png')!important;background-position:center!important;background-size:cover!important;color:white!important;border-color:#355f43!important}.topbar,.app-header,.main-header{padding:12px 20px!important;box-shadow:none!important;gap:12px!important}.topbar h1,.app-header h1,.main-header h1{font-size:18px!important;font-weight:650!important;letter-spacing:-.4px}.topbar button,.app-header button{font-size:11px!important;border-radius:5px!important}.topbar .rbtn.active{color:#24563f!important;background:#fffefb!important}.panel,.card,.sideuser,.sec{background:#fffefb!important;border-color:#dce4dc!important;box-shadow:0 2px 8px rgba(28,55,31,.025)!important;border-radius:9px!important}.panel h3,.panel h2,h2{font-size:18px;letter-spacing:-.3px}.panel{padding:18px!important}.sec{margin-top:14px!important}.sec-h,th{background:#edf2e8!important;color:#34553c!important;border-color:#dce4dc!important;font-size:11px!important;letter-spacing:.02em}.sec-h{padding:12px 16px!important}.sec-h b{background:#24563f!important;color:white!important}.sec-b{padding:17px!important}.fg label,label{font-size:11.5px!important;color:#4f6254}.fg{margin-bottom:12px!important}.fg input,.fg select{height:36px!important}.fg textarea{min-height:90px}.form-grid,.form-grid3{gap:16px!important}.btn-primary,.btn-blue,.btn-green,.tb-btn.solid,.navrow button.main.active,.navrow button.arrow,.tab.on,.tabs .active,.btn-gold{background:#24563f!important;color:#fff!important;border-color:#24563f!important}.btn-out,.tab{background:#fffefb!important;color:#34583f!important;border-color:#d8e1d3!important}.note{background:#edf2e7!important;border-color:#d5e1cd!important;color:#416041!important;font-size:11.5px!important}.chip{border-color:#dce4dc!important;border-left-color:#79945c!important;color:#36533c!important}.chip b,.panel h3,.panel h2{color:#2e4d37!important}.muted{color:#778576!important}td{font-size:12px!important;color:#3f5345!important;padding:11px 12px!important;border-color:#e4e9e0!important}th{padding:11px 12px!important;white-space:nowrap}tr:hover td{background:#f5f8f1}a{color:#24563f!important}.people-form-check{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 16px;border:1px solid #dce5d5;border-left:3px solid #73954c;border-radius:7px;background:#f2f6ec;padding:12px 14px;margin-bottom:18px;font-size:12px}.people-form-check button{background:white;color:#345c3d;border:1px solid #cbdac3;border-radius:5px;padding:7px 10px;font-size:11px}.people-form-check p{grid-column:1/-1;color:#72806a;font-size:11px;margin:0}.people-form-check span{color:#627655}.toast{background:#24563f!important}.ws-lang{margin-left:0;font-size:11px}.ws-lang select{padding:7px!important}
.pw{max-width:1440px;padding:22px 26px;font-size:13px;color:#2d4335}.pw>header{gap:12px;margin-bottom:9px;align-items:center}.pw>header h1{font-size:20px;margin:0;letter-spacing:-.5px}.pw>header>div>small{display:none}.pw>header p{font-size:11px;margin:2px 0;color:#76846f}.pw>header label{font-size:10px!important}.pw>header select{font-size:10px!important;min-height:28px;padding:4px 8px!important}.pw-note{font-size:10px!important;margin:8px 0;color:#899582!important}.pw nav{border-color:#dce4d6;padding:9px 0 15px;margin-bottom:20px;gap:6px}.pw nav button{font-size:11.5px;padding:7px 11px;background:#fffefb;border-color:#dce4d6;border-radius:6px}.pw nav button[aria-pressed=true]{background:#24563f!important;border-color:#24563f!important}.pw h2{font-size:18px;margin:0 0 4px}.pw h3{font-size:14px}.pw p{line-height:1.65}.pw .pw-table th{background:#edf2e8}.pw .pw-table{border-color:#dce4dc}.pw .pw-fields{grid-template-columns:repeat(3,1fr);gap:14px}.pw form{border-color:#dce4dc;background:#fffefb}.pw button:hover{border-color:#7e9b69}.people-hero{position:relative;background-image:linear-gradient(90deg,rgba(18,48,32,.94),rgba(22,48,29,.4) 65%,rgba(20,48,28,.08)),url('assets/palm-landscape.png');background-size:cover;background-position:center 50%;border-radius:12px;min-height:228px;padding:30px 32px;display:flex;align-items:center;color:#fff;overflow:hidden}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:750}.people-hero h2{font-size:31px;color:#fff;margin:10px 0;letter-spacing:-.8px}.people-hero p{color:#e0eadb;font-size:12px;max-width:510px;margin:0 0 22px}.hero-actions{display:flex;gap:10px}.hero-actions button{font-size:11px;font-weight:650;display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:5px}.primary-light{background:#e5edbd!important;color:#264c32!important;border:1px solid #e5edbd!important}.ghost-light{background:rgba(20,40,24,.1)!important;color:white!important;border:1px solid #a0b594!important}.ghost-light img{filter:brightness(0) invert(1)}.hero-aside{position:absolute;right:34px;bottom:47px;font-size:16px;line-height:1.6;color:#edf1df;text-align:right;letter-spacing:-.2px}.hero-caption{position:absolute;right:34px;bottom:18px;font-size:8px;color:#e0e7d1}.people-content-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:18px;margin:20px 0}.focus-card,.briefing-card{border:1px solid #dae3d4;border-radius:9px;background:#fffefb;padding:21px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-title p{font-size:11px;margin:3px 0;color:#7c8977}.section-title select{font-size:10px!important;min-height:29px}.focus-row{display:grid;grid-template-columns:110px 1fr auto 16px;align-items:center;gap:14px;text-align:left;width:100%;border:0!important;border-top:1px solid #e3e8de!important;border-radius:0!important;background:transparent!important;padding:15px 0!important;font-size:11px!important}.focus-row strong{display:block;font-size:12px}.focus-row small{display:block;color:#7b8776;margin-top:4px;font-size:10px}.module-tag{border:1px solid #e0e5d9;background:#f5f7f0;border-radius:4px;padding:4px 7px;color:#697962;font-size:9px}.text-danger{color:#b15345!important}.people-empty{padding:34px 20px;text-align:center;background:#f8faf5;border:1px dashed #dce5d3;border-radius:7px;color:#7c8c73;margin:10px 0}.people-empty img{width:25px;height:25px;opacity:.55}.people-empty h3{color:#4a684a;margin:9px 0 5px}.people-empty p{font-size:11px;max-width:350px;margin:0 auto}.briefing-card{background:#eaf1e3}.briefing-card .eyebrow{color:#738968}.briefing-card h2{margin:12px 0;font-size:22px;line-height:1.35;max-width:220px}.briefing-card p{font-size:12px;color:#5d7356;margin-bottom:16px}.briefing-card small{font-size:9px;color:#7f9075}.primary{background:#24563f!important;color:white!important;border:1px solid #24563f!important;border-radius:5px!important;font-size:11px!important;padding:9px 12px!important;display:inline-flex;align-items:center;gap:9px;cursor:pointer}.primary img{filter:brightness(0) invert(1)}.brief-facts{display:flex;gap:30px;margin:22px 0 12px;border-top:1px solid #d4dfcc;padding-top:14px;font-size:10px;color:#607858}.brief-facts strong{display:block;font-size:18px;color:#36573d;margin-top:5px}.text-link{border:0!important;background:transparent!important;color:#3e6745!important;padding:8px 0!important;font-size:11px!important;font-weight:650}.people-modules{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.people-module{position:relative;border:1px solid #dce4d6;border-radius:8px;background:#fffefb;overflow:hidden}.people-module:hover{border-color:#99af85;transform:translateY(-1px);box-shadow:0 5px 15px rgba(44,75,35,.06)}.module-main{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;height:100%;padding:18px!important;border:0!important;background:transparent!important;font-size:12px!important}.module-main>img{width:22px;height:22px;margin-bottom:13px}.module-main strong{font-size:13px;margin:0 0 7px}.module-main p{font-size:10.5px!important;color:#7c8974;margin:0 0 13px;min-height:32px;padding-right:6px}.module-main span{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:10px;font-weight:600;color:#65815b}.pin{position:absolute;top:10px;right:10px;z-index:1;background:transparent!important;border:0!important;padding:4px!important}.pin img{width:14px;height:14px;opacity:.25}.pin[aria-pressed=true] img{opacity:1;filter:sepia(1) saturate(2)}.module-section{margin-top:26px}
dialog{border:1px solid #cfdcc5;border-radius:12px;padding:22px;width:min(640px,calc(100vw - 30px));max-height:80vh;overflow:auto;background:#fffefb;color:#2d4534;box-shadow:0 24px 90px rgba(16,40,24,.25);margin:auto;font-size:13px}dialog::backdrop{background:rgba(16,35,24,.35);backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.dialog-head h2{font-size:20px;margin:5px 0}.dialog-head button{border:1px solid #dce4d5;background:white;border-radius:5px;min-width:30px;min-height:30px;cursor:pointer}.dialog-head .eyebrow{color:#7a926c}#people-find-input{width:100%;margin-bottom:15px;font-size:14px!important}#people-find-results{margin-bottom:15px}#people-find-results button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border:0;border-radius:5px;background:transparent;text-align:left;cursor:pointer}#people-find-results button:hover{background:#edf3e7}#people-find-results strong{display:block;font-size:12px}#people-find-results small{display:block;color:#809076;font-size:10px;margin-top:3px}.assist-chips{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.assist-chips button{font-size:11px;padding:7px 9px;border:1px solid #d5e2ca;border-radius:5px;background:#f1f6e9;color:#476f41;cursor:pointer}#people-assist-mode{font-size:10px;color:#819274}#people-assist-form{display:grid;grid-template-columns:1fr auto;gap:8px;border:0;padding:0}#people-assist-form label{grid-column:1/-1}#people-answer{background:#f1f5eb;border:1px solid #dbe5d1;padding:16px;border-radius:7px;font-size:12px;line-height:1.8;margin:18px 0;white-space:pre-line}#people-assist details{font-size:11px;border-top:1px solid #e0e7db;padding-top:13px}#people-assist details p{color:#6c7f63;line-height:1.7}#people-assist details button{border:1px solid #cddcc3;background:white;padding:7px 10px;border-radius:5px;color:#3b6340;cursor:pointer}.skip-link{position:absolute;left:260px;top:-60px;z-index:99;background:#24563f;color:white!important;padding:10px}.skip-link:focus{top:4px}
@media(max-width:1100px){.navbar .header-search{min-width:140px}.header-search kbd,.brand-sub{display:none}.hero-aside{display:none}.people-content-grid{grid-template-columns:1.4fr 1fr}.focus-row{grid-template-columns:1fr auto 14px}.module-tag{display:none}.people-hero h2{font-size:27px}}
@media(max-width:760px){.navbar{padding:0 10px;gap:7px}.nav-brand{font-size:14px}.navbar .header-search{min-width:auto;padding:8px}.header-search span,.ws-lang>span,.assist-trigger span{display:none}.ws-lang select{max-width:95px}.navbar .assist-trigger{padding:8px}.pw{padding:17px 13px}.pw>header{flex-wrap:wrap}.pw>header>div{flex-basis:100%}.people-hero{padding:23px 19px;min-height:220px}.people-hero h2{font-size:25px}.people-content-grid{grid-template-columns:1fr}.people-modules{grid-template-columns:repeat(2,1fr)}.pw .pw-fields{grid-template-columns:1fr}.hero-actions{flex-wrap:wrap}.hero-caption{right:16px;font-size:7px}.focus-card,.briefing-card{padding:16px}.people-form-check{grid-template-columns:1fr}.people-form-check p{grid-column:1}.form-grid,.form-grid3{grid-template-columns:1fr!important}.panel{padding:12px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Compact MRF layout: widths reflect the expected data, with unchanged field IDs. */
.mrf-form{max-width:1120px;margin:0 auto;padding:16px!important;container-type:inline-size}.mrf-form>h3{font-size:17px;margin:0 0 12px}.mrf-form .sec{margin-top:12px!important;border-radius:7px!important}.mrf-form .sec-h{padding:9px 12px!important}.mrf-form .sec-b{padding:12px!important}.mrf-form .form-grid,.mrf-form .form-grid3,.mrf-justification{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px!important;align-items:start}.mrf-form .fg{min-width:0;margin-bottom:0!important}.mrf-form .fg>label{display:block;margin-bottom:4px;line-height:1.35;font-weight:600}.mrf-form .form-grid>.fg{grid-column:span 6}.mrf-form .field-quarter{grid-column:span 3!important}.mrf-form .field-third{grid-column:span 4!important}.mrf-form .field-half{grid-column:span 6!important}.mrf-form .field-two-thirds{grid-column:span 8!important}.mrf-form .field-full{grid-column:1/-1!important}.mrf-form .field-age{grid-column:span 9!important}.mrf-details:has(#fg_months[style*="block"]) .field-age{grid-column:span 6!important}.mrf-form .fg input:not([type=checkbox]):not([type=radio]):not([type=file]),.mrf-form .fg select{height:34px!important;min-height:34px;width:100%;padding:6px 9px!important}.mrf-form .field-count input{max-width:104px}.mrf-form .field-date input{max-width:190px}.mrf-form .fg textarea{width:100%;min-height:88px;padding:9px!important;line-height:1.5;resize:vertical}.mrf-form #f_responsibilities,.mrf-form #f_requirements{min-height:124px}.mrf-form .multi-choice{display:flex;flex-wrap:wrap;gap:6px;margin:0}.mrf-form .multi-choice label{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;margin:0;min-height:30px;white-space:normal;font-weight:400}.mrf-form .multi-choice input{width:13px!important;height:13px!important;min-height:0!important;margin:0;flex-shrink:0;padding:0!important}.mrf-justification>.warnbox{grid-column:1/-1;margin:0}.mrf-compensation .form-grid3>.fg{grid-column:span 3}.mrf-compensation .form-grid3>.fg:has(#f_grade){grid-column:span 4}.mrf-compensation .form-grid3>.fg:has(#f_curr){grid-column:span 2}.mrf-form #jd_extract_status{font-size:11px;line-height:1.4;margin:8px 0 10px;color:#697b69}.mrf-form .form-actions{padding:10px 12px!important;margin-top:12px;gap:8px}.mrf-form .form-actions .btn{padding:7px 12px;min-height:34px;font-size:12px}.mrf-form .people-form-check{padding:9px 12px;margin-bottom:12px;gap:4px 10px}.mrf-form .people-form-check button{padding:5px 8px}
@container(max-width:720px){.mrf-form .field-quarter,.mrf-form .field-third,.mrf-form .field-two-thirds,.mrf-form .field-age,.mrf-details:has(#fg_months[style*="block"]) .field-age{grid-column:span 6!important}.mrf-form .mrf-compensation .form-grid3>.fg{grid-column:span 6}.mrf-form .field-count input{max-width:140px}}
@container(max-width:440px){.mrf-form .form-grid>.fg,.mrf-form .form-grid3>.fg,.mrf-form .mrf-justification>.fg{grid-column:1/-1!important}.mrf-form .field-count input,.mrf-form .field-date input{max-width:none}.mrf-form .form-actions{flex-wrap:wrap}.mrf-form .people-form-check{grid-template-columns:1fr}}
/* Shared compact layout — applies before first paint in every module. */
:root{--people-space:12px}
.navbar{height:54px;padding:0 16px;gap:12px}#wsShell{height:calc(100vh - 54px)}#wsHead{height:36px}#wsSide2{padding:8px 6px}.ws2-home,.ws2-mod{padding:8px 10px}.ws2-child{padding:6px 10px}.ws2-grp{padding-top:12px;letter-spacing:1.2px}
html[data-people-module] main{padding:12px!important;min-width:0;container-type:inline-size}
.topbar,.app-header,.main-header{padding:8px 12px!important;gap:8px!important}.topbar h1,.app-header h1,.main-header h1{font-size:16px!important}.role-sw{flex-wrap:wrap;gap:2px}.role-sw .rbtn{padding:5px 8px;min-height:28px}
.panel,.card{padding:12px!important;border-radius:7px!important;box-shadow:none!important;margin-bottom:10px}.panel h3,.panel h2{font-size:15px!important;margin-bottom:8px}.page-header{margin-bottom:10px}.page-header h1{font-size:18px!important}.page-header p{margin-top:3px;line-height:1.45}.sec{margin-top:10px!important;border-radius:7px!important}.sec-h{padding:8px 12px!important}.sec-b{padding:12px!important}
.form-grid,.form-grid3{gap:10px!important;align-items:start}.fg{min-width:0;margin-bottom:8px!important}.fg label{margin-bottom:4px;line-height:1.4}.fg input:not([type=checkbox]):not([type=radio]),.fg select{height:32px!important;min-height:32px!important;max-width:100%;box-sizing:border-box}.fg textarea{min-height:76px;max-width:100%;padding:8px!important;resize:vertical;box-sizing:border-box}.fg input[type=file]{height:auto!important;min-height:34px!important}.fg input[type=number]{width:min(100%,180px)}.fg input[type=date],.fg input[type=time]{width:min(100%,200px)}
td,th{padding:8px 10px!important;line-height:1.4}td{overflow-wrap:anywhere}td .btn,td button{min-height:28px;white-space:normal}.tabs{gap:5px!important;margin-bottom:10px!important}.tab,.btn{border-radius:5px!important}.note{padding:8px 10px!important;margin-bottom:10px;line-height:1.5}.chip{margin-bottom:5px}.grid,.grid2{gap:10px!important}.grid2{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))!important}.modal,.modal-content{max-width:calc(100vw - 24px);max-height:90vh;overflow:auto}.modal-content{padding:16px!important}dialog{padding:16px;border-radius:9px}#rf-dialog{padding:16px!important}#rf-form>.fg{margin-top:8px!important}#rf-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-head{margin-bottom:12px}.dialog-head h2{font-size:18px}.custom-card{padding:16px!important}
.pw{padding:16px 18px;font-size:13px}.pw>header h1{font-size:19px}.pw nav{padding:8px 0 10px;margin-bottom:14px}.pw nav button{padding:6px 10px}.pw h2{font-size:16px}.pw h3{font-size:14px}.pw form{padding:14px}.pw .pw-fields{gap:10px}.pw-grid article{padding:14px;gap:6px}.pw-grid{gap:10px;margin-top:14px}.pw-table{margin:12px 0}.pw label{gap:4px}.pw input,.pw select{min-height:32px;padding:6px 9px!important}.pw p{line-height:1.5}.pw #pw-search{width:min(360px,100%)}
.people-hero{min-height:180px;padding:22px 24px;border-radius:9px}.people-hero h2{font-size:27px;margin:7px 0}.people-hero p{margin-bottom:15px}.hero-aside{bottom:36px;font-size:14px}.people-content-grid{gap:12px;margin:14px 0}.focus-card,.briefing-card{padding:15px}.section-title{margin-bottom:10px}.focus-row{padding:10px 0!important;gap:10px}.people-empty{padding:20px 14px}.briefing-card h2{font-size:20px;margin:9px 0}.brief-facts{margin:14px 0 9px;padding-top:10px;gap:22px}.people-modules{gap:10px}.module-main{padding:14px!important}.module-main>img{margin-bottom:9px}.module-main strong{margin-bottom:5px}.module-main p{margin-bottom:9px}.module-section{margin-top:18px}
@container(max-width:640px){.form-grid,.form-grid3{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mrf-form .form-grid,.mrf-form .form-grid3{grid-template-columns:repeat(12,minmax(0,1fr))!important}}
@container(max-width:420px){.form-grid,.form-grid3,#rf-form .form-grid{grid-template-columns:1fr!important}.fg input[type=number],.fg input[type=date],.fg input[type=time]{width:100%}.mrf-form .form-grid,.mrf-form .form-grid3{grid-template-columns:repeat(12,minmax(0,1fr))!important}}
/* Icon controls and home alignment polish. */
.ws2-chev img,.ws2-caret img{width:14px;height:14px;transition:transform .15s ease}.ws2-chev.open img,.ws2-caret.open img{transform:rotate(90deg)}.ws2-caret{display:inline-flex;align-items:center}.ws2-chev{margin-left:auto}.ws2-collapse img{width:14px;height:14px}.ws-signout{margin-left:auto;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:6px;background:transparent;cursor:pointer;color:#466c4d}.ws-signout:hover{background:#f0f4eb}.ws-signout img{width:17px;height:17px}.ws2-lb{overflow:hidden;text-overflow:ellipsis}
.briefing-card{display:flex;flex-direction:column;align-items:flex-start}.briefing-card .brief-facts{align-self:stretch}.briefing-card>small{margin-top:auto;padding-top:12px}.briefing-card .primary,.hero-actions button,.text-link{display:inline-flex;align-items:center;gap:8px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.focus-row{grid-template-columns:136px minmax(0,1fr) auto 16px}.module-tag{justify-self:stretch;text-align:center;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-caption{font-size:9px;opacity:.75}
.people-module{display:flex}.module-main strong{font-size:15px;line-height:1.3}.module-main p{flex:1}.module-main span{margin-top:auto}.section-title .text-link{align-self:flex-end}@media(max-width:760px){.hero-caption{display:none}}
@media(max-width:760px){.navbar{gap:6px;padding:0 8px}.pw{padding:12px}.people-hero{padding:18px;min-height:180px}.people-hero h2{font-size:24px}.focus-card,.briefing-card{padding:12px}.people-content-grid{grid-template-columns:1fr}.pw .pw-fields,.pw-grid{grid-template-columns:1fr}.topbar,.app-header{flex-wrap:wrap}.pw nav{gap:5px}}
@media(max-width:480px){.people-modules{grid-template-columns:1fr}#rf-form .form-grid{grid-template-columns:1fr}.hero-actions{gap:7px}}
@media(pointer:coarse){button,.btn,.tab,.rbtn,.ws2-child,.ws2-mod,.ws2-home{min-height:40px!important}input:not([type=checkbox]):not([type=radio]),select{min-height:40px!important}.fg input:not([type=checkbox]):not([type=radio]),.fg select{height:40px!important;min-height:40px!important}}

/* Content-sized fields across all nine modules; do not constrain narrative fields. */
html[data-people-module] input,html[data-people-module] select,html[data-people-module] textarea{box-sizing:border-box;max-width:100%}
.form-grid:not(.mrf-form .form-grid),.form-grid3:not(.mrf-form .form-grid3){max-width:1120px;grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid3:not(.mrf-form .form-grid3){grid-template-columns:repeat(3,minmax(0,1fr))}
.form-group{min-width:0}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;max-width:100%}
:is(.fg,.form-group,.pw-fields) input[type=number]{width:min(100%,160px)!important}
:is(.fg,.form-group,.pw-fields) input[type=date]{width:min(100%,190px)!important}
:is(.fg,.form-group,.pw-fields) input[type=time]{width:min(100%,140px)!important}
:is(.fg,.form-group,.pw-fields) input[type=email],:is(.fg,.form-group,.pw-fields) input[type=tel]{width:min(100%,360px)}
html[data-people-module] td input[type=number]{max-width:140px}
html[data-people-module] td input[type=date]{max-width:190px}
html[data-people-module] td input[type=time]{max-width:140px}
html[data-people-module] td input:not([type]):not([style*="46px"]),html[data-people-module] td input[type=text]{width:100%;min-width:110px;max-width:360px}
html[data-people-module] td textarea{width:100%;min-width:180px;max-width:600px}
html[data-people-module] td{vertical-align:top}
html[data-people-module] .row{flex-wrap:wrap}
html[data-people-module] .row input:not([type=checkbox]):not([type=radio]),html[data-people-module] .row select{max-width:360px}
.people-nav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:12px;align-items:start}
.people-nav-grid .people-nav-card{margin:0;min-width:0}
.people-nav-grid :is(.people-nav-heading,.people-nav-section){display:flex;flex-wrap:nowrap;gap:6px!important;margin:0 0 6px!important}
.people-nav-grid .people-nav-heading{padding-bottom:8px;border-bottom:1px solid var(--people-border)}
.people-nav-grid .people-nav-heading strong{min-width:22px!important}
.people-nav-grid input[aria-label]{flex:1 1 0!important;min-width:0!important;width:0;max-width:none!important}
.people-nav-grid :is(.people-nav-heading,.people-nav-section) button{flex:0 0 auto;padding:5px 8px;min-height:32px}
.people-nav-grid .people-nav-add{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.people-nav-grid .people-nav-add input{flex:1 1 180px;min-width:0!important;max-width:280px!important}
.people-nav-grid textarea{width:100%;max-width:100%;box-sizing:border-box}
@container(max-width:720px){.form-grid3:not(.mrf-form .form-grid3){grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:440px){.form-grid:not(.mrf-form .form-grid),.form-grid3:not(.mrf-form .form-grid3){grid-template-columns:1fr}.people-nav-grid{grid-template-columns:1fr}}

/* Control Center legacy dark tables: use the shared light surface. */
html[data-people-module="ctl"] table{background:#fffefb!important;color:var(--people-ink)!important}
html[data-people-module="ctl"] tbody tr,html[data-people-module="ctl"] td{background:#fffefb!important;color:var(--people-ink)!important}
html[data-people-module="ctl"] tbody tr:nth-child(even) td{background:#f7f9f4!important}
html[data-people-module="ctl"] tr:hover td{background:#edf3e8!important}

.company-location-picker{display:flex;flex-wrap:wrap;gap:6px 12px;max-width:480px;padding:5px 0}.company-location-picker label{display:inline-flex;align-items:center;gap:5px;white-space:normal;margin:0}.company-location-picker input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;margin:0;padding:0!important;flex:none}

.people-date-picker{display:flex;gap:6px;width:100%;max-width:320px}.mrf-form .people-date-picker select{min-width:0;width:auto!important;flex:1;padding-right:20px!important}.mrf-form .people-date-picker select:nth-child(2){flex:1.4}#commenceError{display:block;color:#b42318;margin-top:4px}

/* Tablet and phone layout: full navigation, local table scrolling, touch targets. */
#people-menu,#people-nav-backdrop{display:none}
#wsPane,#wsBody,#homeView{min-width:0;min-height:0}
#wsShell{height:calc(100dvh - 54px)}
.people-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:8px 0;border-radius:6px}
.people-table-scroll:focus-visible{outline:2px solid var(--people-primary);outline-offset:2px}
.people-table-scroll table{margin:0!important}
@media(max-width:1024px){
 #people-menu{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:44px;border:1px solid var(--people-border);border-radius:7px;background:#fff;color:var(--people-ink);font-size:22px}
 #wsSide2,body.ws-rail #wsSide2{position:fixed;top:54px;bottom:0;left:0;z-index:1002;width:min(320px,86vw);padding:8px;transform:translateX(-105%);transition:transform .18s ease;box-shadow:8px 0 24px #18382d26}
 body.people-nav-open #wsSide2{transform:translateX(0)}
 #wsSide2 .ws2-lb,#wsSide2 .ws2-chev,#wsSide2 .ws2-num,#wsSide2 .ws2-grp,body.ws-rail #wsSide2 .ws2-lb,body.ws-rail #wsSide2 .ws2-chev,body.ws-rail #wsSide2 .ws2-grp{display:initial}
 #wsSide2 .ws2-child,body.ws-rail #wsSide2 .ws2-child{display:flex}
 #wsSide2 .ws2-mod,#wsSide2 .ws2-home{justify-content:flex-start;padding:10px}
 #wsSide2 .ws2-collapse,#wsResize{display:none}
 #wsSide2 .ws2-child{min-height:44px;padding:10px 10px 10px 30px}
 body.people-nav-open #people-nav-backdrop{display:block;position:fixed;inset:54px 0 0;z-index:1001;border:0;background:#152f2266;width:100%;height:calc(100dvh - 54px)}
 #wsPane{width:100%}#wsHead{height:auto;min-height:40px;padding:6px 10px;flex-wrap:wrap}#wsTitle{min-width:0;flex:1;overflow-wrap:anywhere;font-size:12px}#wsHead .sp{display:none}
 .navbar{padding:0 8px;gap:6px}.navbar .header-search{min-width:0;flex:0 0 auto}.header-search span,.header-search kbd,.assist-trigger span,.brand-sub,.ws-lang>span{display:none}.navbar .assist-trigger{padding:8px}.ws-lang select{max-width:95px}
 .people-wide-table{min-width:640px!important}
 button,.btn,.tab,.rbtn,.pw nav button{min-height:44px!important;touch-action:manipulation}
 input:not([type=checkbox]):not([type=radio]),select,.fg input:not([type=checkbox]):not([type=radio]),.fg select,.mrf-form .fg select,.mrf-form .fg input:not([type=checkbox]):not([type=radio]):not([type=file]){min-height:44px!important;height:auto!important;font-size:16px!important}
 textarea{font-size:16px!important}input[type=file]{width:100%;min-width:0}.pw header label{min-width:0;max-width:100%}.pw select{max-width:100%}
 .tabs,.tabbar{display:flex;flex-wrap:wrap!important;gap:6px!important}.topbar,.app-header,.main-header{flex-wrap:wrap!important;height:auto!important;max-width:100%;min-width:0}.topbar>*{min-width:0}
 .modal,.modal-content,dialog{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;box-sizing:border-box;overflow:auto}.modal-content,dialog{width:min(640px,calc(100vw - 24px))}
}
@media(max-width:600px){
 .navbar .nav-brand{font-size:12px;min-width:0;flex:1}.nav-brand .logo-icon{width:28px;height:28px;flex:none}.ws-lang select{max-width:78px}.navbar .header-search,.navbar .assist-trigger{min-width:36px;width:36px;padding:7px}
 html[data-people-module] main{padding:10px!important;max-width:100%;box-sizing:border-box}html[data-people-module] .grid,html[data-people-module] .grid3{grid-template-columns:minmax(0,1fr)!important}
 .form-grid,.form-grid3,.pw-fields{grid-template-columns:minmax(0,1fr)!important}.mrf-form .form-grid,.mrf-form .form-grid3{grid-template-columns:repeat(12,minmax(0,1fr))!important}.mrf-form .form-grid>.fg,.mrf-form .form-grid3>.fg,.mrf-form .mrf-justification>.fg{grid-column:1/-1!important}
 .form-actions{display:flex;flex-wrap:wrap!important;gap:8px}.form-actions .btn{flex:1 1 130px}.pw>header{gap:10px}.pw>header label{flex:1 1 130px}.pw{padding:12px}.pw nav{gap:6px}
 .people-hero h2{font-size:24px}.focus-row{grid-template-columns:minmax(0,1fr) auto 14px}.focus-row>*{min-width:0}.people-date-picker{max-width:100%}.op-stage{gap:10px;padding:12px}.op-edit-step{gap:8px}.op-edit-step strong{flex-basis:100%}
}
