/* App-level helpers layered on the Aurora theme (aurora.css owns the tokens). */

.motif-full { width: 100%; }

/* Content panel + title */
.motif-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin: 0 0 16px;
}
.motif-panel .motif-panel { box-shadow: none; background: var(--surface-2); }
.motif-panel-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Status bar */
.motif-statusbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  color: var(--muted);
}
.motif-statusbar .motif-status-on { color: var(--ok); }
.motif-statusbar .motif-status-off { color: var(--muted); }

/* Inline alert */
.motif-alert {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--info);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.motif-alert-danger { border-left-color: var(--err); }
.motif-alert-success { border-left-color: var(--ok); }
.motif-alert-icon { font-weight: 700; color: var(--err); }

.motif-code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Courier New", monospace;
  font-size: 12.5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 5px;
}

/* Responsive main menu */
.motif-menu-combo { width: 100%; }
@media (max-width: 768px) { .motif-hide-mobile { display: none !important; } }
@media (min-width: 769px) { .motif-show-mobile { display: none !important; } }

/* Card grid */
.motif-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.motif-cards > * { flex: 1 1 240px; max-width: 340px; }
