/* One Horizon surface for every staff role; never change which records/actions are authorized. */
/* The old general dashboard must not reappear above the employee's own task dashboard. */
body.horizon118.daily-employee-view #appView #homeView #dashboardV46{display:none!important}
body.horizon118 #appView #homeView #homeStageDistribution71[hidden]{display:none!important}
body.horizon118.daily-employee-view #appView #homeView>#productionTools100{width:auto!important;align-self:flex-start!important;margin:0!important;min-height:var(--ui-control122,36px)!important;font-size:var(--ui-font122,.88rem)!important;padding:6px 12px!important}
body.horizon118 #appView #taskArrival86{padding:10px 14px!important;margin:0 auto 10px!important;max-width:1560px;box-sizing:border-box;border:1px solid var(--line)!important;border-inline-start:3px solid var(--gold)!important;border-radius:12px!important;background:var(--card)!important;box-shadow:none!important;gap:8px 16px!important}
body.horizon118 #appView #taskArrival86 strong{font-size:.86rem!important}body.horizon118 #appView #taskArrival86 p{font-size:.74rem!important;margin:2px 0 0!important}
body.horizon118 #appView .employee-dashboard{max-width:none!important;width:100%;min-width:0;display:grid;gap:var(--ui-gap122,10px)}
body.horizon118 #appView .employee-welcome{margin:0!important;padding:4px 0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;align-items:center;gap:12px}
body.horizon118 #appView .employee-welcome strong{font-size:var(--ui-title122,1.15rem)!important;line-height:1.5!important;color:var(--ink)!important}
body.horizon118 #appView .employee-welcome span:not(.employee-total){font-size:.78rem!important;color:var(--muted)!important}
body.horizon118 #appView .employee-total{font-size:1.1rem!important;min-width:36px!important;height:36px!important;border-radius:9px!important;background:var(--green2)!important;color:var(--ink)!important;display:grid;place-items:center}
body.horizon118 #appView .employee-tabs{margin:0!important;padding:5px!important;gap:5px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--card)!important;box-shadow:none!important;flex-wrap:wrap!important}
body.horizon118 #appView :is(#homeView,#groupView) .employee-tabs{display:flex!important;grid-template-columns:none!important}
body.horizon118 #appView :is(#homeView,#groupView) .employee-tab{width:auto!important;flex:0 0 auto!important}
body.horizon118 #appView .employee-tab{min-height:var(--ui-control122,36px)!important;padding:6px 10px!important;line-height:1.5!important;font-size:var(--ui-font122,.88rem)!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
body.horizon118 #appView .employee-tab.active{border-color:var(--gold)!important;background:var(--gold2)!important;color:var(--ink)!important}
body.horizon118 #appView .employee-tab b{min-width:22px!important;height:22px!important;padding:0 5px!important;border-radius:7px!important;background:var(--green2)!important;color:var(--ink)!important;font-size:.73rem!important}
body.horizon118 #appView .employee-panel:not(.hidden):not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin:0!important;border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden;min-width:0}
body.horizon118 #appView .employee-task-card:not(.hidden):not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px 18px!important;min-width:0!important;margin:0!important;padding:var(--ui-space122,10px) 14px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-inline-start:4px solid transparent!important;border-radius:0!important;box-shadow:none!important;background:var(--card)!important}
body.horizon118 #appView .employee-task-card:last-child{border-bottom:0!important}
body.horizon118 #appView .employee-task-card[data-priority123="1"]{border-inline-start-color:#bc850d!important}
body.horizon118 #appView .employee-task-card[data-priority123="2"]{border-inline-start-color:#c33345!important}
body.horizon118 #appView :is(#homeView,#groupView) .employee-dashboard .employee-task-card[data-priority123]{border:0!important;border-bottom:1px solid var(--line)!important;border-inline-start:4px solid transparent!important;box-shadow:none!important}
body.horizon118 #appView :is(#homeView,#groupView) .employee-dashboard .employee-task-card[data-priority123="1"]{border-inline-start-color:#bc850d!important}
body.horizon118 #appView :is(#homeView,#groupView) .employee-dashboard .employee-task-card[data-priority123="2"]{border-inline-start-color:#c33345!important}
body.horizon118 #appView .employee-task-main{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important}
body.horizon118 #appView .employee-task-main>div{min-width:0!important}
body.horizon118 #appView .employee-task-main h3{font-size:var(--ui-font122,.88rem)!important;line-height:1.5!important;margin:0!important;color:var(--ink)!important;overflow-wrap:anywhere}
body.horizon118 #appView .employee-task-main .number{display:grid!important;place-items:center;min-width:48px!important;width:48px!important;min-height:36px!important;height:36px!important;font-size:.8rem!important;line-height:1!important;padding:4px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--green2)!important;color:var(--ink)!important;box-shadow:none!important;white-space:nowrap}
body.horizon118 #appView .employee-task-main :is(.meta,.due-late,.due-soon,.due-normal){font-size:.76rem!important;line-height:1.6!important;margin:3px 0 0!important}
body.horizon118 #appView .employee-task-main .meta{color:var(--muted)!important}
body.horizon118 #appView .employee-task-main .due-late{color:var(--red)!important}
body.horizon118 #appView .employee-task-main :is(.due-late,.due-soon,.due-normal){display:inline-block!important;margin-inline-end:10px!important}
body.horizon118 #appView .employee-task-card .path-badge{display:inline-flex!important;align-items:center;gap:5px;background:transparent!important;color:var(--muted)!important;border:0!important;border-radius:0!important;padding:0!important;margin:3px 0 0!important;font-size:.73rem!important;box-shadow:none!important;line-height:1.5!important}
body.horizon118 #appView .employee-task-card .path-badge :is(svg,.path-symbol){display:none!important}
body.horizon118 #appView .employee-task-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:6px!important;border:0!important;padding:0!important;width:auto!important;max-width:380px;min-width:0}
body.horizon118 #appView .employee-task-actions>.badge{font-size:.73rem!important;margin:0!important;line-height:1.5!important;white-space:normal!important}
body.horizon118 #appView .employee-task-actions>.small-btn{width:auto!important;font-size:var(--ui-font122,.88rem)!important;min-height:var(--ui-control122,36px)!important}
body.horizon118 #appView .employee-empty{grid-column:1/-1!important;margin:0!important;padding:24px!important;background:var(--card)!important;border:0!important;color:var(--muted)!important;font-size:.85rem!important}
/* Original snooze controls live in the action row, never on top of the order identity. */
body.horizon118 #appView #homeView .employee-task-card .home-snooze100{position:static!important;inset:auto!important;transform:none!important;visibility:hidden;opacity:0;pointer-events:none}
body.horizon118 #appView #homeView .employee-task-card:is(:hover,:focus-within,.snooze-revealed100) .home-snooze100{visibility:visible;opacity:1;pointer-events:auto}
body.horizon118 #appView #homeView .employee-task-card .home-snooze-toggle100{position:static!important;inset:auto!important;transform:none!important;width:44px!important;height:44px!important;border-radius:9px!important}
body.horizon118 #appView .employee-dashboard :is([hidden],.hidden){display:none!important}
body.horizon118 #appView .start-queue86{background:transparent!important;border:0!important;padding:0!important;margin:0 0 var(--ui-gap122,10px)!important;box-shadow:none!important}
body.horizon118 #appView .start-queue86 h2{font-size:var(--ui-title122,1.15rem)!important}.horizon118 #appView .start-queue86 p{color:var(--muted);font-size:.78rem!important}
body.horizon118 #appView .start-queue-card86{background:var(--card)!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:var(--ui-space122,10px)!important;box-shadow:none!important;gap:10px!important}
@media(max-width:760px), (max-width:960px) and (max-height:500px){
 body.horizon118 #appView .employee-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%;box-sizing:border-box}
 body.horizon118 #appView .employee-tab{flex:0 0 auto!important;min-height:44px!important;font-size:.78rem!important;white-space:nowrap}
 body.horizon118 #appView .employee-task-card:not(.hidden):not([hidden]){grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:var(--ui-space122,10px)!important}
 body.horizon118 #appView .employee-task-actions{justify-content:flex-start!important;padding-inline-start:58px!important;max-width:none!important}
 body.horizon118 #appView .employee-task-actions>.small-btn{min-height:44px!important;font-size:.78rem!important}
 body.horizon118 #appView #homeView .employee-task-card .home-snooze100{display:none!important}
 body.horizon118 #appView #homeView .employee-task-card.snooze-revealed100 .home-snooze100{display:inline-flex!important;visibility:visible}
 body.horizon118 #appView #homeView .employee-task-card .home-snooze-toggle100{display:block!important}
}
