/* TWP Workforce Attendance. Scoped to the attendance page; sidebar stylesheet is not modified. */
.twp-wf-attendance-page{background:#f5f8fc;color:#172b43;min-height:100vh}
.twp-wf-attendance-page *{box-sizing:border-box}
.twp-wf-attendance-page .twp-wf-topbar{background:#fff;border-bottom:1px solid #e4eaf1}
.twp-wf-attendance-page .twp-wf-page-heading h1{font-size: 30px;line-height:1.1;margin:0;color:#132943;font-weight:750;letter-spacing:-.03em}
.twp-wf-attendance-page .twp-wf-page-heading p{margin:5px 0 0;color:#5d6f84;font-size: 13px}
.twp-wf-attendance-page .twp-wf-date-block{display:flex;align-items:center;gap:10px}.twp-wf-attendance-page .twp-wf-calendar-icon{width:24px;color:#526c89;display:flex}.twp-wf-attendance-page .twp-wf-calendar-icon svg{width:23px}.twp-wf-attendance-page .twp-wf-date-block strong,.twp-wf-attendance-page .twp-wf-date-block small{display:block}.twp-wf-attendance-page .twp-wf-date-block strong{font-size: 12px}.twp-wf-attendance-page .twp-wf-date-block small{font-size: 10px;color:#718096;margin-top:4px}
.twp-wf-attendance-page .twp-wf-notification{position:relative;color:#63758b;padding:7px}.twp-wf-attendance-page .twp-wf-notification svg{width:24px}.twp-wf-attendance-page .twp-wf-notification b{position:absolute;right:0;top:-1px;background:#e52b3a;color:#fff;border-radius:20px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size: 10px}
.twp-wf-attendance-page .twp-wf-avatar-placeholder{width:44px;height:44px;border-radius:50%;background:#dce6f0;display:block;position:relative;flex:0 0 44px}.twp-wf-attendance-page .twp-wf-avatar-placeholder:before{content:"";position:absolute;width:13px;height:13px;border-radius:50%;background:#fff;left:15px;top:9px}.twp-wf-attendance-page .twp-wf-avatar-placeholder:after{content:"";position:absolute;width:25px;height:13px;border-radius:15px 15px 10px 10px;background:#fff;left:9px;bottom:8px}.twp-wf-attendance-page .twp-wf-user{display:flex;align-items:center;gap:10px;min-width:190px}.twp-wf-attendance-page .twp-wf-user strong,.twp-wf-attendance-page .twp-wf-user small{display:block}.twp-wf-attendance-page .twp-wf-user strong{font-size: 12px}.twp-wf-attendance-page .twp-wf-user small{font-size: 10px;color:#65758a;margin-top:3px}.twp-wf-attendance-page .twp-wf-profile-chevron{width:30px;height:30px;border:1px solid #dbe4ee;border-radius:9px;background:#f8fafc;color:#526b86;margin-left:auto;display:flex;align-items:center;justify-content:center}.twp-wf-attendance-page .twp-wf-profile-chevron svg{width:16px}
.twp-wf-attendance-content{padding:14px 22px 34px;max-width:1750px;margin:0 auto}.att-panel{background:#fff;border:1px solid #e1e8f0;border-radius:9px;box-shadow:0 3px 12px rgba(24,55,84,.035);min-width:0;overflow:hidden}.att-panel-head{padding:11px 13px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.att-panel-head h2{font-size: 13px;margin:0;color:#17304e;font-weight:750}.att-panel-head>div>span,.att-panel-head>span{font-size: 10px;color:#718198}.att-panel-head a{font-size: 10px;color:#1769df;text-decoration:none;font-weight:700}.att-top-grid{display:grid;grid-template-columns:1.7fr 1fr 1.05fr;gap:10px;margin-bottom:10px}
.today-panel{min-height:240px}.att-panel-head .att-state{padding:6px 12px;border-radius:6px;background:#dcf8e9;color:#119052;font-size: 10px;font-weight:800}.att-state.late{background:#fff0d9;color:#e18100}.att-state.checked_out{background:#e6edf4;color:#5f7184}.att-state.not_checked_in{background:#edf1f5;color:#6d7e90}
.today-body{display:grid;grid-template-columns:1.15fr .85fr;padding:5px 13px 13px;gap:15px}.today-details>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0}.today-details span{display:flex;align-items:center;gap:7px;color:#536a83;font-size: 10px}.today-details span svg{width:14px;color:#5b7591}.today-details b{font-size: 10px;color:#263d57}.today-details .status-text{color:#15945b}.today-actions{display:flex;flex-direction:column;gap:8px}.work-now-box{border-radius:7px;background:#ecfbf3;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px}.att-big-clock{width:42px;height:42px;border-radius:50%;border:4px solid #16ad6d;color:#16a86a;display:flex;align-items:center;justify-content:center}.att-big-clock svg{width:24px}.work-now-box strong,.work-now-box b,.work-now-box small{display:block}.work-now-box strong{font-size: 19px;line-height:1;color:#118b5b}.work-now-box b{font-size: 10px;color:#15945b;margin-top:3px}.work-now-box small{font-size: 10px;color:#74889b;margin-top:3px}.att-action{border:0;border-radius:6px;height:36px;color:#fff;font-size: 10px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.att-action svg{width:17px}.att-action.break{background:#d97706}.att-action.checkout{background:#dc3545}.att-action.checkin{background:#0b5ed7}.att-action:disabled{opacity:.42;cursor:not-allowed}
.work-panel{min-height:240px}.work-progress{display:flex;align-items:center;gap:16px;padding:12px 14px 8px}.progress-ring{width:91px;height:91px;border-radius:50%;background:conic-gradient(#10aa6c var(--att-progress),#e7eef4 0);display:flex;align-items:center;justify-content:center;flex:0 0 91px}.progress-ring>div{width:71px;height:71px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}.progress-ring strong{font-size: 15px;color:#163b55}.work-hours{display:block;font-size: 18px;color:#0e7755}.work-progress small{display:block;font-size: 10px;color:#65788d;margin-top:2px}.work-line{height:7px;width:145px;background:#e6edf3;border-radius:10px;margin-top:10px;overflow:hidden}.work-line i{height:100%;background:#16ad6d;border-radius:10px;display:block}.work-metrics{padding:4px 14px 12px}.work-metrics div{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #edf1f5}.work-metrics div:last-child{border-bottom:0}.work-metrics span,.work-metrics b{font-size:8.5px}.work-metrics span{color:#566c84}.work-metrics b{color:#172f4b}
.month-kpis{min-height:240px}.month-kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px 12px}.month-kpi{min-height:79px;border-radius:7px;padding:9px;display:flex;gap:8px;align-items:center}.month-kpi>span{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 34px}.month-kpi svg{width:18px}.month-kpi strong,.month-kpi small,.month-kpi em{display:block}.month-kpi strong{font-size: 16px;line-height:1}.month-kpi small{font-size: 10px;font-weight:650;margin-top:4px}.month-kpi em{font-size: 10px;font-style:normal;color:#7b8b9c;margin-top:2px}.month-kpi.present{background:#ecfbf3;color:#13945b}.month-kpi.present>span{background:#c8f3dc}.month-kpi.absent{background:#fff0f1;color:#e32f40}.month-kpi.absent>span{background:#ffd6db}.month-kpi.late{background:#fff6e8;color:#ec8900}.month-kpi.late>span{background:#ffe5bd}.month-kpi.hours{background:#eef5ff;color:#1769df}.month-kpi.hours>span{background:#dcecff}.month-kpi.hours strong{font-size: 13px}
.att-middle-grid{display:grid;grid-template-columns:1.25fr .85fr .85fr;gap:10px;margin-bottom:10px}.timeline-panel{min-height:415px}.att-timeline{padding:4px 14px 14px}.att-timeline-row{display:grid;grid-template-columns:55px 30px 1fr;align-items:center;min-height:52px;border-bottom:1px solid #edf1f5;position:relative}.att-timeline-row:last-child{border-bottom:0}.att-timeline-row time{font-size: 10px;color:#55708c}.att-timeline-dot{width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.att-timeline-dot:after{content:"";position:absolute;top:27px;left:50%;height:25px;border-left:1px solid #d6e0e9}.att-timeline-row:last-child .att-timeline-dot:after{display:none}.att-timeline-dot svg{width:14px}.att-timeline-dot.green{background:#d9f7e8;color:#15945b}.att-timeline-dot.blue{background:#dcecff;color:#1769df}.att-timeline-dot.purple{background:#ece2ff;color:#7c45d6}.att-timeline-dot.orange{background:#fff0d9;color:#ed8900}.att-timeline-dot.red{background:#ffe0e4;color:#df3d4b}.att-timeline-dot.muted{background:#edf1f5;color:#77899c}.att-timeline-row strong,.att-timeline-row small{display:block}.att-timeline-row strong{font-size: 10px;color:#29415b}.att-timeline-row small{font-size: 10px;color:#8190a0;margin-top:2px}
.att-side-stack{display:flex;flex-direction:column;gap:10px}.breaks-panel{min-height:190px}.break-total{font-size: 10px;color:#15945b}.break-table-wrap{overflow:auto}.break-table{width:100%;border-collapse:collapse;min-width:390px}.break-table th{background:#f8fafc;color:#65778d;font-size: 10px;text-align:left;padding:7px}.break-table td{font-size: 10px;padding:7px;border-top:1px solid #edf1f5;color:#334a63}.break-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 11px}.att-small-action{height:30px;border:0;border-radius:6px;font-size: 10px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:5px;color:#fff}.att-small-action svg{width:14px}.att-small-action.start{background:#d97706}.att-small-action.end{background:#d9e2ec;color:#526a83}.att-small-action:disabled{opacity:.5}
.regularization-panel{min-height:215px}.regularization-callout{margin:8px 10px;background:#fff0f2;border-radius:7px;padding:9px;display:flex;gap:8px}.regularization-callout>span{width:32px;height:32px;border-radius:50%;background:#ffd9df;color:#e1394a;display:flex;align-items:center;justify-content:center;flex:0 0 32px}.regularization-callout>span svg{width:17px}.regularization-callout strong,.regularization-callout small{display:block}.regularization-callout strong{font-size:8.5px;color:#31465e}.regularization-callout small{font-size: 10px;color:#7a899b;line-height:1.4;margin-top:3px}.regularization-callout button{border:0;background:#0b5ed7;color:#fff;border-radius:5px;height:24px;font-size: 10px;font-weight:700;padding:0 9px;margin-top:6px;cursor:pointer}.regularization-panel .att-panel-head{padding-top:3px}.request-list{padding:0 10px 9px}.request-list>div{display:grid;grid-template-columns:42px 1fr auto;gap:6px;align-items:center;padding:6px 0;border-top:1px solid #edf1f5}.request-list span,.request-list strong,.request-list small,.request-list b{font-size: 10px}.request-list span{color:#65788e}.request-list strong{color:#334a63}.request-list small{color:#8a98a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.request-list b{padding:4px 6px;border-radius:4px}.request-list b.pending{background:#fff0d9;color:#dc8100}.request-list b.approved{background:#dcf7e8;color:#15945b}.request-list b.rejected{background:#ffe1e5;color:#d63d4b}.request-empty{display:block!important;text-align:center;color:#8392a1;padding:15px!important}
.calendar-panel{min-height:415px}.att-month-picker{display:flex;align-items:center;gap:4px}.att-month-picker>button{width:25px;height:25px;border:1px solid #dbe4ec;background:#fff;border-radius:5px;color:#587089;display:flex;align-items:center;justify-content:center;cursor:pointer}.att-month-picker>button svg{width:13px}.att-month-picker label{height:25px;border:1px solid #dbe4ec;border-radius:5px;display:flex;align-items:center;position:relative;padding:0 5px;gap:4px}.att-month-picker label>svg{width:12px;color:#637a91}.att-month-picker select{appearance:none;-webkit-appearance:none;border:0;background:transparent;outline:0;font-size: 10px;color:#344b63;padding-right:15px}.att-month-picker label>span{position:absolute;right:4px;pointer-events:none}.att-month-picker label>span svg{width:11px}.att-calendar{display:grid;grid-template-columns:repeat(7,1fr);padding:5px 9px 8px;gap:1px}.cal-head{text-align:center;font-size: 10px;color:#6f8093;font-weight:750;padding:4px 0}.cal-empty{min-height:31px}.cal-day{min-height:31px;border:1px solid #edf1f5;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative;color:#344b63;font-size: 10px}.cal-day b{font-weight:650}.cal-day i{width:5px;height:5px;border-radius:50%;background:#b8c3cf}.cal-day.present i{background:#15a768}.cal-day.late i{background:#f08a00}.cal-day.absent i{background:#e93445}.cal-day.holiday i{background:#2686ed}.cal-day.leave i{background:#f0ad00}.cal-day.weekoff i{background:#aeb8c2}.cal-day.today{background:#1769df;color:#fff;border-color:#1769df}.cal-day.today i{background:#b8f0d3}.cal-legend{display:flex;flex-wrap:wrap;gap:8px;padding:5px 10px 11px;border-top:1px solid #edf1f5}.cal-legend span{font-size: 10px;color:#687c91;display:flex;align-items:center;gap:3px}.cal-legend i{width:6px;height:6px;border-radius:50%;display:block}.cal-legend i.present{background:#15a768}.cal-legend i.late{background:#f08a00}.cal-legend i.absent{background:#e93445}.cal-legend i.holiday{background:#2686ed}.cal-legend i.weekoff{background:#aeb8c2}.cal-legend i.leave{background:#f0ad00}
.att-bottom-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(250px,.8fr);gap:10px}.history-panel{min-height:300px}.history-filters form{display:flex;align-items:center;gap:6px}.history-filters label{height:29px;border:1px solid #dbe4ec;border-radius:6px;display:flex;align-items:center;position:relative;padding:0 6px;min-width:108px}.history-filters select{appearance:none;-webkit-appearance:none;border:0;outline:0;background:transparent;width:100%;font-size: 10px;color:#344b63;padding-right:13px}.history-filters label>svg{position:absolute;right:5px;width:11px;color:#62778f;pointer-events:none}.history-filters .date-range{min-width:125px;gap:4px}.history-filters .date-range>svg{position:static;width:13px}.history-filters input{border:0;outline:0;font-size: 10px;width:100%;color:#344b63}.history-view{height:29px;background:#0b5ed7;border:1px solid #0b5ed7;border-radius:6px;color:#fff;font-size: 10px;font-weight:700;padding:0 9px}.history-reset{height:29px;border:0;background:transparent;color:#1769df;font-size: 10px;font-weight:700;display:flex;align-items:center;gap:4px}.history-reset svg{width:12px}.att-history-wrap{overflow:auto}.att-history{width:100%;border-collapse:collapse;min-width:760px}.att-history th{background:#f8fafc;border-top:1px solid #edf1f5;border-bottom:1px solid #e5ebf1;padding:8px 8px;text-align:left;font-size: 10px;color:#66798e}.att-history td{padding:8px;border-bottom:1px solid #edf1f5;font-size: 10px;color:#334b63}.att-status-pill{display:inline-flex;padding:4px 7px;border-radius:5px;font-size: 10px;font-weight:700}.att-status-pill.present{background:#ddf7e8;color:#15945b}.att-status-pill.late{background:#fff0d9;color:#df8200}.att-status-pill.absent{background:#ffe2e6;color:#d83c4b}.att-status-pill.leave{background:#fff0d9;color:#bd7b00}.att-status-pill.holiday{background:#e1efff;color:#1769df}.att-status-pill.weekoff{background:#edf1f4;color:#657789}.att-view{border:1px solid #b9d2ef;background:#fff;border-radius:5px;color:#1769df;font-size: 10px;padding:5px 7px;display:inline-flex;align-items:center;gap:3px}.att-view svg{width:11px}.att-empty{text-align:center;padding:28px}.att-empty strong,.att-empty span{display:block}.att-empty strong{font-size: 10px;color:#344b63}.att-empty span{font-size: 10px;color:#8190a0;margin-top:4px}
.summary-panel{min-height:300px}.summary-panel .att-panel-head>strong{font-size: 10px;color:#536b83}.att-summary-list{padding:4px 13px 10px;margin:0}.att-summary-list div{display:flex;justify-content:space-between;border-bottom:1px solid #edf1f5;padding:7px 0}.att-summary-list dt,.att-summary-list dd{font-size: 10px}.att-summary-list dt{color:#50657d}.att-summary-list dd{margin:0;color:#1e3752;font-weight:750}
.att-modal{display:none;position:fixed;inset:0;z-index:99999;align-items:center;justify-content:center}.att-modal.is-open{display:flex}.att-modal-backdrop{position:absolute;inset:0;background:rgba(8,27,47,.52)}.att-modal-card{position:relative;width:min(470px,calc(100vw - 30px));background:#fff;border-radius:12px;padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.2);z-index:2}.att-modal-card h2{margin:0;font-size: 17px;color:#172f4b}.att-modal-card>p{font-size: 10px;color:#718196;line-height:1.5}.att-modal-close{position:absolute;right:13px;top:10px;border:0;background:transparent;font-size: 24px;color:#718196;cursor:pointer}.att-modal-card form>label{display:block;font-size: 10px;color:#334a63;font-weight:700;margin-top:10px}.att-modal-card input,.att-modal-card select,.att-modal-card textarea{width:100%;margin-top:5px;border:1px solid #dbe4ec;border-radius:7px;padding:9px;font-size: 10px;outline:0;background:#fff}.att-modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:15px}.att-modal-actions button{height:34px;border-radius:7px;padding:0 13px;font-size: 10px;font-weight:700}.att-modal-actions .cancel{border:1px solid #dbe4ec;background:#fff;color:#526a83}.att-modal-actions .submit{border:1px solid #0b5ed7;background:#0b5ed7;color:#fff}
@media(max-width:1350px){.att-top-grid{grid-template-columns:1.5fr 1fr}.month-kpis{grid-column:1/-1}.month-kpi-grid{grid-template-columns:repeat(4,1fr)}.att-middle-grid{grid-template-columns:1.2fr .9fr}.calendar-panel{grid-column:1/-1}.att-bottom-grid{grid-template-columns:1fr}.summary-panel{min-height:auto}}
@media(max-width:1000px){.att-top-grid,.att-middle-grid{grid-template-columns:1fr}.month-kpis,.calendar-panel{grid-column:auto}.month-kpi-grid{grid-template-columns:1fr 1fr}.att-side-stack{display:grid;grid-template-columns:1fr 1fr}.today-body{grid-template-columns:1fr}.history-filters form{flex-wrap:wrap}.history-filters .date-range{flex:1}}
@media(max-width:700px){.twp-wf-attendance-content{padding:10px}.att-top-grid,.att-middle-grid,.att-bottom-grid{gap:8px}.month-kpi-grid{grid-template-columns:1fr 1fr}.att-side-stack{grid-template-columns:1fr}.twp-wf-attendance-page .twp-wf-page-heading h1{font-size: 24px}.twp-wf-attendance-page .twp-wf-page-heading p{font-size: 10px}.today-body{padding:5px 10px 10px}.work-progress{gap:10px}.progress-ring{width:75px;height:75px;flex-basis:75px}.progress-ring>div{width:59px;height:59px}.work-line{width:110px}}

.att-toast{position:fixed;right:24px;bottom:24px;z-index:100000;padding:11px 15px;border-radius:8px;color:#fff;font-size: 10px;font-weight:750;box-shadow:0 12px 35px rgba(0,0,0,.18);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.att-toast.is-visible{opacity:1;transform:none}.att-toast.success{background:#15945b}.att-toast.error{background:#df3b4b}

/* ================================================================
   TWP WORKFORCE ATTENDANCE — FINAL READABILITY / TYPOGRAPHY PASS
   Typography only. Existing layout, sidebar, navigation and functionality
   are preserved. This block intentionally stays at the end so it overrides
   the compact legacy typography above without changing structure.
   ================================================================ */

/* Page heading — keep strong hierarchy */
.twp-wf-attendance-page .twp-wf-page-heading h1 {
    font-size: 30px !important;
    line-height: 1.1 !important;
}
.twp-wf-attendance-page .twp-wf-page-heading p {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Panel headings */
.twp-wf-attendance-page .att-panel-head h2 {
    font-size: 14px !important;
    line-height: 1.3 !important;
}
.twp-wf-attendance-page .att-panel-head > div > span,
.twp-wf-attendance-page .att-panel-head > span {
    font-size: 10px !important;
}
.twp-wf-attendance-page .att-panel-head a {
    font-size: 10px !important;
}

/* Today's Attendance — Shift / Check-in / Check-out / Presence / Break /
   Effective Work / Status */
.twp-wf-attendance-page .today-details > div > span,
.twp-wf-attendance-page .today-details > div > span:first-child {
    font-size: 12px !important;
    line-height: 1.4 !important;
}
.twp-wf-attendance-page .today-details > div > b,
.twp-wf-attendance-page .today-details > div > b.status-text {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

/* Working Now */
.twp-wf-attendance-page .work-now-box strong {
    font-size: 19px !important;
    line-height: 1.1 !important;
}
.twp-wf-attendance-page .work-now-box b {
    font-size: 11px !important;
    line-height: 1.3 !important;
}
.twp-wf-attendance-page .work-now-box small {
    font-size: 10px !important;
    line-height: 1.3 !important;
}

/* Main attendance action buttons */
.twp-wf-attendance-page .att-action {
    font-size: 12px !important;
    line-height: 1 !important;
}

/* Today's Work Time — ring, total hours, Shift Time, Presence Time,
   Break Time, Effective Work Time */
.twp-wf-attendance-page .work-progress .progress-ring strong {
    font-size: 19px !important;
    line-height: 1 !important;
}
.twp-wf-attendance-page .work-progress .work-hours {
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
}
.twp-wf-attendance-page .work-progress small {
    font-size: 11px !important;
    line-height: 1.35 !important;
}
.twp-wf-attendance-page .work-metrics span {
    font-size: 12px !important;
    line-height: 1.4 !important;
}
.twp-wf-attendance-page .work-metrics b {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

/* This Month Attendance */
.twp-wf-attendance-page .month-kpi strong {
    font-size: 21px !important;
    line-height: 1.1 !important;
}
.twp-wf-attendance-page .month-kpi.hours strong {
    font-size: 16px !important;
}
.twp-wf-attendance-page .month-kpi small {
    font-size: 11px !important;
    line-height: 1.3 !important;
}
.twp-wf-attendance-page .month-kpi em {
    font-size: 10px !important;
    line-height: 1.3 !important;
}

/* Today's Work Timeline */
.twp-wf-attendance-page .att-timeline-row time {
    font-size: 11px !important;
}
.twp-wf-attendance-page .att-timeline-row strong {
    font-size: 12px !important;
    line-height: 1.3 !important;
}
.twp-wf-attendance-page .att-timeline-row small {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

/* Breaks Today */
.twp-wf-attendance-page .break-total {
    font-size: 11px !important;
}
.twp-wf-attendance-page .break-table th,
.twp-wf-attendance-page .break-table td {
    font-size: 11px !important;
    line-height: 1.35 !important;
}
.twp-wf-attendance-page .att-small-action {
    font-size: 11px !important;
}

/* Regularization / Recent Requests */
.twp-wf-attendance-page .regularization-callout strong {
    font-size: 12px !important;
}
.twp-wf-attendance-page .regularization-callout small {
    font-size: 11px !important;
    line-height: 1.45 !important;
}
.twp-wf-attendance-page .regularization-callout button {
    font-size: 11px !important;
}
.twp-wf-attendance-page .request-list span,
.twp-wf-attendance-page .request-list strong,
.twp-wf-attendance-page .request-list small,
.twp-wf-attendance-page .request-list b {
    font-size: 11px !important;
}

/* Attendance Calendar — month selector, weekday names, date numbers,
   status legend */
.twp-wf-attendance-page .att-month-picker select {
    font-size: 11px !important;
}
.twp-wf-attendance-page .cal-head {
    font-size: 11px !important;
    line-height: 1.25 !important;
}
.twp-wf-attendance-page .cal-day,
.twp-wf-attendance-page .cal-day b {
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}
.twp-wf-attendance-page .cal-legend span {
    font-size: 10px !important;
    line-height: 1.3 !important;
}

/* Attendance History filters */
.twp-wf-attendance-page .history-filters select,
.twp-wf-attendance-page .history-filters input {
    font-size: 12px !important;
}
.twp-wf-attendance-page .history-view,
.twp-wf-attendance-page .history-reset {
    font-size: 12px !important;
}

/* Attendance History — every column */
.twp-wf-attendance-page .att-history th {
    font-size: 12px !important;
    line-height: 1.3 !important;
}
.twp-wf-attendance-page .att-history td {
    font-size: 12px !important;
    line-height: 1.4 !important;
}
.twp-wf-attendance-page .att-status-pill,
.twp-wf-attendance-page .att-view {
    font-size: 11px !important;
}
.twp-wf-attendance-page .att-empty strong {
    font-size: 13px !important;
}
.twp-wf-attendance-page .att-empty span {
    font-size: 11px !important;
}

/* Monthly Attendance Summary — deliberately readable */
.twp-wf-attendance-page .summary-panel .att-panel-head > strong {
    font-size: 13px !important;
    line-height: 1.35 !important;
}
.twp-wf-attendance-page .att-summary-list dt {
    font-size: 13px !important;
    line-height: 1.35 !important;
}
.twp-wf-attendance-page .att-summary-list dd {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
}

/* Modal */
.twp-wf-attendance-page .att-modal-card > p {
    font-size: 11px !important;
}
.twp-wf-attendance-page .att-modal-card form > label {
    font-size: 11px !important;
}
.twp-wf-attendance-page .att-modal-card input,
.twp-wf-attendance-page .att-modal-card select,
.twp-wf-attendance-page .att-modal-card textarea {
    font-size: 12px !important;
}
.twp-wf-attendance-page .att-modal-actions button {
    font-size: 11px !important;
}

/* Toast */
.twp-wf-attendance-page .att-toast {
    font-size: 11px !important;
}

/* ================================================================
   BUTTON REFINEMENT — FINAL
   Professional button palette + medium weight.
   No layout, sidebar or header changes.
   ================================================================ */
.twp-wf-attendance-page .att-action,
.twp-wf-attendance-page .att-small-action,
.twp-wf-attendance-page .regularization-callout button,
.twp-wf-attendance-page .history-view,
.twp-wf-attendance-page .history-reset,
.twp-wf-attendance-page .att-modal-actions button {
    font-weight: 700 !important;
}

.twp-wf-attendance-page .att-action.break,
.twp-wf-attendance-page .att-small-action.start {
    background: #D97706 !important;
}

.twp-wf-attendance-page .att-action.checkout {
    background: #DC3545 !important;
}

.twp-wf-attendance-page .att-action.checkin,
.twp-wf-attendance-page .regularization-callout button,
.twp-wf-attendance-page .history-view,
.twp-wf-attendance-page .att-modal-actions .submit {
    background: #0B5ED7 !important;
    border-color: #0B5ED7 !important;
}

.twp-wf-attendance-page .att-small-action.end {
    background: #D9E2EC !important;
    color: #526A83 !important;
    border-color: #D9E2EC !important;
}

/* ================================================================
   MOBILE — readable but compact. No layout/sidebar/navigation changes.
   ================================================================ */
@media (max-width: 700px) {
    .twp-wf-attendance-page .twp-wf-page-heading h1 {
        font-size: 24px !important;
    }
    .twp-wf-attendance-page .twp-wf-page-heading p {
        font-size: 11px !important;
    }
    .twp-wf-attendance-page .att-panel-head h2 {
        font-size: 14px !important;
    }

    .twp-wf-attendance-page .today-details > div > span {
        font-size: 11px !important;
    }
    .twp-wf-attendance-page .today-details > div > b,
    .twp-wf-attendance-page .today-details > div > b.status-text {
        font-size: 12px !important;
    }

    .twp-wf-attendance-page .work-now-box strong {
        font-size: 18px !important;
    }
    .twp-wf-attendance-page .work-now-box b {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .work-now-box small {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .att-action {
        font-size: 11px !important;
    }

    .twp-wf-attendance-page .work-progress .progress-ring strong {
        font-size: 17px !important;
    }
    .twp-wf-attendance-page .work-progress .work-hours {
        font-size: 16px !important;
    }
    .twp-wf-attendance-page .work-progress small {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .work-metrics span {
        font-size: 11px !important;
    }
    .twp-wf-attendance-page .work-metrics b {
        font-size: 12px !important;
    }

    .twp-wf-attendance-page .month-kpi strong {
        font-size: 19px !important;
    }
    .twp-wf-attendance-page .month-kpi.hours strong {
        font-size: 15px !important;
    }
    .twp-wf-attendance-page .month-kpi small {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .month-kpi em {
        font-size: 10px !important;
    }

    .twp-wf-attendance-page .att-timeline-row time,
    .twp-wf-attendance-page .att-timeline-row strong,
    .twp-wf-attendance-page .att-timeline-row small {
        font-size: 10px !important;
    }

    .twp-wf-attendance-page .break-total,
    .twp-wf-attendance-page .break-table th,
    .twp-wf-attendance-page .break-table td,
    .twp-wf-attendance-page .att-small-action {
        font-size: 10px !important;
    }

    .twp-wf-attendance-page .regularization-callout strong {
        font-size: 11px !important;
    }
    .twp-wf-attendance-page .regularization-callout small,
    .twp-wf-attendance-page .regularization-callout button,
    .twp-wf-attendance-page .request-list span,
    .twp-wf-attendance-page .request-list strong,
    .twp-wf-attendance-page .request-list small,
    .twp-wf-attendance-page .request-list b {
        font-size: 10px !important;
    }

    .twp-wf-attendance-page .att-month-picker select {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .cal-head {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .cal-day,
    .twp-wf-attendance-page .cal-day b {
        font-size: 11px !important;
    }
    .twp-wf-attendance-page .cal-legend span {
        font-size: 10px !important;
    }

    .twp-wf-attendance-page .history-filters select,
    .twp-wf-attendance-page .history-filters input,
    .twp-wf-attendance-page .history-view,
    .twp-wf-attendance-page .history-reset {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .att-history th,
    .twp-wf-attendance-page .att-history td {
        font-size: 11px !important;
    }
    .twp-wf-attendance-page .att-status-pill,
    .twp-wf-attendance-page .att-view {
        font-size: 10px !important;
    }
    .twp-wf-attendance-page .att-empty strong {
        font-size: 12px !important;
    }
    .twp-wf-attendance-page .att-empty span {
        font-size: 10px !important;
    }

    .twp-wf-attendance-page .summary-panel .att-panel-head > strong {
        font-size: 12px !important;
    }
    .twp-wf-attendance-page .att-summary-list dt,
    .twp-wf-attendance-page .att-summary-list dd {
        font-size: 12px !important;
    }
}
