@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500;600&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --profile-bg: #0b0c0a;
  --profile-sidebar: #10120f;
  --profile-surface: #121511;
  --profile-surface-raised: #181c16;
  --profile-border: rgba(220, 225, 213, .14);
  --profile-text: #e4e8de;
  --profile-body: #b6beb0;
  --profile-muted: #90998a;
  --profile-lime: #b7ff3f;
  --profile-red: #f08b78;
  --profile-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --profile-sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --profile-ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--profile-bg); }
body { min-width: 320px; margin: 0; background: var(--profile-bg); color: var(--profile-text); font-family: var(--profile-sans); }
body::before { position: fixed; z-index: 0; inset: 0; pointer-events: none; content: ''; opacity: .2; background-image: linear-gradient(rgba(183,255,63,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(183,255,63,.03) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
a, button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--profile-lime); outline-offset: 3px; }
[hidden] { display: none !important; }

.page { position: relative; z-index: 1; min-height: 100vh; }
.sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; display: flex; width: 258px; flex-direction: column; padding: 27px 18px 18px; border-right: 1px solid var(--profile-border); background: linear-gradient(180deg, rgba(17,19,15,.98), rgba(14,16,13,.98)); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; padding: 3px 7px; color: var(--profile-text); font: 600 10px/1.12 var(--profile-mono); letter-spacing: .09em; }
.brand b { color: var(--profile-lime); font-weight: 600; }
.brand-mark { display: flex; width: 29px; height: 28px; align-items: flex-end; gap: 3px; transform: skew(-17deg); }
.brand-mark i { display: block; width: 6px; border-radius: 2px 2px 0 0; background: var(--profile-lime); }
.brand-mark i:nth-child(1) { height: 13px; }.brand-mark i:nth-child(2) { height: 21px; }.brand-mark i:nth-child(3) { height: 28px; }
.sidebar-label { margin: 52px 9px 12px; color: #778070; font: 500 9px var(--profile-mono); letter-spacing: .17em; }
.side-link { display: flex; min-height: 44px; align-items: center; gap: 12px; margin: 2px 0; padding: 0 12px; border: 1px solid transparent; border-radius: 11px; color: var(--profile-body); font-size: 13px; transition: color .2s var(--profile-ease), background .2s var(--profile-ease), border-color .2s var(--profile-ease); }
.side-link:hover, .side-link.active { border-color: rgba(183,255,63,.15); background: rgba(183,255,63,.075); color: var(--profile-lime); }
.side-icon { display: grid; width: 20px; height: 20px; place-items: center; color: #9ba591; font-size: 17px; }.side-link.active .side-icon { color: var(--profile-lime); }
.sidebar-foot { display: grid; gap: 5px; margin-top: auto; padding: 15px 11px 5px; border-top: 1px solid var(--profile-border); color: var(--profile-muted); font: 10px/1.5 var(--profile-mono); overflow-wrap: anywhere; }
.sidebar-foot b { color: var(--profile-text); font: 600 13px var(--profile-sans); }
.main { min-height: 100vh; margin-left: 258px; }
.topbar { position: sticky; z-index: 4; top: 0; display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px, 4vw, 62px); border-bottom: 1px solid var(--profile-border); background: rgba(11,12,10,.78); backdrop-filter: blur(18px) saturate(125%); }
.crumb { display: flex; align-items: center; gap: 10px; color: var(--profile-muted); font-size: 12px; }.crumb b { color: #56604e; font-weight: 400; }.crumb strong { color: var(--profile-text); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.top-link, .signout { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--profile-muted); font: 500 9px var(--profile-mono); letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease; }.top-link:hover, .signout:hover { color: var(--profile-lime); }
.signout { padding: 0 13px; border: 1px solid var(--profile-border); border-radius: 999px; }
.content { width: min(1120px, calc(100% - 88px)); margin: 0 auto; padding: 53px 0 80px; }
.eyebrow, .label { color: var(--profile-muted); font: 500 9px/1.5 var(--profile-mono); letter-spacing: .15em; text-transform: uppercase; }.eyebrow { display: flex; align-items: center; gap: 10px; }.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--profile-lime); box-shadow: 0 0 0 4px rgba(183,255,63,.1); }
.profile-hero { display: grid; grid-template-columns: 116px minmax(0,1fr) auto; align-items: center; gap: 25px; padding: 13px 0 34px; border-bottom: 1px solid var(--profile-border); }
.avatar { position: relative; display: grid; width: 108px; height: 108px; place-items: center; overflow: hidden; border: 1px solid rgba(183,255,63,.48); border-radius: 50%; background: radial-gradient(circle at 32% 28%, #28351e, #151a12 70%); box-shadow: inset 0 0 0 5px rgba(183,255,63,.035); color: var(--profile-lime); font-size: 32px; font-weight: 700; letter-spacing: -.08em; }
.avatar::after { position: absolute; inset: 6px; border: 1px solid rgba(220,225,213,.12); border-radius: inherit; content: ''; pointer-events: none; }.avatar img { width: 100%; height: 100%; object-fit: cover; }
h1 { margin: 12px 0 7px; font-size: clamp(38px, 5vw, 66px); font-weight: 500; line-height: .96; letter-spacing: -.075em; overflow-wrap: anywhere; }.name-period { color: var(--profile-lime); }
.username { color: var(--profile-lime); font: 11px var(--profile-mono); }.user-email { margin: 10px 0 0; color: var(--profile-muted); font-size: 12px; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; align-self: end; }
.hero-status { flex-basis: 100%; min-height: 17px; margin: 0; color: var(--profile-lime); font-size: 11px; line-height: 1.45; text-align: right; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(220,225,213,.2); border-radius: 999px; background: rgba(220,225,213,.035); color: var(--profile-text); font-size: 12px; font-weight: 600; transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease; }.button:hover { transform: translateY(-1px); border-color: rgba(183,255,63,.55); background: rgba(183,255,63,.07); color: var(--profile-lime); }.button.primary { border-color: var(--profile-lime); background: var(--profile-lime); color: #11150b; }.button.primary:hover { background: #c7ff6b; color: #11150b; }.button:disabled { transform: none; opacity: .55; cursor: wait; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.85fr); gap: 12px; margin-top: 12px; }
.panel { min-width: 0; padding: 25px; border: 1px solid var(--profile-border); border-radius: 18px; background: linear-gradient(145deg, rgba(26,30,24,.86), rgba(17,20,16,.92)); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }.panel h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.035em; }.panel-index { color: #778070; font: 9px var(--profile-mono); letter-spacing: .12em; white-space: nowrap; }
.intro { max-width: 620px; margin: 0 0 26px; color: var(--profile-body); font-size: clamp(18px, 2.1vw, 23px); line-height: 1.48; letter-spacing: -.025em; }.profile-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.fact { min-width: 0; padding: 15px; border: 1px solid rgba(220,225,213,.1); border-radius: 12px; background: rgba(8,10,8,.26); }.fact .label { display: block; margin-bottom: 9px; }.fact strong { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.stage-card { display: flex; align-items: end; justify-content: space-between; gap: 15px; }.stage-card strong { display: block; margin-top: 8px; font-size: 27px; font-weight: 500; letter-spacing: -.06em; }.stage-count { color: var(--profile-lime); font: 9px var(--profile-mono); white-space: nowrap; }
.stage-track { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin-top: 27px; }.stage-track::before { position: absolute; top: 11px; right: 9px; left: 9px; height: 1px; background: linear-gradient(90deg,rgba(183,255,63,.55),rgba(220,225,213,.15)); content: ''; }.stage { position: relative; z-index: 1; min-width: 0; color: #929b8b; font: 9px/1.35 var(--profile-mono); }.stage::before { display: block; width: 22px; height: 22px; margin-bottom: 10px; border: 1px solid #697362; border-radius: 50%; background: #171b15; content: ''; }.stage.complete { color: #c6d4b5; }.stage.complete::before { border-color: var(--profile-lime); background: var(--profile-lime); box-shadow: inset 0 0 0 6px #28351d; }.stage.current { color: var(--profile-lime); }.stage.current::before { border: 2px solid var(--profile-lime); background: #141a10; box-shadow: 0 0 0 4px rgba(183,255,63,.09); }
.completion-number { display: flex; align-items: baseline; gap: 8px; }.completion-number strong { font-size: 45px; font-weight: 500; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }.completion-number span { color: var(--profile-muted); font: 10px var(--profile-mono); text-transform: uppercase; letter-spacing: .08em; }.completion-track { height: 5px; margin: 16px 0 12px; overflow: hidden; border-radius: 99px; background: #30362c; }.completion-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--profile-lime); transition: width .35s var(--profile-ease); }.completion-note { margin: 0; color: var(--profile-body); font-size: 12px; line-height: 1.55; }.completion-list { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }.completion-list li { display: flex; align-items: center; gap: 10px; color: var(--profile-body); font-size: 12px; }.completion-list i { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border: 1px solid #68715f; border-radius: 50%; color: #838c78; font-size: 10px; font-style: normal; }.completion-list li.is-complete i { border-color: var(--profile-lime); background: var(--profile-lime); color: #151b0e; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }.project-title { margin: 8px 0; font-size: 25px; font-weight: 500; letter-spacing: -.06em; overflow-wrap: anywhere; }.project-copy { margin: 0; color: var(--profile-body); font-size: 13px; line-height: 1.6; }.project-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--profile-border); color: var(--profile-muted); font: 9px var(--profile-mono); text-transform: uppercase; }.project-foot b { color: var(--profile-lime); font-weight: 500; }.project-foot a { color: var(--profile-text); transition: color .18s ease; }.project-foot a:hover { color: var(--profile-lime); }
.edit-panel { margin-top: 12px; scroll-margin-top: 82px; }.edit-panel[hidden] { display: none; }.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.profile-form label { display: grid; gap: 8px; color: var(--profile-body); font-size: 12px; font-weight: 600; }.profile-form label small { color: var(--profile-muted); font-size: 11px; font-weight: 400; line-height: 1.45; }.profile-form input, .profile-form select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(220,225,213,.18); border-radius: 11px; background: #10130f; color: var(--profile-text); font-size: 14px; }.profile-form input:focus, .profile-form select:focus { border-color: var(--profile-lime); outline: 2px solid rgba(183,255,63,.16); }.form-help { margin: 17px 0 0; color: var(--profile-muted); font-size: 11px; line-height: 1.5; }.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }.form-status { min-height: 20px; margin: 0 0 0 5px; color: var(--profile-lime); font-size: 12px; }.form-status.is-error { color: var(--profile-red); }
.loading, .gate { position: relative; z-index: 1; display: grid; min-height: 100svh; place-items: center; padding: 24px; color: var(--profile-body); font: 11px var(--profile-mono); }.gate-card { width: min(460px,100%); padding: 32px; border: 1px solid var(--profile-border); border-radius: 20px; background: linear-gradient(145deg,#1a1e17,#11140f); text-align: center; }.gate-card h1 { margin: 15px 0 10px; font-size: 32px; }.gate-card p { color: var(--profile-body); font: 14px/1.65 var(--profile-sans); }.gate-card a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 10px; color: var(--profile-lime); }

@media (max-width: 1050px) { .sidebar { width: 224px; }.main { margin-left: 224px; }.content { width: min(100% - 54px,850px); }.topbar { padding-inline: 27px; }.profile-hero { grid-template-columns: 92px minmax(0,1fr); gap: 20px; }.avatar { width: 88px; height: 88px; font-size: 27px; }.hero-actions { grid-column: 2; justify-content: flex-start; align-self: start; }.hero-status { text-align: left; }.profile-layout { grid-template-columns: minmax(0,1fr) minmax(240px,.9fr); }.panel { padding: 21px; } }
@media (max-width: 760px) { .sidebar { position: relative; inset: auto; width: 100%; min-height: 64px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 5px 16px; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--profile-border); background: rgba(15,17,14,.96); }.brand { min-height: 42px; }.sidebar-label, .sidebar-foot { display: none; }.side-link { min-height: 40px; gap: 7px; margin: 0; padding: 0 10px; font-size: 12px; }.main { margin-left: 0; }.topbar { position: relative; top: auto; min-height: 54px; padding-inline: 19px; }.content { width: min(100% - 38px,680px); padding: 36px 0 56px; }.profile-hero { grid-template-columns: 80px minmax(0,1fr); gap: 17px; padding-bottom: 25px; }.avatar { width: 76px; height: 76px; font-size: 24px; }.profile-hero h1 { font-size: clamp(36px,8vw,52px); }.user-email { font-size: 11px; }.hero-actions { grid-column: 1/-1; }.profile-layout { grid-template-columns: 1fr; }.project-grid { grid-template-columns: 1fr 1fr; }.panel { padding: 21px; } }
@media (max-width: 520px) { .sidebar { column-gap: 8px; row-gap: 3px; padding: 8px 12px 10px; }.brand { width: 100%; min-height: 37px; }.brand-mark { width: 25px; height: 24px; }.brand-mark i:nth-child(1) { height: 11px; }.brand-mark i:nth-child(2) { height: 18px; }.brand-mark i:nth-child(3) { height: 24px; }.side-link { min-height: 38px; flex: 1 1 auto; justify-content: center; padding: 0 7px; font-size: 11px; }.side-icon { width: auto; font-size: 15px; }.topbar { padding-inline: 14px; }.crumb { gap: 7px; font-size: 11px; }.top-actions { gap: 7px; }.top-link { display: none; }.signout { min-height: 38px; padding-inline: 10px; font-size: 8px; }.content { width: calc(100% - 28px); padding-top: 29px; }.profile-hero { grid-template-columns: 64px minmax(0,1fr); gap: 13px; }.avatar { width: 62px; height: 62px; font-size: 21px; }.profile-hero h1 { margin-top: 8px; font-size: clamp(32px,9vw,42px); }.eyebrow { font-size: 8px; }.username { font-size: 10px; }.user-email { margin-top: 7px; }.hero-actions { gap: 8px; }.button { min-height: 44px; padding-inline: 13px; font-size: 11px; }.panel { padding: 18px; border-radius: 15px; }.panel-head { margin-bottom: 18px; }.profile-facts, .project-grid, .form-grid { grid-template-columns: 1fr; }.intro { font-size: 18px; }.stage-card { display: block; }.stage-count { display: block; margin-top: 12px; }.stage { font-size: 8px; }.stage::before { width: 20px; height: 20px; }.stage-track::before { top: 10px; }.project-foot { align-items: flex-start; flex-direction: column; }.form-actions { align-items: flex-start; }.form-status { flex-basis: 100%; margin-left: 0; } }

.profile-form textarea { width: 100%; min-height: 96px; padding: 13px 14px; border: 1px solid rgba(220,225,213,.18); border-radius: 11px; background: #10130f; color: var(--profile-text); font: inherit; font-size: 14px; resize: vertical; }
.profile-form textarea:focus { border-color: var(--profile-lime); outline: 2px solid rgba(183,255,63,.16); }
.form-grid .form-wide { grid-column: 1 / -1; }
.profile-form .directory-consent, .profile-form .founder-attestation { display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin-top: 18px; padding: 16px; border: 1px solid rgba(183,255,63,.2); border-radius: 12px; background: rgba(183,255,63,.045); }
.profile-form .founder-attestation { margin-top: 9px; border-color: rgba(220,225,213,.12); background: transparent; }
.directory-consent input, .founder-attestation input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--profile-lime); }
.directory-consent span, .founder-attestation span { display: grid; gap: 6px; }
.directory-consent strong { color: var(--profile-text); font-size: 13px; }
.directory-consent small, .founder-attestation span { color: var(--profile-muted); font-size: 11px; font-weight: 400; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.membership-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
.membership-summary { display: flex; align-items: center; gap: 13px; min-height: 62px; }
.membership-summary > div { flex: 1 1 auto; min-width: 0; }
.membership-summary strong { display: block; color: var(--profile-text); font-size: 19px; letter-spacing: -.04em; }
.membership-summary p { margin: 5px 0 0; color: var(--profile-muted); font-size: 12px; line-height: 1.45; }
.membership-summary [aria-disabled="true"] { opacity: .55; pointer-events: none; }
.plan-status-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #707769; }
.plan-status-dot.is-active { background: var(--profile-lime); box-shadow: 0 0 0 5px rgba(183,255,63,.1); }
.stage-control { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin-top: 22px; }
.stage-control label { display: grid; gap: 7px; color: var(--profile-muted); font-size: 11px; }
.stage-control select { min-height: 44px; padding: 0 12px; border: 1px solid var(--profile-border); border-radius: 10px; background: #10130f; color: var(--profile-text); }
.stage-status, .stage-readonly-note { grid-column: 1 / -1; min-height: 16px; margin: 0; color: var(--profile-lime); font-size: 11px; line-height: 1.45; }
.stage-status.is-error { color: var(--profile-red); }
.stage-readonly-note { margin-top: 18px; color: var(--profile-muted); }
.role-needs { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--profile-border); border-radius: 12px; color: var(--profile-body); }
.role-needs legend { padding: 0 5px; color: var(--profile-text); font-size: 12px; font-weight: 600; }
.role-needs > small { display: block; margin: 0 0 12px; color: var(--profile-muted); font-size: 11px; line-height: 1.45; }
.role-needs-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 14px; }
.profile-form .role-needs-grid label { display: flex; min-height: 38px; align-items: center; gap: 9px; font-size: 11px; font-weight: 500; }
.profile-form .role-needs-grid input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--profile-lime); }
.role-needs > label { margin-top: 12px; }
.role-needs > label input { width: 100%; min-height: 44px; }
@media (max-width: 760px) { .membership-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .membership-summary { align-items: flex-start; flex-wrap: wrap; } .membership-summary .button { margin-left: 22px; } .stage-control { grid-template-columns: 1fr; } .role-needs-grid { grid-template-columns: 1fr; } }
#avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.page::before{display:none}
.sidebar{background:var(--profile-bg)}
.panel{border-radius:12px;background:#10130f;box-shadow:none}
.membership-panel{align-self:start}
.startup-code-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:15px;border:1px solid rgba(183,255,63,.18);border-radius:9px;background:rgba(183,255,63,.07)}
.startup-code-card>div{display:grid;gap:6px;min-width:0}
.startup-code-card span{color:var(--profile-muted);font:500 9px var(--profile-mono);letter-spacing:.12em}
.startup-code-card strong{color:var(--profile-text);font:600 20px var(--profile-mono);letter-spacing:.06em}
.startup-code-card small{color:var(--profile-muted);font-size:11px;line-height:1.45}
.startup-code-join{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--profile-border)}
.startup-code-join>label{color:var(--profile-text);font-size:12px;font-weight:600}
.startup-code-join>div{display:flex;gap:8px}
.startup-code-join input{width:100%;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--profile-border);border-radius:8px;background:#0b0d0a;color:var(--profile-text);font:500 12px var(--profile-mono);letter-spacing:.04em;text-transform:uppercase}
.startup-code-join input:focus-visible{border-color:var(--profile-lime);outline:2px solid rgba(183,255,63,.15);outline-offset:2px}
.startup-code-join p{min-height:16px;margin:0;color:var(--profile-muted);font-size:11px;line-height:1.45}
.startup-code-join p.is-error{color:var(--profile-red)}
@media(max-width:520px){.startup-code-card{align-items:flex-start;flex-direction:column}.startup-code-join>div{align-items:stretch;flex-direction:column}.startup-code-join .button{margin-left:0}}

/* Keep profile panels in one shared grid so hidden role-specific cards do not
   leave empty columns between the visible sections. */
.content { width: min(1120px, calc(100% - 64px)); padding-top: 36px; }
.profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.profile-grid > .panel { min-width: 0; padding: 19px; border-radius: 12px; background: #10130f; }
.profile-grid > .panel-head { margin-bottom: 14px; }
.profile-grid .intro { max-width: 44ch; margin-bottom: 16px; font-size: 16px; line-height: 1.45; letter-spacing: -.018em; }
.profile-grid .profile-facts:has(#directoryFact[hidden]) { grid-template-columns: minmax(0, 1fr); }
.profile-grid:has(#stagePanel[hidden]):has(#startupMembershipPanel:not([hidden])) #featuredProjectPanel,
.profile-grid:has(#stagePanel:not([hidden])):has(#startupMembershipPanel[hidden]) #featuredProjectPanel { grid-column: 1 / -1; }
@media (max-width: 1050px) { .content { width: min(100% - 54px,850px); padding-top: 32px; } }
@media (max-width: 760px) { .content { width: min(100% - 38px,680px); padding-top: 28px; }.profile-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 520px) { .content { width: calc(100% - 28px); padding-top: 24px; }.profile-grid > .panel { padding: 16px; }.profile-grid .intro { font-size: 15px; } }
.billing-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:12px 14px;border:1px solid var(--profile-border);border-radius:10px;background:rgba(183,255,63,.045)}
.billing-controls[hidden]{display:none!important}
.billing-controls p{margin:0;color:var(--profile-muted);font-size:11px;line-height:1.5}
.billing-controls p.is-error{color:var(--profile-red)}
.billing-controls .button{min-height:40px;flex:0 0 auto}
@media(max-width:520px){.billing-controls{align-items:stretch;flex-direction:column}.billing-controls .button{width:100%}}
