/* Ported ONCE from design-gallery/tries/laptop/techs.css on 2026-11-11 by tools/laptop/port-css.cjs; edit HERE from now on.
   Every rule sits under :where(body.lt-on) inside @media (min-width:761px): a phone never reads it.
   Maintenance > Technicians, the job log (lt-techs.js). Hand changes after the port: the drawing's frame colours, its own
   search-field and job-box rules are left out (lt-maint.css already holds the real ones: .l-q, .ljp); the technician box
   lives in the floating host (.lt-pop), so its rules take that host too; the list is its own size container. */
@media (min-width:761px) {
  :where(body.lt-on) :where(#view-maintenance) .ltl-root { container: ltl / inline-size; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; min-height: 44px; margin: 0 0 20px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-top h1 { margin: 0 8px 0 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
  /* the find field never shrinks below a usable size: with many offices the pills go to the next line instead */
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-top .l-q { flex: 0 1 320px; width: auto; min-width: 240px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-sp { flex: 1; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-top .tb { flex: none; width: auto; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-card { border: 1px solid var(--sp-line); border-radius: 16px; background: var(--sp-bg); }
  :where(html[data-theme="dark"] body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-card { background: color-mix(in srgb, var(--sp-ink) 3%, var(--sp-bg)); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-nil { margin: 0; padding: 14px 12px; font-size: 15px; color: var(--sp-grey); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-nil[hidden] { display: none; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-nil .k-btn { margin-left: 8px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-tbl { padding: 6px 8px 8px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-th,
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-row { display: grid; align-items: center; column-gap: 16px; padding: 0 12px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-th { min-height: 44px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-th .l-sortb { white-space: nowrap; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-th .l-sortb.ltl-r { justify-self: end; margin-left: 0; margin-right: -8px; flex-direction: row-reverse; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-row { min-height: 48px; border-radius: 12px; font-size: 15px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-row + .ltl-row { margin-top: 2px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-row[hidden] { display: none; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-tr { grid-template-columns: minmax(0, 1fr) 120px 120px 160px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-go { min-height: 60px; cursor: pointer; outline: none; transition: background-color 140ms ease; }
  @media (hover: hover) and (pointer: fine) {
    :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-go:hover { background: var(--sp-wash); }
  }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-go:focus-visible { box-shadow: inset 0 0 0 2px var(--sp-red); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-go.is-open { background: var(--sp-wash); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-tw { display: flex; align-items: center; gap: 12px; min-width: 0; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-face { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; overflow: hidden; background-size: cover; background-position: center; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-tn { display: grid; min-width: 0; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-who { font-size: 16px; line-height: 1.35; font-weight: 600; justify-self: start; max-width: 100%; white-space: nowrap; overflow: hidden; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-to { font-size: 14px; line-height: 1.4; color: var(--sp-grey); white-space: nowrap; overflow: hidden; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-dim { color: var(--sp-grey); }

  /* one technician: a box in the middle, one height so a shorter list never moves it */
  :where(body.lt-on) :where(.lt-pop) .ltl-pop { z-index: 1000; }
  :where(body.lt-on) :where(.lt-pop) .ltl-pop .pp-box { width: min(1000px, 100%); height: min(860px, calc(100vh - 24px)); }
  :where(body.lt-on) :where(.lt-pop) .ltl-pop .pp-t { font-size: 28px; line-height: 1.2; font-weight: 700; }
  :where(body.lt-on) :where(.lt-pop) .ltl-pop .pp-m { font-size: 15px; white-space: nowrap; overflow: hidden; }
  :where(body.lt-on) :where(.lt-pop) .ltl-pop .pp-bd { display: grid; gap: 26px; padding-bottom: 26px; align-content: start; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px 4px; font-size: 17px; line-height: 1.3; font-weight: 700; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-h3 span { font-size: 15px; font-weight: 400; color: var(--sp-grey); font-variant-numeric: tabular-nums; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-jr { grid-template-columns: minmax(0, 1fr) 200px 120px 110px 150px 44px; column-gap: 14px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job { cursor: pointer; outline: none; transition: background-color 140ms ease; }
  @media (hover: hover) and (pointer: fine) {
    :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job:hover { background: var(--sp-wash); }
  }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job:focus-visible { box-shadow: inset 0 0 0 2px var(--sp-red); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job.is-open { background: var(--sp-wash); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-cu { display: block; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-mc,
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-ty,
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-wi { min-width: 0; white-space: nowrap; overflow: hidden; color: var(--sp-grey); font-size: 14px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-jr .ltl-r { font-size: 14px; color: var(--sp-grey); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-st { justify-self: end; min-width: 0; white-space: nowrap; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-st .tg { height: 24px; padding: 0; gap: 8px; background: none; color: var(--sp-ink); font-size: 14px; font-weight: 500; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-st .tg .tg-mark { display: block; width: 16px; height: 16px; color: var(--m); }
  /* the days: All, 7 days, 30 days, This month, Pick days; the picked days' field keeps its room, so nothing moves when it shows */
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-days { display: flex; align-items: center; gap: 12px; margin: 0 0 12px 0; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-days .tb { flex: none; width: auto; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-days .tb-list { grid-auto-columns: max-content; width: max-content; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-days .tb-tab { padding: 0 16px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-pick { width: 280px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-pick[hidden] { display: block; visibility: hidden; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-pick .dp-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-pick .dp { position: relative; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-pick .dp-btn { height: 44px; min-height: 44px; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-pick .dp-pop { z-index: 30; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job .k-fan { justify-self: end; position: relative; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job .k-fan > .k-ic { width: 36px; height: 36px; opacity: 0; transition: opacity 120ms ease, background-color 140ms ease; }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job:hover .k-fan > .k-ic,
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job:focus-within .k-fan > .k-ic,
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job .k-fan.is-open > .k-ic { opacity: 1; }
  @media (hover: none) {
    :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job .k-fan > .k-ic { opacity: 1; }
  }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job .k-fan-acts { position: absolute; right: 40px; top: 50%; translate: 0 -50%; z-index: 5; padding: 3px; border-radius: 999px; background: var(--sp-bg); box-shadow: 0 8px 22px rgba(0, 0, 0, .14), 0 0 0 1px var(--sp-line); }
  :where(body.lt-on) :where(#view-maintenance, .lt-pop) .ltl-job .k-fan-acts .k-btn { font-size: 14px; white-space: nowrap; }
  @container ltl (max-width: 900px) {
    :where(body.lt-on) :where(#view-maintenance) .ltl-tr { grid-template-columns: minmax(0, 1fr) 96px 80px 130px; }
  }
  @container ltl (max-width: 620px) {
    :where(body.lt-on) :where(#view-maintenance) .ltl-top { flex-wrap: wrap; }
    :where(body.lt-on) :where(#view-maintenance) .ltl-top .l-q { flex: 1 1 100%; order: 3; }
    :where(body.lt-on) :where(#view-maintenance) .ltl-tbl { overflow-x: auto; }
    :where(body.lt-on) :where(#view-maintenance) .ltl-tr { grid-template-columns: minmax(150px, 1fr) 90px 60px 120px; min-width: 460px; }
  }
  @media (max-width: 900px) {
    :where(body.lt-on) :where(.lt-pop) .ltl-jr { grid-template-columns: minmax(0, 1fr) 130px 150px 44px; }
    :where(body.lt-on) :where(.lt-pop) .ltl-jr .ltl-ty,
    :where(body.lt-on) :where(.lt-pop) .ltl-jr .ltl-wi,
    :where(body.lt-on) :where(.lt-pop) .ltl-jr > .l-sortb[data-k="kind"],
    :where(body.lt-on) :where(.lt-pop) .ltl-jr > .l-sortb[data-k="with"] { display: none; }
    :where(body.lt-on) :where(.lt-pop) .ltl-days { flex-wrap: wrap; }
  }
}
