:root {
    --ink: #173c31;
    --muted: #63776d;
    --line: #dce9e1;
    --line-strong: #bfd3c7;
    --paper: #fff;
    --wash: #f5faf7;
    --green: #07895f;
    --green-dark: #056b49;
    --green-soft: #e7f8f1;
    --error: #b42318;
    --shadow: 0 12px 32px rgba(19, 73, 52, .08);
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at 88% -8%, #d9f5e6 0, transparent 28rem), #f4f8f5;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    min-height: 100vh;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-header {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(221, 229, 238, .9);
    height: 72px;
    backdrop-filter: blur(14px);
}

.header-inner {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1360px;
    padding: 0 32px;
}

.brand {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: 17px;
    font-weight: 750;
    gap: 10px;
    letter-spacing: -.02em;
    text-decoration: none;
}

.brand img {
    filter: drop-shadow(0 3px 5px rgba(5, 150, 105, .18));
    object-fit: contain;
}

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

.language-label {
    display: block;
}

.language-label select {
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #416154;
    font-size: 13px;
    max-width: 145px;
    padding: 8px 30px 8px 11px;
}

.header-link,
.product-links a {
    color: #35604d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.header-link:hover {
    color: var(--green-dark);
}

main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
    max-width: 1360px;
    padding: 36px 32px 48px;
}

.intro {
    align-items: center;
    background: linear-gradient(118deg, #164c39 0%, #0b7350 59%, #0a9564 145%);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(17, 77, 54, .18);
    color: white;
    display: flex;
    justify-content: space-between;
    min-height: 176px;
    overflow: hidden;
    padding: 32px 36px;
    position: relative;
}

.intro::after {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    content: "";
    height: 265px;
    position: absolute;
    right: -100px;
    top: -130px;
    width: 265px;
}

.intro-copy {
    align-items: center;
    display: flex;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.page-icon {
    align-items: center;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    display: flex;
    font-size: 27px;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.eyebrow,
.step {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.intro .eyebrow {
    color: #97edcf;
}

h1 {
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.16;
    margin: 0;
}

.lead {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0 0;
    max-width: 730px;
}

.intro-badge {
    align-items: center;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 999px;
    display: flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 650;
    gap: 8px;
    margin-left: 24px;
    padding: 10px 14px;
    position: relative;
    z-index: 1;
}

.intro-badge span {
    color: #a5f3d1;
    font-size: 16px;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.form-section {
    background: var(--paper);
    border: 1px solid rgba(221, 229, 238, .9);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.section-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-heading-primary {
    border-bottom: 1px solid #edf1f5;
    padding-bottom: 20px;
}

.section-heading h2,
.product-copy h2 {
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.025em;
    margin: 0;
}

.shifts-heading {
    margin: 0 0 20px;
}

.field-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(240px, 2fr) repeat(2, minmax(160px, 1fr));
    max-width: 980px;
}

label {
    color: #244b3a;
    display: grid;
    font-size: 13px;
    font-weight: 720;
    gap: 8px;
}

input,
textarea,
select {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: var(--ink);
    min-width: 0;
    outline: none;
    padding: 11px 12px;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

input:hover,
textarea:hover,
select:hover {
    border-color: #9cb0c4;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, .13);
}

textarea {
    resize: vertical;
}

.report-settings {
    background: var(--wash);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 20px;
    padding: 13px 15px;
}

.toggle-control {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 650;
    gap: 9px;
}

.toggle-control input {
    accent-color: var(--green);
    height: 19px;
    margin: 0;
    padding: 0;
    width: 19px;
}

.format-control {
    background: #edf3f6;
    border-radius: 11px;
    display: flex;
    padding: 4px;
}

.format-control label {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    transition: background .18s, box-shadow .18s;
}

.format-control label:has(input:checked) {
    background: white;
    box-shadow: 0 2px 6px rgba(17, 45, 75, .12);
    color: var(--green-dark);
}

.format-control input {
    accent-color: var(--green);
    margin: 0;
    padding: 0;
}

.secondary-button,
.text-button,
.icon-button,
.primary-button {
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}

.secondary-button {
    background: #eff8f5;
    border: 1px solid #c8eadc;
    border-radius: 10px;
    color: var(--green-dark);
    font-size: 13px;
    padding: 9px 13px;
}

.secondary-button:hover {
    background: #ddf3e9;
    transform: translateY(-1px);
}

.text-button {
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    padding: 9px;
}

.text-button:hover {
    color: var(--ink);
}

.icon-button {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #39516c;
    font-size: 24px;
    height: 42px;
    line-height: 1;
    padding: 0;
    width: 42px;
}

.icon-button:hover {
    border-color: #a8bbca;
    box-shadow: 0 3px 9px rgba(17, 45, 75, .1);
    transform: translateY(-1px);
}

.month-picker {
    align-items: center;
    display: flex;
    gap: 8px;
}

.month-picker input {
    background: var(--wash);
    font-weight: 650;
    padding: 9px 10px;
    text-align: center;
    width: 190px;
}

.month-display-control {
    display: block;
    position: relative;
}

.month-picker .month-value-input {
    cursor: pointer;
    inset: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.table-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 0 14px;
}

.table-toolbar p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.table-toolbar p span {
    color: #91a0b2;
    display: block;
    font-size: 11px;
    margin-top: 3px;
}

.quick-type-picker {
    align-items: center;
    background: #f5faf7;
    border: 1px solid #dcebe2;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 14px;
    padding: 10px 12px;
}

.quick-type-picker>span {
    color: #526f60;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.quick-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.quick-type-button {
    background: white;
    border: 1px solid #d2e4d9;
    border-radius: 999px;
    color: #3d6652;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    transition: background .16s, border-color .16s, color .16s, transform .16s;
}

.quick-type-button:hover {
    background: #e7f8f1;
    border-color: #9ad9c0;
    color: var(--green-dark);
    transform: translateY(-1px);
}

.quick-type-button.is-active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.work-table-wrap {
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    contain: paint;
    max-width: 100%;
    overflow: auto;
}

.work-table {
    border-collapse: collapse;
    font-size: 13px;
    min-width: 1000px;
    width: 100%;
}

.work-table th,
.work-table td {
    border-bottom: 1px solid #edf2f6;
    padding: 12px 10px;
    text-align: left;
}

.work-table thead th {
    background: #f2f6f9;
    color: #60738a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .055em;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 1;
}

.work-table tbody tr {
    background: white;
    transition: background .14s;
}

.work-table tbody tr:hover {
    background: #f9fcfb;
}

.work-table tbody tr.saturday {
    background: #f3f9ff;
}

.work-table tbody tr.sunday {
    background: #e8f5ff;
}

.work-table tbody tr.today {
    background: #e8f8df;
}

.work-table tbody tr:not(.enabled) {
    color: #94a3b8;
}

.work-table input,
.work-table select {
    border-radius: 8px;
    padding: 8px;
    width: 92px;
}

.work-table select {
    background: white;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    min-width: 150px;
}

.work-table .day-start,
.work-table .day-end {
    width: 110px;
}

.work-table input[type="checkbox"] {
    accent-color: var(--green);
    height: 18px;
    padding: 0;
    width: 18px;
}

.work-table .day-note {
    display: block;
    margin-inline: auto;
    min-width: 125px;
    text-align: center;
    width: 100%;
}

.work-table th:nth-child(9),
.work-table td:nth-child(9) {
    text-align: center;
}

.work-table input:disabled,
.work-table select:disabled {
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
}

.work-table .include-column {
    padding-left: 11px;
    padding-right: 2px;
    width: 28px;
}

.table-input-label {
    display: inline;
}

.day-label {
    min-width: 92px;
    white-space: nowrap;
}

.day-label span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 450;
    margin-top: 2px;
}

.day-cell {
    min-width: 122px;
}

.add-entry {
    align-items: center;
    background: #eff8f3;
    border: 1px solid #c6e5d4;
    border-radius: 7px;
    color: var(--green-dark);
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 4px;
    margin-top: 7px;
    padding: 5px 7px;
    white-space: nowrap;
}

.add-entry:hover:not(:disabled) {
    background: #dff3e7;
}

.add-entry:disabled {
    color: #94a3b8;
    cursor: default;
}

.remove-entry {
    background: transparent;
    border: 0;
    color: #64748b;
    cursor: pointer;
    font-size: 22px;
    padding: 2px 7px;
}

.remove-entry:hover {
    color: var(--error);
}

.record-row.repeated .include-column {
    visibility: hidden;
}

.record-row.repeated .day-label,
.record-row.repeated .add-entry {
    display: none;
}

.record-row:not(.repeated) .remove-entry {
    visibility: hidden;
}

.day-worked,
.day-overtime {
    color: var(--green-dark);
    font-weight: 800;
    white-space: nowrap;
}

.unit {
    color: var(--muted);
    font-size: 11px;
    margin-left: 4px;
}

.work-table tfoot td {
    background: #f7fbf9;
    border-bottom: 0;
    border-top: 1px solid #c6e5d4;
    font-weight: 600;
    position: sticky;
    bottom: 0;
}

.work-table tfoot td:first-child {
    text-align: left;
}

.report-total-row {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 48px;
    position: relative;
}

.report-total-label {
    left: 0;
    position: absolute;
}

.summary-metrics {
    align-items: center;
    display: flex;
    gap: 72px;
    justify-content: center;
}

.total-metric {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    white-space: nowrap;
}

.total-label {
    color: #567064;
    font-size: 12px;
    font-weight: 600;
}

.total-metric .total-value {
    color: var(--green-dark);
    font-size: 16px;
    margin-left: 4px;
}

#overtime-total.is-positive .total-value {
    color: #087443;
}

#overtime-total.is-negative .total-value {
    color: #b42332;
}

.sr-only {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.primary-button {
    align-items: center;
    background: linear-gradient(135deg, #079b72, #047857);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(5, 150, 105, .2);
    color: white;
    display: flex;
    font-size: 14px;
    gap: 20px;
    height: 46px;
    justify-content: space-between;
    padding: 0 18px;
}

.primary-button:hover {
    box-shadow: 0 11px 20px rgba(5, 150, 105, .28);
    transform: translateY(-1px);
}

.primary-button:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.form-actions {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
    padding: 16px 18px;
}

.form-message {
    border-radius: 10px;
    display: none;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 16px;
}

.form-message.success,
.form-message.error {
    display: block;
}

.form-message.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-message.error {
    background: #fff3f2;
    border: 1px solid #fecaca;
    color: var(--error);
}

.trust-strip {
    align-items: center;
    color: #52667d;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px 20px;
    padding: 0 6px;
}

.trust-strip span {
    align-items: center;
    display: flex;
    gap: 7px;
}

.trust-strip strong {
    color: var(--green-dark);
}

.trust-strip a {
    color: #52667d;
    margin-left: auto;
    text-underline-offset: 3px;
}

.remember-draft {
    align-items: center;
    color: #52667d;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 500;
    gap: 7px;
}

.remember-draft input {
    accent-color: var(--green);
    height: 16px;
    margin: 0;
    padding: 0;
    width: 16px;
}

.post-download-cta {
    align-items: center;
    background: linear-gradient(100deg, #e7f8f1, #f8fcfa);
    border: 1px solid #bce8d6;
    border-radius: 18px;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 24px;
}

.post-download-cta[hidden] {
    display: none;
}

.post-download-cta h2 {
    font-size: 20px;
    margin: 0;
}

.post-download-cta p:not(.eyebrow) {
    color: #475e71;
    font-size: 14px;
    line-height: 1.5;
    margin: 6px 0 0;
    max-width: 680px;
}

.post-download-cta .app-link {
    background: var(--green);
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 15px;
    text-decoration: none;
}

.product-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-promo-strip {
    align-items: stretch;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
}

.product-promo-strip .product-panel {
    background: var(--paper);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    height: 100%;
    position: relative;
}

.product-promo-strip .product-content {
    flex: 1;
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-content {
    align-items: center;
    display: grid;
    grid-template-columns: 235px 1fr;
    min-height: 255px;
}

.product-panel picture {
    align-self: stretch;
    align-items: center;
    background: linear-gradient(180deg, #9ddfb9 0%, #d4f1df 42%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    justify-content: center;
    min-height: 100%;
    overflow: hidden;
}

.product-panel img {
    display: block;
    height: 290px;
    margin: 0 auto;
    max-width: 90%;
    object-fit: contain;
    object-position: center;
}

.product-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 30px 34px;
}

.product-copy p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
}

.social-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 16px;
}

.social-proof span {
    color: var(--muted);
    font-size: 13px;
}

.social-proof strong {
    color: var(--ink);
    font-size: 17px;
}

.store-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.store-links a {
    display: block;
    height: 40px;
    transition: transform .16s;
}

.store-links a:hover {
    transform: translateY(-2px);
}

.store-links img {
    display: block;
    height: 40px;
    max-width: 136px;
    object-fit: contain;
}

.product-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.product-links .secondary-link {
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 10px 14px;
}

.product-links .app-link {
    background: var(--green);
    border-radius: 10px;
    color: white;
    padding: 11px 14px;
}

.product-links .app-link:hover {
    background: var(--green-dark);
}

.working-people-panel {
    background: linear-gradient(128deg, #13283d, #1d4d67 62%, #147b72);
    border-radius: 0;
    color: #fff;
    display: grid;
    grid-template-columns: 250px 1fr;
    margin-top: 0;
    min-height: 270px;
    overflow: hidden;
}

.working-people-device {
    align-items: center;
    background: radial-gradient(circle at 50% 30%, rgba(69, 211, 180, .38), transparent 65%);
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0 10px;
}

.working-people-device img {
    display: block;
    margin: 0;
    max-height: none;
    max-width: 100%;
    object-fit: contain;
}

.working-people-copy {
    padding: 30px 38px;
    position: relative;
}

.working-people-logo {
    float: right;
    opacity: .95;
}

.working-people-copy .eyebrow {
    color: #8de1c3;
}

.working-people-copy h2 {
    font-size: 24px;
    letter-spacing: -.025em;
    margin: 6px 0 8px;
}

.working-people-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, .82);
    line-height: 1.55;
    margin: 0;
    max-width: 650px;
}

.working-people-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    list-style: none;
    margin: 16px 0 20px;
    padding: 0;
}

.working-people-copy li {
    color: #e5fff4;
    font-size: 13px;
}

.working-people-copy li::before {
    color: #71e0b8;
    content: "✓";
    font-weight: 800;
    margin-right: 6px;
}

.working-people-link {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
    color: #134461;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 12px;
    padding: 11px 15px;
    text-decoration: none;
    transition: transform .16s, box-shadow .16s;
}

.working-people-link:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    .product-promo-strip {
        grid-template-columns: 1fr;
    }

    .working-people-panel {
        grid-template-columns: 1fr;
    }

    .working-people-device {
        max-height: 170px;
    }

    .working-people-device img {
        margin: 0;
        max-height: 100%;
    }

    .working-people-copy {
        padding: 25px 22px;
    }
}

.seo-content {
    background: linear-gradient(135deg, #edf9f2, #f9fcfa);
    border: 1px solid #cfe7d8;
    border-radius: 20px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
}

.seo-content>div {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(193, 222, 204, .8);
    border-radius: 14px;
    padding: 24px 26px;
}

.seo-content h2 {
    color: #1d4b38;
    font-size: 20px;
    font-weight: 780;
    letter-spacing: -.02em;
    margin: 0 0 16px;
}

.seo-content p,
.seo-content li {
    color: #526f60;
    font-size: 14px;
    line-height: 1.6;
}

.seo-content ol {
    counter-reset: report-step;
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.seo-content ol li {
    align-items: center;
    background: #f3faf6;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    min-height: 42px;
    padding: 8px 11px;
}

.seo-content ol li::before {
    align-items: center;
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    content: counter(report-step);
    counter-increment: report-step;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 12px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
}

.locale-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    padding: 4px 0 20px;
}

.locale-links a {
    color: #718096;
    font-size: 13px;
    text-decoration: none;
}

.locale-links a:hover,
.locale-links a[aria-current="page"] {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width:1100px) {
    .work-table {
        min-width: 800px;
    }

    .work-table th,
    .work-table td {
        padding-left: 6px;
        padding-right: 6px;
    }

    .work-table input,
    .work-table select {
        width: 80px;
    }

    .work-table select {
        min-width: 120px;
    }

    .work-table .day-start,
    .work-table .day-end {
        width: 96px;
    }

    .work-table .day-note {
        min-width: 100px;
    }

    .work-table .include-column {
        padding-left: 8px;
        width: 25px;
    }

    .day-cell {
        min-width: 108px;
    }
}

@media (max-width:760px) {
    .site-header {
        height: 64px;
    }

    .header-inner,
    main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-actions {
        gap: 9px;
    }

    .header-link {
        font-size: 13px;
    }

    .language-label select {
        max-width: 118px;
    }

    main {
        gap: 18px;
        padding-top: 18px;
    }

    .intro {
        align-items: flex-start;
        border-radius: 17px;
        flex-direction: column;
        min-height: 0;
        padding: 24px 20px;
    }

    .intro-copy {
        align-items: flex-start;
        gap: 13px;
    }

    .page-icon {
        border-radius: 11px;
        flex-shrink: 0;
        height: 42px;
        width: 42px;
    }

    .intro-badge {
        margin-left: 0;
    }

    h1 {
        font-size: 25px;
    }

    .form-section {
        border-radius: 15px;
        padding: 20px 16px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .section-heading:not(.shifts-heading) {
        align-items: flex-start;
        gap: 12px;
    }

    .section-heading-primary {
        flex-direction: column;
    }

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

    .month-picker input {
        width: 132px;
    }

    .table-toolbar {
        align-items: flex-start;
        gap: 10px;
    }

    .table-toolbar>div {
        display: flex;
        flex-shrink: 0;
    }

    .form-actions {
        align-items: stretch;
        border-radius: 13px;
        flex-direction: column;
        padding: 14px;
    }

    .form-actions .primary-button {
        width: 100%;
    }

    .form-actions .g-recaptcha {
        transform-origin: left top;
    }

    .trust-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-strip a {
        margin-left: 0;
    }

    .post-download-cta {
        align-items: flex-start;
        border-radius: 15px;
        flex-direction: column;
    }

    .product-content {
        display: block;
    }

    .product-promo-strip {
        grid-template-columns: 1fr;
    }

    .product-promo-strip .product-panel,
    .product-promo-strip .product-content {
        height: auto;
    }

    .product-panel picture {
        align-items: flex-end;
        display: flex;
        height: 180px;
        min-height: 0;
    }

    .product-panel picture>img {
        height: 174px;
        max-width: 105px;
    }

    .product-copy {
        padding: 24px 20px;
    }

    .seo-content {
        border-radius: 15px;
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }
}

/* Green palette refinements for the report workspace. */
.time-stepper {
    align-items: stretch;
    display: flex;
    position: relative;
}

.time-stepper input {
    padding-right: 37px;
    width: 100%;
}

.currency-selector {
    display: block;
    position: relative;
}

.currency-selector select {
    appearance: none;
    padding-right: 38px;
    width: 100%;
}

.currency-selector::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--green-dark);
    content: "";
    pointer-events: none;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-35%);
}

.time-stepper input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.time-stepper input[type="number"]::-webkit-inner-spin-button,
.time-stepper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.time-stepper-buttons {
    bottom: 1px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 31px;
}

.time-stepper-buttons button {
    align-items: center;
    background: #eff8f3;
    border: 0;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    flex: 1;
    font-size: 14px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background .15s;
}

.time-stepper-buttons button:first-child {
    border-bottom: 1px solid #d7eadf;
}

.time-stepper-buttons button:hover {
    background: #dcefe4;
}

.time-stepper-buttons button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: -2px;
}

.record-type-menu {
    margin-top: 8px;
    position: relative;
}

.record-type-menu summary {
    align-items: center;
    background: #edf8f2;
    border: 1px solid #c6e5d4;
    border-radius: 8px;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    font-size: 11px;
    font-weight: 750;
    gap: 5px;
    justify-content: space-between;
    list-style: none;
    padding: 6px 8px;
    white-space: nowrap;
}

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

.record-type-menu[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.record-type-menu label {
    background: #fff;
    border: 1px solid #c6e5d4;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 18px rgba(14, 71, 48, .15);
    left: 0;
    padding: 6px;
    position: absolute;
    top: 100%;
    z-index: 4;
}

.record-type-menu select {
    border: 0;
    box-shadow: none;
    font-size: 12px;
    min-width: 180px;
    padding: 5px;
    width: 100%;
}

.record-type-menu select:focus {
    box-shadow: none;
}

.record-row.repeated .record-type-menu {
    margin-top: 0;
}

.record-type-trigger {
    align-items: center;
    background: #edf8f2;
    border: 1px solid #c6e5d4;
    border-radius: 8px;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    font-size: 11px;
    font-weight: 750;
    gap: 5px;
    justify-content: space-between;
    padding: 6px 8px;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}

.record-type-trigger:hover {
    background: #dff3e7;
}

.record-type-trigger:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.record-type-menu .day-type {
    display: none;
}

.record-type-options {
    background: #fff;
    border: 1px solid #b8ddc8;
    border-radius: 9px;
    box-shadow: 0 12px 24px rgba(14, 71, 48, .18);
    left: 0;
    max-height: 240px;
    min-width: 205px;
    overflow: auto;
    padding: 5px;
    position: absolute;
    top: calc(100% + 5px);
    z-index: 60;
}

.record-type-options[hidden] {
    display: none;
}

.record-type-option {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #315947;
    cursor: pointer;
    display: block;
    font-size: 12px;
    padding: 7px 8px;
    text-align: left;
    width: 100%;
}

.record-type-option:hover,
.record-type-option.is-active {
    background: #e6f6ed;
    color: var(--green-dark);
}

.record-type-option.is-active {
    font-weight: 750;
}

.record-type-separator {
    background: #dcebe2;
    display: block;
    height: 1px;
    margin: 4px 3px;
}

.record-type-trigger[data-record-type="1"],
.record-type-trigger[data-record-type="4"] {
    background: #e4f6ec;
    border-color: #92d3ad;
    color: #076946;
}

.record-type-trigger[data-record-type="5"],
.record-type-trigger[data-record-type="7"] {
    background: #e5f5ef;
    border-color: #9acdb9;
    color: #136748;
}

.record-type-trigger[data-record-type="2"],
.record-type-trigger[data-record-type="3"] {
    background: #fff3df;
    border-color: #edc77e;
    color: #9a6300;
}

.record-type-trigger[data-record-type="6"] {
    background: #eef1f3;
    border-color: #cbd3d8;
    color: #53616a;
}

.record-type-trigger[data-record-type="9"] {
    background: #f2ebfa;
    border-color: #cdb9e5;
    color: #70449a;
}

.custom-type-name {
    margin-top: 6px;
}

.custom-type-name[hidden] {
    display: none;
}

.custom-type-name input {
    border-color: #9fcfb2;
    font-size: 12px;
    padding: 7px 8px;
    width: 100%;
}

.day-modifiers {
    margin-top: 7px;
    position: relative;
}

.day-modifiers summary {
    color: #587164;
    cursor: pointer;
    font-size: 11px;
    list-style: none;
    white-space: nowrap;
}

.day-modifiers summary::-webkit-details-marker {
    display: none;
}

.day-modifier-options {
    background: #fff;
    border: 1px solid #c7dfd0;
    border-radius: 9px;
    box-shadow: 0 12px 24px rgba(14, 71, 48, .16);
    left: 0;
    min-width: 230px;
    padding: 8px;
    position: absolute;
    top: calc(100% + 5px);
    z-index: 6;
}

.day-modifier-options label {
    align-items: center;
    color: #355848;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    gap: 7px;
    padding: 5px;
}

.day-modifier-options label:hover {
    background: #edf8f2;
    border-radius: 5px;
}

.day-modifier {
    accent-color: #07895f;
    height: 15px;
    margin: 0;
    width: 15px;
}

.format-control {
    background: #eaf4ee;
}

.icon-button {
    color: #35604d;
}

.icon-button:hover {
    border-color: #9fc6af;
    box-shadow: 0 3px 9px rgba(21, 83, 57, .1);
}

.work-table thead th {
    background: #eef6f1;
    color: #567664;
}

.work-table tbody tr.saturday {
    background: #f3f9ff;
}

.work-table tbody tr.sunday {
    background: #e8f5ff;
}

.work-table tbody tr.today {
    background: #ddf3cf;
}

.work-table tfoot td {
    background: #e7f5ec;
}

.trust-strip,
.trust-strip a,
.remember-draft,
.seo-content p,
.seo-content li {
    color: #526f60;
}

.post-download-cta p:not(.eyebrow) {
    color: #496756;
}

.locale-links a {
    color: #6e8979;
}

/* Match the selected record-type badges in the timer (Bootstrap btn-primary). */
/* Use the same row-color language as the timer: unpaid leave is grey and illness is green. */
.record-type-trigger,
.record-type-trigger[data-record-type="0"] {
    background: #f8faf9;
    border-color: #dce6df;
    color: #395447;
}

.work-table tbody tr.enabled[data-record-type="0"] {
    background: #fff;
}

.record-type-trigger[data-record-type="1"] {
    background: #e7e7e7;
    border-color: #cfcfcf;
    color: #404040;
}

.work-table tbody tr.enabled[data-record-type="1"] {
    background: #e7e7e7;
}

.record-type-trigger[data-record-type="4"] {
    background: #ccc;
    border-color: #b7b7b7;
    color: #383838;
}

.work-table tbody tr.enabled[data-record-type="4"] {
    background: #ccc;
}

.record-type-trigger[data-record-type="2"],
.record-type-trigger[data-record-type="3"] {
    background: #33cc33;
    border-color: #25ac25;
    color: #103e10;
}

.work-table tbody tr.enabled[data-record-type="2"],
.work-table tbody tr.enabled[data-record-type="3"] {
    background: #dff5df;
}

.record-type-trigger[data-record-type="5"] {
    background: #d9edf7;
    border-color: #b8d7e7;
    color: #275568;
}

.work-table tbody tr.enabled[data-record-type="5"] {
    background: #e8f5fb;
}

.record-type-trigger[data-record-type="6"],
.record-type-trigger[data-record-type="11"] {
    background: #f6f6f6;
    border-color: #d5d5d5;
    color: #555;
}

.work-table tbody tr.enabled[data-record-type="6"],
.work-table tbody tr.enabled[data-record-type="11"] {
    background: #f6f6f6;
}

.record-type-trigger[data-record-type="7"] {
    background: #fff0c9;
    border-color: #e8cf89;
    color: #705a15;
}

.work-table tbody tr.enabled[data-record-type="7"] {
    background: #fff8e6;
}

.record-type-trigger[data-record-type="9"] {
    background: #e9ddf4;
    border-color: #cfb6e0;
    color: #65427e;
}

.work-table tbody tr.enabled[data-record-type="9"] {
    background: #f4eff8;
}

.work-table tbody tr.enabled[data-record-type]:hover {
    filter: brightness(.98);
}

.work-table tbody tr.enabled[data-record-type] td,
.work-table tbody tr.enabled[data-record-type] th {
    border-bottom-color: rgba(0, 0, 0, .08);
}

.work-table tbody tr.enabled.modifier-compensatory {
    background: #ccc;
}

.work-table tbody tr.enabled.modifier-holiday {
    background: #CD96CD;
}

.work-table tbody tr.enabled.modifier-holiday:hover,
.work-table tbody tr.enabled.modifier-compensatory:hover {
    filter: brightness(.97);
}

/* Let an open checkbox menu overlay subsequent rows without growing its own row. */
.work-table-wrap.modifiers-open,
.work-table-wrap.record-types-open,
.work-table-wrap.record-settings-open {
    contain: layout;
    overflow: visible;
}

.day-modifier-options {
    box-shadow: 0 12px 24px rgba(14, 71, 48, .16);
    margin-top: 0;
    min-width: 230px;
    position: absolute;
    width: auto;
}

/* Keep the break value and unit immediately together. */
.break-input {
    align-items: center;
    display: inline-flex;
    gap: 2px;
}

.break-input .unit {
    margin-left: 0;
}

.work-table .day-break {
    padding-left: 6px;
    padding-right: 4px;
    width: 50px;
}

/* Keep time values centred directly under their column headings. */
.work-table th:nth-child(4),
.work-table th:nth-child(5),
.work-table th:nth-child(6),
.work-table th:nth-child(7),
.work-table th:nth-child(8),
.work-table td:nth-child(4),
.work-table td:nth-child(5),
.work-table td:nth-child(6),
.work-table td:nth-child(7),
.work-table td:nth-child(8) {
    text-align: center;
}

.work-table .day-start,
.work-table .day-end,
.work-table .day-break {
    text-align: center;
}

.row-time-stepper {
    border-radius: 8px;
    display: inline-flex;
    overflow: hidden;
    position: relative;
}

.row-time-stepper input {
    padding-left: 25px;
    padding-right: 25px;
}

.row-time-stepper-buttons {
    bottom: 1px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 1px;
    top: 1px;
    transition: opacity .15s;
    width: 22px;
}

.row-time-stepper:hover .row-time-stepper-buttons,
.row-time-stepper:focus-within .row-time-stepper-buttons {
    opacity: 1;
    pointer-events: auto;
}

.row-time-stepper-buttons button {
    align-items: center;
    background: #eff8f3;
    border: 0;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    flex: 1;
    font-size: 13px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-height: 0;
    padding: 0;
    width: 100%;
}

.time-stepper-buttons button::before,
.row-time-stepper-buttons button::before {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: "";
    height: 0;
    width: 0;
}

.time-stepper-buttons button:first-child::before,
.row-time-stepper-buttons button:first-child::before {
    border-bottom: 5px solid currentColor;
}

.time-stepper-buttons button:last-child::before,
.row-time-stepper-buttons button:last-child::before {
    border-top: 5px solid currentColor;
}

.row-time-stepper-buttons button:first-child {
    border-bottom: 1px solid #d7eadf;
}

.row-time-stepper-buttons button:hover {
    background: #dcefe4;
}

.row-time-stepper-buttons button:disabled {
    cursor: default;
    opacity: .45;
}

.work-table .row-time-stepper .day-break {
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
    width: 94px;
}

.work-table .day-break::-webkit-inner-spin-button,
.work-table .day-break::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.work-table .day-break {
    appearance: textfield;
    -moz-appearance: textfield;
}


.record-settings-cell {
    min-width: 50px;
    position: relative;
    text-align: center;
}

.record-settings {
    position: relative;
}

.record-settings>summary {
    align-items: center;
    background: #eff8f3;
    border: 1px solid #c6e5d4;
    border-radius: 8px;
    color: var(--green-dark);
    cursor: pointer;
    display: inline-flex;
    font-size: 17px;
    height: 32px;
    justify-content: center;
    list-style: none;
    width: 32px;
}

.record-settings>summary::-webkit-details-marker {
    display: none;
}

.record-settings[open]>summary {
    background: #dcefe4;
}

.record-type-summary {
    background: #edf8f2;
    border: 1px solid #c6e5d4;
    border-radius: 999px;
    color: var(--green-dark);
    display: inline-block;
    font-size: 10px;
    font-weight: 750;
    margin-top: 5px;
    max-width: 116px;
    overflow: hidden;
    padding: 4px 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-type-summary[hidden],
.record-modifier-summary[hidden] {
    display: none;
}

.record-type-summary[data-record-type="2"],
.record-type-summary[data-record-type="3"] {
    background: #dff5df;
    border-color: #99d899;
    color: #245b24;
}

.record-type-summary[data-record-type="5"] {
    background: #e8f5fb;
    border-color: #b8d7e7;
    color: #275568;
}

.record-type-summary[data-record-type="7"] {
    background: #fff8e6;
    border-color: #e8cf89;
    color: #705a15;
}

.record-type-summary[data-modifier-summary="true"] {
    background: #f3eafa;
    border-color: #ceb6df;
    color: #65427e;
}

.record-modifier-summary {
    background: #f3eafa;
    border: 1px solid #ceb6df;
    border-radius: 999px;
    color: #65427e;
    display: inline-block;
    font-size: 10px;
    font-weight: 750;
    margin: 0 7px 0 0;
    padding: 4px 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.entry-action {
    min-width: 130px;
    text-align: right;
    white-space: nowrap;
}

.entry-action .record-type-summary {
    margin: 0 7px 0 0;
    vertical-align: middle;
}

.record-settings-panel {
    background: #fff;
    border: 1px solid #c6e5d4;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(14, 71, 48, .16);
    left: 0;
    min-width: 240px;
    padding: 10px;
    position: absolute;
    text-align: left;
    top: calc(100% + 6px);
    z-index: 50;
}

.work-table tbody tr.record-settings-open,
.work-table tbody tr.record-type-open {
    position: relative;
    z-index: 10;
}

.work-table tbody tr.record-settings-open>td,
.work-table tbody tr.record-settings-open>th,
.work-table tbody tr.record-type-open>td,
.work-table tbody tr.record-type-open>th {
    position: relative;
    z-index: 10;
}

.record-settings-section .record-type-menu,
.record-settings-section .day-modifiers {
    margin-top: 0;
}

.record-settings-section .day-modifiers summary {
    align-items: center;
    background: #edf8f2;
    border: 1px solid #c6e5d4;
    border-radius: 8px;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    font-size: 11px;
    font-weight: 750;
    gap: 5px;
    justify-content: space-between;
    padding: 6px 8px;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}

.record-settings-section .day-modifiers summary:hover {
    background: #dff3e7;
}

.record-settings-divider {
    border-top: 1px solid #d7eadf;
    margin: 10px 0;
}

/* Match the timer's click-to-edit hour and minute controls. */
.report-time-picker {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 110px;
}

.report-time-value {
    font-weight: 700;
    min-width: 62px;
}

.report-time-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--green-dark);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 30px;
    justify-content: center;
    margin-left: 4px;
    padding: 3px;
    width: 30px;
}

.record-row:not(.time-settings-visible) .report-time-toggle {
    display: none;
}

.report-time-toggle:hover:not(:disabled) {
    color: var(--green-dark);
}

.report-time-toggle:disabled {
    color: #94a3b8;
    cursor: default;
}

.report-time-icon {
    font-size: 24px;
    line-height: 1;
}

.report-time-editor {
    align-items: center;
    display: inline-flex;
    font-weight: 700;
    gap: 3px;
}

.report-time-editor[hidden] {
    display: none;
}

.work-table .report-time-editor input {
    padding: 7px 4px;
    text-align: center;
    width: 45px;
}

/* Today remains visibly green even when a record type has its own row colour. */
.work-table tbody tr.today.enabled,
.work-table tbody tr.today.enabled[data-record-type] {
    background: #ddf3cf;
}
/* Shared navigation between the public tools. */
.header-actions .report-tool-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    transition: background .18s, border-color .18s, box-shadow .18s;
}
.report-tool-link svg { flex-shrink: 0; }
.report-tool-arrow { margin-left: 3px; }
.header-actions .report-tool-link:hover { background: var(--green-soft); border-color: var(--green); }
.header-actions .report-tool-link:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (max-width: 700px) {
    .header-inner { flex-wrap: wrap; gap: 14px; }
    .header-actions { gap: 10px; }
}
