.owner-profile-page { display: grid; gap: 22px; min-width: 0; }
.owner-profile-page .panel { min-width: 0; }
.owner-profile-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(120deg, #fff6df, #fffdf9); }
.owner-profile-intro h2 { margin: 6px 0 10px; font-size: clamp(24px, 3vw, 34px); overflow-wrap: anywhere; }
.owner-profile-intro p, .owner-profile-help, .owner-profile-avatar-card > p { color: var(--muted); line-height: 1.7; }
.owner-profile-language { font-size: 12px; padding: 9px 13px; border-radius: 999px; background: #f4e8cc; color: #7e5b21; }
.owner-profile-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 22px; align-items: start; }
.owner-profile-page h3 { margin: 0 0 20px; font-size: 21px; }
.owner-profile-avatar-card { text-align: center; }
.owner-profile-avatar { display: grid; place-items: center; width: 160px; height: 160px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; color: #936422; background: #f6ecd6; border: 4px solid #fff; box-shadow: 0 0 0 1px #eadbc0; font-size: 44px; font-weight: 800; }
.owner-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.owner-profile-avatar-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.owner-profile-page button { width: auto; min-height: 44px; justify-content: center; }
.owner-profile-page button:disabled { opacity: .6; cursor: wait; }
.owner-profile-help { font-size: 12px; }
.owner-profile-form { display: grid; gap: 20px; }
.owner-profile-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 650; min-width: 0; }
.owner-profile-form label small { color: var(--muted); font-weight: 400; line-height: 1.65; font-size: 12px; }
.owner-profile-form input, .owner-profile-form select { min-width: 0; width: 100%; font-weight: 400; }
.owner-profile-form > button { justify-self: start; }
.owner-profile-language-hint { border-radius: 14px; padding: 14px 16px; background: #f6f4ec; font-size: 13px; color: var(--muted); line-height: 1.7; }
.owner-profile-language-hint p { margin: 0; }
.owner-profile-language-hint button { margin-top: 12px; }
.owner-profile-extra > summary { cursor: pointer; font-size: 13px; color: #255fcf; padding: 8px 0; }
.owner-profile-extra label { margin-top: 12px; }
.owner-profile-error { color: #a02c3c; font-size: 13px; line-height: 1.7; margin: 0; }
.owner-profile-error:empty, .owner-profile-help:empty { display: none; }
.owner-profile-link { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin: 8px 0; background: rgba(255,255,255,.5); min-width: 0; }
.owner-profile-link > span:last-child { min-width: 0; }
.owner-profile-link strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-profile-link small { display: block; font-size: 11px; margin-top: 3px; color: var(--muted); }
.owner-profile-link-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: #f1e4c7; color: #7e5b21; font-size: 14px; font-weight: 750; }
.owner-profile-link-avatar img { width: 100%; height: 100%; object-fit: cover; }
.topbar .sw-owner-badge { display: inline-block; max-width: min(45vw, 340px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-goal-profile-link { display: inline-block; min-height: 44px; padding: 10px 0; color: #255fcf; text-decoration: underline; text-underline-offset: 4px; }
.owner-profile-page :is(input, select, button, summary):focus-visible, .owner-profile-link:focus-visible { outline: 3px solid #91b6f4; outline-offset: 4px; }
@media (max-width: 760px) { .owner-profile-layout { grid-template-columns: 1fr; gap: 16px; } .owner-profile-page { gap: 16px; } .owner-profile-avatar { width: 136px; height: 136px; } }
