/* The supplied settings reference applies only to this view. */
body[data-student-view="profile-settings"] { background: #faf7f0; }
body[data-student-view="profile-settings"] main { max-width: 760px; padding-top: 32px; }
body[data-student-view="profile-settings"] .student-header { border-bottom-color: #8c8c85; }
body[data-student-view="profile-settings"] .profile-screen { padding-bottom: 0; }
body[data-student-view="profile-settings"] .profile-subview-heading { gap: 18px; align-items: center; margin-bottom: 32px; }
body[data-student-view="profile-settings"] .profile-title { font: 700 2.75rem/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.035em; padding: 0; }
body[data-student-view="profile-settings"] .profile-subview-heading > button { padding: 6px; margin-left: -8px; }
body[data-student-view="profile-settings"] .profile-introduction-heading { margin-bottom: 14px; }
body[data-student-view="profile-settings"] .profile-introduction-heading h2,
body[data-student-view="profile-settings"] .profile-settings-backup > h2 { font: 700 1.875rem/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
body[data-student-view="profile-settings"] .profile-introduction-description { font-size: 1.0625rem; line-height: 1.6; color: #707c87; margin-bottom: 18px; }
body[data-student-view="profile-settings"] .profile-introduction-field { border: 1px solid #92989a; border-radius: 10px; background: #fdfbf7; }
body[data-student-view="profile-settings"] .profile-introduction-field:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
body[data-student-view="profile-settings"] .profile-introduction textarea { min-height: 126px; padding: 14px 16px 8px; border: 0; border-radius: 10px; background: transparent; font-size: 1.0625rem; line-height: 1.5; }
body[data-student-view="profile-settings"] .profile-introduction textarea:focus-visible { outline: none; }
body[data-student-view="profile-settings"] .profile-introduction textarea::placeholder { color: #707c87; opacity: 1; }
body[data-student-view="profile-settings"] .profile-introduction-count { display: block; padding: 0 14px 8px; text-align: right; font-size: .875rem; color: #707c87; pointer-events: none; font-variant-numeric: tabular-nums; }
body[data-student-view="profile-settings"] .profile-introduction-warning { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 20px; color: #707c87; font-size: .9375rem; line-height: 1.5; }
body[data-student-view="profile-settings"] .profile-introduction-warning .ui-icon { flex: none; color: var(--ink); margin-top: 2px; }
body[data-student-view="profile-settings"] .profile-introduction-consent { display: flex; align-items: center; gap: 16px; padding: 14px; margin: 0 0 16px; border-radius: 12px; background: #e9eee8; font-size: 1rem; line-height: 1.5; font-weight: 400; }
body[data-student-view="profile-settings"] .profile-introduction-consent input { appearance: none; flex: 0 0 26px; width: 26px; height: 26px; margin: 0; border: 2px solid var(--ink); border-radius: 4px; background: #fffefa; display: grid; place-content: center; cursor: pointer; }
body[data-student-view="profile-settings"] .profile-introduction-consent input:checked { background: #00433e; border-color: #00433e; }
body[data-student-view="profile-settings"] .profile-introduction-consent input:checked::after { content: ""; width: 12px; height: 7px; border-left: 2px solid white; border-bottom: 2px solid white; transform: translateY(-2px) rotate(-45deg); }
body[data-student-view="profile-settings"] .profile-introduction-consent strong { font-weight: 600; }
body[data-student-view="profile-settings"] .profile-introduction-save { width: 64%; min-height: 52px; border: 2px solid var(--ink); border-radius: 13px; box-shadow: 0 5px 0 var(--ink); background: #f17c50; font-size: 1.25rem; font-weight: 600; }
body[data-student-view="profile-settings"] .profile-introduction-save:hover { background: #f58a60; }
body[data-student-view="profile-settings"] .profile-introduction-save:disabled { background: #eee5da; box-shadow: none; }
body[data-student-view="profile-settings"] #daily-learning-status:empty { display: none; }
body[data-student-view="profile-settings"] .profile-settings-backup { margin-top: 30px; padding-top: 22px; border-top: 1px solid #deddd5; }
body[data-student-view="profile-settings"] .profile-settings-backup > h2 { margin-bottom: 18px; }
body[data-student-view="profile-settings"] .settings-backup-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
body[data-student-view="profile-settings"] .settings-backup-actions button { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 88px; margin: 0; padding: 16px; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 5px 0 var(--ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
body[data-student-view="profile-settings"] .settings-backup-actions button span { max-width: 125px; text-align: left; }
body[data-student-view="profile-settings"] #export { background: #b4cdce; }
body[data-student-view="profile-settings"] #restore { background: #e6d48a; }
body[data-student-view="profile-settings"] #export:hover { background: #c0d7d7; }
body[data-student-view="profile-settings"] #restore:hover { background: #eddda0; }
body[data-student-view="profile-settings"] .settings-backup-icon { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body[data-student-view="profile-settings"] .backup-hint { margin-top: 20px; font-size: .8125rem; color: #707c87; }
@media (max-width: 767px) {
  body[data-student-view="profile-settings"] .student-header { padding: 22px 0 16px; }
  body[data-student-view="profile-settings"] .brand { font-size: 1.75rem; }
  body[data-student-view="profile-settings"] #shell-profile-level { display: none; }
  body[data-student-view="profile-settings"] main { padding: 20px 24px calc(116px + env(safe-area-inset-bottom)); }
  body[data-student-view="profile-settings"] .profile-title { font-size: 2.5rem; }
  body[data-student-view="profile-settings"] .profile-introduction-heading h2,
  body[data-student-view="profile-settings"] .profile-settings-backup > h2 { font-size: 1.75rem; }
  body[data-student-view="profile-settings"] .profile-introduction-description,
  body[data-student-view="profile-settings"] .profile-introduction textarea { font-size: 1rem; }
  body[data-student-view="profile-settings"] .profile-introduction textarea { min-height: 148px; }
  body[data-student-view="profile-settings"] .profile-introduction-consent { padding: 12px; gap: 14px; font-size: .875rem; }
  body[data-student-view="profile-settings"] .profile-introduction-warning { font-size: .875rem; }
  body[data-student-view="profile-settings"] .settings-backup-actions { gap: 12px; }
  body[data-student-view="profile-settings"] .settings-backup-actions button { gap: 10px; padding: 14px 10px; min-height: 82px; font-size: .9375rem; }
  body[data-student-view="profile-settings"] .settings-backup-icon { width: 26px; height: 26px; }
}
