
#panelPrefs .prefs-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
}
#panelPrefs .prefs-section{
  border:1px solid rgba(98,119,255,.34);
  border-radius:18px;
  background:linear-gradient(160deg,rgba(23,24,112,.98),rgba(12,14,73,.98));
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.10);
}
#panelPrefs .prefs-section-header{
  display:flex;align-items:center;gap:12px;
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:linear-gradient(90deg,rgba(29,34,137,.62),rgba(21,24,102,.24));
}
#panelPrefs .prefs-section-header .prefs-icon{
  width:40px;height:40px;display:grid;place-items:center;
  border-radius:11px;background:rgba(215,255,24,.07);
  border:1px solid rgba(215,255,24,.18);color:var(--lime);
  flex:0 0 40px;
}
#panelPrefs .prefs-section-header .prefs-icon .fi{font-size:20px}
#panelPrefs .prefs-section-header h3{margin:0;font-size:18px;font-weight:900}
#panelPrefs .prefs-section-header p{margin:3px 0 0;color:var(--muted);font-size:12px}
#panelPrefs .prefs-section-body{padding:18px}
#panelPrefs .prefs-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;
}
#panelPrefs .prefs-field{min-width:0}
#panelPrefs .prefs-field label{
  display:block;margin-bottom:7px;
  color:#eef2ff;font-size:12px;font-weight:850
}
#panelPrefs .prefs-field .form-text{
  color:#96a5d7!important;font-size:10px;margin-top:6px
}
#panelPrefs .prefs-field .input-group-text{
  width:46px;justify-content:center;padding:0;
  background:#07194f!important;border-color:#28489f!important
}
#panelPrefs .prefs-field .input-group-text .fi{
  color:var(--lime);font-size:18px
}
#panelPrefs .prefs-field .form-control,
#panelPrefs .prefs-field .form-select{
  min-height:48px;background:#081b55!important;
  border-color:#28489f!important;color:#fff!important
}
#panelPrefs .prefs-field .form-control:focus,
#panelPrefs .prefs-field .form-select:focus{
  border-color:var(--lime)!important;
  box-shadow:0 0 0 .18rem rgba(215,255,24,.08)!important
}
#panelPrefs .signature-preview-v6{
  margin-top:16px;padding:14px 16px;border-radius:14px;
  background:rgba(5,11,55,.58);
  border:1px solid rgba(98,119,255,.34)
}
#panelPrefs .signature-preview-v6 .label{
  display:flex;align-items:center;gap:8px;
  color:#aeb8e1;font-size:11px;margin-bottom:7px
}
#panelPrefs .signature-preview-v6 .label .fi{color:var(--lime)}
#panelPrefs .signature-preview-v6 code{
  color:#fff;font-size:15px;letter-spacing:.01em
}
#panelPrefs .notify-list{display:grid}
#panelPrefs .notify-item{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.06)
}
#panelPrefs .notify-item:first-child{padding-top:0}
#panelPrefs .notify-item:last-child{border-bottom:0;padding-bottom:0}
#panelPrefs .notify-copy{display:flex;gap:12px;align-items:flex-start;min-width:0}
#panelPrefs .notify-copy .notify-icon{
  width:36px;height:36px;display:grid;place-items:center;
  border-radius:10px;background:rgba(215,255,24,.06);
  border:1px solid rgba(215,255,24,.14);color:var(--lime);flex:0 0 36px
}
#panelPrefs .notify-copy strong{display:block;font-size:13px;color:#fff}
#panelPrefs .notify-copy small{display:block;color:#9ba8d5;font-size:10px;margin-top:3px}
#panelPrefs .form-check-input{
  width:2.7em;height:1.45em;background-color:#142a68;border-color:#3755a9;cursor:pointer
}
#panelPrefs .form-check-input:checked{
  background-color:var(--lime);border-color:var(--lime)
}
#panelPrefs .form-check-input:focus{
  box-shadow:0 0 0 .18rem rgba(215,255,24,.10);border-color:var(--lime)
}
#panelPrefs .prefs-actions{
  display:flex;justify-content:flex-end;padding-top:16px
}
#panelPrefs .prefs-actions .btn{
  min-width:230px;min-height:48px;border-radius:12px;font-weight:900
}
@media(max-width:860px){
  #panelPrefs .prefs-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  #panelPrefs .prefs-section-body{padding:14px}
  #panelPrefs .prefs-section-header{padding:14px}
  #panelPrefs .prefs-actions .btn{width:100%;min-width:0}
  #panelPrefs .notify-item{align-items:flex-start}
}
