/* shared by settings.html and tutor-settings.html */
.st-head { padding-top: 66px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.st-head h1 { font-size: clamp(34px, 3.3vw, 46px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; }
.st-head .sub { margin-top: 10px; font-size: 16px; }
.st-grid > * { min-width: 0; }
.st-grid { display: grid; grid-template-columns: 264px 1fr; gap: 24px; align-items: start; margin-top: 42px; padding-bottom: 120px; }
.st-nav { padding: 10px; border-radius: 16px; position: sticky; top: 100px; }
.st-nav a, .st-nav button { display: flex; align-items: center; gap: 14px; width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; white-space: nowrap; color: var(--ink); position: relative; transition: background-color .15s; }
.st-nav a:hover { background: var(--bg); }
.st-nav a.on { background: #e6f6ec; font-weight: 500; }
.st-nav a.on::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ink); }
.st-nav .i { width: 18px; height: 18px; stroke-width: 1.7; }
.st-nav hr { border: 0; height: 1px; background: var(--line); margin: 10px 4px; }
.st-nav .out { color: var(--red); }
.st-card { padding: 30px 28px 32px; border-radius: 20px; scroll-margin-top: 90px; }
.st-card + .st-card { margin-top: 24px; }
.st-card h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.st-card h2 small { font-size: 12px; color: var(--faint); font-weight: 400; letter-spacing: 0; }
.st-card .label { font-size: 14px; font-weight: 400; color: var(--ink); }
.st-card .input, .st-card .select, .st-card .input-group { border-color: var(--line); height: 44px; border-radius: 10px; }
.photo-row { display: flex; align-items: center; gap: 18px; margin: 22px 0 30px; }
.photo-row img, .photo-row .initials { width: 58px; height: 58px; }
.photo-row .btn { height: 32px; font-size: 13px; padding: 0 14px; }
.photo-row .rm { color: #2563eb; font-size: 13px; margin-left: 10px; }
.photo-row .hint { margin-top: 8px; }
.pref-l { font-size: 14px; margin: 24px 0 12px; }
.st-card .chip { height: 34px; font-size: 13px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border: 0; padding-bottom: 0; }
.toggle-row b { display: block; font-size: 14.5px; font-weight: 500; }
.toggle-row small { font-size: 12.5px; color: var(--muted); }
.toggle-row .select { width: 156px; flex-shrink: 0; }
.danger { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid #f3b4b4; border-radius: 10px; margin-top: 24px; background: #fff; font-size: 14.5px; }
.danger button { color: var(--red); font-size: 14.5px; }
.savebar { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 22px; background: #fff; border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.14); transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; visibility: hidden; font-size: 14.5px; white-space: nowrap; }
.savebar.show { transform: translate(-50%, 0); visibility: visible; }
.savebar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.savebar .btn { height: 38px; }
.mini-list { display: grid; gap: 12px; margin-top: 20px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.mini .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; }
.mini .ic .i { width: 18px; height: 18px; }
.mini b { display: block; font-size: 14.5px; font-weight: 500; }
.mini small { font-size: 12.5px; color: var(--muted); }
.mini > :last-child { margin-left: auto; }
@media (max-width: 900px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .st-nav a, .st-nav button { width: auto; flex: none; white-space: nowrap; }
  .st-nav a.on::before, .st-nav hr { display: none; }
}
@media (max-width: 640px) {
  .st-head { flex-direction: column; padding-top: 32px; }
  .st-card { padding: 22px 18px; }
  .toggle-row { flex-wrap: wrap; }
  .savebar { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; gap: 8px; padding-left: 16px; font-size: 13px; white-space: normal; }
  .savebar::before { display: none; }
  .savebar .btn { padding: 0 12px; height: 36px; font-size: 13px; }
  .savebar.show { transform: none; }
}
