/* FitRoniX v3 — extended UI components */

.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: var(--text-tertiary); margin-bottom: 14px;
}
.breadcrumb button {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 12px; color: var(--text-secondary);
}
.breadcrumb button:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }

.coach-card {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 18px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(249,115,22,0.08), var(--bg));
  margin-bottom: 16px;
}
.coach-card .coach-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 18px;
}
.coach-card .coach-msg { font-size: 14px; line-height: 1.6; margin: 8px 0 12px; }
.coach-card .coach-meta { font-size: 11px; color: var(--text-tertiary); }

.diff-table td.removed { background: rgba(239,68,68,0.1); text-decoration: line-through; color: var(--danger); }
.diff-table td.added { background: rgba(34,197,94,0.1); color: var(--success); }
.diff-table td.changed { background: rgba(249,115,22,0.1); }

.video-box {
  aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg);
  display: grid; place-items: center; color: var(--text-tertiary); font-size: 13px;
  border: 1px solid var(--border); margin-bottom: 14px;
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-cell {
  aspect-ratio: 3/4; border-radius: var(--radius);
  background: var(--bg-hover); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 11px; color: var(--text-tertiary);
  cursor: pointer; transition: var(--transition);
}
.photo-cell:hover { border-color: var(--accent); }

.goal-card {
  padding: 14px; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px;
}

.sla-timer {
  font-size: 11px; padding: 4px 8px; border-radius: 4px;
  background: rgba(239,68,68,0.15); color: var(--danger); font-weight: 600;
}
.sla-timer.ok { background: rgba(34,197,94,0.15); color: var(--success); }

.role-switch {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px;
}
.role-switch button {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg); font-size: 11px; cursor: pointer; font-family: inherit;
  color: var(--text-secondary); transition: var(--transition);
}
.role-switch button.on { border-color: var(--accent); background: var(--accent-subtle); color: var(--accent); }

.flag-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.flag-row:last-child { border-bottom: none; }

.toggle {
  width: 40px; height: 22px; border-radius: 11px; background: var(--bg-hover);
  border: 1px solid var(--border); position: relative; cursor: pointer; transition: var(--transition);
}
.toggle.on { background: var(--accent); border-color: var(--accent); }
.toggle::after {
  content: ''; position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: var(--transition);
}
.toggle.on::after { right: auto; left: 2px; }

.empty-state {
  text-align: center; padding: 48px 24px; color: var(--text-tertiary);
}
.empty-state .empty-icon { font-size: 32px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h4 { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }

.skeleton {
  background: linear-gradient(90deg, var(--bg-hover) 25%, var(--border) 50%, var(--bg-hover) 75%);
  background-size: 200% 100%; animation: skeleton 1.2s ease infinite;
  border-radius: var(--radius); height: 14px; margin-bottom: 8px;
}
@keyframes skeleton { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.search-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.6);
  display: none; align-items: flex-start; justify-content: center; padding-top: 80px;
}
.search-modal.on { display: flex; }
.search-modal-box {
  width: min(560px, 92vw); background: var(--bg-elevated, var(--bg));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.search-modal-box input { width: 100%; padding: 12px; font-size: 15px; margin-bottom: 12px; }
.search-result { padding: 10px; border-radius: var(--radius); cursor: pointer; font-size: 13px; }
.search-result:hover { background: var(--bg-hover); }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 11px; }
.cal-cell {
  padding: 8px 4px; text-align: center; border: 1px solid var(--border);
  border-radius: 4px; min-height: 36px;
}
.cal-cell.busy { background: rgba(249,115,22,0.15); }
.cal-cell.block { background: rgba(239,68,68,0.1); opacity: 0.6; }

.cal-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
@media (max-width: 960px) { .cal-layout { grid-template-columns: 1fr; } }
.cal-side { display: flex; flex-direction: column; gap: 12px; }
.cal-week-scroll { overflow-x: auto; }
.cal-week-tbl { min-width: 720px; table-layout: fixed; }
.cal-week-tbl th, .cal-week-tbl td { font-size: 11px; vertical-align: top; padding: 6px 4px; }
.cal-week-tbl th:first-child, .cal-week-tbl td:first-child { width: 52px; color: var(--text-tertiary); }
.cal-week-tbl td.cal-off { background: var(--bg-hover); opacity: 0.55; text-align: center; color: var(--text-tertiary); }
.cal-week-tbl td.cal-cell-slot { cursor: pointer; min-height: 44px; transition: background 0.15s; }
.cal-week-tbl td.cal-cell-slot:hover { background: var(--bg-hover); }
.cal-week-tbl td.cal-cell-slot.on { outline: 2px solid var(--accent); outline-offset: -2px; }
.cal-slot-chip {
  display: block; padding: 3px 5px; margin: 2px 0; border-radius: 4px; font-size: 10px;
  line-height: 1.35; cursor: pointer; border: none; width: 100%; text-align: right;
  font-family: inherit; color: inherit;
}
.cal-slot-chip.confirmed { background: rgba(34,197,94,0.18); }
.cal-slot-chip.pending { background: rgba(249,115,22,0.18); }
.cal-slot-chip.free { background: rgba(234,179,8,0.12); color: var(--text-secondary); }
.cal-slot-chip.blackout { background: rgba(239,68,68,0.12); color: var(--danger); }
.cal-slot-chip.group { background: rgba(59,130,246,0.15); }
.cal-booking-panel {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.45);
  align-items: center; justify-content: center; padding: 20px;
}
.cal-booking-panel.on { display: flex; }
.cal-booking-panel .card { max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; }
.metric.sm .val { font-size: 18px; }
.metric.sm .lbl { font-size: 10px; }
.cal-toolbar { flex-wrap: wrap; gap: 10px; }
.cal-nav-actions { flex-wrap: wrap; }

.wizard-steps { display: flex; gap: 8px; margin-bottom: 20px; }
.wizard-step {
  flex: 1; text-align: center; padding: 10px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 12px;
}
.wizard-step.done { border-color: var(--success); color: var(--success); }
.wizard-step.active { border-color: var(--accent); background: var(--accent-subtle); }

.conflict-box {
  border: 1px solid var(--danger); border-radius: var(--radius);
  padding: 14px; background: rgba(239,68,68,0.08); margin-bottom: 12px;
}

.pin-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; font-size: 11px; }
.pin-bar.pin-bar-top {
  margin-bottom: 14px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.pin-bar.pin-bar-top .lbl { color: var(--text-tertiary); font-weight: 600; }
.pin-bar .pin-bar-hint {
  margin-right: auto;
  font-size: 10px;
  color: var(--text-tertiary);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px dashed var(--border);
  background: var(--bg);
}
.pin-bar label { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.pin-bar label.dash-pin-locked {
  opacity: 0.55;
  cursor: not-allowed;
}
.pin-bar label.dash-pin-locked input { cursor: not-allowed; }

/* ─── Sticky customize bar ─── */
.up-dash-customize summary,
.ap-dash-customize summary {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 12px;
  margin: 0 -4px 4px;
  border-radius: var(--radius-lg);
  background: var(--bg, var(--up-bg, #fff));
  border: 1px solid var(--border, var(--up-border));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.up-dash-customize[open] summary,
.ap-dash-customize[open] summary {
  margin-bottom: 8px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

/* ─── Dashboard grid layout & widget sizes ─── */
.up-dash[data-dash-sortable="user-main"],
.admin-dash[data-dash-sortable="admin-main"] {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.up-dash[data-dash-sortable="user-main"] > *,
.admin-dash[data-dash-sortable="admin-main"] > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  grid-column: 1 / -1;
}

.up-dash[data-dash-sortable="user-main"] > .dash-widget-size-full,
.admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-full {
  grid-column: 1 / -1;
}

.up-dash[data-dash-sortable="user-main"] > .dash-widget-size-two-thirds,
.admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-two-thirds {
  grid-column: span 8;
}

.up-dash[data-dash-sortable="user-main"] > .dash-widget-size-half,
.admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-half {
  grid-column: span 6;
}

.up-dash[data-dash-sortable="user-main"] > .dash-widget-size-third,
.admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-third {
  grid-column: span 4;
}

.up-dash[data-dash-sortable="user-main"] > .dash-widget-size-quarter,
.admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-quarter {
  grid-column: span 3;
}

@media (max-width: 1100px) {
  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-two-thirds,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-two-thirds {
    grid-column: 1 / -1;
  }

  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-third,
  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-quarter,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-third,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-quarter {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-two-thirds,
  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-half,
  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-third,
  .up-dash[data-dash-sortable="user-main"] > .dash-widget-size-quarter,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-two-thirds,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-half,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-third,
  .admin-dash[data-dash-sortable="admin-main"] > .dash-widget-size-quarter {
    grid-column: 1 / -1;
  }
}

/* ─── Per-widget hide / lock controls ─── */
.admin-dash[data-dash-sortable="admin-main"] .dash-widget-ctrl {
  opacity: 1;
}

.dash-widget-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-inline-start: auto;
  opacity: 0.45;
  transition: opacity 0.15s;
}

.dash-sort-block:hover .dash-widget-ctrl,
.dash-widget-locked .dash-widget-ctrl,
.dash-widget-ctrl:focus-within {
  opacity: 1;
}

.dash-widget-ctrl--float {
  position: absolute;
  top: 10px;
  inset-inline-end: 124px;
  z-index: 5;
  margin: 0;
  opacity: 0.55;
}

.has-dash-widget-ctrl.has-dash-drag .dash-drag-handle--float {
  inset-inline-end: 10px;
}

.has-dash-widget-ctrl.has-dash-drag {
  padding-inline-end: 52px;
}

.has-dash-widget-ctrl.has-dash-drag .up-dash-greet,
.has-dash-widget-ctrl.has-dash-drag .up-stat-board,
.has-dash-widget-ctrl.has-dash-drag .ap-dash-greet,
.has-dash-widget-ctrl.has-dash-drag .dash-priority,
.has-dash-widget-ctrl.has-dash-drag .dash-quick,
.has-dash-widget-ctrl.has-dash-drag .dash-feature-widgets {
  padding-inline-end: 124px;
}

.dash-widget-ctrl-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border, var(--up-border));
  border-radius: 7px;
  background: var(--bg-elevated, var(--up-surface-2));
  color: var(--text-tertiary, var(--up-muted));
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.dash-widget-ctrl-btn:hover:not(:disabled) {
  border-color: var(--accent, var(--up-accent));
  color: var(--accent, var(--up-accent));
  background: var(--accent-subtle, var(--up-accent-soft));
}

.dash-widget-ctrl-btn--hide:hover:not(:disabled) {
  border-color: var(--danger, #ef4444);
  color: var(--danger, #ef4444);
  background: rgba(239, 68, 68, 0.08);
}

.dash-widget-ctrl-btn--lock.is-locked {
  border-color: var(--accent, var(--up-accent));
  color: var(--accent, var(--up-accent));
  background: var(--accent-subtle, var(--up-accent-soft));
}

.dash-widget-ctrl-btn--size .dash-widget-size-ico {
  display: block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--dash-size-ico) center / contain no-repeat;
  mask: var(--dash-size-ico) center / contain no-repeat;
}

.dash-widget-size-ico--full { --dash-size-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3C/svg%3E"); }
.dash-widget-size-ico--two-thirds { --dash-size-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='12' height='14' rx='2'/%3E%3Crect x='17' y='5' width='4' height='14' rx='1' opacity='.35'/%3E%3C/svg%3E"); }
.dash-widget-size-ico--half { --dash-size-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='8' height='14' rx='2'/%3E%3Crect x='13' y='5' width='8' height='14' rx='2' opacity='.35'/%3E%3C/svg%3E"); }
.dash-widget-size-ico--third { --dash-size-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='5' height='14' rx='1.5'/%3E%3Crect x='10' y='5' width='5' height='14' rx='1.5' opacity='.35'/%3E%3Crect x='17' y='5' width='4' height='14' rx='1' opacity='.35'/%3E%3C/svg%3E"); }
.dash-widget-size-ico--quarter { --dash-size-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='4' height='14' rx='1'/%3E%3Crect x='9' y='5' width='4' height='14' rx='1' opacity='.35'/%3E%3Crect x='15' y='5' width='4' height='14' rx='1' opacity='.35'/%3E%3Crect x='21' y='5' width='0' height='14'/%3E%3C/svg%3E"); }

.dash-drag-grip,
.dash-drag-handle > span:not(.dash-drag-grip) {
  display: block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M9 5v14M15 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M9 5v14M15 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dash-drag-handle > span:not(.dash-drag-grip) { font-size: 0; }

.dash-ctrl-ico--lock {
  display: block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dash-ctrl-ico--lock.is-locked,
.dash-widget-ctrl-btn--lock.is-locked .dash-ctrl-ico--lock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 7.5-1.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 7.5-1.5'/%3E%3C/svg%3E");
}

.dash-ctrl-ico--hide {
  display: block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dash-widget-ctrl-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dash-widget-locked {
  outline: 1px solid var(--accent-subtle, rgba(249, 115, 22, 0.25));
  outline-offset: 2px;
}

.dash-drag-handle--disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.has-dash-widget-ctrl {
  position: relative;
}

/* ─── Floating customize button (when scrolled past pin-bar) ─── */
.dash-customize-fab {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--border, var(--up-border));
  border-radius: 999px;
  background: var(--bg-elevated, var(--up-surface));
  color: var(--text-secondary, var(--up-text));
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.dash-customize-fab:hover {
  transform: translateY(-2px);
  border-color: var(--accent, var(--up-accent));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.dash-customize-fab[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .dash-customize-fab-txt { display: none; }
  .dash-customize-fab { padding: 10px 12px; }
  .dash-widget-ctrl--float { inset-inline-end: 88px; }
}

.dash-zone-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dash-zone.dash-sort-dragging {
  opacity: 0.75;
}

.dash-drag-handle--inline {
  align-self: center;
  flex-shrink: 0;
  margin-inline-start: 8px;
  margin-inline-end: 0;
}

.dash-mgmt-head .dash-drag-handle--inline,
.dash-desk-panel-head .dash-drag-handle--inline,
.card-head .dash-drag-handle--inline,
.dash-fin-unified-head .dash-drag-handle--inline,
.dash-zone-head .dash-drag-handle--inline,
.admin-zones-wrap-head .dash-drag-handle--inline {
  flex-shrink: 0;
}

.dash-mgmt-head .dash-mgmt-head-main,
.dash-desk-panel-head .dash-mgmt-head-main,
.card-head .dash-mgmt-head-main,
.dash-fin-unified-head .dash-mgmt-head-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.dash-mgmt-head > .dash-widget-ctrl--inline:not(.dash-widget-ctrl--after-handle),
.dash-desk-panel-head > .dash-widget-ctrl--inline:not(.dash-widget-ctrl--after-handle),
.card-head > .dash-widget-ctrl--inline:not(.dash-widget-ctrl--after-handle),
.dash-fin-unified-head > .dash-widget-ctrl--inline:not(.dash-widget-ctrl--after-handle),
.dash-zone-head > .dash-widget-ctrl--inline:not(.dash-widget-ctrl--after-handle),
.admin-zones-wrap-head > .dash-widget-ctrl--inline:not(.dash-widget-ctrl--after-handle) {
  margin-inline-start: auto;
}

.dash-drag-handle--float {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 4;
}

.has-dash-drag {
  position: relative;
}

.a11y-skip { position: absolute; left: -9999px; }
.a11y-skip:focus { left: 8px; top: 8px; z-index: 999; padding: 8px 12px; background: var(--accent); color: #fff; }

@media (max-width: 768px) {
  .coach-card { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

.ver-pick {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; margin: 0; border: none; border-bottom: 1px solid var(--border);
  background: transparent; font: inherit; font-size: 13px; text-align: right; cursor: pointer;
  color: var(--text-secondary); transition: background 0.15s;
}
.ver-pick:last-child { border-bottom: none; }
.ver-pick:hover { background: var(--bg-hover); }
.ver-pick.on { background: var(--accent-subtle); }
.ver-pick .mod-name { flex: 1; color: var(--text); }
