/* M005/M006. Presentation scoped to the two screens; state and permissions stay in their modules. */
body:has(.m001-home,.m001-today){background:#f5f6f7}
:is(.m001-home,.m001-today){font-family:Gilroy,Arial,sans-serif;color:#25323c}
.main:has(.m001-home,.m001-today){background:#f5f6f7}
.content-page.home-page.m001-home{max-width:1160px;padding:24px;margin:0 auto}
.m001-home .home-heading{margin:0 0 18px;align-items:center}
.m001-home .home-heading h1{font:700 26px/1.2 Gilroy,sans-serif;letter-spacing:-.5px;margin:6px 0}
.m001-home .home-date{font:400 12px/1.4 Gilroy,sans-serif;color:#7c8894;text-transform:none}
.m001-home .home-heading .muted{font:400 12px/1.4 Gilroy,sans-serif;color:#7c8894;margin:0}
.m001-home .home-heading .avatar-link{width:42px;height:42px;flex:0 0 42px;background:white;border:0;color:#34414b;border-radius:15px;font-weight:600}
.home-page.m001-home .home-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'resume tasks' 'projects calendar' 'analytics analytics';gap:16px;align-items:start}
.home-page.m001-home .home-resume-stack{grid-area:resume;order:0}
.home-page.m001-home .home-tasks{grid-area:tasks;order:1}
.home-page.m001-home .home-projects{grid-area:projects;order:2}
.home-page.m001-home .home-calendar-section{grid-area:calendar;order:3}
.home-page.m001-home .home-analytics{grid-area:analytics;order:4}
.m001-home .home-continue{background:#edf1e8;color:#25323c;padding:16px;border:0;border-radius:22px;box-shadow:none;margin:0 0 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;align-items:center}
.m001-home .home-continue-label{grid-column:1/-1;font:400 11px/1.3 Gilroy,sans-serif;color:#6f7f77;letter-spacing:0;gap:7px}
.m001-home .home-continue-label .icon{width:15px;height:15px;color:#6f7f77}
.m001-home .home-continue h2{grid-column:1;font:700 18px/1.25 Gilroy,sans-serif;color:#25323c;margin:8px 0 5px;max-width:none;overflow-wrap:anywhere}
.m001-home .resume-location{grid-column:1;color:#72808b;font:400 11px/1.4 Gilroy,sans-serif;border:0;padding:0;background:none}
.m001-home .home-continue p{grid-column:1;font:400 11px/1.4 Gilroy,sans-serif;color:#72808b;margin:4px 0 0}
.m001-home .home-continue p:empty{display:none}
.m001-home .home-continue .btn{grid-column:2;grid-row:2/5;justify-self:end;min-height:44px;height:auto;padding:10px 12px;margin:0;border:0;border-radius:14px;background:#d5f66b;color:#25323c;font:500 12px/1.2 Gilroy,sans-serif;gap:6px}
.m001-home .home-continue .btn>.icon{width:16px;height:16px}
.m001-home .hub-group{background:#fff;border:0;border-radius:22px;padding:16px;margin:0;min-width:0;box-shadow:none}
.m001-home .section-head{margin:0 0 6px;gap:8px;align-items:center;flex-wrap:nowrap}
.m001-home .section-head h2{font:700 17px/1.3 Gilroy,sans-serif;margin:0;letter-spacing:-.2px}
.m001-home .section-head .btn{font:500 12px/1.3 Gilroy,sans-serif;min-height:44px;height:auto;padding:8px 10px;background:#f2f4f5;color:#53616c;border:0;border-radius:12px;white-space:nowrap;gap:5px}
.m001-home .section-head .btn>.icon{width:15px;height:15px}
.m001-home .work-count{background:none;color:#88949d;font:400 12px Gilroy,sans-serif;padding:0 3px}
.m001-home .hub-list{background:transparent;border:0;border-radius:0;margin:0}
.m001-home .home-resume-stack>.hub-list{background:white;border-radius:20px;padding:0 14px}
.m001-home .hub-row{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:64px;padding:12px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#25323c;text-decoration:none}
.m001-home .hub-row+.hub-row{border-top:1px solid #edf0f2}
.m001-home .hub-icon{width:28px;height:28px;flex:0 0 28px;background:none;color:#7b8790;border-radius:0}
.m001-home .hub-icon>.icon{width:21px;height:21px}
.m001-home .hub-label{min-width:0;flex:1}
.m001-home .hub-label strong{font:500 14px/1.35 Gilroy,sans-serif;overflow-wrap:anywhere}
.m001-home .hub-label small{font:400 11px/1.4 Gilroy,sans-serif;color:#7c8894;margin-top:4px}
.m001-home .hub-row>.icon:last-child{width:12px;height:12px;color:#97a1aa}
.m001-home .home-all{display:flex;align-items:center;justify-content:space-between;min-height:44px;font:500 12px Gilroy,sans-serif;color:#53616c;border-top:1px solid #edf0f2;padding:8px 0;margin:0;text-decoration:none}
.m001-home .home-all .icon{width:16px;height:16px}
.m001-home .home-reminders>strong{font:500 12px Gilroy,sans-serif;color:#a3503c}
.m001-home .home-reminders{padding:10px 12px;background:#fcf3ef;border:0;border-radius:14px;margin:8px 0}
.m001-home .home-calm{padding:14px 0;min-height:0;gap:8px}
.m001-home .home-calm strong{font:600 14px Gilroy,sans-serif}
.m001-home .home-calm p,.m001-home .hub-empty{font:400 12px/1.5 Gilroy,sans-serif;color:#7c8894;margin:8px 0}
.m001-home .home-calendar-section>.small{font:400 11px/1.4 Gilroy,sans-serif;color:#7c8894;margin:2px 0 12px}
.m001-home .home-calendar-nav{grid-template-columns:36px 1fr 36px auto;gap:3px;margin:8px 0}
.m001-home .home-calendar-nav>strong{font:600 13px Gilroy,sans-serif}
.m001-home .home-calendar-nav>.btn{grid-column:auto;padding:8px;min-height:44px;font:500 11px Gilroy,sans-serif}
.m001-home .home-calendar-nav>.icon-btn{width:36px;min-height:44px;background:transparent;border:0}
.m001-home .home-calendar-scope{background:#f0f2f4;border-radius:13px;padding:3px}
.m001-home .home-calendar-scope .btn{font:500 12px Gilroy,sans-serif;min-height:40px}
.m001-home .home-calendar-scope .btn[aria-pressed=true]{background:white;color:#25323c}
.m001-home .home-calendar-days button{font-family:Gilroy,sans-serif;border-radius:12px;min-height:44px;height:44px}
.m001-home .home-calendar-days button[aria-pressed=true]{background:#d5f66b;color:#25323c;border-color:transparent}
.m001-home .home-calendar-status{font:400 10px/1.4 Gilroy,sans-serif;color:#84909a}
.m001-home .home-agenda{padding-top:12px;margin-top:12px;border-top:1px solid #edf0f2}
.m001-home .home-agenda>h3{font:600 14px Gilroy,sans-serif}
.m001-home .home-agenda>.muted{font:400 12px/1.5 Gilroy,sans-serif;color:#7c8894}
.m001-home .home-calendar-create{background:#f0f3eb;color:#536742;border:0;border-radius:12px;font:500 12px Gilroy,sans-serif;min-height:44px;padding:10px 12px}
.m001-home .home-stat-grid{gap:10px;margin:12px 0 18px}
.m001-home .home-stat-grid>div{background:#f5f6f7;padding:14px;border-radius:16px}
.m001-home .home-stat-grid strong{font:700 26px Gilroy,sans-serif}
.m001-home .home-stat-grid span{font:400 12px Gilroy,sans-serif;color:#7c8894}
.m001-home .home-analysis-grid h3,.m001-home .home-cash h3{font:600 15px/1.3 Gilroy,sans-serif}
.m001-home .home-analytics .small,.m001-home .home-data-empty{font:400 12px/1.5 Gilroy,sans-serif;color:#7c8894}
.m001-home .home-bar-track{background:#f0f2f4}.m001-home .home-bar-track i{background:#a8b89b}
.m001-home .home-chart-row summary{font:500 13px Gilroy,sans-serif;min-height:44px}
.m001-home .home-chart-row summary strong{font:600 13px Gilroy,sans-serif}
.account-content.company-page:has(.m001-today,.member-home.m001-home){padding-bottom:16px}
.company-panel:has(.m001-today)>h1{font:700 26px/1.2 Gilroy,sans-serif;margin:0 0 12px;letter-spacing:-.5px}
.m001-today{max-width:1040px}
.m001-today .today-date{font:400 12px Gilroy,sans-serif;color:#7c8894;margin:0 0 16px}
.m001-today .today-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.m001-today .today-counts>span{background:white;border-radius:18px;padding:14px;color:#7c8894;font:400 12px Gilroy,sans-serif}
.m001-today .today-counts strong{font:700 26px/1.2 Gilroy,sans-serif;color:#25323c;margin-bottom:4px}
.m001-today .today-counts>.is-late{background:#fcf3ef;color:#a3503c}.m001-today .today-counts>.is-late strong{color:#a3503c}
.m001-today .today-filters{display:flex;gap:4px;background:#e9ecef;padding:4px;border-radius:14px;width:fit-content;max-width:100%;flex-wrap:nowrap}
.m001-today .today-filters .btn{border:0;border-radius:11px;min-height:40px;height:auto;padding:8px 18px;background:transparent;color:#788590;font:500 13px Gilroy,sans-serif}
.m001-today .today-filters .btn[aria-pressed=true]{background:#fff;color:#25323c;box-shadow:0 2px 4px #25323c0b}
.m001-today .today-sync:empty{display:none}
.m001-today .today-sync{background:#fff;padding:12px;border-radius:14px;font:400 12px/1.5 Gilroy,sans-serif;margin:12px 0;color:#6d7c87}
.m001-today .today-group{margin:22px 0 16px}
.m001-today .today-group h2{font:700 16px/1.3 Gilroy,sans-serif;color:#25323c;gap:7px;margin:0 0 10px}
.m001-today .today-group h2>.icon{width:18px;height:18px;color:#7c8894}
.m001-today .today-late h2,.m001-today .today-late h2>.icon{color:#a3503c}
.m001-today .today-group h2>span{margin-left:auto;font:400 12px Gilroy,sans-serif;color:#7c8894}
.m001-today .today-row{display:flex;flex-direction:row;align-items:flex-start;gap:10px;background:white;border:0;border-radius:20px;padding:16px;min-height:0;transition:transform .16s,background .16s}
.m001-today .today-kind-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:12px;background:#f3f5f6;color:#7b8790}
.m001-today .today-kind-icon>.icon{width:20px;height:20px}
.m001-today .today-row-body{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.m001-today .today-row-context{font:400 11px/1.4 Gilroy,sans-serif;color:#7c8894}
.m001-today .today-row strong{font:600 15px/1.35 Gilroy,sans-serif;color:#25323c}
.m001-today .today-row-meta{font:400 11px/1.5 Gilroy,sans-serif;color:#7c8894}
.m001-today .today-open{font:500 12px/1.4 Gilroy,sans-serif;padding:10px 0 0;margin:2px 0 0;border-top:1px solid #edf0f2;color:#53616c}
.m001-today .today-row>.icon:last-child{width:12px;height:12px;flex:0 0 12px;color:#97a1aa;align-self:center}
.m001-today .today-row:active{transform:scale(.99);background:#fafbfc}
.m001-today .today-empty{padding:24px 18px;background:white;border-radius:22px;margin:16px 0}
.m001-today .today-empty-icon{width:40px;height:40px;border-radius:14px;background:#f0f2f4;color:#7c8894;display:grid;place-items:center;margin-bottom:12px}
.m001-today .today-empty-icon .icon{width:22px;height:22px}
.m001-today .today-empty h2{font:600 17px/1.3 Gilroy,sans-serif;margin:0 0 8px}
.m001-today .today-empty p{font:400 12px/1.5 Gilroy,sans-serif;color:#7c8894;margin:0}
.m001-today .today-footer{display:flex;gap:10px;margin-top:16px}
.m001-today .today-footer .btn{font:500 12px Gilroy,sans-serif;background:white;color:#53616c;min-height:44px;padding:10px 16px;border:0;border-radius:13px}
.m001-today .today-error{font:400 12px/1.5 Gilroy,sans-serif}
@media(max-width:720px){.content-page.home-page.m001-home{padding:20px 16px 16px}.home-page.m001-home .home-columns{display:flex;flex-direction:column;gap:14px}.home-page.m001-home .home-columns>*{width:100%;min-width:0}.m001-home .home-heading h1{font-size:24px}.m001-home .home-continue{padding:14px}.m001-home .hub-group{padding:14px}.m001-home .home-analysis-grid{grid-template-columns:1fr}.m001-today .today-list{grid-template-columns:1fr}.m001-today .today-row{padding:14px}.m001-today .today-kind-icon{width:28px;height:28px;flex-basis:28px}.company-panel:has(.m001-today)>h1{font-size:24px}}
@media(max-width:350px){.m001-home .home-continue .btn{grid-column:1/-1;grid-row:auto;justify-self:start;margin-top:10px}.m001-home .home-calendar-nav{grid-template-columns:30px 1fr 30px}.m001-home .home-calendar-nav>.btn{grid-column:1/-1;justify-self:center}}
@keyframes m001-home-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.m001-home .home-columns>.hub-group,.m001-today .today-group{animation:m001-home-enter .2s ease-out both}
@media(prefers-reduced-motion:reduce){.m001-home .home-columns>.hub-group,.m001-today .today-group{animation:none}.m001-today .today-row{transition:none}}
