.source-layout #view>.source-dashboard-date+h1{font-size:32px;line-height:40px;letter-spacing:-.7px}
.source-dashboard-date{font-size:13px;line-height:19.5px;margin-bottom:9px}
.source-layout .source-flow-step:last-child:has(.source-flow-dot.done) strong{color:var(--source-text-green)}
.source-layout .home-history-summary .down{color:var(--source-text-red)}.source-layout .home-history-summary .up{color:var(--source-text-green)}
.source-layout .home-low-stock-row>b{color:var(--source-text-orange)}.source-layout .home-low-stock-row>b.empty{color:var(--source-text-red)}
.home-day-comparison{white-space:normal;line-height:19px}
.home-movement-code{font-weight:600}.home-movement-code:hover{text-decoration:underline;text-underline-offset:3px}.home-movement-time{margin-left:auto;white-space:nowrap}.home-movement-panel .source-alert-link>span{min-width:0}.home-movement-panel .source-alert-link>span>small{display:block;overflow-wrap:anywhere}
.source-dashboard-lead{font-size:14px;line-height:22px;margin:10px 0 0}.source-dashboard-lead small{font-size:12px;color:var(--faint);margin-left:8px}
.source-flow h3{font-size:12px;line-height:18px}.source-flow-step small{font-size:12px;line-height:18px}.source-flow-step strong{font-size:23px;line-height:30px}
.source-workflows{margin:26px 0;gap:16px}.source-flow{padding:13px 18px 18px}
.source-home-columns{grid-template-columns:1.1fr 1fr;gap:16px;align-items:start}.source-home-cutoff{padding:18px}.source-home-cutoff p{margin:0;line-height:20px;font-size:12px}.source-home-cutoff h2{font-size:28px;line-height:35px}.source-home-cutoff h2 small{font-size:13px}
.source-home-cutoff>.btn{color:var(--ink)!important;text-decoration:underline;font-size:12px!important;height:auto!important;min-height:22px!important;padding:0!important}
.source-flow-legend{font-size:12px;gap:9px}.source-flow-legend i{width:7px;height:7px}
.source-home-alerts{padding:18px}.source-home-alerts h2{font-size:13px;line-height:20px;color:var(--muted);font-weight:500;margin-bottom:8px}.source-home-alerts .source-alert-link{font-size:13px;line-height:20px;gap:10px;padding:12px 0}
.source-alert-link b{font-weight:500}.source-home-alerts .home-alert-icon{display:flex}.source-home-alerts .home-alert-icon .icon{width:16px;height:16px}.source-home-alerts .arrow-icon{width:14px;height:14px}.source-home-alerts .source-alert-link>span:nth-child(2){min-width:0;flex:1}
.source-hourly-panel .panel-head{padding:16px 18px;border-bottom:1px solid var(--border)}.source-bars-chart{height:204px;gap:3px;padding:18px 18px 8px}.source-bars-group{padding-bottom:24px;gap:1px}.source-bars-group i{width:100%;max-width:34px;min-height:0;border-radius:2px 2px 0 0}.source-bars-group small{font-size:11px}.source-bars-group i.secondary{position:absolute;bottom:24px;opacity:.5;width:45%;z-index:0}.source-bars-group i:not(.secondary){z-index:1}
.home-chart-caption{font-size:12px;color:var(--muted);margin:8px 18px 13px;line-height:19px}.home-carrier-chart{padding:13px 18px 17px;border-top:1px solid var(--border)}.home-carrier-chart>small{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.home-carrier-chart>div>i{display:block;height:7px;border-radius:5px;background:#609e83}.home-carrier-chart span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;margin-top:6px}.home-carrier-chart span>b{display:inline-block;width:7px;height:7px;border-radius:50%}
.source-home-cards{margin:24px 0;gap:12px}.source-home-cards .stat-card{padding:15px 17px}.source-home-cards button.stat-card{text-align:left;width:100%;transition:background-color .1s}.source-home-cards button.stat-card:hover{background:var(--hover,var(--bg))}.source-home-cards .stat-icon{display:block}.source-home-cards .stat-top{font-size:12px}.source-home-cards .stat-value{font-size:25px}.source-home-cards .stat-bottom{font-size:11px}
.home-start-panel .panel-head{padding:16px 18px}.home-start-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:0 18px 18px}.home-start-steps button{border:1px solid var(--border);background:var(--surface);color:var(--ink);padding:12px;text-align:left;border-radius:6px;font-size:12px}.home-start-steps button>span{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.home-start-steps .icon{float:right;width:13px;height:13px}
.home-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.home-lower-grid .source-alert-link>span>small{display:block;color:var(--muted);font-size:11px}.home-lower-grid .source-alert-link{font-size:12px;align-items:flex-start}.home-lower-grid .rate-row small{font-size:11px;color:var(--muted)}
.home-worker-panel{margin-top:24px}.home-worker-panel .panel-head,.home-history-panel .panel-head,.home-low-stock-panel .panel-head{padding:16px 18px;border-bottom:1px solid var(--border)}.home-worker-list,.home-low-stock-list{padding:0 18px}.home-worker-row,.home-low-stock-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;border:0;border-bottom:1px solid var(--border);padding:14px 0;background:transparent;color:var(--ink);font:inherit;text-align:left}.home-worker-row:last-child,.home-low-stock-row:last-child{border-bottom:0}.home-worker-row:hover,.home-low-stock-row:hover{background:var(--bg)}.home-worker-rank{flex:0 0 23px;color:var(--muted);font-size:13px;text-align:center}.home-worker-row>div,.home-low-stock-row>div{flex:1;min-width:0}.home-worker-row strong,.home-low-stock-row strong{display:block;font-size:14px;line-height:21px;font-weight:600}.home-worker-row>div>small,.home-low-stock-row>div>small{display:block;color:var(--muted);font-size:12px;line-height:19px;margin-top:3px;overflow-wrap:anywhere}.home-worker-row>b{flex-shrink:0;font-size:20px;font-weight:650;white-space:nowrap}.home-worker-row>b>small{font-size:12px;font-weight:400;color:var(--muted);margin-left:4px}.home-low-stock-row>b{flex-shrink:0;white-space:nowrap;font-size:15px;font-weight:650}.home-low-stock-row>b.empty{color:var(--danger,#ce4747)}.home-low-stock-row>b>small{font-size:12px;font-weight:400;color:var(--muted)}.home-panel-empty{font-size:13px;color:var(--muted);line-height:21px;padding:25px 0;text-align:center}
.home-history-chart{display:flex;align-items:flex-end;position:relative;height:190px;gap:7px;margin:20px 18px 0;padding:0 0 24px}.home-history-grid{position:absolute;inset:0 0 24px;border-bottom:1px solid var(--border);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--border) 25%);opacity:.65;pointer-events:none}.home-history-day{display:flex;justify-content:center;align-items:flex-end;height:100%;flex:1;min-width:0;position:relative}.home-history-day>i{display:block;position:relative;min-height:2px;width:100%;max-width:28px;background:#a7cbb8;border-radius:3px 3px 0 0;z-index:1}.home-history-day.today>i{background:#427f5b}.home-history-day>i:hover,.home-history-day>i:focus-visible{background:#356f4c;outline:2px solid var(--ink);outline-offset:3px}.home-history-day>small{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);font-size:10px;line-height:15px;color:var(--muted);white-space:nowrap}.home-history-summary{display:flex;flex-direction:column;gap:5px;padding:14px 18px 0;font-size:12px;line-height:19px;color:var(--muted)}.home-history-summary b{color:var(--ink);font-weight:600}.home-history-summary em{font-style:normal;font-size:11px;margin-left:5px}.home-history-summary .down{color:var(--muted)}.home-history-summary .up{color:#427f5b}.home-history-note{margin:9px 18px 16px;color:var(--faint);font-size:11px;line-height:17px}
@media(max-width:640px){.home-worker-panel{margin-top:20px}.home-worker-panel .panel-head,.home-history-panel .panel-head,.home-low-stock-panel .panel-head{padding:15px}.home-worker-list,.home-low-stock-list{padding:0 15px}.home-worker-row{gap:9px}.home-worker-row>div>small{font-size:11px}.home-worker-row>b{font-size:18px}.home-history-chart{gap:4px;height:175px;margin:18px 15px 0}.home-history-day>small{font-size:9px}.home-history-summary{padding:13px 15px 0;font-size:11px}.home-history-note{margin:9px 15px 15px}.home-low-stock-row strong{font-size:13px}}
.todo-shade{position:fixed;inset:0;z-index:94}.todo-window{position:fixed;z-index:95;right:22px;bottom:18px;width:380px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 70px);display:flex;flex-direction:column;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:13px;box-shadow:0 2px 12px #0003;overflow:hidden;font-family:inherit}.todo-window>header{padding:15px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border);flex-shrink:0}.todo-window>header>.icon,.todo-window>header>span>.icon{width:18px;height:18px}.todo-window h2{font-size:15px!important;line-height:22px!important;font-weight:650;margin:0!important}.todo-window header p{font-size:12px;color:var(--muted);line-height:19px;margin:2px 0 0}.todo-window header button{margin-left:auto;background:none;border:0;color:var(--muted);padding:6px}.todo-window header button>.icon{width:16px;height:16px}.todo-scroll{overflow:auto;min-height:0;padding:0 16px 18px}.todo-group>h3{font-size:12px;color:var(--faint);font-weight:600;display:flex;align-items:center;gap:6px;margin:15px 0 3px}.todo-group>h3>i{height:6px;width:6px;border-radius:50%}.todo-group article{padding:12px 0 11px}.todo-group h4{font-size:14px;line-height:21px;font-weight:500;margin:0}.todo-group article>p{font-size:12.5px;color:var(--muted);line-height:19px;margin:3px 0 0}.todo-group article>div{display:flex;align-items:center;gap:12px;margin-top:9px}.todo-open-link{display:flex;align-items:center;gap:4px;background:none;border:0;padding:0;color:var(--muted);font-size:12px;line-height:20px}.todo-open-link .icon{width:13px;height:13px}.todo-window .btn.small{font-size:12px!important;line-height:18px!important;min-height:26px!important;height:26px!important;padding:0 9px!important}.todo-empty{padding:30px 0;text-align:center;color:var(--muted);font-size:13px}body:has(.todo-window) .floating-todo{opacity:0;pointer-events:none}
@media(max-width:900px){.home-start-steps{grid-template-columns:repeat(3,1fr)}.source-home-columns{grid-template-columns:1fr}.home-lower-grid{grid-template-columns:1fr}.source-home-alerts .source-alert-link{padding:10px 0}}
@media(max-width:640px){.source-dashboard-lead{font-size:13px}.source-dashboard-lead small{display:block;margin:6px 0 0}.source-workflows{grid-template-columns:1fr;gap:12px;margin:22px 0}.source-home-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.source-flow-step small{font-size:11px}.source-home-cutoff h2{font-size:25px}.source-home-cutoff h2 small{font-size:12px}.source-home-alerts{padding:16px}.source-flow-legend{font-size:11px}.home-start-steps{grid-template-columns:repeat(2,1fr);padding:0 15px 15px}.todo-window{right:12px;bottom:80px;max-height:calc(100dvh - 145px)}.source-bars-chart{height:200px}.source-bars-group small{font-size:9px}.home-lower-grid{gap:16px}}

/* Measurements from the original dashboard and its contextual work list. */
body.source-layout #view>.source-dashboard-date+h1{font-size:32px;line-height:48px;font-weight:700;letter-spacing:-.02em;margin:4px 0 0}
body.source-layout .source-dashboard-date{margin:0;font-size:13px;line-height:19.5px}
body.source-layout .source-dashboard-lead{font-size:14px;line-height:21px;margin:6px 0 0}
.home-flow-scroll{max-width:100%;overflow-x:auto;margin:24px 0;padding-bottom:4px}
body.source-layout .home-flow-scroll .source-workflows{display:flex;min-width:760px;gap:12px;margin:0}
body.source-layout .home-flow-scroll .source-flow{min-width:0;flex:3;padding:10px 12px 12px;border-radius:12px}
body.source-layout .home-flow-scroll .source-flow:last-child{flex:5}
body.source-layout .home-flow-scroll .source-flow h3{font-size:11.5px;line-height:17.25px;font-weight:600;margin:0 0 8px;padding:0 4px}
body.source-layout .home-flow-scroll .source-flow-stages{display:flex;position:relative;margin:0;padding:0}
body.source-layout .home-flow-scroll .source-flow-step{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;padding:0 0 4px;height:auto;border:0;border-radius:8px;background:transparent}
body.source-layout .home-flow-scroll .source-flow-dot{flex:none;width:28px;height:28px;margin:0;font-size:11px;line-height:16.5px;font-weight:700}
body.source-layout .home-flow-scroll .source-flow-step strong{font-size:22px;line-height:22px;margin:6px 0 0;font-weight:700}
body.source-layout .home-flow-scroll .source-flow-step small{font-size:12px;line-height:18px;font-weight:500;margin:4px 0 0;padding:0 4px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-movement-panel .home-movement-time{font-size:11px}
body.source-layout #overlay-root .todo-window{right:76px;bottom:20px;width:380px;max-width:calc(100vw - 16px);max-height:70dvh;border-radius:12px}
body.source-layout #overlay-root .todo-window>header{padding:12px 16px;gap:8px}
body.source-layout #overlay-root .todo-window h2{font-size:14px!important;line-height:21px!important;font-weight:600}
body.source-layout #overlay-root .todo-window header p{line-height:18px;margin:0}
body.source-layout #overlay-root .todo-scroll{padding:4px 8px}
body.source-layout #overlay-root .todo-group>h3{font-size:11.5px;line-height:17.25px;font-weight:500;margin:0;padding:10px 8px 4px}
body.source-layout #overlay-root .todo-group article{padding:8px;border-radius:8px}
.todo-group article:hover{background:var(--soft)}
.todo-item-heading{display:flex;align-items:flex-start;gap:4px}
.todo-item-heading h4{min-width:0;flex:1}
.todo-title-link{display:block;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;line-height:inherit}
.todo-snooze{flex:none;opacity:0;border:0;background:transparent;color:var(--faint);padding:4px;border-radius:4px;line-height:0}
.todo-snooze .icon{width:14px;height:14px}
.todo-group article:hover .todo-snooze,.todo-snooze:focus-visible{opacity:1}
.todo-snooze:hover{background:var(--border);color:var(--ink)}
body.source-layout #overlay-root .todo-item-heading{margin:0}
body.source-layout #overlay-root .todo-item-actions{margin-top:8px;gap:6px}
body.source-layout #overlay-root .todo-open-link{height:24px;padding:0 6px;border-radius:6px;line-height:18px}
@media(max-width:639px){body.source-layout #view>.source-dashboard-date+h1{font-size:28px;line-height:42px}body.source-layout #overlay-root .todo-window{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom) + 60px);width:auto;max-width:none;max-height:70dvh}.todo-snooze{opacity:1}}
.source-home-cutoff{padding:16px;border-radius:12px}
.source-home-cutoff.is-upcoming{background:var(--surface);border-color:var(--border);color:var(--ink)}
.source-home-cutoff.is-late{color:var(--source-text-red)}
.source-home-cutoff p{font-size:12.5px;line-height:18.75px}
.source-home-cutoff p>.urgent{color:var(--source-text-red);font-size:11px;font-weight:500}
.source-home-cutoff h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:30px;line-height:45px;font-weight:700;margin:8px 0 0;color:inherit}
.source-home-cutoff h2 small{font-size:13.5px;line-height:20.25px;font-weight:400;margin-left:0}
.source-home-cutoff .source-multibar{height:8px;margin:12px 0 0}
.source-home-cutoff .source-flow-legend{margin:10px 0 0;gap:4px 16px}
.source-home-cutoff>.btn{margin-top:12px;font-size:12.5px!important;line-height:18.75px!important}
/* Source-observed floating work list and its three priority groups. */
body.source-layout{--todo-tabbar-h:60px}
body.source-layout .floating-todo{display:flex;align-items:center;justify-content:center;gap:8px;right:76px;bottom:calc(20px + env(safe-area-inset-bottom) + var(--todo-tabbar-h));height:44px;min-height:44px;padding:0 16px 0 14px;border:1px solid #d9d7d1;border-radius:9999px;background:var(--surface);color:var(--ink);font-size:13.5px;line-height:20.25px;font-weight:500;box-shadow:0 0 0 1px #0f0f0f0d,0 3px 6px #0f0f0f1a,0 9px 24px #0f0f0f1f;transition:transform .15s}
body.source-layout .floating-todo:hover{transform:translateY(-2px)}
body.source-layout .floating-todo>b{margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;font-variant-numeric:tabular-nums}
body.source-layout .floating-todo>.todo-button-cutoff{display:inline-flex;align-items:center;gap:4px;border-left:1px solid var(--border);padding-left:8px;color:#c4423d;font-size:12px;line-height:18px;font-weight:400;white-space:nowrap}
body.source-layout .floating-todo>.todo-button-cutoff>.icon{width:12px;height:12px;min-width:12px;flex:none;stroke-width:2}
@media(max-width:639px){body.source-layout .floating-todo>.todo-button-cutoff{display:none}}
.todo-button-icon{position:relative;display:block;flex:none;width:17px;height:17px}
body.source-layout .floating-todo .todo-button-icon>.icon{width:17px;height:17px;stroke-width:2}
.todo-attention-dot{position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:#c4423d;box-shadow:0 0 0 2px var(--surface);animation:todo-attention-pulse 2s cubic-bezier(.4,0,.6,1) infinite}
.todo-attention-dot[hidden]{display:none!important}
@keyframes todo-attention-pulse{50%{opacity:.5}}
body.source-layout #overlay-root .todo-window{right:76px;bottom:calc(20px + env(safe-area-inset-bottom) + var(--todo-tabbar-h));width:380px;max-width:calc(100vw - 16px);max-height:70dvh;border:1px solid #d9d7d1;border-radius:12px;background:var(--surface);box-shadow:0 0 0 1px #0f0f0f0d,0 3px 6px #0f0f0f1a,0 9px 24px #0f0f0f1f}
body.source-layout #overlay-root .todo-window>header>.icon{width:16px;height:16px;stroke-width:2}
body.source-layout #overlay-root .todo-window>header>div{flex:1;min-width:0}
body.source-layout #overlay-root .todo-window header button{margin-left:0;padding:4px;border-radius:6px;line-height:0}
body.source-layout #overlay-root .todo-window header button>.icon{width:17px;height:17px;stroke-width:2}
body.source-layout #overlay-root .todo-scroll{padding:4px 0;flex:1;scrollbar-width:thin}
body.source-layout #overlay-root .todo-group{padding:0 8px 4px}
.todo-group ul{list-style:none;margin:0;padding:0}
.todo-item{padding:8px;border-radius:8px}
.todo-item:hover{background:var(--soft)}
body.source-layout #overlay-root .todo-item-heading{gap:8px;align-items:flex-start}
.todo-item-heading>.todo-title-link{flex:1;min-width:0}
.todo-item-title{font-size:13.5px;line-height:20.25px;font-weight:500}
.todo-title-link>p{font-size:12px;line-height:16.5px;color:var(--muted);margin:2px 0 0}
.todo-snooze{opacity:0}
.todo-snooze .icon{width:13px;height:13px;stroke-width:2}
.todo-item:hover .todo-snooze,.todo-snooze:focus-visible{opacity:1}
body.source-layout #overlay-root .todo-item-actions{display:flex;align-items:center;flex-wrap:wrap;margin-top:6px;gap:6px}
body.source-layout #overlay-root .todo-open-link{display:inline-flex;gap:2px}
.todo-open-link .icon{width:12px;height:12px;stroke-width:2}
body.source-layout #overlay-root .todo-window .btn.small{height:24px!important;min-height:24px!important;padding:0 8px!important}
body.source-layout.theme-dark .floating-todo,body.source-layout.theme-dark #overlay-root .todo-window{border-color:var(--border)}
@media(min-width:1024px){body.source-layout{--todo-tabbar-h:0px}}
@media(max-width:639px){body.source-layout .floating-todo{right:68px;bottom:calc(16px + env(safe-area-inset-bottom) + var(--todo-tabbar-h))}body.source-layout #overlay-root .todo-window{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom) + var(--todo-tabbar-h));width:auto;max-width:none}}
@media(prefers-reduced-motion:reduce){.todo-attention-dot{animation:none}body.source-layout .floating-todo{transition:none}}
