/* Entirely scoped to Employee Records; the host owns navigation and routing. */
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog),#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog) *{box-sizing:border-box;font-family:"Segoe UI",sans-serif;letter-spacing:0;text-shadow:none}
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog){color:#e4f0f7;font-size:12px;line-height:1.4}
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog) :is(h2,h3,h4,p,dl,dt,dd,label,table,thead,tbody,tr,td,th,button,input,select,footer,header){margin:0}
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog) :is(button,input,select){font:inherit;color:inherit;letter-spacing:0}
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog) button{cursor:pointer;text-align:left;background:none;border:0;padding:0;box-shadow:none;outline-offset:3px;min-height:0;text-transform:none}
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog) button:hover{filter:none;color:#fff1c9}
#detail :is(.hrm-records-frame,.hrm-records-reference,.hrm-records-dialog) :is(button,input,select,[tabindex]):focus-visible{outline:2px solid #f5d48b;outline-offset:1px}
#detail :is(.hrm-records-frame,.hrm-records-reference){display:block;width:100%;min-width:0;position:relative;overflow:hidden;background:radial-gradient(ellipse at 44% 16%,#07334955,transparent 55%),#001621;--er-scale:1;--er-motion:paused}
#detail :is(.hrm-records-frame,.hrm-records-reference)[hidden]{display:none}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-board{position:relative;isolation:isolate;width:1280px;height:560px;padding:8px 15px 0;zoom:var(--er-scale);margin:0 auto;color:#e4f0f7;font:11px/1.4 "Segoe UI",sans-serif;overflow:hidden}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-title{font:600 26px/34px "Segoe UI",sans-serif;color:#e8eff5;padding:0;border:0}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-icon{display:inline-block;flex:none;vertical-align:middle;width:20px;height:20px;overflow:visible}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-green{color:#7ed391}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-gold{color:#e9bc61}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-orange{color:#e4a651}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-blue{color:#74d4fa}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-red{color:#f27b7c}
#detail .hrm-records-frame .er-heading{display:flex;align-items:center;justify-content:flex-start;gap:14px;height:34px;margin-bottom:6px}
#detail .hrm-records-frame .er-sample{font-size:8px;font-weight:400;color:#c1eafd;background:#07405a;border:1px solid #18637c;border-radius:14px;padding:3px 10px}
#detail .hrm-records-frame .er-card{border:1px solid #20566a;border-radius:6px;background:linear-gradient(125deg,#06324866,#001a2888 65%);box-shadow:inset 0 0 11px #1b667022,0 0 3px #3ba1bb22;overflow:hidden}
#detail .hrm-records-frame h3{font-size:14px;font-weight:600;line-height:22px;color:#eaf2f7}
#detail .hrm-records-frame .er-top-grid{display:grid;grid-template-columns:770px 470px;gap:10px;height:348px}
#detail .hrm-records-frame .er-left{display:grid;grid-template-rows:74px 266px;gap:8px;min-width:0}
#detail .hrm-records-frame .er-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
#detail .hrm-records-frame .er-kpi{display:flex;align-items:center;gap:14px;padding:8px 10px;position:relative;width:100%;height:74px}
#detail .hrm-records-frame .er-kpi:after{content:"";position:absolute;right:-24px;top:2px;width:76px;height:76px;border:1px solid #79bedb0b;border-radius:50%}
#detail .hrm-records-frame .er-kpi-icon{width:44px;height:52px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(ellipse,#16779f44,#0b2d3811)}
#detail .hrm-records-frame .er-kpi-icon .er-icon{width:34px;height:34px;stroke-width:1.7}
#detail .hrm-records-frame .er-kpi small{display:block;font-size:9px;white-space:nowrap;color:#e2edf3}
#detail .hrm-records-frame .er-kpi strong{display:block;font-size:21px;font-weight:650;line-height:25px;color:#f4f6fa}
#detail .hrm-records-frame .er-kpi em{display:block;font-style:normal;font-size:8px;color:#c8d4dd;white-space:nowrap}
#detail .hrm-records-frame .er-roster{padding:0 10px 9px}
#detail .hrm-records-frame .er-roster-toolbar{height:42px;display:flex;align-items:center;gap:9px;white-space:nowrap}
#detail .hrm-records-frame .er-roster-toolbar h3{margin-right:auto}
#detail .hrm-records-frame .er-roster-toolbar label{display:flex;align-items:center;gap:5px;font-size:8px;font-weight:400;line-height:16px}
#detail .hrm-records-frame :is(select,input){border:1px solid #2b5e73;border-radius:6px;outline-offset:0;background:#032333;color:#dce8ef;height:23px;padding:2px 7px;box-shadow:inset 0 0 9px #244e5d44}
#detail .hrm-records-frame select{font-size:8px;padding-right:2px;width:72px}
#detail .hrm-records-frame [data-er-filter=status]{width:88px}
#detail .hrm-records-frame .er-search{position:relative}
#detail .hrm-records-frame .er-search input{width:169px;padding-left:20px;font-size:8px}
#detail .hrm-records-frame .er-search .er-icon{position:absolute;left:6px;width:10px;height:10px;color:#c6dae2}
#detail .hrm-records-frame input::placeholder{color:#9bb4c1}
#detail .hrm-records-frame table{border-spacing:0;border-collapse:separate;table-layout:fixed;width:100%;font-size:10px;color:#e5eff5}
#detail .hrm-records-frame th{text-align:left;background:#07364d;font-size:10px;font-weight:500;line-height:13px;height:27px;padding:3px 9px;border-top:1px solid #225368;border-right:1px solid #23596c55}
#detail .hrm-records-frame th:first-child{border-top-left-radius:6px}
#detail .hrm-records-frame th:last-child{border-top-right-radius:6px;border-right:0}
#detail .hrm-records-frame td{height:31px;padding:2px 9px;border-bottom:1px solid #18435466;line-height:13px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#detail .hrm-records-frame .er-employee-table td:nth-child(4){padding-left:5px;padding-right:3px;font-size:9.8px}
#detail .hrm-records-frame .er-employee-table td:nth-child(6){font-size:9.5px;padding-left:5px;padding-right:2px}
#detail .hrm-records-frame .er-employee-table :is(td,th):nth-child(2){padding-left:2px}
#detail .hrm-records-frame .er-employee-table tr[aria-selected=true]{background:#16405833}
#detail .hrm-records-frame .er-employee-table tr[data-er-employee]{cursor:pointer}
#detail .hrm-records-frame .er-employee-table tr[data-er-employee]:hover{background:#21556c55}
#detail .hrm-records-frame .er-avatar{display:block;width:25px;height:25px;flex:none}
#detail .hrm-records-frame .er-person-cell{display:flex;gap:6px;align-items:center}
#detail .hrm-records-frame .er-badge{display:inline-flex;gap:3px;align-items:center;font-size:9px;line-height:12px;padding:2px 6px;border:1px solid #518b5577;background:#174a3044;border-radius:12px;white-space:nowrap;font-style:normal}
#detail .hrm-records-frame .er-badge.er-gold{border-color:#a3864977;background:#7e5d2744;color:#f0d394}
#detail .hrm-records-frame .er-badge.er-red{border-color:#a3535866;background:#6f2d3b77;color:#f0b9bc}
#detail .hrm-records-frame .er-badge .er-icon{width:9px;height:9px;stroke-width:2}
#detail .hrm-records-frame .er-more{width:20px;text-align:center;font-size:18px;line-height:20px;color:#a8c3d2}
#detail .hrm-records-frame .er-employee-table td:last-child{padding:0;text-align:center}
#detail .hrm-records-frame .er-detail{position:relative;padding:0 9px}
#detail .hrm-records-frame .er-detail-header{display:flex;align-items:center;justify-content:space-between;height:41px;padding:0 3px}
#detail .hrm-records-frame .er-detail-header [role=tablist]{display:flex;align-self:stretch;align-items:stretch;gap:14px}
#detail .hrm-records-frame .er-detail-header button{font-size:10px;padding:0 4px;white-space:nowrap;position:relative;color:#dce6ef}
#detail .hrm-records-frame .er-detail-header button[aria-selected=true]{color:#f6d386}
#detail .hrm-records-frame .er-detail-header button[aria-selected=true]:after{content:"";position:absolute;bottom:8px;height:1px;left:0;right:0;background:#f3ca75;box-shadow:0 0 4px #edc86d88}
#detail .hrm-records-frame .er-detail-content{display:grid;grid-template-columns:43% 57%;height:254px;border:1px solid #20546a;border-radius:7px;background:linear-gradient(120deg,#0a395066,transparent)}
#detail .hrm-records-frame .er-profile-summary{padding:17px 10px 5px 12px;min-width:0}
#detail .hrm-records-frame .er-identity{display:flex;gap:12px;align-items:center;margin-bottom:10px}
#detail .hrm-records-frame .er-avatar.er-large{width:61px;height:61px}
#detail .hrm-records-frame .er-identity strong{display:block;font-size:13px;font-weight:600;line-height:20px;white-space:nowrap}
#detail .hrm-records-frame .er-identity .er-badge{margin-top:2px;padding:2px 8px;font-size:8px;color:#a9e7ad}
#detail .hrm-records-frame .er-profile-fields{display:grid;gap:8px}
#detail .hrm-records-frame .er-field span:first-child{display:block;font-size:10px;color:#cbd7e1;line-height:13px}
#detail .hrm-records-frame .er-field strong{font-size:11px;line-height:15px;font-weight:500;display:inline-block;white-space:nowrap}
#detail .hrm-records-frame .er-field:last-child strong{font-size:9.5px}
#detail .hrm-records-frame .er-days{display:inline-flex;margin-left:4px;padding:2px 4px;border:1px solid #196c8d;background:#08415a;border-radius:10px;color:#a5def1;font-size:8px;white-space:nowrap}
#detail .hrm-records-frame .er-documents{margin:10px 9px 11px 5px;border:1px solid #104055;padding:8px 10px;border-radius:5px;min-width:0;background:#00233233}
#detail .hrm-records-frame .er-documents>span{font-size:10px}
#detail .hrm-records-frame .er-completeness{display:flex;align-items:center;gap:10px;margin:6px 0 12px}
#detail .hrm-records-frame .er-completeness>.er-icon{width:27px;height:27px;stroke-width:2;padding:4px;border:2px solid currentColor;border-radius:50%;box-shadow:0 0 12px #70bf4b44}
#detail .hrm-records-frame .er-completeness strong{display:block;font-size:12px;font-weight:500}
#detail .hrm-records-frame .er-completeness small{display:block;color:#c7d3dd;font-size:9px;white-space:nowrap;line-height:15px}
#detail .hrm-records-frame .er-doc-list-title{font-size:11px;color:#f2f5f7;margin-bottom:2px}
#detail .hrm-records-frame .er-doc-row{display:flex;align-items:center;gap:8px;width:100%;height:24px;text-align:left;border-bottom:1px solid #17415444;font-size:9px;color:#dde9f0}
#detail .hrm-records-frame .er-doc-row>.er-icon{width:12px;height:14px}
#detail .hrm-records-frame .er-doc-row>span{white-space:nowrap}
#detail .hrm-records-frame .er-doc-row .er-badge{font-size:8px;line-height:10px;padding:1px 8px;margin-left:auto}
#detail .hrm-records-frame .er-access-strip{position:absolute;left:9px;right:9px;bottom:2px;height:44px;display:flex;align-items:center;gap:10px;padding:4px 10px;border:1px solid #235b70;border-radius:6px;background:linear-gradient(110deg,#06344a66,#001b2b88)}
#detail .hrm-records-frame .er-access-strip>.er-icon{width:22px;height:25px;color:#efc467;stroke-width:2.3}
#detail .hrm-records-frame .er-access-strip strong{display:block;color:#f5db99;font-size:10px;font-weight:500}
#detail .hrm-records-frame .er-access-strip small{display:block;font-size:7.5px;color:#bdcfda;white-space:nowrap}
#detail .hrm-records-frame .er-outline-gold{margin-left:auto;flex:none;border:1px solid #bc9954;border-radius:5px;padding:5px 10px;color:#efd292;font-size:9px}
#detail .hrm-records-frame .er-bottom-grid{height:138px;display:grid;grid-template-columns:630px 610px;gap:10px;margin-top:8px}
#detail .hrm-records-frame .er-organisation{position:relative;padding:6px 13px}
#detail .hrm-records-frame .er-org-chart{position:absolute;inset:0}
#detail .hrm-records-frame .er-org-lines{position:absolute;inset:0;width:630px;height:120px;top:5px;pointer-events:none}
#detail .hrm-records-frame .er-org-total{position:absolute;left:249px;top:11px;width:157px;height:40px;border:1px solid #1d5b75;border-radius:5px;display:flex;gap:14px;align-items:center;justify-content:center;background:linear-gradient(110deg,#06354d,#032b3e);font-size:9px}
#detail .hrm-records-frame .er-org-total>.er-icon{width:27px;height:27px;color:#8ddaff}
#detail .hrm-records-frame .er-org-total strong{display:block;font-size:16px;font-weight:600;line-height:18px;color:#f0d28e}
#detail .hrm-records-frame .er-dept{position:absolute;top:73px;left:39px;width:164px;height:54px;display:flex;align-items:center;gap:16px;padding:6px 16px;border:1px solid #24627c;border-radius:7px;background:linear-gradient(120deg,#0a4059,#022a3e);font-size:9px;color:#dbe9f2}
#detail .hrm-records-frame .er-dept:nth-of-type(3){left:236px;width:174px}
#detail .hrm-records-frame .er-dept:nth-of-type(4){left:442px;width:154px}
#detail .hrm-records-frame .er-dept>.er-icon{width:30px;height:30px;color:#6ccfff;stroke-width:2}
#detail .hrm-records-frame .er-dept strong{display:block;line-height:18px;font-size:16px;font-weight:600;color:#f4f5f7}
#detail .hrm-records-frame .er-dept small{display:block;font-size:8px;white-space:nowrap;color:#c2d8e2}
#detail .hrm-records-frame .er-task-card{padding:4px 9px 5px}
#detail .hrm-records-frame .er-task-card>header{height:26px;display:flex;align-items:center;justify-content:space-between}
#detail .hrm-records-frame .er-link{font-size:8px;color:#b8e6f6}
#detail .hrm-records-frame .er-task-table{font-size:8px}
#detail .hrm-records-frame .er-task-table th{height:22px;font-size:8px;padding:2px 8px}
#detail .hrm-records-frame .er-task-table td{height:26px;font-size:8px;padding:2px 8px}
#detail .hrm-records-frame .er-task-table :is(td,th):last-child{padding:0;text-align:center}
#detail .hrm-records-frame .er-task-table th:nth-child(1){width:21%}
#detail .hrm-records-frame .er-task-table th:nth-child(2){width:30%}
#detail .hrm-records-frame .er-task-table th:nth-child(3){width:12%}
#detail .hrm-records-frame .er-task-table th:nth-child(4){width:16%}
#detail .hrm-records-frame .er-task-table th:nth-child(5){width:17%}
#detail .hrm-records-frame .er-task-table th:nth-child(6){width:4%}
#detail .hrm-records-frame .er-task-type{display:flex;align-items:center;gap:7px}
#detail .hrm-records-frame .er-task-type>span{color:#dde8ee;white-space:nowrap}
#detail .hrm-records-frame .er-task-type>.er-icon{width:13px;height:15px;stroke-width:2}
#detail .hrm-records-frame .er-task-table .er-badge{font-size:7px;line-height:11px;min-width:66px;justify-content:center;padding:1px 6px}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-footer{display:flex;justify-content:space-between;align-items:center;color:#a5bcc7;height:17px;font-size:7px;line-height:12px;padding:0 6px;font-weight:400}
#detail :is(.hrm-records-frame,.hrm-records-reference) .er-empty{white-space:normal;text-align:center;padding:16px;line-height:20px;color:#b7d4e4}
#detail .hrm-records-frame .er-profile-empty{grid-column:1/-1;align-self:center}
/* Story composition: original props under native type and working HTML controls. */
#detail .hrm-records-reference .er-story{background:radial-gradient(ellipse at var(--er-light-x,48%) 31%,#0b486250,transparent 54%)}
#detail .hrm-records-reference .er-story-heading{display:block;text-align:center;height:54px;padding:0;width:100%}
#detail .hrm-records-reference .er-story-heading p{font-size:13px;line-height:20px;color:#bccbd5}
#detail .hrm-records-reference .er-story-scene{position:relative;height:302px}
#detail .hrm-records-reference .er-scene-lines{position:absolute;inset:0;width:1252px;height:302px;pointer-events:none}
#detail .hrm-records-reference .er-glass{border:1px solid #4b91a5;border-radius:6px;background:linear-gradient(124deg,#0b3c4e99,#001a2788 65%);box-shadow:inset 3px 1px 5px #a2edf522,inset -1px -2px 5px #134b5f66,0 6px 14px #00101988;position:absolute}
#detail .hrm-records-reference h3{font-size:10px;font-weight:500;line-height:18px;color:#eaf3f6}
#detail .hrm-records-reference .er-personnel-prop{position:absolute;left:0;top:7px;width:270px;height:289px}
#detail .hrm-records-reference .er-personnel-prop>img{width:270px;height:275px;object-fit:contain;display:block;position:absolute;left:0;top:6px}
#detail .hrm-records-reference .er-paper-label{position:absolute;color:#112f46;font-size:9px;font-weight:600;text-align:center;pointer-events:none}
#detail .hrm-records-reference .er-paper-one{top:33px;left:72px}
#detail .hrm-records-reference .er-paper-two{top:74px;left:131px;font-size:8px}
#detail .hrm-records-reference .er-paper-three{top:111px;left:157px;font-size:8px}
#detail .hrm-records-reference .er-front-folder{position:absolute;left:69px;top:163px;width:127px;height:71px;text-align:center;color:#f8d89a;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:5px}
#detail .hrm-records-reference .er-front-folder>.er-icon{width:33px;height:33px;stroke-width:.5;fill:currentColor}
#detail .hrm-records-reference .er-story-check{left:272px;top:54px;width:127px;height:130px;padding:8px 10px}
#detail .hrm-records-reference .er-story-check h3{font-size:9px;white-space:nowrap;margin-bottom:5px}
#detail .hrm-records-reference .er-check-row{display:flex;align-items:center;gap:6px;height:22px;width:100%;font-size:9px;white-space:nowrap}
#detail .hrm-records-reference .er-check-row>.er-icon{background:#57cce2;color:#0c536c;border-radius:50%;width:14px;height:14px;padding:2px;stroke-width:2.6}
#detail .hrm-records-reference .er-missing-flow{position:absolute;left:272px;top:192px;width:133px;height:66px;border:1px solid #a55c65;border-radius:6px;background:linear-gradient(120deg,#542c3655,#191f2f77);padding:8px 9px;display:flex;gap:8px;color:#ffaaa7;text-align:left;line-height:14px;font-size:9px}
#detail .hrm-records-reference .er-missing-flow>b{display:grid;place-items:center;width:18px;height:18px;flex:none;background:#fa737e;color:#3c2331;border-radius:50%;font-size:14px}
#detail .hrm-records-reference .er-missing-flow strong{display:block;font-size:8px;font-weight:400;color:#ffb8ae;white-space:nowrap}
#detail .hrm-records-reference .er-missing-flow small{display:block;font-size:8px;color:#ffb8ae}
#detail .hrm-records-reference .er-story-profile{left:423px;top:48px;width:248px;height:232px;border-radius:12px;padding:10px 12px;box-shadow:inset 3px 2px 6px #a6f4ff88,inset -2px -3px 6px #3bc3d844,-3px 2px 0 #0e6988,-5px 3px 0 #69d5ec66,0 10px 24px #1a97b333}
#detail .hrm-records-reference .er-story-profile:after{content:"";position:absolute;inset:4px;pointer-events:none;border:1px solid #76c2cc44;border-radius:9px}
#detail .hrm-records-reference .er-story-profile>h3{font-size:14px;font-weight:600;padding:0 4px 8px;border-bottom:1px solid #49899755}
#detail .hrm-records-reference .er-story-person{display:flex;gap:12px;align-items:center;margin:11px 0 10px}
#detail .hrm-records-reference .er-portrait{width:69px;height:98px;flex:none;border:1px solid #598da0;border-radius:7px;background:linear-gradient(140deg,#4c7788,#032638);overflow:hidden}
#detail .hrm-records-reference .er-portrait>img{width:69px;height:98px;object-fit:cover;object-position:center top;display:block}
#detail .hrm-records-reference .er-story-person dl{display:grid;grid-template-columns:42px 1fr;gap:12px 5px;font-size:7.8px;line-height:12px;min-width:0}
#detail .hrm-records-reference .er-story-person dt{color:#b3cdd9;font-size:7.8px;white-space:nowrap}
#detail .hrm-records-reference .er-story-person dd{font-size:7.8px;white-space:nowrap;color:#e9f3f8}
#detail .hrm-records-reference .er-story-person dd.er-green{color:#9bd8bf}
#detail .hrm-records-reference .er-profile-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
#detail .hrm-records-reference .er-profile-actions button{border:1px solid #377d91;border-radius:5px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;height:49px;color:#bbecf7;background:linear-gradient(135deg,#145a6e88,#052c3c);font-size:7.3px;line-height:11px;text-align:center}
#detail .hrm-records-reference .er-profile-actions button>.er-icon{width:19px;height:19px}
#detail .hrm-records-reference .er-story-org{left:696px;top:31px;width:144px;height:145px;padding:6px 8px}
#detail .hrm-records-reference .er-director{display:flex;align-items:center;justify-content:center;border:1px solid #407f96;border-radius:3px;width:86px;height:24px;margin:6px auto 0;font-size:7px;background:#0d4f6a}
#detail .hrm-records-reference .er-director>.er-icon{width:12px;height:12px;margin-right:4px;color:#8ae0f3}
#detail .hrm-records-reference .er-story-org>svg{position:absolute;left:7px;top:52px;width:128px;height:28px;pointer-events:none}
#detail .hrm-records-reference .er-story-units{display:flex;gap:4px;position:absolute;left:7px;right:7px;top:72px}
#detail .hrm-records-reference .er-story-units button{border:1px solid #2a7c96;border-radius:3px;background:#0b3c5099;display:flex;flex-direction:column;align-items:center;justify-content:center;width:40px;height:35px;font-size:5.8px;line-height:9px;text-align:center;white-space:nowrap}
#detail .hrm-records-reference .er-story-units .er-icon{width:14px;height:14px;color:#87e2f2}
#detail .hrm-records-reference .er-marketing{display:flex;align-items:center;gap:4px;position:absolute;top:113px;left:20px;border:1px solid #e4bf70;border-radius:3px;width:63px;height:25px;font-size:7px;line-height:9px;color:#ffe7b6;background:#a6833044;box-shadow:0 0 7px #d5b65e33}
#detail .hrm-records-reference .er-marketing>.er-icon{width:15px;height:15px;margin-left:5px;color:#8ce3ef}
#detail .hrm-records-reference .er-story-access{left:696px;top:184px;width:144px;height:107px;padding:6px 8px}
#detail .hrm-records-reference .er-story-access h3{margin-bottom:6px}
#detail .hrm-records-reference .er-access-shield{position:absolute;left:9px;top:37px;width:42px;height:48px;color:#f1cc78;stroke-width:2;filter:drop-shadow(0 0 8px #e0b75b44)}
#detail .hrm-records-reference .er-story-access>div{margin-left:54px;display:flex;flex-direction:column;gap:5px}
#detail .hrm-records-reference .er-story-access label{display:flex;gap:4px;align-items:center;font-size:7px;line-height:11px;white-space:nowrap;font-weight:400}
#detail .hrm-records-reference .er-story-access input{width:10px;height:10px;margin:0;accent-color:#7fe6f6}
#detail .hrm-records-reference .er-story-timeline{left:848px;top:62px;width:119px;height:211px;padding:6px 9px}
#detail .hrm-records-reference .er-story-timeline h3{font-size:9px;white-space:nowrap;margin-bottom:5px}
#detail .hrm-records-reference .er-timeline-row{height:59px;display:flex;align-items:flex-start;gap:8px;position:relative;font-size:8px;line-height:12px;color:#cde0e8;width:100%}
#detail .hrm-records-reference .er-timeline-row:not(:last-child):after{content:"";position:absolute;left:4px;top:14px;bottom:0;width:1px;background:#5cc8df77}
#detail .hrm-records-reference .er-timeline-dot{width:9px;height:9px;border:1px solid #a0efff;border-radius:50%;background:#43b6d4;flex:none;margin-top:4px;box-shadow:0 0 5px #7bd9eb88}
#detail .hrm-records-reference .er-timeline-row strong{display:block;font-size:8px;font-weight:400;line-height:13px;white-space:nowrap}
#detail .hrm-records-reference .er-timeline-row small{display:block;font-size:7.7px;line-height:12px;color:#bfceda}
#detail .hrm-records-reference .er-story-calendar{left:989px;top:21px;width:175px;height:211px;padding:8px 10px;border-color:#79b3c4;box-shadow:inset 2px 2px 6px #acebfa55,0 0 11px #4cbad133}
#detail .hrm-records-reference .er-story-calendar h3{font-size:10px}
#detail .hrm-records-reference .er-calendar-month{text-align:center;font-size:9px;margin-top:9px;line-height:20px}
#detail .hrm-records-reference .er-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:21px;font-size:8px;padding:1px 0;line-height:20px;text-align:center}
#detail .hrm-records-reference .er-calendar-grid>button{text-align:center;font-size:8px;line-height:19px;width:18px;height:19px;justify-self:center;border-radius:50%;color:#d6e7ed}
#detail .hrm-records-reference .er-calendar-grid .er-calendar-highlight{background:linear-gradient(120deg,#fff2b6,#cba04c);border:1px solid #f5da91;color:#382d1a;box-shadow:0 0 5px #e9c77477}
#detail .hrm-records-reference .er-weekday{font-size:7px;color:#ecdca9}
#detail .hrm-records-reference .er-reminder{left:1124px;top:55px;width:128px;height:54px;padding:6px;display:flex;align-items:center;gap:5px;border-color:#d0ba7b;background:linear-gradient(110deg,#695331bb,#302c21aa);color:#fff1cc;font-size:7.4px;line-height:14px;box-shadow:0 0 8px #d6c18333;z-index:3}
#detail .hrm-records-reference .er-reminder>span{white-space:nowrap}
#detail .hrm-records-reference .er-reminder>.er-icon{width:20px;height:26px;color:#ffe7a2;fill:#ffdb8d22}
#detail .hrm-records-reference .er-reminder strong{font-weight:400;display:block;font-size:7.8px;white-space:nowrap}
#detail .hrm-records-reference .er-contract-prop{position:absolute;left:970px;top:188px;width:185px;height:131px;z-index:2}
#detail .hrm-records-reference .er-contract-prop>img{display:block;width:185px;height:140px;object-fit:contain}
#detail .hrm-records-reference .er-contract-label{position:absolute;left:65px;top:29px;color:#17314b;font-size:7px;font-weight:650}
#detail .hrm-records-reference .er-contract-prop>svg{position:absolute;left:70px;top:70px;width:70px;height:28px}
#detail .hrm-records-reference .er-story-history{left:1138px;top:157px;width:115px;height:151px;padding:6px 8px;z-index:4}
#detail .hrm-records-reference .er-story-history h3{font-size:9px;white-space:nowrap;margin-bottom:3px}
#detail .hrm-records-reference .er-history-row{display:flex;gap:6px;width:100%;align-items:flex-start;height:38px;font-size:8px;line-height:13px}
#detail .hrm-records-reference .er-history-row>.er-icon{width:14px;height:14px;flex:none;background:#63cee1;border-radius:50%;padding:2px;color:#06435e;margin-top:2px;stroke-width:2}
#detail .hrm-records-reference .er-history-row small{display:block;font-size:8px;color:#cddbe2}
#detail .hrm-records-reference .er-process{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;height:73px;margin-top:5px}
#detail .hrm-records-reference .er-step{display:flex;align-items:flex-start;gap:16px;padding:10px 0 0 20px;position:relative;width:100%;text-align:left}
#detail .hrm-records-reference .er-step-number{display:grid;place-items:center;flex:none;width:30px;height:30px;border:2px solid #e7d58e;color:#fff4c9;border-radius:50%;font-size:18px;line-height:26px;box-shadow:0 0 7px #dfbd5755}
#detail .hrm-records-reference .er-step strong{display:block;color:#f1d894;font-size:12px;font-weight:600;line-height:18px}
#detail .hrm-records-reference .er-step small{display:block;font-size:10px;line-height:16px;color:#c4d1dd;margin-top:3px;max-width:226px}
#detail .hrm-records-reference .er-step>em{position:absolute;right:-13px;top:17px;color:#efcf80;font-size:31px;font-weight:300;font-style:normal}
#detail .hrm-records-reference .er-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;height:90px;margin-top:8px}
#detail .hrm-records-reference .er-benefit{position:relative;display:flex;align-items:center;gap:18px;padding:11px 24px 11px 26px;width:100%;text-align:left;border-color:#326e84;background:linear-gradient(130deg,#0e3b4d77,#02233377)}
#detail .hrm-records-reference .er-benefit-icon{display:grid;place-items:center;width:70px;height:70px;flex:none;border-radius:50%;border:1px solid #246a8344;background:radial-gradient(ellipse,#1c698744,#01203211);box-shadow:inset 2px 0 5px #89deee22}
#detail .hrm-records-reference .er-benefit-icon>.er-icon{width:41px;height:41px;color:#f2ce86;fill:#ecce8b22;stroke-width:1.9}
#detail .hrm-records-reference .er-benefit strong{display:block;font-size:14px;font-weight:600;color:#f1d79c;line-height:22px}
#detail .hrm-records-reference .er-benefit small{display:block;font-size:10px;line-height:16px;color:#c9d8e0}
#detail .hrm-records-reference .er-flow{stroke-dasharray:80 8;animation:er-records-flow 9s linear infinite;animation-play-state:var(--er-motion)}
#detail .hrm-records-reference .er-return-flow{stroke-dasharray:190 5;animation:er-records-flow 14s linear infinite;animation-play-state:var(--er-motion)}
@keyframes er-records-flow{to{stroke-dashoffset:-176}}
@media(prefers-reduced-motion:reduce){#detail .hrm-records-reference :is(.er-flow,.er-return-flow){animation:none}}
/* Dialogs are intrinsic and centered, independent of the host fullscreen dialog. */
#detail .hrm-records-dialog{position:fixed;inset:0;width:min(580px,92vw);height:fit-content;min-height:0;max-height:88vh;margin:auto;padding:0;border:1px solid #75b2c5;border-radius:12px;overflow:auto;background:linear-gradient(135deg,#0b3446,#001b2a 65%);color:#dfedf5;box-shadow:0 24px 90px #000a,inset 0 0 18px #4499ad22;font:13px/1.6 "Segoe UI",sans-serif}
#detail .hrm-records-dialog::backdrop{background:#000e1cbb;backdrop-filter:blur(3px)}
#detail .hrm-records-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:13px 19px;border-bottom:1px solid #316176}
#detail .hrm-records-dialog h3{font-size:19px;line-height:25px;color:#efd394;font-weight:600}
#detail .hrm-records-dialog>header>button{font-size:26px;line-height:26px;width:30px;text-align:center}
#detail .hrm-records-dialog .er-modal-body{padding:16px 20px;font-size:13px;line-height:1.6}
#detail .hrm-records-dialog p{font-size:13px;line-height:1.6;margin:10px 0;color:#c5d9e5}
#detail .hrm-records-dialog .er-modal-field{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:6px 0;border-bottom:1px solid #35657544}
#detail .hrm-records-dialog .er-modal-field>span{color:#98bdce}
#detail .hrm-records-dialog .er-modal-field>strong{color:#e6eff5;font-weight:500}
#detail .hrm-records-dialog .er-modal-note{font-size:11px;padding-top:12px;border-top:1px solid #46728855;color:#95b2c2}
#detail .hrm-records-dialog>footer{padding:10px 20px 15px;text-align:right}
#detail .hrm-records-dialog>footer>button{border:1px solid #c7a35b;border-radius:6px;color:#f1d69a;padding:6px 21px;background:#6d542a33}
#detail .hrm-records-dialog .er-role-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px}
#detail .hrm-records-dialog select{padding:7px 10px;border:1px solid #48788d;border-radius:5px;background:#052b3c;font-size:13px}
#detail .hrm-records-dialog .er-role-matrix{display:grid;gap:10px;padding:18px 0}
#detail .hrm-records-dialog .er-role-matrix label{display:flex;gap:10px;align-items:center;font-weight:400;line-height:20px;font-size:13px}
#detail .hrm-records-dialog input{accent-color:#70ddf0;width:16px;height:16px;margin:0}
#detail .hrm-records-dialog .er-restricted{display:flex;gap:12px;align-items:center;margin:15px 0;padding:14px;border:1px solid #ba9a54;border-radius:7px;color:#ecd18e}
#detail .hrm-records-dialog .er-icon{width:24px;height:24px;flex:none}
#detail .hrm-records-dialog .er-modal-task{padding:10px 0 16px;border-bottom:1px solid #4c788c77}
#detail .hrm-records-dialog h4{font-size:15px;color:#ecd49b;font-weight:600}
