/* Pro Glass — نوافذ الإعدادات · مساحة العمل */
#modals .sheet.sheet-pro-glass {
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 6px 12px calc(12px + env(safe-area-inset-bottom));
  background:
    linear-gradient(165deg, rgba(10, 37, 64, 0.97) 0%, rgba(6, 24, 40, 0.98) 45%, rgba(2, 10, 18, 0.99) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.45);
}
.sheet-pro-head {
  position: relative;
  text-align: center;
  padding: 8px 8px 16px;
  margin-bottom: 4px;
}
.sheet-pro-head-glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 72px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
}
.sheet-pro-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: 16px;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15);
}
.sheet-pro-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--accent) 55%, var(--accent2, #fcd34d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sheet-pro-sub {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.sheet-pro-scroll {
  flex: 1;
  min-height: 0;
  max-height: min(56vh, 440px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 2px 6px;
  margin-bottom: 4px;
}
.sheet-pro-hero {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 4px 10px;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: start;
  background: linear-gradient(128deg, rgba(56, 189, 248, 0.14) 0%, rgba(252, 211, 77, 0.07) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.sheet-pro-hero-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--accent2, #fcd34d);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(252, 211, 77, 0.25);
}
.sheet-pro-hero-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sheet-pro-hero-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.sheet-pro-hero-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.sheet-pro-hero-hint {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  word-break: break-word;
}
.sheet-pro-empty {
  margin: 4px 8px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
#modals .sheet.sheet-pro-workspace {
  min-height: min(86vh, 680px);
  padding-top: 4px;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-head-compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: start;
  padding: 2px 4px 6px;
  margin-bottom: 0;
  flex: none;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-head-compact .sheet-pro-head-glow { display: none; }
#modals .sheet.sheet-pro-workspace .sheet-pro-head-compact .sheet-pro-icon-wrap {
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 9px;
  box-shadow: none;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-head-compact .sheet-pro-title {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-head-compact .sheet-pro-sub {
  font-size: 10px;
  line-height: 1.25;
  margin: 0;
  opacity: 0.85;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-head-compact .sheet-pro-titles {
  flex: 1;
  min-width: 0;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-hero-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 2px 6px;
  padding: 6px 10px;
  border-radius: 11px;
  box-shadow: none;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  flex: none;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-hero-compact .sheet-pro-hero-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--accent);
  background: rgba(0, 0, 0, 0.18);
}
#modals .sheet.sheet-pro-workspace .sheet-pro-hero-compact .sheet-pro-hero-body {
  flex: 1;
  min-width: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-hero-compact .sheet-pro-hero-kicker {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  letter-spacing: 0.04em;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-hero-compact .sheet-pro-hero-title {
  font-size: 13px;
  font-weight: 700;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-hero-compact .sheet-pro-hero-hint {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-scroll {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  margin-bottom: 0;
  padding-bottom: 8px;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-section {
  margin: 10px 4px 6px;
  font-size: 10px;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-row {
  min-height: 46px;
  padding: 8px 10px;
  margin-bottom: 5px;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-row-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
#modals .sheet.sheet-pro-workspace .sheet-pro-row-title { font-size: 14px; }
#modals .sheet.sheet-pro-workspace .sheet-pro-row-hint { font-size: 10px; }
#modals .sheet.sheet-pro-workspace .sheet-pro-foot {
  flex: none;
  margin-top: 0;
  padding-top: 8px;
}
.sheet-pro-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(139, 163, 184, 0.9);
}
.sheet-pro-section-ico { display: inline-flex; color: var(--accent); opacity: 0.85; }
.sheet-pro-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  margin-bottom: 6px;
  text-align: start;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
}
.sheet-pro-row:active { background: rgba(56, 189, 248, 0.1); transform: scale(0.99); }
.sheet-pro-row.active {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.1);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.15);
}
.sheet-pro-row.danger { border-color: rgba(255, 107, 107, 0.25); }
.sheet-pro-row.danger .sheet-pro-row-title { color: var(--danger); }
.sheet-pro-row-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
}
.sheet-pro-row.danger .sheet-pro-row-ico { color: var(--danger); background: rgba(255, 107, 107, 0.1); }
.sheet-pro-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sheet-pro-row-title { font-size: 15px; font-weight: 700; line-height: 1.25; }
.sheet-pro-row-hint { font-size: 11px; color: var(--muted); line-height: 1.4; }
.sheet-pro-badge {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--accent2, #fcd34d);
  background: rgba(252, 211, 77, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.35);
}
.sheet-pro-chev { flex: none; opacity: 0.45; color: var(--muted); transform: scaleX(-1); }
.sheet-pro-foot {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.sheet-pro-foot .ghost {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.sheet-pro-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
}
.sheet-pro-toggle-ico { flex: none; color: var(--accent); opacity: 0.9; display: inline-flex; }
.sheet-pro-toggle-label { flex: 1; font-size: 14px; font-weight: 600; text-align: start; }
.sheet-pro-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}
.sheet-pro-field-ico { flex: none; color: var(--accent); margin-top: 2px; display: inline-flex; }
.sheet-pro-field-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sheet-pro-field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.sheet-pro-select {
  width: 100%;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}
.sheet-pro-stepper { justify-content: flex-start; }
.sheet-pro-form-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 4px 8px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.sheet-pro-form-btns .primary {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--text);
}
.sheet-pro-form-btns .ghost {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
#modals .sheet.sheet-pro-glass .sheet-pro-pre {
  margin: 8px 4px 12px;
  padding: 10px 12px;
  max-height: 120px;
  overflow: auto;
  font-size: 11px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.15);
}
.billing-card-pro .billing-card-head { gap: 8px; }
.billing-card-ico { display: inline-flex; color: var(--accent2, #fcd34d); }
