/* Sub-view Navigation Bar */
.sub-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 18px;
}

.category-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-filter-btn {
  padding: 6px 14px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.category-filter-btn:hover {
  background: var(--glass-surface-hover);
  color: var(--text-primary);
}

.category-filter-btn.active {
  background: rgba(0, 108, 183, 0.2);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.search-input-group {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 220px;
}

.search-input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  background: rgba(11, 15, 23, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.85rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

/* Device & Scene Grid */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

/* Base Device Card */
.device-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.device-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.device-card.state-on::before,
.device-card.state-open::before,
.device-card.state-heat::before {
  background: linear-gradient(90deg, var(--brand-primary), #00a86b);
}

.device-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.device-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.device-card.state-on .device-icon-box,
.device-card.state-open .device-icon-box {
  background: rgba(0, 108, 183, 0.2);
  border-color: var(--brand-primary);
  color: #38bdf8;
  box-shadow: 0 0 15px var(--brand-primary-glow);
}

.device-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.device-domain-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.device-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.icon-btn.favorite-active {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Device Body & Controls */
.device-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

/* Dead / Offline Device Card Styling */
.device-card.device-dead {
  opacity: 0.45;
  filter: grayscale(35%);
  border-color: rgba(239, 68, 68, 0.25) !important;
  background: rgba(15, 23, 42, 0.45) !important;
  box-shadow: none !important;
  transition: opacity var(--transition-normal), filter var(--transition-normal), border-color var(--transition-normal);
}

.device-card.device-dead::before {
  background: transparent !important;
}

.device-card.device-dead .device-icon-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
}

.device-card.device-dead .device-card-header {
  opacity: 0.75;
}

.device-card.device-dead .device-card-body {
  min-height: 80px;
}

.device-card.device-dead .device-card-body > *:not(.device-offline-overlay) {
  opacity: 0.15;
  filter: blur(1px);
  pointer-events: none;
  user-select: none;
}

/* Offline Overlay with Sad Face Emoji */
.device-offline-overlay {
  position: absolute;
  inset: -6px -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(239, 68, 68, 0.4);
  z-index: 10;
  padding: 14px;
  text-align: center;
  pointer-events: auto;
  animation: fadeInOffline 0.3s ease-out;
}

.device-offline-emoji {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  animation: offlineEmojiFloat 3s infinite ease-in-out;
}

.device-offline-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f87171;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.device-status-badge {
  font-weight: 500;
}

.device-status-badge.status-offline {
  color: #f87171;
  font-weight: 600;
}

.device-status-badge.status-online {
  color: #34d399;
}

@keyframes fadeInOffline {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes offlineEmojiFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Toggle Switch (Apple-style) */
.switch-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.liquid-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.liquid-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--glass-border);
  transition: var(--transition-normal);
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: var(--transition-spring);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input:checked + .slider-round {
  background-color: var(--brand-primary);
  box-shadow: 0 0 12px var(--brand-primary-glow);
}

input:checked + .slider-round:before {
  transform: translateX(22px);
}

/* Liquid Range Slider (Brightness / Position) */
.slider-control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.liquid-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background var(--transition-fast);
}

.liquid-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.liquid-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Shutter Button Pad */
.shutter-pad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.shutter-btn {
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.shutter-btn:hover {
  background: var(--glass-surface-hover);
  border-color: var(--brand-primary);
}

/* Climate Thermostat Control */
.climate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
}

.temperature-display-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.target-temp-number {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
}

/* Thermostat Circular Slider & Climate Controls */
.thermostat-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 4px 0 8px 0;
}

.thermostat-dial-wrapper {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  user-select: none;
  touch-action: none;
}

.thermostat-dial-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.thermostat-track-bg {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
}

.thermostat-track-active {
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
  transition: stroke 0.3s ease;
}

.thermostat-dial-thumb {
  cursor: grab;
  fill: #ffffff;
  stroke: var(--glass-surface);
  stroke-width: 3;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.1s ease;
}

.thermostat-dial-thumb:active,
.thermostat-dial-wrapper.is-dragging .thermostat-dial-thumb {
  cursor: grabbing;
  transform: scale(1.15);
}

.thermostat-center-readout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  text-align: center;
}

.dial-temp-value {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
}

.dial-ambient-value {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

.dial-mode-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  font-weight: 600;
}

/* Stepper Controls */
.thermostat-stepper-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.dial-stepper-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.dial-stepper-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: scale(1.08);
}

.dial-stepper-btn:active {
  transform: scale(0.95);
}

/* HVAC Mode Pills */
.hvac-section-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.hvac-section-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hvac-mode-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.hvac-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hvac-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hvac-pill.mode-cool.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.hvac-pill.mode-heat.active {
  background: rgba(249, 115, 22, 0.2);
  border-color: #f97316;
  color: #fb923c;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.3);
}

.hvac-pill.mode-auto.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.hvac-pill.mode-fan_only.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.hvac-pill.mode-off.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #cbd5e1;
}

/* Fan Speed Pills */
.fan-speed-pills {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.fan-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fan-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.fan-pill.active {
  background: rgba(0, 108, 183, 0.25);
  border-color: #006CB7;
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(0, 108, 183, 0.3);
}

/* Thermostat Disabled & Faded States (Off and Fan Only modes) */
.thermostat-dial-wrapper.controls-disabled {
  opacity: 0.25;
  pointer-events: none;
  filter: grayscale(0.9);
  transition: all 0.3s ease;
}

.thermostat-dial-wrapper.temp-disabled {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(0.7);
  transition: all 0.3s ease;
}

.thermostat-stepper-row.controls-disabled,
.thermostat-stepper-row.temp-disabled {
  opacity: 0.2;
  pointer-events: none;
  transition: all 0.3s ease;
}

.fan-speed-group.controls-disabled {
  opacity: 0.2;
  pointer-events: none;
  filter: grayscale(0.9);
  transition: all 0.3s ease;
}

/* Sensor Telemetry Display */
.sensor-metric-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
}

.sensor-value-large {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.sensor-unit {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Scene Card */
.scene-card {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scene-run-btn {
  padding: 8px 18px;
  background: rgba(0, 108, 183, 0.15);
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius-full);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-normal);
}

.scene-run-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 0 15px var(--brand-primary-glow);
  transform: translateY(-1px);
}

.scene-run-btn:active {
  transform: scale(0.96);
}

/* ================= REORGANIZE & DRAG-AND-DROP (iOS Jiggle Mode) ================= */

@keyframes ios-jiggle-1 {
  0% { transform: rotate(-1.1deg) translateY(-2px); }
  50% { transform: rotate(1.2deg) translateY(1.5px); }
  100% { transform: rotate(-1.1deg) translateY(-2px); }
}

@keyframes ios-jiggle-2 {
  0% { transform: rotate(1.2deg) translateY(2px); }
  50% { transform: rotate(-1.1deg) translateY(-1.5px); }
  100% { transform: rotate(1.2deg) translateY(2px); }
}

@keyframes ios-jiggle-3 {
  0% { transform: rotate(-0.9deg) translateY(1.5px); }
  50% { transform: rotate(1.3deg) translateY(-2px); }
  100% { transform: rotate(-0.9deg) translateY(1.5px); }
}

/* Category Filter Reorganize Button Active State */
.category-filter-btn.reorganize-btn-active {
  background: rgba(0, 108, 183, 0.35) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  animation: pulse-border 2s infinite ease-in-out;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 10px rgba(56, 189, 248, 0.25); }
  50% { border-color: rgba(56, 189, 248, 1); box-shadow: 0 0 18px rgba(56, 189, 248, 0.5); }
}

/* Reorganize Grid Mode: Floating / Jiggling Cards */
.reorganize-active {
  position: relative;
}

.reorganize-active .device-card,
.reorganize-active .scene-card {
  cursor: grab !important;
  user-select: none !important;
  touch-action: none !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 14px rgba(56, 189, 248, 0.15) !important;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.18s ease, opacity 0.18s ease !important;
  will-change: transform;
}

.reorganize-active .device-card:nth-child(3n+1),
.reorganize-active .scene-card:nth-child(3n+1) {
  animation: ios-jiggle-1 0.32s infinite ease-in-out alternate;
}

.reorganize-active .device-card:nth-child(3n+2),
.reorganize-active .scene-card:nth-child(3n+2) {
  animation: ios-jiggle-2 0.36s infinite ease-in-out alternate -0.11s;
}

.reorganize-active .device-card:nth-child(3n),
.reorganize-active .scene-card:nth-child(3n) {
  animation: ios-jiggle-3 0.30s infinite ease-in-out alternate -0.21s;
}

/* Floating Reorganize Badge in Corner */
.reorganize-active .device-card::after,
.reorganize-active .scene-card::after {
  content: '⠿';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.1rem;
  color: #38bdf8;
  opacity: 0.75;
  pointer-events: none;
  z-index: 10;
}

/* Disable inner interactive elements during reorganize mode so the whole card is grabbable */
.reorganize-active .device-card button,
.reorganize-active .device-card input,
.reorganize-active .device-card select,
.reorganize-active .device-card .liquid-switch,
.reorganize-active .device-card .slider-round,
.reorganize-active .device-card .liquid-range-slider,
.reorganize-active .device-card .shutter-pad,
.reorganize-active .device-card .thermostat-dial-wrapper,
.reorganize-active .scene-card button {
  pointer-events: none !important;
}

/* Card Active Dragging State */
.device-card.is-dragged-origin,
.scene-card.is-dragged-origin {
  opacity: 0.35 !important;
  animation: none !important;
}

/* Floating clone during PointerEvents drag */
.reorganize-drag-clone {
  position: fixed !important;
  pointer-events: none !important;
  z-index: 99999 !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.45) !important;
  border-color: #38bdf8 !important;
  transform: scale(1.05) !important;
  opacity: 0.95 !important;
  animation: none !important;
  transition: transform 0.08s ease, box-shadow 0.08s ease !important;
  cursor: grabbing !important;
}

/* Reorganize Placeholder Drop Indicator */
.reorganize-placeholder {
  border: 2px dashed rgba(56, 189, 248, 0.6) !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border-radius: var(--radius-xl) !important;
  box-sizing: border-box !important;
  transition: min-height 0.15s ease, margin 0.15s ease !important;
  pointer-events: none !important;
  grid-column: span 1;
}

/* Old reorder handle backwards-compatibility */
.reorder-handle-group {
  display: none !important;
}

/* Multi-Channel Node Card */
.multi-channel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.channel-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 6px var(--brand-primary-glow);
}

.channel-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.channel-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-state-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Inline Sensor Pills on Node Cards */
.inline-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.metric-pill strong {
  color: #38bdf8;
  font-weight: 600;
}

/* Z-Wave Configuration Parameters */
.zwave-param-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.zwave-param-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.zwave-param-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zwave-param-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.zwave-param-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.zwave-param-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.zwave-param-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

