/* css/pages/index.css
   Migration de index.html hors de app.css.
   Mission ELIMINATE_INDEX_HTML_APP_CSS_DEPENDENCY_WITH_FIRST_VISUAL_BASELINE.

   Contenu : sections Dashboard reellement rendues par auth.js
   (renderDashboard() / buildReservationDetailPanelHTML()) - hero, KPI row,
   grille dashboard (grid-2/right-col/card/card-head), onglets et liste
   d'activite, barres d'occupation, taches, panneau de detail reservation,
   modale d'assignation de menage. Extrait verbatim depuis app.css, ordre
   relatif preserve pour les regles en conflit.

   EXCLU DELIBEREMENT : chip-btn, ui-button, ui-button--* - hostome-ui.css
   possede deja sa propre definition non-:where() de ces classes qui GAGNE
   la cascade aujourd'hui (hostome-ui.css charge apres app.css) ; copier la
   version app.css ici (charge apres hostome-ui.css) inverserait le gagnant
   et casserait visuellement ces boutons - confirme par lecture directe.

   Le bloc <style> inline de index.html (tokens/reset/shell dupliques,
   ~1700 lignes, y compris la grille .dash-grid legacy masquee par
   l'attribut HTML hidden) N'EST PAS touche par cette mission : il
   continue de fournir exactement ce qu'il fournissait avant, sans risque
   de regression. Ce fichier ajoute uniquement ce qui manquait reellement.
*/

.card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  overflow: hidden;
}

.card.allow-overflow {
  overflow: visible;
}

.card.allow-overflow .card-body {
  position: relative;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.reservation-focus-banner .ms-btn-ghost {
  flex: 0 0 auto;
  white-space: nowrap;
}

.reservation-detail-card .detail-section {
  margin-bottom: 0;
}

.reservation-detail-card .detail-section + .detail-section {
  margin-top: 18px;
}

.reservation-detail-card .detail-note {
  border-radius: 12px;
}

.btn {
  height: 36px;
  border: 0;
  border-radius: 4px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--t2);
}

.btn-secondary:hover {
  background: var(--surface-3);
}

.detail-section {
  margin-bottom: 22px;
}

.detail-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t4);
  margin-bottom: 10px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row span:first-child {
  color: var(--t3);
}

.detail-row span:last-child {
  color: var(--t1);
  font-weight: 600;
  text-align: right;
}

.detail-note {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--t2);
  line-height: 1.6;
  white-space: pre-wrap;
}

.ms-btn-ghost {
  align-items: center;
  border-radius: 980px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  padding: 9px 20px;
}

.ms-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--ms-border);
  color: var(--ms-text-2);
}

.ms-btn-ghost:hover {
  border-color: var(--ms-blue);
  color: var(--ms-blue);
}

.ms-btn-ghost.active {
  background: var(--ms-blue-bg);
  border-color: var(--ms-blue);
  color: var(--ms-blue);
}

.ms-btn-ghost--danger {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.35);
}

.ms-btn-ghost--danger:hover {
  background: rgba(220, 38, 38, 0.07);
  border-color: #dc2626;
  color: #dc2626;
}

[data-theme="dark"] .ms-btn-ghost--danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}

[data-theme="dark"] .ms-btn-ghost--danger:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: #f87171;
  color: #f87171;
}

.cleaning-report-actions .ms-btn-ghost {
  min-height: 38px;
}

@media (max-width: 640px) {
  .cleaning-report-actions .ms-btn-ghost {
    flex: 0 1 auto;
    justify-content: center;
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .filter-dropdown .btn {
    width: 100%;
  }

  .calendar-mode-actions .btn {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
}

.cleaning-bulk-bar .ms-btn-ghost {
  min-height: 36px;
  padding: 0 14px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--t3);
  font-weight: 500;
  margin-bottom: 6px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.hero-eyebrow-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--t4);
}

.hero-title {
  font-size: 32px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--t1);
}

.hero-title-soft {
  color: var(--t3);
  font-weight: 500;
}

.hero-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(12,12,16,0.015));
  pointer-events: none;
}

.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-label {
  font-size: 12.5px;
  color: var(--t3);
  font-weight: 500;
}

.kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}

.kpi-trend.is-down {
  background: var(--rose-soft);
  color: var(--rose);
}

.kpi-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: "tnum";
}

.kpi-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.kpi-sub {
  font-size: 11.5px;
  color: var(--t3);
  line-height: 1.4;
}

[data-theme="dark"] .kpi::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 60%);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 14px;
}

.right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 12px;
}

.card-head h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -0.01em;
}

.card-head p {
  font-size: 12px;
  color: var(--t3);
  margin-top: 2px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  padding: 4px 0;
  text-decoration: none;
}

.link-btn:hover {
  color: var(--t1);
}

.seg {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-3);
  border-radius: 9px;
  border: 1px solid var(--line);
}

.seg-btn {
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3);
  border-radius: 6px;
  transition: all 0.15s;
  cursor: pointer;
}

.seg-btn:hover {
  color: var(--t1);
}

.seg-btn.is-on {
  background: var(--surface);
  color: var(--t1);
  box-shadow: 0 1px 2px rgba(12,12,16,0.06), 0 0 0 0.5px rgba(12,12,16,0.05);
}

[data-theme="dark"] .seg-btn.is-on {
  box-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(255,255,255,0.06);
}

.act-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 3px;
}

.act-tab {
  height: 28px;
  padding: 0 11px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.act-tab:hover {
  color: var(--t1);
}

.act-tab.is-on {
  background: var(--surface);
  color: var(--t1);
  box-shadow: 0 1px 3px rgba(12,12,16,0.08);
}

[data-theme="dark"] .act-tab.is-on {
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.act-list {
  padding: 4px 6px 8px;
}

.act-row {
  display: grid;
  grid-template-columns: 28px minmax(0,1.4fr) minmax(0,1.6fr) 110px 70px 54px;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 11px;
  transition: background 0.15s;
}

.act-row + .act-row {
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.act-row:first-child {
  border-top: 0;
}

.act-row:hover {
  background: var(--surface-2);
}

.ota-badge {
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.1), 0 1px 1px rgba(12,12,16,0.06);
  font-family: 'Inter Tight', sans-serif;
}

.act-guest {
  min-width: 0;
}

.act-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-meta {
  font-size: 11.5px;
  color: var(--t3);
  margin-top: 2px;
}

.act-prop {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.prop-chip {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.2), 0 1px 1px rgba(12,12,16,0.06);
}

.act-prop-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-prop-city {
  font-size: 11.5px;
  color: var(--t3);
  margin-top: 1px;
}

.act-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.act-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-arrival {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-arrival .act-status-dot {
  background: var(--blue);
}

.status-departure {
  background: var(--accent-soft);
  color: var(--accent-2);
}

.status-departure .act-status-dot {
  background: var(--accent);
}

.status-stay {
  background: var(--green-soft);
  color: var(--green);
}

.status-stay .act-status-dot {
  background: var(--green);
}

.act-time {
  font-size: 12px;
  color: var(--t2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-feature-settings: "tnum";
}

.act-more {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
  align-self: center;
}

.act-icon-btn {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--t3);
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}

.act-row:hover .act-icon-btn {
  color: var(--t2);
}

.act-icon-btn:hover {
  background: var(--accent) !important;
  color: var(--ui-color-primary-contrast, #fff) !important;
}

.occ {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 4px 18px 18px;
  height: 132px;
}

.occ-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.occ-bar {
  width: 100%;
  min-height: 8px;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.occ-day {
  font-size: 10.5px;
  color: var(--t3);
  font-weight: 600;
  text-transform: uppercase;
}

.tasks {
  padding: 4px 8px 12px;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 10px;
}

.task-row + .task-row {
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.task-row:hover {
  background: var(--surface-2);
}

.task-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.task-main {
  flex: 1;
  min-width: 0;
}

.task-what {
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
}

.task-what span {
  color: var(--t3);
  font-weight: 500;
}

.task-who {
  font-size: 11.5px;
  color: var(--t3);
  margin-top: 2px;
}

.task-cta {
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--t1);
  cursor: pointer;
  font-family: inherit;
}

.task-cta:hover {
  background: var(--t1);
  color: #fff;
  border-color: var(--t1);
}

[data-theme="dark"] .task-cta:hover {
  background: var(--accent);
  color: var(--ui-color-primary-contrast, #fff);
  border-color: var(--accent);
}

.detail-full-link-wrap {
  padding: 14px 18px 18px;
}

.detail-full-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 4px;
}

.dashboard-detail-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.dashboard-detail-card-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 7px;
}

.dashboard-detail-card-body {
  padding: 18px;
  background: var(--surface-2);
}

.detail-panel-property-banner {
  margin-bottom: 12px;
}

.detail-row-source {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.detail-row-source .source-logo,
.detail-row-source .source-logo-fallback {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.assign-modal-prop {
  padding: 2px 20px 14px;
  font-size: 12px;
  color: var(--t3);
}

.assign-staff-list {
  padding: 8px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.assign-staff-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--t1);
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.assign-staff-opt:last-child {
  border-bottom: 0;
}

.assign-staff-opt input[type=radio] {
  appearance: none;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  flex-shrink: 0;
  height: 16px;
  margin: 0;
  position: relative;
  width: 16px;
}

.assign-staff-opt input[type=radio]:checked {
  border-color: var(--accent);
}

.assign-staff-opt input[type=radio]:checked::after {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
}

.cal-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t2);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  font-family: inherit;
}

.tool-btn:hover {
  background: var(--surface-2);
  color: var(--t1);
}

.cal-toolbar {
  position: relative;
}

@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .kpi-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

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

  .act-row {
    grid-template-columns: 28px 1fr 54px;
    gap: 8px;
  }

  .act-prop, .act-status, .act-time {
    display: none;
  }

  .act-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .cal-toolbar {
    flex-wrap: wrap;
    gap: 6px;
  }
}

[data-app-confirm] .cal-modal-actions .btn.btn-primary {
  background: var(--accent) !important;
  color: var(--ui-color-primary-contrast, #fff) !important;
  border: 0 !important;
}

[data-app-confirm] .cal-modal-actions .btn.btn-primary:hover {
  background: var(--accent-2) !important;
}

[data-app-confirm] .cal-modal-actions .btn.btn-secondary,
[data-app-confirm] .cal-modal-actions .btn-secondary {
  background: transparent !important;
  color: var(--t2) !important;
  border: 1px solid var(--line-strong) !important;
}

[data-app-confirm] .cal-modal-actions .btn.btn-secondary:hover,
[data-app-confirm] .cal-modal-actions .btn-secondary:hover {
  background: var(--surface-2) !important;
  color: var(--t1) !important;
}

.occ-col.is-today .occ-pct {
  color: var(--accent);
}

.tool-btn.active {
  background: var(--surface-3);
  color: var(--t1);
  border-color: var(--line-strong);
}

.dashboard-property-sort-menu .calendar-filter-panel-head strong {
  color: var(--t1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.dashboard-property-sort-menu .calendar-filter-panel-head span {
  color: var(--t3);
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 2px;
}

.dashboard-property-sort-menu .calendar-filter-check {
  background: transparent !important;
  border-color: transparent !important;
  border-radius: 8px;
  color: var(--t2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  min-height: 32px;
}

.dashboard-property-sort-menu .calendar-filter-check:hover,
.dashboard-property-sort-menu .calendar-filter-check:has(input:checked) {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--t1);
}

.dashboard-property-sort-menu .calendar-filter-check input[type="checkbox"] {
  --cb-accent: var(--accent);
}

.dashboard-property-sort-menu .calendar-filter-section + .calendar-filter-section {
  border-top-color: var(--line) !important;
}

.dashboard-property-sort-menu .calendar-filter-section-title {
  color: var(--t3);
}

.dashboard-property-sort-menu .calendar-filter-reset {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--t3);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  transition: background 0.12s, color 0.12s;
}

.dashboard-property-sort-menu .calendar-filter-reset:hover {
  background: var(--surface-2);
  color: var(--t1);
}

.reservations-mode .res-action-bar .ms-btn-ghost {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 18px;
}

.adm-planning-mode .cleaning-detail-card .cleaning-assign-action-bar .ms-btn-ghost {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 18px;
}

.tech-meta-save-row .btn {
  gap: 7px;
}

.cal-modal-dow-shortcuts .btn.is-on {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.cal-modal-footer .btn {
  gap: 6px;
}

.experience-editor-actions .ms-btn-ghost {
  flex-shrink: 0;
}

.exp2-link-actions .ms-btn-ghost {
  justify-content: center;
  min-width: 120px;
}

@media (max-width: 760px) {
  .exp2-editbar-actions .ms-btn-ghost {
    flex: 1;
    justify-content: center;
  }
}

.experience-inspector .ms-btn-ghost,
.experience-editor-actions .ms-btn-ghost {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--t2);
  font-size: 12.5px;
  font-weight: 600;
}

.experience-inspector .ms-btn-ghost:hover,
.experience-editor-actions .ms-btn-ghost:hover {
  background: var(--surface-2);
  color: var(--t1);
  border-color: var(--line-strong);
}

.experience-inspector .ms-btn-ghost.danger {
  color: #c14343;
  border-color: var(--line-strong);
}

.experience-inspector .ms-btn-ghost.danger:hover {
  background: #fdeaea;
  border-color: #f3c9c9;
  color: #c14343;
}

@media (max-width: 760px) {
  .experience-mobile-actions .ms-btn-ghost {
    justify-content: center;
    min-height: 42px;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
}

.tpl-action-bar .ms-btn-ghost {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 18px;
}

.res-edit-actions .btn,
.res-edit-actions .btn-secondary {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 18px;
}

.ms-btn-ghost,
.tool-btn {
  align-items: center;
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: var(--ui-font-md);
  font-weight: 750;
  gap: 8px;
  height: var(--ui-button-height);
  justify-content: center;
  line-height: 1;
  min-height: var(--ui-button-height);
  padding: 0 16px;
  text-decoration: none;
  transition: background var(--ui-transition), border-color var(--ui-transition), color var(--ui-transition), box-shadow var(--ui-transition), transform 0.1s ease;
  white-space: nowrap;
}

.ms-btn-ghost,
.tool-btn {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.ms-btn-ghost) {
  background: var(--ui-bg-control) !important;
  border: 1px solid var(--ui-border-strong) !important;
  box-shadow: none;
  color: var(--t2) !important;
}

.ms-btn-ghost):hover {
  background: var(--ui-bg-muted) !important;
  color: var(--ui-text) !important;
}

.tool-btn {
  background: var(--ui-bg-control) !important;
  border: 1px solid var(--ui-border) !important;
  box-shadow: var(--ui-shadow-sm);
  color: var(--t2) !important;
}

.tool-btn {
  background: var(--ui-bg-muted) !important;
  border-color: var(--ui-border-strong) !important;
  color: var(--ui-text) !important;
}

.dashboard-detail-card {
  background: var(--ui-bg-card);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-xl);
  box-shadow: var(--ui-shadow-sm);
}

.card-head {
  border-bottom: 1px solid var(--ui-border);
}

.dashboard-property-sort-menu) {
  background: var(--ui-bg-card) !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: var(--ui-radius-lg) !important;
  box-shadow: var(--ui-shadow-pop) !important;
}

.tool-btn small {
  color: var(--t3);
  font-weight: 500;
  font-size: 11.5px;
}

.tool-btn small:empty {
  display: none;
}
