:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --brand-purple: #240044;
    --brand-yellow: #ffe402;
    --text: #240044;
    --muted: #5f4f72;
    --primary: #240044;
    --primary-dark: #16002a;
    --border: #dfe5ef;
    --success: #168a4a;
    --danger: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: #ffffff;
    font: inherit;
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
}

textarea {
    resize: vertical;
}

button,
.button {
    display: inline-block;
    border: 0;
    border-radius: 0.6rem;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0.75rem 1rem;
}

button:hover,
.button:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-panel {
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
}

.table-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.table-actions form {
    margin: 0;
}

.link-button {
    background: transparent;
    color: var(--primary);
    font-weight: 400;
    padding: 0;
}

.link-button:hover {
    background: transparent;
    color: var(--primary-dark);
    text-decoration: underline;
}

.danger-link {
    color: var(--danger);
}

th,
td {
    border-bottom: 1px solid var(--border);
    padding: 0.9rem;
    text-align: left;
}

.wrap-cell {
    max-width: 260px;
    white-space: normal;
}

th {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
}

fieldset {
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    margin: 0 0 1rem;
    padding: 1rem;
}

legend {
    font-weight: 700;
    padding: 0 0.4rem;
}

fieldset > div + div {
    margin-top: 1rem;
}

.hr-subsection-title {
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.hr-fte-grid + .hr-subsection-title {
    margin-top: 1.25rem;
}

.hr-fte-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.hr-fte-grid input[readonly] {
    background: #f4f1f8;
}

.auth-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.auth-card {
    background: var(--card);
    border-radius: 1rem;
    box-shadow: 0 15px 45px rgba(24, 32, 51, 0.12);
    max-width: 420px;
    padding: 2rem;
    width: 100%;
}

.login-logo {
    display: block;
    margin: 0 auto 1rem;
    max-width: 100%;
    width: 300px;
}

.cyber-safe-page {
    background: linear-gradient(180deg, #f5f7fb 0%, #ebe3f3 100%);
}

.cyber-safe-card {
    max-width: 640px;
}

.cyber-safe-card h1 {
    color: var(--primary);
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 0 0 1rem;
    text-align: center;
}

.cyber-safe-eyebrow {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 0.35rem;
    text-align: center;
    text-transform: uppercase;
}

.cyber-safe-card > p {
    color: var(--text);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.cyber-safe-panel {
    background: #faf8fc;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-yellow);
    border-radius: 0.75rem;
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
}

.cyber-safe-panel h2 {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}

.cyber-safe-list {
    line-height: 1.55;
    margin: 0;
    padding-left: 1.2rem;
}

.cyber-safe-list li + li {
    margin-top: 0.45rem;
}

.cyber-safe-footer {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: center;
}

.topbar {
    align-items: center;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.brand {
    align-items: center;
    color: var(--text);
    display: flex;
    font-weight: 800;
}

.brand img {
    display: block;
    height: 44px;
    width: auto;
}

.topbar nav {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > summary {
    align-items: center;
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-settings-toggle svg {
    display: block;
    height: 1.35rem;
    width: 1.35rem;
}

.nav-dropdown-menu {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(36, 0, 68, 0.12);
    display: grid;
    gap: 0.15rem;
    min-width: 12rem;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 20;
}

.nav-dropdown-menu a {
    border-radius: 0.5rem;
    color: var(--text);
    display: block;
    padding: 0.65rem 0.75rem;
}

.nav-dropdown-menu a:hover {
    background: #f3eff8;
    text-decoration: none;
}

.container {
    margin: 0 auto;
    max-width: 1100px;
    padding: 2rem;
}

.page-wide .container {
    max-width: 1400px;
}

.hero,
.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.hero {
    margin-bottom: 1.5rem;
}

.panel + .panel,
form.panel + .panel {
    margin-top: 1.5rem;
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-bottom: 1.5rem;
}

.dashboard-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, 200px);
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #fff2a3 100%);
    border: 1px solid var(--brand-yellow);
    border-radius: 1rem;
    color: var(--text);
    display: block;
    padding: 1.25rem;
    width: 200px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(24, 32, 51, 0.12);
    color: var(--text);
    text-decoration: none;
    transform: translateY(-2px);
}

.dashboard-card-last {
    order: 999;
}

.dashboard-card-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    text-align: center;
}

.dashboard-card-description {
    color: var(--text);
    display: block;
    line-height: 1.4;
    text-align: center;
}

.dashboard-card-disabled {
    background: #f0f2f6;
    color: var(--muted);
    cursor: default;
    opacity: 0.85;
    pointer-events: none;
}

.dashboard-card-disabled:hover {
    box-shadow: none;
    text-decoration: none;
    transform: none;
}

.psc-progress {
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 1rem;
}

.psc-wizard fieldset.psc-question {
    margin-bottom: 1.25rem;
}

.psc-wizard fieldset.psc-question.is-follow-up {
    border-left: 3px solid var(--border);
    margin-left: 0.35rem;
    padding-left: 0.85rem;
}

.psc-intro,
.psc-help,
.psc-info-only {
    color: var(--muted);
    margin-top: 0;
}

.psc-intro strong {
    color: inherit;
    font-weight: 700;
}

.psc-intro em {
    font-style: italic;
}

.psc-issue-footer {
    width: 100%;
    margin: 1.5rem 0 0;
    border-collapse: collapse;
    color: #5f5f5f;
    font-size: 0.85rem;
}

.psc-issue-footer td {
    border: 1px solid #cfcfcf;
    padding: 0.55rem 0.7rem;
    vertical-align: top;
    width: 33.33%;
}

.psc-issue-footer td[colspan] {
    width: auto;
}

.psc-issue-footer span {
    font-weight: 700;
    margin-right: 0.25rem;
}

.psc-rich-editor {
    display: grid;
    gap: 0.5rem;
}

.psc-rich-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.psc-rich-toolbar .button-secondary {
    min-width: 2.4rem;
    padding: 0.35rem 0.55rem;
}

.psc-rich-color {
    background: var(--psc-swatch, #111827);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    height: 1.55rem;
    padding: 0;
    width: 1.55rem;
}

.psc-rich-surface {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    min-height: 4.5rem;
    padding: 0.75rem 0.85rem;
    white-space: pre-wrap;
}

.psc-rich-surface:empty::before {
    color: var(--muted);
    content: attr(data-placeholder);
    pointer-events: none;
}

.hr-rich-toolbar {
    align-items: center;
}

.hr-rich-font-label,
.hr-rich-custom-color {
    display: inline-flex;
}

.hr-rich-font {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    min-width: 9rem;
    padding: 0.35rem 0.55rem;
}

.hr-rich-custom-color input[type="color"] {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    height: 1.55rem;
    padding: 0.1rem;
    width: 1.55rem;
}

.hr-rich-surface {
    min-height: 14rem;
}

.hr-template-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hr-template-tab {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: inherit;
    padding: 0.45rem 0.9rem;
    text-decoration: none;
}

.hr-template-tab.is-active {
    background: rgb(36, 0, 68);
    border-color: rgb(36, 0, 68);
    color: #ffffff;
}

.hr-placeholder-list {
    display: grid;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hr-placeholder-list code {
    font-size: 0.92em;
}

.hr-referee-actions {
    margin-top: 0.75rem;
}

.hr-reference-preview-body {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    margin-top: 0.75rem;
    padding: 1rem;
}

.psc-yesno {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.psc-choice {
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: 0.6rem;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 0.5rem;
    margin: 0;
    min-width: 7rem;
    padding: 0.75rem 1rem;
}

.psc-choice input {
    margin: 0;
    width: auto;
}

.psc-no-details {
    display: none;
    margin-top: 0.5rem;
}

.psc-no-details.is-open {
    display: block;
}

.psc-issue-photo-wrap {
    display: none;
    margin-top: 0.75rem;
}

.psc-issue-photo-wrap.is-visible {
    display: block;
}

.psc-answer {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.psc-answer:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.psc-answer-no {
    background: #fff6f5;
    border: 1px solid #f0c7c3;
    border-radius: 0.6rem;
    padding: 0.85rem;
}

.psc-answer-prompt {
    font-weight: 700;
}

.psc-photo-thumb {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    max-height: 180px;
    max-width: 100%;
}

.table-photo-thumb {
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    display: block;
    max-height: 56px;
    max-width: 96px;
}

.psc-photo-editor {
    display: grid;
    gap: 0.75rem;
}

.psc-photo-preview-wrap {
    display: none;
    gap: 0.75rem;
}

.psc-photo-preview-wrap.is-visible,
.psc-photo-preview-wrap:not([hidden]) {
    display: grid;
}

.psc-photo-preview {
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    display: block;
    max-height: 280px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.psc-photo-rotate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.psc-photo-rotate-actions button {
    min-width: 8rem;
}

.psc-admin-question {
    margin-top: 1rem;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.psc-builder-meta summary,
.psc-builder-section > summary,
.psc-question-item > details > summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.psc-builder-meta summary::-webkit-details-marker,
.psc-builder-section > summary::-webkit-details-marker,
.psc-question-item > details > summary::-webkit-details-marker {
    display: none;
}

.psc-builder-meta summary::before,
.psc-builder-section > summary::before,
.psc-question-item > details > summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.5rem;
    transform: translateY(-1px);
}

.psc-builder-meta[open] summary::before,
.psc-builder-section[open] > summary::before,
.psc-question-item > details[open] > summary::before {
    content: "▾";
}

.psc-builder-meta .form-grid,
.psc-builder-section-body {
    margin-top: 1rem;
}

.psc-add-section-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.psc-add-section-row input {
    flex: 1 1 16rem;
    margin-bottom: 0;
}

.psc-add-section-row button {
    margin: 0;
}

.psc-builder-section > summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.psc-builder-section-index {
    align-items: center;
    background: var(--brand-yellow);
    border-radius: 999px;
    color: var(--brand-purple);
    display: inline-flex;
    font-size: 0.85rem;
    height: 1.6rem;
    justify-content: center;
    min-width: 1.6rem;
    padding: 0 0.35rem;
}

.psc-builder-section-title {
    flex: 1 1 auto;
}

.psc-builder-section-meta {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.psc-builder-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.psc-builder-toolbar form {
    margin: 0;
}

.psc-area-order-table .psc-drag-col {
    width: 2.5rem;
}

.psc-drag-handle {
    color: var(--muted);
    cursor: grab;
    display: inline-block;
    font-size: 1.1rem;
    letter-spacing: -0.12em;
    line-height: 1;
    user-select: none;
}

.psc-area-order-table tr.is-dragging {
    opacity: 0.55;
}

.psc-area-order-table tr.is-drag-over {
    outline: 2px dashed var(--border);
}

.psc-area-order-table tr.is-dragging .psc-drag-handle {
    cursor: grabbing;
}

.button-secondary {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
}

.button-secondary:hover {
    background: #f5f7fb;
}

.button-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.psc-inline-check {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 0.5rem;
}

.psc-inline-check input {
    margin: 0;
    width: auto;
}

.psc-question-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.psc-question-item {
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    margin-bottom: 0.6rem;
    padding: 0.65rem 0.85rem;
}

.psc-question-item > details > summary {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-weight: 600;
}

.psc-question-item-text {
    flex: 1 1 12rem;
}

.psc-question-item-type {
    background: #f0f2f6;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
}

.psc-question-item-body {
    margin-top: 0.85rem;
}

.psc-add-question {
    background: #f8f9fc;
    border: 1px dashed var(--border);
    border-radius: 0.7rem;
    padding: 1rem;
}

.psc-add-question h4 {
    margin: 0 0 0.75rem;
}

.psc-type-picker {
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
}

.psc-type-picker legend {
    font-weight: 700;
    padding: 0 0.25rem;
}

.psc-type-option {
    align-items: center;
    display: flex;
    font-weight: 600;
    gap: 0.5rem;
    margin: 0;
}

.psc-type-option input {
    margin: 0;
    width: auto;
}

.psc-filter-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.psc-filter-row label {
    margin: 0;
}

.psc-filter-row select {
    margin: 0;
    max-width: 20rem;
}

.psc-form-image,
.psc-form-image-thumb {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    display: block;
    max-width: 100%;
}

.psc-form-image {
    max-height: 280px;
}

.psc-form-image-thumb {
    max-height: 160px;
}

.login-role-badge {
    background: #f0f2f6;
    border-radius: 999px;
    color: var(--muted);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
}

.login-role-admin {
    background: var(--brand-yellow);
    color: var(--brand-purple);
}

.login-history-admin-row td {
    background: #fffdf0;
}

.page-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.eyebrow {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

.alert {
    background: #fff8e1;
    border: 1px solid #ffe08a;
    border-radius: 0.7rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
}

.alert-error {
    background: #fff1f0;
    border-color: #ffccc7;
    color: var(--danger);
}

.alert-fade {
    transition: opacity 0.4s ease;
}

.alert-fade.is-dismissed {
    opacity: 0;
}

.hr-form-subheading {
    font-size: 1rem;
    margin: 1.25rem 0 0.75rem;
}

.hr-referee-block {
    margin-bottom: 1.25rem;
}

.hr-referee-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.hr-referee-request-wrap {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 0.35rem;
}

.hr-referee-request {
    flex-shrink: 0;
    text-align: center;
}

.hr-reference-sent-note {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
    text-align: right;
}

.hr-record-tabs {
    margin-top: 1rem;
}

.hr-staff-record-form .hr-form-tab-panel[hidden] {
    display: none;
}

.hr-staff-record-form .hr-form-tab-panel:not([hidden]) {
    display: contents;
}

.hr-form-save-bar {
    border-top: 1px solid var(--border);
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.hr-form-save-bar .help-text {
    flex: 1 1 100%;
    margin: 0;
}

.hr-staff-files-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hr-staff-files-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.75rem 0.9rem;
}

.hr-staff-files-section summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    justify-content: space-between;
    list-style: none;
}

.hr-staff-files-section summary::-webkit-details-marker {
    display: none;
}

.hr-staff-files-count {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.hr-staff-files-list {
    display: grid;
    gap: 0.45rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.hr-staff-files-list li {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
}

.hr-staff-files-meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.hr-staff-upload-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.75rem;
}

.hr-staff-upload-form input[type="file"] {
    flex: 1 1 12rem;
    max-width: 100%;
    min-width: 0;
}

.hr-referee-toggle {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0;
}

.hr-referee-toggle .hr-form-subheading {
    margin: 0;
}

.hr-referee-fields {
    display: grid;
    gap: 0.75rem;
}

.hr-staff-table {
    width: 100%;
}

.hr-staff-table th,
.hr-staff-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.hr-staff-table tbody tr:nth-child(even) {
    background: #faf8fc;
}

.hr-report-grid {
    margin-top: 1rem;
}

.hr-report-stats {
    margin-top: 1rem;
}

.hr-report-groups {
    display: grid;
    gap: 0.75rem;
}

.hr-report-group {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.75rem 0.9rem;
}

.hr-report-group summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    justify-content: space-between;
    list-style: none;
}

.hr-report-group summary::-webkit-details-marker {
    display: none;
}

.hr-report-count {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf3;
    border-color: #abefc6;
    color: var(--success);
}

.badge {
    background: #eef2f7;
    border-radius: 999px;
    color: var(--muted);
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.badge-success {
    background: #ecfdf3;
    color: var(--success);
}

.badge-warning {
    background: #fff8e1;
    color: #8a5a00;
}

.badge-danger {
    background: #fff1f0;
    color: var(--danger);
}

.license-seat-count {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.7rem;
    text-align: center;
}

.license-seat-ok {
    color: var(--success);
}

.license-seat-full {
    color: #8a5a00;
}

.license-seat-over,
.license-seat-unknown {
    color: var(--danger);
}

.input-with-suffix {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.input-with-suffix input {
    flex: 1 1 auto;
    min-width: 0;
}

.input-suffix {
    color: var(--muted);
    flex: 0 0 auto;
    font-weight: 700;
}

.form-grid {
    max-width: 760px;
}

.form-grid-wide {
    max-width: 1100px;
}

.equipment-rows {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.equipment-item-row {
    align-items: end;
    background: #f8f6fb;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(10rem, 1.4fr) 5.5rem minmax(8rem, 1fr) minmax(8rem, 1fr) auto;
    padding: 0.85rem;
}

.equipment-item-row input,
.equipment-item-row select {
    margin-bottom: 0;
}

.equipment-item-row .equipment-remove-row {
    margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
    .equipment-item-row {
        grid-template-columns: 1fr 6rem;
    }

    .equipment-item-row > div:nth-child(3),
    .equipment-item-row > div:nth-child(4) {
        grid-column: 1 / -1;
    }
}

.print-report-header {
    display: none;
}

.two-column {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox {
    align-items: flex-start;
    display: flex;
    gap: 0.6rem;
    font-weight: 400;
}

.checkbox input {
    margin-top: 0.2rem;
    width: auto;
}

.checkbox small,
.help-text {
    color: var(--muted);
    display: block;
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.psc-follow-up-prompt {
    margin: 0.4rem 0 0 1.7rem;
}

.psc-hygiene-follow-up {
    margin-top: 0.25rem;
}

.input-locked,
input.input-locked[readonly] {
    background: #f3f4f6;
    color: #374151;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 700px) {
    .topbar,
    .topbar nav,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar nav {
        margin-top: 1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}

.psc-modal {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 40;
}

.psc-modal[hidden] {
    display: none;
}

.psc-modal-backdrop {
    background: rgba(17, 24, 39, 0.45);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.psc-modal-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    max-height: calc(100vh - 2rem);
    max-width: 32rem;
    overflow: auto;
    padding: 1.25rem;
    position: relative;
    width: 100%;
    z-index: 1;
}

.psc-modal-card h2 {
    margin-top: 0;
}

.psc-modal-card-wide {
    max-width: 42rem;
}

.psc-verification-notes-button {
    display: block;
    margin-top: 0.35rem;
}

.psc-verify-notes-section {
    margin-top: 1rem;
}

.psc-verify-notes-section h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.psc-verify-notes-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.psc-verify-notes-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.psc-recipient-toolbar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.psc-recipient-select {
    margin-bottom: 0.5rem;
    min-height: 8rem;
    width: 100%;
}

.psc-verification-cell {
    min-width: 8rem;
}

.psc-verify-link {
    color: var(--danger);
    font-weight: 600;
    text-decoration: underline;
}

.psc-verify-link:hover {
    color: #991b1b;
}

.psc-verified-badge {
    color: #059669;
    font-weight: 600;
}

.psc-verified-badge::before {
    content: '✓ ';
    color: #059669;
}

.psc-verified-meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.35;
}

.ppe-stock-status-row-no_stock {
    background: #fef2f2;
}

.ppe-stock-status-row-low_stock {
    background: #fffbeb;
}

.ppe-stock-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 700;
    gap: 0.4rem;
    line-height: 1.2;
    padding: 0.2rem 0.65rem;
    white-space: nowrap;
}

.ppe-stock-status::before {
    border-radius: 50%;
    content: "";
    flex-shrink: 0;
    height: 0.55rem;
    width: 0.55rem;
}

.ppe-stock-status-in_stock {
    background: #ecfdf3;
    color: #166534;
}

.ppe-stock-status-in_stock::before {
    background: #22c55e;
}

.ppe-stock-status-low_stock {
    background: #fffbeb;
    color: #92400e;
}

.ppe-stock-status-low_stock::before {
    background: #f59e0b;
}

.ppe-stock-status-no_stock {
    background: #fef2f2;
    color: #991b1b;
}

.ppe-stock-status-no_stock::before {
    background: #ef4444;
}

.ppe-stock-status-awaiting_review {
    background: #eff6ff;
    color: #1d4ed8;
}

.ppe-stock-status-awaiting_review::before {
    background: #3b82f6;
}

.supplier-sla.page-wide .container {
    max-width: 1600px;
}

.supplier-sla-page-actions .button {
    text-decoration: none;
    white-space: nowrap;
}

.supplier-sla-back-link {
    align-self: center;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.supplier-sla .button-secondary {
    background: #f3edf8;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.supplier-sla .button-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
}

.supplier-sla-stat-green {
    color: #166534;
}

.supplier-sla-stat-amber {
    color: #92400e;
}

.supplier-sla-stat-red {
    color: #991b1b;
}

.supplier-sla-filters {
    margin-bottom: 1rem;
}

.supplier-sla-filters-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.55rem;
    list-style: none;
    user-select: none;
}

.supplier-sla-filters-summary::-webkit-details-marker {
    display: none;
}

.supplier-sla-filters-title {
    font-weight: 700;
}

.supplier-sla-filters-active {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}

.supplier-sla-filters[open] > .supplier-sla-filters-summary .hr-tree-toggle::before {
    content: "−";
}

.supplier-sla-filter-form {
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.supplier-sla-filter-check {
    display: block;
    margin-top: 0.75rem;
}

.supplier-sla-status-row-no_stock {
    background: #fef2f2;
}

.supplier-sla-status-row-low_stock {
    background: #fffbeb;
}

.supplier-sla-status-row-awaiting_review {
    background: #eff6ff;
}

.supplier-sla-detail-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.supplier-sla-detail-grid h2 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.supplier-sla-target-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.supplier-sla-target-list li + li {
    margin-top: 0.35rem;
}

.supplier-sla-portal-actions form + form {
    margin-top: 0.75rem;
}

.supplier-sla-review-summary {
    display: grid;
    gap: 0.75rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 0;
}

.supplier-sla-review-summary dt {
    font-weight: 600;
    margin: 0 0 0.15rem;
}

.supplier-sla-review-summary dd {
    margin: 0;
}

.supplier-sla-questionnaire {
    display: grid;
    gap: 0.75rem;
}

.supplier-sla-questionnaire-section {
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.supplier-sla-questionnaire-section summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    list-style: none;
}

.supplier-sla-questionnaire-section summary::-webkit-details-marker {
    display: none;
}

.supplier-sla-questionnaire-section[open] > summary .hr-tree-toggle::before {
    transform: rotate(90deg);
}

.supplier-sla-questionnaire-section .supplier-sla-review-summary {
    margin-top: 0.75rem;
}

.supplier-sla-questionnaire-heading {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.supplier-sla-questionnaire-heading dt {
    font-size: 1rem;
    color: inherit;
}

.supplier-sla-attachments-panel {
    margin-bottom: 1rem;
}

.supplier-sla-attachment-previews {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    margin-top: 1rem;
}

.supplier-sla-attachment-preview {
    margin: 0;
}

.supplier-sla-attachment-preview img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: #fff;
}

.supplier-sla-attachment-preview figcaption {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    word-break: break-word;
}

.supplier-sla-table .actions-col {
    min-width: 14rem;
    width: 14rem;
}

.psc-verify-question {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.psc-verify-question:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.psc-verify-question-notes {
    width: 100%;
    margin-top: 0.35rem;
}

.psc-verify-manager-notes {
    margin-top: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: #f0fdf4;
    border-left: 3px solid #059669;
}

.anomaly-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-anomaly-check {
    background: #1a5276;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-anomaly-check:hover {
    background: #154360;
}

.anomaly-count {
    font-size: 0.85rem;
    color: #666;
}

.anomaly-panel {
    margin-bottom: 1.5rem;
}

.anomaly-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.anomaly-panel-header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.anomaly-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.anomaly-badge-ok {
    background: #d5f5e3;
    color: #1e8449;
}

.anomaly-badge-alert {
    background: #fdedec;
    color: #922b21;
}

.anomaly-alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.anomaly-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    line-height: 1.4;
}

.anomaly-card-warning {
    background: #fef9e7;
    border-left: 4px solid #f39c12;
}

.anomaly-card-critical {
    background: #fdedec;
    border-left: 4px solid #e74c3c;
}

.anomaly-card-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 2px;
}

.anomaly-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.anomaly-card-metric {
    font-weight: 400;
    color: #777;
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

.anomaly-card-message {
    font-size: 0.85rem;
    color: #555;
}

.anomaly-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.anomaly-chart-wrap {
    background: #fafbfc;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    padding: 0.75rem;
    max-height: 220px;
}

.page-heading-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.ds-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
}

.ds-tool.is-active {
    background: var(--brand-yellow);
    color: var(--text);
}

.ds-sign-action {
    display: inline-block;
    background: var(--brand-yellow);
    color: var(--brand-purple);
    border: 1px solid var(--brand-purple);
    border-radius: 0.6rem;
    font-weight: 800;
    padding: 0.45rem 0.9rem;
    text-decoration: none;
    animation: ds-sign-pulse 1.6s ease-in-out infinite;
}

.ds-sign-action:hover {
    background: #fff2a3;
    color: var(--brand-purple);
    text-decoration: none;
}

@keyframes ds-sign-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 228, 2, 0.75);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 228, 2, 0);
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ds-sign-action {
        animation: none;
    }
}

.ds-pages {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.ds-page {
    position: relative;
    display: inline-block;
    max-width: 100%;
    box-shadow: 0 8px 24px rgba(36, 0, 68, 0.12);
    background: #fff;
}

.ds-page canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.ds-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.ds-pages-sign .ds-overlay {
    cursor: default;
}

.ds-pages-prepare .ds-overlay {
    cursor: crosshair;
}

.ds-pages-prepare .ds-overlay.is-ready {
    background: rgba(36, 0, 68, 0.02);
}

.ds-drag-preview {
    position: absolute;
    border: 2px dashed #1d4ed8;
    background: rgba(29, 78, 216, 0.15);
    pointer-events: none;
    z-index: 3;
}

.ds-field {
    position: absolute;
    border: 2px dashed #1d4ed8;
    background: rgba(29, 78, 216, 0.12);
    overflow: hidden;
}

.ds-field-manager {
    border-color: #6d28d9;
    background: rgba(109, 40, 217, 0.12);
}

.ds-field.is-selected,
.ds-field.is-mine {
    border-style: solid;
    box-shadow: 0 0 0 2px #ffe402;
}

.ds-field.is-complete {
    background: rgba(22, 138, 74, 0.12);
    border-style: solid;
}

.ds-field img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.ds-field-label {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 0.25rem;
}

.ds-field-filled {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.4rem;
    font-weight: 700;
}

.ds-modal {
    position: fixed;
    inset: 0;
    background: rgba(36, 0, 68, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.ds-modal[hidden] {
    display: none;
}

.ds-modal-card {
    width: min(560px, calc(100% - 2rem));
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
}

#ds-sign-canvas {
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    margin: 0.6rem 0;
    background: #fff;
    cursor: crosshair;
}

.ds-toolbar button,
.ds-modal-card button {
    margin-right: 0;
}

.anomaly-chart-wrap h4 {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #333;
}

@media print {
    .psc-modal,
    .no-print,
    .anomaly-alert {
        display: none !important;
    }

    body {
        background: #ffffff;
        font-size: 11px;
    }

    .topbar,
    .screen-report-heading,
    .page-heading > a,
    .page-heading > .table-actions,
    .page-heading form,
    .alert,
    button,
    .link-button {
        display: none !important;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .print-report-header {
        display: block;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .print-report-header img {
        display: block;
        margin: 0 auto 1rem;
        width: 260px;
    }

    .print-report-header h1 {
        font-size: 20px;
        margin: 0 0 0.35rem;
    }

    .print-report-header p {
        font-size: 13px;
        margin: 0;
    }

    .print-report-header.is-left {
        align-items: flex-start;
        display: flex;
        gap: 1.25rem;
        text-align: left;
    }

    .print-report-header.is-left img {
        flex: 0 0 auto;
        margin: 0;
        width: 180px;
    }

    .print-report-header.is-left h1,
    .print-report-header.is-left p {
        margin: 0;
    }

    .print-report-header.is-left h1 {
        margin-bottom: 0.25rem;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 13px;
        margin: 0.9rem 0 0.35rem;
    }

    th,
    td {
        font-size: 10px;
        padding: 0.35rem;
    }

    .panel,
    .hero {
        border: 0;
        padding: 0;
    }

    .table-scroll {
        overflow: visible;
    }

    /* Long daily tables run over several sheets, so repeat the column headings
       and keep a row from being split down the middle by a page break. */
    thead {
        display: table-header-group;
    }

    tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .psc-issue-footer {
        page-break-inside: avoid;
    }
}

.invoice-approval-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.invoice-approval-progress {
    margin: 0;
    color: var(--muted);
}

.invoice-approval-status {
    margin: 0.75rem 0 0;
    padding: 0.6rem 0.85rem;
    border-radius: 0.6rem;
    background: rgba(22, 138, 74, 0.1);
    color: var(--success);
    font-weight: 700;
    font-size: 0.85rem;
}

.invoice-approval-status.is-error {
    background: rgba(180, 35, 24, 0.1);
    color: var(--danger);
}

.invoice-approval {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1rem;
}

.invoice-approval-viewer {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.25rem;
    min-width: 0;
}

.invoice-approval-viewer-bar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.invoice-approval-current {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.invoice-approval-current strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-approval-nav {
    flex: 0 0 auto;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.5rem 0.9rem;
    margin-right: 0;
}

.invoice-approval-nav:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.invoice-approval-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.invoice-approval-actions form {
    margin: 0;
}

.invoice-approval-actions button {
    margin-right: 0;
}

.invoice-approval-badge {
    background: rgba(22, 138, 74, 0.12);
    color: var(--success);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.invoice-approval-pages {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    max-height: 70vh;
    overflow-y: auto;
    background: #eef1f7;
    border-radius: 0.6rem;
    padding: 1rem;
}

.invoice-approval-page {
    display: block;
    max-width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 8px 24px rgba(36, 0, 68, 0.12);
}

.invoice-approval-list {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.invoice-approval-list h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.invoice-approval-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.invoice-approval-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 0.6rem;
    padding: 0.6rem 0.7rem;
    margin: 0 0 0.35rem;
    font-weight: 400;
}

.invoice-approval-item:hover {
    background: #f5f7fb;
    color: var(--text);
}

.invoice-approval-item.is-current {
    background: #f5f7fb;
    border-color: var(--primary);
    font-weight: 700;
}

.invoice-approval-item-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}

.invoice-approval-item-state {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.invoice-approval-item-state.is-approved {
    color: var(--success);
}

@media (max-width: 900px) {
    .invoice-approval {
        grid-template-columns: minmax(0, 1fr);
    }

    .invoice-approval-list ol {
        max-height: 240px;
    }
}

.ppe-requisition-print-body {
    background: #e5e7eb;
    margin: 0;
}

.page-toolbar-buttons {
    flex-wrap: nowrap;
}

.table-action-buttons {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.table-action-buttons .button,
.table-action-buttons .button-secondary {
    flex-shrink: 0;
    font-size: 0.8125rem;
    line-height: 1.2;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
    white-space: nowrap;
}

.table-action-buttons .button:hover,
.table-action-buttons .button-secondary:hover {
    text-decoration: none;
}

.actions-col {
    min-width: 26rem;
    white-space: nowrap;
    width: 26rem;
}

.ppe-requisitions-table {
    table-layout: fixed;
    width: 100%;
}

.ppe-requisitions-table .actions-col {
    min-width: 26rem;
    width: 26rem;
}

.ppe-requisition-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 1rem;
}

.ppe-requisition-toolbar .button,
.ppe-requisition-toolbar .button-secondary {
    text-decoration: none;
}

.ppe-requisition-toolbar .button:hover,
.ppe-requisition-toolbar .button-secondary:hover {
    text-decoration: none;
}

.ppe-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.panel-nested {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin: 0 0 1rem;
    padding: 1rem 1.25rem;
}

.ppe-stock-panel {
    overflow: visible;
}

.ppe-stock-scroll {
    max-height: min(72vh, calc(100vh - 14rem));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.ppe-stock-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.ppe-stock-table thead th {
    background: #ffffff;
    box-shadow: inset 0 -1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 2;
}

.ppe-stock-category-row td {
    background: var(--primary);
    border-bottom: 1px solid var(--border);
    color: #ffffff;
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
}

.ppe-stock-product-row td {
    background: #f3eff8;
    border-bottom: 1px solid var(--border);
    padding-top: 0.85rem;
}

.ppe-stock-variant-cell {
    padding-left: 1.75rem;
}

.ppe-stock-rating-row td {
    background: #faf8fc;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.35rem;
    padding-top: 0.35rem;
}

.ppe-stock-rating-cell {
    color: var(--text-muted, #5c5470);
    font-size: 0.92rem;
    font-weight: 600;
    padding-left: 1.75rem;
}

.ppe-stock-size-cell {
    padding-left: 2.5rem;
}

.ppe-inline-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.ppe-inline-form input[inputmode="numeric"] {
    margin-bottom: 0;
    max-width: 5rem;
    width: auto;
}

.ppe-requisition-sheet {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    line-height: 1.35;
    margin: 0 auto 2rem;
    max-width: 148mm;
    min-height: 210mm;
    padding: 10mm 12mm 8mm;
    width: 100%;
}

.ppe-requisition-confidential {
    font-size: 8pt;
    margin: 0 0 0.35rem;
    text-align: center;
}

.ppe-requisition-system {
    font-size: 8.5pt;
    font-weight: 700;
    margin: 0 0 0.35rem;
    text-align: center;
}

.ppe-requisition-title {
    font-size: 11pt;
    font-weight: 700;
    margin: 0 0 0.75rem;
    text-align: center;
}

.ppe-requisition-meta {
    border-collapse: collapse;
    font-size: 8pt;
    margin: 0 0 1rem;
    width: 100%;
}

.ppe-requisition-meta th,
.ppe-requisition-meta td {
    border: 1px solid #111827;
    padding: 0.25rem 0.4rem;
    text-align: left;
}

.ppe-requisition-meta th {
    font-weight: 700;
    width: 34%;
}

.ppe-requisition-section {
    margin-bottom: 0.85rem;
}

.ppe-requisition-section h2 {
    font-size: 10pt;
    margin: 0 0 0.5rem;
}

.ppe-requisition-field {
    margin-bottom: 0.45rem;
}

.ppe-requisition-field-block {
    margin-top: 0.55rem;
}

.ppe-requisition-label {
    display: inline-block;
    font-weight: 700;
    min-width: 7.5rem;
}

.ppe-requisition-value {
    display: inline;
}

.ppe-requisition-multiline {
    display: block;
    margin-top: 0.25rem;
    min-height: 2.5rem;
    white-space: pre-wrap;
}

.ppe-requisition-signature {
    border-bottom: 1px solid #111827;
    display: inline-block;
    min-width: 12rem;
    min-height: 1.1rem;
    padding-bottom: 0.1rem;
}

.ppe-signature-pad {
    margin-top: 0.75rem;
}

.ppe-signature-canvas {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    cursor: crosshair;
    display: block;
    margin: 0.5rem 0;
    max-width: 100%;
    touch-action: none;
    width: min(480px, 100%);
}

.ppe-requisition-signature-image {
    display: block;
    max-height: 48px;
    max-width: 220px;
}

.meter-average-stats {
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.meter-average-stats h3,
.meter-average-stats h4 {
    margin: 0 0 0.5rem;
}

.meter-average-stats h4 {
    font-size: 0.95rem;
    margin-top: 1rem;
}

.meter-average-stats-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 0.5rem;
}

.meter-average-stat-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
}

.meter-average-stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.meter-average-stat-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ppe-req-picker {
    border: 0;
    margin: 0;
    padding: 0;
}

.ppe-req-category {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
}

.ppe-req-category-toggle {
    display: block;
    margin-bottom: 0;
}

.ppe-req-category-panel {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.ppe-req-product {
    margin-bottom: 0.75rem;
}

.ppe-req-product:last-child {
    margin-bottom: 0;
}

.ppe-req-product-name {
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.ppe-req-variant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
}

.ppe-req-variant {
    margin: 0;
}

.ppe-req-issue-location {
    margin-top: 1rem;
}

.ppe-report-filters {
    align-items: end;
}

.ppe-report-stats h2,
.ppe-report-grid h2 {
    font-size: 1.05rem;
    margin: 0 0 0.85rem;
}

.ppe-report-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hr-app {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hr-app-header {
    align-items: center;
    background: var(--brand-purple);
    color: #ffffff;
    display: grid;
    gap: 0.75rem 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.85rem 1.5rem;
}

.hr-app-header-start {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
}

.hr-app-brand {
    background: #ffffff;
    border-radius: 0.55rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    line-height: 0;
    padding: 0.4rem 0.65rem;
}

.hr-app-brand img {
    display: block;
    height: 42px;
    width: auto;
}

.hr-app-search {
    align-items: stretch;
    display: flex;
    gap: 0.5rem;
    justify-self: center;
    margin: 0;
    max-width: 34rem;
    min-width: 0;
    width: 100%;
}

.hr-app-search-field {
    background: #ffffff;
    border-radius: 0.6rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
}

.hr-app-search-field input {
    background: transparent;
    border: 0;
    border-radius: 0.6rem;
    display: block;
    margin: 0;
    width: 100%;
}

.hr-app-search-button {
    border: 0;
    border-radius: 0.6rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: nowrap;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.hr-search-group-title {
    font-size: 1rem;
    margin: 1.25rem 0 0.65rem;
}

.hr-search-group-title:first-of-type {
    margin-top: 0.75rem;
}

.hr-search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hr-search-results li {
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0;
}

.hr-search-results li:first-child {
    border-top: 0;
    padding-top: 0;
}

.hr-app-header-title {
    min-width: 0;
}

.hr-app-eyebrow {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.hr-app-module-title {
    font-size: 1.35rem;
    line-height: 1.1;
    margin: 0.15rem 0 0;
}

.hr-app-header-nav {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 1rem;
}

.hr-app-header-nav a {
    color: #ffffff;
    font-weight: 600;
}

.hr-app-header-nav a:hover {
    color: var(--brand-yellow);
    text-decoration: none;
}

.hr-app-frame {
    display: flex;
    flex: 1;
    min-height: 0;
}

.hr-app-sidebar {
    background: var(--card);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
    padding: 1.25rem 0;
    width: 260px;
}

.hr-app-sidebar-label {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
    padding: 0 1.25rem;
    text-transform: uppercase;
}

.hr-tree-nav {
    display: grid;
    gap: 0.1rem;
}

.hr-tree-link,
.hr-tree-summary {
    color: var(--text);
    font-weight: 600;
}

.hr-tree-link {
    border-right: 3px solid transparent;
    display: block;
    padding: 0.65rem 1.25rem 0.65rem calc(1.25rem + (var(--hr-tree-depth, 0) * 1rem));
    text-decoration: none;
}

.hr-tree-link:hover {
    background: #f3eff8;
    text-decoration: none;
}

.hr-tree-link.is-active {
    background: #f3eff8;
    border-right-color: var(--brand-purple);
    color: var(--brand-purple);
}

.hr-tree-group {
    margin: 0;
}

.hr-tree-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.55rem;
    list-style: none;
    padding: 0.65rem 1.25rem;
    user-select: none;
}

.hr-tree-summary::-webkit-details-marker {
    display: none;
}

.hr-tree-toggle {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    color: var(--brand-purple);
    display: inline-flex;
    flex-shrink: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    height: 1.15rem;
    justify-content: center;
    line-height: 1;
    width: 1.15rem;
}

.hr-tree-toggle::before {
    content: "+";
    margin-top: -1px;
}

.hr-tree-group[open] > .hr-tree-summary .hr-tree-toggle::before {
    content: "−";
}

.hr-tree-label {
    flex: 1;
    min-width: 0;
}

.hr-tree-summary:hover {
    background: #f3eff8;
}

.hr-tree-group.is-active > .hr-tree-summary {
    color: var(--brand-purple);
}

.hr-tree-children {
    display: grid;
    gap: 0.05rem;
}

.hr-tree-children .hr-tree-group > .hr-tree-summary {
    padding-left: calc(1.25rem + 1rem);
}

.hr-tree-children .hr-tree-children .hr-tree-group > .hr-tree-summary {
    padding-left: calc(1.25rem + 2rem);
}

.hr-tree-empty {
    color: var(--muted);
    font-size: 0.875rem;
    margin: 0;
    padding: 0.35rem 1.25rem 0.65rem 2.25rem;
}

.hr-app-main {
    flex: 1;
    min-width: 0;
    overflow: auto;
    padding: 1.5rem;
}

.hr-app-main-inner {
    margin: 0 auto;
    max-width: 1200px;
}

.hr-page-title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
}

.hr-dashboard-stats {
    margin-top: 1rem;
}

.hr-dashboard-stats .meter-average-stats-grid {
    margin-bottom: 0;
}

.hr-dashboard-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 1rem;
}

.hr-panel-expand {
    margin: 0;
}

.hr-panel-expand-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.55rem;
    list-style: none;
    user-select: none;
}

.hr-panel-expand-summary::-webkit-details-marker {
    display: none;
}

.hr-panel-expand-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.hr-panel-expand-body {
    padding-top: 1rem;
}

.hr-panel-expand[open] > .hr-panel-expand-summary .hr-tree-toggle::before {
    content: "−";
}

.hr-dashboard-quick-links {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .hr-app-header {
        grid-template-columns: 1fr;
    }

    .hr-app-header-nav {
        justify-content: flex-end;
        width: 100%;
    }

    .hr-app-search {
        justify-self: stretch;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .hr-app-frame {
        flex-direction: column;
    }

    .hr-app-sidebar {
        border-bottom: 1px solid var(--border);
        border-right: 0;
        padding: 1rem 0;
        width: 100%;
    }

    .hr-tree-nav {
        padding: 0 0.5rem;
    }
}

.ppe-requisition-reasons {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
}

.ppe-requisition-reasons li {
    margin-bottom: 0.2rem;
}

.ppe-requisition-line {
    margin: 0 0 0.45rem;
}

.ppe-requisition-note {
    font-size: 8pt;
    font-style: italic;
}

.ppe-requisition-footer {
    border-top: 1px solid #d1d5db;
    font-size: 7.5pt;
    margin-top: 1rem;
    padding-top: 0.5rem;
    text-align: center;
}

.ppe-requisition-footer p {
    margin: 0.15rem 0;
}

@media print {
    @page {
        margin: 0;
        size: A5 portrait;
    }

    .ppe-requisition-print-body {
        background: #ffffff;
    }

    .ppe-requisition-sheet {
        box-shadow: none;
        margin: 0;
        max-width: none;
        min-height: auto;
        padding: 8mm 10mm;
        width: auto;
    }
}

.training-sign-off-page-actions .button,
.training-sign-off-print-toolbar .button {
    text-decoration: none;
}

.training-sign-off-page-actions .button:hover,
.training-sign-off-print-toolbar .button:hover {
    text-decoration: none;
}

.training-sign-off-back-link {
    align-self: center;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.training-sign-off-back-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.training-sign-off .table-action-buttons .button {
    text-decoration: none;
}

.training-sign-off .table-action-buttons .button:hover {
    text-decoration: none;
}

.training-sign-off .button-secondary {
    background: #f3edf8;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.training-sign-off .button-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
}

.hr-staff-training-panel .help-text {
    display: block;
    margin-top: 0.15rem;
}

.hr-staff-training-table .actions-col {
    min-width: 12rem;
}

.training-sign-off-filters {
    margin-bottom: 1rem;
}

.training-sign-off-filters-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.55rem;
    list-style: none;
    user-select: none;
}

.training-sign-off-filters-summary::-webkit-details-marker {
    display: none;
}

.training-sign-off-filters-title {
    font-weight: 700;
}

.training-sign-off-filters-active {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}

.training-sign-off-filters[open] > .training-sign-off-filters-summary .hr-tree-toggle::before {
    content: "−";
}

.training-sign-off-filter-form {
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.training-sign-off-filter-form .form-actions {
    margin-top: 0.75rem;
}

.training-sign-off-filter-check {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.training-sign-off-course-fields {
    display: grid;
    gap: 1rem;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.training-sign-off-course-template-form .form-actions,
.training-sign-off-course-template-form button {
    margin-top: 0.75rem;
}

.training-sign-off-renewal-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.training-sign-off-renewal-filters a {
    font-weight: 700;
    text-decoration: none;
}

.training-sign-off-renewal-filters a.is-active {
    color: var(--primary-dark);
    text-decoration: underline;
}

.training-sign-off-table {
    width: 100%;
}

.training-sign-off-form .form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.training-sign-off-staff-list {
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    max-height: 360px;
    overflow: auto;
    padding: 0.75rem;
}

.training-sign-off-staff-option {
    align-items: flex-start;
    display: flex;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
}

.training-sign-off-staff-option:last-child {
    margin-bottom: 0;
}

.training-sign-off-summary .detail-list {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0;
}

.training-sign-off-summary .detail-list > div {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.training-sign-off-summary .detail-list dt {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.training-sign-off-summary .detail-list dd {
    color: var(--text);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

@media (min-width: 900px) {
    .training-sign-off-summary .detail-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.training-sign-off-notes h2,
.training-sign-off-print-attendees h2,
.training-sign-off-print-notes h2 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

.training-sign-off-attendees-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.training-sign-off-attendees-heading h2 {
    margin: 0;
}

.training-sign-off-duplicate-attendees {
    margin: 0;
    padding-left: 1.25rem;
}

.training-sign-off-attendees {
    display: grid;
    gap: 1rem;
}

.training-sign-off-attendee-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
}

.training-sign-off-attendee-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.training-sign-off-attendee-header h3 {
    margin: 0 0 0.25rem;
}

.training-sign-off-add-attendees {
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.training-sign-off-add-attendees h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.training-sign-off-copy-link {
    margin-top: 0.5rem;
}

.training-sign-off-copy-link label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.training-sign-off-copy-link-row {
    display: flex;
    gap: 0.5rem;
}

.training-sign-off-copy-link-row input {
    flex: 1;
    min-width: 0;
}

.training-sign-off-attendee-status {
    color: var(--muted);
    margin: 0;
}

.training-sign-off-attendee-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.training-sign-off-sign-panel summary {
    cursor: pointer;
    font-weight: 600;
}

.training-sign-off-sign-form {
    margin-top: 0.75rem;
}

.training-sign-off-signature-preview img {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    display: block;
    margin-top: 0.75rem;
    max-height: 120px;
    max-width: 320px;
}

.training-sign-off-cancel-form {
    margin-top: 1rem;
}

.training-sign-off-print-toolbar {
    display: flex;
    gap: 0.75rem;
    margin: 1rem;
}

.training-sign-off-print-sheet {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin: 0 auto 2rem;
    max-width: 960px;
    padding: 2rem;
}

.training-sign-off-print-header h1 {
    margin: 0.25rem 0 1rem;
}

.training-sign-off-print-eyebrow {
    color: var(--muted);
    margin: 0;
    text-transform: uppercase;
}

.training-sign-off-print-meta {
    display: grid;
    gap: 0.75rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 1.5rem;
}

.training-sign-off-print-field {
    display: grid;
    gap: 0.15rem;
}

.training-sign-off-print-label {
    color: var(--muted);
    font-size: 0.875rem;
}

.training-sign-off-print-table {
    border-collapse: collapse;
    width: 100%;
}

.training-sign-off-print-table th,
.training-sign-off-print-table td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.training-sign-off-print-signature-cell img {
    display: block;
    max-height: 64px;
    max-width: 180px;
}

@media print {
    .training-sign-off-print-body {
        background: #ffffff;
    }

    .training-sign-off-print-sheet {
        box-shadow: none;
        margin: 0;
        max-width: none;
        padding: 0;
    }
}

.admin-users.page-wide .container {
    max-width: 1600px;
}

.admin-users .page-heading > .table-actions {
    flex-wrap: nowrap;
}

.admin-users .page-heading > .table-actions .button {
    text-decoration: none;
    white-space: nowrap;
}

.admin-users-table {
    table-layout: fixed;
    width: 100%;
}

.admin-users-table .actions-col {
    min-width: 22rem;
    width: 22rem;
}

.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3),
.admin-users-table th:nth-child(5),
.admin-users-table td:nth-child(5),
.admin-users-table th:nth-child(6),
.admin-users-table td:nth-child(6) {
    width: 6.5rem;
}

.admin-users-table th:nth-child(4),
.admin-users-table td:nth-child(4) {
    width: 10rem;
}

.admin-users .table-action-buttons form {
    margin: 0;
}
