/* Állomány: névsor, szűrők és személyi adatlapok. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.roster-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12.6px; margin-bottom: 19.8px; }
.roster-stat { display: flex; align-items: center; gap: 14.4px; min-height: 92.7px; padding: 18.9px; }
.roster-stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 41.4px; height: 41.4px; border: 1px solid rgba(93, 158, 236, .23); border-radius: 11.7px; color: #75b4fc; background: rgba(53, 120, 202, .075); }
.roster-stat-icon svg { width: 20.7px; height: 20.7px; }
.roster-stat.green .roster-stat-icon { color: #6acfa6; border-color: rgba(80, 183, 143, .22); background: rgba(62, 159, 117, .06); }
.roster-stat.amber .roster-stat-icon { color: #d4b274; border-color: rgba(197, 155, 79, .22); background: rgba(170, 121, 42, .06); }
.roster-stat.silver .roster-stat-icon { color: #b1c6df; border-color: rgba(160, 185, 216, .2); background: rgba(144, 171, 206, .05); }
.roster-stat > div { display: grid; gap: 6.3px; }
.roster-stat > div > span { color: #94a9c5; font-size: 12.6px; }
.roster-stat strong { color: #edf5ff; font-size: 32.4px; line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.roster-stat strong small { margin-left: 6.3px; color: #738dad; font-size: 12.6px; font-weight: 500; letter-spacing: 0; }
.roster-panel { box-shadow: 0 15px 45px rgba(0, 0, 0, .15); }
.roster-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16.2px; padding: 20.7px 21.6px 18px; }
.roster-panel-heading h2 { margin: 0 0 6.3px; color: #dce8f9; font-size: 19.8px; font-weight: 650; letter-spacing: -.025em; }
.roster-panel-heading p { margin: 0; color: #859fbe; font-size: 13.5px; line-height: 1.7; }
.roster-sort { display: flex; align-items: center; gap: 8.1px; color: #8da6c5; font-size: 12.6px; }
.roster-sort select, .roster-filter select { min-height: 34.2px; padding: 0 24.3px 0 9.9px; border: 1px solid rgba(119, 158, 210, .2); border-radius: 8.1px; outline: 0; background: #0a192c; color: #bfd3ee; font: inherit; font-size: 12.6px; cursor: pointer; }
.roster-sort select { min-width: 130.5px; }
.roster-sort select:focus-visible, .roster-filter select:focus-visible { border-color: #599de8; outline: 2px solid rgba(80, 158, 250, .25); outline-offset: 2px; }
.roster-controls { margin: 0; padding: 0 21.6px 0; }
.roster-basic-filters { display: grid; grid-template-columns: minmax(180px, 1.6fr) minmax(121.5px, .7fr) minmax(148.5px, 1fr) auto; align-items: end; gap: 10.8px; }
.roster-search { position: relative; display: flex; align-items: center; min-height: 37.8px; border: 1px solid rgba(119, 158, 210, .23); border-radius: 9px; background: rgba(4, 13, 26, .6); transition: border-color .15s, box-shadow .15s; }
.roster-search:focus-within { border-color: #4a95e7; box-shadow: 0 0 0 3px rgba(64, 141, 233, .09); }
.roster-search > svg { width: 15.3px; height: 15.3px; margin-left: 11.7px; color: #688cb8; }
.roster-search input { flex: 1; min-width: 0; width: 100%; height: 36px; padding: 0 10.8px; outline: 0; border: 0; border-radius: inherit; color: #e7f1ff; background: transparent; font-size: 13.5px; }
.roster-search input::placeholder { color: #6d88aa; }
.roster-search input:focus-visible { outline: 0; }
.roster-search input::-webkit-search-cancel-button { cursor: pointer; }
.roster-filter { display: grid; gap: 6.3px; min-width: 0; }
.roster-filter > span { color: #8ca5c5; font-size: 11px; line-height: 1.3; }
.roster-filter select { width: 100%; min-width: 0; min-height: 37.8px; text-overflow: ellipsis; }
.roster-more { min-height: 37.8px; padding: 0 9.9px; font-size: 12.6px; white-space: nowrap; }
.roster-more svg { width: 13.5px; height: 13.5px; }
.roster-more[aria-expanded="true"] { border-color: rgba(102, 166, 245, .5); color: #d8eaff; background: rgba(54, 116, 198, .14); }
.roster-advanced { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13.5px; margin-top: 17.1px; padding: 17.1px; border: 1px solid rgba(114, 154, 207, .12); border-radius: 9.9px; background: rgba(3, 12, 24, .32); }
.roster-filter-footer { display: flex; justify-content: space-between; align-items: center; gap: 12.6px; padding: 13.5px 0 16.2px; }
.roster-filter-footer > span { display: inline-flex; align-items: center; gap: 6.3px; color: #708aab; font-size: 11px; line-height: 1.6; }
.roster-filter-footer > span > svg { width: 11.7px; height: 11.7px; color: #5a7da7; }
.roster-filter-footer .text-button { font-size: 12.6px; }
.roster-filter-footer button:disabled { cursor: default; opacity: .35; }
.roster-table-wrap { width: 100%; outline: none; scroll-margin-top: 90px; }
#rosterTitle { scroll-margin-top: 90px; }
.roster-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.roster-table thead { background: rgba(4, 13, 25, .48); }
.roster-table thead th { padding: 11.7px 12.6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #7894b7; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.roster-table thead th:first-child { width: 25%; padding-left: 21.6px; }
.roster-table thead th:nth-child(2) { width: 16%; }
.roster-table thead th:nth-child(3) { width: 23%; }
.roster-table thead th:nth-child(4) { width: 14%; }
.roster-table thead th:nth-child(5) { width: 13%; }
.roster-table thead th:last-child { width: 9%; }
.roster-member-row { background: rgba(12, 26, 46, .2); transition: background .15s; }
.roster-member-row:hover { background: rgba(44, 87, 139, .12); }
.roster-member-row > td { padding: 15.3px 12.6px; border-bottom: 1px solid rgba(113, 149, 197, .095); vertical-align: middle; font-size: 12.6px; }
.roster-member-row > td:first-child { padding-left: 21.6px; }
.roster-member-row > td:last-child { padding-right: 21.6px; }
.roster-person-link { display: flex; align-items: center; gap: 10.8px; min-width: 0; border-radius: 7.2px; }
.personnel-avatar { display: inline-grid; place-items: center; width: 34.2px; height: 36px; flex: 0 0 auto; border: 1px solid rgba(102, 164, 240, .25); border-radius: 9.9px; background: linear-gradient(150deg, #17385e, #102440); color: #a9cefa; font-size: 13.5px; font-weight: 700; letter-spacing: .015em; }
.personnel-avatar.group-1, .personnel-avatar.group-2 { border-color: rgba(190, 161, 103, .29); color: #d4bf95; background: linear-gradient(140deg, #2b2d30, #182535); }
.personnel-avatar.group-3 { border-color: rgba(143, 169, 204, .3); color: #c2d3e9; background: linear-gradient(140deg, #23354c, #13243b); }
.personnel-avatar.group-8 { border-color: rgba(113, 152, 155, .3); color: #a3ccce; background: linear-gradient(140deg, #20373e, #122832); }
.roster-person-link > span:last-child { display: grid; gap: 6.3px; min-width: 0; }
.roster-person-link strong { color: #d8e6f8; font-size: 13.5px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.roster-person-link:hover strong { color: #a5d2ff; }
.roster-person-link small { display: flex; align-items: center; flex-wrap: wrap; gap: 5.4px; color: #9ab0ce; font-size: 11px; line-height: 1.6; }
.roster-person-link small > span { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.roster-person-link small > i { width: 3px; height: 3px; border-radius: 50%; background: #4c6789; }
.medic-mini { padding: 1px 3.6px; border: 1px solid rgba(75, 172, 139, .19); border-radius: 3px; background: rgba(50, 134, 101, .065); color: #77bda5; font-size: 10px; font-weight: 650; letter-spacing: .04em; }
.roster-rank-cell { color: #c2d3e9; line-height: 1.65; }
.roster-assignment-cell strong { display: block; color: #b8cee9; font-size: 12.6px; line-height: 1.65; font-weight: 550; }
.roster-assignment-cell small { display: block; margin-top: 3.6px; color: #91a8c7; font-size: 11px; line-height: 1.7; }
.roster-station-cell { color: #a5bbd7; line-height: 1.7; }
.roster-station-cell > svg { width: 10.8px; height: 10.8px; margin-right: 4.5px; color: #597ea9; vertical-align: middle; }
.personnel-status { display: inline-flex; align-items: center; gap: 5.4px; width: fit-content; padding: 4.5px 7.2px; border: 1px solid rgba(78, 181, 138, .2); border-radius: 5.4px; color: #84d1ad; background: rgba(44, 141, 96, .075); font-size: 11px; font-weight: 550; white-space: nowrap; line-height: 1.4; }
.personnel-status > span { width: 4.5px; height: 4.5px; border-radius: 50%; background: #74c9a2; }
.personnel-status.is-away { border-color: rgba(202, 158, 74, .23); background: rgba(167, 116, 33, .075); color: #d5b270; }
.personnel-status.is-away > span { background: #cda75e; }
.roster-open { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5.4px; min-height: 28.8px; color: #7fa8dc; font-size: 11px; border-radius: 6.3px; }
.roster-open:hover { color: #c4e2ff; }
.roster-open > svg { width: 12.6px; height: 12.6px; }
.roster-group-row th { padding: 10.8px 21.6px; border-top: 1px solid rgba(112, 154, 210, .1); border-bottom: 1px solid rgba(112, 154, 210, .1); background: rgba(28, 53, 85, .16); color: #8faacc; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-align: left; }
.roster-group-row th small { margin-left: 9px; color: #91a8c5; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.roster-pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 67.5px; padding: 14.4px 21.6px; color: #829dbf; font-size: 12.6px; }
.roster-pagination > span { line-height: 1.7; }
.roster-pagination strong { color: #c0d3ed; font-weight: 550; }
.roster-total-caption { color: #637e9f; }
.roster-page-buttons { display: flex; align-items: center; gap: 4.5px; }
.roster-page-buttons .icon-button { width: 27.9px; height: 27.9px; }
.roster-page-buttons .icon-button svg { width: 13.5px; height: 13.5px; }
.roster-page-number { display: grid; place-items: center; width: 27.9px; height: 27.9px; padding: 0; border: 1px solid transparent; border-radius: 7.2px; color: #8eabcd; background: transparent; font-size: 12.6px; }
.roster-page-number.active { border-color: rgba(91, 157, 241, .32); color: #d5e9ff; background: rgba(54, 115, 199, .2); }
.roster-page-number:hover { color: #e3f1ff; background: rgba(78, 127, 194, .12); }
.roster-pagination button:disabled { opacity: .3; cursor: default; }
.roster-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 279px; padding: 34.2px 21.6px; text-align: center; outline: none; }
.roster-empty > span { display: grid; place-items: center; width: 53.1px; height: 53.1px; margin-bottom: 18px; border: 1px solid rgba(111, 162, 229, .19); border-radius: 15.3px; color: #719bcf; background: rgba(48, 95, 155, .07); }
.roster-empty > span svg { width: 23.4px; height: 23.4px; }
.roster-empty h1, .roster-empty h2 { margin: 0 0 10.8px; color: #cedff5; font-size: 23.4px; font-weight: 650; letter-spacing: -.025em; }
.roster-empty p { margin: 0 0 19.8px; max-width: 324px; color: #7f9abd; font-size: 13.5px; line-height: 1.8; }
.roster-source-note, .personnel-data-note { display: flex; align-items: flex-start; gap: 7.2px; margin: 16.2px 0 0; color: #8fa7c8; font-size: 11px; line-height: 1.9; }
.roster-source-note > svg, .personnel-data-note > svg { width: 11.7px; height: 11.7px; margin-top: 2px; color: #5b7fae; }
.roster-source-note > a { display: inline-flex; align-items: center; gap: 4.5px; margin-left: auto; color: #8caed8; white-space: nowrap; }
.roster-source-note > a svg { width: 10.8px; height: 10.8px; }
.roster-source-note > a:hover { color: #c7e2ff; }

/* Személyi adatlap — külön nézetekbe rendezett részletekkel. */
.personnel-back-row { display: flex; align-items: center; justify-content: space-between; gap: 16.2px; margin-bottom: 18px; }
.personnel-back, .personnel-source-link { display: inline-flex; align-items: center; gap: 7.2px; min-height: 28.8px; border-radius: 5.4px; color: #88acd8; font-size: 13.5px; }
.personnel-back > svg, .personnel-source-link > svg { width: 13.5px; height: 13.5px; }
.personnel-back:hover, .personnel-source-link:hover { color: #d0e7ff; }
.personnel-source-link { color: #6687af; font-size: 11px; }
.personnel-source-link > svg { width: 10.8px; height: 10.8px; }
.personnel-profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 25.2px; padding: 27px; border-color: rgba(101, 162, 241, .26); background: radial-gradient(ellipse at 100% 50%, rgba(48, 99, 161, .13), transparent 60%), linear-gradient(140deg, #101f35, #0a182a); }
.personnel-profile-main { display: flex; align-items: center; gap: 21.6px; min-width: 0; }
.personnel-profile-avatar { width: 86.4px; height: 93.6px; border-radius: 21.6px; font-size: 30.6px; font-weight: 600; }
.personnel-profile-main > div { min-width: 0; }
.personnel-profile-main .eyebrow { margin-bottom: 9px; color: #789ecf; font-size: 11px; }
.personnel-profile-main h1 { margin: 0 0 9px; color: #eff5ff; font-size: clamp(27px, 2.34vw, 37.8px); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.personnel-profile-main p { margin: 0; color: #9db9dd; font-size: 15.3px; }
.personnel-profile-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8.1px; margin-top: 15.3px; }
.personnel-profile-badges > span:not(.personnel-status) { display: inline-flex; align-items: center; gap: 5.4px; padding: 4.5px 7.2px; border: 1px solid rgba(112, 155, 211, .16); border-radius: 5.4px; color: #88a8cf; background: rgba(4, 14, 29, .23); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.6px; line-height: 1.3; }
.personnel-profile-badges > span > svg { width: 10.8px; height: 10.8px; }
.personnel-profile-location { display: flex; align-items: center; gap: 11.7px; min-width: 171px; padding-left: 21.6px; border-left: 1px solid var(--line); }
.personnel-profile-location > svg { width: 24.3px; height: 24.3px; color: #648bbd; stroke-width: 1.4; }
.personnel-profile-location > div { display: grid; gap: 6.3px; }
.personnel-profile-location span { color: #708bb0; font-size: 11px; }
.personnel-profile-location strong { color: #adc7e8; font-size: 13.5px; font-weight: 550; }
.personnel-profile-tabs { display: flex; gap: 20.7px; margin: 23.4px 0 19.8px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.personnel-profile-tabs > a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7.2px; min-height: 42.3px; padding: 0 3px 12.6px; border-radius: 4.5px 4.5px 0 0; color: #7d9ac0; font-size: 13.5px; white-space: nowrap; }
.personnel-profile-tabs > a svg { width: 14.4px; height: 14.4px; }
.personnel-profile-tabs > a.active { color: #b3d6ff; }
.personnel-profile-tabs > a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; border-radius: 2px; background: #5aa5ff; box-shadow: 0 0 18px rgba(58, 143, 245, .17); }
.personnel-profile-tabs > a:hover { color: #d9ebff; }
.personnel-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16.2px; }
.personnel-detail-card { min-height: 207px; padding: 21.6px; }
.personnel-detail-card .panel-heading { padding-bottom: 15.3px; margin-bottom: 18.9px; border-bottom: 1px solid rgba(112, 153, 208, .11); }
.personnel-detail-list { display: grid; gap: 17.1px; margin: 0; }
.personnel-detail-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20.7px; }
.personnel-detail-list dt { color: #9eb5d2; font-size: 12.6px; line-height: 1.8; }
.personnel-detail-list dd { max-width: 65%; margin: 0; color: #c0d3ed; font-size: 13.5px; line-height: 1.8; text-align: right; overflow-wrap: anywhere; }
.detail-muted { color: #91a8c7; font-size: 12.6px; }
.personnel-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.6px; }
.bank-account { word-break: break-all; }
.personnel-card-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 1px; }
.personnel-card-empty > svg { display: none; }
.personnel-card-empty strong { color: #a3bcdb; font-size: 13.5px; font-weight: 550; line-height: 1.7; }
.personnel-card-empty p { max-width: 306px; margin: 0; color: #718fb4; font-size: 12.6px; line-height: 1.9; }
.qualification-list { display: flex; flex-wrap: wrap; gap: 8.1px; }
.qualification-list > span { display: inline-flex; align-items: center; gap: 7.2px; padding: 9px 11.7px; border: 1px solid rgba(89, 186, 150, .25); border-radius: 7.2px; color: #86d2b2; background: rgba(62, 157, 116, .07); font-size: 13.5px; font-weight: 650; letter-spacing: .035em; }
.qualification-list svg { width: 13.5px; height: 13.5px; }
.personnel-card-note { margin: 16.2px 0 0; color: #91a8c7; font-size: 12.6px; line-height: 1.9; }
.personnel-tenure { display: grid; gap: 8.1px; }
.personnel-tenure strong { color: #bed6f5; font-size: clamp(21.6px, 1.8vw, 27px); font-weight: 600; letter-spacing: -.02em; }
.personnel-tenure > span { color: #91a8c7; font-size: 11px; }
.personnel-service-preview .personnel-card-note { margin-top: 11.7px; }
.personnel-service-preview .secondary-button { min-height: 28.8px; margin-top: 17.1px; font-size: 12.6px; }
.personnel-duty-stats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 13.5px; margin-bottom: 18px; }
.personnel-duty-stats > article { display: grid; align-content: start; gap: 12.6px; min-height: 120.6px; padding: 20.7px; }
.personnel-duty-stats > article > span { color: #819ec2; font-size: 12.6px; line-height: 1.6; }
.personnel-duty-stats strong { color: #c9def8; font-size: clamp(25.2px, 1.98vw, 32.4px); font-weight: 600; letter-spacing: -.03em; }
.personnel-duty-stats strong small { color: #6481a6; font-size: 18px; }
.personnel-duty-stats > article > small { color: #91a8c7; font-size: 11px; line-height: 1.7; }
.personnel-duty-panel { padding: 20.7px 21.6px 8.1px; }
.personnel-duty-panel > .panel-heading { margin-bottom: 18px; }
.personnel-duty-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.personnel-duty-table thead th { padding: 11.7px 11.7px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(3, 12, 24, .24); color: #7998be; font-size: 11px; font-weight: 600; text-align: left; }
.personnel-duty-table thead th:first-child { width: 23%; }
.personnel-duty-table thead th:nth-child(2) { width: 37%; }
.personnel-duty-table thead th:last-child { width: 40%; }
.personnel-duty-table tbody th, .personnel-duty-table tbody td { padding: 15.3px 11.7px; border-bottom: 1px solid rgba(112, 153, 208, .1); text-align: left; vertical-align: middle; }
.personnel-duty-table tbody tr:last-child > * { border-bottom: 0; }
.personnel-duty-table tbody th { color: #93afd2; font-size: 13.5px; font-weight: 500; }
.personnel-duty-amount { position: relative; isolation: isolate; color: #b7d1f3; }
.personnel-duty-amount strong { position: relative; z-index: 1; font-size: 13.5px; font-weight: 550; }
.duty-meter { position: absolute; z-index: -1; top: 12.6px; bottom: 12.6px; left: 0; width: var(--duty-width); max-width: 95%; border-radius: 4.5px; background: linear-gradient(90deg, rgba(60, 133, 225, .09), rgba(58, 136, 237, .17)); pointer-events: none; }
.duty-recorded { display: inline-flex; align-items: center; gap: 6.3px; color: #70bda4; font-size: 12.6px; }
.duty-recorded > svg { width: 11.7px; height: 11.7px; }
.duty-note { color: #728daf; font-size: 12.6px; }
.duty-note.error { color: #c4a16c; }
.duty-note.exempt { color: #93a9c7; }
.duty-original { display: block; margin-top: 4.5px; color: #91a8c7; font-size: 11px; line-height: 1.8; }
/* Olvasható tipográfia és a munkaterület szélességéhez igazodó elrendezés. */
.personnel-emoji { display: inline-block; flex: 0 0 auto; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-weight: 400; font-style: normal; line-height: 1; letter-spacing: 0; }
.roster-page-heading h1 { font-size: clamp(28.8px, 2.34vw, 37.8px); }
.roster-page-heading p { max-width: none; color: #a1b5d1; font-size: 13.5px; line-height: 1.7; }
.roster-page-heading .date-chip { max-width: none; padding: 9.9px 12.6px; font-size: 11px; white-space: nowrap; }
.roster-stats { gap: 16.2px; margin-bottom: 25.2px; }
.roster-stat { min-height: 111.6px; padding: 21.6px; }
.roster-stat-icon { width: 48.6px; height: 48.6px; }
.roster-stat-icon .personnel-emoji { font-size: 23.4px; }
.roster-stat strong { font-family: var(--font-heading); font-variant-numeric: tabular-nums; font-weight: 800; }
.roster-panel-heading { padding: 25.2px 25.2px 21.6px; }
.roster-panel-heading h2 { font-weight: 750; }
.roster-sort select { min-width: 171px; }
.roster-sort select, .roster-filter select { min-height: 43.2px; padding-left: 12.6px; padding-right: 27px; }
.roster-controls { padding: 0 25.2px; }
.roster-basic-filters { grid-template-columns: minmax(234px, 1.7fr) minmax(139.5px, .8fr) minmax(189px, 1.1fr) auto; gap: 12.6px; }
.roster-search { min-height: 43.2px; }
.roster-search input { height: 41.4px; padding: 0 12.6px; }
.roster-more { min-height: 43.2px; padding: 0 13.5px; }
.roster-filter-footer { padding: 16.2px 0 19.8px; }
.roster-filter-footer > span { color: #91a8c7; }
.roster-filter-footer .text-button { font-size: 11.7px; }
.roster-table-wrap { overflow-x: auto; }
.roster-table thead th { padding: 14.4px 16.2px; color: #9ab4d6; letter-spacing: .045em; overflow-wrap: anywhere; }
.roster-table thead th:first-child { width: 26%; padding-left: 25.2px; }
.roster-table thead th:nth-child(3) { width: 22%; }
.roster-table thead th:nth-child(4) { width: 15%; }
.roster-table thead th:last-child { width: 8%; }
.roster-member-row > td { padding: 18px 16.2px; }
.roster-member-row > td:first-child { padding-left: 25.2px; }
.roster-member-row > td:last-child { padding-right: 25.2px; }
.roster-rank-cell, .roster-assignment-cell, .roster-station-cell { overflow-wrap: anywhere; }
.personnel-avatar { width: 43.2px; height: 45px; font-family: var(--font-heading); }
.roster-person-link strong { color: #e5eefc; font-family: var(--font-heading); font-size: 14.4px; font-weight: 750; }
.roster-person-link small { gap: 6.3px; }
.roster-assignment-cell strong { font-weight: 550; }
.medic-mini { padding: 2px 4.5px; }
.roster-station-cell > svg { width: 12.6px; height: 12.6px; }
.personnel-status { padding: 6.3px 9px; }
.personnel-status > span { width: 5.4px; height: 5.4px; }
.roster-open { min-height: 36px; color: #91bff4; }
.roster-open > svg { width: 15.3px; height: 15.3px; }
.roster-open-cell { text-align: right; }
.roster-group-row th { padding: 13.5px 25.2px; color: #a3bcdd; letter-spacing: .065em; }
.roster-pagination { min-height: 79.2px; padding: 19.8px 25.2px; }
.roster-page-buttons .icon-button, .roster-page-number { width: 36px; height: 36px; }
.roster-page-buttons .icon-button svg { width: 16.2px; height: 16.2px; }
.roster-page-number { font-size: 12.6px; font-weight: 600; }
.roster-source-note, .personnel-data-note { font-size: 11px; }
.roster-source-note > svg, .personnel-data-note > svg { margin-top: 3.6px; width: 13.5px; height: 13.5px; }
.personnel-profile-avatar { width: 86.4px; height: 93.6px; }
.personnel-profile-main .eyebrow { font-size: 11px; letter-spacing: .11em; }
.personnel-profile-location span { font-size: 11.7px; }
.personnel-profile-location strong { font-size: 13.5px; }
.personnel-profile-tabs { flex-wrap: wrap; gap: 25.2px; margin: 25.2px 0 23.4px; }
.personnel-profile-tabs > a { min-height: 48.6px; padding-bottom: 14.4px; font-weight: 550; }
.personnel-profile-tabs .personnel-emoji { font-size: 16.2px; }
.personnel-details-grid { gap: 19.8px; }
.personnel-detail-card { min-height: 225px; padding: 25.2px; }
.personnel-detail-card .panel-heading h2, .personnel-duty-panel .panel-heading h2 { color: #cbdcf2; font-size: 14.4px; font-weight: 750; text-transform: none; letter-spacing: -.015em; }
.personnel-detail-card .panel-heading h2 svg, .personnel-duty-panel .panel-heading h2 svg { width: 17.1px; height: 17.1px; }
.personnel-detail-list dd { color: #d4e2f5; }
.personnel-mono { font-size: 12.6px; }
.personnel-service-preview .secondary-button { min-height: 37.8px; font-size: 12.6px; }
.personnel-duty-panel .small-tag { font-size: 11px; }
.personnel-duty-stats strong { font-family: var(--font-heading); }
.personnel-duty-table thead th { font-size: 11px; }
.personnel-duty-table tbody th, .personnel-duty-amount strong { font-size: 13.5px; }
.duty-recorded, .duty-note { font-size: 11.7px; }
.duty-original { font-size: 11px; }

@container workspace (max-width: 1250px) {
  .roster-stats { gap: 12.6px; }
  .roster-stat { padding: 19.8px 16.2px; gap: 11.7px; }
  .roster-stat-icon { width: 43.2px; height: 43.2px; }
  .roster-table thead th:first-child { width: 27%; }
  .roster-table thead th:nth-child(2) { width: 17%; }
  .roster-table thead th:nth-child(3) { width: 23%; }
  .roster-table thead th:nth-child(5) { width: 12%; }
  .roster-table thead th:last-child { width: 6%; }
  .roster-table thead th, .roster-member-row > td { padding-left: 12.6px; padding-right: 12.6px; }
  .roster-member-row > td:first-child { padding-left: 21.6px; }
  .roster-member-row > td:last-child { padding-right: 18px; }
  .roster-person-link { gap: 9.9px; }
  .roster-open > span { display: none; }
  .roster-open { justify-content: center; width: 32.4px; }
  .personnel-profile-hero { padding: 25.2px; }
  .personnel-profile-location { min-width: 171px; }
  .personnel-detail-list > div { flex-direction: column; gap: 4.5px; }
  .personnel-detail-list dd { max-width: 100%; text-align: left; }
}

@container workspace (max-width: 1040px) {
  .roster-page-heading { align-items: flex-start; }
  .roster-page-heading .date-chip { margin-top: 4.5px; }
  .roster-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14.4px; }
  .roster-stat { min-height: 106.2px; padding: 20.7px; gap: 16.2px; }
  .roster-panel-heading { align-items: flex-start; padding: 23.4px 21.6px 19.8px; }
  .roster-sort { flex-direction: column; align-items: flex-start; gap: 6.3px; }
  .roster-sort select { min-width: 162px; }
  .roster-controls { padding: 0 21.6px; }
  .roster-basic-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14.4px; }
  .roster-search { grid-column: 1 / -1; }
  .roster-more { grid-column: 1 / -1; justify-self: end; }
  .roster-advanced { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
  .roster-filter-footer { gap: 18px; }
  .roster-filter-footer > span { max-width: 65%; }
  .roster-table { display: block; }
  .roster-table thead { display: none; }
  .roster-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14.4px; padding: 0 21.6px; }
  .roster-group-row { display: block; grid-column: 1 / -1; margin: 3.6px -21.6px 0; }
  .roster-group-row th { display: block; padding: 13.5px 21.6px; font-size: 11px; }
  .roster-member-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 16.2px; padding: 19.8px; border: 1px solid rgba(117, 163, 223, .2); border-radius: 11.7px; background: rgba(5, 17, 33, .38); }
  .roster-member-row > td, .roster-member-row > td:first-child, .roster-member-row > td:last-child { display: block; padding: 0; min-width: 0; border: 0; font-size: 12.6px; }
  .roster-member-row > .roster-name-cell { grid-column: 1 / -1; padding-bottom: 16.2px; border-bottom: 1px solid var(--line); }
  .roster-person-link { gap: 12.6px; }
  .roster-person-link strong { font-size: 15.3px; }
  .roster-member-row > td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6.3px; color: #91abcd; font-size: 11px; line-height: 1.5; }
  .roster-rank-cell { order: 2; }
  .roster-station-cell { order: 3; }
  .roster-assignment-cell { grid-column: 1 / -1; order: 4; }
  .roster-status-cell { order: 5; }
  .roster-member-row > .roster-open-cell { display: flex; align-items: flex-end; justify-content: flex-end; order: 6; }
  .roster-open { width: auto; min-height: 36px; padding: 0 9.9px; border: 1px solid rgba(105, 168, 246, .25); background: rgba(57, 109, 177, .08); }
  .roster-open > span { display: inline; }
  .roster-total-caption { display: none; }
  .roster-pagination { padding: 21.6px; }
  .personnel-profile-main { gap: 18px; }
  .personnel-profile-avatar { width: 75.6px; height: 84.6px; font-size: 26.1px; }
  .personnel-profile-location { min-width: 144px; padding-left: 18px; }
  .personnel-profile-location > svg { display: none; }
  .personnel-detail-card { padding: 21.6px; }
  .personnel-duty-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personnel-duty-stats > article:first-child { grid-column: 1 / -1; }
}

@container workspace (max-width: 740px) {
  .roster-page-heading { flex-direction: column; gap: 14.4px; }
  .roster-page-heading .date-chip { margin: 0; }
  .roster-stat { min-height: 100.8px; padding: 18px; gap: 12.6px; }
  .roster-stat strong { font-size: 28.8px; }
  .roster-stat-icon { width: 41.4px; height: 41.4px; }
  .roster-panel-heading p { max-width: 288px; }
  .roster-table tbody { grid-template-columns: minmax(0, 1fr); }
  .personnel-profile-hero { flex-direction: column; align-items: stretch; gap: 21.6px; padding: 23.4px; }
  .personnel-profile-main h1 { font-size: 28.8px; }
  .personnel-profile-location { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .personnel-profile-location > svg { display: block; width: 21.6px; height: 21.6px; }
  .personnel-profile-location > div { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 14.4px; }
  .personnel-details-grid { grid-template-columns: minmax(0, 1fr); gap: 16.2px; }
  .personnel-detail-card { min-height: 0; }
  .personnel-detail-list > div { flex-direction: row; gap: 18px; }
  .personnel-detail-list dd { max-width: 65%; text-align: right; }
  .personnel-profile-tabs { gap: 0 21.6px; }
  .personnel-profile-tabs > a { padding: 10.8px 2px 13.5px; }
}

@container workspace (max-width: 600px) {
  .roster-stats { gap: 10.8px; margin-bottom: 21.6px; }
  .roster-stat { align-items: flex-start; flex-direction: column; gap: 14.4px; padding: 18px; }
  .roster-stat-icon { width: 37.8px; height: 37.8px; border-radius: 10.8px; }
  .roster-stat-icon .personnel-emoji { font-size: 20.7px; }
  .roster-stat > div > span { font-size: 11.7px; }
  .roster-stat strong { font-size: 28.8px; }
  .roster-panel-heading { flex-direction: column; gap: 18px; padding: 21.6px 18px 19.8px; }
  .roster-panel-heading p { max-width: none; font-size: 12.6px; }
  .roster-sort { flex-direction: row; align-items: center; width: 100%; gap: 14.4px; font-size: 11.7px; }
  .roster-sort select { flex: 1; min-width: 0; font-size: 12.6px; }
  .roster-controls { padding: 0 18px; }
  .roster-basic-filters { gap: 12.6px 10.8px; }
  .roster-filter select { padding-left: 9.9px; padding-right: 18px; font-size: 12.6px; }
  .roster-search input { font-size: 13.5px; }
  .roster-more { justify-self: stretch; }
  .roster-advanced { grid-template-columns: minmax(0, 1fr); gap: 14.4px; padding: 15.3px; }
  .roster-filter-footer { align-items: flex-start; gap: 14.4px; }
  .roster-filter-footer > span { max-width: 62%; font-size: 11px; }
  .roster-filter-footer .text-button { flex-shrink: 0; font-size: 11px; }
  .roster-table tbody { gap: 12.6px; padding: 0 14.4px; }
  .roster-group-row { margin-left: -14.4px; margin-right: -14.4px; }
  .roster-group-row th { padding: 13.5px 18px; font-size: 11px; letter-spacing: .04em; }
  .roster-member-row { padding: 18px; gap: 16.2px 12.6px; }
  .roster-person-link strong { font-size: 14.4px; }
  .roster-person-link small { font-size: 11px; }
  .roster-pagination { flex-wrap: wrap; gap: 16.2px; padding: 19.8px 18px; font-size: 11.7px; }
  .roster-page-buttons { margin-left: auto; }
  .roster-page-buttons .icon-button, .roster-page-number { width: 34.2px; height: 36px; }
  .roster-source-note { flex-wrap: wrap; gap: 5.4px; }
  .roster-source-note > a { margin-left: 18.9px; }
  .personnel-back-row { align-items: flex-start; flex-wrap: wrap; gap: 9px 18px; }
  .personnel-back { font-size: 12.6px; }
  .personnel-source-link { font-size: 11px; }
  .personnel-profile-hero { padding: 20.7px; }
  .personnel-profile-main { align-items: flex-start; gap: 14.4px; }
  .personnel-profile-avatar { width: 52.2px; height: 59.4px; border-radius: 15.3px; font-size: 18.9px; }
  .personnel-profile-main h1 { font-size: 24.3px; line-height: 1.3; }
  .personnel-profile-main .eyebrow { font-size: 10px; letter-spacing: .06em; }
  .personnel-profile-main p { font-size: 13.5px; }
  .personnel-profile-badges { gap: 6.3px; }
  .personnel-profile-badges > span:not(.personnel-status) { font-size: 11px; }
  .personnel-profile-location > div { align-items: flex-start; flex-direction: column; gap: 5.4px; }
  .personnel-profile-tabs { gap: 0 18px; }
  .personnel-profile-tabs > a { min-height: 45.9px; gap: 6.3px; font-size: 12.6px; }
  .personnel-profile-tabs .personnel-emoji { font-size: 14.4px; }
  .personnel-detail-card { padding: 21.6px 19.8px; }
  .personnel-detail-list > div { flex-direction: column; gap: 4.5px; }
  .personnel-detail-list dt { font-size: 11.7px; }
  .personnel-detail-list dd { max-width: 100%; text-align: left; font-size: 13.5px; }
  .personnel-duty-stats { grid-template-columns: minmax(0, 1fr); gap: 12.6px; }
  .personnel-duty-stats > article { min-height: 0; padding: 21.6px; }
  .personnel-duty-panel { padding: 21.6px 19.8px 7.2px; }
  .personnel-duty-table, .personnel-duty-table tbody { display: block; }
  .personnel-duty-table thead { display: none; }
  .personnel-duty-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10.8px 14.4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .personnel-duty-table tbody tr:last-child { border-bottom: 0; }
  .personnel-duty-table tbody th { grid-column: 1 / -1; font-weight: 650; }
  .personnel-duty-table tbody th, .personnel-duty-table tbody td { display: block; padding: 0; border: 0; overflow-wrap: anywhere; }
  .personnel-duty-table tbody td::before { display: block; margin-bottom: 6.3px; color: #91abcd; font-size: 11px; }
  .personnel-duty-table tbody td:nth-child(2)::before { content: 'Szolgálati idő'; }
  .personnel-duty-table tbody td:nth-child(3)::before { content: 'Bejegyzés'; }
  .duty-meter { top: 23.4px; bottom: -3px; }
  .duty-recorded { gap: 4.5px; }
}

@container workspace (max-width: 460px) {
  .roster-basic-filters { grid-template-columns: minmax(0, 1fr); }
}
