.profile-page { color: #17392e; background: radial-gradient(ellipse at 15% 0, #dff5ec 0, transparent 50%), #f5f8f7; }
.profile-page header { border-bottom-color: #e2ebe7; }
.profile-page > main { padding-left: 0; }
.profile-page > header { left: 0; }
@media (min-width: 1280px) {
  .profile-page > header { left: 64px; }
  :root:has(.desktop-sidebar-rail[data-pinned='true']) .profile-page > header { left: 272px; }
}
.profile-content { width: 100%; max-width: 720px; margin: 0 auto; padding: 28px 24px 48px; display: grid; gap: 20px; }
.profile-intro h2 { margin: 0; color: var(--slate-ink, #17392e); font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.profile-intro p { margin: 6px 0 0; color: var(--slate-muted, #667b73); font-size: 14px; line-height: 1.6; }
.profile-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 6px; border: 1px solid var(--slate-edge, #dce8e2); border-radius: 18px; background: var(--slate-field, #eaf1ed); }
.profile-tabs [role=tab] { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 52px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; color: var(--slate-muted, #526b60); font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .15s, color .15s, box-shadow .15s; }
.profile-tabs [role=tab] svg { flex-shrink: 0; }
.profile-tabs [role=tab]:hover { color: var(--slate-ink, #17392e); background: var(--crm-glass-hover, #f5faf7); }
.profile-tabs [role=tab][aria-selected=true] { color: var(--slate-ink, #076b4e); background: var(--slate-card-solid, #fff); border-color: var(--slate-edge, #dce8e2); box-shadow: 0 2px 6px #102c2110; }
.profile-tabs [role=tab][aria-selected=true] svg { color: var(--crm-accent, #059669); }
.profile-tabs [role=tab]:focus-visible, .profile-panel:focus-visible { outline: 3px solid #34d399; outline-offset: 3px; }
.profile-panel { display: grid; min-width: 0; gap: 20px; }
.profile-panel[hidden] { display: none; }
.profile-company-notice { display: grid; gap: 12px; }
.profile-company-notice h2 { font-size: 18px; font-weight: 600; }
.profile-company-notice p { color: var(--slate-muted, #667b73); font-size: 14px; line-height: 1.6; }
html.dark:not(.crm-glass) .profile-intro h2 { color: #f1f5f9; }
html.dark:not(.crm-glass) .profile-intro p { color: #94a3b8; }
html.dark:not(.crm-glass) .profile-tabs { background: #111827; border-color: #374151; }
html.dark:not(.crm-glass) .profile-tabs [role=tab] { color: #9ca3af; }
html.dark:not(.crm-glass) .profile-tabs [role=tab]:hover { background: #1f2937; color: #f3f4f6; }
html.dark:not(.crm-glass) .profile-tabs [role=tab][aria-selected=true] { background: #263448; border-color: #475569; color: #f3f4f6; }
.profile-card { min-width: 0; padding: 32px; border: 1px solid #e2ebe7; border-radius: 24px; background: white; box-shadow: 0 16px 60px -28px #143e3826; }
.profile-identity { display: flex; gap: 16px; align-items: center; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid #edf1ef; }
.profile-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px; background: #087f5b; color: white; font-size: 24px; font-weight: 600; }
.profile-email { margin-top: 5px; color: #667b73; font-size: 14px; overflow-wrap: anywhere; }
.profile-card h2, .profile-card h3 { color: #17392e; }
.profile-card label { color: #344c43; margin-bottom: 8px; font-weight: 600; }
.profile-card input:not([type=checkbox]) { min-width: 0; height: 52px; border: 1px solid #d6e1db; border-radius: 12px; padding-left: 15px; font-size: 16px; line-height: 24px; color: #172d27; background: #fcfdfc; transition: border-color .15s, box-shadow .15s; }
.profile-card input:not([type=checkbox]):focus { border-color: #07845e; box-shadow: 0 0 0 3px #10b9811a; outline: none; background: white; }
.profile-card input::placeholder { color: #84958e; opacity: 1; }
.profile-password-heading { padding-top: 24px; border-top: 1px solid #edf1ef; }
.profile-password-heading h3 { margin: 0; font-size: 17px; font-weight: 600; }
.profile-eye { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: #607b6e; }
.profile-eye:hover { background: #ecf6f0; }
.profile-card button[type=submit], .profile-company button { min-height: 52px; height: auto; padding: 12px 20px; background: #087f5b; color: white; border-radius: 12px; font-size: 16px; font-weight: 600; }
.profile-card button[type=submit]:hover, .profile-company button:hover { background: #066b4d; }
.profile-card button:disabled { cursor: default; }
.profile-card button:focus-visible, .profile-page header button:focus-visible { outline: 3px solid #6ee7b7; outline-offset: 3px; }
.profile-card [role=status], .profile-card [role=alert] { padding: 12px; border-radius: 12px; background: #f3f8f5; overflow-wrap: anywhere; }
.profile-card [data-testid=language-switcher] { flex-wrap: wrap; max-width: 100%; }
.profile-card [data-testid=language-switcher] button { min-height: 44px; }
.profile-content #company-sections { margin-top: 0; border-radius: 24px; border-color: #e2ebe7; }
.profile-page header button { min-width: 44px; min-height: 44px; }
@media (max-width: 639px) {
  .profile-content { padding: 20px 16px 32px; gap: 16px; }
  .profile-intro h2 { font-size: 21px; }
  .profile-tabs { gap: 3px; padding: 5px; border-radius: 16px; }
  .profile-tabs [role=tab] { flex-direction: column; gap: 6px; min-height: 76px; padding: 8px 4px; font-size: 12px; }
  .profile-panel { gap: 16px; }
  .profile-card { padding: 24px 20px; border-radius: 20px; }
  .profile-identity { gap: 12px; padding-bottom: 22px; margin-bottom: 24px; }
  .profile-avatar { width: 48px; height: 48px; border-radius: 15px; }
  .profile-content #company-sections { border-radius: 20px; }
  .profile-content #company-sections > div { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 360px) {
  .profile-content { padding-left: 12px; padding-right: 12px; }
  .profile-card { padding: 22px 16px; }
}
