/* pages/staff.css — technician "My day" page (phone-first) and Settings → Phones (put the app on staff phones) */

.myday { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.myday-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.myday-greet { font-size: 22px; font-weight: 800; line-height: 1.2; }
.myday-head .avatar { width: 42px; height: 42px; font-size: 15px; }
.myday-scan .input { font-size: 17px; min-height: 50px; }
.myday-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.myday-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 6px; text-align: center; cursor: pointer; box-shadow: var(--shadow); }
.myday-kpi b { display: block; font-size: 22px; line-height: 1.1; }
.myday-kpi span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.myday-kpi.active { border-color: var(--accent); background: var(--accent-soft); }
.myday-kpi.danger b { color: #b91c1c; }
.myday-section { scroll-margin-top: 70px; }
.myday-section-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin: 4px 0 8px; }
.myday-job { padding: 12px 14px; }
.myday-job + .myday-job { margin-top: 10px; }
.myday-job-main { display: block; color: inherit; text-decoration: none; }
.myday-job-main:hover .strong { color: var(--accent-text); }
.myday-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.myday-actions .btn { min-height: 44px; flex: 1 1 auto; justify-content: center; }
.truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.myday-booking { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.myday-booking:last-child { border-bottom: 0; padding-bottom: 0; }
.myday-time { font-weight: 800; font-size: 18px; min-width: 56px; }
.myday-booking .btn { min-height: 40px; }
.myday-others summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
@media (max-width: 760px) {
  .myday-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .myday-kpi { padding: 8px 2px; }
  .myday-kpi b { font-size: 20px; }
  .myday-kpi span { font-size: 10px; }
}

/* Settings → Phones */
.set-phones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.set-phone-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; background: var(--surface); }
.set-phone-qr svg { width: 200px; height: 200px; max-width: 100%; }
.set-phone-url { font-size: 18px; font-weight: 700; margin: 8px 0 2px; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.set-phone-card .btn { margin-top: 8px; }
.set-steps { padding-left: 20px; margin: 0; }
.set-steps li { margin-bottom: 8px; }
@media print { .set-phone-qr svg { width: 260px; height: 260px; } }
