/* Worker portal and informational QR refinements */
.settings-company-grid {
    grid-template-columns: minmax(0, 1fr);
}

.settings-company-grid > .school-subpanel,
.settings-grid.settings-company-grid > .school-subpanel:nth-of-type(3),
.settings-grid.settings-company-grid > .school-subpanel:nth-of-type(6) {
    grid-column: 1 / -1;
}

.settings-company-grid .settings-form-grid {
    grid-template-columns: minmax(0, 1fr);
}

.settings-vacation-policy-panel .school-subpanel-header {
    align-items: center;
}

.settings-summary-grid.settings-vacation-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-vacation-add-grid {
    margin-top: 16px;
}

.settings-vacation-table-shell {
    margin-top: 14px;
}

.worker-portal-metrics .school-metric-card {
    display: flex;
    min-height: 118px;
    padding: 18px 20px;
}

.worker-portal-metrics .school-metric-copy {
    width: 100%;
    min-width: 0;
}

.worker-portal-metrics .school-metric-label,
.worker-portal-metrics .school-metric-subvalue {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.worker-portal-metrics .school-metric-value {
    line-height: 1;
}

@media (max-width: 760px) {
    .settings-summary-grid.settings-vacation-summary-grid {
        grid-template-columns: 1fr;
    }
}

.company-vacation-edit-modal .school-code-input,
.company-vacation-edit-modal .company-vacation-notes-input {
    width: 100%;
    border: 1px solid #dce5f3;
    border-radius: 12px;
    background: #ffffff;
    color: #213455;
    box-sizing: border-box;
    font: inherit;
    outline: none;
}

.company-vacation-edit-modal .school-code-input {
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
}

.company-vacation-edit-modal .company-vacation-notes-input {
    min-height: 112px;
    padding: 12px 14px;
    resize: vertical;
}

.company-vacation-edit-modal .school-code-input:focus,
.company-vacation-edit-modal .company-vacation-notes-input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.school-banner-success {
    background: #edfdf5;
    color: #117647;
    border: 1px solid #c8f4dd;
}

.company-vacation-movement-panel {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e7edf6;
}

.company-vacation-movement-panel h4 {
    margin: 0;
    color: #0f1b2d;
    font-size: 0.98rem;
    font-weight: 800;
}

.company-vacation-movement-panel p {
    margin: 4px 0 0;
    color: #65738e;
    font-size: 0.86rem;
}

.company-vacation-movement-list {
    display: grid;
    gap: 9px;
}

.company-vacation-movement-item {
    display: grid;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid #dfe9f6;
    border-radius: 12px;
    background: #f8fbff;
}

.company-vacation-movement-meta,
.company-vacation-movement-days {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.company-vacation-movement-meta {
    color: #65738e;
    font-size: 0.8rem;
    font-weight: 700;
}

.company-vacation-movement-days strong {
    color: #0f1b2d;
    font-size: 0.95rem;
}

.company-vacation-movement-days span {
    border-radius: 999px;
    background: #e8f3ff;
    color: #1d4ed8;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.company-vacation-movement-note {
    color: #53627c;
    font-size: 0.86rem;
}
.company-vacation-premium-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.company-vacation-premium-status.is-paid {
    background: #ecfdf5;
    color: #047857;
}

.company-vacation-check-field {
    display: grid;
    gap: 8px;
}

.company-vacation-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #213455;
    font-size: 0.92rem;
}

.company-vacation-check input {
    width: 18px;
    height: 18px;
}

.company-vacation-usage-list {
    display: grid;
    gap: 9px;
}

.company-vacation-usage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #dfe9f6;
    border-radius: 12px;
    background: #ffffff;
}

.company-vacation-usage-item div {
    display: grid;
    gap: 3px;
}

.company-vacation-usage-item strong {
    color: #07172f;
    font-size: 0.95rem;
}

.company-vacation-usage-item div span {
    color: #64708a;
    font-size: 0.84rem;
    font-weight: 700;
}

.company-vacation-usage-item > span {
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

/* Worker portal kiosk redesign */
.worker-portal-screen {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 34px 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.10), transparent 32rem),
        radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.10), transparent 28rem),
        #f4f8fc;
    color: #07172f;
}

.worker-portal-shell {
    width: min(100%, 760px);
    display: grid;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(202, 216, 235, 0.95);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
}

.worker-portal-shell.is-auth {
    width: min(100%, 840px);
    padding: 28px;
}

.worker-portal-shell.is-dashboard {
    padding-bottom: 26px;
}

.worker-portal-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 86px;
    padding: 22px 30px;
    background: linear-gradient(135deg, #057d78 0%, #098f86 52%, #0b6f86 100%);
    color: #ffffff;
}

.worker-portal-shell.is-auth .worker-portal-brandbar {
    border-radius: 16px;
}

.worker-portal-company-brand,
.worker-portal-entria-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.worker-portal-company-brand {
    gap: 12px;
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    font-weight: 900;
    letter-spacing: 0;
}

.worker-portal-company-brand img {
    max-width: 190px;
    max-height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    padding: 5px 8px;
}

.worker-portal-company-brand strong,
.worker-portal-entria-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.worker-portal-company-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.worker-portal-entria-brand {
    gap: 10px;
    justify-content: flex-end;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.9rem;
    font-weight: 850;
}

.worker-portal-entria-brand img {
    width: 128px;
    max-height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
}

.worker-portal-status-band {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin: 0 28px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(225, 247, 236, 0.96), rgba(242, 250, 245, 0.96));
    color: #05824f;
    font-weight: 900;
}

.worker-portal-shell.is-auth .worker-portal-status-band {
    margin: 0;
}

.worker-portal-status-band svg,
.worker-portal-period-band svg,
.worker-portal-primary-button svg,
.worker-portal-report-button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.worker-portal-empty-state,
.worker-portal-auth-panel {
    display: grid;
    gap: 20px;
}

.worker-portal-empty-state h1,
.worker-portal-auth-heading h1,
.worker-portal-employee-hero h1,
.worker-portal-section-block h2 {
    margin: 0;
    letter-spacing: 0;
}

.worker-portal-empty-state p,
.worker-portal-auth-heading p,
.worker-portal-employee-hero p {
    margin: 0;
    color: #64708a;
}

.worker-portal-auth-heading h1 {
    color: #07172f;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
}

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

.worker-portal-field {
    display: grid;
    gap: 8px;
    color: #65738e;
    font-size: 0.86rem;
    font-weight: 850;
}

.worker-portal-field input,
.worker-portal-field textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid #d4e0f0;
    border-radius: 13px;
    background: #f7fbff;
    color: #07172f;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.worker-portal-field input {
    padding: 0 16px;
}

.worker-portal-field textarea {
    min-height: 112px;
    padding: 14px 16px;
    resize: vertical;
}

.worker-portal-field input:focus,
.worker-portal-field textarea:focus {
    border-color: rgba(20, 184, 166, 0.65);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.worker-portal-primary-button,
.worker-portal-secondary-button,
.worker-portal-report-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 0 18px;
    font: inherit;
    font-weight: 900;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.worker-portal-primary-button {
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
}

.worker-portal-solid-button {
    background: linear-gradient(135deg, #07837b 0%, #0b9384 100%);
    box-shadow: 0 16px 28px rgba(7, 131, 123, 0.22);
}

.worker-portal-secondary-button {
    background: #ffffff;
    border-color: #d6e2f1;
    color: #07172f;
}

.worker-portal-report-button {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(249, 115, 22, 0.22);
}

.worker-portal-primary-button:hover,
.worker-portal-secondary-button:hover,
.worker-portal-report-button:hover {
    transform: translateY(-1px);
}

.worker-portal-primary-button:disabled,
.worker-portal-secondary-button:disabled,
.worker-portal-report-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

.worker-portal-message,
.worker-portal-info-note {
    margin: 0 28px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #0f3f93;
    font-weight: 800;
}

.worker-portal-shell.is-auth .worker-portal-message,
.worker-portal-shell.is-auth .worker-portal-info-note {
    margin: 0;
}

.worker-portal-message-warning {
    background: #fff7e6;
    color: #9a5a00;
}

.worker-portal-employee-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin: 0 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #dce5f2;
}

.worker-portal-avatar {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b8f86 0%, #057d78 100%);
    color: #ffffff;
    font-size: 2.1rem;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(7, 131, 123, 0.24);
}

.worker-portal-employee-hero span {
    color: #273a58;
    font-size: 1.16rem;
}

.worker-portal-employee-hero h1 {
    color: #07172f;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    line-height: 1.08;
    font-weight: 950;
}


.worker-portal-schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 28px;
    border-bottom: 1px solid #dce5f2;
}

.worker-portal-schedule-grid article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px 18px;
    border-right: 1px solid #dce5f2;
}

.worker-portal-schedule-grid article:last-child {
    border-right: 0;
}

.worker-portal-schedule-grid article span:not(.worker-portal-round-icon) {
    display: block;
    color: #64708a;
    font-weight: 750;
}

.worker-portal-schedule-grid strong {
    display: block;
    color: #07172f;
    font-size: 1.22rem;
    line-height: 1.1;
    word-break: keep-all;
}

.worker-portal-round-icon,
.worker-portal-metric-row article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: #ffffff;
}

.worker-portal-round-icon svg,
.worker-portal-metric-row svg {
    width: 26px;
    height: 26px;
}

.worker-portal-round-icon.is-blue,
.worker-portal-metric-row .is-blue > span {
    background: linear-gradient(135deg, #2563eb, #0f6fd8);
}

.worker-portal-round-icon.is-green,
.worker-portal-metric-row .is-green > span {
    background: linear-gradient(135deg, #16a34a, #059669);
}

.worker-portal-period-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    margin: -4px 28px 0;
    border-radius: 11px;
    background: #eaf3ff;
    color: #155bd6;
    font-size: 1.06rem;
    font-weight: 850;
}

.worker-portal-metric-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 28px;
    border: 1px solid #dce5f2;
    background: #ffffff;
}

.worker-portal-metric-row article {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    padding: 20px 14px;
    text-align: center;
    border-right: 1px solid #dce5f2;
}

.worker-portal-metric-row article:last-child {
    border-right: 0;
}

.worker-portal-metric-row strong {
    color: #07172f;
    font-size: 2rem;
    line-height: 1;
}

.worker-portal-metric-row small {
    color: #07172f;
    font-size: 0.94rem;
    font-weight: 850;
}

.worker-portal-metric-row em {
    color: #64708a;
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 650;
}

.worker-portal-metric-row .is-gold > span {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.worker-portal-metric-row .is-red > span {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.worker-portal-facts,
.worker-portal-section-block {
    margin: 0 28px;
    border: 1px solid #dce5f2;
    background: #ffffff;
}

.worker-portal-facts {
    display: grid;
}

.worker-portal-facts div,
.worker-portal-history-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid #e7edf6;
}

.worker-portal-facts div:last-child,
.worker-portal-history-list div:last-child {
    border-bottom: 0;
}

.worker-portal-facts span,
.worker-portal-history-list span {
    color: #273a58;
    font-weight: 750;
}

.worker-portal-facts strong,
.worker-portal-history-list strong {
    color: #07172f;
    font-weight: 950;
    text-align: right;
}

.worker-portal-section-block {
    display: grid;
    gap: 14px;
    padding: 0 0 18px;
    border: 0;
}

.worker-portal-section-block h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #07172f;
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 950;
}

.worker-portal-section-block h2::before {
    content: "";
    width: 5px;
    height: 34px;
    border-radius: 999px;
    background: #07837b;
}

.worker-portal-section-block.is-history h2::before {
    background: #2563eb;
}

.worker-portal-report-form h2::before {
    background: #f97316;
}

.worker-portal-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.worker-portal-history-list {
    border: 1px solid #dce5f2;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 720px) {
    .worker-portal-screen {
        padding: 18px 10px;
        place-items: start center;
    }

    .worker-portal-shell,
    .worker-portal-shell.is-auth {
        padding: 0 0 20px;
        border-radius: 18px;
    }

    .worker-portal-brandbar,
    .worker-portal-shell.is-auth .worker-portal-brandbar {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 20px;
        border-radius: 0;
    }

    .worker-portal-company-brand {
        width: 100%;
        font-size: 1.7rem;
    }

    .worker-portal-entria-brand {
        width: 100%;
        justify-content: space-between;
    }

    .worker-portal-status-band,
    .worker-portal-shell.is-auth .worker-portal-status-band,
    .worker-portal-message,
    .worker-portal-info-note,
    .worker-portal-employee-hero,
    .worker-portal-schedule-grid,
    .worker-portal-period-band,
    .worker-portal-metric-row,
    .worker-portal-facts,
    .worker-portal-section-block,
    .worker-portal-shell.is-auth .worker-portal-message,
    .worker-portal-shell.is-auth .worker-portal-info-note {
        margin-left: 18px;
        margin-right: 18px;
    }

    .worker-portal-auth-panel,
    .worker-portal-empty-state {
        margin: 0 18px;
    }

    .worker-portal-employee-hero,
    .worker-portal-schedule-grid article,
    .worker-portal-facts div,
    .worker-portal-history-list div {
        align-items: flex-start;
    }

    .worker-portal-employee-hero {
        grid-template-columns: 1fr;
    }


    .worker-portal-avatar {
        width: 88px;
        height: 88px;
        font-size: 1.75rem;
    }

    .worker-portal-schedule-grid,
    .worker-portal-metric-row,
    .worker-portal-two-columns {
        grid-template-columns: 1fr;
    }

    .worker-portal-schedule-grid article,
    .worker-portal-metric-row article {
        border-right: 0;
        border-bottom: 1px solid #dce5f2;
    }

    .worker-portal-schedule-grid article:last-child,
    .worker-portal-metric-row article:last-child {
        border-bottom: 0;
    }

    .worker-portal-metric-row article {
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
    }

    .worker-portal-metric-row article strong,
    .worker-portal-metric-row article small,
    .worker-portal-metric-row article em {
        grid-column: 2;
    }
}
/* Softer operational palette refinements */
.school-banner-danger {
    border: 1px solid #ffd7d7;
    background: #fff7f7;
    color: #a93b3b;
}

.work-avatar {
    background: linear-gradient(135deg, #2b7de9 0%, #17a7b3 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
}

.work-greeting-pill.success {
    border-color: #cfeee3;
    background: #f4fbf8;
    color: #0f766e;
}

.work-greeting-pill.warning {
    border-color: #f5dfbd;
    background: #fffaf1;
    color: #a76012;
}

.work-greeting-pill.danger {
    border-color: #f5d3d3;
    background: #fff7f7;
    color: #a43f3f;
}

.work-alert-card.danger {
    border-color: #f4d4d4;
    background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
}

.work-alert-card.warning,
.work-alert-card.gold {
    border-color: #f4dfbd;
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
}

.work-alert-card.success {
    border-color: #d0ece0;
    background: linear-gradient(180deg, #f7fcfa 0%, #ffffff 100%);
}

.work-alert-card.danger .work-alert-icon,
.work-alert-card.warning .work-alert-icon,
.work-alert-card.gold .work-alert-icon,
.work-alert-card.blue .work-alert-icon,
.work-alert-card.success .work-alert-icon {
    border: 1px solid currentColor;
    background: #ffffff;
    opacity: 0.92;
}

.work-alert-card.danger .work-alert-icon,
.work-alert-card.danger .work-alert-count,
.work-alert-card.danger .work-alert-body > strong {
    color: #b44444;
}

.work-alert-card.warning .work-alert-icon,
.work-alert-card.gold .work-alert-icon,
.work-alert-card.warning .work-alert-count,
.work-alert-card.gold .work-alert-count,
.work-alert-card.warning .work-alert-body > strong,
.work-alert-card.gold .work-alert-body > strong {
    color: #bd650f;
}

.work-alert-card.success .work-alert-icon,
.work-alert-card.success .work-alert-count,
.work-alert-card.success .work-alert-body > strong {
    color: #0f766e;
}

.work-alert-card.danger .work-alert-bullet { background: #d96a6a; }
.work-alert-card.warning .work-alert-bullet,
.work-alert-card.gold .work-alert-bullet { background: #d99021; }
.work-alert-card.success .work-alert-bullet { background: #2aa889; }

.work-alert-card.danger .work-alert-chip,
.work-alert-card.danger .work-alert-action {
    border-color: #f5d3d3;
    background: #fff8f8;
    color: #a43f3f;
}

.work-alert-card.warning .work-alert-chip,
.work-alert-card.gold .work-alert-chip,
.work-alert-card.warning .work-alert-action,
.work-alert-card.gold .work-alert-action {
    border-color: #f4dfbd;
    background: #fffaf2;
    color: #a76012;
}

.work-alert-card.success .work-alert-chip,
.work-alert-card.success .work-alert-action {
    border-color: #d0ece0;
    background: #f4fbf8;
    color: #0f766e;
}

.work-today-card.success {
    background: #f4fbf8;
    color: #0f766e;
}

.work-today-card.warning {
    background: #fffaf1;
    color: #a76012;
}

.work-today-card.danger {
    background: #fff7f7;
    color: #a43f3f;
}

/* Worker portal: calmer Entria/JornadaBot colors */
.worker-portal-screen {
    place-items: center;
    padding: clamp(18px, 4vh, 40px) 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(18, 150, 163, 0.07), transparent 32rem),
        radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.08), transparent 28rem),
        #f5f8fc;
}

.worker-portal-shell {
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.worker-portal-shell.is-auth {
    width: min(100%, 760px);
    align-self: center;
    padding: 24px;
}

.worker-portal-shell.is-dashboard {
    align-self: start;
    margin-bottom: 36px;
}

.worker-portal-brandbar {
    background: linear-gradient(135deg, #0f6f7d 0%, #0c6877 55%, #115a70 100%);
}

.worker-portal-status-band {
    border: 1px solid #d5eee8;
    background: #f1faf6;
    color: #0f766e;
}

.worker-portal-company-fallback {
    background: rgba(255, 255, 255, 0.96);
    color: #0f6f7d;
    box-shadow: none;
}

.worker-portal-field input:focus,
.worker-portal-field textarea:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.worker-portal-primary-button {
    background: linear-gradient(135deg, #2563eb 0%, #1296a3 100%);
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}

.worker-portal-solid-button {
    background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
    box-shadow: 0 14px 26px rgba(14, 116, 144, 0.16);
}

.worker-portal-report-button {
    background: linear-gradient(135deg, #e89a18 0%, #d97706 100%);
    box-shadow: 0 14px 26px rgba(217, 119, 6, 0.16);
}

.worker-portal-avatar {
    border: 1px solid #cfe7e7;
    background: #f1f8f8;
    color: #0f6f73;
    box-shadow: none;
}

.worker-portal-round-icon,
.worker-portal-metric-row article > span {
    width: 52px;
    height: 52px;
    border: 1px solid #dbe7fb;
    background: #f2f7ff;
    color: #2563eb;
    box-shadow: none;
}

.worker-portal-round-icon.is-blue,
.worker-portal-metric-row .is-blue > span {
    border-color: #dbe7fb;
    background: #f2f7ff;
    color: #2563eb;
}

.worker-portal-round-icon.is-green,
.worker-portal-metric-row .is-green > span {
    border-color: #cfeee8;
    background: #f0faf7;
    color: #0f766e;
}

.worker-portal-metric-row .is-gold > span {
    border-color: #f4dfbd;
    background: #fff8eb;
    color: #b76a12;
}

.worker-portal-metric-row .is-red > span {
    border-color: #f4d4d4;
    background: #fff7f7;
    color: #b44444;
}

.worker-portal-period-band,
.worker-portal-message,
.worker-portal-info-note {
    background: #edf5ff;
    color: #1958bd;
}

.worker-portal-section-block h2::before {
    background: #0e7490;
}

.worker-portal-report-form h2::before {
    background: #d97706;
}

@media (max-width: 720px) {
    .worker-portal-screen {
        place-items: center;
    }

    .worker-portal-shell.is-dashboard {
        align-self: start;
    }
}

/* Worker portal internal dashboard */
.worker-portal-screen.is-dashboard-screen {
    place-items: start center;
    padding: 42px 18px 54px;
    background: #ffffff;
}

.worker-portal-shell.is-dashboard {
    width: min(100%, 760px);
    display: grid;
    gap: 18px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.worker-portal-shell.is-dashboard .worker-portal-message,
.worker-portal-shell.is-dashboard .worker-portal-info-note {
    margin: 0;
}

.worker-portal-shell.is-dashboard .worker-portal-message {
    border-radius: 12px;
}

.worker-portal-employee-hero {
    margin: 0;
    padding: 0 0 34px;
    gap: 22px;
    border-bottom: 1px solid #dce5f2;
}

.worker-portal-avatar {
    width: 98px;
    height: 98px;
    border: 1px solid #cfe7e7;
    background: #f1f8f8;
    color: #0f6f73;
    font-size: 1.55rem;
    box-shadow: none;
}

.worker-portal-employee-hero span {
    color: #34435c;
    font-size: 1.02rem;
    font-weight: 700;
}

.worker-portal-employee-hero h1 {
    color: #07172f;
    font-size: clamp(1.7rem, 4vw, 2.15rem);
    line-height: 0.98;
    font-weight: 950;
}

.worker-portal-employee-hero p {
    color: #64708a;
    font-size: 0.95rem;
    font-weight: 700;
}

.worker-portal-schedule-grid {
    margin: 0;
    border-bottom: 1px solid #dce5f2;
}

.worker-portal-schedule-grid article {
    justify-content: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px 24px;
}

.worker-portal-schedule-grid .worker-portal-round-icon,
.worker-portal-schedule-grid .worker-portal-round-icon.is-blue,
.worker-portal-schedule-grid .worker-portal-round-icon.is-green {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #53627c;
}

.worker-portal-schedule-grid .worker-portal-round-icon svg {
    width: 36px;
    height: 36px;
}

.worker-portal-schedule-grid article span:not(.worker-portal-round-icon) {
    color: #64708a;
    font-size: 0.95rem;
    font-weight: 850;
}

.worker-portal-schedule-grid strong {
    color: #07172f;
    font-size: 1.06rem;
    font-weight: 950;
}

.worker-portal-period-band {
    min-height: 52px;
    margin: 4px 0 46px;
    border-radius: 10px;
    background: #edf5ff;
    color: #1958bd;
    font-size: 1.02rem;
    font-weight: 950;
}

.worker-portal-period-band svg {
    width: 21px;
    height: 21px;
}

.worker-portal-metric-row {
    margin: 0;
    border: 1px solid #dce5f2;
    background: #ffffff;
}

.worker-portal-metric-row article {
    gap: 8px;
    min-height: 152px;
    padding: 20px 14px 18px;
}

.worker-portal-metric-row article > span {
    width: 50px;
    height: 50px;
}

.worker-portal-metric-row svg {
    width: 25px;
    height: 25px;
}

.worker-portal-metric-row strong {
    font-size: 2rem;
    font-weight: 950;
}

.worker-portal-metric-row small {
    color: #07172f;
    font-size: 0.88rem;
    font-weight: 950;
}

.worker-portal-metric-row em {
    color: #64708a;
    font-size: 0.82rem;
    font-weight: 800;
}

.worker-portal-facts {
    margin: 0;
    border: 1px solid #dce5f2;
    background: #ffffff;
}

.worker-portal-facts div,
.worker-portal-history-list div {
    min-height: 54px;
    padding: 0 20px;
}

.worker-portal-facts span,
.worker-portal-history-list span {
    color: #273a58;
    font-size: 0.95rem;
    font-weight: 850;
}

.worker-portal-facts strong,
.worker-portal-history-list strong {
    color: #07172f;
    font-size: 0.95rem;
    font-weight: 950;
}

.worker-portal-section-block {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 14px;
}

.worker-portal-vacation-form {
    margin-top: 30px;
}

.worker-portal-section-block h2 {
    gap: 10px;
    color: #07172f;
    font-size: 1.1rem;
    font-weight: 950;
}

.worker-portal-section-block h2::before {
    width: 5px;
    height: 34px;
    background: #0e7490;
}

.worker-portal-section-block.is-history h2::before {
    background: #2563eb;
}

.worker-portal-report-form h2::before {
    background: #d97706;
}

.worker-portal-two-columns {
    gap: 18px;
}

.worker-portal-section-block .worker-portal-field {
    color: #60708b;
    font-size: 0.82rem;
    font-weight: 950;
}

.worker-portal-section-block .worker-portal-field input,
.worker-portal-section-block .worker-portal-field textarea {
    border-color: #d4e0f0;
    border-radius: 12px;
    background: #f7fbff;
    font-size: 0.92rem;
    font-weight: 850;
}

.worker-portal-section-block .worker-portal-field textarea {
    min-height: 116px;
}

.worker-portal-solid-button,
.worker-portal-report-button {
    min-height: 56px;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 950;
}

.worker-portal-solid-button {
    background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
    box-shadow: 0 14px 24px rgba(14, 116, 144, 0.14);
}

.worker-portal-history-list {
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.worker-portal-report-form {
    margin-top: 18px;
}

.worker-portal-report-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 14px 24px rgba(217, 119, 6, 0.14);
}

.worker-portal-inline-feedback {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #cfe3ff;
    border-radius: 12px;
    background: #edf5ff;
    color: #1958bd;
    font-size: 0.9rem;
    font-weight: 850;
}

.worker-portal-inline-feedback.is-error {
    border-color: #f5c4c4;
    background: #fff7f7;
    color: #b42323;
}

.worker-portal-inline-feedback.is-success {
    border-color: #ccebdd;
    background: #f0faf5;
    color: #087443;
}

.worker-portal-confirm-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d4e0f0;
    border-radius: 12px;
    background: #f8fbff;
}

.worker-portal-confirm-box strong {
    color: #07172f;
    font-size: 0.98rem;
    font-weight: 950;
}

.worker-portal-confirm-box span {
    color: #52627c;
    font-size: 0.9rem;
    font-weight: 760;
    line-height: 1.45;
}

.worker-portal-confirm-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 10px;
    margin-top: 2px;
}

.worker-portal-confirm-button {
    min-height: 46px;
    border-radius: 11px;
    box-shadow: none;
}

.worker-portal-dashboard-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 6px auto 0;
}

.worker-portal-dashboard-footer img {
    width: 172px;
    max-width: 56%;
    height: auto;
    object-fit: contain;
}

.worker-portal-dashboard-footer span {
    margin-top: 7px;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1;
}

@media (max-width: 720px) {
    .worker-portal-screen.is-dashboard-screen {
        padding: 28px 18px 44px;
    }

    .worker-portal-shell.is-dashboard {
        width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .worker-portal-employee-hero,
    .worker-portal-schedule-grid,
    .worker-portal-period-band,
    .worker-portal-metric-row,
    .worker-portal-facts,
    .worker-portal-section-block,
    .worker-portal-shell.is-dashboard .worker-portal-message,
    .worker-portal-shell.is-dashboard .worker-portal-info-note {
        margin-left: 0;
        margin-right: 0;
    }

    .worker-portal-employee-hero {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .worker-portal-avatar {
        width: 82px;
        height: 82px;
        font-size: 1.28rem;
    }

    .worker-portal-schedule-grid {
        grid-template-columns: 1fr;
    }

    .worker-portal-schedule-grid article {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #dce5f2;
    }

    .worker-portal-schedule-grid article:last-child {
        border-bottom: 0;
    }

    .worker-portal-period-band {
        margin-bottom: 34px;
        padding: 0 14px;
        text-align: center;
    }

    .worker-portal-metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-portal-metric-row article {
        grid-template-columns: none;
        justify-items: center;
        text-align: center;
        border-bottom: 1px solid #dce5f2;
    }

    .worker-portal-metric-row article:nth-child(2n) {
        border-right: 0;
    }

    .worker-portal-metric-row article:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .worker-portal-metric-row article strong,
    .worker-portal-metric-row article small,
    .worker-portal-metric-row article em {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .worker-portal-employee-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .worker-portal-two-columns,
    .worker-portal-metric-row {
        grid-template-columns: 1fr;
    }

    .worker-portal-metric-row article,
    .worker-portal-metric-row article:nth-child(2n),
    .worker-portal-metric-row article:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #dce5f2;
    }

    .worker-portal-metric-row article:last-child {
        border-bottom: 0;
    }
}
/* Worker portal informational login */
.worker-portal-screen.is-login-screen {
    place-items: center;
    padding: 24px 18px;
    background: #ffffff;
}

.worker-portal-shell.is-login {
    width: min(100%, 420px);
    min-height: calc(100vh - 48px);
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.worker-portal-shell.is-login .worker-portal-message,
.worker-portal-shell.is-login .worker-portal-message-warning {
    margin: 0 0 18px;
    border-radius: 10px;
    text-align: center;
}

.worker-portal-login-panel {
    min-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 74px;
}
.worker-portal-login-loading {
    justify-content: flex-start;
}

.worker-portal-login-loading-copy {
    margin: 0 0 auto;
}

.worker-portal-login-loading-copy h1 {
    margin: 0;
    color: #07172f;
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: 0;
}

.worker-portal-login-loading-copy p {
    margin: 16px 0 0;
    color: #64708a;
    font-size: 0.94rem;
    line-height: 1.5;
    font-weight: 700;
}

.worker-portal-login-company {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    color: #111827;
}

.worker-portal-login-company img {
    width: 58px;
    max-width: 104px;
    height: 58px;
    object-fit: contain;
}

.worker-portal-login-company strong {
    font-size: 1.82rem;
    font-weight: 950;
    line-height: 1;
}

.worker-portal-login-company-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 950;
}

.worker-portal-login-rh-message {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    margin: 0 0 84px;
    color: #111827;
}

.worker-portal-login-rh-header {
    display: contents;
}

.worker-portal-login-rh-avatar {
    grid-column: 1;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef4ff, #dff7ef);
    color: #0f3f93;
    font-size: 0.58rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(15, 63, 147, 0.12);
}

.worker-portal-login-rh-header > span:last-child {
    grid-column: 2;
    align-self: center;
    color: #111827;
    font-size: 0.96rem;
    font-style: italic;
    font-weight: 950;
    line-height: 1;
}

.worker-portal-login-rh-message p {
    grid-column: 2;
    margin: 5px 0 0;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1.35;
}

.worker-portal-login-heading {
    margin-bottom: 18px;
}

.worker-portal-login-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 950;
}

.worker-portal-login-heading p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 750;
}

.worker-portal-login-form {
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eeeeef;
    border: 1px solid #eceef2;
}

.worker-portal-login-field {
    position: relative;
    display: block;
    gap: 0;
    color: inherit;
    font-size: 1rem;
}

.worker-portal-login-field > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.worker-portal-login-field input,
.worker-portal-password-input {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    background: #eeeeef;
    color: #111827;
    box-shadow: none;
}

.worker-portal-login-field input {
    padding: 0 21px;
    font-size: 0.95rem;
    font-weight: 850;
}

.worker-portal-login-field input::placeholder {
    color: #737780;
    opacity: 1;
}

.worker-portal-password-input {
    display: flex;
    align-items: center;
}

.worker-portal-password-input input {
    flex: 1 1 auto;
    border-bottom: 0;
}

.worker-portal-password-input button {
    align-self: stretch;
    min-width: 64px;
    border: 0;
    background: transparent;
    color: #6b7280;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
}

.worker-portal-login-field input:focus,
.worker-portal-password-input:focus-within {
    background: #f7f7f8;
    box-shadow: inset 0 0 0 2px rgba(17, 24, 39, 0.08);
    outline: none;
}

.worker-portal-login-submit,
.worker-portal-login-submit:disabled {
    width: 100%;
    min-height: 58px;
    border-radius: 0;
    background: #202020;
    color: #ffffff;
    box-shadow: none;
}

.worker-portal-login-submit:hover:not(:disabled) {
    transform: none;
    background: #111111;
}

.worker-portal-login-outline {
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    border-radius: 6px;
    border-color: #202020;
    background: #ffffff;
    color: #111827;
    box-shadow: none;
}

.worker-portal-login-outline:hover:not(:disabled) {
    transform: none;
    background: #f8fafc;
}

.worker-portal-login-link {
    display: inline-flex;
    justify-content: center;
    margin: 28px auto 0;
    border: 0;
    background: transparent;
    color: #7b8190;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 950;
    cursor: pointer;
}

.worker-portal-login-entria {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0 0;
    padding-top: 38px;
}

.worker-portal-login-entria img {
    width: 172px;
    max-width: 56%;
    height: auto;
    object-fit: contain;
}

.worker-portal-login-entria span {
    margin-top: 7px;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1;
}

@media (max-height: 780px) {

    .worker-portal-login-company {
        margin-bottom: 20px;
    }

}

@media (max-width: 520px) {
    .worker-portal-screen.is-login-screen {
        padding: 18px;
    }

    .worker-portal-shell.is-login,
    .worker-portal-login-panel {
        min-height: calc(100vh - 36px);
    }

    .worker-portal-login-panel {
        padding-top: 54px;
    }

    .worker-portal-login-company {
        margin-bottom: 22px;
    }

    .worker-portal-login-company strong {
        font-size: 1.7rem;
    }
}

.worker-portal-section-copy,
.worker-portal-form-help {
    margin: 0;
    color: #60708b;
    font-size: 0.92rem;
    line-height: 1.45;
}

.worker-portal-report-select-grid,
.worker-portal-attention-grid {
    align-items: end;
}

.worker-portal-attention-form h2::before {
    background: #0e7490;
}

.worker-portal-anonymous-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #cfe7e7;
    border-radius: 12px;
    background: #f2f9f8;
    cursor: pointer;
}

.worker-portal-anonymous-option input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: #0e7490;
    flex: 0 0 auto;
}

.worker-portal-anonymous-option span {
    display: grid;
    gap: 3px;
}

.worker-portal-anonymous-option strong {
    color: #17324d;
    font-size: 0.94rem;
}

.worker-portal-anonymous-guidance {
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    border: 1px solid #f0d18a;
    border-radius: 12px;
    background: #fff8e8;
    color: #725111;
    font-size: 0.9rem;
    line-height: 1.5;
}

.worker-portal-anonymous-guidance strong {
    color: #5f4107;
}


.worker-portal-section-block .worker-portal-field select.worker-portal-select {
    width: 100%;
    min-height: 52px;
    padding: 0 42px 0 16px;
    border: 1px solid #d4e0f0;
    border-radius: 12px;
    background: #f7fbff;
    color: #07172f;
    font-size: 0.92rem;
    font-weight: 850;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7a92 50%), linear-gradient(135deg, #6b7a92 50%, transparent 50%);
    background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.worker-portal-section-block .worker-portal-field select.worker-portal-select:disabled {
    color: #94a3b8;
    background-color: #f2f6fb;
}

.worker-portal-report-history-list {
    display: grid;
    gap: 0;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.worker-portal-report-history-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5edf7;
}

.worker-portal-report-history-list article:last-child {
    border-bottom: 0;
}

.worker-portal-report-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d9e7f6;
    background: #eef6ff;
    color: #2563eb;
    font-weight: 950;
}

.worker-portal-report-icon.is-green { background: #e9f8f2; color: #0f766e; border-color: #bfe8dc; }
.worker-portal-report-icon.is-blue { background: #eef6ff; color: #2563eb; border-color: #cfe0ff; }
.worker-portal-report-icon.is-red { background: #fff1f2; color: #dc2626; border-color: #fecdd3; }
.worker-portal-report-icon.is-violet { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.worker-portal-report-icon.is-slate { background: #f1f5f9; color: #475569; border-color: #dbe4ef; }

.worker-portal-report-history-list strong,
.worker-portal-report-history-list small {
    display: block;
}

.worker-portal-report-history-list strong {
    color: #07172f;
    font-size: 0.95rem;
    font-weight: 950;
}

.worker-portal-report-history-list small {
    margin-top: 3px;
    color: #60708b;
    font-size: 0.78rem;
    font-weight: 750;
}

.worker-portal-report-history-list em {
    min-width: 98px;
    padding: 8px 10px;
    border-radius: 999px;
    text-align: center;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 950;
}

.worker-portal-report-history-list em.is-success { background: #e7f8ed; color: #159947; }
.worker-portal-report-history-list em.is-active { background: #eaf2ff; color: #2563eb; }
.worker-portal-report-history-list em.is-danger { background: #fff1f2; color: #dc2626; }
.worker-portal-report-history-list em.is-pending { background: #fff7e6; color: #b45309; }

.worker-portal-section-block.is-report-history h2::before {
    background: #2563eb;
}

@media (max-width: 720px) {
    .worker-portal-report-history-list article {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .worker-portal-report-history-list em {
        grid-column: 2;
        justify-self: start;
    }
}
.company-internal-report-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.company-internal-report-summary article {
    min-height: 96px;
    padding: 18px;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.company-internal-report-summary span,
.company-internal-report-summary small {
    display: block;
    color: #60708b;
    font-size: 0.82rem;
    font-weight: 850;
}

.company-internal-report-summary strong {
    display: block;
    margin: 8px 0 4px;
    color: #07172f;
    font-size: 1.8rem;
    font-weight: 950;
}

.company-internal-report-priority {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 950;
}

.company-internal-report-priority.is-high { background: #fff1f2; color: #dc2626; }
.company-internal-report-priority.is-medium { background: #fff7e6; color: #b45309; }
.company-internal-report-priority.is-normal { background: #eaf2ff; color: #2563eb; }

.company-internal-report-type strong,
.company-internal-report-type span {
    display: block;
}

.company-internal-report-type strong {
    color: #07172f;
    font-weight: 950;
}

.company-internal-report-type span,
.company-internal-report-comment {
    color: #53637d;
    font-size: 0.9rem;
    line-height: 1.35;
}

.company-internal-report-comment {
    max-width: 360px;
}

.company-internal-report-followup-log {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    background: #f8fbff;
}

.company-internal-report-followup-log h4 {
    margin: 0 0 6px;
    color: #07172f;
    font-size: 0.95rem;
    font-weight: 950;
}

.company-internal-report-followup-log p {
    margin: 0;
    color: #53637d;
}

@media (max-width: 1100px) {
    .company-internal-report-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .company-internal-report-summary {
        grid-template-columns: 1fr;
    }
}

.worker-portal-request-hub {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.worker-portal-request-hub-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.worker-portal-request-hub-heading span {
    color: #0e7490;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.worker-portal-request-hub-heading h2 {
    margin: 3px 0 0;
    color: #07172f;
    font-size: 1.18rem;
    font-weight: 950;
}

.worker-portal-request-hub-heading small {
    max-width: 430px;
    color: #60708b;
    font-size: 0.82rem;
    font-weight: 750;
    text-align: right;
}

.worker-portal-request-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.worker-portal-request-actions > button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid #d8e3f1;
    border-radius: 14px;
    background: #fff;
    color: #07172f;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.worker-portal-request-actions > button:hover,
.worker-portal-request-actions > button:focus-visible {
    border-color: #83b8c8;
    box-shadow: 0 10px 22px rgba(15, 93, 117, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.worker-portal-request-actions > button.is-active {
    border-color: #0e7490;
    background: #f1f9fa;
    box-shadow: 0 10px 24px rgba(14, 116, 144, 0.12);
}

.worker-portal-request-actions > button > span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.worker-portal-request-actions strong {
    font-size: 0.95rem;
    font-weight: 950;
}

.worker-portal-request-actions small {
    color: #60708b;
    font-size: 0.77rem;
    font-weight: 760;
}

.worker-portal-request-actions em {
    color: #4d607a;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
}

.worker-portal-request-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 950;
}

.worker-portal-request-action-icon.is-vacation {
    background: #fff7df;
    color: #b66a00;
}

.worker-portal-request-action-icon.is-permission {
    background: #eaf4ff;
    color: #2563eb;
}

.worker-portal-request-action-icon.is-attention {
    background: #e8f7f4;
    color: #0f766e;
}

.worker-portal-request-panel {
    display: grid;
    gap: 24px;
    margin-top: 16px;
    padding: 24px;
    border: 1px solid #d8e3f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(30, 55, 90, 0.07);
}

.worker-portal-request-panel .worker-portal-vacation-form,
.worker-portal-request-panel .worker-portal-attention-form {
    margin-top: 0;
}

.worker-portal-segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid #d4e0f0;
    border-radius: 12px;
    background: #f2f6fb;
}

.worker-portal-segmented-control button {
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #60708b;
    font-weight: 900;
    cursor: pointer;
}

.worker-portal-segmented-control button.is-active {
    background: #fff;
    color: #0e7490;
    box-shadow: 0 3px 10px rgba(30, 55, 90, 0.09);
}

.worker-portal-permission-note {
    display: grid;
    gap: 4px;
    padding: 13px 15px;
    border: 1px solid #cde5ea;
    border-radius: 12px;
    background: #f2fafb;
}

.worker-portal-permission-note strong {
    color: #0d596b;
    font-size: 0.9rem;
    font-weight: 950;
}

.worker-portal-permission-note span {
    color: #466274;
    font-size: 0.84rem;
    font-weight: 730;
    line-height: 1.45;
}

.worker-portal-permission-history {
    overflow: hidden;
    border: 1px solid #dce5f2;
    border-radius: 12px;
}

.worker-portal-permission-history article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 12px 16px;
    border-bottom: 1px solid #e6edf6;
}

.worker-portal-permission-history article:last-child {
    border-bottom: 0;
}

.worker-portal-permission-history article > div {
    display: grid;
    gap: 3px;
}

.worker-portal-permission-history article > div:last-child {
    justify-items: end;
}

.worker-portal-permission-history strong {
    color: #07172f;
    font-size: 0.91rem;
    font-weight: 950;
}

.worker-portal-permission-history span,
.worker-portal-permission-history small {
    color: #60708b;
    font-size: 0.77rem;
    font-weight: 760;
}

.worker-portal-permission-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7e6;
    color: #a85d05;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 950;
}

@media (max-width: 860px) {
    .worker-portal-request-actions {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 720px) {
    .worker-portal-request-hub-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .worker-portal-request-hub-heading small {
        text-align: left;
    }

    .worker-portal-request-panel {
        padding: 18px;
    }

    .worker-portal-permission-history article {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .worker-portal-permission-history article > div:last-child {
        justify-items: start;
    }
}
