/* ─── desk module styles (v10.24) ──────────────────────────────────
   Panel chrome (overlay, header, close) comes from module-lib.css.
   This file styles only what's INSIDE the panel body and sub-modals. */

.desk-panel .ml-panel-inner { max-width: 1000px; }
.desk-panel .ml-panel-body {
  flex-direction: column;
  overflow-y: auto;
  padding: 0;
  display: flex;
}

/* tab bar */
.desk-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--accent2);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.desk-tab {
  cursor: pointer;
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid var(--accent2);
  color: var(--dim);
  font-size: 0.88em;
  border-radius: 2px;
}
.desk-tab:hover { color: var(--fg); }
.desk-tab.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(176,230,176,0.08);
}

.desk-pane {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  font-family: var(--mono, monospace);
}

.desk-empty {
  padding: 24px 12px;
  text-align: center;
  font-style: italic;
}
.desk-hint { font-size: 0.78em; }
.desk-link {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88em;
}
.desk-link:hover { text-decoration: underline; }
.desk-del:hover { color: #e07a7a; }

.desk-back-link {
  display: inline-block;
  color: var(--dim);
  font-size: 0.86em;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 10px;
}
.desk-back-link:hover { color: var(--accent); }

.desk-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.desk-btn {
  cursor: pointer;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--accent2);
  color: var(--fg);
  font-size: 0.88em;
  border-radius: 2px;
  background: transparent;
  font-family: var(--mono, monospace);
}
.desk-btn:hover {
  background: rgba(176,230,176,0.08);
  border-color: var(--accent);
}
.desk-btn.primary {
  color: var(--accent);
  border-color: var(--accent);
}
.desk-btn.primary:hover { background: rgba(176,230,176,0.15); }
.desk-btn-danger {
  color: #e07a7a;
  border-color: rgba(224,122,122,0.4);
}
.desk-btn-danger:hover { background: rgba(224,122,122,0.1); }

/* sections within tabs */
.desk-section {
  margin-bottom: 18px;
}
.desk-section-h {
  font-size: 0.86em;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--accent2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── quick add bar ── */
.desk-quick-add {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
#desk-qa {
  flex: 1;
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 8px 12px;
  font-family: var(--mono, monospace);
  font-size: 0.95em;
  border-radius: 2px;
}
#desk-qa:focus { outline: none; border-color: var(--accent); }

/* ── filter bar ── */
.desk-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  align-items: center;
}
#desk-filter-text {
  flex: 1;
  min-width: 180px;
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 4px 8px;
  font-family: var(--mono, monospace);
  font-size: 0.85em;
  border-radius: 2px;
}
.desk-filters select {
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 4px 6px;
  font-family: var(--mono, monospace);
  font-size: 0.82em;
  border-radius: 2px;
}
.desk-status-chips {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 0.82em;
}
.desk-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 8px;
  background: rgba(176,230,176,0.1);
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85em;
}
.desk-chip:hover { background: rgba(224,122,122,0.15); color: #e07a7a; }

/* ── item rows ── */
.desk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.desk-item-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(176,230,176,0.06);
  border-radius: 2px;
}
.desk-item-row:hover { background: rgba(176,230,176,0.04); }
.desk-item-row.is-done { opacity: 0.55; }
.desk-item-row.is-done .desk-item-title { text-decoration: line-through; }
.desk-item-row.is-in-progress { background: rgba(255,208,112,0.04); }
.desk-item-row.is-waiting { opacity: 0.7; }
.desk-item-row.is-cadence { border-left: 2px solid rgba(255,208,112,0.4); padding-left: 8px; }

.desk-item-check {
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}
.desk-item-main { flex: 1; min-width: 0; }
.desk-item-title-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.desk-item-title {
  font-size: 0.95em;
  color: var(--fg);
  word-break: break-word;
}
.desk-item-chips {
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.desk-item-chips > span {
  display: inline-block;
  font-size: 0.74em;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(176,230,176,0.08);
  color: var(--dim);
}
.desk-chip-project { background: rgba(176,230,176,0.14) !important; color: var(--accent) !important; }
.desk-chip-area    { background: rgba(255,208,112,0.10) !important; color: #ffd070 !important; }
.desk-chip-cadence { background: rgba(255,208,112,0.14) !important; color: #ffd070 !important; }
.desk-item-meta {
  font-size: 0.74em;
  margin-top: 2px;
}
.desk-item-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.desk-item-act {
  cursor: pointer;
  text-decoration: none;
  padding: 2px 8px;
  font-size: 0.78em;
  color: var(--dim);
  border-radius: 2px;
}
.desk-item-act:hover { color: var(--accent); background: rgba(176,230,176,0.06); }
.desk-item-del:hover { color: #e07a7a; background: rgba(224,122,122,0.08); }

/* due chips */
.desk-due {
  font-size: 0.78em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(176,230,176,0.08);
  color: var(--dim);
  white-space: nowrap;
}
.desk-due.overdue { background: rgba(224,122,122,0.14); color: #e07a7a; }
.desk-due.today   { background: rgba(255,208,112,0.16); color: #ffd070; }
.desk-due.soon    { background: rgba(176,230,176,0.18); color: var(--accent); }

/* ── projects ── */
.desk-project-list { list-style: none; padding: 0; margin: 0; }
.desk-project-row {
  padding: 10px 12px;
  border: 1px solid var(--accent2);
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: 2px;
}
.desk-project-row:hover {
  background: rgba(176,230,176,0.05);
  border-color: var(--accent);
}
.desk-project-name {
  font-size: 1em;
  font-weight: bold;
  color: var(--fg);
}
.desk-project-desc { font-size: 0.85em; margin-top: 3px; }
.desk-project-meta { font-size: 0.78em; margin-top: 4px; }
.desk-project-status {
  display: inline-block;
  font-size: 0.74em;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(176,230,176,0.08);
  color: var(--dim);
  margin-left: 6px;
}
.desk-project-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent2);
  gap: 10px;
  flex-wrap: wrap;
}
.desk-project-head-main { flex: 1; min-width: 200px; }
.desk-project-head-name { color: var(--accent); margin: 0 0 4px 0; font-size: 1.2em; }
.desk-project-head-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.desk-notes-view {
  padding: 10px 12px;
  background: rgba(176,230,176,0.03);
  border-left: 2px solid var(--accent2);
  font-size: 0.88em;
  line-height: 1.5;
  white-space: pre-wrap;
  margin-bottom: 6px;
}

/* comms */
.desk-comm-list { list-style: none; padding: 0; margin: 0; }
.desk-comm-row {
  padding: 8px 10px;
  border: 1px solid rgba(176,230,176,0.08);
  border-radius: 2px;
  margin-bottom: 6px;
  background: rgba(0,0,0,0.1);
}
.desk-comm-out   { border-left: 3px solid var(--accent); }
.desk-comm-in    { border-left: 3px solid rgba(176,230,176,0.5); }
.desk-comm-draft { border-left: 3px solid #ffd070; }
.desk-comm-note  { border-left: 3px solid rgba(176,230,176,0.2); }
.desk-comm-head {
  font-size: 0.78em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.desk-comm-dir { color: var(--accent); }
.desk-comm-channel { color: var(--fg); }
.desk-comm-actions { margin-left: auto; }
.desk-comm-subject {
  margin-top: 4px;
  font-size: 0.95em;
  font-weight: bold;
  color: var(--fg);
}
.desk-comm-body {
  margin-top: 4px;
  font-size: 0.9em;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--fg);
}

/* ── people ── */
.desk-people-list { list-style: none; padding: 0; margin: 0; }
.desk-person-row {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(176,230,176,0.06);
  cursor: pointer;
  border-radius: 2px;
}
.desk-person-row:hover { background: rgba(176,230,176,0.05); }
.desk-person-main { display: block; }
.desk-person-name {
  font-size: 0.95em;
  color: var(--fg);
}
.desk-person-channel { font-size: 0.78em; }
.desk-person-meta {
  font-size: 0.78em;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.desk-person-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent2);
  gap: 10px;
  flex-wrap: wrap;
}
.desk-person-head-main { flex: 1; min-width: 200px; }
.desk-person-head-name { color: var(--accent); margin: 0 0 4px 0; font-size: 1.2em; }
.desk-person-head-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* templates + history */
.desk-template-list, .desk-history-list { list-style: none; padding: 0; margin: 0; }
.desk-template-row {
  padding: 8px 10px;
  border: 1px solid rgba(176,230,176,0.08);
  border-radius: 2px;
  margin-bottom: 6px;
  background: rgba(0,0,0,0.1);
}
.desk-template-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
}
.desk-template-label { color: var(--accent); font-weight: bold; flex: 1; }
.desk-template-actions { margin-left: auto; }
.desk-template-body {
  margin-top: 4px;
  font-size: 0.88em;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--fg);
}
.desk-history-row {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(176,230,176,0.08);
}
.desk-history-meta { font-size: 0.78em; }
.desk-history-body {
  margin-top: 3px;
  font-size: 0.86em;
  white-space: pre-wrap;
  color: var(--fg);
}

/* ── areas ── */
.desk-area-list { list-style: none; padding: 0; margin: 0; }
.desk-area-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(176,230,176,0.06);
}
.desk-area-row:hover { background: rgba(176,230,176,0.04); }
.desk-area-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.desk-area-icon { font-size: 1.2em; min-width: 1.5em; text-align: center; }
.desk-area-name { color: var(--fg); }
.desk-area-actions { display: flex; gap: 6px; }

/* ── sub-modal helpers (item/project/person/comm editor) ── */
.desk-item-edit-sub .ml-submodal-inner,
.desk-comm-edit-sub .ml-submodal-inner { max-width: 560px; }
.desk-notes-edit-sub .ml-submodal-inner { max-width: 680px; }

.desk-item-edit-sub .ml-submodal-body .field,
.desk-comm-edit-sub .ml-submodal-body .field,
.desk-notes-edit-sub .ml-submodal-body .field { margin-bottom: 10px; }

.desk-item-edit-sub .ml-submodal-body label,
.desk-comm-edit-sub .ml-submodal-body label,
.desk-notes-edit-sub .ml-submodal-body label {
  display: block;
  color: var(--dim);
  font-size: 0.82em;
  margin-bottom: 3px;
}
.desk-item-edit-sub .ml-submodal-body input[type="text"],
.desk-item-edit-sub .ml-submodal-body input[type="number"],
.desk-item-edit-sub .ml-submodal-body input[type="date"],
.desk-item-edit-sub .ml-submodal-body select,
.desk-item-edit-sub .ml-submodal-body textarea,
.desk-comm-edit-sub .ml-submodal-body input[type="text"],
.desk-comm-edit-sub .ml-submodal-body select,
.desk-comm-edit-sub .ml-submodal-body textarea,
.desk-notes-edit-sub .ml-submodal-body textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 6px 8px;
  font-family: var(--mono, monospace);
  font-size: 0.92em;
}
.desk-item-edit-sub .ml-submodal-body textarea,
.desk-comm-edit-sub .ml-submodal-body textarea,
.desk-notes-edit-sub .ml-submodal-body textarea { resize: vertical; line-height: 1.4; }
.desk-row-inputs { display: flex; gap: 10px; flex-wrap: wrap; }
.desk-row-inputs .field { flex: 1; min-width: 130px; }
.desk-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.desk-actions .btn,
.ml-submodal-body .btn {
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 6px 14px;
  font-family: var(--mono, monospace);
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 2px;
}
.desk-actions .btn:hover,
.ml-submodal-body .btn:hover {
  background: rgba(176,230,176,0.1);
  border-color: var(--accent);
}
.desk-actions .btn.primary,
.ml-submodal-body .btn.primary {
  color: var(--accent);
  border-color: var(--accent);
}
.desk-actions .btn.primary:hover,
.ml-submodal-body .btn.primary:hover { background: rgba(176,230,176,0.15); }

@media (max-width: 700px) {
  .desk-tabs { gap: 3px; padding: 6px 8px; }
  .desk-tab { padding: 4px 8px; font-size: 0.82em; }
  .desk-filters { gap: 4px; }
  .desk-filters select { font-size: 0.78em; }
  .desk-project-head, .desk-person-head { flex-direction: column; }
  .desk-row-inputs { flex-direction: column; }
}

/* ─── v10.26: desk v2 styles ────────────────────────────────────── */

/* expand chevron on parent items with subtasks */
.desk-item-expand {
  cursor: pointer;
  color: var(--dim);
  font-size: 0.85em;
  padding: 4px 6px;
  user-select: none;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.desk-item-expand:hover { color: var(--accent); }

/* subtask indent + visual distinction */
.desk-item-row.is-subtask {
  margin-left: 28px;
  padding-left: 6px;
  border-left: 1px dashed var(--accent2);
  background: rgba(176,230,176,0.015);
}
.desk-item-row.is-subtask .desk-item-title { font-size: 0.92em; }

/* snoozed item appearance */
.desk-item-row.is-snoozed {
  opacity: 0.55;
  background: rgba(150,150,200,0.04);
}
.desk-item-row.is-snoozed .desk-item-title { font-style: italic; }
.desk-due.snoozed {
  background: rgba(150,150,200,0.18);
  color: #b0b0e0;
}

/* recurrence chip */
.desk-chip-recur {
  background: rgba(255,208,112,0.10) !important;
  color: #ffd070 !important;
}

/* subtask count badge on parent rows */
.desk-chip-subs {
  display: inline-block;
  font-size: 0.74em;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(176,230,176,0.10);
  color: var(--dim);
  margin-left: 4px;
  vertical-align: middle;
}

/* filter bar: search + collapsible filters */
.desk-filter-top {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.desk-filter-top #desk-filter-text {
  flex: 1;
  min-width: 0;
}
#desk-filter-toggle {
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
}
.desk-filters.collapsed {
  display: none;
}
.desk-filter-snooze {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82em;
  color: var(--dim);
  cursor: pointer;
}
.desk-filter-snooze input { cursor: pointer; }

/* recurrence editor section */
.desk-recur-block {
  border: 1px dashed var(--accent2);
  border-radius: 2px;
  padding: 10px;
  margin-bottom: 10px;
}
.desk-rec-extras { margin-top: 8px; }
.desk-dow-row {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.desk-dow-cb {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  font-size: 0.78em;
}
.desk-dow-cb input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}
.desk-dow-cb span {
  margin-top: 2px;
  color: var(--dim);
  user-select: none;
}
.desk-dow-cb input[type="checkbox"]:checked + span {
  color: var(--accent);
  font-weight: bold;
}

/* template manager sub-modal */
.desk-templates-sub .ml-submodal-inner { max-width: 620px; }
.desk-template-edit-sub .ml-submodal-inner { max-width: 640px; }

.desk-tpl-seeds {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.desk-tpl-seed-row {
  display: grid;
  grid-template-columns: 1fr 80px 24px;
  gap: 6px;
  align-items: center;
}
.desk-tpl-seed-row input {
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 4px 8px;
  font-family: var(--mono, monospace);
  font-size: 0.85em;
  border-radius: 2px;
}
.desk-tpl-seed-row .seed-del {
  text-align: center;
  cursor: pointer;
  color: var(--dim);
  font-size: 1.1em;
}
.desk-tpl-seed-row .seed-del:hover { color: #e07a7a; }

/* ─── mobile view mode (v10.26) ─────────────────────────────────────
   Below 700px the desk panel goes full-bleed so there's no overlay
   padding eating space, tab bar shrinks, item rows densify.            */
@media (max-width: 700px) {
  /* Panel takes the whole screen — no centering, no margin. */
  .desk-panel { padding: 0; }
  .desk-panel .ml-panel-inner {
    max-width: none;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: none;
    border-radius: 0;
  }

  /* Tab bar: tighter, smaller font */
  .desk-tabs {
    gap: 2px;
    padding: 4px 6px;
  }
  .desk-tab {
    padding: 4px 8px;
    font-size: 0.8em;
  }

  /* Pane has less side padding to claw back width */
  .desk-pane { padding: 8px 10px; }

  /* Filter bar collapses by default. Toggle button shown next to search. */
  .desk-filter-top { gap: 4px; margin-bottom: 6px; }
  .desk-filters {
    flex-direction: column;
    gap: 4px;
  }
  .desk-filters select { width: 100%; box-sizing: border-box; font-size: 0.85em; padding: 6px; }

  /* Quick-add bar */
  .desk-quick-add { gap: 4px; }
  #desk-qa { font-size: 0.9em; padding: 6px 8px; }

  /* Item rows: tighter padding, smaller meta */
  .desk-item-row {
    padding: 6px 6px;
    gap: 6px;
  }
  .desk-item-title { font-size: 0.9em; }
  .desk-item-chips > span,
  .desk-chip-subs { font-size: 0.7em; padding: 1px 5px; }
  .desk-item-meta { font-size: 0.7em; }
  .desk-item-actions {
    flex-direction: column;
    gap: 2px;
  }
  .desk-item-act {
    padding: 2px 6px;
    font-size: 0.72em;
  }

  /* Subtasks indent less so they don't fall off the screen */
  .desk-item-row.is-subtask {
    margin-left: 16px;
    padding-left: 4px;
  }

  /* Section headers smaller */
  .desk-section-h { font-size: 0.78em; }
  .desk-section { margin-bottom: 12px; }

  /* Person + project detail heads stack vertically */
  .desk-project-head, .desk-person-head { flex-direction: column; }
  .desk-project-head-actions, .desk-person-head-actions { flex-wrap: wrap; }

  /* Template seed rows go single-column on tiny screens */
  .desk-tpl-seed-row {
    grid-template-columns: 1fr 60px 24px;
    gap: 4px;
  }

  /* Recurrence dow checkboxes wrap nicely */
  .desk-dow-row { flex-wrap: wrap; }
}

/* ─── extra-narrow phones (<400px) ─────────────────────────────────── */
@media (max-width: 400px) {
  .desk-tab { padding: 3px 6px; font-size: 0.76em; }
  .desk-pane { padding: 6px 8px; }
}

/* ─── v10.30: desk person profile pictures ───────────────────────── */

/* large photo in the person detail header */
.desk-person-photo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--accent2);
  background: rgba(176,230,176,0.05);
}
.desk-person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.desk-person-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4em;
  color: var(--dim);
  background: rgba(176,230,176,0.05);
}
.desk-person-photo-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: var(--accent);
  padding: 2px 5px;
  font-size: 0.75em;
  border-top-left-radius: 4px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.desk-person-photo-wrap:hover .desk-person-photo-overlay {
  opacity: 1;
}
.desk-person-photo-wrap:hover {
  border-color: var(--accent);
}

/* extend the person-head row to include the photo as first column */
.desk-person-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.desk-person-head-main {
  flex: 1;
  min-width: 0;
}

/* small photo in the person row (list item) */
.desk-person-row-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--accent2);
  background: rgba(176,230,176,0.05);
}
.desk-person-row-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: var(--dim);
}
.desk-person-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.desk-person-row .desk-person-main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 700px) {
  .desk-person-photo-wrap {
    width: 60px;
    height: 60px;
  }
  .desk-person-photo-placeholder { font-size: 1.8em; }
  .desk-person-row-photo { width: 30px; height: 30px; }
}
