/* Worker dashboard only. Navigation, other roles and the standalone attendance page keep their styles. */
.employee-dashboard-page { --ed-blue: #111214; --ed-ink: #111214; --ed-muted: #6d6e71; max-width: 1540px; margin: 0 auto; color: var(--ed-ink); }
.employee-dashboard-page * { min-width: 0; }
.employee-dashboard-page .ed-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 8px 28px; }
.employee-dashboard-page .ed-header h1 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 730; letter-spacing: -.04em; line-height: 1.25; }
.employee-dashboard-page .ed-header p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: #535457; }
.employee-dashboard-page .ed-gps-badge { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 12px 16px; border: 1px solid #e6e7e8; border-radius: 999px; background: #fff; box-shadow: 0 3px 12px #11121408; font-size: 12px; font-weight: 650; }
.employee-dashboard-page .ed-gps-badge[data-granted="true"] svg { color: #686d76; }
.employee-dashboard-page .ed-card { border: 1px solid #e9e9ea; border-radius: 18px; background: #fff; box-shadow: 0 2px 3px #11121405, 0 8px 22px #11121406; }
.employee-dashboard-page .ed-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.employee-dashboard-page .ed-kpi { display: flex; align-items: center; gap: 15px; min-height: 108px; padding: 19px; }
.employee-dashboard-page .ed-kpi-icon { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 50%; color: var(--ed-blue); background: #f3f3f4; }
.employee-dashboard-page .ed-kpi h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 13px; color: #535457; font-weight: 450; }
.employee-dashboard-page .ed-kpi-value { margin-top: 4px; font-size: clamp(19px,1.7vw,25px); font-weight: 720; letter-spacing: -.035em; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.employee-dashboard-page .ed-status,.employee-dashboard-page .ed-gps-value { display: flex; align-items: center; gap: 8px; }
.employee-dashboard-page .ed-status i,.employee-dashboard-page .ed-gps-value i,.employee-dashboard-page .ed-live i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #a5a6a9; }
.employee-dashboard-page .ed-status[data-state="working"] i,.employee-dashboard-page .ed-status[data-state="finished"] i,.employee-dashboard-page .ed-gps-value[data-granted="true"] i { background: #07966d; }
.employee-dashboard-page .ed-status[data-state="traveling"] i { background: var(--ed-blue); }
.employee-dashboard-page .ed-status[data-state="on_break"] i,.employee-dashboard-page .ed-status[data-state="private_leave"] i { background: #c9861c; }
.employee-dashboard-page .ed-timer-value { font-size: clamp(26px,2.1vw,32px); font-weight: 730; letter-spacing: -.03em; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 8ch; }
.employee-dashboard-page .ed-timer-caption { font-size: 10px; margin-top: 3px; color: var(--ed-muted); }
.employee-dashboard-page .ed-live { display: inline-flex; align-items: center; gap: 4px; color: #686d76; font-size: 10px; font-weight: 650; }
.employee-dashboard-page .ed-live i { background: #07966d; width: 5px; height: 5px; flex-basis: 5px; }
.employee-dashboard-page .ed-workspace { display: grid; grid-template-columns: minmax(0,34fr) minmax(0,40fr) minmax(0,26fr); gap: 16px; align-items: stretch; }
.employee-dashboard-page .ed-site,.employee-dashboard-page .ed-attendance,.employee-dashboard-page .ed-history { padding: 21px 18px; }
.employee-dashboard-page .ed-site { display: flex; flex-direction: column; }
.employee-dashboard-page .ed-panel-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 21px; }
.employee-dashboard-page h2 { letter-spacing: -.025em; }
.employee-dashboard-page .ed-panel-heading h2 { font-size: 18px; font-weight: 720; line-height: 1.3; }
.employee-dashboard-page .ed-panel-heading p { font-size: 12px; color: #535457; line-height: 1.55; margin-top: 3px; }
.employee-dashboard-page .ed-step { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; color: #fff; background: #111214; box-shadow: 0 2px 5px #11121422; font-size: 17px; font-weight: 600; }
.employee-dashboard-page .ed-search { display: flex; align-items: center; gap: 9px; border: 1px solid #e1e2e5; border-radius: 14px; background: #fbfbfc; padding: 0 12px; min-height: 47px; color: #434548; }
.employee-dashboard-page .ed-search input { width: 100%; outline: none; font-size: 13px; background: transparent; min-height: 45px; }
.employee-dashboard-page .ed-search:focus-within { outline: 3px solid #11121426; border-color: var(--ed-blue); }
.employee-dashboard-page .ed-sites { display: grid; gap: 10px; margin-top: 20px; max-height: 340px; overflow-y: auto; padding: 2px; }
.employee-dashboard-page .ed-site-option { display: flex; align-items: center; gap: 10px; padding: 13px 12px; min-height: 70px; border: 1px solid #e2e4e7; border-radius: 14px; cursor: pointer; transition: background-color 200ms,border-color 200ms,box-shadow 200ms; }
.employee-dashboard-page .ed-site-option:hover { border-color: #c7c8cc; background: #f9f9fa; }
.employee-dashboard-page .ed-site-option:focus-within { outline: 3px solid #11121426; }
.employee-dashboard-page .ed-site-option.is-selected { border-color: var(--ed-blue); background: #f9f9fa; box-shadow: 0 0 0 1px #11121409; }
.employee-dashboard-page .ed-site-option input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ed-blue); }
.employee-dashboard-page .ed-small-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border-radius: 50%; background: #f1f1f2; color: var(--ed-blue); }
.employee-dashboard-page .ed-site-copy { flex: 1; overflow-wrap: anywhere; }
.employee-dashboard-page .ed-site-copy strong,.employee-dashboard-page .ed-selected-site strong { display: block; font-size: 14px; font-weight: 680; }
.employee-dashboard-page .ed-site-copy > span { display: block; font-size: 12px; color: #535457; margin-top: 2px; }
.employee-dashboard-page .ed-site-check { display: grid; place-items: center; flex: 0 0 23px; height: 23px; color: white; background: var(--ed-blue); border-radius: 50%; animation: ed-selected 200ms ease-out; }
.employee-dashboard-page .ed-selected-site { display: flex; align-items: flex-start; gap: 10px; padding: 15px 12px; border: 1px solid #d1d3d6; background: #f4f4f5; border-radius: 14px; overflow-wrap: anywhere; }
.employee-dashboard-page .ed-selected-site > div { flex: 1; }
.employee-dashboard-page .ed-selected-site p,.employee-dashboard-page .ed-selected-site small { font-size: 12px; color: #535457; line-height: 1.6; }
.employee-dashboard-page .ed-note { margin-top: 11px; font-size: 11px; line-height: 1.6; color: var(--ed-muted); overflow-wrap: anywhere; }
.employee-dashboard-page .ed-continue { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 45px; margin-top: 24px; border-radius: 12px; background: #111214; box-shadow: 0 3px 6px #1112141a; color: white; font-size: 14px; font-weight: 650; transition: filter 200ms,box-shadow 200ms; }
.employee-dashboard-page .ed-continue:hover:not(:disabled) { filter: brightness(1.07); box-shadow: 0 5px 12px #11121424; }
.employee-dashboard-page .ed-continue:disabled { opacity: .45; cursor: not-allowed; }
.employee-dashboard-page .ed-subheading { font-size: 13px; font-weight: 650; margin-top: 20px; }
.employee-dashboard-page .ed-text-button { text-align: left; margin-top: 16px; color: var(--ed-blue); min-height: 40px; font-size: 12px; font-weight: 600; }
.employee-dashboard-page .ed-modes { display: flex; gap: 4px; padding: 4px; margin: 12px 0 18px; background: #f3f3f4; border: 1px solid #ececed; border-radius: 11px; }
.employee-dashboard-page .ed-modes button { flex: 1; min-height: 34px; font-size: 12px; font-weight: 600; border: 1px solid transparent; border-radius: 8px; transition: background-color 200ms,color 200ms; }
.employee-dashboard-page .ed-modes button[aria-pressed="true"] { background: #fff; border-color: #e6e7e8; color: var(--ed-blue); box-shadow: 0 1px 3px #1112140a; }
.employee-dashboard-page button:disabled { cursor: wait; }
.employee-dashboard-page .ed-manual { display: grid; gap: 10px; padding: 12px; border: 1px solid #e2e4e7; border-radius: 12px; margin-bottom: 16px; }
.employee-dashboard-page .ed-manual legend,.employee-dashboard-page .ed-manual label { font-size: 11px; font-weight: 600; }
.employee-dashboard-page .ed-manual input,.employee-dashboard-page .ed-manual textarea { display: block; width: 100%; margin-top: 6px; padding: 8px; min-height: 42px; border: 1px solid #e2e4e7; border-radius: 8px; background: #fff; font-size: 16px; font-weight: 400; }
.employee-dashboard-page .ed-timeline { display: grid; gap: 6px; }
.employee-dashboard-page .ed-timeline-row { position: relative; display: flex; align-items: center; gap: 10px; }
.employee-dashboard-page .ed-timeline-row:not(:last-child)::before { content:''; position: absolute; width: 1px; background: #d1d2d5; top: 30px; bottom: -22px; left: 17px; }
.employee-dashboard-page .ed-timeline-icon { position: relative; display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border: 1px solid #eaeaeb; border-radius: 50%; background: #f3f3f4; color: #6d6e71; }
.employee-dashboard-page .ed-timeline-content { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 61px; padding: 9px 11px; border: 1px solid transparent; border-radius: 13px; background: #f5f5f6; }
.employee-dashboard-page .ed-event-copy { flex: 1; }
.employee-dashboard-page .ed-event-copy h3 { font-size: 14px; font-weight: 680; letter-spacing: -.025em; line-height: 1.3; }
.employee-dashboard-page .ed-event-copy p { margin-top: 3px; color: #5d5e61; font-size: 11px; line-height: 1.4; }
.employee-dashboard-page .ed-timeline-row.is-available .ed-timeline-content { border-color: #e1e2e5; background: #f3f4f5; }
.employee-dashboard-page .ed-timeline-row.is-available .ed-timeline-icon { color: var(--ed-blue); border-color: #e1e2e5; background: #f1f1f2; box-shadow: 0 0 0 4px #f8f8f9; }
.employee-dashboard-page .ed-timeline-row.is-complete .ed-timeline-icon { color: #686d76; background: #e9f8f0; }
.employee-dashboard-page .ed-lock { color: #616265; flex-shrink: 0; }
.employee-dashboard-page .ed-record { display: flex; justify-content: center; align-items: center; gap: 4px; flex-shrink: 0; min-height: 36px; padding: 7px 11px; border-radius: 999px; background: #111214; color: white; font-size: 11px; font-weight: 600; box-shadow: 0 2px 4px #1112141a; transition: filter 200ms,box-shadow 200ms; }
.employee-dashboard-page .ed-record:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 3px 10px #1112142b; }
.employee-dashboard-page .ed-event-time { color: #686d76; background: #e7f6ee; padding: 4px 7px; border-radius: 8px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.employee-dashboard-page .ed-event-time small { display: block; font-size: 9px; }
.employee-dashboard-page .ed-location-note { display: flex; align-items: flex-start; gap: 5px; font-size: 10px; }
.employee-dashboard-page .ed-location-note svg { flex-shrink: 0; margin-top: 2px; }
.employee-dashboard-page .ed-warning,.employee-dashboard-page .ed-alert,.employee-dashboard-page .ed-success { font-size: 12px; border-radius: 10px; padding: 10px; margin: 12px 0; line-height: 1.5; overflow-wrap: anywhere; }
.employee-dashboard-page .ed-warning { background: #fff6e6; color: #85520b; }
.employee-dashboard-page .ed-warning button { display: block; min-height: 36px; text-decoration: underline; font-weight: 600; }
.employee-dashboard-page .ed-alert { background: #fff1f0; color: #af3024; }
.employee-dashboard-page .ed-alert strong,.employee-dashboard-page .ed-alert span { display: block; }
.employee-dashboard-page .ed-success,.employee-dashboard-page .ed-closed { background: #e9f8f1; color: #686d76; }
.employee-dashboard-page .ed-history-heading-icon { display: grid; place-items: center; width: 24px; height: 29px; color: var(--ed-blue); flex-shrink: 0; }
.employee-dashboard-page .ed-empty { display: flex; min-height: 340px; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.employee-dashboard-page .ed-empty > span { display: grid; place-items: center; width: 124px; height: 100px; border-radius: 48% 52% 42% 58%; background: #f4f4f5; color: #686d76; margin-bottom: 20px; }
.employee-dashboard-page .ed-empty h3 { font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.employee-dashboard-page .ed-empty p { color: #535457; font-size: 12px; line-height: 1.7; margin-top: 7px; max-width: 240px; }
.employee-dashboard-page .ed-history-list { display: grid; gap: 0; }
.employee-dashboard-page .ed-history-list > li { display: flex; align-items: flex-start; gap: 8px; padding: 15px 0; border-bottom: 1px solid #efeff0; }
.employee-dashboard-page .ed-history-list > li:last-child { border-bottom: 0; }
.employee-dashboard-page .ed-history-list > li > div { flex: 1; overflow-wrap: anywhere; }
.employee-dashboard-page .ed-history-list h3 { font-size: 12px; font-weight: 650; line-height: 1.4; }
.employee-dashboard-page .ed-history-list time { font-size: 10px; color: #616265; white-space: nowrap; font-variant-numeric: tabular-nums; }
.employee-dashboard-page .ed-history-status { display: inline-flex; border-radius: 5px; padding: 2px 5px; margin-top: 5px; background: #f3f4f5; color: #111214; font-size: 10px; }
.employee-dashboard-page .ed-quick { margin-top: 20px; padding: 19px; }
.employee-dashboard-page .ed-quick > h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 680; margin-bottom: 14px; }
.employee-dashboard-page .ed-quick > h2 > svg { color: #686d76; }
.employee-dashboard-page .ed-quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.employee-dashboard-page .ed-quick-link { display: flex; align-items: center; gap: 11px; min-height: 60px; padding: 11px 12px; border: 1px solid #e6e7e8; border-radius: 14px; background: #fff; font-size: 13px; font-weight: 650; transition: transform 200ms,box-shadow 200ms,border-color 200ms; }
.employee-dashboard-page .ed-quick-link > span:nth-child(2) { flex: 1; }
.employee-dashboard-page .ed-quick-link:hover { transform: translateY(-2px); border-color: #cfd0d3; box-shadow: 0 5px 14px #1112140a; }
.employee-dashboard-page :is(button,a,input,textarea):focus-visible { outline: 3px solid #1112144d; outline-offset: 3px; }
.employee-dashboard-page .ed-timer-start { animation: ed-timer-start 320ms ease-out both; }
.employee-dashboard-page .ed-history-new { animation: ed-history-in 300ms ease-out both; }
@keyframes ed-selected { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: scale(1); } }
@keyframes ed-timer-start { from { opacity: .45; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes ed-history-in { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media(min-width:1251px) { .employee-dashboard-page .ed-site .ed-continue { margin-top: auto; } .employee-dashboard-page .ed-site .ed-sites + .ed-note { margin-bottom: 24px; } }
@media(max-width:1250px) { .employee-dashboard-page .ed-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } .employee-dashboard-page .ed-workspace { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); } .employee-dashboard-page .ed-history { grid-column: 1/-1; } .employee-dashboard-page .ed-empty { min-height: 210px; } .employee-dashboard-page .ed-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .employee-dashboard-page .ed-header { align-items: flex-start; padding: 2px 0 20px; flex-direction: column; gap: 12px; } .employee-dashboard-page .ed-header h1 { font-size: 25px; } .employee-dashboard-page .ed-header p { font-size: 12px; } .employee-dashboard-page .ed-gps-badge { padding: 8px 11px; font-size: 11px; } .employee-dashboard-page .ed-kpi { padding: 14px; gap: 10px; min-height: 100px; } .employee-dashboard-page .ed-kpi-icon { width: 40px; height: 40px; flex-basis: 40px; } .employee-dashboard-page .ed-kpi-icon svg { width: 22px; height: 22px; } .employee-dashboard-page .ed-kpi h2 { font-size: 11px; } .employee-dashboard-page .ed-kpi-value { font-size: 20px; } .employee-dashboard-page .ed-timer-value { font-size: 26px; } .employee-dashboard-page .ed-workspace { grid-template-columns: minmax(0,1fr); } .employee-dashboard-page .ed-history { grid-column: auto; } .employee-dashboard-page .ed-quick { padding: 17px; } }
@media(max-width:479px) { .employee-dashboard-page .ed-kpis { grid-template-columns: minmax(0,1fr); gap: 10px; } .employee-dashboard-page .ed-kpi { min-height: 82px; } .employee-dashboard-page .ed-kpi-icon { width: 46px; height: 46px; flex-basis: 46px; } .employee-dashboard-page .ed-kpi h2 { font-size: 12px; } .employee-dashboard-page .ed-timer-value { font-size: 30px; } .employee-dashboard-page .ed-quick-grid { grid-template-columns: minmax(0,1fr); gap: 10px; } .employee-dashboard-page .ed-event-copy h3 { font-size: 13px; } .employee-dashboard-page .ed-timeline-content { padding: 10px 9px; } .employee-dashboard-page .ed-record { padding: 6px 8px; } .employee-dashboard-page .ed-record > svg { display: none; } }
@media(prefers-reduced-motion:reduce) { .employee-dashboard-page *, .employee-dashboard-page *::before, .employee-dashboard-page *::after { animation: none!important; transition: none!important; } .employee-dashboard-page .ed-quick-link:hover { transform: none; } }

/* Active journey origin, without changing the card layout. */
.employee-dashboard-page .ed-timeline-row[data-journey-active="true"] .ed-timeline-content { border-color: #e1e2e5; background: #f3f4f5; }
.employee-dashboard-page .ed-timeline-row[data-journey-active="true"] .ed-timeline-icon { color: var(--ed-blue); border-color: #e1e2e5; background: #f1f1f2; }

[data-primary-attendance] > [data-journey-active="true"] [data-attendance-content] { border-color: #e1e2e5; background: #f3f4f5; }
