/* Point 3 : style des écrans de gestion, en conservant bleu et bordeaux Poro Habitat. */
.officeMain:not(.poroDashboardStep2){font-size:13px;line-height:1.42;color:#20303d}
.officeMain:not(.poroDashboardStep2) .officeTop{margin-bottom:16px}
.officeMain:not(.poroDashboardStep2) .officeTop h1{font-size:clamp(23px,2.2vw,29px);line-height:1.16;letter-spacing:-.025em}
.officeMain:not(.poroDashboardStep2) .officePanel{padding:17px 20px;margin-bottom:12px;border-radius:10px;border-color:#dfdfda;box-shadow:0 1px 4px #1a30400b}
.officeMain:not(.poroDashboardStep2) .officePanel h2{font-size:16px;line-height:1.25;margin:0 0 10px;color:#223340}
.officeMain:not(.poroDashboardStep2) .officePanel h3{font-size:14px;margin:13px 0 6px}
.officeMain:not(.poroDashboardStep2) .officePanel p{line-height:1.45;margin:5px 0 10px}
.officeMain:not(.poroDashboardStep2) label{font-size:11px;line-height:1.3}
.officeMain:not(.poroDashboardStep2) input,.officeMain:not(.poroDashboardStep2) select,.officeMain:not(.poroDashboardStep2) textarea{font-size:12px;padding:8px 10px;border-radius:6px;max-width:100%}
.officeMain:not(.poroDashboardStep2) button{font-size:12px;padding:8px 11px;border-radius:6px}
.officeMain:not(.poroDashboardStep2) .officeTools{margin-bottom:12px;gap:10px}
.officeMain:not(.poroDashboardStep2) .officeListItem{padding:10px 5px;border-color:#e7e7e2}
.officeMain:not(.poroDashboardStep2) .officeListItem strong{font-size:12px}
.officeMain:not(.poroDashboardStep2) .officeListItem small{font-size:10px;color:#74818a}
.officeMain.poroUiPoint3{background:#f5f4f1}
.poroUiPoint3 .poroSectionBanner{background:#fff;border:1px solid #dfdfda;border-radius:9px;padding:16px 20px;margin:0 0 12px}
.poroUiPoint3 .poroSectionEyebrow{display:block;font-size:9px;font-weight:800;letter-spacing:.12em;color:#7b293e;margin:0 0 7px}
.poroUiPoint3 .poroSectionBanner h2{font-size:19px;line-height:1.2;margin:0 0 4px;letter-spacing:-.025em;color:#213443}
.poroUiPoint3 .poroSectionBanner p{font-size:11px;color:#687a81;margin:0}
.poroUiPoint3 .officeColumns{gap:12px;grid-template-columns:minmax(270px,.95fr) minmax(0,1.5fr)}
.poroUiPoint3 .officeForm{gap:10px}
.poroUiPoint3 .officeFormGrid{gap:9px}
.poroUiPoint3 .officeForm small{font-size:10px}
.poroUiPoint3 .officePanel.officeForm > form > button + small{display:block;margin-top:8px}
.poroUiPoint3 .officePanel .officeNotice{padding:9px 12px;font-size:11px}
.poroUiPoint3 .poroListHead{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:12px;background:#f1eee8;border:1px solid #e2e0da;border-radius:5px 5px 0 0;padding:10px 12px;font-size:9px;font-weight:800;letter-spacing:.04em;color:#65747a}
.poroUiPoint3 .poroPanel-directory .officeColumns{display:block}
.poroUiPoint3 .poroPanel-directory .officeListItem{display:block;margin:0;border-bottom:1px solid #e6e5e1}
.poroUiPoint3 .poroPanel-directory .officeListItem>div{display:grid;grid-template-columns:36px 1fr 1fr 1.3fr;gap:8px 12px;align-items:center;min-height:42px}
.poroUiPoint3 .poroPanel-directory .officeListItem .officeAvatar{grid-column:1;grid-row:1/3;width:31px;height:31px;font-size:12px}
.poroUiPoint3 .poroPanel-directory .officeListItem strong{grid-column:2;grid-row:1/3}
.poroUiPoint3 .poroPanel-directory .officeListItem p{grid-column:3;grid-row:1/3;font-size:11px;color:#43545b}
.poroUiPoint3 .poroPanel-directory .officeListItem small{grid-column:4;grid-row:1/3;overflow-wrap:anywhere}
.poroUiPoint3 .poroPanel-directory .poroListHead{grid-template-columns:calc(36px + 12px + (100% - 36px - 36px)/3) 1fr 1.3fr}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm{display:block;margin:0;border-bottom:1px solid #e6e5e1;padding:10px 12px}
.poroUiPoint3 .poroPanel-accounts .poroListHead{grid-template-columns:minmax(0,1fr) minmax(170px,.55fr) 105px}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.55fr) 105px;align-items:center;gap:6px 12px}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm strong{grid-column:1;font-size:12px;overflow-wrap:anywhere}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm small{grid-column:2;font-size:10px}
.poroUiPoint3 .poroPanel-accounts .poroActive small{color:#08765a;font-weight:800}
.poroUiPoint3 .poroPanel-accounts .poroInactive small{color:#b13a4b;font-weight:800}
.poroUiPoint3 .poroPanel-accounts .poroActive>div>small,.poroUiPoint3 .poroPanel-accounts .poroInactive>div>small{justify-self:start;border-radius:12px;padding:3px 7px;background:#e7f3ed}
.poroUiPoint3 .poroPanel-accounts .poroInactive>div>small{background:#fce9eb}
.poroUiPoint3 .poroPanel-accounts .poroEditToggle{grid-column:3;grid-row:1;background:#f0f2ee!important;color:#245862!important;border:1px solid #cfdfdd!important}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm:not(.poroEditing) .officeFormGrid,.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm:not(.poroEditing) button:not(.poroEditToggle){display:none}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm.poroEditing .officeFormGrid{grid-column:1/-1;grid-row:3;padding:10px 0;border-top:1px solid #e7e9e6}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm.poroEditing button:not(.poroEditToggle){grid-row:4;justify-self:start}
.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm p{grid-column:1/-1;font-size:11px;margin:0;color:#66767d}
.poroUiPoint3 .poroPanel-receipts article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 14px;border:0;border-bottom:1px solid #e8e8e3;border-radius:0;padding:10px 2px;margin:0;background:transparent}
.poroUiPoint3 .poroPanel-receipts article strong{grid-column:1;font-size:12px}
.poroUiPoint3 .poroPanel-receipts article p{grid-column:1;margin:0;font-size:11px;color:#596b72}
.poroUiPoint3 .poroPanel-receipts article a{grid-column:2;grid-row:1/3;color:#146a71;font-size:11px;font-weight:800;text-decoration:none;white-space:normal}
.poroUiPoint3 .poroPanel-payouts,.poroUiPoint3 .poroPanel-receipts{border-top:2px solid #1b7881}
.poroUiPoint3 .poroPanel-month,.poroUiPoint3 .poroPanel-leaveQueue,.poroUiPoint3 .poroPanel-leaveHistory,.poroUiPoint3 .poroPanel-taskHistory{min-height:120px}
.poroUiPoint3 .poroPanel-month>.officeListItem,.poroUiPoint3 .poroPanel-leaveQueue>.officeListItem,.poroUiPoint3 .poroPanel-leaveHistory>.officeListItem,.poroUiPoint3 .poroPanel-taskHistory>.officeListItem{border-bottom:1px solid #e4e5df;padding:10px 6px}
.poroUiPoint3 .poroPanel-leaveQueue{border-top:2px solid #8d203c}
.poroUiPoint3 .poroPanel-leaveHistory{border-top:2px solid #237a67}
.poroUiPoint3 .poroPanel-month{border-top:2px solid #1b7881}
.poroUiPoint3 .poroPanel-taskHistory{border-top:2px solid #d2a94d}
.poroUiPoint3 .officePanel:has(> p:first-of-type):not(.officeForm)>p:only-of-type{font-size:11px;color:#6c7b82}
@media(max-width:850px){.poroUiPoint3 .officeColumns{grid-template-columns:1fr}.poroUiPoint3 .poroPanel-directory .officeListItem>div{grid-template-columns:34px 1fr 1fr}.poroUiPoint3 .poroPanel-directory .officeListItem small{grid-column:2/-1;grid-row:3}.poroUiPoint3 .poroPanel-directory .poroListHead{display:none}}
@media(max-width:650px){.officeMain:not(.poroDashboardStep2) .officePanel{padding:14px}.poroUiPoint3 .poroSectionBanner{padding:14px}.poroUiPoint3 .poroPanel-accounts .poroListHead{display:none}.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm>div{grid-template-columns:minmax(0,1fr) auto}.poroUiPoint3 .poroPanel-accounts .officeListItem.officeForm small{grid-column:1;grid-row:2}.poroUiPoint3 .poroPanel-accounts .poroEditToggle{grid-column:2;grid-row:1/3}.poroUiPoint3 .poroPanel-receipts article{grid-template-columns:1fr}.poroUiPoint3 .poroPanel-receipts article a{grid-column:1;grid-row:3}}
@media print{.poroUiPoint3 .poroSectionBanner{border:0;padding:0}.poroUiPoint3 .poroEditToggle{display:none}}

/* Point 4 : disposition du module Personnel et paie selon le modèle fourni. */
.poroPersonnelPay .poroSectionBanner{padding:18px 20px;margin:0 0 13px}
.poroPersonnelPay .poroSectionBanner h2{font-size:20px}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child){grid-template-columns:minmax(0,1.75fr) minmax(290px,1fr);gap:12px;align-items:start}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child{grid-column:1;grid-row:1/3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;align-content:start}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child > h2{grid-column:1/-1;margin:0 0 3px}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child > label:first-of-type{grid-column:1/-1}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child > button{grid-column:1/-1;justify-self:start;min-width:145px}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > div{grid-column:2;grid-row:1;min-width:0}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:nth-child(3){grid-column:2;grid-row:2}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) .officePanel{min-width:0}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) .officePanel label{min-width:0}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) .officePanel input,.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) .officePanel select{width:100%;box-sizing:border-box}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child{border-top:2px solid #87253d}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > div > .officePanel{border-top:2px solid #294a7f}
.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:nth-child(3){border-top:2px solid #28756a}
.poroPersonnelPay .officePanel.personnelZone:not(.officeForm) > .officeListItem{border-bottom:1px solid #e2e6e5;padding:11px 3px}
.poroPersonnelPay .officePanel.personnelZone:not(.officeForm) > .officeListItem strong{color:#213446}
@media(max-width:1000px){.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child){grid-template-columns:1fr}.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child,.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > div,.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:nth-child(3){grid-column:1;grid-row:auto}}
@media(max-width:580px){.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child{grid-template-columns:1fr}.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child > h2,.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child > label:first-of-type,.poroPersonnelPay .officeColumns:has(> .personnelZone:first-child) > .officePanel:first-child > button{grid-column:1}}

.poroPersonnelPay .poroPaySearch{display:block;margin:0 0 12px;color:#536473;font-weight:700}
.poroPersonnelPay .poroPaySearch input{display:block;margin-top:5px;width:min(100%,380px);background:#fff}
.poroPersonnelPay .officeReport table{width:100%;border-collapse:collapse;font-size:11px}
.poroPersonnelPay .officeReport th{background:#efede8;color:#56636b;font-size:10px;text-transform:uppercase;letter-spacing:.025em;text-align:left}
.poroPersonnelPay .officeReport th,.poroPersonnelPay .officeReport td{padding:10px 8px;border-bottom:1px solid #e4e6e3;vertical-align:top}
.poroPersonnelPay .officeReport tbody tr[hidden]{display:none}
.poroPersonnelPay .officeReport a[href^="/api/hr/payslip?id="]{display:inline-block;margin-top:5px;color:#195d75;font-weight:700}
@media(max-width:850px){.poroPersonnelPay .officeReport{overflow-x:auto}.poroPersonnelPay .officeReport table{min-width:740px}}

.poroPersonnelPay .poroEntityChoice{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;margin:0;padding:8px 11px;border:1px solid #d8dee0;border-radius:6px;background:#fafbfa}
.poroPersonnelPay .poroEntityChoice legend{font-size:11px;font-weight:800;color:#465763;padding:0 5px}
.poroPersonnelPay .poroEntityChoice label{display:inline-flex;align-items:center;gap:5px;font-weight:700;white-space:nowrap}
.poroPersonnelPay .poroEntityChoice input[type=radio]{width:auto;margin:0;accent-color:#84273c}
.poroPersonnelPay .poroEntityChoice small{flex-basis:100%;color:#736d65}
