.operator-head {
  align-items: center;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.operator-tile {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow);
}

.operator-tile-kicker {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.operator-live-timer {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.operator-tile.is-working {
  border-color: #16a34a;
}

.operator-tile.is-free {
  border-color: #0284c7;
}

.operator-name {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
}

.operator-state {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0284c7;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.operator-tile.is-working .operator-state {
  background: #16a34a;
}

.operator-vehicle {
  font-size: 24px;
  font-weight: 800;
}

.operator-meta {
  color: var(--muted-strong);
  font-size: 16px;
}

.operator-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 24px;
  border: 2px solid #16a34a;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.18), rgba(30, 41, 59, 0.96));
}

.operator-current.is-free {
  border-color: #0284c7;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(30, 41, 59, 0.96));
}

.operator-current h2 {
  margin: 4px 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.operator-current h2 span {
  color: var(--muted-strong);
  font-size: 0.55em;
}

.operator-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.operator-quick-chips-top {
  margin-top: 0;
  margin-bottom: 16px;
}

.operator-quick-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.operator-alert {
  border: 2px solid #16a34a;
  background: #16a34a;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.operator-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.operator-search-form input {
  min-height: 68px;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
}

.operator-search-hint {
  margin: 0 0 12px;
  color: var(--muted-strong);
}

.operator-search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.operator-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.operator-search-head h2 {
  margin-bottom: 6px;
}

.operator-structure-link {
  white-space: nowrap;
}

.operator-planner-form {
  grid-template-columns: repeat(3, auto) 190px minmax(220px, 1fr) auto;
  align-items: center;
}

.operator-planner-flag-cell {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  gap: 8px;
  align-items: center;
  justify-content: start;
  min-width: 112px;
}

.operator-planner-flag-cell .flag-icon {
  margin: 0;
}

.operator-note-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.operator-note-form textarea {
  min-height: 120px;
  font-size: 18px;
}

.operator-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(2, 132, 199, 0.22), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(22, 163, 74, 0.18), transparent 32rem),
    var(--bg);
}

.operator-shell {
  width: min(1500px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px;
}

.operator-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.operator-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-end: auto;
}

.operator-lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.operator-lang-chip.is-active {
  border-color: rgba(124, 225, 255, 0.28);
  background: rgba(124, 225, 255, 0.12);
  color: #fff;
}

.operator-user {
  color: var(--muted-strong);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.operator-logout {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.operator-logout:hover {
  background: rgba(30, 41, 59, 0.92);
}

.operator-action {
  min-height: 68px;
  padding: 18px 24px;
  border-radius: 20px;
  font-size: 20px;
  font-weight: 900;
}

.touch-message-board,
.touch-todo-board {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(124, 225, 255, 0.05), transparent 180px),
    linear-gradient(180deg, rgba(18, 28, 46, 0.98), rgba(11, 20, 34, 0.98));
}

.touch-message-board .message-board-head,
.touch-todo-board .todo-panel-head {
  margin-bottom: 18px;
}

.touch-message-board .message-list,
.touch-todo-board .todo-list,
.operator-mobile-results {
  display: grid;
  gap: 14px;
}

.touch-todo-page {
  gap: 14px;
}

.touch-todo-hero {
  padding: 18px 20px;
  border-radius: 24px;
}

.touch-todo-hero .todo-hero-stats {
  margin-top: 0;
}

.touch-todo-board .compact-filters,
.touch-todo-board .todo-inline-form,
.touch-todo-board .todo-card-actions {
  display: grid;
  gap: 12px;
}

.touch-todo-board .todo-inline-form .btn,
.touch-todo-board .todo-note-form .btn,
.touch-message-board .message-card-actions .btn,
.operator-mobile-results .btn {
  width: 100%;
}

.touch-message-board .message-card,
.touch-todo-board .todo-card,
.operator-mobile-claim-card {
  border-radius: 24px;
}

.operator-action.danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.operator-action.complete {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.operator-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.operator-results,
.operator-detail {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.operator-claim-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.2fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--card);
}

.operator-claim-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.operator-claim-main strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.operator-claim-main > span:not(.status-badge) {
  color: var(--muted-strong);
  font-size: 18px;
  font-weight: 700;
}

.operator-claim-data,
.operator-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.operator-claim-data span,
.operator-facts div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-muted);
}

.operator-detail-title,
.operator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.operator-detail-title h2 {
  margin: 4px 0;
  font-size: clamp(32px, 4vw, 58px);
}

.operator-facts {
  margin: 18px 0;
}

.operator-facts label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.operator-facts strong {
  font-size: 18px;
}

.operator-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.operator-notes > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-muted);
}

.operator-notes h3 {
  margin: 0 0 8px;
}

.operator-notes p {
  margin: 0;
  color: var(--muted-strong);
}

.operator-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.operator-footer {
  text-align: center;
}

.operator-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.operator-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.operator-filter-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
}

.operator-filter-chip.is-active {
  border-color: rgba(124, 225, 255, 0.28);
  background: rgba(124, 225, 255, 0.12);
  color: #fff;
}

.operator-mobile-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.operator-inline-panel {
  margin-bottom: 0;
}

.operator-mobile-fold {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.operator-mobile-fold > summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
}

.operator-mobile-fold > summary::-webkit-details-marker {
  display: none;
}

.operator-mobile-fold > summary::after {
  content: "+";
  float: right;
}

.operator-mobile-fold[open] > summary::after {
  content: "-";
}

.operator-warning-card {
  margin-top: 14px;
  margin-bottom: 0;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.08);
}

body.theme-light.operator-body {
  background: #f8fafc;
}

body.theme-light .operator-lang-chip,
body.theme-light .operator-filter-chip,
body.theme-light .operator-mobile-kicker,
body.theme-light .operator-mobile-fold {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

body.theme-light .operator-lang-chip.is-active,
body.theme-light .operator-filter-chip.is-active {
  border-color: #38bdf8;
  background: #e0f2fe;
  color: #075985;
}

body.theme-light .operator-filter-chip span {
  background: #dbeafe;
  color: #1e40af;
}

body.theme-light .operator-logout {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

body.theme-light .operator-mobile-fold > summary {
  color: #0f172a;
}

body.theme-light .operator-warning-card {
  border-color: #f59e0b;
  background: #fef3c7;
  color: #78350f;
}

.operator-warning-card strong {
  display: block;
  margin-bottom: 6px;
}

.operator-warning-card p {
  margin: 0;
  color: var(--muted-strong);
}

[dir="rtl"] .operator-topbar {
  justify-content: flex-start;
}

[dir="rtl"] .operator-lang-switch {
  margin-inline-end: 0;
  margin-inline-start: auto;
}

[dir="rtl"] .operator-head,
[dir="rtl"] .operator-current,
[dir="rtl"] .operator-detail-title,
[dir="rtl"] .operator-search-head,
[dir="rtl"] .operator-search-form,
[dir="rtl"] .operator-claim-main,
[dir="rtl"] .operator-facts,
[dir="rtl"] .operator-notes,
[dir="rtl"] .operator-filter-bar,
[dir="rtl"] .operator-actions {
  direction: rtl;
}

@media (max-width: 860px) {
  .operator-shell {
    padding: 18px 14px 28px;
  }

  .operator-current {
    flex-direction: column;
    align-items: stretch;
  }

  .operator-search-head {
    flex-direction: column;
  }

  .operator-structure-link {
    width: 100%;
  }

  .operator-search-form {
    grid-template-columns: 1fr;
  }

  .operator-topbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .touch-message-board,
  .touch-todo-board {
    border-radius: 24px;
  }

  .touch-message-board .message-card-shell {
    grid-template-columns: 1fr;
    padding: 18px 18px 18px 22px;
  }

  .touch-message-board .message-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .touch-message-board .message-head,
  .touch-todo-board .todo-card-head,
  .touch-todo-board .todo-inline-form {
    display: grid;
    gap: 12px;
  }

  .touch-message-board .message-board-head {
    align-items: flex-start;
  }

  .touch-message-board .message-board-caption {
    width: 100%;
    justify-content: center;
  }

  .touch-todo-hero .todo-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

[dir="rtl"] .operator-mobile-kicker,
[dir="rtl"] .operator-search-hint,
[dir="rtl"] .operator-current p,
[dir="rtl"] .operator-warning-card p,
[dir="rtl"] .operator-inline-panel,
[dir="rtl"] .operator-notes p {
  text-align: right;
}

[dir="rtl"] .operator-mobile-fold > summary::after {
  float: left;
}

@media (max-width: 900px) {
  .operator-shell {
    padding: 18px 14px 90px;
  }

  .operator-topbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .operator-filter-bar {
    gap: 8px;
  }

  .operator-filter-chip {
    flex: 1 1 calc(50% - 8px);
    justify-content: space-between;
  }

  .operator-current,
  .operator-claim-card,
  .operator-search-form {
    grid-template-columns: 1fr;
  }

  .operator-current {
    align-items: stretch;
    flex-direction: column;
  }

  .operator-mobile-head {
    gap: 12px;
  }

  .operator-mobile-kicker {
    width: 100%;
    justify-content: center;
  }

  .operator-grid {
    grid-template-columns: 1fr;
  }

  .operator-tile {
    min-height: 0;
    padding: 18px;
  }

  .operator-name {
    font-size: clamp(26px, 8vw, 38px);
  }

  .operator-vehicle {
    font-size: 20px;
  }

  .operator-current h2 {
    font-size: clamp(26px, 8vw, 38px);
  }

  .operator-search-card h2,
  .operator-detail .card > h2 {
    font-size: 24px;
  }

  .operator-action {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    font-size: 18px;
  }

  .operator-mobile-actions {
    position: sticky;
    bottom: 10px;
    z-index: 20;
    margin-top: 20px;
    padding-top: 10px;
    background: transparent;
  }

  .operator-actions form {
    width: 100%;
  }

  .operator-note-form textarea {
    min-height: 96px;
    font-size: 16px;
  }
}

.touch-admin-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.touch-admin-sidebar {
  position: sticky;
  top: 92px;
  padding: 0;
  overflow: hidden;
}

.touch-admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.touch-admin-sidebar-head h2 {
  margin: 0;
}

.touch-admin-worker-list {
  display: grid;
}

.touch-admin-worker {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  background: transparent;
}

.touch-admin-worker strong,
.touch-admin-worker span,
.touch-admin-worker small {
  display: block;
}

.touch-admin-worker span {
  margin-top: 6px;
  font-weight: 600;
}

.touch-admin-worker small {
  margin-top: 4px;
  color: var(--muted);
}

.touch-admin-worker.is-active {
  background: var(--accent-soft);
}

.touch-admin-worker.is-working strong {
  color: var(--accent-2);
}

.touch-admin-main {
  display: grid;
  gap: 20px;
}

.touch-admin-current,
.touch-admin-search-head,
.touch-admin-claim-head,
.touch-admin-result-card,
.touch-admin-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.touch-admin-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 16px;
}

.touch-admin-search-form input,
.touch-admin-note-form textarea {
  width: 100%;
}

.touch-admin-results,
.touch-admin-linked-list {
  display: grid;
  gap: 14px;
}

.touch-admin-result-card p,
.touch-admin-result-card small {
  margin: 4px 0 0;
}

.touch-admin-claim-card {
  display: grid;
  gap: 20px;
}

.touch-admin-claim-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.touch-admin-claim-facts div,
.touch-admin-linked-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.touch-admin-claim-facts label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.touch-admin-actions {
  flex-wrap: wrap;
}

.touch-admin-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.touch-admin-notes-grid > div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.touch-admin-note-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.touch-admin-note-form label {
  font-weight: 600;
}

.touch-admin-linked-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .touch-admin-layout {
    grid-template-columns: 1fr;
  }

  .touch-admin-sidebar {
    position: static;
  }

  .touch-admin-claim-facts,
  .touch-admin-notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .touch-admin-current,
  .touch-admin-search-head,
  .touch-admin-claim-head,
  .touch-admin-result-card {
    flex-direction: column;
  }

  .touch-admin-search-form {
    grid-template-columns: 1fr;
  }
}

.touch-repair-worker-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.touch-repair-worker-chip {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: 12px;
  background: var(--card-muted);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.touch-repair-worker-chip:hover {
  transform: translateY(-1px);
}

.touch-repair-worker-chip strong {
  color: var(--text);
}

.touch-repair-worker-chip span,
.touch-repair-worker-chip small {
  color: var(--muted-strong);
}

.touch-repair-worker-chip.is-working {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
}

.touch-repair-worker-chip.is-free {
  border-left-color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}

.touch-repair-worker-chip.is-active {
  box-shadow: inset 0 0 0 2px var(--accent-2);
}

.touch-toolbar-card {
  margin-bottom: 18px;
}

.touch-toolbar {
  align-items: center;
}

.touch-admin-grid {
  display: grid;
  gap: 18px;
}

.touch-admin-summary-card,
.touch-admin-results-card,
.touch-admin-claim-card,
.touch-admin-linked-card,
.touch-admin-history-card {
  background: var(--card);
}

.touch-admin-summary-head,
.touch-admin-claim-head,
.touch-admin-actions,
.touch-admin-result-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.touch-admin-summary-meta,
.touch-admin-claim-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.touch-admin-summary-meta div,
.touch-admin-claim-facts div,
.touch-admin-linked-item,
.touch-admin-result-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.touch-admin-summary-meta label,
.touch-admin-claim-facts label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.touch-admin-inline-actions,
.touch-admin-actions {
  margin-top: 18px;
}

.touch-admin-actions {
  flex-wrap: wrap;
}

.touch-admin-results-list,
.touch-admin-linked-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.touch-admin-result-main {
  display: grid;
  gap: 4px;
}

.touch-admin-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.touch-admin-notes-grid > div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.touch-admin-note-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.touch-admin-note-form label {
  font-weight: 600;
}

.touch-admin-linked-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .touch-admin-summary-meta,
  .touch-admin-claim-facts,
  .touch-admin-notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .touch-admin-summary-head,
  .touch-admin-claim-head,
  .touch-admin-result-item {
    flex-direction: column;
  }
}

.repair-worker-chip.touch-worker-link {
  text-decoration: none;
  color: inherit;
}

.repair-worker-chip.touch-worker-link.is-active {
  box-shadow: inset 0 0 0 2px var(--accent-2);
}

.repair-worker-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.repair-worker-chip {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: 10px;
  background: var(--card-muted);
}

.repair-worker-chip strong {
  color: var(--text);
}

.repair-worker-chip span,
.repair-worker-chip small {
  color: var(--muted-strong);
}

.repair-worker-chip.is-working {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
}

.repair-worker-chip.is-free {
  border-left-color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}

.repair-worker-chip.touch-worker-link {
  text-decoration: none;
  color: inherit;
}

.repair-worker-chip.touch-worker-link.is-active {
  box-shadow: inset 0 0 0 2px var(--accent-2);
}

/* === Pulizia (timbratura senza pratica) === */
/* Lo stato "in pulizia" si distingue a colpo d'occhio dallo stato "libero" e da
   "in lavorazione": e' un terzo stato, non l'assenza di lavoro. */
.operator-current.is-cleaning {
  border-color: #7c5cff;
  background: linear-gradient(180deg, rgba(124, 92, 255, .16), transparent);
}

.operator-current.is-cleaning .eyebrow {
  color: #b9a7ff;
}

/* Il bottone "mettiti in pulizia" e' un'azione secondaria, non urgente come
   avviare/chiudere una lavorazione: si distingue senza gridare. */
.btn.operator-pulizia {
  background: #7c5cff;
  color: #fff;
  border: 0;
}

.btn.operator-pulizia:hover {
  filter: brightness(1.08);
}

/* Addetto in pulizia nella lista/griglia: terzo stato, blu come "Metti in pulizia". */
.operator-tile.is-cleaning,
.repair-worker-chip.is-cleaning {
  border-color: #7c5cff;
  background: linear-gradient(180deg, rgba(124, 92, 255, .16), transparent);
}
