.settings-auth { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.settings-auth > span { color: #71899a; font-size: 11px; }
.settings-panel { margin-top: 14px; padding: 20px; border: 1px solid #223643; border-radius: 14px; background: #0e1b25; }
.settings-panel h2 { margin: 0; font-size: 18px; }.settings-panel > p { color: #8197a8; margin: 6px 0 18px; font-size: 12px; }
.settings-panel .dependencies { margin: 0; }
.score-profile-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.score-profile-form label { display: grid; align-content: start; gap: 7px; min-width: 0; padding: 13px; border: 1px solid #203744; border-radius: 10px; background: #0a1720; }
.score-profile-form label > span { color: #b9c9d3; font-size: 12px; font-weight: 700; }
.score-profile-form label > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.score-profile-form input { width: 100%; min-width: 0; box-sizing: border-box; }
.score-profile-form label b { color: #7891a2; font-size: 11px; }
.score-profile-form label small { color: #688294; font-size: 10px; line-height: 1.5; }
.score-profile-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.score-profile-footer > span { color: #8097a8; font-size: 11px; }
.score-profile-footer > span.error { color: #ff9eac; }
.score-profile-footer > div { display: flex; gap: 8px; }
.score-profile-note { display: grid; gap: 5px; margin-top: 12px; padding: 12px 14px; border-left: 3px solid #31c9ae; color: #8da3b2; background: #0a1720; font-size: 11px; line-height: 1.65; }
.score-profile-note strong { color: #b9c9d3; font-size: 12px; }
.score-profile-note small { color: #688294; }
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.layout-card { padding: 13px; border: 1px solid #203744; border-radius: 10px; background: #0a1720; display: grid; gap: 8px; }
.layout-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.layout-card h3 { margin: 0; font-size: 15px; }.layout-card small { color: #688294; font-size: 9px; }
.layout-card select { width: 100%; }
.layout-footer { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.layout-footer > span { color: #8097a8; font-size: 11px; }.layout-footer > span.error { color: #ff9eac; }
.layout-footer > div { display: flex; gap: 8px; }
.danger-zone { border-color: #53303a; }
.environment-summary { margin: 6px 0 18px; padding-left: 20px; color: #9aafbd; font-size: 12px; line-height: 1.8; }
.reset-constraint { margin-bottom: 14px; padding: 15px 16px; border: 1px solid #70414d; border-radius: 10px; background: #24151b; }
.reset-constraint > strong { display: block; color: #ffb2bd; font-size: 13px; }
.reset-constraint p { margin: 9px 0; color: #d5c0c5; font-size: 12px; line-height: 1.65; }
.reset-constraint ul { margin: 9px 0; padding-left: 20px; color: #bea9ae; font-size: 12px; line-height: 1.75; }
.reset-constraint small { display: block; padding-top: 9px; border-top: 1px solid #53303a; color: #a9959a; font-size: 11px; line-height: 1.6; }
.recovery-guide { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #294252; border-radius: 10px; background: #0a1720; }
.recovery-guide strong { font-size: 13px; }
.recovery-guide ol { margin: 10px 0; padding-left: 20px; color: #9aafbd; font-size: 12px; line-height: 1.8; }
.recovery-guide a { display: inline-flex; min-height: 44px; align-items: center; color: #58dcbf; font-size: 12px; font-weight: 700; text-decoration: none; }
.environment-actions { display: flex; gap: 8px; }
@media (max-width: 1024px) {
  .layout-footer { position: sticky; z-index: 3; bottom: calc(8px + env(safe-area-inset-bottom)); padding: 12px; border: 1px solid #294252; border-radius: 12px; background: #0a1720f2; box-shadow: 0 12px 30px #0009; backdrop-filter: blur(10px); }
}
@media (max-width: 900px) { .layout-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .settings-auth { align-items: stretch; flex-direction: column; }
  .settings-auth > span { line-height: 1.6; }
  .layout-grid { grid-template-columns: 1fr; }
  .layout-card > div { align-items: flex-start; flex-direction: column; }
  .layout-footer { align-items: stretch; flex-direction: column; }
  .score-profile-form { grid-template-columns: 1fr; }
  .score-profile-footer { align-items: stretch; flex-direction: column; }
  .score-profile-footer > div, .layout-footer > div, .environment-actions { display: grid; grid-template-columns: 1fr; }
}
@media (min-width: 621px) and (max-width: 1024px) {
  .score-profile-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
