/* Authentication, profile and settings screens.
   Extends the tokens defined in site.css — no new colours are introduced. */

/* ---------------------------------------------------------------- shell */

.auth-body { min-height: 100vh; display: flex; flex-direction: column; }

.auth-shell {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100vh - 6px);
}

.auth-aside {
    position: relative;
    overflow: hidden;
    padding: 34px 44px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: linear-gradient(165deg, var(--panel-2), var(--ink) 78%);
    border-right: 1px solid var(--line);
}

.auth-aside > * { position: relative; z-index: 2; }

.auth-aside-art {
    position: absolute;
    inset: auto -12% -14% -12%;
    width: 124%;
    opacity: .16;
    filter: saturate(.75);
    z-index: 1;
    pointer-events: none;
}

.auth-aside-copy { margin-top: auto; }
.auth-aside-copy h2 {
    font: 700 clamp(30px, 3.4vw, 46px)/1.02 'Space Grotesk', sans-serif;
    letter-spacing: -.035em;
    margin: 8px 0 14px;
}
.auth-aside-copy p { color: var(--muted); max-width: 42ch; margin: 0; }

.auth-aside-stats { display: flex; gap: 34px; }
.auth-aside-stats strong {
    display: block;
    font: 700 24px 'Space Grotesk', sans-serif;
    color: var(--mint);
}
.auth-aside-stats span { font-size: 12px; color: var(--muted); }

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 44px 24px;
}

.auth-card { width: min(430px, 100%); }

.auth-card h1 {
    font: 700 clamp(30px, 3vw, 40px)/1.05 'Space Grotesk', sans-serif;
    margin: 6px 0 8px;
    letter-spacing: -.035em;
}

.auth-sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.auth-sub strong { color: var(--cream); }

.auth-alt { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-alt a, .auth-alt button { color: var(--mint-2); font-weight: 600; }

.auth-foot { font-size: 13px; }
.auth-foot a { color: var(--muted); }
.auth-foot a:hover { color: var(--mint-2); }

/* ---------------------------------------------------------------- forms */

.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-form.tight { margin-top: 10px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--cream); }
.field small { font-size: 12px; color: var(--muted); }

.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=url],
.field input[type=tel],
.field select,
.field textarea {
    width: 100%;
    box-sizing: border-box;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--cream);
    font: 400 14px 'DM Sans', sans-serif;
    transition: .18s border-color, .18s box-shadow;
}

.field textarea { min-height: 110px; resize: vertical; }

.field input::placeholder, .field textarea::placeholder { color: #5d757a; }

.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(101, 214, 194, .18);
}

.field.invalid input { border-color: var(--coral); }

.input-prefix { display: flex; align-items: center; background: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; }
.input-prefix:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(101, 214, 194, .18); }
.input-prefix b { padding: 0 4px 0 14px; color: var(--muted); font-weight: 600; }
.input-prefix input { border: 0 !important; box-shadow: none !important; padding-left: 2px !important; background: transparent !important; }

.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.checkbox { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); cursor: pointer; }
.checkbox a { color: var(--mint-2); }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox > span {
    flex: none;
    width: 17px; height: 17px;
    border: 1px solid #2f6b72;
    border-radius: 5px;
    background: var(--ink-2);
    display: grid; place-items: center;
    transition: .15s;
}
.checkbox input:checked + span { background: var(--mint); border-color: var(--mint); }
.checkbox input:checked + span::after {
    content: ''; width: 4px; height: 8px;
    border: solid #06202a; border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.checkbox input:focus-visible + span { box-shadow: 0 0 0 3px rgba(101, 214, 194, .25); }
.checkbox.terms { align-items: flex-start; line-height: 1.4; }
.checkbox.terms > span { margin-top: 2px; }

.btn.full { width: 100%; }
.btn.large.full { margin-top: 4px; }
.text-link.small { font-size: 13px; background: none; border: 0; cursor: pointer; padding: 0; }

.code-input { letter-spacing: .5em; font-size: 20px !important; text-align: center; font-weight: 700; }

/* ---------------------------------------------------------------- notices */

.form-notice {
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}
.form-notice ul { margin: 6px 0 0; padding-left: 18px; }
.form-notice.success { background: rgba(101, 214, 194, .12); border-color: #2d7776; color: var(--mint-2); }
.form-notice.error { background: rgba(238, 115, 88, .12); border-color: rgba(238, 115, 88, .5); color: #ffb9a5; }
.form-notice.info { background: rgba(245, 187, 84, .1); border-color: rgba(245, 187, 84, .45); color: var(--gold); }

.verify-hint {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 13px 15px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}
.verify-hint p { margin: 0; }
.verify-hint strong { color: var(--cream); }

/* ---------------------------------------------------------------- steps */

.step-track { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.step-track li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.step-track b {
    flex: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ink-2);
    border: 1px solid var(--line);
    font-size: 11px;
    transition: .2s;
}
.step-track li.active { color: var(--cream); }
.step-track li.active b { background: var(--mint); border-color: var(--mint); color: #06202a; }
.step-track li.done b { background: #2d7776; border-color: #2d7776; color: var(--cream); }

.step { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.step[hidden] { display: none; }
.step-buttons { display: flex; gap: 10px; }
.step-buttons .btn { flex: 1; }

.handle-preview { font-size: 13px; color: var(--muted); margin: -4px 0 0; }
.handle-preview strong { color: var(--mint-2); font-weight: 600; word-break: break-all; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { padding: 24px 24px 30px; gap: 18px; }
    .auth-aside-copy h2 { font-size: 30px; }
    .auth-aside-copy p, .auth-aside-stats { display: none; }
    .auth-main { padding: 32px 22px 48px; }
}

@media (max-width: 520px) {
    .step-track li span { display: none; }
    .step-track li { flex: none; }
}

/* ---------------------------------------------------------------- header account */

.verify-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    background: rgba(245, 187, 84, .14);
    border-bottom: 1px solid rgba(245, 187, 84, .4);
    color: var(--gold);
    font-size: 13px;
    padding: 9px 18px;
}
.verify-banner form { margin: 0; }
.verify-banner button {
    background: none;
    border: 0;
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

.account-menu { position: relative; }
.account-menu .avatar { cursor: pointer; overflow: hidden; padding: 0; }
.account-menu .avatar img { width: 100%; height: 100%; object-fit: cover; }

.account-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 250px;
    background: linear-gradient(180deg, #0d3b46, #082631);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
    padding: 8px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(14px);
}
.account-dropdown[hidden] { display: none; }
.account-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 14px;
    border-bottom: 1px solid rgba(23, 80, 90, 0.65);
    margin-bottom: 6px;
}
.account-head-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mint);
    color: #08212a;
    font: 700 13px/1 'Space Grotesk', sans-serif;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: none;
}
.account-head-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-head-info { min-width: 0; }
.account-head-info strong { display: block; font-size: 15px; font-weight: 700; color: var(--cream); font-family: 'Space Grotesk', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-head-info small { color: var(--mint-2); font-size: 13px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-dropdown a,
.account-dropdown button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: #e5f0ef;
    font: 500 14.5px/1.3 'DM Sans', sans-serif;
    padding: 9.5px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.account-dropdown a svg,
.account-dropdown button svg {
    width: 18px;
    height: 18px;
    flex: none;
    opacity: 0.78;
    stroke: currentColor;
    transition: opacity 0.16s ease, stroke 0.16s ease;
}
.account-dropdown a:hover,
.account-dropdown button:hover {
    background: rgba(101, 214, 194, 0.14);
    color: var(--mint-2);
    transform: translateX(3px);
}
.account-dropdown a:hover svg,
.account-dropdown button:hover svg {
    opacity: 1;
    stroke: var(--mint);
}
.account-dropdown form {
    margin: 6px 0 0;
    border-top: 1px solid rgba(23, 80, 90, 0.65);
    padding-top: 6px;
}
.account-dropdown form button {
    color: #ff9279;
}
.account-dropdown form button svg {
    stroke: #ff9279;
}
.account-dropdown form button:hover {
    background: rgba(238, 115, 88, 0.14);
    color: #ffb4a2;
}

/* ---------------------------------------------------------------- panels */

.panel {
    background: linear-gradient(180deg, #0d3b46, #092c36);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 18px;
}
.panel h2 { font: 700 19px 'Space Grotesk', sans-serif; margin: 0 0 4px; letter-spacing: -.02em; }
.panel h3 { font: 600 15px 'Space Grotesk', sans-serif; margin: 0 0 6px; }
.panel-sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.panel-sub strong { color: var(--mint-2); }
.panel .auth-form { margin-top: 14px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.form-actions.secondary { margin-top: 12px; }
.form-actions form { margin: 0; }
.btn.danger, .text-link.danger { color: var(--coral); }
.btn.ghost.danger { border-color: rgba(238, 115, 88, .5); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.field-group-title { margin: 8px 0 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.field span em { color: var(--muted); font-style: normal; font-weight: 400; }

.status-line { font-size: 14px; margin: 0 0 14px; }
.status-line.ok { color: var(--mint-2); }
.status-line.warn { color: var(--gold); }

.empty-panel {
    text-align: center;
    padding: 44px 28px;
    color: var(--muted);
    background: linear-gradient(155deg, rgba(13, 61, 70, 0.45), rgba(7, 31, 40, 0.72));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.empty-panel span:first-child,
.empty-panel-icon {
    font-size: 26px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(101, 214, 194, 0.12);
    border: 1px solid rgba(101, 214, 194, 0.32);
    color: var(--mint);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 0 24px rgba(101, 214, 194, 0.14);
}
.empty-panel-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
}
.empty-panel h3 {
    margin: 0 0 8px;
    color: var(--cream);
    font: 600 21px 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}
.empty-panel p {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--muted);
    max-width: 32ch;
    line-height: 1.45;
}
.empty-panel .btn {
    padding: 10px 22px;
    font-size: 13.5px;
}

/* ---------------------------------------------------------------- settings */

.settings-hero {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0 12px;
}
.settings-hero h1 {
    font: 700 clamp(32px, 3.8vw, 48px)/1.1 'Space Grotesk', sans-serif;
    margin: 6px 0 8px;
    letter-spacing: -.03em;
}
.settings-hero p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.settings-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 36px;
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 80px;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: max-content;
    position: sticky;
    top: 95px;
}
.settings-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #cfdcdb;
    background: transparent;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.settings-nav a svg {
    width: 20px;
    height: 20px;
    flex: none;
    stroke: currentColor;
    color: #7b999b;
    transition: color 0.16s ease, stroke 0.16s ease, transform 0.16s ease;
}
.settings-nav a span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.settings-nav a strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.01em;
}
.settings-nav a small {
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
}
.settings-nav a:hover {
    background: rgba(13, 61, 72, 0.45);
    color: #fff;
    transform: translateX(3px);
}
.settings-nav a:hover svg {
    color: var(--mint);
}
.settings-nav a:hover strong {
    color: #fff;
}
.settings-nav a.active {
    background: linear-gradient(135deg, #0e3d4a, #0a2d36);
    border-color: rgba(101, 214, 194, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.settings-nav a.active svg {
    color: var(--mint);
    stroke-width: 2.2;
}
.settings-nav a.active strong {
    color: var(--mint-2);
}
.settings-nav a.active small {
    color: #9cbabb;
}

.image-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.image-field {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    background: rgba(6, 26, 35, 0.55);
    border: 1px solid rgba(23, 80, 90, 0.6);
    border-radius: 12px;
    min-width: 0;
}
.image-field > div:last-child {
    flex: 1;
    min-width: 0;
}
.image-field .field,
.image-field input[type=file] {
    min-width: 0;
    max-width: 100%;
}
.image-field input[type=file] {
    width: 100%;
    box-sizing: border-box;
}
.image-preview {
    flex: none;
    background: var(--ink-2);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--mint);
    font-weight: 700;
}
.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-preview {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(101, 214, 194, 0.35);
}
.banner-preview {
    width: 120px;
    height: 68px;
    border-radius: 8px;
    border: 2px solid rgba(101, 214, 194, 0.25);
}

.toggle-list { list-style: none; margin: 0; padding: 0; }
.toggle-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(31, 94, 101, .5);
}
.toggle-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.toggle-list strong { display: block; font-size: 14px; }
.toggle-list small { color: var(--muted); font-size: 12px; }

.switch { flex: none; position: relative; width: 44px; height: 25px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch > span {
    position: absolute; inset: 0;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 25px;
    transition: .2s;
}
.switch > span::after {
    content: ""; position: absolute;
    width: 17px; height: 17px; border-radius: 50%;
    background: var(--muted);
    top: 3px; left: 3px;
    transition: .2s;
}
.switch input:checked + span { background: rgba(101, 214, 194, .25); border-color: var(--mint); }
.switch input:checked + span::after { background: var(--mint); transform: translateX(19px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(101, 214, 194, .25); }

.address-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(31, 94, 101, .5);
}
.address-row:last-of-type { border-bottom: 0; }
.address-row strong { display: block; font-size: 14px; margin-bottom: 3px; }
.address-row small { display: block; color: var(--muted); font-size: 12.5px; }
.address-label, .address-default {
    display: inline-block;
    font-style: normal; font-size: 10.5px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 20px; margin-left: 7px;
}
.address-label { background: var(--ink-2); color: var(--muted); border: 1px solid var(--line); }
.address-default { background: rgba(101, 214, 194, .18); color: var(--mint-2); }
.address-actions { display: flex; gap: 14px; flex: none; }
.address-actions form { margin: 0; }

.qr-block { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.qr-code { background: #fff; padding: 10px; border-radius: 10px; line-height: 0; }
.qr-code svg { display: block; width: 168px; height: 168px; }
.setup-key, .recovery-codes code {
    font-family: monospace; font-size: 13px;
    background: var(--ink-2); border: 1px solid var(--line);
    padding: 5px 9px; border-radius: 6px; display: inline-block;
    word-break: break-all;
}
.recovery-codes summary { cursor: pointer; color: var(--mint-2); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.recovery-codes ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------------------------------------------------------------- profile */

.profile-header {
    width: min(1380px, calc(100% - 48px));
    margin: auto;
    padding: 0;
}
.profile-banner {
    height: clamp(150px, 22vw, 260px);
    border-radius: 0 0 var(--radius) var(--radius);
    background: linear-gradient(120deg, var(--panel-2), #0a2f3a);
    border: 1px solid var(--line);
    border-top: 0;
    overflow: hidden;
}
.profile-banner img { width: 100%; height: 100%; object-fit: cover; }

.profile-identity { display: flex; align-items: flex-start; gap: 20px; padding: 0 12px 0 20px; flex-wrap: wrap; }
.profile-avatar {
    flex: none; width: 108px; height: 108px; border-radius: 50%;
    background: var(--panel); border: 4px solid var(--ink);
    display: grid; place-items: center; overflow: hidden;
    font: 700 30px 'Space Grotesk', sans-serif; color: var(--mint);
    margin-top: -46px;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-headline { flex: 1; min-width: 220px; padding-top: 14px; }
.profile-headline h1 { font: 700 clamp(26px, 3vw, 38px)/1.05 'Space Grotesk', sans-serif; margin: 0; letter-spacing: -.03em; }
.profile-handle { color: var(--mint-2); margin: 2px 0 8px; font-size: 14px; font-weight: 600; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.profile-meta .rating { color: var(--gold); font-weight: 600; }
.profile-actions { display: flex; gap: 9px; padding-top: 17px; }

.profile-body {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 32px;
    width: min(1380px, calc(100% - 48px));
    margin: 26px auto 0;
    padding: 0 0 70px;
}
.profile-side .panel:last-child { margin-bottom: 0; }
.bio { font-size: 14px; color: var(--cream); margin: 0; white-space: pre-line; }

.badge-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600;
    padding: 6px 11px; border-radius: 20px;
    border: 1px solid var(--line); background: var(--ink-2);
}
.badge b { font-size: 9px; }
.badge.tone-mint { color: var(--mint-2); border-color: #2d7776; }
.badge.tone-gold { color: var(--gold); border-color: rgba(245, 187, 84, .45); }
.badge.tone-coral { color: #ffb9a5; border-color: rgba(238, 115, 88, .45); }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.link-list a { color: var(--mint-2); font-size: 14px; font-weight: 600; }
.link-list b { font-size: 11px; }

.feedback-row { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid rgba(31, 94, 101, .5); }
.feedback-row:last-child { border-bottom: 0; }
.feedback-row strong { display: block; font-size: 14px; }
.feedback-row small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.feedback-row p { margin: 0; font-size: 13.5px; }

@media (max-width: 1000px) {
    .settings-layout, .profile-body { grid-template-columns: 1fr; }
    .settings-nav { position: static; flex-direction: row; overflow-x: auto; }
    .settings-nav a small { display: none; }
    .settings-nav a { white-space: nowrap; }
}

@media (max-width: 700px) {
    .field-grid, .field-grid.three, .image-fields, .recovery-codes ul { grid-template-columns: 1fr; }
    .address-row { flex-direction: column; gap: 10px; }
    .profile-avatar { margin-top: -34px; }
}
