/* Home follows the compact Frosted reference: work first, two-column cards,
   a slim calendar toolbar, and operational details available on demand. */
.tasker-shell.home-page main{max-width:1600px;padding:14px 32px 48px}
.tasker-shell.home-page .home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;min-height:26px}
.tasker-shell.home-page .home-heading>.actions{flex-shrink:0;gap:4px}
.tasker-shell.home-page .home-metrics{display:flex;flex-wrap:wrap;gap:3px 0;margin:0;min-width:0}
.tasker-shell.home-page .metric-card{display:inline-flex;gap:4px;align-items:baseline;padding:0 9px;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;line-height:1.6}
.tasker-shell.home-page .metric-card:first-child{padding-left:0}
.tasker-shell.home-page .metric-card+.metric-card{border-left:1px solid #cbdad4}
.tasker-shell.home-page .metric-card strong{font-size:11px;font-weight:650;letter-spacing:0}
.tasker-shell.home-page .metric-card span{font-size:11px;color:var(--muted)}
.tasker-shell.home-page .home-heading .action-link{min-height:26px;padding:4px 10px;font-size:11px}
.tasker-shell.home-page .home-refresh{font-size:18px;min-width:26px;min-height:26px;line-height:1;padding:4px;text-decoration:none}
.tasker-shell.home-page .home-section{margin:0 0 8px;padding:8px 9px;border-radius:15px;background:rgb(248 252 250 / 70%);border-color:#d2dfda;box-shadow:0 6px 20px rgb(13 48 40 / 4%)}
.tasker-shell.home-page .section-heading{gap:8px;margin:0 2px 7px;min-height:19px}
.tasker-shell.home-page .section-heading h2{font-size:16px;line-height:1.2}
.tasker-shell.home-page #home-attention{background:rgb(248 252 250 / 70%);border-color:#d2dfda}
.tasker-shell.home-page .home-work-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:6px;align-items:start}
.tasker-shell.home-page .task-card{min-width:0;padding:14px;border-radius:11px;box-shadow:0 2px 5px rgb(13 48 40 / 3%);display:flex;flex-direction:column}
.tasker-shell.home-page .card-meta{gap:7px;margin-bottom:9px;align-items:center}
.tasker-shell.home-page .pill,.tasker-shell.home-page .property-chip{font-size:10px;line-height:1.4;padding:2px 6px}
.tasker-shell.home-page .pill.urgent::before{content:'●';font-size:8px;margin-right:4px}
.tasker-shell.home-page .property-chip::before{content:'■';font-size:8px;margin-right:4px}
.tasker-shell.home-page .task-title{font-size:14px;line-height:1.45;min-height:0}
.tasker-shell.home-page .home-task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0;min-height:28px}
.tasker-shell.home-page .home-task-meta .quiet{font-size:11px}
.tasker-shell.home-page .home-task-meta select{width:auto;max-width:100%;min-width:185px;min-height:28px;padding:4px 25px 4px 9px;font-size:11px;border-radius:5px}
.tasker-shell.home-page .home-work-actions{padding-top:7px;border-top:1px solid var(--line);margin-top:auto;gap:8px}
.tasker-shell.home-page .home-work-actions button,.tasker-shell.home-page .home-work-actions .action-link{min-height:23px;font-size:12px;font-weight:500;padding:3px 8px;border-radius:6px}
.tasker-shell.home-page .home-work-actions .link{padding:3px 4px;min-height:23px;display:inline-flex;align-items:center}
.tasker-shell.home-page .home-task-state{margin-left:auto;font-size:10px}
.tasker-shell.home-page .home-staff-card .pill{align-self:flex-start}
.tasker-shell.home-page .home-staff-card h3{margin:7px 0}
.tasker-shell.home-page .home-staff-description{font-size:12px;margin:0 0 12px;overflow-wrap:anywhere}
.tasker-shell.home-page #home-coverage-list{grid-template-columns:minmax(0,1fr)}
.tasker-shell.home-page #home-coverage-list .task-card{background:linear-gradient(120deg,#fff,#f9fbfa)}
.tasker-shell.home-page #homes-section{margin-top:18px}
.tasker-shell.home-page .home-window-toolbar{margin:0 0 14px;gap:8px 12px;padding:6px 9px;background:rgb(248 252 250 / 65%);border:1px solid #d2dfda;border-radius:12px;min-height:40px}
.tasker-shell.home-page .home-window-controls{gap:2px;background:white;padding:2px;border:1px solid var(--line);border-radius:8px}
.tasker-shell.home-page .home-window-controls button{min-height:22px;border-radius:5px;padding:2px 9px;font-size:11px;line-height:1.4}
.tasker-shell.home-page #home-count{margin:0;font-size:10px}
.tasker-shell.home-page .home-search-label{margin:0 0 0 auto;max-width:155px}
.tasker-shell.home-page .home-search-label input{width:100%;padding:5px 8px;min-height:30px;font-size:11px;background:transparent}
.tasker-shell.home-page .calendar-filter-help{position:relative;flex-shrink:0}
.tasker-shell.home-page .calendar-filter-help summary{list-style:none;font-size:15px;cursor:pointer;color:var(--muted);padding:3px 5px}
.tasker-shell.home-page .calendar-filter-help summary::-webkit-details-marker{display:none}
.tasker-shell.home-page .calendar-filter-help p{position:absolute;right:0;top:100%;width:min(280px,80vw);padding:12px;border:1px solid var(--line);border-radius:9px;background:white;z-index:2;box-shadow:var(--shadow)}
.tasker-shell.home-page .home-cards,.tasker-shell.home-page .home-cards[data-count]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;justify-content:stretch}
.tasker-shell.home-page .home-cards[data-count="1"]{grid-template-columns:minmax(0,1fr);max-width:720px;margin-inline:auto}
.tasker-shell.home-page .home-card-header{padding:11px 11px 8px;background:transparent}
.tasker-shell.home-page .home-card-heading{gap:8px;margin:0}
.tasker-shell.home-page .home-card-heading h3{min-width:0;font-size:17px;flex:1 1 auto}
.tasker-shell.home-page .home-icon{font-size:17px;background:var(--green-soft);border-radius:6px;width:26px;height:26px;display:grid;place-items:center}
.tasker-shell.home-page .home-open{font-size:11px;white-space:nowrap;text-decoration:none;padding:4px 0 4px 4px}
.tasker-shell.home-page .home-calendar{margin:10px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.tasker-shell.home-page .home-calendar-status{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tasker-shell.home-page .home-calendar-status .quiet{font-size:10px}
.tasker-shell.home-page .home-calendar-dates{font-size:12px;margin:6px 0}
.tasker-shell.home-page .home-calendar details{font-size:11px;color:var(--muted)}
.tasker-shell.home-page .home-calendar details summary{cursor:pointer;padding:3px 0}
.tasker-shell.home-page .home-calendar details strong{font-size:12px;margin-top:6px;color:var(--ink)}
.tasker-shell.home-page .home-card-counts{padding:8px 12px;font-size:11px;gap:4px 12px;background:transparent}
.tasker-shell.home-page .home-card-section{padding:9px}
.tasker-shell.home-page .home-group-heading{margin-bottom:4px}
.tasker-shell.home-page .home-group-heading h4{font-size:10px}
.tasker-shell.home-page .home-task-row,.tasker-shell.home-page .home-request-row{padding:8px 0}
.tasker-shell.home-page .home-card .home-card-footer{padding:7px 11px;gap:10px;background:transparent}
.tasker-shell.home-page .home-card-footer a{font-size:12px;min-height:23px;display:inline-flex;align-items:center;padding:4px 0}
.tasker-shell.home-page .home-processing-note{padding:9px 12px;font-size:12px;margin:0 0 12px;border-radius:10px}
.tasker-shell.home-page .home-overview-summary{min-height:32px}
.tasker-shell.home-page .home-overview-summary h2{font-size:13px}
.tasker-shell.home-page .home-overview-summary .quiet{font-size:11px}
.tasker-shell.home-page #home-action-status:not(:empty){padding:10px 12px;margin:12px 0;background:#fff0eb;border-radius:8px;font-size:13px}
.tasker-shell.home-page #home-action-content h3{margin:8px 0}
.tasker-shell.home-page #home-action-content label:not(.check){display:grid;gap:6px;margin:14px 0}
.tasker-shell.home-page #home-action-content input,.tasker-shell.home-page #home-action-content textarea{width:100%}
.tasker-shell.home-page #home-action-content .check input{width:18px;height:18px;margin:2px 0}
.tasker-shell.home-page .home-action-footer{margin-top:18px}
@media(max-width:700px){
 .tasker-shell.home-page main{padding:14px 14px 32px}
 .tasker-shell.home-page .home-work-grid,.tasker-shell.home-page .home-cards,.tasker-shell.home-page .home-cards[data-count]{grid-template-columns:minmax(0,1fr)}
 .tasker-shell.home-page .home-heading{align-items:flex-start;margin-bottom:12px;gap:8px}
 .tasker-shell.home-page .home-heading>.actions{max-width:132px;flex-wrap:nowrap}
 .tasker-shell.home-page .home-metrics{gap:3px 0}
 .tasker-shell.home-page .metric-card{padding-inline:6px}
 .tasker-shell.home-page .home-window-toolbar{gap:8px;padding:6px}
 .tasker-shell.home-page .home-window-controls{width:100%;justify-content:space-between}
 .tasker-shell.home-page .home-window-controls button{min-height:40px;padding:5px 10px}
 .tasker-shell.home-page .home-search-label{flex:1;max-width:170px;min-width:100px}
 .tasker-shell.home-page .home-search-label input{min-height:40px}
 .tasker-shell.home-page .home-work-actions button,.tasker-shell.home-page .home-work-actions .action-link,.tasker-shell.home-page .home-work-actions .link{min-height:40px}
 .tasker-shell.home-page .home-task-meta select{min-height:40px;flex:1}
 .tasker-shell.home-page .home-task-state{display:none}
 .tasker-shell.home-page .section-heading .actions{gap:4px 8px}
 .tasker-shell.home-page .home-overview-summary{min-height:40px}
 .tasker-shell.home-page .home-card-heading .pill{margin-left:auto}
 .tasker-shell.home-page .home-card-footer a{min-height:40px}
}
.tasker-shell.home-page .home-staff-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap}

.tasker-shell.home-page .home-card{align-self:start;min-height:0}
.tasker-shell.home-page .home-calendar{margin-top:8px}
.tasker-shell.home-page .home-calendar-schedule{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.tasker-shell.home-page .home-calendar-schedule>div{padding:8px 0;display:flex;flex-direction:column;gap:2px;min-width:0}
.tasker-shell.home-page .home-calendar-schedule>div+div{border-left:1px solid var(--line);padding-left:10px}
.tasker-shell.home-page .home-calendar-schedule span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:650}
.tasker-shell.home-page .home-calendar-schedule strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.tasker-shell.home-page .home-calendar-details>summary{font-size:10px;min-height:0;padding:2px 0;color:var(--muted)}
.tasker-shell.home-page .home-calendar-details[open]{padding-bottom:6px}
.tasker-shell.home-page .home-calendar-details a{font-size:11px;display:inline-flex;min-height:26px;align-items:center}
.tasker-shell.home-page .home-task-row,.tasker-shell.home-page .home-request-row{padding:9px 10px;background:#fff;border:1px solid var(--line);border-radius:9px;margin:6px 0 0}
.tasker-shell.home-page .home-task-row .task-title,.tasker-shell.home-page .home-request-row .task-title{font-size:13px;line-height:1.4;min-height:0}
.tasker-shell.home-page .home-row-meta{display:flex;align-items:center;gap:8px;margin-top:5px;min-width:0}
.tasker-shell.home-page .home-row-meta>.quiet{font-size:11px;flex:1;min-width:0}
.tasker-shell.home-page .home-row-action{font-size:11px;white-space:nowrap;text-decoration:none;min-height:23px;display:inline-flex;align-items:center}
.tasker-shell.home-page .home-empty{padding:8px 12px;margin:0;font-size:12px}
.tasker-shell.home-page .home-card-footer{border-top:1px solid var(--line);margin-top:auto}
.tasker-shell.home-page .home-card-tools{margin-left:auto;position:relative;font-size:11px}
.tasker-shell.home-page .home-card-tools>summary{padding:3px 0;font-size:11px}
.tasker-shell.home-page .home-card-tools[open]{flex-basis:100%}
.tasker-shell.home-page .home-card-tools[open]>summary{text-align:right}
.tasker-shell.home-page .home-card-tools a{display:block;padding:6px 8px;font-size:12px;min-height:28px}
.tasker-shell.home-page .home-card-tools[open]{background:var(--surface-soft);border-radius:7px;padding:4px 8px}
.tasker-shell.home-page .home-staff-card>.home-work-actions{border:0;padding-top:0;margin-top:0}
.tasker-shell.home-page .home-staff-card .home-staff-description{line-height:1.55}
@media(min-width:701px){.tasker-shell.home-page .home-task-meta select{min-height:28px;height:28px}.tasker-shell.home-page .home-search-label input{min-height:26px;height:26px}.tasker-shell.home-page .home-window-toolbar{padding:6px 8px}}
@media(max-width:700px){.tasker-shell.home-page .home-row-action,.tasker-shell.home-page .home-card-tools>summary,.tasker-shell.home-page .home-card-tools a{min-height:40px}.tasker-shell.home-page .home-calendar-details>summary{min-height:34px;display:flex;align-items:center}}

.tasker-shell.home-page .task-card>.task-title{font-size:14px;min-height:0;line-height:1.45}
.tasker-shell.home-page .task-card>.home-work-actions>.primary{min-height:23px;padding:3px 8px;line-height:1.25;font-size:12px}
@media(max-width:700px){.tasker-shell.home-page .task-card>.home-work-actions>.primary{min-height:40px;padding:8px 10px}}
