.profile-tabs{display:flex;max-width:760px;margin:12px 0 30px}
.profile-tabs a{flex:1;padding:13px 6px;text-align:center;border-bottom:3px solid var(--line);color:inherit;text-decoration:none}
.profile-tabs a[aria-current]{color:var(--accent-text);border-color:var(--brand);font-weight:650}
.profile-tabs a:hover{background:var(--mid)}
.profile-content{max-width:1180px;padding-bottom:30px}
.profile-content section+section,.profile-content form+section,.security-controls h2:not(:first-child){margin-top:30px}
.profile-content h2{margin-bottom:14px}
.profile-content form[data-profile-form]{max-width:1000px}
.profile-content .field{margin-bottom:15px}
.profile-content .notice{margin:10px 0 15px;line-height:1.55}
.profile-content form[data-profile-form=notifications]{max-width:720px}
.channel-table{width:100%;margin:20px 0;border-collapse:collapse}
.channel-table :is(th,td){padding:12px 4px;vertical-align:middle;border:0}
.channel-table th{font-weight:500;color:inherit}
.channel-table th:first-child{text-align:left}
.channel-table :is(th,td):not(:first-child){text-align:center}
.channel-table input{width:18px;height:18px;accent-color:var(--brand);cursor:pointer}
.security-controls{max-width:850px}
.security-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}
.security-row+h3{margin-top:20px}
.security-controls p,.profile-content .hint{color:var(--muted);line-height:1.5;margin:6px 0}
.security-row .actions{justify-content:flex-end;flex-wrap:wrap}
.profile-tag{display:inline-block;border:1px solid var(--line);border-radius:1em;font-size:12px;line-height:1.4;padding:2px 9px;color:var(--accent-text);background:var(--mid);white-space:nowrap;vertical-align:middle}
.profile-content small{display:block;margin-top:3px}
.profile-content .tablewrap+.actions{margin-top:15px}
@media(max-width:650px){.profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:20px}.security-row{align-items:flex-start;flex-direction:column}.security-row .actions{justify-content:flex-start}.channel-table th,.channel-table td{padding:9px 3px;font-size:13px}.channel-table{min-width:0}.profile-content .tablewrap{overflow-x:auto}}
