.totk-wrap { max-width: 1100px; margin: 0 auto; }
.totk-card { background: #fff; border: 1px solid #dcdcde; border-left: 5px solid #2271b1; border-radius: 8px; padding: 18px; margin: 16px 0; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.totk-hero { border-left: 5px solid #2271b1; }
.totk-hero h2 { margin-top: 0; }
.totk-status { font-size: 18px; margin-top: 8px; }
.totk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.totk-actions form { margin: 0; }
.totk-button { display: inline-block; border: 1px solid #2271b1; background: #f6f7f7; color: #1d2327; border-radius: 5px; padding: 8px 14px; cursor: pointer; text-decoration: none; line-height: 1.2; }
.totk-button:hover { background: #f0f6fc; }
.totk-button:disabled { opacity: .5; cursor: not-allowed; border-color: #aaa; }
.totk-primary { background: #2271b1; color: #fff; border-color: #2271b1; }
.totk-primary:hover { background: #135e96; color: #fff; }
.totk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 10px; }
.totk-grid div { background: #f6f7f7; border-radius: 6px; padding: 12px; }
.totk-grid span { display: block; color: #646970; font-size: 13px; }
.totk-grid strong { display: block; font-size: 24px; margin-top: 3px; }
.totk-table { width: 100%; border-collapse: collapse; }
.totk-table th, .totk-table td { border-bottom: 1px solid #e5e5e5; padding: 8px; text-align: left; vertical-align: top; }
.totk-table th { background: #f6f7f7; font-weight: 700; }
.totk-warning { margin-top: 12px; padding: 12px; background: #fff8e5; border-left: 4px solid #dba617; }
.totk-alert { border-left: 5px solid #d63638; }
.totk-notification { border-top: 1px solid #eee; padding: 10px 0; }
.totk-notification:first-of-type { border-top: 0; }
.totk-notice { background: #edfaef; border-left: 4px solid #00a32a; padding: 10px 12px; margin: 12px 0; }
.totk-edit-form label, .totk-card label { display: block; margin: 8px 0; font-weight: 600; }
.totk-edit-form input, .totk-edit-form select, .totk-edit-form textarea, .totk-card textarea, .totk-card input[type="date"] { width: 100%; max-width: 360px; margin-top: 4px; }
.totk-edit-form textarea, .totk-card textarea { min-height: 70px; }
.totk-manager-card .totk-card { box-shadow: none; }
@media (max-width: 700px) {
    .totk-card { padding: 14px; }
    .totk-actions { display: grid; grid-template-columns: 1fr; }
    .totk-actions form, .totk-actions button { width: 100%; }
    .totk-table { display: block; overflow-x: auto; }
}

 .totk-report-form { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; }
.totk-report-form label { display: inline-flex; flex-direction: column; gap: 5px; margin: 0; font-weight: 600; }
.totk-report-form select,
.totk-report-form input[type="date"] { width: 220px; max-width: 100%; min-height: 42px; box-sizing: border-box; margin-top: 0; }
.totk-report-form .totk-button { min-height: 42px; padding-left: 22px; padding-right: 22px; }
.totk-export-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.totk-export-row form { margin: 0; }


/* Technician mobile layout */
.totk-tech-page { max-width: 980px; }
.totk-tech-page .totk-hero h2 { font-size: clamp(26px, 6vw, 38px); line-height: 1.1; }
.totk-clock-card { text-align: center; }
.totk-clock-card h3 { font-size: 28px; margin-top: 0; }
.totk-clock-actions { justify-content: center; gap: 14px; }
.totk-clock-actions form { flex: 1 1 210px; max-width: 260px; }
.totk-clock-actions .totk-button,
.totk-submit-card .totk-button { width: 100%; min-height: 56px; font-size: 18px; font-weight: 700; border-radius: 10px; }
.totk-submit-card { text-align: center; }
.totk-submit-card form { max-width: 360px; margin: 0 auto; }

@media (max-width: 700px) {
    .totk-wrap { width: 100%; max-width: none; }
    .totk-tech-page { padding: 0 10px; box-sizing: border-box; }
    .totk-tech-page .totk-card { margin: 12px 0; border-radius: 12px; }
    .totk-tech-page .totk-hero { text-align: center; border-left: 5px solid #2271b1; border-top: 0; }
    .totk-tech-page .totk-status { font-size: 20px; }
    .totk-clock-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .totk-clock-actions form { max-width: none; width: 100%; }
    .totk-clock-actions .totk-button { min-height: 64px; font-size: 20px; }
    .totk-submit-card .totk-button { min-height: 64px; font-size: 19px; }
    .totk-tech-page .totk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .totk-tech-page .totk-grid div { padding: 14px 10px; }
    .totk-tech-page .totk-grid span { font-size: 13px; }
    .totk-tech-page .totk-grid strong { font-size: 28px; }
    .totk-tech-page .totk-table th,
    .totk-tech-page .totk-table td { padding: 10px 8px; white-space: nowrap; }
}

@media (max-width: 420px) {
    .totk-tech-page { padding: 0 6px; }
    .totk-tech-page .totk-card { padding: 12px; }
    .totk-tech-page .totk-grid { grid-template-columns: 1fr; }
    .totk-tech-page .totk-grid strong { font-size: 30px; }
}

/* Dedicated Timekeeper login page */
.totk-login-page { max-width: 520px; padding: 24px 12px; }
.totk-login-card { text-align: left; }
.totk-login-card h2 { margin-top: 0; text-align: center; font-size: clamp(28px, 6vw, 38px); }
.totk-login-card p { text-align: center; }
.totk-login-card #totk_loginform p { text-align: left; margin: 12px 0; }
.totk-login-card input[type="text"],
.totk-login-card input[type="password"] { width: 100%; min-height: 44px; box-sizing: border-box; font-size: 18px; }
.totk-login-card input[type="submit"] { width: 100%; min-height: 52px; font-size: 18px; font-weight: 700; border-radius: 10px; background: #2271b1; color: #fff; border: 1px solid #2271b1; cursor: pointer; }
.totk-login-card input[type="submit"]:hover { background: #135e96; }
.totk-login-card .login-remember label { display: flex; gap: 8px; align-items: center; }

@media (max-width: 700px) {
    .totk-login-page { padding: 12px 10px; }
    .totk-login-card { border-radius: 14px; }
    .totk-login-card input[type="text"],
    .totk-login-card input[type="password"] { min-height: 50px; }
    .totk-login-card input[type="submit"] { min-height: 58px; }
}

/* Keep Timekeeper pages clean and full width instead of using the site's blog/sidebar layout. */
body.totk-fullwidth-page #sidebar,
body.totk-fullwidth-page #secondary,
body.totk-fullwidth-page .sidebar,
body.totk-fullwidth-page .widget-area,
body.totk-fullwidth-page aside,
body.totk-fullwidth-page .site-sidebar {
    display: none !important;
}

body.totk-fullwidth-page #left-area,
body.totk-fullwidth-page #primary,
body.totk-fullwidth-page .content-area,
body.totk-fullwidth-page .site-main,
body.totk-fullwidth-page .entry-content,
body.totk-fullwidth-page article,
body.totk-fullwidth-page .post,
body.totk-fullwidth-page .page {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding-right: 0 !important;
}

body.totk-fullwidth-page #main-content .container:before,
body.totk-fullwidth-page .content-sidebar-wrap:before {
    display: none !important;
}

body.totk-fullwidth-page .site-content,
body.totk-fullwidth-page #content,
body.totk-fullwidth-page #main-content .container {
    max-width: 1500px !important;
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 700px) {
    body.totk-fullwidth-page .site-content,
    body.totk-fullwidth-page #content,
    body.totk-fullwidth-page #main-content .container {
        width: calc(100% - 16px) !important;
    }
}

@media (max-width: 700px) {
    .totk-report-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .totk-report-form label,
    .totk-report-form select,
    .totk-report-form input[type="date"],
    .totk-report-form .totk-button { width: 100%; }
}

.totk-admin .totk-wide-select {
    min-width: 320px;
    max-width: 520px;
    width: 100%;
}

/* v1.0.14 settings dropdown management */
.totk-dropdown-admin {
    max-width: 560px;
}
.totk-dropdown-add-row {
    margin-bottom: 10px;
}
.totk-selected-users {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    padding: 10px 12px;
    margin: 8px 0;
}
.totk-remove-user {
    display: block;
    margin: 7px 0;
}

/* v1.0.25 manager review formatting fixes */
.totk-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.totk-daily-approvals-table {
    min-width: 980px;
}
.totk-daily-approvals-table .totk-action-col,
.totk-daily-approvals-table td:last-child {
    width: 150px;
    max-width: 150px;
}
.totk-approve-day-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    max-width: 140px;
}
.totk-approve-day-form input[type="text"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 34px;
}
.totk-approve-day-form .totk-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}
.totk-manager-card .totk-table th,
.totk-manager-card .totk-table td {
    word-break: normal;
}
.totk-manager-card .totk-table td:nth-child(8),
.totk-manager-card .totk-table td:nth-child(9) {
    white-space: nowrap;
}


/* v1.0.26 wider manager layout and contained edit forms */
body.totk-fullwidth-page .totk-wrap {
    max-width: 1460px;
}
body.totk-fullwidth-page .totk-manager-page,
body.totk-fullwidth-page .totk-manager-page.totk-wrap {
    max-width: 1460px;
}
.totk-manager-page .totk-card {
    box-sizing: border-box;
}
.totk-manager-page .totk-table-scroll {
    max-width: 100%;
}
.totk-manager-page .totk-daily-approvals-table {
    min-width: 0;
    table-layout: auto;
}
.totk-manager-page .totk-daily-approvals-table th,
.totk-manager-page .totk-daily-approvals-table td {
    padding: 8px 10px;
}
.totk-manager-page .totk-daily-approvals-table .totk-action-col,
.totk-manager-page .totk-daily-approvals-table td:last-child {
    width: 170px;
    max-width: 170px;
}
.totk-manager-page .totk-approve-day-form {
    max-width: 160px;
}
.totk-manager-page .totk-punch-detail-table {
    min-width: 1120px;
}
.totk-manager-page .totk-manager-punch-table th:last-child,
.totk-manager-page .totk-manager-punch-table td:last-child {
    width: 230px;
    max-width: 230px;
}
.totk-manager-page details {
    max-width: 220px;
}
.totk-manager-page .totk-edit-form {
    max-width: 220px;
    min-width: 0;
}
.totk-manager-page .totk-edit-form label {
    margin: 6px 0;
}
.totk-manager-page .totk-edit-form input,
.totk-manager-page .totk-edit-form select,
.totk-manager-page .totk-edit-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.totk-manager-page .totk-edit-form textarea {
    min-height: 58px;
}
.totk-manager-page .totk-edit-form .totk-button {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 1100px) {
    .totk-manager-page .totk-daily-approvals-table,
    .totk-manager-page .totk-punch-detail-table {
        min-width: 980px;
    }
}


/* v1.0.31 consistent blue left rail styling across Timekeeper windows */
.totk-wrap .totk-card {
    border-left: 5px solid #2271b1;
}
.totk-wrap .totk-alert,
.totk-wrap .totk-notice,
.totk-wrap .totk-warning {
    border-left-color: #2271b1;
}
.totk-wrap .totk-grid > div {
    border-left: 4px solid #2271b1;
    box-sizing: border-box;
}
.totk-wrap .totk-card h2,
.totk-wrap .totk-card h3 {
    margin-top: 0;
}

/* v1.0.32 app-style Timekeeper pages and Timekeeper-only navigation */
body.totk-hide-site-menu #main-header,
body.totk-hide-site-menu #top-header,
body.totk-hide-site-menu #et-main-area > header,
body.totk-hide-site-menu header#masthead,
body.totk-hide-site-menu .site-header,
body.totk-hide-site-menu .main-navigation,
body.totk-hide-site-menu .primary-navigation,
body.totk-hide-site-menu .et_pb_menu,
body.totk-hide-site-menu .et-l--header,
body.totk-hide-site-menu .et_menu_container,
body.totk-hide-site-menu nav#top-menu-nav,
body.totk-hide-site-menu #top-menu,
body.totk-hide-site-menu .mobile_nav,
body.totk-hide-site-menu .et_mobile_nav_menu {
    display: none !important;
}

body.totk-hide-site-menu.et_fixed_nav #page-container,
body.totk-hide-site-menu.et_non_fixed_nav.et_transparent_nav #page-container {
    padding-top: 0 !important;
}

body.totk-hide-site-menu #main-content {
    padding-top: 0 !important;
}

.totk-top-nav {
    background: #fff;
    border: 1px solid #dcdcde;
    border-left: 5px solid #2271b1;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    margin: 16px 0;
    padding: 0;
}
.totk-top-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
}
.totk-top-nav-title {
    font-weight: 800;
    font-size: 18px;
    color: #1d2327;
    white-space: nowrap;
}
.totk-top-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}
.totk-top-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    text-decoration: none;
    color: #1d2327;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    font-weight: 700;
    line-height: 1.15;
}
.totk-top-nav-link:hover,
.totk-top-nav-link.is-active {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}
.totk-logout-link {
    color: #8a2424;
}
.totk-logout-link:hover {
    background: #8a2424;
    border-color: #8a2424;
    color: #fff;
}

@media (max-width: 700px) {
    .totk-top-nav-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }
    .totk-top-nav-title {
        text-align: center;
    }
    .totk-top-nav-links {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .totk-top-nav-link {
        justify-content: center;
        border-radius: 10px;
    }
}

/* v1.0.43 TimeLink branding */
.totk-timelink-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.totk-timelink-logo--employee {
    width: min(620px, 78%);
    max-height: 112px;
    margin: 0 0 12px 0;
}
.totk-timelink-logo--login {
    width: min(440px, 92%);
    max-height: 92px;
    margin: 0 auto 10px;
}
.totk-timelink-logo--nav {
    width: 250px;
    max-height: 54px;
}
.totk-timelink-logo--admin {
    width: min(560px, 90%);
    max-height: 100px;
    margin: 12px 0 18px;
}
.totk-top-nav-title {
    display: flex;
    align-items: center;
    min-width: 0;
}
@media (max-width: 700px) {
    .totk-timelink-logo--employee { width: 94%; max-height: 82px; margin-left: auto; margin-right: auto; }
    .totk-timelink-logo--login { width: 96%; max-height: 74px; }
    .totk-timelink-logo--nav { width: 190px; max-height: 46px; }
    .totk-top-nav-inner { align-items: flex-start; }
}
@media (max-width: 520px) {
    .totk-timelink-logo--nav { width: 165px; }
}


/* v1.0.44 work types and dispute workflow */
.totk-clock-in-form,
.totk-notification-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.totk-clock-in-form label {
    margin: 0;
    min-width: 150px;
}
.totk-clock-in-form select {
    width: 100%;
}
.totk-dispute-details {
    display: inline-block;
}
.totk-dispute-details > summary {
    list-style: none;
    cursor: pointer;
}
.totk-dispute-details > summary::-webkit-details-marker {
    display: none;
}
.totk-dispute-details form,
.totk-dispute {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
}
.totk-dispute-details textarea,
.totk-dispute textarea {
    width: 100%;
    min-height: 90px;
}
@media (max-width: 520px) {
    .totk-clock-in-form,
    .totk-notification-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .totk-clock-in-form label,
    .totk-clock-in-form button,
    .totk-notification-actions form,
    .totk-notification-actions button,
    .totk-dispute-details {
        width: 100%;
    }
}

/* v1.0.45 employee time-type selector */
.totk-work-type-selector {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    text-align: left;
}
.totk-work-type-selector legend {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.totk-work-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 540px;
    margin: 0 auto;
}
.totk-work-type-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.totk-work-type-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0;
    padding: 10px 18px;
    border: 2px solid #2271b1;
    border-radius: 10px;
    background: #fff;
    color: #1d2327;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.totk-work-type-options input[type="radio"]:checked + label {
    background: #2271b1;
    color: #fff;
}
.totk-work-type-options input[type="radio"]:focus-visible + label {
    outline: 3px solid rgba(34, 113, 177, .35);
    outline-offset: 2px;
}
.totk-work-type-selector[disabled] {
    opacity: .55;
}
.totk-work-type-selector[disabled] label {
    cursor: not-allowed;
}
.totk-work-type-help {
    margin: 8px auto 0;
    max-width: 600px;
    text-align: center;
    font-size: 13px;
}
@media (max-width: 520px) {
    .totk-work-type-options {
        gap: 8px;
    }
    .totk-work-type-options label {
        min-height: 58px;
        padding: 12px 10px;
        font-size: 18px;
    }
    .totk-work-type-help {
        font-size: 12px;
        line-height: 1.35;
    }
}

/* v1.0.46 weekly summary and employee-local punch time */
.totk-weekly-summary .totk-summary-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
.totk-weekly-summary .totk-summary-grid > div {
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
}
.totk-weekly-summary .totk-summary-grid span,
.totk-weekly-summary .totk-summary-grid strong {
    display: block;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .totk-weekly-summary .totk-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .totk-weekly-summary .totk-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* v1.0.48 edited-time response gate */
.totk-clock-blocked {
    margin-bottom: 16px;
}
.totk-clock-blocked p {
    margin-bottom: 0;
}
.totk-notification-actions > form,
.totk-notification-actions > .totk-dispute-details {
    margin: 0;
}

/* Weekly employee confirmation */
.totk-week-confirmation > .totk-card {
  margin-top: 16px;
}
.totk-certification-statement {
  border-left-color: #1f7a3f;
}
.totk-week-issue textarea {
  width: 100%;
  min-height: 90px;
}
.totk-previous-week-link {
  margin: 12px 0;
}
@media (max-width: 700px) {
  .totk-week-confirmation .totk-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .totk-week-confirmation .totk-button {
    width: 100%;
  }
}

/* v1.0.62 manager employee jump and full-width review sections */
.totk-employee-jump {
    display: grid;
    grid-template-columns: minmax(220px, 380px) auto;
    align-items: end;
    gap: 10px;
    margin-top: 18px;
    max-width: 500px;
}
.totk-employee-jump label {
    grid-column: 1 / -1;
    font-weight: 700;
}
.totk-employee-jump input {
    width: 100%;
    min-width: 0;
}
.totk-manager-employee {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.totk-manager-employee-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #dfe5ea;
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.totk-manager-employee-heading h2 {
    margin: 0;
}
.totk-manager-employee-heading span {
    font-size: 14px;
    font-weight: 600;
    color: #606b75;
    text-align: right;
}
.totk-manager-employee-body {
    width: 100%;
}
.totk-manager-employee.totk-jump-highlight,
.totk-manager-employee:target {
    outline: 3px solid #1f73b7;
    outline-offset: 2px;
}
.totk-manager-employee:target {
    scroll-margin-top: 18px;
}
@media (max-width: 600px) {
    .totk-employee-jump {
        grid-template-columns: 1fr auto;
        max-width: 100%;
    }
    .totk-manager-employee-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .totk-manager-employee-heading span {
        text-align: left;
    }
}

/* v1.0.65 collapsible Manager Time Review employee sections */
.totk-manager-employee-heading {
    cursor: pointer;
    user-select: none;
}
.totk-manager-toggle {
    flex: 0 0 auto;
    width: 18px;
    color: #1f73b7;
    font-size: 15px;
    line-height: 1;
    text-align: center;
}
.totk-manager-employee-heading h2 {
    flex: 1 1 auto;
}
.totk-manager-employee-meta {
    flex: 0 0 auto;
}
.totk-manager-employee-collapsed .totk-manager-employee-heading {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.totk-manager-employee-collapsed .totk-manager-employee-meta {
    display: none;
}
.totk-manager-employee-heading:focus-visible {
    outline: 2px solid #1f73b7;
    outline-offset: 4px;
    border-radius: 4px;
}
@media (max-width: 600px) {
    .totk-manager-employee-heading {
        flex-direction: row;
        align-items: center;
    }
    .totk-manager-employee-meta {
        margin-left: auto;
        text-align: right;
    }
    .totk-manager-employee:not(.totk-manager-employee-collapsed) .totk-manager-employee-heading {
        flex-wrap: wrap;
    }
    .totk-manager-employee:not(.totk-manager-employee-collapsed) .totk-manager-employee-meta {
        flex-basis: 100%;
        margin-left: 34px;
        text-align: left;
    }
}

/* v1.0.68 collapsible payroll closeout section */
.totk-closure-details {
    padding: 0;
    overflow: hidden;
}
.totk-closure-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    font-size: 20px;
    font-weight: 700;
    color: #303840;
    list-style: none;
}
.totk-closure-summary::-webkit-details-marker {
    display: none;
}
.totk-closure-summary::before {
    content: "▶";
    color: #1f73b7;
    font-size: 15px;
    line-height: 1;
}
.totk-closure-details[open] > .totk-closure-summary::before {
    content: "▼";
}
.totk-closure-summary small {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: #697580;
}
.totk-closure-content {
    padding: 0 20px 20px;
}
.totk-closure-form {
    margin: 0 0 14px;
}
@media (max-width: 600px) {
    .totk-closure-summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .totk-closure-summary small {
        flex-basis: 100%;
        margin-left: 25px;
    }
}


/* v1.0.73 synchronized top scrollbar for long punch-detail tables */
.totk-scroll-sync-top {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 18px;
    margin: 0 0 6px;
    -webkit-overflow-scrolling: touch;
}
.totk-scroll-sync-top > div { height: 1px; min-width: 1120px; }
.totk-scroll-sync-top::-webkit-scrollbar { height: 14px; }
.totk-weekly-audit-summary small { display:block; margin-top:6px; line-height:1.35; }

.totk-button.totk-danger{background:#b42318;border-color:#b42318;color:#fff}.totk-button.totk-danger:hover{background:#912018;border-color:#912018;color:#fff}.totk-section-divider{border:0;border-top:1px solid #d8dde3;margin:22px 0 18px}

.totk-employee-jump-control { position: relative; flex: 1 1 320px; max-width: 520px; }
.totk-employee-jump-control input { width: 100%; }
.totk-employee-jump-results { position: absolute; z-index: 1000; left: 0; right: 0; top: calc(100% + 2px); max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid #b8c2cc; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.totk-employee-jump-option { display: block; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid #edf0f2; background: #fff; text-align: left; cursor: pointer; color: #1d2327; }
.totk-employee-jump-option:hover, .totk-employee-jump-option.is-active { background: #eef6fc; }
.totk-manager-employee-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.totk-manager-employee-link{display:block;padding:10px 12px;border:1px solid #dcdcde;border-left:4px solid #2271b1;border-radius:4px;background:#fff;text-decoration:none;color:#2c3338}
.totk-manager-employee-link:hover,.totk-manager-employee-link:focus{background:#f0f6fc;color:#135e96}

/* v1.0.102 full-width review/report layouts and readable notes */
body.totk-fullwidth-page .totk-manager-page.totk-wrap,
body.totk-fullwidth-page .totk-reports-page.totk-wrap,
.totk-manager-page.totk-wrap,
.totk-reports-page.totk-wrap {
    width: calc(100vw - 32px);
    max-width: none !important;
    margin-left: calc(50% - 50vw + 16px);
    margin-right: calc(50% - 50vw + 16px);
    box-sizing: border-box;
}
.totk-manager-page .totk-punch-detail-table {
    width: 100%;
    min-width: 1180px;
    table-layout: auto;
}
.totk-manager-page .totk-manager-punch-table th:nth-child(1),
.totk-manager-page .totk-manager-punch-table td:nth-child(1) { width: 92px; white-space: nowrap; }
.totk-manager-page .totk-manager-punch-table th:nth-child(2),
.totk-manager-page .totk-manager-punch-table td:nth-child(2) { width: 82px; white-space: nowrap; }
.totk-manager-page .totk-manager-punch-table th:nth-child(3),
.totk-manager-page .totk-manager-punch-table td:nth-child(3) { width: 90px; }
.totk-manager-page .totk-manager-punch-table th:nth-child(4),
.totk-manager-page .totk-manager-punch-table td:nth-child(4) { width: 105px; }
.totk-manager-page .totk-manager-punch-table th:nth-child(5),
.totk-manager-page .totk-manager-punch-table td:nth-child(5) { width: 110px; }
.totk-manager-page .totk-manager-punch-table th:nth-child(6),
.totk-manager-page .totk-manager-punch-table td:nth-child(6) { width: 110px; }
.totk-manager-page .totk-manager-punch-table th:nth-child(7),
.totk-manager-page .totk-manager-punch-table td:nth-child(7) { width: 120px; }
.totk-manager-page .totk-manager-punch-table th:nth-child(8),
.totk-manager-page .totk-manager-punch-table td:nth-child(8) { width: 105px; white-space: normal; }
.totk-manager-page .totk-manager-punch-table th:nth-child(9),
.totk-manager-page .totk-manager-punch-table td:nth-child(9) {
    min-width: 240px;
    width: auto;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.4;
}
.totk-manager-page .totk-manager-punch-table th:last-child,
.totk-manager-page .totk-manager-punch-table td:last-child {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    position: sticky;
    right: 0;
    z-index: 2;
    background: #fff;
    box-shadow: -6px 0 8px rgba(0,0,0,.04);
}
.totk-manager-page .totk-manager-punch-table th:last-child { background: #f6f7f7; z-index: 3; }
.totk-manager-page details,
.totk-manager-page .totk-edit-form { max-width: none; width: 100%; }
.totk-manager-page .totk-edit-form textarea { min-height: 88px; resize: vertical; }
.totk-error-audit-table td:nth-child(8),
.totk-error-audit-table td:nth-child(9) {
    min-width: 260px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}
.totk-error-audit-table td:last-child,
.totk-error-audit-table th:last-child { white-space: nowrap; }
@media (max-width: 700px) {
    body.totk-fullwidth-page .totk-manager-page.totk-wrap,
    body.totk-fullwidth-page .totk-reports-page.totk-wrap,
    .totk-manager-page.totk-wrap,
    .totk-reports-page.totk-wrap {
        width: calc(100vw - 16px);
        margin-left: calc(50% - 50vw + 8px);
        margin-right: calc(50% - 50vw + 8px);
    }
}
