.settings-restored { width:100%; max-width:1200px; margin-inline:auto; }
.settings-restored .settings-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:24px; align-items:start; }
.settings-restored .panel { padding:32px; border:1px solid #ffffff28; border-radius:22px; background:#0d1014; }
.settings-restored h2 { color:#fff; font-size:27px; font-weight:750; line-height:1.3; letter-spacing:-.5px; }
.settings-restored h3 { color:#f7f9fd; font-size:19px; font-weight:650; line-height:1.4; }
.settings-restored .settings-section-copy,.settings-restored .settings-description { color:#b9c7d8; font-size:16px; font-weight:500; line-height:1.65; }
.settings-restored .settings-section-copy { margin-top:12px; }
.settings-restored .settings-description { margin-top:6px; }
.settings-restored .settings-identity { display:flex; align-items:center; gap:19px; padding:31px 0; }
.settings-restored .settings-identity>div { min-width:0; }
.settings-restored .settings-avatar { display:grid; place-items:center; flex:0 0 62px; width:62px; height:62px; border:1px solid #ffffff30; border-radius:20px; color:#eff4fc; background:#ffffff07; font-size:28px; font-weight:700; }
.settings-restored .settings-field-caption { color:#b2c0d2; font-size:15px; font-weight:550; line-height:1.4; }
.settings-restored .settings-nickname { margin-bottom:12px; color:#fff; font-size:23px; font-weight:650; line-height:1.4; overflow-wrap:anywhere; }
.settings-restored .settings-email { margin-top:5px; color:#fff; font-size:23px; font-weight:650; line-height:1.4; letter-spacing:-.35px; overflow-wrap:anywhere; }
.settings-restored .settings-identity .settings-description { margin-top:7px; }
.settings-restored .settings-method { padding-top:27px; border-top:1px solid #ffffff23; }
.settings-restored .settings-password-method,.settings-restored .settings-backup-method { padding-bottom:28px; }
.settings-restored .settings-method-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.settings-restored .button { min-height:50px; padding:13px 20px; font-size:16px; font-weight:650; line-height:1.35; border-radius:12px; }
.settings-restored .settings-action { flex-shrink:0; }
.settings-restored .settings-method-title { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; }
.settings-restored .settings-connection-status { color:#b6c4d7; font-size:15px; font-weight:550; line-height:1.4; }
.settings-restored .settings-telegram-method .settings-description { max-width:38ch; margin-top:9px; }
.settings-restored .settings-password-panel { margin-top:27px; padding:25px; border:1px solid #ffffff2b; border-radius:16px; background:#07090c; }
.settings-restored .settings-password-form { display:grid; gap:22px; }
.settings-restored .settings-field { display:grid; gap:10px; min-width:0; }
.settings-restored .settings-field>label { color:#eef3fb; font-size:16px; font-weight:650; line-height:1.45; }
.settings-restored .settings-password-input { display:flex; align-items:stretch; min-height:54px; border:1px solid #ffffff42; border-radius:11px; background:#0e1117; }
.settings-restored .settings-password-input:focus-within { outline:2px solid #fff; outline-offset:3px; }
.settings-restored .settings-password-input input { flex:1; width:100%; min-width:0; min-height:52px; padding:13px 15px; border:0; outline:0; color:#fff; background:transparent; font-size:17px; line-height:1.4; }
.settings-restored .settings-password-input input:focus-visible { outline:none; }
.settings-restored .settings-password-input>button { flex-shrink:0; padding:12px 13px; border:0; border-radius:0 10px 10px 0; color:#d6e0ed; background:transparent; font:inherit; font-size:14px; font-weight:650; cursor:pointer; }
.settings-restored .settings-password-input>button:hover { color:#fff; background:#ffffff06; }
.settings-restored .settings-field-hint { color:#aebed2; font-size:14px; line-height:1.5; }
.settings-restored .settings-form-actions { display:flex; flex-wrap:wrap; align-items:center; gap:13px; }
.settings-restored .settings-feedback,.settings-restored .settings-feedback-area { margin-top:18px; font-size:16px; line-height:1.65; overflow-wrap:anywhere; }
.settings-restored .settings-feedback-area:empty { display:none; }
.settings-restored .settings-notification-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:28px; cursor:pointer; }
.settings-restored .settings-notification-row+.settings-notification-row { border-top:1px solid #ffffff23; }
.settings-restored .settings-notification-copy { display:grid; gap:7px; min-width:0; }
.settings-restored .settings-notification-copy>strong { color:#f4f7fd; font-size:18px; font-weight:650; line-height:1.4; }
.settings-restored .settings-notification-copy>span { max-width:34ch; color:#b9c7d8; font-size:16px; font-weight:500; line-height:1.65; }
.settings-restored .settings-switch { appearance:none; position:relative; flex:0 0 50px; width:50px; height:30px; margin:0; border:1px solid #ffffff45; border-radius:16px; background:#303741; cursor:pointer; transition:background .18s,border-color .18s; }
.settings-restored .settings-switch::before { position:absolute; top:4px; left:4px; width:20px; height:20px; border-radius:50%; background:#e8eef7; transition:transform .18s; content:''; }
.settings-restored .settings-switch:checked { border-color:#ffd43b; background:#ffd43b; }
.settings-restored .settings-switch:checked::before { background:#15190f; transform:translateX(20px); }
.settings-restored .settings-switch:disabled { opacity:.45; cursor:default; }
.settings-restored .settings-notification-actions { gap:16px; margin-top:4px; padding-top:26px; border-top:1px solid #ffffff23; }
.settings-restored .settings-text-button { min-height:48px; padding:8px 0; border:0; border-radius:5px; color:#d6dfec; background:transparent; font:inherit; font-size:15px; font-weight:650; line-height:1.4; cursor:pointer; }
.settings-restored .settings-text-button:disabled { opacity:.45; cursor:default; }
.settings-restored .settings-exit { display:flex; align-items:center; justify-content:space-between; gap:32px; margin-top:24px; padding-block:27px; }
.settings-restored .settings-exit h2 { font-size:23px; }
.settings-restored .settings-exit .settings-section-copy { margin-top:8px; }
.settings-restored .settings-logout-button { flex-shrink:0; gap:17px; }
@media(max-width:1180px) { .settings-restored .settings-grid { grid-template-columns:minmax(0,1fr); } .settings-restored .settings-notification-copy>span { max-width:none; } }
@media(max-width:760px) {
  .settings-restored .panel { padding:25px 24px; border-radius:20px; }
  .settings-restored h2 { font-size:26px; }
  .settings-restored .settings-identity { gap:16px; padding-block:27px; }
  .settings-restored .settings-avatar { flex-basis:50px; width:50px; height:54px; border-radius:16px; font-size:24px; }
  .settings-restored .settings-email { font-size:20px; }
  .settings-restored .settings-password-panel { margin-top:24px; padding:21px 17px; }
  .settings-restored .settings-notification-row { gap:18px; padding-block:26px; }
  .settings-restored .settings-notification-actions { align-items:stretch; flex-direction:column; gap:9px; }
  .settings-restored .settings-exit { display:grid; gap:23px; }
  .settings-restored .settings-logout-button { justify-self:start; white-space:normal; }
}
@media(max-width:420px) { .settings-restored .settings-method-row { flex-direction:column; align-items:flex-start; gap:16px; } .settings-restored .settings-identity { align-items:flex-start; } .settings-restored .settings-email { font-size:19px; } .settings-restored .settings-password-panel { padding-inline:14px; } }
@media(prefers-reduced-motion:reduce) { .settings-restored .settings-switch,.settings-restored .settings-switch::before { transition:none; } }
