.workspace.has-employee{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden}.workspace.has-employee>.rail{grid-column:1;grid-row:1;min-height:0;overflow-y:auto}.workspace.has-employee>.employee-panel{grid-column:2;grid-row:1}
.employee-panel{height:100%;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px clamp(16px,3vw,42px) 60px;background:#f5f7fb;color:#172b46;font-family:inherit;scroll-padding-bottom:100px}
.employee-panel *{box-sizing:border-box}.eh-header{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1120px;margin:0 auto 22px}.eh-header h1{font-size:25px;margin:5px 0}.eh-eyebrow{font-size:12px;letter-spacing:.12em;color:#71839e;margin:0}.eh-body{border:0;padding:0;margin:0 auto;max-width:1120px;min-width:0}.eh-tabs{display:flex;gap:6px;background:#e8edf5;border-radius:12px;padding:5px;margin-bottom:22px}.eh-tabs .eh-button{flex:1;background:transparent;border:0}.eh-tabs [aria-current=page]{background:#326bd5;color:white;box-shadow:0 3px 9px #15366c22}.eh-button{font:inherit;border:1px solid #cbd6e4;border-radius:9px;padding:10px 16px;background:white;color:#244469;cursor:pointer;min-height:42px}.eh-button.primary{background:#326bd5;color:#fff;border-color:#326bd5}.eh-button:disabled,fieldset:disabled .eh-button{opacity:.55;cursor:wait}.eh-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 20px}.eh-field{display:flex;flex-direction:column;min-width:0;gap:7px;font-size:13px;font-weight:500}.eh-field input,.eh-field select,.employee-panel textarea{font:inherit;font-size:16px;width:100%;max-width:100%;min-width:0;border:1px solid #cbd6e4;border-radius:8px;padding:10px;color:#223b59;background:#fff;min-height:44px}.employee-panel textarea{resize:vertical;line-height:1.55}.eh-card{background:white;border:1px solid #dce4ee;border-radius:15px;padding:22px;margin:0 0 20px;min-width:0}.eh-card h2{font-size:20px;margin:0 0 15px}.eh-card h3{font-size:16px}.eh-card-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.eh-card-title .eh-field{max-width:210px}.eh-card-title h2{margin:0}.eh-notice{border-radius:8px;background:#edf3fb;color:#405977;padding:12px 15px;font-size:14px;line-height:1.55;white-space:pre-wrap}.eh-notice.error{background:#fff0ec;color:#9f352a}.eh-row{display:grid;grid-template-columns:68px minmax(160px,.75fr) minmax(180px,1.4fr);gap:13px;align-items:center;padding:14px 0;border-top:1px solid #e8edf4}.eh-row strong{font-size:14px}.eh-row>.eh-field:last-child:nth-child(4){grid-column:2/4;max-width:240px}.eh-row .eh-field>span{font-size:11px;color:#79869b}.eh-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.eh-totals{padding:14px 0;font-weight:600}.eh-summary{margin-top:28px;border-top:1px solid #dce4ee;padding-top:10px}.eh-summary>p,.eh-help{font-size:13px;color:#78879b;line-height:1.6}.eh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.eh-stats>div{display:flex;flex-direction:column;gap:7px;background:#f4f7fc;border-radius:9px;padding:13px}.eh-stats span{font-size:12px;color:#72849a}.eh-stats strong{font-size:21px}.employee-panel summary{cursor:pointer;padding:8px 0;font-weight:600}.employee-panel details>details,.eh-history{margin-top:15px}.employee-panel pre,.eh-pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-family:inherit;font-size:14px}.eh-note{border-top:1px solid #e5ebf2;padding:15px 0}.eh-note:last-child{padding-bottom:0}.eh-report{margin-top:15px;background:#f9fbfe!important}.eh-check{display:flex;align-items:center;gap:10px;font-size:14px;margin:10px 0 14px}.eh-check input{width:19px;height:19px}.employee-panel :focus-visible{outline:3px solid #9fbaf1;outline-offset:2px}
@media(max-width:760px){.workspace.has-employee{grid-template-columns:64px minmax(0,1fr)}.employee-panel{padding:18px 12px 90px}.eh-header{align-items:flex-start;flex-direction:column;gap:10px}.eh-header h1{font-size:22px}.eh-header>.eh-button{font-size:13px;min-height:36px;padding:6px 12px}.eh-card{padding:15px}.eh-controls{gap:12px;grid-template-columns:minmax(0,1fr)}.eh-tabs{gap:2px}.eh-tabs .eh-button{padding:10px 5px;font-size:12px;white-space:normal}.eh-card-title{align-items:flex-start;flex-direction:column}.eh-card-title .eh-field{width:100%;max-width:none}.eh-row{grid-template-columns:1fr;gap:8px;padding:16px 0}.eh-row strong{background:#edf3fc;border-radius:5px;padding:5px 9px;justify-self:start}.eh-row>.eh-field:last-child:nth-child(4){grid-column:auto;max-width:none}.eh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-actions{flex-direction:column}.eh-actions .eh-button{width:100%}}

@media(max-width:760px),(max-width:1000px) and (pointer:coarse){.workspace.has-employee{display:grid;grid-template-columns:60px minmax(0,1fr)}.workspace.has-employee>.rail{display:flex;flex-direction:column;width:60px;max-width:60px;gap:5px;padding:10px 4px}.has-employee .rail-action{width:52px;min-width:0;font-size:10px}.has-employee .rail-profile{width:40px}.has-employee .brand-mark{width:38px;height:38px}.has-employee .rail-caption{display:none}.employee-panel input,.employee-panel textarea,.employee-panel select{scroll-margin-block:20px}}

/* Shared acknowledgement state: preserve text labels as well as colour. */
.eh-handover.is-unconfirmed .eh-pre,.eh-handover.is-unconfirmed .eh-acknowledgements{color:#bd2026;font-weight:600}
.eh-handover.is-confirmed .eh-pre,.eh-handover.is-confirmed .eh-acknowledgements{color:#111}
.eh-acknowledgements{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.eh-handover-editor{margin-top:16px}.eh-handover-editor>.eh-field{margin:14px 0}.eh-handover-editor>.eh-button{margin-top:6px}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){.rail-employee{flex-shrink:0}.eh-handover .eh-button{width:100%}.eh-handover-editor>.eh-button{width:100%}}

.eh-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#d32f39;color:#fff;font-size:11px;font-weight:700;line-height:1;margin-left:6px;vertical-align:middle;flex-shrink:0}.eh-unread-badge[hidden]{display:none!important}.rail-employee{position:relative}.rail-employee>.eh-unread-badge{position:absolute;top:4px;right:3px;margin:0;min-width:19px;height:19px;border:2px solid #203753}.eh-tabs .eh-unread-badge{min-width:17px;height:17px;padding:0 4px;font-size:10px}.eh-card h2>.eh-unread-badge{margin-left:9px}

.eh-handover-status{font:inherit;font-size:12px;line-height:1.6;padding:10px 12px;border:1px solid #dce4ee;border-radius:9px;background:#f2f5fa;color:#52657c;white-space:normal;overflow-wrap:anywhere;text-align:left}.eh-handover-status.has-unread{background:#fff0f1;border-color:#efb7bc;color:#ad2332;font-weight:600}.eh-handover-shortcut{margin:4px 14px 0;cursor:pointer;flex-shrink:0;min-height:44px}.eh-sent-history{margin-top:18px}
