<style>
    #timeTrackerBar {
        display: none !important;
    }

    .tt-loading {
        padding: 24px 12px;
        text-align: center;
        color: #666;
        font-size: 14px;
        font-style: italic;
    }

    .tt-week-cal-body.is-loading .tt-week-cal-loading {
        display: flex;
    }

    .tt-week-cal-loading {
        display: none;
        position: absolute;
        inset: 0;
        z-index: 5;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.55);
        color: #666;
        font-size: 14px;
        font-style: italic;
        pointer-events: none;
    }

    #ttWeekHeadDate,
    input.tt-week-head-picker {
        position: absolute !important;
        left: -9999px !important;
        top: 0 !important;
        width: 1px !important;
        height: 1px !important;
        min-height: 0 !important;
        max-height: 1px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
    }
    .week-nav.is-navless .tt-week-nav-prev,
    .week-nav.is-navless .tt-week-nav-next {
        display: none !important;
    }
    .tt-week-daychip.is-week {
        cursor: default;
        gap: 0;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    .tt-week-nav-chevron {
        appearance: none;
        -webkit-appearance: none;
        display: block;
        width: 100%;
        height: 14px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #8d8d8d;
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        line-height: 14px;
        text-align: center;
        cursor: pointer;
    }
    .tt-week-nav-chevron:hover {
        color: #2f2e30;
    }
    .tt-week-daychip.is-week .tt-week-daychip-num {
        appearance: none;
        -webkit-appearance: none;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        font: inherit;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.1;
        color: #2f2e30;
        cursor: pointer;
    }
    .tt-tooltip {
        position: fixed;
        z-index: 10000;
        max-width: 280px;
        padding: 6px 10px;
        border: 1px solid #ffb3b3;
        border-radius: 6px;
        background: #fff5f5;
        color: #7a0000;
        font-size: 12px;
        line-height: 1.35;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        pointer-events: none;
        white-space: normal;
    }
    .tt-tooltip[hidden] {
        display: none !important;
    }
    table {
        width: 100%;
    }
    .tt-page-layout {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .tt-page-main {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }

    .tt-side-panels {
        order: 2;
    }

    .tt-side-panels {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        flex: 0 0 auto;
    }

    .tt-side-panels-row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex: 0 0 auto;
    }

    .tt-side-panels-row > #userIconRail {
        order: -1;
    }

    .tt-filter-dock-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 36px;
        margin: 0;
        padding: 4px;
        border: 0;
        border-radius: 8px;
        background: #f3f3f3;
        color: #555;
        cursor: pointer;
    }

    .tt-filter-dock-toggle:hover {
        background: #ebebeb;
        color: #222;
    }

    .tt-user-sidelist {
        flex: 0 0 220px;
        width: 220px;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
        position: sticky;
        top: 12px;
    }

    .tt-user-sidelist-title,
    .tt-template-sidelist-title,
    .tt-week-sidelist-title,
    .tt-status-sidelist-title,
    .tt-worktype-sidelist-title,
    .pa-tt-income-users.is-wide .pa-tt-income-users-head {
        font-weight: 600;
        font-size: 11px;
        color: #777;
        padding: 7px 10px;
        min-height: 46px;
        box-sizing: border-box;
        border-bottom: 0;
        background: transparent;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .tt-filter-title-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .tt-filter-title-new {
        flex: 0 0 auto;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        background: #fff;
        color: #353B40;
        cursor: pointer;
        padding: 0;
    }

    .tt-filter-title-new:hover {
        background: #f3f3f3;
        color: #222;
    }

    .tt-filter-title-new .tt-app-icon {
        width: 18px;
        height: 18px;
    }

    #ttRailFilterFlyout .tt-filter-title-new {
        margin-left: 0;
    }

    .tt-filter-reset,
    .tt-filter-collapse,
    .pa-tt-income-users.is-wide .pa-tt-income-users-width,
    .pa-tt-income-users.is-wide .pa-tt-income-users-collapse,
    .pa-tt-income-users.is-wide .pa-tt-new-employee {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-left: 0;
        padding: 0;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        background: #fff;
        color: #353B40;
        cursor: pointer;
        font-size: 16px;
        line-height: 1;
    }

    .tt-filter-reset,
    .tt-filter-title-new {
        margin-left: auto;
    }

    .tt-filter-reset:hover,
    .tt-filter-collapse:hover,
    .pa-tt-income-users.is-wide .pa-tt-income-users-width:hover,
    .pa-tt-income-users.is-wide .pa-tt-income-users-collapse:hover,
    .pa-tt-income-users.is-wide .pa-tt-new-employee:hover {
        background: #f3f3f3;
        color: #222;
    }

    .tt-filter-collapse .tt-app-icon,
    .pa-tt-income-users.is-wide .pa-tt-income-users-collapse .tt-app-icon,
    .pa-tt-income-users.is-wide .pa-tt-income-users-width .tt-app-icon,
    .pa-tt-income-users.is-wide .pa-tt-new-employee svg {
        width: 18px;
        height: 18px;
    }

    .tt-shift-side-column .tt-filter-reset {
        display: none;
    }

    .tt-shift-side-column .tt-filter-title-new {
        margin-left: auto;
    }

    .is-collapsed .tt-user-sidelist-body,
    .is-collapsed .tt-worktype-sidelist-body,
    .is-collapsed .tt-status-sidelist-body,
    .is-collapsed .tt-template-sidelist-body {
        display: none;
    }

    .tt-user-column.is-narrow .tt-filter-collapse,
    .tt-user-column.is-narrow .tt-filter-reset,
    .tt-user-column.is-narrow .tt-filter-title-text {
        display: none;
    }
    .tt-user-column.is-narrow .tt-filter-title-check {
        display: inline-block;
    }

    .tt-week-sidelist-title {
        font-size: 11px;
        font-weight: 600;
        color: #777;
        justify-content: center;
        text-align: center;
        padding: 8px 2px 4px;
        height: auto;
        min-height: 0;
        box-sizing: border-box;
    }

    .tt-user-sidelist-body {
        display: flex;
        flex-direction: column;
    }

    .tt-filter-title-check,
    .tt-filter-item-check {
        flex: 0 0 auto;
        width: 14px;
        height: 14px;
        margin: 0 4px 0 0;
        cursor: pointer;
        accent-color: #ff1900;
    }

    .tt-filter-item-label {
        flex: 1 1 auto;
        min-width: 0;
    }

    .tt-filter-item-edit {
        flex: 0 0 auto;
        margin-left: auto;
        border: none;
        background: transparent;
        padding: 0 2px;
        color: #2f2e30;
        font-size: 14px;
        line-height: 1;
        cursor: pointer;
    }

    .tt-user-column.is-narrow .tt-filter-item-edit {
        display: none;
    }
    .tt-filter-title-check.is-partial,
    .tt-filter-title-check:indeterminate {
        accent-color: #888888;
        background: #b0b0b0;
    }
    .tt-user-sidelist-item {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        text-align: left;
        border: none;
        background: transparent;
        padding: 6px 10px;
        cursor: default;
        font-size: 14px;
        line-height: 1.35;
        color: #2f2e30;
        box-sizing: border-box;
    }

    .tt-user-sidelist-item:hover {
        background: #f6f6f6;
    }

    .tt-user-sidelist-item.is-selected {
        background: #2f2e30;
        color: #ffffff;
        font-weight: 600;
    }

    .tt-user-sidelist-item.is-self {
        background: #f7f1f4;
        font-weight: 600;
    }

    .tt-user-status-marks {
        display: inline-flex;
        align-items: center;
        gap: 1px;
        margin-left: 3px;
        margin-right: 1px;
        vertical-align: middle;
    }

    .tt-user-status-marks .tt-status-pending,
    .tt-user-status-marks .tt-status-approved {
        font-size: 12px;
        line-height: 1;
    }

    .tt-user-side-label {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .tt-user-side-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tt-user-role-marks {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .tt-user-role-marks .tt-org-role {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        flex: 0 0 18px;
    }

    .tt-user-role-marks .tt-org-role.is-manager {
        color: #1d4e89;
        background: #eef4fb;
    }

    .tt-user-role-marks .tt-org-role.is-external {
        color: #8a5a00;
        background: #fff4e0;
    }

    .tt-user-column {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 0 0 220px;
        width: 220px;
        position: sticky;
        top: 12px;
        box-sizing: border-box;
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: hidden;
    }

    .tt-user-column .tt-user-sidelist {
        position: static;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        width: 100%;
    }

    .tt-user-column > .tt-user-sidelist,
    .tt-user-column > .tt-worktype-sidelist,
    .tt-user-column > .tt-status-sidelist,
    .tt-user-column > .tt-template-sidelist {
        display: flex;
        flex-direction: column;
        flex: 1 1 0;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        width: 100%;
        position: static;
        box-sizing: border-box;
    }

    .tt-user-column > .is-collapsed {
        flex: 0 0 auto;
        height: auto;
        min-height: auto;
    }

    .tt-user-column > .tt-user-sidelist > .tt-user-sidelist-title,
    .tt-user-column > .tt-worktype-sidelist > .tt-worktype-sidelist-title,
    .tt-user-column > .tt-status-sidelist > .tt-status-sidelist-title,
    .tt-user-column > .tt-template-sidelist > .tt-template-sidelist-title {
        flex: 0 0 auto;
    }

    .tt-user-column .tt-user-sidelist-body,
    .tt-user-column .tt-worktype-sidelist-body,
    .tt-user-column .tt-status-sidelist-body,
    .tt-user-column .tt-template-sidelist-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    .tt-worktype-sidelist {
        flex: 0 1 auto;
        width: 100%;
        max-height: 40%;
        overflow-y: auto;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
    }

    .tt-worktype-sidelist-body,
    .tt-status-sidelist-body {
        display: flex;
        flex-direction: column;
    }

    .tt-status-sidelist {
        flex: 0 1 auto;
        width: 100%;
        overflow-y: auto;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
    }

    .tt-week-sidelist {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        width: 2.8em;
        max-width: 2.8em;
        height: calc(100vh - 160px);
        max-height: calc(100vh - 160px);
        overflow: hidden;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
        position: sticky;
        top: 12px;
        text-align: center;
        box-sizing: border-box;
    }

    .tt-week-sidelist-title {
        flex: 0 0 auto;
    }

    .tt-week-sidelist-body {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 4px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .tt-week-sidelist-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex: 1 1 0;
        min-height: 0;
        border: none;
        border-radius: 8px;
        background: transparent;
        padding: 0;
        cursor: pointer;
        font-size: 13px;
        line-height: 1.2;
        color: #2f2e30;
        text-align: center;
        box-sizing: border-box;
    }

    .tt-week-sidelist-item:hover {
        background: #f6f6f6;
    }

    .tt-week-sidelist-item.is-selected:not(.is-pending):not(.is-approved) {
        background: #2f2e30;
        color: #ffffff;
        font-weight: 700;
    }
    .tt-week-sidelist-item.is-approved {
        background: #b6ebc6;
        color: #2f2e30;
    }
    .tt-week-sidelist-item.is-pending {
        background: #f6c08a;
        color: #2f2e30;
    }
    .tt-week-sidelist-item.is-today:not(.is-pending):not(.is-approved) {
        font-weight: 700;
        background: #f7f1f4;
        color: #e03131;
    }
    .tt-week-sidelist-item.is-selected.is-pending,
    .tt-week-sidelist-item.is-selected.is-approved,
    .tt-week-sidelist-item.is-today.is-pending,
    .tt-week-sidelist-item.is-today.is-approved {
        font-weight: 700;
        box-shadow: inset 0 0 0 2px #2f2e30;
    }

    .tt-week-sidelist-item.is-arrow {
        flex: 0 0 auto;
        min-height: 22px;
        padding: 2px 0;
        font-weight: bold;
    }

    .tt-page-main {
        flex: 1 1 auto;
        min-width: 0;
        padding-top: 0;
        margin-top: 0;
    }

    .week-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
        margin: 0 0 12px;
    }

    .tt-week-daystrip {
        display: grid;
        grid-template-columns: 47px repeat(7, minmax(0, 1fr));
        gap: 0;
        flex: 1 0 100%;
        width: 100%;
        margin: 2px 0 0;
    }

    body.tt-desktop-app .tt-week-daystrip .tt-week-daychip,
    body.pa-desktop-app .tt-week-daystrip .tt-week-daychip {
        justify-self: center;
        width: auto;
        min-width: 64px;
        padding-left: 10px;
        padding-right: 10px;
    }

    body.tt-desktop-app .tt-week-daystrip .tt-week-daychip.is-week,
    body.pa-desktop-app .tt-week-daystrip .tt-week-daychip.is-week,
    body.tt-phone-app .tt-week-daystrip .tt-week-daychip.is-week,
    body.pa-phone-app .tt-week-daystrip .tt-week-daychip.is-week,
    .tt-week-daystrip .tt-week-daychip.is-week {
        justify-self: stretch;
        width: 100%;
        min-width: 0;
        max-width: 47px;
        padding-left: 0;
        padding-right: 0;
    }

    .tt-week-daystrip[hidden] {
        display: none !important;
    }

    .tt-week-daychip {
        appearance: none;
        -webkit-appearance: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        min-width: 0;
        margin: 0;
        padding: 6px 2px 8px;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: #2f2e30;
        font: inherit;
        cursor: pointer;
    }

    .tt-week-daychip-wd,
    .tt-week-daychip-mon {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.1;
        color: #8d8d8d;
    }

    .tt-week-daychip-num {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.1;
        color: #2f2e30;
    }

    .tt-week-daychip.is-selected,
    .tt-week-daychip:hover {
        background: #f7f1f4;
    }

    .tt-week-daychip.is-week:hover:not(.is-selected) {
        background: transparent;
    }

    .tt-week-daychip.is-today .tt-week-daychip-num {
        color: #e03131;
    }

    .week-nav br {
        display: none;
    }

    .week-nav b {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        text-align: center;
        font-weight: 700;
        color: #353B40;
    }

    .week-nav .ttm_button.tt-week-nav-prev,
    .week-nav .ttm_button.tt-week-nav-next {
        flex: 0 0 auto;
        box-sizing: border-box;
        width: 36px;
        min-width: 36px;
        max-width: 36px;
        height: 36px;
        min-height: 36px;
        max-height: 36px;
        margin: 0;
        padding: 0;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        background: #fff;
        color: #353B40;
        font: inherit;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
    }

    .week-nav .ttm_button.tt-week-nav-prev:hover,
    .week-nav .ttm_button.tt-week-nav-next:hover {
        background: #fee8e8;
        color: #353B40;
    }

    @media (min-width: 680px) {
        #weekNavHeader,
        #WeekHeader,
        #userlistID,
        #userList {
            display: none;
        }
    }

    .time-entries-container {
        width: 100%;
        margin-bottom: 90px;
    }

    .time-entry-row {
        display: grid;
        grid-template-columns: 118px 112px 112px 52px 220px minmax(0, 150px);
        grid-template-rows: auto auto;
        gap: 8px;
        align-items: start;
        padding: 4px 0;
    }
    .time-entry-row.has-werknemer {
        grid-template-columns: 118px 112px 112px 52px 140px 220px minmax(0, 150px);
    }

    .time-entries-container .time-entry-row:not(.header-row) {
        border: 1px solid #ffd6d6;
        padding: 4px;
    }

    .header-row {
        font-weight: bold;
        border-bottom: 2px solid #333;
        padding-bottom: 8px;
        grid-template-rows: auto;
    }

    .group-basics {
        grid-column: 1 / 5;
        grid-row: 1 / 3;
    }

    .inner-grid {
        display: grid;
        grid-template-columns: 118px 112px 112px 52px;
        gap: 8px;
    }

    .group-werknemer {
        grid-column: 5 / 6;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .time-entry-row.has-werknemer .group-relatie {
        grid-column: 6 / 7;
    }
    .time-entry-row.has-werknemer .group-werk {
        grid-column: 6 / 7;
    }
    .time-entry-row.has-werknemer .group-actions {
        grid-column: 7 / 8;
    }

    .group-relatie {
        grid-column: 5 / 6;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .group-relatie:empty {
        display: none;
    }

    .group-werk {
        grid-column: 5 / 6;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .time-entry-row:has(> .group-relatie:not(:empty)) > .group-werk {
        grid-row: 2;
    }

    .group-actions {
        grid-column: 6 / 7;
        grid-row: 1 / 3;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        margin-left: 8px;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .group-actions > * {
        flex: 0 0 auto;
    }

    .header-row .group-basics,
    .header-row .group-werknemer,
    .header-row .group-relatie,
    .header-row .group-actions {
        grid-row: 1;
    }

    .header-row .group-werk {
        display: none;
    }

    .displayFields,
    .inputFields {
        width: 100%;
    }

    /* Uniform control height in urenregistratie lijst/invoer */
    #timeForm .time-entry-row .inputFields,
    #timeForm .time-entry-row .displayFields,
    #entriesBody .time-entry-row .inputFields,
    #entriesBody .time-entry-row .displayFields,
    #submittedBody .time-entry-row .inputFields,
    #submittedBody .time-entry-row .displayFields {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        margin: 0;
        padding: 0 8px;
        box-sizing: border-box;
        line-height: 30px;
        border: 1px solid #eeeeee;
        border-radius: 4px;
        font-size: 13px;
        vertical-align: middle;
    }

    #timeForm .time-entry-row select.inputFields,
    #entriesBody .time-entry-row select.inputFields,
    #submittedBody .time-entry-row select.inputFields {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        padding: 0 6px;
        line-height: normal;
    }

    #timeForm .time-entry-row input[type="time"].inputFields,
    #entriesBody .time-entry-row input[type="time"].inputFields,
    #submittedBody .time-entry-row input[type="time"].inputFields,
    #timeForm .time-entry-row input.tt-time-24.inputFields,
    #entriesBody .time-entry-row input.tt-time-24.inputFields,
    #submittedBody .time-entry-row input.tt-time-24.inputFields,
    #timeForm .time-entry-row input[type="date"].inputFields,
    #entriesBody .time-entry-row input[type="date"].inputFields,
    #submittedBody .time-entry-row input[type="date"].inputFields {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        padding: 0 6px;
        line-height: normal;
    }

    #timeForm .time-entry-row input[type="time"].inputFields::-webkit-calendar-picker-indicator,
    #entriesBody .time-entry-row input[type="time"].inputFields::-webkit-calendar-picker-indicator,
    #timeForm .time-entry-row input[type="date"].inputFields::-webkit-calendar-picker-indicator,
    #entriesBody .time-entry-row input[type="date"].inputFields::-webkit-calendar-picker-indicator {
        margin: 0;
        height: 16px;
        width: 16px;
    }

    #timeForm .time-entry-row .displayFields,
    #entriesBody .time-entry-row .displayFields,
    #submittedBody .time-entry-row .displayFields {
        display: flex;
        align-items: center;
        line-height: 1.2;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #timeForm .time-entry-row .inputFields:hover,
    #timeForm .time-entry-row .inputFields:focus,
    #entriesBody .time-entry-row .inputFields:hover,
    #entriesBody .time-entry-row .inputFields:focus,
    #submittedBody .time-entry-row .inputFields:hover,
    #submittedBody .time-entry-row .inputFields:focus {
        margin: 0;
        border-width: 1px;
        outline: none;
    }

    textarea.inputFields {
        height: 60px;
        resize: vertical;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    #timeForm .time-entry-row textarea.inputFields,
    #entriesBody .time-entry-row textarea.inputFields,
    #submittedBody .time-entry-row textarea.inputFields {
        height: 60px;
        min-height: 60px;
        max-height: none;
        line-height: 1.35;
        padding: 6px 8px;
        white-space: pre-wrap;
    }

    @media (max-width: 1178px) {
        .time-entry-row.header-row,
        .time-entry-row.header-row.has-werknemer {
            display: none !important;
        }

        #submittedBody,
        #entriesBody {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .time-entry-row,
        .time-entry-row.has-werknemer {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: none;
            gap: 15px;
            padding: 15px;
            background-color: #f8f8f8;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-bottom: 15px;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            min-width: 0;
        }

        .group-basics,
        .group-werknemer,
        .group-relatie,
        .group-werk,
        .group-actions,
        .time-entry-row.has-werknemer .group-relatie,
        .time-entry-row.has-werknemer .group-werk,
        .time-entry-row.has-werknemer .group-actions,
        .time-entry-row:has(> .group-relatie:not(:empty)) > .group-werk {
            grid-column: 1 / -1;
            grid-row: auto;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            margin-left: 0;
            box-sizing: border-box;
        }

        .time-entry-row > .group-werknemer {
            order: 1;
        }

        .time-entry-row > .group-basics {
            order: 2;
            width: 100%;
            max-width: 348px;
        }

        .time-entry-row > .group-relatie {
            order: 3;
        }

        .time-entry-row > .group-werk {
            order: 4;
        }

        .time-entry-row > .group-actions {
            order: 5;
            flex-wrap: wrap;
        }

        .header-row .group-werk {
            display: none;
        }

        .inner-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
            gap: 8px;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .field {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .field::before {
            content: attr(data-label);
            font-weight: bold;
            margin-bottom: 5px;
        }

        .group-actions {
            flex-wrap: wrap;
        }
    }

    @media (max-width: 711px) {
        #userName {
            display: none !important;
        }
    }

    @media (max-width: 679px) {
        .tt-side-panels,
        .tt-user-sidelist,
        .tt-user-column,
        .tt-worktype-sidelist,
        .tt-status-sidelist,
        #statusSideList,
        .tt-week-sidelist,
        #userIconRail,
        .tt-user-icon-rail,
        #templateSideList,
        #shiftSideColumn,
        #shiftSideList,
        .tt-template-sidelist {
            display: none !important;
        }

        .tt-page-layout {
            display: block;
        }

        .tt-page-main {
            max-width: 370px;
        }
        .tt-bar-seperator {
            margin-left: 2px;
            margin-right: 2px;
        }

        .time-entries-container .time-entry-row:not(.header-row) {
            border: 0px;
            padding: 0px;
        }

        /* Phone app shell — only when body.tt-phone-app is set (<680) */
        /* Top/bottom chrome offsets live in profile css.phone_app.php (body padding). */
        body.tt-phone-app .tt-page-main {
            max-width: 100%;
            padding: 0 10px 0px;
            box-sizing: border-box;
        }

        body.tt-phone-app #WeekHeader {
            display: none !important;
        }

        body.tt-phone-app #timeTrackerBar {
            display: none !important;
        }

        body.tt-phone-app #timeForm {
            display: none !important;
        }

        body.tt-phone-app,
        body.pa-phone-app {
            overscroll-behavior-y: none;
        }

        body.tt-phone-app .tt-pull-refresh,
        body.pa-phone-app .tt-pull-refresh {
            display: none;
            position: fixed;
            left: 50%;
            top: calc(var(--pa-phone-topbar, 56px) + env(safe-area-inset-top, 0px));
            z-index: 45;
            width: 28px;
            height: 28px;
            margin: 0;
            padding: 0;
            border: 0;
            background: transparent;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            color: #8e8e93;
        }

        body.tt-phone-app .tt-pull-refresh.is-on,
        body.pa-phone-app .tt-pull-refresh.is-on {
            display: flex;
        }

        body.tt-phone-app .tt-pull-refresh svg,
        body.pa-phone-app .tt-pull-refresh svg {
            display: block;
            width: 22px;
            height: 22px;
        }

        body.tt-phone-app .tt-pull-refresh.is-busy svg,
        body.pa-phone-app .tt-pull-refresh.is-busy svg {
            animation: tt-pull-spin 0.8s linear infinite;
        }

        @keyframes tt-pull-spin {
            to { transform: rotate(360deg); }
        }

        body.tt-phone-app .week-nav {
            position: sticky;
            top: 0;
            z-index: 40;
            margin: 0 -10px 10px;
            padding: 8px 10px;
            background: #fff;
            border-bottom: 1px solid #eee;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
        }

        body.tt-phone-app .tt-week-daychip,
        body.pa-phone-app .tt-week-daychip {
            padding: 4px 0 6px;
            border-radius: 12px;
        }

        body.tt-phone-app .tt-week-daychip-wd,
        body.tt-phone-app .tt-week-daychip-mon,
        body.pa-phone-app .tt-week-daychip-wd,
        body.pa-phone-app .tt-week-daychip-mon {
            font-size: 11px;
        }

        body.tt-phone-app .tt-week-daychip-num,
        body.pa-phone-app .tt-week-daychip-num,
        body.tt-phone-app .tt-week-daychip.is-week .tt-week-daychip-num,
        body.pa-phone-app .tt-week-daychip.is-week .tt-week-daychip-num {
            font-size: 18px;
        }
        body.tt-phone-app .week-nav .ttm_button.tt-week-nav-prev,
        body.tt-phone-app .week-nav .ttm_button.tt-week-nav-next {
            width: 44px;
            min-width: 44px;
            max-width: 44px;
            height: 44px;
            min-height: 44px;
            max-height: 44px;
            background: #fff;
            color: #353B40;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
        }

        body.tt-phone-app .time-entries-container .time-entry-row:not(.header-row),
        body.tt-phone-app .time-entry-row.has-werknemer:not(.header-row) {
            gap: 8px;
            padding: 12px;
            margin-bottom: 10px;
            border: 1px solid #e8e8e8;
            border-radius: 12px;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        }

        body.tt-phone-app .time-entry-row > .group-basics {
            max-width: none;
            order: 1;
        }

        body.tt-phone-app .time-entry-row > .group-werknemer {
            order: 0;
        }

        body.tt-phone-app .time-entry-row > .group-relatie {
            order: 2;
        }

        body.tt-phone-app .time-entry-row > .group-werk {
            order: 3;
        }

        body.tt-phone-app .time-entry-row > .group-actions {
            order: 4;
            gap: 8px;
        }

        body.tt-phone-app .time-entry-row .field::before {
            font-size: 11px;
            color: #666;
            margin-bottom: 2px;
        }

        body.tt-phone-app .time-entry-row .group-actions .ttm_button,
        body.tt-phone-app .time-entry-row .group-actions > .tt-week-cal-icon:not(.tt-user-photo) {
            width: 44px;
            min-width: 44px;
            max-width: 44px;
            height: 44px;
            min-height: 44px;
            max-height: 44px;
        }

        body.tt-phone-app .time-entry-row .group-actions .ttm_button .tt-app-icon {
            width: 22px;
            height: 22px;
        }

        body.tt-phone-app .tt-phone-card {
            position: relative;
        }

        body.tt-phone-app .tt-phone-card-status {
            position: absolute;
            top: 10px;
            right: 12px;
            font-size: 18px;
            line-height: 1;
            z-index: 1;
        }

        body.tt-phone-app .hoursentry-overlay {
            align-items: flex-end;
            justify-content: stretch;
            padding: 0;
            background: rgba(0, 0, 0, 0.4);
        }

        body.tt-phone-app .hoursentry-form {
            max-width: 100%;
            width: 100%;
            border-radius: 16px 16px 0 0;
            border-left: 0;
            border-right: 0;
            border-bottom: 0;
            max-height: 92vh;
            overflow: auto;
            padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px));
            box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
        }

        body.tt-phone-app .hoursentry-actions {
            justify-content: stretch;
            position: sticky;
            bottom: 0;
            background: #fff;
            padding-top: 12px;
            margin-top: 16px;
        }

        body.tt-phone-app .hoursentry-actions .tt-text-btn {
            flex: 1 1 calc(50% - 8px);
        }

        body.tt-phone-app .hoursentry-form .inputFields,
        body.pa-phone-app .hoursentry-form .inputFields,
        body.tt-phone-app .hoursentry-form select.inputFields,
        body.pa-phone-app .hoursentry-form select.inputFields,
        body.tt-phone-app .hoursentry-form textarea.inputFields,
        body.pa-phone-app .hoursentry-form textarea.inputFields {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 44px;
            min-height: 44px;
            max-height: 44px;
            margin: 0;
            padding: 0 12px;
            box-sizing: border-box;
            border: 1px solid #eeeeee;
            border-radius: 4px;
            background-color: #fff;
            font-size: 16px;
            line-height: 42px;
            text-align: left;
        }

        body.tt-phone-app .hoursentry-form select.inputFields,
        body.pa-phone-app .hoursentry-form select.inputFields {
            padding-right: 36px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232f2e30' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 12px 8px;
        }

        body.tt-phone-app .hoursentry-form textarea.inputFields,
        body.pa-phone-app .hoursentry-form textarea.inputFields {
            height: auto;
            min-height: 88px;
            max-height: none;
            line-height: 1.4;
            padding: 10px 12px;
        }

        body.tt-phone-app .hoursentry-form input[type="date"].inputFields::-webkit-date-and-time-value,
        body.pa-phone-app .hoursentry-form input[type="date"].inputFields::-webkit-date-and-time-value,
        body.tt-phone-app .hoursentry-form input[type="time"].inputFields::-webkit-date-and-time-value,
        body.pa-phone-app .hoursentry-form input[type="time"].inputFields::-webkit-date-and-time-value {
            text-align: left;
            min-height: 42px;
            line-height: 42px;
        }

        body.tt-phone-app .hoursentry-form .inputFields:hover,
        body.tt-phone-app .hoursentry-form .inputFields:focus,
        body.pa-phone-app .hoursentry-form .inputFields:hover,
        body.pa-phone-app .hoursentry-form .inputFields:focus {
            margin: 0;
            border-width: 1px;
            border-color: #ff1900;
        }

        .tt-phone-nav {
            display: none;
        }

        body.pa-phone-app .tt-phone-nav,
        body.tt-phone-app .tt-phone-nav {
            display: flex;
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 110;
            height: calc(56px + env(safe-area-inset-bottom, 0px));
            padding: 0 4px env(safe-area-inset-bottom, 0px);
            box-sizing: border-box;
            background: #fff;
            border-top: 1px solid #e0e0e0;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
            align-items: stretch;
            justify-content: flex-start;
        }

        .tt-phone-nav-btn {
            flex: 1 1 0;
            width: 0;
            min-width: 0;
            box-sizing: border-box;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            min-height: 56px;
            margin: 0;
            padding: 6px 2px;
            border: 0;
            background: transparent;
            color: #666;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .tt-phone-nav-btn.is-active {
            color: #ff1900;
        }

        .tt-phone-nav-label {
            display: block;
            max-width: 100%;
            overflow: hidden;
            text-align: center;
            line-height: 1.15;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        body.tt-phone-app #ttPhoneNav > .tt-phone-nav-btn,
        body.pa-phone-app #ttPhoneNav > .tt-phone-nav-btn,
        body.tt-phone-app #ttPhoneNav > .tt-phone-nav-meldingen,
        body.pa-phone-app #ttPhoneNav > .tt-phone-nav-meldingen {
            flex: 1 1 0% !important;
            width: 25% !important;
            max-width: 25% !important;
            min-width: 0 !important;
        }

        body.tt-phone-app .tt-phone-nav-meldingen,
        body.pa-phone-app .tt-phone-nav-meldingen {
            display: flex;
        }

        body.tt-phone-app .tt-phone-nav-meldingen > .tt-phone-nav-btn,
        body.pa-phone-app .tt-phone-nav-meldingen > .tt-phone-nav-btn {
            flex: 1 1 auto;
            width: 100% !important;
            max-width: none !important;
            min-width: 0;
        }

        body.tt-phone-app #ttRailFilterFlyout:not([hidden]),
        body.pa-phone-app #ttRailFilterFlyout:not([hidden]) {
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-end !important;
            position: fixed !important;
            inset: 0 !important;
            left: 0 !important;
            right: 0 !important;
            top: 0 !important;
            bottom: 0 !important;
            width: auto !important;
            height: auto !important;
            max-height: none;
            box-sizing: border-box;
            background: transparent;
            border: 0;
            box-shadow: none;
            overflow: hidden;
            z-index: 130;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-backdrop,
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-backdrop {
            display: block;
            position: absolute;
            inset: 0;
            margin: 0;
            padding: 0;
            border: 0;
            background: rgba(0, 0, 0, 0.4);
            cursor: pointer;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-head,
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            position: relative;
            z-index: 1;
            margin-top: auto;
            padding: 8px 16px 4px;
            border: 0;
            border-radius: 16px 16px 0 0;
            background: #fff;
            box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
            font-size: 17px;
            font-weight: 700;
            color: #222;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-head::before,
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-head::before {
            content: '';
            flex: 0 0 100%;
            height: 4px;
            margin: 4px 0 6px;
            border-radius: 2px;
            background: linear-gradient(to right, transparent calc(50% - 18px), #ddd calc(50% - 18px), #ddd calc(50% + 18px), transparent calc(50% + 18px));
        }

        body.tt-phone-app #ttRailFilterFlyout #ttRailFilterTitle,
        body.pa-phone-app #ttRailFilterFlyout #ttRailFilterTitle {
            flex: 1 1 auto;
            min-width: 0;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-actions,
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-actions {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            flex: 0 0 auto;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-filter-undock,
        body.pa-phone-app #ttRailFilterFlyout .tt-filter-undock {
            display: none !important;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-close,
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-close {
            width: 36px;
            height: 36px;
            border: 1px solid #ccc;
            border-radius: 50%;
            background: #fff;
            color: #222;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-body,
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-body,
        body.tt-phone-app #ttRailFilterFlyout .tt-rail-filter-body:has(#userIconRail),
        body.pa-phone-app #ttRailFilterFlyout .tt-rail-filter-body:has(#userIconRail) {
            display: block;
            flex: 0 1 auto;
            position: relative;
            z-index: 1;
            min-height: 0;
            min-width: 0;
            width: 100%;
            max-height: calc(85vh - 64px);
            overflow-x: hidden;
            overflow-y: auto !important;
            padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px));
            background: #fff;
            box-sizing: border-box;
            -webkit-overflow-scrolling: touch;
        }

        body.tt-phone-app:has(#monthCalendarView:not([style*="none"])) #bhm_xcontent,
        body.pa-phone-app:has(#monthCalendarView:not([style*="none"])) #bhm_xcontent {
            padding-bottom: 0 !important;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-user-sidelist-item,
        body.pa-phone-app #ttRailFilterFlyout .tt-user-sidelist-item,
        body.tt-phone-app #ttRailFilterFlyout .tt-week-sidelist-item,
        body.pa-phone-app #ttRailFilterFlyout .tt-week-sidelist-item,
        body.tt-phone-app #ttRailFilterFlyout .tt-user-rail-item,
        body.pa-phone-app #ttRailFilterFlyout .tt-user-rail-item {
            width: 100%;
            margin: 0 0 8px;
            padding: 12px;
            border: 1px solid #eee;
            border-radius: 10px;
            background: #fafafa;
            box-sizing: border-box;
        }

        body.tt-phone-app #ttRailFilterFlyout .is-collapsed .tt-user-sidelist-body,
        body.pa-phone-app #ttRailFilterFlyout .is-collapsed .tt-user-sidelist-body,
        body.tt-phone-app #ttRailFilterFlyout .is-collapsed .tt-worktype-sidelist-body,
        body.pa-phone-app #ttRailFilterFlyout .is-collapsed .tt-worktype-sidelist-body,
        body.tt-phone-app #ttRailFilterFlyout .is-collapsed .tt-status-sidelist-body,
        body.pa-phone-app #ttRailFilterFlyout .is-collapsed .tt-status-sidelist-body,
        body.tt-phone-app #ttRailFilterFlyout .is-collapsed .tt-template-sidelist-body,
        body.pa-phone-app #ttRailFilterFlyout .is-collapsed .tt-template-sidelist-body,
        body.tt-phone-app #ttRailFilterFlyout .is-collapsed .tt-week-sidelist-body,
        body.pa-phone-app #ttRailFilterFlyout .is-collapsed .tt-week-sidelist-body {
            display: flex !important;
            flex-direction: column !important;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-week-sidelist,
        body.pa-phone-app #ttRailFilterFlyout .tt-week-sidelist,
        body.tt-phone-app #ttRailFilterFlyout .tt-user-sidelist,
        body.pa-phone-app #ttRailFilterFlyout .tt-user-sidelist,
        body.tt-phone-app #ttRailFilterFlyout .tt-worktype-sidelist,
        body.pa-phone-app #ttRailFilterFlyout .tt-worktype-sidelist,
        body.tt-phone-app #ttRailFilterFlyout .tt-status-sidelist,
        body.pa-phone-app #ttRailFilterFlyout .tt-status-sidelist,
        body.tt-phone-app #ttRailFilterFlyout #statusSideList,
        body.pa-phone-app #ttRailFilterFlyout #statusSideList,
        body.tt-phone-app #ttRailFilterFlyout #userIconRail,
        body.pa-phone-app #ttRailFilterFlyout #userIconRail,
        body.tt-phone-app #ttRailFilterFlyout .tt-user-icon-rail,
        body.pa-phone-app #ttRailFilterFlyout .tt-user-icon-rail,
        body.tt-phone-app #ttRailFilterFlyout #templateSideList,
        body.pa-phone-app #ttRailFilterFlyout #templateSideList,
        body.tt-phone-app #ttRailFilterFlyout #shiftSideList,
        body.pa-phone-app #ttRailFilterFlyout #shiftSideList,
        body.tt-phone-app #ttRailFilterFlyout .tt-template-sidelist,
        body.pa-phone-app #ttRailFilterFlyout .tt-template-sidelist {
            display: flex !important;
            flex-direction: column !important;
            position: static !important;
            width: 100% !important;
            max-width: none !important;
            min-width: 0 !important;
            height: auto !important;
            max-height: none !important;
            border: 0 !important;
            box-shadow: none !important;
            overflow: visible !important;
        }

        body.tt-phone-app #ttRailFilterFlyout .tt-week-sidelist-title,
        body.pa-phone-app #ttRailFilterFlyout .tt-week-sidelist-title,
        body.tt-phone-app #ttRailFilterFlyout .tt-user-sidelist-title,
        body.pa-phone-app #ttRailFilterFlyout .tt-user-sidelist-title,
        body.tt-phone-app #ttRailFilterFlyout .tt-worktype-sidelist-title,
        body.pa-phone-app #ttRailFilterFlyout .tt-worktype-sidelist-title,
        body.tt-phone-app #ttRailFilterFlyout .tt-status-sidelist-title,
        body.pa-phone-app #ttRailFilterFlyout .tt-status-sidelist-title,
        body.tt-phone-app #ttRailFilterFlyout .tt-template-sidelist-title,
        body.pa-phone-app #ttRailFilterFlyout .tt-template-sidelist-title {
            display: none !important;
        }

        .tt-phone-nav-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
            font-size: 20px;
        }

        .tt-phone-nav-icon .tt-app-icon {
            width: 22px;
            height: 22px;
        }

        .tt-phone-nav-badge {
            position: absolute;
            top: 4px;
            right: calc(50% - 22px);
            min-width: 16px;
            height: 16px;
            padding: 0 4px;
            border-radius: 8px;
            background: #ff1900;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            line-height: 16px;
            text-align: center;
            box-sizing: border-box;
        }

        .tt-phone-fab {
            display: none;
        }

        body.pa-phone-app .tt-phone-fab:not([hidden]),
        body.tt-phone-app .tt-phone-fab:not([hidden]) {
            display: flex;
            position: fixed;
            right: 16px;
            bottom: calc(72px + env(safe-area-inset-bottom, 0px));
            z-index: 85;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: 0;
            background: #ff1900;
            color: #fff;
            font-size: 28px;
            font-weight: 700;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(255, 25, 0, 0.35);
            cursor: pointer;
        }

        .tt-phone-sheet {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 120;
        }

        body.pa-phone-app .tt-phone-sheet:not([hidden]),
        body.tt-phone-app .tt-phone-sheet:not([hidden]) {
            display: block;
        }

        .tt-phone-sheet-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
        }

        .tt-phone-sheet-panel {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            max-height: 85vh;
            background: #fff;
            border-radius: 16px 16px 0 0;
            box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
            display: flex;
            flex-direction: column;
            padding-bottom: env(safe-area-inset-bottom, 0px);
            box-sizing: border-box;
        }

        .tt-phone-sheet-handle {
            width: 36px;
            height: 4px;
            margin: 8px auto 0;
            border-radius: 2px;
            background: #ddd;
        }

        .tt-phone-sheet-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 16px 4px;
            gap: 8px;
        }

        .tt-phone-sheet-header h2 {
            margin: 0;
            font-size: 17px;
            font-weight: 700;
        }

        .tt-phone-sheet-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid #ccc;
            background: #fff;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
        }

        .tt-phone-sheet-body {
            overflow: auto;
            padding: 8px 16px 20px;
            -webkit-overflow-scrolling: touch;
        }

        .tt-phone-sheet-item {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            margin: 0 0 8px;
            padding: 14px 12px;
            border: 1px solid #eee;
            border-radius: 10px;
            background: #fafafa;
            text-align: left;
            font-size: 15px;
            font-weight: 600;
            color: #222;
            cursor: pointer;
            box-sizing: border-box;
        }

        .tt-phone-sheet-item:active {
            background: #ffd6d6;
        }

        .tt-phone-sheet-item .tt-phone-sheet-item-icon {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
            font-size: 20px;
        }

        .tt-phone-sheet-item .tt-phone-sheet-item-icon .tt-app-icon {
            width: 20px;
            height: 20px;
        }

        .tt-phone-sheet-empty {
            padding: 24px 8px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }

        .tt-phone-sheet-section {
            margin: 12px 0 6px;
            font-size: 12px;
            font-weight: 700;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .tt-phone-sheet-body select.inputFields {
            width: 100%;
            min-height: 44px;
            font-size: 16px;
            margin-bottom: 12px;
        }

        body.pa-phone-app .tt-notify-stack,
        body.tt-phone-app .tt-notify-stack {
            position: relative;
            margin: 0 0 8px;
        }

        body.pa-phone-app .tt-notify-stack.is-grouped:not(.is-open),
        body.tt-phone-app .tt-notify-stack.is-grouped:not(.is-open) {
            margin-bottom: 20px;
        }

        body.pa-phone-app .tt-notify-back,
        body.tt-phone-app .tt-notify-back {
            position: absolute;
            left: 50%;
            height: 14px;
            border: 1px solid #eee;
            border-radius: 0 0 10px 10px;
            background: #f3f3f3;
            transform: translateX(-50%);
            pointer-events: none;
        }

        body.pa-phone-app .tt-notify-back.is-near,
        body.tt-phone-app .tt-notify-back.is-near {
            width: 94%;
            bottom: -7px;
        }

        body.pa-phone-app .tt-notify-back.is-far,
        body.tt-phone-app .tt-notify-back.is-far {
            width: 88%;
            bottom: -14px;
            background: #ececec;
        }

        body.pa-phone-app .tt-notify-stack.is-open > .tt-notify-back,
        body.tt-phone-app .tt-notify-stack.is-open > .tt-notify-back {
            display: none;
        }

        body.pa-phone-app .tt-notify-card,
        body.tt-phone-app .tt-notify-card {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 12px;
            border: 1px solid #eee;
            border-radius: 10px;
            background: #fafafa;
            box-sizing: border-box;
        }

        body.pa-phone-app .tt-notify-main,
        body.tt-phone-app .tt-notify-main {
            display: flex;
            align-items: center;
            flex: 1 1 auto;
            min-width: 0;
            margin: 0;
            padding: 0;
            border: 0;
            background: transparent;
            text-align: left;
            font-size: 15px;
            font-weight: 400;
            color: #2f2e30;
            cursor: pointer;
        }

        body.pa-phone-app .tt-notify-icon,
        body.tt-phone-app .tt-notify-icon {
            position: relative;
            flex: 0 0 auto;
        }

        body.pa-phone-app button.tt-notify-icon,
        body.tt-phone-app button.tt-notify-icon {
            border: 0;
            background: transparent;
            cursor: pointer;
            font: inherit;
        }

        body.pa-phone-app .tt-notify-badge,
        body.tt-phone-app .tt-notify-badge {
            position: absolute;
            top: -7px;
            right: 0;
            min-width: 16px;
            height: 16px;
            padding: 0 4px;
            border-radius: 999px;
            background: #2f2e30;
            color: #fff;
            font-size: 10px;
            font-weight: 600;
            line-height: 16px;
            text-align: center;
            box-sizing: border-box;
        }

        body.pa-phone-app .tt-notify-dismiss,
        body.tt-phone-app .tt-notify-dismiss {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            min-height: 24px;
            margin: 0;
            padding: 2px 8px;
            border: 1px solid #cfcfcf;
            border-radius: 10px;
            background: #fff;
            color: #2f2e30;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.2;
            cursor: pointer;
        }

        body.pa-phone-app .tt-notify-people,
        body.tt-phone-app .tt-notify-people,
        body.pa-phone-app .tt-notify-singles,
        body.tt-phone-app .tt-notify-singles {
            max-height: 0;
            overflow: hidden;
        }

        body.pa-phone-app .tt-notify-stack.is-open > .tt-notify-people,
        body.tt-phone-app .tt-notify-stack.is-open > .tt-notify-people {
            max-height: 4800px;
            margin-left: 16px;
            padding-top: 8px;
            overflow: visible;
        }

        body.pa-phone-app .tt-notify-stack.is-open > .tt-notify-singles,
        body.tt-phone-app .tt-notify-stack.is-open > .tt-notify-singles {
            max-height: 4800px;
            padding-top: 8px;
            overflow: visible;
        }

        body.pa-phone-app .tt-notify-single,
        body.tt-phone-app .tt-notify-single {
            margin: 0 0 8px;
        }
    }

    @media (min-width: 680px) {
        body:not(.tt-desktop-app):not(.pa-desktop-app) .tt-phone-nav,
        body:not(.tt-desktop-app):not(.pa-desktop-app) .tt-phone-fab,
        body:not(.tt-desktop-app):not(.pa-desktop-app) .tt-phone-sheet {
            display: none !important;
        }

        body.tt-desktop-app .tt-phone-fab:not([hidden]),
        body.pa-desktop-app .tt-phone-fab:not([hidden]) {
            display: flex;
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 90;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: 0;
            background: #ff1900;
            color: #fff;
            font-size: 28px;
            font-weight: 700;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(255, 25, 0, 0.35);
            cursor: pointer;
        }

        body.tt-desktop-app #timeTrackerBar,
        body.pa-desktop-app #timeTrackerBar {
            display: none !important;
        }

        body.tt-desktop-app .tt-page-main,
        body.pa-desktop-app .tt-page-main {
            max-width: 100%;
            box-sizing: border-box;
        }
    }

    /* Tablet desktop-app: rail replaces user/filter side lists (employee select moves to rail). */
    @media (min-width: 680px) and (max-width: 1024px) {
        body.tt-desktop-app .tt-side-panels,
        body.pa-desktop-app .tt-side-panels,
        body.tt-desktop-app .tt-user-sidelist,
        body.pa-desktop-app .tt-user-sidelist,
        body.tt-desktop-app .tt-user-column,
        body.pa-desktop-app .tt-user-column,
        body.tt-desktop-app .tt-worktype-sidelist,
        body.pa-desktop-app .tt-worktype-sidelist,
        body.tt-desktop-app .tt-status-sidelist,
        body.pa-desktop-app .tt-status-sidelist,
        body.tt-desktop-app #statusSideList,
        body.pa-desktop-app #statusSideList,
        body.tt-desktop-app .tt-week-sidelist,
        body.pa-desktop-app .tt-week-sidelist,
        body.tt-desktop-app #userIconRail,
        body.pa-desktop-app #userIconRail,
        body.tt-desktop-app .tt-user-icon-rail,
        body.pa-desktop-app .tt-user-icon-rail,
        body.tt-desktop-app #templateSideList,
        body.pa-desktop-app #templateSideList,
        body.tt-desktop-app #shiftSideColumn,
        body.pa-desktop-app #shiftSideColumn,
        body.tt-desktop-app #shiftSideList,
        body.pa-desktop-app #shiftSideList,
        body.tt-desktop-app .tt-template-sidelist,
        body.pa-desktop-app .tt-template-sidelist {
            display: none !important;
        }

        body.tt-desktop-app #ttRailFilterFlyout .tt-week-sidelist,
        body.pa-desktop-app #ttRailFilterFlyout .tt-week-sidelist,
        body.tt-desktop-app #ttRailFilterFlyout .tt-user-sidelist,
        body.pa-desktop-app #ttRailFilterFlyout .tt-user-sidelist,
        body.tt-desktop-app #ttRailFilterFlyout .tt-worktype-sidelist,
        body.pa-desktop-app #ttRailFilterFlyout .tt-worktype-sidelist,
        body.tt-desktop-app #ttRailFilterFlyout .tt-status-sidelist,
        body.pa-desktop-app #ttRailFilterFlyout .tt-status-sidelist,
        body.tt-desktop-app #ttRailFilterFlyout #statusSideList,
        body.pa-desktop-app #ttRailFilterFlyout #statusSideList,
        body.tt-desktop-app #ttRailFilterFlyout #templateSideList,
        body.pa-desktop-app #ttRailFilterFlyout #templateSideList,
        body.tt-desktop-app #ttRailFilterFlyout #shiftSideList,
        body.pa-desktop-app #ttRailFilterFlyout #shiftSideList,
        body.tt-desktop-app #ttRailFilterFlyout .tt-template-sidelist,
        body.pa-desktop-app #ttRailFilterFlyout .tt-template-sidelist {
            display: flex !important;
            flex-direction: column !important;
            position: static !important;
            width: 100% !important;
            max-width: none !important;
            min-width: 0 !important;
            height: auto !important;
            max-height: none !important;
            border: 0 !important;
            box-shadow: none !important;
            overflow: visible !important;
        }

        body.tt-desktop-app #ttRailFilterFlyout .tt-user-sidelist-title,
        body.pa-desktop-app #ttRailFilterFlyout .tt-user-sidelist-title,
        body.tt-desktop-app #ttRailFilterFlyout .tt-worktype-sidelist-title,
        body.pa-desktop-app #ttRailFilterFlyout .tt-worktype-sidelist-title,
        body.tt-desktop-app #ttRailFilterFlyout .tt-status-sidelist-title,
        body.pa-desktop-app #ttRailFilterFlyout .tt-status-sidelist-title,
        body.tt-desktop-app #ttRailFilterFlyout .tt-week-sidelist-title,
        body.pa-desktop-app #ttRailFilterFlyout .tt-week-sidelist-title,
        body.tt-desktop-app #ttRailFilterFlyout .tt-template-sidelist-title,
        body.pa-desktop-app #ttRailFilterFlyout .tt-template-sidelist-title {
            display: none !important;
        }

        body.tt-desktop-app #ttRailFilterFlyout .tt-user-sidelist-item,
        body.pa-desktop-app #ttRailFilterFlyout .tt-user-sidelist-item {
            min-width: 0;
            width: 100%;
            box-sizing: border-box;
        }

        body.tt-desktop-app #ttRailFilterFlyout .tt-status-filter-label,
        body.pa-desktop-app #ttRailFilterFlyout .tt-status-filter-label,
        body.tt-desktop-app #ttRailFilterFlyout .tt-filter-item-label,
        body.pa-desktop-app #ttRailFilterFlyout .tt-filter-item-label,
        body.tt-desktop-app #ttRailFilterFlyout .tt-user-side-label,
        body.pa-desktop-app #ttRailFilterFlyout .tt-user-side-label {
            min-width: 0;
            white-space: normal;
        }

        body.tt-desktop-app .tt-page-layout,
        body.pa-desktop-app .tt-page-layout {
            display: block;
        }
    }

    body.tt-desktop-app.tt-filters-docked .tt-side-panels,
    body.pa-desktop-app.tt-filters-docked .tt-side-panels,
    body.tt-desktop-app.tt-filters-docked .tt-user-sidelist,
    body.pa-desktop-app.tt-filters-docked .tt-user-sidelist,
    body.tt-desktop-app.tt-filters-docked .tt-user-column,
    body.pa-desktop-app.tt-filters-docked .tt-user-column,
    body.tt-desktop-app.tt-filters-docked .tt-worktype-sidelist,
    body.pa-desktop-app.tt-filters-docked .tt-worktype-sidelist,
    body.tt-desktop-app.tt-filters-docked .tt-status-sidelist,
    body.pa-desktop-app.tt-filters-docked .tt-status-sidelist,
    body.tt-desktop-app.tt-filters-docked #statusSideList,
    body.pa-desktop-app.tt-filters-docked #statusSideList,
    body.tt-desktop-app.tt-filters-docked .tt-week-sidelist,
    body.pa-desktop-app.tt-filters-docked .tt-week-sidelist,
    body.tt-desktop-app.tt-filters-docked #userIconRail,
    body.pa-desktop-app.tt-filters-docked #userIconRail,
    body.tt-desktop-app.tt-filters-docked .tt-user-icon-rail,
    body.pa-desktop-app.tt-filters-docked .tt-user-icon-rail,
    body.tt-desktop-app.tt-filters-docked #templateSideList,
    body.pa-desktop-app.tt-filters-docked #templateSideList,
    body.tt-desktop-app.tt-filters-docked #shiftSideColumn,
    body.pa-desktop-app.tt-filters-docked #shiftSideColumn,
    body.tt-desktop-app.tt-filters-docked #shiftSideList,
    body.pa-desktop-app.tt-filters-docked #shiftSideList,
    body.tt-desktop-app.tt-filters-docked .tt-template-sidelist,
    body.pa-desktop-app.tt-filters-docked .tt-template-sidelist {
        display: none !important;
    }

    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-week-sidelist,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-week-sidelist,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-user-sidelist,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-user-sidelist,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-worktype-sidelist,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-worktype-sidelist,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-status-sidelist,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-status-sidelist,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout #statusSideList,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout #statusSideList,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout #templateSideList,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout #templateSideList,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout #shiftSideList,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout #shiftSideList,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-template-sidelist,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-template-sidelist {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-user-sidelist-title,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-user-sidelist-title,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-worktype-sidelist-title,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-worktype-sidelist-title,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-status-sidelist-title,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-status-sidelist-title,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-week-sidelist-title,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-week-sidelist-title,
    body.tt-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-template-sidelist-title,
    body.pa-desktop-app.tt-filters-docked #ttRailFilterFlyout .tt-template-sidelist-title {
        display: none !important;
    }

    body.tt-desktop-app.tt-filters-docked .tt-page-layout,
    body.pa-desktop-app.tt-filters-docked .tt-page-layout {
        display: block;
    }

    #ttRailFilterFlyout .tt-rail-filter-backdrop {
        display: none;
    }

    #ttRailFilterFlyout .tt-rail-filter-body:has(#userIconRail) {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 0;
    }

    #ttRailFilterFlyout #userIconRail,
    #ttRailFilterFlyout .tt-user-icon-rail {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        flex: 1 1 auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    #ttRailFilterFlyout .tt-user-icon-rail-title {
        display: none !important;
    }

    #ttRailFilterFlyout .tt-user-icon-rail-body {
        align-items: stretch;
        overflow: auto;
        flex: 1 1 auto;
        min-height: 0;
        gap: 0;
        padding: 0;
    }

    #ttRailFilterFlyout .tt-user-rail-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 8px;
        width: 100%;
        padding: 4px 12px;
        box-sizing: border-box;
        font-size: 14px;
        cursor: grab;
    }

    #ttRailFilterFlyout .tt-user-rail-name {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #ttRailFilterFlyout .tt-user-side-label {
        font-size: 14px;
        line-height: 1.35;
    }

    #ttRailFilterFlyout .tt-user-role-marks {
        display: inline-flex;
    }

    #ttRailFilterFlyout .tt-user-icon-rail .tt-user-side-icon {
        flex: 0 0 auto;
    }

    /* Week list in the rail flyout: rows must keep a real height. The narrow column uses flex-shrink. */
    #ttRailFilterFlyout .tt-week-sidelist-body {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        overflow: visible;
        align-items: stretch;
    }

    #ttRailFilterFlyout .tt-week-sidelist-item {
        flex: 0 0 auto;
        min-height: 36px;
        height: auto;
        justify-content: flex-start;
        gap: 12px;
        padding: 6px 14px;
        font-size: 14px;
    }

    #ttRailFilterFlyout .tt-week-sidelist-item.is-arrow {
        justify-content: center;
    }

    .tt-week-sidelist-range {
        display: none;
    }

    #ttRailFilterFlyout .tt-week-sidelist-num {
        flex: 0 0 2.4em;
        font-weight: 700;
        text-align: left;
    }

    #ttRailFilterFlyout .tt-week-sidelist-range {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        font-weight: 400;
        text-align: left;
        color: #555;
    }

    #ttRailFilterFlyout .tt-week-sidelist-item.is-selected:not(.is-pending):not(.is-approved):not(.is-today) .tt-week-sidelist-range {
        color: #fff;
    }

    #ttRailFilterFlyout .tt-week-sidelist-item.is-today:not(.is-pending):not(.is-approved) .tt-week-sidelist-range {
        color: #e03131;
    }

    .ttm_button {
        cursor: pointer;
        font-size: 16px;
        font-weight: 700;
        color: white;
        min-width: 100px;
        height: 30px;
        min-width: 30px;
        vertical-align: middle;
        text-align: center;
        border: 1px solid black;
        padding: 2px;
        background-color: #ff1900;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ttm_button.tt-accept-offer,
    .ttm_button.tt-reject-offer,
    .ttm_button.tt-apply-shift,
    .ttm_button.tt-decline-shift,
    .ttm_button.tt-btn-muted,
    .ttm_button.tt-btn-approve,
    .ttm_button.tt-btn-plus,
    .ttm_button.tt-week-cal-daynav {
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        height: 30px;
        min-height: 30px;
        max-height: 30px;
        padding: 0;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .ttm_button.is-offer-on {
        background: #fff;
        color: #ff1900;
        border-color: #ff1900;
    }

    .tt-offer-mark {
        width: 22px;
        height: 22px;
        min-width: 22px;
        border-radius: 50%;
        border: 1.5px solid #ff1900;
        background: #fff;
        color: #ff1900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        box-sizing: border-box;
        cursor: pointer;
        flex: 0 0 auto;
    }

    button.tt-offer-mark {
        font: inherit;
    }

    .tt-offer-mark .tt-app-icon {
        width: 14px;
        height: 14px;
    }

    .tt-offer-pop {
        width: min(640px, calc(100vw - 32px));
        max-width: 640px;
    }

    .tt-offer-when {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 16px;
        align-items: baseline;
        margin: 0 0 12px;
        font-size: 14px;
        line-height: 1.3;
        color: #111;
    }

    .tt-offer-when[hidden] {
        display: none !important;
    }

    .ttm_button.tt-accept-offer {
        background-color: #080;
        color: #ff1900;
    }

    .ttm_button.tt-accept-offer:hover {
        background-color: #ff1900;
        color: white;
    }

    .ttm_button.tt-apply-shift {
        background-color: #080;
        color: #ff1900;
    }

    .ttm_button.tt-apply-shift:hover {
        background-color: #080;
        color: #ff1900;
    }

    .ttm_button.tt-reject-offer {
        background-color: #ffd6d6;
        color: #ff1900;
    }

    .ttm_button.tt-reject-offer:hover {
        background-color: #ff1900;
        color: white;
    }

    .ttm_button.tt-decline-shift {
        background-color: #ffd6d6;
        color: #ff1900;
    }

    .ttm_button.tt-decline-shift:hover {
        background-color: #ffd6d6;
        color: #ff1900;
    }

    .ttm_button.tt-btn-muted {
        background-color: #ffd6d6;
        color: #333333;
    }

    .ttm_button.tt-btn-muted:hover {
        background-color: #ff1900;
        color: white;
    }

    .ttm_button.tt-btn-approve {
        background-color: #ffd6d6;
        color: #080;
    }

    .ttm_button.tt-btn-approve:hover {
        background-color: #ff1900;
        color: white;
    }

    .ttm_button.tt-btn-plus {
        background-color: #ffd6d6;
        color: #ff1900;
        font-weight: 700;
    }

    .ttm_button.tt-btn-plus:hover {
        background-color: #ff1900;
        color: white;
    }

    .ttm_button.is-active {
        background: black;
        /* outline: 2px solid #ff1900; */
    }

    .tt-week-calendar {
        width: 100%;
        min-height: calc(100vh - 220px);
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    body.tt-desktop-app .tt-week-calendar,
    body.pa-desktop-app .tt-week-calendar,
    body.tt-phone-app .tt-week-calendar,
    body.pa-phone-app .tt-week-calendar {
        min-height: 0;
        flex: 1 1 auto;
    }

    /* Do not force full-viewport min-heights here: body already has
       padding-top for the fixed topbar; JS sizes the week-cal to the leftover space. */
    body.tt-desktop-app .tt-page-layout,
    body.pa-desktop-app .tt-page-layout {
        align-items: stretch;
        height: calc(100vh - var(--pa-app-topbar, 48px) - 12px);
        max-height: calc(100vh - var(--pa-app-topbar, 48px) - 12px);
        min-height: 0;
        box-sizing: border-box;
    }

    body.tt-desktop-app .tt-side-panels,
    body.pa-desktop-app .tt-side-panels {
        align-self: stretch;
        height: 100%;
        min-height: 0;
        max-height: 100%;
    }

    body.tt-desktop-app .tt-side-panels-row,
    body.pa-desktop-app .tt-side-panels-row {
        flex: 1 1 auto;
        align-items: stretch;
        align-self: stretch;
        min-height: 0;
    }

    body.tt-desktop-app .tt-page-main,
    body.pa-desktop-app .tt-page-main {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    body.tt-desktop-app .tt-week-sidelist,
    body.pa-desktop-app .tt-week-sidelist {
        height: auto;
        max-height: none;
        align-self: stretch;
        min-height: 0;
        position: relative;
        top: auto;
    }

    body.tt-desktop-app .tt-user-column,
    body.pa-desktop-app .tt-user-column {
        align-self: stretch;
        height: auto;
        max-height: none;
        min-height: 0;
        position: relative;
        top: auto;
    }

    body.tt-desktop-app #listView,
    body.pa-desktop-app #listView,
    body.tt-desktop-app #weekCalendarView,
    body.pa-desktop-app #weekCalendarView,
    body.tt-desktop-app #monthCalendarView,
    body.pa-desktop-app #monthCalendarView {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.tt-desktop-app #listView,
    body.pa-desktop-app #listView {
        overflow: auto;
    }

    .tt-week-cal-header,
    .tt-week-cal-body {
        display: grid;
        grid-template-columns: 47px repeat(7, 1fr);
        width: 100%;
    }

    .tt-week-cal-body {
        position: relative;
    }

    .tt-week-calendar.is-dayfocus .tt-week-cal-header,
    .tt-week-calendar.is-dayfocus .tt-week-cal-body {
        grid-template-columns: 47px 1fr;
    }

    .tt-week-calendar.is-compact .tt-week-cal-header,
    .tt-week-calendar.is-compact .tt-week-cal-body {
        grid-template-columns: 47px repeat(7, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
    }

    .tt-week-calendar.is-compact .tt-week-cal-dayhead {
        /* padding: 4px 0; */   
        font-size: 11px;
        line-height: 1.15;
        height: 30px;
    }

    .tt-week-calendar.is-compact .tt-week-cal-slotlabel {
        font-size: 9px;
        padding-right: 2px;
    }

    .tt-week-calendar.is-compact .tt-week-cal-timehead,
    .tt-week-calendar.is-compact .tt-week-cal-times {
        width: 47px;
        box-sizing: border-box;
    }

    .tt-week-calendar.is-compact .tt-week-cal-text,
    .tt-week-calendar.is-compact .tt-week-cal-desc,
    .tt-week-calendar.is-compact .tt-week-cal-detail-extra,
    .tt-week-calendar.is-compact .tt-week-cal-actions,
    .tt-week-calendar.is-compact .tt-week-cal-hover-actions {
        display: none !important;
    }

    .tt-week-calendar.is-compact .tt-week-cal-status-hover.is-actions-open .tt-week-cal-hover-actions,
    .tt-week-calendar.is-compact .tt-week-cal-status-hover.is-actions-open .tt-week-cal-actions {
        display: flex !important;
    }

    .tt-week-calendar.is-compact .tt-week-cal-block.is-compact-info {
        cursor: pointer;
    }

    .tt-week-cal-header {
        border-bottom: 1px solid #ccc;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

    .tt-week-cal-dayhead {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: bold;
        border-left: 1px solid #eee;
        font-size: 13px;
        cursor: pointer;
        height: 30px;
        box-sizing: border-box;
    }

    .tt-week-cal-dayhead:hover,
    .tt-week-cal-dayhead.is-focused {
        background: #fee8e8;
    }

    .tt-week-cal-dayhead.is-focused {
        justify-content: space-between;
        gap: 8px;
    }

    .tt-week-cal-dayhead-label {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        cursor: pointer;
        line-height: 1.15;
    }

    .tt-week-cal-times {
        position: relative;
        border-right: 1px solid #ddd;
    }

    .tt-week-cal-slotlabel {
        position: absolute;
        left: 0;
        right: 0;
        font-size: 11px;
        line-height: 1;
        text-align: right;
        padding-right: 4px;
        color: #555;
    }

    .tt-week-cal-day {
        position: relative;
        border-left: 1px solid #eee;
        background-image: repeating-linear-gradient(
            to bottom,
            #f7f7f7 0,
            #f7f7f7 1px,
            transparent 1px,
            transparent 24px
        );
        background-position: 0 36px;
    }

    .tt-week-cal-absence-row {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
        padding: 2px 4px;
        box-sizing: border-box;
        border-bottom: 1px solid #e0e0e0;
        background: color-mix(in srgb, #ffe8a3 55%, white);
        overflow: hidden;
    }

    .tt-week-cal-absence-icon {
        display: inline-flex;
        align-items: center;
        line-height: 0;
    }

    .tt-week-cal-absence-icon .tt-week-cal-usericon,
    .tt-week-cal-absence-icon .tt-user-icon {
        width: 30px;
        min-width: 30px;
        height: 30px;
        padding: 0;
        border-radius: 50%;
        border-width: 2px;
        border-style: solid;
        box-sizing: border-box;
        font-size: 12px;
        line-height: 18px;
        overflow: hidden;
    }

    .tt-week-cal-absence-label {
        font-size: 10px;
        color: #888;
    }

    .tt-week-cal-day.is-alt {
        background-color: #f0f0f0;
    }

    .tt-week-cal-dayhead.is-today {
        background-color: #ff1900;
        color: #ffffff;
    }

    .tt-week-cal-block {
        position: absolute;
        box-sizing: border-box;
        border: 1px solid #d5d5d5;
        border-left-width: 4px;
        border-left-color: #d5d5d5;
        background: rgba(255, 255, 255, 0.94);
        border-radius: 8px;
        padding: 3px 5px;
        overflow: hidden;
        z-index: 5;
        font-size: 22px;
        line-height: 1.2;
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        align-content: flex-start;
        align-items: center;
    }

    .tt-week-cal-block.is-submitted { border-left-color: #f6c08a; }
    .tt-week-cal-block.is-approved { border-left-color: #b6ebc6; }
    .tt-week-cal-block.is-disapproved { border-left-color: #f4a8b8; }
    .tt-week-cal-block.is-planning { border-left-color: #ffe566; }
    .tt-week-cal-block.is-request { border-left-color: #b7ddf5; }
    .tt-week-cal-block.is-payslip { border-left-color: #bdbdbd; }

    .tt-week-cal-block.is-locked {
        background: rgba(255, 255, 255, 0.94);
        border-color: #d5d5d5;
    }
    .tt-week-cal-block.is-locked.is-payslip {
        border-left-color: #bdbdbd;
    }
    .tt-week-cal-block.is-overlap-plan {
        background: #fff5f5;
        border-left-color: #e03131;
    }
    .tt-week-cal-block.is-hour-conflict,
    .tt-week-cal-block.is-locked.is-payslip.is-hour-conflict,
    .tt-week-cal-block.is-overlap-plan.is-hour-conflict {
        border-left-color: #c62828;
    }

    .tt-week-cal-block .tt-week-cal-usericon {
        width: 30px;
        min-width: 30px;
        height: 30px;
        padding: 0;
        border-radius: 50%;
        border-width: 2px;
        border-style: solid;
        font-size: 12px;
        line-height: 18px;
    }

    .tt-user-initials,
    .tt-week-cal-usericon.tt-user-initials {
        background: #f4f6f8;
        color: #353B40;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
    }

    .tt-week-cal-block .tt-week-cal-usericon.tt-user-initials {
        font-size: 12px;
    }

    .tt-week-cal-conflict {
        pointer-events: auto;
        cursor: pointer;
        background: transparent;
        border: 0;
        min-width: 18px;
        width: 18px;
        height: 18px;
        padding: 0;
    }

    .tt-conflict-warn {
        display: block;
        width: 16px;
        height: 16px;
    }

    .tt-week-cal-block .tt-week-cal-icon:not(.tt-week-cal-usericon) {
        width: 30px;
        min-width: 30px;
        height: 30px;
        padding: 0;
        background: transparent;
        border: 0;
        font-size: 22px;
        line-height: 1;
    }

    .tt-week-cal-block .tt-week-cal-status-hover {
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
    }

    .tt-week-cal-icon {
        cursor: default;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 30px;
        height: 30px;
        padding: 0 4px;
        line-height: 18px;
        font-size: 12px;
        text-align: center;
        background: #ffd6d6;
        border: 1px solid #ff1900;
    }

    .tt-week-cal-icon.tt-user-photo,
    .tt-user-side-icon.tt-user-photo {
        padding: 0;
        overflow: hidden;
        border-radius: 50%;
        border-style: solid;
        border-width: 3px;
        background: #fff;
        line-height: 0;
    }

    .tt-user-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 50%;
        pointer-events: none;
    }

    .group-werknemer .tt-werknemer-id,
    .tt-list-portrait {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .group-werknemer .tt-week-cal-usericon,
    .tt-list-portrait .tt-week-cal-usericon,
    .tt-slot-person .tt-week-cal-usericon,
    .tt-popup-portrait .tt-week-cal-usericon {
        width: 28px;
        min-width: 28px;
        height: 28px;
        padding: 0;
        border-radius: 50%;
        border-width: 3px;
        border-style: solid;
        box-sizing: border-box;
        overflow: hidden;
        line-height: 1;
        font-size: 14px;
    }

    .group-werknemer .tt-week-cal-usericon.tt-user-initials,
    .tt-list-portrait .tt-week-cal-usericon.tt-user-initials,
    .tt-slot-person .tt-week-cal-usericon.tt-user-initials,
    .tt-popup-portrait .tt-week-cal-usericon.tt-user-initials {
        font-size: 10px;
        background: #f4f6f8;
        color: #353B40;
    }

    .tt-week-cal-icon.is-edit {
        cursor: pointer;
    }

    .tt-week-cal-icon.is-edit .tt-status-pending,
    .tt-week-cal-icon.is-edit .tt-status-planning {
        cursor: pointer;
    }

    .tt-status-approved {
        color: #2e7d32;
        font-weight: 700;
    }

    .tt-status-disapproved {
        color: #c62828;
        font-weight: 700;
    }

    .tt-status-pending {
        color: #f9a825;
    }

    .ttm_button .tt-app-icon,
    .tt-week-cal-icon .tt-app-icon,
    .tt-text-btn .tt-app-icon,
    .tt-week-cal-shift-edit .tt-app-icon {
        width: 18px;
        height: 18px;
    }

    .tt-user-status-marks .tt-app-icon {
        width: 14px;
        height: 14px;
    }

    .tt-week-cal-actions {
        display: flex;
        gap: 2px;
        flex-wrap: wrap;
    }

    .tt-week-cal-block .ttm_button,
    .tt-week-cal-block .ttm_button.tt-btn-muted,
    .tt-week-cal-block .ttm_button.tt-btn-approve,
    .tt-week-cal-block .ttm_button.tt-reject-offer {
        width: 24px;
        min-width: 24px;
        max-width: 24px;
        height: 24px;
        min-height: 24px;
        max-height: 24px;
        padding: 0;
        border: 1px solid #cfcfcf;
        border-radius: 6px;
        background: #fff;
        color: #2f2e30;
        box-shadow: none;
        font-size: 13px;
        font-weight: 500;
        line-height: 22px;
    }

    .tt-week-cal-text {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
    }

    .tt-week-cal-desc {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        font-size: 11px;
        font-style: italic;
        white-space: pre-wrap;
        word-break: break-word;
        overflow: visible;
        line-height: 1.25;
    }

    .tt-user-icon-rail {
        flex: 0 0 48px;
        width: 48px;
        min-width: 48px;
        max-height: calc(100vh - 24px);
        overflow: hidden;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
        position: sticky;
        top: 12px;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        transition: width 0.15s ease, flex-basis 0.15s ease;
    }

    .tt-user-icon-rail.is-wide {
        flex: 0 0 220px;
        width: 220px;
    }

    .tt-user-icon-rail.is-wide .tt-user-icon-rail-body {
        align-items: stretch;
    }

    .tt-user-icon-rail.is-wide .tt-user-rail-item {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        padding: 2px 6px;
        box-sizing: border-box;
        font-size: 12px;
        border: none;
        background: transparent;
        text-align: left;
        cursor: pointer;
    }

    .tt-user-icon-rail.is-wide .tt-user-rail-name {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tt-user-column.is-narrow {
        flex: 0 0 56px;
        width: 56px;
    }

    .tt-user-column.is-narrow .tt-user-sidelist,
    .tt-user-sidelist.is-narrow,
    .tt-user-column.is-narrow .tt-worktype-sidelist,
    .tt-user-column.is-narrow #shiftSideList,
    .tt-user-column.is-narrow #courseSideList,
    .tt-user-column.is-narrow .tt-status-sidelist {
        flex: 1 1 auto;
        width: 56px;
        min-width: 56px;
        max-width: 56px;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .tt-user-column.is-narrow .tt-status-sidelist-title,
    .tt-user-column.is-narrow .tt-worktype-sidelist-title,
    .tt-user-column.is-narrow #shiftSideList .tt-template-sidelist-title,
    .tt-user-column.is-narrow #courseSideList .tt-template-sidelist-title,
    .tt-user-column.is-narrow .tt-user-sidelist-title {
        padding: 8px 4px;
        font-size: 0;
        min-height: 0;
        gap: 2px;
        justify-content: flex-start;
    }

    .tt-user-column.is-narrow .tt-status-filter-label,
    .tt-user-column.is-narrow .tt-filter-item-label {
        display: none;
    }

    .tt-user-column.is-narrow .tt-user-side-label {
        font-size: 0;
        line-height: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    .tt-user-column.is-narrow .tt-user-role-marks,
    .tt-user-icon-rail:not(.is-wide) .tt-user-role-marks {
        display: none;
    }

    .tt-user-column.is-narrow .tt-user-sidelist-item {
        padding: 4px 4px;
        gap: 2px;
        justify-content: flex-start;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.3;
        text-align: left;
    }

    .tt-user-column.is-narrow .tt-user-side-icon,
    .tt-user-column.is-narrow .tt-status-side-icon,
    .tt-user-column.is-narrow .tt-filter-item-check {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .tt-user-column.is-narrow .tt-filter-item-check,
    .tt-user-column.is-narrow .tt-filter-title-check {
        margin: 0;
        width: 14px;
        height: 14px;
    }

    .tt-user-column.is-narrow .tt-user-side-icon {
        font-size: 11px;
        line-height: 1;
        flex: 0 0 28px;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        min-height: 28px;
        margin-right: 0;
    }

    .tt-user-column.is-narrow .tt-status-side-icon {
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        font-size: 14px;
        line-height: 1;
    }

    .tt-user-column.is-narrow .tt-user-list-toggle {
        font-size: 16px;
        line-height: 1;
    }

    .tt-user-sidelist.is-narrow .tt-user-sidelist-item {
        font-size: 13px;
        line-height: 1.3;
        padding: 4px 4px;
        text-align: left;
        overflow: hidden;
    }

    .tt-user-sidelist.is-narrow .tt-user-side-icon {
        font-size: 11px;
        line-height: 1;
        flex: 0 0 28px;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        min-height: 28px;
    }

    .tt-user-list-toggle {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
        color: #353B40;
    }

    .tt-user-icon-rail-title {
        font-weight: 600;
        padding: 8px 0 4px;
        border-bottom: 0;
        background: transparent;
        color: #777;
        font-size: 11px;
        line-height: 1.3;
        text-align: center;
        filter: grayscale(1);
        opacity: 0.7;
        cursor: pointer;
    }

    .tt-shift-side-column {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 0 0 220px;
        width: 220px;
        position: sticky;
        top: 12px;
        box-sizing: border-box;
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: hidden;
    }

    .tt-template-sidelist {
        flex: 1 1 auto;
        width: 220px;
        max-height: none;
        overflow-y: auto;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
        position: static;
        box-sizing: border-box;
    }

    .tt-shift-side-column > .tt-template-sidelist {
        display: flex;
        flex-direction: column;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }

    .tt-shift-side-column > .tt-template-sidelist.is-collapsed {
        flex: 0 0 auto;
        height: auto;
        min-height: auto;
    }

    .tt-shift-side-column > .tt-template-sidelist > .tt-template-sidelist-title {
        flex: 0 0 auto;
    }

    .tt-template-sidelist-body {
        display: flex;
        flex-direction: column;
    }

    .tt-shift-side-column > .tt-template-sidelist > .tt-template-sidelist-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    .tt-user-icon-rail-body {
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 2px 0;
    }

    .tt-user-icon-rail .tt-user-side-icon {
        margin: 0;
    }

    .tt-user-side-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 30px;
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        height: 30px;
        min-height: 30px;
        aspect-ratio: 1;
        font-size: 14px;
        line-height: 1;
        vertical-align: middle;
        cursor: pointer;
        box-sizing: border-box;
        border-radius: 50%;
        border: 2px solid transparent;
        overflow: hidden;
    }

    a.tt-top-user .tt-user-side-icon {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
    }

    .tt-user-side-icon.tt-user-initials,
    .tt-phone-nav-icon .tt-user-initials {
        background: #f4f6f8;
        color: #353B40;
        font-weight: 700;
        font-size: 11px;
    }

    .tt-phone-nav-icon .tt-nav-people {
        width: 30px;
        height: 30px;
        border: 2px solid #353B40;
        border-radius: 50%;
        box-sizing: border-box;
        font-size: 9px;
    }

    .tt-user-icon-rail .tt-user-side-icon {
        cursor: grab;
    }

    .tt-user-icon-rail.is-selectonly .tt-user-side-icon,
    .tt-user-icon-rail.is-selectonly .tt-user-rail-item {
        cursor: pointer;
    }

    .tt-user-icon-rail .tt-user-rail-item {
        width: 100%;
        box-sizing: border-box;
    }

    .tt-user-icon-rail:not(.is-wide) .tt-user-icon-rail-body {
        scrollbar-width: none;
    }

    .tt-user-icon-rail:not(.is-wide) .tt-user-icon-rail-body::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .tt-user-icon-rail:not(.is-wide) .tt-user-rail-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tt-user-icon-rail .tt-user-rail-item:hover {
        background: #f6f6f6;
    }

    .tt-user-icon-rail .tt-user-rail-item.is-selected {
        background: #2f2e30;
        color: #ffffff;
    }

    .tt-week-cal-block:hover,
    .tt-week-cal-block.is-actions-open {
        overflow: visible;
        z-index: 20;
    }

    .tt-week-cal-block.is-openable {
        cursor: pointer;
    }

    .tt-week-cal-block .tt-week-cal-status-hover,
    .tt-week-cal-block .tt-week-cal-usericon,
    .tt-week-cal-block .tt-week-cal-invoiced,
    .tt-week-cal-block .tt-week-cal-icon,
    .tt-week-cal-block .ttm_button {
        position: relative;
        z-index: 5;
    }

    .tt-week-cal-block .tt-week-cal-hover-actions,
    .tt-week-cal-block .tt-week-cal-actions {
        z-index: 6;
    }

    .tt-week-cal-status-hover {
        position: relative;
        display: inline-flex;
        width: 30px;
        height: 30px;
        z-index: 1;
    }

    .tt-week-cal-hover-actions {
        display: none;
        position: absolute;
        left: 0;
        top: calc(100% + 2px);
        z-index: 40;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        background: transparent;
        padding: 0;
    }

    .tt-week-cal-status-hover.is-actions-open .tt-week-cal-hover-actions {
        display: flex;
    }

    .tt-week-cal-detail-extra {
        display: none;
        width: 100%;
    }

    .tt-week-cal-block.is-roomy .tt-week-cal-hover-actions {
        display: none !important;
    }

    .tt-week-cal-block.is-roomy .tt-week-cal-status-hover.is-actions-open .tt-week-cal-hover-actions {
        display: flex !important;
    }

    .tt-week-cal-block.is-roomy .tt-week-cal-detail-extra {
        display: block;
    }

    .tt-week-cal-icon.is-edit .tt-status-approved {
        cursor: pointer;
    }

    .tt-week-cal-hover-actions .ttm_button,
    .tt-week-cal-hover-actions .ttm_button.tt-btn-muted,
    .tt-week-cal-hover-actions .ttm_button.tt-btn-approve,
    .tt-week-cal-hover-actions .ttm_button.tt-reject-offer {
        width: 24px;
        min-width: 24px;
        max-width: 24px;
        height: 24px;
        min-height: 24px;
        max-height: 24px;
        padding: 0;
        border: 1px solid #cfcfcf;
        border-radius: 6px;
        background: #fff;
        color: #2f2e30;
        box-shadow: none;
        font-size: 13px;
        font-weight: 500;
        line-height: 22px;
    }

    .hoursentry-button {
        display: none;
        position: absolute;
        left: 0;
        z-index: 30;
        width: 30px;
        height: 30px;
        min-width: 30px;
        padding: 0;
        line-height: 28px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        background: #ffd6d6;
        border: 1px solid #ff1900;
        color: #ff1900;
        cursor: pointer;
    }

    .hoursentry-button.is-visible {
        display: block;
    }

    .hoursentry-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.45);
        align-items: flex-start;
        justify-content: center;
        overflow: auto;
        padding: 24px 12px;
    }

    #hoursEntryOverlay {
        z-index: 250;
    }

    #mailSelectOverlay {
        z-index: 350;
    }

    .tt-messagebox-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 400;
        background: rgba(0, 0, 0, 0.45);
        align-items: center;
        justify-content: center;
        padding: 24px 12px;
        box-sizing: border-box;
    }

    .tt-messagebox {
        width: 100%;
        max-width: 420px;
        background: #ffffff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 20px 18px 16px;
        box-sizing: border-box;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    }

    .tt-messagebox-title {
        margin: 0 0 10px;
        font-size: 17px;
        font-weight: 700;
    }

    .tt-messagebox-text {
        margin: 0 0 18px;
        font-size: 15px;
        line-height: 1.45;
        white-space: pre-wrap;
        color: #222;
    }

    .tt-messagebox-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    .hoursentry-form {
        position: relative;
        width: 100%;
        max-width: 370px;
        background: #ffffff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 36px 16px 16px;
        box-sizing: border-box;
    }

    .hoursentry-form h2 {
        margin: 0 0 12px;
        font-size: 18px;
    }

    #planningOverlay .hoursentry-form,
    #hoursEntryOverlay .hoursentry-form {
        padding-top: 16px;
    }

    #planningOverlay .hoursentry-form > h2,
    #hoursEntryOverlay .hoursentry-form > h2 {
        margin: 0 40px 16px 0;
        min-height: 28px;
        font-size: 16px;
        font-weight: 600;
        line-height: 28px;
        color: #2f2e30;
    }

    #planningOverlay .hoursentry-close,
    #hoursEntryOverlay .hoursentry-close {
        top: 8px;
        z-index: 5;
    }

    body.tt-desktop-app #planningOverlay .hoursentry-form > h2,
    body.pa-desktop-app #planningOverlay .hoursentry-form > h2,
    body.tt-desktop-app #hoursEntryOverlay .hoursentry-form > h2,
    body.pa-desktop-app #hoursEntryOverlay .hoursentry-form > h2 {
        margin-left: 80px;
    }

    #planningOverlay .hoursentry-form > h2.is-name {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #planningOverlay .tt-plan-color {
        flex: 0 0 auto;
        width: 28px;
        height: 28px;
        margin: 0;
        padding: 2px;
        border: 1px solid #000;
        border-radius: 50%;
        background: #fff;
        box-sizing: border-box;
        cursor: pointer;
        overflow: hidden;
    }

    #planningOverlay .tt-plan-color input[type="color"] {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }

    #planningOverlay .tt-plan-color input[type="color"]::-webkit-color-swatch-wrapper {
        padding: 0;
        border: 0;
        border-radius: 50%;
    }

    #planningOverlay .tt-plan-color input[type="color"]::-webkit-color-swatch,
    #planningOverlay .tt-plan-color input[type="color"]::-moz-color-swatch {
        border: 0;
        border-radius: 50%;
    }

    #planningOverlay .tt-plan-name {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 0 2px;
        border: 0;
        border-bottom: 1px solid transparent;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        line-height: 28px;
        height: 28px;
        color: #2f2e30;
    }

    #planningOverlay .tt-plan-name::placeholder {
        color: #8d8d8d;
        font-weight: 600;
    }

    #planningOverlay .tt-plan-name:hover,
    #planningOverlay .tt-plan-name:focus {
        border-bottom-color: #ff1900;
        outline: none;
    }

    .mail-select-form {
        max-width: 420px;
    }
    .mail-select-form.is-rates {
        max-width: 640px;
    }
    .mail-select-all {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 8px;
        font-weight: 500;
        cursor: pointer;
    }
    .mail-select-head,
    .mail-select-row.is-rates {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 72px 72px;
        gap: 8px;
        align-items: start;
    }
    .mail-select-head {
        margin: 0 0 4px;
        padding-right: 16px;
        box-sizing: border-box;
        color: #777;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.1;
    }
    .mail-select-head span:nth-child(n+3) {
        text-align: right;
    }
    .mail-select-list {
        max-height: 320px;
        overflow: auto;
        margin-bottom: 12px;
        padding-right: 16px;
        box-sizing: border-box;
    }
    .mail-select-row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 0;
        border-bottom: 1px solid #e6e6e6;
        cursor: pointer;
    }
    .mail-select-person {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 1 1 auto;
    }
    .mail-select-who {
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .mail-select-name {
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mail-select-row .tt-user-role-marks {
        margin-left: auto;
    }
    .mail-select-line {
        font-style: italic;
        color: #777;
        font-size: 12px;
        line-height: 1.3;
    }
    .mail-select-cost,
    .mail-select-yield {
        text-align: right;
        font-variant-numeric: tabular-nums;
        line-height: 1.3;
    }

    .tt-privacy-mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #9aa0a6;
        line-height: 1;
        cursor: default;
    }

    .tt-privacy-mark svg {
        display: block;
    }
    .tt-offer-banner {
        margin: -4px 0 12px;
        padding: 8px 12px;
        border-radius: 8px;
        background: #f3f3f3;
        color: #111;
        font-size: 14px;
        line-height: 1.35;
    }
    .tt-offer-banner.is-error {
        background: #fdecea;
        color: #ff1900;
    }
    .mail-select-form .hoursentry-actions {
        margin-top: 4px;
    }
    .mail-select-form .hoursentry-actions .tt-text-btn {
        flex: 1 1 auto;
        width: 100%;
    }
    .mail-select-form.is-offer .hoursentry-actions .tt-text-btn {
        flex: 1 1 0;
        width: auto;
    }
    .hoursentry-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 1px solid #333;
        background: #fff;
        font-size: 18px;
        line-height: 24px;
        cursor: pointer;
    }

    .hoursentry-form .field {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .hoursentry-form .field::before {
        content: attr(data-label);
        font-weight: bold;
        margin-bottom: 5px;
    }

    #hoursEntryFields.is-preparing .field {
        color: transparent;
    }

    #hoursEntryFields.is-preparing .field::before {
        color: #2f2e30;
    }

    #hoursEntryFields.is-preparing .tt-row-box input,
    #hoursEntryFields.is-preparing .tt-row-box select,
    #hoursEntryFields.is-preparing .tt-row-box textarea,
    #hoursEntryFields.is-preparing .tt-popup-portrait,
    #hoursEntryFields.is-preparing .hoursentry-actions {
        visibility: hidden;
    }

    .hoursentry-actions {
        margin-top: 12px;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        gap: 8pt;
        flex-wrap: wrap;
    }

    .tt-text-btn.is-unchanged,
    .tt-text-btn.is-absent {
        display: none !important;
    }

    .tt-text-btn {
        cursor: pointer;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 36px;
        max-height: none;
        margin: 0;
        padding: 6px 12px;
        border: 1px solid #cfcfcf;
        border-radius: 10px;
        background: #fff;
        box-shadow: none;
        color: #2f2e30;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        gap: 6px;
    }

    .tt-text-btn:hover {
        background: #f7f7f7;
        border-color: #b5b5b5;
    }

    .tt-text-btn:disabled {
        background: #f3f3f3;
        border-color: #e0e0e0;
        color: #8a8a8a;
        cursor: default;
    }

    body.tt-phone-app .tt-text-btn,
    body.pa-phone-app .tt-text-btn {
        min-height: 44px;
        padding: 8px 12px;
    }

    .planning-pair {
        display: flex;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .planning-pair .field {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        box-sizing: border-box;
    }

    .planning-pair .inputFields {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .planning-quad {
        display: flex;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .planning-quad .field {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        box-sizing: border-box;
    }

    .planning-quad .inputFields,
    .planning-quad input.inputFields.tt-date-yy,
    .planning-quad input.inputFields.tt-time-24 {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex: 1 1 auto;
        box-sizing: border-box;
    }

    #planningFields .tt-daypick-field {
        position: relative;
    }

    .tt-daypick-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 300;
        background: rgba(0, 0, 0, 0.45);
        align-items: center;
        justify-content: center;
        overflow: auto;
        padding: 24px 12px;
        box-sizing: border-box;
    }

    .tt-daypick {
        position: relative;
        width: min(760px, 96vw);
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
        padding: 16px 16px 14px;
        box-sizing: border-box;
    }

    .tt-daypick-title {
        margin: 0 36px 12px 0;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
        color: #2f2e30;
    }

    .tt-daypick-board {
        display: block;
        position: relative;
        z-index: 1;
        margin-top: 0;
    }

    .tt-daypick-weeks {
        height: 340px;
        overflow: auto;
        position: relative;
        scroll-snap-type: y mandatory;
        scrollbar-width: none;
        overflow-anchor: none;
    }

    .tt-daypick-weeks::-webkit-scrollbar {
        display: none;
    }

    .tt-daypick-monthline {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        margin: 0 0 4px;
    }

    .tt-daypick-monthline .tt-week-nav-chevron {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        font-size: 20px;
        line-height: 28px;
    }

    .tt-daypick-month {
        text-align: left;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        color: #2f2e30;
        white-space: nowrap;
    }

    .tt-daypick-head {
        display: grid;
        grid-template-columns: 2.4em repeat(7, minmax(0, 1fr));
        gap: 2px;
        align-items: center;
    }

    .tt-daypick-row {
        display: grid;
        grid-template-columns: 2.4em repeat(7, minmax(0, 1fr));
        gap: 2px;
        align-items: center;
        height: 34px;
        scroll-snap-align: start;
    }

    .tt-daypick-week,
    .tt-daypick-range {
        font-size: 13px;
        color: #2f2e30;
        white-space: nowrap;
    }

    .tt-daypick-weekhit {
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4em;
        width: 100%;
        height: 26px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
        font: inherit;
        color: #2f2e30;
        text-align: left;
        box-sizing: border-box;
    }

    .tt-daypick-weekhit:hover {
        background: #ffece8;
    }

    .tt-daypick-row.is-focus .tt-daypick-weekhit {
        box-shadow: inset 0 0 0 1px #ff1900;
    }

    .tt-daypick-row.is-picked .tt-daypick-weekhit {
        grid-column: auto;
        width: max-content;
        max-width: 100%;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .tt-daypick-row.is-picked.is-focus .tt-daypick-meta {
        box-shadow: inset 0 0 0 1px #ff1900;
    }

    .tt-daypick-row.is-picked .tt-daypick-meta {
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        gap: 0.4em;
        width: 100%;
        max-width: 100%;
        height: 26px;
        padding: 0;
        box-sizing: border-box;
        border-radius: 8px;
        background: #ffece8;
    }

    .tt-daypick-dow {
        border: 1px solid transparent;
        background: transparent;
        min-height: 28px;
        border-radius: 4px;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
        color: #2f2e30;
    }

    .tt-daypick-dow.is-time {
        align-self: stretch;
        background: #ffece8;
        border-color: transparent;
        border-radius: 8px 8px 0 0;
        color: #ff1900;
        position: relative;
        z-index: 3;
    }

    .tt-daypick-cell {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        height: 34px;
    }

    .tt-daypick-num {
        font-size: 13px;
        font-weight: 400;
        line-height: 1;
        color: #111;
        cursor: pointer;
    }

    .tt-daypick-cell.is-title .tt-daypick-num {
        font-weight: 600;
    }

    .tt-daypick-cell.is-week-time {
        background: #ffece8;
        border-radius: 8px;
    }

    .tt-daypick-cell.is-pending .tt-daypick-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #fff;
        color: #111;
        box-shadow: inset 0 0 0 2px #ff1900;
    }

    .tt-daypick-cell.is-available .tt-daypick-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #fff;
        color: #111;
        box-shadow: inset 0 0 0 1px #bdbdbd;
    }

    .tt-daypick-cell.is-plain .tt-daypick-num,
    .tt-daypick-cell.is-locked:not(.is-on) .tt-daypick-num,
    .tt-daypick-cell.is-full .tt-daypick-num {
        color: #bdbdbd;
        font-weight: 400;
        cursor: default;
    }

    .tt-daypick-cell.is-on .tt-daypick-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #ff1900;
        color: #fff;
        box-shadow: none;
        cursor: pointer;
    }

    .tt-daypick-cell.is-plain {
        pointer-events: none;
    }

    .tt-daypick-dow:disabled {
        color: #b5b5b5;
        cursor: default;
    }

    .tt-daypick-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
    }

    .tt-daypick-count {
        margin-right: auto;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        color: #ff1900;
    }

    .tt-daypick-count.is-full {
        color: #8d8d8d;
    }

    .tt-daypick-colmark {
        position: absolute;
        z-index: 0;
        pointer-events: none;
        background: #ffece8;
        border: 0;
        border-radius: 0 0 4px 4px;
        box-sizing: border-box;
    }

    .tt-daypick-times {
        display: grid;
        grid-template-columns: 2.4em repeat(7, minmax(0, 1fr));
        gap: 2px;
        align-items: stretch;
        height: 44px;
        margin: 2px 0;
        position: relative;
        z-index: 2;
        scroll-snap-align: none;
    }

    .tt-daypick-times.is-under-week {
        margin-top: -4px;
        margin-bottom: 0;
    }

    .tt-daypick-timebox {
        grid-column: 2 / -1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        margin: 0;
        padding: 6px 10px;
        border: 0;
        border-radius: 8px;
        background: #ffece8;
        box-sizing: border-box;
        position: relative;
    }

    .tt-daypick-timebox.is-join-first {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .tt-daypick-timebox.is-join-last {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .tt-daypick-timebox::before,
    .tt-daypick-timebox::after {
        content: '';
        position: absolute;
        left: var(--join-left, 0);
        width: var(--join-width, 0);
        height: 3px;
        background: #ffece8;
        pointer-events: none;
    }

    .tt-daypick-timebox::before {
        top: -1px;
    }

    .tt-daypick-timebox::after {
        bottom: -2px;
    }

    #planningDayPick .tt-daypick-times input[readonly] {
        background: #f7f7f7;
        color: #2f2e30;
    }

    .tt-daypick-times label {
        display: flex;
        gap: 6px;
        align-items: center;
        color: #2f2e30;
    }

    #planningDayPick .tt-daypick-times input {
        width: 5.2em;
        flex: 0 0 auto;
        background: #fff;
        border: 1px solid #c8c8c8;
        text-align: center;
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }

    #planningDayPick .tt-daypick-times input::-webkit-calendar-picker-indicator {
        display: none;
        width: 0;
        margin: 0;
        padding: 0;
    }

    #planningDayPick .tt-daypick-times input::-webkit-datetime-edit,
    #planningDayPick .tt-daypick-times input::-webkit-datetime-edit-hour-field,
    #planningDayPick .tt-daypick-times input::-webkit-datetime-edit-minute-field,
    #planningDayPick .tt-daypick-times input::-webkit-datetime-edit-ampm-field,
    #planningDayPick .tt-daypick-times input::-webkit-datetime-edit-fields-wrapper {
        padding: 0;
        margin: 0;
    }

    .tt-daypick-timeok {
        flex: 0 0 auto;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: #8d8d8d;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tt-daypick-timeok .tt-app-icon {
        width: 18px;
        height: 18px;
        display: block;
    }

    .tt-daypick-timeok:hover {
        background: #f0f0f0;
    }

    .tt-daypick-timeok.is-changed {
        color: #ff1900;
    }

    .tt-daypick-timebox.is-remove {
        padding-right: 44px;
    }

    .tt-daypick-timedelete {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: #111;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tt-daypick-timedelete[hidden] {
        display: none;
    }

    .tt-daypick-timedelete .tt-app-icon {
        width: 18px;
        height: 18px;
        display: block;
    }

    .tt-daypick-timedelete:hover {
        background: #fff;
    }

    .tt-daypick-timeok.is-changed:hover {
        background: #ffece8;
    }

    .tt-daypick-timeok.is-ready {
        color: #080;
    }

    .tt-daypick-timeok.is-ready:hover {
        background: #e7f6e7;
    }

    #planningFields.is-series .tt-planning-series-body {
        display: flex;
        align-items: stretch;
        gap: 12px;
        grid-column: 1 / -1;
        min-width: 0;
    }

    #planningFields.is-series .tt-row-box {
        flex: 1 1 auto;
        min-width: 0;
    }

    #planningFields.is-series .tt-popup-badge.is-series {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        gap: 0;
        min-width: 64px;
        min-height: 100%;
    }

    #planningFields.is-series .tt-date-badge.is-selected {
        box-shadow: 0 0 0 2px #ff1900;
    }

    #planningFields .tt-date-badge.is-selected.is-date-pick,
    #hoursEntryFields .tt-date-badge.is-date-pick {
        cursor: pointer;
    }

    #planningFields .tt-date-badge {
        position: relative;
    }

    #planningFields .tt-shield-date {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }

    #planningFields .tt-series-track {
        position: relative;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        min-height: 24px;
    }

    #planningFields .tt-series-line {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        margin-left: -1px;
        background: #2f2e30;
        pointer-events: none;
    }

    #planningFields .tt-series-track .tt-date-badge {
        position: relative;
        z-index: 1;
    }

    #planningFields .tt-series-dot {
        position: relative;
        z-index: 1;
        flex: 0 0 auto;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
        border: 2px solid #2f2e30;
        border-radius: 50%;
        background: #ffffff;
        padding: 0;
        cursor: pointer;
        appearance: none;
    }

    #planningFields .tt-series-dot.is-open {
        background: #ff1900;
        border-color: #ff1900;
    }

    #planningOverlay .tt-plan-slotcount {
        position: absolute;
        top: 16px;
        z-index: 2;
        font-size: 16px;
        font-weight: 600;
        line-height: 28px;
        color: #ff1900;
        white-space: nowrap;
        pointer-events: none;
    }

    #planningOverlay .tt-plan-slotcount.is-full {
        color: #8d8d8d;
    }

    #planningFields .tt-course-only.is-hidden {
        display: none;
    }

    .tt-week-cal-shift-title {
        position: absolute;
        left: -4px;
        right: -1px;
        bottom: calc(100% + 1px);
        z-index: 2;
        display: flex;
        align-items: center;
        height: 20px;
        margin: 0;
        padding: 0 22px 0 8px;
        background: var(--tt-shift-rail, #add8e6);
        border-bottom: 1px solid rgba(47, 46, 48, 0.35);
        border-radius: 4px 4px 0 0;
        box-sizing: border-box;
        min-width: 0;
        cursor: default;
    }

    .tt-week-cal-shift-title.is-draggable {
        cursor: grab;
    }

    body.tt-shift-dragging .tt-week-cal-shift-title.is-draggable {
        cursor: grabbing;
    }

    .tt-week-cal-shift-course {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        color: #2f2e30;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tt-lesson-warn {
        display: inline-flex;
        flex: 0 0 auto;
        width: 14px;
        height: 14px;
        margin-right: 4px;
        color: #b45309;
        vertical-align: middle;
    }

    .tt-lesson-warn svg {
        width: 14px;
        height: 14px;
        display: block;
    }

    input.inputFields.tt-date-yy,
    input.inputFields.tt-date-yy:hover,
    input.inputFields.tt-date-yy:focus {
        width: 7.6em;
        min-width: 7.6em;
        max-width: 7.6em;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        flex: 0 0 7.6em;
        box-sizing: border-box;
        margin: 0;
        padding: 0 2px;
    }

    .hoursentry-form .tt-date-yy:read-only,
    .hoursentry-form input.inputFields.tt-date-yy:read-only,
    .hoursentry-form .tt-date-yy:read-only:hover,
    .hoursentry-form input.inputFields.tt-date-yy:read-only:hover,
    .hoursentry-form .tt-date-yy:read-only:focus,
    .hoursentry-form input.inputFields.tt-date-yy:read-only:focus {
        width: 7.6em;
        min-width: 7.6em;
        max-width: 7.6em;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        flex: 0 0 7.6em;
        pointer-events: none;
    }

    .planning-actions {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
        text-align: right;
    }

    #planningOverlay .hoursentry-actions.planning-actions.tt-row-actions {
        justify-content: flex-end;
    }

    #planningOverlay .planning-actions .ttm_button,
    #planningOverlay .planning-actions .tt-text-btn,
    #hoursEntryOverlay .hoursentry-actions .tt-text-btn {
        flex: 0 0 180px;
        width: 180px;
        min-width: 180px;
        max-width: 180px;
    }

    .tt-week-calendar.is-shiftmode .tt-week-cal-block {
        display: none !important;
    }

    .tt-week-calendar.is-shiftmode .tt-week-cal-shift .tt-week-cal-block {
        display: inline-flex !important;
    }

    .tt-week-cal-shift {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 1;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 3px 6px 3px 8px;
        background: color-mix(in srgb, #add8e6 16%, white);
        border: 1px solid #d5d5d5;
        border-left-width: 4px;
        border-radius: 8px;
        overflow: visible;
        pointer-events: auto;
        cursor: pointer;
    }

    .tt-week-cal-shift.is-one-line {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .tt-week-cal-shift:hover,
    .tt-week-cal-shift:focus-within {
        overflow: visible;
        z-index: 8;
    }

    .tt-week-cal-shift-time {
        font-size: 12px;
        line-height: 1.2;
        color: #2f2e30;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        max-width: 100%;
    }

    .tt-week-cal-shift-cols {
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        align-self: flex-start;
        gap: 4px;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .tt-week-cal-shift.is-one-line > .tt-week-cal-shift-cols {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 0;
        max-height: 100%;
        overflow: hidden;
        align-self: flex-start;
    }

    .tt-week-cal-shift.is-member-tight .tt-week-cal-status-hover {
        display: none !important;
    }

    .tt-week-cal-shift-cols.is-stacked {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
    }

    .tt-week-cal-shift-cols > .tt-week-cal-block,
    .tt-week-cal-shift-cols > .tt-week-cal-shift-col,
    .tt-week-cal-shift-cols > .tt-week-cal-shift-drop,
    .tt-week-cal-shift-cols > .tt-week-cal-shift-more {
        flex: 0 0 auto;
    }

    .tt-week-cal-shift:not(.is-people-open) > .tt-week-cal-shift-cols > .is-shift-extra,
    .tt-week-calendar.is-shiftmode .tt-week-cal-shift:not(.is-people-open) > .tt-week-cal-shift-cols > .is-shift-extra {
        display: none !important;
    }

    .tt-week-cal-day:has(.tt-week-cal-shift.is-people-open) {
        z-index: 4;
    }

    .tt-week-cal-shift.is-people-open {
        z-index: 40;
        overflow: visible;
    }

    .tt-week-cal-shift.is-people-open > .tt-week-cal-shift-cols {
        position: absolute;
        left: 6px;
        right: 6px;
        top: 3px;
        width: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
        background: inherit;
        z-index: 6;
        border-radius: 6px;
        padding: 2px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        pointer-events: auto;
    }

    .tt-week-cal-shift-more.is-count {
        flex: 0 0 30px;
        width: 30px;
        min-width: 30px;
        height: 30px;
        padding: 0;
        border-radius: 50%;
        border-width: 2px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

    .tt-week-cal-shift-more.is-count.is-empty-slots {
        border-color: #ff1900;
        color: #ff1900;
        background: #fff;
    }

    .tt-week-cal-shift-more.is-count.is-empty-slots:hover {
        background: #ffece8;
    }

    .tt-week-cal-shift-more {
        pointer-events: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        margin: 0;
        padding: 0;
        border: 2px solid #c5c5c5;
        border-radius: 50%;
        background: #fff;
        color: #2f2e30;
        font-size: 12px;
        line-height: 1;
        cursor: pointer;
        box-sizing: border-box;
    }
    .tt-week-cal-line {
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tt-week-cal-shift-col {
        flex: 0 0 auto;
        position: relative;
        border-left: 0;
        pointer-events: auto;
        min-width: 0;
    }
    .tt-week-cal-shift-col .tt-week-cal-block,
    .tt-week-cal-shift > .tt-week-cal-block {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        box-sizing: border-box;
        display: inline-flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 2px;
        overflow: visible;
    }
    .tt-week-cal-shift .tt-week-cal-status-hover {
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
    }
    .tt-week-cal-shift-col .tt-week-cal-actions {
        flex-wrap: nowrap;
        flex: 0 0 auto;
    }
    .tt-week-cal-mail {
        min-width: 24px !important;
        padding: 0 3px !important;
        line-height: 18px;
        z-index: 6;
        pointer-events: auto;
    }
    .tt-week-cal-shift-col.is-empty {
        cursor: pointer;
    }
    .tt-week-cal-shift .tt-week-cal-shift-colplus {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        border: 2px solid #ff1900;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        color: #ff1900;
        cursor: pointer;
        z-index: 6;
        box-sizing: border-box;
    }

    .tt-week-cal-shift .tt-week-cal-shift-colplus:hover {
        background: #ffece8;
    }

    .tt-week-cal-shift-drop {
        pointer-events: auto;
        position: static;
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        box-sizing: border-box;
        border: 2px solid #ff1900;
        border-radius: 50%;
        background: #fff;
        color: #ff1900;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tt-week-cal-shift-drop:hover,
    .tt-week-cal-shift-drop.is-hot {
        background: #ffece8;
        border-color: #ff1900;
    }

    .tt-week-cal-shift-drop-icon {
        filter: grayscale(1);
        opacity: 0.7;
        font-size: 14px;
    }

    .tt-week-cal-shift > .tt-week-cal-shift-caption {
        position: absolute;
        top: auto;
        bottom: calc(100% + 1px);
        right: 2px;
        left: auto;
        height: 20px;
        justify-content: flex-end;
        flex: none;
        min-width: 0;
        max-width: 100%;
        overflow: visible;
        z-index: 9;
    }

    .tt-week-cal-shift .tt-week-cal-shift-name {
        font-style: italic;
        font-size: 11px;
        color: #355;
        text-align: right;
    }

    .tt-week-cal-shift > .tt-week-cal-shift-caption .tt-week-cal-shift-edit {
        width: 0;
        overflow: hidden;
        opacity: 0;
    }

    .tt-week-cal-shift:hover > .tt-week-cal-shift-caption .tt-week-cal-shift-edit {
        opacity: 0;
        width: 0;
        overflow: hidden;
    }

    .tt-week-cal-shift > .tt-week-cal-shift-caption:hover .tt-week-cal-shift-edit {
        opacity: 1;
        width: auto;
        overflow: visible;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 0 0 1px #d0d0d0;
        padding: 0 3px;
    }

    .tt-week-cal-shift-caption {
        position: absolute;
        top: auto;
        bottom: calc(100% + 1px);
        right: 2px;
        left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 20px;
        gap: 4px;
        max-width: 100%;
        z-index: 9;
        pointer-events: auto;
    }

    .tt-week-cal-shift-cols.is-icon-line {
        flex-wrap: nowrap;
        align-items: center;
        max-height: none;
    }

    .tt-week-cal-shift-name {
        pointer-events: auto;
        position: static;
        font-size: 11px;
        font-style: italic;
        color: #355;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: right;
    }

    .tt-week-cal-shift-command {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        color: #355;
        cursor: default;
    }

    .tt-week-cal-shift-command .tt-app-icon {
        width: 14px;
        height: 14px;
    }

    .tt-week-cal-shift-name.is-draggable {
        cursor: grab;
    }

    body.tt-shift-dragging {
        cursor: grabbing !important;
        user-select: none;
    }

    body.tt-shift-dragging .tt-week-cal-shift-name.is-draggable {
        cursor: grabbing;
    }

    .tt-shift-drag-ghost {
        position: fixed;
        z-index: 1000;
        pointer-events: none;
        padding: 4px 8px;
        border: 1px solid #888;
        border-radius: 4px;
        background: #e8f0fe;
        font-size: 12px;
        font-style: italic;
        color: #355;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tt-week-cal-day.is-drop-target,
    #monthCalendarView .tt-month-cell.is-drop-target {
        outline: 2px solid #4a7fd4;
        outline-offset: -2px;
        background-color: rgba(74, 127, 212, 0.08);
    }

    .tt-week-cal-shift-edit {
        position: static;
        margin: 0;
        opacity: 0;
        font-style: normal;
        font-size: 14px;
        pointer-events: auto;
        color: #333;
        cursor: pointer;
        line-height: 16px;
        flex: 0 0 auto;
    }

    .tt-week-cal-shift:hover .tt-week-cal-shift-edit {
        opacity: 1;
    }

    .tt-list-week-group,
    .tt-list-shift-group {
        position: relative;
        overflow: visible;
        margin: 34px 0 14px;
        padding: 20px 10px 10px;
        box-sizing: border-box;
        border: 1px solid #eeeeee;
        border-radius: 8px;
        background-clip: padding-box;
    }

    /* Dark folder spine / header rail */
    .tt-list-week-group::before,
    .tt-list-shift-group::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 11px;
        background: var(--tt-folder-rail, #2f2e30);
        border-radius: 7px 7px 0 0;
        z-index: 1;
        pointer-events: none;
    }

    .tt-list-conflict-group::before {
        background: #c62828;
    }

    /* Folder tab (title) — top-right, sitting on the spine */
    .tt-list-week-group > .tt-week-cal-shift-caption,
    .tt-list-shift-group > .tt-week-cal-shift-caption {
        position: absolute;
        top: -1px;
        right: 12px;
        left: auto;
        transform: translateY(-100%);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        max-width: calc(100% - 28px);
        min-height: 26px;
        margin: 0;
        padding: 5px 12px 6px;
        background: #ffffff;
        border: 1px solid #eeeeee;
        border-bottom: none;
        border-radius: 8px 8px 0 0;
        z-index: 2;
        pointer-events: auto;
        box-sizing: border-box;
    }

    .tt-list-week-group > .tt-week-cal-shift-caption .tt-week-cal-shift-name,
    .tt-list-shift-group > .tt-week-cal-shift-caption .tt-week-cal-shift-name {
        pointer-events: auto;
        position: static;
        font-size: 12px;
        font-style: italic;
        font-weight: 600;
        color: #2f2e30;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: right;
        line-height: 1.2;
    }

    .tt-list-week-group {
        background: #f2f2f2;
        padding-bottom: 12px;
    }

    .tt-list-week-group .tt-list-shift-group {
        margin: 18px 4px 8px;
    }

    .tt-list-week-group .tt-week-cal-shift-name {
        cursor: pointer;
    }

    .tt-list-shift-group {
        background: color-mix(in srgb, #dce8f0 55%, white);
    }

    .tt-list-shift-group > .tt-date-badge {
        position: absolute;
        left: 10px;
        top: 24px;
        z-index: 2;
    }

    .tt-list-shift-group:has(> .tt-date-badge) {
        padding-left: 84px;
    }

    .tt-list-conflict-group {
        background: #ffd6d6 !important;
        border-color: #eeeeee;
    }

    .tt-list-conflict-group > .tt-date-badge {
        cursor: pointer;
    }

    .tt-conflict-person {
        font-weight: 700;
        font-size: 15px;
        line-height: 1.2;
        margin: 0 0 8px;
        color: #2f2e30;
    }

    #hourConflictPopup .time-entry-row.tt-list-card:not(.tt-list-shift-slot) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 8px;
        width: 100%;
        margin: 0 0 12px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    #hourConflictPopup .tt-list-card > .tt-row-box,
    #hourConflictPopup .tt-list-card > .tt-row-actions {
        grid-column: 1;
        width: 100%;
        min-width: 0;
    }

    #hourConflictPopup .tt-list-card > .tt-row-actions {
        grid-row: 2;
        align-items: flex-end;
    }

    #hourConflictPopup .tt-row-actions .group-actions {
        justify-content: flex-end;
    }

    #hourConflictPopup .tt-row-box,
    body.tt-desktop-app #hourConflictPopup .tt-row-box,
    body.pa-desktop-app #hourConflictPopup .tt-row-box {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        width: 100%;
        flex: none;
    }

    body.tt-desktop-app #hourConflictPopup .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.pa-desktop-app #hourConflictPopup .time-entry-row.tt-list-card:not(.tt-list-shift-slot) {
        container-type: inline-size;
        container-name: ttcard;
    }

    #submittedBody .tt-list-conflict-group > .time-entry-row.tt-list-card:not(.tt-list-shift-slot):not(.has-finance),
    #entriesBody .tt-list-conflict-group > .time-entry-row.tt-list-card:not(.tt-list-shift-slot):not(.has-finance) {
        grid-template-columns: minmax(0, 1fr);
    }

    #submittedBody .tt-list-conflict-group > .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot),
    #entriesBody .tt-list-conflict-group > .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot) {
        grid-template-columns: auto minmax(0, 1fr) 70px 70px;
    }

    #submittedBody .tt-list-conflict-group > .time-entry-row.tt-list-card:not(.has-finance) > .tt-row-box,
    #entriesBody .tt-list-conflict-group > .time-entry-row.tt-list-card:not(.has-finance) > .tt-row-box,
    #submittedBody .tt-list-conflict-group > .time-entry-row.tt-list-card:not(.has-finance) > .tt-row-actions,
    #entriesBody .tt-list-conflict-group > .time-entry-row.tt-list-card:not(.has-finance) > .tt-row-actions {
        grid-column: 1;
    }

    .tt-list-conflict-group > .tt-week-cal-shift-caption {
        background: #ffe8e8;
    }

    .tt-list-conflict-group .tt-week-cal-shift-name {
        text-transform: lowercase;
        font-weight: 700;
    }

    .tt-list-date-link {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        font: inherit;
        color: #666;
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;
    }
    .tt-list-date-link:hover {
        color: #222;
    }

    .tt-list-shift-group:hover > .tt-week-cal-shift-caption .tt-week-cal-shift-edit,
    .tt-list-week-group:hover > .tt-week-cal-shift-caption .tt-week-cal-shift-edit {
        opacity: 1;
    }

    .tt-list-shift-group .time-entry-row {
        background-color: transparent !important;
    }
    .tt-list-shift-group .time-entry-row.tt-list-shift-slot.has-werknemer.tt-list-card:not(.tt-list-shift-open):not(.tt-list-shift-offer) {
        background-color: rgba(255, 255, 255, 0.78) !important;
    }
    .tt-list-shift-group .time-entry-row.tt-list-shift-open {
        background-color: #fee8e8 !important;
    }
    .tt-list-shift-group .time-entry-row.tt-list-shift-offer {
        background-color: transparent !important;
    }
    .tt-list-shift-offer .displayFields {
        background-color: #fee8e8;
    }
    .tt-offer-warn {
        display: inline-block;
        margin-left: 8px;
        color: #e6a700;
        font-size: 16px;
        line-height: 1;
        vertical-align: middle;
        cursor: help;
    }
    .tt-list-shift-open .tt-week-cal-shift-colplus {
        min-width: 27px;
        height: 27px;
        line-height: 25px;
        text-align: center;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
    }

    .tt-list-shift-head {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 14px;
        align-items: baseline;
        margin: 0 0 8px;
        padding: 6px 8px;
        background: rgba(255, 255, 255, 0.78);
        border-radius: 6px;
        font-size: 13px;
        line-height: 1.3;
    }

    .tt-shift-head-item {
        display: inline-flex;
        gap: 4px;
        align-items: baseline;
        min-width: 0;
    }

    .tt-shift-head-label {
        font-size: 11px;
        font-weight: 700;
        color: #666;
    }

    .tt-list-shift-group .time-entry-row.tt-list-shift-slot,
    body.tt-phone-app .time-entries-container .tt-list-shift-group .time-entry-row.tt-list-shift-slot:not(.header-row),
    body.tt-phone-app .tt-list-shift-group .time-entry-row.tt-list-shift-slot.has-werknemer:not(.header-row) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "place place" "person actions";
        align-items: center;
        justify-content: stretch;
        gap: 4px 8px;
        width: 100%;
        max-width: 100%;
        margin: 6px 0;
        padding: 8px 10px;
        border: 0;
        border-radius: 6px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.78);
    }

    .tt-slot-place {
        grid-area: place;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.2;
        color: #777;
    }

    .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-shift-open,
    body.tt-phone-app .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-shift-open,
    .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-shift-offer,
    body.tt-phone-app .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-shift-offer {
        background: rgba(255, 255, 255, 0.78);
    }

    .tt-list-shift-group .tt-list-shift-slot > .group-werknemer,
    .tt-list-shift-group .tt-list-shift-slot > .group-actions,
    .tt-list-shift-group .tt-list-shift-slot > .tt-phone-card-status {
        grid-column: auto;
        grid-row: auto;
        width: auto;
        max-width: none;
        margin: 0;
        order: 0;
    }

    .tt-list-shift-group .tt-list-shift-slot > .group-werknemer {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    .tt-list-shift-group .tt-list-shift-slot > .tt-phone-card-status {
        position: static;
        flex: 0 0 auto;
        order: 2;
        top: auto;
        right: auto;
        font-size: 16px;
    }

    .tt-list-shift-group .tt-list-shift-slot > .group-actions {
        flex: 0 0 auto;
        margin-left: 0;
        order: 3;
        justify-content: flex-end;
    }

    .tt-list-shift-group .tt-list-shift-slot .field::before {
        content: none;
        display: none;
    }

    .hoursentry-form .tt-list-shift-group.is-slots-only {
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .hoursentry-form .tt-row-box > .tt-list-shift-group.is-slots-only {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hoursentry-form .tt-list-shift-group.is-slots-only::before,
    .hoursentry-form .tt-list-shift-group.is-slots-only > .tt-date-badge,
    .hoursentry-form .tt-list-shift-group.is-slots-only > .tt-week-cal-shift-caption,
    .hoursentry-form .tt-list-shift-group.is-slots-only > .tt-list-shift-head {
        display: none;
    }

    .hoursentry-form .tt-list-shift-group.is-slots-only .time-entry-row.tt-list-shift-slot.has-werknemer.tt-list-card:not(.tt-list-shift-open):not(.tt-list-shift-offer) {
        background-color: #f4f4f4 !important;
    }

    #planningOverlay #planningShiftSlots.tt-list-shift-group.is-slots-only {
        height: 158px;
        min-height: 158px;
        max-height: 158px;
        overflow: hidden;
        box-sizing: border-box;
    }

    #planningOverlay #planningShiftSlots.tt-list-shift-group.is-slots-only.is-slot-scroll {
        overflow-x: hidden;
        overflow-y: auto;
    }

    #planningOverlay #planningShiftSlots > .tt-list-shift-slots {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 75px;
        align-content: start;
        gap: 8px;
        width: 100%;
        margin: 0;
    }

    #planningOverlay #planningShiftSlots .time-entry-row.tt-list-shift-slot {
        width: auto;
        max-width: none;
        height: 75px;
        min-height: 75px;
        max-height: 75px;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    #planningOverlay #planningShiftSlots .tt-slot-userpick {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .tt-list-shift-slots {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .tt-slot-person {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 1 1 auto;
        grid-area: person;
    }

    .tt-slot-person .field {
        min-width: 0;
    }

    .tt-slot-person .field::before {
        content: attr(data-label);
        display: block;
        margin: 0;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.1;
        color: #777;
    }

    .tt-list-shift-slots .tt-slot-person .tt-week-cal-usericon {
        flex: 0 0 auto;
        width: 30px;
        min-width: 30px;
        height: 30px;
        margin: 0;
        padding: 0;
        border-radius: 50%;
        border-width: 2px;
        border-style: solid;
        box-sizing: border-box;
        font-size: 12px;
        line-height: 18px;
        overflow: hidden;
        cursor: default;
    }

    .tt-slot-qicon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        border-radius: 4px;
        background: #f7f1f4;
        color: #e03131;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
    }

    .tt-slot-userpick {
        min-width: 160px;
        max-width: 240px;
        height: 32px;
        margin: 0;
    }

    body.tt-desktop-app .tt-list-shift-slots,
    body.pa-desktop-app .tt-list-shift-slots {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
    }

    body.tt-desktop-app .tt-list-shift-group .tt-list-shift-slots > .time-entry-row.tt-list-shift-slot,
    body.pa-desktop-app .tt-list-shift-group .tt-list-shift-slots > .time-entry-row.tt-list-shift-slot {
        width: auto;
        flex: 1 1 260px;
        max-width: 100%;
        margin: 0;
        background: rgba(255, 255, 255, 0.78);
        border: 0;
        border-radius: 6px;
        padding: 8px 10px;
    }

    .tt-list-shift-slot > .tt-row-actions {
        flex: 0 0 auto;
        flex-direction: row;
        width: auto;
        align-items: center;
        grid-area: actions;
    }

    .tt-list-shift-slot > .tt-row-actions .group-actions {
        width: auto;
        flex-wrap: nowrap;
    }

    body.tt-phone-app .tt-list-shift-group:not(#planningShiftSlots) .time-entry-row.tt-list-shift-slot,
    body.pa-phone-app .tt-list-shift-group:not(#planningShiftSlots) .time-entry-row.tt-list-shift-slot {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    body.tt-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot > .tt-slot-place,
    body.pa-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot > .tt-slot-place {
        flex: 1 0 100%;
    }

    body.tt-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot > .tt-slot-person,
    body.pa-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot > .tt-slot-person {
        flex: 1 1 auto;
        min-width: min(100%, max-content);
        max-width: 100%;
    }

    body.tt-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot > .tt-row-actions,
    body.pa-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot > .tt-row-actions {
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
    }

    body.tt-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot .displayFields,
    body.pa-phone-app .tt-list-shift-group:not(#planningShiftSlots) .tt-list-shift-slot .displayFields {
        word-break: normal;
        overflow-wrap: break-word;
    }

    .tt-list-shift-group .tt-list-shift-slot .displayFields,
    #submittedBody .tt-list-shift-group .tt-list-shift-slot .displayFields,
    #entriesBody .tt-list-shift-group .tt-list-shift-slot .displayFields {
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0;
        border: 0;
        background: transparent;
        line-height: 1.3;
        font-weight: 400;
    }

    @media (max-width: 679px) {
        .tt-list-week-group,
        .tt-list-shift-group {
            margin: 24px 0 12px;
            padding: 18px 8px 8px;
            border-radius: 8px;
        }
        .tt-list-shift-group:has(> .tt-date-badge) {
            padding-left: 78px;
        }
        .tt-list-week-group > .tt-week-cal-shift-caption,
        .tt-list-shift-group > .tt-week-cal-shift-caption {
            right: 8px;
            max-width: calc(100% - 16px);
            padding: 4px 10px 5px;
        }
    }

    .tt-shift-days {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tt-shift-day {
        font-weight: normal;
    }

    /* List cards: date badge + one box + actions */
    #listView .time-entry-row.header-row {
        display: none !important;
    }

    .tt-date-badge {
        flex: 0 0 64px;
        width: 64px;
        height: 86px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1;
        box-sizing: border-box;
    }

    .tt-date-badge-weekday,
    .tt-date-badge-month {
        font-size: 13px;
        font-weight: 600;
        text-transform: lowercase;
    }

    .tt-date-badge-weekday {
        margin-bottom: 2px;
    }

    .tt-date-badge-day {
        font-size: 26px;
        font-weight: 700;
    }

    .tt-date-badge-month {
        margin-top: 3px;
    }

    .tt-date-badge.is-payslip { background: #d9d9d9; color: #4a4a4a; }
    .tt-date-badge.is-submitted { background: #f6c08a; color: #2f2e30; }
    .tt-date-badge.is-approved { background: #b6ebc6; color: #2f2e30; }
    .tt-date-badge.is-disapproved { background: #f4a8b8; color: #2f2e30; }
    .tt-date-badge.is-planning { background: #ffe566; color: #2f2e30; }
    .tt-date-badge.is-request { background: #b7ddf5; color: #2f2e30; }
    .tt-date-badge.is-new { background: #f7f1f4; color: #e03131; }

    #submittedBody .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.tt-phone-app .time-entries-container .time-entry-row.tt-list-card:not(.header-row):not(.tt-list-shift-slot),
    body.tt-phone-app .time-entry-row.tt-list-card.has-werknemer:not(.header-row):not(.tt-list-shift-slot) {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        column-gap: 12px;
        row-gap: 8px;
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px;
        padding: 4px 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .tt-list-card:not(.tt-list-shift-slot) > .tt-date-badge {
        grid-column: 1;
        grid-row: 1;
    }

    .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .tt-list-card:not(.tt-list-shift-slot) > .tt-row-actions {
        grid-column: 2;
        grid-row: 2;
        flex: none;
        width: 100%;
        align-self: stretch;
    }

    .tt-list-card > .tt-phone-card-status {
        display: none;
    }

    .tt-row-box {
        flex: 1 1 220px;
        min-width: 0;
        border: 1px solid #eeeeee;
        border-radius: 2px;
        background: #fff;
        padding: 8px 10px 10px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .tt-list-card > .tt-row-box {
        align-self: stretch;
        min-height: 74px;
        overflow: hidden;
    }

    .tt-row-box .group-werknemer { order: 1; }
    .tt-row-box .group-basics { order: 2; }
    .tt-row-box .group-relatie { order: 3; }
    .tt-row-box .group-werk { order: 4; }

    .time-entry-row .tt-row-box > .group-basics,
    .time-entry-row .tt-row-box > .group-werknemer,
    .time-entry-row.has-werknemer .tt-row-box > .group-relatie,
    .time-entry-row.has-werknemer .tt-row-box > .group-werk,
    .time-entry-row .tt-row-box > .group-relatie,
    .time-entry-row .tt-row-box > .group-werk {
        display: flex;
        flex-direction: column;
        gap: 4px;
        grid-column: auto;
        grid-row: auto;
        width: auto;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }

    .tt-row-box .inner-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
        gap: 8px 12px;
        width: 100%;
    }

    .tt-row-box .field::before,
    .hoursentry-form .field::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #777;
        margin-bottom: 2px;
    }

    #submittedBody .tt-list-card .displayFields,
    #entriesBody .tt-list-card .displayFields,
    .tt-row-box .displayFields {
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        line-height: 1.35;
        font-size: 15px;
        font-weight: 500;
        color: #2f2e30;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
    }

    .tt-row-actions {
        flex: 1 1 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin: 0;
        grid-column: auto;
    }

    .tt-row-actions .group-actions,
    .hoursentry-actions.tt-row-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        margin: 0;
    }

    #submittedBody .tt-list-card > .tt-row-actions,
    #entriesBody .tt-list-card > .tt-row-actions,
    .tt-list-shift-group .tt-list-card > .tt-row-actions {
        align-items: flex-end;
    }

    #submittedBody .tt-list-card > .tt-row-actions .group-actions,
    #entriesBody .tt-list-card > .tt-row-actions .group-actions,
    .tt-list-shift-group .tt-list-card > .tt-row-actions .group-actions {
        justify-content: flex-end;
    }

    #submittedBody .time-entry-row.tt-list-card.has-finance,
    #entriesBody .time-entry-row.tt-list-card.has-finance,
    .tt-list-shift-group > .time-entry-row.tt-list-card.has-finance,
    .tt-list-week-group > .time-entry-row.tt-list-card.has-finance,
    body.tt-phone-app .time-entries-container .time-entry-row.tt-list-card.has-finance:not(.header-row),
    body.tt-phone-app .time-entry-row.tt-list-card.has-finance.has-werknemer:not(.header-row) {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) 70px 70px;
        grid-template-rows: auto auto;
        align-items: start;
        column-gap: 12px;
        row-gap: 8px;
    }

    .tt-list-card.has-finance > .tt-date-badge {
        grid-column: 1;
        grid-row: 1;
    }

    #submittedBody .tt-list-card.has-finance > .tt-row-box,
    #entriesBody .tt-list-card.has-finance > .tt-row-box,
    .tt-list-card.has-finance > .tt-row-box {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #submittedBody .tt-list-card.has-finance > .tt-row-actions,
    #entriesBody .tt-list-card.has-finance > .tt-row-actions,
    .tt-list-shift-group .tt-list-card.has-finance > .tt-row-actions,
    .tt-list-card.has-finance > .tt-row-actions {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        align-self: stretch;
    }

    .tt-list-card.has-finance > .tt-finance-cost {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
    }

    .tt-list-card.has-finance > .tt-finance-turn {
        grid-column: 4;
        grid-row: 1;
        align-self: start;
    }

    body.tt-phone-app #submittedBody .tt-list-card.has-finance > .tt-row-box,
    body.pa-phone-app #submittedBody .tt-list-card.has-finance > .tt-row-box,
    body.tt-phone-app #entriesBody .tt-list-card.has-finance > .tt-row-box,
    body.pa-phone-app #entriesBody .tt-list-card.has-finance > .tt-row-box {
        grid-column: 2 / -1;
        grid-row: 1;
    }

    body.tt-phone-app #submittedBody .tt-list-card.has-finance > .tt-finance-cost,
    body.pa-phone-app #submittedBody .tt-list-card.has-finance > .tt-finance-cost,
    body.tt-phone-app #entriesBody .tt-list-card.has-finance > .tt-finance-cost,
    body.pa-phone-app #entriesBody .tt-list-card.has-finance > .tt-finance-cost {
        grid-column: 3;
        grid-row: 2;
    }

    body.tt-phone-app #submittedBody .tt-list-card.has-finance > .tt-finance-turn,
    body.pa-phone-app #submittedBody .tt-list-card.has-finance > .tt-finance-turn,
    body.tt-phone-app #entriesBody .tt-list-card.has-finance > .tt-finance-turn,
    body.pa-phone-app #entriesBody .tt-list-card.has-finance > .tt-finance-turn {
        grid-column: 4;
        grid-row: 2;
    }

    body.tt-phone-app #submittedBody .tt-list-card.has-finance > .tt-row-actions,
    body.pa-phone-app #submittedBody .tt-list-card.has-finance > .tt-row-actions,
    body.tt-phone-app #entriesBody .tt-list-card.has-finance > .tt-row-actions,
    body.pa-phone-app #entriesBody .tt-list-card.has-finance > .tt-row-actions {
        grid-column: 2 / -1;
        grid-row: 3;
    }

    .tt-finance-head {
        position: sticky;
        top: 0;
        z-index: 6;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) 70px 70px;
        column-gap: 12px;
        align-items: end;
        margin: 0;
        padding: 6px 0 4px;
        background: #fff;
        border-bottom: 1px solid #d8d8d8;
        box-sizing: border-box;
    }

    .tt-finance-head[hidden] {
        display: none !important;
    }

    body.tt-phone-app .tt-finance-head,
    body.pa-phone-app .tt-finance-head {
        top: calc(var(--pa-phone-topbar, 56px) + env(safe-area-inset-top, 0px));
    }

    .tt-finance-head-cost,
    .tt-finance-head-turn {
        font-size: 11px;
        font-weight: 600;
        color: #777;
        text-align: right;
        line-height: 1.2;
    }

    .tt-finance-head-cost {
        grid-column: 3;
    }

    .tt-finance-head-turn {
        grid-column: 4;
    }

    .tt-finance-col {
        min-width: 0;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .tt-list-card.has-finance > .tt-finance-col::before,
    .tt-finance-sum .tt-finance-col::before {
        content: none;
        display: none;
    }

    .tt-list-card.has-finance > .tt-finance-col .displayFields {
        justify-content: flex-end;
        white-space: nowrap;
    }

    .tt-list-shift-group > .tt-list-card.has-finance > .tt-finance-col,
    .tt-list-shift-group > .tt-finance-sum .tt-finance-col {
        align-self: stretch;
        padding: 8px 4px 8px 6px;
        background: color-mix(in srgb, var(--tt-folder-rail, #add8e6) 35%, white);
    }

    .tt-finance-sum {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) 70px 70px;
        column-gap: 12px;
        align-items: center;
        margin: 2px 0 8px;
        padding-top: 6px;
        border-top: 1px solid rgba(47, 46, 48, 0.28);
        font-weight: 700;
    }

    .tt-finance-sum-label {
        grid-column: 2;
        text-align: right;
        font-size: 12px;
        letter-spacing: 0.02em;
        color: #555;
    }

    .tt-finance-sum .tt-finance-cost {
        grid-column: 3;
        text-align: right;
    }

    .tt-finance-sum .tt-finance-turn {
        grid-column: 4;
        text-align: right;
    }

    .tt-finance-sum .tt-finance-col::before {
        content: none;
    }

    .tt-list-shift-group > .tt-finance-sum {
        border-top-color: rgba(47, 46, 48, 0.18);
    }

    .tt-row-actions .ttm_button,
    body.tt-phone-app .tt-row-actions .ttm_button,
    .hoursentry-actions.tt-row-actions .ttm_button,
    .tt-row-actions .group-actions > .tt-week-cal-icon:not(.tt-user-photo),
    #submittedBody .group-actions > .tt-week-cal-icon:not(.tt-user-photo),
    #entriesBody .group-actions > .tt-week-cal-icon:not(.tt-user-photo),
    .tt-list-card .group-actions > .tt-week-cal-icon:not(.tt-user-photo) {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        padding: 0;
        border: 1px solid #cfcfcf;
        border-radius: 10px;
        background: #fff;
        box-shadow: none;
        font-size: 18px;
        line-height: 40px;
        color: #2f2e30;
    }

    #submittedBody .time-entry-row.tt-list-card {
        align-items: flex-start;
    }

    body.tt-desktop-app #submittedBody .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.pa-desktop-app #submittedBody .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.tt-desktop-app #entriesBody .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.pa-desktop-app #entriesBody .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.tt-desktop-app .tt-list-week-group > .time-entry-row.tt-list-card:not(.tt-list-shift-slot),
    body.pa-desktop-app .tt-list-week-group > .time-entry-row.tt-list-card:not(.tt-list-shift-slot) {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        container-type: inline-size;
        container-name: ttcard;
    }

    body.tt-desktop-app #submittedBody .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot),
    body.pa-desktop-app #submittedBody .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot),
    body.tt-desktop-app #entriesBody .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot),
    body.pa-desktop-app #entriesBody .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot),
    body.tt-desktop-app .tt-list-week-group > .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot),
    body.pa-desktop-app .tt-list-week-group > .time-entry-row.tt-list-card.has-finance:not(.tt-list-shift-slot) {
        grid-template-columns: auto minmax(0, 1fr) 70px 70px;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px 16px;
        align-items: start;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werk,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werk {
        grid-column: 1;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer {
        grid-row: 1;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-basics {
        grid-row: 2;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie {
        grid-row: 3;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werk,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-werk {
        grid-row: 4;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie:empty,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie:empty {
        display: none;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk {
        grid-row: 3;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .inner-grid,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .inner-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .inner-grid > .field,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .inner-grid > .field {
        flex: 1 1 112px;
        width: auto;
        max-width: 112px;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .inner-grid > .field[data-label="uren"],
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .inner-grid > .field[data-label="uren"] {
        flex: 0 0 52px;
        min-width: 52px;
        max-width: 72px;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .displayFields,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .displayFields {
        word-break: normal;
        overflow-wrap: break-word;
    }

    body.tt-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .group-basics .displayFields,
    body.pa-desktop-app .tt-list-card:not(.tt-list-shift-slot) > .tt-row-box .group-basics .displayFields {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    @container ttcard (min-width: 624px) {
        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box {
            grid-template-columns: repeat(2, minmax(255px, 1fr));
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-basics {
            grid-column: 1;
            grid-row: 2;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics {
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-relatie {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werk,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werk {
            grid-column: 2;
            grid-row: 2;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-relatie:empty,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-relatie:empty {
            display: flex;
            height: 0;
            min-height: 0;
            margin: 0;
            padding: 0;
            overflow: hidden;
            align-self: start;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk {
            grid-row: 1;
        }
    }

    @container ttcard (min-width: 788px) {
        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box {
            grid-template-columns: repeat(2, minmax(255px, 1fr));
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-basics {
            grid-column: 1;
            grid-row: 2;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics {
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werk,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werk {
            grid-column: 2;
            grid-row: 2;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie:empty,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie:empty {
            display: flex;
            height: 0;
            min-height: 0;
            margin: 0;
            padding: 0;
            overflow: hidden;
            align-self: start;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk {
            grid-row: 1;
        }
    }

    @container ttcard (min-width: 895px) {
        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box {
            grid-template-columns: repeat(3, minmax(255px, 1fr));
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-basics {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-relatie {
            grid-column: 3;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werk,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box > .group-werk {
            grid-column: 3;
            grid-row: 2;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk {
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-relatie,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-relatie {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-werk,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-werk {
            grid-column: 3;
            grid-row: 1;
        }
    }

    @container ttcard (min-width: 1059px) {
        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box {
            grid-template-columns: repeat(3, minmax(255px, 1fr));
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werknemer {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-basics,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-basics {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-relatie {
            grid-column: 3;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werk,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box > .group-werk {
            grid-column: 3;
            grid-row: 2;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-relatie:empty) > .group-werk {
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-basics {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-relatie,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-relatie {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-werk,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:not(:has(> .group-werknemer)) > .group-werk {
            grid-column: 3;
            grid-row: 1;
        }
    }

    @container ttcard (min-width: 1166px) {
        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer),
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) {
            grid-template-columns: repeat(4, minmax(255px, 1fr));
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werknemer,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werknemer {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-basics,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-basics {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-relatie,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-relatie {
            grid-column: 3;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werk,
        body.pa-desktop-app .tt-list-card:not(.has-finance):not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werk {
            grid-column: 4;
            grid-row: 1;
        }
    }

    @container ttcard (min-width: 1330px) {
        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer),
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) {
            grid-template-columns: repeat(4, minmax(255px, 1fr));
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werknemer,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werknemer {
            grid-column: 1;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-basics,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-basics {
            grid-column: 2;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-relatie,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-relatie {
            grid-column: 3;
            grid-row: 1;
        }

        body.tt-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werk,
        body.pa-desktop-app .tt-list-card.has-finance:not(.tt-list-shift-slot) > .tt-row-box:has(> .group-werknemer) > .group-werk {
            grid-column: 4;
            grid-row: 1;
        }
    }

    .hoursentry-form .tt-popup-card {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
    }

    .hoursentry-form .tt-row-box {
        flex: 1 1 260px;
    }

    .hoursentry-form .tt-row-box .inputFields,
    .hoursentry-form .tt-row-box input.tt-time-24,
    .hoursentry-form .inputFields:hover,
    .hoursentry-form .inputFields:focus,
    .tt-daypick .inputFields,
    .tt-daypick .inputFields:hover,
    .tt-daypick .inputFields:focus {
        margin: 1px;
        box-sizing: border-box;
    }

    .hoursentry-form .tt-row-box .inputFields,
    .hoursentry-form .tt-row-box input.tt-time-24 {
        border: 0;
        border-bottom: 1px solid #c5c5c5;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        height: 32px;
        min-height: 32px;
    }

    .hoursentry-form .tt-row-box .inputFields:hover,
    .hoursentry-form .tt-row-box .inputFields:focus,
    .hoursentry-form .tt-row-box input.tt-time-24:hover,
    .hoursentry-form .tt-row-box input.tt-time-24:focus {
        border-width: 0 0 1px 0;
        border-style: solid;
        border-color: #ff1900;
    }

    .hoursentry-form .tt-row-box select.inputFields:hover,
    .hoursentry-form .tt-row-box select.inputFields:focus,
    .hoursentry-form .tt-row-box textarea.inputFields:hover,
    .hoursentry-form .tt-row-box textarea.inputFields:focus,
    .hoursentry-form .tt-row-box input[type="color"].inputFields:hover,
    .hoursentry-form .tt-row-box input[type="color"].inputFields:focus {
        border-width: 1px;
        border-style: solid;
        border-color: #ff1900;
    }

    .tt-daypick .inputFields:hover,
    .tt-daypick .inputFields:focus {
        border-width: 1px;
        border-color: #ff1900;
    }

    .hoursentry-form .tt-row-box select.inputFields,
    .hoursentry-form .tt-row-box textarea.inputFields {
        border: 1px solid #eeeeee;
        border-radius: 4px;
        background: #fff;
    }

    .hoursentry-form .tt-row-box textarea.inputFields {
        height: auto;
        min-height: 72px;
    }

    .hoursentry-form .tt-row-box input[type="color"].inputFields,
    body.tt-desktop-app .hoursentry-form .tt-row-box input[type="color"].inputFields,
    body.pa-desktop-app .hoursentry-form .tt-row-box input[type="color"].inputFields {
        -webkit-appearance: auto;
        appearance: auto;
        border: 1px solid #eeeeee;
        border-radius: 4px;
        background: #fff;
        width: 48px;
        max-width: 48px;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        padding: 2px;
        box-sizing: border-box;
        cursor: pointer;
    }

    .hoursentry-form .tt-row-box input[type="color"].inputFields::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    .hoursentry-form .tt-row-box input[type="color"].inputFields::-webkit-color-swatch {
        border: 0;
        border-radius: 2px;
    }

    .hoursentry-form .tt-row-actions {
        flex: 1 1 100%;
    }

    body.tt-desktop-app .hoursentry-overlay,
    body.pa-desktop-app .hoursentry-overlay {
        align-items: center;
    }

    body.tt-desktop-app .hoursentry-form:not(.mail-select-form),
    body.pa-desktop-app .hoursentry-form:not(.mail-select-form) {
        max-width: min(760px, calc(100vw - 32px));
        max-height: calc(100vh - 48px);
        overflow: auto;
    }

    body.tt-desktop-app .hoursentry-form .tt-popup-card,
    body.pa-desktop-app .hoursentry-form .tt-popup-card {
        align-items: flex-start;
        min-width: 0;
    }

    body.tt-desktop-app #planningFields .tt-popup-card,
    body.pa-desktop-app #planningFields .tt-popup-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        column-gap: 16px;
        row-gap: 12px;
    }

    body.tt-desktop-app #planningFields .tt-popup-badge,
    body.pa-desktop-app #planningFields .tt-popup-badge {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    body.tt-desktop-app #planningFields .tt-row-box,
    body.pa-desktop-app #planningFields .tt-row-box {
        grid-column: 2;
        grid-row: 1;
        max-width: none;
    }

    body.tt-desktop-app #planningFields .tt-popup-card > .hoursentry-actions,
    body.pa-desktop-app #planningFields .tt-popup-card > .hoursentry-actions {
        grid-column: 1 / -1;
    }

    body.tt-desktop-app #hoursEntryFields .tt-popup-card,
    body.pa-desktop-app #hoursEntryFields .tt-popup-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        column-gap: 16px;
        row-gap: 12px;
    }

    body.tt-desktop-app #hoursEntryFields .tt-popup-badge,
    body.pa-desktop-app #hoursEntryFields .tt-popup-badge {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    body.tt-desktop-app #hoursEntryFields .tt-popup-main,
    body.pa-desktop-app #hoursEntryFields .tt-popup-main {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    body.tt-desktop-app #hoursEntryFields .tt-row-box,
    body.pa-desktop-app #hoursEntryFields .tt-row-box {
        max-width: none;
    }

    body.tt-desktop-app #hoursEntryOverlay .hoursentry-form > h2,
    body.pa-desktop-app #hoursEntryOverlay .hoursentry-form > h2 {
        display: none;
    }

    body.tt-desktop-app #hoursEntryOverlay .tt-popup-main > h2,
    body.pa-desktop-app #hoursEntryOverlay .tt-popup-main > h2 {
        display: block;
        margin: 0 40px 12px 0;
        min-height: 28px;
        font-size: 16px;
        font-weight: 600;
        line-height: 28px;
        color: #2f2e30;
    }

    #hoursEntryOverlay .tt-popup-main > h2 {
        display: none;
    }

    body.tt-desktop-app #hoursEntryOverlay .tt-popup-main > .hoursentry-actions.tt-row-actions,
    body.pa-desktop-app #hoursEntryOverlay .tt-popup-main > .hoursentry-actions.tt-row-actions,
    #hoursEntryOverlay .tt-popup-main > .hoursentry-actions.tt-row-actions {
        justify-content: flex-end;
        width: 100%;
        margin-top: 16px;
    }

    #hoursEntryOverlay .hoursentry-actions #hoursDayButton {
        margin-right: 0;
    }

    body.tt-phone-app #hoursEntryFields .tt-popup-badge,
    body.pa-phone-app #hoursEntryFields .tt-popup-badge {
        display: none;
    }

    body.tt-phone-app #hoursEntryFields .tt-popup-badge.has-range,
    body.pa-phone-app #hoursEntryFields .tt-popup-badge.has-range {
        display: flex;
    }

    body.tt-phone-app #hoursEntryFields .tt-popup-card,
    body.pa-phone-app #hoursEntryFields .tt-popup-card {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    body.tt-phone-app #hoursEntryFields .tt-row-box,
    body.pa-phone-app #hoursEntryFields .tt-row-box {
        flex: 1 1 auto;
        width: 100%;
    }

    body.tt-phone-app #planningFields .tt-popup-card,
    body.pa-phone-app #planningFields .tt-popup-card {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    body.tt-phone-app #planningFields .tt-row-box,
    body.pa-phone-app #planningFields .tt-row-box {
        flex: 1 1 auto;
        width: 100%;
    }

    body.tt-desktop-app .hoursentry-form .tt-popup-badge,
    body.pa-desktop-app .hoursentry-form .tt-popup-badge,
    .hoursentry-form .tt-popup-badge {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        flex: 0 0 auto;
    }

    .hoursentry-form .tt-popup-badge-sep {
        align-self: center;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
        color: #2f2e30;
    }

    body.tt-desktop-app .hoursentry-form .tt-row-box,
    body.pa-desktop-app .hoursentry-form .tt-row-box {
        display: grid;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 16px;
        align-items: start;
    }

    body.tt-desktop-app .hoursentry-form .tt-row-box > .field,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .field,
    body.tt-desktop-app .hoursentry-form .tt-row-box > .planning-pair,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .planning-pair,
    body.tt-desktop-app .hoursentry-form .tt-row-box > .planning-quad,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .planning-quad {
        margin: 0;
        min-width: 0;
        max-width: 100%;
    }

    body.tt-desktop-app .hoursentry-form .tt-row-box > .planning-pair,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .planning-pair,
    body.tt-desktop-app .hoursentry-form .tt-row-box > .planning-quad,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .planning-quad,
    body.tt-desktop-app .hoursentry-form .tt-row-box > .field[data-label="Omschrijving:"],
    body.pa-desktop-app .hoursentry-form .tt-row-box > .field[data-label="Omschrijving:"],
    body.tt-desktop-app .hoursentry-form .tt-row-box > .field[data-label="Werkinstructies:"],
    body.pa-desktop-app .hoursentry-form .tt-row-box > .field[data-label="Werkinstructies:"],
    body.tt-desktop-app .hoursentry-form .tt-row-box > .field[data-label="Dagen:"],
    body.pa-desktop-app .hoursentry-form .tt-row-box > .field[data-label="Dagen:"],
    body.tt-desktop-app .hoursentry-form .tt-row-box > .tt-daypick-field,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .tt-daypick-field,
    body.tt-desktop-app .hoursentry-form .tt-row-box > .tt-shift-day-row,
    body.pa-desktop-app .hoursentry-form .tt-row-box > .tt-shift-day-row {
        grid-column: 1 / -1;
    }

    .hoursentry-form .tt-shift-day-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 16px;
        align-items: end;
        min-width: 0;
    }

    .hoursentry-form .tt-shift-day-row:not(:has(.tt-daypick-field)) {
        grid-template-columns: minmax(0, 1fr);
    }

    .hoursentry-form .tt-shift-day-row .tt-text-btn {
        width: 100%;
        box-sizing: border-box;
    }

    body.tt-desktop-app .hoursentry-form .tt-row-box .inputFields,
    body.pa-desktop-app .hoursentry-form .tt-row-box .inputFields,
    body.tt-desktop-app .hoursentry-form .tt-row-box input.tt-time-24,
    body.pa-desktop-app .hoursentry-form .tt-row-box input.tt-time-24,
    body.tt-desktop-app .hoursentry-form .tt-row-box select.inputFields,
    body.pa-desktop-app .hoursentry-form .tt-row-box select.inputFields,
    body.tt-desktop-app .hoursentry-form .tt-row-box textarea.inputFields,
    body.pa-desktop-app .hoursentry-form .tt-row-box textarea.inputFields {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.tt-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy,
    body.pa-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy,
    body.tt-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy:hover,
    body.pa-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy:hover,
    body.tt-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy:focus,
    body.pa-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy:focus,
    body.tt-phone-app .hoursentry-form input.inputFields.tt-date-yy:hover,
    body.pa-phone-app .hoursentry-form input.inputFields.tt-date-yy:hover,
    body.tt-phone-app .hoursentry-form input.inputFields.tt-date-yy:focus,
    body.pa-phone-app .hoursentry-form input.inputFields.tt-date-yy:focus {
        width: 7.6em;
        min-width: 7.6em;
        max-width: 7.6em;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        margin: 0;
        padding: 0 2px;
        box-sizing: border-box;
        border-width: 0 0 1px 0;
    }

    .tt-popup-fixed {
        line-height: 1.4;
        color: #2f2e30;
        min-height: 0;
    }

    .tt-popup-date-line {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        min-width: 0;
    }

    .hoursentry-form .tt-popup-date-line input[name="date_popup"],
    body.tt-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-line input[name="date_popup"],
    body.pa-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-line input[name="date_popup"] {
        width: 148px;
        max-width: 148px;
        flex: 0 0 148px;
    }

    .hoursentry-form .tt-row-box input.inputFields:read-only:not([type="color"]),
    .hoursentry-form .tt-row-box textarea.inputFields:read-only,
    .hoursentry-form .tt-row-box select.inputFields:disabled,
    body.tt-desktop-app .hoursentry-form .tt-row-box input.inputFields:read-only:not([type="color"]),
    body.pa-desktop-app .hoursentry-form .tt-row-box input.inputFields:read-only:not([type="color"]),
    body.tt-desktop-app .hoursentry-form .tt-row-box textarea.inputFields:read-only,
    body.pa-desktop-app .hoursentry-form .tt-row-box textarea.inputFields:read-only,
    body.tt-desktop-app .hoursentry-form .tt-row-box select.inputFields:disabled,
    body.pa-desktop-app .hoursentry-form .tt-row-box select.inputFields:disabled,
    body.tt-phone-app .hoursentry-form input.inputFields:read-only:not([type="color"]),
    body.pa-phone-app .hoursentry-form input.inputFields:read-only:not([type="color"]),
    body.tt-phone-app .hoursentry-form textarea.inputFields:read-only,
    body.pa-phone-app .hoursentry-form textarea.inputFields:read-only,
    body.tt-phone-app .hoursentry-form select.inputFields:disabled,
    body.pa-phone-app .hoursentry-form select.inputFields:disabled {
        border: 0;
        border-radius: 0;
        background: transparent;
        background-image: none;
        box-shadow: none;
        appearance: none;
        -webkit-appearance: none;
        opacity: 1;
        color: #2f2e30;
        -webkit-text-fill-color: #2f2e30;
        cursor: default;
        padding: 0;
        height: auto;
        min-height: 0;
        max-height: none;
        line-height: 1.4;
        resize: none;
        outline: none;
    }

    .hoursentry-form input.inputFields:read-only::-webkit-calendar-picker-indicator,
    .hoursentry-form select.inputFields:disabled::-webkit-calendar-picker-indicator {
        display: none;
    }

    .hoursentry-form .tt-popup-date-line input[name="date_popup"]:read-only::-webkit-datetime-edit {
        padding: 0;
        line-height: 1.4;
    }

    .hoursentry-form .tt-popup-date-line input[name="date_popup"]:read-only,
    body.tt-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-line input[name="date_popup"]:read-only,
    body.pa-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-line input[name="date_popup"]:read-only,
    body.tt-phone-app .hoursentry-form .tt-popup-date-line input[name="date_popup"]:read-only,
    body.pa-phone-app .hoursentry-form .tt-popup-date-line input[name="date_popup"]:read-only {
        width: auto;
        max-width: none;
        flex: 0 1 auto;
        pointer-events: none;
    }

    .hoursentry-form input.tt-date-yy-value {
        display: none;
    }

    body.tt-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy:read-only:not([type="color"]),
    body.pa-desktop-app .hoursentry-form .tt-row-box input.inputFields.tt-date-yy:read-only:not([type="color"]),
    body.tt-phone-app .hoursentry-form input.inputFields.tt-date-yy:read-only:not([type="color"]),
    body.pa-phone-app .hoursentry-form input.inputFields.tt-date-yy:read-only:not([type="color"]) {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        line-height: 32px;
        padding: 0 2px;
        margin: 0;
    }

    .hoursentry-form .tt-popup-date-field.is-range::before {
        content: none;
        display: none;
        margin: 0;
    }

    .hoursentry-form .tt-popup-date-field.is-range .tt-popup-date-line {
        padding-right: 56px;
    }

    .hoursentry-form .tt-popup-date-van:not([data-label="van"])::before {
        content: none;
        display: none;
        margin: 0;
    }

    .hoursentry-form .tt-popup-date-line > .field {
        flex: 0 0 auto;
        min-width: 0;
        margin: 0;
    }

    .hoursentry-form .tt-popup-main {
        flex: 1 1 260px;
        min-width: 0;
        width: 100%;
    }

    .hoursentry-form .tt-popup-date-field.is-range .tt-popup-date-line input[name="date_popup"],
    .hoursentry-form .tt-popup-date-field.is-range .tt-popup-date-line input[name="enddate_popup"],
    body.tt-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-field.is-range .tt-popup-date-line input[name="date_popup"],
    body.pa-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-field.is-range .tt-popup-date-line input[name="date_popup"],
    body.tt-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-field.is-range .tt-popup-date-line input[name="enddate_popup"],
    body.pa-desktop-app .hoursentry-form .tt-row-box .tt-popup-date-field.is-range .tt-popup-date-line input[name="enddate_popup"] {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
    }

    .hoursentry-form .tt-popup-date-field {
        position: relative;
    }

    #hoursEntryFields .tt-popup-date-van {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
        white-space: nowrap;
    }

    #hoursEntryFields .tt-popup-date-field.is-shield-date:not(.is-range)::before {
        content: none;
        display: none;
        margin: 0;
    }

    #hoursEntryFields .tt-popup-date-field.is-shield-date:not(.is-range) {
        min-height: 44px;
    }

    .hoursentry-form .tt-popup-date-field > .tt-popup-date-line > .tt-popup-portrait {
        position: absolute;
        top: 0;
        right: 0;
        margin-left: 0;
    }

    .tt-popup-portrait {
        flex: 0 0 auto;
        margin-left: auto;
        display: flex;
        align-items: flex-start;
    }

    .tt-popup-portrait .tt-week-cal-usericon,
    .tt-popup-portrait .tt-user-photo {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        border-width: 3px;
        border-style: solid;
        box-sizing: border-box;
        font-size: 20px;
        line-height: 38px;
        overflow: hidden;
    }

    .tt-popup-portrait .tt-week-cal-usericon.tt-user-initials {
        font-size: 16px;
        line-height: 1;
    }

    .tt-list-shift-group .tt-list-card {
        margin-bottom: 6px;
    }

    #submittedBody .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-card,
    #entriesBody .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-card,
    body.tt-phone-app .tt-list-shift-group .time-entry-row.tt-list-shift-slot.tt-list-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "place place" "person actions";
        align-items: center;
        gap: 4px 8px;
        width: 100%;
        max-width: 100%;
        margin: 6px 0;
        padding: 8px 10px;
        border: 0;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: none;
    }

    body.tt-desktop-app #submittedBody .tt-list-shift-group .tt-list-shift-slots > .time-entry-row.tt-list-shift-slot.tt-list-card,
    body.pa-desktop-app #submittedBody .tt-list-shift-group .tt-list-shift-slots > .time-entry-row.tt-list-shift-slot.tt-list-card {
        width: auto;
        flex: 1 1 260px;
        margin: 0;
    }
    #monthCalendarView {
        display: flex;
        flex-direction: column;
        min-height: 0;
        flex: 1 1 auto;
        width: 100%;
    }

    #monthCalendarView .tt-month-dow,
    #monthCalendarView .tt-month-grid {
        display: grid;
        grid-template-columns: 32px repeat(7, minmax(0, 1fr));
    }

    #monthCalendarView .tt-month-dow {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        border-bottom: 1px solid #ececec;
    }

    #monthCalendarView .tt-month-dow span {
        text-align: right;
        padding: 4px 6px 6px;
        font-size: 12px;
        color: #8a8a8a;
    }

    #monthCalendarView .tt-month-scroll {
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-height: 0;
    }

    #monthCalendarView .tt-month-section {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    #monthCalendarView .tt-month-grid {
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        grid-template-rows: repeat(var(--tt-month-weeks, 6), minmax(0, 1fr));
    }

    #monthCalendarView .tt-month-cell {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        overflow: hidden;
        border-top: 1px solid #ececec;
        border-left: 1px solid #f3f3f3;
        padding: 2px 3px 4px;
        box-sizing: border-box;
        background: #fff;
    }

    #monthCalendarView .tt-month-cell.is-band,
    #monthCalendarView .tt-month-shield.is-band {
        background: #f0f0f0;
    }

    #monthCalendarView .tt-month-head {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 4px;
        min-height: 22px;
    }

    #monthCalendarView .tt-month-absences {
        display: flex;
        gap: 2px;
        min-width: 0;
        overflow: hidden;
    }

    #monthCalendarView .tt-month-avatar {
        display: inline-flex;
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        line-height: 0;
    }

    #monthCalendarView .tt-month-avatar .tt-user-side-icon,
    #monthCalendarView .tt-month-avatar .tt-user-photo,
    #monthCalendarView .tt-month-avatar .tt-user-initials {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        min-width: 16px;
        max-width: 16px;
        min-height: 16px;
        max-height: 16px;
        aspect-ratio: 1;
        font-size: 7px;
        line-height: 1;
        letter-spacing: 0;
        padding: 0;
        border-width: 1px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
    }

    #monthCalendarView .tt-month-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

    #monthCalendarView .tt-month-add {
        display: none;
        margin-left: auto;
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        padding: 0;
        border: 1px solid #ff1900;
        border-radius: 4px;
        background: #ffd6d6;
        color: #ff1900;
        font-size: 14px;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
        cursor: pointer;
    }

    #monthCalendarView .tt-month-head:hover .tt-month-add,
    #monthCalendarView .tt-month-add:focus {
        display: block;
    }

    #monthCalendarView .tt-month-head:hover .tt-month-daynum,
    #monthCalendarView .tt-month-head:focus-within .tt-month-daynum {
        margin-left: 2px;
    }

    #monthCalendarView .tt-month-daynum {
        margin-left: auto;
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: inherit;
        font: inherit;
        font-size: 12px;
        line-height: 22px;
        padding: 0;
        cursor: pointer;
    }

    #monthCalendarView .tt-month-daynum:hover {
        background: #ffece8;
    }

    #monthCalendarView .tt-month-cell.is-outside .tt-month-daynum {
        color: #bdbdbd;
    }

    #monthCalendarView .tt-month-daynum.is-today,
    #monthCalendarView .tt-month-daynum.is-today:hover {
        background: #ff1900;
        color: #fff;
    }

    #monthCalendarView .tt-month-lines {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        gap: 2px;
        margin-top: 2px;
        overflow: hidden;
    }

    #monthCalendarView .tt-month-chip,
    #monthCalendarView .tt-month-more,
    #monthCalendarView .tt-month-shield {
        font: inherit;
        cursor: pointer;
    }

    #monthCalendarView .tt-month-chip[hidden],
    #monthCalendarView .tt-month-more[hidden] {
        display: none;
    }

    #monthCalendarView .tt-month-chip {
        position: relative;
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
        min-width: 0;
        border: 0;
        border-left: 3px solid var(--tt-bar, #888);
        border-radius: 5px;
        padding: 1px 4px 1px 5px;
        font-size: 12px;
        line-height: 16px;
        color: #2f2e30;
        text-align: left;
        box-sizing: border-box;
    }

    #monthCalendarView .tt-month-chip.is-hour {
        background: color-mix(in srgb, var(--tt-bar, #ccc) 28%, white);
    }

    #monthCalendarView .tt-month-chip:hover {
        filter: brightness(0.97);
    }

    #monthCalendarView .tt-month-grip {
        position: absolute;
        left: -3px;
        top: 0;
        bottom: 0;
        width: 7px;
        cursor: grab;
        z-index: 2;
    }

    body.tt-month-dragging,
    body.tt-month-dragging .tt-month-grip {
        cursor: grabbing;
    }

    #monthCalendarView .tt-month-warn {
        display: inline-flex;
        flex: 0 0 auto;
        color: #ff1900;
        line-height: 0;
    }

    #monthCalendarView .tt-month-warn .tt-app-icon {
        width: 13px;
        height: 13px;
    }

    #monthCalendarView .tt-month-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    #monthCalendarView .tt-month-time {
        flex: 0 0 auto;
        margin-left: auto;
        color: #666;
        font-variant-numeric: tabular-nums;
    }

    #monthCalendarView .tt-month-more {
        border: 0;
        background: transparent;
        color: #888;
        font-size: 11px;
        line-height: 16px;
        text-align: left;
        padding: 0 4px;
    }

    #monthCalendarView .tt-month-more:hover {
        color: #ff1900;
    }

    #monthCalendarView .tt-month-shield {
        align-self: start;
        justify-self: center;
        margin-top: 4px;
        width: 26px;
        height: 22px;
        border-radius: 6px;
        border: 1px solid #e6e6e6;
        border-top: 1px solid #e6e6e6;
        background: #fff;
        color: #666;
        font-size: 12px;
        font-weight: 600;
        padding: 0;
    }

    #monthCalendarView .tt-month-shield:hover {
        background: #ffece8;
        border-color: #ffc7be;
    }

    .tt-week-daystrip.is-month {
        display: block;
        grid-template-columns: none;
    }

    .tt-month-strip {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
        padding: 2px 4px 8px;
        box-sizing: border-box;
    }

    .tt-month-strip .tt-week-nav-chevron {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        font-size: 20px;
        line-height: 28px;
    }

    .tt-month-strip-title {
        font-size: 22px;
        font-weight: 600;
        line-height: 1.2;
        color: #2f2e30;
        white-space: nowrap;
    }
</style>