/* Ekrany G: aplikacja pracownika (prefiks wk-). Duze cele, wysoki kontrast, jedna glowna akcja. */

.wk-hello { padding: 4px 2px 0; }
.wk-hello-date { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.wk-hello h1 { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }

/* --- przydzial --- */
.wk-job { display: flex; flex-direction: column; gap: 8px; }
.wk-job-top { display: flex; align-items: center; gap: 8px; }
.wk-job-top .job-dot { width: 12px; height: 12px; }
.wk-job-label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.wk-job-plan { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.wk-job-name { margin: 0; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; }
.wk-job-addr { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.wk-job-addr > span:nth-child(2) { flex: 1; min-width: 0; }
.wk-job-nav { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 700; flex: none; }
.wk-job-team { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-2); }
.wk-job-note { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--accent-soft); font-size: .9rem; line-height: 1.4; }
.wk-job-note .icon { flex: none; margin-top: 2px; color: var(--accent-text); }

/* --- stan pracy --- */
.wk-clock-card { box-shadow: var(--hairline), var(--shadow-1), inset 4px 0 0 var(--t); }
.wk-clock { display: flex; flex-direction: column; gap: 2px; }
.wk-clock-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--t-ink); }
.wk-clock-time { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1; letter-spacing: .01em; }
.wk-clock-geo { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--muted); }
.wk-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: wk-pulse 1.6s infinite; }
@keyframes wk-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.wk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wk-two .btn { min-height: 52px; }
.wk-done { display: flex; align-items: center; gap: 12px; color: var(--ok); }
.wk-done > div { display: flex; flex-direction: column; color: var(--ink); }
.wk-done b { font-size: 1.1rem; }
.wk-done span { color: var(--ink-2); font-size: .9rem; }

/* --- etapy --- */
.wk-stages-card { display: flex; flex-direction: column; gap: 10px; }
.wk-stages { display: flex; flex-direction: column; }
.wk-stage { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; border-top: 1px solid var(--line); }
.wk-stage:first-child { border-top: 0; }
.wk-stage-ico { color: var(--idle); display: grid; place-items: center; flex: none; }
.wk-stage.is-done .wk-stage-ico { color: var(--ok); }
.wk-stage.is-doing .wk-stage-ico { color: var(--accent-text); }
.wk-stage-name { flex: 1; min-width: 0; font-weight: 600; display: flex; flex-direction: column; }
.wk-stage.is-done .wk-stage-name { color: var(--muted); font-weight: 500; }
.wk-stage.is-doing .wk-stage-name { font-weight: 800; }
.wk-stage-name small { display: inline-flex; align-items: center; gap: 3px; font-size: .74rem; color: var(--muted); }

/* --- arkusz ze zdjeciem --- */
.wk-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wk-shot { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.wk-shot .media-thumb { width: 100%; height: 100%; }
.wk-shot-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.wk-shot-add { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius); border: 2px dashed var(--accent); background: var(--accent-soft); color: var(--accent-text); font: 700 .8rem var(--font-body); text-align: center; padding: 6px; cursor: pointer; }
.wk-req { display: flex; align-items: center; gap: 6px; margin: 10px 0; font-size: .85rem; font-weight: 600; color: var(--warn); }
.wk-req.is-ok { color: var(--ok); }
.wk-sum { display: flex; flex-direction: column; align-items: center; padding: 6px 0 12px; }
.wk-sum span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.wk-sum b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.05; }
.wk-sum small { color: var(--ink-2); }

/* --- zglos problem --- */
.wk-report-job { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--muted); }
.wk-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wk-cat { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; border-radius: var(--radius); border: 2px solid transparent; background: var(--surface); box-shadow: var(--hairline); color: var(--ink); font: 600 .9rem var(--font-body); text-align: left; cursor: pointer; }
.wk-cat .icon { flex: none; color: var(--muted); }
.wk-cat.is-on { border-color: var(--danger); background: var(--danger-soft); }
.wk-cat.is-on .icon { color: var(--danger); }
.wk-tips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.wk-report .card { display: flex; flex-direction: column; gap: 12px; }
.wk-sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 4px 6px; color: var(--ok); }
.wk-sent h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.wk-sent p { margin: 0 0 10px; color: var(--ink-2); line-height: 1.5; }
