/* Daily checklists stay separate from production quantities and pay. */
[hidden]{display:none!important}
.sidebar nav{overflow-y:auto;min-height:0;scrollbar-width:thin}.daily-heading h1{font-size:36px}.daily-stats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}.daily-stats>span{padding:9px 15px;border:1px solid var(--line);border-radius:50px;background:white;color:var(--muted);font-size:13px}.daily-stats strong{font-size:17px;color:var(--ink);margin-right:4px}.daily-stats .late{color:#9c4a36;background:#fff0eb;border-color:#efc9ba}.daily-stats .late strong{color:#9c4a36}.daily-manage-link{font-size:13px;margin-bottom:25px}.daily-section{margin-bottom:28px}.daily-section>.section-heading h2{margin-bottom:14px}.daily-empty{padding:24px;text-align:center}.daily-empty>.people-icon{width:35px;height:35px;margin-bottom:9px;color:var(--green)}.daily-empty p{font-size:13px;color:var(--muted);margin-bottom:0}.daily-done>summary{font-weight:650;cursor:pointer}.daily-done .checklist-grid{margin-top:20px}.checklist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.checklist-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0;overflow-wrap:anywhere;box-shadow:0 2px 8px #183b3804}.checklist-card.is-late{border-color:#e4bdae}.checklist-card.is-done{background:#f8fcf8}.checklist-card-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:15px}.checklist-priority{font-size:10px;font-weight:750;letter-spacing:.9px;color:var(--muted);padding:5px 8px;border-radius:5px;background:#f0f3ee}.checklist-priority.urgent{background:#ffebe3;color:#a0472d}.checklist-priority.today{background:#fff1d4;color:#8d631b}.checklist-priority.routine{background:#e9f0fc;color:#526597}.checklist-state{display:inline-block;font-size:12px;color:var(--muted);padding:5px 9px;background:#f1f3ef;border-radius:6px}.checklist-state.done{color:#08785c;background:#e1f3e8}.checklist-state.working{color:#316ca1;background:#e6f0fb}.checklist-state.paused,.checklist-state.waiting_info{color:#96691b;background:#fff1d4}.checklist-title h3{font-size:21px;line-height:1.3;color:var(--ink);margin-bottom:9px}.checklist-assignee{color:var(--muted);font-size:12px;margin-bottom:12px}.checklist-instructions{font-size:14px;white-space:normal;margin-bottom:14px}.checklist-shared{padding:9px 11px;border-radius:7px;background:#f0f5fa;color:#496981;font-size:12px;margin-bottom:14px}.checklist-progress-line{display:flex;gap:10px;align-items:center;margin:16px 0}.checklist-progress-line progress{margin:0;flex:1;height:7px}.checklist-progress-line strong{font-size:12px;min-width:33px;text-align:right}.checklist-card form{margin-top:16px}.checklist-fast-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.checklist-fast-buttons button{padding:10px 7px;min-height:44px;font-size:14px}.checklist-fast-buttons .checklist-complete{grid-column:1/-1;min-height:50px;font-size:16px}.checklist-fast-buttons .checklist-resume{grid-column:1/-1}.checklist-complete .people-icon{width:21px;height:21px}.checklist-reason{margin-top:14px;font-size:13px}.checklist-reason>summary{color:var(--muted);cursor:pointer;padding:5px 0}.checklist-reason label{margin-top:12px}.checklist-state-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checklist-state-buttons button{font-size:13px;padding:10px 8px}.checklist-detail-link{display:inline-block;margin-top:16px;font-size:13px}.checklist-finished{display:flex;align-items:center;gap:7px;color:var(--green);font-size:12px;margin-bottom:0}.checklist-finished .people-icon{width:18px;height:18px;flex-shrink:0}.checklist-detail-instructions{margin-top:20px}.checklist-template{padding:20px 0;border-bottom:1px solid var(--line)}.checklist-template:first-child{padding-top:0}.checklist-template:last-child{border-bottom:0;padding-bottom:0}.checklist-template h2{font-size:19px;margin-bottom:10px}.checklist-template p{font-size:13px;color:var(--muted);margin-bottom:10px}.checklist-template form{margin-top:12px}.delivery-summary .section-heading h2{margin-bottom:14px}.delivery-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:3px 0 16px}.delivery-counts>div{border-left:3px solid #d9e9df;padding-left:14px;min-width:0}.delivery-counts strong{display:block;font-size:30px;line-height:1.3;color:var(--green);overflow-wrap:anywhere}.delivery-counts span{display:block;color:var(--muted);font-size:12px;margin-top:5px}.delivery-summary>.muted{margin-bottom:0}.production-shortcut{display:flex;align-items:center;justify-content:space-between;gap:20px}.production-shortcut h2{margin-bottom:8px}.production-shortcut p{font-size:13px;color:var(--muted);margin-bottom:0}.production-shortcut .button{font-size:13px;white-space:nowrap}.checklist-history{margin-bottom:20px}
@media(max-width:1100px){.checklist-grid{gap:14px}.checklist-card{padding:19px}.checklist-title h3{font-size:19px}}
@media(max-width:760px){.sidebar nav{overflow-y:hidden;min-height:42px}.role-employee .sidebar .brand,.role-team_leader .sidebar .brand{display:none}.role-employee .account small,.role-team_leader .account small{display:none}.role-employee .sidebar,.role-team_leader .sidebar{padding:10px 16px}.daily-heading h1{font-size:30px}.daily-heading p{font-size:13px}.daily-heading .button{font-size:12px}.daily-stats{gap:7px}.daily-stats>span{padding:7px 10px;font-size:12px}.daily-stats strong{font-size:15px}.checklist-grid{grid-template-columns:1fr;gap:14px}.checklist-card{padding:19px 17px}.checklist-title h3{font-size:20px}.checklist-complete{min-height:52px}.checklist-fast-buttons button{min-height:46px}.daily-section{margin-bottom:24px}.delivery-counts{gap:10px}.delivery-counts>div{padding-left:9px}.delivery-counts strong{font-size:26px}.delivery-counts span{font-size:11px}.delivery-summary .section-heading{align-items:flex-start}.delivery-summary .section-heading a{white-space:normal;text-align:right;max-width:160px;font-size:12px}.production-shortcut{align-items:flex-start;flex-direction:column;gap:14px}.production-shortcut .button{width:100%}.daily-done{padding:18px 14px}.daily-done .checklist-card{padding:16px 13px}}

/* 1.5.2: compact production cards. Scoped specificity keeps the older shared
   mobile rules from expanding these controls; detail pages are unaffected. */
.content .task-card.task-compact-card{display:block;padding:12px 14px;margin-bottom:10px;border-radius:11px;box-shadow:0 2px 7px #183b3808;min-width:0}
.content .task-card.task-compact-card:last-child{margin-bottom:0}
.content .task-card.task-compact-card .task-header{flex-wrap:nowrap;align-items:flex-start;gap:8px}
.content .task-card.task-compact-card .task-header>.task-content{flex:1 1 auto;width:auto;min-width:0}
.content .task-card.task-compact-card h3{font-size:17px;line-height:1.4;letter-spacing:0;margin:0;overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-header>.badge{flex:0 0 auto;max-width:125px;font-size:11px;line-height:1.5;text-align:center;margin:0;padding:4px 8px}
.content .task-card.task-compact-card .task-meta{font-size:14px;line-height:1.5;margin:4px 0 5px;color:var(--muted);overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-compact-summary{display:flex;flex-wrap:wrap;align-items:center;gap:3px 12px;min-width:0}
.content .task-card.task-compact-card .reported-progress{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-numbers{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-compact-summary progress{display:inline-block;width:100px;max-width:100%;height:5px;margin:0;flex:0 1 100px}
.content .task-card.task-compact-card>form{margin:6px 0 0}
.content .task-card.task-compact-card .task-compact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:7px;min-width:0}
.content .task-card.task-compact-card .task-compact-action-label{font-size:13px;line-height:1.4;color:var(--muted)}
.content .task-card.task-compact-card .task-compact-buttons{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.content .task-card.task-compact-card .task-compact-actions button,
.content .task-card.task-compact-card .task-compact-actions .button,
.content .task-card.task-compact-card .task-blocker-actions button{min-height:44px;min-width:58px;width:auto;padding:7px 12px;font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;margin:0}
.content .task-card.task-compact-card .task-compact-actions .task-compact-report{margin-left:auto}
.content .task-card.task-compact-card .task-compact-details{margin:3px 0 0;min-width:0}
.content .task-card.task-compact-card .task-compact-details>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px;line-height:1.5;color:var(--green);overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-compact-details>summary:focus-visible{outline:3px solid #a7dbcc;outline-offset:2px;border-radius:5px}
.content .task-card.task-compact-card .task-compact-detail-body{border-top:1px solid var(--line);padding-top:9px;min-width:0}
.content .task-card.task-compact-card .task-compact-detail-body p{font-size:14px;line-height:1.55;margin:0 0 8px;overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-compact-detail-links{display:flex;flex-wrap:wrap;gap:6px 12px;min-width:0}
.content .task-card.task-compact-card .task-compact-detail-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.content .task-card.task-compact-card .task-compact-blockers{margin-top:8px}
.content .task-card.task-compact-card .task-compact-blockers label{font-size:14px;margin-bottom:8px}
.content .task-card.task-compact-card .task-compact-blockers textarea{font-size:16px}
.content .task-card.task-compact-card .task-blocker-actions{display:flex;flex-wrap:wrap;gap:6px}
.content .task-card.task-compact-card .form-message{font-size:14px;line-height:1.5;margin:4px 0 0}
.content .task-card.task-compact-card .form-message:empty{display:none}
@media(max-width:760px){
 .content .task-card.task-compact-card{padding:11px 12px;margin-bottom:10px}
 .content .task-card.task-compact-card .task-numbers,
 .content .task-card.task-compact-card .reported-progress{font-size:14px}
 .content .task-card.task-compact-card .task-compact-actions{gap:6px}
 .content .task-card.task-compact-card .task-compact-action-label{flex:1 1 100%;font-size:14px}
 .content .task-card.task-compact-card .task-compact-actions .task-compact-report{margin-left:0}
 .content .task-card.task-compact-card .task-header>.badge{max-width:96px;white-space:normal}
}

/* 1.7.7: keep overview actions short while preserving readable touch targets. */
.content .daily-heading{margin-bottom:12px}
.content .daily-heading h1{font-size:28px;margin-bottom:0}
.content .daily-heading .eyebrow{margin-bottom:4px}
.content .home-production-heading{margin:16px 0 8px;padding:0;gap:8px}
.content .home-production-heading h2{font-size:19px;margin-bottom:0}
.content .home-production-heading p{margin:0;font-size:13px}
.home-production-links{display:flex;flex-wrap:wrap;gap:4px 12px}
.home-production-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.content .packing-saved-link{min-height:44px;font-size:14px;padding:8px 12px;margin-top:6px}
.content .task-card.task-compact-card{padding:9px 12px;margin-bottom:8px;border-left:3px solid #c4dace}
.content .task-card.task-compact-card .task-meta{margin:3px 0;font-size:13px}
.content .task-card.task-compact-card>form{margin-top:0}
.content .task-card.task-compact-card .task-compact-controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 10px;min-width:0}
.content .task-card.task-compact-card .task-compact-controls>button{min-height:44px;width:auto;padding:7px 12px;margin:0;font-size:14px;line-height:1.4}
.content .task-card.task-compact-card .task-compact-controls>.task-compact-details{margin:0;flex:1 1 190px}
.content .task-card.task-compact-card .task-compact-controls>.task-compact-details[open]{flex:1 1 100%}
.content .task-card.task-compact-card .task-compact-controls>.task-compact-details>summary{display:list-item;padding:10px 0;min-height:44px}
.content .task-card.task-compact-card .task-compact-state{font-size:13px;margin:2px 0;color:#8d631b}
.content .task-card.task-compact-card .task-compact-detail-body .task-compact-summary{margin-bottom:8px}
.content .task-card.task-compact-card .task-compact-report{min-height:44px;padding:9px 12px;font-size:14px;width:auto}
.content .home-checklist-list{grid-template-columns:1fr;gap:8px}
.content .home-checklist-card{padding:9px 12px;border-radius:11px;border-left:3px solid #c4dace}
.content .home-checklist-card.is-late{border-left-color:#c9795c}
.home-checklist-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.home-checklist-header .checklist-title{min-width:0;flex:1}
.content .home-checklist-card .checklist-title h3{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.home-checklist-header .checklist-priority{flex:0 0 auto;max-width:92px;letter-spacing:0;overflow-wrap:anywhere}
.content .home-checklist-card .checklist-assignee{margin:3px 0;font-size:13px;line-height:1.5}
.content .home-checklist-card form{margin-top:3px}
.content .home-checklist-card .checklist-fast-buttons{display:flex;flex-wrap:wrap;gap:6px}
.content .home-checklist-card .checklist-fast-buttons button{width:auto;min-height:44px;padding:8px 12px;font-size:14px;line-height:1.4}
.content .home-checklist-card .checklist-reason{margin-top:0}
.content .home-checklist-card .checklist-reason>summary,.home-checklist-details>summary{min-height:44px;padding:10px 0;font-size:14px;line-height:1.5;cursor:pointer}
.home-checklist-details>summary{color:var(--green)}
.home-checklist-controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 10px;min-width:0}
.content .home-checklist-controls>button{width:auto;min-height:44px;padding:7px 12px;font-size:14px;line-height:1.4;margin:0}
.home-checklist-controls>.home-checklist-details{flex:1 1 180px;min-width:0}
.home-checklist-controls>.home-checklist-details[open]{flex:1 1 100%}
.content .home-checklist-card .form-message:empty{display:none}
.content .home-checklist-card .form-message{font-size:14px;margin:4px 0 0}
.content .home-checklist-body textarea{font-size:16px}
.home-checklist-body{padding:8px 0 0;border-top:1px solid var(--line);font-size:14px}
.home-checklist-body p{margin:0 0 8px}
.home-checklist-body>a{display:inline-flex;min-height:44px;align-items:center}
.content .home-personal{margin-top:22px;padding:4px 12px}
.home-personal>summary{min-height:44px;padding:10px 0;font-size:15px;cursor:pointer}
.home-personal-body{padding:8px 0}
.content .home-personal .workforce-home-actions{margin:0;gap:8px}
.content .home-personal .workforce-home-actions .button{font-size:14px;min-height:44px}
.content .daily-stats{margin-top:16px;margin-bottom:8px;gap:6px}
.content .daily-stats>span{padding:5px 8px;border-radius:6px}
.content .daily-manage-link{margin-bottom:10px}
.content .daily-section{margin-bottom:16px}
.content .daily-section>.section-heading h2{font-size:19px;margin-bottom:8px}
.content .daily-empty{padding:10px;text-align:left;display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px}
.content .daily-empty>.people-icon{width:20px;height:20px;margin:0}
.content .daily-empty h3{font-size:15px;margin:0}
.content .daily-empty p{margin:0}
@media(max-width:760px){
 .content .home-production-heading{flex-direction:row;flex-wrap:wrap;align-items:center}
 .content .task-card.task-compact-card .task-header>.badge{max-width:82px;font-size:11px;padding:3px 6px}
 .content .task-card.task-compact-card .task-compact-controls>.task-compact-details{flex-basis:120px}
 .content .task-card.task-compact-card .task-compact-controls>.task-compact-details>summary{font-size:13px}
 .content .home-personal .workforce-home-actions .button{width:auto;flex:1 1 145px}
}
