:root {
    --hr-paper: #f3f6f4;
    --hr-mist: #e8eef0;
    --hr-sage: #d7e5dc;
    --hr-sea: #d5e4ea;
    --hr-sand: #ebe6dc;
    --hr-text: #24302b;
    --hr-muted: #5f6d66;
    --hr-border: #d7e0db;
    --hr-primary: #3f6f5f;
    --hr-primary-soft: #5a8a78;
    --hr-primary-dark: #2f5649;
    --hr-accent: #6d7f74;
    --hr-ok-bg: #e4f0e7;
    --hr-ok-text: #2a5a40;
    --hr-ok-border: #b8d4c0;
    --hr-warn-bg: #f5eee4;
    --hr-warn-text: #6b4e2e;
    --hr-warn-border: #e0d0b8;
    --hr-card: rgba(255, 255, 255, 0.92);
    --hr-shadow: 0 10px 28px rgba(47, 86, 73, 0.07);
    --hr-shadow-soft: 0 4px 14px rgba(47, 86, 73, 0.05);
    --font: "Source Sans 3", "Segoe UI", sans-serif;
    --font-display: "Source Serif 4", Georgia, serif;
    --radius: 1rem;
    --radius-sm: 0.7rem;
}

* { box-sizing: border-box; }

body.hr-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--hr-text);
    background: var(--hr-paper);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.hr-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(980px 520px at 8% -8%, rgba(215, 229, 220, 0.85), transparent 58%),
        radial-gradient(860px 480px at 100% 0%, rgba(213, 228, 234, 0.75), transparent 55%),
        radial-gradient(720px 420px at 55% 110%, rgba(235, 230, 220, 0.7), transparent 52%),
        linear-gradient(165deg, #f7f9f8 0%, #eef3f1 48%, #e9eef1 100%);
}

.hr-nav {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(215, 224, 219, 0.9);
    box-shadow: var(--hr-shadow-soft);
}

.hr-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--hr-text);
}

.hr-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.8rem;
    background: linear-gradient(145deg, #e8f1ec, #d5e4ea);
    color: var(--hr-primary-dark);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hr-brand-mark-lg {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1rem;
    margin-bottom: 0.95rem;
    border-radius: 1rem;
}

.hr-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hr-brand-text strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.hr-brand-text small {
    color: var(--hr-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.hr-nav-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.8rem;
}

.hr-nav-name {
    font-weight: 650;
    color: var(--hr-text);
}

.hr-nav-its {
    font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 650;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: #eaf1ed;
    color: var(--hr-primary-dark);
    border: 1px solid #d2e0d8;
}

.hr-pill {
    display: inline-flex;
    padding: 0.22rem 0.58rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.05em;
}

.hr-pill-hof {
    background: #ebe6dc;
    color: #5d5346;
    border: 1px solid #ddd4c5;
}

.hr-main { max-width: 1080px; }

.hr-page-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.35rem;
    padding: 1.35rem 1.45rem;
    border-radius: calc(var(--radius) + 0.15rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(232, 241, 236, 0.72) 55%, rgba(229, 238, 242, 0.7));
    border: 1px solid rgba(215, 224, 219, 0.95);
    box-shadow: var(--hr-shadow);
}

.hr-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hr-accent);
}

.hr-page-head h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--hr-text);
}

.hr-lead {
    margin: 0.45rem 0 0;
    color: var(--hr-muted);
    font-weight: 500;
    font-size: 0.98rem;
    max-width: 38rem;
    line-height: 1.55;
}

.hr-count {
    flex-shrink: 0;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--hr-border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hr-primary-dark);
}

.hr-card {
    background: var(--hr-card);
    border: 1px solid rgba(215, 224, 219, 0.95);
    border-radius: calc(var(--radius) + 0.15rem);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--hr-shadow);
}

.hr-login-card { padding: 2rem 1.7rem; }
.hr-login-head { text-align: center; margin-bottom: 1.35rem; }
.hr-login-head h1 {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}
.hr-login-head p {
    margin: 0;
    color: var(--hr-muted);
    font-weight: 500;
    line-height: 1.5;
}
.hr-login-hint {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: var(--hr-muted);
    font-weight: 550;
}

.hr-login-resend {
    color: var(--hr-primary);
    font-weight: 650;
}

.hr-login-note {
    color: var(--hr-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.hr-input,
.hr-form .form-select,
.edu-input {
    border-radius: var(--radius-sm);
    border-color: #cfdad4;
    background: #fff;
    min-height: 2.75rem;
    color: var(--hr-text);
}

.hr-input:focus,
.hr-form .form-select:focus,
.edu-input:focus {
    border-color: var(--hr-primary-soft);
    box-shadow: 0 0 0 0.2rem rgba(90, 138, 120, 0.18);
}

.form-label {
    font-weight: 650;
    color: #3a4741;
    margin-bottom: 0.4rem;
}

.hr-btn-primary {
    background: linear-gradient(160deg, var(--hr-primary-soft), var(--hr-primary));
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.58rem 1.2rem;
    box-shadow: 0 8px 18px rgba(63, 111, 95, 0.22);
}

.hr-btn-primary:hover,
.hr-btn-primary:focus {
    background: linear-gradient(160deg, var(--hr-primary), var(--hr-primary-dark));
    color: #fff;
}

.hr-btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--hr-border);
    color: var(--hr-text);
    font-weight: 650;
    border-radius: var(--radius-sm);
}

.hr-btn-ghost:hover {
    background: #eaf1ed;
    color: var(--hr-primary-dark);
    border-color: #c8d8cf;
}

.hr-table {
    --bs-table-bg: transparent;
}

.hr-table thead th {
    background: linear-gradient(180deg, #f2f6f4, #e8efeb);
    color: var(--hr-muted);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 750;
    border-bottom-color: var(--hr-border);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.hr-table tbody td {
    vertical-align: middle;
    border-color: #e8eeea;
    font-weight: 550;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.hr-table tbody tr:hover td {
    background: rgba(232, 241, 236, 0.55);
}

.hr-mono {
    font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.hr-alert-ok {
    background: var(--hr-ok-bg);
    border: 1px solid var(--hr-ok-border);
    color: var(--hr-ok-text);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.hr-alert-warn {
    background: var(--hr-warn-bg);
    border: 1px solid var(--hr-warn-border);
    color: var(--hr-warn-text);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.hr-fieldset {
    border: 1px solid var(--hr-border);
    border-radius: var(--radius);
    padding: 1.05rem 1.15rem 1.2rem;
    background: rgba(255, 255, 255, 0.62);
}

.hr-fieldset legend {
    float: none;
    width: auto;
    padding: 0 0.5rem;
    margin-bottom: 0.85rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--hr-primary-dark);
}

.hr-fixed {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(232, 241, 236, 0.75), rgba(229, 238, 242, 0.65));
    border: 1px solid rgba(215, 224, 219, 0.95);
}

.hr-fixed span {
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hr-muted);
}

.hr-fixed strong {
    font-weight: 650;
    color: var(--hr-text);
}

.hr-radio-row,
.edu-radio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hr-radio,
.edu-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hr-border);
    font-weight: 650;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.hr-radio:hover,
.edu-radio:hover {
    border-color: #b8cdc2;
    background: #f7faf8;
}

.hr-radio input,
.edu-radio input,
.edu-td-radio input {
    margin: 0;
    accent-color: var(--hr-primary);
}

.edu-workflow-table {
    --bs-table-bg: transparent;
}

.edu-workflow-table thead th {
    background: #eef4f1;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hr-muted);
    font-weight: 750;
}

.edu-workflow-table tbody td {
    border-color: #e8eeea;
    vertical-align: middle;
}

.edu-slide-row.is-collapsed,
.is-collapsed { display: none !important; }

.edu-td-radio {
    display: flex;
    justify-content: center;
}

.edu-follow-cell .edu-slide-inner {
    padding: 0.35rem 0;
}

.hr-footer {
    margin-top: 2.25rem;
    padding: 1.35rem 0 1.85rem;
    text-align: center;
    color: var(--hr-muted);
    font-size: 0.84rem;
    font-weight: 550;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 0.6rem;
    border: 1px solid #cfdad4;
    padding: 0.35rem 0.6rem;
    color: var(--hr-text);
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    color: var(--hr-muted);
    font-weight: 550;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.5rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #e8f1ec !important;
    border-color: #c5d8cc !important;
    color: var(--hr-primary-dark) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f2f6f4 !important;
    border-color: #d2e0d8 !important;
    color: var(--hr-text) !important;
}

@media (max-width: 767.98px) {
    .hr-nav-meta { width: 100%; margin-top: 0.65rem; }
    .hr-page-head { padding: 1.05rem 1.1rem; }
    .hr-card { padding: 1.05rem 1.1rem; }
}

/* Work / occupation */
.hr-work-block {
    padding: 1rem 0 0.25rem;
}

.hr-work-block + .hr-work-block,
#work-secondary-wrap .hr-work-block {
    border-top: 1px solid var(--hr-border);
    margin-top: 0.5rem;
    padding-top: 1.15rem;
}

.hr-work-block-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--hr-primary-dark);
    margin: 0 0 0.85rem;
}

.hr-work-divider {
    border: 0;
    border-top: 1px dashed #d5e0da;
    margin: 0.15rem 0;
}

.hr-field-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: var(--hr-muted);
    font-weight: 550;
}

.hr-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.45rem 0.75rem;
}

.hr-skill {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--hr-border);
    background: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.hr-skill:hover {
    border-color: #b8cdc2;
    background: #f7faf8;
}

.hr-skill input {
    margin-top: 0.15rem;
    accent-color: var(--hr-primary);
}

.hr-secondary-toggle {
    padding-top: 0.35rem;
}

