/* ─── زر المخطط ─── */
.btn-planner {
  padding: 8px 16px;
  background: rgba(78, 205, 196, 0.12);
  color: var(--success);
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: var(--radius-sm);
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-planner:hover { background: rgba(78, 205, 196, 0.2); transform: translateY(-1px); }

/* ─── المخطط (Overlay + Modal) ─── */
.planner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.planner-overlay.active { opacity: 1; pointer-events: all; }

.planner-modal {
  background: var(--bg-mid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.planner-overlay.active .planner-modal { transform: translateY(0); }

.planner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.planner-header h2 { font-size: 1rem; font-weight: 700; margin: 0; }

.planner-close {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: none; border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.planner-close:hover { background: rgba(255, 107, 107, 0.2); color: var(--danger); }

.planner-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.planner-footer {
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.planner-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.ps-label { color: var(--text-secondary); font-weight: 600; }
.ps-value { color: var(--success); font-weight: 800; font-size: 1.05rem; }
.ps-detail { font-size: 0.75rem; color: var(--text-muted); margin-right: auto; }

/* تاغات الأنشطة في الصفحة الرئيسية */
.wt-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
}
.wt-act-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
}

/* إبراز الفترة */
.pl-period-highlight {
  animation: pl-flash 1.5s ease;
}

@keyframes pl-flash {
  0%, 100% { box-shadow: none; }
  30% { box-shadow: 0 0 20px rgba(78, 205, 196, 0.3), inset 0 0 10px rgba(78, 205, 196, 0.05); }
}

/* ─── فترة العمل ─── */
.pl-period {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(78, 205, 196, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pl-period-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(78, 205, 196, 0.05);
  border-bottom: 1px solid rgba(78, 205, 196, 0.06);
}

/* checkbox للفترة */
.pl-check-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.pl-check-label input { display: none; }
.pl-check-box {
  width: 20px; height: 20px;
  border: 2px solid rgba(78, 205, 196, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pl-check-label input:checked + .pl-check-box {
  background: var(--success);
  border-color: var(--success);
}
.pl-check-label input:checked + .pl-check-box::after {
  content: '\2713'; color: #fff; font-size: 0.7rem; font-weight: 800;
}

.pl-period-icon {
  font-size: 1rem;
  margin: 0 4px;
}

.pl-period-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  unicode-bidi: plaintext;
  direction: rtl;
  flex: 1;
}

.pl-period-dur {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* فترة معطلة */
.pl-period-disabled {
  opacity: 0.4;
}
.pl-period-disabled .pl-period-header {
  background: rgba(255, 255, 255, 0.02);
}

/* رأس فترة ما بعد العشاء */
.pl-header-bedtime {
  background: rgba(124, 106, 239, 0.08) !important;
  border-bottom-color: rgba(124, 106, 239, 0.1) !important;
}
.pl-header-bedtime .pl-period-time { color: var(--purple); }
.pl-header-bedtime .pl-check-box { border-color: rgba(124, 106, 239, 0.4); }
.pl-header-bedtime .pl-check-label input:checked + .pl-check-box { background: var(--purple); border-color: var(--purple); }

/* شريط ما بعد العشاء */
.pl-bar-bedtime { background: rgba(124, 106, 239, 0.08) !important; border-color: rgba(124, 106, 239, 0.12) !important; }
.pl-seg-bedtime { background: rgba(124, 106, 239, 0.1); color: var(--purple); cursor: pointer; }
.pl-seg-bedtime:hover { background: rgba(124, 106, 239, 0.2); }

/* ─── الشريط المرئي ─── */
.pl-bar-wrap {
  padding: 12px 14px 8px;
}

.pl-bar {
  display: flex;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.12);
}

.pl-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.pl-seg-work {
  background: rgba(78, 205, 196, 0.1);
  color: var(--success);
  cursor: pointer;
}
.pl-seg-work:hover { background: rgba(78, 205, 196, 0.2); }

.seg-dur {
  font-size: 0.65rem;
  font-weight: 600;
}

.seg-range {
  font-size: 0.55rem;
  opacity: 0.6;
  direction: ltr;
}

.pl-seg-activity {
  color: #fff;
  cursor: pointer;
  position: relative;
}
.pl-seg-activity:hover { opacity: 0.8; }

.pl-seg-delete {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
}
.pl-seg-activity:hover .pl-seg-delete { display: flex; }

/* ─── زر إضافة ─── */
.pl-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: none;
  border-top: 1px dashed rgba(78, 205, 196, 0.15);
  color: var(--text-muted);
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pl-add-btn:hover { color: var(--success); background: rgba(78, 205, 196, 0.04); }

.pl-full-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: rgba(124, 106, 239, 0.08);
  border: none;
  border-top: 1px solid rgba(124, 106, 239, 0.12);
  color: var(--purple);
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pl-full-btn:hover { background: rgba(124, 106, 239, 0.15); }

/* ─── شرائح الأنشطة ─── */
.pl-activities-list {
  padding: 6px 14px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pl-activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}
.pl-activity-chip:hover { opacity: 0.7; }
.chip-edit { font-size: 0.7rem; opacity: 0.7; margin-right: 2px; }

.pl-seg-edit {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
}
.pl-seg-activity:hover .pl-seg-edit { display: flex; }

.btn-delete {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: rgba(255, 107, 107, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: var(--radius-sm);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-delete:hover { background: rgba(255, 107, 107, 0.2); }

/* ─── نموذج النشاط ─── */
.activity-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}
.activity-form-overlay.active { opacity: 1; pointer-events: all; }

.activity-form-modal {
  background: var(--bg-mid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.af-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.af-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }

.af-body { padding: 16px 20px; }

.af-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.af-preset {
  padding: 7px 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.af-preset:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); }
.af-preset.af-preset-selected { border-color: var(--success); background: rgba(78, 205, 196, 0.1); color: var(--success); }

.af-preset-add {
  border-style: dashed !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-muted) !important;
}
.af-preset-add:hover { border-color: var(--success) !important; color: var(--success) !important; }

.af-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  margin-bottom: 12px;
  direction: ltr;
  text-align: center;
}
.af-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-glow); }

.af-note {
  direction: rtl;
  text-align: right;
  resize: vertical;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 500;
}

.chip-note {
  margin-right: 4px;
  font-size: 0.75rem;
  opacity: 0.85;
}

.af-times-row {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.af-field-half { flex: 1; }
.af-field-half .af-input { margin-bottom: 0; }

.af-input-with-arrows {
  display: flex;
  align-items: stretch;
}
.af-input-with-arrows .af-input {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.af-skip-btn {
  width: 30px;
  min-width: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted, #666);
  font-size: 0.55rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.af-skip-btn:active {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
}
.af-skip-icon {
  font-size: 0.5rem;
  line-height: 1;
}
/* ◄| button — first child in البدء row, renders on right in RTL */
.af-skip-btn--start {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: none;
  flex-direction: row;
  gap: 1px;
}
.af-skip-btn--start::before {
  content: '';
  width: 1.5px;
  height: 10px;
  background: currentColor;
  border-radius: 1px;
}
/* Input after --start button: round left side */
.af-skip-btn--start + .af-input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
/* |► button — last child in الانتهاء row, renders on left in RTL */
.af-skip-btn--end {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
  flex-direction: row;
  gap: 1px;
}
.af-skip-btn--end::after {
  content: '';
  width: 1.5px;
  height: 10px;
  background: currentColor;
  border-radius: 1px;
}
/* Input before --end button: round right side */
.af-input + .af-skip-btn--end {
  /* already handled by --end radius */
}
.af-input-with-arrows .af-input:first-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ─── Anchor diamonds on slider sides ─── */
.af-anchor-diamond {
  width: 16px;
  height: 16px;
  min-width: 16px;
  transform: rotate(45deg);
  border: 2px solid var(--tick-slider-color, var(--success, #4ecdc4));
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  background: transparent;
  z-index: 3;
}
.af-anchor-diamond.af-anchor-active {
  background: var(--tick-slider-color, var(--success, #4ecdc4));
  box-shadow: 0 0 8px color-mix(in srgb, var(--tick-slider-color, var(--success, #4ecdc4)) 40%, transparent);
}
/* Adjust ticks area to account for diamonds on both sides */
.af-field .tick-slider-ticks {
  margin-left: 80px;
  margin-right: 28px;
}

.af-now-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.btn-start-now, .btn-end-now {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-start-now {
  background: rgba(76, 205, 196, 0.12);
  color: #4ecdc4;
  border: 1px solid rgba(76, 205, 196, 0.3);
}
.btn-start-now:hover {
  background: rgba(76, 205, 196, 0.22);
  border-color: rgba(76, 205, 196, 0.5);
}
.btn-end-now {
  background: rgba(255, 107, 107, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}
.btn-end-now:hover {
  background: rgba(255, 107, 107, 0.22);
  border-color: rgba(255, 107, 107, 0.5);
}

/* ─── حوار تعديل النشاط المجاور ─── */
.adj-act-preview {
  margin: 10px 0 14px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  direction: rtl;
}
.adj-btns { flex-wrap: wrap; }
.adj-btn {
  background: rgba(76, 205, 196, 0.15) !important;
  color: #4ecdc4 !important;
  border-color: rgba(76, 205, 196, 0.3) !important;
}
.adj-btn:hover {
  background: rgba(76, 205, 196, 0.25) !important;
}
.adj-btn-extend {
  background: rgba(124, 106, 239, 0.15) !important;
  color: #7c6aef !important;
  border-color: rgba(124, 106, 239, 0.3) !important;
}
.adj-btn-extend:hover {
  background: rgba(124, 106, 239, 0.25) !important;
}

.af-field { margin-bottom: 14px; }
.af-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }

/* af-duration slider now uses TickSlider component (tick-slider.css) */

/* ─── إضافة نشاط مخصص ─── */
.custom-preset-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 450;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}
.custom-preset-overlay.active { opacity: 1; pointer-events: all; }

.custom-preset-modal {
  background: var(--bg-mid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  max-width: 360px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

.cp-icons, .cp-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cp-icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.cp-icon-btn:hover { border-color: rgba(255, 255, 255, 0.2); }
.cp-icon-btn.cp-selected { border-color: var(--success); background: rgba(78, 205, 196, 0.1); }

.cp-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
}
.cp-color-btn:hover { transform: scale(1.15); }
.cp-color-btn.cp-selected { border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* ─── تأكيد المسح ─── */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}
.confirm-overlay.active { opacity: 1; pointer-events: all; }

.confirm-modal {
  background: var(--bg-mid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  max-width: 320px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.25s;
}
.confirm-overlay.active .confirm-modal { transform: scale(1); }

.confirm-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.confirm-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.confirm-btns {
  display: flex;
  gap: 10px;
}

.confirm-yes {
  flex: 1;
  padding: 10px;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.confirm-yes:hover { background: rgba(255, 107, 107, 0.25); }

.confirm-no {
  flex: 1;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.confirm-no:hover { background: rgba(255, 255, 255, 0.08); }

/* ─── تجاوب ─── */
@media (max-width: 600px) {
  .planner-modal { max-height: 95vh; }
  .planner-body { padding: 12px; }
  .af-presets { grid-template-columns: repeat(3, 1fr); }
  .pl-bar { height: 50px; }
}

@media (min-width: 601px) {
  .planner-overlay { align-items: center; padding: 20px; }
  .planner-modal { border-radius: var(--radius); }
}

/* ─── فترة الصلاة في المخطط ─── */
.pl-prayer-group {
  margin-bottom: 10px;
  border: 1px solid rgba(124, 106, 239, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pl-prayer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.pl-prayer-header:hover {
  filter: brightness(1.3);
}

.pl-prayer-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.pl-prayer-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.pl-prayer-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  unicode-bidi: plaintext;
  direction: rtl;
}

.pl-prayer-dur {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 40px;
  text-align: center;
}

.pl-prayer-edit {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.pl-prayer-header:hover .pl-prayer-edit {
  opacity: 1;
}

/* ─── حوار تعديل مدة الصلاة ─── */
.pe-modal {
  max-width: 320px;
  text-align: right;
}

.pe-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  justify-content: center;
}

.pe-icon {
  font-size: 1.5rem;
}

.pe-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pe-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.pe-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pe-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pe-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}

.pe-adj {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.pe-adj:hover {
  background: rgba(78, 205, 196, 0.15);
  border-color: rgba(78, 205, 196, 0.3);
  color: var(--success);
}

.pe-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  min-width: 30px;
  text-align: center;
}

.pe-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pe-save-btn {
  background: rgba(78, 205, 196, 0.15) !important;
  color: var(--success) !important;
  border-color: rgba(78, 205, 196, 0.3) !important;
}
.pe-save-btn:hover {
  background: rgba(78, 205, 196, 0.25) !important;
}

