/* Настройки кабинета (макет «Кабинет - настройки») */
.st { padding-bottom: clamp(48px, 6vw, 80px); }
.st-head { padding: clamp(24px, 3.5vw, 40px) 0 22px; display: flex; flex-direction: column; gap: 10px; border-bottom: 4px solid var(--ink); }
.st-back { align-self: flex-start; font-size: 14px; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.st-h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.4vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.st-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 64px; padding-top: 28px; align-items: start; }
.st-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.st-tabs a { min-height: 48px; display: flex; align-items: center; padding-left: 14px; border-left: 3px solid transparent; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 600; }
.st-tabs a[aria-current="page"] { border-left-color: var(--signal); color: var(--signal); }
.st-main { min-width: 0; max-width: 680px; display: flex; flex-direction: column; }
.st-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.st-row--last { border-bottom-color: var(--ink); }
.st-label { font-size: 14px; font-weight: 600; }
.st-val { font-size: 16px; min-width: 0; }
.st-mail { overflow-wrap: anywhere; }
.st-dots { letter-spacing: .2em; }
.st-tier { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.st-act { justify-self: end; }
.st-ya { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-ya-i { width: 22px; height: 22px; font-size: 13px; }
.st-pw { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; padding: 18px; background: var(--tint); }
.st-btns { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.st-btns .c-btn { padding: 0 24px; }
.st-cancel { min-height: 44px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.st-cancel--ink { color: var(--ink); }
.st-danger { margin-top: 40px; border-top: 4px solid var(--signal); padding-top: 12px; display: flex; flex-direction: column; }
.st-danger h2 { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-dark); }
.st-drow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.st-dtext { display: flex; flex-direction: column; gap: 3px; }
.st-dtext span:first-child, .st-dtitle { font-size: 16px; font-weight: 600; }
.st-dtext span:last-child { font-size: 14px; color: var(--muted); }
.st-del-btn { background: var(--paper); color: var(--signal-dark) !important; border: 1px solid var(--signal); }
.st-del-btn:hover { background: var(--signal); color: var(--paper) !important; }
.st-del { flex: 1 1 100%; display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 2px solid var(--signal); }
.st-warn { margin: 0; display: flex; gap: 10px; font-size: 16px; font-weight: 600; color: var(--signal-dark); }
.st-warn::before { content: '!'; flex: none; width: 22px; height: 22px; background: var(--signal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.st-form { display: flex; flex-direction: column; gap: 18px; }
.st-save { align-self: flex-start; padding: 0 26px; margin-top: 4px; }
.st-notif { display: flex; flex-direction: column; }
.st-sw { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.st-sw-text { display: flex; flex-direction: column; gap: 4px; }
.st-sw-text span:first-child { font-size: 16px; font-weight: 600; }
.st-sw-text span:last-child { font-size: 14px; line-height: 1.45; color: var(--muted); }
.st-notif .st-save { margin-top: 22px; }
@media (max-width: 899px) {
  .st-body { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .st-tabs { flex-direction: row; gap: 24px; border-top: 0; border-bottom: 1px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
  .st-tabs a { flex: none; padding: 0; border-left: 0; border-bottom: 3px solid transparent; }
  .st-tabs a[aria-current="page"] { border-bottom-color: var(--signal); }
  .st-row { grid-template-columns: minmax(0, 1fr) auto; }
  .st-label { grid-column: 1 / -1; }
  .st-act { justify-self: start; }
  .st-form { padding-top: 22px; }
}
