:root{--mp-green:#173f32;--mp-green-2:#245744;--mp-gold:#b49352;--mp-ivory:#f6f4ed;--mp-ink:#24352e;--mp-muted:#748078;--mp-line:#e7e8e1;--mp-white:#fff}
.minars-people-wrap{max-width:1180px;margin:28px 24px 40px 0;color:var(--mp-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.mp-topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:var(--mp-green);border-radius:14px;color:#fff}.mp-brand{display:flex;align-items:center;gap:12px}.mp-brand-mark{width:42px;height:42px;border-radius:10px;background:#e8dcc0;color:var(--mp-green);display:grid;place-items:center;font-family:Georgia,serif;font-size:25px;font-weight:700}.mp-brand strong{display:block;letter-spacing:2px;font-size:17px}.mp-brand small{display:block;color:#d8cfb7;font-size:9px;letter-spacing:1.6px;margin-top:3px}.mp-version{font-size:10px;letter-spacing:1.3px;color:#e7dcc2}.mp-hero{padding:38px 34px 32px;margin-top:18px;background:var(--mp-ivory);border:1px solid #ebe7da;border-radius:14px}.mp-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--mp-gold);margin:0 0 10px}.mp-hero h1{font-size:32px;line-height:1.2;color:var(--mp-green);margin:0 0 12px}.mp-hero>p:last-child{font-size:14px;color:#65736b;max-width:700px;margin:0}.mp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.mp-card,.mp-panel{background:#fff;border:1px solid var(--mp-line);border-radius:14px;box-shadow:0 3px 14px rgba(25,48,37,.035)}.mp-card{padding:21px}.mp-card span,.mp-card small{display:block;color:var(--mp-muted);font-size:12px}.mp-card strong{display:block;color:var(--mp-green);font-size:30px;margin:9px 0 5px}.mp-card .mp-stat-text{font-size:20px}.mp-panel{padding:25px}.mp-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.mp-panel-heading h2{margin:0;color:var(--mp-green);font-size:21px}.mp-status{font-size:11px;color:#276448;background:#eaf3ed;padding:8px 12px;border-radius:20px}.mp-modules{border-top:1px solid var(--mp-line)}.mp-module{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--mp-line)}.mp-module>b{width:32px;height:32px;border-radius:9px;background:#f2efe5;color:var(--mp-gold);display:grid;place-items:center;font-size:12px}.mp-module strong,.mp-module small{display:block}.mp-module strong{font-size:13px;color:var(--mp-ink)}.mp-module small{font-size:11px;color:var(--mp-muted);margin-top:4px}.mp-module em{font-style:normal;color:#286647;font-size:11px;font-weight:600}.mp-module-pending em{color:#9b7b3d}.mp-notice{padding:15px 18px;background:#f8f6ef;border-left:3px solid var(--mp-gold);color:#657168;font-size:12px;line-height:1.6;border-radius:4px}.mp-portal{max-width:1120px;margin:25px auto;background:#f7f6f1;border:1px solid #ebe9e0;border-radius:16px;overflow:hidden;color:var(--mp-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.mp-portal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 26px;background:#fff;border-bottom:1px solid var(--mp-line)}.mp-brand-dark .mp-brand-mark{background:#eee7d6}.mp-brand-dark strong{color:var(--mp-green)}.mp-brand-dark small{color:#8b7b55}.mp-portal-header nav{display:flex;gap:22px}.mp-portal-header nav a{color:var(--mp-green);text-decoration:none;font-size:12px;font-weight:600}.mp-portal-main{padding:38px 34px 44px}.mp-portal-main h1{font-size:30px;color:var(--mp-green);margin:0 0 10px}.mp-muted{color:var(--mp-muted);font-size:14px;max-width:700px;line-height:1.6}.mp-portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px}.mp-portal-tile{background:#fff;border:1px solid var(--mp-line);border-radius:13px;padding:23px}.mp-portal-tile .dashicons{color:var(--mp-gold);font-size:23px;width:26px;height:26px}.mp-portal-tile h2{font-size:17px;color:var(--mp-green);margin:17px 0 8px}.mp-portal-tile p{font-size:12px;line-height:1.6;color:var(--mp-muted);min-height:58px}.mp-coming{display:inline-block;color:#8a713e;background:#f6f1e5;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:600}.mp-portal-footer{text-align:center;padding:17px;background:var(--mp-green);color:#e4d8b8;letter-spacing:1.6px;font-size:9px}.mp-login-shell{max-width:460px;margin:35px auto;padding:20px}.mp-login-card{background:#fff;border:1px solid var(--mp-line);border-radius:15px;padding:30px;box-shadow:0 8px 30px rgba(25,48,37,.06)}.mp-login-card h2{color:var(--mp-green);margin:25px 0 7px}.mp-login-card>p{color:var(--mp-muted);font-size:13px}.mp-login-card label{font-size:12px;color:var(--mp-ink)}.mp-login-card input[type=text],.mp-login-card input[type=password]{width:100%;margin-top:5px;padding:10px;border:1px solid var(--mp-line);border-radius:7px}.mp-login-card input[type=submit]{background:var(--mp-green);color:#fff;border:0;border-radius:7px;padding:11px 20px;font-weight:600}.mp-access-denied{padding:20px;background:#fff8e9;border:1px solid #ead9b1;border-radius:8px;color:#755b26}
@media(max-width:782px){.minars-people-wrap{margin:16px 12px}.mp-stats{grid-template-columns:1fr}.mp-hero{padding:27px 22px}.mp-hero h1{font-size:26px}.mp-panel{padding:18px}.mp-module{grid-template-columns:34px 1fr}.mp-module em{grid-column:2}.mp-portal{margin:12px;border-radius:12px}.mp-portal-header{padding:15px;align-items:flex-start;gap:12px}.mp-portal-header nav{gap:12px;flex-wrap:wrap;justify-content:flex-end}.mp-portal-main{padding:28px 18px}.mp-portal-main h1{font-size:25px}.mp-portal-grid{grid-template-columns:1fr}.mp-portal-tile p{min-height:0}}
.mp-attendance-actions{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}.mp-attendance-actions form{margin:0}.mp-attendance-actions button{min-width:150px;padding:12px 22px;border:0;border-radius:9px;background:#174533;color:#fff;font-weight:600;cursor:pointer}.mp-attendance-actions button:disabled{opacity:.45;cursor:not-allowed}.mp-portal-main h2{margin-top:26px}.mp-portal-main .widefat{margin:12px 0 24px}.mp-portal-main .mp-portal-tile strong{display:block;font-size:25px;color:#174533;margin:8px 0}.mp-portal-main .mp-notice{padding:12px 15px;background:#f4eedf;border-left:3px solid #b18a43;border-radius:5px;margin:16px 0}.mp-panel form input[type=number]{max-width:180px;margin:0 10px}.mp-panel details form{display:flex;flex-direction:column;gap:7px;min-width:220px;padding:8px 0}.mp-panel details form input,.mp-panel details form select{max-width:100%}

/* Side-by-side live clocks */
.mp-clocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 26px}
.mp-clock{border-radius:13px;padding:18px 22px;display:flex;flex-direction:column;gap:7px;border:1px solid var(--mp-line)}
.mp-clock-uk{background:var(--mp-green);color:#fff;border-color:var(--mp-green)}
.mp-clock-india{background:#f1ecdf;color:var(--mp-green);border-color:#e7dfca}
.mp-clock-label{font-size:10px;font-weight:700;letter-spacing:1.7px;opacity:.82}
.mp-clock-time{font-size:clamp(27px,4vw,38px);font-weight:650;letter-spacing:1px;font-variant-numeric:tabular-nums;line-height:1.2}
@media(max-width:560px){.mp-clocks{grid-template-columns:1fr}.mp-clock{padding:15px 18px}}

/* Official Minars Advisory logo */
.mp-brand-logo{display:block;width:auto;height:auto;max-width:190px;max-height:54px;object-fit:contain}
.mp-login-card .mp-brand-logo{max-width:210px;max-height:62px}
/* On the employee portal/login page, suppress the theme's outer header/footer and page title only. The public homepage is unaffected. */
body:has(.mp-portal) .wp-site-blocks>header,body:has(.mp-portal) .wp-site-blocks>footer,body:has(.mp-portal) .wp-block-post-title,body:has(.mp-login-shell) .wp-site-blocks>header,body:has(.mp-login-shell) .wp-site-blocks>footer,body:has(.mp-login-shell) .wp-block-post-title{display:none!important}
body:has(.mp-portal) .wp-site-blocks,body:has(.mp-login-shell) .wp-site-blocks{padding-top:0!important}
body:has(.mp-portal) .wp-block-post-content,body:has(.mp-login-shell) .wp-block-post-content{margin-block-start:0!important}

/* Partner reporting workspace: structured, readable and responsive */
.mp-partner-portal{max-width:1120px;background:#f7f6f1}
.mp-partner-portal .mp-portal-header{padding:20px 30px;min-height:76px}
.mp-partner-portal .mp-portal-header nav{align-items:center}
.mp-readonly-pill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:30px;background:#edf4ef;color:#245744;font-size:11px;font-weight:700;letter-spacing:.3px}
.mp-partner-main{padding:34px 34px 42px}
.mp-partner-heading h1{margin:0 0 8px;font-size:30px;line-height:1.2}
.mp-partner-heading .mp-muted{margin:0;max-width:760px}
.mp-partner-filter{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:26px 0 20px;padding:17px 18px;background:#fff;border:1px solid var(--mp-line);border-radius:12px}
.mp-month-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0}
.mp-month-form label{display:flex;flex-direction:column;gap:6px;color:#536158;font-size:11px;font-weight:700;letter-spacing:.4px}
.mp-month-form input{min-height:40px;border:1px solid #d9ded7;border-radius:7px;padding:7px 10px;color:var(--mp-ink);background:#fff}
.mp-partner-button{min-height:40px;padding:0 17px;border:1px solid var(--mp-green);border-radius:7px;background:var(--mp-green);color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.mp-partner-button:hover{background:#245744;color:#fff}
.mp-partner-button-outline{background:#fff;color:var(--mp-green)}
.mp-download-form{margin:0}
.mp-partner-month-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 13px}
.mp-partner-month-title h2{margin:0;color:var(--mp-green);font-size:19px}
.mp-partner-month-title>span,.mp-partner-count{color:var(--mp-muted);font-size:11px}
.mp-partner-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 25px}
.mp-partner-stat{padding:17px 19px;background:#fff;border:1px solid var(--mp-line);border-radius:12px}
.mp-partner-stat span,.mp-partner-stat small{display:block;color:var(--mp-muted);font-size:11px}
.mp-partner-stat strong{display:block;margin:7px 0;color:var(--mp-green);font-size:27px;font-weight:700;font-variant-numeric:tabular-nums}
.mp-partner-section{margin:18px 0 22px;padding:22px;background:#fff;border:1px solid var(--mp-line);border-radius:13px}
.mp-partner-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.mp-partner-section-heading .mp-eyebrow{margin-bottom:5px}
.mp-partner-section-heading h2{margin:0;color:var(--mp-green);font-size:20px}
.mp-partner-section-heading .mp-muted{margin:6px 0 0;font-size:12px}
.mp-partner-table-wrap{width:100%;overflow-x:auto;border:1px solid #e7e9e3;border-radius:9px}
.mp-partner-table{width:100%;border-collapse:separate;border-spacing:0;min-width:760px;font-size:12px;text-align:left}
.mp-partner-table th{padding:13px 14px;background:#f5f5ef;color:#58665d;font-size:10px;font-weight:700;letter-spacing:.55px;text-transform:uppercase;border-bottom:1px solid #e5e8e1;white-space:nowrap}
.mp-partner-table td{padding:14px;border-bottom:1px solid #edf0ea;color:#3e4d44;vertical-align:middle;white-space:nowrap}
.mp-partner-table tbody tr:last-child td{border-bottom:0}
.mp-partner-table tbody tr:hover{background:#fbfbf8}
.mp-partner-table td strong{color:#213e32;font-weight:650}
.mp-partner-status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700}
.mp-partner-status.is-ontime{background:#eaf3ed;color:#276448}
.mp-partner-status.is-late{background:#fbf0df;color:#936a24}
.mp-partner-empty{padding:22px;border:1px dashed #d9dfd6;border-radius:9px;background:#fbfcf9;color:#758078;font-size:12px;text-align:center}
.mp-partner-corrections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.mp-correction-card{padding:17px;border:1px solid #e8ebe4;border-radius:11px;background:#fdfdfb;min-width:0}
.mp-correction-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.mp-correction-top>div strong,.mp-correction-top>div span{display:block}
.mp-correction-top>div strong{color:#203f32;font-size:13px}
.mp-correction-top>div span{margin-top:4px;color:#7b867e;font-size:10px}
.mp-correction-tag{padding:5px 8px;border-radius:20px;background:#f3efe4;color:#8b713d;font-size:9px;font-weight:700;white-space:nowrap}
.mp-correction-values{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:17px 0;padding:13px;background:#f5f6f1;border-radius:8px}
.mp-correction-values small,.mp-correction-values strong{display:block}
.mp-correction-values small,.mp-correction-meta small{margin-bottom:5px;color:#7b867e;font-size:10px}
.mp-correction-values strong{color:#234535;font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mp-correction-arrow{color:#b49352;font-size:19px}
.mp-correction-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mp-correction-meta p{margin:0;color:#34463c;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.mp-correction-meta small{display:block}
@media(max-width:700px){.mp-partner-main{padding:25px 16px 30px}.mp-partner-portal .mp-portal-header{padding:15px 17px}.mp-partner-stats{grid-template-columns:1fr 1fr}.mp-partner-corrections{grid-template-columns:1fr}.mp-partner-section{padding:16px}.mp-partner-month-title{align-items:flex-start;flex-direction:column}.mp-partner-filter{align-items:stretch}.mp-month-form{width:100%}.mp-month-form input{flex:1;min-width:130px}.mp-download-form,.mp-download-form button{width:100%}}
@media(max-width:440px){.mp-partner-stats{grid-template-columns:1fr}.mp-correction-meta{grid-template-columns:1fr}}

/* v1.1.15 punctuality engine preview */
.mp-streak-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:16px 0 4px}
.mp-streak-preview-card{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid #e7e2d7;border-radius:14px;background:#fff;min-width:0;box-shadow:0 2px 8px rgba(23,63,53,.04)}
.mp-streak-name{font-weight:650;color:#173f35;overflow-wrap:anywhere}
.mp-streak-preview-card>strong{font-size:30px;line-height:1.1;color:#173f35;font-weight:750}
.mp-streak-preview-card>strong small{font-size:13px;font-weight:600;color:#777}
.mp-streak-meta{font-size:12px;color:#6b706c}

/* v1.1.15.1: punctuality preview cards — explicit admin-scoped layout and cache-busted stylesheet */
.minars-people-wrap .mp-punctuality-panel{margin-bottom:18px}
.minars-people-wrap .mp-streak-preview-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 2px;align-items:stretch}
.minars-people-wrap .mp-streak-preview-card{box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:stretch;justify-content:flex-start;gap:14px;min-width:0;padding:18px 19px;border:1px solid #e7e2d7;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(23,63,53,.045);white-space:normal;line-height:1.45}
.minars-people-wrap .mp-streak-card-heading{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.minars-people-wrap .mp-streak-name{display:block;max-width:100%;color:#173f35;font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.minars-people-wrap .mp-streak-status{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;border-radius:20px;background:#edf2ed;color:#53675a;font-size:10px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.minars-people-wrap .mp-streak-status-missed_check_in{background:#fbf0df;color:#936a24}
.minars-people-wrap .mp-streak-status-today_pending{background:#f4f0e5;color:#8a713e}
.minars-people-wrap .mp-streak-current{display:flex;align-items:baseline;gap:10px;padding:12px 0;border-top:1px solid #edf0ea;border-bottom:1px solid #edf0ea}
.minars-people-wrap .mp-streak-current strong{display:block;color:#173f35;font-size:34px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}
.minars-people-wrap .mp-streak-current>span{color:#68756d;font-size:12px;font-weight:600}
.minars-people-wrap .mp-streak-current small,.minars-people-wrap .mp-streak-longest small{font-size:10px;font-weight:500;color:#7b867e}
.minars-people-wrap .mp-streak-longest{display:flex;align-items:center;justify-content:space-between;gap:10px}
.minars-people-wrap .mp-streak-longest>span{color:#68756d;font-size:11px}
.minars-people-wrap .mp-streak-longest strong{color:#294b3c;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:1050px){.minars-people-wrap .mp-streak-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.minars-people-wrap .mp-streak-preview-grid{grid-template-columns:1fr}.minars-people-wrap .mp-streak-preview-card{padding:16px}}

/* v1.1.16 employee directory and profile */
.minars-people-wrap .mp-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:18px}
.minars-people-wrap .mp-profile-card{box-sizing:border-box;display:flex;align-items:center;gap:13px;min-width:0;padding:17px;border:1px solid #e7e2d7;border-radius:14px;background:#fff;text-decoration:none;color:#173f35;box-shadow:0 2px 8px rgba(23,63,53,.04)}
.minars-people-wrap .mp-profile-card:hover{border-color:#bca66d;box-shadow:0 5px 16px rgba(23,63,53,.08)}
.minars-people-wrap .mp-profile-avatar{display:flex;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#e9efe9;color:#245342;font-size:17px;font-weight:750}
.minars-people-wrap .mp-profile-avatar-large{width:58px;height:58px;flex-basis:58px;font-size:22px}
.minars-people-wrap .mp-profile-card-main{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.minars-people-wrap .mp-profile-card-main strong{font-size:14px;overflow-wrap:anywhere}
.minars-people-wrap .mp-profile-card-main small{font-size:11px;color:#69766e;overflow-wrap:anywhere}
.minars-people-wrap .mp-profile-card-main em,.minars-people-wrap .mp-profile-record-list em{font-size:10px;font-style:normal;color:#8a713e;font-weight:650}
.minars-people-wrap .mp-profile-open{font-size:11px;color:#8a713e;white-space:nowrap}
.minars-people-wrap #mp-profile-search{max-width:250px}
.minars-people-wrap .mp-profile-detail-heading{display:flex;align-items:center;gap:16px}
.minars-people-wrap .mp-profile-detail-heading h2{margin:2px 0 4px}
.minars-people-wrap .mp-profile-detail-heading p:last-child{margin:0;color:#69766e}
.minars-people-wrap .mp-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.minars-people-wrap .mp-profile-stats article{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:11px;background:#f5f6f2}
.minars-people-wrap .mp-profile-stats span{font-size:11px;color:#68756d}
.minars-people-wrap .mp-profile-stats strong{font-size:21px;color:#173f35}
.minars-people-wrap .mp-profile-footnote{font-size:11px;color:#788078}
.minars-people-wrap .mp-profile-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.minars-people-wrap .mp-profile-edit-form label{display:flex;flex-direction:column;gap:6px;font-weight:600;color:#40564a}
.minars-people-wrap .mp-profile-edit-form input,.minars-people-wrap .mp-profile-edit-form select,.minars-people-wrap .mp-profile-edit-form textarea{width:100%;max-width:100%}
.minars-people-wrap .mp-profile-wide{grid-column:1/-1}
.minars-people-wrap .mp-profile-record-list{display:flex;flex-direction:column;gap:9px}
.minars-people-wrap .mp-profile-record-list article{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:13px 15px;border:1px solid #eceee8;border-radius:10px}
.minars-people-wrap .mp-profile-record-list article strong{min-width:125px;color:#173f35}
.minars-people-wrap .mp-profile-record-list article span{font-size:12px;color:#68756d}
.minars-people-wrap .mp-profile-record-list article small{flex-basis:100%;color:#68756d}
@media(max-width:1100px){.minars-people-wrap .mp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.minars-people-wrap .mp-profile-grid,.minars-people-wrap .mp-profile-stats,.minars-people-wrap .mp-profile-edit-form{grid-template-columns:1fr}.minars-people-wrap .mp-profile-wide{grid-column:auto}.minars-people-wrap .mp-profile-card{align-items:flex-start}.minars-people-wrap .mp-profile-open{display:none}}

/* v1.1.16.1 admin profile directory layout correction */
body.wp-admin .minars-people-wrap.mp-admin-profile-page{max-width:1440px;margin:22px 24px 40px 0;padding:0 18px 28px;box-sizing:border-box;color:#243a31}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:0 0 18px;background:#fff;border:1px solid #e7e2d7;border-radius:16px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-brand-logo{display:block;width:auto!important;height:auto!important;max-width:230px!important;max-height:100px!important;object-fit:contain}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-version{font-size:11px;letter-spacing:.12em;font-weight:700;color:#9b7c37}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero{padding:24px 26px;margin-bottom:18px;border-radius:16px;background:#173f35;color:#fff}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero h1{margin:5px 0 8px;color:#fff;font-size:28px;line-height:1.2;font-weight:700}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero p{max-width:850px;margin:0;color:rgba(255,255,255,.82);font-size:13px;line-height:1.6}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero .mp-eyebrow{margin-bottom:6px;color:#d6bd79;font-size:10px;letter-spacing:.18em;font-weight:750}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel{padding:24px;margin:0 0 18px;border:1px solid #e7e2d7;border-radius:16px;background:#fff;box-shadow:0 2px 9px rgba(23,63,53,.04)}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel h2{margin:0 0 8px;color:#173f35;font-size:20px;line-height:1.3}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel p{line-height:1.6}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:18px 0 0!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page a.mp-profile-card{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;min-height:92px;padding:17px!important;border:1px solid #e7e2d7!important;border-radius:14px!important;background:#fff!important;color:#173f35!important;text-decoration:none!important;white-space:normal!important;line-height:1.4!important;box-shadow:0 2px 8px rgba(23,63,53,.04)}
body.wp-admin .minars-people-wrap.mp-admin-profile-page a.mp-profile-card:hover{border-color:#bca66d!important;box-shadow:0 5px 16px rgba(23,63,53,.08)}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-avatar{display:flex!important;flex:0 0 44px!important;width:44px!important;height:44px!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#e9efe9!important;color:#245342!important;font-size:17px!important;font-weight:750!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main strong{display:block!important;font-size:14px!important;color:#173f35!important;overflow-wrap:anywhere}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main small{display:block!important;font-size:11px!important;color:#69766e!important;overflow-wrap:anywhere}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main em{display:inline-block!important;width:max-content;max-width:100%;font-size:10px!important;font-style:normal!important;color:#8a713e!important;font-weight:650!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-open{display:block!important;flex:0 0 auto!important;font-size:11px!important;color:#8a713e!important;white-space:nowrap!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page #mp-profile-search{width:250px;max-width:100%;padding:8px 11px;border:1px solid #d9dfd9;border-radius:8px}
@media(max-width:1100px){body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){body.wp-admin .minars-people-wrap.mp-admin-profile-page{margin-right:10px;padding:0 8px 20px}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-grid{grid-template-columns:1fr!important}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel-heading{align-items:flex-start;flex-direction:column}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-topbar{align-items:flex-start;flex-direction:column}}

/* v1.1.16.3: employee profile page and form layout, loaded on submenu hook */
body.wp-admin .minars-people-wrap.mp-admin-profile-page{max-width:1440px;margin:22px 24px 40px 0;padding:0 18px 28px;box-sizing:border-box;color:#243a31}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:0 0 18px;background:#fff;border:1px solid #e7e2d7;border-radius:16px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-brand-logo{display:block;width:auto!important;height:auto!important;max-width:230px!important;max-height:100px!important;object-fit:contain}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-version{font-size:11px;letter-spacing:.12em;font-weight:700;color:#9b7c37}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero{padding:24px 26px;margin-bottom:18px;border-radius:16px;background:#173f35;color:#fff}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero h1{margin:5px 0 8px;color:#fff;font-size:28px;line-height:1.2;font-weight:700}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero p{max-width:850px;margin:0;color:rgba(255,255,255,.82);font-size:13px;line-height:1.6}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-hero .mp-eyebrow{margin-bottom:6px;color:#d6bd79;font-size:10px;letter-spacing:.18em;font-weight:750}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel{padding:24px;margin:0 0 18px;border:1px solid #e7e2d7;border-radius:16px;background:#fff;box-shadow:0 2px 9px rgba(23,63,53,.04)}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-panel h2{margin:0 0 8px;color:#173f35;font-size:20px;line-height:1.3}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:18px 0 0!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page a.mp-profile-card{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;min-height:92px;padding:17px!important;border:1px solid #e7e2d7!important;border-radius:14px!important;background:#fff!important;color:#173f35!important;text-decoration:none!important;white-space:normal!important;line-height:1.4!important;box-shadow:0 2px 8px rgba(23,63,53,.04)}
body.wp-admin .minars-people-wrap.mp-admin-profile-page a.mp-profile-card:hover{border-color:#bca66d!important;box-shadow:0 5px 16px rgba(23,63,53,.08)}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-avatar{display:flex!important;flex:0 0 44px!important;width:44px!important;height:44px!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#e9efe9!important;color:#245342!important;font-size:17px!important;font-weight:750!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main strong{display:block!important;font-size:14px!important;color:#173f35!important;overflow-wrap:anywhere}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main small{display:block!important;font-size:11px!important;color:#69766e!important;overflow-wrap:anywhere}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-card-main em{display:inline-block!important;width:max-content;max-width:100%;font-size:10px!important;font-style:normal!important;color:#8a713e!important;font-weight:650!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-open{display:block!important;flex:0 0 auto!important;font-size:11px!important;color:#8a713e!important;white-space:nowrap!important}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-detail-heading{display:flex;align-items:center;gap:16px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-stats article{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:11px;background:#f5f6f2}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form label{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;font-size:12px;font-weight:650;color:#40564a}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form input,body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form select,body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:40px;padding:8px 10px;border:1px solid #d9dfd9;border-radius:8px;background:#fff}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form input[readonly]{background:#f4f5f1;color:#647268}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-wide{grid-column:1/-1}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-record-list{display:flex;flex-direction:column;gap:9px}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-record-list article{display:grid;grid-template-columns:minmax(130px,1fr) repeat(3,minmax(100px,1fr));align-items:center;gap:10px 18px;padding:13px 15px;border:1px solid #eceee8;border-radius:10px;background:#fff}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-record-list article strong{color:#173f35}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-record-list article span{font-size:12px;color:#68756d}
body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-record-list article small{grid-column:1/-1;color:#68756d}
@media(max-width:1100px){body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){body.wp-admin .minars-people-wrap.mp-admin-profile-page{margin-right:10px;padding:0 8px 20px}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-grid,body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-stats,body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-edit-form{grid-template-columns:1fr}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-wide{grid-column:auto}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-panel-heading{align-items:flex-start;flex-direction:column}body.wp-admin .minars-people-wrap.mp-admin-profile-page .mp-profile-record-list article{grid-template-columns:1fr 1fr}}

/* v1.1.16.4 add employee workflow */
.minars-people-wrap .mp-directory-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.minars-people-wrap .mp-add-employee-panel{margin:18px 0;padding:22px;border:1px solid #e7e2d7;border-radius:14px;background:#fdfdfb}
.minars-people-wrap .mp-add-employee-panel[hidden]{display:none!important}
.minars-people-wrap .mp-add-employee-panel h3{margin:0 0 6px;color:#173f35;font-size:18px}
.minars-people-wrap .mp-add-employee-panel>p{margin:0 0 18px;color:#68756d;font-size:12px}
.minars-people-wrap .mp-add-employee-panel .mp-profile-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.minars-people-wrap .mp-add-employee-panel label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:650;color:#40564a}
.minars-people-wrap .mp-add-employee-panel input,.minars-people-wrap .mp-add-employee-panel textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:40px;padding:8px 10px;border:1px solid #d9dfd9;border-radius:8px;background:#fff}
.minars-people-wrap .mp-add-employee-panel .mp-profile-wide{grid-column:1/-1}
@media(max-width:650px){.minars-people-wrap .mp-add-employee-panel .mp-profile-edit-form{grid-template-columns:1fr}.minars-people-wrap .mp-add-employee-panel .mp-profile-wide{grid-column:auto}.minars-people-wrap .mp-directory-actions{width:100%}}

/* v1.1.17 — Minars People employee dashboard and shared team calendar */
.mp-app-shell{--mp-app-green:#254b3a;--mp-app-deep:#193a2d;--mp-app-ivory:#f7f7f1;--mp-app-gold:#b99a5b;--mp-app-line:#e5e9e2;display:flex;min-height:780px;margin:24px auto;background:#fbfcfa;border:1px solid var(--mp-app-line);border-radius:16px;overflow:hidden;color:#24372d;font-family:inherit;box-shadow:0 12px 36px rgba(26,58,43,.07)}
.mp-app-shell *{box-sizing:border-box}.mp-app-sidebar{width:220px;flex:0 0 220px;display:flex;flex-direction:column;padding:22px 14px;background:#f0f3ed;border-right:1px solid var(--mp-app-line)}.mp-app-brand{display:flex;align-items:center;justify-content:center;min-height:72px;padding:5px 10px 22px;border-bottom:1px solid #dfe5dc}.mp-app-brand img{display:block;width:100%;max-width:165px;height:auto;object-fit:contain}.mp-app-nav{display:flex;flex-direction:column;gap:5px;padding-top:24px}.mp-app-nav a,.mp-app-signout{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:9px;color:#526157;text-decoration:none;font-size:13px;font-weight:600;transition:background .15s,color .15s}.mp-app-nav a span{width:20px;text-align:center;color:#687b6d;font-size:18px}.mp-app-nav a:hover,.mp-app-nav a.is-active{background:#dfe9df;color:var(--mp-app-deep)}.mp-app-nav a.is-active span{color:var(--mp-app-green)}.mp-app-signout{margin-top:auto;color:#7a6550}.mp-app-content{flex:1;min-width:0}.mp-app-topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff;border-bottom:1px solid var(--mp-app-line);color:#6b786e;font-size:11px;font-weight:750;letter-spacing:.9px}.mp-app-user{display:flex;align-items:center;gap:10px;color:#34483b;font-size:12px;font-weight:650;letter-spacing:0}.mp-app-avatar{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:#e4ece3;color:var(--mp-app-green);font-weight:750}.mp-app-main{max-width:1500px;margin:0 auto;padding:30px 30px 38px}.mp-app-footer{padding:17px 30px;border-top:1px solid var(--mp-app-line);color:#879188;font-size:10px;letter-spacing:1px}.mp-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.mp-page-heading h1{margin:0 0 7px;color:#203e30;font-size:30px;line-height:1.2;font-weight:750}.mp-page-heading p:not(.mp-eyebrow){margin:0;color:#7b877e;font-size:12px}.mp-page-heading .mp-eyebrow{margin:0 0 7px;color:#9b8352;font-size:9px;font-weight:800;letter-spacing:1.5px}.mp-primary-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border-radius:8px;background:var(--mp-app-green);color:#fff!important;text-decoration:none;font-size:12px;font-weight:700}.mp-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}.mp-dashboard-card{display:flex;flex-direction:column;min-width:0;min-height:190px;overflow:hidden;border:1px solid var(--mp-app-line);border-radius:12px;background:#fff;box-shadow:0 2px 9px rgba(29,61,44,.025)}.mp-dashboard-card .mp-card-heading{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 16px;border-bottom:1px solid #edf0eb;background:#f4f6f1}.mp-card-heading h2{flex:1;margin:0;color:#294636;font-size:13px;font-weight:750}.mp-card-icon{display:inline-flex;width:27px;height:27px;align-items:center;justify-content:center;border-radius:8px;background:#e3ebe1;color:#355c43;font-size:15px;font-weight:750}.mp-card-status{padding:5px 8px;border-radius:20px;background:#eaf2e9;color:#42664b;font-size:9px;font-weight:750}.mp-card-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:25px;text-align:center}.mp-card-empty strong{color:#334b3b;font-size:13px}.mp-card-empty p,.mp-dashboard-card>p{margin:0;color:#89938b;font-size:11px;line-height:1.55}.mp-card-empty.compact{align-items:flex-start;text-align:left;padding:22px}.mp-card-empty a,.mp-leave-overview a{color:#496b4e;font-size:11px;font-weight:700;text-decoration:none}.mp-card-footer{display:block;margin-top:auto;padding:12px 15px;border-top:1px solid #edf0eb;color:#496b4e;text-align:center;text-decoration:none;font-size:11px;font-weight:700}.mp-leave-overview{display:flex;flex:1;flex-direction:column;justify-content:center;gap:8px;padding:20px}.mp-leave-overview strong{color:#314a39;font-size:17px}.mp-leave-overview p{margin:0;color:#849087;font-size:11px}.mp-next-shift{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:20px;text-align:center}.mp-next-shift strong{color:#314b39;font-size:15px}.mp-next-shift span{color:#435b48;font-size:12px}.mp-next-shift small,.mp-card-footnote{color:#8a958c;font-size:10px}.mp-attendance-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 17px 10px}.mp-attendance-summary>div{display:flex;flex-direction:column;gap:6px}.mp-attendance-summary small{color:#8a958c;font-size:10px}.mp-attendance-summary strong{color:#2d4938;font-size:18px;font-variant-numeric:tabular-nums}.mp-dashboard-actions{display:flex;gap:8px;padding:7px 17px 12px}.mp-dashboard-actions form{flex:1;margin:0}.mp-dashboard-actions button{width:100%;min-height:36px;border:1px solid var(--mp-app-green);border-radius:7px;background:var(--mp-app-green);color:#fff;font-size:11px;font-weight:700;cursor:pointer}.mp-dashboard-actions button.is-secondary{background:#fff;color:var(--mp-app-green)}.mp-dashboard-actions button:disabled{opacity:.45;cursor:not-allowed}.mp-card-footnote{display:block;padding:0 17px 13px}.mp-calendar-teaser>p{padding:18px 17px 5px}.mp-calendar-teaser-month{margin:7px 17px 15px;padding:16px;border-radius:8px;background:#f5f7f2;color:#3b5943;font-size:16px;font-weight:750}.mp-coming-soon{color:#9a8353;font-size:10px;font-weight:750}.mp-recent-attendance{grid-column:1/-1;min-height:0;margin-top:2px}.mp-responsive-table{overflow-x:auto;padding:0 16px 16px}.mp-responsive-table table{width:100%;border-collapse:collapse;font-size:11px}.mp-responsive-table th,.mp-responsive-table td{padding:11px 12px;border-bottom:1px solid #edf0eb;text-align:left;white-space:nowrap}.mp-responsive-table th{color:#79867c;font-size:9px;letter-spacing:.6px;text-transform:uppercase}.mp-responsive-table td{color:#45564a}.mp-view-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--mp-app-line);border-radius:9px;background:#fff}.mp-view-tabs a{padding:8px 15px;border-radius:6px;color:#657267;text-decoration:none;font-size:11px;font-weight:700}.mp-view-tabs a.active{background:#e8eee5;color:#2c5138}.mp-calendar-panel{overflow:hidden;border:1px solid var(--mp-app-line);border-radius:12px;background:#fff}.mp-calendar-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--mp-app-line);background:#fafbf8}.mp-calendar-toolbar h2{margin:0;color:#2d4836;font-size:17px;text-align:center}.mp-calendar-controls{display:flex;align-items:center;gap:6px}.mp-calendar-controls a{display:inline-flex;min-width:35px;height:34px;align-items:center;justify-content:center;border:1px solid #dfe6dc;border-radius:6px;color:#48624c;text-decoration:none;font-size:18px}.mp-calendar-controls a.mp-today-link{padding:0 11px;font-size:10px;font-weight:700}.mp-calendar-mode{justify-self:end;padding:8px 12px;border-radius:6px;background:#e9efe6;color:#426046;font-size:9px;font-weight:800;letter-spacing:.7px}.mp-calendar-grid{padding:0 13px 13px}.mp-calendar-weekdays,.mp-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.mp-calendar-weekdays span{padding:12px 5px;background:#f1f4ee;color:#49644e;text-align:center;font-size:10px;font-weight:750}.mp-calendar-cell{display:flex;min-width:0;min-height:112px;flex-direction:column;align-items:stretch;gap:4px;padding:8px;border-right:1px solid #edf0eb;border-bottom:1px solid #edf0eb;background:#fff}.mp-calendar-cell.is-outside{background:#fafbf9}.mp-calendar-cell.is-today{background:#f5f8f2;outline:1px solid #9fb49b;outline-offset:-1px}.mp-calendar-date{align-self:flex-end;color:#59695c;font-size:10px;font-weight:650}.mp-calendar-cell.is-outside .mp-calendar-date{color:#c5cbc4}.mp-calendar-event{display:block;overflow:hidden;padding:4px 5px;border-radius:4px;color:#fff;font-size:9px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.mp-calendar-event.is-annual{background:#52765b}.mp-calendar-event.is-other{background:#b18d4f}.mp-calendar-more{color:#758278;font-size:9px}.mp-calendar-legend{display:flex;align-items:center;gap:17px;flex-wrap:wrap;padding:13px 16px;border-top:1px solid #edf0eb}.mp-calendar-legend span{display:flex;align-items:center;gap:6px;color:#617064;font-size:10px}.mp-calendar-legend i{display:inline-block;width:9px;height:9px;border-radius:3px;background:#52765b}.mp-calendar-legend i.is-other{background:#b18d4f}.mp-calendar-legend small{margin-left:auto;color:#929b93;font-size:9px}.mp-calendar-list{padding:10px 18px}.mp-calendar-list-row{display:grid;grid-template-columns:130px 1fr 150px;gap:12px;align-items:center;padding:13px 5px;border-bottom:1px solid #edf0eb;font-size:11px}.mp-calendar-list-row time{color:#77847a}.mp-calendar-list-row strong{color:#314b39}.mp-calendar-list-row span{color:#758278}.mp-empty-state{padding:28px;color:#849087;text-align:center;font-size:12px}.mp-calendar-note{margin:12px 2px;color:#89948b;font-size:10px;line-height:1.5}
@media(max-width:1000px){.mp-app-sidebar{width:190px;flex-basis:190px}.mp-app-main{padding:24px 20px}.mp-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.mp-app-shell{display:block;margin:10px 0;border-radius:10px}.mp-app-sidebar{width:100%;padding:10px 12px;border-right:0;border-bottom:1px solid var(--mp-app-line)}.mp-app-brand{justify-content:flex-start;min-height:45px;padding:0 4px 9px}.mp-app-brand img{max-width:135px;width:auto;max-height:36px}.mp-app-nav{flex-direction:row;overflow-x:auto;gap:4px;padding-top:9px}.mp-app-nav a{flex:0 0 auto;gap:6px;padding:9px;font-size:10px}.mp-app-nav a span{width:auto;font-size:14px}.mp-app-signout{display:none}.mp-app-topbar{height:54px;padding:0 15px}.mp-app-main{padding:20px 13px 25px}.mp-page-heading{align-items:flex-start;flex-direction:column;gap:13px}.mp-page-heading h1{font-size:24px}.mp-dashboard-grid{grid-template-columns:1fr;gap:12px}.mp-recent-attendance{grid-column:auto}.mp-dashboard-card{min-height:165px}.mp-calendar-toolbar{grid-template-columns:1fr auto;}.mp-calendar-toolbar h2{grid-column:1/-1;grid-row:1;text-align:left}.mp-calendar-controls{grid-column:1;grid-row:2}.mp-calendar-mode{grid-column:2;grid-row:2}.mp-calendar-cell{min-height:76px;padding:5px 3px}.mp-calendar-event{padding:3px;font-size:8px}.mp-calendar-legend{gap:10px}.mp-calendar-legend small{flex-basis:100%;margin-left:0}.mp-calendar-list-row{grid-template-columns:95px 1fr;gap:7px}.mp-calendar-list-row span{grid-column:2}.mp-view-tabs a{padding:7px 10px}}

/* v1.1.18 desktop-width and Sense HR-style dashboard corrections */
body:has(.mp-app-shell) .wp-site-blocks{max-width:none!important;width:100%!important}
body:has(.mp-app-shell) .wp-block-post-content{max-width:none!important;width:100%!important;margin-inline:0!important;padding-inline:0!important}
body:has(.mp-app-shell) .wp-block-post-content > *{max-width:none!important}
body:has(.mp-app-shell) .entry-content,body:has(.mp-app-shell) .wp-block-group{max-width:none}
.mp-app-shell{width:100vw!important;max-width:none!important;margin:0 0 0 calc(50% - 50vw)!important;border:0!important;border-radius:0!important;min-height:calc(100vh - 30px);box-shadow:none!important}
.mp-app-sidebar{width:190px;flex-basis:190px}
.mp-app-main{max-width:none;width:100%;padding:28px clamp(22px,3vw,48px) 40px}
.mp-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

.mp-dashboard-card{min-height:190px}
.mp-recent-attendance{grid-column:1/-1}
.mp-dashboard-card a{cursor:pointer}
.mp-app-nav a:focus-visible,.mp-card-footer:focus-visible,.mp-primary-link:focus-visible{outline:2px solid #b99a5b;outline-offset:2px}
@media(max-width:1100px){.mp-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.mp-app-shell{width:100%!important;margin:0!important;min-height:100vh}.mp-dashboard-grid{grid-template-columns:1fr}.mp-recent-attendance{grid-column:auto}.mp-app-main{padding:20px 13px 25px}}
/* v1.1.19: functional section views and dual live clocks */
.mp-world-clocks{display:flex;align-items:center;gap:18px;margin-left:auto;margin-right:24px}
.mp-world-clocks>div{display:flex;flex-direction:column;gap:3px;min-width:88px}
.mp-world-clocks small{font-size:8px;letter-spacing:1px;color:#89948b;font-weight:800}
.mp-world-clocks strong{font-size:17px;letter-spacing:.5px;color:#254b3a;font-variant-numeric:tabular-nums}
.mp-section-card{min-height:260px}
.mp-section-note{padding:0 20px 18px;color:#7c887f;font-size:11px;line-height:1.5}
.mp-team-directory{display:flex;flex-direction:column;gap:0;border:1px solid var(--mp-app-line);border-radius:12px;background:#fff;overflow:hidden}
.mp-team-person{display:flex;align-items:center;gap:13px;padding:15px 18px;border-bottom:1px solid #edf0eb;min-width:0}
.mp-team-person:last-child{border-bottom:0}
.mp-team-person>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.mp-team-person strong{font-size:12px;color:#304a39}
.mp-team-person small{font-size:10px;color:#879188}
.mp-team-person>a{font-size:10px;color:#496b4e;text-decoration:none;font-weight:700}
.mp-app-shell{width:100%;max-width:none;margin:0;border-radius:0;min-height:calc(100vh - 20px)}
.mp-app-content{min-width:0;overflow:hidden}
.mp-app-main{width:100%;max-width:1600px}
@media(max-width:800px){.mp-world-clocks{gap:9px;margin-right:10px}.mp-world-clocks>div{min-width:68px}.mp-world-clocks strong{font-size:13px}.mp-app-topbar{padding:0 14px}}
@media(max-width:560px){.mp-world-clocks{gap:7px;margin:0 8px}.mp-world-clocks>div{min-width:58px}.mp-world-clocks small{font-size:7px}.mp-world-clocks strong{font-size:11px}.mp-app-user{font-size:10px}.mp-team-person{padding:12px}}
/* Keep the shortcode portal application-style without changing the site homepage. */
body:has(.mp-app-shell) .wp-site-blocks>header,
body:has(.mp-app-shell) .wp-site-blocks>footer,
body:has(.mp-app-shell) header.wp-block-template-part,
body:has(.mp-app-shell) footer.wp-block-template-part{display:none!important}
body:has(.mp-app-shell) .wp-site-blocks{padding-top:0!important}


/* v1.1.20: application-only layout polish and real section destinations */
body:has(.mp-app-shell){overflow-x:hidden!important}
body:has(.mp-app-shell) .wp-site-blocks{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important}
body:has(.mp-app-shell) .wp-site-blocks>header,
body:has(.mp-app-shell) .wp-site-blocks>footer,
body:has(.mp-app-shell) header.wp-block-template-part,
body:has(.mp-app-shell) footer.wp-block-template-part,
body:has(.mp-app-shell) .wp-block-post-title,
body:has(.mp-app-shell) .entry-title,
body:has(.mp-app-shell) .page-title,
body:has(.mp-app-shell) .wp-block-query-title{display:none!important}
body:has(.mp-app-shell) .wp-block-post-content,
body:has(.mp-app-shell) .entry-content,
body:has(.mp-app-shell) .wp-block-group{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body:has(.mp-app-shell) .wp-block-post-content>*{max-width:none!important;margin-block:0!important}
.mp-app-shell{display:flex!important;width:100%!important;max-width:100%!important;min-height:100vh!important;margin:0!important;border:0!important;border-radius:0!important;overflow-x:clip!important;box-shadow:none!important}
.mp-app-content{flex:1 1 auto!important;width:calc(100% - 190px)!important;min-width:0!important;overflow-x:clip!important}
.mp-app-main{width:100%!important;max-width:none!important;margin:0!important;padding:24px clamp(18px,2.4vw,38px) 30px!important}
.mp-app-footer{padding:10px 24px!important;font-size:9px!important}
.mp-dashboard-grid{width:100%!important;min-width:0!important}
.mp-dashboard-card,.mp-calendar-panel,.mp-team-directory{min-width:0!important;max-width:100%!important}
.mp-responsive-table{max-width:100%!important}
.mp-card-footer,.mp-dashboard-card a:not(.mp-primary-link){cursor:pointer}
@media(max-width:680px){.mp-app-shell{display:block!important;width:100%!important;min-height:100vh!important}.mp-app-content{width:100%!important}.mp-app-main{padding:18px 13px 24px!important}}

/* Official England & Wales bank holiday marker */
.mp-calendar-event.is-bank-holiday{background:#8a779d}.mp-calendar-legend i.is-bank-holiday{background:#8a779d}

/* Minars People 1.1.22: weekend and bank-holiday calendar distinction */
.mp-calendar-cell.is-weekend{background:#f7f8f5}
.mp-calendar-cell.is-weekend .mp-calendar-date{color:#879188}
.mp-calendar-event.is-weekend{background:#e8ece7;color:#536357;border:1px solid #d9e0d8}
.mp-calendar-event.is-bank-holiday{background:#8a779d}
.mp-calendar-legend i.is-weekend{background:#e8ece7;border:1px solid #cbd5ca}



/* v1.1.25 – refined employee dashboard composition */
.mp-dashboard-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-areas:
    "attendance attendance nextshift leaveoverview"
    "calendar calendar requests team"
    "documents documents organisation organisation"
    "recent recent recent recent";
  gap:18px;
  align-items:stretch;
}
.mp-card-attendance{grid-area:attendance;min-height:228px}
.mp-card-next-shift{grid-area:nextshift;min-height:228px}
.mp-card-leave-overview{grid-area:leaveoverview;min-height:228px}
.mp-card-calendar{grid-area:calendar;min-height:218px}
.mp-card-leave-requests{grid-area:requests;min-height:218px}
.mp-card-team{grid-area:team;min-height:218px}
.mp-card-documents{grid-area:documents;min-height:190px}
.mp-card-organisation{grid-area:organisation;min-height:190px}
.mp-recent-attendance{grid-area:recent;grid-column:auto;min-height:0;margin-top:0}
.mp-dashboard-card{box-shadow:0 3px 14px rgba(29,61,44,.045);transition:transform .16s ease,box-shadow .16s ease}
.mp-dashboard-card:hover{box-shadow:0 7px 20px rgba(29,61,44,.075)}
.mp-card-attendance .mp-attendance-summary{padding-top:22px}
.mp-card-calendar .mp-calendar-teaser-month{margin-top:12px}
.mp-card-documents .mp-card-empty,.mp-card-organisation .mp-card-empty{min-height:104px}
@media(max-width:1100px){
  .mp-dashboard-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:
      "attendance attendance"
      "nextshift leaveoverview"
      "calendar calendar"
      "requests team"
      "documents organisation"
      "recent recent";
  }
}
@media(max-width:680px){
  .mp-dashboard-grid{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:
      "attendance"
      "nextshift"
      "leaveoverview"
      "calendar"
      "requests"
      "team"
      "documents"
      "organisation"
      "recent";
    gap:12px;
  }
  .mp-card-attendance,.mp-card-next-shift,.mp-card-leave-overview,
  .mp-card-calendar,.mp-card-leave-requests,.mp-card-team,
  .mp-card-documents,.mp-card-organisation,.mp-recent-attendance{
    grid-column:auto;
    min-height:165px;
  }
  .mp-recent-attendance{min-height:0}
}


/* Minars People — interactive-style organisation chart presentation */
.mp-org-chart{padding:24px 18px 30px;background:#f7f6ef;border:1px solid #e6e8df;border-radius:18px;overflow:hidden}
.mp-org-company{width:min(340px,90%);margin:0 auto 34px;padding:18px 22px;text-align:center;background:#194638;color:#fff;border-radius:13px;box-shadow:0 8px 22px rgba(25,70,56,.13);position:relative;display:flex;flex-direction:column;gap:5px}
.mp-org-company strong{font-size:15px;letter-spacing:.12em}.mp-org-company span{font-size:10px;color:#dce8df;letter-spacing:.08em;text-transform:uppercase}
.mp-org-leaders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;position:relative}
.mp-org-leader{min-width:0;position:relative;padding-top:24px}
.mp-org-leader:before{content:"";position:absolute;top:0;left:50%;height:24px;border-left:2px solid #c5b17b}
.mp-org-leader-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:18px 12px;background:#fff;border:1px solid #c8b47e;border-radius:13px;box-shadow:0 4px 14px rgba(31,61,45,.05)}
.mp-org-kicker{font-size:9px;letter-spacing:.13em;color:#a1833f;font-weight:800}.mp-org-leader-card strong{font-size:16px;color:#194638}.mp-org-leader-card small{font-size:10px;color:#7b887d}
.mp-org-departments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;position:relative}
.mp-org-department{min-width:0;background:#fff;border:1px solid #e0e5dc;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(31,61,45,.035)}
.mp-org-department>header{padding:12px 13px;background:#eaf0e8;color:#244b3a;font-size:12px;font-weight:800;line-height:1.4;min-height:48px;display:flex;align-items:center}
.mp-org-employees{padding:8px;display:flex;flex-direction:column;gap:8px}
.mp-org-employee{display:flex;align-items:flex-start;gap:10px;padding:10px;background:#fbfcfa;border:1px solid #edf0e9;border-radius:9px;min-width:0}
.mp-org-avatar{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e3ece3;color:#194638;font-size:13px;font-weight:800}
.mp-org-employee>div{display:flex;flex-direction:column;gap:3px;min-width:0}.mp-org-employee strong{font-size:11px;color:#304a39;line-height:1.35}.mp-org-employee small,.mp-org-employee em{font-size:9px;color:#7d897e;line-height:1.4;font-style:normal}.mp-org-employee a{font-size:9px;color:#8d7139;font-weight:700;text-decoration:none;margin-top:3px}
.mp-org-unassigned{margin-top:20px;padding:14px;background:#fff8e9;border:1px solid #ead9ad;border-radius:12px}.mp-org-unassigned h2{font-size:13px;color:#705a2d;margin:0 0 8px}
.mp-admin-profile-page .mp-org-chart{margin-top:20px}.mp-admin-profile-page .mp-org-company{margin-bottom:34px}
@media(max-width:900px){.mp-org-leaders{grid-template-columns:1fr;gap:18px}.mp-org-leader{padding-top:18px}.mp-org-leader:before{height:18px}.mp-org-departments{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mp-org-chart{padding:16px 10px}.mp-org-departments{grid-template-columns:1fr}.mp-org-leader-card strong{font-size:14px}.mp-org-department>header{min-height:0}}

/* Employee self-service profile form */
.mp-self-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.mp-self-profile-form label,.mp-profile-dob-request label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#40564a;font-size:13px;font-weight:650}
.mp-self-profile-form input:not([type=checkbox]),.mp-self-profile-form textarea,.mp-profile-dob-request input{box-sizing:border-box;width:100%;max-width:100%;min-height:42px;padding:10px 12px;border:1px solid #d9dfd9;border-radius:9px;background:#fff;color:#24392e}
.mp-self-profile-form .mp-profile-wide{grid-column:1/-1}
.mp-self-profile-form .mp-profile-checkbox{display:flex;flex-direction:row;align-items:center;font-weight:500}
.mp-self-profile-form .mp-profile-checkbox input{width:17px;height:17px}
.mp-self-profile-form h3{margin:8px 0 0;color:#244b39}
.mp-self-profile-form h3 small{display:block;margin-top:4px;color:#718076;font-size:11px;font-weight:500}
.mp-profile-dob-request{margin-top:24px;padding-top:20px;border-top:1px solid #e7ebe6}
.mp-profile-dob-request form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.mp-profile-dob-request label{min-width:220px}
@media(max-width:650px){.mp-self-profile-form{grid-template-columns:1fr}.mp-self-profile-form .mp-profile-wide{grid-column:auto}.mp-profile-dob-request form{align-items:stretch;flex-direction:column}.mp-profile-dob-request label{min-width:0}}

/* Profile page alignment: consistent card spacing, field grid and photo controls */
.mp-app-main .mp-section-card:has(.mp-profile-photo-area),
.mp-app-main .mp-section-card:has(.mp-self-profile-form){min-height:0!important}
.mp-app-main .mp-profile-photo-area{display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important;padding:20px!important;min-width:0!important}
.mp-app-main .mp-profile-photo-area>img{display:block!important;flex:0 0 76px!important;width:76px!important;height:76px!important;border-radius:50%!important;object-fit:cover!important}
.mp-app-main .mp-profile-photo-area>.mp-app-avatar{flex:0 0 76px!important;width:76px!important;height:76px!important;font-size:25px!important}
.mp-app-main .mp-profile-photo-area form{display:flex!important;align-items:flex-end!important;gap:12px!important;flex:1 1 520px!important;flex-wrap:wrap!important;min-width:0!important;margin:0!important}
.mp-app-main .mp-profile-photo-area form label{display:flex!important;flex:1 1 340px!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;min-width:220px!important;margin:0!important;color:#40564a!important;font-size:12px!important;font-weight:650!important;line-height:1.4!important}
.mp-app-main .mp-profile-photo-area input[type=file]{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-height:40px!important;padding:7px!important;border:1px solid #d9dfd9!important;border-radius:8px!important;background:#fff!important;color:#40564a!important;font-size:12px!important}
.mp-app-main .mp-profile-photo-area .mp-primary-link{flex:0 0 auto!important;min-height:40px!important;white-space:nowrap!important}
.mp-app-main .mp-profile-photo-area form+form{flex:0 0 auto!important;align-items:center!important}
.mp-app-main .mp-profile-photo-area form+form button{min-height:40px!important;padding:0 14px!important;border:1px solid #d9dfd9!important;border-radius:8px!important;background:#fff!important;color:#40564a!important;font-size:12px!important;font-weight:650!important}
.mp-app-main .mp-self-profile-form{box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:16px!important;margin:0!important;padding:20px!important}
.mp-app-main .mp-self-profile-form>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;min-width:0!important;margin:0!important;color:#40564a!important;font-size:12px!important;font-weight:650!important;line-height:1.4!important}
.mp-app-main .mp-self-profile-form input:not([type=checkbox]),
.mp-app-main .mp-self-profile-form textarea{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-height:42px!important;margin:0!important;padding:10px 12px!important;border:1px solid #d9dfd9!important;border-radius:9px!important;background:#fff!important;color:#24392e!important;font:inherit!important;font-weight:400!important}
.mp-app-main .mp-self-profile-form textarea{min-height:62px!important;resize:vertical!important}
.mp-app-main .mp-self-profile-form .mp-profile-wide{grid-column:1/-1!important}
.mp-app-main .mp-self-profile-form h3{grid-column:1/-1!important;margin:5px 0 0!important;padding-top:3px!important;color:#244b39!important;font-size:19px!important;font-weight:600!important;line-height:1.3!important}
.mp-app-main .mp-self-profile-form h3 small{display:block!important;margin-top:4px!important;color:#718076!important;font-size:11px!important;font-weight:500!important}
.mp-app-main .mp-self-profile-form .mp-profile-checkbox{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;font-weight:500!important}
.mp-app-main .mp-self-profile-form .mp-profile-checkbox input{flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important}
.mp-app-main .mp-self-profile-form>div.mp-profile-wide{margin:0!important}
.mp-app-main .mp-profile-dob-request{margin:0 20px!important;padding:20px 0 22px!important;border-top:1px solid #e7ebe6!important}
.mp-app-main .mp-profile-dob-request h3{margin:0 0 7px!important;color:#244b39!important;font-size:19px!important;font-weight:600!important;line-height:1.3!important}
.mp-app-main .mp-profile-dob-request>p{margin:0 0 14px!important;color:#718076!important;font-size:12px!important;line-height:1.5!important}
.mp-app-main .mp-profile-dob-request form{display:flex!important;align-items:flex-end!important;gap:12px!important;flex-wrap:wrap!important;margin:0!important}
.mp-app-main .mp-profile-dob-request label{display:flex!important;flex:0 1 260px!important;flex-direction:column!important;gap:7px!important;min-width:220px!important;margin:0!important;color:#40564a!important;font-size:12px!important;font-weight:650!important}
.mp-app-main .mp-profile-dob-request input{box-sizing:border-box!important;width:100%!important;min-height:42px!important;margin:0!important;padding:8px 10px!important;border:1px solid #d9dfd9!important;border-radius:9px!important;background:#fff!important}
.mp-app-main .mp-profile-dob-request .mp-primary-link{min-height:42px!important;white-space:nowrap!important}
@media(max-width:680px){
 .mp-app-main .mp-self-profile-form{grid-template-columns:minmax(0,1fr)!important;padding:16px!important}
 .mp-app-main .mp-self-profile-form .mp-profile-wide,.mp-app-main .mp-self-profile-form h3{grid-column:1!important}
 .mp-app-main .mp-profile-photo-area{align-items:flex-start!important;padding:16px!important}
 .mp-app-main .mp-profile-photo-area form{flex:1 1 100%!important}
 .mp-app-main .mp-profile-photo-area form label{flex-basis:100%!important;min-width:0!important}
 .mp-app-main .mp-profile-photo-area .mp-primary-link{width:100%!important}
 .mp-app-main .mp-profile-dob-request{margin:0 16px!important}
 .mp-app-main .mp-profile-dob-request form{align-items:stretch!important;flex-direction:column!important}
 .mp-app-main .mp-profile-dob-request label{flex-basis:auto!important;min-width:0!important}
 .mp-app-main .mp-profile-dob-request .mp-primary-link{width:100%!important}
}

/* Profile photo layout and thumbnail sizing */
.mp-profile-photo-area{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 16px}
.mp-profile-photo-area>img{display:block!important;flex:0 0 88px!important;width:88px!important;height:88px!important;min-width:88px!important;max-width:88px!important;object-fit:cover!important;border-radius:50%!important;overflow:hidden}
.mp-profile-photo-area>.mp-app-avatar{display:flex;flex:0 0 88px;width:88px;height:88px;align-items:center;justify-content:center;border-radius:50%}
.mp-profile-photo-upload-form{display:flex;align-items:flex-end;gap:12px;flex:1 1 520px;min-width:260px;flex-wrap:wrap}
.mp-profile-photo-upload-form label{display:flex;flex-direction:column;gap:8px;flex:1 1 320px;min-width:240px;margin:0}
.mp-profile-photo-upload-form input[type=file]{width:100%;max-width:100%;box-sizing:border-box}
.mp-profile-photo-area>form:not(.mp-profile-photo-upload-form){flex:0 0 auto;margin:0}
@media(max-width:640px){.mp-profile-photo-area{align-items:flex-start;gap:12px}.mp-profile-photo-upload-form{flex-basis:100%}.mp-profile-photo-upload-form label{min-width:100%}}

/* Phase 2 attendance reporting and punctuality milestones */
.mp-streak-milestones{margin-top:10px;font-size:12px;color:#68786f}
.mp-streak-milestone{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:22px;margin:3px 2px;padding:0 6px;border:1px solid #d5ded8;border-radius:12px;background:#f5f7f5;color:#718078;font-weight:600}
.mp-streak-milestone.is-achieved{background:#e1eee5;border-color:#b8d0c0;color:#214d3b}
.mp-punctuality-panel .mp-profile-footnote{margin:8px 0 0;font-size:12px;line-height:1.5;color:#718078}


/* v1.2.1 employee-facing punctuality and achievement card */
.mp-employee-streak-card{margin-bottom:18px}
.mp-employee-streak-card .mp-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.mp-employee-streak-card .mp-card-heading p{margin:5px 0 0;color:#718078;font-size:13px}
.mp-employee-streak-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.mp-employee-streak-stats article{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid #e7ece8;border-radius:12px;background:#fbfcfb;min-width:0}
.mp-employee-streak-stats article strong{font-size:27px;line-height:1.15;color:#173f35;font-weight:750;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mp-employee-streak-stats article span{font-size:12px;color:#68756d}
.mp-employee-streak-stats article small{font-size:10px;color:#7b867e}
.mp-employee-streak-card .mp-streak-milestones{margin-top:12px}
.mp-employee-streak-card .mp-streak-milestones>strong{display:block;margin-bottom:5px;color:#46584e;font-size:12px}
.mp-employee-streak-card .mp-profile-footnote{margin-top:13px}
@media(max-width:600px){.mp-employee-streak-stats{grid-template-columns:1fr 1fr}.mp-employee-streak-stats article:last-child{grid-column:1/-1}.mp-employee-streak-card .mp-card-heading{flex-direction:column}}


/* v1.2.2 employee dashboard punctuality card */
.mp-card-punctuality{grid-column:span 2}
.mp-card-punctuality .mp-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.mp-card-punctuality .mp-card-heading p{margin:5px 0 0;color:#718078;font-size:12px}
.mp-dashboard-streak-progress{margin:8px 0 12px}
.mp-dashboard-streak-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;color:#46584e;font-size:12px}
.mp-dashboard-streak-progress-heading span{color:#718078;white-space:nowrap}
.mp-dashboard-streak-track{height:9px;overflow:hidden;border-radius:20px;background:#e9eeea}
.mp-dashboard-streak-track span{display:block;height:100%;border-radius:20px;background:#2e7656;transition:width .2s ease}
.mp-card-punctuality .mp-employee-streak-stats{margin:12px 0}
.mp-card-punctuality .mp-employee-streak-stats article{padding:12px}
.mp-card-punctuality .mp-streak-milestones{margin-top:8px}
.mp-card-punctuality .mp-card-footnote{display:block;margin-top:10px;color:#718078;font-size:11px;line-height:1.5}
@media(max-width:700px){.mp-card-punctuality{grid-column:1/-1}.mp-card-punctuality .mp-card-heading{flex-direction:column}.mp-dashboard-streak-progress-heading{align-items:flex-start;flex-direction:column;gap:4px}}

/* v1.2.3 dashboard alignment: pair recent attendance and punctuality in a balanced final row */
.mp-dashboard-grid{
  grid-template-areas:
    "attendance attendance nextshift leaveoverview"
    "calendar calendar requests team"
    "documents documents organisation organisation"
    "recent recent streak streak";
  align-items:stretch;
}
.mp-recent-attendance{grid-area:recent!important;grid-column:auto!important;margin-top:0!important;min-height:100%!important}
.mp-card-punctuality{grid-area:streak!important;grid-column:auto!important;min-width:0!important;min-height:100%!important}
.mp-card-punctuality .mp-card-heading{align-items:center!important;flex-wrap:wrap!important}
.mp-card-punctuality .mp-card-heading>div{min-width:0;flex:1 1 220px}
.mp-card-punctuality .mp-card-heading .mp-streak-status{flex:0 0 auto!important;max-width:170px!important;padding:5px 9px!important;border-radius:20px!important;font-size:10px!important;line-height:1.3!important;white-space:normal!important;text-align:center!important}
.mp-card-punctuality .mp-employee-streak-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 16px!important}
.mp-card-punctuality .mp-dashboard-streak-progress,
.mp-card-punctuality .mp-streak-milestones,
.mp-card-punctuality .mp-card-footnote{margin-left:16px!important;margin-right:16px!important}
.mp-card-punctuality .mp-card-footnote{padding-left:0!important;padding-right:0!important}
.mp-recent-attendance .mp-responsive-table{width:100%;min-width:0}
@media(max-width:1100px){
  .mp-dashboard-grid{
    grid-template-areas:
      "attendance attendance"
      "nextshift leaveoverview"
      "calendar calendar"
      "requests team"
      "documents organisation"
      "recent streak";
  }
}
@media(max-width:680px){
  .mp-dashboard-grid{
    grid-template-areas:
      "attendance"
      "nextshift"
      "leaveoverview"
      "calendar"
      "requests"
      "team"
      "documents"
      "organisation"
      "recent"
      "streak";
  }
  .mp-recent-attendance,.mp-card-punctuality{grid-column:auto!important;min-height:0!important}
  .mp-card-punctuality .mp-card-heading{align-items:flex-start!important;flex-direction:column!important}
}


/* v1.2.4 – definitive employee portal grid and punctuality/profile alignment */
.mp-app-main{width:100%;max-width:1500px;min-width:0}
.mp-dashboard-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-areas:
    "attendance attendance nextshift leaveoverview"
    "calendar calendar requests team"
    "documents documents organisation organisation"
    "streak streak recent recent"!important;
  gap:18px!important;
  align-items:stretch!important;
}
.mp-dashboard-grid>.mp-dashboard-card{width:auto!important;min-width:0!important;max-width:none!important;margin:0!important}
.mp-card-punctuality{grid-area:streak!important;grid-column:auto!important;min-height:100%!important}
.mp-recent-attendance{grid-area:recent!important;grid-column:auto!important;min-height:100%!important;margin:0!important}
.mp-card-punctuality .mp-card-heading,
.mp-employee-streak-card .mp-card-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important}
.mp-card-punctuality .mp-card-heading>div,
.mp-employee-streak-card .mp-card-heading>div{flex:1 1 auto!important;min-width:0!important}
.mp-card-punctuality .mp-card-heading .mp-streak-status,
.mp-employee-streak-card .mp-card-heading .mp-streak-status{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
  width:auto!important;max-width:190px!important;min-height:0!important;margin:0!important;padding:5px 10px!important;
  border:0!important;border-radius:20px!important;background:#f4f0e5!important;color:#80652e!important;
  font-size:10px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:0!important;
  text-align:center!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
.mp-card-punctuality .mp-employee-streak-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 16px!important;padding:0!important}
.mp-card-punctuality .mp-employee-streak-stats article{min-width:0!important}
.mp-card-punctuality .mp-dashboard-streak-progress,
.mp-card-punctuality .mp-streak-milestones,
.mp-card-punctuality .mp-card-footnote{margin-left:16px!important;margin-right:16px!important}
.mp-card-punctuality .mp-card-footnote{padding:0 0 13px!important}
.mp-recent-attendance .mp-responsive-table{width:100%!important;min-width:0!important;overflow-x:auto}
.mp-employee-streak-card:not(.mp-card-punctuality){width:100%!important;min-width:0!important;margin:0 0 18px!important}
.mp-employee-streak-card:not(.mp-card-punctuality) .mp-employee-streak-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:16px!important}
.mp-employee-streak-card:not(.mp-card-punctuality) .mp-streak-milestones,
.mp-employee-streak-card:not(.mp-card-punctuality) .mp-profile-footnote{margin-left:16px!important;margin-right:16px!important}
.mp-employee-streak-card:not(.mp-card-punctuality) .mp-profile-footnote{margin-top:12px!important;margin-bottom:16px!important;line-height:1.55!important}
@media(max-width:1100px){
  .mp-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:
    "attendance attendance"
    "nextshift leaveoverview"
    "calendar calendar"
    "requests team"
    "documents organisation"
    "streak recent"!important;gap:15px!important}
}
@media(max-width:680px){
  .mp-dashboard-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:
    "attendance" "nextshift" "leaveoverview" "calendar" "requests" "team" "documents" "organisation" "streak" "recent"!important;gap:12px!important}
  .mp-dashboard-grid>.mp-dashboard-card{min-height:0!important}
  .mp-card-punctuality .mp-card-heading,.mp-employee-streak-card .mp-card-heading{align-items:flex-start!important;flex-direction:column!important}
  .mp-employee-streak-card:not(.mp-card-punctuality) .mp-employee-streak-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mp-employee-streak-card:not(.mp-card-punctuality) .mp-employee-streak-stats article:last-child{grid-column:1/-1}
}


/* v1.2.5 – automatically pack dashboard cards to use available page space.
   Fixed layout: no drag-and-drop or per-user customisation. Dense grid placement
   fills available positions and avoids leaving a vacant final column. */
.mp-dashboard-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-areas:none!important;grid-auto-flow:row dense!important;grid-auto-rows:minmax(190px,auto)!important;gap:16px!important;align-items:stretch!important}
.mp-dashboard-grid>.mp-dashboard-card{min-width:0!important;max-width:none!important;width:auto!important;margin:0!important;grid-area:auto!important;grid-column:span 3!important}
.mp-dashboard-grid>.mp-card-attendance,.mp-dashboard-grid>.mp-card-calendar,.mp-dashboard-grid>.mp-card-documents,.mp-dashboard-grid>.mp-card-organisation,.mp-dashboard-grid>.mp-card-punctuality,.mp-dashboard-grid>.mp-recent-attendance{grid-column:span 6!important}
.mp-dashboard-grid>.mp-card-next-shift,.mp-dashboard-grid>.mp-card-leave-overview,.mp-dashboard-grid>.mp-card-leave-requests,.mp-dashboard-grid>.mp-card-team{grid-column:span 3!important}
.mp-dashboard-grid>.mp-card-punctuality,.mp-dashboard-grid>.mp-recent-attendance{min-height:100%!important}
.mp-dashboard-grid>.mp-card-punctuality .mp-card-heading,.mp-dashboard-grid>.mp-card-punctuality .mp-employee-streak-stats,.mp-dashboard-grid>.mp-recent-attendance .mp-responsive-table{min-width:0!important}
@media(max-width:1050px){.mp-dashboard-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:minmax(175px,auto)!important;gap:14px!important}.mp-dashboard-grid>.mp-dashboard-card{grid-column:span 3!important}.mp-dashboard-grid>.mp-card-attendance,.mp-dashboard-grid>.mp-card-calendar,.mp-dashboard-grid>.mp-card-punctuality,.mp-dashboard-grid>.mp-recent-attendance{grid-column:span 6!important}.mp-dashboard-grid>.mp-card-documents,.mp-dashboard-grid>.mp-card-organisation{grid-column:span 3!important}}
@media(max-width:680px){.mp-dashboard-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;gap:12px!important}.mp-dashboard-grid>.mp-dashboard-card{grid-column:1/-1!important;min-height:0!important}.mp-dashboard-grid>.mp-card-punctuality .mp-card-heading,.mp-dashboard-grid>.mp-employee-streak-card .mp-card-heading{align-items:flex-start!important;flex-direction:column!important}}


/* v1.2.6 – refined fixed dashboard composition */
.mp-dashboard-grid{
  display:grid!important;
  width:100%!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-areas:
    "attendance attendance attendance attendance attendance attendance nextshift nextshift nextshift leaveoverview leaveoverview leaveoverview"
    "calendar calendar calendar calendar calendar calendar requests requests requests team team team"
    "streak streak streak streak streak streak recent recent recent recent recent recent"
    "documents documents documents documents documents documents organisation organisation organisation organisation organisation organisation"!important;
  grid-auto-flow:row!important;
  grid-auto-rows:minmax(205px,auto)!important;
  gap:18px!important;
  align-items:stretch!important;
}
.mp-dashboard-grid>.mp-dashboard-card{
  width:auto!important;min-width:0!important;max-width:none!important;
  margin:0!important;grid-column:auto!important;min-height:0!important;
}
.mp-card-attendance{grid-area:attendance!important}
.mp-card-next-shift{grid-area:nextshift!important}
.mp-card-leave-overview{grid-area:leaveoverview!important}
.mp-card-calendar{grid-area:calendar!important}
.mp-card-leave-requests{grid-area:requests!important}
.mp-card-team{grid-area:team!important}
.mp-card-punctuality{grid-area:streak!important}
.mp-recent-attendance{grid-area:recent!important}
.mp-card-documents{grid-area:documents!important}
.mp-card-organisation{grid-area:organisation!important}
.mp-dashboard-grid>.mp-dashboard-card .mp-card-heading{min-height:48px!important;gap:10px!important}
.mp-dashboard-grid>.mp-dashboard-card .mp-card-heading h2{font-size:14px!important;line-height:1.35!important}
.mp-dashboard-grid>.mp-dashboard-card .mp-card-footer{margin-top:auto!important}
.mp-card-attendance .mp-attendance-summary{gap:22px!important}
.mp-card-attendance .mp-dashboard-actions{gap:10px!important}
.mp-card-next-shift .mp-next-shift{min-height:145px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:9px!important;padding:16px!important}
.mp-card-leave-overview .mp-leave-overview{padding:16px!important}
.mp-card-calendar{display:flex!important;flex-direction:column!important}
.mp-card-calendar>p{margin:16px 16px 8px!important}
.mp-card-calendar .mp-calendar-teaser-month{margin:8px 16px 16px!important}
.mp-card-punctuality{display:flex!important;flex-direction:column!important}
.mp-card-punctuality .mp-employee-streak-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.mp-card-punctuality .mp-streak-milestones>div{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
.mp-card-punctuality .mp-card-footnote{line-height:1.5!important}
.mp-recent-attendance{display:flex!important;flex-direction:column!important}
.mp-recent-attendance .mp-responsive-table{flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important}
.mp-recent-attendance table{width:100%!important}
.mp-card-documents,.mp-card-organisation{display:flex!important;flex-direction:column!important}
.mp-card-documents .mp-card-empty,.mp-card-organisation .mp-card-empty{flex:1 1 auto!important}
@media(max-width:1100px){
 .mp-dashboard-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-areas:
  "attendance attendance attendance attendance attendance attendance"
  "nextshift nextshift nextshift leaveoverview leaveoverview leaveoverview"
  "calendar calendar calendar calendar calendar calendar"
  "requests requests requests team team team"
  "streak streak streak recent recent recent"
  "documents documents documents organisation organisation organisation"!important;gap:15px!important;grid-auto-rows:minmax(185px,auto)!important}
}
@media(max-width:680px){
 .mp-dashboard-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:
  "attendance" "nextshift" "leaveoverview" "calendar" "requests" "team" "streak" "recent" "documents" "organisation"!important;gap:12px!important;grid-auto-rows:auto!important}
 .mp-dashboard-grid>.mp-dashboard-card{min-height:0!important}
 .mp-card-punctuality .mp-card-heading,.mp-employee-streak-card .mp-card-heading{align-items:flex-start!important;flex-direction:column!important}
}


/* v1.2.7 – enlarge the two bottom dashboard cards to use the full row. */
.mp-dashboard-grid{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-areas:
    "attendance attendance attendance attendance attendance attendance nextshift nextshift nextshift leaveoverview leaveoverview leaveoverview"
    "calendar calendar calendar calendar calendar calendar requests requests requests team team team"
    "documents documents documents documents documents documents organisation organisation organisation organisation organisation organisation"
    "streak streak streak streak streak streak recent recent recent recent recent recent"!important;
}
.mp-dashboard-grid>.mp-card-punctuality{
  grid-area:streak!important;
  grid-column:1 / span 6!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.mp-dashboard-grid>.mp-recent-attendance{
  grid-area:recent!important;
  grid-column:7 / span 6!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
@media(max-width:1100px){
 .mp-dashboard-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-areas:
  "attendance attendance attendance attendance attendance attendance"
  "nextshift nextshift nextshift leaveoverview leaveoverview leaveoverview"
  "calendar calendar calendar calendar calendar calendar"
  "requests requests requests team team team"
  "documents documents documents organisation organisation organisation"
  "streak streak streak recent recent recent"!important}
 .mp-dashboard-grid>.mp-card-punctuality{grid-column:1 / span 3!important}
 .mp-dashboard-grid>.mp-recent-attendance{grid-column:4 / span 3!important}
}
@media(max-width:680px){
 .mp-dashboard-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:
  "attendance" "nextshift" "leaveoverview" "calendar" "requests" "team" "documents" "organisation" "streak" "recent"!important}
 .mp-dashboard-grid>.mp-card-punctuality,
 .mp-dashboard-grid>.mp-recent-attendance{grid-column:1 / -1!important}
}

/* v1.3.0 Leave Management */
.mp-leave-balance{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;padding:12px 18px}
.mp-leave-balance strong{font-size:28px;line-height:1.2;color:#176b55}
.mp-leave-balance span{color:#667085;font-size:13px}
.mp-section-card .mp-profile-form{margin-top:14px}
.mp-section-card .mp-profile-form select,.mp-section-card .mp-profile-form input[type=date],.mp-section-card .mp-profile-form textarea{width:100%;max-width:100%;box-sizing:border-box}
.mp-section-card table td form{display:flex;flex-direction:column;gap:6px;min-width:130px}

/* v1.3.1 – correct Leave page form and balance alignment */
.mp-app-main .mp-section-card .mp-leave-balance{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:8px 18px!important;padding:18px 20px!important;min-height:76px!important;
}
.mp-app-main .mp-section-card .mp-leave-balance strong{
  display:block!important;font-size:27px!important;line-height:1.25!important;
  white-space:nowrap!important;
}
.mp-app-main .mp-section-card .mp-leave-balance span{
  display:block!important;font-size:13px!important;line-height:1.5!important;
}
.mp-app-main .mp-section-card form.mp-profile-form{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;gap:16px 20px!important;padding:20px!important;
  margin:0!important;width:100%!important;box-sizing:border-box!important;
}
.mp-app-main .mp-section-card form.mp-profile-form>label{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:7px!important;min-width:0!important;margin:0!important;
  color:#40564a!important;font-size:12px!important;font-weight:600!important;
  letter-spacing:0!important;opacity:1!important;
}
.mp-app-main .mp-section-card form.mp-profile-form>label select,
.mp-app-main .mp-section-card form.mp-profile-form>label input[type=date],
.mp-app-main .mp-section-card form.mp-profile-form>label textarea{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;min-height:42px!important;box-sizing:border-box!important;
  padding:9px 11px!important;border:1px solid #d9e1da!important;border-radius:7px!important;
  background:#fff!important;color:#263b31!important;font-size:13px!important;
}
.mp-app-main .mp-section-card form.mp-profile-form>label textarea{min-height:84px!important;resize:vertical!important}
.mp-app-main .mp-section-card form.mp-profile-form>label.mp-profile-wide{grid-column:1/-1!important}
.mp-app-main .mp-section-card form.mp-profile-form>.mp-profile-wide{
  grid-column:1/-1!important;display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;gap:10px!important;min-width:0!important;
}
.mp-app-main .mp-section-card form.mp-profile-form .mp-primary-link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-height:42px!important;padding:0 20px!important;
  margin:0!important;white-space:nowrap!important;
}
.mp-app-main .mp-section-card form.mp-profile-form .mp-section-note{margin:0!important}
@media(max-width:900px){
 .mp-app-main .mp-section-card form.mp-profile-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
 .mp-app-main .mp-section-card form.mp-profile-form{grid-template-columns:minmax(0,1fr)!important;gap:13px!important;padding:16px!important}
 .mp-app-main .mp-section-card form.mp-profile-form>label.mp-profile-wide,
 .mp-app-main .mp-section-card form.mp-profile-form>.mp-profile-wide{grid-column:1!important}
 .mp-app-main .mp-section-card .mp-leave-balance{align-items:flex-start!important;flex-direction:column!important;gap:5px!important}
}

/* v1.3.2 – responsive leave application layout */
@media(max-width:900px){.mp-app-main .mp-leave-application-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.mp-app-main .mp-leave-application-form{grid-template-columns:minmax(0,1fr)!important;padding:16px!important;gap:13px!important}.mp-app-main .mp-leave-application-form .mp-profile-wide{grid-column:1!important}}


/* v1.3.5 – canonical portal shell and dashboard grid (single source of truth) */
body:has(.mp-app-shell) {overflow-x:hidden!important}
body:has(.mp-app-shell) .wp-site-blocks,
body:has(.mp-app-shell) .wp-block-post-content,
body:has(.mp-app-shell) .entry-content {
  width:100%!important;max-width:none!important;margin:0!important;
}
.mp-app-shell {
  display:flex!important;flex-direction:row!important;align-items:stretch!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:100vh!important;margin:0!important;overflow:visible!important;
}
.mp-app-sidebar {flex:0 0 190px!important;width:190px!important;min-width:190px!important}
.mp-app-content {
  display:block!important;flex:1 1 0%!important;
  width:calc(100% - 190px)!important;max-width:none!important;min-width:0!important;
  overflow:visible!important;
}
.mp-app-main {
  display:block!important;box-sizing:border-box!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;
}
.mp-app-main > .mp-dashboard-grid {
  display:grid!important;position:relative!important;float:none!important;
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  min-width:0!important;margin:0!important;padding:0!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-areas:
    "attendance attendance attendance attendance attendance attendance nextshift nextshift nextshift leaveoverview leaveoverview leaveoverview"
    "calendar calendar calendar calendar calendar calendar requests requests requests team team team"
    "documents documents documents documents documents documents organisation organisation organisation organisation organisation organisation"
    "streak streak streak streak streak streak recent recent recent recent recent recent"!important;
  grid-auto-flow:row!important;grid-auto-rows:minmax(205px,auto)!important;
  gap:18px!important;align-items:stretch!important;justify-content:stretch!important;
}
.mp-app-main > .mp-dashboard-grid > .mp-card-attendance{grid-area:attendance!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-next-shift{grid-area:nextshift!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-leave-overview{grid-area:leaveoverview!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-calendar{grid-area:calendar!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-leave-requests{grid-area:requests!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-team{grid-area:team!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-documents{grid-area:documents!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-organisation{grid-area:organisation!important}
.mp-app-main > .mp-dashboard-grid > .mp-card-punctuality{grid-area:streak!important}
.mp-app-main > .mp-dashboard-grid > .mp-recent-attendance{grid-area:recent!important}
.mp-app-main > .mp-dashboard-grid > .mp-dashboard-card {
  display:flex!important;flex-direction:column!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  margin:0!important;grid-column:auto!important;float:none!important;
}
@media(max-width:1100px) and (min-width:681px) {
 .mp-app-main > .mp-dashboard-grid {
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-template-areas:
   "attendance attendance attendance attendance attendance attendance"
   "nextshift nextshift nextshift leaveoverview leaveoverview leaveoverview"
   "calendar calendar calendar calendar calendar calendar"
   "requests requests requests team team team"
   "documents documents documents organisation organisation organisation"
   "streak streak streak recent recent recent"!important;
  grid-auto-rows:minmax(185px,auto)!important;gap:15px!important;
 }
}
@media(max-width:680px) {
 .mp-app-shell{display:block!important;width:100%!important;min-height:100vh!important}
 .mp-app-sidebar{width:100%!important;min-width:0!important;flex:none!important}
 .mp-app-content{width:100%!important;min-width:0!important}
 .mp-app-main > .mp-dashboard-grid {
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:"attendance" "nextshift" "leaveoverview" "calendar" "requests" "team" "documents" "organisation" "streak" "recent"!important;
  grid-auto-rows:auto!important;gap:12px!important;
 }
 .mp-app-main > .mp-dashboard-grid > .mp-dashboard-card{grid-column:1!important;min-height:0!important}
}


/* v1.3.6 – deterministic dashboard placement.
   Explicit grid row/column coordinates avoid named-area placement conflicts
   left behind by earlier dashboard layout overrides. */
@media(min-width:1101px) {
 .mp-app-main > .mp-dashboard-grid > .mp-card-attendance {grid-area:auto!important;grid-column:1 / span 6!important;grid-row:1!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-next-shift {grid-area:auto!important;grid-column:7 / span 3!important;grid-row:1!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-leave-overview {grid-area:auto!important;grid-column:10 / span 3!important;grid-row:1!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-calendar {grid-area:auto!important;grid-column:1 / span 6!important;grid-row:2!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-leave-requests {grid-area:auto!important;grid-column:7 / span 3!important;grid-row:2!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-team {grid-area:auto!important;grid-column:10 / span 3!important;grid-row:2!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-documents {grid-area:auto!important;grid-column:1 / span 6!important;grid-row:3!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-organisation {grid-area:auto!important;grid-column:7 / span 6!important;grid-row:3!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-punctuality {grid-area:auto!important;grid-column:1 / span 6!important;grid-row:4!important}
 .mp-app-main > .mp-dashboard-grid > .mp-recent-attendance {grid-area:auto!important;grid-column:7 / span 6!important;grid-row:4!important}
}
@media(max-width:1100px) and (min-width:681px) {
 .mp-app-main > .mp-dashboard-grid > .mp-card-attendance {grid-area:auto!important;grid-column:1 / -1!important;grid-row:1!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-next-shift {grid-area:auto!important;grid-column:1 / span 3!important;grid-row:2!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-leave-overview {grid-area:auto!important;grid-column:4 / span 3!important;grid-row:2!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-calendar {grid-area:auto!important;grid-column:1 / -1!important;grid-row:3!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-leave-requests {grid-area:auto!important;grid-column:1 / span 3!important;grid-row:4!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-team {grid-area:auto!important;grid-column:4 / span 3!important;grid-row:4!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-documents {grid-area:auto!important;grid-column:1 / span 3!important;grid-row:5!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-organisation {grid-area:auto!important;grid-column:4 / span 3!important;grid-row:5!important}
 .mp-app-main > .mp-dashboard-grid > .mp-card-punctuality {grid-area:auto!important;grid-column:1 / span 3!important;grid-row:6!important}
 .mp-app-main > .mp-dashboard-grid > .mp-recent-attendance {grid-area:auto!important;grid-column:4 / span 3!important;grid-row:6!important}
}
@media(max-width:680px) {
 .mp-app-main > .mp-dashboard-grid > .mp-dashboard-card {grid-area:auto!important;grid-column:1 / -1!important;grid-row:auto!important}
}


/* Leave Management: aligned management workspace */
body.minars-people_page_minars-people-leave #wpcontent{background:#f5f6f7}
.mp-leave-admin{max-width:1500px;margin:26px 24px 50px 0;color:#26352d}
.mp-leave-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.mp-leave-page-heading h1{margin:0 0 6px;font-size:27px;line-height:1.2;font-weight:650;color:#1d3328}
.mp-leave-page-heading p{margin:0;color:#68756d;font-size:13px}
.mp-leave-access-label,.mp-leave-count{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid #dfe6df;border-radius:20px;background:#fff;color:#52665a;font-size:11px;font-weight:650;white-space:nowrap}
.mp-leave-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 25px}
.mp-leave-stat{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;border:1px solid #e1e6e2;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(20,40,28,.025)}
.mp-leave-stat span{color:#68766d;font-size:12px;font-weight:600}.mp-leave-stat strong{color:#294a36;font-size:25px;font-weight:700;font-variant-numeric:tabular-nums}.mp-leave-stat.is-pending{border-left:3px solid #c59a42}
.mp-leave-section{margin:0 0 25px;padding:21px 22px 22px;border:1px solid #e1e6e2;border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(20,40,28,.025)}
.mp-leave-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 17px}.mp-leave-section-heading h2{margin:0 0 5px;color:#263d30;font-size:17px;font-weight:700}.mp-leave-section-heading p{margin:0;color:#7a867e;font-size:12px}
.mp-leave-request-card{margin:0 0 13px;padding:19px 20px 17px;border:1px solid #e5e9e5;border-radius:8px;background:#fff}.mp-leave-request-card:last-child{margin-bottom:0}
.mp-leave-request-main{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:15px;border-bottom:1px solid #edf0ed}.mp-leave-employee{display:flex;flex-direction:column;gap:4px;min-width:0}.mp-leave-employee strong{color:#293d31;font-size:14px}.mp-leave-employee span{color:#7b877f;font-size:11px}
.mp-leave-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:20px;font-size:10px;font-weight:700;white-space:nowrap}.mp-leave-status.is-pending{background:#fbf3e2;color:#8a6727}
.mp-leave-details-grid{display:grid;grid-template-columns:1fr 1.35fr .8fr 1.5fr;gap:18px;padding:16px 0}.mp-leave-details-grid>div{display:flex;flex-direction:column;gap:6px;min-width:0}.mp-leave-details-grid span{color:#89948c;font-size:10px;font-weight:700;letter-spacing:.35px;text-transform:uppercase}.mp-leave-details-grid strong{color:#35483b;font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.mp-leave-review-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;padding-top:15px;border-top:1px solid #edf0ed}.mp-leave-review-fields{display:grid;grid-template-columns:minmax(190px,.65fr) minmax(260px,1.35fr);gap:14px;min-width:0}.mp-leave-review-fields label{display:flex;flex-direction:column;gap:7px;min-width:0}.mp-leave-review-fields label>span{color:#526157;font-size:11px;font-weight:650}.mp-leave-review-fields label em{color:#929c94;font-size:10px;font-style:normal;font-weight:400}.mp-leave-review-fields input[type=number],.mp-leave-review-fields textarea{box-sizing:border-box;width:100%;min-height:39px;margin:0;padding:8px 10px;border:1px solid #d8dfd9;border-radius:6px;background:#fff;color:#293d31;font-size:12px;box-shadow:none}.mp-leave-review-fields textarea{min-height:39px;resize:vertical}.mp-leave-review-fields input:focus,.mp-leave-review-fields textarea:focus{border-color:#64866d;box-shadow:0 0 0 1px #64866d;outline:0}
.mp-leave-review-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.mp-leave-review-actions .button{min-height:39px;padding:0 15px;border-radius:6px;font-size:11px;font-weight:650}.mp-leave-review-actions .mp-leave-approve{background:#285c3c;border-color:#285c3c;color:#fff}.mp-leave-review-actions .mp-leave-approve:hover{background:#1f4a30;border-color:#1f4a30;color:#fff}.mp-leave-review-actions .mp-leave-reject{border-color:#d9b9b9;background:#fff;color:#9a4545}.mp-leave-review-actions .mp-leave-reject:hover{border-color:#b96b6b;background:#fff;color:#853535}
.mp-leave-awaiting{padding-top:12px;border-top:1px solid #edf0ed;color:#7b877f;font-size:11px}.mp-leave-empty{display:flex;flex-direction:column;gap:5px;align-items:center;padding:34px 15px;border:1px dashed #dce4dc;border-radius:8px;background:#fafcf9;text-align:center}.mp-leave-empty strong{color:#354b3b;font-size:13px}.mp-leave-empty span{color:#879289;font-size:11px}
.mp-leave-table-wrap{overflow-x:auto}.mp-leave-activity-table{width:100%;border:0;border-collapse:collapse}.mp-leave-activity-table th{padding:12px 13px;background:#f6f8f6;border-bottom:1px solid #e6ebe7;color:#65736a;font-size:10px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;text-align:left}.mp-leave-activity-table td{padding:13px;border-bottom:1px solid #edf0ed;color:#46564b;font-size:11px;vertical-align:top}.mp-leave-activity-table tr:last-child td{border-bottom:0}.mp-leave-transition{display:inline-block;padding:4px 7px;border-radius:5px;background:#f1f4f1;color:#526458;font-size:10px;font-weight:650;white-space:nowrap}
@media(max-width:1100px){.mp-leave-review-form{grid-template-columns:1fr}.mp-leave-review-actions{justify-content:flex-end}.mp-leave-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.mp-leave-admin{margin:18px 12px 35px 0}.mp-leave-page-heading{align-items:flex-start;flex-direction:column}.mp-leave-summary{grid-template-columns:1fr}.mp-leave-section{padding:16px}.mp-leave-section-heading{align-items:flex-start;flex-direction:column}.mp-leave-review-fields{grid-template-columns:1fr}.mp-leave-details-grid{gap:13px}.mp-leave-request-card{padding:15px}}
@media(max-width:480px){.mp-leave-details-grid{grid-template-columns:1fr 1fr}.mp-leave-review-actions{justify-content:stretch}.mp-leave-review-actions .button{flex:1;padding:0 8px}.mp-leave-request-main{align-items:flex-start;flex-direction:column}}


/* Partner workspace dashboard: aligned with the employee Minars People application. */
.mp-partner-app-shell{display:flex;width:100%;max-width:none;min-height:calc(100vh - 32px);margin:0;border:0;border-radius:0;background:#f8faf7;color:#263b2e;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.mp-partner-app-shell .mp-app-sidebar{position:relative;flex:0 0 220px;min-height:calc(100vh - 32px)}.mp-partner-app-shell .mp-app-main{width:100%}.mp-partner-app-shell .mp-partner-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mp-partner-app-shell .mp-dashboard-card{min-height:205px}.mp-partner-app-shell .mp-card-empty{flex:1}.mp-partner-app-shell .mp-partner-nav-count{margin-left:auto;display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:20px;background:#e9eee6;color:#31563d;font-size:10px}.mp-partner-permission-note{margin:20px 0 0;padding:13px 16px;border:1px solid #e5eae2;border-radius:8px;background:#fff;color:#778379;font-size:11px;line-height:1.6}@media(max-width:1000px){.mp-partner-app-shell .mp-partner-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.mp-partner-app-shell{display:block;min-height:100vh}.mp-partner-app-shell .mp-app-sidebar{min-height:0}.mp-partner-app-shell .mp-partner-dashboard-grid{grid-template-columns:1fr}}


/* v1.4.5 – isolate partner dashboard grid from employee dashboard's 12-column named-area layout. */
.mp-partner-app-shell .mp-app-main > .mp-partner-dashboard-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-areas:none!important;
  grid-auto-flow:row!important;
  grid-auto-rows:minmax(205px,auto)!important;
  width:100%!important;
  max-width:none!important;
  gap:18px!important;
  align-items:stretch!important;
}
.mp-partner-app-shell .mp-app-main > .mp-partner-dashboard-grid > .mp-dashboard-card{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  min-width:0!important;
  width:auto!important;
}
@media(max-width:1000px){
  .mp-partner-app-shell .mp-app-main > .mp-partner-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:none!important}
}
@media(max-width:680px){
  .mp-partner-app-shell .mp-app-main > .mp-partner-dashboard-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important}
}

/* v1.4.6 – render every partner section inside the branded partner workspace. */
.mp-partner-app-shell .mp-partner-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:12px 15px;background:#fff;border:1px solid #e3e9e1;border-radius:9px;color:#496354;font-size:12px;font-weight:650}
.mp-partner-app-shell .mp-partner-page-toolbar a{color:#28563f;text-decoration:none}
.mp-partner-app-shell .mp-partner-page-content{min-width:0;width:100%;color:#263b2e}
.mp-partner-app-shell .mp-partner-page-content>.wrap{max-width:none;margin:0;padding:0}
.mp-partner-app-shell .mp-partner-page-content h1{color:#203f31;font-size:27px;line-height:1.25;margin:0 0 10px}
.mp-partner-app-shell .mp-partner-page-content .mp-topbar{display:none}
.mp-partner-app-shell .mp-partner-page-content .mp-hero{margin:0 0 20px}
.mp-partner-app-shell .mp-partner-page-content .mp-panel,.mp-partner-app-shell .mp-partner-page-content .mp-leave-section{background:#fff;border-color:#e1e8df;border-radius:11px}
.mp-partner-app-shell .mp-partner-page-content .mp-leave-admin{max-width:none}
.mp-partner-app-shell .mp-partner-page-content .mp-partner-section{margin:18px 0;padding:20px;background:#fff;border:1px solid #e2e9e0;border-radius:11px}
.mp-partner-app-shell .mp-partner-page-content .mp-report-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.mp-partner-app-shell .mp-partner-page-content .mp-profile-card{cursor:pointer}
@media(max-width:900px){.mp-partner-app-shell .mp-partner-page-content .mp-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mp-partner-app-shell .mp-partner-page-toolbar{align-items:flex-start;flex-direction:column}.mp-partner-app-shell .mp-partner-page-content .mp-report-kpis{grid-template-columns:1fr}}

/* Partner workspace page polish: keep management views visually consistent with the portal shell. */
.mp-partner-app-shell .mp-partner-page-toolbar{gap:18px;justify-content:flex-start;min-height:46px;margin-bottom:22px;padding:10px 15px}
.mp-partner-app-shell .mp-partner-page-toolbar a{display:inline-flex;align-items:center;white-space:nowrap}
.mp-partner-app-shell .mp-partner-current-section{padding-left:16px;border-left:1px solid #e5eae3;color:#718075;font-size:11px;font-weight:700;letter-spacing:.35px}
.mp-partner-app-shell .mp-partner-page-content{font-size:13px;line-height:1.55}
.mp-partner-app-shell .mp-partner-page-content>.wrap{margin:0!important;padding:0!important;max-width:none!important;font-size:13px;line-height:1.55}
.mp-partner-app-shell .mp-partner-page-content .mp-topbar,
.mp-partner-app-shell .mp-partner-page-content .mp-hero{display:none!important}
.mp-partner-app-shell .mp-partner-page-content h1{margin:0 0 8px;font-size:28px;line-height:1.2;font-weight:750}
.mp-partner-app-shell .mp-partner-page-content h2{font-size:19px;line-height:1.3;color:#294636}
.mp-partner-app-shell .mp-partner-page-content p{font-size:12px;line-height:1.6;color:#758278}
.mp-partner-app-shell .mp-partner-page-content .mp-panel{margin:0 0 18px;padding:20px;border-color:#e2e9e0;border-radius:12px;box-shadow:0 2px 9px rgba(29,61,44,.025)}
.mp-partner-app-shell .mp-partner-page-content .mp-org-chart{margin-top:0}
.mp-partner-app-shell .mp-partner-page-content .mp-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mp-partner-app-shell .mp-partner-page-content .mp-report-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.mp-partner-app-shell .mp-partner-page-content .mp-report-kpi{padding:15px 16px;border-color:#e2e9e0;border-radius:10px}
.mp-partner-app-shell .mp-partner-page-content .mp-report-kpi span{font-size:10px;line-height:1.4}
.mp-partner-app-shell .mp-partner-page-content .mp-report-kpi strong{font-size:24px;line-height:1.25;color:#294636}
.mp-partner-app-shell .mp-partner-page-content .mp-report-section{margin:20px 0 24px;padding:18px 19px;border:1px solid #e2e9e0;border-radius:11px;background:#fff;overflow:hidden}
.mp-partner-app-shell .mp-partner-page-content .mp-report-section h2{margin:0 0 8px}
.mp-partner-app-shell .mp-partner-page-content .mp-report-section .widefat{width:100%;margin-top:10px;border:1px solid #e4e9e3;border-collapse:collapse;font-size:11px}
.mp-partner-app-shell .mp-partner-page-content .mp-report-section .widefat th{padding:11px 12px;background:#f3f6f1;color:#617064;font-size:9px;letter-spacing:.45px;text-transform:uppercase;text-align:left}
.mp-partner-app-shell .mp-partner-page-content .mp-report-section .widefat td{padding:11px 12px;border-top:1px solid #edf0eb;color:#45564a;font-size:11px;line-height:1.45;vertical-align:top}
.mp-partner-app-shell .mp-partner-page-content .mp-report-export,
.mp-partner-app-shell .mp-partner-page-content .button{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid #d9e2d8;border-radius:6px;background:#fff;color:#31563d;text-decoration:none;font-size:10px;font-weight:700}
.mp-partner-app-shell .mp-partner-page-content form label{display:flex;flex-direction:column;gap:5px;color:#536258;font-size:10px;font-weight:700}
.mp-partner-app-shell .mp-partner-page-content input[type=date],
.mp-partner-app-shell .mp-partner-page-content input[type=month],
.mp-partner-app-shell .mp-partner-page-content select{min-height:34px;padding:5px 8px;border:1px solid #dce4dc;border-radius:6px;background:#fff;color:#33483a;font-size:11px}
.mp-partner-app-shell .mp-partner-page-content .mp-calendar-panel{margin:0 0 18px}
.mp-partner-app-shell .mp-partner-page-content .mp-calendar-grid{padding:0 13px 13px}
.mp-partner-app-shell .mp-partner-page-content .mp-calendar-cell{min-height:112px}
.mp-partner-app-shell .mp-partner-page-content .mp-calendar-event.is-bank-holiday{background:#b18d4f}
.mp-partner-app-shell .mp-partner-page-content .mp-calendar-event.is-weekend{background:#e9eee7;color:#68766d}
.mp-partner-app-shell .mp-partner-page-content .mp-view-tabs span.active{display:inline-flex;align-items:center;padding:8px 15px;border-radius:6px;background:#e8eee5;color:#2c5138;font-size:11px;font-weight:700}
.mp-partner-app-shell .mp-partner-page-content .mp-attendance-month-label{padding:0 8px;color:#526458;font-size:11px;font-weight:700;white-space:nowrap}
.mp-partner-app-shell .mp-partner-attendance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.mp-partner-app-shell .mp-partner-page-content .mp-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-partner-app-shell .mp-partner-page-content .mp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.mp-partner-app-shell .mp-partner-page-content .mp-report-kpis,.mp-partner-app-shell .mp-partner-page-content .mp-partner-attendance-kpis{grid-template-columns:1fr 1fr}.mp-partner-app-shell .mp-partner-page-content .mp-profile-grid{grid-template-columns:1fr}.mp-partner-app-shell .mp-partner-page-content .mp-calendar-cell{min-height:76px}.mp-partner-app-shell .mp-partner-page-content .mp-report-section{padding:14px;overflow-x:auto}.mp-partner-app-shell .mp-partner-page-content .mp-report-section .widefat{min-width:720px}}

/* Branded password recovery */
.mp-login-card .mp-auth-error{padding:11px 13px;background:#fff0ef;border-left:3px solid #b94a48;color:#8b2927;border-radius:4px}.mp-login-card .mp-auth-success{padding:11px 13px;background:#edf6ef;border-left:3px solid #39734d;color:#24583a;border-radius:4px}.mp-login-card form label{display:block;margin:14px 0}.mp-login-card input[type=password]{width:100%;box-sizing:border-box;margin-top:5px;padding:11px;border:1px solid var(--mp-line);border-radius:7px}.mp-login-card button[type=submit]{background:var(--mp-green);color:#fff;border:0;border-radius:7px;padding:11px 20px;font-weight:600;cursor:pointer}

/* v1.7.0 responsive and new workspace modules */
.mp-announcement-list{display:grid;gap:14px}.mp-announcement-body{padding:18px 20px;color:#45564a;font-size:13px;line-height:1.65}.mp-announcement-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid #edf0eb;color:#849087;font-size:10px}.mp-announcement-card footer form{margin:0}.mp-attendance-correction{margin-top:16px;padding:16px;border:1px solid var(--mp-app-line);border-radius:10px;background:#fff}.mp-attendance-correction summary{cursor:pointer;color:#36543e;font-weight:700}.mp-management-overview{margin-bottom:18px}.mp-management-overview .mp-dashboard-actions{flex-wrap:wrap}.mp-management-overview .mp-dashboard-actions a{flex:1}.mp-leave-request-card details{margin-top:14px}.mp-leave-request-card details summary{cursor:pointer;color:#315a3c;font-weight:700}.mp-leave-request-card details form{display:grid;gap:9px;padding:14px 0}.mp-leave-request-card details input,.mp-leave-request-card details select,.mp-leave-request-card details textarea{max-width:100%;width:100%;padding:9px;border:1px solid #dce3db;border-radius:7px}.mp-leave-request-card details button{justify-self:start}
@media(max-width:680px){.mp-profile-form,.mp-leave-review-form{grid-template-columns:1fr!important}.mp-profile-wide{grid-column:auto!important}.mp-announcement-card footer{align-items:flex-start;flex-direction:column}.mp-calendar-event{white-space:normal;line-height:1.15}.mp-management-overview .mp-dashboard-actions{flex-direction:column}.mp-management-overview .mp-dashboard-actions a{width:100%}}

.mp-streak-restore{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid #edf0eb}.mp-streak-restore span{color:#68776c;font-size:10px}.mp-streak-restore button{border:1px solid #557c5c;border-radius:7px;padding:8px 12px;background:#fff;color:#31583a;font-size:10px;font-weight:700;cursor:pointer}.mp-profile-form input[type=file]{max-width:100%}

.mp-app-nav .mp-partner-nav-count{margin-left:auto;display:inline-flex;min-width:18px;height:18px;align-items:center;justify-content:center;border-radius:20px;background:#e9eee6;color:#31563d;font-size:9px;font-weight:800}.mp-correction-history{margin:16px 0;padding:16px;border:1px solid var(--mp-app-line);border-radius:10px;background:#fff}.mp-correction-history h3{margin:0 0 12px;color:#314b39;font-size:13px}

.mp-calendar-away-count{display:block;padding:3px 4px;color:#8b4f26;font-size:8px;font-weight:800;line-height:1.2}
