.founder-profile{--founder-line:rgba(190,219,247,.3);color:inherit;font-family:inherit;padding:8px 0 24px}.founder-profile *{box-sizing:border-box}.founder-profile h3{font-size:25px;font-weight:500;margin:0 0 6px}.founder-profile p{line-height:1.55}.founder-profile a{color:inherit;text-decoration:none;overflow-wrap:anywhere}.founder-profile a:not(.third-party-mention):hover{text-decoration:underline}.founder-identity{display:flex;gap:24px;align-items:center;margin:12px 0 22px}.founder-avatar,.founder-profile button.founder-avatar{width:100px;height:100px;flex-shrink:0;border-radius:50%;padding:5px;border:1px solid rgba(255,255,255,.65);background:linear-gradient(145deg,rgba(255,255,255,.38),rgba(149,187,230,.08));box-shadow:inset 0 2px 3px #ffffff80,0 8px 22px #00122a22;display:grid;place-items:center;font-size:38px;font-weight:400;overflow:visible}.founder-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.founder-identity-copy{min-width:0;flex:1}.founder-identity-copy>p{margin:0;opacity:.65;font-size:14px}.founder-counts{display:flex;gap:22px;flex-wrap:wrap;margin-top:18px;font-size:12px}.founder-counts b{font-size:18px;font-weight:500;display:block;margin-bottom:2px}.founder-bio{white-space:pre-wrap;margin:0 0 6px;font-size:14px}.founder-profile>a{font-size:13px}.founder-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.founder-stats>div{text-align:center;min-width:0;border:1px solid var(--founder-line);border-radius:38px;padding:17px 12px;background:linear-gradient(145deg,#ffffff2b,#ffffff08);box-shadow:inset 0 1px 2px #ffffff70,inset 0 -1px 1px #8eb1d52b,0 10px 24px #00122a1c;-webkit-backdrop-filter:blur(32px) saturate(165%);backdrop-filter:blur(32px) saturate(165%);cursor:pointer;transition:transform .22s cubic-bezier(.2,.8,.2,1),border-color .22s ease,background .22s ease,box-shadow .22s ease,filter .22s ease}.founder-stats>div:is(:hover,:focus-within){transform:translateY(-4px) scale(1.018);filter:brightness(1.08);border-color:rgba(250,253,255,.9);background:linear-gradient(145deg,#ffffff4a,#d6eaff22);box-shadow:inset 0 1.5px 2px #ffffffd0,inset 0 -1px 1px #8eb1d540,0 16px 32px #163b6b2b}.founder-stats>div:active{transform:translateY(-1px) scale(.985)}.founder-stats strong{display:block;font-size:22px;font-weight:500;overflow-wrap:anywhere}.founder-stats span,.founder-stats small{display:block;font-size:12px;margin-top:5px;opacity:.7}.founder-stats small{font-size:10px;opacity:.5}.founder-agent-tile > :is(img,.living-orb){width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}.founder-profile button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--founder-line);border-radius:22px;background:linear-gradient(135deg,#ffffff30,#ffffff08);box-shadow:inset 0 1px 2px #ffffff50;padding:10px 18px;font-size:13px}.founder-profile button:disabled{opacity:.5;cursor:wait}.founder-profile button:focus-visible,.founder-profile a:focus-visible{outline:2px solid #8fc7ff;outline-offset:3px}@media(prefers-reduced-motion:reduce){.founder-stats>div{transition:none}.founder-stats>div:is(:hover,:focus-within,:active){transform:none}}/* Glass collection selector: a single moving lens beneath solid symbols. */
.founder-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,1fr);width:216px;height:60px;padding:4px;margin:24px auto 20px;border:1px solid var(--founder-line);border-radius:999px;background:linear-gradient(135deg,#ffffff12,#ffffff04);box-shadow:inset 0 1px 1px #ffffff40,inset 0 -1px 1px #8eb1d522;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%)}
.founder-tabs .founder-tabs-thumb{position:absolute;z-index:-1;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;border:1px solid #ffffff80;background:radial-gradient(100% 90% at 30% 0,#ffffff70,transparent 75%),linear-gradient(145deg,#ffffff38,#adc9ef28);box-shadow:inset 0 1px 1px #ffffffdd,inset 0 -1px 1px #88baff66,0 2px 7px #18344f30;-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);transform:translateX(0);pointer-events:none}
.founder-tabs[data-active="product"] .founder-tabs-thumb{transform:translateX(100%)}
.founder-tabs[data-active="agent"] .founder-tabs-thumb{transform:translateX(200%)}
.founder-profile .founder-tabs button{display:grid;place-items:center;min-width:0;height:50px;padding:0;border:0;border-radius:999px;box-shadow:none;background:none;opacity:.6;transition:opacity .2s ease}
.founder-profile .founder-tabs button[aria-pressed=true]{opacity:1;border:0;background:none}
.founder-collection-icon{width:22px;height:22px;pointer-events:none}
@media(prefers-reduced-motion:reduce){.founder-profile .founder-tabs button{transition:none}}
.founder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.founder-grid article{min-width:0}.founder-tile{width: min(100%,110px);margin-inline:auto;aspect-ratio:1;border-radius:50%;padding:5px;box-shadow:inset 0 1px 2px #ffffff99,inset 0 -1px 1px #ffffff26,0 8px 22px #00122a22;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);border:1px solid var(--founder-line);overflow:hidden;background:linear-gradient(140deg,#ffffff30,#ffffff06);display:grid;place-items:center;font-size:40px;font-weight:300}.founder-tile img{width:100%;height:100%;object-fit:cover;border-radius:50%}.founder-grid h4{font-size:13px;font-weight:500;margin:10px 0 4px;overflow-wrap:anywhere}.founder-grid p{font-size:11px;opacity:.65;margin:0}.founder-grid a{font-size:11px;margin-top:6px}.founder-empty{grid-column:1/-1;padding:26px;text-align:center;border:1px dashed var(--founder-line);border-radius:20px;opacity:.6}.founder-actions{display:flex;gap:10px;margin:22px 0}.founder-actions button{flex:1}.founder-account-actions{display:flex;gap:18px;padding-top:18px;border-top:1px solid var(--founder-line)}.founder-account-actions button{padding:0;background:none;box-shadow:none;border:0;font-size:11px;opacity:.6}.founder-editor,.founder-share{border:1px solid var(--founder-line);padding:20px;border-radius:24px;background:#ffffff0b}.founder-editor label{display:block;font-size:12px;margin:13px 0}.founder-editor input,.founder-editor textarea,.founder-editor select{display:block;width:100%;color:inherit;font:inherit;margin-top:6px;padding:11px 13px;border:1px solid var(--founder-line);border-radius:12px;background:#ffffff12}.founder-editor select option{color:#172b45}.founder-editor textarea{min-height:85px;resize:vertical}.founder-editor fieldset{border:1px solid var(--founder-line);border-radius:15px;margin:12px 0;padding:12px}.founder-editor legend{font-size:12px}.founder-share p,.founder-visibility{font-size:13px;line-height:1.6}.founder-share button{margin:8px 5px 0 0}.founder-share>a{display:block;font-size:12px;margin-top:14px}.founder-visibility{display:flex;gap:14px;flex-wrap:wrap}.founder-visibility label{display:flex;gap:6px;align-items:center}.founder-note{opacity:.6}.founder-notice{font-size:13px}.founder-public{max-width:760px;margin:40px auto;padding:32px;border:1px solid #ffffff70;border-radius:38px;background:linear-gradient(130deg,#ffffff33,#ffffff08);backdrop-filter:blur(40px);box-shadow:inset 0 1px 2px #ffffff99,0 24px 80px #0004}.founder-public-shell{margin:0;min-height:100vh;padding:20px;color:#eef5ff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:radial-gradient(ellipse at 10% 0%,#6a89a8,transparent 65%),radial-gradient(ellipse at 90% 75%,#254f88,transparent 70%),#071223}.founder-public-brand{font-size:18px;letter-spacing:3px;opacity:.65;margin-bottom:32px}.founder-trial{display:block!important;text-align:center;padding:16px!important;border:1px solid #ffffff80;border-radius:28px;margin:30px 0 12px;background:linear-gradient(140deg,#ffffff55,#ffffff12)}
@media(max-width:540px){.founder-identity{gap:15px}.founder-avatar,.founder-profile button.founder-avatar{width:74px;height:74px}.founder-counts{gap:12px;font-size:10px}.founder-identity h3{font-size:22px}.founder-stats{gap:6px}.founder-stats>div{padding:13px 9px}.founder-stats strong{font-size:19px}.founder-public{padding:20px;margin:10px auto}.founder-public-shell{padding:10px}.founder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.founder-profile .founder-icon-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}.founder-action-icon{width:16px;height:16px;flex:0 0 16px;pointer-events:none}

/* Founder handles use the same portrait-first liquid-glass mention language as
   brands, products, Cofounders, and third-party sites inside chat. */
.founder-identity-copy .founder-handle {
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:fit-content;
  max-width:100%;
  min-height:30px;
  box-sizing:border-box;
  padding:3px 11px 3px 3px;
  border:1px solid rgba(220,236,255,.58);
  border-radius:999px;
  background:radial-gradient(105% 120% at 24% -24%,rgba(255,255,255,.42),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.22),rgba(126,163,207,.1));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.48),inset 0 -1px rgba(79,113,154,.17),0 5px 14px rgba(3,17,38,.12);
  -webkit-backdrop-filter:blur(18px) saturate(170%);
  backdrop-filter:blur(18px) saturate(170%);
  font-weight:600;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.founder-profile a.founder-handle:hover {
  text-decoration:none;
  transform:translateY(-1px) scale(1.018);
  filter:brightness(1.1) saturate(1.08);
  border-color:rgba(247,252,255,.9);
  background:radial-gradient(105% 120% at 24% -24%,rgba(255,255,255,.58),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.3),rgba(139,183,233,.16));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.72),inset 0 -1px rgba(79,113,154,.2),0 9px 20px rgba(3,17,38,.2);
}
.founder-profile a.founder-handle:active { transform:translateY(0) scale(.985); }
.founder-profile a.founder-handle:focus-visible { outline:2px solid #8fc7ff;outline-offset:3px; }
.founder-handle-avatar {
  display:grid;
  place-items:center;
  flex:0 0 24px;
  width:24px;
  height:24px;
  padding:2px;
  overflow:hidden;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.72),rgba(131,171,219,.3));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.74),0 2px 6px rgba(0,12,30,.24);
}
.founder-handle-avatar > :is(img,svg) { display:block;width:100%;height:100%;border-radius:50%; }
.founder-handle-avatar > img { object-fit:cover; }
.founder-handle-placeholder { fill:currentColor;fill-opacity:.45;stroke:rgba(255,255,255,.72);stroke-width:.7; }
.founder-mention-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin:0 0 6px;min-width:0}
.founder-mention-row>.founder-handle,.founder-mention-row>.venture-mention{margin:0;flex:0 0 auto;font-size:13px;font-weight:400;line-height:1}
.founder-mention-row>.venture-mention{min-height:30px;padding:3px 11px 3px 3px;gap:6px}
.founder-mention-row>.venture-mention>.venture-mention-avatar{flex:0 0 24px;width:24px;height:24px;font-size:13px}
.founder-mention-row+.founder-bio{margin-top:0}
:root:is([data-theme="bright"],[data-theme="glacial"]) .founder-identity-copy .founder-handle {
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(105% 120% at 24% -24%,rgba(255,255,255,.94),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.7),rgba(174,207,242,.42));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),inset 0 -1px rgba(76,116,163,.14),0 6px 15px rgba(28,65,107,.14);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .founder-profile a.founder-handle:hover {
  background:radial-gradient(105% 120% at 24% -24%,rgba(255,255,255,1),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.82),rgba(181,217,252,.56));
  border-color:#fff;
  box-shadow:inset 0 1.5px 1.5px #fff,inset 0 -1px rgba(76,116,163,.16),0 9px 20px rgba(28,65,107,.2);
}
:root[data-theme="bright"] .founder-mention-row > .venture-mention.third-party-mention {
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(105% 120% at 24% -24%,rgba(255,255,255,.94),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.7),rgba(174,207,242,.42));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),inset 0 -1px rgba(76,116,163,.14),0 6px 15px rgba(28,65,107,.14);
  -webkit-backdrop-filter:blur(18px) saturate(170%);
  backdrop-filter:blur(18px) saturate(170%);
}
:root[data-theme="bright"] .founder-mention-row > .venture-mention.third-party-mention:hover {
  background:radial-gradient(105% 120% at 24% -24%,rgba(255,255,255,1),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.82),rgba(181,217,252,.56));
  border-color:#fff;
  box-shadow:inset 0 1.5px 1.5px #fff,inset 0 -1px rgba(76,116,163,.16),0 9px 20px rgba(28,65,107,.2);
}
@media(prefers-reduced-motion:reduce){.founder-identity-copy .founder-handle{transition:none}.founder-profile a.founder-handle:is(:hover,:active){transform:none}}

.founder-avatar-symbol{width:72%;height:72%;fill:currentColor;fill-opacity:.3;stroke:rgba(255,255,255,.65);stroke-width:.8;filter:drop-shadow(0 1px 1px rgba(255,255,255,.45)) drop-shadow(0 3px 5px rgba(0,0,0,.12))}.founder-grid .founder-icon-action{width:38px;height:38px;padding:10px;border-radius:50%}

.founder-grid article{text-align:center}.founder-grid .founder-icon-action{display:block;margin:6px auto 0}.founder-profile>.founder-actions{justify-content:center}.founder-profile>.founder-actions>button:is([data-add-item],[data-action="new-agent"]){flex:0 1 auto;width:auto;min-width:150px;padding-inline:26px}

/* Keep the two lines readable where darker content shows through the bright settings glass. */
:root[data-theme="bright"] .founder-identity-copy > :is(.founder-handle, .founder-bio) {
  color: #101e32;
  opacity: 1;
}
:root[data-theme="bright"] .founder-identity-copy > .founder-bio {
  font-weight: 500;
}
:root[data-theme="bright"] .founder-identity-copy .founder-handle {
  text-shadow: none;
}

/* Dark liquid glass needs luminous foreground copy. Keep this scoped to the
   account identity so the bright/glacial palettes retain their darker ink. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .founder-identity-copy > :is(.founder-handle, .founder-bio) {
  color: #f5f9ff;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 8, 22, .48), 0 0 12px rgba(196, 222, 255, .14);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .founder-identity-copy .founder-handle {
  color: #eaf3ff;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .founder-identity-copy > .founder-bio {
  color: #ffffff;
  font-weight: 500;
}

.founder-identity-copy>.founder-bio{margin:12px 0 0;font-size:14px;opacity:1}.founder-identity-copy>a{margin-top:6px;font-size:13px}

.founder-profile .founder-connect-stat{display:inline-grid;place-items:center;vertical-align:middle;width:34px;height:34px;border-radius:50%;padding:7px;margin:0}.founder-connect-stat[data-cta-icon]::before{margin:0;vertical-align:0}.founder-source-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.founder-source-row small{display:block;font-size:11px;opacity:.65;margin-top:4px}.founder-source-row a{font-size:12px}.founder-connections p{font-size:13px}

/* Keep the account profile's primary actions compact instead of stretching across the panel. */
.founder-profile>.founder-actions{justify-content:flex-start;flex-wrap:wrap;gap:10px}
.founder-profile>.founder-actions>.founder-icon-action{flex:0 1 auto;width:fit-content;max-width:100%;min-width:0;padding-inline:16px;white-space:nowrap}

/* The collection creation CTA stays centered below its card grid. */
.founder-profile>.founder-actions:has(>button[data-action="new-agent"]){justify-content:center;width:100%}
.founder-profile>.founder-actions>button[data-action="new-agent"]{margin-inline:auto}

/* Small glass camera cue inside the editable profile avatar. */
.founder-profile button.founder-avatar{position:relative}
.founder-avatar-camera{position:absolute;right:4px;bottom:4px;z-index:2;display:grid;place-items:center;width:24px;height:24px;padding:5px;border:1px solid rgba(255,255,255,.82);border-radius:50%;color:#18314c;background:radial-gradient(90% 75% at 28% 12%,rgba(255,255,255,.92),rgba(255,255,255,.42) 62%,rgba(191,219,250,.35)),linear-gradient(145deg,rgba(255,255,255,.62),rgba(153,190,230,.42));box-shadow:inset 0 1px 2px rgba(255,255,255,.95),inset 0 -1px 2px rgba(63,100,145,.18),0 2px 7px rgba(15,39,69,.24);-webkit-backdrop-filter:blur(12px) saturate(170%);backdrop-filter:blur(12px) saturate(170%);pointer-events:none}
.founder-avatar-camera svg{display:block;width:13px;height:13px;fill:currentColor}

/* Slightly tighten the circular collection tiles consistently across all tabs. */
.founder-grid .founder-tile{width:min(100%,100px);font-size:36px}
/* Use a bold, filled connector symbol for the revenue and profit source actions. */
.founder-connect-stat[data-cta-icon="plug"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M8%202h2v5h4V2h2v5h2v5a6%206%200%200%201-5%205.9V22h-2v-4.1A6%206%200%200%201%206%2012V7h2V2Z%22/%3E%3C/svg%3E")}
/* Give profile editor fields the softer, fuller iOS-style corner radius. */
.founder-editor input,.founder-editor textarea,.founder-editor select{border-radius:18px}
.founder-account-actions{justify-content:center}
.founder-profile .founder-account-actions > .founder-account-switch {
  min-width:0;
  min-height:26px;
  padding:3px 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:1;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.founder-profile .founder-account-actions > .founder-account-switch::after { display:none!important; }
.founder-profile .founder-account-actions > .founder-account-switch:is(:hover,:focus-visible) {
  background:transparent!important;
  box-shadow:none!important;
  transform:none;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .founder-account-actions > .founder-account-switch {
  color:#101828!important;
  text-shadow:none!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .founder-account-actions > .founder-account-switch::before {
  color:#101828!important;
  background:#101828!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) body .modal.settings-modal #settings-panel .founder-profile .founder-account-actions > button.founder-account-switch[data-auth-action="switch"][data-cta-icon] {
  border:0!important;
  border-radius:0!important;
  color:#101828!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

/* Keep sign out as a simple inline account action, matching switch account. */
.founder-profile .founder-account-actions > button[data-auth-action="sign-out"] {
  min-width:0;
  min-height:26px;
  padding:3px 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  opacity:1;
  text-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.founder-profile .founder-account-actions > button[data-auth-action="sign-out"]::after { display:none!important; }
.founder-profile .founder-account-actions > button[data-auth-action="sign-out"]:is(:hover,:focus-visible) {
  background:transparent!important;
  box-shadow:none!important;
  transform:none;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) body .modal.settings-modal #settings-panel .founder-profile .founder-account-actions > button[data-auth-action="sign-out"] {
  color:#101828!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) body .modal.settings-modal #settings-panel .founder-profile .founder-account-actions > button[data-auth-action="sign-out"]::before {
  color:#101828!important;
  background:#101828!important;
}

/* Keep the profile collection switch compact and center its single add action. */
.founder-tabs { width:186px; height:50px; padding:3px; margin:18px auto 16px; }
.founder-tabs .founder-tabs-thumb { top:3px; bottom:3px; left:3px; width:calc((100% - 6px)/3); }
.founder-tabs button { height:42px; }
.founder-collection-icon { width:20px; height:20px; }
.founder-profile>.founder-collection-actions { justify-content:center; }

.founder-identity-copy > .founder-profile-actions { margin: 10px 0 0; flex-wrap: wrap; justify-content: flex-start; }

/* Edit founder profile in the same glass overlay pattern as vault dialogs. */
.founder-profile-editor-layer { z-index: 10001; }
.founder-profile-dialog { width: min(560px, calc(100vw - 36px)); }
.founder-profile-dialog .founder-editor {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 20px 23px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.founder-profile-dialog .founder-editor label { display: grid; gap: 7px; margin: 0; }
.founder-profile-dialog .founder-editor input,
.founder-profile-dialog .founder-editor textarea { margin: 0; border-radius: 22px; }
.founder-profile-dialog .founder-editor textarea { min-height: 110px; resize: vertical; }
.founder-profile-dialog .founder-editor-notice { margin: 0; }
.founder-profile-dialog .founder-editor-footer {
  position: sticky;
  bottom: 0;
  width: calc(100% + 46px);
  min-height: 72px;
  box-sizing: border-box;
  justify-content: flex-end;
  margin: 4px -23px -1px;
  padding: 14px 23px 17px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-radius: 0 0 23px 23px;
  background: linear-gradient(135deg,rgba(65,75,91,.78),rgba(9,16,27,.9));
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 0 1px rgba(255,255,255,.1),0 -12px 30px rgba(0,0,0,.12);
}
.founder-profile-dialog .founder-editor-footer .vault-card-footer-actions { width: 100%; justify-content: flex-end; }
.founder-profile-dialog .founder-editor-footer .settings-secondary { display: inline-flex; align-items: center; gap: 9px; }
.founder-editor-action-symbol { display: inline-grid; flex: 0 0 23px; width: 23px; height: 23px; place-items: center; color: #17304d; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.founder-editor-action-symbol svg { display: block; width: 100%; height: 100%; overflow: visible; }
.founder-editor-action-symbol circle { fill: currentColor; }
.founder-editor-action-symbol path { fill: none; stroke: #f7fbff; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .founder-profile-dialog .founder-editor-footer { border-top-color: rgba(255,255,255,.72); background: linear-gradient(135deg,rgba(244,249,255,.72),rgba(183,207,238,.66)); box-shadow: inset 0 1px rgba(255,255,255,.88),0 -12px 30px rgba(52,87,128,.12); }
:root .founder-profile-dialog .founder-editor .founder-editor-footer {
  position: sticky;
  bottom: 0;
  justify-content: flex-end;
  margin: 4px -23px -1px;
  padding: 14px 23px 17px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-radius: 0 0 23px 23px;
  background: linear-gradient(135deg,rgba(65,75,91,.78),rgba(9,16,27,.9));
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 0 1px rgba(255,255,255,.1),0 -12px 30px rgba(0,0,0,.12);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .founder-profile-dialog .founder-editor .founder-editor-footer { border-top-color: rgba(255,255,255,.72); background: linear-gradient(135deg,rgba(244,249,255,.72),rgba(183,207,238,.66)); box-shadow: inset 0 1px rgba(255,255,255,.88),0 -12px 30px rgba(52,87,128,.12); }
@media (max-width: 560px) {
  .founder-profile-dialog { width: calc(100vw - 20px); max-height: 92vh; }
  .founder-profile-dialog .founder-editor { padding: 16px 17px 0; }
  :root .founder-profile-dialog .founder-editor .founder-editor-footer { width: calc(100% + 34px); margin-inline: -17px; padding: 13px 17px 15px; }
  .founder-profile-dialog .founder-editor-footer .vault-card-footer-actions { flex-wrap: wrap; }
}

.founder-profile-dialog .founder-editor.founder-share-body { padding-bottom: 14px; }
.founder-profile-dialog .founder-share-body p { margin: 0; }
.founder-profile-dialog .founder-visibility label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}
.founder-profile-dialog .founder-visibility input[role="switch"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  cursor: inherit;
}
.founder-visibility .settings-switch {
  box-sizing: border-box;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.founder-visibility input:checked + .settings-switch {
  background: linear-gradient(135deg, rgb(59 149 246 / 78%), rgb(36 103 202 / 74%));
}
.founder-visibility input:checked + .settings-switch i { transform: translateX(20px); }
.founder-visibility input:focus-visible + .settings-switch { outline: 2px solid currentColor; outline-offset: 3px; }
.founder-visibility input:disabled + .settings-switch { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  .founder-visibility .settings-switch i { transition: none; }
}
.founder-share-body .founder-editor-notice:empty { display: none; }
.founder-share-body .vault-card-footer-actions { flex-wrap: wrap; }
.token-count-inline, .founder-stats strong > .token-count-inline { display: inline-flex; align-items: center; justify-content: center; gap: .25em; font: inherit; color: inherit; }
.founder-stats strong > .token-count-inline { margin-top:0;opacity:1;font-weight:600; }
.founder-stats > div:has(.token-count-inline) > span { opacity:.9; }
.founder-stats > div:has(.token-count-inline) { border-color:var(--founder-line);background:linear-gradient(145deg,#ffffff2b,#ffffff08);box-shadow:inset 0 1px 2px #ffffff70,inset 0 -1px 1px #8eb1d52b,0 10px 24px #00122a1c;-webkit-backdrop-filter:blur(32px) saturate(165%);backdrop-filter:blur(32px) saturate(165%); }

/* Shared logo-quality contract: protect the complete mark inside every circle. */
.founder-tile { padding:9px; }
.founder-tile:not(.founder-agent-tile) img { display:block;width:78%;height:78%;max-width:78%;max-height:78%;aspect-ratio:1;object-fit:contain;object-position:center;border:1px solid rgba(255,255,255,.42);border-radius:50%;clip-path:circle(50%);background:radial-gradient(circle at 34% 24%,#19385f,#07111f 74%);box-shadow:inset 0 1px rgba(255,255,255,.2);image-rendering:auto;transform:none!important; }
.token-count-inline .token-count-orb { position: relative; display: inline-block; width: 1em; height: 1em; min-width: 18px; min-height: 18px; flex: none; margin: 0; }
.token-count-orb > img, .token-count-orb > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.token-count-orb.is-rendered > img { opacity: 0; }


.founder-identity-copy > a.third-party-mention {
  height:auto;
  min-height:1.9em;
  padding:.2em .7em .2em .35em;
  gap:.4em;
  font-weight:400;
}
