.profile-page-wrapper{max-width:1160px;margin:0 auto;padding:4px 16px 56px;font-family:inherit}.profile-top-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--bg-card,#ffffff);border:1px solid var(--border-color,#e2e8f0);border-radius:24px;padding:24px 28px;margin-bottom:24px;box-shadow:0 4px 20px -2px rgba(15,23,42,.04);position:relative;overflow:hidden}.profile-top-banner:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2563eb,#38bdf8,#818cf8)}.profile-top-left{display:flex;align-items:center;gap:18px}.profile-top-icon{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:1.5rem;border:1px solid #bfdbfe;box-shadow:0 4px 12px rgba(37,99,235,.12);flex-shrink:0}.profile-top-badge{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;color:#2563eb;background:#eff6ff;padding:3px 10px;border-radius:999px;border:1px solid #bfdbfe;margin-bottom:6px}.profile-badge-dot{width:6px;height:6px;border-radius:50%;background:#2563eb}.profile-top-title{font-size:1.45rem;font-weight:800;color:var(--text-primary,#0f172a);margin:0;letter-spacing:-.02em;line-height:1.25}.profile-top-subtitle{font-size:.85rem;color:var(--text-muted,#64748b);margin:4px 0 0;line-height:1.45}.profile-top-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.profile-dev-link-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border-radius:14px;font-size:.84rem;font-weight:700;background:var(--bg-hover,#f8fafc);color:var(--text-secondary,#334155);border:1px solid var(--border-color,#cbd5e1);text-decoration:none;transition:all .2s ease}.profile-dev-link-btn:hover{background:#eff6ff;color:#2563eb;border-color:#bfdbfe;transform:translateY(-1px)}.profile-content-container{display:flex;flex-direction:column;gap:24px}.profile-hero-card{background:var(--bg-card,#ffffff);border:1px solid var(--border-color,#e2e8f0);border-radius:28px;overflow:hidden;box-shadow:0 6px 24px -4px rgba(15,23,42,.05);position:relative}.profile-hero-cover{height:110px;background:linear-gradient(135deg,#1e3a8a,#2563eb 45%,#06b6d4);position:relative;overflow:hidden}.profile-hero-mesh{position:absolute;inset:0;background-image:radial-gradient(circle at 20% 30%,rgba(255,255,255,.2) 0,transparent 40%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.15) 0,transparent 40%)}.profile-hero-body{padding:0 28px 26px;position:relative}.profile-hero-main-row{display:flex;align-items:flex-start;gap:22px;margin-bottom:22px}.profile-avatar-container{position:relative;flex-shrink:0;margin-top:-46px}.profile-avatar-monogram{width:92px;height:92px;border-radius:26px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#ffffff;font-size:2.4rem;font-weight:800;border:4px solid var(--bg-card,#ffffff);box-shadow:0 8px 24px rgba(37,99,235,.25)}.profile-avatar-monogram,.profile-avatar-status-badge{display:flex;align-items:center;justify-content:center}.profile-avatar-status-badge{position:absolute;bottom:4px;right:4px;width:22px;height:22px;border-radius:50%;background:#10b981;border:3px solid var(--bg-card,#ffffff)}.profile-avatar-pulse-dot{width:8px;height:8px;border-radius:50%;background:#ffffff}.profile-hero-details{flex:1 1;padding-top:14px;padding-bottom:4px;min-width:0}.profile-hero-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.profile-hero-name{font-size:1.55rem;font-weight:800;color:var(--text-primary,#0f172a);margin:0;letter-spacing:-.02em}.profile-verified-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:.74rem;font-weight:700;background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.profile-hero-meta-row{display:flex;align-items:center;gap:10px;margin-top:6px;flex-wrap:wrap;font-size:.84rem;color:var(--text-muted,#64748b)}.profile-meta-item{display:inline-flex;align-items:center;gap:6px}.profile-meta-divider{color:#cbd5e1}.profile-role-text{color:#2563eb;font-weight:700}.profile-highlights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:12px;gap:12px}.profile-highlight-chip{background:var(--bg-hover,#f8fafc);border:1px solid var(--border-color,#e2e8f0);border-radius:16px;padding:12px 14px;display:flex;align-items:center;gap:12px;transition:all .2s ease}.profile-highlight-chip:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.03)}.profile-chip-icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.15rem;flex-shrink:0}.chip-blue{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.chip-emerald{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.chip-cyan{background:#f0f9ff;color:#0284c7;border:1px solid #bae6fd}.chip-purple{background:#faf5ff;color:#7c3aed;border:1px solid #e9d5ff}.profile-chip-text{min-width:0;flex:1 1}.profile-chip-label{font-size:.72rem;color:var(--text-muted,#64748b);font-weight:600}.profile-chip-value{font-size:.88rem;font-weight:700;color:var(--text-primary,#0f172a);margin-top:2px;white-space:normal;word-break:break-word;line-height:1.35}.profile-grid-cards{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:20px;gap:20px}.profile-section-card{background:var(--bg-card,#ffffff);border:1px solid var(--border-color,#e2e8f0);border-radius:24px;padding:24px 28px;box-shadow:0 4px 20px -2px rgba(15,23,42,.04);position:relative;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}.profile-section-card:hover{box-shadow:0 8px 28px -4px rgba(15,23,42,.07)}.card-top-accent{position:absolute;top:0;left:0;right:0;height:4px}.discord-accent{background:linear-gradient(90deg,#5865F2,#4752C4)}.workscope-accent{background:linear-gradient(90deg,#2563eb,#7c3aed)}.profile-card-header{display:flex;align-items:center;gap:14px;margin-bottom:20px}.profile-card-icon-tile{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}.icon-blue{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;border:1px solid #bfdbfe}.icon-emerald{background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#059669;border:1px solid #a7f3d0}.profile-card-title{font-size:1.08rem;font-weight:800;color:var(--text-primary,#0f172a);margin:0;letter-spacing:-.01em}.profile-card-subtitle{font-size:.78rem;color:var(--text-muted,#64748b);margin:3px 0 0}.profile-info-list{display:flex;flex-direction:column;gap:12px}.profile-info-row{display:flex;align-items:center;gap:12px;background:var(--bg-hover,#f8fafc);border:1px solid var(--border-color,#f1f5f9);border-radius:14px;padding:11px 14px;transition:all .15s ease}.profile-info-row:hover{border-color:#cbd5e1;background:#ffffff}.profile-info-icon-cell{width:36px;height:36px;border-radius:10px;background:#ffffff;border:1px solid #e2e8f0;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:.95rem;flex-shrink:0}.profile-info-content{flex:1 1;min-width:0}.profile-info-label,.profile-info-label-with-badge{font-size:.72rem;font-weight:600;color:var(--text-muted,#64748b)}.profile-info-label-with-badge{display:flex;align-items:center;justify-content:space-between;gap:8px}.profile-secure-badge{display:inline-flex;align-items:center;gap:4px;font-size:.65rem;font-weight:700;background:#eff6ff;color:#1d4ed8;padding:1px 6px;border-radius:4px;border:1px solid #bfdbfe}.profile-info-value{font-size:.88rem;font-weight:700;color:var(--text-primary,#0f172a);margin-top:2px;word-break:break-word}.profile-info-value.highlight{color:#1d4ed8}.profile-info-value.id-highlight{color:#047857;letter-spacing:.05em}.monospace,.profile-info-value.monospace{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.profile-membership-banner{margin-top:4px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border:1px solid #bbf7d0;display:flex;align-items:center;gap:12px}.profile-membership-icon{width:36px;height:36px;border-radius:10px;background:#ffffff;color:#059669;display:flex;align-items:center;justify-content:center;font-size:1.1rem;border:1px solid #a7f3d0;flex-shrink:0}.profile-membership-title{font-size:.84rem;font-weight:800;color:#065f46}.profile-membership-subtitle{font-size:.72rem;color:#047857;margin-top:2px}.profile-card-header-row{justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.profile-card-brand-info,.profile-card-header-row{display:flex;align-items:center;gap:14px}.profile-brand-icon-tile{width:48px;height:48px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#ffffff;flex-shrink:0}.discord-tile{background:linear-gradient(135deg,#5865F2,#4752C4);box-shadow:0 4px 14px rgba(88,101,242,.28)}.workscope-tile{background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 4px 14px rgba(37,99,235,.28)}.profile-brand-title-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-brand-title{font-size:1.1rem;font-weight:800;color:var(--text-primary,#0f172a);margin:0;letter-spacing:-.01em}.profile-brand-subtitle{font-size:.8rem;color:var(--text-muted,#64748b);margin:3px 0 0;line-height:1.45}.profile-status-pill{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:.7rem;font-weight:700}.pill-success{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}.pill-warning{background:#fef3c7;color:#b45309;border:1px solid #fde68a}.pulse-indicator{width:6px;height:6px;border-radius:50%;background:#16a34a;display:inline-block}.profile-btn-discord{background:linear-gradient(135deg,#5865F2,#4752C4);box-shadow:0 4px 14px rgba(88,101,242,.3)}.profile-btn-discord,.profile-btn-workscope{display:inline-flex;align-items:center;gap:8px;padding:9px 20px;border-radius:20px;font-size:.85rem;font-weight:700;color:#ffffff;border:none;cursor:pointer;transition:all .2s ease}.profile-btn-workscope{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 14px rgba(37,99,235,.28)}.hover-lift:hover{transform:translateY(-2px);filter:brightness(1.05)}.profile-gateway-meta-grid{margin-top:18px;padding:14px 18px;background:var(--bg-hover,#f8fafc);border-radius:16px;border:1px solid var(--border-color,#e2e8f0);display:grid;grid-template-columns:repeat(3,1fr);grid-gap:14px;gap:14px;font-size:.82rem}.gateway-meta-label{color:var(--text-muted,#64748b);margin-right:6px}.gateway-meta-value{font-weight:700;color:var(--text-primary,#0f172a)}.value-emerald{color:#059669}.profile-integration-bar{background:var(--bg-hover,#f8fafc);border-radius:18px;border:1px solid var(--border-color,#e2e8f0);padding:16px 20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:20px}.integration-user-info{display:flex;align-items:center;gap:12px}.integration-avatar-circle{width:40px;height:40px;border-radius:50%;background:#0088cc;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.integration-label{font-size:.74rem;color:var(--text-muted,#64748b);font-weight:600}.integration-value{font-size:.95rem;font-weight:800;color:var(--text-primary,#0f172a);margin-top:2px}.integration-subid{font-size:.78rem;color:#94a3b8;font-weight:500}.integration-actions-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.integration-btn-test{padding:8px 14px;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-weight:700;font-size:.8rem;border:1px solid #bfdbfe;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .2s}.integration-btn-test:disabled{background:#94a3b8;color:#fff;border-color:#cbd5e1;cursor:not-allowed}.integration-btn-link{padding:8px 14px;border-radius:10px;background:#ffffff;color:#475569;font-weight:600;font-size:.8rem;border:1px solid #cbd5e1;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:all .2s}.integration-btn-link:hover{background:#f8fafc;color:#1e293b}.integration-btn-unlink{padding:8px 12px;border-radius:10px;background:#ffffff;color:#ef4444;font-weight:600;font-size:.8rem;border:1px solid #fecaca;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .2s}.integration-btn-unlink:hover{background:#fef2f2}.profile-connect-prompt-box{background:#fffbeb;border:1px dashed #fde68a;border-radius:18px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:20px}.prompt-content{display:flex;align-items:center;gap:12px}.prompt-icon{font-size:1.4rem;color:#d97706;flex-shrink:0}.prompt-title{font-size:.88rem;font-weight:800;color:#92400e}.prompt-subtitle{font-size:.78rem;color:#b45309;margin-top:2px}.profile-alert-banner{padding:10px 16px;border-radius:12px;font-size:.84rem;font-weight:600;margin-bottom:16px;display:flex;align-items:center;gap:10px}.alert-success{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.alert-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.profile-channels-section{border-top:1px solid var(--border-color,#e2e8f0);padding-top:22px;margin-top:8px}.channels-section-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}.channels-title-row{display:flex;align-items:center;gap:8px}.channels-title-icon{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#0088cc,#0284c7);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.82rem;box-shadow:0 2px 6px rgba(0,136,204,.25)}.channels-title{margin:0;font-size:1rem;font-weight:800;color:var(--text-primary,#0f172a)}.channels-subtitle{margin:4px 0 0 36px;font-size:.78rem;color:var(--text-muted,#64748b)}.channels-controls-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.channels-feedback-pill{font-size:.74rem;font-weight:700;color:#059669;background:#ecfdf5;padding:3px 10px;border-radius:999px;border:1px solid #a7f3d0}.channels-saving-indicator{font-size:.74rem;color:var(--text-muted,#64748b)}.channels-btn-quick{background:var(--bg-hover,#f8fafc);border:1px solid var(--border-color,#cbd5e1);border-radius:8px;padding:4px 10px;font-size:.74rem;font-weight:700;color:var(--text-secondary,#334155);cursor:pointer;transition:all .15s}.channels-btn-quick:hover{background:#ffffff;border-color:#94a3b8}.channels-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));grid-gap:12px;gap:12px;margin-bottom:16px}.channel-card{background:var(--bg-hover,#f8fafc);border:1px solid var(--border-color,#e2e8f0);border-radius:16px;padding:14px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;transition:all .2s ease}.channel-card.channel-active{background:#ffffff;border-color:#bfdbfe;box-shadow:0 4px 14px rgba(37,99,235,.05)}.channel-card.channel-muted{background:#fef2f2;border-color:#fecaca}.channel-card-left{display:flex;gap:12px;flex:1 1;min-width:0}.channel-icon-tile{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}.channel-emerald{background:#ecfdf5;color:#059669}.channel-indigo{background:#eef2ff;color:#4f46e5}.channel-amber{background:#fffbeb;color:#d97706}.channel-purple{background:#faf5ff;color:#9333ea}.channel-sky{background:#f0f9ff;color:#0284c7}.channel-rose{background:#fee2e2;color:#ef4444}.channel-gray{background:#f1f5f9;color:#94a3b8}.channel-info{flex:1 1;min-width:0}.channel-title-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.channel-name{font-size:.88rem;font-weight:800;color:var(--text-primary,#0f172a)}.channel-badge{font-size:.65rem;font-weight:700;padding:1px 6px;border-radius:4px}.badge-emerald{background:#dcfce7;color:#15803d}.badge-indigo{background:#e0e7ff;color:#4338ca}.badge-amber{background:#fef3c7;color:#b45309}.badge-purple{background:#f3e8ff;color:#7e22ce}.badge-sky{background:#e0f2fe;color:#0369a1}.badge-rose{background:#fee2e2;color:#b91c1c}.channel-desc{margin:4px 0 0;font-size:.74rem;color:var(--text-muted,#64748b);line-height:1.45}.channel-toggle-wrap{position:relative;width:44px;height:24px;flex-shrink:0;cursor:pointer;align-self:center}.channel-toggle-wrap.disabled{cursor:not-allowed;opacity:.45}.channel-toggle-wrap.loading{cursor:wait}.modern-toggle{position:absolute;inset:0;background-color:#cbd5e1;border-radius:24px;transition:all .2s ease;box-shadow:inset 0 1px 3px rgba(0,0,0,.1)}.modern-toggle.checked.toggle-emerald{background-color:#10b981}.modern-toggle.checked.toggle-indigo{background-color:#6366f1}.modern-toggle.checked.toggle-amber{background-color:#f59e0b}.modern-toggle.checked.toggle-purple{background-color:#a855f7}.modern-toggle.checked.toggle-sky{background-color:#0284c7}.modern-toggle.checked.toggle-rose{background-color:#ef4444}.toggle-thumb{position:absolute;height:18px;width:18px;left:3px;bottom:3px;background-color:#ffffff;border-radius:50%;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px rgba(0,0,0,.25)}.modern-toggle.checked .toggle-thumb{left:23px}.channels-locked-notice{font-size:.78rem;color:#92400e;background:#fffbeb;border:1px dashed #fcd34d;padding:8px 14px;border-radius:10px;display:flex;align-items:center;gap:8px}.workscope-details-grid{background:var(--bg-hover,#f8fafc);border-radius:16px;border:1px solid var(--border-color,#e2e8f0);padding:16px 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:16px;gap:16px}.workscope-detail-label{font-size:.74rem;color:var(--text-muted,#64748b);font-weight:600;text-transform:uppercase}.workscope-detail-value{font-size:.92rem;font-weight:700;color:var(--text-primary,#0f172a);margin-top:4px}.scope-all{color:#7c3aed}.scope-all,.scope-specific{display:inline-flex;align-items:center;gap:6px}.scope-specific{color:#2563eb}.scope-suball{color:#059669}.profile-error-box{text-align:center;padding:48px 24px;color:#ef4444;background:var(--bg-card,#ffffff);border-radius:24px;border:1px solid #fecaca}@media (max-width:900px){.profile-grid-cards{grid-template-columns:1fr}.profile-highlights-grid{grid-template-columns:repeat(2,1fr)}.profile-gateway-meta-grid{grid-template-columns:1fr}}@media (max-width:640px){.profile-page-wrapper{padding:0 10px 48px}.profile-top-banner{flex-direction:column;align-items:flex-start;padding:18px 20px}.profile-top-actions{width:100%}.profile-dev-link-btn{width:100%;justify-content:center}.profile-hero-body{padding:0 14px 20px}.profile-hero-main-row{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:18px}.profile-avatar-container{margin-top:-40px}.profile-hero-details{padding-top:0}.profile-avatar-monogram{width:80px;height:80px;font-size:2rem}.profile-highlights-grid{grid-template-columns:1fr;gap:10px}.profile-highlight-chip{padding:12px 14px;min-width:0}.profile-chip-value{font-size:.84rem;white-space:normal;word-break:break-word;line-height:1.35}.profile-section-card{padding:16px 14px}.profile-card-header-row{flex-direction:column;align-items:flex-start}.profile-card-header-actions{width:100%}.profile-btn-discord,.profile-btn-workscope{width:100%;justify-content:center}.channels-grid{grid-template-columns:1fr}.channels-subtitle{margin-left:0;margin-top:6px}.integration-actions-group{width:100%}.integration-btn-link,.integration-btn-test,.integration-btn-unlink{flex:1 1;justify-content:center}}