:root {
    --tactum-green: #357454;
    --tactum-green-hover: #285d42;
    --tactum-ink: #24303d;
    --tactum-muted: #687487;
    --tactum-border: #e9ece6;
    --tactum-surface: #fff;
    --tactum-canvas: #fafbf9;
    --tactum-soft: #edf3ed;
    --tactum-danger: #a45540;
    --tactum-danger-soft: #faeeea;
    --tactum-warning: #886021;
    --tactum-warning-soft: #fdf3e1;
    --tactum-radius: 15px;
    --tactum-font: "Segoe UI", system-ui, -apple-system, sans-serif;
    --tactum-sidebar: 280px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--tactum-canvas);
    color: var(--tactum-ink);
    font: 14px/1.5 var(--tactum-font);
}
.app-shell {
    min-height: 100vh;
}
.tactum-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tactum-sidebar {
    --tactum-footer-inset: 21px;
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: var(--tactum-sidebar);
    padding: 62px 14px calc(48px + var(--tactum-footer-inset) + 22px);
    overflow: hidden;
    background: linear-gradient(145deg, #fff, #fcfdfb);
    border-right: 1px solid var(--tactum-border);
}
.tactum-brand {
    display: block;
    padding: 0 24px 27px;
    color: oklch(18% 0.018 155);
    font:
        600 27px/1.5 Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.tactum-brand:hover {
    color: oklch(18% 0.018 155);
}
.tactum-brand-dot {
    color: oklch(52% 0.13 151);
    font-style: normal;
}
.tactum-side-nav {
    display: grid;
    align-content: start;
    flex: 1 1 auto;
    gap: 4px;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 0;
}
.tactum-side-link {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 12px;
    color: #46505c;
    text-decoration: none;
}
.tactum-side-link:hover,
.tactum-side-link.is-active {
    background: var(--tactum-soft);
    color: #2e684b;
}
.tactum-side-link.is-active {
    font-weight: 600;
}
.tactum-logout {
    position: absolute;
    right: var(--tactum-footer-inset);
    bottom: var(--tactum-footer-inset);
    left: var(--tactum-footer-inset);
}
.tactum-logout button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px;
    color: var(--tactum-muted);
    background: transparent;
}
.tactum-logout .tactum-icon {
    width: 18px;
}
.tactum-mobile-menu {
    display: none;
}
.content {
    min-width: 0;
    width: calc(100% - var(--tactum-sidebar));
    max-width: none;
    margin-left: var(--tactum-sidebar);
    padding: 0 clamp(16px, 2.5vw, 48px) 32px;
    background:
        radial-gradient(ellipse at 80% 0, #edf0e7 0, transparent 36%),
        linear-gradient(145deg, #faf9f6, #fcfdfb 65%);
}
.content > h1,
.content .page-heading {
    margin-top: 0;
    padding-top: 32px;
}
.content h1,
.local-hrux-hero h1 {
    margin: 0;
    color: #232d36;
    font-size: clamp(28px, 2.6vw, 40px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.2;
}
.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.local-hrux-dashboard-top,
.local-hrux-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    min-height: 150px;
    padding: 24px 0;
    margin: 0 0 16px;
}
.local-hrux-dashboard-top:before,
.local-hrux-hero:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: min(400px, 45%);
    height: 100%;
    background: url("/images/tactum-hero-leaves.png") center 56% / cover
        no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.62;
    mask-image: linear-gradient(
        to bottom right,
        transparent 5%,
        #000 45%,
        transparent 95%
    );
}
.local-hrux-hero > h1 {
    flex: 1 1 60%;
}
.tactum-user {
    display: flex;
    flex: 0 1 245px;
    align-items: center;
    gap: 12px;
    min-width: 185px;
    padding: 13px 15px;
    border: 1px solid #ffffffb3;
    border-radius: 18px;
    background: #ffffffe0;
}
.tactum-user strong,
.tactum-user small {
    display: block;
}
.tactum-user small {
    margin-top: 2px;
    color: var(--tactum-muted);
    font-size: 12px;
}
.tactum-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(140deg, #518665, #2c6649);
    color: #fff;
}
.card,
.local-hrux-card,
.local-hrux-metric {
    border: 1px solid var(--tactum-border);
    border-radius: var(--tactum-radius);
    background: var(--tactum-surface);
    box-shadow: 0 3px 14px #33472d08;
}
.card,
.local-hrux-card {
    padding: 20px 18px 18px;
    margin-bottom: 16px;
}
.local-hrux-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 16px;
    font-size: 16px;
}
.local-hrux-card-title .tactum-icon {
    width: 21px;
    color: #367963;
}
.local-hrux-card-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--tactum-border);
}
.local-hrux-card-actions {
    position: relative;
    margin: 16px -18px -18px;
    padding: 14px 18px 18px;
    overflow: hidden;
}
.local-hrux-card-actions:before {
    content: "";
    position: absolute;
    right: -7px;
    bottom: -32px;
    z-index: -1;
    width: 136px;
    height: 98px;
    background: url('/images/tactum-pair-leaves.png') center / contain no-repeat;
    mix-blend-mode: multiply;
    opacity: .75;
}
.local-hrux-kpi-grid,
.local-hrux-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.local-hrux-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.local-hrux-accounting-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    gap: 14px;
    margin: 16px 0;
}
.local-hrux-filters label {
    margin: 0;
    font-size: 13px;
}
.local-hrux-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.local-hrux-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}
.local-hrux-table-card {
    padding: 0;
}
.local-hrux-table-card > h2 {
    margin: 0;
    padding: 20px 18px 16px;
}
.local-hrux-table-card > p {
    margin: 0;
    padding: 0 18px 16px;
}
.local-hrux-table-card th,
.local-hrux-table-card td {
    padding: 14px 18px;
}
.local-hrux-template-card {
    padding: 18px;
}
.local-hrux-template-group {
    margin-bottom: 2px;
    border-radius: 8px;
    background: #f3f7f1;
}
.local-hrux-template-group summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #19334d;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}
.local-hrux-template-group .table-wrap {
    background: #fff;
}
.local-hrux-template-group > summary {
    list-style: none;
}
.local-hrux-template-group > summary::-webkit-details-marker {
    display: none;
}
.local-hrux-template-group > summary:before {
    content: '▸';
    color: var(--tactum-green);
    font-size: 12px;
}
.local-hrux-template-group[open] > summary:before {
    content: '▾';
}
.local-hrux-template-list {
    padding: 0 2px;
    background: #fff;
}
.local-hrux-template-row {
    padding: 14px 0;
    border-bottom: 1px solid #e9ece6;
}
.local-hrux-template-row-head,
.local-hrux-template-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.local-hrux-template-row-head > a {
    color: #243d50;
    font-weight: 600;
    text-decoration: none;
}
.local-hrux-template-row-head > span {
    color: var(--tactum-muted);
    font-size: 12px;
}
.local-hrux-template-row-actions {
    justify-content: flex-start;
    margin-top: 10px;
}
.local-hrux-template-count {
    border-radius: 12px;
    padding: 2px 8px;
    background: #eaf1fb;
    color: #326fab;
    font-size: 12px;
}
.local-hrux-template-card > .local-hrux-button {
    margin-top: 16px;
}
.local-hrux-list-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.local-hrux-list-tabs > span {
    flex-basis: 100%;
    color: var(--tactum-muted);
    font-size: 12px;
}
.local-hrux-pair-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 315px;
}
.local-hrux-department-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.local-hrux-department-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}
.local-hrux-department-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}
.local-hrux-department-heading h2 {
    margin: 0;
    font-size: 17px;
}
.local-hrux-department-card p {
    margin: 0;
}
.local-hrux-department-card strong {
    font-size: 22px;
}
.local-hrux-department-card > .local-hrux-button {
    width: 100%;
    margin-top: auto;
}
.local-hrux-department-card form {
    margin-top: -8px;
}
.local-hrux-form-card {
    width: min(100%, 920px);
}
.local-hrux-form-card label:first-child {
    margin-top: 0;
}
.local-hrux-dashboard-grid .local-hrux-card {
    margin: 0;
}
.local-hrux-metric {
    min-height: 116px;
    padding: 18px 20px;
    color: var(--tactum-ink);
    text-decoration: none;
}
.tactum-metric-with-icon {
    display: flex;
    align-items: center;
    gap: 18px;
}
.tactum-metric-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    height: 58px;
    border-radius: 18px;
    background: #eaf4f0;
    color: #237665;
    transform: translateY(-5px);
}
.tactum-metric-icon .tactum-icon {
    width: 29px;
    height: 29px;
}
.tactum-metric-tasks {
    background: #eaf1fb;
    color: #326fab;
}
.tactum-metric-risk {
    background: #faf2e6;
    color: #9a7540;
}
.tactum-metric-reports,
.tactum-metric-payments {
    background: #f1f3f5;
    color: #61778d;
}
.local-hrux-metric-value,
.local-hrux-metric-label {
    display: block;
}
.local-hrux-metric-value {
    font-size: clamp(26px, 2.2vw, 34px);
}
.local-hrux-metric-label {
    margin-top: 4px;
    color: #4d596b;
    font-size: 13px;
}
.local-hrux-danger .local-hrux-metric-value {
    color: var(--tactum-danger);
}
.local-hrux-warning .local-hrux-metric-value {
    color: var(--tactum-warning);
}
.local-hrux-success .local-hrux-metric-value {
    color: var(--tactum-green);
}
label {
    display: grid;
    gap: 7px;
    margin: 16px 0;
    color: #354c40;
    font-weight: 600;
}
input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d7e1d7;
    border-radius: 8px;
    background: #fff;
    color: var(--tactum-ink);
    font: inherit;
}
textarea {
    min-height: 96px;
    resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
    border-color: #73a88a;
    outline: 2px solid #35745426;
    outline-offset: 1px;
}
.checkbox {
    display: flex;
    align-items: center;
}
.checkbox input {
    width: auto;
    min-height: 0;
    padding: 0;
}
button,
.button,
.local-hrux-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 37px;
    border: 1px solid #aecdbb;
    border-radius: 7px;
    padding: 8px 15px;
    background: #fcfefb;
    color: #316e52;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.button:hover,
.local-hrux-button:hover,
button:hover {
    border-color: #73a88a;
    background: var(--tactum-soft);
    color: #255b42;
}
.button-primary,
.local-hrux-button-primary,
button[type='submit'] {
    border-color: var(--tactum-green);
    background: linear-gradient(135deg, #478460, #306b4c);
    color: #fff;
}
.button-primary:hover,
.local-hrux-button-primary:hover,
button[type='submit']:hover {
    background: var(--tactum-green-hover);
    color: #fff;
}
.inline {
    display: inline;
    margin-left: 8px;
}
.inline button {
    padding: 6px 9px;
    font-size: 13px;
}
.error {
    color: var(--tactum-danger);
}
.status {
    color: var(--tactum-green);
    font-weight: 600;
}
table {
    width: 100%;
    border-collapse: collapse;
    color: var(--tactum-ink);
    text-align: left;
}
th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--tactum-border);
    vertical-align: middle;
}
th {
    background: #f2f6f0;
    color: #45614c;
    font-size: 13px;
    font-weight: 600;
}
tbody tr:nth-child(even) {
    background: #fafcf8;
}
tbody tr:hover {
    background: #f0f6ee;
}
.table-wrap {
    overflow-x: auto;
}
a {
    color: var(--tactum-green);
}
dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
}
dt {
    color: var(--tactum-muted);
}
dd {
    margin: 0;
}
.local-hrux-status {
    display: inline-block;
    border-radius: 13px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 600;
}
.local-hrux-status-done,
.local-hrux-status-paid {
    background: #e9f2eb;
    color: #316b4e;
}
.local-hrux-status-unpaid,
.local-hrux-status-progress {
    background: var(--tactum-warning-soft);
    color: var(--tactum-warning);
}
.local-hrux-status-overdue {
    background: var(--tactum-danger-soft);
    color: var(--tactum-danger);
}
.local-hrux-status-active,
.local-hrux-status-published {
    background: #e9f2eb;
    color: #316b4e;
}
.local-hrux-status-archived,
.local-hrux-status-inactive,
.local-hrux-status-closed,
.local-hrux-status-draft {
    background: #f1f3f5;
    color: #61778d;
}
.local-hrux-status-open,
.local-hrux-status-pending,
.local-hrux-status-forming {
    background: var(--tactum-warning-soft);
    color: var(--tactum-warning);
}
.local-hrux-dashboard-overdue {
    margin-top: 16px;
}
.local-hrux-progress {
    height: 6px;
    overflow: hidden;
    border-radius: 20px;
    background: #e7ecf0;
}
.local-hrux-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #4b8766;
}
.local-hrux-progress-label {
    display: block;
    margin-bottom: 7px;
    color: var(--tactum-muted);
    font-size: 12px;
}
.local-hrux-progress-label-value {
    color: var(--tactum-green);
    font-weight: 600;
}
.local-hrux-pair-row,
.local-hrux-task-card,
.local-hrux-list-row {
    display: grid;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef0ec;
}
.local-hrux-dashboard-grid .local-hrux-pair-row {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 38px 12px;
    gap: 8px 12px;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    color: var(--tactum-ink);
    text-decoration: none;
}
.local-hrux-pairs-card-wrap .local-hrux-card-body {
    display: grid;
    align-content: start;
    gap: 4px;
    container: hr-pairs / inline-size;
}
.local-hrux-dashboard-grid .local-hrux-pair-row:hover,
.local-hrux-dashboard-grid .local-hrux-pair-row:focus-visible {
    background: #f0f8f3;
    text-decoration: none;
}
.local-hrux-dashboard-grid .local-hrux-pair-row:focus-visible {
    outline: 2px solid var(--tactum-green);
    outline-offset: 2px;
}
.local-hrux-pairs-card-wrap .local-hrux-pair-person {
    min-width: 0;
    gap: 2px;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.local-hrux-pairs-card-wrap .local-hrux-pair-person span {
    margin: 0;
    font-size: 11px;
}
.local-hrux-pair-direction {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e1f2e9;
    color: var(--tactum-green);
    font-size: 21px;
    line-height: 1;
}
.local-hrux-pair-percent {
    color: var(--tactum-green);
    font-size: 13px;
    text-align: right;
}
.local-hrux-pair-chevron {
    grid-column: 5;
    grid-row: 1 / 3;
    width: 12px;
    height: 16px;
    fill: none;
    stroke: var(--tactum-green);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@container hr-pairs (max-width: 360px) {
    .local-hrux-dashboard-grid .local-hrux-pair-row {
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 32px 10px;
        column-gap: 6px;
        padding: 10px 8px;
    }
    .local-hrux-pair-direction {
        width: 24px;
        height: 24px;
    }
}
.local-hrux-pair-person {
    display: grid;
    gap: 3px;
    font-weight: 600;
}
.local-hrux-pair-person span,
.local-hrux-task-copy span {
    display: block;
    margin-top: 3px;
    color: var(--tactum-muted);
    font-size: 12px;
    font-weight: 400;
}
.local-hrux-dashboard-grid .local-hrux-pair-progress {
    grid-column: 1 / 5;
    min-width: 0;
}
.local-hrux-dashboard-grid .local-hrux-pair-progress .local-hrux-progress {
    height: 4px;
    margin: 0;
    background: #dce5e8;
}
.local-hrux-pairs-card-wrap .local-hrux-progress-fill {
    background: #248756;
}
.local-hrux-task-card {
    grid-template-columns: minmax(0, 1fr) auto;
}
#latest-reports .local-hrux-card-body {
    container: hr-latest-reports / inline-size;
}
#latest-reports .local-hrux-report-entry {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas: "avatar title" "avatar mentor" ". meta";
    gap: 4px 10px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid #eef0ec;
    overflow-wrap: anywhere;
}
#latest-reports .local-hrux-report-avatar {
    grid-area: avatar;
    display: grid;
    place-items: center;
    align-self: start;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f7f3;
    color: var(--tactum-green);
}
#latest-reports .local-hrux-report-entry > .local-hrux-list-title {
    grid-area: title;
}
#latest-reports .local-hrux-report-entry > .local-hrux-small {
    grid-area: mentor;
    min-width: 0;
}
#latest-reports .local-hrux-report-meta {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    margin-top: 2px;
    color: var(--tactum-muted);
    font-size: 12px;
}
#latest-reports .local-hrux-report-period {
    padding: 4px 8px;
    border-radius: 20px;
    background: #eef3f4;
    white-space: nowrap;
}
#latest-reports .local-hrux-report-state {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
}
#latest-reports .local-hrux-status {
    flex: 0 0 auto;
    max-width: 100%;
}
#latest-reports .local-hrux-report-entry .local-hrux-button,
#risk-routes .local-hrux-task-card > .local-hrux-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 9px;
    white-space: nowrap;
}
#latest-reports .local-hrux-report-entry .local-hrux-button {
    margin-left: auto;
}
#latest-reports .local-hrux-report-entry .local-hrux-button .tactum-icon,
#risk-routes .local-hrux-task-card > .local-hrux-button .tactum-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
@container hr-latest-reports (min-width: 460px) {
    #latest-reports .local-hrux-report-entry {
        grid-template-columns: 36px minmax(0, 1fr) auto auto;
        grid-template-areas: "avatar title state action" "avatar mentor state action" "avatar period state action";
        column-gap: 12px;
    }
    #latest-reports .local-hrux-report-avatar {
        width: 36px;
        height: 36px;
    }
    #latest-reports .local-hrux-report-meta {
        display: contents;
    }
    #latest-reports .local-hrux-report-period {
        grid-area: period;
        justify-self: start;
        color: var(--tactum-muted);
        font-size: 12px;
    }
    #latest-reports .local-hrux-report-state {
        grid-area: state;
        align-self: center;
        flex-direction: column;
    }
    #latest-reports .local-hrux-report-entry .local-hrux-button {
        grid-area: action;
        align-self: center;
        margin: 0;
    }
}
#risk-routes .local-hrux-task-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title title" "detail action" "state action" "progress action";
    gap: 5px 12px;
    padding: 12px 0;
}
#risk-routes .local-hrux-task-copy {
    display: contents;
}
#risk-routes .local-hrux-task-copy > .local-hrux-list-title {
    grid-area: title;
}
#risk-routes .local-hrux-task-copy > .local-hrux-small {
    grid-area: detail;
    min-width: 0;
}
#risk-routes .local-hrux-task-copy > .local-hrux-status {
    grid-area: state;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--tactum-danger);
}
#risk-routes .local-hrux-route-progress {
    grid-area: progress;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
#risk-routes .local-hrux-progress-wrap {
    flex: 1;
    min-width: 0;
}
#risk-routes .local-hrux-route-progress > strong {
    color: var(--tactum-green);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
#risk-routes .local-hrux-task-card > .local-hrux-button {
    grid-area: action;
    justify-self: end;
    align-self: center;
}
.local-hrux-list-title {
    color: #2b3e51;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.local-hrux-small,
.local-hrux-muted {
    color: var(--tactum-muted);
}
.local-hrux-small {
    font-size: 12px;
}
.login-page {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    position: relative;
    isolation: isolate;
    padding: clamp(1rem, 4vw, 4.25rem);
    background:
        radial-gradient(ellipse at 85% 10%, #e7eddf, transparent 50%),
        linear-gradient(145deg, #faf9f6, #fcfdfb 65%);
}
.login-page::before {
    content: "";
    position: absolute;
    width: 440px;
    max-width: 42vw;
    height: 400px;
    right: 0;
    top: 0;
    background: url('/images/tactum-hero-leaves.png') center / cover no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}
.login-card {
    display: flex;
    justify-content: center;
    width: min(520px, 100%);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--tactum-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(36, 56, 43, 0.07);
}
.login-form {
    width: min(100%, 360px);
    min-width: 0;
}
.login-brand {
    margin-bottom: 32px;
    color: #15241d;
    font: 600 27px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
}
.login-brand span {
    color: #358653;
}
.login-card h1 {
    margin: 0 0 1.75rem;
    font-size: 28px;
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.035em;
}
.login-card label {
    margin: 0 0 0.45rem;
    color: #354c40;
    font-size: 0.84rem;
    font-weight: 600;
}
.login-card input {
    min-height: 46px;
    margin-bottom: 0.95rem;
    border-color: #d7e1d7;
    border-radius: 8px;
    font-size: 0.92rem;
}
.login-card input::placeholder {
    color: #8ba09b;
}
.login-card input:focus {
    border-color: #73a88a;
    box-shadow: 0 0 0 0.2rem rgba(53, 116, 84, 0.12);
}
.login-card button[type='submit'] {
    width: 100%;
    min-height: 48px;
    margin-top: 0.2rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #478460, #306b4c);
    font-size: 1rem;
    font-weight: 600;
}
.login-card button[type='submit']:hover {
    background: var(--tactum-green-hover);
}
.login-card button:focus-visible {
    outline: 3px solid #458362;
    outline-offset: 3px;
}
@media (max-width: 900px) {
    .login-page {
        align-items: start;
        padding: 1rem;
    }
    .login-card {
        padding: clamp(1.5rem, 7vw, 2.5rem);
    }
}
@media (max-width: 520px) {
    .login-page {
        padding: 20px 12px;
    }
    .login-page::before {
        opacity: 0.25;
    }
    .login-card {
        padding: 28px 22px;
        border-radius: 15px;
    }
    .login-card h1 {
        font-size: 1.65rem;
    }
}
.local-hrux-employee-form-grid,
.local-hrux-employee-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}
.local-hrux-employee-card-grid {
    gap: 20px;
    align-items: start;
}
.local-hrux-employee-card-grid .card {
    margin: 0;
}
.local-hrux-employee-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin: 14px 0 22px;
}
.local-hrux-employee-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.local-hrux-employee-profile {
    display: grid;
    grid-template-columns: minmax(130px, 42%) 1fr;
    margin: 0;
}
.local-hrux-employee-profile dt,
.local-hrux-employee-profile dd {
    margin: 0;
    padding: 10px 8px;
    border-bottom: 1px solid var(--tactum-border);
}
.local-hrux-employee-profile dt {
    color: var(--tactum-muted);
}
.local-hrux-employee-progress {
    height: 9px;
    margin-top: 16px;
    border-radius: 9px;
    background: #e9eee9;
    overflow: hidden;
}
.local-hrux-employee-progress span {
    display: block;
    height: 100%;
    background: var(--tactum-green);
}
.local-hrux-employee-task {
    display: grid;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tactum-border);
}
.local-hrux-employee-archive {
    margin-top: 20px;
}
.local-hrux-employee-archive summary {
    cursor: pointer;
    color: var(--tactum-danger);
    font-weight: 600;
}
@media (max-width: 800px) {
    .local-hrux-employee-form-grid,
    .local-hrux-employee-card-grid {
        grid-template-columns: 1fr;
    }
    .local-hrux-employee-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 1200px) {
    :root {
        --tactum-sidebar: 210px;
    }
    .tactum-side-link {
        gap: 12px;
        padding: 12px;
    }
    .local-hrux-kpi-grid,
    .local-hrux-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .local-hrux-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .local-hrux-department-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .local-hrux-summary-grid,
    .local-hrux-filter-grid,
    .local-hrux-accounting-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .local-hrux-department-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tactum-sidebar {
        display: none;
    }
    .content {
        width: 100%;
        margin-left: 0;
        padding: 72px 16px 24px;
    }
    .tactum-mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        display: block;
        max-height: 100dvh;
        overflow-y: auto;
        border-bottom: 1px solid var(--tactum-border);
        background: #fffffff7;
    }
    .tactum-mobile-menu > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding: 8px 18px;
        cursor: pointer;
        list-style: none;
    }
    .tactum-mobile-menu > summary::-webkit-details-marker {
        display: none;
    }
    .tactum-mobile-menu .tactum-brand {
        padding: 0;
        font-size: 22px;
    }
    .tactum-menu-label {
        color: var(--tactum-green);
        font-size: 13px;
    }
    .tactum-menu-label:after {
        content: " ▾";
    }
    .tactum-mobile-menu[open] .tactum-menu-label:after {
        content: " ▴";
    }
    .tactum-mobile-menu .tactum-side-nav {
        padding: 0 12px 16px;
    }
    .local-hrux-kpi-grid,
    .local-hrux-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .local-hrux-hero {
        min-height: auto;
    }
    .local-hrux-hero:before {
        opacity: 0.32;
    }
}
@media (max-width: 440px) {
    .tactum-metric-with-icon {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .tactum-metric-icon {
        flex-basis: auto;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    dl {
        grid-template-columns: 1fr;
    }
}
.local-hrux-route-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 38px 0 28px;
}
.local-hrux-route-intro p {
    margin: 14px 0 0;
    color: var(--tactum-muted);
}
.local-hrux-route-intro > .local-hrux-button {
    flex: 0 0 auto;
    margin-top: 48px;
}
.local-hrux-section-heading {
    margin: 24px 0 8px;
    font-size: 22px;
    line-height: 1.25;
}
.local-hrux-route-meta-form {
    padding: 18px;
}
.local-hrux-route-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.local-hrux-route-meta-col {
    display: grid;
    align-content: start;
    gap: 8px;
}
.local-hrux-route-meta-col label,
.local-hrux-route-task-fields label,
.local-hrux-route-add-week label {
    color: #3f5c4d;
    font-size: 12px;
    font-weight: 600;
}
.local-hrux-route-meta-col input,
.local-hrux-route-meta-col select {
    margin-bottom: 7px;
}
.local-hrux-route-meta-col textarea {
    min-height: 126px;
}
.local-hrux-route-meta-form > button {
    margin-top: 16px;
}
.local-hrux-route-hint {
    margin: 8px 0;
    color: var(--tactum-muted);
    font-size: 12px;
}
.local-hrux-form-errors {
    border-color: #e5c3b9;
    color: var(--tactum-danger);
}
.local-hrux-form-errors ul {
    margin-bottom: 0;
}
.local-hrux-route-section-head,
.local-hrux-route-final-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.local-hrux-route-weeks {
    display: grid;
    gap: 8px;
}
.local-hrux-route-week {
    overflow: hidden;
    border: 1px solid var(--tactum-border);
    border-radius: 9px;
    background: #fff;
}
.local-hrux-route-week > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    background: #eaf2eb;
    color: #355b45;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.local-hrux-route-week > summary::-webkit-details-marker,
.local-hrux-route-task > summary::-webkit-details-marker {
    display: none;
}
.local-hrux-route-week > summary:before {
    content: '›';
    color: #5e9172;
    font-size: 18px;
    line-height: 1;
}
.local-hrux-route-week[open] > summary:before {
    transform: rotate(90deg);
}
.local-hrux-route-week > summary span:last-child {
    margin-left: auto;
    color: #7a8990;
    font-size: 11px;
    font-weight: 400;
}
.local-hrux-route-week-body {
    background: #fff;
}
.local-hrux-route-task {
    border-top: 1px solid #edf0ec;
}
.local-hrux-route-task > summary {
    display: grid;
    grid-template-columns: 20px minmax(160px, 1.5fr) minmax(120px, 1fr) minmax(110px, .7fr);
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}
.local-hrux-route-task > summary:hover,
.local-hrux-route-task[open] > summary {
    background: #f0f6ef;
}
.local-hrux-route-task > summary strong {
    color: #304453;
    font-size: 13px;
}
.local-hrux-route-task > summary span:not(.local-hrux-route-task-number) {
    color: var(--tactum-muted);
    font-size: 11px;
}
.local-hrux-route-task-number {
    color: #7e98a5;
    font-size: 11px;
}
.local-hrux-route-task-add > summary {
    display: block;
    color: #4b8a67;
    font-size: 12px;
}
.local-hrux-route-empty {
    margin: 0;
    padding: 12px 14px;
}
.local-hrux-route-task-editor {
    padding: 14px;
    background: #fbfcfa;
}
.local-hrux-route-task-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.local-hrux-route-task-fields > div {
    display: grid;
    align-content: start;
    gap: 6px;
}
.local-hrux-route-resource-link {
    justify-self: start;
    font-size: 12px;
    text-decoration: none;
}
.local-hrux-route-task-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.local-hrux-route-task-editor > form + form {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}
button.local-hrux-button-danger {
    border-color: #e5c3b9;
    background: #faeeea;
    color: #a45540;
}
.local-hrux-test-questions .local-hrux-route-task > summary {
    grid-template-columns: 20px minmax(180px, 1fr) auto;
}
.local-hrux-test-question-form {
    display: grid;
    gap: 10px;
}
.local-hrux-test-question-form > label {
    color: #3f5c4d;
    font-size: 12px;
    font-weight: 600;
}
.local-hrux-test-question-form > textarea {
    min-height: 76px;
}
.local-hrux-test-question-form > .local-hrux-route-hint {
    margin: 0;
}
.local-hrux-test-options {
    display: grid;
    gap: 8px;
}
.local-hrux-test-option {
    display: grid;
    grid-template-columns: 110px minmax(160px, 1fr) auto;
    align-items: center;
    gap: 10px;
}
.local-hrux-test-option > label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    white-space: nowrap;
    margin: 0;
}
.local-hrux-test-option > label input {
    width: auto;
    min-height: 0;
    padding: 0;
}
.local-hrux-test-option > input {
    min-width: 0;
}
.local-hrux-test-remove-option {
    font-size: 18px;
}
.local-hrux-test-add-option {
    justify-self: start;
}
.local-hrux-test-locked-options {
    margin: 0;
    padding-left: 24px;
}
.local-hrux-test-locked-options li {
    padding: 4px 0;
}
.local-hrux-test-locked-options .is-correct {
    color: var(--tactum-green, #367c56);
    font-weight: 600;
}
.local-hrux-test-result {
    margin-bottom: 18px;
}
.local-hrux-test-result h2 {
    margin-top: 0;
}
.local-hrux-test-score {
    color: var(--tactum-green, #367c56);
    font-size: 36px;
}
.local-hrux-test-answer {
    margin: 0;
}
.local-hrux-test-answer h2 {
    margin: 0 0 12px;
    font-size: 16px;
}
.local-hrux-test-answer p {
    margin-bottom: 0;
}
.local-hrux-test-taking {
    display: grid;
    gap: 14px;
}
.local-hrux-test-taking > button {
    justify-self: start;
}
.local-hrux-test-choice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    margin: 0;
}
.local-hrux-test-choice input {
    width: auto;
    min-height: 0;
    padding: 0;
}
button.local-hrux-button-danger:hover {
    border-color: #d3a496;
    background: #f7e3dc;
    color: #94422f;
}
a.local-hrux-button-danger {
    border-color: #e5c3b9;
    background: #faeeea;
    color: #a45540;
}
a.local-hrux-button-danger:hover {
    border-color: #d3a496;
    background: #f7e3dc;
    color: #94422f;
}
.local-hrux-pair-form {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 20px;
}
.local-hrux-pair-form label {
    margin-top: 8px;
    color: #3f5c4d;
    font-size: 12px;
    font-weight: 600;
}
.local-hrux-pair-form .local-hrux-route-hint {
    margin: 0 0 2px;
}
.local-hrux-pair-form > button[type='submit'] {
    width: 100%;
    margin-top: 8px;
}
.local-hrux-pair-form .local-hrux-route-final-actions > button {
    width: auto;
}
.local-hrux-archive-summary {
    margin: 18px 0 0;
}
.local-hrux-archive-summary h2 {
    margin-top: 0;
    font-size: 17px;
}
.local-hrux-pair-intro {
    align-items: flex-start;
}
.local-hrux-pair-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 440px;
    margin-top: 42px;
}
.local-hrux-pair-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 20px;
}
.local-hrux-pair-metrics > .card {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 115px;
    padding: 17px;
}
.local-hrux-pair-metrics strong {
    font-size: 30px;
    line-height: 1.2;
}
.local-hrux-pair-metrics span {
    color: var(--tactum-muted);
    font-size: 12px;
}
.local-hrux-pair-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}
.local-hrux-pair-detail-card h2 {
    margin: 0 0 16px;
    font-size: 17px;
}
.local-hrux-pair-detail-card > .local-hrux-button {
    margin-top: 20px;
}
.local-hrux-pair-task-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(90px, .7fr) minmax(90px, .7fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid #e9ece6;
    font-size: 12px;
}
.local-hrux-pair-task-row > span {
    color: var(--tactum-muted);
}
.local-hrux-pair-task-main {
    display: flex;
    gap: 12px;
    min-width: 0;
}
.local-hrux-pair-task-main strong,
.local-hrux-pair-task-main small {
    display: block;
}
.local-hrux-pair-task-main small {
    margin: 4px 0 8px;
    color: var(--tactum-muted);
}
.local-hrux-pair-task-main details > summary {
    color: var(--tactum-muted);
    cursor: pointer;
}
.local-hrux-pair-task-main details > p {
    margin: 5px 0;
}
.local-hrux-pair-task-main form {
    margin-top: 7px;
}
.local-hrux-pair-task-done {
    color: var(--tactum-green);
    font-weight: 600;
}
.local-hrux-pair-report {
    padding: 12px 0;
    border-bottom: 1px solid var(--tactum-border);
}
.local-hrux-pair-report p {
    color: var(--tactum-muted);
    font-size: 12px;
}
@media (max-width: 1160px) {
    .local-hrux-pair-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .local-hrux-pair-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .local-hrux-pair-header-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }
}
@media (max-width: 520px) {
    .local-hrux-pair-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .local-hrux-pair-task-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .local-hrux-template-row-head {
        display: grid;
    }
}
.local-hrux-route-footer {
    display: grid;
    gap: 18px;
    margin-top: 16px;
}
.local-hrux-route-add-week {
    display: flex;
    align-items: end;
    gap: 8px;
}
.local-hrux-route-add-week label {
    align-self: center;
}
.local-hrux-route-add-week input {
    max-width: 260px;
}
.local-hrux-route-final-actions {
    justify-content: flex-start;
}
@media (max-width: 850px) {
    .local-hrux-route-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .local-hrux-route-task > summary {
        grid-template-columns: 20px minmax(0, 1fr) minmax(100px, .7fr);
    }
    .local-hrux-route-task > summary span:last-child {
        display: none;
    }
}
@media (max-width: 600px) {
    .local-hrux-test-questions .local-hrux-route-task > summary {
        grid-template-columns: 20px minmax(0, 1fr);
    }
    .local-hrux-test-option {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .local-hrux-test-option > label {
        grid-column: 1 / -1;
    }
    .local-hrux-route-intro {
        display: block;
    }
    .local-hrux-route-intro > .local-hrux-button {
        margin-top: 14px;
    }
    .local-hrux-route-meta-grid,
    .local-hrux-route-task-fields {
        grid-template-columns: minmax(0, 1fr);
    }
    .local-hrux-route-task > summary {
        grid-template-columns: 20px minmax(0, 1fr);
    }
    .local-hrux-route-task > summary span:not(.local-hrux-route-task-number) {
        display: none;
    }
    .local-hrux-route-add-week {
        flex-wrap: wrap;
    }
}
@media print {
    .tactum-sidebar,
    .tactum-mobile-menu {
        display: none;
    }
    .content {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
    }
}
.local-hrux-pair-test-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; }
