:root {
    --green: #114733;
    --green-dark: #0b3425;
    --lime: #cad327;
    --lime-soft: #f5f7d8;
    --ink: #20332c;
    --muted: #68766f;
    --line: #dce4e0;
    --surface: #ffffff;
    --background: #f4f7f5;
    --danger: #a92b2b;
    --danger-soft: #fff0f0;
    --success: #1f6d49;
    --success-soft: #edf8f2;
    --shadow: 0 14px 35px rgba(17, 71, 51, .08);
    --radius: 14px;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(202, 211, 39, .12), transparent 32rem),
        var(--background);
}

a { color: inherit; }

button, input, textarea {
    font: inherit;
}

button { cursor: pointer; }

.shell {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    color: #fff;
    background: var(--green);
    border-bottom: 4px solid var(--lime);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--green);
    background: var(--lime);
    font-size: 23px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
    line-height: 1.1;
}

.brand small {
    margin-top: 3px;
    color: rgba(255,255,255,.76);
    font-size: 12px;
    letter-spacing: .04em;
}

.main-layout {
    display: grid;
    gap: 24px;
    padding-block: 38px 50px;
}

.narrow-layout {
    width: min(760px, calc(100% - 32px));
    padding-block: 38px 50px;
}

.admin-layout {
    padding-block: 30px 50px;
}

.panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.support-panel {
    padding-block: 28px 24px;
    text-align: center;
}

.minimal-heading {
    display: block;
    width: min(555px, 100%);
    margin-inline: auto;
}

.minimal-heading h1 {
    margin: 0;
    color: var(--green);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .02em;
}

.heading-line {
    display: block;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--line) 0 76%, var(--lime) 76% 100%);
}

.support-instruction {
    margin: 13px 0 12px;
    font-size: 14px;
}

.support-form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
}

.support-form input {
    width: 280px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e6ebe8;
    outline: 0;
    color: var(--green);
    background: #eef1ef;
    font-size: 18px;
    text-align: center;
    letter-spacing: .16em;
}

.support-form input:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(202, 211, 39, .22);
}

.support-form button {
    min-width: 64px;
    height: 40px;
    border: 0;
    color: #fff;
    background: var(--green);
    font-size: 17px;
    font-weight: 700;
}

.support-form button:hover,
.support-form button:focus-visible {
    background: var(--green-dark);
}

.support-form button:disabled {
    opacity: .65;
    cursor: wait;
}

.form-message {
    min-height: 18px;
    margin: 10px 0 0;
    color: var(--green);
    font-size: 13px;
}

.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }

.privacy-note {
    max-width: 540px;
    margin: 5px auto 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.section-heading h1,
.section-heading h2 {
    margin: 2px 0 0;
    color: var(--green);
    line-height: 1.18;
}

.section-heading h1 { font-size: 28px; }
.section-heading h2 { font-size: 24px; }

.eyebrow {
    display: block;
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-intro {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.6;
}

.login-form {
    width: min(620px, 100%);
}

.login-form > label,
.stack-form > label,
.stack-form div > label,
.item-menu label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.password-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="file"],
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfdad5;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    outline: 0;
}

textarea { resize: vertical; }

input:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(17, 71, 51, .12);
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.button:hover,
.button:focus-visible {
    background: #f0f5f2;
}

.button.primary {
    color: #fff;
    background: var(--green);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--green-dark);
}

.button.secondary {
    border-color: #cbd7d1;
    color: var(--ink);
}

.button.danger {
    border-color: var(--danger);
    color: var(--danger);
}

.button.large {
    min-height: 48px;
    padding-inline: 24px;
}

.button.compact {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 12px;
}

.light-button {
    border-color: rgba(255,255,255,.42);
    color: #fff;
    background: transparent;
}

.text-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover { text-decoration: underline; }
.text-link.light { color: #fff; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.field-help {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--green);
    text-decoration: none;
}

.breadcrumbs strong { color: var(--ink); }

.repo-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.repo-item {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    background: #fff;
}

.repo-item + .repo-item {
    border-top: 1px solid var(--line);
}

.item-symbol {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(17, 71, 51, .12);
    border-radius: 10px;
    background: var(--lime-soft);
}

.item-symbol.file {
    border-color: rgba(17, 71, 51, .24);
    background: var(--green);
}

.item-symbol img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.item-main {
    min-width: 0;
    flex: 1;
}

.item-name {
    display: block;
    overflow: hidden;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-name:hover { color: var(--green); }

.item-meta {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.empty-state {
    padding: 32px 20px;
    color: var(--muted);
    text-align: center;
}

.notice {
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid #cddbd4;
    border-radius: 9px;
    color: var(--green);
    background: var(--success-soft);
    line-height: 1.5;
}

.notice.error {
    border-color: #edcaca;
    color: var(--danger);
    background: var(--danger-soft);
}

.notice ul { margin-bottom: 0; }

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
}

.footer-inner a {
    color: var(--green);
    text-decoration: none;
}

.stack-form {
    display: grid;
    gap: 15px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-form code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #edf1ef;
}

.requirements {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f4f6f5;
    font-size: 13px;
}

.requirement span {
    min-width: 62px;
    font-weight: 700;
}

.requirement.ok span { color: var(--success); }
.requirement.bad span { color: var(--danger); }

.admin-tabs {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.admin-tabs a {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--green);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.admin-tabs a.active {
    color: #fff;
    border-color: var(--green);
    background: var(--green);
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.admin-sidebar {
    display: grid;
    gap: 18px;
}

.compact-panel {
    padding: 22px;
}

.compact-panel h2 {
    margin: 0 0 16px;
    color: var(--green);
    font-size: 18px;
}

.compact-form { gap: 10px; }

.item-menu {
    position: relative;
}

.item-menu summary {
    list-style: none;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--green);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.item-menu summary::-webkit-details-marker { display: none; }

.item-menu-content {
    position: absolute;
    z-index: 10;
    top: calc(100% + 7px);
    right: 0;
    width: 260px;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--shadow);
}

.item-menu-content form {
    display: grid;
    gap: 8px;
}

.item-menu-content input {
    min-height: 38px;
    padding: 8px 9px;
}

.settings-form {
    margin-top: 22px;
}

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

@media (max-width: 900px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .panel { padding: 22px 18px; }

    .form-grid.two,
    .admin-sidebar {
        grid-template-columns: 1fr;
    }

    .password-row,
    .support-form {
        flex-direction: column;
    }

    .support-form {
        width: min(350px, 100%);
        margin-inline: auto;
        gap: 8px;
    }

    .support-form input,
    .support-form button {
        width: 100%;
    }

    .repo-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .repo-item .button {
        margin-left: 51px;
    }

    .item-menu {
        margin-left: 51px;
    }

    .item-menu-content {
        right: auto;
        left: 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions .text-link {
        display: none;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 16px;
    }
}

/* Public support page: visual corporate two-column layout */

/* Portal interno para empleados */
.employee-portal {
    background:
        radial-gradient(circle at 8% 15%, rgba(202, 211, 39, .08), transparent 26rem),
        linear-gradient(180deg, #f5f8f6 0%, #eef3f0 100%);
}

.employee-header {
    border-bottom: 3px solid var(--lime);
    background: linear-gradient(118deg, #0b3425 0%, var(--green) 58%, #0d3d2c 100%);
}

.employee-header-inner {
    min-height: 112px;
    display: grid;
    grid-template-columns: minmax(230px, 330px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.employee-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.employee-brand-logo {
    display: block;
    width: min(320px, 100%);
    height: auto;
}

.employee-header-context,
.employee-header-help {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.employee-header-context {
    min-height: 66px;
    padding-left: 28px;
    border-left: 2px solid rgba(202, 211, 39, .68);
}

.employee-header-context strong,
.employee-header-context small,
.employee-header-help strong,
.employee-header-help small {
    display: block;
}

.employee-header-context strong,
.employee-header-help strong {
    font-size: 15px;
    line-height: 1.25;
}

.employee-header-context small,
.employee-header-help small {
    margin-top: 4px;
    color: rgba(255,255,255,.76);
    font-size: 12px;
    line-height: 1.35;
}

.header-context-icon,
.help-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 13px;
    background: rgba(255,255,255,.08);
}

.header-context-icon svg,
.help-icon svg,
.service-icon svg,
.input-with-icon svg,
.employee-form button svg,
.security-note-icon svg,
.resource-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-context-icon svg,
.help-icon svg {
    width: 25px;
    height: 25px;
}

.employee-header-help {
    justify-self: end;
}

.employee-main {
    padding: 28px 0 42px;
}

.employee-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(17,71,51,.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(11,52,37,.12);
}

.employee-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 50px;
    background:
        radial-gradient(circle at 15% 15%, rgba(202,211,39,.18), transparent 19rem),
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(249,252,250,.98) 100%);
}

.employee-hero-copy::after {
    content: '';
    position: absolute;
    top: 0;
    right: -80px;
    width: 140px;
    height: 100%;
    transform: skewX(-10deg);
    background: linear-gradient(90deg, #fff, rgba(255,255,255,.08));
    pointer-events: none;
}

.hero-eyebrow {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.employee-hero h1 {
    margin: 11px 0 12px;
    color: var(--green);
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1;
    letter-spacing: -.035em;
}

.employee-hero p {
    max-width: 610px;
    margin: 0 0 13px;
    color: #44564e;
    font-size: 16px;
    line-height: 1.65;
}

.employee-hero strong {
    color: var(--green);
    font-size: 15px;
}

.employee-hero-photo {
    position: relative;
    min-height: 260px;
    margin: 0;
    background: #dbe3df;
}

.employee-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.14), transparent 34%);
    pointer-events: none;
}

.employee-hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.employee-services {
    margin-top: 26px;
}

.employee-support-hub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4px minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
}

.employee-service-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(17,71,51,.1);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 45px rgba(11,52,37,.09);
}

.employee-service-heading {
    min-height: 82px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 20%, rgba(202,211,39,.38), transparent 38%),
        linear-gradient(145deg, #0b3425, var(--green));
    box-shadow: 0 12px 24px rgba(17,71,51,.18);
}

.service-icon svg {
    width: 33px;
    height: 33px;
    stroke-width: 1.7;
}

.service-heading-copy {
    min-width: 0;
}

.service-heading-copy .eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #718078;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.service-heading-copy h2 {
    margin: 0;
    color: var(--green);
    font-size: clamp(23px, 2.2vw, 31px);
    line-height: 1.12;
    letter-spacing: -.02em;
}

.service-heading-copy .heading-line {
    display: block;
    width: min(255px, 100%);
    height: 4px;
    margin-top: 11px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--green) 0 66%, var(--lime) 66% 100%);
}

.employee-service-body {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    margin-top: 24px;
}

.service-photo {
    min-height: 230px;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #e7ece9;
    box-shadow: inset 0 0 0 1px rgba(17,71,51,.08);
}

.service-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-interaction {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.service-intro {
    min-height: 72px;
    margin: 4px 0 18px;
    color: #34483f;
    font-size: 14px;
    line-height: 1.6;
}

.employee-form {
    display: grid;
    gap: 10px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > span {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    color: var(--green);
}

.input-with-icon svg {
    width: 21px;
    height: 21px;
}

.employee-form input[type="text"],
.employee-form input[type="password"] {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 50px;
    border: 1px solid #cfdad5;
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
    font-size: 15px;
    outline: 0;
}

.employee-form input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(17,71,51,.1);
}

.employee-form button {
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 18px;
    border: 1px solid var(--green);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0b3425, var(--green));
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(17,71,51,.15);
}

.employee-form button:hover,
.employee-form button:focus-visible {
    border-color: var(--lime);
    color: #0b3425;
    background: var(--lime);
}

.employee-form button:disabled {
    opacity: .68;
    cursor: wait;
}

.employee-form button svg {
    width: 22px;
    height: 22px;
}

.form-message {
    min-height: 18px;
    margin: 2px 0 0;
    color: var(--green);
    font-size: 12px;
    line-height: 1.45;
}

.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }

.employee-service-card .field-help {
    margin: 2px 0 0;
    color: #69776f;
    font-size: 11px;
    line-height: 1.45;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 15px 17px;
    border: 1px solid rgba(17,71,51,.1);
    border-radius: 12px;
    background: linear-gradient(90deg, #f2f7f4, #f8faf9);
}

.security-note-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: rgba(202,211,39,.24);
}

.security-note-icon svg {
    width: 24px;
    height: 24px;
}

.security-note strong,
.security-note small {
    display: block;
}

.security-note strong {
    color: var(--green);
    font-size: 12px;
}

.security-note small {
    margin-top: 4px;
    color: #596a62;
    font-size: 11px;
    line-height: 1.4;
}

.employee-content-separator {
    display: flex;
    justify-content: center;
    padding: 18px 0;
}

.employee-content-separator span {
    width: 4px;
    min-height: 100%;
    display: block;
    border-radius: 99px;
    background: linear-gradient(to bottom, var(--green) 0 72%, var(--lime) 72% 100%);
}

.employee-service-card .notice {
    margin: 18px 0 0;
}

.repository-authenticated {
    margin-top: 22px;
}

.repository-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--green);
    background: var(--success-soft);
    font-size: 12px;
    font-weight: 700;
}

.repository-card .repo-list {
    max-height: 360px;
    overflow: auto;
}

.employee-resource-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(108deg, #0b3425, var(--green));
    box-shadow: 0 18px 42px rgba(11,52,37,.16);
}

.employee-resource-strip article {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px 20px;
}

.employee-resource-strip article + article {
    border-left: 1px solid rgba(202,211,39,.34);
}

.resource-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0b3425;
    background: var(--lime);
    font-size: 22px;
    font-weight: 800;
}

.resource-icon svg {
    width: 23px;
    height: 23px;
}

.employee-resource-strip strong,
.employee-resource-strip small {
    display: block;
}

.employee-resource-strip strong {
    font-size: 13px;
    line-height: 1.3;
}

.employee-resource-strip small {
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: 10.5px;
    line-height: 1.4;
}

.employee-footer {
    color: rgba(255,255,255,.82);
    background: #0b3425;
}

.employee-footer-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    font-size: 11px;
}

.employee-footer img {
    display: block;
    width: 165px;
    height: auto;
}

.employee-footer-inner > span:nth-child(2) {
    color: rgba(255,255,255,.68);
}

.employee-footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.employee-footer-links i {
    width: 1px;
    height: 15px;
    display: inline-block;
    background: rgba(255,255,255,.25);
}

.employee-footer a {
    color: #fff;
    text-decoration: none;
}

.item-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.item-actions .button {
    white-space: nowrap;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .employee-header-inner {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .employee-header-help {
        display: none;
    }

    .employee-support-hub {
        grid-template-columns: 1fr;
    }

    .employee-content-separator {
        padding: 0 26px;
    }

    .employee-content-separator span {
        width: 100%;
        min-height: 4px;
        height: 4px;
        background: linear-gradient(90deg, var(--green) 0 72%, var(--lime) 72% 100%);
    }
}

@media (max-width: 860px) {
    .employee-hero {
        grid-template-columns: 1fr;
    }

    .employee-hero-copy::after {
        display: none;
    }

    .employee-hero-photo {
        min-height: 210px;
        order: -1;
    }

    .employee-resource-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employee-resource-strip article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(202,211,39,.34);
    }

    .employee-resource-strip article:nth-child(4) {
        border-top: 1px solid rgba(202,211,39,.34);
    }
}

@media (max-width: 720px) {
    .employee-header-inner {
        min-height: 92px;
        grid-template-columns: 1fr;
        gap: 0;
        padding-block: 17px;
    }

    .employee-brand-logo {
        width: min(270px, 78vw);
    }

    .employee-header-context {
        display: none;
    }

    .employee-main {
        padding-top: 18px;
    }

    .employee-hero,
    .employee-service-card,
    .employee-resource-strip {
        border-radius: 14px;
    }

    .employee-hero-copy {
        padding: 30px 24px;
    }

    .employee-hero-photo {
        min-height: 180px;
    }

    .employee-service-card {
        padding: 22px 18px;
    }

    .employee-service-heading {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 13px;
    }

    .service-icon {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    .employee-service-body {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-photo {
        min-height: 200px;
    }

    .service-intro {
        min-height: auto;
    }

    .employee-resource-strip {
        grid-template-columns: 1fr;
    }

    .employee-resource-strip article + article {
        border-left: 0;
        border-top: 1px solid rgba(202,211,39,.34);
    }

    .employee-footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 11px;
        padding-block: 20px;
        text-align: center;
    }

    .employee-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .shell {
        width: min(100% - 20px, 1120px);
    }

    .employee-hero h1 {
        font-size: 38px;
    }

    .employee-service-heading {
        align-items: start;
    }

    .service-heading-copy h2 {
        font-size: 23px;
    }

    .employee-form button {
        font-size: 12px;
    }

    .repo-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .item-actions {
        width: 100%;
        padding-left: 55px;
        justify-content: flex-start;
    }
}
.text-viewer-modal[hidden] {
    display: none;
}

.text-viewer-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.text-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 34, 25, .72);
    backdrop-filter: blur(3px);
}

.text-viewer-dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: min(84vh, 820px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

.text-viewer-header {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px 18px;
    color: #fff;
    border-bottom: 4px solid var(--lime);
    background: var(--green);
}

.text-viewer-heading {
    min-width: 0;
}

.text-viewer-header .eyebrow {
    margin-bottom: 5px;
    color: var(--lime);
}

.text-viewer-header h2 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(19px, 2.2vw, 25px);
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-viewer-meta {
    min-height: 16px;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
}

.text-viewer-close {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
}

.text-viewer-close:hover,
.text-viewer-close:focus-visible {
    color: var(--green-dark);
    border-color: var(--lime);
    background: var(--lime);
    outline: 0;
}

.text-viewer-notice {
    padding: 11px 18px;
    border-bottom: 1px solid #e5e9e7;
    color: var(--green);
    background: var(--success-soft);
    font-size: 12px;
    line-height: 1.45;
}

.text-viewer-notice.warning {
    color: #5f610d;
    background: var(--lime-soft);
}

.text-viewer-notice.error {
    color: var(--danger);
    background: var(--danger-soft);
}

.text-viewer-body {
    min-height: 260px;
    overflow: auto;
    background: #f7f9f8;
}

.text-viewer-loading {
    margin: 0;
    padding: 34px 24px;
    color: var(--muted);
    text-align: center;
}

.text-viewer-content {
    min-height: 100%;
    margin: 0;
    padding: 22px 24px 30px;
    overflow: visible;
    color: #15241e;
    background: #f7f9f8;
    font-family: Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
    line-height: 1.62;
    tab-size: 4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.text-viewer-content:focus {
    outline: 3px solid rgba(202, 211, 39, .35);
    outline-offset: -3px;
}

.text-viewer-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    background: #fff;
}

@media (max-width: 680px) {
    .item-actions {
        width: 100%;
        margin-left: 51px;
        justify-content: flex-start;
    }

    .repo-item .item-actions .button {
        margin-left: 0;
    }

    .text-viewer-modal {
        padding: 10px;
    }

    .text-viewer-dialog {
        max-height: 92vh;
        border-radius: 12px;
    }

    .text-viewer-header {
        padding: 16px;
    }

    .text-viewer-header h2 {
        white-space: normal;
    }

    .text-viewer-content {
        padding: 18px 16px 24px;
        font-size: 12px;
    }

    .text-viewer-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .text-viewer-footer .button {
        width: 100%;
    }
}
