:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  --sidebar: 360px;
  --browser: 0px;
  --bg: #02060c;
  --ink: #f5f8ff;
  --muted: #9ba7b6;
  --line: rgba(201, 224, 255, 0.2);
  --line-strong: rgba(219, 235, 255, 0.38);
  --glass-top: rgba(128, 151, 178, 0.2);
  --glass-bottom: rgba(6, 12, 21, 0.48);
  --accent: #9ac5ff;
  --orb-glow: rgba(95, 161, 255, 0.38);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="glacial"] {
  --bg: #05111f;
  --glass-top: rgba(88, 146, 215, 0.28);
  --glass-bottom: rgba(5, 21, 42, 0.56);
  --accent: #7bc1ff;
  --line: rgba(143, 204, 255, 0.26);
  --line-strong: rgba(185, 223, 255, 0.54);
}

:root[data-theme="bright"] {
  color-scheme: light;
  --bg: #a9bbd5;
  --ink: #142235;
  --muted: #52627a;
  --line: rgba(255, 255, 255, 0.55);
  --line-strong: rgba(255, 255, 255, 0.82);
  --glass-top: rgba(243, 249, 255, 0.58);
  --glass-bottom: rgba(150, 177, 216, 0.32);
  --accent: #2458a6;
  --shadow: 0 24px 70px rgba(32, 53, 84, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

* { box-sizing: border-box; }
html, body, #app { width: 100%; height: 100%; margin: 0; overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
body {
  background:
    radial-gradient(70% 85% at 15% 0%, rgba(77, 112, 162, 0.22), transparent 62%),
    radial-gradient(55% 70% at 90% 100%, rgba(42, 79, 126, 0.17), transparent 64%),
    var(--bg);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(115deg, transparent 20%, rgba(255,255,255,.025) 32%, transparent 45%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 1.2px);
  background-size: 100% 100%, 4px 4px;
  mix-blend-mode: screen;
}

.focus-ring:focus-visible,
input:focus-visible { outline: 2px solid #a9d2ff; outline-offset: 2px; }
.liquid {
  background:
    linear-gradient(145deg, var(--glass-top), var(--glass-bottom)),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.14), transparent 38%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 12px 30px rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.desktop-shell {
  position: relative;
  display: grid;
  grid-template-columns: var(--sidebar) 1px minmax(520px, 1fr) var(--browser);
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  margin: 7px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: rgba(1, 5, 10, .74);
  box-shadow: 0 28px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  transition: grid-template-columns .34s cubic-bezier(.2,.75,.2,1);
}

.desktop-shell.browser-open { --browser: min(47vw, 660px); }
.window-drag-region { height: 30px; position: absolute; inset: 0 0 auto 0; z-index: 0; }

.sidebar {
  position: relative;
  min-width: 280px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(100% 60% at 0% 0%, rgba(95,129,173,.22), transparent 60%),
    linear-gradient(150deg, rgba(29,43,60,.85), rgba(3,10,18,.78));
  border-right: 1px solid var(--line);
}

.sidebar-header { display:flex; align-items:center; justify-content:space-between; margin:0 4px 18px; }
.brand-mark { border:0; background:transparent; padding:0; width:62px; height:62px; border-radius:18px; cursor:pointer; }
.brand-mark img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 7px 18px rgba(128,183,255,.25)); }
.round-control { width:50px; height:50px; border-radius:50%; font-size:32px; line-height:1; cursor:pointer; }
.venture-selectors { display:grid; gap:10px; }
.selector-wrap { position:relative; }
.venture-selector {
  width:100%; min-height:68px; padding:9px 15px 9px 9px; border-radius:34px;
  display:grid; grid-template-columns:48px 1fr 20px; gap:10px; align-items:center;
  color:var(--ink); text-align:left; cursor:pointer;
}
.venture-selector:hover { border-color:var(--line-strong); transform:translateY(-1px); }
.venture-selector small, .venture-selector strong { display:block; }
.venture-selector .venture-name-pill { display:inline-flex;align-items:center;gap:4px;width:max-content;max-width:100%;height:20px;min-height:20px;margin-top:2px;padding:0 7px 0 2px;border:1px solid rgba(207,225,250,.48);border-radius:999px;background:radial-gradient(circle at 22% 0%,rgba(255,255,255,.28),transparent 48%),linear-gradient(145deg,rgba(211,229,252,.18),rgba(87,119,164,.1) 54%,rgba(18,28,45,.18));box-shadow:inset 0 1px 1px rgba(255,255,255,.38),inset 0 -1px rgba(119,154,202,.14),0 4px 12px rgba(3,10,23,.14);font-size:12px;font-weight:400;line-height:18px;vertical-align:middle;-webkit-backdrop-filter:blur(18px) saturate(165%);backdrop-filter:blur(18px) saturate(165%); }
.venture-selector .venture-name-avatar { display:inline-grid;place-items:center;width:16px;height:16px;flex:0 0 16px;overflow:hidden;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(255,255,255,.22); }
.venture-selector .venture-name-avatar img { width:100%;height:100%;object-fit:cover; }
:root[data-theme="bright"] .venture-selector .venture-name-pill { border-color:rgba(255,255,255,.82);background:radial-gradient(circle at 22% 0%,rgba(255,255,255,.8),transparent 48%),linear-gradient(145deg,rgba(255,255,255,.48),rgba(194,220,249,.3) 56%,rgba(116,158,210,.2)); }
.venture-selector small { color:var(--muted); font-size:12px; margin-bottom:3px; }
.selector-label-icon { display:inline-block;width:10px;height:10px;margin-right:4px;vertical-align:-1px;fill:currentColor; }
.venture-selector strong { font-size:17px; font-weight:580; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.venture-badge { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-size:22px; font-family:Georgia,serif; background:linear-gradient(145deg,#e67c43,#8b2e13); border:1px solid rgba(255,255,255,.5); box-shadow:inset 0 1px 5px rgba(255,255,255,.25); }
.venture-badge.product { background:linear-gradient(145deg,#c77f49,#842c1a); }
.chevron { justify-self:end; color:var(--muted); }
.selector-menu { position:absolute; left:0; right:0; top:calc(100% + 7px); padding:7px; border-radius:22px; z-index:20; box-shadow:var(--shadow); }
.selector-menu[hidden] { display:none; }
.selector-menu::before {
  content:"";
  position:absolute;
  inset:auto 0 100%;
  height:8px;
}
.selector-option { width:100%; border:0; background:transparent; border-radius:15px; padding:11px 12px; text-align:left; cursor:pointer; display:flex; align-items:center; justify-content:space-between; }
.selector-option:hover, .selector-option.selected { background:rgba(173,209,255,.12); }
.selector-option small { color:var(--muted); }

.search { margin-top:16px; min-height:48px; border-radius:25px; padding:0 14px; display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:6px; color:var(--muted); }
.search input { width:100%; border:0; outline:0; color:var(--ink); background:transparent; }
.search input::placeholder { color:var(--muted); }
.search kbd { font-size:10px; border:1px solid var(--line); border-radius:6px; padding:2px 5px; opacity:.55; }
.sidebar-label { color:#9ba9ba; font-size:11px; letter-spacing:.16em; margin:22px 12px 12px; }
.chat-list { flex:1; min-height:0; overflow:auto; margin:0 -4px; padding:0 4px 10px; scrollbar-width:none; }
.chat-list::-webkit-scrollbar { display:none; }
.chat-item { width:100%; border:1px solid transparent; background:transparent; border-radius:26px; padding:12px 10px; display:grid; grid-template-columns:54px minmax(0,1fr) auto; gap:10px; text-align:left; cursor:pointer; color:var(--ink); }
.chat-item:hover { background:rgba(167,200,240,.07); }
.chat-item.active { border-color:var(--line-strong); background:linear-gradient(145deg,rgba(117,142,173,.18),rgba(3,9,16,.44)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
.chat-orb { width:52px; height:52px; object-fit:contain; border-radius:50%; filter:drop-shadow(0 0 11px var(--orb-glow)); }
.chat-copy { min-width:0; align-self:center; }
.chat-copy strong { display:block; font-size:15px; font-weight:560; line-height:1.22; }
.chat-copy small strong, .chat-hover-preview small strong, .create-hub-chat-preview strong { display:inline; font:inherit; font-weight:700; }
.chat-copy small { display:block; margin-top:6px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-time { font-size:11px; color:#94a1b1; padding-top:4px; }
.team-orbs { position:relative; width:54px; height:52px; }


.account-card { width:100%; flex:0 0 auto; border-radius:30px; min-height:70px; padding:9px 13px; display:grid; grid-template-columns:48px 1fr auto; gap:10px; align-items:center; text-align:left; cursor:pointer; }
.account-card img { width:48px; height:48px; object-fit:cover; border-radius:50%; border:1px solid rgba(255,255,255,.35); }
.wallet-sidebar-label strong,.account-card strong,.wallet-sidebar-label small,.account-card small { display:block; }.wallet-sidebar-label small,.account-card small{color:var(--muted);margin-top:3px}.account-more{color:var(--muted)}
.sidebar-resizer { cursor:col-resize; background:rgba(196,220,255,.16); z-index:5; }

.workspace { position:relative; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:88px minmax(0,1fr) auto; width:100%; height:100%; min-width:0; min-height:0; overflow:hidden; background:radial-gradient(90% 80% at 50% 15%,rgba(17,31,50,.42),transparent 65%),rgba(1,5,11,.52); }
.workspace-header { padding:24px 24px 16px 28px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.agent-heading { display:flex; align-items:center; gap:12px; min-width:0; }
.agent-heading strong { font-size:19px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.orb-wrap { width:58px; height:58px; position:relative; }
.orb-wrap::after { content:""; position:absolute; inset:8px; border-radius:50%; background:rgba(90,154,255,.2); filter:blur(12px); }
.orb-wrap img { position:relative; z-index:1; width:100%; height:100%; object-fit:contain; animation:orb-float 5s ease-in-out infinite; }
.presence { font-size:11px; color:var(--muted); padding:5px 9px; border:1px solid var(--line); border-radius:99px; }.presence i{display:inline-block;width:6px;height:6px;background:#7ce6ad;border-radius:50%;margin-right:5px;box-shadow:0 0 8px #7ce6ad}
.header-actions { display:flex; gap:9px; }.icon-button{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:rgba(10,17,28,.58);cursor:pointer;font-size:20px}.icon-button:hover{border-color:var(--line-strong);background:rgba(137,176,226,.12)}

.conversation { overflow:auto; padding:42px clamp(28px,4vw,76px) 40px; scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:rgba(161,190,226,.28) transparent; }
.timestamp { color:var(--muted); text-align:center; font-size:14px; margin-bottom:32px; }
.message { display:flex; gap:14px; min-width:0; margin:0 0 26px; animation:message-in .35s ease-out both; }
.message.user { justify-content:flex-end; }
.message.user .bubble { width:fit-content; max-width:min(72%,680px); min-width:0; overflow-wrap:anywhere; color:#122033; background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(210,220,233,.88)); border-color:rgba(255,255,255,.92); font-weight:480; }
.message.agent .bubble { max-width:min(760px,82%); }
.message-orb { width:42px; height:42px; object-fit:contain; flex:0 0 42px; filter:drop-shadow(0 0 11px var(--orb-glow)); }
.bubble { border:1px solid var(--line-strong); background:linear-gradient(145deg,rgba(91,112,139,.42),rgba(17,26,39,.66)); border-radius:30px; padding:20px 25px; box-shadow:0 14px 34px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.11); font-size:18px; line-height:1.55; }
.bubble strong { font-weight:700; }
.handoff { display:inline-flex; align-items:center; gap:6px; padding:2px 8px; border-radius:99px; background:rgba(90,147,218,.14); color:#c7deff; font-size:.85em; font-weight:700; }
.activity-line { display:flex; align-items:center; gap:12px; color:var(--muted); margin:18px 0 24px; }.activity-line img{width:40px;height:40px;object-fit:contain}.dots i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b5c4d8;margin-right:5px;animation:pulse 1.2s infinite}.dots i:nth-child(2){animation-delay:.18s}.dots i:nth-child(3){animation-delay:.36s}
.computer-card { margin:8px 0 26px 56px; max-width:820px; border-radius:30px; overflow:hidden; border:1px solid var(--line-strong); background:linear-gradient(150deg,rgba(115,137,165,.22),rgba(6,13,23,.7)); box-shadow:var(--shadow); }
.computer-preview { position:relative; min-height:238px; padding:28px; background:radial-gradient(circle at 60% 30%,rgba(111,75,139,.25),transparent 45%),linear-gradient(145deg,#182434,#07101c); overflow:hidden; }
.computer-window { height:184px; border:1px solid rgba(255,255,255,.25); border-radius:20px; background:rgba(3,8,15,.72); box-shadow:0 22px 40px rgba(0,0,0,.38); padding:15px; }
.computer-window .mini-bar{height:22px;border-bottom:1px solid var(--line);margin-bottom:12px;display:flex;gap:7px}.computer-window .mini-bar i{width:7px;height:7px;border-radius:50%;background:#778ba4}.computer-window h3{margin:0 0 7px;font-size:17px}.computer-window p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.mini-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin-top:14px}.mini-grid div{height:64px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,rgba(105,139,181,.18),rgba(7,13,21,.2));padding:9px;font-size:11px;color:#c9d4e2}
.tool-links { display:flex; gap:9px; flex-wrap:wrap; padding:18px 20px 6px; }.tool-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:99px;padding:10px 14px;background:rgba(8,15,25,.55);color:inherit;font:inherit;font-size:13px;text-decoration:none;white-space:nowrap;cursor:pointer}.tool-chip-icon{width:22px;height:22px;flex:none;border-radius:7px;background:#f5f5f7;display:grid;place-items:center;overflow:hidden}.tool-chip-icon img{display:block;width:100%;height:100%;object-fit:contain}.tool-chip-arrow{font-size:1.1em;line-height:1;opacity:.8}.tool-chip:hover{border-color:var(--line-strong);filter:brightness(1.12)}
.result-list { margin:12px 20px 20px; padding:16px 18px; border:1px solid var(--line); border-radius:24px; background:rgba(35,48,64,.38); }
.result-row { display:grid;grid-template-columns:26px 1fr;gap:10px;padding:9px 0;font-size:16px;line-height:1.4}.result-row span:first-child{width:24px;height:24px;border:1px solid var(--line-strong);border-radius:50%;display:grid;place-items:center;font-size:12px}
.reaction-row { display:flex; gap:6px; opacity:0; transition:.2s; margin:8px 0 0 58px; }.message:hover + .reaction-row,.reaction-row:hover{opacity:1}.reaction-row button{border:1px solid var(--line);border-radius:99px;background:rgba(12,20,31,.7);padding:5px 8px;cursor:pointer}

.composer-area { border-top:1px solid var(--line); padding:16px 24px 18px; background:linear-gradient(180deg,rgba(4,9,16,.55),rgba(2,6,11,.9)); }
.suggestion-row { display:flex; gap:10px; overflow:auto; padding-bottom:14px; scrollbar-width:none; }.suggestion-row::-webkit-scrollbar{display:none}.suggestion{flex:0 0 auto;border:1px solid var(--line);border-radius:99px;background:rgba(16,23,34,.72);padding:10px 15px;color:var(--ink);cursor:pointer;white-space:nowrap}.suggestion:hover{background:rgba(111,147,192,.16);border-color:var(--line-strong)}
.composer { min-height:58px; border-radius:30px; padding:6px 8px; display:grid;grid-template-columns:42px minmax(0,1fr) 42px 42px 42px 44px;gap:5px;align-items:center}.composer input{border:0;outline:0;background:transparent;color:var(--ink);font-size:16px;padding:0 7px}.composer input::placeholder{color:#7f8a99}.composer-plus,.mic-button,.live-voice-button,.live-video-button,.send-button{height:42px;border:0;border-radius:50%;background:rgba(117,145,180,.13);color:var(--ink);cursor:pointer;font-size:20px}.send-button{background:linear-gradient(145deg,#c2dcff,#5684c5);color:#0b1827;box-shadow:0 0 20px rgba(105,163,240,.22)}.mic-button.recording{background:#ff5c65;color:white;animation:pulse-ring 1.4s infinite}

.cofounder-browser { width:100%; height:100%; min-width:0; min-height:0; overflow:hidden; border-left:1px solid var(--line-strong); background:linear-gradient(160deg,rgba(61,76,96,.7),rgba(4,10,18,.94)); display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:70px auto auto auto minmax(0,1fr); opacity:0; pointer-events:none; transition:opacity .25s ease; }
.desktop-shell.browser-open .cofounder-browser{opacity:1;pointer-events:auto}.browser-header{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px 20px;border-bottom:1px solid var(--line);white-space:nowrap}.browser-header>div{display:flex;align-items:center;gap:10px}.browser-symbol{font-size:22px}.browser-header .icon-button{width:38px;height:38px}.browser-agents{display:flex;gap:7px;padding:12px 14px;overflow:auto}.browser-agent{border:1px solid var(--line);border-radius:99px;padding:7px 10px;background:rgba(13,21,32,.5);display:flex;align-items:center;gap:7px;white-space:nowrap}.browser-agent img{width:27px;height:27px;object-fit:contain}.browser-tabs{position:relative;isolation:isolate;display:flex;gap:7px;padding:0 14px 8px;overflow:auto}.browser-tab{position:relative;z-index:1;border:1px solid var(--line);border-radius:15px 15px 9px 9px;padding:10px 12px;background:rgba(7,14,23,.55);white-space:nowrap;cursor:pointer;transition:color .22s ease,transform .3s cubic-bezier(.2,.8,.2,1),border-color .22s ease}.browser-tab:hover{transform:translateY(-1px)}.browser-tab.active{background:transparent;border-color:transparent;color:var(--ink)}.browser-tab.active::before{position:absolute;inset:0;z-index:-1;border:1px solid var(--line-strong);border-radius:inherit;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(190,216,248,.12));box-shadow:inset 0 1px rgba(255,255,255,.45),0 5px 15px rgba(28,58,98,.14);content:"";animation:browser-tab-settle .36s cubic-bezier(.2,.8,.2,1) both}@keyframes browser-tab-settle{from{opacity:.55;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.browser-address{margin:0 14px 12px;padding:6px;display:grid;grid-template-columns:34px 34px 34px 1fr 48px;gap:5px;align-items:center;border:1px solid var(--line);border-radius:22px;background:rgba(5,11,18,.56)}.browser-address button{height:34px;border:0;border-radius:17px;background:rgba(130,160,196,.12);color:var(--ink);cursor:pointer}.browser-address>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c5d0df;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.browser-content{margin:0 14px 14px;border:1px solid var(--line);border-radius:25px;background:rgba(4,10,17,.66);overflow:auto;padding:22px}.artifact-head{display:flex;gap:13px;align-items:center;margin-bottom:20px}.artifact-icon{width:52px;height:52px;border:1px solid var(--line-strong);border-radius:16px;display:grid;place-items:center;background:rgba(151,178,211,.16);font-size:23px}.artifact-head small{display:block;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.artifact-head h2{margin:5px 0 0;font-size:23px}.artifact-table{display:grid;gap:9px}.artifact-row{display:grid;grid-template-columns:140px 1fr;gap:12px;border:1px solid var(--line);border-radius:16px;padding:14px;background:rgba(82,104,132,.09)}.artifact-row strong{font-size:15px}.artifact-row span{color:#d8e1ed;line-height:1.4}.artifact-foot{text-align:center;color:#6f7d8e;font-size:12px;margin-top:18px}

.modal-layer { position:fixed; inset:0; z-index:70; display:grid; place-items:center; }.modal-layer[hidden]{display:none}.modal-backdrop{position:absolute;inset:0;background:rgba(0,2,6,.68);backdrop-filter:blur(18px)}.modal{position:relative;width:min(560px,calc(100vw - 40px));max-height:calc(100vh - 60px);overflow:auto;border-radius:34px;padding:28px;box-shadow:0 32px 100px rgba(0,0,0,.7)}.modal h2{margin:0 0 7px;font-size:26px}.modal p{color:var(--muted);line-height:1.55}.modal-close{position:absolute;right:18px;top:18px}.field{display:grid;gap:7px;margin:16px 0}.field span{font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.field input,.field select{width:100%;border:1px solid var(--line);border-radius:17px;background:rgba(3,9,16,.55);color:var(--ink);padding:13px 14px;outline:0}.primary-btn,.secondary-btn{border:1px solid var(--line-strong);border-radius:99px;padding:13px 20px;cursor:pointer}.primary-btn{background:linear-gradient(145deg,#eff7ff,#82a9df);color:#101c2d;font-weight:650}.secondary-btn{background:rgba(91,119,154,.12)}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.appearance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.appearance-option{border:1px solid var(--line);border-radius:18px;padding:16px 10px;background:rgba(28,40,56,.42);cursor:pointer}.appearance-option.active{border-color:#a8d4ff;box-shadow:0 0 20px rgba(92,159,235,.22)}

/* Orb-only, agent-led one-to-one voice session. */
.voice-call-layer {
  position:fixed;
  inset:0;
  z-index:90;
  display:grid;
  place-items:center;
  position:relative;
  color:var(--ink);
  isolation:isolate;
}
.voice-call-layer[hidden] { display:none; }
.voice-call-backdrop {
  position:absolute;
  inset:0;
  background:
    radial-gradient(52% 56% at 50% 48%,rgba(80,124,184,.16),transparent 72%),
    rgba(1,5,11,.55);
  -webkit-backdrop-filter:blur(22px) saturate(150%);
  backdrop-filter:blur(22px) saturate(150%);
}
.voice-orb-stage {
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  pointer-events:none;
}
.voice-orb-stage::before {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:min(520px,60vw,66vh);
  height:min(520px,60vw,66vh);
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(117,177,247,.18),rgba(82,128,192,.055) 43%,transparent 70%);
  filter:blur(10px);
  opacity:.78;
  transition:opacity .24s ease,transform .24s ease;
  pointer-events:none;
}
.voice-call-close {
  position:absolute;
  z-index:3;
  right:clamp(22px,3vw,42px);
  top:clamp(22px,3vw,42px);
  width:46px;
  height:46px;
  padding:0;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(225,239,255,.43);
  color:var(--ink);
  background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.34),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.18),rgba(89,126,173,.1) 54%,rgba(1,7,15,.38));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.42),0 8px 24px rgba(0,0,0,.25);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  backdrop-filter:blur(24px) saturate(180%);
  cursor:pointer;
  pointer-events:auto;
}
.voice-call-close svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round; }
.voice-agent-orb {
  position:relative;
  z-index:2;
  width:min(390px,44vw,52vh);
  height:min(390px,44vw,52vh);
  min-width:220px;
  min-height:220px;
  border-radius:50%;
  filter:drop-shadow(0 26px 42px rgba(0,0,0,.3)) drop-shadow(0 0 44px rgba(106,169,246,.28));
  transform-origin:50% 54%;
  pointer-events:auto;
  will-change:transform,filter;
}
.voice-agent-orb > .living-orb { width:100%;height:100%; }
.voice-agent-orb img,
.voice-agent-orb canvas { width:100%;height:100%;object-fit:contain; }
.voice-accessible-status,
.voice-accessible-transcript {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.voice-call-layer[data-state="connecting"] .voice-agent-orb { animation:voice-orb-breathe 2.1s ease-in-out infinite; }
.voice-call-layer[data-state="speaking"] .voice-agent-orb { animation:voice-orb-speaking .7s ease-in-out infinite;filter:drop-shadow(0 30px 48px rgba(0,0,0,.3)) drop-shadow(0 0 68px rgba(112,185,255,.58)); }
.voice-call-layer[data-state="listening"] .voice-agent-orb { animation:voice-orb-listening 2.3s ease-in-out infinite;filter:drop-shadow(0 24px 42px rgba(0,0,0,.28)) drop-shadow(0 0 54px rgba(124,195,255,.42)); }
.voice-call-layer[data-state="thinking"] .voice-agent-orb { animation:voice-orb-thinking 1.05s ease-in-out infinite;filter:drop-shadow(0 28px 44px rgba(0,0,0,.3)) drop-shadow(0 0 64px rgba(157,133,255,.5)); }
.voice-call-layer[data-state="speaking"] .voice-orb-stage::before { opacity:1;transform:translate(-50%,-50%) scale(1.08); }
.voice-call-layer[data-state="listening"] .voice-orb-stage::before { opacity:.9;transform:translate(-50%,-50%) scale(.96); }
@keyframes voice-orb-breathe { 0%,100%{transform:translateY(0) scale(.985)} 50%{transform:translateY(-5px) scale(1.015)} }
@keyframes voice-orb-speaking { 0%,100%{transform:translateY(0) scale(1)} 35%{transform:translateY(-8px) scale(1.028)} 68%{transform:translateY(3px) scale(.992)} }
@keyframes voice-orb-listening { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-4px) scale(1.018)} }
@keyframes voice-orb-thinking { 0%,100%{transform:translateY(2px) scale(.985)} 50%{transform:translateY(-7px) scale(1.025)} }
:root[data-theme="bright"] .voice-call-backdrop,
:root[data-theme="glacial"] .voice-call-backdrop { background:radial-gradient(54% 60% at 50% 48%,rgba(128,178,235,.25),transparent 72%),rgba(196,215,240,.38); }
:root[data-theme="bright"] .voice-call-close,
:root[data-theme="glacial"] .voice-call-close { color:#17304e;border-color:rgba(255,255,255,.82);background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.96),transparent 36%),linear-gradient(145deg,rgba(255,255,255,.74),rgba(174,204,240,.43) 56%,rgba(107,148,201,.25));box-shadow:inset 0 1px 1.5px rgba(255,255,255,.94),0 8px 22px rgba(44,76,116,.18); }
@media (max-width:700px),(max-height:620px) { .voice-agent-orb{width:min(300px,52vw,52vh);height:min(300px,52vw,52vh);min-width:170px;min-height:170px}.voice-call-close{width:42px;height:42px} }
@media (prefers-reduced-motion:reduce) { .voice-agent-orb{animation:none!important}.voice-orb-stage::before{transition:none!important} }

/* Compact, nonblocking live call controls. */
.voice-call-layer{inset:auto auto clamp(108px,17vh,150px) 50%;width:max-content;max-width:calc(100vw - 28px);display:flex;flex-direction:column;align-items:center;gap:10px;transform:translate(calc(-50% + var(--voice-drag-x,0px)),var(--voice-drag-y,0px));pointer-events:none;color:#eef3fc}
.voice-call-layer[hidden],.voice-call-layer [hidden]{display:none!important}
.voice-call-bar{width:min(550px,calc(100vw - 28px));min-height:66px;padding:8px 10px 8px 12px;display:flex;align-items:center;gap:7px;border:1.5px solid rgba(240,247,255,.68);border-radius:999px;background:radial-gradient(ellipse 65% 100% at 20% 0%,rgba(247,251,255,.38),transparent 75%),linear-gradient(150deg,rgba(172,192,219,.34),rgba(69,92,128,.26) 42%,rgba(28,39,61,.48) 100%);-webkit-backdrop-filter:blur(38px) saturate(185%);backdrop-filter:blur(38px) saturate(185%);box-shadow:inset 0 2px 1px rgba(255,255,255,.56),inset 0 -1px 1px rgba(138,183,235,.25),0 17px 46px rgba(0,0,0,.35),0 0 24px rgba(151,192,245,.12);pointer-events:auto;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.voice-call-bar{border-color:rgba(241,248,255,.72);background:radial-gradient(ellipse 75% 85% at 20% 0%,rgba(255,255,255,.24),transparent 76%),linear-gradient(145deg,rgba(206,223,245,.18),rgba(101,128,163,.12) 52%,rgba(54,73,106,.2));-webkit-backdrop-filter:blur(16px) saturate(165%);backdrop-filter:blur(16px) saturate(165%);box-shadow:inset 0 1.5px 1px rgba(255,255,255,.7),inset 0 -1px rgba(194,221,255,.22),0 14px 34px rgba(4,13,31,.22),0 0 20px rgba(172,204,248,.1)}
:root[data-theme="bright"] .voice-call-bar,:root[data-theme="glacial"] .voice-call-bar{color:#193451;border-color:rgba(255,255,255,.86);background:radial-gradient(ellipse 75% 90% at 18% 0%,rgba(255,255,255,.38),transparent 72%),linear-gradient(145deg,rgba(255,255,255,.24),rgba(221,238,255,.12) 52%,rgba(167,202,239,.14));box-shadow:inset 0 1.5px 1px rgba(255,255,255,.86),inset 0 -1px rgba(102,151,208,.12),0 12px 28px rgba(38,83,142,.13)}
:root[data-theme="bright"] .voice-call-bar .voice-control:not(.voice-end),:root[data-theme="glacial"] .voice-call-bar .voice-control:not(.voice-end){color:#214361;border-color:rgba(255,255,255,.72);background:linear-gradient(145deg,rgba(255,255,255,.34),rgba(156,195,237,.12));box-shadow:inset 0 1px rgba(255,255,255,.7),0 4px 12px rgba(46,85,131,.12)}
@media(prefers-reduced-transparency:reduce){.voice-call-bar{background:#273a56;-webkit-backdrop-filter:none;backdrop-filter:none}:root[data-theme="bright"] .voice-call-bar,:root[data-theme="glacial"] .voice-call-bar{background:#d8e9fa}}
.voice-call-bar:active,.voice-call-bar.is-dragging{cursor:grabbing}
.voice-call-bar:focus-visible{outline:2px solid #a7d5ff;outline-offset:3px}
.voice-call-layer .voice-agent-orb{width:48px;height:48px;min-width:48px;min-height:48px;flex:none;filter:drop-shadow(0 0 10px rgba(121,160,255,.35))}
.voice-call-layer .voice-agent-orb img,.voice-call-layer .voice-agent-orb canvas{width:100%;height:100%}
.voice-waveform{height:40px;min-width:48px;display:flex;align-items:center;justify-content:flex-end;gap:3px;flex:1;overflow:hidden;padding:0 7px}
.voice-waveform i{display:block;flex:0 0 4px;height:5px;border-radius:4px;background:linear-gradient(180deg,#d9c0ff,#9562f8 48%,#6443b7);box-shadow:0 0 9px rgba(143,88,255,.3);transition:height 90ms ease}
.voice-call-layer[data-state="thinking"] .voice-waveform i{animation:voice-wave-pulse .7s ease-in-out infinite alternate}
.voice-call-layer[data-state="thinking"] .voice-waveform i:nth-child(3n){animation-delay:.2s}
.voice-call-layer[data-state="muted"] .voice-waveform i,.voice-call-layer[data-state="error"] .voice-waveform i{height:4px!important;opacity:.35}
@keyframes voice-wave-pulse{from{height:6px}to{height:25px}}
.voice-control{width:56px;height:56px;flex:none;border:1px solid rgba(242,249,255,.43);border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 28% 15%,rgba(255,255,255,.35),transparent 55%),linear-gradient(145deg,rgba(183,205,231,.26),rgba(43,63,99,.28));-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 5px 14px rgba(0,0,0,.15);color:#f7faff;cursor:pointer;transition:background .18s ease,transform .18s ease,border-color .18s ease}
.voice-control:hover,.voice-control[aria-expanded="true"],.voice-control[aria-pressed="true"]{background:linear-gradient(145deg,rgba(229,240,255,.44),rgba(134,163,206,.26));border-color:rgba(244,250,255,.76)}
.voice-control:active{transform:scale(.95)}
.voice-control svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.voice-end{background:radial-gradient(circle at 28% 14%,rgba(255,180,192,.38),transparent 55%),linear-gradient(145deg,rgba(225,49,68,.92),rgba(159,22,47,.88));border-color:rgba(255,213,219,.7);color:white}
.voice-end:hover{background:linear-gradient(145deg,rgba(244,72,91,.96),rgba(185,28,53,.94));border-color:rgba(255,239,242,.86)}
.voice-call-bar .voice-control{width:40px;height:40px;border-color:rgba(245,251,255,.65);background:radial-gradient(circle at 28% 12%,rgba(255,255,255,.33),transparent 56%),linear-gradient(145deg,rgba(222,235,253,.25),rgba(104,133,169,.13));-webkit-backdrop-filter:blur(13px) saturate(165%);backdrop-filter:blur(13px) saturate(165%);box-shadow:inset 0 1px rgba(255,255,255,.62),inset 0 -1px rgba(163,202,248,.14),0 4px 12px rgba(7,25,53,.13)}
.voice-call-bar .voice-control svg{width:18px;height:18px;fill:currentColor;stroke:none}
.voice-call-bar #voice-mute-button .voice-mic-off{display:none}
.voice-call-bar #voice-mute-button[aria-pressed="true"] .voice-mic-on{display:none}
.voice-call-bar #voice-mute-button[aria-pressed="true"] .voice-mic-off{display:block}
.voice-call-bar #voice-mute-button .voice-mute-slash{fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round}
.voice-call-layer.is-muted .voice-waveform i{height:4px!important;opacity:.65;background:linear-gradient(180deg,#ffc36e,#e99222);box-shadow:0 0 7px rgba(242,145,29,.25)}
.voice-call-bar .voice-control:hover,.voice-call-bar .voice-control[aria-expanded="true"],.voice-call-bar .voice-control[aria-pressed="true"]{background:linear-gradient(145deg,rgba(255,255,255,.38),rgba(161,195,237,.21));border-color:rgba(255,255,255,.86)}
.voice-call-bar #voice-mute-button[aria-pressed="true"],:root[data-theme="bright"] .voice-call-bar #voice-mute-button[aria-pressed="true"],:root[data-theme="glacial"] .voice-call-bar #voice-mute-button[aria-pressed="true"]{color:#f2f7ff;border-color:rgba(226,238,255,.68);background:radial-gradient(circle at 26% 12%,rgba(232,242,255,.2),transparent 55%),linear-gradient(145deg,rgba(61,78,105,.77),rgba(15,28,50,.82));-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%);box-shadow:inset 0 1px 1px rgba(255,255,255,.42),inset 0 -1px rgba(162,193,235,.18),0 5px 14px rgba(5,15,31,.24)}
.voice-call-bar #voice-mute-button[aria-pressed="true"]:hover{background:linear-gradient(145deg,rgba(82,102,132,.83),rgba(22,39,65,.87))}
.voice-call-bar .voice-end{color:#fff;border-color:rgba(255,218,224,.7);background:radial-gradient(circle at 30% 8%,rgba(255,225,231,.4),transparent 58%),linear-gradient(145deg,rgba(229,62,83,.72),rgba(151,28,54,.66));box-shadow:inset 0 1px rgba(255,255,255,.5),0 5px 14px rgba(102,20,37,.2)}
.voice-call-bar .voice-end:hover{background:linear-gradient(145deg,rgba(238,75,97,.82),rgba(167,34,60,.75))}
.voice-call-panel,.voice-settings-panel{width:min(630px,calc(100vw - 38px));border:1.5px solid rgba(239,247,255,.58);border-radius:27px;padding:18px;background:radial-gradient(ellipse 85% 80% at 15% 0%,rgba(246,251,255,.26),transparent 85%),linear-gradient(150deg,rgba(137,160,193,.42),rgba(27,40,66,.68));-webkit-backdrop-filter:blur(34px) saturate(180%);backdrop-filter:blur(34px) saturate(180%);box-shadow:inset 0 1px 1px rgba(255,255,255,.35),0 18px 52px rgba(0,0,0,.34);pointer-events:auto}
.voice-panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;font-size:14px}
.voice-panel-heading strong{font-size:16px}.voice-panel-heading span{color:#bfccdf;text-align:right}
.voice-call-layer .voice-accessible-transcript{position:relative!important;width:100%!important;height:auto!important;max-height:190px!important;min-height:48px;clip:auto!important;white-space:normal!important;overflow:auto!important;margin:0 0 12px!important;padding:4px!important;border:0!important;line-height:1.4;font-size:14px}
.voice-accessible-transcript p{margin:0 0 8px}.voice-accessible-transcript strong{color:#fff}
.voice-text-form{display:flex;gap:8px;border:1px solid rgba(230,239,255,.25);border-radius:99px;padding:4px 5px 4px 14px;background:rgba(5,12,24,.38)}
.voice-text-form input{flex:1;min-width:0;border:0;background:transparent;color:#fff;outline:0;font:inherit}.voice-text-form input::placeholder{color:#a6b4c9}
.voice-text-form button{width:34px;height:34px;border:1px solid rgba(236,244,255,.5);border-radius:50%;background:rgba(207,224,251,.3);color:#fff;cursor:pointer}
.voice-record-button{display:block;margin:12px auto 0;padding:9px 17px;border:1px solid rgba(240,248,255,.65);border-radius:999px;background:linear-gradient(145deg,rgba(234,242,255,.33),rgba(139,170,210,.2));color:inherit;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.voice-record-button[aria-pressed="true"]{background:linear-gradient(145deg,rgba(255,190,190,.47),rgba(181,60,71,.3))}
.voice-record-button:disabled{opacity:.5;cursor:not-allowed}
.voice-call-layer.settings-open{gap:0}
.voice-call-layer.settings-open .voice-call-panel{margin-bottom:10px}
.voice-call-layer.settings-open .voice-call-bar{position:relative;z-index:2;border-radius:34px 34px 15px 15px;border-bottom-color:rgba(237,246,255,.24);box-shadow:inset 0 2px 1px rgba(255,255,255,.52),0 2px 14px rgba(0,0,0,.13)}
.voice-settings-panel{display:grid;width:min(550px,calc(100vw - 28px));padding:12px 18px 16px;border-radius:0 0 30px 30px;border-top:0;gap:0;animation:voice-settings-in .22s cubic-bezier(.2,.75,.25,1) both}
.voice-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:7px 5px;color:#eef4fc;font-size:15px;font-weight:570}
.voice-setting-row+.voice-setting-row{border-top:1px solid rgba(240,247,255,.11)}
.voice-setting-row select{appearance:none;-webkit-appearance:none;max-width:min(64%,250px);min-width:110px;padding:9px 33px 9px 14px;border:1px solid rgba(241,248,255,.4);border-radius:18px;background:rgba(224,238,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23edf5ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center/16px;color:#f2f7ff;font:inherit;font-size:14px;cursor:pointer;backdrop-filter:blur(14px) saturate(145%);box-shadow:inset 0 1px rgba(255,255,255,.3)}
.voice-setting-row select:focus-visible{outline:2px solid #a8d4ff;outline-offset:2px}
.voice-setting-row select option{background:#202b40;color:#f2f7ff}
:root[data-theme="bright"] .voice-setting-row,:root[data-theme="glacial"] .voice-setting-row{color:#17304e}
:root[data-theme="bright"] .voice-setting-row select,:root[data-theme="glacial"] .voice-setting-row select{color:#17304e;border-color:rgba(255,255,255,.8);background-color:rgba(246,251,255,.4);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%2317304e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
@keyframes voice-settings-in{from{opacity:0;transform:translateY(-8px) scaleY(.96)}to{opacity:1;transform:none}}
@media(max-width:520px){.voice-call-bar{min-height:60px;padding:7px;gap:5px}.voice-call-layer .voice-agent-orb{width:42px;height:42px;min-width:42px;min-height:42px}.voice-control{width:45px;height:45px}.voice-control svg{width:21px;height:21px}.voice-waveform{gap:2px;padding:0 2px}.voice-waveform i{flex-basis:3px}.voice-waveform i:nth-child(n+13){display:none}}
@media(max-width:520px){.voice-call-bar .voice-control{width:40px;height:40px}.voice-call-bar .voice-control svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.voice-waveform i{animation:none!important;transition:none!important}}

.onboarding { position:fixed; inset:0; z-index:100; overflow:hidden; background:#03060c; display:grid; grid-template-rows:76px 3px minmax(0,1fr); }
.onboarding[hidden]{display:none}.onboarding-aurora{position:absolute;inset:0;background:radial-gradient(circle at 28% 12%,rgba(109,148,207,.25),transparent 34%),radial-gradient(circle at 78% 80%,rgba(89,67,156,.17),transparent 34%),linear-gradient(140deg,#111a27,#02050a 55%);animation:aurora 12s ease-in-out infinite alternate}.onboarding-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:17px 26px}.onboarding-top img{width:150px;height:42px;object-fit:contain}.onboarding-back,.onboarding-skip{min-width:48px;height:42px;border:1px solid var(--line);border-radius:22px;background:rgba(77,96,122,.18);color:var(--ink);cursor:pointer}.onboarding-skip{padding:0 17px}.onboarding-progress{position:relative;z-index:2;background:rgba(255,255,255,.06)}.onboarding-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#55cfff,#7684ff,#c179ff);box-shadow:0 0 12px rgba(104,161,255,.8);transition:width .5s ease}.onboarding-stage{position:relative;z-index:2;min-height:0;overflow:auto;display:grid;place-items:center;padding:28px}.onboarding-card{width:min(1040px,94vw);min-height:min(710px,calc(100vh - 132px));display:grid;grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);border:1px solid var(--line-strong);border-radius:42px;overflow:hidden;background:linear-gradient(145deg,rgba(112,137,169,.18),rgba(3,9,16,.7));box-shadow:0 42px 120px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.1);backdrop-filter:blur(35px) saturate(150%)}.onboarding-copy{padding:58px;display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#9eb5d0;margin-bottom:16px}.onboarding-copy h1{font-size:clamp(38px,4.8vw,70px);line-height:1.02;letter-spacing:-.045em;margin:0 0 20px}.onboarding-copy p{font-size:18px;line-height:1.6;color:#b9c5d4;max-width:560px;margin:0 0 30px}.onboarding-visual{position:relative;min-height:520px;display:grid;place-items:center;background:radial-gradient(circle at 50% 45%,rgba(141,176,224,.24),transparent 50%)}.onboarding-visual img{max-width:88%;max-height:620px;object-fit:contain;filter:drop-shadow(0 28px 50px rgba(0,0,0,.45))}.hero-orb{width:min(430px,72%);animation:orb-float 5s ease-in-out infinite;filter:drop-shadow(0 0 50px rgba(115,170,255,.32))}.onboarding-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.onboarding-actions .primary-btn{font-size:16px;padding:15px 24px}.step-dots{display:flex;gap:7px;margin-top:28px}.step-dots i{width:7px;height:7px;border-radius:50%;background:#657186}.step-dots i.active{width:24px;border-radius:5px;background:#c8defe}.question-card{grid-template-columns:1fr}.question-wrap{width:min(760px,90%);margin:auto;padding:48px}.question-wrap h1{font-size:42px;margin:0 0 10px;letter-spacing:-.035em}.question-wrap>p{color:var(--muted);font-size:17px;margin:0 0 28px}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.answer-option{border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,rgba(113,139,170,.16),rgba(8,14,23,.46));padding:20px;text-align:left;color:var(--ink);cursor:pointer;display:flex;align-items:center;gap:13px;font-size:16px}.answer-option:hover{border-color:var(--line-strong);transform:translateY(-1px)}.answer-option.selected{border-color:#a9d5ff;background:linear-gradient(145deg,rgba(170,202,241,.25),rgba(37,61,94,.45));box-shadow:0 0 26px rgba(93,153,226,.18)}.answer-icon{width:38px;height:38px;border:1px solid var(--line);border-radius:13px;display:grid;place-items:center;background:rgba(160,190,226,.1)}.onboarding-detail-card{grid-template-columns:1fr}.detail-wrap{width:min(860px,92%);margin:auto;padding:44px;text-align:center}.detail-wrap h1{font-size:44px;margin:12px 0}.detail-wrap>p{font-size:18px;color:var(--muted);line-height:1.55;max-width:700px;margin:0 auto 28px}.proof-grid,.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:26px 0}.proof-tile,.plan-tile{border:1px solid var(--line);border-radius:24px;padding:22px;background:rgba(79,103,133,.12);text-align:left}.proof-tile strong,.plan-tile strong{display:block;font-size:25px;margin-bottom:7px}.proof-tile span,.plan-tile span{color:var(--muted);line-height:1.4}.loading-orb{width:170px;height:170px;object-fit:contain;animation:orb-work 2.6s ease-in-out infinite;filter:drop-shadow(0 0 40px rgba(110,163,255,.45))}.loading-bar{width:min(520px,80%);height:8px;border-radius:8px;background:rgba(255,255,255,.08);overflow:hidden;margin:28px auto}.loading-bar i{display:block;height:100%;width:72%;border-radius:inherit;background:linear-gradient(90deg,#54d5ff,#8c72ff);animation:loading 2.2s ease-in-out infinite}.showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.showcase-card{border:1px solid var(--line);border-radius:28px;padding:12px;background:rgba(75,96,123,.12);cursor:pointer;transition:.2s}.showcase-card:hover,.showcase-card.selected{transform:translateY(-4px);border-color:#b7dbff;box-shadow:0 18px 42px rgba(0,0,0,.26)}.showcase-card img{width:100%;height:260px;object-fit:contain;border-radius:20px;background:radial-gradient(circle,rgba(108,142,190,.18),transparent 60%)}.showcase-card strong{display:block;font-size:18px;margin:10px 5px 3px}.showcase-card small{color:var(--muted)}.paywall-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px;text-align:left;align-items:center}.paywall-layout>img{width:100%;max-height:480px;object-fit:contain}.plan-list{display:grid;gap:9px}.plan-option{border:1px solid var(--line);border-radius:20px;padding:16px;background:rgba(89,111,140,.12);cursor:pointer;display:flex;justify-content:space-between}.plan-option.selected{border-color:#b7dbff;background:rgba(127,164,210,.2)}.plan-option strong,.plan-option span{display:block}.plan-option small{color:var(--muted)}

.toast{position:fixed;z-index:200;left:50%;bottom:30px;transform:translate(-50%,30px);opacity:0;background:rgba(14,23,36,.92);border:1px solid var(--line-strong);border-radius:99px;padding:12px 18px;box-shadow:var(--shadow);transition:.25s;pointer-events:none}.toast.show{transform:translate(-50%,0);opacity:1}

@keyframes orb-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes orb-work{0%,100%{transform:scale(.96) rotate(-2deg);filter:drop-shadow(0 0 25px rgba(110,163,255,.35))}50%{transform:scale(1.05) rotate(2deg);filter:drop-shadow(0 0 55px rgba(145,117,255,.65))}}
@keyframes message-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes pulse{0%,70%,100%{opacity:.35;transform:scale(.8)}35%{opacity:1;transform:scale(1)}}
@keyframes pulse-ring{50%{box-shadow:0 0 0 8px rgba(255,92,101,0)}}
@keyframes aurora{to{filter:hue-rotate(16deg) saturate(1.18);transform:scale(1.04)}}
@keyframes loading{0%{transform:translateX(-100%)}60%,100%{transform:translateX(50%)}}

@media (max-width: 1100px){
  :root{--sidebar:300px}.desktop-shell.browser-open{--browser:min(50vw,540px)}.presence{display:none}.conversation{padding-left:28px;padding-right:28px}.computer-card{margin-left:0}.onboarding-card{grid-template-columns:1fr}.onboarding-visual{min-height:320px}.onboarding-copy{padding:38px}.onboarding-visual img{max-height:350px}.paywall-layout{grid-template-columns:1fr}.paywall-layout>img{display:none}
}

@media (max-width: 820px){
  :root{--sidebar:250px}.desktop-shell{margin:0;width:100%;height:100%;border-radius:0}.sidebar{padding-left:10px;padding-right:10px}.venture-selector{grid-template-columns:42px 1fr 14px}.venture-badge{width:42px;height:42px}.chat-item{grid-template-columns:44px 1fr}.chat-orb{width:43px;height:43px}.chat-time{display:none}.workspace-header{padding-left:18px}.agent-heading strong{font-size:15px}.desktop-shell.browser-open{--browser:0px}.cofounder-browser{position:absolute;inset:0 0 0 var(--sidebar);z-index:30;opacity:0}.desktop-shell.browser-open .cofounder-browser{opacity:1}.onboarding-stage{padding:12px}.option-grid,.proof-grid,.plan-grid,.showcase-grid{grid-template-columns:1fr}.onboarding-card{min-height:calc(100vh - 104px);border-radius:26px}.question-wrap,.detail-wrap{padding:28px}.showcase-card img{height:180px}
}

@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Exact desktop-demo parity layer (l3ns.ai hero, 2026-10-10). */
:root {
  --sidebar: 260px;
  --app-glass: linear-gradient(145deg, #ffffff24, #ffffff08 48%, #ffffff05);
  --app-rim: #ffffff38;
  --app-shadow: 0 10px 32px #0000006b, inset 0 1px 1.5px #ffffff47, inset 0 -1px 1px #00000061;
  --widget-glass: linear-gradient(145deg, #ffffff1a, #ffffff05 48%, #00000038);
  --widget-rim: #ffffff24;
  --widget-shadow: inset 0 1px 1px #ffffff38, inset 0 -1px 1px #00000059, 0 5px 16px #00000047;
  --ink: #f3f5f9;
  --muted: #9aa3b5;
  --line: #ffffff1a;
  --line-strong: #ffffff38;
}

body {
  background:
    radial-gradient(at 8% 0, rgba(90,120,180,.18), transparent 42%),
    radial-gradient(at 100% 90%, rgba(40,60,110,.20), transparent 48%),
    #020408;
}

body::before { opacity:.16; }
svg { display:block; }
button svg { pointer-events:none; }

.desktop-shell {
  --sidebar-expanded-width:260px;
  --sidebar-collapsed-width:72px;
  --sidebar-layout-width:var(--sidebar-custom-width,var(--sidebar-expanded-width));
  display:grid;
  grid-template-columns:var(--sidebar-layout-width) minmax(0,1fr) 0;
  width:calc(100% - 20px);
  height:calc(100% - 20px);
  margin:10px;
  isolation:isolate;
  border:1px solid var(--app-rim);
  border-radius:38px;
  overflow:hidden;
  background:
    radial-gradient(at 8% 0,rgba(90,120,180,.18),transparent 42%),
    radial-gradient(at 100% 90%,rgba(40,60,110,.2),transparent 48%),
    radial-gradient(at 50% 40%,rgba(255,255,255,.04),transparent 55%),
    linear-gradient(145deg,rgba(10,12,16,.78),rgba(4,5,8,.62) 52%,rgba(14,16,22,.74));
  box-shadow:0 36px 100px rgba(0,0,0,.55),0 4px 16px rgba(0,0,0,.35),inset 0 1px 1px rgba(255,255,255,.28),inset 0 -1px 2px rgba(0,0,0,.45);
  -webkit-backdrop-filter:blur(44px) saturate(170%);
  backdrop-filter:blur(44px) saturate(170%);
  transition:grid-template-columns .42s cubic-bezier(.2,.75,.2,1);
}

.desktop-shell::after { content:"";position:absolute;inset:1px;border:1px solid rgba(255,255,255,.08);border-radius:37px;pointer-events:none;z-index:60; }
.desktop-shell.sidebar-collapsed { --sidebar-layout-width:var(--sidebar-collapsed-width); }
.desktop-shell.browser-open { --browser:0px;--sidebar-layout-width:var(--sidebar-collapsed-width);grid-template-columns:var(--sidebar-layout-width) minmax(350px,.88fr) minmax(500px,1.12fr); }
.desktop-shell.sidebar-resizing { --sidebar-layout-width:var(--sidebar-drag-width);transition:none; }
body.is-resizing-sidebar { cursor:col-resize;user-select:none; }
.sidebar-resizer {
  position:absolute;
  z-index:70;
  top:18px;
  bottom:18px;
  left:calc(var(--sidebar-layout-width) - 9px);
  width:18px;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  display:grid;
  place-items:center;
  cursor:col-resize;
  touch-action:none;
  transition:left .42s cubic-bezier(.2,.75,.2,1);
}
.desktop-shell.sidebar-resizing .sidebar-resizer { transition:none; }
.sidebar-resizer span {
  width:4px;
  height:72px;
  border:1px solid rgba(218,237,255,.46);
  border-radius:999px;
  opacity:0;
  transform:scaleY(.75);
  background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(133,184,240,.42) 48%,rgba(255,255,255,.18));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.75),0 0 18px rgba(91,164,244,.38),0 5px 14px rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(18px) saturate(180%);
  backdrop-filter:blur(18px) saturate(180%);
  transition:opacity .18s ease,transform .18s ease;
}
.sidebar-resizer:hover span,
.sidebar-resizer:focus-visible span,
.desktop-shell.sidebar-resizing .sidebar-resizer span { opacity:1;transform:scaleY(1); }
.sidebar-resizer:focus-visible span { outline:2px solid rgba(169,210,255,.84);outline-offset:4px; }
.liquid { background:var(--widget-glass);border:1px solid var(--widget-rim);box-shadow:var(--widget-shadow);-webkit-backdrop-filter:blur(18px) saturate(165%);backdrop-filter:blur(18px) saturate(165%); }

.sidebar,
.workspace-header,
.composer-area,
.cofounder-browser {
  background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.016) 55%,rgba(0,0,0,.18)),rgba(8,10,14,.28);
  box-shadow:inset 0 1px rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(36px) saturate(160%);
  backdrop-filter:blur(36px) saturate(160%);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .cofounder-browser {
  --os-ink:#f3f5f9;
  --os-muted:#b7bdc8;
  --os-rim:rgba(216,222,232,.2);
  --os-rim-strong:rgba(197,204,215,.48);
  --os-glass:radial-gradient(130% 115% at 12% -26%,rgba(255,255,255,.16),transparent 61%),linear-gradient(132deg,rgba(255,255,255,.12),rgba(196,204,216,.075) 52%,rgba(75,83,96,.12));
  --os-glass-strong:radial-gradient(130% 115% at 12% -26%,rgba(255,255,255,.22),transparent 61%),linear-gradient(132deg,rgba(255,255,255,.17),rgba(196,204,216,.11) 52%,rgba(75,83,96,.17));
  --os-shadow:inset 0 1px rgba(255,255,255,.24),inset 0 -1px rgba(0,0,0,.14),0 9px 24px rgba(0,0,0,.16);
  background:radial-gradient(95% 67% at 3% -10%,rgba(255,255,255,.19),transparent 74%),radial-gradient(85% 80% at 100% 105%,rgba(215,222,232,.08),transparent 70%),linear-gradient(135deg,rgba(42,47,56,.91),rgba(27,31,39,.93) 53%,rgba(15,19,27,.96));
  border-left-color:rgba(197,204,215,.29);
  box-shadow:inset 0 1px rgba(255,255,255,.26),inset 0 -1px rgba(0,0,0,.14),0 30px 82px rgba(0,0,0,.36);
  -webkit-backdrop-filter:blur(42px) saturate(145%);
  backdrop-filter:blur(42px) saturate(145%);
}
.cofounder-browser .browser-header {
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(151,156,166,.018));
  border-bottom-color:rgba(216,222,232,.2);
  box-shadow:inset 0 1px rgba(255,255,255,.16);
}
.cofounder-browser :is(.browser-content,.os-panel) {
  background:radial-gradient(130% 115% at 12% -26%,rgba(255,255,255,.14),transparent 61%),linear-gradient(132deg,rgba(255,255,255,.085),rgba(196,204,216,.045) 52%,rgba(11,14,20,.23));
  box-shadow:inset 0 1px rgba(255,255,255,.2),inset 0 -1px rgba(0,0,0,.12),0 9px 24px rgba(0,0,0,.14);
  -webkit-backdrop-filter:blur(42px) saturate(145%);
  backdrop-filter:blur(42px) saturate(145%);
}

.sidebar { min-width:0;padding:14px 12px 20px;overflow:hidden;border-right:1px solid var(--line); }
.window-drag-region { height:38px; }
.sidebar-header { height:57px;margin:0;padding:0 2px 12px;gap:12px; }
.brand-mark { width:44px;height:44px;border-radius:13px; }
.brand-mark img { width:44px;height:44px;object-fit:cover;filter:drop-shadow(0 5px 12px rgba(128,183,255,.22)); }
.round-control { width:38px;height:38px;border-radius:50%;padding:0;display:grid;place-items:center; }
.round-control svg { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round; }

.venture-selectors { gap:6px; }
.venture-selector { min-height:50px;height:50px;padding:6px 10px 6px 6px;border-radius:999px;grid-template-columns:38px minmax(0,1fr) 13px;gap:8px;background:var(--widget-glass);border-color:var(--widget-rim);box-shadow:var(--widget-shadow); }
.venture-selector:hover { transform:none;border-color:#ffffff47;background:linear-gradient(145deg,#ffffff22,#ffffff08 48%,#00000030); }
.venture-badge { width:38px;height:38px;border-radius:50%;font-size:18px;background-position:center;background-size:cover;border:1px solid #ffffff70;box-shadow:inset 0 1px 3px #ffffff55; }
.venture-selector small { margin:0;color:var(--muted);font-size:10px;line-height:1.15; }
.venture-selector strong { margin-top:2px;font-size:13px;line-height:1.15;font-weight:650; }
.chevron { width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:#cbd1dc; }
.selector-menu { top:calc(100% + 6px);padding:8px;border-radius:28px;background:linear-gradient(150deg,rgba(55,65,80,.96),rgba(8,13,21,.96));border:1px solid var(--app-rim);box-shadow:0 22px 55px #000a;backdrop-filter:blur(32px) saturate(160%);display:grid;gap:3px; }
.selector-option { min-height:53px;display:grid;grid-template-columns:36px minmax(0,1fr) 26px;gap:9px;align-items:center;padding:7px 8px 7px 10px;border:1px solid transparent;border-radius:21px; }
.selector-option:hover { background:linear-gradient(145deg,rgba(229,241,255,.16),rgba(132,167,217,.09));border-color:rgba(231,242,255,.18); }
.selector-option.selected { background:linear-gradient(145deg,rgba(231,241,255,.19),rgba(129,166,218,.11));border-color:rgba(238,247,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.16); }
.selector-option.selector-create{margin-top:4px;background:linear-gradient(145deg,rgba(202,226,255,.09),rgba(92,139,198,.045));border-color:rgba(216,235,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.selector-option.selector-create:hover{background:linear-gradient(145deg,rgba(226,240,255,.18),rgba(113,162,222,.1));border-color:rgba(230,243,255,.26)}
.selector-option>span:nth-child(2){min-width:0}.selector-option strong,.selector-option small{display:block}.selector-option strong{font-size:12px}.selector-option small{font-size:10px;margin-top:2px}.menu-portrait{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background-position:center!important;background-size:cover!important;border:1px solid #ffffff44}.menu-portrait.new{background:#ffffff12!important;font-size:18px}
.selector-check{position:relative;isolation:isolate;justify-self:end;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#f7fbff;background:radial-gradient(circle at 29% 18%,rgba(255,255,255,.52),transparent 32%),linear-gradient(145deg,rgba(230,242,255,.24),rgba(126,172,226,.13) 48%,rgba(3,9,18,.4));border:1px solid rgba(226,241,255,.42);box-shadow:inset 0 1px 1.5px rgba(255,255,255,.5),inset 0 -1px 1px rgba(0,0,0,.28),0 5px 14px rgba(0,0,0,.28),0 0 10px rgba(112,177,255,.13);-webkit-backdrop-filter:blur(20px) saturate(190%);backdrop-filter:blur(20px) saturate(190%)}
.selector-check::after{content:"";position:absolute;inset:2px 4px auto;height:7px;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.3),transparent);pointer-events:none}.selector-check svg{position:relative;z-index:1;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px rgba(0,0,0,.42))}
:root[data-theme="glacial"] .selector-check{background:radial-gradient(circle at 28% 16%,rgba(236,250,255,.56),transparent 32%),linear-gradient(145deg,rgba(158,219,255,.31),rgba(51,128,203,.16) 48%,rgba(5,24,48,.43));border-color:rgba(195,233,255,.56);box-shadow:inset 0 1px 2px rgba(247,254,255,.64),inset 0 -1px 1px rgba(3,31,57,.36),0 6px 16px rgba(0,27,57,.3),0 0 13px rgba(89,185,255,.2)}
:root[data-theme="bright"] .selector-check{color:#17304e;background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.96),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.78),rgba(194,219,248,.45) 50%,rgba(121,159,207,.27));border-color:rgba(255,255,255,.84);box-shadow:inset 0 1px 2px rgba(255,255,255,.95),inset 0 -1px 1px rgba(73,106,151,.2),0 6px 16px rgba(42,76,121,.22)}

.search { min-height:34px;height:34px;margin-top:14px;padding:0 10px;display:flex;gap:8px;border-radius:999px; }
.search>svg { width:15px;height:15px;fill:currentColor;flex:0 0 15px; }
.search input { font-size:11px;padding:0; }
.sidebar-label { margin:18px 12px 8px;color:#9ca7b8;font-size:9px;letter-spacing:.16em; }
.chat-list { margin:0;padding:0 0 5px; }
.chat-item { min-height:66px;padding:8px 7px;grid-template-columns:44px minmax(0,1fr);gap:7px;border-radius:22px;align-items:center; }
.chat-item.active { background:var(--widget-glass);border-color:var(--widget-rim);box-shadow:var(--widget-shadow); }
.chat-orb { width:42px;height:42px;clip-path:circle(48%);object-fit:cover;filter:drop-shadow(0 0 8px rgba(107,158,255,.24));animation:orb-float 5s ease-in-out infinite; }
.chat-copy { min-width:0; }
.chat-heading { display:flex;align-items:flex-start;gap:5px; }
.chat-heading strong { min-width:0;flex:1;font-size:12px;line-height:1.18;font-weight:600;white-space:normal; }
.chat-heading time { color:#a0a9b7;font-size:9px;line-height:1.45;white-space:nowrap; }
.chat-copy small { margin-top:5px;color:var(--muted);font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:clip; }
.inline-orb { display:inline-grid;width:14px;height:14px;vertical-align:-3px; }
.inline-orb img { width:14px;height:14px;border-radius:50%;object-fit:cover; }
#chat-list .chat-copy small .inline-orb { margin-right:5px; }
.team-orbs { width:44px;height:42px; }


.account-card { min-height:60px;height:60px;padding:10px 14px 10px 10px;grid-template-columns:34px minmax(0,1fr);gap:10px;border-radius:999px; }
.account-card img { width:34px;height:34px; }
.wallet-sidebar-label strong,.account-card strong { font-size:12px; }.wallet-sidebar-label small,.account-card small { font-size:10px;margin-top:2px; }
.account-zone{position:relative;width:100%;flex:0 0 auto}
.account-menu{position:absolute;z-index:48;left:19px;right:19px;bottom:calc(100% + 10px);padding:4px;border-radius:16px;color:#f4f8ff;background:radial-gradient(at 18% 0,rgba(255,255,255,.14),transparent 52%),linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.016) 46%,rgba(0,0,0,.35)),rgba(6,8,12,.42);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 1px rgba(255,255,255,.28),inset 0 -1px 1px rgba(0,0,0,.4),0 18px 44px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(36px) saturate(180%);backdrop-filter:blur(36px) saturate(180%);transform-origin:50% 100%;animation:account-menu-in .18s cubic-bezier(.2,.8,.2,1)}
.account-menu[hidden]{display:none}.account-menu-list{display:grid;gap:1px;overflow:visible}.account-menu-item{width:100%;min-height:38px;padding:6px 8px;border:0;border-radius:999px;display:grid;grid-template-columns:17px minmax(0,1fr) auto 26px;gap:8px;align-items:center;color:inherit;background:transparent;text-align:left;font-size:12px;cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.account-menu-item:hover,.account-menu-item:focus-visible{outline:0;background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.035));box-shadow:inset 0 1px rgba(255,255,255,.1)}.account-menu-item>svg:not(.account-row-chevron){width:15px;height:15px;justify-self:center;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.account-menu-item span{min-width:0;white-space:nowrap}.account-menu-item small{color:#a8afbb;font-size:11px}.account-row-chevron{grid-column:4;justify-self:end;width:26px;height:26px;padding:6px;overflow:visible;fill:currentColor;stroke:none;color:#eaf4ff;border:1px solid rgba(224,240,255,.38);border-radius:50%;background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.6),transparent 32%),linear-gradient(145deg,rgba(214,235,255,.25),rgba(95,145,202,.13) 50%,rgba(2,8,15,.4));box-shadow:inset 0 1px 1.5px rgba(255,255,255,.5),inset 0 -1px 1px rgba(0,0,0,.32),0 5px 13px rgba(0,0,0,.27),0 0 10px rgba(104,172,246,.13);-webkit-backdrop-filter:blur(20px) saturate(190%);backdrop-filter:blur(20px) saturate(190%);transition:transform .17s ease,filter .17s ease,border-color .17s ease,box-shadow .17s ease}.account-menu-item:hover .account-row-chevron,.account-menu-item:focus-visible .account-row-chevron{transform:translateX(1px) scale(1.04);filter:brightness(1.14);border-color:rgba(235,247,255,.62);box-shadow:inset 0 1px 1.5px rgba(255,255,255,.64),inset 0 -1px 1px rgba(0,0,0,.28),0 7px 17px rgba(0,0,0,.3),0 0 14px rgba(111,181,255,.24)}.account-menu-item:active .account-row-chevron{transform:translateX(1px) scale(.96)}.account-menu-item:not(:first-child)>small:empty,.account-menu-item:not(:first-child)>.account-row-chevron:last-child:empty{display:none}.account-menu-orb{width:16px;height:16px;border-radius:50%;object-fit:cover;filter:drop-shadow(0 0 5px rgba(120,173,255,.3))}.account-menu-divider{height:1px;margin:4px 6px 3px;background:rgba(255,255,255,.13)}
.account-plan-entry{position:relative}.account-plan-entry>.account-menu-item{width:100%}.account-plan-flyout{position:absolute;z-index:120;left:calc(100% + 12px);top:-7px;width:252px;padding:16px 16px 12px;color:#f4f8ff;border:1px solid rgba(226,239,255,.27);border-radius:22px;background:radial-gradient(110% 90% at 8% -10%,rgba(255,255,255,.18),transparent 52%),linear-gradient(145deg,rgba(49,59,74,.92),rgba(12,16,23,.96) 64%,rgba(5,8,13,.98));box-shadow:inset 0 1px 1.5px rgba(255,255,255,.28),inset 0 -1px 1px rgba(0,0,0,.42),0 22px 54px rgba(0,0,0,.48);-webkit-backdrop-filter:blur(38px) saturate(180%);backdrop-filter:blur(38px) saturate(180%);opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-8px) scale(.98);transform-origin:0 16px;transition:opacity .18s ease,visibility .18s ease,transform .2s cubic-bezier(.2,.8,.2,1)}.account-plan-flyout::before{content:"";position:absolute;right:100%;top:0;bottom:0;width:14px}.account-plan-entry:is(:hover,:focus-within,.is-open) .account-plan-flyout{opacity:1;visibility:visible;pointer-events:auto;transform:none}.plan-flyout-summary{display:grid;gap:4px}.plan-flyout-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.plan-flyout-title strong{font-size:15px;font-weight:590;letter-spacing:-.01em;white-space:nowrap}.plan-flyout-title strong:last-child{font-weight:560}.plan-flyout-summary>small{color:#9eacc0;font-size:12px;line-height:1.25}.plan-flyout-divider{height:1px;margin:14px -16px 8px;background:rgba(228,241,255,.13)}.plan-manage-usage{width:100%;min-height:36px;padding:7px 0;border:0;border-radius:10px;display:flex;align-items:center;gap:9px;color:inherit;background:transparent;text-align:left;font-size:14px;font-weight:520;cursor:pointer}.plan-manage-usage svg{width:16px;height:16px;flex:none;fill:currentColor}.plan-manage-usage:hover,.plan-manage-usage:focus-visible{outline:0;color:#fff;background:rgba(255,255,255,.08);box-shadow:0 0 0 7px rgba(255,255,255,.08)}
@keyframes account-menu-in{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}
.account-menu-item>svg.account-menu-symbol:not(.account-row-chevron){
  fill:currentColor;
  stroke:none;
  stroke-width:0;
}
.plan-flyout-title>strong:first-child{display:inline-flex;align-items:center;gap:7px}
.plan-title-symbol{width:15px;height:15px;flex:none;fill:currentColor;stroke:none}
.plan-usage-pill{
  padding:4px 9px;
  border:1px solid rgba(230,243,255,.32);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(112,151,197,.1));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.34),0 4px 11px rgba(0,0,0,.14);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  backdrop-filter:blur(16px) saturate(160%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .plan-usage-pill{
  border-color:rgba(255,255,255,.84);
  background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(163,199,237,.32));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 4px 11px rgba(62,100,145,.13);
}
.plan-manage-usage{
  min-height:38px;
  padding:8px 12px;
  border:1px solid rgba(230,243,255,.3);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(108,145,190,.09));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 5px 14px rgba(0,0,0,.16);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
}
.plan-manage-usage:hover,.plan-manage-usage:focus-visible{
  background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(116,160,211,.14));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.42),0 7px 17px rgba(0,0,0,.2);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .plan-manage-usage{
  color:var(--ink);
  border-color:rgba(255,255,255,.82);
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(169,205,240,.3));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.85),0 5px 14px rgba(62,100,145,.14);
}

.workspace { grid-template-rows:66px minmax(0,1fr) auto;background:transparent; }
.workspace-header { height:66px;padding:10px 18px;justify-content:flex-start;gap:9px;border-bottom:1px solid var(--line); }
.agent-heading { gap:9px; }
.agent-heading strong { font-size:14px;line-height:1.3;font-weight:700; }
.orb-wrap { width:40px;height:40px;flex:0 0 40px;padding:0;border:0;border-radius:50%;background:none;overflow:hidden;cursor:pointer; }
.orb-wrap::after { display:none; }
.orb-wrap img { width:40px;height:40px;border-radius:50%;clip-path:circle(48%);object-fit:cover; }
.workspace-header>.icon-button { margin-left:auto; }
.icon-button { width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:50%; }
.icon-button svg { width:19px;height:19px;fill:currentColor; }
.icon-button.active { background:linear-gradient(145deg,#ffffff30,#ffffff0c 50%,#49709d42);border-color:#ffffff55; }

.conversation { padding:22px 28px 36px;overflow:auto;background:radial-gradient(80% 70% at 56% 5%,rgba(10,25,42,.18),transparent 70%); }
.timestamp { margin:0 0 26px;color:var(--muted);font-size:11px;text-align:center; }
.message { margin:0 0 26px; }
.message.user .bubble { max-width:68%;padding:13px 18px;border-radius:24px;color:#15283c;background:linear-gradient(160deg,rgba(255,255,255,.78),rgba(255,255,255,.52) 38%,rgba(230,242,255,.42) 72%,rgba(255,255,255,.58)),rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.55);box-shadow:inset 0 1px 1.5px rgba(255,255,255,.72),inset 0 -1px 1px rgba(255,255,255,.1),inset 1px 0 1px rgba(255,255,255,.18),0 14px 36px rgba(0,0,0,.32);backdrop-filter:blur(40px) saturate(200%);font-size:15px;line-height:1.5;font-weight:450; }
.workflow-colleague { width:80%;max-width:80%;margin:0 0 16px; }
.agent-bubble { position:relative;padding:16px 20px;border:1px solid #ffffff38;border-radius:25px;background:linear-gradient(145deg,rgba(114,130,153,.34),rgba(12,20,31,.72));box-shadow:inset 0 1px 1px #ffffff26,0 12px 32px #0005;font-size:15px;line-height:1.55;color:#e9edf4; }
.walkthrough-label { align-self:center; width:max-content; max-width:100%; margin:4px auto 18px; padding:5px 12px; border:1px solid #ffffff55; border-radius:999px; background:rgba(150,169,196,.18); backdrop-filter:blur(16px); color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.04em; text-align:center; }
.walkthrough-label{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:rgba(250,253,255,.88);background:radial-gradient(ellipse at 22% -18%,rgba(255,255,255,.82),transparent 68%),radial-gradient(ellipse at 82% 120%,rgba(166,205,255,.38),transparent 70%),linear-gradient(145deg,rgba(239,247,255,.5),rgba(194,220,250,.28) 52%,rgba(145,187,237,.2));box-shadow:inset 0 1.5px 1px rgba(255,255,255,.92),inset 0 -1px 1px rgba(255,255,255,.3),0 7px 20px rgba(21,48,83,.18);-webkit-backdrop-filter:blur(26px) saturate(185%);backdrop-filter:blur(26px) saturate(185%);color:var(--ink)}
.walkthrough-app-icon{display:block;width:18px;height:18px;flex:none;object-fit:contain;border-radius:5px}
.agent-bubble.live-reply { white-space:pre-wrap; overflow-wrap:anywhere; }
.agent-message-title { font-weight:750; }
.agent-title-emoji { margin-inline-end:3px;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-weight:400; }
.agent-bubble.live-reply code { padding:1px 4px;border-radius:5px;background:#ffffff1c;font-size:.9em; }
.agent-bubble.live-reply .agent-message-code { margin:8px 0; padding:12px; overflow-x:auto; white-space:pre; border:1px solid #ffffff45; border-radius:12px; background:#0a1426a6; }
.agent-bubble.live-reply .agent-message-code code { padding:0; background:none; }
.agent-task-line { display:inline-grid;width:100%;grid-template-columns:1.22em minmax(0,1fr);align-items:start;gap:.42em;box-sizing:border-box;vertical-align:top; }
.agent-task-symbol { display:grid;place-items:center;width:1.12em;height:1.12em;margin-top:.18em;border-radius:50%;color:#f7fbff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.34)); }
.agent-task-symbol svg { display:block;width:100%;height:100%;overflow:visible; }
.agent-task-symbol-done svg circle { fill:#19a957; }
.agent-task-symbol-done svg path { fill:none;stroke:#fff;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round; }
.agent-task-symbol-pending { width:auto;height:auto;margin-top:.02em;border-radius:0;background:none;box-shadow:none;filter:none;color:inherit;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.02em;line-height:1; }
.agent-task-copy { min-width:0;overflow-wrap:anywhere; }
.agent-bubble.live-error { border-color:#ec9b9b88; color:#ffe5e5; }
.conversation-lane .agent-choice-wrap { width:fit-content;max-width:min(78%,640px); }
.conversation-lane .agent-bubble.agent-choice-card { width:fit-content;max-width:100%;padding:13px 17px;border-radius:24px;white-space:normal; }
.agent-choice-question { display:block;margin-bottom:9px;font-size:1em;line-height:1.35; }
.agent-choice-options { display:grid;gap:6px; }
.conversation-lane .workflow-colleague.agent-exchange { width:100%;max-width:100%;margin:18px 0 16px; }
.agent-exchange-label { display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;width:100%;margin:0 0 14px;color:#aebacc;font-size:12px;line-height:1.4;text-align:center; }
.agent-exchange-name { display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-weight:700; }
.agent-exchange-name > :is(.agent-exchange-orb,.living-orb) { display:block;width:18px;height:18px;flex:0 0 18px;border-radius:50%;object-fit:cover;filter:drop-shadow(0 1px 3px rgba(0,0,0,.24)); }
.conversation-lane .agent-bubble.agent-exchange-text { width:fit-content;max-width:min(78%,640px);margin-bottom:6px; }
:root[data-theme="bright"] .agent-exchange-label,:root[data-theme="glacial"] .agent-exchange-label { color:#3a526e; }
.agent-choice-option { display:flex;align-items:center;gap:9px;width:100%;min-height:40px;padding:5px 10px;border:1px solid rgba(225,238,255,.48);border-radius:999px;background:radial-gradient(100% 100% at 12% -28%,rgba(255,255,255,.25),transparent 58%),linear-gradient(145deg,rgba(175,198,230,.23),rgba(76,105,148,.17) 54%,rgba(26,43,67,.25));box-shadow:inset 0 1px 1px rgba(255,255,255,.48),inset 0 -1px 1px rgba(7,22,45,.25),0 5px 14px rgba(0,0,0,.12);-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);color:inherit;text-align:left;font:inherit;cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease; }
.agent-choice-option:hover,.agent-choice-option:focus-visible { background:radial-gradient(100% 100% at 12% -28%,rgba(255,255,255,.38),transparent 58%),linear-gradient(145deg,rgba(192,217,246,.35),rgba(91,130,184,.25) 54%,rgba(31,57,89,.33));box-shadow:inset 0 1px 1px rgba(255,255,255,.64),0 8px 20px rgba(0,0,0,.2);transform:translateY(-1px); }
.agent-choice-option:disabled { opacity:.52;cursor:default; }
.agent-choice-icon { display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:radial-gradient(circle at 27% 18%,rgba(255,255,255,.7),transparent 47%),linear-gradient(145deg,rgba(224,238,255,.42),rgba(130,158,198,.18) 55%,rgba(45,64,94,.32));box-shadow:inset 0 1.5px 1px rgba(255,255,255,.9),inset 0 -1px 1px rgba(25,42,69,.3),0 5px 12px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(16px) saturate(175%);backdrop-filter:blur(16px) saturate(175%);font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:18px;line-height:1; }
.conversation-lane .workflow-colleague.agent-choice-wrap { width:fit-content;max-width:min(78%,640px); }
:root[data-theme="bright"] .agent-choice-option,:root[data-theme="glacial"] .agent-choice-option { border-color:rgba(255,255,255,.83);background:radial-gradient(100% 100% at 12% -28%,rgba(255,255,255,.8),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.45),rgba(177,209,247,.32) 56%,rgba(115,157,215,.27));box-shadow:inset 0 1px 1px rgba(255,255,255,.9),inset 0 -1px 1px rgba(69,110,166,.2),0 8px 18px rgba(30,64,112,.14); }
:root[data-theme="bright"] .agent-choice-option:hover,:root[data-theme="glacial"] .agent-choice-option:hover { background:radial-gradient(100% 100% at 12% -28%,rgba(255,255,255,.95),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.63),rgba(166,204,251,.45) 56%,rgba(103,154,224,.34)); }
:root[data-theme="bright"] .agent-choice-icon,:root[data-theme="glacial"] .agent-choice-icon { border-color:rgba(255,255,255,.9);background:radial-gradient(circle at 27% 18%,rgba(255,255,255,.94),transparent 49%),linear-gradient(145deg,rgba(255,255,255,.6),rgba(176,205,240,.34) 60%,rgba(106,148,206,.28)); }
.live-media-link,.live-media-image,.live-media-video { display:block;max-width:100%; }
.live-media-link,.live-media-video { margin-top:12px;overflow:hidden;border:1px solid #ffffff70;border-radius:18px;background:#0b1525;box-shadow:0 10px 24px #0004; }
.live-media-image,.live-media-video { width:min(100%,520px);max-height:360px;object-fit:contain; }
.live-media-player { position:relative;width:min(100%,520px);aspect-ratio:16/9;margin-top:12px;overflow:hidden;border:1px solid #ffffff70;border-radius:18px;background:linear-gradient(145deg,#1e304a,#0b1525);box-shadow:0 10px 24px #0004; }
.live-media-player .live-media-video { width:100%;height:100%;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;transition:opacity .2s ease; }
.live-media-player:not([data-state="ready"]) .live-media-video { opacity:.08;pointer-events:none; }
.live-media-state { position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:#e9edf4;font-size:14px;font-weight:600;text-align:center;white-space:normal;pointer-events:none; }
.live-media-player[data-state="ready"] .live-media-state { display:none; }
.live-media-retry { position:absolute;left:50%;bottom:24px;transform:translateX(-50%);padding:8px 16px;border:1px solid #ffffffa0;border-radius:999px;background:#ffffff32;color:#fff;font:inherit;font-size:13px;cursor:pointer;backdrop-filter:blur(16px); }
.live-media-retry[hidden] { display:none; }
.live-media-pending { margin-top:12px;padding:11px 15px;border:1px solid #ffffff55;border-radius:15px;background:#ffffff14;color:inherit;font-size:.88em; }
.live-citation { display:inline-flex; margin:10px 8px 0 0; padding:4px 9px; border:1px solid #ffffff55; border-radius:999px; color:inherit; font-size:11px; text-decoration:underline; overflow-wrap:anywhere; }
.live-artifact { display:block; width:max-content; max-width:100%; margin-top:12px; padding:7px 13px; border:1px solid #ffffffaa; border-radius:999px; background:linear-gradient(145deg, #ffffff5c, #abc9ec33); color:inherit; font:inherit; font-size:12px; font-weight:700; cursor:pointer; backdrop-filter:blur(14px); }
.live-artifact:hover { background:linear-gradient(145deg, #ffffff8c, #abc9ec55); }
.cofounder-name { font-weight:700; }
.chat-copy small .cofounder-name { display:inline;font-size:inherit;line-height:inherit;font-weight:700; }
.create-hub-team-row small .cofounder-name { display:inline;font-size:inherit;line-height:inherit;font-weight:700; }
.agent-mention {
  display:inline-flex;
  align-items:center;
  gap:.28em;
  max-width:100%;
  height:1.52em;
  margin-inline:.04em;
  padding:0 .38em 0 .08em;
  border:1px solid rgba(207,225,250,.48);
  border-radius:999px;
  background:
    radial-gradient(circle at 22% 0%,rgba(255,255,255,.28),transparent 48%),
    linear-gradient(145deg,rgba(211,229,252,.18),rgba(87,119,164,.1) 54%,rgba(18,28,45,.18));
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.38),
    inset 0 -1px rgba(119,154,202,.14),
    0 4px 12px rgba(3,10,23,.14);
  color:inherit;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  vertical-align:-.25em;
  -webkit-backdrop-filter:blur(18px) saturate(165%);
  backdrop-filter:blur(18px) saturate(165%);
}
.agent-mention img {
  width:1.34em;
  height:1.34em;
  flex:0 0 1.34em;
  border-radius:50%;
  object-fit:cover;
  filter:drop-shadow(0 2px 4px rgba(2,9,21,.24));
}
:root[data-theme="bright"] .agent-mention {
  border-color:rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 22% 0%,rgba(255,255,255,.8),transparent 48%),
    linear-gradient(145deg,rgba(255,255,255,.48),rgba(194,220,249,.3) 56%,rgba(116,158,210,.2));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.92),inset 0 -1px rgba(89,130,181,.15),0 4px 12px rgba(40,75,118,.13);
}
.activity-line { display:flex;align-items:center;gap:9px;margin:8px 0 18px;color:var(--muted);font-size:11px; }
.activity-line img { width:40px;height:40px;border-radius:50%;clip-path:circle(48%);object-fit:cover;animation:orb-work 2.6s ease-in-out infinite; }
.activity-line.drafting { gap:8px; }.activity-line.drafting .dots{display:flex;gap:4px}.activity-line.drafting .dots i{width:7px;height:7px;margin:0;background:#b4c0d1}

.computer-card { max-width:820px;margin:8px 0 26px;border:1px solid var(--app-rim);border-radius:30px;overflow:hidden;background:linear-gradient(155deg,#8f739443,#101923cc);box-shadow:var(--app-shadow); }
.computer-preview { min-height:250px;padding:22px;background:linear-gradient(145deg,#755a7944,#18263c88),radial-gradient(circle at 40% 10%,#dab7d734,transparent 55%); }
.desktop-wallpaper { position:relative;height:210px;border:1px solid #ffffff3d;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#20344a,#07131e 48%,#1d453f);box-shadow:0 20px 35px #0007; }
.finder-window { position:absolute;left:5%;top:11%;width:36%;height:68%;border-radius:14px;background:linear-gradient(145deg,#b5c5d344,#1c3043b8);border:1px solid #ffffff42; }
.research-window { position:absolute;left:23%;top:16%;width:60%;height:57%;padding:18px;border-radius:15px;background:#f5f7fbea;color:#152033;box-shadow:0 12px 28px #0007;display:flex;flex-direction:column;justify-content:center;text-align:center}.research-window span{font-size:10px;text-transform:uppercase;letter-spacing:.12em}.research-window b{font-size:22px;margin:6px}.research-window small{color:#5f6873}
.mini-dock{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:7px;padding:6px 9px;border-radius:12px;background:#102238cc;border:1px solid #ffffff42}.mini-dock i,.mini-dock img{width:23px;height:23px;border-radius:7px;background:linear-gradient(145deg,#58a7f3,#18447e)}.mini-dock i:nth-child(2){background:linear-gradient(145deg,#72d5ff,#d6f6ff)}.mini-dock i:nth-child(3){background:linear-gradient(145deg,#ffc73b,#417ddb)}.mini-dock i:nth-child(4){background:linear-gradient(145deg,#ed557a,#191920)}.mini-dock img{object-fit:cover;border-radius:50%}
.tool-links { padding:18px 20px 4px;gap:8px; }.tool-chip { padding:8px 11px;border-radius:999px;background:var(--widget-glass);border-color:var(--widget-rim);box-shadow:var(--widget-shadow);font-size:11px; }.tool-chip-icon{width:21px;height:21px}
.result-list { margin:12px 20px 20px;padding:13px 16px;border-radius:24px;background:linear-gradient(145deg,#ffffff15,#09121dcc);border-color:var(--widget-rim); }
.result-row { grid-template-columns:24px 1fr;gap:10px;padding:8px 0;font-size:14px;line-height:1.5; }.result-row span:first-child{width:22px;height:22px}

.composer-area { padding:14px 22px 18px;border-top:1px solid var(--line);background:linear-gradient(rgba(255,255,255,.03),rgba(0,0,0,.38));box-shadow:inset 0 1px rgba(255,255,255,.12);backdrop-filter:blur(28px) saturate(150%); }
.suggestion-carousel { display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;align-items:center;margin-bottom:10px; }
.suggestion-row { gap:7px;padding:3px 0;overflow:auto;scrollbar-width:none; }
.suggestion { display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:6px 10px;border-radius:999px;border:1px solid var(--widget-rim);background:var(--widget-glass);box-shadow:var(--widget-shadow);font-size:10px;line-height:1.4; }
.suggestion-symbol { display:grid;place-items:center;flex:0 0 1.4em;width:1.4em;height:1.4em;color:var(--ink); }
.suggestion-symbol svg { display:block;width:100%;height:100%;fill:currentColor; }
.suggestion-symbol-emoji { font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.08em;line-height:1; }
.suggestion-symbol svg [fill="#24344b"] { fill:var(--bg); }
.suggestion-label { display:inline;white-space:nowrap; }
.prompt-scroll-arrow { width:36px;height:36px;padding:0;border-radius:50%;display:grid;place-items:center;cursor:pointer; }
.prompt-scroll-arrow svg { width:18px;height:18px;fill:currentColor;stroke:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.24)); }
.composer { min-height:57px;height:57px;padding:8px 9px 8px 16px;display:flex;gap:9px;border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.02));border:1px solid var(--widget-rim);box-shadow:inset 0 1px 1px #ffffff38,0 8px 22px #00000040;backdrop-filter:blur(20px) saturate(150%); }
.composer-leading { width:18px;height:18px;flex:0 0 18px;fill:#a8b3c5; }
.composer input { flex:1;min-width:0;padding:0;border:0;background:transparent;color:var(--ink);font-size:14px;outline:0; }
.composer input::placeholder { color:#8d96a7; }
.mic-button,.live-voice-button,.live-video-button,.send-button { width:40px;height:40px;flex:0 0 40px;padding:0;display:grid;place-items:center;border:1px solid var(--widget-rim);border-radius:50%;background:var(--widget-glass);box-shadow:var(--widget-shadow); }
.mic-button svg,.live-voice-button svg,.send-button svg{width:18px;height:18px}.mic-button svg{fill:currentColor}.mic-button .stroke{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round}.live-voice-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}.live-voice-button[aria-pressed="true"]{border-color:rgba(170,217,255,.8);box-shadow:inset 0 1px 2px rgba(255,255,255,.7),0 0 0 5px rgba(100,173,255,.12),0 0 24px rgba(94,172,255,.35)}.send-button svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.send-button{display:none}.composer.has-text .mic-button{display:none}.composer.has-text .send-button{display:grid}

.cofounder-browser { opacity:0;pointer-events:none;border-left:1px solid var(--app-rim);grid-template-rows:64px auto auto auto minmax(0,1fr);background:linear-gradient(160deg,rgba(79,88,102,.68),rgba(10,16,26,.96)); }
.desktop-shell.browser-open .cofounder-browser { opacity:1;pointer-events:auto; }
.browser-header { padding:12px 14px 9px 16px; }.browser-symbol{width:19px;height:19px;fill:currentColor}.browser-symbol-emoji{display:inline-grid;place-items:center;width:22px;height:22px;font-size:20px;line-height:1}.browser-header .icon-button{width:38px;height:38px}
.browser-agents { padding:9px 14px; }.browser-agent img{border-radius:50%;clip-path:circle(48%)}.browser-agent.active{background:transparent;border-color:transparent;box-shadow:none}.browser-agent small{color:#aab3c3}.browser-you img{object-fit:cover}
.browser-agents { position:relative;isolation:isolate; }
.browser-agent-rail { min-width:0;display:flex;align-items:center;gap:6px;padding:0 14px; }
.browser-agent-rail .browser-agents { flex:0 1 auto;width:max-content;min-width:0;padding-inline:0;overflow-x:auto;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.75,.25,1),max-height .24s ease,padding .24s ease; }
.browser-agent-menu-wrap { position:relative;flex:none; }
.browser-agent-add {
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  padding:0;
  border:0;
  border-radius:50%;
  color:var(--os-ink,var(--ink));
  background:transparent;
  cursor:pointer;
}
.browser-agent-add::before {
  content:"";
  position:absolute;
  inset:6px;
  z-index:-1;
  border:1px solid var(--os-rim);
  border-radius:inherit;
  background:radial-gradient(ellipse at 28% 0%,rgba(255,255,255,.31),transparent 64%),
    linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:inset 0 1px rgba(255,255,255,.43),0 2px 6px rgba(18,40,69,.12);
  -webkit-backdrop-filter:blur(7px) saturate(132%);
  backdrop-filter:blur(7px) saturate(132%);
  pointer-events:none;
}
.browser-agent-add svg { width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round; }
.browser-agent-rail .browser-agent-add { background:none;box-shadow:none;border:0; }
.browser-agent-rail .browser-agent-add::before { display:none; }
.browser-agent-add:is(:hover,[aria-expanded="true"])::before {
  border-color:var(--os-rim-strong);
  box-shadow:inset 0 1px rgba(255,255,255,.66),0 3px 8px rgba(18,40,69,.18);
}
@media (prefers-reduced-transparency:reduce) {
  .browser-agent-add::before { background:var(--os-glass-strong);-webkit-backdrop-filter:none;backdrop-filter:none; }
}
.browser-agent-menu { position:absolute;top:calc(100% + 9px);right:0;z-index:1000;width:208px;padding:7px;border:1px solid rgba(255,255,255,.74);border-radius:20px;background:radial-gradient(ellipse at 15% 0,rgba(255,255,255,.76),transparent 58%),linear-gradient(145deg,rgba(245,250,255,.83),rgba(188,211,240,.76));box-shadow:inset 0 1px rgba(255,255,255,.86),0 14px 34px rgba(32,59,97,.24);-webkit-backdrop-filter:blur(25px) saturate(175%);backdrop-filter:blur(25px) saturate(175%); }
.browser-agent-menu[hidden] { display:none; }
.browser-agent-menu button { width:100%;min-height:42px;padding:8px 12px;border:0;border-radius:13px;color:#1e3653;background:transparent;font:inherit;font-size:14px;text-align:left;cursor:pointer; }
.browser-agent-menu { border-radius:38px; padding:10px; overflow:hidden; }
.browser-agent-menu button { border-radius:999px; min-height:46px; }
.browser-agent-menu button { display:flex;align-items:center;gap:10px; }
.browser-agent-menu-symbol { width:18px;height:18px;flex:none;fill:currentColor; }
.browser-agent-menu button:hover,.browser-agent-menu button:focus-visible { outline:0;background:rgba(255,255,255,.48); }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .browser-agent-menu { background:radial-gradient(ellipse at 16% 0%,rgba(221,234,255,.22),transparent 58%),linear-gradient(145deg,rgba(18,27,40,.77),rgba(8,18,32,.83));border-color:rgba(222,235,255,.48);box-shadow:inset 0 2px 2px rgba(255,255,255,.28),inset 0 -2px 4px rgba(255,255,255,.12),0 16px 36px rgba(0,0,0,.33);-webkit-backdrop-filter:blur(25px) saturate(160%);backdrop-filter:blur(25px) saturate(160%)}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .browser-agent-menu button { color:#f3f7ff }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .browser-agent-menu button:hover { background:rgba(192,221,255,.17) }
.browser-agent-rail.users-minimized .browser-agents { max-height:0;padding-block:0;opacity:0;overflow:hidden;transform:scaleY(.75);pointer-events:none; }
.browser-agent-rail.users-minimized { display:none; }
.browser-agent-rail.users-minimized .browser-agent-add { margin-block:10px; }
@media (max-width:900px) { .browser-agent-rail { padding-inline:10px; }.browser-agent-rail .browser-agents { gap:4px; } }
.browser-agent { position:relative;z-index:1;transition:color .2s ease,transform .34s cubic-bezier(.2,.8,.2,1),border-color .2s ease; }
.browser-agent:hover { transform:translateY(-1px); }
.browser-agent.active { background:transparent;border-color:transparent;box-shadow:none; }
.browser-agent.active::before { content:none; }
.browser-agent-indicator { position:absolute;top:50%;left:0;z-index:0;width:0;height:0;box-sizing:border-box;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.28),rgba(176,204,238,.16));box-shadow:inset 0 1px rgba(255,255,255,.55),0 5px 15px rgba(28,58,98,.16);opacity:0;pointer-events:none;transform:translate3d(0,-50%,0);transition:left .34s cubic-bezier(.22,.8,.24,1),top .34s cubic-bezier(.22,.8,.24,1),width .34s cubic-bezier(.22,.8,.24,1),height .34s cubic-bezier(.22,.8,.24,1),opacity .18s ease; }
.browser-agents.has-active-indicator .browser-agent-indicator { opacity:1; }
.browser-agents:not(.has-active-indicator) .browser-agent[aria-pressed="true"] { background:var(--os-glass-strong);border-color:var(--os-rim-strong); }
@media (prefers-reduced-motion:reduce) { .browser-agent-indicator { transition:none; } }
.browser-content { border-radius:22px;padding:18px; }.artifact-row{grid-template-columns:120px 1fr}.artifact-head h2{font-size:20px}

.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar { padding:14px 10px 14px;overflow:visible;z-index:50; }
.desktop-shell.browser-open :is(.workspace,.cofounder-browser) { position:relative;z-index:1; }
.desktop-shell.account-menu-open .sidebar { overflow:visible;z-index:50; }
.desktop-shell.account-menu-open :is(.workspace,.cofounder-browser) { position:relative;z-index:1; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar-header { height:auto;min-height:98px;flex-direction:column;margin-bottom:6px;padding-bottom:0; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .brand-mark,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .brand-mark img { width:44px;height:44px; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selectors { display:flex;flex-direction:column;align-items:center; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .selector-wrap { width:50px;height:50px; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector { width:50px;height:50px;min-height:50px;padding:5px;display:grid;grid-template-columns:40px;border-radius:50%;overflow:hidden; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector>span:not(.venture-badge),.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector>.chevron { display:none; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-badge { width:40px;height:40px; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .selector-menu { left:58px;right:auto;top:0;width:220px;z-index:100; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .selector-menu::before {
  inset:0 100% auto auto;
  width:12px;
  height:50px;
}
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search { width:50px;height:50px;min-height:50px;margin:12px auto 0;padding:0;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;place-items:center;justify-content:center; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search input,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search kbd,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar-label { display:none; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search>svg { grid-area:1/1;width:18px;height:18px;margin:0;justify-self:center;align-self:center; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-list { margin-top:10px; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-item { width:50px;height:50px;min-height:50px;margin:5px auto;padding:4px;display:grid;grid-template-columns:42px;border-radius:50%;overflow:hidden; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-copy { display:none; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-zone{width:50px;margin:8px auto 0}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card { width:50px;height:50px;min-height:50px;margin:0;padding:7px;grid-template-columns:34px;border-radius:50%; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card>span { display:none; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-menu{left:calc(100% + 10px);right:auto;bottom:0;width:196px;z-index:100}

@media (min-width: 1250px) and (min-height: 820px) {
  .desktop-shell { --sidebar-expanded-width:300px; }
  .sidebar { padding-left:16px;padding-right:16px; }
  .chat-item { min-height:76px; }.chat-heading strong{font-size:13px}.chat-copy small{font-size:11px}.chat-orb{width:48px;height:48px}.chat-item{grid-template-columns:50px minmax(0,1fr)}
  .venture-selector { height:56px;min-height:56px;grid-template-columns:42px minmax(0,1fr) 13px }.venture-badge{width:42px;height:42px}.venture-selector strong{font-size:14px}.venture-selector small{font-size:11px}
  .search { height:40px;min-height:40px }.search input{font-size:12px}
  .message.user .bubble { font-size:18px;max-width:78%; }.agent-bubble{font-size:17px}.timestamp{font-size:13px}.activity-line{font-size:13px}
  .suggestion{font-size:12px;padding:8px 12px}.composer input{font-size:16px}
}

@media (max-width: 820px) {
  .desktop-shell { --sidebar-expanded-width:220px;--sidebar-collapsed-width:64px;border-radius:0;margin:0;width:100%;height:100%; }
  .sidebar { padding-left:9px;padding-right:9px; }.chat-heading time{display:none}.chat-item{grid-template-columns:42px minmax(0,1fr)}.chat-orb{width:40px;height:40px}.conversation{padding:20px 20px 30px}.message.user .bubble{max-width:92%;font-size:14px}.desktop-shell.browser-open{grid-template-columns:var(--sidebar-layout-width) minmax(280px,.75fr) minmax(410px,1.25fr)}
}

@media (min-height: 800px) {
  .desktop-shell { --sidebar-expanded-width:312px;--sidebar-collapsed-width:86px; }
  .desktop-shell.browser-open { grid-template-columns:var(--sidebar-layout-width) minmax(440px,.96fr) minmax(500px,1.04fr); }
  .sidebar { padding:16px 14px 24px; }
  .window-drag-region{height:46px}
  .sidebar-header{height:68px;padding:0 2px 14px}.brand-mark,.brand-mark img{width:53px;height:53px}.brand-mark{border-radius:16px}.round-control{width:46px;height:46px}.round-control svg{width:20px;height:20px}
  .venture-selector{height:60px;min-height:60px;padding:7px 12px 7px 7px;grid-template-columns:46px minmax(0,1fr) 16px;gap:10px}.venture-badge{width:46px;height:46px}.venture-selector small{font-size:12px}.venture-selector strong{font-size:16px}.chevron{width:16px;height:16px}
  .search{height:41px;min-height:41px;margin-top:17px;padding:0 12px;gap:10px}.search>svg{width:18px;height:18px}.search input{font-size:14px}
  .sidebar-label{margin:22px 14px 10px;font-size:10px}
  .chat-item{min-height:79px;padding:10px 8px;grid-template-columns:53px minmax(0,1fr);gap:9px;border-radius:25px}.chat-orb{width:51px;height:51px}.chat-heading strong{font-size:14px}.chat-heading time{font-size:10px}.chat-copy small{font-size:12px;margin-top:6px}.team-orbs{width:53px;height:51px}
  .account-card{height:72px;min-height:72px;padding:12px 17px 12px 12px;grid-template-columns:41px minmax(0,1fr);gap:12px}.account-card img{width:41px;height:41px}.wallet-sidebar-label strong,.account-card strong{font-size:14px}.wallet-sidebar-label small,.account-card small{font-size:12px}.account-menu-item{min-height:40px;font-size:13px}
  .workspace{grid-template-rows:79px minmax(0,1fr) auto}.workspace-header{height:79px;padding:12px 22px;gap:11px}.agent-heading{gap:11px}.agent-heading strong{font-size:17px}.orb-wrap,.orb-wrap img{width:48px;height:48px}.orb-wrap{flex-basis:48px}.workspace-header>.icon-button{width:53px;height:53px}.workspace-header>.icon-button svg{width:23px;height:23px}
  .conversation{padding:26px 34px 43px}.timestamp{font-size:13px;margin-bottom:31px}.message{margin-bottom:31px}.message.user .bubble{width:fit-content;max-width:min(58%,540px);padding:14px 20px;border-radius:25px;font-size:16px;line-height:1.5;background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(245,248,252,.86) 42%,rgba(220,232,247,.78) 74%,rgba(252,253,255,.90)),rgba(255,255,255,.78)}
  .workflow-colleague{max-width:78%;margin-bottom:19px}.agent-bubble{padding:19px 24px;border-radius:29px;font-size:18px}.agent-mention img{width:1.08em;height:1.08em}
  .activity-line{gap:11px;margin:10px 0 22px;font-size:14px}.activity-line img{width:48px;height:48px}
  .computer-card{margin-top:10px;border-radius:34px}.computer-preview{min-height:300px;padding:26px}.desktop-wallpaper{height:252px}.tool-links{padding:22px 24px 5px;gap:10px}.tool-chip{padding:10px 13px;font-size:13px}.result-list{margin:14px 24px 24px;padding:16px 19px}.result-row{font-size:17px;padding:10px 0}
  .composer-area{padding:17px 26px 22px}.suggestion-carousel{grid-template-columns:minmax(0,1fr) 43px;gap:10px;margin-bottom:12px}.suggestion{padding:8px 12px;font-size:12px}.prompt-scroll-arrow{width:43px;height:43px}.composer{height:68px;min-height:68px;padding:10px 11px 10px 19px;gap:11px}.composer-leading{width:22px;height:22px;flex-basis:22px}.composer input{font-size:17px}.mic-button,.live-voice-button,.live-video-button,.send-button{width:48px;height:48px;flex-basis:48px}
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar{padding:16px 12px 17px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar-header{min-height:72px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .brand-mark,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .brand-mark img{width:53px;height:53px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .selector-wrap,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector{width:60px;height:60px;min-height:60px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector{grid-template-columns:48px;padding:6px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-badge{width:48px;height:48px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-item,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-zone,.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card{width:60px;height:60px;min-height:60px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-item{grid-template-columns:51px;padding:4px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-zone{margin-top:8px}.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card{grid-template-columns:41px;padding:9px}
}

/* Responsive agent-card system — mirrors the live desktop demo states. */
:root {
  --agent-hover-glass:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.025) 48%,rgba(0,0,0,.18));
  --agent-hover-rim:rgba(255,255,255,.2);
  --agent-hover-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 7px 19px rgba(0,0,0,.22);
}

.sidebar {
  --agent-card-gutter:12px;
  --agent-card-bleed:24px;
  --agent-card-pull:-12px;
}

.chat-list {
  width:calc(100% + var(--agent-card-bleed));
  margin-inline:var(--agent-card-pull);
  padding:0 0 5px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:3px;
  overflow-x:hidden;
  scroll-snap-type:y proximity;
}

.chat-item {
  position:relative;
  isolation:isolate;
  flex:0 0 auto;
  width:100%;
  min-height:clamp(60px,8.6vh,74px);
  padding-inline:calc(var(--agent-card-gutter) + 7px);
  overflow:hidden;
  scroll-snap-align:nearest;
  transform:translateZ(0);
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .2s cubic-bezier(.2,.8,.2,1),filter .22s ease;
  will-change:transform,background;
}

.chat-item::before {
  content:"";
  position:absolute;
  z-index:0;
  inset:-1px;
  pointer-events:none;
  opacity:0;
  background:radial-gradient(150px circle at var(--card-x,50%) var(--card-y,50%),rgba(196,224,255,.16),transparent 58%);
  transition:opacity .2s ease;
}

.chat-item > * { position:relative;z-index:1; }
.chat-item:hover,
.chat-item.focus-ring:focus-visible {
  outline:none;
  background:var(--agent-hover-glass);
  border-color:var(--agent-hover-rim);
  box-shadow:var(--agent-hover-shadow);
  transform:translateY(-1px);
}
.chat-item:hover::before,
.chat-item.focus-ring:focus-visible::before { opacity:1; }
.chat-item.active,
.chat-item[data-state="active"] {
  background:var(--widget-glass);
  border-color:var(--widget-rim);
  box-shadow:var(--widget-shadow);
  color:var(--ink);
}
.chat-item.is-pressed,
.chat-item:active { transform:translateY(0) scale(.985);filter:brightness(1.08); }

/* Every cofounder portrait is a real WebGL sphere. The original PNG remains
   underneath only as a fallback if WebGL cannot start on a particular Mac. */
.living-orb {
  --orb-lift:0px;
  --orb-motion-scale:1;
  position:relative;
  display:inline-block;
  flex:0 0 auto;
  overflow:visible;
  transform:none;
  transform-origin:50% 50%;
  animation:none!important;
  filter:drop-shadow(0 0 7px rgba(107,158,255,.3));
  transition:filter .2s ease;
  contain:layout style;
  backface-visibility:hidden;
  isolation:isolate;
}
.living-orb-fallback,
.living-orb-canvas {
  position:absolute!important;
  inset:0!important;
  z-index:1;
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:cover;
  border-radius:50%;
  clip-path:circle(47% at 50% 50%);
  pointer-events:none;
}
.living-orb-fallback {
  left:0!important;
  top:0!important;
  opacity:1;
  transform:scale(1.36);
  transition:opacity .16s ease;
}
.living-orb-canvas {
  z-index:2;
  opacity:0;
  transform:none!important;
  transition:opacity .16s ease;
}
.living-orb.is-rendered > .living-orb-fallback { opacity:0; }
.living-orb.is-rendered > .living-orb-canvas { opacity:1; }

/* Contexts whose source images had no class receive their dimensions here. */

.orb-wrap > .living-orb { width:100%;height:100%; }
.activity-line > .living-orb { width:40px;height:40px; }
.browser-agent:not(.browser-you) > .living-orb { width:27px;height:27px; }
.agent-mention > .living-orb { width:1.34em;height:1.34em;flex:0 0 1.34em;vertical-align:middle; }
/* In-chat Cofounder tags use one fixed token geometry in every message type. */
#conversation .agent-mention {
  gap:3px;
  width:auto;
  height:20px;
  min-height:20px;
  margin:1px 2px;
  padding:0 5px 0 1px;
  box-sizing:border-box;
  font-size:13px;
  line-height:18px;
  vertical-align:middle;
}
#conversation .agent-mention > :is(img,.living-orb) {
  width:17px;
  height:17px;
  flex:0 0 17px;
}
#conversation .agent-mention .cofounder-name {
  font-size:13px;
  line-height:18px;
}
.proof-role { margin-bottom:7px;font-size:25px;font-weight:700; }
.proof-role .agent-mention { color:var(--ink); }
.proof-role .cofounder-name { display:inline;font-size:inherit;line-height:inherit; }
.inline-orb > .living-orb { width:100%;height:100%; }
.mini-dock > .living-orb { width:23px;height:23px; }
.onboarding-visual > .living-orb.hero-orb { aspect-ratio:1; }
@media (min-height:800px) {

  .activity-line > .living-orb { width:48px;height:48px; }
}

/* The shader changes the sphere sampling itself, while CSS only supplies the
   material glow around the rendered 3D silhouette. */
[data-role-portrait][data-awake="true"] {
  filter:drop-shadow(0 0 10px rgba(190,219,255,.58));
}

.chat-item:hover [data-role-portrait],
.chat-item.focus-ring:focus-visible [data-role-portrait],
.orb-wrap:hover [data-role-portrait],
.orb-wrap:focus-visible [data-role-portrait],
.browser-agent:hover [data-role-portrait],
.agent-mention[role="button"]:hover [data-role-portrait] {
  filter:drop-shadow(0 0 11px rgba(185,218,255,.5));
}
.chat-item.active [data-role-portrait] { filter:drop-shadow(0 0 10px rgba(190,219,255,.52)); }
.activity-line [data-role-portrait] { animation:portrait-working-glow 2.6s ease-in-out infinite!important; }

.browser-agent {
  cursor:pointer;
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .2s ease;
}
.browser-agent:hover,.browser-agent.focus-ring:focus-visible {
  outline:none;
  background:var(--agent-hover-glass);
  border-color:var(--agent-hover-rim);
  box-shadow:var(--agent-hover-shadow);
  transform:translateY(-1px);
}
.browser-agent:active,.browser-agent.is-pressed { transform:scale(.975); }

.agent-mention[role="button"] {
  cursor:pointer;
  transition:background .16s ease,filter .16s ease,transform .16s ease,box-shadow .16s ease;
}
.agent-mention[role="button"]:hover { filter:brightness(1.12);transform:translateY(-1px);box-shadow:inset 0 1px 1px rgba(255,255,255,.5),0 6px 16px rgba(3,10,23,.2); }
.agent-mention[role="button"]:focus-visible { outline:2px solid rgba(169,210,255,.72);outline-offset:2px; }


@keyframes portrait-working-glow {
  0%,100% { filter:drop-shadow(0 0 9px rgba(110,163,255,.32)); }
  50% { filter:drop-shadow(0 0 18px rgba(145,117,255,.62)); }
}

@media (min-height:800px) {
  .sidebar { --agent-card-gutter:14px;--agent-card-bleed:28px;--agent-card-pull:-14px; }
}
@media (max-width:820px) {
  .sidebar { --agent-card-gutter:9px;--agent-card-bleed:18px;--agent-card-pull:-9px; }
}
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-list { width:100%;margin:10px 0 0;align-items:center;gap:6px;overflow:visible; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-item { padding:4px;transform-origin:center; }

@media (prefers-reduced-motion:reduce) {
  .chat-item,[data-role-portrait],.browser-agent,.agent-mention,.venture-mention { animation:none!important;transition-duration:.01ms!important; }
}

/* Unified iOS-style translucent liquid glass for every circular control. */
:is(.round-control,.icon-button,.prompt-scroll-arrow,.mic-button,.live-voice-button,.send-button,.onboarding-back,.browser-address button) {
  position:relative;
  overflow:hidden;
  color:var(--ink);
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.34),transparent 31%),
    linear-gradient(145deg,rgba(255,255,255,.19),rgba(145,177,216,.085) 46%,rgba(3,9,17,.36) 100%);
  border:1px solid rgba(221,237,255,.34);
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.42),
    inset 0 -1px 1px rgba(0,0,0,.25),
    0 8px 22px rgba(0,0,0,.26),
    0 0 0 .5px rgba(133,184,244,.18);
  -webkit-backdrop-filter:blur(26px) saturate(190%);
  backdrop-filter:blur(26px) saturate(190%);
  transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
:is(.round-control,.icon-button,.prompt-scroll-arrow,.mic-button,.live-voice-button,.send-button,.onboarding-back,.browser-address button):hover {
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.48),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.25),rgba(134,180,232,.14) 48%,rgba(4,11,21,.31));
  border-color:rgba(230,243,255,.52);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.56),inset 0 -1px 1px rgba(0,0,0,.2),0 10px 28px rgba(0,0,0,.3),0 0 18px rgba(121,177,246,.13);
  transform:translateY(-1px);
}
:is(.round-control,.icon-button,.prompt-scroll-arrow,.mic-button,.live-voice-button,.send-button,.onboarding-back,.browser-address button):active {
  transform:translateY(0) scale(.965);
  box-shadow:inset 0 2px 4px rgba(0,0,0,.3),inset 0 1px 1px rgba(255,255,255,.3),0 4px 12px rgba(0,0,0,.24);
}
:root[data-theme="glacial"] :is(.round-control,.icon-button,.prompt-scroll-arrow,.mic-button,.live-voice-button,.send-button,.onboarding-back,.browser-address button) {
  background:radial-gradient(circle at 28% 16%,rgba(232,248,255,.45),transparent 31%),linear-gradient(145deg,rgba(160,218,255,.24),rgba(56,125,194,.13) 48%,rgba(5,24,48,.4));
  border-color:rgba(190,230,255,.48);
  box-shadow:inset 0 1px 2px rgba(246,253,255,.57),inset 0 -1px 1px rgba(3,31,57,.34),0 9px 24px rgba(0,27,57,.28),0 0 18px rgba(89,185,255,.16);
}
:root[data-theme="bright"] :is(.round-control,.icon-button,.prompt-scroll-arrow,.mic-button,.live-voice-button,.send-button,.onboarding-back,.browser-address button) {
  color:#17304e;
  background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.92),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.72),rgba(197,220,249,.4) 50%,rgba(121,159,207,.24));
  border-color:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.92),inset 0 -1px 1px rgba(73,106,151,.2),0 9px 24px rgba(42,76,121,.2),0 0 0 .5px rgba(255,255,255,.72);
}

/* Centered settings workspace — compact desktop proportions with the same controls. */
.modal-layer.settings-layer{padding:60px;place-items:center}.settings-layer .modal-backdrop{background:rgba(1,5,11,.1);-webkit-backdrop-filter:blur(8px) saturate(145%);backdrop-filter:blur(8px) saturate(145%)}
.modal.settings-modal{
  --settings-ink:#f1f6ff;
  --settings-muted:#9eacc0;
  --settings-line:rgba(224,239,255,.19);
  --settings-control:linear-gradient(145deg,rgba(255,255,255,.13),rgba(114,145,187,.055) 52%,rgba(2,8,16,.28));
  position:relative;
  z-index:1;
  width:min(990px,100%);
  height:min(680px,100%);
  max-height:none;
  padding:0;
  display:grid;
  grid-template-columns:minmax(232px,24%) minmax(0,1fr);
  overflow:hidden;
  border-radius:32px;
  color:var(--settings-ink);
  background:
    radial-gradient(115% 90% at 74% -5%,rgba(167,207,255,.22),transparent 56%),
    radial-gradient(65% 95% at 4% 105%,rgba(151,126,220,.1),transparent 64%),
    linear-gradient(145deg,rgba(42,59,82,.34),rgba(7,15,28,.25) 48%,rgba(29,47,72,.3));
  border:1.5px solid rgba(231,243,255,.72);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.65),inset 0 -1px 1px rgba(0,0,0,.22),0 36px 100px rgba(0,0,0,.42),0 0 54px rgba(123,177,244,.1);
  -webkit-backdrop-filter:blur(24px) saturate(185%) brightness(1.08);
  backdrop-filter:blur(24px) saturate(185%) brightness(1.08);
  isolation:isolate;
}
.modal.settings-modal::before,
.modal.settings-modal::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.modal.settings-modal::before{
  background:
    linear-gradient(118deg,rgba(255,255,255,.14),transparent 22%,transparent 70%,rgba(164,203,255,.075)),
    radial-gradient(85% 18% at 50% 0,rgba(255,255,255,.2),transparent 72%);
  mix-blend-mode:screen;
}
.modal.settings-modal::after{
  inset:1px;
  border-radius:30px;
  box-shadow:inset 0 0 0 .5px rgba(255,255,255,.36),inset 18px 0 34px rgba(255,255,255,.035),inset -20px 0 40px rgba(124,177,240,.045);
}
:root[data-theme="glacial"] .modal.settings-modal{
  --settings-ink:#132641;
  --settings-muted:#536b8c;
  --settings-line:rgba(255,255,255,.48);
  --settings-control:linear-gradient(145deg,rgba(255,255,255,.5),rgba(171,198,235,.27) 52%,rgba(96,132,181,.16));
  background:
    radial-gradient(72% 66% at 71% 4%,rgba(241,249,255,.36),transparent 65%),
    radial-gradient(80% 90% at 25% 90%,rgba(220,214,255,.17),transparent 68%),
    linear-gradient(135deg,rgba(231,241,253,.44),rgba(181,204,236,.35) 50%,rgba(128,161,208,.29));
  border-color:rgba(255,255,255,.83);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.9),inset 0 -1px 1px rgba(51,83,128,.22),0 34px 90px rgba(26,54,93,.32);
}
:root[data-theme="bright"] .modal.settings-modal{
  --settings-ink:#172942;
  --settings-muted:#5b6e89;
  --settings-line:rgba(255,255,255,.64);
  --settings-control:linear-gradient(145deg,rgba(255,255,255,.72),rgba(196,216,242,.37) 54%,rgba(137,171,216,.2));
  background:radial-gradient(80% 75% at 70% 8%,rgba(255,255,255,.44),transparent 65%),linear-gradient(145deg,rgba(242,247,253,.49),rgba(199,216,239,.39) 52%,rgba(160,188,224,.33));
  border-color:rgba(255,255,255,.92);
}
.settings-rail{position:relative;z-index:1;min-width:0;padding:23px 16px 24px;overflow:auto;background:linear-gradient(155deg,rgba(255,255,255,.16),rgba(255,255,255,.035) 55%,rgba(41,59,89,.075));border-right:1px solid rgba(255,255,255,.56);box-shadow:inset -1px 0 rgba(85,112,150,.16);-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%)}
.settings-search{height:48px;margin:0 0 28px;padding:0 16px;display:flex;align-items:center;gap:13px;border:1px solid rgba(255,255,255,.54);border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.07));box-shadow:inset 0 1px rgba(255,255,255,.45),0 8px 20px rgba(45,72,111,.08)}
.settings-search svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;color:#6e6499}.settings-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--settings-ink);font-size:17px}.settings-search input::placeholder{color:var(--settings-muted);opacity:.72}
.settings-nav{display:grid;gap:3px}.settings-nav-label{margin:18px 12px 5px;color:#536c8e;font-size:11px;font-weight:750;letter-spacing:.18em}.settings-nav-label:first-child{margin-top:0}.settings-nav-item{width:100%;min-height:45px;padding:8px 14px;border:1px solid transparent;border-radius:999px;display:grid;grid-template-columns:25px minmax(0,1fr);gap:10px;align-items:center;color:var(--settings-muted);background:transparent;text-align:left;font-size:17px;font-weight:560;cursor:pointer}.settings-nav-item svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.settings-nav-item:hover{background:rgba(255,255,255,.11);color:var(--settings-ink)}.settings-nav-item.active{color:#f5f8ff;background:linear-gradient(145deg,rgba(69,75,86,.92),rgba(15,18,24,.88));border-color:rgba(255,255,255,.56);box-shadow:inset 0 1px 1px rgba(255,255,255,.45),inset 0 -1px 1px rgba(0,0,0,.45),0 9px 22px rgba(25,38,57,.2)}
.settings-content{position:relative;z-index:1;min-width:0;overflow:auto;padding:32px 48px 50px;background:linear-gradient(145deg,rgba(255,255,255,.025),transparent 44%,rgba(111,166,234,.035));-webkit-backdrop-filter:blur(7px) saturate(125%);backdrop-filter:blur(7px) saturate(125%)}.settings-close{position:absolute;top:23px;right:23px;width:47px;height:47px;padding:0;display:grid;place-items:center;border-radius:50%;color:var(--settings-ink);background:radial-gradient(circle at 29% 17%,rgba(255,255,255,.68),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.34),rgba(113,145,186,.14) 54%,rgba(9,18,31,.25));border:1px solid rgba(255,255,255,.78);box-shadow:inset 0 1px 2px rgba(255,255,255,.78),inset 0 -1px 1px rgba(34,55,83,.26),0 9px 22px rgba(35,57,87,.2);cursor:pointer;-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%)}.settings-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}.settings-close:hover{transform:translateY(-1px);filter:brightness(1.07)}
.settings-panel-header{height:80px;padding:9px 78px 26px 0;display:flex;align-items:center;border-bottom:1px solid var(--settings-line)}.modal.settings-modal .settings-panel-header h2{margin:0;font-size:20px;font-weight:750;color:var(--settings-ink)}.settings-panel-intro{margin:28px 0 -2px!important;color:var(--settings-muted)!important;font-size:16px;line-height:1.5}
.settings-row{min-height:108px;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--settings-line)}.settings-row-copy{min-width:0}.settings-row-copy strong,.settings-row-copy small{display:block}.settings-row-copy strong{font-size:20px;line-height:1.2;color:var(--settings-ink)}.settings-row-copy small{margin-top:5px;color:var(--settings-muted);font-size:16px;line-height:1.3}
.settings-segment{width:min(340px,42%);height:52px;padding:5px;display:grid;grid-template-columns:repeat(2,1fr);border:0;border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(126,161,208,.14));box-shadow:0 8px 18px rgba(41,68,106,.12)}.settings-segment button{min-width:0;border:0;border-radius:999px;background:transparent;color:var(--settings-ink);font-size:16px;font-weight:650;cursor:pointer}.settings-segment button.active{color:#f6f9ff;background:linear-gradient(145deg,rgba(108,138,181,.78),rgba(40,62,92,.86));border:0;box-shadow:0 5px 12px rgba(38,61,94,.28)}
.settings-language{width:min(265px,36%);height:52px;padding:5px 7px 5px 18px;display:grid;grid-template-columns:minmax(0,1fr) 41px;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.75);border-radius:999px;background:var(--settings-control);box-shadow:inset 0 1px 1px rgba(255,255,255,.62),0 8px 20px rgba(32,57,92,.17)}.settings-language select{width:100%;border:0;outline:0;appearance:none;background:transparent;color:var(--settings-ink);font-size:17px;font-weight:620}.settings-language span{width:41px;height:41px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.76),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.32),rgba(72,102,143,.23));border:1px solid rgba(255,255,255,.72);box-shadow:inset 0 1px 1px rgba(255,255,255,.58),0 5px 12px rgba(33,55,85,.2)}.settings-language svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.settings-switch{position:relative;width:58px;height:34px;flex:0 0 58px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.72);background:linear-gradient(145deg,rgba(20,27,39,.86),rgba(2,5,10,.96));box-shadow:inset 0 1px 2px rgba(255,255,255,.22),0 6px 16px rgba(29,49,78,.17);cursor:pointer}.settings-switch i{position:absolute;left:2px;top:2px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 30% 22%,#fff,rgba(248,251,255,.92) 42%,rgba(185,202,224,.8));border:1px solid rgba(255,255,255,.9);box-shadow:0 3px 9px rgba(25,43,68,.28);transition:transform .22s cubic-bezier(.2,.8,.2,1)}.settings-switch.on{background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(140,171,211,.34))}.settings-switch.on i{transform:translateX(24px)}
.settings-secondary{padding:11px 17px;border:1px solid rgba(255,255,255,.54);border-radius:999px;background:var(--settings-control);color:var(--settings-ink);font-weight:650;cursor:pointer}
@media (max-width:800px){.modal.settings-modal{grid-template-columns:210px minmax(0,1fr)}.settings-rail{padding-inline:12px}.settings-content{padding-inline:28px}.settings-nav-item{font-size:14px}.settings-row-copy strong{font-size:17px}.settings-row-copy small{font-size:13px}.settings-segment{width:280px}.settings-language{width:230px}}
@media (max-height:720px){.settings-rail{padding-top:16px}.settings-search{height:42px;margin-bottom:15px}.settings-nav-item{min-height:36px;font-size:14px}.settings-nav-label{margin-top:10px}.settings-content{padding-top:20px}.settings-panel-header{height:62px}.settings-row{min-height:88px;padding-block:15px}}

/* Silver appearance -------------------------------------------------------
   This block intentionally follows the desktop-demo parity layer. Silver is
   a complete app material, not a settings-only skin, so every dark hard-coded
   surface is remapped to the same bright translucent liquid-glass system. */
:root[data-theme="bright"] {
  --bg:#a9bad2;
  --ink:#172942;
  --muted:#586b86;
  --line:rgba(255,255,255,.5);
  --line-strong:rgba(255,255,255,.8);
  --app-rim:rgba(255,255,255,.84);
  --app-glass:
    radial-gradient(120% 110% at 10% -12%,rgba(255,255,255,.8),transparent 42%),
    linear-gradient(145deg,rgba(247,251,255,.62),rgba(203,220,243,.4) 52%,rgba(149,180,220,.3));
  --app-shadow:
    inset 0 1px 2px rgba(255,255,255,.92),
    inset 0 -1px 1px rgba(62,91,130,.16),
    0 22px 54px rgba(39,65,100,.22);
  --widget-glass:
    radial-gradient(120% 110% at 12% -16%,rgba(255,255,255,.82),transparent 43%),
    linear-gradient(145deg,rgba(250,253,255,.61),rgba(206,222,243,.4) 52%,rgba(146,177,217,.27));
  --widget-rim:rgba(255,255,255,.74);
  --widget-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.9),
    inset 0 -1px 1px rgba(67,97,138,.17),
    0 8px 22px rgba(40,69,108,.17);
  --agent-hover-glass:
    radial-gradient(130% 120% at 14% -20%,rgba(255,255,255,.86),transparent 44%),
    linear-gradient(145deg,rgba(250,253,255,.67),rgba(190,211,239,.42) 54%,rgba(133,169,215,.26));
  --agent-hover-rim:rgba(255,255,255,.86);
  --agent-hover-shadow:inset 0 1px 1.5px rgba(255,255,255,.94),0 9px 24px rgba(45,77,117,.18);
  --shadow:0 24px 70px rgba(32,53,84,.22),inset 0 1px 0 rgba(255,255,255,.85);
}

:root[data-theme="bright"] body {
  background:
    radial-gradient(78% 94% at 4% -4%,rgba(250,253,255,.82),transparent 60%),
    radial-gradient(70% 85% at 100% 100%,rgba(92,130,181,.26),transparent 66%),
    linear-gradient(145deg,#cbd8e9,#9cafca 58%,#829aba);
}
:root[data-theme="bright"] body::before {
  opacity:.5;
  background-image:
    linear-gradient(116deg,transparent 16%,rgba(255,255,255,.22) 30%,transparent 47%),
    radial-gradient(circle at 1px 1px,rgba(255,255,255,.2) .8px,transparent 1.1px);
  background-size:100% 100%,5px 5px;
  mix-blend-mode:soft-light;
}
:root[data-theme="bright"] .desktop-shell {
  background:
    radial-gradient(90% 100% at 4% -8%,rgba(255,255,255,.7),transparent 53%),
    radial-gradient(68% 82% at 100% 100%,rgba(103,141,192,.19),transparent 65%),
    linear-gradient(145deg,rgba(239,246,253,.58),rgba(190,210,238,.4) 52%,rgba(141,173,214,.3));
  border-color:rgba(255,255,255,.9);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.94),inset 0 -1px 1px rgba(65,96,139,.18),0 34px 88px rgba(36,61,96,.3);
  -webkit-backdrop-filter:blur(46px) saturate(175%) brightness(1.07);
  backdrop-filter:blur(46px) saturate(175%) brightness(1.07);
}
:root[data-theme="bright"] .desktop-shell::after { border-color:rgba(255,255,255,.5); }

:root[data-theme="bright"] :is(.sidebar,.workspace-header,.composer-area,.cofounder-browser) {
  background:
    radial-gradient(120% 100% at 8% -18%,rgba(255,255,255,.6),transparent 46%),
    linear-gradient(150deg,rgba(244,249,255,.4),rgba(191,211,238,.24) 56%,rgba(117,153,201,.14));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(38px) saturate(165%) brightness(1.06);
  backdrop-filter:blur(38px) saturate(165%) brightness(1.06);
}
:root[data-theme="bright"] .sidebar { border-right-color:rgba(255,255,255,.62); }
:root[data-theme="bright"] .sidebar-resizer { background:transparent; }
:root[data-theme="bright"] .sidebar-resizer span { border-color:rgba(255,255,255,.88);background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(172,207,246,.64) 48%,rgba(111,157,213,.34));box-shadow:inset 0 1px 1px rgba(255,255,255,.96),0 0 18px rgba(83,142,211,.26),0 5px 14px rgba(50,77,111,.18); }
:root[data-theme="bright"] .sidebar-label,
:root[data-theme="bright"] .chat-heading time { color:#60738d; }
:root[data-theme="bright"] .chat-item::before {
  background:radial-gradient(150px circle at var(--card-x,50%) var(--card-y,50%),rgba(255,255,255,.72),transparent 60%);
}
:root[data-theme="bright"] .chat-item:hover,
:root[data-theme="bright"] .chat-item.focus-ring:focus-visible,
:root[data-theme="bright"] .chat-item.active,
:root[data-theme="bright"] .chat-item[data-state="active"] { color:var(--ink); }

:root[data-theme="bright"] .selector-menu {
  color:var(--ink);
  background:
    radial-gradient(100% 85% at 6% 0,rgba(255,255,255,.82),transparent 55%),
    linear-gradient(150deg,rgba(239,246,254,.92),rgba(188,210,239,.86));
  border-color:rgba(255,255,255,.9);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 22px 50px rgba(39,65,101,.26);
}
:root[data-theme="bright"] .selector-option:hover,
:root[data-theme="bright"] .selector-option.selected {
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(162,194,233,.36));
  border-color:rgba(255,255,255,.76);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.82);
}
:root[data-theme="bright"] .selector-option.selector-create {
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(157,190,231,.27));
  border-color:rgba(255,255,255,.64);
}
:root[data-theme="bright"] .menu-portrait.new { background:rgba(255,255,255,.5)!important; }
:root[data-theme="bright"] .chevron { color:#4e6380; }

:root[data-theme="bright"] .account-menu {
  color:var(--ink);
  background:
    radial-gradient(110% 95% at 12% -12%,rgba(255,255,255,.86),transparent 54%),
    linear-gradient(145deg,rgba(242,248,255,.87),rgba(181,205,237,.79));
  border-color:rgba(255,255,255,.86);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.92),0 18px 42px rgba(42,69,105,.25);
}
:root[data-theme="bright"] .account-menu-item:hover,
:root[data-theme="bright"] .account-menu-item:focus-visible {
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(150,184,225,.28));
}
:root[data-theme="bright"] .account-menu-item small,
:root[data-theme="bright"] .account-row-chevron { color:#60728a; }
:root[data-theme="glacial"] .account-row-chevron { color:#f3f9ff;border-color:rgba(195,231,255,.58);background:radial-gradient(circle at 28% 16%,rgba(238,250,255,.68),transparent 33%),linear-gradient(145deg,rgba(151,214,255,.34),rgba(46,122,198,.18) 49%,rgba(4,23,45,.44));box-shadow:inset 0 1px 1.5px rgba(245,253,255,.68),inset 0 -1px 1px rgba(2,28,54,.34),0 6px 15px rgba(0,28,58,.28),0 0 13px rgba(83,183,255,.22) }
:root[data-theme="bright"] .account-row-chevron { color:#294766;border-color:rgba(255,255,255,.88);background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.98),transparent 35%),linear-gradient(145deg,rgba(255,255,255,.82),rgba(191,217,247,.5) 50%,rgba(117,156,207,.29));box-shadow:inset 0 1px 1.5px rgba(255,255,255,.96),inset 0 -1px 1px rgba(73,106,151,.19),0 6px 15px rgba(42,75,118,.2),0 0 12px rgba(116,173,239,.18) }
:root[data-theme="bright"] .account-menu-divider { background:rgba(255,255,255,.6); }
:root[data-theme="bright"] .account-plan-flyout {
  color:#172942;
  background:
    radial-gradient(115% 92% at 7% -12%,rgba(255,255,255,.96),transparent 52%),
    linear-gradient(145deg,rgba(239,247,255,.93),rgba(177,204,238,.86) 62%,rgba(141,175,218,.82));
  border-color:rgba(255,255,255,.9);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.95),inset 0 -1px 1px rgba(65,95,137,.16),0 22px 50px rgba(38,66,104,.27);
}
:root[data-theme="bright"] .plan-flyout-summary>small { color:#526983; }
:root[data-theme="bright"] .plan-flyout-divider { background:linear-gradient(90deg,transparent,rgba(255,255,255,.74) 12%,rgba(255,255,255,.74) 88%,transparent) }
:root[data-theme="bright"] .plan-manage-usage:hover,
:root[data-theme="bright"] .plan-manage-usage:focus-visible { color:#172942;background:rgba(255,255,255,.34);box-shadow:0 0 0 7px rgba(255,255,255,.34) }

:root[data-theme="bright"] .workspace { background:transparent; }
:root[data-theme="bright"] .account-menu-item:is([data-account-action="support"],[data-account-action="plan"]) .account-row-chevron {
  color:#f3f7fc;
  border-color:rgba(31,48,69,.56);
  background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.2),transparent 36%),linear-gradient(145deg,rgba(35,49,67,.82),rgba(13,23,37,.76) 54%,rgba(4,11,20,.72));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.34),inset 0 -1px 1px rgba(0,0,0,.42),0 4px 10px rgba(12,27,48,.3),0 0 8px rgba(28,54,84,.14);
}
:root[data-theme="bright"] .account-menu-item:is([data-account-action="support"],[data-account-action="plan"]):is(:hover,:focus-visible) .account-row-chevron {
  color:#fff;
  border-color:rgba(35,55,80,.68);
  background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.26),transparent 36%),linear-gradient(145deg,rgba(29,43,60,.9),rgba(10,20,34,.84) 54%,rgba(3,9,17,.82));
}
.plan-manage-usage-emoji{width:16px;height:16px;flex:none;display:inline-grid;place-items:center;font-family:"Apple Color Emoji",sans-serif;font-size:14px;line-height:1}
:root[data-theme="bright"] .conversation {
  background:
    radial-gradient(76% 66% at 52% 0,rgba(255,255,255,.28),transparent 66%),
    linear-gradient(145deg,rgba(255,255,255,.055),rgba(118,154,204,.045));
  scrollbar-color:rgba(70,102,145,.3) transparent;
}
:root[data-theme="bright"] .message.user .bubble {
  color:#172942;
  background:
    radial-gradient(120% 110% at 10% -18%,rgba(255,255,255,.96),transparent 44%),
    linear-gradient(155deg,rgba(255,255,255,.84),rgba(218,231,248,.68) 54%,rgba(171,199,232,.54));
  border-color:rgba(255,255,255,.94);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.98),inset 0 -1px 1px rgba(72,103,144,.12),0 14px 34px rgba(46,76,115,.2);
}
:root[data-theme="bright"] :is(.bubble,.agent-bubble) {
  color:var(--ink);
  background:
    radial-gradient(120% 115% at 10% -18%,rgba(255,255,255,.76),transparent 46%),
    linear-gradient(145deg,rgba(244,249,255,.58),rgba(187,209,237,.4) 54%,rgba(133,168,212,.28));
  border-color:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.9),0 12px 30px rgba(43,72,110,.18);
  -webkit-backdrop-filter:blur(30px) saturate(165%);
  backdrop-filter:blur(30px) saturate(165%);
}
:root[data-theme="bright"] .message.user .bubble { background:linear-gradient(155deg,rgba(255,255,255,.9),rgba(218,231,248,.72) 55%,rgba(173,201,234,.56)); }
:root[data-theme="bright"] .handoff { color:#254f84;background:rgba(255,255,255,.36); }
:root[data-theme="bright"] .dots i { background:#58708f; }

:root[data-theme="bright"] .computer-card {
  background:linear-gradient(150deg,rgba(246,250,255,.61),rgba(177,202,234,.39));
  border-color:rgba(255,255,255,.82);
  box-shadow:var(--app-shadow);
}
:root[data-theme="bright"] .computer-preview {
  background:radial-gradient(circle at 62% 24%,rgba(255,255,255,.48),transparent 45%),linear-gradient(145deg,rgba(208,220,239,.8),rgba(132,164,205,.58));
}
:root[data-theme="bright"] :is(.computer-window,.desktop-wallpaper) {
  color:var(--ink);
  background:linear-gradient(145deg,rgba(244,249,255,.74),rgba(143,177,219,.47));
  border-color:rgba(255,255,255,.82);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.8),0 20px 38px rgba(42,69,106,.23);
}
:root[data-theme="bright"] .finder-window { background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(136,174,218,.5));border-color:rgba(255,255,255,.76); }
:root[data-theme="bright"] .mini-grid div { color:#304761;background:linear-gradient(145deg,rgba(255,255,255,.48),rgba(151,183,222,.24)); }
:root[data-theme="bright"] .mini-dock { background:rgba(234,243,253,.68);border-color:rgba(255,255,255,.78); }
:root[data-theme="bright"] .result-list { background:linear-gradient(145deg,rgba(255,255,255,.5),rgba(153,185,224,.27)); }
:root[data-theme="bright"] .reaction-row button { color:var(--ink);background:rgba(236,244,253,.62); }

:root[data-theme="bright"] .composer-area { border-top-color:rgba(255,255,255,.58); }
:root[data-theme="bright"] .composer {
  background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(184,207,236,.33));
  border-color:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.88),0 8px 22px rgba(43,72,110,.17);
}
:root[data-theme="bright"] .composer input::placeholder { color:#61728a; }
:root[data-theme="bright"] .composer-leading { fill:#536985; }

:root[data-theme="bright"] .cofounder-browser {
  color:var(--ink);
  background:
    radial-gradient(100% 78% at 12% -8%,rgba(255,255,255,.68),transparent 52%),
    linear-gradient(155deg,rgba(233,242,252,.68),rgba(165,192,226,.58));
  border-left-color:rgba(255,255,255,.72);
}
:root[data-theme="bright"] :is(.browser-agent,.browser-tab,.browser-address,.browser-content) {
  color:var(--ink);
  background:linear-gradient(145deg,rgba(255,255,255,.56),rgba(160,191,229,.28));
  border-color:rgba(255,255,255,.72);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.72);
}
:root[data-theme="bright"] :is(.browser-agent.active,.browser-tab.active) {
  background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(143,181,225,.4));
  border-color:rgba(255,255,255,.9);
}
:root[data-theme="bright"] .browser-agent small,
:root[data-theme="bright"] .browser-address>div,
:root[data-theme="bright"] .artifact-row span,
:root[data-theme="bright"] .artifact-foot { color:var(--muted); }
:root[data-theme="bright"] .artifact-icon,
:root[data-theme="bright"] .artifact-row { background:rgba(255,255,255,.29);border-color:rgba(255,255,255,.58); }

:root[data-theme="bright"] .modal-backdrop {
  background:rgba(76,99,130,.2);
  -webkit-backdrop-filter:blur(20px) saturate(145%);
  backdrop-filter:blur(20px) saturate(145%);
}
:root[data-theme="bright"] .modal:not(.settings-modal) {
  color:var(--ink);
  background:
    radial-gradient(95% 78% at 10% -5%,rgba(255,255,255,.82),transparent 58%),
    linear-gradient(145deg,rgba(239,247,255,.78),rgba(168,196,231,.68));
  border:1px solid rgba(255,255,255,.88);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.92),0 28px 80px rgba(35,61,96,.3);
  -webkit-backdrop-filter:blur(34px) saturate(170%);
  backdrop-filter:blur(34px) saturate(170%);
}
:root[data-theme="bright"] :is(.field input,.field select,.appearance-option) {
  color:var(--ink);
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(157,188,228,.28));
  border-color:rgba(255,255,255,.7);
}
:root[data-theme="bright"] .secondary-btn { color:var(--ink);background:rgba(255,255,255,.36); }
:root[data-theme="bright"] .artifact-download-btn{color:var(--ink);background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(184,211,241,.42));border-color:rgba(255,255,255,.86);box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 8px 22px rgba(45,78,116,.18)}
:root[data-theme="bright"] .toast { color:var(--ink);background:rgba(230,241,253,.88); }
.toast.toast-with-emoji {
  display:flex;
  align-items:center;
  gap:8px;
  color:#f5f8ff;
  background:linear-gradient(155deg,rgba(67,83,105,.65),rgba(13,22,37,.60));
  border-color:rgba(235,246,255,.34);
  backdrop-filter:blur(16px) saturate(150%);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.36),var(--shadow);
}
:root[data-theme="bright"] .toast.toast-with-emoji {
  color:var(--ink);
  background:linear-gradient(155deg,rgba(255,255,255,.77),rgba(194,220,247,.54));
  border-color:rgba(255,255,255,.86);
}
@media (prefers-reduced-motion: reduce) {
  .toast.toast-with-emoji { transition:none; }
}

:root[data-theme="bright"] .onboarding {
  color:var(--ink);
  background:linear-gradient(145deg,#d5e0ee,#91a8c6);
}
:root[data-theme="bright"] .onboarding-aurora {
  background:radial-gradient(circle at 26% 8%,rgba(255,255,255,.78),transparent 38%),radial-gradient(circle at 82% 82%,rgba(126,149,207,.24),transparent 36%),linear-gradient(140deg,#dce6f2,#9fb3cd 58%,#849bbb);
}
:root[data-theme="bright"] .onboarding-card {
  background:linear-gradient(145deg,rgba(248,252,255,.58),rgba(174,199,231,.39));
  border-color:rgba(255,255,255,.86);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.88),0 36px 90px rgba(37,64,100,.25);
}
:root[data-theme="bright"] .onboarding-copy p,
:root[data-theme="bright"] .eyebrow { color:var(--muted); }
:root[data-theme="bright"] :is(.answer-option,.proof-tile,.plan-tile,.showcase-card,.plan-option) {
  color:var(--ink);
  background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(154,187,226,.25));
  border-color:rgba(255,255,255,.66);
}
:root[data-theme="bright"] .onboarding-visual { background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.48),transparent 54%); }
:root[data-theme="bright"] .loading-bar { background:rgba(67,94,132,.16); }

/* Keep pale brand artwork legible against the high-key Silver material. */
:root[data-theme="bright"] #brand-badge,
:root[data-theme="bright"] :is(#brand-menu,#product-menu) .menu-portrait:not(.new) {
  border-color:rgba(255,255,255,.94);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.78),
    inset 0 -1px 2px rgba(31,61,101,.24),
    0 5px 15px rgba(38,69,109,.24),
    0 0 0 1px rgba(66,101,147,.13);
  filter:saturate(1.12) contrast(1.08);
}

/* Compact SF-style disclosure controls for account actions. */
.selector-option {
  border-radius:999px;
  grid-template-columns:36px minmax(0,1fr) 18px;
}
.selector-check {
  width:18px;
  height:18px;
  border-width:.75px;
  box-shadow:
    inset 0 .75px 1px rgba(255,255,255,.54),
    inset 0 -.5px .75px rgba(0,0,0,.22),
    0 2px 5px rgba(0,0,0,.18),
    0 0 5px rgba(112,177,255,.1);
}
.selector-check::after {
  inset:1px 3px auto;
  height:5px;
}
.selector-check svg {
  width:10px;
  height:10px;
  stroke-width:2.05;
  filter:drop-shadow(0 .5px .5px rgba(0,0,0,.3));
}
:root[data-theme="glacial"] .selector-check,
:root[data-theme="bright"] .selector-check {
  box-shadow:
    inset 0 .75px 1px rgba(255,255,255,.76),
    inset 0 -.5px .75px rgba(40,78,122,.16),
    0 2px 5px rgba(34,67,109,.15),
    0 0 5px rgba(93,180,255,.11);
}
.account-menu-item {
  grid-template-columns:17px minmax(0,1fr) auto 18px;
}
.account-row-chevron {
  width:18px;
  height:18px;
  padding:4.25px;
  border-width:.75px;
  stroke-width:1.45;
  box-shadow:
    inset 0 .75px 1px rgba(255,255,255,.52),
    inset 0 -.5px .75px rgba(0,0,0,.24),
    0 2px 5px rgba(0,0,0,.2),
    0 0 5px rgba(104,172,246,.1);
}
.account-menu-item:hover .account-row-chevron,
.account-menu-item:focus-visible .account-row-chevron {
  transform:translateX(.5px) scale(1.035);
  box-shadow:
    inset 0 .75px 1px rgba(255,255,255,.64),
    inset 0 -.5px .75px rgba(0,0,0,.2),
    0 3px 7px rgba(0,0,0,.22),
    0 0 7px rgba(111,181,255,.17);
}
:root[data-theme="glacial"] .account-row-chevron,
:root[data-theme="bright"] .account-row-chevron {
  box-shadow:
    inset 0 .75px 1px rgba(255,255,255,.72),
    inset 0 -.5px .75px rgba(42,79,122,.17),
    0 2px 5px rgba(35,67,108,.16),
    0 0 5px rgba(104,172,246,.12);
}
:root[data-theme="glacial"] .account-menu-item:hover .account-row-chevron,
:root[data-theme="glacial"] .account-menu-item:focus-visible .account-row-chevron,
:root[data-theme="bright"] .account-menu-item:hover .account-row-chevron,
:root[data-theme="bright"] .account-menu-item:focus-visible .account-row-chevron {
  box-shadow:
    inset 0 .75px 1px rgba(255,255,255,.86),
    inset 0 -.5px .75px rgba(42,79,122,.14),
    0 3px 7px rgba(35,67,108,.18),
    0 0 7px rgba(104,172,246,.16);
}

/* Keep search secondary to the venture and cofounder controls in compact mode. */
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search {
  width:44px;
  height:44px;
  min-height:44px;
  margin-top:10px;
}
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search>svg {
  width:16px;
  height:16px;
}

/* Let the founder portrait fill the compact account control edge to edge. */
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card {
  padding:0;
  grid-template-columns:1fr;
  gap:0;
  overflow:hidden;
}
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card img {
  display:block;
  width:100%;
  height:100%;
  border:0;
  border-radius:inherit;
  object-fit:cover;
}

/* Give the microphone slightly more optical weight inside its glass control. */
.mic-button svg {
  width:20px;
  height:20px;
}

/* Full create-and-switch workspace opened from the sidebar + control. */
.product-discovery[hidden] { display:none; }
.desktop-shell.product-discovery-open .workspace {
  grid-template-rows:minmax(0,1fr);
}
.desktop-shell.product-discovery-open .workspace > :not(.product-discovery) {
  display:none;
}
.product-discovery {
  position:relative;
  min-width:0;
  min-height:0;
  height:100%;
  padding:22px clamp(22px,3.5vw,44px) 14px;
  display:grid;
  grid-template-rows:64px auto minmax(0,1fr) auto;
  gap:12px;
  overflow:hidden;
  color:#f5f7fb;
  background:
    radial-gradient(70% 58% at 30% 0,rgba(57,78,111,.2),transparent 70%),
    linear-gradient(145deg,rgba(13,20,32,.9),rgba(2,6,12,.98));
}
.discovery-header {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.discovery-round,
.discovery-action {
  border:1px solid rgba(218,235,255,.66);
  color:#f5f7fb;
  background:
    radial-gradient(circle at 29% 18%,rgba(255,255,255,.42),transparent 35%),
    linear-gradient(145deg,rgba(186,207,235,.3),rgba(90,115,151,.24) 56%,rgba(8,15,26,.72));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.56),inset 0 -1px 1px rgba(0,0,0,.32),0 9px 24px rgba(0,0,0,.25);
  -webkit-backdrop-filter:blur(26px) saturate(180%);
  backdrop-filter:blur(26px) saturate(180%);
}
.discovery-round {
  width:58px;
  height:58px;
  padding:16px;
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.discovery-round svg { width:100%;height:100%;fill:currentColor; }
.discovery-saved { position:absolute;right:0; }
.discovery-saved.active { color:#12233a;background:radial-gradient(circle at 28% 17%,#fff,transparent 34%),linear-gradient(145deg,#e5effd,#91a7c5); }
.discovery-saved-count {
  position:absolute;
  top:-4px;
  right:-4px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(145deg,#66a9ff,#176fe8);
  box-shadow:0 4px 12px rgba(23,91,190,.38),inset 0 1px rgba(255,255,255,.5);
  font-size:10px;
  font-weight:750;
  line-height:1;
}
.discovery-find-pill {
  justify-self:center;
  min-width:174px;
  height:58px;
  padding:5px 22px 5px 6px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  cursor:pointer;
  color:#f5f7fb;
  background:linear-gradient(145deg,rgba(77,96,124,.35),rgba(2,7,14,.8));
}
.discovery-find-pill > span { width:48px;height:48px;display:block; }
.discovery-find-pill .living-orb { width:48px;height:48px; }
.discovery-find-pill strong { font-size:22px;font-weight:650;letter-spacing:-.025em; }
.discovery-results { display:contents; }
.discovery-filters {
  touch-action:pan-y;
  user-select:none;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  width:min(216px,100%);
  height:54px;
  padding:4px;
  margin-inline:auto;
  border:1px solid rgb(224 238 255 / 8%);
  border-radius:999px;
  background:rgb(157 180 207 / 8%);
  box-shadow:inset 0 1px 2px rgb(255 255 255 / 8%),0 1px 2px rgb(17 34 58 / 10%);
}
.discovery-filter-thumb {
  position:absolute;
  inset-block:5px;
  left:4px;
  width:calc((100% - 8px) / 4);
  pointer-events:none;
  transform:translateX(calc(var(--filter-index, 0) * 100%));
  transition:transform 300ms cubic-bezier(.35,0,.15,1);
}
.discovery-filter-thumb::before {
  content:"";
  position:absolute;
  inset:0 2px;
  border-radius:999px;
  background:linear-gradient(150deg,rgb(224 235 252 / 83%),rgb(164 186 219 / 80%));
  box-shadow:inset 0 1px 1px rgb(255 255 255 / 85%),inset 0 -1px 1px rgb(125 170 226 / 58%),0 2px 5px rgb(15 33 56 / 20%);
}
@media (prefers-reduced-motion:reduce) {
  .discovery-filter-thumb { transition:none; }
}
.discovery-filter {
  position:relative;
  z-index:1;
  min-width:0;
  min-height:0;
  padding:0;
  border:0;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#aab5c8;
  background:transparent;
  cursor:pointer;
}
.discovery-filter svg { width:20px;height:20px;fill:currentColor;stroke:none; }
.discovery-filter.active {
  color:#17304d;
}
.discovery-stage {
  min-height:0;
  display:grid;
  place-items:center;
  padding:0 3px;
  perspective:1200px;
}
.discovery-card {
  position:relative;
  width:min(860px,100%);
  height:100%;
  min-height:390px;
  overflow:hidden;
  border:1px solid rgba(214,232,255,.42);
  border-radius:38px;
  background:#09111f;
  box-shadow:0 24px 58px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.16);
  cursor:grab;
  touch-action:pan-y;
  user-select:none;
  transition:transform .22s cubic-bezier(.2,.75,.2,1),box-shadow .22s ease;
}
.discovery-card.dragging { cursor:grabbing;transition:none;box-shadow:0 34px 75px rgba(0,0,0,.48); }
.discovery-product-image { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%;pointer-events:none; }
.discovery-card-identity { display:flex;align-items:center;gap:11px;min-width:0; }
.discovery-brand-image { width:42px;height:42px;flex:none;border-radius:50%;object-fit:cover; }
.discovery-card [hidden] { display:none!important; }
.discovery-card-shade { position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,12,.05) 0%,rgba(4,8,16,.1) 43%,rgba(4,8,17,.94) 82%,#050a14 100%);pointer-events:none; }
.discovery-art-loader {
  position:absolute;
  z-index:3;
  inset:50% auto auto 50%;
  width:max-content;
  max-width:calc(100% - 36px);
  transform:translate(-50%,-50%);
  display:grid;
  justify-items:center;
  gap:0;
  pointer-events:none;
}
.discovery-art-loader-orb {
  border:0;
  padding:0;
  width:126px;
  height:126px;
  border-radius:50%;
  background:none;
  pointer-events:auto;
  touch-action:none;
  cursor:grab;
}
.discovery-art-loader-orb:active { cursor:grabbing; }
.discovery-art-loader-orb .living-orb { width:100%;height:100%;filter:drop-shadow(0 10px 16px #06122078); }
.discovery-art-loader-orb .living-orb-fallback { scale:.69; }
.discovery-art-loader-copy {
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 11px;
  border:1px solid #e6f4ff80;
  border-radius:999px;
  background:linear-gradient(145deg,#edf6ff38,#98b9dc16 60%,#d3ecff26);
  color:white;
  box-shadow:inset 0 1px #fff8,inset 0 -1px #eff9ff30,0 4px 15px #0a183850;
  -webkit-backdrop-filter:blur(12px) saturate(160%) brightness(.72);
  backdrop-filter:blur(12px) saturate(160%) brightness(.72);
  font-size:12px;
  font-weight:650;
  text-shadow:0 1px 4px #132239;
}
[data-art-emoji] { font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.discovery-card-top { position:absolute;z-index:2;inset:22px 22px auto;display:flex;justify-content:space-between;align-items:center; }
.discovery-badge {
  min-height:42px;
  padding:9px 15px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:15px;
  font-weight:580;
  color:#f7f9fd;
  background:linear-gradient(145deg,rgba(86,111,151,.46),rgba(13,24,43,.72));
}
.discovery-badge svg { width:16px;height:16px;fill:currentColor; }
.discovery-info { width:50px;height:50px;padding:13px; }
.discovery-info svg circle:first-child { fill:none;stroke:currentColor;stroke-width:1.7; }
.discovery-info svg rect,.discovery-info svg circle:last-child { fill:currentColor;stroke:none; }
.discovery-card-copy { position:absolute;z-index:2;inset:auto 0 0;padding:26px 34px 24px;display:grid;gap:10px; }
.discovery-card-copy h1 { margin:0;font-size:clamp(30px,3vw,42px);line-height:1;font-weight:720;letter-spacing:-.04em;text-shadow:0 2px 14px rgba(0,0,0,.46); }
.discovery-product-name { margin:0;color:#d2d9e5;font-size:21px;line-height:1.25; }
.discovery-meta,.discovery-features { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.discovery-meta span,.discovery-features span {
  min-height:35px;
  padding:7px 12px;
  border:1px solid rgba(215,232,255,.38);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#f3f6fb;
  background:linear-gradient(145deg,rgba(136,162,199,.25),rgba(15,27,47,.64));
  box-shadow:inset 0 1px rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  backdrop-filter:blur(20px) saturate(160%);
  font-size:14px;
}
.discovery-meta svg { width:16px;height:16px;fill:currentColor; }
.discovery-details {
  width:100%;
  min-height:68px;
  padding:12px 15px;
  border-radius:23px;
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:11px;
  align-items:start;
  color:#f4f7fc;
  background:linear-gradient(145deg,rgba(65,91,131,.72),rgba(16,31,55,.76));
}
.discovery-details > svg { width:22px;height:22px; }
.discovery-details > svg circle:first-child { fill:currentColor; }
.discovery-details > svg rect,.discovery-details > svg circle:last-child { fill:#1a2940; }
.discovery-details strong,.discovery-details small { display:block; }
.discovery-details strong { font-size:11px;letter-spacing:.15em; }
.discovery-details small { margin-top:4px;font-size:15px;line-height:1.35;color:#f4f7fb; }
.discovery-features svg { width:15px;height:15px;overflow:visible; }
.discovery-features svg circle { fill:#f0f5fd; }
.discovery-features svg path { fill:none;stroke:#1a2b43;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round; }
.discovery-swipe-copy { margin:3px 0 0;color:#a7b3c6;font-size:13px; }
.discovery-dock { display:grid;grid-template-columns:repeat(3,66px);justify-content:center;gap:22px 34px;padding-top:1px; }
.discovery-action {
  width:66px;
  height:66px;
  padding:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform .17s ease,filter .17s ease,box-shadow .17s ease;
}
.discovery-dock [data-discovery-action="pass"],
.discovery-dock .discovery-action[data-discovery-action="research"] {
  color: #f6f9ff;
  border-color: rgba(211, 226, 244, .52);
  background:
    radial-gradient(ellipse at 27% 14%, rgba(231, 244, 255, .25), transparent 44%),
    linear-gradient(148deg, rgba(55, 71, 92, .70), rgba(17, 28, 44, .82) 62%, rgba(34, 48, 67, .76));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5),
    inset 0 -1px 2px rgba(6, 12, 22, .55), 0 5px 14px rgba(15, 24, 39, .23);
}
.discovery-action:hover,.discovery-round:hover { transform:translateY(-2px);filter:brightness(1.1); }
.discovery-action:active,.discovery-round:active { transform:scale(.96); }
.discovery-action:disabled { opacity:.55;cursor:wait;transform:none; }
.discovery-action svg { width:100%;height:100%; }
.discovery-action:not(.primary) svg { fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round; }
.discovery-action.primary { width:78px;height:78px;margin:-6px;color:#14233a;background:radial-gradient(circle at 29% 17%,rgba(255,255,255,.98),transparent 35%),linear-gradient(145deg,#e1e8f4,#8d9bb1); }
.discovery-action.primary svg { fill:currentColor; }
#product-discovery .discovery-action.primary:is(.saved,:active) {
  color:#152235;
  background:radial-gradient(circle at 30% 18%,#ffffffc4,transparent 45%),linear-gradient(145deg,#edf4ffde,#aebdd1b3);
  -webkit-backdrop-filter:blur(16px) saturate(135%);
  backdrop-filter:blur(16px) saturate(135%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) #product-discovery .discovery-action.primary:is(.saved,:active) {
  color:#f8fbff;
  background:radial-gradient(circle at 30% 18%,#c2d2e345,transparent 45%),linear-gradient(145deg,#3d4e63cf,#192433de);
}
.discovery-dock > p { grid-column:1/-1;margin:-9px 0 0;text-align:center;color:#8290a4;font-size:11px; }
.discovery-retry {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  padding:6px 14px;
  border:1px solid rgba(223,235,255,.36);
  border-radius:999px;
  color:#f6f9ff;
  background:linear-gradient(145deg,rgba(211,228,255,.23),rgba(21,34,54,.55));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 4px 12px rgba(5,14,30,.24);
  -webkit-backdrop-filter:blur(12px) saturate(145%);
  backdrop-filter:blur(12px) saturate(145%);
  font:inherit;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  cursor:pointer;
}
.discovery-dock > p .discovery-retry { display:flex; margin:7px auto 0; }
.discovery-retry svg { width:15px; height:15px; flex:none; fill:currentColor; }
.discovery-retry:hover { filter:brightness(1.12); }
.discovery-retry:active { transform:scale(.97); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .discovery-retry {
  color:#142942;
  border-color:rgba(255,255,255,.88);
  background:linear-gradient(145deg,rgba(255,255,255,.65),rgba(163,199,235,.36));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.92),0 4px 12px rgba(40,79,124,.18);
}
:root[data-theme="bright"] .discovery-header > .discovery-saved {
  color:rgba(13,21,34,.9);
  border-color:rgba(255,255,255,.92);
  background:radial-gradient(ellipse at 28% 14%,rgba(255,255,255,.9),transparent 57%),
    linear-gradient(145deg,rgba(255,255,255,.66),rgba(222,238,254,.4));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.96),inset 0 -1px 2px rgba(108,145,186,.28),
    0 6px 15px rgba(51,83,120,.2);
  -webkit-backdrop-filter:blur(14px) saturate(145%);
  backdrop-filter:blur(14px) saturate(145%);
}
:root[data-theme="bright"] .discovery-header > .discovery-saved.active {
  background:radial-gradient(ellipse at 28% 14%,rgba(255,255,255,.96),transparent 60%),
    linear-gradient(145deg,rgba(250,253,255,.84),rgba(204,226,249,.58));
}
:root[data-theme="bright"] .discovery-header > .discovery-saved svg {
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.72));
}
.discovery-empty { place-self:center;display:grid;justify-items:center;text-align:center;gap:12px; }
.discovery-empty .discovery-round { cursor:default; }
.discovery-empty h1,.discovery-empty p { margin:0; }
.discovery-empty p { color:#aab5c7; }
.discovery-detail-image { width:100%;height:250px;object-fit:cover;border-radius:24px;margin-bottom:22px; }

/* Saved-product collection -------------------------------------------------- */
.saved-products-layer {
  position:absolute;
  inset:0;
  z-index:20;
  padding:clamp(22px,4vw,52px);
  display:grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
}
.saved-products-backdrop {
  position:absolute;
  inset:0;
  z-index:-1;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(1,6,14,.56);
  -webkit-backdrop-filter:blur(22px) saturate(125%);
  backdrop-filter:blur(22px) saturate(125%);
  cursor:default;
}
.saved-products-panel {
  position:relative;
  width:min(860px,100%);
  max-height:100%;
  padding:20px;
  border:1px solid rgba(225,239,255,.36);
  border-radius:34px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:18px;
  overflow:hidden;
  color:#f5f8fd;
  background:
    radial-gradient(100% 100% at 4% -12%,rgba(255,255,255,.2),transparent 48%),
    linear-gradient(145deg,rgba(70,88,114,.86),rgba(13,23,38,.94) 58%,rgba(3,9,18,.97));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.42),inset 0 -1px 1px rgba(0,0,0,.32),0 30px 85px rgba(0,0,0,.52);
  -webkit-backdrop-filter:blur(42px) saturate(175%);
  backdrop-filter:blur(42px) saturate(175%);
}
.saved-products-header {
  min-width:0;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 42px;
  gap:13px;
  align-items:center;
}
.saved-products-heart,
.saved-products-close {
  width:42px;
  height:42px;
  border:1px solid rgba(225,239,255,.38);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#f9fbff;
  background:radial-gradient(circle at 29% 18%,rgba(255,255,255,.5),transparent 34%),linear-gradient(145deg,rgba(209,226,247,.26),rgba(80,107,144,.3) 60%,rgba(3,10,20,.48));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.52),0 7px 18px rgba(0,0,0,.2);
}
.saved-products-heart {
  width:46px;height:46px;color:#203b5c;
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.98),rgba(255,255,255,.32) 38%,transparent 62%),linear-gradient(145deg,rgba(255,255,255,.82),rgba(190,216,244,.54));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -1px 1px rgba(255,255,255,.32),0 7px 18px rgba(20,48,82,.22);
  backdrop-filter:blur(18px) saturate(1.24);
}
.saved-products-heart svg { width:21px;height:21px;fill:currentColor; }
.saved-products-close { padding:11px;cursor:pointer; }
.saved-products-close svg { width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round; }
.saved-products-heading { min-width:0;display:grid;gap:2px; }
.saved-products-heading > small { color:#aeb9ca;font-size:9px;font-weight:720;letter-spacing:.16em; }
.saved-products-heading > strong { font-size:22px;line-height:1.1;letter-spacing:-.025em; }
.saved-products-heading > span { color:#b8c3d2;font-size:11px;line-height:1.35; }
.saved-products-grid {
  min-height:0;
  padding:2px 2px 5px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  justify-content:center;
  align-content:start;
  gap:14px;
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(205,226,252,.28) transparent;
}
.saved-product-card {
  position:relative;
  width:100%;
  max-width:250px;
  justify-self:center;
  min-width:0;
  border:1px solid rgba(218,234,255,.28);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(171,195,225,.18),rgba(5,12,22,.5));
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 12px 28px rgba(0,0,0,.19);
  transition:transform .18s cubic-bezier(.2,.8,.2,1),border-color .18s ease,box-shadow .18s ease;
}
.saved-product-card:hover {
  transform:translateY(-2px);
  border-color:rgba(230,242,255,.52);
  box-shadow:inset 0 1px rgba(255,255,255,.24),0 17px 34px rgba(0,0,0,.25);
}
.saved-product-preview {
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  display:block;
  color:inherit;
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.saved-product-image { display:block;width:100%;height:128px;overflow:hidden;background:#08111f; }
.saved-product-image img { width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s cubic-bezier(.2,.8,.2,1); }
.saved-product-card:hover .saved-product-image img { transform:scale(1.025); }
.saved-product-copy { min-width:0;padding:13px 14px 14px;display:grid;gap:4px; }
.saved-product-meta { min-width:0;display:flex;justify-content:space-between;gap:8px;color:#aeb9ca;font-size:9px;line-height:1.2; }
.saved-product-meta > span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.saved-product-copy > strong { margin-top:4px;font-size:17px;line-height:1.15;letter-spacing:-.02em; }
.saved-product-copy > small { color:#c4cedc;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.saved-product-features { min-width:0;margin-top:5px;display:flex;gap:5px;overflow:hidden; }
.saved-product-features i {
  min-width:0;
  padding:4px 7px;
  border:1px solid rgba(217,234,255,.22);
  border-radius:999px;
  color:#c7d2e1;
  background:rgba(155,184,220,.1);
  font-size:8px;
  font-style:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.saved-product-view { margin-top:6px;display:flex;align-items:center;gap:5px;color:#e8f2ff;font-size:10px;font-weight:650; }
.saved-product-view svg { width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.saved-product-remove {
  position:absolute;
  z-index:2;
  top:9px;
  right:9px;
  width:32px;
  height:32px;
  padding:8px;
  border:1px solid rgba(255,255,255,.68);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:radial-gradient(circle at 29% 18%,rgba(255,255,255,.5),transparent 34%),linear-gradient(145deg,rgba(222,113,148,.96),rgba(126,42,78,.96));
  box-shadow:inset 0 1px rgba(255,255,255,.48),0 7px 16px rgba(0,0,0,.28);
  cursor:pointer;
}
.saved-product-remove svg { width:100%;height:100%;fill:currentColor; }
.saved-products-empty { min-height:280px;padding:28px;display:grid;place-content:center;justify-items:center;text-align:center;gap:10px; }
.saved-products-empty-icon { width:62px;height:62px;border:1px solid rgba(222,237,255,.3);border-radius:50%;display:grid;place-items:center;color:#d2dbea;background:rgba(144,169,201,.12); }
.saved-products-empty-icon svg { width:27px;height:27px;fill:currentColor; }
.saved-products-empty > strong { margin-top:4px;font-size:20px;letter-spacing:-.02em; }
.saved-products-empty > p { margin:0 0 8px;color:#acb8c8;font-size:12px; }
.saved-products-empty .primary-btn { min-height:38px;padding:8px 15px; }

:root[data-theme="bright"] .product-discovery {
  background:radial-gradient(70% 58% at 30% 0,rgba(255,255,255,.72),transparent 70%),linear-gradient(145deg,#cbd8e9,#93add0);
}
:root[data-theme="bright"] #product-discovery > .discovery-header > .discovery-find-pill {
  color:#152438;
  border-color:rgba(255,255,255,.84);
  border-top-color:rgba(255,255,255,.98);
  border-bottom-color:rgba(150,189,232,.55);
  background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(250,252,255,.17) 32%,rgba(211,228,249,.09) 72%,rgba(209,230,253,.19)),rgba(244,249,255,.23);
  box-shadow:0 5px 14px rgba(55,91,133,.12);
  -webkit-backdrop-filter:blur(22px) saturate(202%);
  backdrop-filter:blur(22px) saturate(202%);
}
@media (prefers-reduced-transparency:reduce) {
  :root[data-theme="bright"] #product-discovery > .discovery-header > .discovery-find-pill {
    background:#e3edf9;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}
:root[data-theme="bright"] .discovery-filters {
  border-color:transparent;
  background:linear-gradient(110deg,rgb(240 247 251 / 77%),rgb(227 237 249 / 76%));
  box-shadow:inset 0 1px 2px rgb(255 255 255 / 35%),0 1px 2px rgb(74 98 130 / 8%);
}
:root[data-theme="bright"] .discovery-filter-thumb::before {
  background:linear-gradient(145deg,#eef3fa,#d8e2f3 75%);
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #b1caee,0 2px 4px rgb(69 89 119 / 20%);
}
:root[data-theme="bright"] .discovery-filter { color:#52627a; }
:root[data-theme="bright"] .discovery-filter.active { color:#172940; }
:root[data-theme="bright"] .saved-products-backdrop { background:rgba(112,143,184,.3); }
:root[data-theme="bright"] .saved-products-panel {
  color:#172a43;
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(100% 100% at 4% -12%,rgba(255,255,255,.92),transparent 48%),linear-gradient(145deg,rgba(238,246,255,.84),rgba(185,207,236,.76) 58%,rgba(143,175,218,.72));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),inset 0 -1px 1px rgba(74,106,149,.12),0 28px 72px rgba(43,76,119,.28);
}
:root[data-theme="bright"] .saved-products-heading > small,
:root[data-theme="bright"] .saved-products-heading > span,
:root[data-theme="bright"] .saved-product-meta,
:root[data-theme="bright"] .saved-product-copy > small,
:root[data-theme="bright"] .saved-products-empty > p { color:#566b86; }
:root[data-theme="bright"] .saved-products-close { color:#203b5c;border-color:rgba(255,255,255,.9);background:radial-gradient(circle at 29% 18%,#fff,transparent 36%),linear-gradient(145deg,rgba(255,255,255,.78),rgba(165,196,235,.5));box-shadow:inset 0 1px rgba(255,255,255,.98),0 6px 16px rgba(52,84,124,.16); }
:root[data-theme="bright"] .saved-product-card { border-color:rgba(255,255,255,.82);background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(173,202,238,.44));box-shadow:inset 0 1px rgba(255,255,255,.94),0 12px 27px rgba(54,86,126,.15); }
:root[data-theme="bright"] .saved-product-features i { color:#405a78;border-color:rgba(255,255,255,.78);background:rgba(255,255,255,.36); }
:root[data-theme="bright"] .saved-product-view { color:#1b4f89; }
:root[data-theme="bright"] .saved-products-empty-icon { color:#526c8c;border-color:rgba(255,255,255,.78);background:rgba(255,255,255,.34); }

@media (max-width:720px) {
  .saved-products-layer { padding:14px; }
  .saved-products-panel { padding:15px;border-radius:27px;gap:14px; }
  .saved-products-header { grid-template-columns:40px minmax(0,1fr) 38px;gap:10px; }
  .saved-products-heart { width:40px;height:40px; }
  .saved-products-close { width:38px;height:38px;padding:10px; }
  .saved-products-heading > strong { font-size:19px; }
  .saved-products-heading > span { white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .saved-products-grid { grid-template-columns:minmax(0,1fr); }
  .saved-product-card { display:grid; }
  .saved-product-preview { display:grid;grid-template-columns:112px minmax(0,1fr); }
  .saved-product-image { height:100%;min-height:142px; }
}

.create-hub[hidden] { display:none; }
.desktop-shell.create-hub-open .workspace {
  grid-template-rows:minmax(0,1fr);
}
.desktop-shell.create-hub-open .workspace > :not(.create-hub) {
  display:none;
}
.round-control[aria-pressed="true"] {
  color:var(--ink);
  border-color:var(--line-strong);
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.34),transparent 34%),
    var(--widget-glass);
  box-shadow:var(--widget-shadow),0 0 0 1px rgba(139,192,255,.18);
}
.create-hub {
  position:relative;
  min-width:0;
  min-height:0;
  padding:28px clamp(24px,3.2vw,42px) 32px;
  display:block;
  overflow:auto;
  color:var(--ink);
  background:
    radial-gradient(80% 68% at 48% 0,rgba(100,137,184,.12),transparent 66%),
    linear-gradient(145deg,rgba(255,255,255,.02),transparent 52%);
  scrollbar-width:thin;
  scrollbar-color:rgba(161,190,226,.26) transparent;
}
.create-hub-search {
  width:100%;
  height:64px;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:15px;
  border-radius:999px;
  background:
    radial-gradient(100% 130% at 8% -32%,rgba(255,255,255,.26),transparent 48%),
    linear-gradient(145deg,rgba(255,255,255,.14),rgba(111,139,176,.12) 52%,rgba(1,6,13,.22));
  border-color:rgba(227,241,255,.38);
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.38),
    inset 0 -1px 1px rgba(0,0,0,.3),
    0 12px 30px rgba(0,0,0,.2);
}
.create-hub-search:focus-within {
  border-color:rgba(197,226,255,.68);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.46),0 0 0 3px rgba(98,166,244,.16),0 14px 34px rgba(0,0,0,.22);
}
.create-hub-search svg {
  width:21px;
  height:21px;
  flex:0 0 21px;
  fill:currentColor;
  color:var(--muted);
}
.create-hub-search input {
  min-width:0;
  flex:1;
  border:0;
  outline:0;
  padding:0;
  color:var(--ink);
  background:transparent;
  font:inherit;
  font-size:19px;
  letter-spacing:-.01em;
}
.create-hub-search input::placeholder { color:var(--muted);opacity:.82; }
.create-hub-actions {
  display:grid;
  gap:4px;
  margin-top:20px;
}
.create-hub-action {
  position:relative;
  width:100%;
  min-height:84px;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:42px;
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:17px;
  align-items:center;
  color:var(--ink);
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.create-hub-action.featured,
.create-hub-action:hover,
.create-hub-action:focus-visible {
  outline:0;
  border-color:var(--widget-rim);
  background:
    radial-gradient(100% 135% at 7% -35%,rgba(255,255,255,.22),transparent 49%),
    linear-gradient(145deg,rgba(255,255,255,.14),rgba(91,118,153,.11) 56%,rgba(0,5,11,.2));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.24),0 10px 28px rgba(0,0,0,.16);
}
.create-hub-action:hover,
.create-hub-action:focus-visible { transform:translateY(-1px); }
.create-hub-action:active { transform:scale(.992); }
.create-hub-action-icon {
  width:56px;
  height:56px;
  border:1px solid rgba(226,241,255,.38);
  border-radius:50%;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.42),transparent 34%),
    linear-gradient(145deg,rgba(225,240,255,.2),rgba(93,132,180,.12) 55%,rgba(1,7,15,.34));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.42),inset 0 -1px 1px rgba(0,0,0,.28),0 7px 18px rgba(0,0,0,.2);
}
.create-hub-action-icon svg {
  width:24px;
  height:24px;
  fill:currentColor;
  stroke:none;
}
.create-hub-action span:last-child { min-width:0; }
.create-hub-action strong,
.create-hub-action small { display:block; }
.create-hub-action strong { font-size:20px;line-height:1.2;font-weight:600;letter-spacing:-.015em; }
.create-hub-action small { margin-top:5px;color:var(--muted);font-size:15px;line-height:1.3; }
.create-hub-divider {
  height:1px;
  margin:20px 2px 28px;
  background:linear-gradient(90deg,transparent,rgba(225,239,255,.17) 2%,rgba(225,239,255,.17) 98%,transparent);
}
.create-hub-label {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:fit-content;
  max-width:100%;
  margin:0 auto 14px;
  padding:7px 15px;
  border-radius:999px;
  color:var(--ink);
  line-height:1.25;
}
.create-hub-label svg {
  width:17px;
  height:17px;
  flex:none;
  fill:currentColor;
}
.create-hub-team {
  --team-row-gap:16px;
  --team-divider-highlight:rgba(239,246,255,.29);
  --team-divider-shadow:rgba(0,0,0,.32);
  display:grid;
  row-gap:var(--team-row-gap);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .create-hub-team {
  --team-divider-highlight:rgba(255,255,255,.70);
  --team-divider-shadow:rgba(41,73,115,.16);
}
.create-hub-team-row + .create-hub-team-row::before {
  content:"";
  position:absolute;
  inset-inline:14px;
  top:calc(var(--team-row-gap) / -2 - 2px);
  height:2px;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent,var(--team-divider-highlight) 8%,var(--team-divider-highlight) 92%,transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg,transparent,var(--team-divider-shadow) 8%,var(--team-divider-shadow) 92%,transparent) bottom / 100% 1px no-repeat;
}
.create-hub-team-row {
  position:relative;
  width:100%;
  min-height:72px;
  padding:7px 18px;
  border:1px solid transparent;
  border-radius:36px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:17px;
  align-items:center;
  color:var(--ink);
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.create-hub-team-row:hover,
.create-hub-team-row:focus-visible {
  outline:0;
  transform:translateY(-1px);
  border-color:var(--widget-rim);
  background:var(--widget-glass);
  box-shadow:var(--widget-shadow);
}
.create-hub-team-row:active { transform:scale(.994); }
.create-hub-team-row > span:last-child { min-width:0; }
.create-hub-team-row strong,
.create-hub-team-row small { display:block; }
.create-hub-team-row strong { font-size:19px;line-height:1.2;font-weight:700;letter-spacing:-.01em; }
.create-hub-team-row small { margin-top:5px;color:var(--muted);font-size:14px;line-height:1.25;display:flex;align-items:center;gap:9px;flex-wrap:wrap; }
.create-hub-team-row .create-hub-chat-preview { display:block;max-width:100%;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;opacity:.82; }
.create-hub-team-row .create-hub-venture-tags { display:inline-flex;align-items:center;gap:6px; }
.create-hub-team-row .create-hub-venture-tags .create-hub-product-tag { display:inline-flex!important;align-items:center;gap:.28em;padding:0 .38em 0 .08em;border:1px solid rgba(207,225,250,.48);border-radius:999px;background:radial-gradient(circle at 22% 0%,rgba(255,255,255,.28),transparent 48%),linear-gradient(145deg,rgba(211,229,252,.18),rgba(87,119,164,.1) 54%,rgba(18,28,45,.18));box-shadow:inset 0 1px 1px rgba(255,255,255,.38),inset 0 -1px rgba(119,154,202,.14),0 4px 12px rgba(3,10,23,.14);-webkit-backdrop-filter:blur(18px) saturate(165%);backdrop-filter:blur(18px) saturate(165%);font-size:11px;line-height:1;height:16.72px;font-weight:700;white-space:nowrap;vertical-align:middle; }
.create-hub-team-row .create-hub-venture-tags .create-hub-product-logo { width:14.72px;height:14.72px;flex:0 0 14.72px; }
:root[data-theme="bright"] .create-hub-team-row .create-hub-venture-tags .create-hub-product-tag { border-color:rgba(255,255,255,.82);background:radial-gradient(circle at 22% 0%,rgba(255,255,255,.8),transparent 48%),linear-gradient(145deg,rgba(255,255,255,.48),rgba(194,220,249,.3) 56%,rgba(116,158,210,.2)); }
.create-hub-product-tag { display:inline-flex!important;align-items:center;gap:.2em;vertical-align:-.11em;color:inherit;font:inherit;font-weight:700;line-height:1;white-space:nowrap; }
.create-hub-product-logo { width:1.08em;height:1.08em;flex:0 0 1.08em;display:inline-grid;place-items:center;overflow:hidden;border:0;border-radius:50%;background:transparent;box-shadow:none;font-size:inherit;font-weight:700; }
.create-hub-product-logo img { display:block;width:100%;height:100%;object-fit:cover;border-radius:50%; }
.create-hub-brand-logo { background:var(--logo-background, transparent); }
.create-hub-orb,
.create-hub-team-orbs {
  position:relative;
  width:58px;
  height:58px;
  display:block;
}
.create-hub-orb > .living-orb { width:58px;height:58px; }

.create-hub-empty {
  margin:12px 18px;
  color:var(--muted);
  font-size:14px;
}

:root[data-theme="bright"] .create-hub {
  background:
    radial-gradient(80% 68% at 42% -6%,rgba(255,255,255,.34),transparent 68%),
    linear-gradient(145deg,rgba(255,255,255,.09),rgba(102,145,201,.045));
}
:root[data-theme="bright"] .create-hub-search,
:root[data-theme="bright"] .create-hub-action.featured,
:root[data-theme="bright"] .create-hub-action:hover,
:root[data-theme="bright"] .create-hub-action:focus-visible {
  color:var(--ink);
  border-color:rgba(255,255,255,.82);
  background:
    radial-gradient(110% 120% at 8% -18%,rgba(255,255,255,.86),transparent 48%),
    linear-gradient(145deg,rgba(245,250,255,.68),rgba(178,204,237,.38) 57%,rgba(124,160,208,.24));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.92),0 12px 30px rgba(43,73,111,.17);
}
:root[data-theme="bright"] .create-hub-action-icon {
  color:#223b5b;
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.98),transparent 36%),linear-gradient(145deg,rgba(255,255,255,.78),rgba(169,201,239,.43) 58%,rgba(106,149,201,.26));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.96),inset 0 -1px 1px rgba(63,94,134,.14),0 7px 18px rgba(44,74,112,.16);
}
:root[data-theme="bright"] .create-hub-divider {
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.68) 2%,rgba(255,255,255,.68) 98%,transparent);
}

@media (max-width:800px) {
  .create-hub { padding:20px 18px 26px; }
  .create-hub-search { height:56px;padding:0 19px; }
  .create-hub-search input { font-size:17px; }
  .create-hub-action { min-height:75px;padding:10px 14px;grid-template-columns:50px minmax(0,1fr);gap:13px; }
  .create-hub-action-icon { width:50px;height:50px; }
  .create-hub-action strong { font-size:17px; }
  .create-hub-action small { font-size:13px; }
  .create-hub-team-row { min-height:66px;padding:6px 12px;grid-template-columns:52px minmax(0,1fr);gap:13px; }
  .create-hub-orb,.create-hub-team-orbs { width:52px;height:52px; }
  .create-hub-orb > .living-orb { width:52px;height:52px; }
  .create-hub-team-row strong { font-size:16px; }
  .create-hub-team-row small { font-size:12px; }
}

@media (max-height:900px) {
  .product-discovery { padding-top:14px;grid-template-rows:54px auto minmax(0,1fr) auto;gap:8px; }
  .discovery-round { width:50px;height:50px;padding:14px; }
  .discovery-find-pill { height:50px;min-width:154px;padding-right:19px; }
  .discovery-find-pill > span,.discovery-find-pill .living-orb { width:42px;height:42px; }
  .discovery-find-pill strong { font-size:19px; }
  .discovery-filter svg { width:18px;height:18px; }
  .discovery-card { border-radius:31px; }
  .discovery-card-top { inset:16px 17px auto; }
  .discovery-badge { min-height:36px;padding:7px 12px;font-size:13px; }
  .discovery-info { width:42px;height:42px;padding:11px; }
  .discovery-card-copy { padding:18px 25px 17px;gap:7px; }
  .discovery-card-copy h1 { font-size:32px; }
  .discovery-product-name { font-size:17px; }
  .discovery-meta span,.discovery-features span { min-height:30px;padding:5px 9px;font-size:12px; }
  .discovery-details { min-height:58px;padding:9px 12px;border-radius:19px; }
  .discovery-details small { font-size:13px; }
  .discovery-swipe-copy { font-size:11px; }
  .discovery-dock { grid-template-columns:repeat(3,56px);gap:18px 28px; }
  .discovery-action { width:56px;height:56px;padding:16px; }
  .discovery-action.primary { width:66px;height:66px;margin:-5px; }
  .create-hub { padding-top:20px; }
  .create-hub-search { height:54px; }
  .create-hub-actions { margin-top:14px;gap:2px; }
  .create-hub-action { min-height:70px; }
  .create-hub-action-icon { width:48px;height:48px; }
  .create-hub-divider { margin:14px 2px 18px; }
  .create-hub-team-row { min-height:58px;padding-top:4px;padding-bottom:4px; }
  .create-hub-orb,.create-hub-team-orbs { width:50px;height:50px; }
  .create-hub-orb > .living-orb { width:50px;height:50px; }
  
}

/* Compact Apple desktop density ------------------------------------------------
   One final sizing layer keeps every app surface optically light at desktop
   heights.  Controls retain a 40–44px hit target while their artwork, type,
   spacing, rims and shadows use the quieter proportions of a native macOS UI. */
body {
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.desktop-shell {
  border-radius:30px;
  box-shadow:0 24px 68px rgba(0,0,0,.48),0 3px 12px rgba(0,0,0,.28),inset 0 1px 1px rgba(255,255,255,.24);
}
.desktop-shell::after { border-radius:29px; }

@media (min-width:821px) {
  .desktop-shell {
    --sidebar-expanded-width:246px;
    --sidebar-collapsed-width:66px;
  }
  .sidebar { padding:11px 10px 16px; }
  .window-drag-region { height:32px; }
  .sidebar-header { height:51px;padding-bottom:9px; }
  .brand-mark,.brand-mark img { width:42px;height:42px; }
  .brand-mark { border-radius:13px; }
  .round-control { width:40px;height:40px; }
  .round-control svg { width:17px;height:17px; }
  .venture-selectors { gap:5px; }
  .venture-selector {
    height:48px;
    min-height:48px;
    padding:5px 9px 5px 5px;
    grid-template-columns:36px minmax(0,1fr) 12px;
    gap:8px;
  }
  .venture-badge { width:36px;height:36px;font-size:16px; }
  .venture-selector small { font-size:9px; }
  .venture-selector strong { font-size:12px; }
  .chevron { width:12px;height:12px; }
  .search { height:34px;min-height:34px;margin-top:11px;padding-inline:10px; }
  .search input { font-size:11px; }
  .sidebar-label { margin:15px 10px 7px;font-size:8px; }
  .chat-list { gap:2px; }
  .chat-item {
    min-height:57px;
    padding-block:6px;
    grid-template-columns:40px minmax(0,1fr);
    gap:7px;
    border-radius:20px;
  }
  /* Expanded thread rows follow the same content inset as selectors/search.
     The old full-bleed agent-card treatment made the selected capsule escape
     the sidebar and visually collide with its outer shell. */
  .desktop-shell:not(.sidebar-collapsed):not(.browser-open):not(.sidebar-resize-compact) .chat-list {
    width:100%;
    margin-inline:0;
    overflow-x:hidden;
  }
  .desktop-shell:not(.sidebar-collapsed):not(.browser-open):not(.sidebar-resize-compact) .chat-item {
    width:100%;
    padding-inline:7px;
  }
  .chat-orb { width:38px;height:38px; }
  .team-orbs { width:40px;height:38px; }

  .chat-heading strong { font-size:11px;line-height:1.16;font-weight:700; }
  .chat-heading time { font-size:8px; }
  .chat-copy small { margin-top:3px;font-size:9px; }
  .account-card { height:52px;min-height:52px;padding:8px 11px 8px 8px;grid-template-columns:34px minmax(0,1fr); }
  .account-card img { width:34px;height:34px; }
  .wallet-sidebar-label strong,.account-card strong { font-size:11px; }
  .wallet-sidebar-label small,.account-card small { font-size:9px; }

  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar { padding:11px 8px 12px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .sidebar-header { min-height:58px;margin-bottom:2px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .brand-mark,
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .brand-mark img { width:42px;height:42px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .selector-wrap,
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector { width:46px;height:46px;min-height:46px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-selector { padding:4px;grid-template-columns:36px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .venture-badge { width:36px;height:36px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search { width:40px;height:40px;min-height:40px;margin-top:8px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search>svg { width:15px;height:15px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-list { margin-top:7px;gap:3px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-item { width:46px;height:46px;min-height:46px;margin:2px auto;padding:4px;grid-template-columns:38px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .chat-orb { width:38px;height:38px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .team-orbs { width:38px;height:38px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-zone,
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-card { width:46px;height:46px;min-height:46px; }
  .desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .account-zone { margin-top:6px; }
}

/* Core conversation chrome. */
.workspace { grid-template-rows:62px minmax(0,1fr) auto; }
.workspace-header { height:62px;padding:9px 17px;gap:8px; }
.agent-heading { gap:8px; }
.agent-heading strong { font-size:14px;letter-spacing:-.012em; }
.orb-wrap,.orb-wrap img { width:38px;height:38px; }
.orb-wrap { flex-basis:38px; }
.workspace-header>.icon-button,.icon-button { width:40px;height:40px; }
.icon-button svg { width:17px;height:17px; }
.conversation { padding:20px 26px 30px; }
.timestamp { margin-bottom:22px;font-size:10px; }
.message { margin-bottom:22px; }
.message.user .bubble { padding:11px 16px;border-radius:22px;font-size:14px;line-height:1.45; }
.agent-bubble { padding:15px 19px;border-radius:24px;font-size:15px;line-height:1.48; }
.activity-line { margin:8px 0 17px;gap:8px;font-size:12px; }
.activity-line > .living-orb { width:38px;height:38px; }
.computer-card { border-radius:27px; }
.computer-preview { min-height:232px;padding:20px; }
.tool-links { padding:16px 18px 4px;gap:7px; }
.tool-chip { padding:7px 10px;font-size:11px; }
.result-list { margin:10px 18px 18px;padding:12px 15px;border-radius:18px; }
.result-row { padding:7px 0;font-size:14px; }
.composer-area { padding:11px 18px 14px; }
.suggestion-carousel { grid-template-columns:minmax(0,1fr) 36px;gap:7px;margin-bottom:8px; }
.suggestion-row { gap:6px;padding:2px 0; }
.suggestion { padding:6px 10px;font-size:10px;box-shadow:inset 0 1px 1px rgba(255,255,255,.24),0 3px 10px rgba(0,0,0,.18); }
.prompt-scroll-arrow { width:36px;height:36px; }
.composer { height:52px;min-height:52px;padding:6px 7px 6px 14px;gap:7px;box-shadow:inset 0 1px 1px rgba(255,255,255,.28),0 6px 18px rgba(0,0,0,.25); }
.composer-leading { width:17px;height:17px;flex-basis:17px; }
.composer input { font-size:14px; }
.mic-button,.live-voice-button,.live-video-button,.send-button { width:38px;height:38px;flex-basis:38px; }
.mic-button svg { width:19px;height:19px; }
.live-voice-button svg { width:20px;height:20px; }
.live-video-button svg { width:18px;height:18px; }

/* Menus, selectors and ordinary dialogs. */
.selector-menu { padding:6px;border-radius:20px;box-shadow:0 16px 42px rgba(0,0,0,.52); }
.selector-option { min-height:46px;padding:5px 7px 5px 8px;border-radius:999px;grid-template-columns:34px minmax(0,1fr) 18px; }
.menu-portrait { width:34px;height:34px; }
.selector-option strong { font-size:11px; }
.selector-option small { font-size:9px; }
.account-menu { border-radius:18px;box-shadow:0 16px 42px rgba(0,0,0,.4),inset 0 1px rgba(255,255,255,.22); }
.account-menu-item { min-height:35px;padding:5px 8px;font-size:11px; }
.account-plan-flyout { left:calc(100% + 4px);top:-2px;width:224px;padding:9px 10px 6px;border-radius:16px; }
.account-plan-entry::after { content:"";position:absolute;z-index:119;left:100%;top:-4px;width:12px;height:calc(100% + 8px); }
.account-plan-flyout::before { width:12px; }
.plan-flyout-summary { gap:2px; }
.plan-flyout-title { gap:8px; }
.plan-flyout-title strong { font-size:12px;font-weight:650; }
.plan-flyout-title strong:last-child { font-weight:560; }
.plan-flyout-summary>small { font-size:9px; }
.plan-flyout-divider { margin:8px -10px 3px; }
.plan-manage-usage { min-height:26px;padding:3px 0;border-radius:7px;font-size:11px; }
.modal:not(.settings-modal) { width:min(510px,calc(100vw - 44px));padding:24px;border-radius:28px; }
.modal:not(.settings-modal) h2 { font-size:23px; }
.field { margin:13px 0; }
.field input,.field select { padding:11px 13px;border-radius:14px; }
.primary-btn,.secondary-btn { padding:11px 17px; }
.artifact-download-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 18px;color:#edf5ff;background:linear-gradient(145deg,rgba(119,145,177,.42),rgba(20,31,48,.58));border:1px solid rgba(232,244,255,.58);box-shadow:inset 0 1px 1px rgba(255,255,255,.42),0 8px 22px rgba(0,0,0,.2);-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%)}
.artifact-download-btn:hover,.artifact-download-btn:focus-visible{background:linear-gradient(145deg,rgba(153,181,215,.52),rgba(34,49,72,.64));border-color:rgba(245,250,255,.78)}
.artifact-download-btn svg{width:18px;height:18px;display:block;fill:currentColor;flex:0 0 auto}

/* Settings keeps its roomy two-column hierarchy, at a calmer desktop scale. */
.modal-layer.settings-layer { padding:52px; }
.modal.settings-modal { width:min(900px,100%);height:min(620px,100%);grid-template-columns:minmax(206px,23%) minmax(0,1fr);border-radius:29px; }
.modal.settings-modal::after { border-radius:27px; }
.settings-rail { padding:18px 13px 20px; }
.settings-search { height:42px;margin-bottom:20px;padding-inline:13px;border-radius:15px;gap:6px; }
.settings-search svg { width:17px;height:17px;flex-basis:17px; }
.settings-search input { font-size:14px; }
.settings-nav-label { margin:14px 10px 4px;font-size:9px; }
.settings-nav-item { min-height:38px;padding:6px 11px;grid-template-columns:18px minmax(0,1fr);gap:5px;font-size:14px; }
.settings-nav-item svg { width:18px;height:18px; }
.settings-content { padding:24px 38px 38px; }
.settings-close { top:18px;right:18px;width:42px;height:42px; }
.settings-close svg { width:17px;height:17px; }
.settings-panel-header { height:66px;padding:6px 66px 20px 0; }
.modal.settings-modal .settings-panel-header h2 { font-size:18px; }
.settings-panel-intro { margin:20px 0 -2px!important;font-size:14px; }
.settings-row { min-height:91px;padding:17px 0;gap:22px; }
.settings-row-copy strong { font-size:17px; }
.settings-row-copy small { margin-top:4px;font-size:13px; }
.settings-segment { position:relative;width:min(128px,43%);height:48px;padding:4px;isolation:isolate; }
.settings-segment button { font-size:14px; }
.settings-segment button { position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap; }
.settings-segment-thumb { position:absolute;z-index:0;left:4px;top:50%;width:calc((100% - 8px)/2);height:34px;border:0;border-radius:999px;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.82),transparent 39%),linear-gradient(145deg,rgba(248,252,255,.64),rgba(194,217,255,.34) 58%,rgba(150,199,246,.25));box-shadow:inset 0 -2px 2px rgba(115,186,255,.29),0 6px 15px rgba(28,68,116,.21),0 1px 3px rgba(22,51,93,.17);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);pointer-events:none;transform:translate3d(0,-50%,0);transition:transform .52s cubic-bezier(.2,1.26,.3,1);will-change:transform; }
.settings-segment[data-selected-theme="bright"] .settings-segment-thumb { transform:translate3d(100%,-50%,0); }
.settings-theme-symbol { width:22px;height:22px;flex:0 0 22px;overflow:visible;filter:drop-shadow(0 1px 2px rgba(18,36,63,.22)); }
.settings-language { width:min(238px,38%);height:44px;padding:4px 5px 4px 15px;grid-template-columns:minmax(0,1fr) 34px; }
.settings-language select { font-size:14px; }
.settings-language span { width:34px;height:34px; }
.settings-language svg { width:14px;height:14px; }
.settings-switch { width:50px;height:30px;flex-basis:50px; }
.settings-switch i { width:24px;height:24px; }
.settings-switch.on i { transform:translateX(20px); }

/* Create hub: compact rows, quieter type and more negative space. */
.create-hub { padding:20px clamp(22px,3vw,34px) 26px; }
.create-hub-search { height:48px;padding:0 18px;gap:11px;box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 7px 20px rgba(0,0,0,.16); }
.create-hub-search svg { width:17px;height:17px;flex-basis:17px; }
.create-hub-search input { font-size:15px; }
.create-hub-actions { margin-top:12px;gap:1px; }
.create-hub-action { min-height:58px;padding:7px 16px;border-radius:29px;grid-template-columns:40px minmax(0,1fr);gap:13px; }
.create-hub-action-icon { width:40px;height:40px;box-shadow:inset 0 1px 1px rgba(255,255,255,.36),0 4px 12px rgba(0,0,0,.16); }
.create-hub-action-icon svg { width:18px;height:18px; }
.create-hub-action strong { font-size:16px;letter-spacing:-.018em; }
.create-hub-action small { margin-top:3px;font-size:12px; }
.create-hub-divider { margin:11px 2px 15px; }
.create-hub-team-row { min-height:49px;padding:3px 14px;border-radius:25px;grid-template-columns:42px minmax(0,1fr);gap:12px; }
.create-hub-team-row strong { font-size:15px; }
.create-hub-team-row small { margin-top:2px;font-size:11px; }
.create-hub-orb,.create-hub-team-orbs { width:42px;height:42px; }
.create-hub-orb > .living-orb { width:42px;height:42px; }

/* Discovery retains its immersive artwork while its chrome stops competing. */
.product-discovery { padding:14px clamp(18px,3vw,32px) 12px;grid-template-rows:48px auto minmax(0,1fr) auto;gap:8px; }
.discovery-round { width:44px;height:44px;padding:12px; }
.discovery-find-pill { min-width:142px;height:44px;padding:4px 16px 4px 4px;gap:8px; }
.discovery-find-pill>span,.discovery-find-pill .living-orb { width:36px;height:36px; }
.discovery-find-pill strong { font-size:17px; }
.discovery-card { width:min(780px,100%);min-height:340px;border-radius:28px;box-shadow:0 18px 46px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.14); }
.discovery-card-top { inset:14px 15px auto; }
.discovery-badge { min-height:32px;padding:6px 10px;font-size:11px; }
.discovery-info { width:38px;height:38px;padding:10px; }
.discovery-card-copy { padding:15px 21px 14px;gap:6px; }
.discovery-card-copy h1 { font-size:29px; }
.discovery-product-name { font-size:15px; }
.discovery-meta span,.discovery-features span { min-height:27px;padding:4px 8px;font-size:10px; }
.discovery-details { min-height:52px;padding:8px 10px;border-radius:17px;grid-template-columns:20px minmax(0,1fr);gap:8px; }
.discovery-details>svg { width:19px;height:19px; }
.discovery-details strong { font-size:9px; }
.discovery-details small { margin-top:3px;font-size:12px; }
.discovery-swipe-copy { font-size:10px; }
.discovery-dock { grid-template-columns:repeat(3,50px);gap:15px 24px; }
.discovery-action { width:50px;height:50px;padding:14px; }
.discovery-action.primary { width:60px;height:60px;margin:-5px; }

/* Secondary desktop surfaces follow the same reduced rhythm. */
.browser-header { padding:11px 12px 8px 16px; }
.browser-header .icon-button { width:34px;height:34px; }
.browser-agents { padding:9px 11px;gap:5px; }
.browser-agent { padding:5px 8px;font-size:12px; }
.browser-agent img,.browser-agent:not(.browser-you)>.living-orb { width:24px;height:24px; }
.browser-tabs { padding:0 11px 6px;gap:5px; }
.browser-tab { padding:8px 10px;font-size:12px; }
.browser-address { margin:0 11px 9px;padding:5px;grid-template-columns:30px 30px 30px 1fr 42px; }
.browser-address button { height:30px; }
.browser-content { margin:0 11px 11px;padding:17px;border-radius:20px; }
.artifact-icon { width:44px;height:44px; }
.artifact-head h2 { font-size:19px; }
.artifact-row { padding:11px;border-radius:14px; }

.onboarding-stage { padding:20px; }
.onboarding-card { width:min(930px,92vw);min-height:min(620px,calc(100vh - 118px));border-radius:34px; }
.onboarding-copy { padding:44px; }
.onboarding-copy h1 { font-size:clamp(34px,4vw,58px); }
.onboarding-copy p { font-size:16px; }
.onboarding-visual { min-height:440px; }
.question-wrap { padding:38px; }
.question-wrap h1,.detail-wrap h1 { font-size:36px; }
.answer-option { padding:16px;border-radius:20px;font-size:14px; }
.proof-tile,.plan-tile { padding:18px;border-radius:20px; }
.showcase-card { border-radius:23px; }
.showcase-card img { height:220px; }

/* Apple-like motion: short, precise and free of exaggerated lift. */
:is(button,.venture-selector,.chat-item,.selector-option,.create-hub-action,.create-hub-team-row,.discovery-filter) {
  transition-duration:.16s;
  transition-timing-function:cubic-bezier(.2,.8,.2,1);
}
:is(.create-hub-action,.create-hub-team-row,.chat-item,.discovery-round,.discovery-action):hover { transform:translateY(-.5px); }

/* Cofounder role names stay typographically bold wherever they are embedded
   inside secondary copy; component-level strong rules must not enlarge them. */
strong.cofounder-name { display:inline;font-size:inherit;line-height:inherit;font-weight:700; }

/* Muse-inspired desktop chat composition: slim navigation, a calm centered
   conversation lane, floating agent identity and an anchored pill composer. */
.agent-execution-line { display:none; }

@media (min-width:821px) {
  .workspace {
    /* Reserve the expanded task card's space even when progress is hidden. */
    --chat-header-height:188px;
    grid-template-rows:var(--chat-header-height) minmax(0,1fr) auto;
  }

  .workspace-header {
    position:relative;
    height:var(--chat-header-height);
    padding:14px 18px 0;
    align-items:flex-start;
    justify-content:space-between;
    border-bottom:1px solid rgba(223,239,255,.18);
    background:transparent;
    box-shadow:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    z-index:4;
  }

  .chat-drawer-button {
    width:40px;
    min-width:40px;
    height:40px;
    padding:0;
    display:grid;
    place-items:center;
    border-radius:50%;
    border-color:rgba(255,255,255,.18);
    cursor:pointer;
  }

  .chat-drawer-button svg {
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:2.25;
    stroke-linecap:round;
  }

  .agent-heading {
    --execution-tint:rgba(138,176,229,.22);
    position:absolute;
    top:8px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    width:min(360px,46%);
    pointer-events:none;
  }

  .agent-heading[data-execution-kind="approval"],
  .agent-heading[data-execution-kind="finance"] { --execution-tint:rgba(92,211,163,.29); }
  .agent-heading[data-execution-kind="launch"],
  .agent-heading[data-execution-kind="outreach"] { --execution-tint:rgba(255,151,177,.26); }
  .agent-heading[data-execution-kind="media"],
  .agent-heading[data-execution-kind="design"] { --execution-tint:rgba(194,155,249,.28); }
  .agent-heading[data-execution-kind="research"] { --execution-tint:rgba(110,177,250,.30); }
  .agent-heading[data-execution-kind="build"] { --execution-tint:rgba(158,169,255,.27); }
  .agent-heading[data-execution-kind="team"],
  .agent-heading[data-execution-kind="planning"] { --execution-tint:rgba(246,198,127,.25); }

  .agent-heading .orb-wrap {
    width:62px;
    height:62px;
    flex-basis:62px;
    padding:5px;
    display:grid;
    place-items:center;
    border:1px solid rgba(226,240,255,.57);
    border-radius:50%;
    background:
      radial-gradient(circle at 28% 15%,rgba(255,255,255,.34),transparent 43%),
      linear-gradient(145deg,rgba(210,231,255,.24),rgba(99,150,212,.1) 56%,rgba(35,68,111,.14));
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.73),
      inset 0 -2px 3px rgba(23,49,83,.19),
      0 7px 18px rgba(0,0,0,.23),
      0 0 15px rgba(109,170,244,.13);
    -webkit-backdrop-filter:blur(18px) saturate(190%);
    backdrop-filter:blur(18px) saturate(190%);
    pointer-events:auto;
    overflow:visible;
    transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
  }

  .agent-heading .orb-wrap img {
    width:100%;
    height:100%;
    filter:drop-shadow(0 4px 9px rgba(54,103,170,.22));
  }

  .agent-heading .orb-wrap .living-orb-fallback { transform:scale(1.24); }
  .agent-heading .orb-wrap:hover,
  .agent-heading .orb-wrap:focus-visible {
    border-color:rgba(245,251,255,.83);
    box-shadow:inset 0 1px 2px rgba(255,255,255,.86),inset 0 -2px 3px rgba(23,49,83,.19),0 8px 20px rgba(0,0,0,.24),0 0 20px rgba(126,191,255,.3);
  }

  .agent-status-card {
    position:relative;
    z-index:2;
    isolation:isolate;
    max-width:100%;
    min-width:0;
    margin-top:0;
    padding:4px 11px 5px;
    overflow:hidden;
    border:1px solid rgba(229,241,255,.45);
    border-radius:999px;
    background:radial-gradient(125% 110% at 14% -15%,var(--execution-tint),transparent 68%),linear-gradient(145deg,rgba(242,248,255,.18),rgba(144,187,239,.07) 58%,rgba(27,55,97,.04));
    box-shadow:inset 0 1px 1px rgba(255,255,255,.63),inset 0 -1px 1px rgba(190,219,255,.13),0 8px 24px rgba(0,0,0,.13);
    -webkit-backdrop-filter:blur(22px) saturate(190%) brightness(1.13);
    backdrop-filter:blur(22px) saturate(190%) brightness(1.13);
    color:inherit;
    text-align:center;
    transition:width .22s cubic-bezier(.2,.8,.2,1),padding .22s cubic-bezier(.2,.8,.2,1),border-radius .22s cubic-bezier(.2,.8,.2,1),background .22s ease,box-shadow .22s ease;
  }

  .agent-status-card::before {
    content:"";
    position:absolute;
    z-index:0;
    inset:1px;
    border-radius:inherit;
    background:linear-gradient(157deg,rgba(255,255,255,.24),transparent 39%,rgba(200,226,255,.035) 88%);
    pointer-events:none;
  }

  .agent-status-card::after {
    content:"";
    position:absolute;
    z-index:0;
    top:0;
    left:16%;
    width:68%;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.67),transparent);
    pointer-events:none;
  }

  .agent-status-card > * { position:relative;z-index:1; }

  #header-title {
    display:block;
    max-width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
    background:none;
    border:0;
    box-shadow:none;
    font-size:11px;
    line-height:1.15;
    white-space:nowrap;
    text-overflow:ellipsis;
  }

  .agent-execution-line {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    max-height:0;
    margin-top:0;
    overflow:hidden;
    opacity:0;
    color:rgba(236,244,255,.83);
    font-size:10.5px;
    font-weight:560;
    line-height:1.2;
    white-space:nowrap;
    transform:translateY(-3px);
    transition:max-height .2s cubic-bezier(.2,.8,.2,1),margin-top .2s cubic-bezier(.2,.8,.2,1),opacity .16s ease,transform .2s cubic-bezier(.2,.8,.2,1);
  }

  .agent-execution-icon {
    width:auto;
    height:auto;
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
    font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
    font-size:17px;
    line-height:1;
  }

  #header-execution-text {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .agent-heading[data-execution-state="working"] .agent-status-card,
  .agent-heading[data-execution-state="ready"] .agent-status-card {
    width:min(248px,100%);
    padding:7px 13px 8px;
    border-radius:19px;
    background:radial-gradient(125% 125% at 14% -18%,var(--execution-tint),transparent 67%),linear-gradient(145deg,rgba(244,249,255,.21),rgba(144,187,239,.08) 58%,rgba(27,55,97,.05));
    box-shadow:inset 0 1px 1px rgba(255,255,255,.69),inset 0 -1px 1px rgba(175,210,250,.13),0 10px 27px rgba(0,0,0,.16),0 0 24px rgba(83,139,217,.07);
  }

  .agent-heading[data-execution-state="working"] .agent-execution-line,
  .agent-heading[data-execution-state="ready"] .agent-execution-line {
    max-height:20px;
    margin-top:4px;
    opacity:1;
    transform:translateY(0);
  }

  .agent-heading[data-execution-state="working"] .orb-wrap {
    filter:drop-shadow(0 0 13px rgba(104,166,246,.35));
  }

  .agent-heading[data-execution-state="working"] .orb-wrap::before {
    content:"";
    position:absolute;
    inset:-4px;
    border-radius:50%;
    border:1px solid rgba(185,220,255,.28);
    box-shadow:0 0 0 4px rgba(89,143,219,.06),0 0 22px rgba(91,158,242,.22);
    animation:header-agent-pulse 1.7s ease-in-out infinite;
    pointer-events:none;
  }

  .workspace-header > .icon-button {
    width:40px;
    height:40px;
    margin-left:auto;
  }

  .conversation {
    padding:12px clamp(24px,4vw,64px) 34px;
    background:transparent;
    scroll-padding-block:18px;
  }

  .conversation-lane {
    width:min(760px,100%);
    min-height:100%;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }

  .conversation-lane .timestamp {
    display:none;
  }

  .conversation-lane .message {
    width:100%;
    margin:0 0 10px;
  }

  .conversation-lane .message.user {
    display:flex;
    justify-content:flex-end;
    padding:12px 0 22px;
  }

  .conversation-lane .message.user .bubble {
    width:fit-content;
    max-width:min(58%,500px);
    padding:11px 16px;
    border-radius:20px 20px 8px 20px;
    font-size:14px;
    line-height:1.45;
  }

  .conversation-lane .workflow-colleague {
    width:fit-content;
    max-width:min(78%,640px);
    margin:0 0 8px;
  }

  .conversation-lane .agent-bubble {
    width:fit-content;
    padding:13px 17px;
    border-radius:9px 22px 22px 22px;
    font-size:14px;
    line-height:1.5;
  }

  .conversation-lane .activity-line,
  .conversation-lane .computer-card {
    max-width:min(78%,640px);
  }

  .composer-area {
    padding:6px clamp(24px,4vw,64px) 20px;
    border-top:0;
    background:linear-gradient(180deg,transparent,rgba(3,8,15,.12) 32%,rgba(3,8,15,.26));
    box-shadow:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }

  .suggestion-carousel,
  .composer {
    width:min(820px,100%);
    margin-left:auto;
    margin-right:auto;
  }

  .suggestion-carousel {
    margin-bottom:8px;
  }

  .suggestion-row {
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 12px),transparent);
    mask-image:linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 12px),transparent);
  }

  .composer {
    height:54px;
    min-height:54px;
    padding:7px 8px 7px 16px;
    border-radius:999px;
  }

  .composer-leading {
    width:18px;
    height:18px;
    flex-basis:18px;
  }

  :root[data-theme="bright"] .workspace-header {
    background:transparent;
    box-shadow:none;
  }

  :root[data-theme="bright"] .conversation {
    background:transparent;
  }

  :root[data-theme="bright"] .composer-area {
    border-top:0;
    background:linear-gradient(180deg,transparent,rgba(162,190,226,.08) 30%,rgba(114,153,204,.13));
    box-shadow:none;
  }

  :root[data-theme="bright"] .chat-drawer-button {
    color:#233a57;
    border-color:rgba(255,255,255,.78);
    background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(188,211,239,.38));
    box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 6px 16px rgba(50,80,119,.14);
  }

  :root[data-theme="bright"] .agent-status-card {
    color:#233a57;
    border-color:rgba(255,255,255,.78);
    background:linear-gradient(145deg,rgba(255,255,255,.32),rgba(188,211,239,.12));
    box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 6px 16px rgba(50,80,119,.1);
  }

  :root[data-theme="bright"] .agent-heading[data-execution-state="working"] .agent-status-card,
  :root[data-theme="bright"] .agent-heading[data-execution-state="ready"] .agent-status-card {
    color:#10243e;
    border-color:rgba(255,255,255,.84);
    background:radial-gradient(125% 125% at 14% -18%,var(--execution-tint),transparent 67%),linear-gradient(145deg,rgba(255,255,255,.38),rgba(187,213,244,.15) 64%,rgba(161,191,229,.09));
    box-shadow:inset 0 1px 1px rgba(255,255,255,.96),inset 0 -1px 0 rgba(255,255,255,.36),0 10px 25px rgba(47,79,119,.12),0 0 28px rgba(93,151,225,.08);
  }

  :root[data-theme="bright"] .agent-execution-line { color:rgba(25,54,88,.82); }
  :root[data-theme="bright"] .agent-heading .orb-wrap {
    border-color:rgba(255,255,255,.88);
    background:radial-gradient(circle at 28% 15%,rgba(255,255,255,.69),transparent 44%),linear-gradient(145deg,rgba(255,255,255,.49),rgba(154,195,239,.19) 56%,rgba(77,131,192,.11));
    box-shadow:inset 0 1px 2px rgba(255,255,255,.95),inset 0 -2px 3px rgba(82,132,189,.12),0 7px 18px rgba(52,89,137,.17),0 0 15px rgba(109,170,244,.12);
  }
}

@keyframes header-agent-pulse {
  0%,100% { opacity:.38;transform:scale(.92); }
  50% { opacity:1;transform:scale(1.08); }
}

@media (max-width:820px) {
  .chat-drawer-button { display:none; }
  .conversation-lane { width:100%; }
}

/* Bright appearance: keep user-authored messages visually distinct and legible. */
:root[data-theme="bright"] .message.user .bubble {
  color:#fff;
  background:#07090d;
  border-color:rgba(255,255,255,.34);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.16),
    inset 0 -1px 1px rgba(0,0,0,.72),
    0 14px 32px rgba(26,45,70,.24);
}

/* Role-matched Cofounder glass: each reply inherits the material language of its orb. */
:root .agent-bubble[data-agent-role] {
  --agent-glass-top:rgba(83,95,112,.82);
  --agent-glass-mid:rgba(43,56,74,.88);
  --agent-glass-base:rgba(18,28,42,.94);
  --agent-glass-rim:rgba(139,162,193,.58);
  --agent-glass-glow:rgba(93,132,183,.18);
  --agent-glass-shine:rgba(255,255,255,.28);
  border-radius:26px;
  overflow:hidden;
  color:#f6f8fc;
  border-color:var(--agent-glass-rim);
  background:
    radial-gradient(115% 120% at 4% -28%,var(--agent-glass-shine),transparent 43%),
    linear-gradient(145deg,var(--agent-glass-top),var(--agent-glass-mid) 54%,var(--agent-glass-base));
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.26),
    inset 0 -1px 1px rgba(0,0,0,.48),
    0 16px 36px rgba(0,0,0,.28),
    0 0 26px var(--agent-glass-glow);
  -webkit-backdrop-filter:blur(34px) saturate(178%);
  backdrop-filter:blur(34px) saturate(178%);
  text-shadow:0 1px 1px rgba(0,0,0,.26);
}

:root .agent-bubble[data-agent-role="sell"] {
  --agent-glass-top:rgba(154,140,162,.82);
  --agent-glass-mid:rgba(108,91,121,.84);
  --agent-glass-base:rgba(70,56,84,.92);
  --agent-glass-rim:rgba(212,158,207,.62);
  --agent-glass-glow:rgba(216,139,211,.22);
  --agent-glass-shine:rgba(255,235,255,.34);
}

:root .agent-bubble[data-agent-role="find"] {
  --agent-glass-top:rgba(44,72,103,.86);
  --agent-glass-mid:rgba(21,42,74,.9);
  --agent-glass-base:rgba(7,17,39,.95);
  --agent-glass-rim:rgba(81,139,205,.64);
  --agent-glass-glow:rgba(39,124,224,.22);
  --agent-glass-shine:rgba(193,225,255,.28);
}

:root .agent-bubble[data-agent-role="chief"] {
  --agent-glass-top:rgba(84,96,112,.84);
  --agent-glass-mid:rgba(49,63,82,.9);
  --agent-glass-base:rgba(28,39,56,.94);
  --agent-glass-rim:rgba(137,161,192,.64);
  --agent-glass-glow:rgba(132,176,229,.2);
  --agent-glass-shine:rgba(225,240,255,.32);
}

:root .agent-bubble[data-agent-role="build"] {
  --agent-glass-top:rgba(71,79,89,.82);
  --agent-glass-mid:rgba(31,42,55,.91);
  --agent-glass-base:rgba(5,13,22,.96);
  --agent-glass-rim:rgba(102,124,148,.62);
  --agent-glass-glow:rgba(77,120,167,.17);
  --agent-glass-shine:rgba(217,232,247,.25);
}

/* Compact semantic venture-type marks for every visual Cofounder name tag. */
.sr-only {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.cofounder-agent-label {
  display:inline-flex;
  align-items:center;
  gap:.42em;
  min-width:0;
  max-width:100%;
  vertical-align:-.08em;
}

.cofounder-agent-label > span:last-child {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cofounder-type-icon {
  width:1.28em;
  height:1.28em;
  flex:0 0 1.28em;
  overflow:visible;
  fill:currentColor;
  stroke:none;
}
.cofounder-team-icon { width:1.42em;flex-basis:1.42em; }

/* Match the landing-page hero's compact brand and product switchers. */
:is(#brand-menu,#product-menu) {
  left:0;
  right:auto;
  width:224px;
  max-width:calc(100vw - 24px);
  max-height:min(420px,calc(100vh - 24px));
  padding:9px 5px 7px;
  gap:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  border-radius:24px;
  color:#f4f6fa;
  background:linear-gradient(145deg,#303b48 0%,#171f29 37%,#080d13 100%);
  border:1px solid rgba(211,224,234,.66);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.27),0 14px 32px rgba(0,0,0,.46);
}
:is(#brand-menu,#product-menu) .picker-menu-title {
  display:flex;align-items:center;gap:7px;
  padding:1px 8px 7px;
  font-size:12px;
  font-weight:530;
  line-height:1.1;
  letter-spacing:.01em;
}
:is(#brand-menu,#product-menu) .picker-menu-title-icon { width:15px;height:15px;flex:none;fill:currentColor; }
:is(#brand-menu,#product-menu) .selector-option {
  min-height:48px;
  grid-template-columns:36px minmax(0,1fr) 17px;
  gap:7px;
  padding:4px 6px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  box-shadow:none;
}
:is(#brand-menu,#product-menu) .selector-option.selected {
  background:linear-gradient(145deg,rgba(89,103,119,.38),rgba(38,47,61,.72));
  border-color:rgba(196,207,218,.35);
}
:is(#brand-menu,#product-menu) .selector-option:hover {
  background:rgba(133,150,171,.18);
  border-color:rgba(196,207,218,.28);
}
:is(#brand-menu,#product-menu) .selector-option.selected:hover {
  background:linear-gradient(145deg,rgba(106,122,141,.47),rgba(43,53,69,.78));
}
:is(#brand-menu,#product-menu) .menu-portrait {
  width:36px;
  height:36px;
  border-color:rgba(228,238,248,.48);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.22);
}
:is(#brand-menu,#product-menu) .picker-option-copy {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}
:is(#brand-menu,#product-menu) .picker-option-copy strong {
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:570;
  line-height:1.1;
}
:is(#brand-menu,#product-menu) .picker-kind {
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:16px;
  margin:0;
  padding:1px 6px 1px 5px;
  gap:4px;
  border:1px solid rgba(179,193,208,.41);
  border-radius:999px;
  background:rgba(162,180,202,.12);
  color:#e1e8f2;
  font-size:9px;
  line-height:1;
  white-space:nowrap;
}
:is(#brand-menu,#product-menu) .picker-kind svg {
  width:10px;
  height:10px;
  flex:none;
  fill:currentColor;
}
:is(#brand-menu,#product-menu) .selector-check {
  width:17px;
  height:17px;
  border:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
  color:#f3f7fc;
}
:is(#brand-menu,#product-menu) .selector-check::after { display:none; }
:is(#brand-menu,#product-menu) .selector-check svg { width:16px;height:16px;filter:none;stroke-width:1.7; }
:is(#brand-menu,#product-menu) .selector-create {
  min-height:45px;
  margin-top:2px;
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}
:is(#brand-menu,#product-menu) .selector-create .menu-portrait.new {
  background:linear-gradient(145deg,#343f4c,#111923)!important;
  border-color:rgba(222,232,241,.62);
  font-family:-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:23px;
  font-weight:350;
  line-height:1;
}
:is(#brand-menu,#product-menu) .selector-create strong { font-size:12px; }
:is(#brand-menu,#product-menu) .selector-option:focus-visible {
  outline:2px solid #9ecbff;
  outline-offset:-2px;
}
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) :is(#brand-menu,#product-menu) {
  left:58px;
  right:auto;
  top:0;
}

:root[data-theme="bright"] :is(#brand-menu,#product-menu) {
  color:#162538;
  background:linear-gradient(145deg,#f7fbff,#dce8f5 56%,#bacde4);
  border-color:rgba(255,255,255,.94);
  box-shadow:inset 0 1px 1px #fff,0 14px 32px rgba(40,70,112,.3);
}
:root[data-theme="bright"] :is(#brand-menu,#product-menu) .selector-option.selected {
  background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(177,202,232,.55));
  border-color:rgba(255,255,255,.94);
}
:root[data-theme="bright"] :is(#brand-menu,#product-menu) .picker-kind {
  color:#334760;
  background:rgba(94,127,166,.1);
  border-color:rgba(108,143,185,.3);
}
:root[data-theme="bright"] :is(#brand-menu,#product-menu) .selector-check { color:#25405f; }
:root[data-theme="bright"] :is(#brand-menu,#product-menu) .selector-create .menu-portrait.new {
  background:linear-gradient(145deg,#e8f1fc,#9db9db)!important;
  border-color:rgba(255,255,255,.9);
}

/* Usage mirrors the single-card mobile hierarchy, using the desktop demo's
   existing account data rather than introducing a contradictory plan state. */
.usage-panel-header { height:42px;padding-bottom:0;border-bottom:0; }
.modal.settings-modal .usage-panel-header h2 { color:var(--settings-muted); }
.usage-card {
  width:min(100%,360px);
  box-sizing:border-box;
  margin-top:12px;
  padding:15px 17px 13px;
  border:1px solid rgba(235,244,255,.2);
  border-radius:19px;
  background:linear-gradient(145deg,rgba(96,105,119,.38),rgba(46,55,70,.43));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.19),0 12px 30px rgba(1,8,21,.13);
  -webkit-backdrop-filter:blur(16px) saturate(130%);
  backdrop-filter:blur(16px) saturate(130%);
}
.usage-card-top { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.usage-plan-title { display:flex;align-items:center;gap:9px;min-width:0; }
.usage-card-top strong { color:var(--settings-ink);font-size:16px;font-weight:570; }
.usage-card-top>span { color:var(--settings-muted);font-size:13px;white-space:nowrap; }
.usage-card p { margin:2px 0 11px!important;color:var(--settings-muted)!important;font-size:12px; }
.usage-progress { height:6px;margin-top:14px;overflow:hidden;border-radius:999px;background:rgba(153,161,174,.38); }
.usage-progress span { display:block;height:100%;border-radius:inherit;background:#208efb;box-shadow:0 0 8px rgba(32,142,251,.4); }
:root[data-theme="bright"] .usage-progress span {
  background:linear-gradient(180deg,rgba(58,64,73,.92),rgba(5,8,13,.95));
  box-shadow:inset 0 1px rgba(255,255,255,.3),inset 0 -1px rgba(0,0,0,.4),0 0 6px rgba(10,18,29,.2);
  -webkit-backdrop-filter:blur(12px) saturate(150%);
  backdrop-filter:blur(12px) saturate(150%);
}
.usage-card-divider { height:1px;margin:12px 0 7px;background:rgba(235,244,255,.16); }
.usage-upgrade { min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid rgba(255,255,255,.62);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(222,237,255,.78) 48%,rgba(132,181,238,.66));box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 5px 14px rgba(0,0,0,.16);color:#14243a;font-size:13px;font-weight:620;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease; }
.usage-card>.usage-upgrade { display:flex;width:fit-content;margin-inline:auto; }

/* Standalone card CTAs share one centered settings alignment. */
.modal.settings-modal #settings-panel :is(.settings-billing-card,.usage-card) > button:only-of-type {
  width:fit-content;
  margin-inline:auto;
  align-self:center;
  justify-self:center;
}
.usage-upgrade:hover { transform:translateY(-1px) scale(1.025);box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 8px 19px rgba(0,0,0,.2);filter:brightness(1.04); }
.usage-upgrade:active { transform:scale(.98); }
:root[data-theme="bright"] .usage-upgrade,:root[data-theme="glacial"] .usage-upgrade { background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(190,218,250,.74));color:#14243a; }
:root[data-theme="bright"] .usage-card,
:root[data-theme="glacial"] .usage-card { background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(169,191,221,.36));border-color:rgba(255,255,255,.76); }
:root[data-theme="bright"] .usage-card-divider,
:root[data-theme="glacial"] .usage-card-divider { background:rgba(89,113,146,.2); }

/* The upgrade picker keeps the mobile plan hierarchy but fits a desktop
   modal: scrollable hero/cards and a persistent summary/CTA. */
.modal.upgrade-modal,
:root[data-theme="bright"] .modal.upgrade-modal {
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(570px,calc(100vw - 44px));
  height:min(680px,calc(100vh - 44px));
  max-height:calc(100vh - 44px);
  padding:0;
  overflow:hidden;
  border:1px solid rgba(235,243,255,.57);
  border-radius:32px;
  color:#f4f6fc;
  background:linear-gradient(155deg,#393d49,#1b2030 60%,#101525);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.37),0 32px 90px rgba(0,0,0,.56);
}
.upgrade-scroll { min-height:0;flex:1;overflow:auto;overscroll-behavior:contain; }
.upgrade-hero { height:240px;overflow:hidden;background:#232942; }
.upgrade-hero img { display:block;width:100%;height:100%;object-fit:cover;object-position:center center; }
.upgrade-body { padding:17px 20px 22px; }
.upgrade-cadence { position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;gap:4px;width:min(300px,100%);margin:0 auto 17px;padding:4px;border:1px solid rgba(228,239,255,.38);border-radius:999px;background:rgba(115,126,146,.21); }
.upgrade-cadence-thumb { position:absolute;z-index:0;top:4px;left:4px;width:calc(50% - 6px);height:calc(100% - 8px);border:1px solid rgba(255,255,255,.83);border-bottom-color:rgba(162,207,255,.76);border-radius:999px;background:radial-gradient(circle at 25% 12%,rgba(255,255,255,.73),transparent 48%),linear-gradient(135deg,rgba(247,250,255,.91),rgba(164,198,238,.82));box-shadow:inset 0 1px rgba(255,255,255,.92),inset 0 -1px rgba(105,157,215,.25),0 4px 13px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);pointer-events:none;transition:transform .52s cubic-bezier(.2,1.26,.3,1);will-change:transform; }
.upgrade-cadence[data-selected-cadence="yearly"] .upgrade-cadence-thumb { transform:translate3d(calc(100% + 4px),0,0); }
.upgrade-cadence button { position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:6px 4px;border:0;border-radius:999px;background:transparent;color:#aeb8c9;font-size:13px;font-weight:660;white-space:nowrap;cursor:pointer;transition:color .2s ease; }
.upgrade-emoji { flex:none;font:normal 15px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.upgrade-cadence button.active { color:#142236; }
.upgrade-cadence .upgrade-savings { display:inline-block;flex:none;padding:3px 4px;border-radius:999px;background:rgba(20,29,45,.65);color:#f3f6ff;font-size:9px; }
.upgrade-plan-list { display:grid;gap:9px; }
.upgrade-plan { position:relative;display:grid;justify-items:start;width:100%;min-height:110px;padding:16px 18px;border:1px solid rgba(221,231,248,.32);border-radius:30px;background:linear-gradient(135deg,rgba(119,125,138,.29),rgba(41,48,65,.52));color:#f4f6fc;text-align:left;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.12);transition:border-color .28s ease,box-shadow .28s ease,background .28s ease; }
.upgrade-plan:hover { border-color:rgba(222,238,255,.74);background:linear-gradient(135deg,rgba(137,147,167,.38),rgba(47,56,77,.64)); }
/* Match the Meet L☰NS for Mac download panel's glass material. */
.upgrade-plan.selected {
  --plan-glass-filter: blur(28px) saturate(185%);
  border: 1px solid #f1f7ff70;
  background: linear-gradient(145deg, #f5f9ff45, #c5d5f422 55%, #8eafda20);
  box-shadow: inset 0 1px 1px #fff9, 0 22px 60px #0009;
  -webkit-backdrop-filter: var(--plan-glass-filter);
  backdrop-filter: var(--plan-glass-filter);
}
.upgrade-plan.selected .upgrade-price small { color:#e2e7ef; }
.upgrade-plan-name { padding-right:34px;font-size:20px;font-weight:740;letter-spacing:-.035em; }
.upgrade-plan-radio { position:absolute;top:16px;right:18px;display:grid;place-items:center;width:25px;height:25px;border:2px solid rgba(192,205,226,.56);border-radius:50%;background:rgba(255,255,255,.03); }
.upgrade-plan-radio svg { display:block;width:16px;height:16px;fill:currentColor; }
.upgrade-plan.selected .upgrade-plan-radio { border:1px solid rgba(255,255,255,.98);background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.95),transparent 48%),linear-gradient(145deg,#f9fafc,#adb9ca);color:#253348;box-shadow:inset 0 1px rgba(255,255,255,.98),0 3px 9px rgba(8,15,27,.23),0 0 0 2px rgba(236,241,248,.22); }
.upgrade-allowances { display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 8px; }
.upgrade-allowances>span { display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 8px;border:1px solid rgba(229,240,255,.43);border-radius:999px;background:rgba(235,243,255,.16);font-size:11px;font-weight:650;white-space:nowrap; }
.upgrade-allowances img { width:16px;height:16px;object-fit:contain; }
.upgrade-allowances .upgrade-token-orb { width:20px;height:20px;flex:0 0 20px; }
.upgrade-price { display:flex;align-items:baseline;flex-wrap:wrap;gap:10px; }
.upgrade-price strong { font-size:16px;font-weight:710; }
.upgrade-price small { color:#aeb8c9;font-size:12px; }
.upgrade-footer { flex:none;padding:12px 20px 19px;border-top:1px solid rgba(231,240,255,.32);background:linear-gradient(135deg,rgba(103,113,135,.35),rgba(16,21,37,.96));box-shadow:0 -14px 28px rgba(4,8,17,.12); }
.upgrade-summary { margin:0 0 10px!important;color:#aeb8c9!important;text-align:center;font-size:12px; }
.upgrade-choose { width:fit-content;max-width:100%;min-height:45px;margin-inline:auto;padding-inline:16px;border:1px solid #dcecff;border-radius:999px;background:linear-gradient(135deg,#f7fbff,#aec8e8 53%,#a5a7cf);color:#122033;font-size:15px;font-weight:740;cursor:pointer;box-shadow:inset 0 1px #fff,0 8px 21px rgba(37,75,130,.23); }
.upgrade-choose:hover { filter:brightness(1.07); }
/* Match the website hero's square glass AI Cofounder on primary calls to action. */
:is(button.primary-btn,button.upgrade-choose,button.settings-auth-submit,button.settings-auth-alt) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-align:center;
  line-height:1.25;
}
.upgrade-footer .upgrade-choose { display:flex; }
:is(button.primary-btn,button.settings-auth-submit,button.settings-auth-alt)::before {
  content:"";
  display:block;
  flex:0 0 27px;
  width:27px;
  height:27px;
  background:url("./assets/icon-bright.png") center / contain no-repeat;
  filter:drop-shadow(0 1px 3px rgba(42,84,162,.22));
}
.profile-message-cofounder > svg { display:none; }
button.primary-btn.profile-message-cofounder::before { content:none; }
.profile-message-cofounder > .profile-chief-orb { display:block;width:30px;height:30px;flex:0 0 30px; }
.upgrade-notice { margin:10px 0 0!important;color:#e8f1ff!important;text-align:center;font-size:12px; }
.upgrade-notice[hidden] { display:none; }
.upgrade-links { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;overflow-x:auto;white-space:nowrap;scrollbar-width:none; }
.upgrade-links::-webkit-scrollbar { display:none; }
.upgrade-links :is(button,a) { display:inline-flex;align-items:center;gap:6px;flex:none;padding:3px 0;border:0;background:transparent;color:#afb8c9;font-size:12px;text-decoration:underline;cursor:pointer; }
.upgrade-links svg { width:14px;height:14px;flex:0 0 14px;fill:currentColor;text-decoration:none; }
.upgrade-links :is(button,a):hover { color:#fff; }
.upgrade-close { position:absolute;z-index:2;top:13px;right:13px;display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.82);border-radius:50%;background:linear-gradient(145deg,rgba(231,238,252,.76),rgba(130,144,175,.55));color:#fff;font-size:25px;font-weight:300;line-height:1;cursor:pointer;box-shadow:0 5px 15px rgba(13,21,42,.27);backdrop-filter:blur(12px); }
@media (max-width:620px) {
  .upgrade-hero { height:205px; }
  .upgrade-body { padding:15px 15px 20px; }
  .upgrade-footer { padding:12px 15px 19px; }
  .upgrade-plan { padding:15px; }
  .upgrade-plan-name { font-size:19px; }
}

/* Silver's upgrade sheet uses the same luminous glass as the desktop cockpit. */
:root[data-theme="bright"] .modal.upgrade-modal {
  color:#17304d;
  background:radial-gradient(95% 68% at 10% -8%,rgba(255,255,255,.82),transparent 66%),linear-gradient(145deg,rgba(249,253,255,.78),rgba(212,232,253,.68) 54%,rgba(161,202,247,.62));
  border-color:rgba(255,255,255,.94);
  box-shadow:inset 0 1px rgba(255,255,255,.96),inset 0 -1px rgba(76,123,181,.14),0 28px 75px rgba(29,72,124,.28);
  -webkit-backdrop-filter:blur(28px) saturate(175%);
  backdrop-filter:blur(28px) saturate(175%);
}
:root[data-theme="bright"] .upgrade-hero { background:#d5e8fb; }
:root[data-theme="bright"] .upgrade-hero img { filter:none; }
:root[data-theme="bright"] .upgrade-cadence {
  border-color:rgba(255,255,255,.76);
  background:linear-gradient(140deg,rgba(255,255,255,.47),rgba(174,210,249,.27));
  box-shadow:inset 0 1px rgba(255,255,255,.65),0 6px 16px rgba(37,83,133,.1);
  -webkit-backdrop-filter:blur(15px) saturate(160%);
  backdrop-filter:blur(15px) saturate(160%);
}
:root[data-theme="bright"] .upgrade-cadence button { color:#52708f; }
:root[data-theme="bright"] .upgrade-cadence-thumb {
  border-color:rgba(255,255,255,.94);
  border-bottom-color:rgba(138,196,250,.8);
  background:radial-gradient(circle at 25% 12%,rgba(255,255,255,.92),transparent 48%),linear-gradient(135deg,rgba(255,255,255,.78),rgba(177,216,250,.68));
  box-shadow:inset 0 1px rgba(255,255,255,.98),inset 0 -1px rgba(102,172,238,.2),0 4px 12px rgba(55,105,160,.15);
}
:root[data-theme="bright"] .upgrade-cadence button.active {
  color:#17304d;
}
:root[data-theme="bright"] .upgrade-cadence .upgrade-savings { background:rgba(101,150,208,.2);color:#294b71; }
:root[data-theme="bright"] .upgrade-plan {
  color:#17304d;
  border-color:rgba(255,255,255,.82);
  background:linear-gradient(140deg,rgba(255,255,255,.54),rgba(185,217,250,.27) 62%,rgba(133,184,236,.2));
  box-shadow:inset 0 1px rgba(255,255,255,.85),0 8px 22px rgba(39,85,135,.1);
  -webkit-backdrop-filter:var(--plan-glass-filter, blur(18px) saturate(165%));
  backdrop-filter:var(--plan-glass-filter, blur(18px) saturate(165%));
}
:root[data-theme="bright"] .upgrade-plan:hover { border-color:#fff;background:linear-gradient(140deg,rgba(255,255,255,.68),rgba(185,217,250,.4)); }
:root[data-theme="bright"] .upgrade-plan.selected {
  border-color: #fff;
  background: linear-gradient(145deg, #ffffffed, #dce6f4ef);
  box-shadow: inset 0 1px 1px #fff, 0 22px 60px #60718d69;
}
@media (max-width:800px) {
  .upgrade-plan.selected {
    box-shadow: inset 0 1px 1px #fff9, inset 0 -1px 1px #c2d9ff30, 0 22px 60px #0006;
  }
  :root[data-theme="bright"] .upgrade-plan.selected {
    border-color: #ffffffa6;
    background: linear-gradient(145deg, #ffffff70, #dce6f438);
  }
}
:root[data-theme="bright"] .upgrade-plan.selected .upgrade-price small { color:#506177; }
:root[data-theme="bright"] .upgrade-plan-radio { border-color:rgba(64,103,149,.5); }
:root[data-theme="bright"] .upgrade-plan.selected .upgrade-plan-radio { border-color:rgba(255,255,255,.98);background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.98),transparent 48%),linear-gradient(145deg,#fff,#b9c4d1);color:#26374b;box-shadow:inset 0 1px #fff,0 3px 10px rgba(65,78,96,.2),0 0 0 2px rgba(255,255,255,.55); }
:root[data-theme="bright"] .upgrade-allowances>span { border-color:rgba(255,255,255,.76);background:rgba(255,255,255,.34); }
:root[data-theme="bright"] .upgrade-price small { color:#54708f; }
:root[data-theme="bright"] .upgrade-footer {
  border-color:rgba(255,255,255,.75);
  background:radial-gradient(90% 95% at 3% -28%,rgba(255,255,255,.83),transparent 70%),linear-gradient(145deg,rgba(236,247,255,.77),rgba(172,210,250,.69));
  box-shadow:0 -12px 25px rgba(65,112,166,.08);
  -webkit-backdrop-filter:blur(22px) saturate(170%);
  backdrop-filter:blur(22px) saturate(170%);
}
:root[data-theme="bright"] .upgrade-summary { color:#526c89!important; }
:root[data-theme="bright"] .upgrade-choose { border-color:rgba(255,255,255,.93);background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(162,206,250,.77));color:#17304d;box-shadow:inset 0 1px #fff,0 8px 20px rgba(49,102,164,.16); }
:root[data-theme="bright"] .upgrade-notice { color:#345778!important; }
:root[data-theme="bright"] .upgrade-links :is(button,a) { color:#536f8e; }
:root[data-theme="bright"] .upgrade-links :is(button,a):hover { color:#17304d; }
:root[data-theme="bright"] .upgrade-close { border-color:rgba(255,255,255,.9);background:linear-gradient(145deg,rgba(255,255,255,.73),rgba(171,210,249,.46));color:#17304d;box-shadow:inset 0 1px rgba(255,255,255,.9),0 5px 14px rgba(45,95,154,.17);-webkit-backdrop-filter:blur(18px) saturate(165%);backdrop-filter:blur(18px) saturate(165%); }

/* Settings: one transparent material system across the rail and every panel. */
.settings-layer .modal-backdrop {
  background:rgba(3,10,23,.2);
  -webkit-backdrop-filter:blur(3px) saturate(120%);
  backdrop-filter:blur(3px) saturate(120%);
}
.modal.settings-modal {
  --settings-ink:#f4f8ff;
  --settings-muted:#b9c9dc;
  --settings-line:rgba(227,241,255,.25);
  --settings-symbol:#d8e9ff;
  --settings-surface:linear-gradient(140deg,rgba(246,251,255,.13),rgba(151,189,235,.065) 53%,rgba(27,47,83,.13));
  --settings-control:linear-gradient(140deg,rgba(244,250,255,.2),rgba(140,182,228,.1) 60%,rgba(20,38,70,.13));
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,sans-serif;
  background:radial-gradient(90% 55% at 58% -9%,rgba(232,247,255,.22),transparent 70%),linear-gradient(135deg,rgba(84,126,177,.19),rgba(17,37,68,.2) 52%,rgba(33,65,112,.18));
  border:1px solid rgba(238,248,255,.66);
  box-shadow:inset 0 1px rgba(255,255,255,.57),inset 0 -1px rgba(7,20,42,.24),0 28px 75px rgba(1,8,21,.35),0 0 0 1px rgba(161,205,255,.11);
  -webkit-backdrop-filter:blur(17px) saturate(155%);
  backdrop-filter:blur(17px) saturate(155%);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal {
  --settings-ink:#f3f5f9;
  --settings-muted:#b7bdc8;
  --settings-line:rgba(216,222,232,.2);
  --settings-control:linear-gradient(145deg,rgba(225,230,238,.19),rgba(129,136,149,.1) 52%,rgba(13,16,22,.2));
  background:radial-gradient(78% 48% at 53% 43%,rgba(152,158,169,.2),transparent 75%),radial-gradient(90% 72% at 2% 50%,rgba(115,122,132,.19),transparent 72%),linear-gradient(115deg,rgba(48,52,59,.94),rgba(23,26,33,.96) 45%,rgba(9,12,18,.98) 100%);
  border-color:rgba(197,204,215,.29);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.25),inset 0 -1px 1px rgba(255,255,255,.035),0 34px 90px rgba(0,0,0,.42),0 0 54px rgba(123,150,187,.055);
  -webkit-backdrop-filter:blur(42px) saturate(165%);
  backdrop-filter:blur(42px) saturate(165%);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal::before { background:linear-gradient(112deg,rgba(255,255,255,.16),transparent 25%,transparent 68%,rgba(207,222,242,.085)),radial-gradient(72% 20% at 48% 0,rgba(239,245,255,.12),transparent 74%),radial-gradient(70% 28% at 100% 54%,rgba(211,216,225,.21),transparent 78%); }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal::after { box-shadow:inset 0 0 0 .5px rgba(221,226,234,.25),inset 18px 0 36px rgba(255,255,255,.035),inset -20px 0 44px rgba(185,199,221,.045); }
.settings-layer .modal.settings-modal::before { background:linear-gradient(118deg,rgba(255,255,255,.18),transparent 24%,transparent 70%,rgba(177,203,239,.09)),radial-gradient(85% 20% at 50% 0,rgba(255,255,255,.15),transparent 72%); }
.settings-layer .modal.settings-modal::after { box-shadow:inset 0 0 0 .5px rgba(255,255,255,.3),inset 18px 0 34px rgba(255,255,255,.035),inset -20px 0 40px rgba(160,191,231,.04); }
.modal.settings-modal::before {
  background:linear-gradient(113deg,rgba(255,255,255,.23),transparent 24%,transparent 70%,rgba(188,223,255,.09)),radial-gradient(80% 20% at 50% 0,rgba(255,255,255,.18),transparent 75%);
}
.modal.settings-modal::after {
  box-shadow:inset 0 0 0 .5px rgba(255,255,255,.27),inset 12px 0 24px rgba(255,255,255,.035),inset -14px 0 26px rgba(181,220,255,.035);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal::before {
  background:linear-gradient(112deg,rgba(255,255,255,.21),transparent 25%,transparent 68%,rgba(207,222,242,.11)),radial-gradient(72% 20% at 48% 0,rgba(239,245,255,.18),transparent 74%),radial-gradient(62% 28% at 100% 56%,rgba(190,205,224,.13),transparent 75%);
}
:root[data-theme="bright"] .modal.settings-modal,
:root[data-theme="glacial"] .modal.settings-modal {
  --settings-ink:#162b46;
  --settings-muted:#4d6381;
  --settings-line:rgba(69,104,148,.19);
  --settings-symbol:#355678;
  --settings-surface:linear-gradient(135deg,rgba(255,255,255,.29),rgba(242,249,255,.12) 54%,rgba(125,169,221,.12));
  --settings-control:linear-gradient(135deg,rgba(255,255,255,.42),rgba(216,235,255,.2) 56%,rgba(116,157,209,.13));
  background:radial-gradient(85% 60% at 45% -12%,rgba(255,255,255,.48),transparent 72%),linear-gradient(135deg,rgba(250,253,255,.29),rgba(212,232,252,.22) 54%,rgba(151,195,238,.18));
  border-color:rgba(255,255,255,.87);
  box-shadow:inset 0 1px rgba(255,255,255,.82),inset 0 -1px rgba(67,111,168,.13),0 30px 70px rgba(22,55,95,.28),0 0 0 1px rgba(255,255,255,.13);
}
.settings-rail {
  background:radial-gradient(100% 55% at -10% 0,rgba(255,255,255,.2),transparent 72%),linear-gradient(155deg,rgba(240,249,255,.13),rgba(119,164,220,.085) 52%,rgba(23,50,90,.09));
  border-right:1px solid rgba(234,246,255,.35);
  box-shadow:inset 1px 0 rgba(255,255,255,.15),inset -1px 0 rgba(21,51,88,.06);
  -webkit-backdrop-filter:blur(5px) saturate(130%);
  backdrop-filter:blur(5px) saturate(130%);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-rail { background:linear-gradient(155deg,rgba(209,215,224,.14),rgba(93,99,111,.105) 54%,rgba(9,13,20,.2));border-right-color:rgba(213,220,230,.22);-webkit-backdrop-filter:blur(34px) saturate(155%);backdrop-filter:blur(34px) saturate(155%); }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-rail {
  background:linear-gradient(155deg,rgba(219,229,242,.16),rgba(105,120,143,.12) 54%,rgba(13,19,29,.18));
  border-right-color:rgba(225,235,248,.24);
  -webkit-backdrop-filter:blur(28px) saturate(165%);
  backdrop-filter:blur(28px) saturate(165%);
}
:root[data-theme="bright"] .settings-rail,
:root[data-theme="glacial"] .settings-rail {
  background:radial-gradient(110% 64% at 0 0,rgba(255,255,255,.35),transparent 75%),linear-gradient(155deg,rgba(255,255,255,.16),rgba(213,234,255,.09) 55%,rgba(116,166,222,.08));
  border-right-color:rgba(255,255,255,.57);
}
.settings-search {
  background:var(--settings-control);
  border:1px solid rgba(238,248,255,.51);
  box-shadow:inset 0 1px rgba(255,255,255,.36),0 5px 16px rgba(13,36,70,.07);
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  backdrop-filter:blur(8px) saturate(140%);
}
.settings-search:focus-within { border-color:rgba(168,210,255,.94);box-shadow:inset 0 1px rgba(255,255,255,.5),0 0 0 3px rgba(77,158,255,.18); }
.settings-search svg { fill:var(--settings-symbol);stroke:none; }
.settings-search input { font-weight:510;letter-spacing:-.01em; }
.settings-search input::placeholder { opacity:.85; }
.settings-nav { gap:3px; }
.settings-nav-group { margin:0;padding:0; }
.settings-nav-group[hidden] { display:none; }
.settings-nav-group > summary { list-style:none; }
.settings-nav-group > summary::-webkit-details-marker { display:none; }
.settings-nav-label { width:100%;margin:12px 6px 3px;padding:4px 6px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:999px;color:var(--settings-muted);background:transparent;font-size:9px;font-weight:720;letter-spacing:.2em;opacity:.81;cursor:pointer;box-sizing:border-box; }
.settings-nav-label:first-child { margin-top:0; }
.settings-nav-group-title { display:flex;align-items:center;gap:6px;min-width:0; }
.settings-nav-label .settings-nav-group-symbol { width:14px;height:14px;flex:0 0 14px;fill:currentColor;stroke:none;filter:drop-shadow(0 1px 2px rgba(35,62,96,.18)); }
.settings-nav-label .settings-nav-group-chevron { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s ease; }
.settings-nav-group:not([open]) .settings-nav-group-chevron { transform:rotate(-90deg); }
.settings-nav-label:hover { color:var(--settings-ink);background:rgba(236,247,255,.12);opacity:1; }
.settings-nav-group-items { display:grid;gap:3px; }
.settings-nav-item {
  min-height:39px;
  color:var(--settings-muted);
  font-weight:590;
  letter-spacing:-.015em;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.settings-nav-emoji { display:block;width:21px;height:21px;font-size:19px;line-height:21px;text-align:center; }
.settings-nav-emoji .settings-wallet-emoji { display:block;width:28px;height:28px;margin:-3.5px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(66,35,13,.2)); }
.settings-nav-item svg,
.settings-section-icon svg { fill:currentColor;stroke:none; }
.settings-nav-item:hover { color:var(--settings-ink);background:rgba(236,247,255,.14);transform:translateX(1px); }
.settings-nav-item.active {
  color:var(--settings-ink);
  background:linear-gradient(135deg,rgba(255,255,255,.29),rgba(150,190,235,.14) 55%,rgba(51,90,146,.13));
  border-color:rgba(235,246,255,.55);
  box-shadow:inset 0 1px rgba(255,255,255,.48),inset 0 -1px rgba(91,143,202,.12),0 7px 17px rgba(5,25,55,.11);
  -webkit-backdrop-filter:blur(12px) saturate(155%);
  backdrop-filter:blur(12px) saturate(155%);
}
.settings-nav-item.active svg { color:var(--settings-symbol);filter:drop-shadow(0 1px 4px rgba(204,231,255,.22)); }
.settings-nav-item[hidden],.settings-nav-label[hidden] { display:none; }
.settings-content { background:radial-gradient(82% 45% at 55% 40%,rgba(184,190,200,.11),transparent 76%),linear-gradient(145deg,rgba(215,221,232,.035),transparent 52%,rgba(164,177,198,.045));-webkit-backdrop-filter:blur(34px) saturate(155%);backdrop-filter:blur(34px) saturate(155%); }
.settings-close {
  background:var(--settings-control);
  border-color:rgba(238,248,255,.65);
  box-shadow:inset 0 1px rgba(255,255,255,.57),0 7px 18px rgba(18,47,79,.12);
  -webkit-backdrop-filter:blur(10px) saturate(155%);
  backdrop-filter:blur(10px) saturate(155%);
}
.settings-close svg { fill:currentColor;stroke:none; }
.settings-panel-header { gap:12px;border-bottom-color:var(--settings-line); }
.settings-section-icon {
  width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;
  color:var(--settings-symbol);border:1px solid rgba(235,246,255,.38);border-radius:11px;
  background:var(--settings-surface);box-shadow:inset 0 1px rgba(255,255,255,.26);
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
}
.settings-section-icon svg { width:18px;height:18px; }
.settings-section-icon.settings-section-emoji { font-family:-apple-system,BlinkMacSystemFont,"Apple Color Emoji",sans-serif;font-size:19px;line-height:1; }
.settings-section-icon .settings-wallet-emoji { display:block;width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(66,35,13,.2)); }
.modal.settings-modal .settings-panel-header h2 { font-size:19px;font-weight:690;letter-spacing:-.025em; }
.modal.settings-modal .usage-panel-header h2 { color:var(--settings-ink); }
.settings-panel-intro { color:var(--settings-muted)!important;letter-spacing:-.01em; }
.settings-row {
  min-height:79px;margin-top:9px;padding:14px 17px;gap:16px;
  border:1px solid rgba(226,242,255,.21);border-radius:17px;
  background:var(--settings-surface);box-shadow:inset 0 1px rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
}
.settings-row-copy strong { font-size:16px;font-weight:660;letter-spacing:-.022em; }
.settings-row-copy small { font-size:12px;line-height:1.35;letter-spacing:-.005em; }
/* Shared settings title treatment, matching the supplied macOS text reference. */
.modal.settings-modal {
  --settings-title-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,sans-serif;
  --settings-title-weight:450;
}
.modal.settings-modal :is(h1,h2,h3,h4,h5,h6,[role="heading"],.settings-nav-label,.settings-nav-item,.settings-row-copy strong,.usage-card-top strong,.wallet-settings-item strong,.powers-control-heading strong) {
  font-family:var(--settings-title-font);
  font-weight:var(--settings-title-weight);
  font-style:normal;
  letter-spacing:-.015em;
}
.modal.settings-modal .settings-panel-header h2 { font-size:21px; }
.modal.settings-modal :is(.settings-row-copy strong,.usage-card-top strong,.wallet-settings-item strong,.powers-control-heading strong) { font-size:18px; }
.modal.settings-modal .settings-auth-title { font-size:31px; }
.modal.settings-modal .settings-panel-intro { font-size:13px; }
.modal.settings-modal :is(.settings-row-copy small,.usage-card p) { font-size:11px;line-height:1.45; }
.settings-segment,.settings-language,.settings-secondary {
  background:var(--settings-control);border-color:rgba(236,248,255,.46);
  box-shadow:inset 0 1px rgba(255,255,255,.36),0 5px 14px rgba(17,44,79,.09);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.settings-segment { border:0;box-shadow:0 5px 14px rgba(17,44,79,.09); }
.settings-segment button { color:var(--settings-muted);font-size:12px;font-weight:630; }
.settings-segment button.active {
  color:var(--settings-ink);
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}
:root[data-theme=""] .settings-segment-thumb { background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.47),transparent 39%),linear-gradient(145deg,rgba(222,238,255,.36),rgba(102,141,197,.28) 58%,rgba(70,115,176,.2)); }
.settings-language select { font-size:13px;font-weight:620; }
.settings-language span { background:var(--settings-surface);border-color:rgba(237,248,255,.55);box-shadow:inset 0 1px rgba(255,255,255,.47); }
.settings-language svg { fill:currentColor;stroke:none; }
.settings-switch { background:linear-gradient(145deg,rgba(44,67,100,.4),rgba(24,45,76,.28));border-color:rgba(238,249,255,.5); }
.settings-switch.on { background:linear-gradient(135deg,rgba(59,149,246,.75),rgba(36,103,202,.68)); }
.settings-secondary { font-size:12px; }
.account-plan-entry[hidden],.account-menu-item[hidden] { display:none; }
.wallet-sidebar-label strong,.account-card strong,.wallet-sidebar-label small,.account-card small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }

/* Show the glass profile symbol until the account has an uploaded photo. */
#account-button > .account-profile-icon {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1;
  color:var(--ink);
  filter:drop-shadow(0 1px 4px rgba(0,0,0,.2));
}
:is(#account-button,.browser-you) .account-profile-disc { fill:rgba(221,237,255,.18);stroke:var(--line-strong);stroke-width:1.5; }
:is(#account-button,.browser-you) .account-profile-glyph { fill:currentColor;fill-opacity:.3;stroke:rgba(255,255,255,.65);stroke-width:.6; }
.browser-you > .account-profile-icon { width:24px;height:24px;flex:none; }
:is(#account-button,.browser-you):not([data-has-avatar="true"]) > img,
:is(#account-button,.browser-you)[data-has-avatar="true"] > .account-profile-icon { display:none; }
.settings-auth-screen { width:min(100%,540px);margin:0 auto;padding:34px 0 12px;text-align:center; }
.settings-auth-title { min-height:54px;margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px 12px;color:var(--settings-ink);font-size:29px;font-weight:680;letter-spacing:-.035em;line-height:1.14; }
.settings-auth-title img { display:block;width:171px;height:48px;object-fit:contain;filter:drop-shadow(0 2px 7px rgba(32,57,106,.25)); }
.settings-auth-form { display:grid;gap:12px;width:100%;margin:25px auto 0; }
.settings-auth-form label { display:block;width:100%; }
.settings-auth-form .settings-auth-field { position:relative;display:block; }
.settings-auth-form .settings-auth-field-icon { position:absolute;top:50%;left:22px;z-index:1;width:20px;height:20px;transform:translateY(-50%);fill:var(--settings-muted);pointer-events:none; }
.settings-auth-form .settings-auth-field input { width:100%;min-height:58px;box-sizing:border-box;padding:12px 23px 12px 56px;border:1.5px solid rgba(243,250,255,.82);border-radius:999px;outline:none;background:var(--settings-control);box-shadow:inset 0 1px rgba(255,255,255,.54),0 7px 20px rgba(16,45,80,.12);color:var(--settings-ink);font:inherit;font-size:17px;-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%); }
.settings-auth-form input::placeholder { color:var(--settings-muted);opacity:.8; }
.settings-auth-form input:focus-visible { border-color:#4d9bff;box-shadow:0 0 0 3px rgba(77,155,255,.23),inset 0 1px rgba(255,255,255,.55); }
.settings-auth-socials { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:4px 0 7px; }
.settings-auth-social { min-width:0;min-height:57px;padding:0;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.82);border-radius:999px;background:var(--settings-control);box-shadow:inset 0 1px rgba(255,255,255,.62),0 7px 17px rgba(30,64,105,.15);color:var(--settings-ink);cursor:pointer;-webkit-backdrop-filter:blur(15px) saturate(165%);backdrop-filter:blur(15px) saturate(165%);transition:transform .16s ease,box-shadow .16s ease; }
.settings-auth-social:hover,.settings-auth-social:focus-visible { transform:translateY(-1px);box-shadow:inset 0 1px rgba(255,255,255,.78),0 10px 20px rgba(30,64,105,.2); }
.settings-auth-social svg { width:27px;height:27px; }
:root .settings-auth-social {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:rgba(255,255,255,.84);
  background:radial-gradient(125% 150% at 17% -44%,rgba(255,255,255,.73),transparent 61%),linear-gradient(140deg,rgba(250,253,255,.52),rgba(216,228,240,.34) 55%,rgba(177,197,220,.28));
  box-shadow:inset 0 1px rgba(255,255,255,.95),inset 0 -1px rgba(110,138,167,.16),0 9px 25px rgba(7,28,55,.18);
  color:#1d3047;
  -webkit-backdrop-filter:blur(27px) saturate(145%);
  backdrop-filter:blur(27px) saturate(145%);
}
:root .settings-auth-social::before { position:absolute;inset:1px;border-radius:inherit;border-top:1px solid rgba(255,255,255,.75);background:linear-gradient(165deg,rgba(255,255,255,.24),transparent 49%);content:"";pointer-events:none; }
:root .settings-auth-social svg { position:relative;z-index:1;filter:drop-shadow(0 1px 1px rgba(255,255,255,.22)); }
:root .settings-auth-social:is(:hover,:focus-visible) { background:radial-gradient(125% 150% at 17% -44%,rgba(255,255,255,.84),transparent 61%),linear-gradient(140deg,rgba(255,255,255,.65),rgba(221,234,247,.47) 55%,rgba(181,205,228,.38));box-shadow:inset 0 1px #fff,0 12px 29px rgba(7,28,55,.22); }
:root[data-theme="bright"] .settings-auth-social {
  border-color:rgba(255,255,255,.78);
  background:radial-gradient(ellipse at 28% 10%,rgba(255,255,255,.18),transparent 48%),linear-gradient(145deg,#292f38,#101318 58%,#000)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),inset 0 -2px 3px rgba(0,0,0,.68),0 8px 20px rgba(8,20,36,.3);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
:root[data-theme="bright"] .settings-auth-social::before { border-top-color:rgba(255,255,255,.24);background:linear-gradient(165deg,rgba(255,255,255,.1),transparent 49%); }
:root[data-theme="bright"] .settings-auth-social:is(:hover,:focus-visible) { background:radial-gradient(ellipse at 28% 10%,rgba(255,255,255,.24),transparent 48%),linear-gradient(145deg,#363d47,#15191f 58%,#030405)!important;box-shadow:inset 0 1px rgba(255,255,255,.34),inset 0 -2px 3px rgba(0,0,0,.68),0 11px 25px rgba(8,20,36,.36); }
:root[data-theme="bright"] .settings-auth-social[data-auth-social="apple"] svg { color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
@media (prefers-reduced-transparency:reduce) { :root .settings-auth-social { background:#e2eaf2;-webkit-backdrop-filter:none;backdrop-filter:none; } }
.settings-auth-submit,.settings-auth-alt { width:min(100%,380px);justify-self:center;min-height:53px;padding:10px 18px;border:1.5px solid rgba(255,255,255,.82);border-radius:999px;background:linear-gradient(130deg,rgba(248,252,255,.69),rgba(153,199,247,.43));box-shadow:inset 0 1px rgba(255,255,255,.72),0 8px 20px rgba(16,53,101,.16);color:var(--settings-ink);font:inherit;font-size:16px;font-weight:700;cursor:pointer;-webkit-backdrop-filter:blur(15px) saturate(165%);backdrop-filter:blur(15px) saturate(165%); }
.settings-auth-submit:hover,.settings-auth-alt:hover { filter:brightness(1.055); }
.settings-auth-submit:disabled,.settings-auth-alt:disabled,.settings-auth-social:disabled { cursor:wait;opacity:.62; }
.settings-auth-actions { width:min(100%,360px);justify-self:center;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:2px; }
.settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt) { width:100%;min-width:0;min-height:46px;padding:8px 10px;font-size:14px; }
.settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt)::before { flex-basis:22px;width:22px;height:22px; }
@media (max-width:600px) { .settings-auth-actions { gap:8px; } .settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt) { padding-inline:7px;font-size:12px; } .settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt)::before { flex-basis:18px;width:18px;height:18px; } }
.settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt)::before { width:20px;height:20px;flex-basis:20px;margin-inline-end:8px;border-radius:0;background:currentColor;background-image:none;mask:var(--settings-cta-symbol) center/contain no-repeat;-webkit-mask:var(--settings-cta-symbol) center/contain no-repeat;filter:none; }
.settings-auth-actions { width:min(100%,540px);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt) { width:100%;min-height:53px;box-sizing:border-box; }
.settings-auth-cancel { justify-self:center;padding:7px 16px;border:0;background:transparent;color:var(--settings-muted);font:inherit;font-size:13px;cursor:pointer; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .settings-auth-cancel {
  border:0!important;
  border-radius:0!important;
  color:#101828!important;
  background: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"]) .modal.settings-modal #settings-panel .settings-auth-cancel::before,
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .settings-auth-cancel::after { display:none!important; }
.settings-account-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:16px; }
.settings-auth-message { max-width:540px;margin:14px auto 0;color:var(--settings-ink);font-size:13px;line-height:1.5; }
.settings-auth-message[hidden] { display:none; }
.settings-auth-footnote { max-width:540px;margin:24px auto 0;color:var(--settings-muted);font-size:13px;line-height:1.5;text-align:center; }
/* Auth legal copy is intentionally plain: one line of copy with the link below,
   without the shared translucent disclaimer pill treatment. */
.settings-auth-screen .settings-auth-footnote,
.account-switcher-auth-screen .settings-auth-footnote {
  display:block!important; inline-size:auto!important; max-inline-size:540px!important;
  padding:0!important; border:0!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
  color:var(--settings-muted)!important; text-align:center!important;
  white-space:normal!important; overflow-wrap:normal!important;
}
.settings-auth-screen .settings-auth-footnote::before,
.account-switcher-auth-screen .settings-auth-footnote::before { display:none!important; content:none!important; }
.settings-auth-footnote a { display:block; margin-top:4px; }
.settings-auth-footnote-emoji { display:inline-block;margin-inline-end:.45em;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.05em;line-height:1;vertical-align:-.08em; }
.settings-auth-footnote a { color:inherit;text-decoration:underline;text-underline-offset:3px; }
.usage-card {
  background:var(--settings-surface);
  border-color:rgba(232,245,255,.35);
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 10px 25px rgba(15,46,85,.1);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
:root[data-theme="bright"] .usage-card,
:root[data-theme="glacial"] .usage-card { background:var(--settings-surface);border-color:rgba(255,255,255,.59); }
.usage-card-top strong { font-weight:680;letter-spacing:-.025em; }
.usage-card-divider { background:var(--settings-line); }
.settings-nav-item:focus-visible,.settings-close:focus-visible,.settings-segment button:focus-visible,
.settings-language:focus-within,.settings-switch:focus-visible,.settings-secondary:focus-visible,.usage-upgrade:focus-visible {
  outline:2px solid #5aa9ff;outline-offset:2px;
}
@media (max-width:800px) {
  .modal.settings-modal { grid-template-columns:minmax(175px,28%) minmax(0,1fr); }
  .settings-content { padding-inline:24px; }
  .settings-row { flex-wrap:wrap; }
  .settings-segment { width:min(100%,128px); }
  .settings-language { width:min(100%,238px); }
}
@media (prefers-reduced-transparency:reduce) {
  .modal.settings-modal { background:#20344d;-webkit-backdrop-filter:none;backdrop-filter:none; }
  :root[data-theme="bright"] .modal.settings-modal,:root[data-theme="glacial"] .modal.settings-modal { background:#dceafb; }
}

/* Reuse the sidebar's overlapping team portrait inside the round header control. */
#header-team-orbs { display:none; }
.agent-heading[data-team-orbs="visible"] #header-agent > :is(#header-orb,.living-orb) { display:none; }
.agent-heading[data-team-orbs="visible"] #header-agent {
  display:grid;
  place-items:center;
  padding:0;
}
.agent-heading[data-team-orbs="visible"] #header-team-orbs { display:block;width:84%;height:84%; }
@media (max-width:820px) {
  .agent-heading[data-team-orbs="visible"] #header-agent {
    width:50px;height:50px;flex:0 0 50px;
    border:1px solid rgba(226,240,255,.57);
    background:linear-gradient(145deg,rgba(210,231,255,.24),rgba(99,150,212,.1));
  }
}

/* A mirrored upper pair and one centered foreground orb at every avatar size. */
:is(.team-orbs, .create-hub-team-orbs) > :is(img, .living-orb) {
  position: absolute;
  width: 58%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}
:is(.team-orbs, .create-hub-team-orbs) > :first-child { top: 2%; left: 0; }
:is(.team-orbs, .create-hub-team-orbs) > :nth-child(2) { top: 2%; right: 0; }
:is(.team-orbs, .create-hub-team-orbs) > :nth-child(3) { bottom: 0; left: 21%; z-index: 2; }

/* Give each sidebar orb a little more air before its thread name. */
.desktop-shell:not(.sidebar-collapsed):not(.browser-open):not(.sidebar-resize-compact) .chat-item {
  column-gap:11px;
}
@media (max-width:820px) {
  .desktop-shell:not(.sidebar-collapsed):not(.browser-open):not(.sidebar-resize-compact) .chat-item {
    column-gap:10px;
  }
}

/* A proper compact search control opens a Spotlight-like glass palette. */
.compact-search-trigger { display:none; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .search { display:none; }
.desktop-shell:is(.browser-open,.sidebar-collapsed,.sidebar-resize-compact) .compact-search-trigger {
  display:grid;place-items:center;width:40px;height:40px;min-height:40px;
  margin:8px auto 0;padding:0;border-radius:50%;color:var(--muted);cursor:pointer;
}
.compact-search-trigger svg { width:17px;height:17px;fill:currentColor; }
:root[data-theme="bright"] .compact-search-trigger svg { color:#101419; }
.compact-search-trigger:hover,.compact-search-trigger[aria-expanded="true"] { color:var(--ink);filter:brightness(1.1); }
.spotlight-layer {
  position:fixed;z-index:68;inset:0;display:flex;align-items:flex-start;justify-content:center;
  padding:clamp(68px,13vh,140px) 18px 18px;
}
.spotlight-layer[hidden] { display:none; }
.spotlight-backdrop {
  position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;
  background:rgba(2,8,19,.31);cursor:default;
  -webkit-backdrop-filter:blur(6px) saturate(130%);backdrop-filter:blur(6px) saturate(130%);
}
.spotlight-panel {
  --spotlight-ink:#f5f9ff;--spotlight-muted:#a9bdd4;
  position:relative;width:min(590px,100%);max-height:calc(100vh - 96px);overflow:hidden;
  padding:14px;border:1px solid rgba(235,247,255,.71);border-radius:44px;
  color:var(--spotlight-ink);
  background:radial-gradient(100% 75% at 14% -18%,rgba(245,251,255,.27),transparent 68%),linear-gradient(145deg,rgba(102,140,187,.32),rgba(22,43,73,.37) 54%,rgba(5,17,37,.42));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.65),inset 0 -1px 1px rgba(21,49,81,.2),0 30px 85px rgba(0,8,24,.38),0 0 0 1px rgba(187,224,255,.13);
  -webkit-backdrop-filter:blur(30px) saturate(175%);backdrop-filter:blur(30px) saturate(175%);
  animation:spotlight-appear .22s cubic-bezier(.2,.8,.2,1) both;
}
.spotlight-field {
  height:58px;display:grid;grid-template-columns:23px minmax(0,1fr) 37px;gap:12px;align-items:center;
  padding:0 10px 0 17px;border:1px solid rgba(240,249,255,.69);border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.26),rgba(194,226,255,.1) 55%,rgba(65,111,169,.08));
  box-shadow:inset 0 1px rgba(255,255,255,.55),0 5px 18px rgba(9,35,68,.1);
}
.spotlight-field > svg { width:21px;height:21px;fill:currentColor;color:var(--spotlight-muted); }
.spotlight-field input { width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:var(--spotlight-ink);font:570 19px/1.2 -apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,sans-serif;letter-spacing:-.025em; }
.spotlight-field input::placeholder { color:var(--spotlight-muted);opacity:.9; }
.spotlight-field input::-webkit-search-cancel-button { display:none; }
.spotlight-close { width:36px;height:36px;padding:10px;border:1px solid rgba(241,250,255,.48);border-radius:50%;display:grid;place-items:center;background:rgba(237,248,255,.15);color:var(--spotlight-ink);cursor:pointer; }
.spotlight-close svg { width:15px;height:15px;fill:currentColor; }
.spotlight-close:hover { background:rgba(237,248,255,.27); }
.spotlight-caption { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 10px 8px;color:var(--spotlight-muted);font-size:11px;font-weight:600;letter-spacing:.005em; }
.spotlight-caption span:last-child { opacity:.75; }
.spotlight-results { display:grid;gap:4px;max-height:min(370px,48vh);overflow:auto;padding:0 2px 2px;overscroll-behavior:contain; }
.spotlight-result {
  width:100%;min-height:65px;padding:8px 14px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:11px;align-items:center;
  border:1px solid transparent;border-radius:999px;background:transparent;color:var(--spotlight-ink);text-align:left;cursor:pointer;
}
.spotlight-result:is(:hover,.active,:focus-visible) {
  outline:0;border-color:rgba(236,248,255,.5);
  background:linear-gradient(135deg,rgba(245,250,255,.25),rgba(156,201,247,.12) 56%,rgba(77,129,196,.1));
  box-shadow:inset 0 1px rgba(255,255,255,.35),0 5px 14px rgba(12,38,78,.1);
}
.spotlight-result-portrait { width:48px;height:48px;display:grid;place-items:center; }
.spotlight-result .chat-orb { width:45px;height:45px; }
.spotlight-result .team-orbs { width:46px;height:44px; }

.spotlight-result-copy { min-width:0;display:grid;gap:4px; }
.spotlight-result-copy strong { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:680;letter-spacing:-.015em; }
.spotlight-result-copy small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--spotlight-muted);font-size:12px; }
.spotlight-empty { margin:4px 0 0;padding:22px 14px;color:var(--spotlight-muted);font-size:13px; }
:root[data-theme="bright"] .spotlight-panel,:root[data-theme="glacial"] .spotlight-panel {
  --spotlight-ink:#172d49;--spotlight-muted:#536b8a;
  background:radial-gradient(100% 75% at 14% -18%,rgba(255,255,255,.67),transparent 68%),linear-gradient(145deg,rgba(249,253,255,.62),rgba(206,229,252,.42) 56%,rgba(143,190,237,.35));
  border-color:rgba(255,255,255,.89);box-shadow:inset 0 1px rgba(255,255,255,.92),0 30px 85px rgba(22,55,96,.28);
}
:root[data-theme="bright"] .spotlight-backdrop,:root[data-theme="glacial"] .spotlight-backdrop { background:rgba(49,83,130,.18); }
@keyframes spotlight-appear { from { opacity:0;transform:translateY(-10px) scale(.96); } to { opacity:1;transform:none; } }
@media (max-width:620px) {
  .spotlight-layer { padding-top:70px; }
  .spotlight-panel { border-radius:36px; }
  .spotlight-caption span:last-child { display:none; }
  .spotlight-field input { font-size:16px; }
}
@media (prefers-reduced-motion:reduce) { .spotlight-panel { animation:none; } }

/* The language picker is drawn in the modal layer so it never clips against
   the scrolling settings panel or replaces the trigger with a native menu. */
.settings-language { width:min(190px,31%);cursor:pointer;text-align:center;color:var(--settings-ink);grid-template-columns:24px auto;justify-content:center;gap:7px;padding:4px 12px; }
.settings-language-flag { width:24px;display:inline-flex;align-items:center;justify-content:center;font:normal 20px/1 "Apple Color Emoji","Segoe UI Emoji",sans-serif;filter:drop-shadow(0 1px 2px rgba(21,49,82,.16)); }
.settings-language > strong { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:660;letter-spacing:-.015em; }
.settings-language[aria-expanded="true"] { border-color:rgba(152,208,255,.92);box-shadow:inset 0 1px rgba(255,255,255,.67),0 0 0 3px rgba(65,157,255,.19),0 8px 22px rgba(31,69,118,.18); }
.settings-language-chevron { transition:transform .2s ease; }
.settings-language[aria-expanded="true"] .settings-language-chevron { transform:rotate(180deg); }
.settings-language-menu {
  position:fixed;z-index:5;box-sizing:border-box;min-width:238px;overflow-y:auto;overscroll-behavior:contain;
  padding:8px;border:1px solid rgba(235,247,255,.7);border-radius:30px;
  color:#f2f8ff;
  background:radial-gradient(120% 95% at 8% -18%,rgba(244,251,255,.32),transparent 58%),linear-gradient(150deg,rgba(105,139,183,.56),rgba(30,55,89,.52) 52%,rgba(8,23,47,.63));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.61),inset 0 -1px rgba(15,45,82,.23),0 22px 52px rgba(3,18,43,.36),0 0 0 1px rgba(162,216,255,.14);
  -webkit-backdrop-filter:blur(32px) saturate(175%);backdrop-filter:blur(32px) saturate(175%);
  animation:language-menu-in .18s cubic-bezier(.2,.8,.2,1) both;
}
.settings-language-option { width:100%;min-height:41px;padding:7px 11px;display:grid;grid-template-columns:24px minmax(0,1fr) 20px;gap:9px;align-items:center;border:1px solid transparent;border-radius:999px;background:transparent;color:inherit;text-align:left;font:620 14px/1.2 -apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,sans-serif;cursor:pointer; }
.settings-language-option > span:nth-child(2) { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.settings-language-check { display:inline-grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#17324f;color:#fff;font-size:12px;font-weight:900;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.28),0 2px 6px rgba(8,26,48,.2); }
.settings-language-check:empty { visibility:hidden; }
.settings-language-option:is(:hover,:focus-visible,.selected) { outline:0;border-color:rgba(237,249,255,.4);background:linear-gradient(130deg,rgba(246,251,255,.28),rgba(159,203,248,.15) 58%,rgba(75,139,214,.1));box-shadow:inset 0 1px rgba(255,255,255,.3); }
:root[data-theme="bright"] .settings-language-menu,:root[data-theme="glacial"] .settings-language-menu {
  color:#172d49;border-color:rgba(255,255,255,.88);
  background:radial-gradient(120% 95% at 8% -18%,rgba(255,255,255,.79),transparent 59%),linear-gradient(150deg,rgba(247,252,255,.7),rgba(195,222,250,.56) 55%,rgba(134,180,226,.49));
  box-shadow:inset 0 1px rgba(255,255,255,.94),inset 0 -1px rgba(69,113,161,.12),0 22px 52px rgba(28,63,106,.28),0 0 0 1px rgba(255,255,255,.26);
}
:root[data-theme="bright"] .settings-language-check,:root[data-theme="glacial"] .settings-language-check { background:#1574d3;color:#fff; }
@keyframes language-menu-in { from { opacity:0;transform:translateY(-5px) scale(.985); } to { opacity:1;transform:none; } }
@media (prefers-reduced-motion:reduce) { .settings-language-menu { animation:none; } .settings-language-chevron { transition:none; } }
@media (prefers-reduced-transparency:reduce) { .settings-language-menu { background:#243d60; } :root[data-theme="bright"] .settings-language-menu,:root[data-theme="glacial"] .settings-language-menu { background:#d4e8fb; } }

/* Brand and product profiles opened from inline conversation mentions. */
.modal.profile-modal {
  --profile-ink:#f4f8ff;--profile-muted:#adc0d9;--profile-rim:rgba(231,246,255,.58);
  width:min(720px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 30px));padding:0;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;color:var(--profile-ink);
  border:1px solid var(--profile-rim);border-radius:34px;
  background:radial-gradient(115% 85% at 5% -14%,rgba(238,248,255,.35),transparent 56%),linear-gradient(145deg,rgba(93,127,172,.69),rgba(27,48,79,.76) 48%,rgba(7,19,39,.88));
  box-shadow:inset 0 1px rgba(255,255,255,.65),inset 0 -1px rgba(13,37,70,.3),0 34px 96px rgba(1,12,32,.49);
  -webkit-backdrop-filter:blur(35px) saturate(175%);backdrop-filter:blur(35px) saturate(175%);
}
/* Dark profile dialogs keep all copy bright against the dark glass. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.profile-modal {
  --profile-ink:#f7fbff;
  --profile-muted:#d2def0;
}
.profile-modal .profile-close { position:absolute;z-index:2;top:20px;right:20px;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(239,249,255,.64);border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.26),rgba(130,170,216,.14));box-shadow:inset 0 1px rgba(255,255,255,.5);color:var(--profile-ink);font-size:24px;line-height:1;cursor:pointer;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px); }
.profile-modal .profile-close:hover { background:rgba(225,243,255,.28); }
.profile-topline,.create-hub-label {
  font-size:11px;
  font-weight:750;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.profile-topline { display:flex;justify-content:space-between;gap:12px;padding:24px 72px 0 30px;color:var(--profile-muted); }
.product-profile-modal .profile-topline { justify-content:center;align-items:center;padding:24px 72px 0; }
.product-profile-modal .profile-topline > span:first-child { display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:6px 14px;border:1px solid rgba(245,251,255,.72);border-radius:999px;color:var(--profile-ink);background:radial-gradient(110% 125% at 17% -25%,rgba(255,255,255,.5),transparent 66%),linear-gradient(140deg,rgba(244,251,255,.25),rgba(138,187,238,.13));box-shadow:inset 0 1px rgba(255,255,255,.68),inset 0 -1px rgba(255,255,255,.14),0 7px 18px rgba(22,59,105,.14);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%); }
:root[data-theme="bright"] .product-profile-modal .profile-topline > span:first-child,:root[data-theme="glacial"] .product-profile-modal .profile-topline > span:first-child { background:radial-gradient(110% 125% at 17% -25%,rgba(255,255,255,.7),transparent 66%),linear-gradient(140deg,rgba(255,255,255,.4),rgba(156,201,248,.15)); }
.profile-header { display:flex;align-items:center;gap:18px;padding:24px 30px 27px;border-bottom:1px solid rgba(231,245,255,.2); }
.profile-portrait { flex:0 0 78px;width:78px;height:78px;display:grid;place-items:center;border:1px solid rgba(249,253,255,.8);border-radius:50%;overflow:hidden;background:rgba(232,245,255,.15);box-shadow:inset 0 1px rgba(255,255,255,.7),0 8px 21px rgba(3,18,43,.22); }
.profile-portrait img { width:100%;height:100%;object-fit:cover; }
.profile-portrait-fallback { width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,color-mix(in srgb,var(--profile-accent) 74%,white),var(--profile-accent));color:#fff;font-size:36px;font-weight:720; }
.profile-header h2 { margin:0 0 5px!important;color:var(--profile-ink);font-size:29px;line-height:1.1;letter-spacing:-.04em; }
.profile-header p { margin:0!important;color:var(--profile-muted)!important;font-size:14px; }
.profile-header p strong { color:var(--profile-ink);font-weight:670; }
.profile-section { padding:23px 30px;border-bottom:1px solid rgba(231,245,255,.18); }
.profile-section h3 { margin:0 0 11px;color:var(--profile-ink);font-size:15px;font-weight:750;letter-spacing:-.01em; }
.profile-section > p { margin:0!important;color:var(--profile-muted)!important;font-size:13px;line-height:1.55; }
.profile-section > .profile-source-note { margin-top:9px!important;font-size:11px;color:var(--profile-muted)!important;opacity:.86; }
.profile-detail-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px; }
.profile-detail-grid > div { min-width:0;padding:12px 13px;border:1px solid rgba(238,248,255,.22);border-radius:15px;background:rgba(235,247,255,.08); }
.profile-detail-grid small,.profile-detail-grid strong { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.profile-detail-grid small { margin-bottom:5px;color:var(--profile-muted);font-size:11px; }
.profile-detail-grid strong { color:var(--profile-ink);font-size:13px;font-weight:680; }
.profile-features { display:flex;flex-wrap:wrap;gap:8px; }
.profile-features span { padding:7px 11px;border:1px solid rgba(231,247,255,.37);border-radius:999px;background:rgba(225,242,255,.1);font-size:12px;font-weight:620; }
.profile-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px; }
.profile-metrics > div { min-width:0;min-height:81px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px;border:1px solid rgba(240,250,255,.37);border-radius:17px;background:linear-gradient(150deg,rgba(247,252,255,.19),rgba(137,184,233,.09));box-shadow:inset 0 1px rgba(255,255,255,.24); }
.profile-metrics strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--profile-ink);font-size:22px;font-weight:740;letter-spacing:-.04em; }
.profile-metrics span { color:var(--profile-muted);font-size:11px;line-height:1.25; }
.profile-live-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px; }
.profile-live-metrics > div { display:grid;gap:3px;padding:10px 12px;border:1px solid rgba(240,250,255,.2);border-radius:14px;background:rgba(10,27,52,.08); }
.profile-live-metrics small { color:var(--profile-muted);font-size:11px; }
.profile-live-metrics strong { color:var(--profile-muted);font-size:12px;font-weight:620; }
.profile-modal .profile-metric-note { margin-top:13px!important;font-size:11px; }
.profile-media { display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px; }
.profile-media figure { min-width:0;margin:0;padding:7px;border:1px solid rgba(238,249,255,.3);border-radius:19px;background:rgba(230,246,255,.09); }
.profile-media img { display:block;width:100%;height:145px;object-fit:cover;border-radius:13px;background:rgba(23,48,80,.3); }
.profile-media figcaption { padding:8px 5px 4px;color:var(--profile-muted);font-size:11px;font-weight:630; }
.profile-footer { display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:20px 30px 26px; }
.profile-footer button { min-height:39px;font-size:12px; }
:root[data-theme="bright"] .modal.profile-modal,:root[data-theme="glacial"] .modal.profile-modal {
  --profile-ink:#172d49;--profile-muted:#526d8c;--profile-rim:rgba(255,255,255,.89);
  background:radial-gradient(115% 85% at 5% -14%,rgba(255,255,255,.85),transparent 56%),linear-gradient(145deg,rgba(247,252,255,.8),rgba(205,228,252,.7) 50%,rgba(137,185,233,.68));
  box-shadow:inset 0 1px rgba(255,255,255,.96),inset 0 -1px rgba(59,105,156,.14),0 34px 96px rgba(26,58,99,.3);
}
:root[data-theme="bright"] .profile-detail-grid > div,:root[data-theme="glacial"] .profile-detail-grid > div,
:root[data-theme="bright"] .profile-metrics > div,:root[data-theme="glacial"] .profile-metrics > div,
:root[data-theme="bright"] .profile-media figure,:root[data-theme="glacial"] .profile-media figure { background:rgba(255,255,255,.24);border-color:rgba(255,255,255,.63); }
@media (max-width:590px) { .profile-topline{padding-inline:20px 65px}.profile-header,.profile-section{padding-inline:20px}.profile-footer{padding-inline:20px}.profile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-media img{height:120px} }
@media (prefers-reduced-transparency:reduce) { .modal.profile-modal { background:#203957; } :root[data-theme="bright"] .modal.profile-modal,:root[data-theme="glacial"] .modal.profile-modal { background:#d5e9fb; } }

/* Product mentions open a compact, image-first profile rather than a settings-style card. */
.modal.product-profile-modal { width:min(780px,calc(100vw - 28px)); }
.product-profile-modal .profile-close { top:22px;right:22px;width:34px;height:34px;padding:0;border:1px solid rgba(250,253,255,.74);border-radius:50%;background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.63),transparent 58%),linear-gradient(145deg,rgba(244,251,255,.3),rgba(131,179,226,.12));box-shadow:inset 0 1px rgba(255,255,255,.78),inset 0 -1px rgba(255,255,255,.16),0 5px 13px rgba(20,52,91,.13);-webkit-backdrop-filter:blur(20px) saturate(165%);backdrop-filter:blur(20px) saturate(165%);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease; }
.product-profile-modal .profile-close svg { display:block;width:14px;height:14px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round; }
.product-profile-modal .profile-close:hover { transform:translateY(-1px);filter:brightness(1.09);box-shadow:inset 0 1px rgba(255,255,255,.85),0 7px 18px rgba(20,52,91,.18); }
.product-profile-modal .profile-close:active { transform:scale(.96); }
.product-profile-header { display:grid;grid-template-columns:98px minmax(0,1fr);align-items:center;gap:22px;padding:23px 30px 22px; }
.product-profile-header .profile-portrait { width:98px;height:98px;flex-basis:98px; }
.product-profile-portrait-button { padding:0;cursor:pointer; }
.product-profile-identity { display:grid;grid-template-areas:"title stats" "by stats" "description description" "website website";grid-template-columns:minmax(0,37%) minmax(0,1fr);align-items:center;column-gap:12px;row-gap:4px;min-width:0; }
.modal.product-profile-modal .product-profile-identity h2 { grid-area:title;margin:0;color:var(--profile-ink);font-size:26px;font-weight:760;line-height:1.12;letter-spacing:-.04em; }
.product-profile-byline { grid-area:by;margin:0!important;color:var(--profile-muted)!important;font-size:13px; }
.product-profile-description { grid-area:description;margin:4px 0 0!important;color:var(--profile-ink)!important;font-size:13px;line-height:1.45; }
.product-profile-website { grid-area:website;display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;margin-top:4px;color:var(--profile-muted);font-size:12px;line-height:1.4; }
.product-profile-website-label { font-weight:700;color:var(--profile-ink); }
.product-profile-website a { max-width:min(100%,420px);overflow:hidden;color:var(--profile-ink);text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-underline-offset:2px; }
.product-profile-website-edit { display:inline-flex;align-items:center;gap:4px; }
.product-profile-website-edit,.product-profile-website-form button { padding:4px 9px;border:1px solid rgba(235,247,255,.48);border-radius:999px;background:linear-gradient(140deg,rgba(244,251,255,.26),rgba(138,187,238,.12));box-shadow:inset 0 1px rgba(255,255,255,.48);color:var(--profile-ink);font:inherit;font-weight:700;cursor:pointer;backdrop-filter:blur(14px) saturate(150%); }
.product-profile-website-form { display:flex;align-items:center;flex-wrap:wrap;gap:7px;width:100%; }
.product-profile-website-form input { flex:1 1 170px;min-width:0;padding:6px 10px;border:1px solid rgba(235,247,255,.48);border-radius:999px;background:rgba(227,240,255,.16);color:var(--profile-ink);font:inherit;outline:none;backdrop-filter:blur(14px); }
.product-profile-website-form input::placeholder { color:var(--profile-muted); }
.product-profile-website-form > button { display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;padding:0;border-radius:50%; }
.product-profile-website-form > button svg { display:block;width:16px;height:16px;fill:currentColor; }
.product-profile-website-form > .profile-website-confirm { background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(177,204,239,.46));border-color:rgba(255,255,255,.82);box-shadow:inset 0 1px 2px #fff,0 3px 9px rgba(35,61,94,.18); }
.product-profile-website-form > .profile-website-cancel { background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(114,139,171,.25));border-color:rgba(255,255,255,.7); }
.product-profile-website-error { flex-basis:100%;color:#ffb5b5; }
.profile-text-link { display:inline-flex;align-items:center;gap:6px;min-height:30px;margin-left:3px;padding:2px 9px 2px 2px;vertical-align:middle;border:1px solid rgba(235,247,255,.48);border-radius:999px;background:rgba(235,247,255,.13);color:var(--profile-ink);font:inherit;font-weight:740;line-height:1;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.28);transition:background .18s ease,border-color .18s ease; }
.profile-text-link:hover { background:rgba(235,247,255,.23);border-color:rgba(245,251,255,.75); }
.profile-brand-avatar { display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;overflow:hidden;border:1px solid rgba(255,255,255,.82);border-radius:50%;background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.25),transparent 34%),linear-gradient(145deg,color-mix(in srgb,var(--profile-brand-color) 86%,white),var(--profile-brand-color));box-shadow:0 1px 4px rgba(5,21,45,.25); }
.profile-brand-avatar img,.profile-brand-avatar .profile-portrait-fallback { display:block;width:100%;height:100%;object-fit:cover; }
.profile-brand-avatar img { transform:scale(1.12); }
.profile-brand-avatar:not(.profile-app-icon) { background:var(--logo-background,#168d8b); }
.profile-brand-avatar:not(.profile-app-icon) img { width:100%;height:100%;object-fit:contain;transform:none;padding:2px; }
.profile-brand-media img { background:var(--logo-background,#168d8b);object-fit:contain; }
.agent-profile-venture-icon:has(img[data-brand-logo]),.agent-profile-picker-image:has(img[data-brand-logo]),.menu-portrait:has(img[data-brand-logo]),#brand-badge:has(img[data-brand-logo]) { background:var(--brand-logo-background,#168d8b)!important; }
.profile-brand-avatar .profile-portrait-fallback { font-size:12px; }
.product-profile-stats { grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0; }
.profile-forecast-period {
  grid-column: 1 / -1;
  justify-self: center;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(140deg, #242529f5, #070708f5);
  box-shadow: inset 0 1px 1px #ffffff60, 0 1px 3px #36496618;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}
.profile-forecast-period::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc((100% - 8px) / 3);
  box-sizing: border-box;
  border: 1px solid #ffffff70;
  border-radius: inherit;
  background: linear-gradient(145deg, #686b71db, #414348cc 55%, #35373bd9);
  box-shadow: inset 0 1px 1px #ffffffdf, inset 0 -1px 2px #889fca6b, 0 2px 5px #435b8445;
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  backdrop-filter: blur(8px) saturate(160%);
  transform: translateX(0);
  transition: transform 420ms cubic-bezier(.22,.85,.26,1.08);
}
.profile-forecast-period:has([data-forecast-days="60"][aria-pressed="true"])::before { transform: translateX(100%); }
.profile-forecast-period:has([data-forecast-days="90"][aria-pressed="true"])::before { transform: translateX(200%); }
.profile-forecast-period { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.profile-forecast-period.is-dragging::before {
  transform: translateX(var(--drag-offset)) !important;
  transition: none;
}
.profile-forecast-period button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 24px;
  padding: 2px 7px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #d4d5d8;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.profile-forecast-period .forecast-period-icon { display:block;width:11px;height:11px;flex:0 0 11px;fill:currentColor; }
.profile-forecast-period button[aria-pressed="true"] { color: #fff; font-weight: 750; }
/* The forecast slider and its info button match light glass in dark profiles. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.product-profile-modal .profile-forecast-period {
  border:1px solid rgba(255,255,255,.84);
  background:radial-gradient(120% 145% at 16% 0,rgba(255,255,255,.98),rgba(247,250,255,.91) 44%,rgba(207,224,247,.82) 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.98),0 5px 15px rgba(0,0,0,.18);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.product-profile-modal .profile-forecast-period::before {
  border-color:rgba(255,255,255,.98);
  background:linear-gradient(145deg,#fff,#e8f2ff 58%,#c9dcf4);
  box-shadow:inset 0 1px #fff,0 2px 7px rgba(39,66,101,.22);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.product-profile-modal .profile-forecast-period button {
  color:#273a54;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.product-profile-modal .profile-forecast-period button[aria-pressed="true"] {
  color:#14243a !important;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.product-profile-modal .profile-forecast-info {
  border:1px solid rgba(255,255,255,.9);
  background:linear-gradient(145deg,#fff,#dceaff);
  box-shadow:inset 0 1px #fff,0 3px 9px rgba(0,0,0,.2);
  color:#172b45;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-stats > button,
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-stats > button :is(strong, small, span, svg) {
  color:#172b45 !important;
  fill:currentColor;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-identity .product-profile-byline .profile-text-link[data-profile-kind="brand"] {
  border:1px solid rgba(255,255,255,.86);
  background:radial-gradient(120% 145% at 16% 0,rgba(255,255,255,.98),rgba(247,250,255,.91) 44%,rgba(207,224,247,.82) 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.98),0 5px 14px rgba(0,0,0,.15);
  color:#172b45;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-identity .product-profile-byline .profile-text-link[data-profile-kind="brand"] .profile-brand-avatar {
  border-color:rgba(255,255,255,.94);
  background:var(--logo-background,#168d8b);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-identity .product-profile-byline .profile-text-link[data-profile-kind="brand"] svg {
  color:#172b45;
  fill:currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .profile-forecast-period::before { transition: none; }
}
.product-profile-stats > button { position:relative;display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;padding:8px 6px;overflow:hidden;white-space:nowrap;text-align:center;border:1px solid rgba(238,249,255,.48);border-radius:24px;background:radial-gradient(110% 100% at 12% -18%,rgba(255,255,255,.38),transparent 65%),linear-gradient(135deg,rgba(244,251,255,.22),rgba(178,210,250,.1) 58%,rgba(91,145,211,.08));box-shadow:inset 0 1px rgba(255,255,255,.5),inset 0 -1px rgba(62,114,176,.09),0 6px 17px rgba(21,55,99,.1);-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%); }
.product-profile-stats > button::before { position:absolute;top:1px;right:13px;left:13px;height:1px;border-radius:50%;background:rgba(255,255,255,.52);content:"";pointer-events:none; }
.product-profile-stats > [data-forecast-metric] { flex-wrap: wrap; align-content: center; row-gap: 1px; }
.product-profile-stat-value { display:inline-flex;align-items:center;gap:5px;flex:none;color:var(--profile-ink); }
.product-profile-stat-value .product-profile-pill-icon { width:15px;height:15px; }
.product-profile-stats strong { color:var(--profile-ink);font-size:16px;font-weight:780;letter-spacing:-.035em; }
.product-profile-stat-label { overflow:hidden;color:var(--profile-muted);font-size:10px;text-overflow:ellipsis; }
:root[data-theme="bright"] .product-profile-stats > button,:root[data-theme="glacial"] .product-profile-stats > button { border-color:rgba(255,255,255,.72);background:radial-gradient(110% 100% at 12% -18%,rgba(255,255,255,.58),transparent 66%),linear-gradient(135deg,rgba(255,255,255,.31),rgba(226,241,255,.17) 58%,rgba(112,170,231,.1));box-shadow:inset 0 1px rgba(255,255,255,.72),inset 0 -1px rgba(69,124,186,.08),0 6px 17px rgba(40,80,132,.1); }
.product-profile-bio { position:relative;padding:0 30px 20px;border-bottom:1px solid rgba(231,245,255,.2); }
.product-profile-pills-rail { position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0; }
.product-profile-pills-rail.has-overflow { grid-template-columns:36px minmax(0,1fr) 36px;column-gap:8px; }
.product-profile-pills { display:flex;align-items:center;flex-wrap:nowrap;gap:7px;min-width:0;max-width:100%;margin-top:0;padding:3px 3px 8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch; }
.product-profile-pills-rail.has-overflow .product-profile-pills { grid-column:2; padding-inline:3px;scroll-padding-inline:3px; }
.product-profile-pills::-webkit-scrollbar { display:none; }
.product-profile-pills > button.is-rail-clipped { visibility:visible;pointer-events:auto; }
.product-profile-pills-rail :is(.product-profile-pills-prev,.product-profile-pills-next) { position:static;z-index:2;display:grid;place-self:center;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.82),rgba(229,241,255,.5) 48%,rgba(114,153,199,.28));box-shadow:inset 0 1px 2px rgba(255,255,255,.92),inset 0 -1px 2px rgba(54,91,136,.16),0 5px 15px rgba(18,46,82,.18);color:var(--profile-ink);-webkit-backdrop-filter:blur(18px) saturate(175%);backdrop-filter:blur(18px) saturate(175%);cursor:pointer; }
.product-profile-pills-prev { grid-column:1; }
.product-profile-pills-next { grid-column:3; }
.product-profile-pills-rail :is(.product-profile-pills-prev,.product-profile-pills-next)[hidden] { display:none!important; }
.product-profile-pills-rail :is(.product-profile-pills-prev,.product-profile-pills-next):disabled { opacity:.45;cursor:default; }
.product-profile-pills-rail :is(.product-profile-pills-prev,.product-profile-pills-next) svg { display:block;width:15px;height:15px;fill:currentColor; }
.product-profile-pills button { display:inline-flex;align-items:center;flex-wrap:nowrap;gap:6px;flex:0 0 auto;min-height:34px;max-width:none;padding:6px 12px;overflow:visible;white-space:nowrap;word-break:normal;overflow-wrap:normal;border:1px solid rgba(230,246,255,.5);border-radius:999px;background:radial-gradient(circle at 22% 0%,rgba(255,255,255,.38),transparent 68%),linear-gradient(135deg,rgba(242,250,255,.21),rgba(143,194,247,.09));box-shadow:inset 0 1px rgba(255,255,255,.43),0 5px 13px rgba(18,50,91,.09);color:var(--profile-ink);font-size:11px;font-weight:650;-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%); }
.product-profile-pills button > :not(.sr-only) { flex:0 0 auto;white-space:nowrap;word-break:normal;overflow-wrap:normal; }
.product-profile-pill-icon { display:block;flex:none;width:14px;height:14px;fill:currentColor; }
.product-profile-modal .profile-topline .product-profile-pill-icon { width:15px;height:15px; }
.product-profile-media-title { display:flex;align-items:center;justify-content:center;min-height:50px;border-bottom:1px solid rgba(231,245,255,.2);color:var(--profile-ink); }
.product-profile-media-pill { display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 8px 5px 15px;border:1px solid rgba(245,251,255,.72);border-radius:999px;background:radial-gradient(110% 125% at 17% -25%,rgba(255,255,255,.5),transparent 66%),linear-gradient(140deg,rgba(244,251,255,.25),rgba(138,187,238,.13));box-shadow:inset 0 1px rgba(255,255,255,.68),inset 0 -1px rgba(255,255,255,.14),0 7px 18px rgba(22,59,105,.14);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%); }
.product-profile-media-pill .product-profile-pill-icon { width:15px;height:15px; }
.product-profile-media-title h3 { margin:0;font-size:11px;font-weight:760;letter-spacing:.08em;text-transform:uppercase; }
.product-profile-media-title span { display:grid;place-items:center;min-width:22px;height:22px;margin-left:1px;padding:0 5px;border:1px solid rgba(247,252,255,.7);border-radius:999px;background:radial-gradient(circle at 30% 12%,rgba(255,255,255,.58),transparent 70%),linear-gradient(145deg,rgba(245,252,255,.29),rgba(141,191,240,.15));box-shadow:inset 0 1px rgba(255,255,255,.72),0 2px 6px rgba(24,60,105,.13);color:var(--profile-ink);font-size:10px;font-weight:750;line-height:1;-webkit-backdrop-filter:blur(14px) saturate(155%);backdrop-filter:blur(14px) saturate(155%); }
.product-profile-media-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px 30px 8px; }
.product-profile-media-grid figure { position:relative;min-width:0;aspect-ratio:1;margin:0;padding:5px;overflow:hidden;border:1px solid rgba(239,249,255,.47);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(144,194,247,.1));box-shadow:inset 0 1px rgba(255,255,255,.5),0 8px 20px rgba(24,61,108,.12);-webkit-backdrop-filter:blur(14px) saturate(145%);backdrop-filter:blur(14px) saturate(145%);cursor:zoom-in;transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .22s ease; }
.product-profile-media-button { display:block;width:100%;height:100%;padding:0;overflow:hidden;border:0;border-radius:23px;background:rgba(18,47,79,.13);cursor:zoom-in; }
.product-profile-modal [data-profile-image-state] { position:relative; }
.product-profile-modal [data-profile-image-state="loading"]::after,
.product-profile-modal [data-profile-image-state="error"]::after {
  position:absolute; inset:0; display:grid; place-items:center; padding:8px;
  color:var(--profile-ink); background:rgba(125,151,180,.2); font-size:11px; text-align:center;
  pointer-events:none; content:"Loading image…";
}
.product-profile-modal [data-profile-image-state="error"]::after { content:"Image unavailable"; }
.product-profile-media-grid img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.product-profile-media-grid figure:hover { transform:translateY(-2px);border-color:rgba(250,253,255,.83);box-shadow:inset 0 1px rgba(255,255,255,.68),0 13px 27px rgba(24,61,108,.2); }
.product-profile-media-grid figure:focus-within { border-color:rgba(250,253,255,.94);box-shadow:inset 0 1px rgba(255,255,255,.75),0 0 0 2px rgba(73,160,255,.68),0 13px 27px rgba(24,61,108,.2); }
.product-profile-media-grid figure:active { transform:scale(.99); }
.product-profile-media-grid figure:hover img { transform:scale(1.045); }
.product-profile-media-grid figcaption { position:absolute;right:5px;bottom:5px;left:5px;padding:25px 12px 10px;border-radius:0 0 23px 23px;color:#fff;background:linear-gradient(transparent,rgba(5,18,38,.72));font-size:11px;font-weight:650;text-shadow:0 1px 3px rgba(0,0,0,.5);pointer-events:none; }
.product-profile-media-grid > p { grid-column:1/-1;padding:32px 20px;margin:0;color:var(--profile-muted);text-align:center;font-size:12px; }
.product-media-viewer { position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:20px; }
.product-media-viewer[hidden] { display:none; }
.product-media-viewer-backdrop { position:absolute;inset:0;background:rgba(8,15,25,.18);-webkit-backdrop-filter:blur(5px) saturate(110%);backdrop-filter:blur(5px) saturate(110%);cursor:zoom-out; }
.product-media-viewer-dialog {
  --viewer-ink:#1b2b3d;--viewer-muted:#405469;
  position:relative;display:flex;flex-direction:column;gap:12px;
  width:min(760px,calc(100vw - 40px));max-height:calc(100vh - 40px);padding:15px;
  border:1px solid rgba(255,255,255,.84);border-radius:30px;
  background:radial-gradient(100% 85% at 0% 0%,rgba(255,255,255,.76),transparent 62%),radial-gradient(90% 100% at 100% 100%,rgba(220,235,250,.3),transparent 65%),linear-gradient(135deg,rgba(245,248,252,.54),rgba(222,232,243,.32) 48%,rgba(244,249,255,.42));
  box-shadow:inset 0 2px 1px rgba(255,255,255,.94),inset 1px 0 1px rgba(255,255,255,.58),inset 0 -1px 1px rgba(255,255,255,.49),0 24px 70px rgba(5,16,30,.27),0 0 0 1px rgba(255,255,255,.12);
  color:var(--viewer-ink);-webkit-backdrop-filter:blur(22px) saturate(145%);backdrop-filter:blur(22px) saturate(145%);
}
.product-media-viewer-dialog header { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 4px; }
.product-media-viewer-dialog h2 { margin:0;font-size:15px;font-weight:720;letter-spacing:-.02em; }
.product-media-viewer-close,.product-media-viewer-nav { display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid rgba(247,252,255,.67);border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.3),rgba(153,199,244,.14));box-shadow:inset 0 1px rgba(255,255,255,.6),0 5px 13px rgba(11,38,75,.16);color:var(--viewer-ink);cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:transform .18s ease,background .18s ease; }
.product-media-viewer-close svg { width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round; }
.product-media-viewer-close:hover,.product-media-viewer-nav:hover { transform:translateY(-1px);background:rgba(238,249,255,.32); }
.product-media-viewer-image-wrap { display:grid;place-items:center;min-height:0;overflow:hidden;border:1px solid rgba(247,252,255,.43);border-radius:23px;background:rgba(245,250,255,.12);box-shadow:inset 0 1px rgba(255,255,255,.48); }
.product-media-viewer-image-wrap img { display:block;width:100%;height:min(62vh,620px);object-fit:contain; }
.product-media-viewer-dialog footer { display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:10px;padding:0 4px; }
.product-media-viewer-dialog footer span { color:var(--viewer-muted);text-align:center;font-size:12px;font-weight:650; }
.product-media-viewer-nav { line-height:1; }
.product-media-viewer-nav svg { display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round; }
.product-media-viewer-nav:disabled { visibility:hidden; }
.product-media-viewer-close,.product-media-viewer-nav {
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(circle at 25% 10%,rgba(255,255,255,.8),transparent 65%),linear-gradient(145deg,rgba(250,253,255,.48),rgba(218,232,247,.28));
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px rgba(255,255,255,.38),0 4px 12px rgba(30,49,71,.13);
}
.product-media-viewer-close:hover,.product-media-viewer-nav:hover { background:rgba(255,255,255,.65); }
.product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip) { cursor:pointer;transition:transform .2s cubic-bezier(.2,.8,.2,1),filter .2s ease,box-shadow .2s ease,border-color .2s ease; }
.product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip):hover { transform:translateY(-2px);filter:brightness(1.08);border-color:rgba(251,254,255,.9);box-shadow:inset 0 1px rgba(255,255,255,.7),0 11px 24px rgba(27,67,119,.18); }
.product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip):active { transform:scale(.98); }
.product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip,.product-profile-media-button).is-active { outline:2px solid rgba(87,166,255,.78);outline-offset:2px;border-color:rgba(250,254,255,.94); }
.product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip,.product-profile-media-button):focus-visible { outline:2px solid rgba(53,145,255,.95);outline-offset:3px; }
:root[data-theme="bright"] .product-profile-modal .product-profile-chip,:root[data-theme="glacial"] .product-profile-modal .product-profile-chip { border-color:rgba(255,255,255,.7);background:radial-gradient(100% 100% at 12% -15%,rgba(255,255,255,.53),transparent 66%),linear-gradient(140deg,rgba(255,255,255,.32),rgba(154,201,248,.12)); }
/* Bright profile widgets use translucent black liquid glass. */
:root[data-theme="bright"] .product-profile-modal :is(.product-profile-stats > button,.product-profile-pills button,.product-profile-media-pill,.product-profile-media-title span),
:root[data-theme="bright"] .product-profile-modal .profile-footer button,
:root[data-theme="bright"] .modal.profile-modal.brand-profile-modal .profile-footer button,
:root[data-theme="bright"] .modal.profile-modal :is(.profile-stat,.profile-metric,.profile-chip,.profile-pill,.profile-widget,.brand-profile-widget,.brand-profile-stat,.brand-profile-chip),
:root[data-theme="bright"] .modal.profile-modal.agent-profile-modal :is(.agent-profile-metrics > div,.agent-profile-role-pill,.agent-profile-tabs,.agent-profile-color,.agent-profile-save,.agent-profile-footer button) {
  background:linear-gradient(145deg,rgba(39,42,48,.96),rgba(23,25,30,.95) 55%,rgba(16,18,22,.97))!important;
  border-color:rgba(205,211,220,.52)!important;
  color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.16),inset 0 -1px rgba(0,0,0,.18),0 8px 22px rgba(0,0,0,.2)!important;
  -webkit-backdrop-filter:blur(24px) saturate(150%)!important;
  backdrop-filter:blur(24px) saturate(150%)!important;
}
:root[data-theme="bright"] .product-profile-modal :is(.product-profile-stats > button,.product-profile-pills button,.product-profile-media-pill,.product-profile-media-title span) :is(*,svg) { color:#fff!important;fill:currentColor; }
:root[data-theme="bright"] .product-profile-modal .profile-footer button :is(*,svg,img),
:root[data-theme="bright"] .modal.profile-modal.brand-profile-modal .profile-footer button :is(*,svg,img) { color:#fff!important;fill:currentColor; }
:root[data-theme="bright"] .product-profile-stats > button::before { display:none; }
.product-profile-modal .profile-footer { border-top:1px solid rgba(231,245,255,.18); }
.product-profile-modal .profile-footer button { border-color:rgba(240,250,255,.64);background:radial-gradient(100% 130% at 14% -30%,rgba(255,255,255,.46),transparent 60%),linear-gradient(145deg,rgba(242,251,255,.27),rgba(132,188,248,.14));box-shadow:inset 0 1px rgba(255,255,255,.52),0 7px 18px rgba(22,58,102,.12);color:var(--profile-ink);-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%);transition:transform .2s ease,filter .2s ease,box-shadow .2s ease; }
.product-profile-modal .profile-footer :is(.profile-view-brand,.profile-message-cofounder) { display:inline-flex;align-items:center;justify-content:center;gap:8px; }
.product-profile-modal .profile-footer :is(.profile-view-brand,.profile-message-cofounder) .product-profile-pill-icon { width:15px;height:15px;flex:none; }
.product-profile-modal .profile-footer .primary-btn { background:radial-gradient(100% 130% at 14% -30%,rgba(255,255,255,.6),transparent 60%),linear-gradient(145deg,rgba(205,232,255,.48),rgba(91,156,233,.28)); }
.product-profile-modal .profile-footer button:hover { transform:translateY(-2px);filter:brightness(1.08);box-shadow:inset 0 1px rgba(255,255,255,.72),0 11px 24px rgba(22,58,102,.2); }
.product-profile-modal .profile-footer button:active { transform:scale(.98); }
@media (max-width:720px) { .product-profile-identity { display:block; } .product-profile-stats { max-width:510px;margin-top:14px; } }
@media (max-width:590px) { .product-profile-header{grid-template-columns:74px minmax(0,1fr);gap:14px;padding:20px}.product-profile-header .profile-portrait{width:74px;height:74px;flex-basis:74px}.modal.product-profile-modal .product-profile-identity h2{font-size:21px}.product-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}.product-profile-stats>button{display:grid;gap:0;min-height:44px;padding:7px 9px}.product-profile-stats strong{font-size:15px}.product-profile-stats span{font-size:10px}.product-profile-bio{padding:0 20px 18px}.product-profile-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-profile-pills button,.product-profile-modal .profile-footer button{min-height:44px}.product-profile-modal .profile-close{width:38px;height:38px;top:20px;right:20px} }
@media (max-width:590px) { .product-profile-media-grid { padding-inline:20px; } }
@media (max-width:390px) { .product-profile-media-grid { padding-inline:16px; } }
@media (max-width:390px) { .product-profile-header{grid-template-columns:60px minmax(0,1fr);gap:11px;padding-inline:16px}.product-profile-header .profile-portrait{width:60px;height:60px;flex-basis:60px}.modal.product-profile-modal .product-profile-identity h2{margin-right:28px;font-size:18px}.product-profile-stats{grid-template-columns:1fr}.product-profile-stats>button{display:flex;min-height:37px}.product-profile-bio{padding-inline:16px} }
@media (max-width:590px) { .product-profile-stats > button { place-content:center;justify-items:center; } }
@media (prefers-reduced-motion:reduce) { .product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip),.product-profile-media-grid figure,.product-profile-media-grid img { transition:none; } .product-profile-modal :is(.product-profile-portrait-button,.product-profile-stat,.product-profile-chip):hover,.product-profile-media-grid figure:hover { transform:none; } }
@media (prefers-reduced-motion:reduce) { .product-profile-modal .profile-close { transition:none; } .product-profile-modal .profile-close:hover { transform:none; } }
@media (prefers-reduced-motion:reduce) { .product-media-viewer-close,.product-media-viewer-nav { transition:none; } .product-media-viewer-close:hover,.product-media-viewer-nav:hover { transform:none; } }
@media (prefers-reduced-transparency:reduce) { .product-media-viewer-dialog { background:#dce6f0;-webkit-backdrop-filter:none;backdrop-filter:none; } :root[data-theme="bright"] .product-media-viewer-dialog,:root[data-theme="glacial"] .product-media-viewer-dialog { background:#d8eafc; } }
@media (prefers-reduced-transparency:reduce) { .product-profile-modal .profile-topline > span:first-child,.product-profile-media-pill,.product-profile-stats > button,.product-profile-pills button { background:#39516e;-webkit-backdrop-filter:none;backdrop-filter:none; } :root[data-theme="bright"] .product-profile-modal .profile-topline > span:first-child,:root[data-theme="glacial"] .product-profile-modal .profile-topline > span:first-child,:root[data-theme="bright"] .product-profile-media-pill,:root[data-theme="glacial"] .product-profile-media-pill,:root[data-theme="bright"] .product-profile-stats > button,:root[data-theme="glacial"] .product-profile-stats > button,:root[data-theme="bright"] .product-profile-modal .product-profile-chip,:root[data-theme="glacial"] .product-profile-modal .product-profile-chip { background:#d8eafc; } }
@media (prefers-reduced-transparency:reduce) { .product-profile-media-title span { background:#39516e;-webkit-backdrop-filter:none;backdrop-filter:none; } :root[data-theme="bright"] .product-profile-media-title span,:root[data-theme="glacial"] .product-profile-media-title span { background:#d8eafc; } }

/* Shared silver material for brand, product and bright cofounder profiles. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.profile-modal {
  --profile-ink:#f7fbff !important;
  --profile-muted:#d5e2f4 !important;
  color:#f7fbff !important;
}
:root .modal.profile-modal,
:root[data-theme="bright"] .modal.profile-modal,
:root[data-theme="glacial"] .modal.profile-modal,
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.profile-modal.agent-profile-modal {
  --profile-ink:#1c2b3c;
  --profile-muted:#526477;
  --profile-rim:rgba(255,255,255,.88);
  --profile-glass:radial-gradient(130% 115% at 12% -26%,rgba(255,255,255,.76),transparent 61%),linear-gradient(132deg,rgba(255,255,255,.58),rgba(226,233,241,.43) 52%,rgba(192,205,219,.42));
  --profile-glass-rim:rgba(255,255,255,.83);
  --profile-glass-shadow:inset 0 1px rgba(255,255,255,.93),inset 0 -1px rgba(101,121,143,.14),0 9px 24px rgba(9,24,44,.16);
  color:var(--profile-ink);
  border-color:var(--profile-rim);
  background:radial-gradient(95% 67% at 3% -10%,rgba(255,255,255,.86),transparent 74%),radial-gradient(85% 80% at 100% 105%,rgba(242,247,252,.29),transparent 70%),linear-gradient(135deg,rgba(243,247,251,.78),rgba(215,224,234,.71) 53%,rgba(182,199,216,.68));
  box-shadow:inset 0 1px rgba(255,255,255,.98),inset 0 -1px rgba(82,110,141,.18),0 34px 96px rgba(0,10,27,.43);
  -webkit-backdrop-filter:blur(42px) saturate(145%);
  backdrop-filter:blur(42px) saturate(145%);
}
:root .modal.profile-modal :is(.profile-header,.profile-section,.product-profile-bio,.product-profile-media-title,.profile-footer) {
  border-color:rgba(255,255,255,.49);
  background:linear-gradient(165deg,rgba(255,255,255,.18),rgba(194,208,222,.09));
}
:root .modal.profile-modal :is(.profile-topline > span:first-child,.profile-close,.profile-portrait,.profile-text-link,.profile-features span,.profile-detail-grid > div,.profile-metrics > div,.profile-live-metrics > div,.profile-media figure,.product-profile-stats > button,.product-profile-pills button,.product-profile-media-pill,.product-profile-media-title span,.product-profile-media-grid figure,.profile-footer button) {
  border-color:var(--profile-glass-rim);
  background:var(--profile-glass);
  box-shadow:var(--profile-glass-shadow);
  color:var(--profile-ink);
  -webkit-backdrop-filter:blur(22px) saturate(140%);
  backdrop-filter:blur(22px) saturate(140%);
}
:root .modal.profile-modal :is(.profile-close,.profile-footer button,.profile-text-link,.product-profile-chip,.product-profile-stat):hover {
  border-color:#fff;
  background:radial-gradient(110% 125% at 12% -24%,rgba(255,255,255,.88),transparent 64%),linear-gradient(135deg,rgba(255,255,255,.67),rgba(214,225,237,.51));
  box-shadow:inset 0 1px #fff,0 12px 28px rgba(9,24,44,.2);
}
:root .modal.profile-modal .profile-live-metrics strong { color:var(--profile-muted); }
:root .modal.profile-modal .product-profile-media-button { background:rgba(219,229,239,.55); }
:root .modal.profile-modal .profile-brand-portrait,
:root .modal.profile-modal .profile-brand-portrait img,
:root .modal.profile-modal .profile-brand-media :is(img,.product-profile-media-button) {
  background:var(--logo-background,#fff);
}
:root .modal.profile-modal .product-profile-media-grid figcaption { color:#fff; }
:root .modal.profile-modal .profile-footer .primary-btn {
  background:radial-gradient(110% 125% at 10% -20%,rgba(255,255,255,.83),transparent 65%),linear-gradient(135deg,rgba(249,252,255,.69),rgba(191,210,230,.59));
}
@media (prefers-reduced-transparency:reduce) {
  :root .modal.profile-modal,
  :root[data-theme="bright"] .modal.profile-modal,
  :root[data-theme="glacial"] .modal.profile-modal { background:#dce5ee;-webkit-backdrop-filter:none;backdrop-filter:none; }
  :root .modal.profile-modal :is(.profile-topline > span:first-child,.profile-close,.profile-portrait,.profile-text-link,.profile-features span,.profile-detail-grid > div,.profile-metrics > div,.profile-live-metrics > div,.profile-media figure,.product-profile-stats > button,.product-profile-pills button,.product-profile-media-pill,.product-profile-media-title span,.product-profile-media-grid figure,.profile-footer button) { background:#eef3f8;-webkit-backdrop-filter:none;backdrop-filter:none; }
}

:root .modal.profile-modal .profile-footer button.profile-view-brand {
  color:#fff;
  border-color:rgba(255,255,255,.48);
  background:radial-gradient(110% 125% at 12% -24%,rgba(255,255,255,.16),transparent 64%),linear-gradient(135deg,rgba(19,21,25,.92),rgba(3,5,8,.86));
  box-shadow:inset 0 1px rgba(255,255,255,.32),inset 0 -1px rgba(0,0,0,.42),0 7px 18px rgba(8,19,34,.28);
  -webkit-backdrop-filter:blur(22px) saturate(150%);
  backdrop-filter:blur(22px) saturate(150%);
}
:root .modal.profile-modal .profile-footer button.profile-view-brand:hover {
  background:radial-gradient(110% 125% at 12% -24%,rgba(255,255,255,.2),transparent 64%),linear-gradient(135deg,rgba(28,30,35,.96),rgba(8,10,13,.92));
}
@media (prefers-reduced-transparency:reduce) {
  :root .modal.profile-modal .profile-footer button.profile-view-brand { background:#263345;-webkit-backdrop-filter:none;backdrop-filter:none; }
}

.settings-billing-channel {
  position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(156px,100%);min-height:52px;margin:19px auto 23px;padding:4px;
  border:1px solid rgba(233,244,255,.42);border-radius:999px;
  background:linear-gradient(145deg,rgba(246,250,255,.18),rgba(110,147,193,.12));
  box-shadow:inset 0 1px rgba(255,255,255,.32),0 8px 20px rgba(10,27,54,.11);
  -webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
}
.settings-billing-channel-thumb {
  position:absolute;z-index:0;top:4px;left:4px;width:calc(50% - 4px);height:calc(100% - 8px);
  border:1px solid rgba(255,255,255,.6);border-radius:999px;
  background:radial-gradient(circle at 25% 5%,rgba(255,255,255,.68),transparent 50%),linear-gradient(145deg,rgba(228,239,253,.56),rgba(129,166,213,.34));
  box-shadow:inset 0 1px rgba(255,255,255,.65),inset 0 -1px rgba(76,119,170,.18),0 6px 14px rgba(14,35,65,.18);
  -webkit-backdrop-filter:blur(20px) saturate(175%);backdrop-filter:blur(20px) saturate(175%);
  pointer-events:none;transition:transform .5s cubic-bezier(.2,1.15,.3,1);will-change:transform;
}
.settings-billing-channel[data-selected-channel="mobile"] .settings-billing-channel-thumb { transform:translate3d(100%,0,0); }
.settings-billing-channel button {
  position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;
  padding:8px 10px;border:0;border-radius:999px;background:transparent;color:var(--settings-muted);
  font:inherit;font-size:13px;font-weight:680;cursor:pointer;transition:color .2s ease;
}
.settings-billing-channel button[aria-pressed="true"] { color:var(--settings-ink); }
.settings-billing-channel button svg { width:20px;height:20px;fill:currentColor;flex:none; }
.settings-billing-channel button:focus-visible { outline:2px solid #5aa9ff;outline-offset:2px; }
.settings-billing-card[hidden] { display:none; }
@media (prefers-reduced-motion:reduce) { .settings-billing-channel-thumb { transition:none; } }
.settings-billing-card {
  margin-top:12px;
  padding:18px 20px;
  border:1px solid rgba(233,244,255,.43);
  border-radius:21px;
  background:radial-gradient(115% 115% at 8% -20%,rgba(255,255,255,.34),transparent 66%),linear-gradient(140deg,rgba(219,233,249,.2),rgba(116,154,198,.13));
  box-shadow:inset 0 1px rgba(255,255,255,.39),0 8px 25px rgba(6,22,45,.08);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  backdrop-filter:blur(14px) saturate(150%);
}
.settings-billing-card { display:grid;gap:14px; }
.settings-billing-card[data-billing-card="desktop"] {
  box-sizing:border-box;
  width:min(460px,100%);
  justify-self:center;
}
.settings-billing-card[data-billing-card="mobile"] {
  box-sizing:border-box;
  width:min(430px,100%);
  justify-self:center;
  padding:14px 18px;
  gap:10px;
}
.settings-billing-card > .settings-row-copy { text-align:center; }
.settings-billing-card .settings-billing-provider-title { display:flex;align-items:center;justify-content:center;gap:8px; }
.settings-billing-provider-title img { display:block;width:27px;height:27px;object-fit:contain;flex:none; }
.settings-billing-card .settings-row-copy small { max-width:48ch;margin-inline:auto;line-height:1.45; }
.settings-billing-card[data-billing-card="mobile"] .settings-row-copy small { max-width:38ch; }
.settings-billing-button { justify-self:start;min-height:39px;padding:9px 17px;font-size:12px;font-weight:700; }
.settings-billing-button:disabled { cursor:wait;opacity:.68; }
.settings-billing-notice { margin:16px 2px 0;color:var(--settings-ink);font-size:13px;line-height:1.45; }
.settings-wallet-page { max-width:100%;padding:2px 0 24px; }
.modal.settings-modal .settings-wallet-title { margin:0 54px 24px 0;color:var(--settings-ink);font-size:30px;font-weight:780;letter-spacing:-.035em;line-height:1.18; }
.settings-wallet-intro { max-width:54ch;margin:0 0 29px;color:var(--settings-ink);font-size:16px;line-height:1.45;letter-spacing:-.015em; }
.modal.settings-modal .settings-wallet-methods-title { margin:0 0 9px;color:var(--settings-muted);font-size:17px;font-weight:700;letter-spacing:-.015em; }
.settings-wallet-methods { position:relative;z-index:2;overflow:visible;padding:4px 18px;border:1px solid rgba(233,244,255,.27);border-radius:22px;background:rgba(225,231,240,.13);box-shadow:inset 0 1px rgba(255,255,255,.12);-webkit-backdrop-filter:blur(16px) saturate(135%);backdrop-filter:blur(16px) saturate(135%); }
.settings-wallet-method { display:flex;align-items:center;gap:14px;min-height:61px; }
.settings-wallet-method + .settings-wallet-method { border-top:1px solid var(--settings-line); }
.settings-wallet-link-wrap { position:relative;min-height:61px;border-top:1px solid var(--settings-line); }
.settings-wallet-link-wrap + .settings-wallet-method { border-top:1px solid var(--settings-line); }
.settings-wallet-link-wrap > .settings-wallet-method { border-top:0; }
.settings-wallet-provider-icon { display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;box-shadow:0 3px 10px rgba(7,19,42,.13); }
.settings-wallet-link-icon { background:#00d66d;color:#061c15; }
.settings-wallet-link-icon svg { width:31px;height:31px;fill:currentColor; }
.settings-wallet-shop-icon { background:#5a31ef;color:#fff;font-size:13px;font-weight:850;letter-spacing:-.075em; }
.settings-wallet-method-name { min-width:0;flex:1;color:var(--settings-ink);font-size:16px;letter-spacing:-.015em; }
.settings-wallet-method-action { flex:none;min-width:43px;min-height:40px;padding:7px 14px;border:0;border-radius:999px;background:transparent;color:#78b8ff;font:inherit;font-size:15px;font-weight:600;cursor:pointer; }
.settings-wallet-method-action:hover:not(:disabled) { color:#a7d5ff;background:rgba(160,204,255,.1); }
.settings-wallet-method-action:disabled { opacity:.55;cursor:default; }
.settings-link-menu { position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:40;max-height:min(65vh,560px);overflow:auto;margin:0;padding:17px 18px 14px;border:1px solid rgba(233,244,255,.34);border-radius:30px;background:radial-gradient(ellipse at 8% 0%,rgba(202,225,255,.18),transparent 58%),linear-gradient(145deg,rgba(173,198,230,.19),rgba(25,42,68,.3));box-shadow:inset 0 1px rgba(255,255,255,.28),0 12px 28px rgba(2,9,23,.15);-webkit-backdrop-filter:blur(26px) saturate(155%);backdrop-filter:blur(26px) saturate(155%); }
.settings-link-menu[hidden] { display:none!important; }
.settings-link-menu-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 12px;border-bottom:1px solid var(--settings-line);color:var(--settings-ink); }
.settings-link-menu-heading strong { font-size:15px;font-weight:700; }
.settings-link-menu-close { min-height:32px;padding:5px 12px;border:1px solid rgba(233,244,255,.32);border-radius:999px;background:rgba(255,255,255,.1);color:var(--settings-ink);font:inherit;font-size:12px;cursor:pointer; }
.settings-link-menu-actions { display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:12px; }
.settings-link-menu-actions .settings-wallet-refresh { margin:0 2px;padding:8px 10px; }
.settings-link-menu #link-checkout-host { margin:12px 0 0;color:var(--settings-ink);font-size:14px;line-height:1.5; }
.settings-link-menu #link-checkout-host h3 { margin:0 0 8px;font-size:15px; }
.settings-link-menu #link-checkout-host h4 { margin:12px 0 4px; }
.settings-link-menu #link-checkout-host p { margin:8px 0; }
.settings-link-menu #link-checkout-host button { margin:5px 6px 5px 0; }
.settings-link-menu #link-checkout-host input,.settings-link-menu #link-checkout-host select { max-width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #91a7c560;border-radius:16px;color:inherit;background:rgba(255,255,255,.2); }
.settings-link-menu #link-checkout-host pre { white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px; }
.settings-link-menu #link-checkout-host details { margin:8px 0; }
.settings-wallet-status { margin:13px 2px 0;color:var(--settings-muted);font-size:12px;line-height:1.4; }
.settings-wallet-refresh { margin:9px 2px 0;padding:3px 0;border:0;background:transparent;color:#8dc5ff;font:inherit;font-size:12px;cursor:pointer; }
.settings-wallet-refresh:hover { text-decoration:underline;text-underline-offset:3px; }
.settings-wallet-method-action { border-radius:999px; }
.settings-wallet-history { margin-top:24px;padding:0;border:0;background:none;box-shadow:none; }
.settings-wallet-history > summary { min-height:79px;padding:14px 17px;box-sizing:border-box;display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;border:1px solid rgba(226,242,255,.46);border-radius:999px;background:radial-gradient(ellipse 72% 130% at 12% -30%,rgba(255,255,255,.34),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.2),rgba(129,171,222,.12));box-shadow:inset 0 1px 1px rgba(255,255,255,.62),0 9px 24px rgba(24,61,105,.1);-webkit-backdrop-filter:blur(24px) saturate(165%);backdrop-filter:blur(24px) saturate(165%); }
.settings-wallet-history > summary::-webkit-details-marker { display:none; }
.settings-wallet-history-symbol { display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(255,255,255,.54);border-radius:50%;color:#fff;background:linear-gradient(145deg,rgba(50,57,68,.98),rgba(5,8,13,.98));box-shadow:inset 0 1px 1px rgba(255,255,255,.34),0 5px 14px rgba(16,39,70,.18); }
.settings-wallet-history-symbol svg { width:18px;height:18px;fill:currentColor; }
.settings-wallet-history-copy { flex:1;display:grid;gap:4px;min-width:0; }
.modal.settings-modal .settings-wallet-history-copy > strong { color:var(--settings-ink);font-family:var(--settings-title-font);font-size:18px;font-weight:var(--settings-title-weight);font-style:normal;line-height:1.2;letter-spacing:-.015em; }
.settings-wallet-history-copy > small { color:var(--settings-muted);font-size:13px;line-height:1.35; }
.settings-wallet-history-chevron { display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(235,246,255,.62);border-radius:50%;fill:currentColor;color:var(--settings-ink);background:rgba(255,255,255,.14);box-shadow:inset 0 1px rgba(255,255,255,.64);box-sizing:border-box;flex:none;transition:transform .24s ease; }
.settings-wallet-history-chevron svg { width:17px;height:17px; }
.settings-wallet-history[open] .settings-wallet-history-chevron { transform:rotate(180deg); }
.settings-wallet-history > .wallet-settings-list { margin-top:14px; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-wallet-history > summary { border-color:rgba(255,255,255,.82);background:radial-gradient(ellipse 72% 130% at 12% -30%,rgba(255,255,255,.78),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.48),rgba(154,197,244,.22));box-shadow:inset 0 1.5px rgba(255,255,255,.94),inset 0 -1px rgba(102,151,208,.12),0 10px 26px rgba(38,83,142,.11); }
:root[data-theme="bright"] .settings-wallet-methods { border-color:rgba(255,255,255,.56);background:rgba(243,245,248,.66);box-shadow:inset 0 1px rgba(255,255,255,.67); }
:root[data-theme="bright"] .settings-wallet-method-action { color:#0870c5; }
:root[data-theme="bright"] .settings-wallet-method-action:hover:not(:disabled) { color:#0059a3;background:rgba(60,130,205,.08); }
:root[data-theme="bright"] .settings-link-menu,:root[data-theme="glacial"] .settings-link-menu { border-color:rgba(255,255,255,.78);background:radial-gradient(ellipse at 8% 0%,rgba(255,255,255,.75),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.58),rgba(169,199,235,.3));box-shadow:inset 0 1.5px rgba(255,255,255,.92),inset 0 -1px rgba(102,151,208,.12),0 12px 28px rgba(38,83,142,.11); }
:root[data-theme="bright"] .settings-link-menu-close,:root[data-theme="glacial"] .settings-link-menu-close { border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.42); }
:root[data-theme="bright"] .settings-wallet-status { color:rgba(30,50,77,.8); }
:root[data-theme="bright"] .settings-wallet-refresh { color:#0870c5; }
.wallet-settings-list { display:grid;gap:9px;margin-top:17px; }
.wallet-settings-list > p { margin:4px 2px;color:var(--settings-muted);font-size:13px; }
.wallet-settings-item { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 16px;border:1px solid rgba(233,244,255,.34);border-radius:20px;background:linear-gradient(135deg,rgba(232,243,255,.14),rgba(116,154,198,.08));box-shadow:inset 0 1px rgba(255,255,255,.28);color:var(--settings-ink);text-align:left;cursor:pointer;-webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%); }
.wallet-settings-item-main { display:flex;align-items:center;gap:10px;min-width:0;flex:1; }
.wallet-settings-item .wallet-settings-item-emoji { display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;font-family:-apple-system,BlinkMacSystemFont,"Apple Color Emoji",sans-serif;font-size:18px;line-height:1; }
.wallet-settings-item strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.wallet-settings-item span { flex:none;color:var(--settings-muted);font-size:12px; }
.wallet-settings-item > .wallet-settings-item-main { flex:1;color:inherit;font-size:inherit; }
.wallet-settings-item-main > strong { min-width:0; }
.settings-wallet-history .wallet-settings-item { min-height:58px;padding:11px 20px;border-radius:999px; }
.wallet-chat-card { display:grid;gap:9px;width:min(100%,570px);margin:14px 0 14px auto;padding:17px 19px;border:1px solid rgba(234,244,255,.5);border-radius:24px;background:radial-gradient(130% 130% at 5% -20%,rgba(255,255,255,.27),transparent 70%),linear-gradient(135deg,rgba(145,171,208,.27),rgba(23,40,67,.55));box-shadow:inset 0 1px rgba(255,255,255,.34),0 14px 36px rgba(0,7,20,.2);color:var(--ink);-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%); }
.wallet-chat-card .wallet-chat-kicker { color:var(--muted);font-size:11px;font-weight:750;letter-spacing:.11em;text-transform:uppercase; }
.wallet-chat-card strong { font-size:17px; }
.wallet-chat-card p { margin:0;line-height:1.45; }
.wallet-chat-merchant { color:var(--muted);font-size:12px;overflow-wrap:anywhere; }
.wallet-chat-card a { justify-self:start;color:inherit;text-underline-offset:3px; }
.wallet-chat-card .wallet-checkout-link { display:inline-flex;align-items:center;min-height:36px;padding:8px 15px;text-decoration:none;font-size:12px;font-weight:750; }
.wallet-chat-card small { color:var(--muted);line-height:1.4; }
.wallet-chat-decisions { display:flex;flex-wrap:wrap;gap:9px;margin-top:4px; }
.wallet-chat-decisions .settings-secondary { font-size:12px; }
.wallet-request-modal { display:grid;gap:12px; }
.wallet-request-modal h2 { padding-right:32px; }
.wallet-request-modal > p { margin:0 0 4px; }

/* App and site directory inside Settings → Tools. */
.tools-directory-toolbar { display:flex;align-items:center;margin:18px 0 13px;background:transparent;border:0;box-shadow:none; }
.tools-directory-search { display:flex;align-items:center;gap:10px;min-width:0;flex:1;height:43px;padding:0 15px;border:1px solid rgba(255,255,255,.62);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(187,216,250,.1));box-shadow:inset 0 1px 1px rgba(255,255,255,.7),0 8px 20px rgba(39,79,132,.08);color:var(--settings-muted);-webkit-backdrop-filter:blur(26px) saturate(175%);backdrop-filter:blur(26px) saturate(175%); }
.tools-directory-search-symbol { display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;color:var(--settings-ink);pointer-events:none; }
.tools-directory-search-symbol svg { display:block;width:19px;height:19px;fill:currentColor; }
.tools-directory-search input { appearance:none;-webkit-appearance:none;width:100%;min-width:0;padding:0;border:0!important;border-radius:0!important;outline:0;background:transparent!important;box-shadow:none!important;color:var(--settings-ink);font:inherit;font-size:13px; }
.tools-directory-search input::-webkit-search-decoration,.tools-directory-search input::-webkit-search-cancel-button { -webkit-appearance:none;appearance:none; }
.tools-directory-search input::placeholder { color:var(--settings-muted); }
.tools-directory-filters { --tools-filter-thumb-x:4px;--tools-filter-thumb-width:58px;position:relative;isolation:isolate;display:flex;gap:4px;overflow-x:auto;padding:4px;border:1px solid rgba(213,230,250,.32);border-radius:999px;background:linear-gradient(145deg,rgba(164,188,218,.16),rgba(255,255,255,.035));box-shadow:inset 0 1px rgba(255,255,255,.2),inset 0 -1px rgba(7,17,35,.18),0 7px 18px rgba(3,10,24,.12);scrollbar-width:none;-webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%); }
.tools-directory-filters::-webkit-scrollbar { display:none; }
.tools-directory-filter-thumb { position:absolute;z-index:0;top:4px;left:0;width:var(--tools-filter-thumb-width);height:calc(100% - 8px);border:1px solid rgba(243,249,255,.78);border-radius:999px;background:radial-gradient(ellipse at 26% -18%,rgba(255,255,255,.82),transparent 64%),linear-gradient(145deg,rgba(229,240,253,.5),rgba(145,176,214,.26) 58%,rgba(225,240,255,.32));box-shadow:inset 0 1.5px 1px rgba(255,255,255,.74),inset 0 -1px rgba(79,119,169,.2),0 5px 15px rgba(3,13,31,.2);transform:translate3d(var(--tools-filter-thumb-x),0,0);opacity:0;pointer-events:none;-webkit-backdrop-filter:blur(20px) saturate(185%);backdrop-filter:blur(20px) saturate(185%);transition:transform 520ms cubic-bezier(.2,1.35,.34,1),width 440ms cubic-bezier(.2,.9,.28,1),opacity 150ms ease; }
.tools-directory-filters.is-ready .tools-directory-filter-thumb { opacity:1; }
.tools-directory-filter { position:relative;z-index:1;flex:none;padding:7px 12px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--settings-muted);font:inherit;font-size:12px;cursor:pointer;transition:color 240ms ease,transform 240ms cubic-bezier(.2,.8,.25,1); }
.tools-directory-filter:hover { color:var(--settings-ink);transform:translateY(-1px); }
.tools-directory-filter-emoji { margin-right:5px;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:13px;line-height:1; }
.tools-directory-filter.active { background:transparent;color:var(--settings-ink);border-color:transparent;box-shadow:none; }
:root[data-theme="bright"] .tools-directory-filters,:root[data-theme="glacial"] .tools-directory-filters { border-color:rgba(255,255,255,.7);background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(195,220,249,.13));box-shadow:inset 0 1.5px rgba(255,255,255,.82),0 8px 22px rgba(49,91,145,.1); }
:root[data-theme="bright"] .tools-directory-filter-thumb,:root[data-theme="glacial"] .tools-directory-filter-thumb { border-color:rgba(255,255,255,.94);background:radial-gradient(ellipse at 24% -20%,rgba(255,255,255,.98),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.7),rgba(197,220,247,.38) 58%,rgba(255,255,255,.48));box-shadow:inset 0 1.5px 1px rgba(255,255,255,.98),inset 0 -1px rgba(91,136,190,.14),0 7px 18px rgba(42,82,134,.14); }
.tools-directory-notice { margin:8px 2px;color:var(--settings-ink);font-size:12px;line-height:1.4; }
.tools-directory-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px; }
.tools-directory-card { display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid var(--settings-line);border-radius:30px;background:var(--settings-surface);box-shadow:inset 0 1px rgba(255,255,255,.11); }
:root[data-theme=""] .modal.settings-modal .tools-directory-card {
  color:#122435;
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(ellipse at 12% 0,rgba(255,255,255,.96),transparent 64%),linear-gradient(145deg,rgba(248,252,255,.93),rgba(205,224,247,.78));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.98),inset 0 -1px 1px rgba(111,151,199,.2),0 8px 20px rgba(0,8,24,.18);
  -webkit-backdrop-filter:blur(24px) saturate(165%);
  backdrop-filter:blur(24px) saturate(165%);
}
:root[data-theme=""] .modal.settings-modal .tools-directory-card :is(.tools-directory-copy strong,.tools-directory-copy small,.tools-directory-soon) { color:#122435; }
:root[data-theme=""] .modal.settings-modal .tools-directory-card .tools-directory-copy small { opacity:.72; }
.tools-directory-card:has([data-tool-brand="shopify"]) { border-color:rgba(225,240,255,.48);background:radial-gradient(ellipse at 8% 0%,rgba(214,233,255,.2),transparent 62%),linear-gradient(145deg,rgba(192,215,245,.12),rgba(255,255,255,.025) 54%,rgba(112,150,203,.09));box-shadow:inset 0 1px rgba(255,255,255,.28),0 10px 24px rgba(4,13,30,.14);-webkit-backdrop-filter:blur(24px) saturate(175%);backdrop-filter:blur(24px) saturate(175%); }
.tools-directory-icon { display:block;width:42px;height:42px;aspect-ratio:1;object-fit:cover;overflow:hidden;border:1px solid rgba(255,255,255,.48);border-radius:22%;background:rgba(255,255,255,.96);box-shadow:inset 0 1px rgba(255,255,255,.9),0 2px 7px rgba(0,0,0,.15); }
.tools-directory-copy { display:grid;gap:3px;min-width:0; }
.tools-directory-copy strong { display:flex;align-items:center;gap:5px;overflow:hidden;color:var(--settings-ink);font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap; }
.tools-directory-emoji { flex:none;font-size:13px;line-height:1; }
.tools-directory-copy small { overflow:hidden;color:var(--settings-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap; }
.tools-directory-soon { color:var(--settings-muted);font-size:10px;white-space:nowrap; }
.tools-directory-controls { grid-column:2/-1;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;margin-top:2px; }
.tools-directory-connect {
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:34px;padding:6px 14px;overflow:hidden;
  border:1px solid rgba(255,255,255,.84);border-radius:999px;
  color:#122435;
  background:radial-gradient(ellipse at 22% -28%,rgba(255,255,255,.94),transparent 66%),linear-gradient(145deg,rgba(255,255,255,.46),rgba(191,216,246,.2) 58%,rgba(255,255,255,.3));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.96),inset 0 -1px 1px rgba(99,145,200,.18),0 6px 16px rgba(18,45,78,.16);
  font:inherit;font-size:11px;font-weight:700;cursor:pointer;
  -webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);
  transition:transform 180ms cubic-bezier(.2,.75,.25,1),background 180ms ease,box-shadow 180ms ease,border-color 180ms ease;
}
.tools-directory-connect::before { content:"";position:relative;z-index:1;width:13px;height:13px;flex:0 0 13px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 14.8a1.5 1.5 0 0 1 0-2.1l3.5-3.5a1.5 1.5 0 1 1 2.1 2.1l-3.5 3.5a1.5 1.5 0 0 1-2.1 0ZM7.8 18.9l3-3-2.1-2.1-3 3a3 3 0 1 1-4.2-4.2l4-4a3 3 0 0 1 4.2 0l.8.8 2.1-2.1-.8-.8a6 6 0 0 0-8.5 0l-4 4a6 6 0 1 0 8.5 8.4Zm8.4-13.8-3 3 2.1 2.1 3-3a3 3 0 0 1 4.2 4.2l-4 4a3 3 0 0 1-4.2 0l-.8-.8-2.1 2.1.8.8a6 6 0 0 0 8.5 0l4-4a6 6 0 0 0-8.5-8.4Z'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 14.8a1.5 1.5 0 0 1 0-2.1l3.5-3.5a1.5 1.5 0 1 1 2.1 2.1l-3.5 3.5a1.5 1.5 0 0 1-2.1 0ZM7.8 18.9l3-3-2.1-2.1-3 3a3 3 0 1 1-4.2-4.2l4-4a3 3 0 0 1 4.2 0l.8.8 2.1-2.1-.8-.8a6 6 0 0 0-8.5 0l-4 4a6 6 0 1 0 8.5 8.4Zm8.4-13.8-3 3 2.1 2.1 3-3a3 3 0 0 1 4.2 4.2l-4 4a3 3 0 0 1-4.2 0l-.8-.8-2.1 2.1.8.8a6 6 0 0 0 8.5 0l4-4a6 6 0 0 0-8.5-8.4Z'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none; }
.tools-directory-connect::before { mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 3a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm4.9 5.4-1.8-1.8-4.5 4.6-2-2-1.8 1.8 3.8 3.8 6.3-6.4Z'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 3a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm4.9 5.4-1.8-1.8-4.5 4.6-2-2-1.8 1.8 3.8 3.8 6.3-6.4Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.tools-directory-connect::before { content:"✓";display:inline-grid;place-items:center;width:14px;height:14px;flex-basis:14px;border-radius:50%;background:#122435;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;font-size:9px;font-weight:900;line-height:1;mask:none;-webkit-mask:none;box-shadow:inset 0 1px rgba(255,255,255,.24); }
.tools-directory-connect::after { content:"";position:absolute;inset:1px 12% auto;height:42%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.42),transparent);pointer-events:none; }
.tools-directory-connect:is(:hover,:focus-visible) { outline:0;transform:translateY(-1px);border-color:rgba(255,255,255,.98);background:radial-gradient(ellipse at 22% -28%,#fff,transparent 68%),linear-gradient(145deg,rgba(255,255,255,.58),rgba(178,210,246,.3));box-shadow:inset 0 1.5px 1px #fff,inset 0 -1px 1px rgba(83,134,194,.2),0 9px 20px rgba(18,45,78,.22); }
.tools-directory-connect:active { transform:translateY(0) scale(.97); }
.tools-directory-connect:disabled { cursor:default;opacity:.68;transform:none; }
.tools-directory-brand-wrap { position:relative;flex:1;min-width:0;max-width:140px; }
.tools-directory-card:has(.tools-directory-brand-wrap.is-open) { position:relative;z-index:20; }
.tools-directory-brand-wrap.is-open { z-index:21; }
.tools-directory-brand { display:flex;width:100%;min-width:0;align-items:center;justify-content:space-between;gap:7px;padding:7px 10px;border:1px solid rgba(229,241,255,.3);border-radius:999px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(185,211,246,.045) 55%,rgba(255,255,255,.08));box-shadow:inset 0 1px rgba(255,255,255,.18),0 4px 12px rgba(5,15,34,.1);color:var(--settings-ink);font:inherit;font-size:11px;text-align:left;cursor:pointer;-webkit-backdrop-filter:blur(22px) saturate(175%);backdrop-filter:blur(22px) saturate(175%); }
.tools-directory-brand-identity,.tools-directory-brand-option-identity { display:flex;min-width:0;align-items:center;gap:8px; }
.tools-directory-brand-portrait { display:grid;flex:none;width:24px;height:24px;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.64);border-radius:50%;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.92),rgba(184,208,241,.5) 58%,rgba(87,121,173,.46));box-shadow:inset 0 1px 2px rgba(255,255,255,.82),0 2px 6px rgba(8,22,46,.22); }
.tools-directory-brand-portrait img { display:block;width:100%;height:100%;border-radius:50%;object-fit:cover; }
.tools-directory-brand [data-brand-label] { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.tools-directory-brand .tools-directory-brand-portrait { width:21px;height:21px; }
.tools-directory-brand-chevron { flex:none;font-size:15px;line-height:10px;opacity:.78;transition:transform 160ms ease; }
.tools-directory-brand-wrap.is-open .tools-directory-brand-chevron { transform:rotate(180deg); }
.tools-directory-brand-menu { position:absolute;top:calc(100% + 7px);left:0;z-index:30;width:max(100%,176px);max-height:220px;overflow-y:auto;padding:5px;border:1px solid rgba(232,243,255,.38);border-radius:20px;background:radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.18),transparent 65%),linear-gradient(145deg,rgba(42,58,82,.86),rgba(12,23,42,.88));box-shadow:inset 0 1px rgba(255,255,255,.2),0 14px 36px rgba(0,0,0,.32);-webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%); }
.tools-directory-brand-menu[hidden] { display:none; }
.tools-directory-brand-option { display:flex;width:100%;min-height:36px;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid transparent;border-radius:14px;background:transparent;color:rgba(245,249,255,.88);font:inherit;font-size:12px;text-align:left;cursor:pointer; }
.tools-directory-brand-option-identity { flex:1; }
.tools-directory-brand-option-label { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.tools-directory-brand-option:hover,.tools-directory-brand-option:focus-visible,.tools-directory-brand-option[aria-selected="true"] { border-color:rgba(228,240,255,.2);background:linear-gradient(130deg,rgba(230,241,255,.2),rgba(142,174,221,.12));color:#fff;outline:none; }
.tools-directory-brand-check { display:inline-grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border-radius:50%;background:#17324f;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;font-size:13px;font-weight:900;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.28),0 2px 6px rgba(8,26,48,.2); }
.tools-directory-brand-check:empty { visibility:hidden; }
:root[data-theme=""] .modal.settings-modal .tools-directory-brand-menu {
  padding:8px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:28px;
  color:#122435;
  background:radial-gradient(ellipse at 14% -8%,rgba(255,255,255,.96),transparent 62%),linear-gradient(145deg,rgba(248,252,255,.86),rgba(197,219,246,.7));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.98),inset 0 -1px 1px rgba(103,148,201,.2),0 18px 42px rgba(0,8,24,.3);
  -webkit-backdrop-filter:blur(30px) saturate(180%);
  backdrop-filter:blur(30px) saturate(180%);
}
:root[data-theme=""] .modal.settings-modal .tools-directory-brand-option { min-height:42px;padding-inline:12px;border-radius:999px;color:#122435; }
:root[data-theme=""] .modal.settings-modal .tools-directory-brand-option:is(:hover,:focus-visible,[aria-selected="true"]) { border-color:rgba(255,255,255,.92);background:radial-gradient(ellipse at 18% 0,rgba(255,255,255,.94),transparent 66%),linear-gradient(135deg,rgba(255,255,255,.72),rgba(181,211,245,.52));color:#122435;box-shadow:inset 0 1px rgba(255,255,255,.96),0 5px 14px rgba(31,69,116,.14); }
:root[data-theme=""] .modal.settings-modal .tools-directory-brand-check { background:#17324f;color:#fff; }
.tools-directory-shop { flex:1;min-width:0;max-width:none;padding:7px 9px;border:1px solid var(--settings-line);border-radius:999px;background:var(--settings-surface);color:var(--settings-ink);font:inherit;font-size:11px; }
.tools-directory-card:has([data-tool-brand="shopify"]) :is(.tools-directory-brand,.tools-directory-shop) { border-color:rgba(230,242,255,.46);background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(185,211,246,.055) 55%,rgba(255,255,255,.08));box-shadow:inset 0 1px rgba(255,255,255,.2),0 5px 14px rgba(5,15,34,.12);-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%); }
.tools-directory-shop { flex:1;max-width:none; }
.tools-directory-brand:disabled { opacity:.58;cursor:not-allowed; }
.tools-directory-empty { grid-column:1/-1;padding:22px;border:1px solid var(--settings-line);border-radius:22px;color:var(--settings-muted);text-align:center; }
:root[data-theme="bright"] .tools-directory-filter.active { background:rgba(255,255,255,.77);border-color:rgba(255,255,255,.83); }
:root[data-theme="bright"] .tools-directory-brand,:root[data-theme="glacial"] .tools-directory-brand { border-color:rgba(255,255,255,.7);background:linear-gradient(135deg,rgba(255,255,255,.42),rgba(204,224,250,.2) 55%,rgba(255,255,255,.3));box-shadow:inset 0 1px rgba(255,255,255,.84),0 4px 12px rgba(38,83,142,.08); }
:root[data-theme="bright"] .tools-directory-card:has([data-tool-brand="shopify"]),:root[data-theme="glacial"] .tools-directory-card:has([data-tool-brand="shopify"]) { border-color:rgba(255,255,255,.78);background:radial-gradient(ellipse at 8% 0%,rgba(255,255,255,.72),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.32),rgba(183,212,245,.12) 54%,rgba(255,255,255,.22));box-shadow:inset 0 1px rgba(255,255,255,.86),0 10px 24px rgba(38,83,142,.1); }
:root[data-theme="bright"] .tools-directory-brand-menu,:root[data-theme="glacial"] .tools-directory-brand-menu { border-color:rgba(255,255,255,.72);background:radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.8),transparent 65%),linear-gradient(145deg,rgba(222,237,255,.88),rgba(166,198,239,.86));box-shadow:inset 0 1px rgba(255,255,255,.9),0 14px 34px rgba(41,83,139,.22); }
:root[data-theme="bright"] .tools-directory-brand-option,:root[data-theme="glacial"] .tools-directory-brand-option { color:#263b58; }
:root[data-theme="bright"] .tools-directory-brand-option:hover,:root[data-theme="bright"] .tools-directory-brand-option:focus-visible,:root[data-theme="bright"] .tools-directory-brand-option[aria-selected="true"],:root[data-theme="glacial"] .tools-directory-brand-option:hover,:root[data-theme="glacial"] .tools-directory-brand-option:focus-visible,:root[data-theme="glacial"] .tools-directory-brand-option[aria-selected="true"] { border-color:rgba(255,255,255,.76);background:linear-gradient(130deg,rgba(255,255,255,.8),rgba(197,220,250,.64));color:#172b46; }
:root[data-theme="bright"] .tools-directory-brand-check,:root[data-theme="glacial"] .tools-directory-brand-check { background:#315d99;color:#fff; }
@media (max-width:760px) { .tools-directory-grid { grid-template-columns:1fr; } }
@media (max-width:520px) { .tools-directory-toolbar { align-items:stretch; } .tools-directory-card { grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:10px; } .tools-directory-icon { width:42px;height:42px; } .tools-directory-controls { grid-column:1/-1;flex-wrap:wrap; } .tools-directory-brand { flex:1;max-width:none;width:100%; } }
#wallet-request-form { display:grid;gap:12px; }
#wallet-request-form label { display:grid;gap:6px;color:var(--ink);font-size:12px;font-weight:700; }
#wallet-request-form :is(input,textarea,select) { width:100%;min-width:0;padding:11px 13px;border:1px solid rgba(234,244,255,.48);border-radius:15px;background:linear-gradient(140deg,rgba(232,242,255,.18),rgba(108,142,187,.12));color:var(--ink);font:inherit;font-size:13px;outline:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px); }
#wallet-request-form textarea { resize:vertical; }
#wallet-request-form :is(input,textarea,select):focus-visible { outline:2px solid #87baff;outline-offset:2px; }
.wallet-request-pair { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
#wallet-request-form > button { justify-self:start; }
.wallet-form-notice { margin:0;font-size:12px; }
@media (max-width:520px) { .wallet-request-pair { grid-template-columns:1fr; } .wallet-settings-item { align-items:flex-start;flex-direction:column;gap:4px; } }
@media (prefers-reduced-transparency:reduce) {
  .settings-billing-card { background:var(--settings-surface);-webkit-backdrop-filter:none;backdrop-filter:none; }
  .settings-wallet-methods { background:var(--settings-surface);-webkit-backdrop-filter:none;backdrop-filter:none; }
  .wallet-settings-item,.wallet-chat-card,#wallet-request-form :is(input,textarea,select) { background:var(--settings-surface);-webkit-backdrop-filter:none;backdrop-filter:none; }
}

/* Cofounder profiles opened from message mentions. */
.agent-profile-header { align-items:center; }
.agent-profile-header > div { min-width:0; }
.agent-profile-header p { max-width:54ch;line-height:1.45; }
.agent-profile-orb { flex-basis:88px;width:88px;height:88px; }
.agent-profile-orb .living-orb { width:100%;height:100%; }
.agent-profile-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
.agent-profile-file { display:flex;align-items:center;gap:13px;padding:13px 15px;border:1px solid var(--profile-glass-rim);border-radius:19px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow); }
.agent-profile-file-symbol { display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:rgba(100,130,170,.2);font-size:24px; }
.agent-profile-file > span:nth-child(2) { min-width:0;flex:1; }
.agent-profile-file strong,.agent-profile-file small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.agent-profile-file strong { color:var(--profile-ink);font-size:14px; }
.agent-profile-file small { margin-top:3px;color:var(--profile-muted);font-size:11px; }
.agent-profile-file button { flex:none;min-height:36px;padding:7px 13px;border-radius:999px;color:var(--profile-ink); }
.agent-profile-form { display:grid;gap:13px; }
.agent-profile-form h3 { margin-bottom:0; }
.agent-profile-form label { display:grid;gap:6px;color:var(--profile-ink);font-size:12px;font-weight:700; }
.agent-profile-form :is(input:not([type="hidden"]),textarea) { width:100%;padding:11px 13px;border:1px solid var(--profile-glass-rim);border-radius:15px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);color:var(--profile-ink);font:inherit;font-size:13px;line-height:1.45;outline:none; }
.agent-profile-form textarea { min-height:70px;resize:vertical; }
.agent-profile-form :is(input,textarea):focus-visible { border-color:#4b9dff;outline:2px solid #4b9dff;outline-offset:2px; }
.agent-profile-form fieldset { min-width:0;margin:0;padding:0;border:0; }
.agent-profile-form legend { margin-bottom:8px;color:var(--profile-ink);font-size:12px;font-weight:700; }
.agent-profile-colors { display:flex;flex-wrap:wrap;gap:8px; }
.agent-profile-color { display:flex;align-items:center;gap:7px;min-height:38px;padding:5px 9px;border:1px solid var(--profile-glass-rim);border-radius:999px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);color:var(--profile-ink);cursor:pointer; }
.agent-profile-color > span { width:20px;height:20px;border:1px solid rgba(255,255,255,.88);border-radius:50%;background:radial-gradient(circle at 27% 22%,#fff,var(--agent-color-swatch) 63%,#506178);box-shadow:0 1px 5px rgba(23,45,70,.3); }
.agent-profile-color small { font-size:11px;font-weight:650; }
.agent-profile-color.selected { border-color:#4b9dff;box-shadow:inset 0 1px #fff,0 0 0 1px #4b9dff,0 8px 18px rgba(46,116,210,.18); }
.agent-profile-color:focus-visible { outline:2px solid #4b9dff;outline-offset:2px; }
.agent-profile-footer { position:sticky;bottom:0;z-index:2;justify-content:space-between;background:linear-gradient(145deg,rgba(241,247,252,.91),rgba(191,207,224,.9))!important;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px); }
.agent-profile-footer button { padding-inline:19px; }
.living-orb[data-agent-color="silver"] > :is(.living-orb-canvas,.living-orb-fallback) { filter:grayscale(.77) brightness(1.22); }
.living-orb[data-agent-color="sapphire"] > :is(.living-orb-canvas,.living-orb-fallback) { filter:hue-rotate(-20deg) saturate(1.65); }
.living-orb[data-agent-color="violet"] > :is(.living-orb-canvas,.living-orb-fallback) { filter:hue-rotate(48deg) saturate(1.5); }
.living-orb[data-agent-color="rose"] > :is(.living-orb-canvas,.living-orb-fallback) { filter:hue-rotate(100deg) saturate(1.45); }
.living-orb[data-agent-color="graphite"] > :is(.living-orb-canvas,.living-orb-fallback) { filter:grayscale(1) brightness(.72) contrast(1.2); }
@media (max-width:590px) {
  .agent-profile-orb { flex-basis:68px;width:68px;height:68px; }
  .agent-profile-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .agent-profile-file { flex-wrap:wrap; }
  .agent-profile-file button { width:100%; }
  .agent-profile-footer button { flex:1; }
}

/* Cofounder sheet follows the centered mobile profile, with translucent glass controls. */
:root .modal.profile-modal.agent-profile-modal,
:root .create-hub .create-hub-actions {
  --profile-glass:radial-gradient(125% 110% at 8% -25%,rgba(255,255,255,.29),transparent 61%),linear-gradient(145deg,rgba(198,211,235,.16),rgba(98,117,158,.13) 48%,rgba(26,35,56,.28));
  --profile-glass-rim:rgba(227,237,255,.5);
  --profile-glass-shadow:inset 0 1px rgba(255,255,255,.36),inset 0 -1px rgba(89,119,172,.13),0 10px 26px rgba(1,8,24,.18);
}
:root .modal.profile-modal.agent-profile-modal {
  --profile-ink:#f4f6fc;--profile-muted:#aeb8cb;
  width:min(760px,calc(100vw - 32px));max-height:min(830px,calc(100vh - 24px));
  border:1px solid var(--agent-profile-rim,rgba(223,236,255,.56));border-radius:38px;color:var(--profile-ink);
  background:radial-gradient(95% 70% at 0% 0%,rgba(116,133,170,.34),transparent 65%),radial-gradient(80% 65% at 100% 100%,rgba(67,80,119,.22),transparent 75%),linear-gradient(145deg,rgba(36,44,62,.91),rgba(12,19,34,.9) 64%,rgba(11,16,30,.92));
  box-shadow:inset 0 1px rgba(255,255,255,.35),0 30px 100px rgba(0,5,18,.58);
  -webkit-backdrop-filter:blur(38px) saturate(155%);backdrop-filter:blur(38px) saturate(155%);
}
:root .modal.profile-modal.agent-profile-modal :is(.profile-header,.agent-profile-panel,.profile-footer) {
  border:0;background:none;
}
:root .modal.profile-modal.agent-profile-modal .agent-profile-topbar {
  position:sticky;top:0;z-index:5;min-height:83px;padding:13px 24px 10px;
  background:linear-gradient(180deg,rgba(37,44,62,.96),rgba(35,42,59,.88));
  -webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%);
}
:root .modal.profile-modal.agent-profile-modal .agent-profile-grabber {
  width:56px;height:5px;margin:0 auto 17px;border-radius:999px;background:rgba(205,222,243,.7);
}
.agent-profile-context { position:relative;display:flex;align-items:center;justify-content:center;min-height:42px; }
.agent-profile-venture-icons { position:absolute;left:0;display:flex;gap:9px; }
.agent-profile-venture-icon { display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;overflow:hidden;border:1px solid rgba(238,247,255,.57);border-radius:50%;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);color:#fff;font-size:22px;font-weight:750;cursor:pointer; }
.agent-profile-venture-icon img { display:block;width:100%;height:100%;object-fit:cover; }
.agent-profile-role-pill { display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:3px 15px 3px 4px;border:1px solid rgba(240,248,255,.75);border-radius:999px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);color:var(--profile-ink);font-size:15px;font-weight:760;cursor:pointer; }
.agent-profile-role-pill > :is(img,.living-orb) { width:31px;height:31px;object-fit:cover;border-radius:50%; }
.agent-profile-venture-icon:hover,.agent-profile-role-pill:hover { border-color:rgba(255,255,255,.95);filter:brightness(1.12); }
:root .modal.profile-modal.agent-profile-modal.agent-profile-picker-open { overflow:hidden; }
.agent-profile-picker-layer { position:absolute;inset:0;z-index:9;display:grid;place-items:center;padding:100px 22px 24px; }
.agent-profile-picker-layer[hidden] { display:none!important; }
.agent-profile-picker-backdrop { position:absolute;inset:0;background:rgba(4,8,20,.46);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px); }
.agent-profile-picker-sheet { position:relative;width:min(470px,100%);max-height:100%;display:flex;flex-direction:column;padding:18px;border:1px solid rgba(243,249,255,.65);border-radius:32px;background:radial-gradient(90% 75% at 15% 0%,rgba(247,251,255,.27),transparent 72%),linear-gradient(145deg,rgba(103,116,142,.89),rgba(34,46,72,.91) 62%,rgba(27,36,59,.94));box-shadow:inset 0 1px rgba(255,255,255,.64),0 22px 60px rgba(0,6,20,.48);-webkit-backdrop-filter:blur(28px) saturate(145%);backdrop-filter:blur(28px) saturate(145%); }
.agent-profile-picker-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 3px 15px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-picker-heading h3 { margin:0;color:#f7faff;font-size:20px;font-weight:750;letter-spacing:-.025em; }
.agent-profile-picker-close { display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid rgba(237,246,255,.66);border-radius:50%;background:rgba(225,237,255,.2);color:#fff;font-size:25px;cursor:pointer; }
.agent-profile-picker-options { display:grid;gap:8px;min-height:0;overflow:auto;padding:2px 3px 4px;overscroll-behavior:contain; }
.agent-profile-picker-option { display:flex;align-items:center;gap:13px;min-width:0;min-height:66px;padding:8px 12px;border:1px solid rgba(229,239,255,.44);border-radius:25px;background:linear-gradient(120deg,rgba(229,240,255,.23),rgba(150,176,215,.12) 62%,rgba(38,54,85,.17));box-shadow:inset 0 1px rgba(255,255,255,.24),0 5px 16px rgba(4,13,31,.14);color:#f5f8ff;text-align:left;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px); }
.agent-profile-picker-option:hover { border-color:rgba(255,255,255,.84);background:linear-gradient(120deg,rgba(245,250,255,.33),rgba(159,184,220,.2)); }
.agent-profile-picker-option.selected { border-color:rgba(255,255,255,.96);background:linear-gradient(115deg,rgba(251,253,255,.53),rgba(186,204,235,.31) 63%,rgba(112,143,190,.33));box-shadow:inset 0 1px rgba(255,255,255,.8),0 8px 22px rgba(8,20,42,.24); }
.agent-profile-picker-image { display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;border:1px solid rgba(243,249,255,.64);border-radius:50%;background:rgba(52,71,106,.49);font-size:22px;font-weight:750; }
.agent-profile-picker-image img { width:100%;height:100%;object-fit:cover; }
.agent-profile-picker-image > .agent-profile-picker-orb { width:100%;height:100%;display:block; }
.agent-profile-picker-name { flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700; }
.agent-profile-picker-check { display:grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid rgba(248,252,255,.91);border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.91),rgba(168,199,233,.76));box-shadow:inset 0 1px #fff,0 4px 10px rgba(11,25,49,.23);color:#1b334d;font-size:13px;font-weight:800;line-height:1; }
:root .modal.profile-modal.agent-profile-modal .profile-close { position:absolute;top:27px;right:24px;width:39px;height:39px;border-radius:50%;background:var(--profile-glass);color:#fff;font-size:25px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-header { display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 30px 16px;text-align:center; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-orb { flex:none;width:64px;height:64px;margin:0 0 3px;overflow:visible;border:0;border-radius:50%;background:none;box-shadow:none; }
.agent-profile-orb :is(img,.living-orb) { width:100%;height:100%;object-fit:contain; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-header h2 { margin:0!important;color:var(--profile-ink);font-size:29px;font-weight:770;letter-spacing:-.04em; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-header p { max-width:48ch;margin:0!important;color:var(--profile-muted)!important;font-size:14px;line-height:1.45; }
.agent-profile-overview { padding:8px 28px 15px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-metrics > div { display:flex;align-items:center;justify-content:center;min-width:0;min-height:84px;padding:9px;border:1px solid var(--profile-glass-rim);border-radius:44px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);text-align:center;-webkit-backdrop-filter:blur(18px) saturate(145%);backdrop-filter:blur(18px) saturate(145%); }
:root .modal.profile-modal.agent-profile-modal .agent-profile-metrics strong { color:var(--profile-ink);font-size:23px;font-weight:720; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-metrics span { color:var(--profile-muted);font-size:11px;font-weight:620; }
.agent-profile-tabs { position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,1fr);width:min(420px,calc(100% - 56px));min-height:58px;margin:5px auto 0;padding:4px;border:1px solid rgba(224,238,255,.42);border-radius:999px;background:rgba(162,180,215,.11);box-shadow:inset 0 1px rgba(255,255,255,.2);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px); }
.agent-profile-tabs::before { position:absolute;inset:4px auto 4px 4px;width:calc((100% - 8px) / 3);box-sizing:border-box;border:1px solid rgba(247,251,255,.92);border-radius:999px;background:radial-gradient(130% 145% at 18% -25%,rgba(255,255,255,.86),transparent 61%),linear-gradient(135deg,rgba(217,228,249,.85),rgba(151,172,213,.72));box-shadow:inset 0 1px #fff,0 8px 20px rgba(9,20,43,.26),0 2px 8px rgba(155,200,255,.3);content:"";pointer-events:none;transition:transform .32s cubic-bezier(.2,.8,.2,1);-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%); }
.agent-profile-tabs[data-active-tab="files"]::before { transform:translateX(100%); }
.agent-profile-tabs[data-active-tab="context"]::before { transform:translateX(200%); }
.agent-profile-tabs button { position:relative;z-index:1;display:grid;place-items:center;min-width:0;border:1px solid transparent;border-radius:999px;background:transparent;color:#aeb8cc;cursor:pointer;transition:color .2s ease; }
.agent-profile-tabs button:hover { color:#fff; }
.agent-profile-tabs button.active { color:#17273d; }
.agent-profile-tabs svg { width:23px;height:23px;fill:currentColor; }
.agent-profile-panel { width:min(640px,100%);min-height:146px;margin:0 auto;padding:20px 28px 25px; }
.agent-profile-panel[hidden] { display:none!important; }
.agent-profile-panel h3 { margin:0 0 12px;color:var(--profile-muted);font-size:12px;font-weight:760;letter-spacing:.12em;text-align:center;text-transform:uppercase; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-form { display:block; }
.agent-profile-form-card { display:grid;gap:13px;padding:18px;border:1px solid var(--profile-glass-rim);border-radius:30px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);-webkit-backdrop-filter:blur(20px) saturate(145%);backdrop-filter:blur(20px) saturate(145%); }
.agent-profile-form label { display:grid;gap:6px;color:var(--profile-muted);font-size:12px;font-weight:650; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-form :is(input:not([type="hidden"]),textarea) { min-height:44px;padding:11px 15px;border:1px solid rgba(223,235,253,.35);border-radius:23px;background:linear-gradient(140deg,rgba(229,238,255,.16),rgba(21,30,52,.35));box-shadow:inset 0 1px rgba(255,255,255,.2);color:#fff;font-size:14px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px); }
:root .modal.profile-modal.agent-profile-modal .agent-profile-form textarea { min-height:63px; }
.agent-profile-form fieldset { min-width:0;margin:0;padding:0;border:0; }
.agent-profile-form legend { margin-bottom:8px;color:var(--profile-muted);font-size:12px;font-weight:650; }
.agent-profile-colors { display:flex;flex-wrap:wrap;justify-content:center;gap:8px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-color { display:inline-flex;align-items:center;gap:6px;min-height:39px;padding:4px 10px 4px 4px;border:1px solid rgba(224,237,255,.4);border-radius:999px;background:rgba(206,221,247,.13);box-shadow:inset 0 1px rgba(255,255,255,.22);color:#eef4ff;cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px); }
.agent-profile-color img { width:28px;height:28px;object-fit:cover;border-radius:50%; }
.agent-profile-color[data-agent-profile-color="silver"] img { filter:grayscale(.77) brightness(1.22); }
.agent-profile-color[data-agent-profile-color="sapphire"] img { filter:hue-rotate(-20deg) saturate(1.65); }
.agent-profile-color[data-agent-profile-color="violet"] img { filter:hue-rotate(48deg) saturate(1.5); }
.agent-profile-color[data-agent-profile-color="rose"] img { filter:hue-rotate(100deg) saturate(1.45); }
.agent-profile-color[data-agent-profile-color="graphite"] img { filter:grayscale(1) brightness(.72) contrast(1.2); }
.agent-profile-color small { font-size:11px;font-weight:650; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-color.selected { border-color:rgba(255,255,255,.93);background:linear-gradient(130deg,rgba(246,250,255,.44),rgba(189,208,242,.45));box-shadow:inset 0 1px #fff,0 7px 17px rgba(3,13,36,.19);color:#fff; }
:root .modal.profile-modal.agent-profile-modal :is(.agent-profile-save,.agent-profile-footer button) { display:flex;align-items:center;justify-content:center;gap:8px;width:min(100%,500px);min-height:51px;margin:15px auto 0;padding:9px 18px;border:1px solid rgba(255,255,255,.9);border-radius:999px;background:radial-gradient(110% 150% at 13% -20%,rgba(255,255,255,.93),transparent 59%),linear-gradient(115deg,rgba(236,244,255,.91),rgba(177,205,241,.78) 57%,rgba(195,184,227,.73));box-shadow:inset 0 1px #fff,0 9px 24px rgba(24,43,80,.24);color:#14253a;font-size:15px;font-weight:750;cursor:pointer;-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%); }
:root .modal.profile-modal.agent-profile-modal :is(.agent-profile-save,.agent-profile-footer button):hover { transform:translateY(-1px);filter:brightness(1.06); }
:root .modal.profile-modal.agent-profile-modal .agent-profile-file { display:flex;align-items:center;gap:13px;width:100%;min-height:74px;padding:13px 16px;border:1px solid var(--profile-glass-rim);border-radius:28px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);color:var(--profile-ink);text-align:left;cursor:pointer;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px); }
.agent-profile-file-symbol { display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid rgba(244,249,255,.52);border-radius:50%;background:rgba(217,228,249,.23); }
.agent-profile-file-symbol svg { width:21px;height:21px;fill:currentColor; }
.agent-profile-file > span:nth-child(2) { min-width:0;flex:1; }
.agent-profile-file strong,.agent-profile-file small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-file strong { color:var(--profile-ink);font-size:14px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-file small { margin-top:3px;color:var(--profile-muted);font-size:11px; }
.agent-profile-file-chevron { color:var(--profile-muted);font-size:23px; }
.agent-profile-context-card { padding:18px 20px;border:1px solid var(--profile-glass-rim);border-radius:28px;background:var(--profile-glass);box-shadow:var(--profile-glass-shadow);text-align:center; }
.agent-profile-context-card p { margin:0;color:var(--profile-ink);font-size:13px;line-height:1.5; }
.agent-profile-context-card p + p { margin-top:10px;color:var(--profile-muted);font-size:12px; }
:root .modal.profile-modal.agent-profile-modal .agent-profile-footer { position:sticky;bottom:0;z-index:4;display:block;margin-top:0;padding:13px 28px 18px;border-top:1px solid rgba(224,237,255,.16);background:linear-gradient(180deg,rgba(25,33,51,.84),rgba(20,28,46,.96))!important;-webkit-backdrop-filter:blur(23px);backdrop-filter:blur(23px); }
:root .modal.profile-modal.agent-profile-modal .agent-profile-footer button { width:min(100%,540px);margin:0 auto; }
/* Let the sheet's dark glass continue behind both sticky controls. */
:root:not([data-theme="bright"],[data-theme="glacial"]) .modal.profile-modal.agent-profile-modal :is(.agent-profile-topbar,.agent-profile-footer) {
  background:rgba(8,11,16,.16)!important;
  border-color:transparent;
  -webkit-backdrop-filter:blur(26px);
  backdrop-filter:blur(26px);
}
.agent-profile-footer button img { width:28px;height:28px;object-fit:cover;border-radius:50%; }
@media (max-width:590px) {
  :root .modal.profile-modal.agent-profile-modal { width:calc(100vw - 16px);max-height:calc(100vh - 12px);border-radius:32px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-topbar { padding-inline:16px; }
  :root .modal.profile-modal.agent-profile-modal .profile-close { right:16px; }
  .agent-profile-venture-icon { width:31px;height:31px; }
  .agent-profile-role-pill { min-height:33px;padding-right:10px;font-size:12px; }
  .agent-profile-role-pill > :is(img,.living-orb) { width:26px;height:26px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-orb { width:56px;height:56px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-header h2 { font-size:24px; }
  .agent-profile-overview { padding-inline:12px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-metrics { gap:5px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-metrics > div { min-height:66px;padding:5px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-metrics strong { font-size:17px; }
  :root .modal.profile-modal.agent-profile-modal .agent-profile-metrics span { font-size:9px; }
  .agent-profile-panel { padding-inline:14px; }
  .agent-profile-form-card { padding:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .agent-profile-tabs::before,.agent-profile-tabs button,:root .modal.profile-modal.agent-profile-modal :is(.agent-profile-save,.agent-profile-footer button) { transition:none; }
  :root .modal.profile-modal.agent-profile-modal :is(.agent-profile-save,.agent-profile-footer button):hover { transform:none; }
}
@media (prefers-reduced-transparency:reduce) {
  :root .modal.profile-modal.agent-profile-modal { background:#222c40;-webkit-backdrop-filter:none;backdrop-filter:none; }
  :root .modal.profile-modal.agent-profile-modal :is(.agent-profile-file,.agent-profile-form-card,.agent-profile-context-card,.agent-profile-metrics > div,.agent-profile-color,.agent-profile-role-pill) { background:#35435b;-webkit-backdrop-filter:none;backdrop-filter:none; }
}

/* The voice sign-in state shares the Settings account form and its glass controls. */
.voice-call-panel.voice-auth-panel {
  --settings-ink:#f4f8ff;
  --settings-muted:#b9c9dc;
  --settings-control:linear-gradient(140deg,rgba(244,250,255,.2),rgba(140,182,228,.1) 60%,rgba(20,38,70,.13));
  width:min(630px,calc(100vw - 38px));
  max-height:calc(100dvh - 130px);
  overflow-y:auto;
  padding:22px 26px 26px;
  border-color:rgba(238,248,255,.66);
  border-radius:32px;
  background:radial-gradient(90% 55% at 58% -9%,rgba(232,247,255,.22),transparent 70%),linear-gradient(135deg,rgba(84,126,177,.47),rgba(17,37,68,.7) 52%,rgba(33,65,112,.55));
  box-shadow:inset 0 1px rgba(255,255,255,.57),inset 0 -1px rgba(7,20,42,.24),0 28px 75px rgba(1,8,21,.35),0 0 0 1px rgba(161,205,255,.11);
}
.voice-auth-panel .settings-auth-screen { padding:12px 0 0; }
:root[data-theme="bright"] .voice-call-panel.voice-auth-panel,
:root[data-theme="glacial"] .voice-call-panel.voice-auth-panel {
  --settings-ink:#162b46;
  --settings-muted:#4d6381;
  --settings-control:linear-gradient(135deg,rgba(255,255,255,.42),rgba(216,235,255,.2) 56%,rgba(116,157,209,.13));
  background:radial-gradient(85% 60% at 45% -12%,rgba(255,255,255,.48),transparent 72%),linear-gradient(135deg,rgba(250,253,255,.67),rgba(212,232,252,.56) 54%,rgba(151,195,238,.47));
  border-color:rgba(255,255,255,.87);
}
@media (max-width:600px) {
  .voice-call-panel.voice-auth-panel { padding:20px 17px 22px;max-height:calc(100dvh - 115px); }
  .voice-auth-panel .settings-auth-title { font-size:24px; }
  .voice-auth-panel .settings-auth-title img { width:145px; }
}

/* The message control reveals a transcript tray attached beneath the draggable bar. */
.voice-call-layer .voice-call-bar { order:1; }
.voice-call-layer .voice-call-panel:not(.voice-auth-panel) { order:2; }
.voice-call-layer .voice-call-panel.voice-auth-panel { order:0; }
.voice-call-layer .voice-settings-panel { order:3; }
.voice-call-layer.transcript-open { gap:0; }
.voice-call-layer.transcript-open .voice-call-bar { position:relative;z-index:2;border-radius:34px 34px 15px 15px;border-bottom-color:rgba(237,246,255,.25);box-shadow:inset 0 2px 1px rgba(255,255,255,.56),0 2px 14px rgba(0,0,0,.13); }
.voice-call-layer.transcript-open .voice-call-panel:not(.voice-auth-panel) { width:min(550px,calc(100vw - 28px));padding:0 14px 14px;border-top:0;border-radius:0 0 30px 30px;background:radial-gradient(ellipse 90% 110% at 18% 0%,rgba(242,249,255,.24),transparent 76%),linear-gradient(155deg,rgba(129,155,191,.38),rgba(25,39,67,.65));box-shadow:inset 0 -1px rgba(255,255,255,.25),0 17px 38px rgba(2,10,25,.29);animation:voice-settings-in .22s cubic-bezier(.2,.75,.25,1) both; }
.voice-call-layer.transcript-open .voice-panel-heading { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.voice-call-layer.transcript-open .voice-accessible-transcript { max-height:170px!important;min-height:63px!important;margin:0!important;padding:19px 8px 12px!important;border-top:1px solid rgba(236,246,255,.22)!important;font-size:15px;text-align:left; }
.voice-call-layer.transcript-open .voice-accessible-transcript:has([data-voice-empty]) { display:grid;place-items:center; }
.voice-video-preview { width:min(100%,360px);margin:12px auto 14px;padding:7px;display:grid;gap:8px;border:1px solid rgba(244,250,255,.64);border-radius:25px;background:radial-gradient(ellipse 90% 70% at 20% 0%,rgba(255,255,255,.32),transparent 78%),linear-gradient(145deg,rgba(180,203,232,.29),rgba(54,76,111,.4));-webkit-backdrop-filter:blur(22px) saturate(175%);backdrop-filter:blur(22px) saturate(175%);box-shadow:inset 0 1px rgba(255,255,255,.5),0 9px 26px rgba(4,14,31,.2); }
.voice-video-preview[hidden] { display:none; }
.voice-video-preview video { width:100%;aspect-ratio:4/3;display:block;object-fit:cover;transform:scaleX(-1);border-radius:19px;background:rgba(3,8,16,.55); }
.voice-video-preview span { padding:0 7px 3px;color:#dce7f5;font-size:12px;text-align:center; }
.voice-view-question { justify-self:center;min-height:36px;padding:7px 17px;border:1px solid rgba(242,249,255,.62);border-radius:999px;background:linear-gradient(145deg,rgba(246,251,255,.3),rgba(120,157,205,.2));color:#f3f8ff;font:inherit;font-size:13px;font-weight:650;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.48),0 5px 13px rgba(5,15,32,.15); }
.voice-call-duration { flex:none;min-width:34px;color:#f4f8ff;font-size:12px;font-variant-numeric:tabular-nums;text-align:center; }
.voice-call-bar #voice-playback-button[aria-pressed="true"] { color:#f2f7ff;border-color:rgba(226,238,255,.68);background:linear-gradient(145deg,rgba(61,78,105,.77),rgba(15,28,50,.82)); }
.voice-call-layer.transcript-open .voice-video-preview { margin:12px auto 6px; }
.voice-call-bar #voice-camera-button[aria-pressed="true"] { color:#fff;border-color:rgba(226,238,255,.68);background:radial-gradient(circle at 26% 12%,rgba(232,242,255,.2),transparent 55%),linear-gradient(145deg,rgba(61,78,105,.77),rgba(15,28,50,.82)); }
:root[data-theme="bright"] .voice-video-preview span,:root[data-theme="glacial"] .voice-video-preview span { color:#284866; }
:root[data-theme="bright"] .voice-view-question,:root[data-theme="glacial"] .voice-view-question { color:#1b3653;border-color:rgba(255,255,255,.82);background:linear-gradient(145deg,rgba(255,255,255,.54),rgba(155,193,236,.35)); }
@media(max-width:520px){.voice-call-bar{padding:6px;gap:4px}.voice-call-layer .voice-agent-orb{width:38px;height:38px;min-width:38px;min-height:38px}.voice-call-bar .voice-control{width:32px;height:32px}.voice-call-bar .voice-control svg{width:16px;height:16px}.voice-waveform{min-width:16px;gap:2px;padding:0}.voice-waveform i{flex-basis:3px}.voice-waveform i:nth-child(n+9){display:none}.voice-call-duration{min-width:30px;font-size:11px}}
@media(max-width:400px){.voice-waveform,.voice-call-duration{display:none}.voice-call-bar{gap:4px;padding:6px}.voice-call-layer .voice-agent-orb{width:36px;height:36px;min-width:36px;min-height:36px}.voice-call-bar .voice-control{width:32px;height:32px}}
.voice-accessible-transcript [data-voice-empty] { margin:0;color:#bac7da;text-align:center; }
.voice-call-layer.transcript-open .voice-text-form { margin:0 2px 2px; }
:root[data-theme="bright"] .voice-call-layer.transcript-open .voice-call-panel:not(.voice-auth-panel),:root[data-theme="glacial"] .voice-call-layer.transcript-open .voice-call-panel:not(.voice-auth-panel) { color:#18324e;border-color:rgba(255,255,255,.84);background:radial-gradient(ellipse 90% 110% at 20% 0%,rgba(255,255,255,.42),transparent 80%),linear-gradient(145deg,rgba(236,247,255,.62),rgba(174,208,241,.4)); }
:root[data-theme="bright"] .voice-accessible-transcript [data-voice-empty],:root[data-theme="glacial"] .voice-accessible-transcript [data-voice-empty] { color:#526a84; }
:root[data-theme="bright"] .voice-call-layer.transcript-open .voice-text-form,:root[data-theme="glacial"] .voice-call-layer.transcript-open .voice-text-form { background:rgba(255,255,255,.32);border-color:rgba(255,255,255,.67); }
:root[data-theme="bright"] .voice-call-layer.transcript-open .voice-text-form input,:root[data-theme="glacial"] .voice-call-layer.transcript-open .voice-text-form input { color:#17304e; }
@media (prefers-reduced-transparency:reduce) { .voice-call-layer.transcript-open .voice-call-panel:not(.voice-auth-panel) { background:#273a56;-webkit-backdrop-filter:none;backdrop-filter:none; }:root[data-theme="bright"] .voice-call-layer.transcript-open .voice-call-panel:not(.voice-auth-panel),:root[data-theme="glacial"] .voice-call-layer.transcript-open .voice-call-panel:not(.voice-auth-panel) { background:#d8e9fa; } }

/* Voice preferences use the same translucent glass for the pill and its menu. */
.voice-settings-panel { position:relative;overflow:visible;background:radial-gradient(ellipse 90% 90% at 18% 0%,rgba(245,251,255,.23),transparent 75%),linear-gradient(145deg,rgba(157,182,213,.35),rgba(52,75,110,.36) 62%,rgba(29,45,73,.52));-webkit-backdrop-filter:blur(38px) saturate(185%);backdrop-filter:blur(38px) saturate(185%); }
.voice-call-layer.settings-open .voice-call-bar,
.voice-call-layer.settings-open .voice-settings-panel {
  width:min(550px,calc(100vw - 28px));
  border-color:rgba(241,248,255,.72);
  background:radial-gradient(ellipse 75% 85% at 20% 0%,rgba(255,255,255,.24),transparent 76%),linear-gradient(145deg,rgba(206,223,245,.18),rgba(101,128,163,.12) 52%,rgba(54,73,106,.2));
  -webkit-backdrop-filter:blur(16px) saturate(165%);
  backdrop-filter:blur(16px) saturate(165%);
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.7),inset 0 -1px rgba(194,221,255,.22),0 14px 34px rgba(4,13,31,.22),0 0 20px rgba(172,204,248,.1);
}
.voice-call-layer.settings-open .voice-call-bar {
  border-radius:34px 34px 15px 15px;
  border-bottom-color:transparent;
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.7),0 5px 15px rgba(4,13,31,.12);
}
.voice-call-layer.settings-open .voice-settings-panel {
  margin-top:-1px;
  border-top:0;
  border-radius:0 0 34px 34px;
  box-shadow:inset 0 -1px rgba(194,221,255,.22),0 14px 34px rgba(4,13,31,.22),0 0 20px rgba(172,204,248,.1);
}
:root[data-theme="bright"] .voice-call-layer.settings-open .voice-call-bar,
:root[data-theme="bright"] .voice-call-layer.settings-open .voice-settings-panel,
:root[data-theme="glacial"] .voice-call-layer.settings-open .voice-call-bar,
:root[data-theme="glacial"] .voice-call-layer.settings-open .voice-settings-panel {
  color:#193451;
  border-color:rgba(255,255,255,.86);
  background:radial-gradient(ellipse 75% 90% at 18% 0%,rgba(255,255,255,.38),transparent 72%),linear-gradient(145deg,rgba(255,255,255,.24),rgba(221,238,255,.12) 52%,rgba(167,202,239,.14));
}
.voice-settings-panel::before {
  content:"";
  position:absolute;
  top:0;
  left:18px;
  right:18px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(238,247,255,.22) 12%,rgba(238,247,255,.22) 88%,transparent);
  pointer-events:none;
}
.voice-setting-row { position:relative; }
.voice-setting-row:has(.voice-select-menu:not([hidden])) { z-index:5; }
.voice-select-wrap { position:relative;min-width:112px;max-width:65%; }
.voice-select-trigger { min-width:112px;max-width:100%;min-height:39px;padding:7px 11px 7px 15px;display:flex;align-items:center;justify-content:space-between;gap:13px;border:1px solid rgba(242,249,255,.67);border-radius:999px;background:radial-gradient(ellipse 80% 80% at 28% 0%,rgba(255,255,255,.4),transparent 80%),linear-gradient(145deg,rgba(217,234,255,.24),rgba(105,144,191,.12));-webkit-backdrop-filter:blur(24px) saturate(165%);backdrop-filter:blur(24px) saturate(165%);box-shadow:inset 0 1px rgba(255,255,255,.62),inset 0 -1px rgba(149,196,247,.2),0 6px 17px rgba(7,24,52,.14);color:#f3f8ff;font:inherit;font-size:14px;font-weight:650;text-align:left;white-space:nowrap;cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease; }
.voice-select-trigger:hover,.voice-select-trigger[aria-expanded="true"] { background:radial-gradient(ellipse 80% 80% at 28% 0%,rgba(255,255,255,.52),transparent 80%),linear-gradient(145deg,rgba(226,241,255,.37),rgba(123,163,211,.23));box-shadow:inset 0 1px rgba(255,255,255,.8),0 7px 19px rgba(7,24,52,.18); }
.voice-select-trigger > svg { width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease; }
.voice-select-trigger[aria-expanded="true"] > svg { transform:rotate(180deg); }
.voice-select-menu { position:absolute;top:calc(100% + 7px);right:0;z-index:8;display:grid;gap:3px;min-width:max(100%,190px);max-height:min(266px,48vh);overflow-y:auto;padding:6px;border:1px solid rgba(242,249,255,.72);border-radius:21px;background:radial-gradient(ellipse 100% 75% at 20% 0%,rgba(250,253,255,.34),transparent 75%),linear-gradient(150deg,rgba(155,182,215,.59),rgba(36,55,86,.76));-webkit-backdrop-filter:blur(38px) saturate(190%);backdrop-filter:blur(38px) saturate(190%);box-shadow:inset 0 1px rgba(255,255,255,.55),0 17px 38px rgba(4,15,34,.32);animation:voice-settings-in .17s ease-out both; }
.voice-select-menu[hidden] { display:none; }
.voice-select-option { width:100%;min-height:35px;padding:7px 12px;border:1px solid transparent;border-radius:15px;background:transparent;color:#f4f8ff;font:inherit;font-size:13px;font-weight:570;text-align:left;white-space:nowrap;cursor:pointer; }
.voice-option-label { display:inline-flex;align-items:center;gap:8px;min-width:0; }
.voice-option-symbol { width:17px;height:17px;flex:none;fill:currentColor; }
.voice-select-option .voice-option-symbol { width:18px;height:18px; }
.voice-select-trigger .voice-option-label { overflow:hidden;text-overflow:ellipsis; }
.voice-select-option:hover,.voice-select-option:focus-visible { outline:none;border-color:rgba(244,250,255,.47);background:rgba(226,239,255,.19); }
.voice-select-option[aria-selected="true"] { border-color:rgba(248,252,255,.67);background:linear-gradient(145deg,rgba(246,251,255,.44),rgba(156,193,237,.25));box-shadow:inset 0 1px rgba(255,255,255,.55);font-weight:730; }
:root[data-theme="bright"] .voice-settings-panel,:root[data-theme="glacial"] .voice-settings-panel { background:radial-gradient(ellipse 90% 95% at 18% 0%,rgba(255,255,255,.47),transparent 77%),linear-gradient(145deg,rgba(235,247,255,.55),rgba(165,201,238,.47) 68%,rgba(103,152,208,.45));border-color:rgba(255,255,255,.86); }
:root[data-theme="bright"] .voice-select-trigger,:root[data-theme="glacial"] .voice-select-trigger { color:#17304e;background:radial-gradient(ellipse 80% 80% at 28% 0%,rgba(255,255,255,.57),transparent 80%),linear-gradient(145deg,rgba(255,255,255,.34),rgba(174,209,246,.19)); }
:root[data-theme="bright"] .voice-select-menu,:root[data-theme="glacial"] .voice-select-menu { background:radial-gradient(ellipse 100% 75% at 20% 0%,rgba(255,255,255,.58),transparent 75%),linear-gradient(145deg,rgba(228,242,255,.78),rgba(139,184,231,.72));border-color:rgba(255,255,255,.87); }
:root[data-theme="bright"] .voice-select-option,:root[data-theme="glacial"] .voice-select-option { color:#17304e; }
:root[data-theme="bright"] .voice-select-option:hover,:root[data-theme="glacial"] .voice-select-option:hover,:root[data-theme="bright"] .voice-select-option:focus-visible,:root[data-theme="glacial"] .voice-select-option:focus-visible { background:rgba(255,255,255,.32); }

/* The composer call button carries the current Cofounder's orb colour and sheen. */
#live-voice-button { --voice-top:#d5e7ff;--voice-mid:#7da9e0;--voice-bottom:#42629f;position:relative;isolation:isolate;overflow:hidden;color:#fff;border-color:rgba(245,250,255,.8);background:radial-gradient(circle at 28% 14%,rgba(255,255,255,.9),transparent 39%),radial-gradient(circle at 70% 75%,var(--voice-bottom),transparent 65%),linear-gradient(150deg,var(--voice-top),var(--voice-mid) 53%,var(--voice-bottom));box-shadow:inset 0 1px 1px rgba(255,255,255,.95),inset 0 -2px 3px rgba(10,26,60,.28),0 4px 15px rgba(23,59,109,.27); }
#live-voice-button[data-agent-role="find"] { --voice-top:#86c6ff;--voice-mid:#2474c3;--voice-bottom:#082650; }
#live-voice-button[data-agent-role="build"] { --voice-top:#bccce8;--voice-mid:#547098;--voice-bottom:#15263f; }
#live-voice-button[data-agent-role="sell"] { --voice-top:#ffe8f7;--voice-mid:#d69ce3;--voice-bottom:#8759ab; }
#live-voice-button[data-agent-color="silver"] { --voice-top:#f8fbff;--voice-mid:#adbfd2;--voice-bottom:#5c718b; }
#live-voice-button[data-agent-color="sapphire"] { --voice-top:#b6e0ff;--voice-mid:#367cdd;--voice-bottom:#1b367e; }
#live-voice-button[data-agent-color="violet"] { --voice-top:#e5d6ff;--voice-mid:#a37adb;--voice-bottom:#493990; }
#live-voice-button[data-agent-color="rose"] { --voice-top:#ffdfeb;--voice-mid:#e787b7;--voice-bottom:#8e456e; }
#live-voice-button[data-agent-color="graphite"] { --voice-top:#a9b7c9;--voice-mid:#546479;--voice-bottom:#1d293a; }
#live-voice-button .live-voice-orb-texture { position:absolute;inset:-5px;width:calc(100% + 10px);height:calc(100% + 10px);object-fit:cover;opacity:.62;mix-blend-mode:screen;filter:blur(5px) saturate(1.3);pointer-events:none; }
#live-voice-button[data-agent-color="silver"] .live-voice-orb-texture { filter:blur(5px) grayscale(.77) brightness(1.22); }
#live-voice-button[data-agent-color="sapphire"] .live-voice-orb-texture { filter:blur(5px) hue-rotate(-20deg) saturate(1.65); }
#live-voice-button[data-agent-color="violet"] .live-voice-orb-texture { filter:blur(5px) hue-rotate(48deg) saturate(1.5); }
#live-voice-button[data-agent-color="rose"] .live-voice-orb-texture { filter:blur(5px) hue-rotate(100deg) saturate(1.45); }
#live-voice-button[data-agent-color="graphite"] .live-voice-orb-texture { filter:blur(5px) grayscale(1) brightness(.72) contrast(1.2); }
#live-voice-button::after { content:"";position:absolute;inset:1px;border-radius:50%;border:1px solid rgba(255,255,255,.5);box-shadow:inset 0 1px 2px rgba(255,255,255,.55);pointer-events:none; }
#live-voice-button svg { position:relative;z-index:1;width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2.7;stroke-linecap:round;filter:drop-shadow(0 1px 2px rgba(9,26,51,.72)); }
#live-voice-button:hover { filter:brightness(1.08); }
.live-video-button { width:42px;flex:none;display:grid;place-items:center;border:1px solid rgba(242,249,255,.64)!important;background:radial-gradient(circle at 28% 14%,rgba(255,255,255,.37),transparent 58%),linear-gradient(145deg,rgba(176,199,228,.26),rgba(40,61,94,.34))!important;color:#f5f9ff!important;box-shadow:inset 0 1px rgba(255,255,255,.42),0 4px 13px rgba(0,0,0,.15);transition:transform .18s ease,background .18s ease,box-shadow .18s ease; }
.live-video-button svg { width:19px;height:19px;fill:currentColor;stroke:none; }
.live-video-button:hover,.live-video-button[aria-pressed="true"] { transform:translateY(-1px);background:radial-gradient(circle at 28% 14%,rgba(255,255,255,.55),transparent 58%),linear-gradient(145deg,rgba(198,219,247,.4),rgba(74,103,148,.44))!important;box-shadow:inset 0 1px rgba(255,255,255,.65),0 6px 16px rgba(4,16,36,.2); }
:root[data-theme="bright"] .live-video-button,:root[data-theme="glacial"] .live-video-button { color:#1a3553!important;border-color:rgba(255,255,255,.85)!important;background:radial-gradient(circle at 28% 14%,rgba(255,255,255,.75),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.5),rgba(153,193,236,.34))!important; }

@media (prefers-reduced-transparency:reduce) { .voice-settings-panel { background:#273a56;-webkit-backdrop-filter:none;backdrop-filter:none; }.voice-select-trigger,.voice-select-menu { -webkit-backdrop-filter:none;backdrop-filter:none; }.voice-select-menu { background:#30415e; }:root[data-theme="bright"] .voice-settings-panel,:root[data-theme="glacial"] .voice-settings-panel { background:#d8e9fa; }:root[data-theme="bright"] .voice-select-menu,:root[data-theme="glacial"] .voice-select-menu { background:#d4e7fa; } }

/* One attachment presentation for all Cofounder file deliveries. */
.file-delivery-card { display:flex;align-items:center;gap:20px;width: min(100%,560px);min-width:0;min-height:112px;margin:14px 0 0;padding:23px 28px;border:1px solid #343434;border-radius:32px;background:#242424;color:#f4f4f4;font:inherit;text-align:left;text-decoration:none;white-space:normal;cursor:pointer;box-sizing:border-box;transition:background .15s ease,border-color .15s ease; }
.file-delivery-card:hover { background:#2c2c2c;border-color:#555; }
.file-delivery-card:focus-visible { outline:2px solid #87bfff;outline-offset:3px; }
.file-delivery-copy { display:grid;gap:5px;min-width:0;flex:1; }
.file-delivery-name { color:#f4f4f4;font-size:19px;font-weight:450;line-height:1.3;overflow-wrap:anywhere; }
.file-delivery-size { color:#aaa;font-size:17px;font-weight:400;line-height:1.3; }
.file-delivery-icon { display:flex;flex-direction:column;flex:none;width:48px;height:60px;overflow:hidden;border:1px solid #494949;border-radius:11px;background:#343434; }
.file-delivery-icon svg { display:block;width:100%;height:43px;fill:none;stroke:#ddd;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.file-delivery-icon-sheet svg { stroke:#666;stroke-width:.65; }
.file-delivery-icon i { display:block;flex:1;background:var(--file-accent); }
@media (max-width:520px) { .file-delivery-card { gap:14px;padding:18px;border-radius:26px;min-height:96px; }.file-delivery-name { font-size:16px; }.file-delivery-size { font-size:14px; } }

/* Resizable Cofounder OS pane, aligned with the app's sidebar drag handle. */
@media (min-width:821px) {
  .desktop-shell.browser-open { grid-template-columns:var(--sidebar-layout-width) minmax(280px,1fr) minmax(400px,var(--browser-layout-width,1.12fr))!important; }
  .desktop-shell.browser-resizing { transition:none; }
  .browser-resizer { position:absolute;z-index:72;top:14px;bottom:14px;width:18px;padding:0;border:0;outline:0;background:transparent;display:grid;place-items:center;cursor:col-resize;touch-action:none;transition:right .34s cubic-bezier(.2,.75,.2,1); }
  .browser-resizer span { width:4px;height:72px;border:1px solid rgba(218,237,255,.46);border-radius:999px;opacity:0;transform:scaleY(.75);background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(133,184,240,.42) 48%,rgba(255,255,255,.18));box-shadow:inset 0 1px 1px rgba(255,255,255,.75),0 0 18px rgba(91,164,244,.38),0 5px 14px rgba(0,0,0,.3);-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);transition:opacity .18s ease,transform .18s ease; }
  .browser-resizer:hover span,.browser-resizer:focus-visible span,.desktop-shell.browser-resizing .browser-resizer span { opacity:1;transform:scaleY(1); }
  .browser-resizer:focus-visible span { outline:2px solid rgba(169,210,255,.84);outline-offset:4px; }
  .desktop-shell.browser-resizing .browser-resizer { transition:none; }
  .desktop-shell.browser-resizing .cofounder-browser { transition:none; }
  .browser-resizer[hidden] { display:none!important; }
  body.is-resizing-browser { cursor:col-resize;user-select:none; }
}
@media (max-width:820px) { .browser-resizer { display:none!important; } }
@media (min-width:821px) and (max-height:799px) {
  .desktop-shell.browser-open { grid-template-columns:var(--sidebar-layout-width) minmax(280px,1fr) minmax(400px,var(--browser-layout-width,1.12fr))!important; }
}

/* Keep chat fully usable while Cofounder OS takes most of the window. */
.workspace { container-name:chat-workspace;container-type:inline-size; }
.composer-actions { display:contents; }
.composer { height:auto;column-gap:12px; }
.composer-message-field { display:grid;grid-template-columns:minmax(0,1fr);align-items:center;flex:1;min-width:0; }
.composer-message-field #composer-input { grid-area:1 / 1;width:100%;min-width:0; }
#composer-input::placeholder { opacity:0; }
.composer-compact-prompt { display:none; }
#composer-input:placeholder-shown + .composer-compact-prompt {
  grid-area:1 / 1;
  display:flex;
  min-width:0;
  flex-wrap:nowrap;
  white-space:nowrap;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:13px;
  line-height:21px;
  pointer-events:none;
}
.composer-compact-prompt > span { flex-shrink:0; }
.composer-compact-prompt > span:first-child,
#composer-recipient-label { flex:0 0 auto;white-space:nowrap; }
#composer-recipient, #composer-recipient:not(.team-orbs) > .composer-recipient-orb {
  display:block;
  width:21px;
  height:21px;
}

/* Give the complete prompt priority over the call controls in split view. */
@container chat-workspace (max-width:620px) {
  .composer {
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    grid-template-rows:minmax(34px,auto) auto;
    height:auto;
    gap:8px 12px;
    padding:10px 12px;
    border-radius:28px;
  }
  .composer-leading { grid-area:2 / 1;align-self:center;justify-self:start; }
  .composer-message-field { grid-area:1 / 1 / 2 / -1; }
  .composer-actions {
    grid-area:2 / 1 / 3 / -1;
    display:flex;
    justify-self:end;
    align-self:end;
    align-items:center;
    gap:8px;
  }
}

@container chat-workspace (max-width:380px) {
  .workspace { --chat-header-height:142px; }
  .workspace-header { height:var(--chat-header-height);padding:10px 12px 0; }
  .chat-drawer-button,
  .workspace-header > .icon-button { width:38px;height:38px;min-width:38px; }
  .agent-heading { top:8px;width:min(218px,58%);gap:4px; }
  .agent-heading .orb-wrap { width:56px;height:56px;flex-basis:56px;padding:4px; }
  .agent-status-card { max-width:100%;padding:4px 9px 5px; }
  .agent-heading[data-execution-state="working"] .agent-status-card,
  .agent-heading[data-execution-state="ready"] .agent-status-card { width:100%;padding:6px 10px 7px; }
  #header-title { font-size:10.5px; }
  .agent-execution-line { font-size:9.5px; }

  .conversation { padding:12px 14px 22px; }
  .conversation-lane .message.user { padding:6px 0 14px; }
  .conversation-lane .message.user .bubble,
  .conversation-lane .workflow-colleague,
  .conversation-lane .agent-bubble.agent-exchange-text,
  .conversation-lane .agent-choice-wrap,
  .conversation-lane .activity-line,
  .conversation-lane .computer-card { max-width:100%; }
  .conversation-lane .agent-bubble { max-width:100%;padding:12px 14px;border-radius:8px 19px 19px 19px;font-size:13.5px;line-height:1.45;overflow-wrap:anywhere; }

  .composer-area { padding:5px 12px 12px; }
  .suggestion-carousel { grid-template-columns:minmax(0,1fr) 36px;gap:7px;margin-bottom:7px; }
  .wallet-chat-action { display:none; }
  .suggestion { max-width:calc(100cqw - 75px);overflow:hidden;text-overflow:ellipsis; }
  .composer {
    height:auto;
    min-height:94px;
    padding:9px 10px;
    display:grid;
    grid-template-columns:max-content minmax(0,1fr);
    grid-template-rows:minmax(34px,auto) auto;
    gap:5px 10px;
    border-radius:28px;
  }
  /* Minimized composer: prompt above, all controls on one shared bottom row. */
  .composer-leading { grid-column:1;grid-row:2;align-self:center;justify-self:start; }
  .composer-message-field { grid-column:1 / -1;grid-row:1; }
  .composer input { font-size:13px; }
  .composer-actions {
    grid-area:2 / 1 / 3 / -1;
    justify-self:end;
    align-self:end;
    display:flex;
    align-items:center;
    gap:inherit;
  }
  .mic-button,.live-voice-button,.live-video-button,.send-button { width:38px;height:38px;min-width:38px;justify-self:end; }
}

@container chat-workspace (max-width:315px) {
  .workspace { --chat-header-height:128px; }
  .agent-heading { width:min(180px,56%); }
  .agent-heading .orb-wrap { width:50px;height:50px;flex-basis:50px; }
  .conversation { padding-inline:10px; }
  .composer-area { padding-inline:9px; }
  .composer { grid-template-columns:30px minmax(0,1fr);gap:4px 10px;padding-inline:9px; }
  .mic-button,.live-voice-button,.live-video-button,.send-button { width:36px;height:36px;min-width:36px; }
}

/* A minimized chat always presents one complete prompt choice.  Each card
   occupies the visible rail, and snapping prevents the text from resting
   halfway outside the frame after a resize or horizontal scroll. */
@container chat-workspace (max-width:620px) {
  .suggestion-row {
    gap:8px;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:0;
    overscroll-behavior-inline:contain;
    -webkit-mask-image:none;
    mask-image:none;
  }
  .suggestion {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:100%;
    flex:0 0 100%;
    justify-content:center;
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  .suggestion-label {
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center;
  }
}

/* External mention previews float above conversation clipping and remain hoverable. */
.third-party-preview {
  position:fixed;z-index:200;box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;
  padding:12px 14px;border:1px solid rgba(245,250,255,.55);border-radius:20px;
  background:radial-gradient(115% 120% at 5% -20%,rgba(255,255,255,.19),transparent 60%),linear-gradient(135deg,rgba(67,79,96,.28),rgba(19,28,43,.18));
  color:#f5f8fc;box-shadow:inset 0 1px 1px rgba(255,255,255,.68),inset 0 -1px rgba(255,255,255,.1),0 14px 36px rgba(0,8,22,.22);
  -webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%);
  font-family:-apple-system,BlinkMacSystemFont,sans-serif;text-align:left;white-space:normal;
}
.third-party-preview[hidden] { display:none; }
.third-party-preview-creative { display:block;width:100%;height:auto;max-height:180px;margin:0 0 12px;border-radius:16px;object-fit:contain;object-position:left center;background:linear-gradient(145deg,rgba(188,210,240,.27),rgba(16,30,53,.35));box-shadow:0 8px 22px rgba(0,8,22,.18); }
.third-party-preview-creative.is-square { aspect-ratio:1;max-height:none;object-fit:cover;object-position:center; }
.third-party-preview-creative.is-founder-portrait { width:180px;height:180px;aspect-ratio:1;object-fit:cover;object-position:center; }
.third-party-preview-creative[hidden] { display:none; }
.third-party-preview-agent-creative { box-sizing:border-box;width:100%;aspect-ratio:1;margin:0 0 12px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(245,250,255,.48);border-radius:24px;background:radial-gradient(circle at 50% 44%,rgba(132,176,238,.18),transparent 48%),linear-gradient(145deg,rgba(213,231,252,.14),rgba(23,39,64,.12));box-shadow:inset 0 1px 2px rgba(255,255,255,.5),0 8px 22px rgba(0,8,22,.16);-webkit-backdrop-filter:blur(24px) saturate(175%);backdrop-filter:blur(24px) saturate(175%); }
.third-party-preview-agent-creative[hidden] { display:none; }
.third-party-preview-agent-creative > :is(img,.living-orb) { display:block;width:86%;height:86%;object-fit:contain;filter:drop-shadow(0 18px 24px rgba(8,30,66,.24)); }
:root[data-theme="bright"] .third-party-preview-agent-creative { border-color:rgba(255,255,255,.92);background:radial-gradient(circle at 50% 43%,rgba(255,255,255,.72),transparent 42%),linear-gradient(145deg,rgba(255,255,255,.4),rgba(163,201,242,.2));box-shadow:inset 0 1px 2px rgba(255,255,255,.98),0 8px 22px rgba(42,77,121,.14); }
.third-party-preview-title { font-size:16px;font-weight:500;line-height:1.35;overflow-wrap:anywhere; }
.third-party-preview-description { margin:3px 0 11px;color:#c4cfdd;font-size:14px;line-height:1.4;overflow-wrap:anywhere; }
.third-party-preview-link { display:flex;align-items:center;gap:8px;color:#c4cfdd;text-decoration:none;font-size:13px;line-height:1.4; }
.third-party-preview-link[hidden] { display:none; }
.third-party-preview-action { width:100%;padding:0;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer; }
.third-party-preview-link:hover { color:#fff; }
.third-party-preview-link:focus-visible { outline:2px solid #8cbfff;outline-offset:4px;border-radius:5px; }
.third-party-preview-link > span:nth-child(2) { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.third-party-preview-icon { display:grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid rgba(255,255,255,.72);border-radius:50%;overflow:hidden;background:rgba(255,255,255,.96);color:#152033;box-shadow:inset 0 0 0 1px rgba(255,255,255,.82),0 1px 3px rgba(0,0,0,.3);font-weight:800;line-height:1; }
.third-party-preview-icon img { display:block;width:100%;height:100%;border-radius:50%;object-fit:contain;background:rgba(255,255,255,.96); }
.third-party-preview-arrow {
  display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(255,255,255,.62);border-radius:50%;
  background:radial-gradient(circle at 25% 10%,rgba(255,255,255,.48),transparent 65%),linear-gradient(145deg,rgba(239,248,255,.24),rgba(161,190,224,.12));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.72),inset 0 -1px rgba(255,255,255,.13),0 3px 9px rgba(7,20,39,.18);color:#f5f9ff;
  -webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);
}
.third-party-preview-arrow svg { display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }
.third-party-preview-link:hover .third-party-preview-arrow { background:rgba(239,248,255,.36);border-color:rgba(255,255,255,.9); }

@media (prefers-reduced-transparency:reduce) {
  .third-party-preview { background:#263142;-webkit-backdrop-filter:none;backdrop-filter:none; }
}

.agent-source-message .live-citation { margin:0;padding:0;border:0;border-radius:0;font-size:13px;line-height:1.45; }
.file-delivery-card.agent-bubble { margin:0;white-space:normal; }
.file-delivery-card.agent-bubble .file-delivery-name { color:inherit; }
.file-delivery-card.agent-bubble .file-delivery-size { color:inherit;opacity:.7; }

/* File deliveries use the same compact scale as adjacent chat bubbles. */
.file-delivery-card.agent-bubble {
  width:fit-content;max-width:100%;min-height:0;gap:11px;padding:12px 16px;
}
.file-delivery-card.agent-bubble .file-delivery-copy { gap:3px; }
.file-delivery-card.agent-bubble .file-delivery-name { font-size:13px;line-height:1.35; }
.file-delivery-card.agent-bubble .file-delivery-size { font-size:11px;line-height:1.3; }
.file-delivery-card.agent-bubble .file-delivery-icon { width:30px;height:38px;border-radius:8px; }
.file-delivery-card.agent-bubble .file-delivery-icon svg { height:28px; }

/* Delivered files open in the same glass modal layer as the app. */
.modal.file-preview-modal { width:min(900px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:20px;display:flex;flex-direction:column;gap:16px;border-radius:28px;background:linear-gradient(135deg,rgba(204,222,242,.55),rgba(34,51,75,.72));border:1px solid rgba(237,246,255,.65);box-shadow:inset 0 1px 2px #ffffff80,0 24px 80px #0007;backdrop-filter:blur(32px) saturate(150%);-webkit-backdrop-filter:blur(32px) saturate(150%); }
.file-preview-header {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.file-preview-header>div {min-width:0;}
.modal.file-preview-modal .file-preview-header h2 {margin:0;font-size:16px;font-weight:500;overflow-wrap:anywhere;}
.file-preview-header span {font-size:12px;opacity:.7;}
.file-preview-header button {flex-shrink:0;}
.file-preview-content {min-height:0;overflow:auto;border-radius:18px;background:#07121d30;}
.file-preview-content>img,.file-preview-content>video {display:block;width:100%;max-height:calc(100dvh - 180px);object-fit:contain;}
.file-preview-content>audio {display:block;width:100%;margin:24px 0;}
.file-preview-content>[hidden] {display:none;}
.file-preview-text {margin:0;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;}
.file-preview-content p {padding:20px;}
.file-preview-modal footer {display:flex;justify-content:flex-end;}

/* Source titles use the same mention pill while fitting narrow chat bubbles. */

/* Media messages hug the asset's intrinsic aspect ratio without a padded frame. */
.workflow-colleague:has(> .agent-inline-media) {width:max-content;max-width:min(100%,520px);}
.agent-bubble.agent-inline-media {width:fit-content;max-width:100%;padding:0;border:0;overflow:hidden;border-radius:18px;}
.inline-image-preview {display:block;width:fit-content;max-width:100%;padding:0;border:0;border-radius:inherit;overflow:hidden;background:transparent;cursor:zoom-in;}
.inline-image-preview .live-media-image {display:block;width:auto;height:auto;max-width:100%;max-height:360px;object-fit:contain;border-radius:inherit;}
.agent-inline-media .live-media-player {width:fit-content;max-width:100%;aspect-ratio:auto;margin:0;border:0;border-radius:inherit;box-shadow:none;}
.agent-inline-media .live-media-player .live-media-video {display:block;width:auto;height:auto;max-width:100%;max-height:360px;object-fit:contain;border-radius:inherit;}

/* Searchable composer mentions, anchored above the message field. */
.composer-mentions {position:fixed;z-index:1200;overflow-y:auto;padding:8px;border:1px solid #ecf5ff80;border-radius:24px;color:#f4f7ff;background:linear-gradient(145deg,#c7d8ee77,#17283ec9);backdrop-filter:blur(30px) saturate(160%);-webkit-backdrop-filter:blur(30px) saturate(160%);box-shadow:inset 0 1px 2px #ffffff80,0 16px 48px #0007;}
.composer-mentions[hidden] {display:none;}
.composer-mention-hint {padding:8px 10px 10px;font-size:11px;color:#d4deec;}
.composer-mentions [role="option"] {display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:15px;cursor:pointer;}
.composer-mentions [role="option"][aria-selected="true"],.composer-mentions [role="option"]:hover {background:#e7f0ff24;box-shadow:inset 0 0 0 1px #ffffff35;}
.composer-mention-icon {position:relative;display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:1px solid rgba(255,255,255,.72);border-radius:50%;overflow:hidden;background:rgba(255,255,255,.96);color:#152033;box-shadow:inset 0 0 0 1px rgba(255,255,255,.82),0 1px 3px rgba(0,0,0,.3);font-size:15px;font-weight:800;line-height:1;}
.composer-mention-icon img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:rgba(255,255,255,.96);}
.composer-mentions strong,.composer-mentions small {display:block;overflow-wrap:anywhere;}
.composer-mentions strong {font-size:13px;font-weight:550;}
.composer-mentions small {font-size:11px;color:#c7d3e3;margin-top:3px;}

/* Suggestions, Wallet and carousel arrow each occupy their own column. */
.suggestion-carousel {grid-template-columns:minmax(0,1fr) auto auto;}
.wallet-chat-action {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:6px 11px;border-radius:999px;white-space:nowrap;font:inherit;font-size:12px;line-height:1.3;color:var(--ink);cursor:pointer;}
.wallet-chat-action svg {width:16px;height:16px;flex:0 0 16px;fill:currentColor;stroke:none;}
.wallet-chat-action:hover {filter:brightness(1.12);}
.wallet-chat-action:active {transform:scale(.97);}

/* Settings sliders share the same translucent glass track and moving lens. */
.modal.settings-modal :is(.settings-segment,.settings-billing-channel) {
  border:1px solid rgba(203,223,246,.3);
  background:
    radial-gradient(ellipse 105% 90% at 12% -28%,rgba(247,251,255,.19),transparent 66%),
    linear-gradient(150deg,rgba(77,99,132,.43),rgba(29,49,79,.3) 53%,rgba(72,111,162,.24));
  box-shadow:inset 0 1px rgba(250,253,255,.18),inset 0 -1px rgba(13,35,67,.24),0 7px 20px rgba(7,20,43,.14);
  -webkit-backdrop-filter:blur(20px) saturate(155%);
  backdrop-filter:blur(20px) saturate(155%);
}
.modal.settings-modal :is(.settings-segment-thumb,.settings-billing-channel-thumb) {
  border:1px solid rgba(237,247,255,.4);
  background:
    radial-gradient(ellipse 92% 115% at 16% -25%,rgba(255,255,255,.7),transparent 67%),
    radial-gradient(ellipse 98% 90% at 95% 112%,rgba(135,190,247,.37),transparent 66%),
    linear-gradient(145deg,rgba(213,226,242,.56),rgba(133,165,202,.5) 52%,rgba(84,129,183,.36));
  box-shadow:inset 0 1px rgba(255,255,255,.57),inset 0 -1px rgba(72,132,196,.3),0 4px 13px rgba(6,23,49,.24);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  backdrop-filter:blur(22px) saturate(180%);
}
.modal.settings-modal .settings-segment-thumb { height:calc(100% - 8px); }
.modal.settings-modal :is(.settings-segment-thumb,.settings-billing-channel-thumb)::after {
  content:"";position:absolute;inset:1px 2px 48%;border-radius:inherit;pointer-events:none;
  background:linear-gradient(to bottom,rgba(255,255,255,.23),transparent);
}
:root[data-theme="bright"] .modal.settings-modal :is(.settings-segment,.settings-billing-channel),
:root[data-theme="glacial"] .modal.settings-modal :is(.settings-segment,.settings-billing-channel) {
  border-color:rgba(119,155,195,.35);
  background:radial-gradient(ellipse 105% 90% at 12% -28%,rgba(255,255,255,.42),transparent 67%),linear-gradient(145deg,rgba(107,137,173,.3),rgba(106,143,188,.2));
  box-shadow:inset 0 1px rgba(255,255,255,.38),inset 0 -1px rgba(61,100,150,.18),0 7px 20px rgba(44,77,119,.11);
}
:root[data-theme="bright"] .modal.settings-modal :is(.settings-segment-thumb,.settings-billing-channel-thumb),
:root[data-theme="glacial"] .modal.settings-modal :is(.settings-segment-thumb,.settings-billing-channel-thumb) {
  border-color:rgba(255,255,255,.62);
  background:radial-gradient(ellipse 92% 115% at 16% -25%,rgba(255,255,255,.9),transparent 67%),radial-gradient(ellipse 98% 90% at 95% 112%,rgba(136,190,242,.35),transparent 66%),linear-gradient(145deg,rgba(247,251,255,.67),rgba(187,207,230,.52) 52%,rgba(148,185,226,.42));
  box-shadow:inset 0 1px rgba(255,255,255,.8),inset 0 -1px rgba(76,125,181,.2),0 4px 13px rgba(30,66,108,.17);
}
.modal.settings-modal .settings-switch {
  border-color:rgba(202,224,246,.4);
  background:radial-gradient(ellipse at 23% -25%,rgba(255,255,255,.2),transparent 65%),linear-gradient(145deg,rgba(61,84,117,.43),rgba(29,48,78,.35));
  box-shadow:inset 0 1px rgba(255,255,255,.22),inset 0 -1px rgba(18,43,77,.25),0 5px 13px rgba(14,33,59,.15);
  -webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%);
}
.modal.settings-modal .settings-switch.on {
  background:radial-gradient(ellipse at 20% -25%,rgba(255,255,255,.38),transparent 66%),linear-gradient(145deg,rgba(127,180,235,.6),rgba(57,112,182,.53));
}
.modal.settings-modal .settings-switch i {
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.98),rgba(231,241,252,.9) 40%,rgba(152,187,225,.7));
  border-color:rgba(255,255,255,.72);
  box-shadow:inset 0 1px rgba(255,255,255,.9),inset 0 -1px rgba(78,135,195,.25),0 2px 7px rgba(10,28,54,.32);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
@media (prefers-reduced-transparency:reduce) {
  .modal.settings-modal :is(.settings-segment,.settings-billing-channel,.settings-switch) { background:#354c6a;-webkit-backdrop-filter:none;backdrop-filter:none; }
  .modal.settings-modal :is(.settings-segment-thumb,.settings-billing-channel-thumb,.settings-switch i) { background:#b9cce2;-webkit-backdrop-filter:none;backdrop-filter:none; }
  :root[data-theme="bright"] .modal.settings-modal :is(.settings-segment,.settings-billing-channel,.settings-switch),
  :root[data-theme="glacial"] .modal.settings-modal :is(.settings-segment,.settings-billing-channel,.settings-switch) { background:#a8c4df; }
}

/* Crossmint owns the secure card fields inside its hosted iframe. */
.settings-wallet-crossmint-icon { background: linear-gradient(135deg,#d8ffb9,#9be778); color: #17351e; }
.settings-wallet-crossmint-icon svg { width: 25px; height: 25px; }
#crossmint-card-host:not([hidden]) { margin: 20px 0; padding: 20px; border: 1px solid rgba(220,235,255,.36); border-radius: 30px; background: radial-gradient(ellipse at 14% 0%,rgba(196,220,255,.2),transparent 58%),linear-gradient(145deg,rgba(116,151,196,.2),rgba(20,33,55,.28)); box-shadow: inset 0 1px rgba(255,255,255,.24),0 16px 40px rgba(3,10,24,.18); -webkit-backdrop-filter:blur(28px) saturate(150%); backdrop-filter:blur(28px) saturate(150%); }
:root[data-theme="bright"] #crossmint-card-host:not([hidden]),:root[data-theme="glacial"] #crossmint-card-host:not([hidden]) { border-color:rgba(255,255,255,.76); background:radial-gradient(ellipse at 14% 0%,rgba(255,255,255,.74),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.56),rgba(173,205,241,.3)); box-shadow:inset 0 1.5px rgba(255,255,255,.94),inset 0 -1px rgba(102,151,208,.13),0 16px 40px rgba(38,83,142,.12); }
.crossmint-card-panel { color: inherit; min-width: 0; }
.modal.settings-modal .crossmint-card-panel > p { color: var(--settings-ink); font-size: 14px; line-height: 1.5; }
.crossmint-card-panel iframe { max-width: 100%; border-radius: 24px; background:transparent; }
.crossmint-registration { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }
.crossmint-registration label { display: grid; gap: 6px; font-size: 14px; }
.crossmint-registration input { color: inherit; background: rgba(128,148,172,.14); border: 1px solid rgba(160,180,205,.45); border-radius: 12px; padding: 10px 12px; width: 160px; }

/* Dictation keeps the spoken text editable in the composer until the user sends it. */
.dictation-panel[hidden] { display:none; }
.dictation-panel { margin:0 0 10px auto; width:min(100%,460px); padding:12px 14px; border:1px solid var(--widget-rim); border-radius:24px; color:var(--ink); background:linear-gradient(155deg,rgba(235,246,255,.24),rgba(96,142,196,.13) 45%,rgba(46,72,116,.17)); box-shadow:inset 0 1px rgba(255,255,255,.48),0 12px 32px rgba(1,8,25,.25); -webkit-backdrop-filter:blur(24px) saturate(145%); backdrop-filter:blur(24px) saturate(145%); }
.dictation-head { display:flex; align-items:center; gap:9px; min-height:23px; font-size:13px; }
.dictation-head strong { min-width:0; flex:1; font-weight:650; }
.dictation-head #dictation-timer { color:var(--muted); font-variant-numeric:tabular-nums; }
.dictation-live-dot { width:8px; height:8px; flex:none; border-radius:50%; background:#ec5b68; box-shadow:0 0 0 4px rgba(236,91,104,.16); }
.dictation-panel:not([data-phase="recording"]) .dictation-live-dot { background:#8fa1bb; box-shadow:none; }
.dictation-waveform { display:flex; align-items:center; justify-content:center; gap:3px; height:39px; margin:5px 0 8px; overflow:hidden; }
.dictation-waveform i { width:3px; height:8px; flex:none; border-radius:999px; background:linear-gradient(#eff8ff,#7e9ad2); opacity:.65; }
.dictation-panel[data-phase="recording"] .dictation-waveform i { animation:dictation-wave 820ms ease-in-out infinite alternate; animation-delay:calc((var(--bar-index, 0) * 53ms)); }
.dictation-waveform i:nth-child(3n) { --bar-index:3; }.dictation-waveform i:nth-child(4n) { --bar-index:5; }.dictation-waveform i:nth-child(5n) { --bar-index:2; }.dictation-waveform i:nth-child(7n) { --bar-index:7; }
@keyframes dictation-wave { from { height:5px; opacity:.45; } to { height:30px; opacity:1; } }
.dictation-actions { display:flex; justify-content:flex-end; gap:8px; }
.dictation-actions button { min-width:74px; min-height:34px; padding:5px 14px; border:1px solid var(--widget-rim); border-radius:999px; color:var(--ink); background:var(--widget-glass); box-shadow:var(--widget-shadow); font:inherit; font-size:13px; font-weight:650; cursor:pointer; }
.dictation-actions .dictation-done { background:linear-gradient(145deg,rgba(255,255,255,.75),rgba(144,185,233,.58)); color:#162b46; }
.dictation-actions button:disabled { opacity:.55; cursor:default; }
.composer.has-text .mic-button { display:grid; }
.mic-button.recording { background:linear-gradient(145deg,rgba(255,225,230,.68),rgba(214,74,98,.62)); color:#fff; }
@media (prefers-reduced-motion:reduce) { .dictation-waveform i { animation:none!important; } }
@media (prefers-reduced-transparency:reduce) { .dictation-panel { -webkit-backdrop-filter:none; backdrop-filter:none; background:#253954; } }

/* Payment shortcut stays beside the account controls, outside chat suggestions. */
.wallet-sidebar-action { display:flex; align-items:center; justify-content:center; align-self:center; flex:0 0 auto; width:40px; height:40px; padding:9px; margin:6px auto 8px; border-radius:50%; color:var(--ink); cursor:pointer; }
.wallet-sidebar-action svg { display:block; width:22px; height:22px; fill:currentColor; stroke:none; }
.wallet-sidebar-action:hover { filter:brightness(1.1); }
.wallet-sidebar-action:active { transform:scale(.96); }

.wallet-sidebar-action .wallet-sidebar-label { display:none; }
.desktop-shell:not(.browser-open):not(.sidebar-collapsed):not(.sidebar-resize-compact) .wallet-sidebar-action { width:100%; border-radius:999px; justify-content:flex-start; gap:12px; padding:10px 16px; height:52px; font:inherit; text-align:left; }
.desktop-shell:not(.browser-open):not(.sidebar-collapsed):not(.sidebar-resize-compact) .wallet-sidebar-label { display:block; }

.wallet-sidebar-label { min-width:0; }
.wallet-sidebar-label strong { font-weight:700; }
.wallet-sidebar-label small { font-weight:400; }

/* Landing-page reference renderer: preserve its exact colours and canvas framing. */
.living-orb[data-orb-material="reference"] { filter:none; }
.living-orb[data-orb-material="reference"] > .living-orb-canvas { clip-path:none; }
.living-orb[data-orb-material="reference"] > .living-orb-fallback { transform:none; object-fit:contain; clip-path:none; }
.living-orb[data-orb-material="reference"][data-role-portrait="chief"] > .living-orb-fallback { width:125%!important;height:125%!important;inset:-10.875% auto auto -11%!important;clip-path:circle(37% at 48.8% 48.7%);transform:none; }

/* Live, provider-backed purchases stay in the Cofounder conversation. */
.live-checkout { width:min(100%,560px); margin:12px 0; color:var(--text-primary,#eef4ff); }
.live-checkout h3 { margin:8px 0 12px; font-size:19px; }
.live-checkout p { line-height:1.5; }
.live-checkout small { display:block; opacity:.8; line-height:1.5; }
.checkout-inputs { display:grid; gap:14px; }
.checkout-inputs label { display:grid; gap:6px; font-size:13px; font-weight:600; }
.checkout-inputs :is(input:not([type=checkbox]),textarea,select) { width:100%; min-width:0; box-sizing:border-box; padding:11px 13px; border:1px solid rgba(210,225,245,.4); border-radius:14px; background:rgba(15,25,40,.55); color:#fff; font:inherit; }
.checkout-inputs textarea { min-height:78px; resize:vertical; }
.checkout-budget { display:grid; grid-template-columns:1fr 100px; gap:12px; }
.live-checkout button { cursor:pointer; }
.live-checkout button:disabled { opacity:.55;cursor:default; }
.checkout-review { display:grid; gap:12px; padding:16px; border:1px solid rgba(225,237,255,.4);border-radius:20px;background:rgba(255,255,255,.08); }
.checkout-total { font-size:28px;font-weight:650;margin:0; }
.live-checkout .checkout-approve { background:rgba(205,228,255,.85);color:#11263d; }

/* Compact payment requests share the chat bubble surface. */
.live-checkout.wallet-chat-card { width:min(100%,390px); padding:16px; border-radius:24px; }
.checkout-summary {display:flex;align-items:center;gap:12px;min-width:0;}
.checkout-merchant-logo {width:40px;height:40px;flex:none;border-radius:50%;overflow:hidden;background:rgba(255,255,255,.15);display:grid;place-items:center;}
.checkout-merchant-logo img {width:28px;height:28px;object-fit:contain;border-radius:50%;}
.checkout-summary>div {min-width:0;display:grid;gap:4px;}
.checkout-summary strong {font-size:15px;line-height:1.3;overflow-wrap:anywhere;}
.checkout-summary>div>span {font-size:13px;line-height:1.35;opacity:.8;}
.checkout-binary {display:flex;gap:8px;margin-top:14px;}
.checkout-binary button {flex:1;min-height:36px;padding:7px 14px!important;font-size:13px;border-radius:999px;}
.live-checkout p:empty {display:none;}
.live-checkout [role=status] {font-size:12px;margin:8px 0 0;}

.live-checkout .wallet-chat-decisions { display:flex; justify-content:center; gap:8px; }
.live-checkout .wallet-chat-decisions button { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.checkout-retry-icon { width:16px; height:16px; flex:none; }

.checkout-summary .checkout-merchant-logo, .checkout-merchant-logo img {opacity:1;filter:none;}

/* Shared leading symbols for wallet action buttons. */
.wallet-action-icon { width:16px; height:16px; flex:0 0 16px; vertical-align:middle; }
.settings-secondary:has(> .wallet-action-icon) { display:inline-flex; align-items:center; justify-content:center; gap:7px; }

/* Encrypted password manager, scoped to Settings. */
.vault-page { color: var(--text-primary, inherit); }
.vault-heading,.vault-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.vault-heading h2 { font-size:25px; font-weight:500; margin:0; }
.vault-heading p,.vault-footnote,.vault-form small { opacity:.7; font-size:13px; line-height:1.5; }
.vault-action { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.vault-action svg { width:16px; height:16px; flex:none; }
.vault-tabs { display:flex; flex-wrap:wrap; gap:5px; }
.vault-tabs button { border:1px solid transparent; border-radius:24px; background:transparent; color:inherit; padding:8px 12px; }
.vault-tabs button[aria-selected=true] { background:rgba(170,195,225,.2); border-color:rgba(255,255,255,.5); }
.vault-tabs small { opacity:.6; }
.vault-tabs .vault-tab-count { display:inline-grid;place-items:center;min-width:22px;height:18px;padding:0 6px;box-sizing:border-box;border:1px solid rgba(225,238,255,.48);border-radius:999px;background:linear-gradient(145deg,rgba(226,239,255,.25),rgba(128,161,203,.13));color:inherit;font-size:10px;font-weight:700;line-height:1;opacity:1;box-shadow:inset 0 1px rgba(255,255,255,.34),0 2px 6px rgba(8,21,42,.12);-webkit-backdrop-filter:blur(12px) saturate(150%);backdrop-filter:blur(12px) saturate(150%); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .vault-tabs .vault-tab-count { border-color:rgba(255,255,255,.82);background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(190,216,246,.36));box-shadow:inset 0 1px #fff,0 2px 6px rgba(49,88,137,.1); }
.vault-search,.vault-form input,.vault-form textarea { width:100%; min-width:0; box-sizing:border-box; border:1px solid rgba(190,210,235,.5); background:rgba(150,180,215,.14); color:inherit; border-radius:16px; padding:12px 14px; font:inherit; }
.vault-search { max-width:220px; }
.vault-form { padding:22px; border:1px solid rgba(210,225,245,.4); border-radius:24px; background:rgba(130,165,205,.13); display:grid; gap:16px; }
:root[data-theme="bright"] .modal.settings-modal .vault-form,:root[data-theme="glacial"] .modal.settings-modal .vault-form { border-color:rgba(255,255,255,.72);border-radius:30px;background:radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.58),transparent 65%),linear-gradient(145deg,rgba(255,255,255,.28),rgba(201,224,250,.13) 54%,rgba(255,255,255,.2));box-shadow:inset 0 1.5px rgba(255,255,255,.9),inset 0 -1px rgba(102,151,208,.1),0 14px 34px rgba(38,83,142,.1);-webkit-backdrop-filter:blur(30px) saturate(175%);backdrop-filter:blur(30px) saturate(175%); }
:root[data-theme="bright"] .modal.settings-modal .vault-form :is(input,textarea),:root[data-theme="glacial"] .modal.settings-modal .vault-form :is(input,textarea) { border-color:rgba(255,255,255,.64);border-radius:19px;background:linear-gradient(135deg,rgba(255,255,255,.23),rgba(205,224,247,.11) 58%,rgba(255,255,255,.18));box-shadow:inset 0 1px rgba(255,255,255,.72),0 4px 14px rgba(54,103,163,.06);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%); }
.vault-form h3,.vault-form p { margin:0; }
.vault-form label { display:grid; gap:7px; font-size:14px; }
.vault-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.vault-list { position:relative;isolation:isolate;border:1px solid rgba(205,225,245,.4);border-radius:30px;overflow:hidden;clip-path:inset(0 round 30px);background:rgba(150,180,215,.13);-webkit-mask-image:-webkit-radial-gradient(white,black); }
.vault-row { display:flex; align-items:center; gap:13px; width:100%; padding:18px; text-align:left; background:transparent; border:0; color:inherit; font:inherit; }
.vault-row:first-child { border-radius:29px 29px 0 0; }
.vault-row:last-child { border-radius:0 0 29px 29px; }
.vault-row:only-child { border-radius:29px; }
.vault-row + .vault-row { border-top:1px solid rgba(180,200,225,.25); }
.vault-row > :nth-child(2) { flex:1; min-width:0; }
.vault-row strong,.vault-row small { display:block; overflow-wrap:anywhere; }
.vault-row small { opacity:.65; font-size:13px; margin-top:4px; }
:root[data-theme=""] .modal.settings-modal .vault-crossmint-row {
  color:#122435;
  border-top-color:rgba(255,255,255,.78);
  background:radial-gradient(ellipse at 14% 0,rgba(255,255,255,.94),transparent 62%),linear-gradient(145deg,rgba(248,252,255,.92),rgba(205,224,247,.78));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.98),inset 0 -1px 1px rgba(111,151,199,.2),0 8px 20px rgba(0,8,24,.18);
  -webkit-backdrop-filter:blur(24px) saturate(165%);
  backdrop-filter:blur(24px) saturate(165%);
}
:root[data-theme=""] .modal.settings-modal .vault-crossmint-row small { color:#40536b;opacity:1; }
.vault-item-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:rgba(200,220,245,.2); flex:none; }
.vault-payment-logo {
  width: 40px;
  height: 40px;
  padding: 7px;
  box-sizing: border-box;
  align-self: center;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 14px;
  background: linear-gradient(145deg,rgba(255,255,255,.76),rgba(211,229,249,.36));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.92),0 5px 14px rgba(37,75,122,.12);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
}
.vault-item-icon svg { width:21px; height:21px; }
.vault-empty { padding:20px; font-size:14px; opacity:.7; }
@media(max-width:700px) { .vault-fields { grid-template-columns:1fr; } .vault-heading h2 { font-size:21px; } }
.vault-tabs { display:flex; flex:1; border:1px solid rgba(220,235,255,.45); padding:4px; border-radius:24px; background:rgba(140,170,205,.15); }
.vault-tabs button { flex:1; white-space:nowrap; font:inherit; font-size:14px; }
.vault-tabs button[aria-selected=true] { box-shadow:inset 0 1px rgba(255,255,255,.65),0 3px 12px rgba(20,40,70,.12); background:rgba(225,240,255,.3); }
.vault-toolbar:has(> .vault-tabs) { display:grid; grid-template-columns:minmax(0,1fr); }
.vault-page > .vault-toolbar:not(:has(> .vault-tabs)) { justify-content:center; }
.vault-tabs { flex-wrap:nowrap; width:100%; box-sizing:border-box; }
.vault-tabs button { padding:9px 8px; }
.vault-search { max-width:none; border-radius:999px; }
.vault-search-field { position:relative;display:block;width:100%;--settings-input-start:41px; }
.vault-search-symbol { position:absolute;z-index:2;inset-inline-start:15px;top:50%;display:grid;place-items:center;width:18px;height:18px;color:var(--settings-ink);transform:translateY(-50%);pointer-events:none; }
.vault-search-symbol svg { display:block;width:18px;height:18px; }
.vault-page .vault-empty { display:none; }
.vault-page .vault-list:has(> .vault-empty:only-child) { display:none; }
.vault-page .vault-footnote {
  box-sizing:border-box;
  width:min(440px,100%);
  margin:18px auto 0;
  padding:12px 18px;
  border:1px solid rgba(230,242,255,.42);
  border-radius:20px;
  color:inherit;
  text-align:center;
  opacity:1;
  background:radial-gradient(ellipse at 14% -20%,rgba(255,255,255,.2),transparent 68%),linear-gradient(145deg,rgba(194,217,245,.09),rgba(92,132,184,.05));
  box-shadow:inset 0 1px rgba(255,255,255,.34),0 8px 24px rgba(5,18,40,.08);
  -webkit-backdrop-filter:blur(28px) saturate(175%);
  backdrop-filter:blur(28px) saturate(175%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .vault-page .vault-footnote {
  border-color:rgba(255,255,255,.76);
  background:radial-gradient(ellipse at 14% -20%,rgba(255,255,255,.62),transparent 70%),linear-gradient(145deg,rgba(255,255,255,.2),rgba(174,207,243,.1));
  box-shadow:inset 0 1.5px rgba(255,255,255,.86),0 8px 24px rgba(43,88,143,.08);
}

@media (prefers-reduced-motion:reduce) { .tools-directory-filter-thumb,.tools-directory-filter { transition:none; } }


/* Card-entry dialog is portaled above the settings layer to cover the full app. */
.vault-card-layer { position:fixed;inset:0;z-index:10000;pointer-events:none; }
.vault-card-overlay { position:fixed;inset:0;z-index:1;display:grid;place-items:center;padding:22px;background:rgba(0,3,9,.72);-webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%);pointer-events:auto; }
.vault-card-dialog { display:grid;grid-template-rows:auto minmax(0,1fr);width:min(650px,calc(100vw - 36px));max-height:min(88vh,900px);overflow:hidden;color:#f3f6fb;background:rgba(28,28,29,.96);border:1px solid rgba(255,255,255,.1);border-radius:24px;box-shadow:0 32px 100px rgba(0,0,0,.58); }
.vault-card-dialog>header { position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:19px 23px;border-bottom:1px solid rgba(255,255,255,.09);background:rgba(30,30,31,.94);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px); }
.vault-card-dialog>header h3 { margin:0;font-size:20px;font-weight:650; }
.vault-card-close { width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#c9c9ce;font-size:27px;line-height:1;cursor:pointer; }
.vault-card-dialog form { display:grid;gap:16px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:20px 23px;scroll-padding-block:20px;overscroll-behavior:contain; }
.vault-card-tools { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.vault-card-tools .settings-secondary { display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:1px solid rgba(255,255,255,.05);border-radius:999px;background:rgba(255,255,255,.055);color:#f3f4f7;font:inherit; }
.vault-card-tools svg,.vault-card-address-toggle svg { width:17px;height:17px;flex:none; }
.vault-card-file { display:none!important; }
.vault-card-file-status { min-height:0;margin:-8px 0 0!important;color:#c3d3e7!important;font-size:12px; }
.vault-card-file-status:empty { display:none; }
.vault-card-divider { display:flex;align-items:center;gap:14px;color:#9b9ba1;text-align:center; }
.vault-card-divider::before,.vault-card-divider::after { content:"";height:1px;flex:1;background:rgba(255,255,255,.1); }
.vault-card-fields { display:grid;gap:12px; }
.vault-card-dialog label { display:grid;gap:7px;color:#a7a7ad;font-size:14px; }
.vault-card-dialog .vault-field-title { display:inline-flex;align-items:center;gap:7px;min-height:18px; }
.vault-card-dialog .vault-field-title svg { width:15px;height:15px;flex:0 0 15px;opacity:.88; }
.vault-card-dialog input,.vault-card-dialog textarea { width:100%;min-width:0;box-sizing:border-box;padding:12px 14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.025);color:#f6f7fa;font:inherit;outline:none; }
.vault-card-dialog input:focus,.vault-card-dialog textarea:focus { border-color:rgba(153,194,255,.76);box-shadow:0 0 0 3px rgba(93,151,235,.18); }
.vault-card-dialog input::placeholder,.vault-card-dialog textarea::placeholder { color:#77777d; }
.vault-card-dialog .vault-fields { gap:12px; }
.vault-card-address-toggle {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: transparent;
  color: #e1e2e6;
  text-align: center;
  font: inherit;
  cursor: pointer;
}
.vault-card-address-toggle small { color:#929299; }
.vault-card-hints textarea { min-height:58px;resize:vertical; }
.vault-card-hints small { color:#85858d;font-size:12px; }
.vault-card-footer { position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 -23px;padding:15px 23px;border-top:1px solid rgba(255,255,255,.09);background:rgba(30,30,31,.96); }
.vault-card-footer p { margin:0;color:#a3a3a8;font-size:13px; }
.vault-card-footer-actions { display:flex;align-items:center;gap:8px; }
.vault-card-footer .settings-secondary { display:inline-flex;align-items:center;gap:8px;white-space:nowrap; }
.vault-card-error { margin:0 0 14px!important;color:#ff9292!important;font-size:13px; }
.vault-login-dialog { width:min(780px,calc(100vw - 36px)); }
.vault-login-sites { display:grid;gap:12px; }
.vault-login-dialog .vault-card-hints textarea { min-height:56px; }
:root[data-theme="bright"] .vault-card-dialog,:root[data-theme="glacial"] .vault-card-dialog { color:#172a42;background:rgba(229,239,251,.93);border-color:rgba(255,255,255,.8);box-shadow:0 32px 90px rgba(32,73,128,.3); }
:root[data-theme="bright"] .vault-card-dialog>header,:root[data-theme="glacial"] .vault-card-dialog>header,:root[data-theme="bright"] .vault-card-footer,:root[data-theme="glacial"] .vault-card-footer { background:rgba(229,239,251,.92);border-color:rgba(74,112,163,.14); }
:root[data-theme="bright"] .vault-card-dialog>header h3,:root[data-theme="glacial"] .vault-card-dialog>header h3 { color:#172a42; }
:root[data-theme="bright"] .vault-card-close,:root[data-theme="glacial"] .vault-card-close { color:#334b69; }
:root[data-theme="bright"] .vault-card-tools .settings-secondary,:root[data-theme="glacial"] .vault-card-tools .settings-secondary { background:rgba(255,255,255,.42);border-color:rgba(255,255,255,.58);color:#1d3553; }
:root[data-theme="bright"] .vault-card-divider,:root[data-theme="glacial"] .vault-card-divider,:root[data-theme="bright"] .vault-card-dialog label,:root[data-theme="glacial"] .vault-card-dialog label { color:#4d6380; }
:root[data-theme="bright"] .vault-card-divider::before,:root[data-theme="bright"] .vault-card-divider::after,:root[data-theme="glacial"] .vault-card-divider::before,:root[data-theme="glacial"] .vault-card-divider::after { background:rgba(62,94,137,.18); }
:root[data-theme="bright"] .vault-card-dialog input,:root[data-theme="bright"] .vault-card-dialog textarea,:root[data-theme="glacial"] .vault-card-dialog input,:root[data-theme="glacial"] .vault-card-dialog textarea { color:#172a42;background:rgba(255,255,255,.3);border-color:rgba(255,255,255,.7); }
:root[data-theme="bright"] .vault-card-address-toggle,:root[data-theme="glacial"] .vault-card-address-toggle { color:#263d5b;border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.2); }
:root[data-theme="bright"] .vault-card-footer p,:root[data-theme="glacial"] .vault-card-footer p,:root[data-theme="bright"] .vault-card-hints small,:root[data-theme="glacial"] .vault-card-hints small { color:#607591; }
@media(max-width:560px){.vault-card-overlay{padding:10px}.vault-card-dialog{width:calc(100vw - 20px);max-height:92vh;border-radius:20px}.vault-card-dialog>header{padding:15px 17px}.vault-card-dialog form{padding:16px 17px 0}.vault-card-footer{margin-inline:-17px;padding:13px 17px;align-items:flex-start;flex-direction:column}.vault-card-tools{grid-template-columns:1fr}.vault-card-dialog .vault-fields{grid-template-columns:1fr}}

/* Segmented labels always pair a leading solid symbol with their text. */
.segmented-option { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.segmented-option > svg { width:16px; height:16px; flex:0 0 16px; fill:currentColor; }
.segmented-option > small { margin-left:-3px; }

/* One moving glass lens under the password manager's segmented labels. */
.vault-tabs { position:relative; isolation:isolate; }
.vault-tabs .vault-tab-indicator { position:absolute; pointer-events:none; z-index:0; box-sizing:border-box; border-radius:999px; border:1px solid rgba(255,255,255,.65); background:linear-gradient(155deg,rgba(255,255,255,.42),rgba(210,231,255,.16) 55%,rgba(174,210,255,.28)); backdrop-filter:blur(16px) saturate(150%); -webkit-backdrop-filter:blur(16px) saturate(150%); box-shadow:inset 0 1px 2px rgba(255,255,255,.75),inset 0 -1px 2px rgba(130,175,235,.25),0 3px 9px rgba(24,54,100,.16); transform-origin:center; }
.vault-tabs button { position:relative; z-index:1; min-width:0; transition:color 160ms ease; }
.vault-tabs button[aria-selected=true] { background:transparent; border-color:transparent; box-shadow:none; }
@media (prefers-reduced-motion:reduce) { .vault-tabs button { transition:none; } }

/* Link onboarding and purchase review. Provider content is rendered as plain text. */
#link-checkout-host { margin: 18px 0; color: var(--settings-ink); font-size: 14px; line-height: 1.5; }
#link-checkout-host h3 { margin: 0 0 8px; font-size: 16px; }
#link-checkout-host h4 { margin: 12px 0 4px; }
#link-checkout-host p { margin: 8px 0; }
#link-checkout-host button { margin: 5px 6px 5px 0; }
#link-checkout-host input, #link-checkout-host select { max-width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #91a7c560; border-radius: 12px; color: inherit; background: #ffffff35; }
#link-checkout-host pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
#link-checkout-host details { margin: 8px 0; }

/* Shared Settings page title and circular glass symbol treatment. */
.modal.settings-modal { --settings-page-title-size:30px; }
.modal.settings-modal .settings-panel-header { height:auto; min-height:60px; padding:0 54px 20px 0; gap:7px; box-sizing:border-box; }
.modal.settings-modal .settings-panel-header h2,
.modal.settings-modal .settings-wallet-title,
.modal.settings-modal .vault-heading h2,
.modal.settings-modal .settings-auth-title { margin:0; font-size:var(--settings-page-title-size); font-weight:500; letter-spacing:-.035em; line-height:1.18; color:var(--settings-ink); }
.modal.settings-modal .settings-section-icon { width:40px; height:40px; flex:0 0 40px; border-radius:50%; border:1px solid rgba(238,248,255,.65); background:linear-gradient(145deg,rgba(255,255,255,.38),rgba(190,216,247,.12)); box-shadow:inset 0 1px 2px rgba(255,255,255,.7),0 5px 14px rgba(18,47,79,.12); backdrop-filter:blur(12px) saturate(155%); -webkit-backdrop-filter:blur(12px) saturate(155%); }
.modal.settings-modal .settings-section-icon svg { width:20px; height:20px; fill:currentColor; }
.modal.settings-modal .vault-heading { display:block; }
.modal.settings-modal .settings-wallet-page > .settings-panel-header { margin-bottom:24px; }

/* General settings: L3NS Cofounder Pro discovery. */
.settings-pro-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:22px;padding:24px;margin:18px 0 8px;border:1px solid rgba(231,244,255,.48);border-radius:30px;background:radial-gradient(ellipse at 0 0,rgba(255,255,255,.25),transparent 65%),linear-gradient(135deg,rgba(178,207,238,.16),rgba(112,143,190,.09));box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -1px 1px rgba(177,211,255,.2),0 12px 30px rgba(16,36,68,.12);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal .settings-pro-card { background:radial-gradient(ellipse at 0 0,rgba(255,255,255,.18),transparent 68%),linear-gradient(135deg,rgba(255,255,255,.13),rgba(172,205,242,.07) 55%,rgba(103,153,216,.05));border-color:rgba(255,255,255,.58);box-shadow:inset 0 1px 1px rgba(255,255,255,.72),inset 0 -1px 1px rgba(255,255,255,.12),0 12px 30px rgba(16,36,68,.1);-webkit-backdrop-filter:blur(30px) saturate(175%);backdrop-filter:blur(30px) saturate(175%); }
.settings-pro-eyebrow{display:block;font-size:10px;font-weight:650;letter-spacing:.12em;color:var(--settings-muted);margin-bottom:9px}
.modal.settings-modal .settings-pro-card h3{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;font-size:21px;line-height:1.18;font-weight:600;letter-spacing:-.035em;color:var(--settings-ink);margin:0 0 10px}
.modal.settings-modal .settings-pro-card p{font-size:12px;line-height:1.55;color:var(--settings-muted);margin:0 0 18px}
.settings-pro-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;min-height:38px;padding:9px 16px;border-radius:999px;border:1px solid rgba(244,249,255,.75);background:linear-gradient(140deg,rgba(255,255,255,.86),rgba(179,199,231,.64));box-shadow:inset 0 1px 2px #fff,0 4px 12px rgba(17,38,68,.13);color:#17273b;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:12px;font-weight:550;cursor:pointer}
.modal.settings-modal #settings-panel .settings-pro-cta { display:flex;width:max-content;margin:0;align-self:flex-start;justify-self:start; }
.modal.settings-modal #settings-panel .settings-pro-copy { display:flex;flex-direction:column;align-items:flex-start; }
.settings-pro-cta::before{content:"";display:inline-block;width:16px;height:16px;flex:0 0 16px;background:currentColor;mask: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%22M12%201.5%2014.8%209l7.7%203-7.7%203-2.8%207.5L9.2%2015%201.5%2012l7.7-3z%22/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask: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%22M12%201.5%2014.8%209l7.7%203-7.7%203-2.8%207.5L9.2%2015%201.5%2012l7.7-3z%22/%3E%3C/svg%3E") center/contain no-repeat}
.settings-pro-cta:hover{filter:brightness(1.08)}
.settings-pro-cta:focus-visible{outline:2px solid #5caaff;outline-offset:3px}
.settings-pro-art{display:block;width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;border-radius:23px;border:1px solid rgba(242,249,255,.65);box-shadow:inset 0 1px 1px white,0 8px 24px rgba(19,43,76,.12)}
@media(max-width:700px){.settings-pro-card{grid-template-columns:1fr;padding:20px;gap:18px}.settings-pro-art{aspect-ratio:2;max-height:180px}}

.settings-plan-lineup{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:26px 14px;border-radius:24px;background:linear-gradient(135deg,rgba(245,249,255,.75),rgba(199,218,248,.52));border:1px solid rgba(255,255,255,.6);box-shadow:inset 0 1px 2px rgba(255,255,255,.8);color:#122435}
[data-theme="bright"] .settings-plan-lineup {
  color: #f4f8ff;
  background:
    radial-gradient(ellipse at 16% 0%, rgba(167, 203, 240, .21), transparent 58%),
    linear-gradient(145deg, rgba(35, 48, 67, .94), rgba(12, 19, 32, .92) 62%, rgba(29, 42, 60, .9));
  border-color: rgba(213, 230, 250, .45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .32), inset 0 -1px 2px rgba(172, 206, 246, .16), 0 6px 16px rgba(19, 35, 56, .16);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}
[data-theme="bright"] .settings-plan-symbol .settings-plan-heading {
  color: #f4f8ff;
  background: linear-gradient(150deg, rgba(225, 238, 255, .16), rgba(135, 169, 210, .07));
  border-color: rgba(213, 230, 250, .38);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .2);
}
[data-theme="bright"] .settings-plan-symbol:is(:hover, :focus-within) .settings-plan-heading {
  color: white;
  background: linear-gradient(150deg, #42566f, #26354b);
}
[data-theme="bright"] .settings-plan-heading .settings-plan-badge {
  color: inherit;
}
.settings-pro-card > .settings-plan-lineup{width:calc(100% + 48px);margin-left:-48px;box-sizing:border-box}
.settings-plan-symbol{display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;gap:10px}
.settings-plan-symbol{appearance:none;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer}
.settings-plan-symbol:focus-visible{outline:2px solid #5caaff;outline-offset:4px;border-radius:12px}
.settings-plan-symbol>svg{display:block;width:48px;height:48px;flex:none;overflow:visible}
.settings-plan-symbol>.settings-tier-orb{display:block;width:48px;height:48px;flex:none;object-fit:contain;border-radius:50%;translate:var(--look-x,0px) var(--look-y,0px);transition:translate 160ms cubic-bezier(.2,.75,.25,1)}
.settings-plan-heading{display:flex;min-height:16px;align-items:center;justify-content:center;gap:5px}
.settings-plan-badge{display:grid;width:14px;height:14px;flex:none;place-items:center;color:#122435;pointer-events:none}
.settings-plan-badge svg{display:block;width:100%;height:100%;fill:currentColor}
.settings-plan-heading .settings-plan-badge.settings-plan-badge-crown{width:16px;height:16px;min-width:16px;min-height:16px;border-radius:50%;background:currentColor;padding:3px;box-sizing:border-box}
.settings-plan-badge-crown svg{color:#fff;fill:currentColor}
.settings-plan-name{font-size:10px;font-weight:600;letter-spacing:.01em}
@media(max-width:700px){.settings-plan-lineup{padding:24px;gap:20px}.settings-plan-symbol>svg,.settings-plan-symbol>.settings-tier-orb{width:52px;height:52px}}

/* Solid action symbols, shared by settings CTAs without changing button materials. */
button[data-cta-icon]::before{content:"";display:inline-block;width:16px;height:16px;flex:0 0 16px;vertical-align:-3px;margin-inline-end:8px;background:currentColor;mask:var(--settings-cta-symbol) center/contain no-repeat;-webkit-mask:var(--settings-cta-symbol) center/contain no-repeat;pointer-events:none}
button[data-cta-icon="plus"]{--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%22M11%203h2v8h8v2h-8v8h-2v-8H3v-2h8Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="paper-plane"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.8 2.5 2 10.2c-1.4.5-1.3 1.3-.2 1.7l5.1 1.6L18.8 6c.5-.3.9-.2.5.2l-9.6 8.7-.4 5.2c.6 0 .9-.3 1.3-.7l2.5-2.4 5.3 3.9c1 .6 1.7.3 1.9-1l3-16c.3-1.5-.4-2-1.5-1.4Z'/%3E%3C/svg%3E")}
button[data-cta-icon="check-circle"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-2 15.8-5-5 1.8-1.8 3.2 3.2 7.2-7.2 1.8 1.8Z'/%3E%3C/svg%3E")}
button[data-cta-icon="check"]{--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%22m9%2017-5-5%202-2%203%203L18%204l2%202Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="close"]{--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%22m6%204%206%206%206-6%202%202-6%206%206%206-2%202-6-6-6%206-2-2%206-6-6-6Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="arrow"]{--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%22M13%203%2011%205l5.5%205.5H3v3h13.5L11%2019l2%202%209-9Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="person"]{--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%22M12%202a5%205%200%201%200%200%2010%205%205%200%200%200%200-10ZM3%2022v-3a9%207%200%200%201%2018%200v3Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="person-plus"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 11a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM1 22v-3a7 7 0 0 1 12.5-4.3A7 7 0 0 0 13 18v4H1Z'/%3E%3Cpath fill-rule='evenodd' d='M18.5 13a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Zm-1 2.5h2v2h2v2h-2v2h-2v-2h-2v-2h2v-2Z'/%3E%3C/svg%3E")}
button[data-cta-icon="refresh"]{--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%22M20%203v6h-6l2.3-2.3A6.5%206.5%200%201%200%2018.5%2013H21a9%209%200%201%201-2.9-6.6L20%203Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="trash"]{--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%22M6%207h12l-1%2015H7L6%207Zm3-5h6l1%202h4v2H4V4h4Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="copy"]{--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%207h12v15H8V7ZM3%202h12v3H6v12H3V2Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="share"]{--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%22M11%205%208%208%206%206l6-6%206%206-2%202-3-3v10h-2V5ZM4%209h5v3H6v9h12v-9h-3V9h5a1%201%200%200%201%201%201v12a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V10a1%201%200%200%201%201-1Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="star"]{--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%22m12%201%203.3%206.7%207.4%201.1-5.4%205.2%201.3%207.4L12%2018l-6.6%203.4%201.3-7.4-5.4-5.2%207.4-1.1Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="link"]{--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%22M9.4%207.6%206%2011a4%204%200%200%200%205.7%205.7l2.1-2.1%202.1%202.1-2.1%202.1A7%207%200%200%201%203.9%208.9l3.4-3.4%202.1%202.1Zm5.2%208.8L18%2013a4%204%200%200%200-5.7-5.7l-2.1%202.1-2.1-2.1%202.1-2.1a7%207%200%200%201%209.9%209.9l-3.4%203.4-2.1-2.1ZM7.8%2014.1l6.3-6.3%202.1%202.1-6.3%206.3-2.1-2.1Z%22/%3E%3C/svg%3E")}
button[data-cta-icon="download"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6V2ZM4 18h16v4H4z'/%3E%3C/svg%3E")}
button[data-cta-icon="shield"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5 21 5v6.1c0 5.1-3.7 9.3-9 11.4-5.3-2.1-9-6.3-9-11.4V5l9-3.5Zm-1.2 14.9 6-6-1.7-1.7-4.3 4.3-2-2-1.7 1.7 3.7 3.7Z'/%3E%3C/svg%3E")}
button[data-cta-icon="mic"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14.5a3.5 3.5 0 0 0 3.5-3.5V5a3.5 3.5 0 1 0-7 0v6a3.5 3.5 0 0 0 3.5 3.5ZM6 10a1 1 0 0 1 2 0v1a4 4 0 0 0 8 0v-1a1 1 0 1 1 2 0v1a6 6 0 0 1-5 5.9V20h3a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2h3v-3.1A6 6 0 0 1 6 11v-1Z'/%3E%3C/svg%3E")}
button[data-cta-icon="gear"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m19.4 13.5 1.8 1.4-1.8 3.1-2.1-.8a7.6 7.6 0 0 1-1.5.9l-.3 2.3h-3.6l-.3-2.3a7.6 7.6 0 0 1-1.5-.9l-2.1.8-1.8-3.1L8 13.5a7.4 7.4 0 0 1 0-1.8l-1.8-1.4L8 7.2l2.1.8a7.6 7.6 0 0 1 1.5-.9l.3-2.3h3.6l.3 2.3a7.6 7.6 0 0 1 1.5.9l2.1-.8 1.8 3.1-1.8 1.4a7.4 7.4 0 0 1 0 1.8ZM13.7 15a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Z'/%3E%3C/svg%3E")}
button[data-cta-icon="cursor"]{--settings-cta-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.7c0-.7.8-1.1 1.4-.7l14.2 9.2c.7.5.5 1.5-.3 1.7l-5.7 1.4-2.7 5.1c-.4.8-1.5.7-1.8-.1L4 2.7Z'/%3E%3C/svg%3E")}
.modal.settings-modal #settings-panel .settings-secondary { text-align:center;font-weight:700; }
.modal.settings-modal #settings-panel button.settings-secondary:is([data-cta-icon],:has(> svg:first-child)) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.modal.settings-modal #settings-panel button.settings-secondary[data-cta-icon]::before,
.modal.settings-modal #settings-panel button.settings-secondary > svg:first-child {
  flex:0 0 16px;
  margin:0;
}

/* Powers: saved execution profile controls with the shared liquid-glass material. */
.powers-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.powers-control{min-width:0;padding:18px 19px 15px;border:1px solid rgba(235,246,255,.54);border-radius:24px;background:radial-gradient(ellipse at 12% 0,rgba(255,255,255,.18),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.15),rgba(127,164,211,.11) 58%,rgba(33,54,84,.16));box-shadow:inset 0 1px 1px rgba(255,255,255,.44),0 9px 22px rgba(23,47,79,.09);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
.powers-control-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--settings-ink)}
.powers-control-heading strong{font-size:15px;font-weight:650;letter-spacing:-.02em}
.powers-control-heading output{flex:none;padding:5px 9px;border:1px solid rgba(237,247,255,.48);border-radius:999px;background:var(--settings-control);color:var(--settings-ink);font-size:11px;font-weight:620}
.powers-control>small{display:block;min-height:31px;margin-top:8px;color:var(--settings-muted);font-size:11px;line-height:1.4}
.powers-control input[type=range]{display:block;width:100%;height:23px;margin:12px 0 4px;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;--power-progress:50%}
.powers-control input[type=range]::-webkit-slider-runnable-track{height:7px;border:1px solid rgba(237,247,255,.42);border-radius:999px;background:linear-gradient(90deg,rgba(117,178,255,.95) 0 var(--power-progress),rgba(20,40,67,.18) var(--power-progress) 100%);box-shadow:inset 0 1px 2px rgba(14,31,53,.16),0 1px rgba(255,255,255,.38)}
.powers-control input[type=range]::-moz-range-track{height:7px;border:1px solid rgba(237,247,255,.42);border-radius:999px;background:rgba(20,40,67,.18);box-shadow:inset 0 1px 2px rgba(14,31,53,.16),0 1px rgba(255,255,255,.38)}
.powers-control input[type=range]::-moz-range-progress{height:7px;border-radius:999px;background:rgba(117,178,255,.95)}
.powers-control input[type=range]::-webkit-slider-thumb{width:20px;height:20px;margin-top:-7px;appearance:none;-webkit-appearance:none;border:1px solid rgba(255,255,255,.95);border-radius:50%;background:radial-gradient(circle at 32% 24%,#fff,rgba(227,242,255,.95) 48%,rgba(128,166,215,.92));box-shadow:0 3px 8px rgba(20,43,74,.28),inset 0 1px 1px #fff}
.powers-control input[type=range]::-moz-range-thumb{width:19px;height:19px;border:1px solid rgba(255,255,255,.95);border-radius:50%;background:radial-gradient(circle at 32% 24%,#fff,rgba(227,242,255,.95) 48%,rgba(128,166,215,.92));box-shadow:0 3px 8px rgba(20,43,74,.28),inset 0 1px 1px #fff}
.powers-control input[type=range]:focus-visible{outline:2px solid #398fff;outline-offset:4px;border-radius:999px}
.powers-range-ends{display:flex;justify-content:space-between;gap:8px;color:var(--settings-muted);font-size:10px;line-height:1.2}
:root[data-theme="bright"] .powers-control{background:radial-gradient(ellipse at 12% 0,rgba(255,255,255,.62),transparent 65%),linear-gradient(145deg,rgba(248,252,255,.68),rgba(194,218,246,.42) 58%,rgba(140,177,222,.27));border-color:rgba(255,255,255,.78);box-shadow:inset 0 1px 1px rgba(255,255,255,.88),0 9px 22px rgba(43,74,116,.12)}

/* Keep the General promo title on one line while scaling to the available width. */
.settings-pro-card{grid-template-columns:minmax(0,1.25fr) minmax(205px,.85fr)}
.modal.settings-modal .settings-pro-card h3{font-size:clamp(12px,1.4vw,16px);line-height:1.15;letter-spacing:-.045em;white-space:nowrap}
.settings-plan-badge{width:14px;height:14px;min-width:14px;min-height:14px;border-radius:4px}
.settings-plan-badge svg{width:14px;height:14px;overflow:visible}
.settings-plan-symbol:nth-child(2) .settings-plan-badge svg{stroke-linecap:round;stroke-linejoin:round}
.settings-plan-heading{gap:5px}
@media(max-width:720px){.powers-controls{grid-template-columns:1fr}.powers-control>small{min-height:0}.settings-pro-card{grid-template-columns:minmax(0,1fr)}.modal.settings-modal .settings-pro-card h3{font-size:clamp(14px,3vw,19px)}}

/* The Pro lineup orbs stay subtly alive and follow the pointer. */
.settings-tier-orb{transform-origin:50% 50%;animation:tier-orb-float 5.2s ease-in-out infinite;will-change:transform}
.settings-plan-symbol:nth-child(2) .settings-tier-orb{animation-delay:-1.3s}
.settings-plan-symbol:nth-child(3) .settings-tier-orb{animation-delay:-2.6s}
.settings-plan-symbol:nth-child(4) .settings-tier-orb{animation-delay:-3.9s}
.settings-plan-lineup:hover .settings-tier-orb{animation-duration:3.6s}
@keyframes tier-orb-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-2px) rotate(1deg)}}
@media(prefers-reduced-motion:reduce){.settings-tier-orb{animation:none!important;transition:none}}

/* Place each plan label beneath its living orb in an individual glass capsule. */
.settings-plan-symbol{gap:8px}
.settings-plan-heading{width:100%;min-height:30px;box-sizing:border-box;padding:5px 9px;border:1px solid rgba(255,255,255,.66);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(215,230,250,.2));box-shadow:inset 0 1px 1px rgba(255,255,255,.72),0 4px 12px rgba(18,38,68,.1);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%)}
.settings-plan-heading{width:100%;margin-inline:0}
.modal.settings-modal .settings-pro-card h3{font-family:var(--settings-title-font);font-size:18px;line-height:1.2;font-weight:var(--settings-title-weight);letter-spacing:-.015em;margin:0 0 10px;color:var(--settings-ink)}
.settings-plan-symbol{position:relative;transition:transform 220ms cubic-bezier(.2,.75,.25,1)}
.settings-plan-heading{transition:background 200ms ease,border-color 200ms ease,box-shadow 200ms ease,transform 200ms cubic-bezier(.2,.75,.25,1),color 200ms ease}
.settings-plan-badge{transition:transform 200ms cubic-bezier(.2,.75,.25,1),color 200ms ease}
.settings-plan-symbol>.settings-tier-orb{transition:filter 200ms ease,scale 200ms cubic-bezier(.2,.75,.25,1)}
.settings-plan-symbol:hover,.settings-plan-symbol:focus-within{transform:translateY(-3px)}
.settings-plan-symbol:hover>.settings-tier-orb,.settings-plan-symbol:focus-within>.settings-tier-orb{scale:1.08;filter:brightness(1.1) drop-shadow(0 7px 12px rgba(42,91,154,.25))}
.settings-plan-symbol:hover .settings-plan-heading,.settings-plan-symbol:focus-within .settings-plan-heading{transform:translateY(-1px);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%)}
.settings-plan-symbol:nth-child(1):hover .settings-plan-heading,.settings-plan-symbol:nth-child(1):focus-within .settings-plan-heading{background:radial-gradient(ellipse at 24% -16%,rgba(255,255,255,.92),transparent 68%),radial-gradient(ellipse at 82% 125%,rgba(130,173,255,.34),transparent 70%),linear-gradient(145deg,rgba(239,246,255,.62),rgba(190,211,255,.34) 54%,rgba(117,149,224,.28));border-color:rgba(226,237,255,.98);box-shadow:inset 0 1.5px 2px rgba(255,255,255,.96),inset 0 -1px 1px rgba(195,215,255,.42),0 7px 17px rgba(57,86,166,.24)}
.settings-plan-symbol:nth-child(2):hover .settings-plan-heading,.settings-plan-symbol:nth-child(2):focus-within .settings-plan-heading{background:radial-gradient(ellipse at 24% -16%,rgba(226,247,255,.82),transparent 68%),radial-gradient(ellipse at 82% 125%,rgba(36,125,180,.38),transparent 70%),linear-gradient(145deg,rgba(112,157,184,.42),rgba(21,51,75,.46) 54%,rgba(7,20,35,.4));border-color:rgba(190,228,246,.86);box-shadow:inset 0 1.5px 2px rgba(235,250,255,.78),inset 0 -1px 1px rgba(26,77,110,.52),0 7px 17px rgba(8,32,54,.28)}
.settings-plan-symbol:nth-child(3):hover .settings-plan-heading,.settings-plan-symbol:nth-child(3):focus-within .settings-plan-heading{background:radial-gradient(ellipse at 24% -16%,rgba(255,255,255,.94),transparent 68%),radial-gradient(ellipse at 82% 125%,rgba(125,142,160,.3),transparent 70%),linear-gradient(145deg,rgba(226,231,237,.5),rgba(115,126,140,.34) 54%,rgba(41,49,59,.34));border-color:rgba(236,241,246,.94);box-shadow:inset 0 1.5px 2px rgba(255,255,255,.96),inset 0 -1px 1px rgba(130,143,159,.4),0 7px 17px rgba(36,45,58,.24)}
.settings-plan-symbol:nth-child(4):hover .settings-plan-heading,.settings-plan-symbol:nth-child(4):focus-within .settings-plan-heading{background:radial-gradient(ellipse at 22% -12%,rgba(255,255,255,.94),transparent 66%),radial-gradient(ellipse at 76% 115%,rgba(184,161,242,.38),transparent 68%),linear-gradient(130deg,rgba(205,236,255,.45),rgba(236,205,245,.38) 48%,rgba(190,241,221,.36));border-color:rgba(248,236,255,.94);box-shadow:inset 0 1.5px 2px rgba(255,255,255,.96),inset 0 -1px 1px rgba(223,196,247,.4),0 7px 17px rgba(105,80,142,.2)}
.settings-plan-symbol:hover .settings-plan-badge,.settings-plan-symbol:focus-within .settings-plan-badge{transform:scale(1.1)}
.settings-plan-symbol:nth-child(1):hover .settings-plan-badge,.settings-plan-symbol:nth-child(1):focus-within .settings-plan-badge{color:#315caa}
.settings-plan-symbol:nth-child(2):hover .settings-plan-badge,.settings-plan-symbol:nth-child(2):focus-within .settings-plan-badge{color:#123e5d}
.settings-plan-symbol:nth-child(3):hover .settings-plan-badge,.settings-plan-symbol:nth-child(3):focus-within .settings-plan-badge{color:#303c4b}
.settings-plan-symbol:nth-child(4):hover .settings-plan-badge,.settings-plan-symbol:nth-child(4):focus-within .settings-plan-badge{color:#76548c}
.settings-plan-symbol:nth-child(1):is(:hover,:focus-within) .settings-plan-heading{color:#183b70}
.settings-plan-symbol:nth-child(2):is(:hover,:focus-within) .settings-plan-heading{color:#f5fbff}
.settings-plan-symbol:nth-child(3):is(:hover,:focus-within) .settings-plan-heading{color:#f7f9fc}
.settings-plan-symbol:nth-child(4):is(:hover,:focus-within) .settings-plan-heading{color:#26334a}
:root[data-theme="bright"] .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading,:root[data-theme="glacial"] .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading,:root[data-theme="bright"] .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading :is(.settings-plan-name,.settings-plan-badge),:root[data-theme="glacial"] .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading :is(.settings-plan-name,.settings-plan-badge){color:#fff!important}
.settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading .settings-plan-badge{color:inherit}
.settings-search{border-radius:999px}
@media(prefers-reduced-motion:reduce){.settings-plan-symbol,.settings-plan-heading,.settings-plan-badge,.settings-plan-symbol>.settings-tier-orb{transition:none!important}.settings-plan-symbol:hover,.settings-plan-symbol:focus-within,.settings-plan-symbol:hover .settings-plan-heading,.settings-plan-symbol:focus-within .settings-plan-heading{transform:none}}

/* Powers rows use the compact icon, divider, and control layout from the reference. */
.powers-controls{display:block;overflow:hidden;margin-top:22px;border:1px solid rgba(235,246,255,.66);border-radius:28px;background:radial-gradient(ellipse at 10% 0,rgba(255,255,255,.34),transparent 64%),linear-gradient(135deg,rgba(247,251,255,.54),rgba(174,205,239,.25) 58%,rgba(95,143,202,.18));box-shadow:inset 0 1px 1px rgba(255,255,255,.75),0 12px 28px rgba(20,45,77,.1);backdrop-filter:blur(22px) saturate(155%);-webkit-backdrop-filter:blur(22px) saturate(155%)}
.powers-control{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(190px,32%);align-items:center;gap:18px;min-height:104px;padding:20px 26px;border:0;border-bottom:1px solid rgba(53,85,124,.17);border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;cursor:default}
.powers-control:last-child{border-bottom:0}
.powers-control-icon{display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(255,255,255,.62);border-radius:18px;background:linear-gradient(145deg,rgba(162,240,130,.95),rgba(105,221,122,.82));box-shadow:0 8px 18px rgba(28,61,92,.12),inset 0 1px rgba(255,255,255,.8);color:#173c34}
.powers-control-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.powers-control[data-power-key="autonomy"] .powers-control-icon{background:linear-gradient(145deg,rgba(127,211,255,.94),rgba(81,155,235,.82));color:#102c4b}
.powers-control[data-power-key="focus"] .powers-control-icon{background:linear-gradient(145deg,rgba(188,162,255,.96),rgba(135,100,230,.86));color:#281650}
.powers-control[data-power-key="risk"] .powers-control-icon{background:linear-gradient(145deg,rgba(255,192,210,.96),rgba(229,119,158,.84));color:#512238}
.powers-control-copy{display:grid;gap:5px;min-width:0}
.powers-control-heading{justify-content:flex-start;gap:12px}
.powers-control-heading strong{font-size:16px}
.powers-control-heading output{margin-left:auto}
.powers-control-copy>small{min-height:0;margin:0;font-size:12px;line-height:1.4}
.powers-control-range{min-width:0}
.powers-control input[type=range]{margin:8px 0 3px}
.powers-range-ends{font-size:10px}
:root[data-theme="bright"] .powers-controls{background:radial-gradient(ellipse at 10% 0,rgba(255,255,255,.78),transparent 68%),linear-gradient(135deg,rgba(247,251,255,.67),rgba(174,205,239,.4) 58%,rgba(95,143,202,.24));border-color:rgba(255,255,255,.82);box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 12px 28px rgba(38,72,112,.13)}
:root[data-theme="bright"] .powers-control{border-bottom-color:rgba(47,83,126,.18)}
@media(max-width:760px){.powers-control{grid-template-columns:48px minmax(0,1fr);gap:14px;padding:18px}.powers-control-icon{width:46px;height:46px;border-radius:16px}.powers-control-range{grid-column:2;grid-row:2}.powers-control-heading strong{font-size:14px}.powers-control-copy>small{font-size:11px}}
:root[data-theme="bright"] .powers-control{background:transparent;box-shadow:none}

/* Powers controls use animated cofounder orbs as the slider handles. */
.powers-control-icon svg{fill:currentColor;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter}
.powers-control-range{display:grid;grid-template-rows:auto 30px auto;align-items:center;gap:2px;min-width:0}
.powers-range-value{justify-self:center;min-width:0;padding:4px 10px;border:1px solid rgba(237,247,255,.55);border-radius:999px;background:var(--settings-control);color:var(--settings-ink);font-size:11px;font-weight:620;line-height:1.1;text-align:center;white-space:nowrap}
.powers-slider-lane{position:relative;display:block;width:100%;height:30px;min-width:0}
.powers-control input[type="range"]{position:absolute;z-index:1;inset:0;width:100%;height:30px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}
.powers-control input[type="range"]::-webkit-slider-thumb{width:28px;height:28px;margin-top:-11px;appearance:none;-webkit-appearance:none;border:0;border-radius:50%;background:transparent;box-shadow:none;opacity:0}
.powers-control input[type="range"]::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:transparent;box-shadow:none;opacity:0}
.powers-slider-orb{position:absolute;z-index:2;top:50%;left:14px;display:block;width:28px;height:28px;margin:0;transform:translate(-50%,-50%);pointer-events:none;overflow:visible}
.powers-slider-orb .living-orb-fallback,.powers-slider-orb .living-orb-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.powers-control input[type="range"]:focus-visible{outline:2px solid #398fff;outline-offset:2px;border-radius:999px}
:root[data-theme="bright"] .powers-range-value{border-color:rgba(255,255,255,.72);background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(186,211,242,.48));box-shadow:inset 0 1px rgba(255,255,255,.8)}
@media(max-width:760px){.powers-control-range{grid-column:2;grid-row:2}.powers-slider-lane{height:30px}}

/* Keep each solid Power symbol immediately beside its label and description. */
.powers-control{grid-template-columns:minmax(0,1fr) minmax(190px,32%);gap:22px}
.powers-control-copy{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:5px;min-width:0}
.powers-control-copy-text{display:grid;gap:5px;min-width:0}
.powers-control-heading{justify-content:flex-start;gap:0}
.powers-control-heading strong{font-size:16px}
.powers-control-copy-text>small{display:block;min-height:0;margin:0;color:var(--settings-muted);font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.powers-control-icon{grid-column:1;grid-row:1;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.66);background:linear-gradient(145deg,rgba(162,240,130,.88),rgba(105,221,122,.68));box-shadow:0 5px 12px rgba(28,61,92,.1),inset 0 1px rgba(255,255,255,.82);color:#173c34}
.powers-control-icon svg{width:21px;height:21px;fill:currentColor;stroke:none}
.powers-control-emoji{display:block;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:20px;line-height:1;filter:drop-shadow(0 1px 1px rgba(12,30,54,.22))}
.powers-control-icon>.powers-control-emoji{position:relative;z-index:1;visibility:visible;opacity:1;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:22px;font-variant-emoji:emoji;line-height:1;filter:drop-shadow(0 1px 1px rgba(12,30,54,.22))}
.powers-control[data-power-key="autonomy"] .powers-control-icon{background:linear-gradient(145deg,rgba(127,211,255,.88),rgba(81,155,235,.66));color:#102c4b}
.powers-control[data-power-key="focus"] .powers-control-icon{background:linear-gradient(145deg,rgba(188,162,255,.9),rgba(135,100,230,.72));color:#281650}
.powers-control[data-power-key="risk"] .powers-control-icon{background:linear-gradient(145deg,rgba(255,192,210,.9),rgba(229,119,158,.7));color:#512238}
.powers-control-range{grid-column:2;grid-row:1}
@media(max-width:760px){.powers-control{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}.powers-control-copy{grid-column:1;grid-row:1}.powers-control-copy-text>small{font-size:11px}.powers-control-range{grid-column:1;grid-row:2}.powers-control-icon{width:34px;height:34px}.powers-control-icon svg{width:19px;height:19px}.powers-control-emoji{font-size:18px}}

/* Neutral liquid-glass symbol wells adapt to the active appearance. */
.powers-control-icon,
.powers-control[data-power-key="autonomy"] .powers-control-icon,
.powers-control[data-power-key="focus"] .powers-control-icon,
.powers-control[data-power-key="risk"] .powers-control-icon{
  border:1px solid rgba(244,249,255,.78);
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.62),transparent 57%),linear-gradient(145deg,rgba(178,198,222,.36),rgba(71,91,121,.32));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.82),inset 0 -5px 9px rgba(18,37,66,.2),0 5px 12px rgba(20,38,64,.14);
  color:#f5f9ff;
  -webkit-backdrop-filter:blur(12px) saturate(135%);
  backdrop-filter:blur(12px) saturate(135%);
}
:root[data-theme="bright"] .powers-control-icon,
:root[data-theme="bright"] .powers-control[data-power-key="autonomy"] .powers-control-icon,
:root[data-theme="bright"] .powers-control[data-power-key="focus"] .powers-control-icon,
:root[data-theme="bright"] .powers-control[data-power-key="risk"] .powers-control-icon{
  border-color:rgba(255,255,255,.9);
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.96),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.72),rgba(177,204,235,.44));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -5px 9px rgba(87,119,157,.14),0 5px 12px rgba(40,67,102,.12);
  color:#17304e;
}

/* Dark appearance: smoked translucent glass with readable control copy. */
:root:not([data-theme="bright"]) .powers-controls{
  border-color:rgba(197,218,247,.28);
  background:radial-gradient(ellipse at 12% 0,rgba(162,190,226,.13),transparent 66%),linear-gradient(135deg,rgba(47,57,73,.52),rgba(15,21,31,.58) 58%,rgba(31,44,63,.46));
  box-shadow:inset 0 1px 1px rgba(239,247,255,.18),inset 0 -1px rgba(3,9,18,.42),0 14px 34px rgba(0,0,0,.25);
}
:root:not([data-theme="bright"]) .powers-control{border-bottom-color:rgba(190,211,239,.16)}
:root:not([data-theme="bright"]) .powers-control-copy-text>small{color:#d0dced}
:root:not([data-theme="bright"]) .powers-range-ends{color:#aebdd1}
:root:not([data-theme="bright"]) .powers-control input[type="range"]::-webkit-slider-runnable-track{
  border-color:rgba(207,224,248,.34);
  background:linear-gradient(90deg,rgba(183,202,229,.62) 0 var(--power-progress),rgba(9,15,24,.78) var(--power-progress) 100%),linear-gradient(180deg,rgba(232,241,255,.12),rgba(15,24,38,.3));
  box-shadow:inset 0 1px 2px rgba(0,0,0,.52),inset 0 -1px rgba(225,238,255,.12),0 1px rgba(255,255,255,.1);
}
:root:not([data-theme="bright"]) .powers-control input[type="range"]::-moz-range-track{
  border-color:rgba(207,224,248,.34);
  background:linear-gradient(180deg,rgba(232,241,255,.12),rgba(15,24,38,.72));
  box-shadow:inset 0 1px 2px rgba(0,0,0,.52),inset 0 -1px rgba(225,238,255,.12),0 1px rgba(255,255,255,.1);
}
:root:not([data-theme="bright"]) .powers-control input[type="range"]::-moz-range-progress{
  background:linear-gradient(180deg,rgba(222,234,251,.82),rgba(113,139,177,.62));
  box-shadow:inset 0 1px rgba(255,255,255,.38),inset 0 -1px rgba(13,23,38,.3);
}
:root:not([data-theme="bright"]) .powers-range-value{
  border-color:rgba(216,231,251,.34);
  background:radial-gradient(circle at 28% 8%,rgba(217,232,255,.16),transparent 58%),linear-gradient(145deg,rgba(81,94,114,.42),rgba(20,28,41,.62));
  color:#f2f6fc;
  box-shadow:inset 0 1px rgba(255,255,255,.2),inset 0 -1px rgba(0,0,0,.3),0 3px 9px rgba(0,0,0,.16);
  -webkit-backdrop-filter:blur(14px) saturate(135%);backdrop-filter:blur(14px) saturate(135%);
}
:root:not([data-theme="bright"]) .powers-control-icon,
:root:not([data-theme="bright"]) .powers-control[data-power-key="autonomy"] .powers-control-icon,
:root:not([data-theme="bright"]) .powers-control[data-power-key="focus"] .powers-control-icon,
:root:not([data-theme="bright"]) .powers-control[data-power-key="risk"] .powers-control-icon{
  border-color:rgba(214,230,251,.38);
  background:radial-gradient(circle at 28% 14%,rgba(225,239,255,.2),transparent 58%),linear-gradient(145deg,rgba(76,91,113,.52),rgba(14,21,32,.78));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.27),inset 0 -5px 9px rgba(0,0,0,.38),0 5px 13px rgba(0,0,0,.26);
  color:#f4f8ff;
}

/* Solid SF-style symbols sit beside each live power value and slider endpoint. */
.powers-range-value{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.powers-label-symbol{display:inline-block;flex:none;width:12px;height:12px;fill:currentColor;vertical-align:-2px}
.powers-range-ends{display:flex;align-items:center;justify-content:space-between;gap:10px}
.powers-range-ends>span{display:inline-flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}
.powers-range-ends .powers-label-symbol{width:10px;height:10px;opacity:.88}

/* Founder approval uses the same standalone glass settings-row treatment as Sounds. */
.modal.settings-modal .settings-row.powers-approval-note{
  min-height:108px;
  padding:22px 26px;
  gap:28px;
  box-sizing:border-box;
  align-items:center;
  border:1px solid rgba(255,255,255,.48);
  border-radius:32px;
  overflow:hidden;
  background:radial-gradient(ellipse at 14% -18%,rgba(255,255,255,.2),transparent 62%),linear-gradient(135deg,rgba(255,255,255,.13),rgba(139,178,224,.1) 55%,rgba(84,145,213,.12));
  box-shadow:inset 0 1px rgba(255,255,255,.32),inset 0 -1px rgba(255,255,255,.08),0 10px 24px rgba(36,73,117,.1);
  -webkit-backdrop-filter:blur(20px) saturate(155%);
  backdrop-filter:blur(20px) saturate(155%);
}
.modal.settings-modal .powers-approval-note .settings-row-copy{flex:1 1 auto;min-width:0}
.modal.settings-modal .powers-approval-note .settings-switch{position:relative;z-index:1;flex:0 0 50px;width:50px;height:30px;display:block;visibility:visible;opacity:1;margin:0}
.modal.settings-modal .powers-approval-note .settings-switch i{width:24px;height:24px}
.modal.settings-modal .powers-approval-note .settings-switch.on i{transform:translateX(20px)}
:root[data-theme="bright"] .modal.settings-modal .settings-row.powers-approval-note,
:root[data-theme="glacial"] .modal.settings-modal .settings-row.powers-approval-note{
  border-color:rgba(255,255,255,.62);
  background:radial-gradient(ellipse at 14% -18%,rgba(255,255,255,.42),transparent 62%),linear-gradient(135deg,rgba(242,249,255,.28),rgba(196,221,247,.2) 55%,rgba(124,183,240,.2));
  box-shadow:inset 0 1px rgba(255,255,255,.58),inset 0 -1px rgba(255,255,255,.18),0 10px 24px rgba(36,73,117,.1);
}
@media (max-height:720px){.modal.settings-modal .settings-row.powers-approval-note{min-height:88px;padding-block:15px}}

.discovery-source-list { display:grid; gap:12px; margin-block:16px; }
.discovery-source-list details { margin:4px 0 0 8px; font-size:12px; color:var(--muted); }
.discovery-source-list summary { cursor:pointer; width:fit-content; }
.discovery-source-list details p { margin:6px 0; }

#modal:has(> .discovery-evidence-scroll) { padding:0; overflow:hidden; }
.discovery-evidence-scroll { max-height:inherit; overflow:auto; padding:60px 24px 24px; box-sizing:border-box; }
#modal:has(> .discovery-evidence-scroll) > .modal-close { position:absolute; inset:10px 12px auto auto; z-index:3; }
.discovery-evidence-scroll > .modal-actions {
  flex-direction:column;
  align-items:center;
}
#modal [data-discovery-action="choose-modal"]::before { content:none; }
#modal .discovery-build-orb { width:28px; height:28px; flex:0 0 28px; }

.discovery-score-row {
  padding:9px 13px;
  border:1px solid var(--line-strong);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(183,209,247,.06) 65%,rgba(211,229,255,.13));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 3px 10px rgba(13,34,61,.07);
  -webkit-backdrop-filter:blur(12px) saturate(135%);
  backdrop-filter:blur(12px) saturate(135%);
}
.discovery-score-row + .discovery-score-row { margin-top:6px; }
.score-title-pill,
.discovery-score-row h3 > span {
  flex:none;
  align-self:flex-start;
  padding:3px 9px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:linear-gradient(155deg,rgba(255,255,255,.36),rgba(190,215,246,.12) 65%,rgba(225,238,255,.23));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48),0 1px 4px rgba(13,34,61,.12);
  -webkit-backdrop-filter:blur(8px) saturate(135%);
  backdrop-filter:blur(8px) saturate(135%);
  font-size:13px;
  line-height:1.25;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.discovery-score-row h3 { display:flex; justify-content:space-between; gap:12px; margin:0; }
.discovery-score-row p { margin:4px 0 6px; }

.discovery-evidence-scroll:has(> .discovery-score-speaker) { padding-top:24px; }
.discovery-score-speaker { display:grid; justify-items:center; gap:14px; text-align:center; }
.discovery-score-speaker h2 { margin:3px 0 0; overflow-wrap:anywhere; }
.discovery-score-avatar { border-radius:50%; touch-action:none; cursor:grab; }
.discovery-score-avatar:active { cursor:grabbing; }
.discovery-score-avatar > :is(img,.living-orb) { width:100%; height:100%; }

/* Contact-info entry uses the same full-app modal as password and card entries. */
.vault-contact-dialog { width:min(780px,calc(100vw - 36px)); }
.vault-contact-dialog .vault-contact-repeats { display:grid;gap:11px; }
.vault-contact-dialog .vault-fields { display:grid;grid-template-columns:1fr 1fr; }
.vault-card-dialog select { width:100%;min-width:0;box-sizing:border-box;padding:12px 14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.025);color:#f6f7fa;font:inherit;outline:none; }
.vault-card-dialog select:focus { border-color:rgba(153,194,255,.76);box-shadow:0 0 0 3px rgba(93,151,235,.18); }
.vault-card-dialog select option { color:#172a42;background:#edf4fc; }
:root[data-theme="bright"] .vault-card-dialog select,:root[data-theme="glacial"] .vault-card-dialog select { color:#172a42;background:rgba(255,255,255,.3);border-color:rgba(255,255,255,.7); }
@media(max-width:560px){.vault-contact-dialog .vault-fields{grid-template-columns:1fr}.vault-contact-dialog .vault-card-footer-actions{flex-wrap:wrap}}

/* Contact-info fields use a softer iOS-style continuous-glass silhouette. */
.vault-contact-dialog :is(input,textarea,select) { border-radius:22px; }
.vault-contact-dialog :is(input,textarea,select):focus { border-radius:22px; }

#modal:has(.discovery-score-speaker) {
  border-radius:clamp(32px, 6vw, 48px);
}
#modal:has(.discovery-score-speaker) > .discovery-evidence-scroll {
  border-radius:inherit;
}
/* Match password and credit-card modal fields to the iOS-style contact controls. */
.vault-login-dialog :is(input,textarea,select),
.vault-login-dialog :is(input,textarea,select):focus,
.vault-card-dialog:not(.vault-contact-dialog) :is(input:not([type="file"]),textarea,select),
.vault-card-dialog:not(.vault-contact-dialog) :is(input:not([type="file"]),textarea,select):focus { border-radius:22px; }

/* Password, card, and contact dialogs share a deeper translucent liquid-glass surface. */
.vault-card-overlay {
  background:rgba(2,8,18,.48);
  -webkit-backdrop-filter:blur(30px) saturate(155%);
  backdrop-filter:blur(30px) saturate(155%);
}
.vault-card-dialog {
  background:radial-gradient(ellipse at 10% 0,rgba(255,255,255,.13),transparent 58%),linear-gradient(145deg,rgba(111,143,183,.38),rgba(22,36,59,.66));
  border:1px solid rgba(228,241,255,.42);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.46),inset 0 -1px 1px rgba(155,193,239,.16),0 32px 100px rgba(0,0,0,.48),0 10px 32px rgba(42,82,139,.16);
  -webkit-backdrop-filter:blur(34px) saturate(165%);
  backdrop-filter:blur(34px) saturate(165%);
}
.vault-card-dialog>header,
.vault-card-footer {
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(191,217,250,.07));
  border-color:rgba(225,240,255,.28);
  -webkit-backdrop-filter:blur(24px) saturate(165%);
  backdrop-filter:blur(24px) saturate(165%);
}
.vault-card-dialog input:not([type="file"]),
.vault-card-dialog textarea,
.vault-card-dialog select {
  background:linear-gradient(145deg,rgba(255,255,255,.19),rgba(211,230,255,.09));
  border-color:rgba(238,247,255,.48);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.24),0 4px 14px rgba(12,31,57,.08);
}
:root[data-theme="bright"] .vault-card-overlay,
:root[data-theme="glacial"] .vault-card-overlay {
  background:rgba(28,55,91,.22);
  -webkit-backdrop-filter:blur(32px) saturate(175%);
  backdrop-filter:blur(32px) saturate(175%);
}
:root[data-theme="bright"] .vault-card-dialog,
:root[data-theme="glacial"] .vault-card-dialog {
  background:radial-gradient(ellipse at 12% 0,rgba(255,255,255,.66),transparent 58%),linear-gradient(145deg,rgba(245,250,255,.67),rgba(155,190,232,.43));
  border-color:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.88),inset 0 -1px 1px rgba(255,255,255,.35),0 32px 90px rgba(32,73,128,.27);
  -webkit-backdrop-filter:blur(34px) saturate(175%);
  backdrop-filter:blur(34px) saturate(175%);
}
:root[data-theme="bright"] .vault-card-dialog>header,
:root[data-theme="glacial"] .vault-card-dialog>header,
:root[data-theme="bright"] .vault-card-footer,
:root[data-theme="glacial"] .vault-card-footer {
  background:linear-gradient(135deg,rgba(255,255,255,.56),rgba(218,234,255,.28));
  border-color:rgba(255,255,255,.46);
  -webkit-backdrop-filter:blur(26px) saturate(175%);
  backdrop-filter:blur(26px) saturate(175%);
}
:root[data-theme="bright"] .vault-card-dialog input:not([type="file"]),
:root[data-theme="bright"] .vault-card-dialog textarea,
:root[data-theme="bright"] .vault-card-dialog select,
:root[data-theme="glacial"] .vault-card-dialog input:not([type="file"]),
:root[data-theme="glacial"] .vault-card-dialog textarea,
:root[data-theme="glacial"] .vault-card-dialog select {
  background:linear-gradient(145deg,rgba(255,255,255,.45),rgba(255,255,255,.2));
  border-color:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.82),0 4px 14px rgba(34,75,129,.08);
}

.ob-question-speaker {
  display: inline-grid;
  width: min(500px, 100%);
  box-sizing: border-box;
  padding: 13px 18px 14px;
  border: 1px solid #dbe9ff42;
  border-radius: 24px;
  background: linear-gradient(145deg, #c0d8ff32, #899fb81c 55%, #abcaff28);
  box-shadow: inset 0 1px 0 #ffffff32, 0 5px 20px #101a301c;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  text-align: left;
}
.ob-question-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.ob-question-receipt {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 11px/1.2 -apple-system, BlinkMacSystemFont, sans-serif;
  color: #b5c7d9;
}
.discovery-score-message { width:min(320px,100%); padding:7px 12px; margin-bottom:10px; border-radius:19px 19px 19px 7px; }
.discovery-score-message .ob-question-content { gap:7px; }
.discovery-score-message .discovery-score-avatar { flex:none; width:30px; height:30px; }
#modal .discovery-score-message p { margin:3px 0; font-size:13px; line-height:1.3; }
.discovery-score-message .ob-question-receipt { color:var(--muted); font-size:10px; gap:4px; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .discovery-score-message {
  border-color:#ffffffdb;
  background:linear-gradient(145deg,#ffffffa8,#edf7ff55 60%,#cfddf15c);
  box-shadow:inset 0 1px 0 white,0 4px 16px #31466518;
}

/* Keep vault modal actions without a separate footer banner. */
:root .vault-card-dialog .vault-card-footer {
  position:static;
  justify-content:flex-end;
  margin:12px 0 0;
  padding:0;
  border:0;
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:none;
}
:root .vault-card-dialog>header h3 { display:flex;align-items:center;gap:10px; }
.vault-dialog-title-icon { display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;color:inherit;background:linear-gradient(145deg,rgba(255,255,255,.42),rgba(135,170,220,.2));border:1px solid rgba(255,255,255,.52);box-shadow:inset 0 1px 1px rgba(255,255,255,.58),0 3px 10px rgba(20,45,78,.12); }
.vault-dialog-title-icon svg { width:16px;height:16px; }

.discovery-score-message .ob-question-content > div { min-width:0; }
#score-heading { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:6px; }
#score-heading .score-title-pill {
  display:inline-flex; align-items:center; gap:4px; max-width:100%; align-self:center;
  padding:1px 7px 1px 3px; font-size:12px; min-height:21px;
}
.score-title-pill img { flex:none; width:18px; height:18px; object-fit:cover; border-radius:50%; }
.score-title-pill > span { min-width:0; white-space:normal; overflow-wrap:anywhere; }
.score-title-emoji { font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif; }
.score-inline-rating { display:inline-flex;align-items:center;gap:4px;vertical-align:middle;white-space:nowrap; }

.discovery-score-row { font-size:13px; }
.discovery-score-row h3 { font-size:15px; }
.discovery-score-row h3 > span { font-size:11px; }
#modal .discovery-score-row p,
#modal .discovery-score-row a { font-size:13px; }

.discovery-score-row h3 > span { display:inline-flex; align-items:center; gap:4px; }

:root[data-theme="bright"] #modal .discovery-score-message {
  color:#f8fbff;
  --muted:#e2ebf6;
  border-color:rgba(228,239,255,.58);
  background:linear-gradient(145deg,rgba(57,76,98,.83),rgba(23,34,51,.86) 58%,rgba(51,69,90,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 4px 14px rgba(25,39,58,.18);
}
:root[data-theme="bright"] #score-heading .score-title-pill { color:#fff; background:rgba(255,255,255,.12); }

#modal:has(.discovery-score-speaker) > .modal-close { inset:24px 24px auto auto; }
:root[data-theme="bright"] .third-party-preview {
  background:linear-gradient(145deg,rgba(255,255,255,.87),rgba(233,244,255,.74) 58%,rgba(207,225,246,.78));
  color:#172e47;
  border:1px solid rgba(255,255,255,.86);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 6px 22px rgba(25,46,75,.16);
  -webkit-backdrop-filter:blur(20px) saturate(135%);
  backdrop-filter:blur(20px) saturate(135%);
}
:root[data-theme="bright"] .third-party-preview :is(.third-party-preview-link,.third-party-preview-description,.third-party-preview-arrow) { color:#344e68; }
:root[data-theme="bright"] .third-party-preview-arrow { background:linear-gradient(145deg,#ffffffbd,#b6cde57a); }
@media (prefers-reduced-transparency:reduce) {
  :root[data-theme="bright"] .third-party-preview { background:#edf4fc; }
}

.score-card-title { display:inline-flex; align-items:center; gap:6px; font-weight:inherit; }

#profile-forecast-assumptions {
  position: fixed;
  inset: auto;
  margin: 0;
  box-sizing: border-box;
  width: min(408px, calc(100vw - 24px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px 20px;
  border: 1px solid #ffffff45;
  border-radius: 22px;
  color: #fff;
  color-scheme: dark;
  background: linear-gradient(145deg, #242529d9, #09090ad9 58%, #151517c9);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  box-shadow: inset 0 1px 1px #ffffff42, 0 12px 36px #0005;
  font-size: 12px;
  line-height: 1.5;
}
#profile-forecast-assumptions :is(p, strong, caption, th, td, a) { color: inherit; }
.profile-forecast-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.profile-forecast-info {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #5a5c60;
  border-radius: 50%;
  background: linear-gradient(145deg, #292a2d, #09090a);
  box-shadow: inset 0 1px 1px #ffffff42;
  color: white;
  font: bold 14px/1 Georgia, serif;
  cursor: pointer;
}
.profile-forecast-info[aria-expanded="true"] { box-shadow: 0 0 0 2px #849bb2, inset 0 1px 1px #ffffff42; }

.profile-forecast table { width: 100%; text-align: start; font-variant-numeric: tabular-nums; }
.profile-forecast th, .profile-forecast td { text-align: start; padding: 3px; }
.profile-forecast a { color: inherit; text-decoration: underline; }
.product-profile-stat small { display: block; font-size: 9px; }

#modal.product-profile-modal .product-profile-identity :is([data-profile-kind="brand"], .product-profile-website-edit) {
  background: linear-gradient(155deg, #242529, #09090a 65%);
  color: #fff;
  border-color: #54565a;
  box-shadow: inset 0 1px 1px #ffffff36, 0 2px 5px #0002;
}

/* Dark profile popups use light glass for black, pill-shaped action widgets. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) {
  --profile-pill-rim:rgba(255,255,255,.78);
  --profile-pill-glass:radial-gradient(120% 145% at 16% 0,rgba(255,255,255,.98),rgba(247,250,255,.91) 44%,rgba(207,224,247,.82) 100%);
  --profile-pill-shadow:inset 0 1px rgba(255,255,255,.98),inset 0 -1px rgba(91,119,153,.12),0 5px 14px rgba(0,0,0,.14);
  --profile-pill-ink:#172b45;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.profile-modal :is(
  .profile-footer button,
  .profile-text-link,
  .product-profile-website-edit,
  .product-profile-website-form button,
  .product-profile-identity [data-profile-kind="brand"],
  .product-profile-stats > button,
  .product-profile-pills button,
  .product-profile-chip,
  .product-profile-media-pill,
  .product-profile-media-title span,
  .profile-features span,
  .agent-profile-role-pill,
  .agent-profile-save,
  .agent-profile-footer button,
  .agent-profile-picker-option.selected
) {
  border-color:var(--profile-pill-rim);
  background:var(--profile-pill-glass);
  box-shadow:var(--profile-pill-shadow);
  color:var(--profile-pill-ink);
}
/* The product profile website CTA also has a more specific legacy dark rule. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-identity .product-profile-website .product-profile-website-edit {
  border:1px solid rgba(255,255,255,.84);
  border-radius:999px;
  background:radial-gradient(120% 145% at 16% 0,rgba(255,255,255,.98),rgba(247,250,255,.91) 44%,rgba(207,224,247,.82) 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.98),0 5px 14px rgba(0,0,0,.14);
  color:#172b45;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) #modal.product-profile-modal .product-profile-identity .product-profile-website .product-profile-website-edit svg {
  color:#172b45;
  fill:currentColor;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.profile-modal :is(
  .profile-footer button,
  .profile-text-link,
  .product-profile-website-edit,
  .product-profile-website-form button,
  .product-profile-identity [data-profile-kind="brand"],
  .product-profile-stats > button,
  .product-profile-pills button,
  .product-profile-chip,
  .product-profile-media-pill,
  .product-profile-media-title span,
  .agent-profile-role-pill,
  .agent-profile-save,
  .agent-profile-footer button,
  .agent-profile-picker-option.selected
) svg {
  color:#172b45;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.profile-modal :is(
  .profile-footer button,
  .profile-text-link,
  .product-profile-website-edit,
  .product-profile-website-form button,
  .product-profile-identity [data-profile-kind="brand"],
  .product-profile-stats > button,
  .product-profile-pills button,
  .product-profile-chip,
  .product-profile-media-pill,
  .agent-profile-role-pill,
  .agent-profile-save,
  .agent-profile-footer button,
  .agent-profile-picker-option.selected
):is(:hover,:focus-visible) {
  filter:brightness(1.045);
  box-shadow:inset 0 1px rgba(255,255,255,1),0 8px 19px rgba(0,0,0,.19);
}

/* Shared native-select enhancement: translucent liquid-glass trigger and menu. */
.glass-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.glass-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.glass-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 22px;
  color: var(--text, #eaf2ff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(153,190,255,.08) 58%, rgba(255,255,255,.13));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.28), 0 8px 22px rgba(4,14,35,.12);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.glass-select-trigger:hover,
.glass-select.is-open .glass-select-trigger {
  border-color: rgba(190,220,255,.72);
  background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(133,177,255,.13) 58%, rgba(255,255,255,.2));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.36), 0 10px 26px rgba(4,14,35,.18);
}
.glass-select-trigger:focus-visible,
.glass-select-option:focus-visible {
  outline: 2px solid #1684ff;
  outline-offset: 2px;
}
.glass-select-trigger:disabled { opacity: .5; cursor: not-allowed; }
.glass-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glass-select-trigger.has-solid-symbols .glass-select-value,
.glass-select-menu.has-solid-symbols .glass-select-option { display:flex;align-items:center;gap:10px; }
.glass-select-solid-symbol { display:block;flex:0 0 18px;width:18px;height:18px;fill:currentColor; }
.glass-select-chevron {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}
.glass-select.is-open .glass-select-chevron { transform: translateY(2px) rotate(225deg); }
.glass-select-menu {
  position: fixed;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 32px;
  color: var(--text, #eaf2ff);
  background:radial-gradient(130% 110% at 12% -22%,rgba(255,255,255,.24),transparent 61%),linear-gradient(145deg,rgba(74,91,119,.42),rgba(18,29,49,.48) 58%,rgba(47,68,99,.4));
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,.46),inset 0 -1px rgba(0,0,0,.09),0 20px 48px rgba(0,7,22,.23);
  backdrop-filter:blur(42px) saturate(190%) brightness(1.06);
  -webkit-backdrop-filter:blur(42px) saturate(190%) brightness(1.06);
  animation: glass-select-in .16s cubic-bezier(.2,.8,.2,1) both;
}
.glass-select-menu[hidden] { display: none; }
.glass-select-option {
  flex: 0 0 auto;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}
.glass-select-option[hidden] { display:none !important; }
.glass-select-menu.has-solid-symbols .glass-select-option { padding-inline:14px; }
.glass-select-option:hover,
.glass-select-option:focus-visible { background: rgba(202,224,255,.16); }
.glass-select-option.is-selected {
  border-color: rgba(221,237,255,.23);
  background: linear-gradient(120deg, rgba(204,226,255,.25), rgba(128,170,234,.18));
  box-shadow: inset 0 1px rgba(255,255,255,.15);
}
.glass-select-option:disabled { opacity: .45; cursor: not-allowed; }
.glass-select-group-label { padding: 8px 12px 4px; color: rgba(226,237,252,.64); font-size: .78em; }
:root[data-theme="bright"] .glass-select-trigger,
:root[data-theme="glacial"] .glass-select-trigger {
  color: #172a43;
  border-color: rgba(255,255,255,.62);
  background:radial-gradient(125% 110% at 12% -28%,rgba(255,255,255,.72),transparent 61%),linear-gradient(145deg,rgba(255,255,255,.42),rgba(224,238,255,.23) 58%,rgba(255,255,255,.3));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.88),inset 0 -1px rgba(90,125,165,.1),0 8px 22px rgba(56,91,135,.1);
  backdrop-filter:blur(28px) saturate(165%) brightness(1.05);
  -webkit-backdrop-filter:blur(28px) saturate(165%) brightness(1.05);
}
:root[data-theme="bright"] .glass-select-trigger:hover,
:root[data-theme="bright"] .glass-select.is-open .glass-select-trigger,
:root[data-theme="glacial"] .glass-select-trigger:hover,
:root[data-theme="glacial"] .glass-select.is-open .glass-select-trigger {
  background:radial-gradient(125% 110% at 12% -28%,rgba(255,255,255,.82),transparent 61%),linear-gradient(145deg,rgba(255,255,255,.53),rgba(211,231,255,.31) 58%,rgba(255,255,255,.4));
  border-color: rgba(255,255,255,.9);
}
:root[data-theme="bright"] .glass-select-menu,
:root[data-theme="glacial"] .glass-select-menu {
  color: #182c46;
  border-color:rgba(255,255,255,.96);
  background:radial-gradient(135% 115% at 12% -26%,rgba(255,255,255,.88),transparent 60%),linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.4) 58%,rgba(248,252,255,.48));
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,1),inset 0 -1px rgba(92,126,164,.06),0 20px 48px rgba(52,91,143,.11);
  backdrop-filter:blur(44px) saturate(125%) brightness(1.12);
  -webkit-backdrop-filter:blur(44px) saturate(125%) brightness(1.12);
}
:root[data-theme="bright"] .glass-select-option:hover,
:root[data-theme="bright"] .glass-select-option:focus-visible,
:root[data-theme="glacial"] .glass-select-option:hover,
:root[data-theme="glacial"] .glass-select-option:focus-visible { background: rgba(255,255,255,.42); }
:root[data-theme="bright"] .glass-select-option.is-selected,
:root[data-theme="glacial"] .glass-select-option.is-selected {
  border-color:rgba(255,255,255,.82);
  background:radial-gradient(120% 130% at 14% -32%,rgba(255,255,255,.92),transparent 62%),linear-gradient(120deg,rgba(255,255,255,.54),rgba(246,250,255,.4));
  box-shadow:inset 0 1px rgba(255,255,255,.88),0 6px 18px rgba(55,101,156,.1);
}
:root[data-theme="bright"] .glass-select-group-label,
:root[data-theme="glacial"] .glass-select-group-label { color: rgba(24,44,70,.58); }
@keyframes glass-select-in {
  from { opacity: 0; transform: translateY(-4px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .glass-select-trigger, .glass-select-option { transition: none; }
  .glass-select-menu { animation: none; }
}

#profile-forecast-assumptions { font-size: 13px; }
#cofounder-forecast-title { display:flex; align-items:center; gap:8px; margin:0; font-size:17px; color:inherit; }
.forecast-orb, .forecast-orb > * { display:block; width:28px; height:28px; flex:none; }
.forecast-table-card {
  margin: 12px 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid #ffffffbc;
  border-radius: 22px;
  color: #152638;
  background: linear-gradient(145deg, #fffffff0, #e0efffc9 52%, #cbdaf2be);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px #ffffff70, 0 4px 12px #0002;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
#profile-forecast-assumptions table { width:100%; table-layout:fixed; color:inherit; margin:0; border-spacing:0; }
.forecast-table-card tbody tr > * { border-top: 1px solid #354d681e; }
#profile-forecast-assumptions caption { text-align: left; margin-bottom: 4px; }
#profile-forecast-assumptions :is(th, td) { padding:4px; text-align:center; }
.forecast-input { border-top: 1px solid #ffffff29; }
.forecast-input summary {
  display: grid;
  grid-template-columns: 18px 1fr auto 24px;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  cursor: pointer;
  list-style: none;
}
.forecast-input summary::-webkit-details-marker { display: none; }
.forecast-input summary svg { width: 16px; height: 16px; fill: currentColor; }
.forecast-input p { margin: 0 0 12px 26px; }

.forecast-editor { display:grid; grid-template-columns:16px 1fr minmax(48px,68px) 76px; gap:6px; align-items:center; padding:6px 0; border-top:1px solid #ffffff29; }
.forecast-editor svg { width:16px; height:16px; fill:currentColor; }
.forecast-editor input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  border-radius: 999px;
  padding: 4px 10px;
  color-scheme: light;
  color: #152638;
  background: linear-gradient(145deg, #fffffff0, #e0efffc9 52%, #cbdaf2be);
  border: 1px solid #ffffffbc;
  box-shadow: inset 0 1px 1px white, 0 2px 5px #0003;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}
.forecast-editor input:invalid { border-color:#ff9b88; }
.forecast-editor small { font-size:11px; }

.forecast-disclosure {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  justify-self: center;
  color: #162638;
  border: 1px solid #ffffffe0;
  border-radius: 50%;
  background: linear-gradient(145deg, #fffffff2, #d9ebffce 55%, #adc8e3c7);
  box-shadow: inset 0 1px 1px white, 0 1px 3px #0005;
  backdrop-filter: blur(8px);
}
.forecast-input .forecast-disclosure svg { width: 12px; height: 12px; }
.forecast-input[open] .forecast-disclosure svg { transform: rotate(180deg); }

.agent-profile-role-pill > .living-orb { flex:none;pointer-events:none; }
.agent-profile-metrics strong { display:inline-flex;align-items:center;gap:.3em; }
.agent-stat-emoji { font:normal .8em/1 "Apple Color Emoji","Segoe UI Emoji",sans-serif; }

/* Use the venture profile material throughout the light agent sheet. */
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.profile-modal.agent-profile-modal {
  --agent-profile-rim:var(--profile-rim);
  & :is(.agent-profile-topbar,.agent-profile-footer) {
    background:linear-gradient(165deg,rgba(255,255,255,.18),rgba(194,208,222,.09))!important;
    border-color:rgba(255,255,255,.49);
  }
  & :is(.agent-profile-venture-icon,.profile-close,.agent-profile-picker-heading h3) { color:var(--profile-ink); }
  & .agent-profile-grabber { background:rgba(82,100,119,.45); }
  & :is(.agent-profile-tabs,.agent-profile-form input:not([type="hidden"]),.agent-profile-form textarea,.agent-profile-color,.agent-profile-save,.agent-profile-footer button,.agent-profile-picker-close,.agent-profile-picker-option,.agent-profile-picker-sheet) {
    background:var(--profile-glass);border-color:var(--profile-glass-rim);box-shadow:var(--profile-glass-shadow);color:var(--profile-ink);
  }
  & .agent-profile-tabs button { color:var(--profile-muted); }
  & .agent-profile-tabs button:is(:hover,.active) { color:var(--profile-ink); }
  & :is(.agent-profile-color.selected,.agent-profile-picker-option.selected) { outline:2px solid var(--profile-muted);outline-offset:-2px; }
}

/* Bright mode keeps the profile stats and section switcher luminous and translucent. */
:root[data-theme="bright"] .modal.profile-modal.agent-profile-modal .agent-profile-metrics > div,
:root[data-theme="bright"] .modal.profile-modal.agent-profile-modal .agent-profile-tabs {
  border-color:rgba(255,255,255,.9)!important;
  background:
    radial-gradient(135% 125% at 12% -30%,rgba(255,255,255,.94),transparent 61%),
    linear-gradient(138deg,rgba(255,255,255,.69),rgba(235,244,253,.5) 52%,rgba(202,220,239,.43))!important;
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.98),
    inset 0 -1px rgba(102,132,164,.13),
    0 10px 27px rgba(39,77,119,.16)!important;
  color:var(--profile-ink)!important;
  -webkit-backdrop-filter:blur(25px) saturate(155%)!important;
  backdrop-filter:blur(25px) saturate(155%)!important;
}
:root[data-theme="bright"] .modal.profile-modal.agent-profile-modal .agent-profile-metrics :is(strong,span),
:root[data-theme="bright"] .modal.profile-modal.agent-profile-modal .agent-profile-tabs button {
  color:var(--profile-ink)!important;
}
:root[data-theme="bright"] .modal.profile-modal.agent-profile-modal .agent-profile-tabs::before {
  border-color:rgba(255,255,255,.98);
  background:
    radial-gradient(135% 145% at 18% -28%,rgba(255,255,255,.98),transparent 62%),
    linear-gradient(135deg,rgba(255,255,255,.88),rgba(217,232,248,.72));
  box-shadow:inset 0 1px #fff,0 8px 20px rgba(48,82,120,.18),0 2px 8px rgba(255,255,255,.48);
}
:root[data-theme="bright"] #modal.agent-profile-modal .agent-profile-tabs {
  border-color:rgba(255,255,255,.9)!important;
  background:
    radial-gradient(135% 125% at 12% -30%,rgba(255,255,255,.94),transparent 61%),
    linear-gradient(138deg,rgba(255,255,255,.69),rgba(235,244,253,.5) 52%,rgba(202,220,239,.43))!important;
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),inset 0 -1px rgba(102,132,164,.13),0 10px 27px rgba(39,77,119,.16)!important;
  color:var(--profile-ink)!important;
  -webkit-backdrop-filter:blur(25px) saturate(155%)!important;
  backdrop-filter:blur(25px) saturate(155%)!important;
}
:root[data-theme="bright"] #modal.agent-profile-modal .agent-profile-picker-option.selected {
  border-color:rgba(221,229,240,.62)!important;
  outline:0!important;
  background:
    radial-gradient(130% 120% at 10% -24%,rgba(255,255,255,.2),transparent 62%),
    linear-gradient(145deg,rgba(38,42,49,.91),rgba(21,24,30,.88) 54%,rgba(12,15,20,.93))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.3),inset 0 -1px rgba(0,0,0,.34),0 10px 26px rgba(17,28,43,.24)!important;
  color:#f8fbff!important;
  -webkit-backdrop-filter:blur(24px) saturate(150%)!important;
  backdrop-filter:blur(24px) saturate(150%)!important;
}
:root[data-theme="bright"] #modal.agent-profile-modal .agent-profile-picker-option.selected :is(*,svg) {
  color:#f8fbff!important;
  fill:currentColor;
}
:root[data-theme="bright"] #modal.agent-profile-modal .agent-profile-picker-option.selected .agent-profile-picker-check {
  color:#101722!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(202,218,236,.9));
  border-color:rgba(255,255,255,.98);
  box-shadow:inset 0 1px #fff,0 4px 10px rgba(11,25,49,.24);
}
/* Agent, product, and brand pickers share one softer iOS-style sheet silhouette. */
#modal.agent-profile-modal .agent-profile-picker-sheet {
  border-radius:42px;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) #modal.agent-profile-modal .agent-profile-picker-sheet {
  border-color:rgba(255,255,255,.76)!important;
  background:
    radial-gradient(130% 120% at 12% -24%,rgba(255,255,255,.5),transparent 60%),
    linear-gradient(142deg,rgba(255,255,255,.3),rgba(225,237,249,.18) 52%,rgba(177,204,234,.16))!important;
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.88),
    inset 0 -1px rgba(92,126,164,.11),
    0 18px 46px rgba(36,73,115,.16)!important;
  -webkit-backdrop-filter:blur(36px) saturate(175%) brightness(1.08)!important;
  backdrop-filter:blur(36px) saturate(175%) brightness(1.08)!important;
}
@media (prefers-reduced-transparency:reduce) {
  :root:is([data-theme="bright"],[data-theme="glacial"]) .modal.profile-modal.agent-profile-modal {
    --profile-glass:#eef3f8;background:#dce5ee;-webkit-backdrop-filter:none;backdrop-filter:none;
    & :is(.agent-profile-file,.agent-profile-form-card,.agent-profile-context-card,.agent-profile-metrics > div,.agent-profile-role-pill) { background:var(--profile-glass); }
  }
}


.agent-profile-colors { justify-content:flex-start;gap:8px; }
#agent-profile-identity .agent-profile-color { padding:6px 11px;gap:7px; }
#agent-profile-identity .agent-profile-color small { font-size:13px;font-weight:500; }
#agent-profile-identity .agent-profile-color .living-orb { display:inline-block;width:23px;height:23px;flex:none;overflow:hidden;border:0;background:none; }
#agent-profile-identity .agent-profile-color :is(canvas,img) { width:100%;height:100%;filter:none; }
#agent-profile-identity .agent-profile-color.selected { outline:1px solid #98ceff;outline-offset:-1px; }
#agent-profile-identity .agent-profile-save { margin:0 auto; }
.living-orb[data-agent-color="graphite"].is-rendered > .living-orb-canvas { filter:none; }

.agent-venture-anchor { position:relative;display:inline-flex; }
.agent-venture-anchor > .agent-profile-picker-layer { inset:auto auto auto 0;top:calc(100% + 7px);display:block;width:min(290px,calc(100vw - 118px));padding:0; }
.agent-role-anchor > .agent-profile-picker-layer { left:50%;transform:translateX(-50%); }
.agent-venture-anchor .agent-profile-picker-sheet { width:100%;max-height:min(300px,48vh);overflow:auto;padding:5px;border-radius:18px; }
:root:not([data-theme="bright"],[data-theme="glacial"]) .agent-profile-modal .agent-profile-picker-sheet {
  border-color:rgba(228,235,246,.28);
  background:radial-gradient(105% 85% at 8% 0%,rgba(213,225,235,.15),transparent 70%),linear-gradient(145deg,rgba(25,29,37,.65),rgba(8,11,16,.76));
  box-shadow:inset 0 1px rgba(255,255,255,.23),0 18px 46px rgba(0,0,0,.42);
  -webkit-backdrop-filter:blur(28px) saturate(115%);
  backdrop-filter:blur(28px) saturate(115%);
}
@media (prefers-reduced-transparency:reduce) {
  :root:not([data-theme="bright"],[data-theme="glacial"]) .agent-profile-modal .agent-profile-picker-sheet {
    background:#181c24;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}
.agent-venture-anchor .agent-profile-picker-option { padding:6px 9px;min-height:36px; }
.agent-venture-anchor .agent-profile-picker-image { width:26px;height:26px; }
.agent-venture-anchor .agent-profile-picker-name { white-space:normal;font-size:13px; }

/* Additional phone numbers share the dark glass of their Add phone control. */
:root[data-theme="bright"] .vault-contact-repeats > label ~ label > input[name="phone"],
:root[data-theme="bright"] .vault-card-dialog .vault-card-address-toggle {
  border:1px solid rgba(238,246,255,.62);
  border-radius:999px;
  color:#f5f8ff;
  background:
    radial-gradient(135% 120% at 14% 0%,rgba(255,255,255,.2),transparent 58%),
    linear-gradient(145deg,rgba(22,25,31,.97),rgba(0,0,0,.96));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.34),inset 0 -1px 1px rgba(255,255,255,.06),0 8px 18px rgba(0,0,0,.26);
  -webkit-backdrop-filter:blur(18px) saturate(170%);
  backdrop-filter:blur(18px) saturate(170%);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
:root[data-theme="bright"] .vault-contact-repeats > label ~ label > input[name="phone"]:focus-visible { outline:2px solid #237aff;outline-offset:2px; }
:root[data-theme="bright"] .vault-card-dialog .vault-card-address-toggle small { color:rgba(239,246,255,.74); }
:root[data-theme="bright"] .vault-card-dialog .vault-card-address-toggle:is(:hover,:focus-visible) {
  border-color:rgba(255,255,255,.86);
  background:
    radial-gradient(135% 125% at 14% 0%,rgba(255,255,255,.25),transparent 58%),
    linear-gradient(145deg,rgba(31,34,40,.98),rgba(4,5,7,.98));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.4),0 10px 22px rgba(0,0,0,.3);
}
:root[data-theme="bright"] .vault-card-dialog .vault-card-address-toggle:active { transform:scale(.99); }

/* Clear, tactile glass close control shared by Password Manager dialogs. */
.vault-card-dialog > header .vault-card-close {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:50%;
  color:inherit;
  background:linear-gradient(145deg,rgba(255,255,255,.3),rgba(255,255,255,.1));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.56),0 4px 12px rgba(18,37,62,.16);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  font-size:25px;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.vault-card-dialog > header .vault-card-close:is(:hover,:focus-visible) {
  border-color:rgba(255,255,255,.92);
  background:linear-gradient(145deg,rgba(255,255,255,.48),rgba(219,236,255,.2));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.75),0 6px 16px rgba(18,37,62,.2);
}
.vault-card-dialog > header .vault-card-close:active { transform:scale(.94); }
:root[data-theme="bright"] .vault-card-dialog > header .vault-card-close {
  border-color:rgba(255,255,255,.92);
  color:#233a55;
  background:
    radial-gradient(120% 120% at 25% 8%,rgba(255,255,255,.8),transparent 62%),
    linear-gradient(145deg,rgba(255,255,255,.68),rgba(211,230,251,.34));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -1px 1px rgba(255,255,255,.36),0 5px 14px rgba(16,34,57,.2);
  -webkit-backdrop-filter:blur(20px) saturate(185%);
  backdrop-filter:blur(20px) saturate(185%);
}
:root[data-theme="bright"] .vault-card-dialog > header .vault-card-close:is(:hover,:focus-visible) {
  border-color:#fff;
  color:#172d46;
  background:
    radial-gradient(125% 125% at 25% 8%,rgba(255,255,255,.94),transparent 62%),
    linear-gradient(145deg,rgba(255,255,255,.8),rgba(222,237,255,.5));
}

/* Keep settings-page subtitles consistent with the Wallet page description. */
.modal.settings-modal :is(.settings-panel-intro,.settings-wallet-intro,.vault-heading > div > p,.usage-card > p) {
  color:var(--settings-ink)!important;
  opacity:1!important;
  font-size:16px!important;
  line-height:1.45!important;
  letter-spacing:-.015em!important;
}

@media (prefers-reduced-transparency:reduce) {
  :root[data-theme="bright"] .vault-contact-repeats > label ~ label > input[name="phone"],
  :root[data-theme="bright"] .vault-card-dialog .vault-card-address-toggle,
  :root[data-theme="bright"] .vault-card-dialog > header .vault-card-close { background:#293d56; }
}

.discovery-search-card {
  display:grid; align-content:center; justify-items:center; gap:14px;
  padding:24px; text-align:center; color:var(--ink);
  background:linear-gradient(150deg,rgba(190,212,245,.14),rgba(144,176,219,.08));
  border:1px solid var(--line); border-radius:30px;
}
.discovery-search-card img { width:50px; height:50px; }
.discovery-search-card strong { max-width:32ch; }
.discovery-art-wait { position:relative; }
.discovery-art-wait .discovery-art-loader[hidden] { display:none; }

.discovery-card .discovery-awaiting-art { object-fit:contain; padding:15%; opacity:.35; }

.profile-brand-avatar.profile-app-icon img { transform:none; }


[data-app-portrait] { border-radius:50%; overflow:hidden; }
[data-app-portrait] > img { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }

/* Brand and product marks remain fully visible; photos and Cofounder orbs keep their own rules. */
:is(.tools-directory-brand-portrait,.create-hub-product-logo,.agent-profile-picker-image,.agent-profile-venture-icon,.profile-brand-avatar) > img,
[data-app-portrait] > img { width:84%;height:84%;max-width:84%;max-height:84%;margin:auto;aspect-ratio:1;object-fit:contain;object-position:center;border-radius:50%;clip-path:circle(50%);background:radial-gradient(circle at 34% 24%,#19385f,#07111f 74%);transform:none!important; }

/* In the minimized sidebar, hovering an agent orb reveals its latest chat
   preview beside the rail without changing the expanded sidebar layout. */
.chat-hover-preview { display:none; }
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-list { overflow:visible; }
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item {
  overflow:visible;
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:is(:hover,:focus-visible) {
  z-index:24;
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-hover-preview {
  display:grid;
  position:absolute;
  z-index:5;
  top:50%;
  left:calc(100% + 12px);
  width:300px;
  max-width:calc(100vw - var(--sidebar-layout-width) - 36px);
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  row-gap:4px;
  padding:13px 17px 14px;
  border:1px solid rgba(241,247,255,.22);
  border-radius:20px;
  background:
    radial-gradient(120% 135% at 14% 0,rgba(255,255,255,.19),transparent 62%),
    linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045) 52%,rgba(7,11,18,.42));
  box-shadow:inset 0 1px rgba(255,255,255,.24),inset 0 -1px rgba(0,0,0,.12),0 14px 34px rgba(0,0,0,.26);
  color:var(--ink);
  text-align:left;
  white-space:normal;
  -webkit-backdrop-filter:blur(28px) saturate(175%);
  backdrop-filter:blur(28px) saturate(175%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(6px,-50%) scale(.985);
  transform-origin:left center;
  transition:opacity .16s ease,transform .18s cubic-bezier(.2,.8,.2,1),visibility .16s;
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:is(:hover,:focus-visible) .chat-hover-preview {
  opacity:1;
  visibility:visible;
  transform:translate(0,-50%) scale(1);
}
.chat-hover-preview-title { grid-column:1;grid-row:1;display:flex!important;align-items:center;gap:8px;min-width:0;overflow:hidden;color:inherit;font-size:15px;font-weight:600;line-height:1.3; }
.chat-hover-preview-name { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.chat-hover-preview-agent { position:relative;display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px; }
.chat-hover-preview-orb { display:block;width:23px;height:23px;object-fit:contain;filter:drop-shadow(0 2px 5px var(--orb-glow)); }
.chat-hover-preview-team { display:block;width:27px;height:25px; }
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-hover-preview-agent { width:26px;height:26px;flex:0 0 26px;background:transparent!important;border:0!important;box-shadow:none!important; }
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-hover-preview-agent .chat-hover-preview-team { width:27px;height:25px;flex:0 0 27px;overflow:visible;background:transparent!important;border:0!important;box-shadow:none!important; }
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-hover-preview-agent .chat-hover-preview-team > :is(img,.living-orb) { width:58%; }
.chat-hover-preview small { display:-webkit-box;grid-column:1;grid-row:2;min-width:0;margin-top:1px;overflow:hidden;color:var(--muted);font-size:13px;font-weight:450;line-height:1.45;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2; }

/* Frost the conversation beneath the hover card, leaving a transparent glass
   finish while the text stays crisp and high contrast. */
:root:not([data-theme="bright"]) .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-hover-preview {
  width:min(320px,calc(100vw - var(--sidebar-layout-width) - 56px));
  max-width:calc(100vw - var(--sidebar-layout-width) - 56px);
  box-sizing:border-box;
  overflow:hidden;
  isolation:isolate;
  border-color:rgba(222,236,255,.46);
  background:
    radial-gradient(120% 130% at 12% 0,rgba(197,218,249,.3),transparent 58%),
    linear-gradient(145deg,rgba(37,51,73,.79),rgba(21,33,52,.76) 58%,rgba(8,16,29,.78));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.28),inset 0 -1px rgba(0,0,0,.24),0 14px 34px rgba(0,0,0,.36);
  color:#f5f8ff;
  -webkit-backdrop-filter:blur(38px) saturate(175%);
  backdrop-filter:blur(38px) saturate(175%);
}
:root:not([data-theme="bright"]) .chat-hover-preview strong { color:#f5f8ff;text-shadow:0 1px 2px rgba(0,0,0,.28); }
:root:not([data-theme="bright"]) .chat-hover-preview small { color:#d0d8e5;text-shadow:0 1px 2px rgba(0,0,0,.3); }

/* Bright mode uses a softly frosted pearl glass rather than an opaque panel. */
:root[data-theme="bright"] .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-hover-preview {
  width:min(320px,calc(100vw - var(--sidebar-layout-width) - 56px));
  max-width:calc(100vw - var(--sidebar-layout-width) - 56px);
  box-sizing:border-box;
  overflow:hidden;
  border-color:rgba(255,255,255,.9);
  background:
    radial-gradient(120% 130% at 12% 0,rgba(255,255,255,.78),transparent 58%),
    linear-gradient(145deg,rgba(241,248,255,.78),rgba(211,229,250,.72) 55%,rgba(173,203,238,.68));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.94),inset 0 -1px rgba(88,121,164,.12),0 14px 34px rgba(36,62,99,.22);
  color:#172942;
  -webkit-backdrop-filter:blur(38px) saturate(170%);
  backdrop-filter:blur(38px) saturate(170%);
}
:root[data-theme="bright"] .chat-hover-preview strong { color:#172942;text-shadow:0 1px rgba(255,255,255,.46); }
:root[data-theme="bright"] .chat-hover-preview small { color:#3f5675;text-shadow:0 1px rgba(255,255,255,.44); }

/* Collapsed chat tabs stay orb-shaped: remove the tab's rectangular hover and
   selected card, then light a circular glass bezel behind the orb on hover. */
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item,
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:is(:hover,:focus-visible,.active,[data-state="active"]) {
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item::before { display:none; }
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item::after {
  content:"";
  position:absolute;
  z-index:0;
  inset:3px;
  border:1px solid rgba(226,240,255,.36);
  border-radius:50%;
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.19),transparent 38%),linear-gradient(145deg,rgba(182,211,247,.13),rgba(52,83,125,.08) 58%,rgba(4,12,23,.12));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.22),0 0 0 1px rgba(255,255,255,.035);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover::after {
  opacity:1;
  border-color:rgba(229,242,255,.62);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.34),0 0 15px rgba(119,177,255,.25),0 5px 14px rgba(0,0,0,.18);
  -webkit-backdrop-filter:blur(14px) saturate(165%);
  backdrop-filter:blur(14px) saturate(165%);
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-orb,
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item > [data-role-portrait],
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item .team-orbs > :is(img,.living-orb) {
  animation:none!important;
  filter:drop-shadow(0 0 5px rgba(143,196,255,.18));
  transition:transform .22s ease,filter .22s ease;
}
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover .chat-orb,
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover > [data-role-portrait],
.desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover .team-orbs > :is(img,.living-orb) {
  animation:orb-float 1.8s ease-in-out infinite!important;
  filter:drop-shadow(0 0 12px rgba(143,196,255,.68));
}
:root[data-theme="bright"] .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item::after {
  border-color:rgba(255,255,255,.64);
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.78),transparent 40%),linear-gradient(145deg,rgba(255,255,255,.56),rgba(194,219,248,.34) 58%,rgba(121,159,207,.2));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.88),0 3px 11px rgba(50,83,129,.12);
}
:root[data-theme="bright"] .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover::after {
  border-color:rgba(255,255,255,.92);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),0 0 16px rgba(98,159,229,.32),0 5px 13px rgba(42,76,121,.18);
}
@media (prefers-reduced-motion:reduce) {
  .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover .chat-orb,
  .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover > [data-role-portrait],
  .desktop-shell:is(.sidebar-collapsed,.sidebar-resize-compact,.browser-open):not(.browser-fullscreen) .chat-item:hover .team-orbs > :is(img,.living-orb) { animation:none!important; }
}

/* Shared card controls also resist onboarding's general button font reset. */
.product-card-widgets .discovery-badge {
  font:580 11px -apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,sans-serif;
  cursor:pointer;
  white-space:nowrap;
}

/* Bright Settings CTAs share one iOS-style liquid-glass material. Keep this
   scoped to action buttons so tabs, toggles, navigation and close controls
   retain their distinct interaction language. */
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-profile-actions .founder-icon-action,
  .founder-collection-actions .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button
) {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #000!important;
  background:#000!important;
  color:#fff!important;
  text-shadow:none;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.2),
    0 7px 18px rgba(12,27,48,.24)!important;
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  backdrop-filter:blur(24px) saturate(180%);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-profile-actions .founder-icon-action,
  .founder-collection-actions .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button
)::after {
  display:none;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-profile-actions .founder-icon-action,
  .founder-collection-actions .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button
):is(:hover,:focus-visible) {
  transform:translateY(-1px);
  border-color:#000!important;
  background:#000!important;
  color:#fff!important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.28),
    0 10px 24px rgba(12,27,48,.32)!important;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-profile-actions .founder-icon-action,
  .founder-collection-actions .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button
):active { transform:translateY(0) scale(.985); }
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-profile-actions .founder-icon-action,
  .founder-collection-actions .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button
):disabled { transform:none;opacity:.5;box-shadow:inset 0 1px 1px rgba(255,255,255,.8)!important; }

/* Bright Settings action buttons use a solid, high-contrast black treatment. */
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  button[data-cta-icon],
  .founder-icon-action,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save
) {
  border-color:#000!important;
  background:#000!important;
  color:#fff!important;
  text-shadow:none;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 7px 18px rgba(12,27,48,.24)!important;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  button[data-cta-icon],
  .founder-icon-action,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save
)::after {
  display:none;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  button[data-cta-icon],
  .founder-icon-action,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save
):is(:hover,:focus-visible) {
  border-color:#000!important;
  background:#000!important;
  color:#fff!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.28),0 10px 24px rgba(12,27,48,.32)!important;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(
  button[data-cta-icon],
  .founder-icon-action,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save
) :is(svg,path) {
  color:inherit;
  fill:currentColor;
}

/* Product evidence reads as a conversation; the composer stays in reach. */
#modal:has(> .discovery-score-chat-footer) {
  display:flex;
  flex-direction:column;
  height:min(720px,calc(100dvh - 56px));
  max-height:calc(100dvh - 56px);
}
#modal:has(> .discovery-score-chat-footer) > .discovery-evidence-scroll {
  flex:1;
  min-height:0;
  max-height:none;
  padding:24px 24px 16px;
  border-radius:0;
  overscroll-behavior:contain;
}
#modal .discovery-score-speaker { justify-items:start; text-align:left; }
#modal .discovery-find-identity {
  justify-self:center; display:flex; flex-direction:column; align-items:center; gap:7px;
  width:min(300px,calc(100% - 64px));
}
#modal .discovery-find-identity-orb {
  display:grid; place-items:center; box-sizing:border-box; flex:none; width:58px; height:58px; padding:5px;
  border:1px solid #ffffffde; border-radius:50%;
  background:radial-gradient(circle at 28% 15%,#ffffffb0,transparent 44%),linear-gradient(145deg,#ffffff7d,#9ac3ef30 56%,#4d83c01c);
  box-shadow:inset 0 1px 2px #fffffff2,inset 0 -2px 3px #5284bd1f,0 6px 16px #34598929,0 0 15px #6daaf41f;
  -webkit-backdrop-filter:blur(18px) saturate(175%); backdrop-filter:blur(18px) saturate(175%);
}
#modal .discovery-find-identity-orb > :is(img,.living-orb) { width:100%; height:100%; }
#modal .discovery-find-status {
  width:100%; box-sizing:border-box; padding:8px 14px 9px; border:1px solid #ffffffdb; border-radius:23px;
  color:#203750; text-align:center;
  background:radial-gradient(125% 125% at 14% -18%,#ffffffa8,transparent 67%),linear-gradient(145deg,#ffffff61,#bbd5f426 64%,#a1bfe517);
  box-shadow:inset 0 1px 1px #fffffff5,inset 0 -1px 1px #ffffff5c,0 6px 18px #2f4f771c;
  -webkit-backdrop-filter:blur(22px) saturate(175%); backdrop-filter:blur(22px) saturate(175%);
}
#modal .discovery-find-status strong { display:flex; align-items:center; justify-content:center; gap:7px; font-size:15px; font-weight:650; line-height:1.25; }
#modal .discovery-find-status strong svg { display:block; width:13px; height:13px; fill:currentColor; }
#modal .discovery-find-status-line { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:5px; font-size:13px; line-height:1.3; color:#4c6179; }
#modal .discovery-find-status-line > span:first-child { font:16px/1 "Apple Color Emoji","Segoe UI Emoji",sans-serif; }
#modal .discovery-score-message-row {
  display:flex; align-items:flex-start; width:min(400px,calc(100% - 26px)); min-width:0;
}
#modal .discovery-score-message-row > .discovery-score-message,
#modal .discovery-evidence-scroll > .discovery-score-row {
  width:min(400px,calc(100% - 26px)); min-width:0; height:72px; box-sizing:border-box;
}
#modal .discovery-score-message-row > .discovery-score-message {
  flex:1; min-width:0;
  width:auto;
  box-sizing:border-box;
  justify-self:start;
  margin-right:auto;
}
#modal .discovery-score-message .ob-question-content { justify-content:flex-start; align-items:flex-start; text-align:left; }
#modal #score-heading { float:right; display:flex; margin:0 0 2px 6px; padding:0; }
#modal .score-product-name { height:21px; padding:1px 7px 1px 3px; gap:4px; font-size:12px; vertical-align:middle; }
#modal .score-product-name .score-product-avatar { display:block; width:18px; height:18px; flex:0 0 18px; box-sizing:border-box; object-fit:cover; border:1px solid rgba(255,255,255,.8); border-radius:50%; background:#fff; box-shadow:0 1px 3px #12243b30; }
#modal .score-product-name > span { overflow:hidden; text-overflow:ellipsis; }
#modal .discovery-score-row {
  width:min(400px,calc(100% - 26px));
  height:72px;
  box-sizing:border-box;
  padding:6px 10px;
  margin-right:auto;
  text-align:left;
  border-radius:22px 22px 22px 7px;
}
#modal .discovery-score-row + .discovery-score-row { margin-top:5px; }
#modal .discovery-score-row h3 { align-items:center; gap:8px; font-size:13px; line-height:1.25; }
#modal .discovery-score-row h3 > span { padding:2px 7px; font-size:10px; gap:3px; }
#modal .discovery-score-row .score-card-title { gap:5px; }
#modal .discovery-score-row p { margin:3px 0 4px; font-size:12px; line-height:1.35; }
#modal .discovery-score-row p:last-child { margin-bottom:0; }
#modal .discovery-score-row a { font-size:11px; }
#modal .discovery-score-line { display:flex; align-items:center; gap:6px; white-space:nowrap; }
#modal .discovery-score-line h3 { display:contents; }
#modal .discovery-score-line .score-card-title { flex:none; font-size:12px; }
#modal .discovery-score-line h3 > span { order:2; margin-left:auto; align-self:center; }
#modal .discovery-score-line p { order:1; min-width:0; margin:0; font-size:11px; overflow:hidden; text-overflow:ellipsis; }
#modal .discovery-score-line + .third-party-mention { margin-top:4px; }
#modal .discovery-evidence-receipt { display:flex; justify-content:flex-end; align-items:center; gap:4px; margin-top:3px; font-size:9px; line-height:1; color:#e0eafa; opacity:.9; }

.discovery-score-chat-footer { flex:none; padding:10px 20px 18px; }
.discovery-score-composer {
  display:flex; align-items:flex-end; gap:8px; padding:7px 8px 7px 16px;
  border:1px solid rgba(231,244,255,.65); border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.28),rgba(154,187,224,.17));
  box-shadow:inset 0 1px 1px #ffffff73,0 4px 16px #152b4621;
  -webkit-backdrop-filter:blur(24px) saturate(150%); backdrop-filter:blur(24px) saturate(150%);
}
.discovery-score-composer:focus-within { border-color:#a6cffa; box-shadow:inset 0 1px 1px #ffffff94,0 0 0 3px #9bc8f526; }
.discovery-composer-avatar { flex:0 0 28px; width:28px; height:28px; margin-bottom:2px; }
.discovery-score-composer textarea {
  flex:1; min-width:0; min-height:32px; max-height:96px; box-sizing:border-box;
  margin:0; padding:7px 0; resize:none; border:0; outline:0; background:transparent; color:var(--ink);
  font:13px/18px -apple-system,BlinkMacSystemFont,sans-serif;
}
.discovery-score-composer textarea::placeholder { color:var(--muted); opacity:.85; }
.discovery-score-composer button {
  display:grid; place-items:center; flex:none; width:32px; height:32px; padding:7px;
  border:1px solid #ffffff9c; border-radius:50%; cursor:pointer; color:#22394f;
  background:linear-gradient(145deg,#ffffffed,#b4d1edc9); box-shadow:inset 0 1px 1px #fff,0 2px 6px #15324f26;
}
.discovery-score-composer button:disabled { opacity:.4; cursor:default; }
.discovery-score-composer svg { width:18px; height:18px; }
#modal .discovery-score-chat-notice { margin:7px 8px 0; font-size:12px; }
.discovery-score-chat-log { display:flex; flex-direction:column; gap:10px; }
.discovery-score-chat-log:not(:empty) { margin-top:16px; }
.discovery-chat-bubble {
  align-self:flex-start; width:fit-content; max-width:calc(100% - 26px); box-sizing:border-box;
  padding:11px 14px; border:1px solid var(--line-strong); border-radius:20px 20px 20px 7px;
  background:linear-gradient(145deg,#ffffff29,#b6cdec1c); box-shadow:inset 0 1px #ffffff40;
  font-size:13px; line-height:1.5; overflow-wrap:anywhere;
}
.discovery-chat-bubble.is-user { align-self:flex-end; border-radius:20px 20px 7px 20px; background:linear-gradient(145deg,#91bde242,#719ece29); }
.discovery-chat-bubble > small { display:block; margin-bottom:3px; font-weight:650; opacity:.75; }
.discovery-chat-bubble > div { white-space:pre-wrap; }
.discovery-chat-bubble.is-agent { display:flex; align-items:center; gap:8px; padding:9px 12px; }
.discovery-reply-avatar { display:block; flex:0 0 22px; width:22px; height:22px; border-radius:50%; }
.discovery-reply-avatar > :is(img,.living-orb) { display:block; width:100%; height:100%; border-radius:inherit; }
.discovery-chat-bubble.is-agent > div { min-width:0; white-space:nowrap; overflow-x:auto; scrollbar-width:none; font-size:12px; }
.discovery-chat-bubble.is-agent > div { white-space:normal;overflow:visible;line-height:1.4; }
.discovery-chat-bubble.is-agent > div::-webkit-scrollbar { display:none; }
.discovery-chat-bubble.is-error { border-color:#d78c8c8a; }
#modal .discovery-chat-pending { margin:0; padding:6px 14px; font-size:12px; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .discovery-score-composer { background:linear-gradient(145deg,#ffffffc4,#edf7ff70 55%,#c3dbef69); border-color:#ffffffe0; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .discovery-chat-bubble { background:linear-gradient(145deg,#ffffffac,#eaf4ff73); border-color:#ffffffbd; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .discovery-chat-bubble.is-user { background:linear-gradient(145deg,#d8edffed,#b5d7f5a6); }
@media(max-width:480px) {
  #modal:has(> .discovery-score-chat-footer) > .discovery-evidence-scroll { padding-inline:16px; }
  .discovery-score-chat-footer { padding-inline:12px; }
}

/* Max tier: the generic plan-icon rules are intentionally overridden here so
   the crown remains exactly centered inside its solid circular badge. */
.settings-plan-heading .settings-plan-badge.settings-plan-badge-crown {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  line-height:0;
}
.settings-plan-heading .settings-plan-badge.settings-plan-badge-crown svg {
  display:block;
  width:10px;
  height:10px;
  min-width:10px;
  min-height:10px;
  margin:0;
  transform:none;
  transform-origin:50% 50%;
  overflow:visible;
}

/* Dark-mode plan tags use one shared iOS-style liquid-glass treatment. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-pro-card .settings-plan-heading {
  color:#fff;
  border-color:rgba(225,239,255,.38);
  background:#000;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.34),inset 0 -1px rgba(105,145,194,.16),0 5px 14px rgba(0,8,22,.2);
  -webkit-backdrop-filter:blur(22px) saturate(175%);
  backdrop-filter:blur(22px) saturate(175%);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-pro-card .settings-plan-heading :is(.settings-plan-name,.settings-plan-badge) {
  color:inherit;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-pro-card .settings-plan-heading .settings-plan-badge {
  display:grid;
  place-items:center;
  position:relative;
  width:16px;
  height:16px;
  min-width:16px;
  min-height:16px;
  box-sizing:border-box;
  padding:3px;
  border:1px solid rgba(255,255,255,.96);
  border-radius:50%;
  color:#111a27;
  background:rgba(255,255,255,.94);
  box-shadow:inset 0 1px 1px #fff,0 2px 6px rgba(0,8,22,.24);
  line-height:0;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-pro-card .settings-plan-heading .settings-plan-badge svg {
  display:block;
  width:8px;
  height:8px;
  margin:auto;
  position:absolute;
  inset:0;
  transform:none!important;
  color:#111a27!important;
  fill:currentColor;
  stroke:currentColor;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-pro-card .settings-plan-heading .settings-plan-badge-crown svg {
  width:10px;
  height:10px;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading {
  color:#fff;
  border-color:rgba(244,249,255,.72);
  background:#000;
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.48),inset 0 -1px rgba(105,145,194,.2),0 8px 18px rgba(0,8,22,.28);
}

/* Bright-mode plan tags mirror the dark treatment with a fully inverted palette. */
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-heading,
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading {
  color:#000!important;
  border-color:rgba(0,0,0,.24);
  background:#fff;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.96),inset 0 -1px rgba(0,0,0,.08),0 5px 14px rgba(18,35,58,.16);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-heading :is(.settings-plan-name,.settings-plan-badge) {
  color:inherit!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading .settings-plan-name {
  color:#000!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-heading .settings-plan-badge {
  display:grid;
  place-items:center;
  position:relative;
  width:16px;
  height:16px;
  min-width:16px;
  min-height:16px;
  box-sizing:border-box;
  padding:3px;
  border:1px solid rgba(0,0,0,.96);
  border-radius:50%;
  color:#fff!important;
  background:#000;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.18),0 2px 6px rgba(18,35,58,.2);
  line-height:0;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-heading .settings-plan-badge svg {
  display:block;
  width:8px;
  height:8px;
  margin:auto;
  position:absolute;
  inset:0;
  transform:none!important;
  color:#fff!important;
  fill:currentColor;
  stroke:currentColor;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .settings-pro-card .settings-plan-heading .settings-plan-badge-crown svg {
  width:10px;
  height:10px;
}

/* Powers keeps its four controls, but no longer wraps them in a fifth glass surface. */
.modal.settings-modal #settings-panel .powers-controls {
  display:grid;
  gap:10px;
  overflow:visible;
  border:0;
  border-radius:0!important;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.modal.settings-modal #settings-panel .powers-control,
.modal.settings-modal #settings-panel .powers-control:last-child {
  border:1px solid rgba(197,218,247,.28);
  border-radius:28px!important;
  background:radial-gradient(ellipse at 12% 0,rgba(162,190,226,.13),transparent 66%),linear-gradient(135deg,rgba(47,57,73,.52),rgba(15,21,31,.58) 58%,rgba(31,44,63,.46));
  box-shadow:inset 0 1px 1px rgba(239,247,255,.18),inset 0 -1px rgba(3,9,18,.42),0 8px 20px rgba(0,0,0,.16);
  -webkit-backdrop-filter:blur(22px) saturate(155%);
  backdrop-filter:blur(22px) saturate(155%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .powers-control,
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .powers-control:last-child {
  border-color:rgba(255,255,255,.82);
  background:radial-gradient(ellipse at 10% 0,rgba(255,255,255,.78),transparent 68%),linear-gradient(135deg,rgba(247,251,255,.67),rgba(174,205,239,.4) 58%,rgba(95,143,202,.24));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 8px 20px rgba(38,72,112,.1);
}

/* Continuous iOS corners for Settings content surfaces. Pill controls and
   circular identity/logo widgets keep their own fully rounded geometry. */
.modal.settings-modal #settings-panel :is(
  .settings-row,
  .settings-pro-card,
  .usage-card,
  .settings-billing-card,
  .settings-wallet-methods,
  .settings-link-menu,
  .tools-directory-card,
  .vault-list,
  .vault-form,
  .powers-control,
  .founder-editor,
  .founder-source-row
) {
  border-radius:28px!important;
}
.modal.settings-modal #settings-panel .settings-row {
  margin:10px 0;
  padding-inline:20px;
  border:1px solid rgba(215,232,251,.28);
  background:radial-gradient(120% 150% at 12% -35%,rgba(255,255,255,.16),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.1),rgba(105,142,190,.07));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 7px 18px rgba(8,24,47,.06);
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel .settings-row {
  border-color:rgba(255,255,255,.72);
  background:radial-gradient(120% 150% at 12% -35%,rgba(255,255,255,.72),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.43),rgba(180,211,245,.25));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.88),0 8px 20px rgba(44,83,130,.1);
}
.modal.settings-modal #settings-panel .powers-control {
  margin:8px 0;
  border:1px solid rgba(215,232,251,.24)!important;
  background:radial-gradient(120% 150% at 12% -35%,rgba(255,255,255,.13),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.08),rgba(105,142,190,.06))!important;
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel .powers-control {
  border-color:rgba(255,255,255,.7)!important;
  background:radial-gradient(120% 150% at 12% -35%,rgba(255,255,255,.68),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.4),rgba(180,211,245,.23))!important;
}

/* Usage reset status is a self-contained horizontal liquid-glass capsule. */
.modal.settings-modal #settings-panel .usage-card .usage-reset-pill {
  display:flex;
  align-items:center;
  gap:6px;
  width:fit-content;
  max-width:100%;
  min-height:24px;
  box-sizing:border-box;
  margin:0!important;
  padding:4px 10px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:999px;
  background:radial-gradient(120% 180% at 18% -55%,rgba(255,255,255,.96),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.7),rgba(218,235,253,.5) 58%,rgba(159,199,240,.4));
  color:#17304f!important;
  text-shadow:0 1px rgba(255,255,255,.7);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),inset 0 -1px rgba(77,125,179,.13),0 6px 16px rgba(14,49,91,.16);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  backdrop-filter:blur(22px) saturate(180%);
  font-size:10px!important;
  line-height:1.2!important;
  white-space:nowrap;
}
.modal.settings-modal #settings-panel .usage-reset-emoji {
  display:inline-grid;
  place-items:center;
  flex:none;
  width:14px;
  height:14px;
  font-family:"Apple Color Emoji","Apple Symbols",sans-serif;
  font-size:12px;
  line-height:1;
}

/* Onboarding has its own theme before the workspace preference is restored. */
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer:has(.discovery-score-speaker) .modal-backdrop { background:rgba(30,63,96,.13); }
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer #modal:has(.discovery-score-speaker) {
  --ink:#192f49; --muted:#52677f; --line-strong:#ffffffbd;
  color:var(--ink); border:1px solid #ffffffe6;
  background:radial-gradient(ellipse at 12% 0,#ffffffde,transparent 65%),linear-gradient(145deg,#e2f2ffb8,#afc9e9b0);
  box-shadow:inset 0 1px 1px #fff,0 24px 65px #243e5c40;
}
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer #score-heading .score-title-pill { color:#fff; background:#ffffff1f; }
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer .discovery-find-pill { color:#f8fbff; background:linear-gradient(145deg,#63768adb,#25394deb); }
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer .discovery-score-composer { border-color:#ffffffe0; background:linear-gradient(145deg,#ffffffc4,#edf7ff70 55%,#c3dbef69); }
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer .modal-close { color:#1c3855; }

/* Desktop adaptation of the mobile Create New Cofounder flow. */
.modal.profile-modal.new-agent-modal { width:min(720px,calc(100vw - 40px));max-height:min(900px,calc(100dvh - 32px));padding:0;overflow:hidden;border-radius:42px; }
.new-agent-scroll { display:grid;justify-items:center;gap:20px;max-height:inherit;box-sizing:border-box;padding:28px 38px 34px;overflow:auto;scrollbar-gutter:stable; }
.new-agent-scroll > header { display:grid;justify-items:center;gap:5px;padding-inline:62px;text-align:center; }
.new-agent-scroll > header span { color:var(--profile-ink,#f5f8ff);font-size:25px;font-weight:730;letter-spacing:-.035em; }
.new-agent-scroll > header small { color:var(--profile-muted,#b8c6d8);font-size:13px; }
.new-agent-preview { display:grid;place-items:center;min-height:170px; }
.new-agent-preview-orb { width:154px;height:154px;object-fit:contain;filter:drop-shadow(0 20px 24px rgba(12,28,57,.22)); }
.new-agent-name { width:min(100%,600px); }
.new-agent-name input { width:100%;min-height:62px;box-sizing:border-box;padding:12px 24px;border:1px solid rgba(245,250,255,.82);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.4),rgba(184,211,244,.2));box-shadow:inset 0 1px 1px rgba(255,255,255,.86),0 12px 30px rgba(29,57,96,.12);color:var(--profile-ink,#f6f9ff);font:600 20px/1.2 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;text-align:center;outline:none;-webkit-backdrop-filter:blur(24px) saturate(165%);backdrop-filter:blur(24px) saturate(165%); }
.new-agent-name input::placeholder { color:var(--profile-muted,#afbdd0);opacity:.82; }
.new-agent-orbs { display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:min(100%,590px); }
.new-agent-orb-choice { position:relative;display:grid;place-items:center;width:66px;height:66px;padding:5px;border:2px solid transparent;border-radius:50%;background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.28),transparent 38%),linear-gradient(145deg,color-mix(in srgb,var(--new-agent-swatch,#d7e7ff) 22%,transparent),rgba(90,116,151,.12));box-shadow:inset 0 1px rgba(255,255,255,.32),inset 0 -1px rgba(18,39,68,.18),0 8px 20px rgba(0,8,22,.16);cursor:pointer;-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%); }
.new-agent-choice-orb { width:48px;height:48px;object-fit:contain; }
.new-agent-orb-choice.selected { border-color:#8ed1ff;background:rgba(224,240,255,.33);box-shadow:inset 0 1px #fff,0 0 0 5px rgba(124,195,247,.14),0 9px 22px rgba(21,57,101,.16); }
.new-agent-specialties { display:flex;flex-wrap:wrap;justify-content:center;gap:8px; }
.new-agent-specialties button { min-height:38px;padding:7px 14px;border:1px solid rgba(231,242,255,.4);border-radius:999px;background:rgba(196,216,243,.12);color:var(--profile-ink,#eef5ff);font:600 13px/1 -apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px); }
.new-agent-specialties button.selected { border-color:rgba(255,255,255,.9);background:linear-gradient(135deg,rgba(239,247,255,.48),rgba(168,202,242,.34));box-shadow:inset 0 1px #fff,0 7px 18px rgba(10,32,64,.15); }
.new-agent-objective-preview { display:grid;gap:6px;width:min(100%,600px);box-sizing:border-box;padding:16px 20px;border:1px solid rgba(229,241,255,.36);border-radius:26px;background:linear-gradient(145deg,rgba(212,229,250,.17),rgba(91,118,157,.1));color:var(--profile-ink,#f5f8ff);box-shadow:inset 0 1px rgba(255,255,255,.28);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px); }
.new-agent-objective-preview strong { font-size:14px; }.new-agent-objective-preview span { font-size:13px;line-height:1.45; }.new-agent-objective-preview small { color:var(--profile-muted,#b7c5d8);font-size:11px;line-height:1.4; }
.new-agent-create { width:min(100%,600px);min-height:56px;border-radius:999px; }
.new-agent-create:disabled { opacity:.45;cursor:not-allowed;filter:saturate(.6); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .new-agent-name input { color:#172a42;background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(203,224,249,.42)); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .new-agent-specialties button { color:#1a304b;background:rgba(255,255,255,.26); }
@media(max-width:640px){.modal.profile-modal.new-agent-modal{width:calc(100vw - 16px);border-radius:32px}.new-agent-scroll{padding:24px 17px 26px}.new-agent-preview{min-height:120px}.new-agent-preview-orb{width:112px;height:112px}.new-agent-orb-choice{width:56px;height:56px}.new-agent-choice-orb{width:40px;height:40px}}

/* This modal follows the desktop convention: dismissal is always at the
   upper-right, regardless of the profile modal's inherited close placement. */
#modal.new-agent-modal > .modal-close {
  inset:20px 20px auto auto;
  z-index:4;
}

/* Popup dismiss controls always occupy the upper-right corner of their sheet. */
:is(.modal,.profile-modal) > :is(.modal-close,.profile-close) {
  position:absolute!important;
  inset:18px 18px auto auto!important;
  z-index:10!important;
}
#modal.new-agent-modal > .modal-close { inset:20px 20px auto auto!important; }


#modal > .discovery-score-close {
  display:grid; place-items:center; width:34px; height:34px; padding:0; border-radius:50%; line-height:0;
  color:#1c3855; border:1px solid #ffffffc9;
  background:radial-gradient(circle at 28% 16%,#ffffffe0,transparent 42%),linear-gradient(145deg,#ffffff82,#e4f2ff45 56%,#a5c9e92e);
  box-shadow:inset 0 1px 1.5px #fffffff2,inset 0 -1px 1px #769bb52b,0 3px 10px #2345691c;
  -webkit-backdrop-filter:blur(20px) saturate(155%); backdrop-filter:blur(20px) saturate(155%);
}
#modal > .discovery-score-close:hover { background:linear-gradient(145deg,#ffffffb3,#e4f2ff73); border-color:#fff; }
#modal > .discovery-score-close svg { display:block; width:14px; height:14px; margin:0; }
#modal > .discovery-score-close svg, #modal > .discovery-score-close svg path { color:inherit; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }


/* Find messages share rounded, translucent blue glass in both appearances. */
#modal:has(.discovery-score-speaker) :is(.discovery-score-message,.discovery-score-row,.discovery-chat-bubble.is-agent) {
  --ink:#f5f9ff; --muted:#e0eafa; --line-strong:#e4efff8c;
  color:var(--ink); border:1px solid var(--line-strong); border-radius:22px;
  background:radial-gradient(ellipse at 12% 0,rgba(199,225,255,.2),transparent 60%),linear-gradient(145deg,rgba(20,45,72,.64),rgba(8,25,47,.72) 58%,rgba(38,79,117,.56));
  box-shadow:inset 0 1px 1.5px #ffffff80,inset 1px 0 1px #e2f1ff26,inset 0 -1px 1px #a8d3ff45,0 5px 16px #10213926;
  -webkit-backdrop-filter:blur(18px) saturate(180%); backdrop-filter:blur(18px) saturate(180%);
}
#modal:has(.discovery-score-speaker) :is(.discovery-score-message,.discovery-score-row,.discovery-chat-bubble.is-agent) :is(.score-title-pill,h3 > span,.third-party-mention) {
  color:#f5f9ff; background:#ffffff1f; border-color:#e4efff73;
}

/* Keep every Find message on the same bright iOS liquid-glass material as the
   Find Cofounder identity widget above the conversation. */
#modal:has(.discovery-score-speaker) :is(.discovery-score-message,.discovery-score-row,.discovery-chat-bubble.is-agent) {
  --ink:#203750;
  --muted:#4c6179;
  --line-strong:#ffffffdb;
  color:var(--ink);
  border-color:#ffffffdb;
  background:radial-gradient(125% 125% at 14% -18%,#ffffffa8,transparent 67%),linear-gradient(145deg,#ffffff61,#bbd5f426 64%,#a1bfe517);
  box-shadow:inset 0 1px 1px #fffffff5,inset 0 -1px 1px #ffffff5c,0 6px 18px #2f4f771c;
  -webkit-backdrop-filter:blur(22px) saturate(175%);
  backdrop-filter:blur(22px) saturate(175%);
}
#modal:has(.discovery-score-speaker) :is(.discovery-score-message,.discovery-score-row,.discovery-chat-bubble.is-agent) :is(.score-title-pill,h3 > span,.third-party-mention) {
  color:#203750;
  border-color:#ffffffdb;
  background:radial-gradient(125% 125% at 14% -18%,#ffffff8f,transparent 67%),linear-gradient(145deg,#ffffff70,#bbd5f43b 64%,#a1bfe527);
  box-shadow:inset 0 1px 1px #fffffff0,inset 0 -1px 1px #ffffff52;
}
#modal:has(.discovery-score-speaker) .discovery-evidence-receipt {
  color:#4c6179;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) #modal:has(.discovery-score-speaker) .discovery-chat-bubble.is-user,
body:has(#onboarding:is([data-ob-theme="bright"],[data-ob-theme="glacial"])) .onboarding-profile-layer #modal:has(.discovery-score-speaker) .discovery-chat-bubble.is-user {
  color:#fff;
  border-color:#000;
  background:#000;
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 7px 18px rgba(0,0,0,.2);
}

/* Product Score is the conversational companion to Product Profile, so both
   surfaces share the same desktop footprint and liquid-glass shell. */
#modal:has(> .discovery-score-chat-footer) {
  --profile-ink:#f4f8ff;
  --profile-muted:#adc0d9;
  width:min(780px,calc(100vw - 28px));
  height:min(760px,calc(100dvh - 30px));
  max-height:min(760px,calc(100dvh - 30px));
  padding:0;
  overflow:hidden;
  color:var(--profile-ink);
  border:1px solid rgba(255,255,255,.88);
  border-radius:34px;
  background:radial-gradient(95% 67% at 3% -10%,rgba(255,255,255,.86),transparent 74%),radial-gradient(85% 80% at 100% 105%,rgba(242,247,252,.29),transparent 70%),linear-gradient(135deg,rgba(243,247,251,.78),rgba(215,224,234,.71) 53%,rgba(182,199,216,.68));
  box-shadow:inset 0 1px rgba(255,255,255,.98),inset 0 -1px rgba(82,110,141,.18),0 34px 96px rgba(0,10,27,.43);
  -webkit-backdrop-filter:blur(42px) saturate(145%);
  backdrop-filter:blur(42px) saturate(145%);
}
#modal:has(> .discovery-score-chat-footer) > .discovery-evidence-scroll {
  padding:24px 30px 18px;
}
#modal:has(> .discovery-score-chat-footer) .discovery-score-message-row,
#modal:has(> .discovery-score-chat-footer) .discovery-evidence-scroll > .discovery-score-row {
  width:min(620px,calc(100% - 44px));
}
#modal:has(> .discovery-score-chat-footer) .discovery-evidence-scroll > .discovery-score-row {
  width:fit-content;
  max-width:calc(100% - 44px);
  min-width:0;
  height:auto;
  min-height:0;
  padding:7px 10px 6px;
}
#modal:has(> .discovery-score-chat-footer) .discovery-score-message-row,
#modal:has(> .discovery-score-chat-footer) .discovery-score-message-row > .discovery-score-message {
  height:auto;
  min-height:72px;
}
#modal:has(> .discovery-score-chat-footer) .discovery-score-message-row {
  margin-bottom:5px;
}
#modal:has(> .discovery-score-chat-footer) .discovery-score-message-row > .discovery-score-message {
  margin-bottom:0;
}
#modal:has(> .discovery-score-chat-footer) .discovery-score-chat-footer {
  padding:12px 30px 24px;
  border-top:1px solid rgba(231,245,255,.18);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) #modal:has(> .discovery-score-chat-footer),
body:has(#onboarding[data-ob-theme="bright"]) .onboarding-profile-layer #modal:has(> .discovery-score-chat-footer) {
  --profile-ink:#172d49;
  --profile-muted:#526d8c;
  color:var(--profile-ink);
  border-color:rgba(255,255,255,.88);
  background:radial-gradient(95% 67% at 3% -10%,rgba(255,255,255,.86),transparent 74%),radial-gradient(85% 80% at 100% 105%,rgba(242,247,252,.29),transparent 70%),linear-gradient(135deg,rgba(243,247,251,.78),rgba(215,224,234,.71) 53%,rgba(182,199,216,.68));
  box-shadow:inset 0 1px rgba(255,255,255,.98),inset 0 -1px rgba(82,110,141,.18),0 34px 96px rgba(0,10,27,.43);
  -webkit-backdrop-filter:blur(42px) saturate(145%);
  backdrop-filter:blur(42px) saturate(145%);
}
@media(max-width:590px) {
  #modal:has(> .discovery-score-chat-footer) { width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:30px; }
  #modal:has(> .discovery-score-chat-footer) > .discovery-evidence-scroll { padding-inline:20px; }
  #modal:has(> .discovery-score-chat-footer) .discovery-score-chat-footer { padding-inline:20px; }
}

.mcp-connector-block { width:min(100%,720px); }
.mcp-connector-card { display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:26px;background:var(--glass-bottom);box-shadow:inset 0 1px rgba(255,255,255,.08);color:var(--ink); }
.mcp-connector-logo { display:grid;place-items:center;width:56px;height:56px;overflow:hidden;border-radius:14px;background:#f7f7f7;color:#20252b;font-size:25px; }
.mcp-connector-logo img { width:100%;height:100%;padding:8px;object-fit:contain; }
.mcp-connector-copy { display:grid;gap:5px;min-width:0; }
.mcp-server-url { width:min(100%,420px);min-height:38px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:14px;background:var(--glass-bottom);color:var(--ink);font:inherit;font-size:13px; }
.mcp-server-url::placeholder { color:var(--muted); }
.mcp-server-url:focus-visible { outline:2px solid var(--accent,#78aaff);outline-offset:2px; }
.mcp-connector-title { display:flex;align-items:center;gap:8px;min-width:0;font-size:18px;line-height:1.25; }
.mcp-connector-title strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.mcp-verified-mark { width:18px;height:18px;flex:none;fill:#4b9cff; }
.mcp-connector-description { color:var(--muted);font-size:15px;line-height:1.35; }
.mcp-connector-card > button { min-height:40px;padding:0 15px;border:1px solid var(--line-strong);border-radius:999px;background:var(--ink);color:var(--bg);font:inherit;font-size:14px;font-weight:650;cursor:pointer;transition:filter .16s ease,transform .16s ease; }
.mcp-connector-card > button:hover:not(:disabled) { filter:brightness(.92);transform:translateY(-1px); }
.mcp-connector-card > button:disabled { cursor:wait;opacity:.62; }
.mcp-connector-note { margin:10px 20px 0;color:var(--muted);font-size:13px;line-height:1.45; }
.mcp-connector-status { display:block;margin:8px 20px 0;color:var(--muted);font-size:13px;line-height:1.4; }
@media(max-width:560px) {
  .mcp-connector-card { grid-template-columns:48px minmax(0,1fr);gap:12px;padding:14px;border-radius:23px; }
  .mcp-connector-logo { width:52px;height:52px;border-radius:14px; }
  .mcp-connector-card > button { grid-column:2;justify-self:start;min-height:38px;padding-inline:18px; }
  .mcp-connector-title { font-size:16px; }
  .mcp-connector-description { font-size:14px; }
  .mcp-connector-note,.mcp-connector-status { margin-inline:14px; }
}

/* Bright appearance: the chosen subscription plan is an unmistakable dark card. */
:root[data-theme="bright"] .modal.upgrade-modal .upgrade-plan.selected,
:root[data-theme="bright"] .modal.upgrade-modal .upgrade-plan.selected:hover {
  border-color:#000;
  background:radial-gradient(circle at 18% 0,rgba(74,84,99,.68),transparent 48%),linear-gradient(145deg,#151a22,#000 72%);
  color:#fff;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.24),inset 0 -1px #000,0 18px 44px rgba(12,28,49,.3);
}
:root[data-theme="bright"] .modal.upgrade-modal .upgrade-plan.selected .upgrade-price small { color:#d4deeb; }
:root[data-theme="bright"] .modal.upgrade-modal .upgrade-plan.selected .upgrade-allowances>span {
  border-color:rgba(255,255,255,.3);
  background:rgba(255,255,255,.1);
  color:#fff;
}
:root[data-theme="bright"] .modal.upgrade-modal .upgrade-plan.selected .upgrade-plan-radio {
  border-color:#fff;
  background:#fff;
  color:#080d14;
  box-shadow:inset 0 1px #fff,0 3px 10px rgba(0,0,0,.35);
}

/* Dark appearance: the chosen subscription plan becomes luminous white glass. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.upgrade-modal .upgrade-plan.selected,
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.upgrade-modal .upgrade-plan.selected:hover {
  border-color:rgba(255,255,255,.98);
  background:radial-gradient(circle at 16% 0,rgba(255,255,255,.98),transparent 48%),linear-gradient(145deg,rgba(255,255,255,.94),rgba(224,235,249,.82) 58%,rgba(190,211,238,.72));
  color:#13243b;
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px rgba(73,105,146,.2),0 20px 48px rgba(0,0,0,.34),0 0 28px rgba(204,227,255,.12);
  -webkit-backdrop-filter:blur(28px) saturate(175%) brightness(1.12);
  backdrop-filter:blur(28px) saturate(175%) brightness(1.12);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.upgrade-modal .upgrade-plan.selected .upgrade-price small { color:#50627a; }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.upgrade-modal .upgrade-plan.selected .upgrade-allowances>span {
  border-color:rgba(63,91,127,.24);
  background:rgba(255,255,255,.42);
  color:#13243b;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.upgrade-modal .upgrade-plan.selected .upgrade-plan-radio {
  border-color:#15253a;
  background:#15253a;
  color:#fff;
  box-shadow:inset 0 1px rgba(255,255,255,.2),0 3px 10px rgba(25,43,67,.28);
}

/* Powers value badges invert their liquid-glass material with appearance. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal #settings-panel .powers-range-value {
  border-color:rgba(255,255,255,.96);
  background:radial-gradient(circle at 26% 10%,rgba(255,255,255,.98),rgba(255,255,255,.72) 48%,rgba(224,236,251,.58));
  color:#12233a;
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px rgba(82,112,151,.22),0 5px 14px rgba(0,0,0,.26);
  -webkit-backdrop-filter:blur(18px) saturate(165%);
  backdrop-filter:blur(18px) saturate(165%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal #settings-panel .powers-range-value {
  border-color:rgba(4,10,18,.94);
  background:radial-gradient(circle at 26% 10%,rgba(72,82,96,.82),transparent 54%),linear-gradient(145deg,rgba(16,21,29,.96),rgba(0,0,0,.98));
  color:#fff;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.24),inset 0 -1px #000,0 5px 14px rgba(11,25,44,.24);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
}

/* General discovery card: translucent liquid glass in both appearances. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal .settings-pro-card {
  border-color:rgba(226,237,250,.36);
  background:radial-gradient(ellipse at 8% -8%,rgba(230,240,255,.16),transparent 58%),radial-gradient(ellipse at 95% 110%,rgba(128,157,196,.1),transparent 62%),linear-gradient(135deg,rgba(111,126,147,.22),rgba(47,57,72,.19) 48%,rgba(10,15,24,.3));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.34),inset 0 -1px 1px rgba(255,255,255,.06),0 14px 34px rgba(0,0,0,.18);
  -webkit-backdrop-filter:blur(34px) saturate(185%);
  backdrop-filter:blur(34px) saturate(185%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal .settings-pro-card {
  border-color:rgba(255,255,255,.64);
  background:radial-gradient(ellipse at 0 0,rgba(255,255,255,.2),transparent 68%),linear-gradient(135deg,rgba(255,255,255,.15),rgba(172,205,242,.08) 55%,rgba(103,153,216,.055));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.75),inset 0 -1px 1px rgba(255,255,255,.1),0 14px 34px rgba(49,90,143,.12);
  -webkit-backdrop-filter:blur(32px) saturate(180%);
  backdrop-filter:blur(32px) saturate(180%);
}

/* Power titles and descriptions occupy the centered top of every control card. */
.modal.settings-modal #settings-panel .powers-control {
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto;
  align-content:start;
  gap:14px;
  padding-top:17px;
}
.modal.settings-modal #settings-panel .powers-control-copy {
  grid-column:1;
  grid-row:1;
  justify-items:center;
  text-align:center;
}
.modal.settings-modal #settings-panel .powers-control-copy-text {
  justify-items:center;
  text-align:center;
}
.modal.settings-modal #settings-panel .powers-control-heading {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
.powers-title-symbol {
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border:1px solid rgba(255,255,255,.96);
  border-radius:50%;
  color:#080a0f;
  background:radial-gradient(circle at 28% 18%,#fff 0,#f8fafc 46%,#dfe7f0 100%);
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px rgba(77,93,113,.16),0 4px 10px rgba(0,0,0,.22);
}
.powers-title-symbol svg { width:17px;height:17px;fill:currentColor; }
:root[data-theme="bright"] .modal.settings-modal #settings-panel .powers-title-symbol {
  border-color:rgba(224,234,249,.58);
  color:#f6f9ff;
  background:
    radial-gradient(ellipse at 25% 0%,rgba(226,237,255,.3),transparent 64%),
    linear-gradient(145deg,rgba(27,33,43,.88),rgba(2,5,10,.96));
  box-shadow:inset 0 1px 2px rgba(238,245,255,.38),inset 0 -1px rgba(0,0,0,.62),0 5px 13px rgba(21,43,72,.3);
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  backdrop-filter:blur(8px) saturate(140%);
}
.modal.settings-modal #settings-panel .powers-control-range {
  grid-column:1;
  grid-row:2;
  width:min(100%,260px);
  justify-self:center;
}

/* Dark-mode Password Manager editors use one bright white liquid-glass CTA language. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .vault-card-dialog button:not(.vault-card-close):not(.glass-select-trigger) {
  position:relative;
  isolation:isolate;
  border:1px solid rgba(255,255,255,.94)!important;
  background:
    radial-gradient(135% 125% at 16% -18%,rgba(255,255,255,1),transparent 62%),
    linear-gradient(145deg,rgba(255,255,255,.92),rgba(214,230,250,.72) 58%,rgba(244,249,255,.82))!important;
  color:#14253a!important;
  text-shadow:none!important;
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,1),
    inset 0 -1px 1px rgba(88,126,172,.2),
    0 8px 20px rgba(0,0,0,.28)!important;
  -webkit-backdrop-filter:blur(22px) saturate(185%);
  backdrop-filter:blur(22px) saturate(185%);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .vault-card-dialog button:not(.vault-card-close):not(.glass-select-trigger) :is(svg,path) {
  color:inherit;
  fill:currentColor;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .vault-card-dialog button:not(.vault-card-close):not(.glass-select-trigger):is(:hover,:focus-visible) {
  transform:translateY(-1px);
  border-color:#fff!important;
  background:
    radial-gradient(135% 125% at 16% -18%,#fff,transparent 62%),
    linear-gradient(145deg,#fff,rgba(222,237,255,.82) 58%,rgba(249,252,255,.92))!important;
  box-shadow:inset 0 1.5px 1px #fff,inset 0 -1px rgba(88,126,172,.18),0 11px 25px rgba(0,0,0,.34)!important;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .vault-card-dialog button:not(.vault-card-close):not(.glass-select-trigger):active { transform:scale(.985); }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .vault-card-dialog button:not(.vault-card-close):not(.glass-select-trigger):disabled { transform:none;opacity:.55; }

/* Smoother, genuinely translucent iOS-style glass for the live voice control. */
#live-voice-button {
  border-color:rgba(235,246,255,.58);
  background:
    radial-gradient(ellipse 82% 68% at 28% 12%,rgba(255,255,255,.58),transparent 58%),
    radial-gradient(ellipse 92% 86% at 74% 88%,color-mix(in srgb,var(--voice-bottom) 34%,transparent),transparent 72%),
    linear-gradient(145deg,color-mix(in srgb,var(--voice-top) 25%,transparent),color-mix(in srgb,var(--voice-mid) 18%,transparent) 52%,rgba(7,16,31,.24));
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,.68),
    inset 0 -1px 1px rgba(64,104,156,.18),
    0 7px 20px rgba(3,12,27,.2),
    0 0 0 .5px rgba(170,210,255,.22);
  -webkit-backdrop-filter:blur(28px) saturate(165%);
  backdrop-filter:blur(28px) saturate(165%);
  transition:transform .28s cubic-bezier(.2,.85,.25,1),border-color .28s ease,background .28s ease,box-shadow .28s ease,filter .28s ease;
}
#live-voice-button::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:2px;
  border-radius:50%;
  background:linear-gradient(138deg,rgba(255,255,255,.3),transparent 39%,rgba(174,214,255,.08) 72%,transparent);
  pointer-events:none;
}
#live-voice-button .live-voice-orb-texture {
  inset:-7px;
  width:calc(100% + 14px);
  height:calc(100% + 14px);
  opacity:.25;
  mix-blend-mode:soft-light;
  filter:blur(7px) saturate(.92) contrast(.94);
}
#live-voice-button::after {
  inset:1px;
  border-color:rgba(255,255,255,.34);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.5),inset 0 -1px rgba(94,139,197,.12);
}
#live-voice-button svg {
  z-index:2;
  fill:rgba(255,255,255,.96);
  stroke:none;
  filter:drop-shadow(0 1px 2px rgba(7,20,39,.44));
}
#live-voice-button .live-voice-symbol { width:20px;height:20px;transform:rotate(-8deg);transform-origin:center; }
#live-voice-button:hover {
  filter:none;
  transform:translateY(-1px) scale(1.025);
  border-color:rgba(244,250,255,.76);
  background:
    radial-gradient(ellipse 84% 70% at 28% 12%,rgba(255,255,255,.7),transparent 58%),
    radial-gradient(ellipse 92% 86% at 74% 88%,color-mix(in srgb,var(--voice-bottom) 39%,transparent),transparent 72%),
    linear-gradient(145deg,color-mix(in srgb,var(--voice-top) 31%,transparent),color-mix(in srgb,var(--voice-mid) 22%,transparent) 52%,rgba(7,16,31,.22));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.8),inset 0 -1px rgba(64,104,156,.14),0 10px 25px rgba(3,12,27,.24),0 0 18px color-mix(in srgb,var(--voice-mid) 18%,transparent);
}
#live-voice-button:active { transform:translateY(0) scale(.965); }
@media (prefers-reduced-transparency:reduce) {
  #live-voice-button { background:linear-gradient(145deg,var(--voice-top),var(--voice-mid) 55%,var(--voice-bottom));-webkit-backdrop-filter:none;backdrop-filter:none; }
}

/* Bright mode keeps both composer call controls as dark graphite circles. */
:root[data-theme="bright"] :is(#live-voice-button,#live-video-button) {
  color:#f8fbff!important;
  border-color:rgba(255,255,255,.82)!important;
  background:
    radial-gradient(circle at 30% 16%,rgba(255,255,255,.28),transparent 32%),
    linear-gradient(145deg,#2b313a 0%,#0d1015 54%,#000 100%)!important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.45),
    inset 0 -2px 3px rgba(0,0,0,.68),
    0 5px 14px rgba(12,25,43,.28),
    0 0 0 .5px rgba(255,255,255,.62)!important;
}
:root[data-theme="bright"] #live-voice-button .live-voice-orb-texture {
  opacity:.08;
  mix-blend-mode:normal;
  filter:blur(6px) grayscale(1) brightness(.35) contrast(1.5);
}
:root[data-theme="bright"] :is(#live-voice-button,#live-video-button) svg {
  color:#fff!important;
  fill:currentColor;
  stroke:#fff;
}
:root[data-theme="bright"] :is(#live-voice-button,#live-video-button):is(:hover,[aria-pressed="true"]) {
  background:
    radial-gradient(circle at 30% 16%,rgba(255,255,255,.38),transparent 34%),
    linear-gradient(145deg,#363d47 0%,#13171d 54%,#020304 100%)!important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.55),
    inset 0 -2px 3px rgba(0,0,0,.68),
    0 7px 18px rgba(12,25,43,.34),
    0 0 0 .5px rgba(255,255,255,.7)!important;
}

/* Bright appearance: one shared black CTA material across the desktop app. */
:root[data-theme="bright"] {
  --bright-cta-surface:radial-gradient(ellipse 72% 92% at 24% 0%,rgba(99,108,120,.42),transparent 63%),linear-gradient(145deg,#24282e 0%,#101317 55%,#000 100%);
  --bright-cta-rim:rgba(219,224,231,.82);
  --bright-cta-shadow:inset 0 1px 1px rgba(255,255,255,.34),inset 0 -1px 1px rgba(0,0,0,.78),0 7px 18px rgba(10,24,42,.28);
}
:root[data-theme="bright"] :is(
  .settings-auth-social,
  .settings-auth-submit,
  .settings-auth-alt,
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button,
  .primary-btn,
  .secondary-btn,
  .upgrade-choose,
  .mcp-connector-card > button,
  .dictation-actions button
) {
  border:1px solid var(--bright-cta-rim)!important;
  background:var(--bright-cta-surface)!important;
  color:#fff!important;
  box-shadow:var(--bright-cta-shadow)!important;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
:root[data-theme="bright"] :is(
  .settings-auth-social,
  .settings-auth-submit,
  .settings-auth-alt,
  .settings-secondary,
  .settings-billing-button,
  .settings-pro-cta,
  .settings-wallet-method-action,
  .usage-upgrade,
  .tools-directory-connect,
  .vault-action,
  .agent-profile-save,
  .founder-icon-action,
  .founder-editor button[type="submit"],
  .founder-source-row button,
  .primary-btn,
  .secondary-btn,
  .upgrade-choose,
  .mcp-connector-card > button,
  .dictation-actions button
):is(:hover,:focus-visible,[aria-pressed="true"]) {
  border-color:var(--bright-cta-rim)!important;
  background:radial-gradient(ellipse 76% 92% at 24% 0%,rgba(121,131,145,.48),transparent 63%),linear-gradient(145deg,#30353d 0%,#15191e 55%,#030405 100%)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.4),inset 0 -1px 1px rgba(0,0,0,.78),0 10px 24px rgba(10,24,42,.34)!important;
}
:root[data-theme="bright"] .settings-auth-social[data-auth-social="apple"] svg { color:#fff!important; }
:root[data-theme="bright"] .settings-auth-social[data-auth-social="google"] svg path { filter:none; }
:root[data-theme="bright"] .settings-auth-social[data-auth-social="google"] svg { color:initial!important; }
:root[data-theme="bright"] #live-voice-button .live-voice-symbol { width:20px;height:20px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
:root .live-call-pill { height:40px;min-width:84px;flex:0 0 auto;padding:2px 5px;display:flex;align-items:center;justify-content:space-between;gap:2px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:radial-gradient(ellipse 78% 115% at 18% 0%,rgba(255,255,255,.58),transparent 68%),linear-gradient(145deg,rgba(228,240,255,.88),rgba(194,218,247,.72) 58%,rgba(168,201,238,.62));box-shadow:inset 0 1px 1px rgba(255,255,255,.92),inset 0 -1px 1px rgba(101,144,193,.15),0 5px 14px rgba(43,75,115,.2);-webkit-backdrop-filter:blur(20px) saturate(165%);backdrop-filter:blur(20px) saturate(165%); }
:root .live-call-pill :is(#live-voice-button,#live-video-button) { position:relative;isolation:isolate;overflow:visible;width:36px;height:36px;min-width:36px;flex:0 0 36px;padding:0;display:grid;place-items:center;border:0!important;border-radius:50%;background:transparent!important;color:#20344b!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none; }
:root .live-call-pill :is(#live-voice-button,#live-video-button)::before,:root .live-call-pill :is(#live-voice-button,#live-video-button)::after { content:none!important; }
:root .live-call-pill :is(#live-voice-button,#live-video-button) svg { width:20px;height:20px;color:inherit!important;fill:currentColor!important;stroke:none!important;filter:none!important; }
:root .live-call-pill #live-voice-button .live-voice-symbol { width:20px;height:20px;transform:rotate(-8deg); }
:root .live-call-pill :is(#live-voice-button,#live-video-button):is(:hover,:focus-visible,[aria-pressed="true"]) { border:0!important;border-radius:50%;background:rgba(255,255,255,.48)!important;color:#152a43!important;box-shadow:inset 0 1px rgba(255,255,255,.82),0 2px 7px rgba(58,90,130,.12)!important; }
:root .live-call-pill :is(#live-voice-button,#live-video-button):active { transform:scale(.94); }
:root[data-theme="bright"] .live-call-pill { border-color:rgba(255,255,255,.84);background:radial-gradient(ellipse 78% 115% at 18% 0%,rgba(255,255,255,.72),transparent 68%),linear-gradient(145deg,rgba(236,246,255,.88),rgba(199,223,250,.72) 58%,rgba(176,209,244,.66));box-shadow:inset 0 1px 1px rgba(255,255,255,.96),inset 0 -1px 1px rgba(101,144,193,.12),0 5px 14px rgba(43,75,115,.18); }
:root[data-theme="bright"] .live-call-pill :is(#live-voice-button,#live-video-button) { color:#20344b!important; }
:root[data-theme="bright"] .live-call-pill :is(#live-voice-button,#live-video-button):is(:hover,:focus-visible,[aria-pressed="true"]) { color:#152a43!important;background:rgba(255,255,255,.54)!important; }
:root[data-theme="bright"] .settings-pro-card .settings-plan-heading,
:root[data-theme="bright"] .settings-pro-card .settings-plan-symbol:is(:hover,:focus-within) .settings-plan-heading {
  color:#263b55!important;
  border-color:rgba(255,255,255,.82)!important;
  background:#fff!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.92),inset 0 -1px rgba(255,255,255,.35),0 5px 14px rgba(37,67,107,.12)!important;
  -webkit-backdrop-filter:blur(16px) saturate(165%);
  backdrop-filter:blur(16px) saturate(165%);
}
:root[data-theme="bright"] .settings-pro-card .settings-plan-heading :is(.settings-plan-name,.settings-plan-badge) { color:#263b55!important; }
:root[data-theme="bright"] .settings-pro-card .settings-plan-heading .settings-plan-badge { background:transparent;border-color:transparent;box-shadow:none; }
:root[data-theme="bright"] .settings-pro-card .settings-plan-heading .settings-plan-badge svg { color:#263b55!important;fill:currentColor; }
:root[data-theme="bright"] :is(.settings-auth-social,.settings-pro-cta,.settings-wallet-method-action,.vault-action,.agent-profile-save)::before { background:linear-gradient(165deg,rgba(255,255,255,.14),transparent 52%); }

/* The bright upgrade pill is black, so its masked star must remain solid white. */
:root[data-theme="bright"] .modal.settings-modal #settings-panel .settings-pro-cta::before {
  background:#fff!important;
}

/* Stack the promo by available panel space, before its artwork can hit copy. */
.settings-content { container-type:inline-size;container-name:settings-panel-size; }
@container settings-panel-size (max-width:580px) {
  .modal.settings-modal #settings-panel .settings-pro-copy { align-items:center;text-align:center; }
  .modal.settings-modal #settings-panel .settings-pro-copy .settings-pro-cta { align-self:center;justify-self:center;margin-inline:auto; }
  .modal.settings-modal .settings-pro-card { grid-template-columns:minmax(0,1fr);gap:20px; }
  .settings-pro-card > .settings-plan-lineup { width:100%;margin-left:0;gap:10px;padding:20px 14px; }
  .modal.settings-modal .settings-pro-card h3 { white-space:normal; }
  .modal.settings-modal #settings-panel .settings-pro-cta { max-width:100%;white-space:normal; }
}

/* Softer iOS-style corners across every settings page surface. */
.modal.settings-modal #settings-panel :is(.settings-row,.settings-pro-card,.usage-card,.settings-billing-card,.settings-wallet-methods,.settings-link-menu,.tools-directory-card,.vault-list,.vault-form,.powers-control,.powers-controls,.founder-editor,.founder-source-row,.settings-plan-lineup) { border-radius:38px!important; }
.modal.settings-modal #settings-panel .settings-pro-art { border-radius:30px!important; }
.modal.settings-modal #settings-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),textarea,select) { border-radius:18px; }
.modal.settings-modal .settings-auth-form .settings-auth-field input {
  min-height:64px;
  border-radius:999px!important;
  border-color:rgba(255,255,255,.86);
  background:linear-gradient(145deg,rgba(255,255,255,.3),rgba(181,211,246,.2));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.72),0 7px 18px rgba(39,75,119,.1);
}
.modal.settings-modal .settings-auth-form .settings-auth-field input:focus-visible { border-radius:999px!important; }

/* Bright appearance: enabled switches use charcoal liquid glass. */
:root[data-theme="bright"] .modal.settings-modal .settings-switch.on {
  background:radial-gradient(ellipse at 20% 0,rgba(255,255,255,.16),transparent 62%),linear-gradient(145deg,rgba(38,43,51,.94),rgba(5,8,13,.92));
  border-color:rgba(17,24,34,.75);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.3),inset 0 -1px 1px rgba(0,0,0,.5),0 4px 12px rgba(13,27,46,.22);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
}
:root[data-theme="bright"] .modal.settings-modal .settings-switch.on i {
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(216,229,246,.88));
  border-color:rgba(255,255,255,.94);
  box-shadow:inset 0 1px #fff,0 2px 5px rgba(0,0,0,.28);
}
@media (prefers-reduced-transparency:reduce) {
  :root[data-theme="bright"] .modal.settings-modal .settings-switch.on { background:#151a22;-webkit-backdrop-filter:none;backdrop-filter:none; }
}

/* Dark appearance: enabled settings switches use white translucent liquid glass. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal .settings-switch.on {
  background:radial-gradient(ellipse at 22% 0,rgba(255,255,255,.9),transparent 66%),linear-gradient(145deg,rgba(255,255,255,.72),rgba(219,232,249,.38))!important;
  border-color:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.94),inset 0 -1px 1px rgba(255,255,255,.26),0 4px 12px rgba(0,0,0,.22)!important;
  -webkit-backdrop-filter:blur(18px) saturate(165%);
  backdrop-filter:blur(18px) saturate(165%);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal .settings-switch.on i {
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(223,235,250,.9));
  border-color:rgba(255,255,255,.96);
  box-shadow:inset 0 1px #fff,0 2px 5px rgba(0,0,0,.3);
}
@media (prefers-reduced-transparency:reduce) {
  :root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal .settings-switch.on { background:#f4f7fb;-webkit-backdrop-filter:none;backdrop-filter:none; }
}

/* Access and data settings retain the shared liquid-glass surfaces. */
.privacy-settings { display:grid; gap:20px; min-width:0; padding-bottom:24px; }
.privacy-group { display:grid; gap:10px; min-width:0; }
.privacy-group h3 { margin:4px 4px 2px; font-size:14px; font-weight:600; color:var(--muted); }
.privacy-settings .settings-row { margin:0; gap:18px; }
.privacy-settings .settings-row-copy { min-width:0; flex:1; }
.privacy-settings .settings-row-copy small { line-height:1.5; }
.privacy-settings .settings-panel-intro { margin:0; line-height:1.6; }
.modal.settings-modal .settings-panel-intro { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.modal.settings-modal #settings-panel .settings-row-copy small,
.modal.settings-modal #settings-panel .settings-panel-intro,
.modal.settings-modal #settings-panel .memory-provider-copy small,
.modal.settings-modal #settings-panel .channel-connect-copy small {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.privacy-settings .settings-secondary { white-space:normal; text-align:center; text-decoration:none; font:inherit; font-size:13px; font-weight:700; cursor:pointer; max-width:100%; }
.privacy-status { flex:0 0 auto; font-size:12px; opacity:.7; max-width:150px; text-align:right; }
.privacy-select { max-width:220px; min-height:42px; padding:9px 30px 9px 14px; border-radius:22px; border:1px solid rgba(180,198,223,.5); background:rgba(85,103,128,.24); color:inherit; font:inherit; font-size:13px; }
.privacy-select option { color:#152439; background:#f0f4fa; }
.privacy-inline-form,.privacy-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.privacy-inline-form input,.privacy-memory textarea { background:rgba(100,120,150,.12); border:1px solid rgba(180,198,223,.5); border-radius:18px; padding:14px; color:inherit; font:inherit; min-width:0; }
.privacy-inline-form input { flex:1; }
.privacy-memory { display:grid; gap:14px; }
.privacy-memory textarea { width:100%; box-sizing:border-box; resize:vertical; line-height:1.6; }
.privacy-memory small,.privacy-feedback { font-size:13px; line-height:1.5; opacity:.8; }
.memory-sync-shell{display:grid;gap:18px;padding:20px;border:1px solid rgba(205,220,244,.42);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(112,135,174,.08));box-shadow:inset 0 1px rgba(255,255,255,.45),0 18px 45px rgba(2,10,26,.12);backdrop-filter:blur(28px) saturate(1.24)}
.memory-sync-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.memory-sync-heading h3,.memory-sync-heading p{margin:0}.memory-sync-heading h3{font-size:20px}.memory-sync-heading p{margin-top:4px;color:var(--muted);font-size:13px}.memory-private-badge{padding:7px 11px;border:1px solid rgba(205,220,244,.48);border-radius:999px;background:rgba(255,255,255,.1);font-size:12px;white-space:nowrap}.memory-private-badge::first-letter{color:#68c39a}
.memory-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-sync-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:13px;border:1px solid rgba(205,220,244,.38);border-radius:22px;background:linear-gradient(150deg,rgba(255,255,255,.14),rgba(118,142,180,.06));box-shadow:inset 0 1px rgba(255,255,255,.35);transition:border-color .18s ease,background .18s ease}.memory-sync-card[data-state="synced"]{border-color:rgba(111,210,165,.54);background:linear-gradient(150deg,rgba(177,255,220,.13),rgba(118,142,180,.06))}.memory-provider-logo{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(246,249,255,.9);color:#17243a;font-size:18px;font-weight:750;box-shadow:0 5px 15px rgba(1,8,22,.14)}.memory-provider-chatgpt{background:#fff;color:#111}.memory-provider-claude{background:#d87955;color:#fff}.memory-provider-grok{background:#111;color:#fff}.memory-provider-gemini{background:linear-gradient(135deg,#5687f5,#b65adf);color:#fff}.memory-provider-perplexity{background:#1f7f80;color:#fff}.memory-provider-deepseek{background:#3975f4;color:#fff}.memory-provider-copy{display:grid;min-width:0}.memory-provider-copy strong{font-size:15px}.memory-provider-copy small,.memory-sync-state{color:var(--muted);font-size:11px}.memory-sync-card>button{grid-column:3;grid-row:1/3;min-width:72px!important;padding-inline:13px!important}.memory-sync-state{grid-column:2;min-height:14px}.memory-sync-card[data-state="synced"] .memory-sync-state{color:#7ad6ad}.memory-sync-footnote{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
@media(max-width:1000px){.memory-provider-grid{grid-template-columns:1fr}.memory-sync-heading{align-items:flex-start}.memory-sync-shell{padding:15px;border-radius:25px}.memory-sync-card{grid-template-columns:44px minmax(0,1fr) auto}}

/* A single filled system-style sync glyph identifies every memory action. */
.memory-sync-card>button{min-width:88px!important}
.memory-sync-card>button::before{content:"";display:block;width:15px;height:15px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 7.5 6.5 12 11V8a5 5 0 0 1 4.72 6.65l1.9.66A7 7 0 0 0 12 6V2Zm-6.62 6.69A7 7 0 0 0 12 18v4l4.5-4.5L12 13v3a5 5 0 0 1-4.72-6.65l-1.9-.66Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 7.5 6.5 12 11V8a5 5 0 0 1 4.72 6.65l1.9.66A7 7 0 0 0 12 6V2Zm-6.62 6.69A7 7 0 0 0 12 18v4l4.5-4.5L12 13v3a5 5 0 0 1-4.72-6.65l-1.9-.66Z'/%3E%3C/svg%3E") center/contain no-repeat}
.memory-sync-card[data-state="connecting"]>button::before,.memory-sync-card[data-state="syncing"]>button::before{animation:memory-sync-spin .85s linear infinite}
@keyframes memory-sync-spin{to{transform:rotate(360deg)}}
.channel-connect-shell{display:grid;gap:16px}.channel-connect-grid{display:grid;gap:12px}.channel-connect-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 17px;border:1px solid rgba(205,220,244,.44);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(100,126,166,.07));box-shadow:inset 0 1px rgba(255,255,255,.38),0 12px 34px rgba(2,10,26,.1);backdrop-filter:blur(26px) saturate(1.22)}.channel-connect-card-featured{border-color:rgba(74,222,128,.44);background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(34,197,94,.08))}.channel-connect-card[data-state="connected"]{border-color:rgba(102,208,158,.56)}.channel-connect-icon{display:block;width:52px;height:52px;border-radius:14px;object-fit:cover;box-shadow:0 6px 18px rgba(0,8,24,.17)}.channel-connect-copy{display:grid;min-width:0}.channel-connect-copy strong{font-size:17px}.channel-connect-copy small{margin-top:4px;color:var(--muted);font-size:13px}.channel-connect-card[data-state="connected"] .channel-connect-copy small{color:#78d5aa}.channel-connect-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.channel-connect-actions>.settings-secondary{min-width:100px!important}.channel-connect-existing{font-size:12px!important;opacity:.88}.channel-connect-note{margin:0 5px;color:var(--muted);font-size:12px;line-height:1.45}@media(max-width:760px){.channel-connect-card{grid-template-columns:44px minmax(0,1fr);padding:13px;border-radius:999px}.channel-connect-icon{width:44px;height:44px}.channel-connect-actions{grid-column:2;justify-content:flex-start}}
.channel-connect-card[data-state="connected"] .channel-connect-copy small{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.channel-connect-card[data-state="connected"] .channel-connect-copy small::before{content:"";display:block;width:16px;height:16px;flex:none;border-radius:50%;background-color:#1b9c67;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.1 8.2 2.35 2.35 5.45-5.45' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-size:13px;background-repeat:no-repeat;box-shadow:inset 0 1px 1px rgba(255,255,255,.38),0 2px 6px rgba(8,83,57,.2)}
:root[data-theme="bright"] .channel-connect-card[data-state="connected"] .channel-connect-copy small{
  color:#0b6b55;
  font-weight:500;
  letter-spacing:.01em;
  text-shadow:0 1px 1px rgba(255,255,255,.72),0 0 8px rgba(255,255,255,.3);
}
@media(max-width:1000px){
  .modal.settings-modal .channel-connect-card{grid-template-columns:44px minmax(0,1fr)}
  .modal.settings-modal .channel-connect-icon{width:44px;height:44px}
  .modal.settings-modal .channel-connect-actions{grid-column:2;justify-content:flex-start}
}
.memory-provider-logo{display:block;width:42px;height:42px;object-fit:cover;border-radius:12px;background:transparent;box-shadow:0 5px 15px rgba(1,8,22,.14)}
.os-preview-frame{display:block;width:100%;height:100%;min-height:500px;border:0;border-radius:inherit;background:#fff}
.privacy-feedback:empty { display:none; }
.privacy-file { position:relative; overflow:hidden; }
.privacy-file input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
.privacy-file:focus-within { outline:2px solid currentColor; outline-offset:3px; }
.privacy-settings button:disabled { cursor:not-allowed; opacity:.45; }
@container settings-panel-size (max-width:480px) {
 .privacy-settings .settings-row { flex-wrap:wrap; }
 .privacy-settings .settings-row-copy { flex-basis:100%; }
 .privacy-status { text-align:left; max-width:none; }
 .privacy-select { width:100%; max-width:none; }
}
.privacy-settings .settings-row .glass-select { flex:0 1 210px; width:210px; min-width:0; max-width:100%; }
.privacy-settings .glass-select-trigger { min-width:0; width:100%; min-height:42px; font-size:13px; }
@container settings-panel-size (max-width:560px) {
 .privacy-settings .settings-row:has(.glass-select) { flex-wrap:wrap; }
 .privacy-settings .settings-row:has(.glass-select) .settings-row-copy { flex-basis:100%; }
 .privacy-settings .settings-row .glass-select { flex:1 1 100%; width:100%; }
}
.access-control { padding:14px; border-bottom:1px solid rgba(160,180,210,.25); overflow-wrap:anywhere; }
.access-control p { white-space:pre-wrap; font-size:13px; }
.access-control input,.privacy-memory input { background:rgba(100,120,150,.12); border:1px solid rgba(180,198,223,.5); border-radius:18px; padding:12px; color:inherit; min-width:0; max-width:100%; }
.access-file-output { white-space:pre-wrap; overflow-wrap:anywhere; max-height:340px; overflow:auto; font-size:13px; }
.privacy-settings .settings-row-copy strong { overflow-wrap:anywhere; }
.privacy-inline-form .glass-select { flex:1 1 220px; max-width:100%; }

/* Fit the original identity inside its frame, without cropping the mark again. */
.product-profile-media-grid .product-profile-media-button:is([data-media-label="App icon"],[data-media-label="Brand logo"]) {
  background:#101714;
}
.product-profile-media-grid .product-profile-media-button:is([data-media-label="App icon"],[data-media-label="Brand logo"]) > img {
  box-sizing:border-box;
  width:100%;height:100%;max-width:100%;max-height:100%;margin:0;
  padding:12px 12px 32px;
  object-fit:contain;object-position:center;
  border-radius:0;clip-path:none;background:transparent;
  transform:none;
}
#modal .product-profile-media-button[data-media-label="Brand logo"] {
  background:var(--logo-background,#fff);
}
#modal .product-profile-media-button[data-media-label="Brand logo"] > img {
  padding:0;
  object-fit:contain;
  object-position:center;
  background:var(--logo-background,#fff);
}
.product-profile-portrait-button > img,
[data-app-portrait] > img,
.create-hub-product-logo:not(.create-hub-brand-logo) > img,
.product-profile-byline .profile-brand-avatar > img {
  display:block;width:70%;height:70%;max-width:70%;max-height:70%;margin:auto;
  object-fit:contain;object-position:center;border-radius:0;clip-path:none;
  background:transparent;transform:none;
}
#modal .score-product-name .score-product-avatar {
  object-fit:contain;object-position:center;padding:2.5px;background:#101714;
}
/* Evidence uses the profile shell's shared glass material and text palette. */
.modal.profile-modal.product-evidence-modal { width:min(510px,calc(100vw - 44px)); }
#modal.product-evidence-modal :is(h2,p,strong,.discovery-source-list,details,summary) { color:var(--profile-ink); }
#modal.product-evidence-modal .eyebrow { color:var(--profile-muted); }
#modal.product-evidence-modal > .profile-close { color:var(--profile-ink); }

#modal.product-profile-modal .product-profile-media-button[data-media-label="App icon"],
#modal.product-profile-modal .product-profile-portrait-button[data-app-portrait] { background:#101714; }

/* Transparent product marks fill the circular frame along their full silhouette.
   88% is calibrated to this alpha silhouette: both tips sit just inside the rim. */
.product-profile-portrait-button > img[src*=".logo-transparent.png"],
[data-app-portrait] > img[src*=".logo-transparent.png"],
.create-hub-product-logo > img[src*=".logo-transparent.png"],
.product-profile-byline .profile-brand-avatar > img[src*=".logo-transparent.png"] {
  width:88%;height:88%;max-width:88%;max-height:88%;padding:0;
  object-fit:contain;object-position:center;border-radius:0;clip-path:none;
}

/* Brand and product profile artwork always fills its circular portrait frame. */
#modal.product-profile-modal .product-profile-portrait-button {
  aspect-ratio:1;
  padding:0;
  overflow:hidden;
  border-radius:50%;
  isolation:isolate;
}
#modal.product-profile-modal .product-profile-portrait-button > img {
  display:block;
  box-sizing:border-box;
  width:100%;height:100%;
  min-width:100%;min-height:100%;
  max-width:100%;max-height:100%;
  margin:0;padding:0;
  border-radius:50%;
  clip-path:circle(50% at 50% 50%);
  object-fit:cover;object-position:center;
  transform:none;
}
#modal.product-profile-modal .product-profile-portrait-button > .profile-portrait-fallback {
  width:100%;height:100%;margin:0;
  border-radius:50%;
  clip-path:circle(50% at 50% 50%);
}
#modal .score-product-name .score-product-avatar[src*=".logo-transparent.png"] {
  padding:1px;object-fit:contain;background:#101714;
}
.ob-product-title-logo[src*=".logo-transparent.png"] { padding:2.4px;background:#101714; }
#modal .product-profile-media-button[data-media-label="App icon"] > img[src*=".logo-transparent.png"] {
  width:100%;height:100%;max-width:100%;max-height:100%;padding:0 0 16px;
}
#modal .profile-brand-avatar:has(> img[src*=".logo-transparent.png"]) { background:#101714; }

/* Dark Cofounder replies and connector cards share one genuinely translucent
   black liquid-glass material. Keep this scoped away from both light themes. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) :is(
  .mcp-connector-card,
  .agent-bubble[data-agent-role]:not(.agent-inline-media),
  .message.agent .bubble,
  .discovery-chat-bubble.is-agent,
  .discovery-score-message
) {
  color:#f2f6fc;
  border-color:rgba(235,244,255,.22);
  background:
    radial-gradient(130% 115% at 7% -24%,rgba(255,255,255,.18),transparent 45%),
    radial-gradient(90% 85% at 95% 112%,rgba(104,145,199,.09),transparent 64%),
    linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.018) 46%,rgba(0,0,0,.24)),
    rgba(4,8,14,.46);
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.3),
    inset 0 -1px 1px rgba(0,0,0,.48),
    0 16px 38px rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(34px) saturate(175%);
  backdrop-filter:blur(34px) saturate(175%);
  text-shadow:0 1px 1px rgba(0,0,0,.34);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .mcp-connector-description,
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .mcp-connector-note,
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .mcp-connector-status {
  color:rgba(218,228,242,.72);
}

/* Bright Cofounder replies use the exact same liquid-glass surface as connector cards. */
:root[data-theme="bright"] :is(
  .mcp-connector-card,
  .agent-bubble[data-agent-role]:not(.agent-inline-media),
  .message.agent .bubble,
  .discovery-chat-bubble.is-agent,
  .discovery-score-message
) {
  color:#142235;
  border-color:rgba(255,255,255,.82);
  background:
    radial-gradient(120% 105% at 8% -18%,rgba(255,255,255,.54),transparent 48%),
    linear-gradient(145deg,rgba(243,249,255,.42),rgba(150,177,216,.32));
  box-shadow:
    inset 0 1px 1.5px rgba(255,255,255,.92),
    inset 0 -1px 1px rgba(79,112,157,.14),
    0 14px 34px rgba(32,53,84,.18);
  -webkit-backdrop-filter:blur(42px) saturate(175%);
  backdrop-filter:blur(42px) saturate(175%);
  text-shadow:none;
}

/* Secure MCP consent — the reference flow, rebuilt in L3NS liquid glass. */
#modal.mcp-connect-modal {
  width:min(510px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 28px));padding:0;overflow:auto;
  color:#eef5ff;border:1px solid rgba(224,238,255,.5);border-radius:34px;
  background:radial-gradient(110% 82% at 7% -8%,rgba(255,255,255,.23),transparent 50%),linear-gradient(145deg,rgba(54,72,96,.8),rgba(13,24,41,.9) 54%,rgba(5,13,24,.94));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.4),inset 0 -1px 1px rgba(0,0,0,.46),0 36px 110px rgba(0,0,0,.52);
  -webkit-backdrop-filter:blur(48px) saturate(170%);backdrop-filter:blur(48px) saturate(170%);
}
#modal.mcp-connect-modal::before {
  content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;
  background:linear-gradient(118deg,transparent 7%,rgba(255,255,255,.13) 28%,transparent 49%);
}
.mcp-consent { position:relative;z-index:1;display:grid;justify-items:center;padding:42px 34px 28px;text-align:center; }
.mcp-consent-close {
  position:absolute;z-index:3;top:15px;right:15px;width:38px;height:38px;padding:0;border:1px solid rgba(224,238,255,.32);border-radius:999px;
  color:inherit;background:rgba(225,239,255,.08);box-shadow:inset 0 1px rgba(255,255,255,.28);font-size:23px;line-height:1;cursor:pointer;
  -webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);
}
.mcp-consent-identities { display:flex;align-items:center;justify-content:center;gap:13px;margin-bottom:20px; }
.mcp-consent-agent,.mcp-consent-provider {
  display:grid;place-items:center;width:74px;height:74px;overflow:hidden;border:1px solid rgba(255,255,255,.56);border-radius:22px;
  background:rgba(231,242,255,.12);box-shadow:inset 0 1px 1px rgba(255,255,255,.5),0 12px 30px rgba(0,0,0,.24);
  -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);
}
.mcp-consent-agent { padding:0;cursor:grab;touch-action:none;border-radius:50%;background:radial-gradient(circle at 30% 16%,rgba(255,255,255,.52),rgba(151,185,229,.13) 48%,rgba(19,34,56,.24)); }
.mcp-consent-agent:active { cursor:grabbing; }
.mcp-consent-agent > .living-orb { display:block;width:58px;height:58px; }
.mcp-consent-agent :is(img,canvas) { width:100%!important;height:100%!important;object-fit:contain; }
.mcp-consent-provider {
  grid-template: minmax(0,1fr) / minmax(0,1fr);
  background:rgba(248,251,255,.88);color:#17283e;font-size:32px;
}
.mcp-consent-provider > img {
  display:block;width:100%;height:100%;object-fit:contain;
}
.mcp-consent-link { display:flex;gap:5px; }
.mcp-consent-link i { width:5px;height:5px;border-radius:50%;background:rgba(224,237,255,.52);animation:mcp-link-pulse 1.45s ease-in-out infinite; }
.mcp-consent-link i:nth-child(2) { animation-delay:.16s; }.mcp-consent-link i:nth-child(3) { animation-delay:.32s; }
.mcp-consent h2 { margin:0;font-size:clamp(25px,4vw,31px);line-height:1.15;letter-spacing:-.025em; }
.mcp-consent-subtitle { margin:10px 0 24px;color:#c4cfdf;font-size:15px;line-height:1.45; }
.supplier-token-field { display:grid;gap:8px;width:100%;margin-bottom:10px;text-align:left;font-size:14px;font-weight:600; }
.supplier-token-field input {
  min-width:0;padding:10px 14px;border:1px solid color-mix(in srgb,currentColor 26%,transparent);
  border-radius:18px;background:color-mix(in srgb,currentColor 7%,transparent);color:inherit;font:inherit;
}
#modal .mcp-consent-subtitle .agent-mention {
  border-color:color-mix(in srgb,currentColor 24%,transparent);
  background:linear-gradient(145deg,rgba(255,255,255,.10),transparent 44%,rgba(161,197,235,.035));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.17),0 1px 3px rgba(3,10,23,.08);
  -webkit-backdrop-filter:blur(3px) saturate(112%);
  backdrop-filter:blur(3px) saturate(112%);
  transition:border-color 160ms ease,box-shadow 160ms ease,transform 160ms ease;
}
@media (hover:hover) {
  #modal .mcp-consent-subtitle .agent-mention:hover {
    border-color:color-mix(in srgb,currentColor 58%,transparent);
    box-shadow:inset 0 1px 2px rgba(255,255,255,.38),0 3px 8px rgba(3,10,23,.17);
  }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #modal .mcp-consent-subtitle .agent-mention:hover { transform:translateY(-1px) scale(1.04); }
}
.mcp-consent-benefits {
  width:100%;padding:4px 20px;border:1px solid rgba(220,235,255,.22);border-radius:36px;text-align:left;
  corner-shape:superellipse(1.12);
  background:linear-gradient(145deg,rgba(240,246,255,.05),transparent 52%,rgba(146,178,217,.025));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(4px) saturate(112%);backdrop-filter:blur(4px) saturate(112%);
}
.mcp-consent-benefits > div { display:grid;grid-template-columns:28px minmax(0,1fr);gap:11px;align-items:start;padding:16px 0; }
.mcp-consent-benefits > div + div { border-top:1px solid rgba(222,235,252,.13); }
.mcp-consent-benefits p { display:grid;gap:4px;margin:0; }
.mcp-consent-benefits strong { font-size:14px;line-height:1.35;font-weight:650; }
.mcp-consent-benefits small { color:#abb8cb;font-size:12.5px;line-height:1.4; }
.mcp-consent-emoji {
  display:grid;place-items:center;width:23px;height:23px;
  font:21px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}
.mcp-consent-footnote { margin:18px 0 15px;color:#9faec2;font-size:12px; }
.mcp-consent-continue {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  width:min(100%,240px);min-height:50px;border:1px solid rgba(255,255,255,.92);border-radius:999px;color:#142235;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(219,232,248,.9));box-shadow:inset 0 1px rgba(255,255,255,1),0 10px 26px rgba(0,0,0,.2);
  font:inherit;font-size:15px;font-weight:700;cursor:pointer;
}
.mcp-consent-continue svg { width:18px;height:18px;flex:none;fill:currentColor; }
.mcp-consent-continue:disabled { cursor:wait;opacity:.72; }
.mcp-consent-status { min-height:17px;margin-top:10px;color:#b7c6d9;font-size:12px;line-height:1.35; }
#modal.mcp-connect-modal[data-connection-state="connected"] .mcp-consent-agent { box-shadow:inset 0 1px 1px rgba(255,255,255,.6),0 0 0 5px rgba(98,218,164,.13),0 15px 35px rgba(0,0,0,.22); }
#modal.mcp-connect-modal[data-connection-state="error"] .mcp-consent-status { color:#ffd0d0; }
:root[data-theme="bright"] #modal.mcp-connect-modal {
  color:#152b47;border-color:rgba(255,255,255,.88);
  background:radial-gradient(110% 82% at 7% -8%,rgba(255,255,255,.82),transparent 52%),linear-gradient(145deg,rgba(235,245,255,.7),rgba(165,198,236,.48) 54%,rgba(116,165,222,.36));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.98),inset 0 -1px 1px rgba(58,97,145,.16),0 36px 100px rgba(36,66,105,.32);
}
:root[data-theme="bright"] .mcp-consent-subtitle,:root[data-theme="bright"] .mcp-consent-benefits small,:root[data-theme="bright"] .mcp-consent-footnote,:root[data-theme="bright"] .mcp-consent-status { color:#506b8d; }
:root[data-theme="bright"] .mcp-consent-benefits { border-color:rgba(255,255,255,.54);background:linear-gradient(145deg,rgba(255,255,255,.17),transparent 52%,rgba(142,182,229,.06));box-shadow:inset 0 1px rgba(255,255,255,.52); }
:root[data-theme="bright"] .mcp-consent-benefits > div + div { border-color:rgba(255,255,255,.55); }
@keyframes mcp-link-pulse { 0%,100%{opacity:.32;transform:scale(.82)} 50%{opacity:1;transform:scale(1.12)} }
@media(max-width:560px) {
  #modal.mcp-connect-modal { width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:29px; }
  .mcp-consent { padding:39px 18px 20px; }.mcp-consent-agent,.mcp-consent-provider { width:62px;height:62px;border-radius:19px; }
  .mcp-consent-agent { border-radius:50%; }.mcp-consent-agent > .living-orb { width:50px;height:50px; }
  .mcp-consent-benefits { padding-inline:14px; }.mcp-consent-benefits > div { padding:13px 0; }
}

/* The end-call control is a high-contrast neutral button in both appearances. */
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .voice-call-bar .voice-end {
  color:#101722;border-color:rgba(255,255,255,.96);
  background:linear-gradient(145deg,#fff,#e6edf7);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),0 4px 12px rgba(0,0,0,.24);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .voice-call-bar .voice-end:hover { background:linear-gradient(145deg,#fff,#d8e3f2); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .voice-call-bar .voice-end {
  color:#fff;border-color:rgba(13,20,31,.86);
  background:linear-gradient(145deg,#222a36,#080c12);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.24),0 4px 12px rgba(0,0,0,.2);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .voice-call-bar .voice-end:hover { background:linear-gradient(145deg,#303a49,#121821); }

/* Home-screen-style creation widgets: mixed iOS sizes, real controls, shared liquid glass. */
.create-hub .create-hub-actions {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:minmax(128px,1fr);
  gap:14px;
  margin-top:20px;
}
.create-hub .create-hub-action {
  position:relative;
  width:100%;
  min-width:0;
  min-height:128px;
  padding:18px;
  border:1px solid var(--widget-rim);
  border-radius:34px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  overflow:hidden;
  isolation:isolate;
  color:var(--ink);
  background:radial-gradient(95% 85% at 10% 0%,rgba(224,239,255,.16),transparent 72%),linear-gradient(155deg,rgba(183,211,246,.10),rgba(75,102,141,.045) 54%,rgba(0,5,13,.12));
  -webkit-backdrop-filter:blur(32px) saturate(175%);
  backdrop-filter:blur(32px) saturate(175%);
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.38),inset 0 -1px rgba(113,156,211,.16),0 14px 34px rgba(0,0,0,.2);
  text-align:left;
  cursor:pointer;
  transform:translateZ(0);
  transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .18s ease,background .18s ease,box-shadow .2s ease,filter .18s ease;
}
.create-hub .create-hub-action::after {
  content:"";
  position:absolute;
  inset:-42% 12% 18% -40%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(217,235,255,.16),transparent 66%);
  transform:translate3d(-8%,0,0);
  transition:transform .35s ease;
  pointer-events:none;
}
.create-hub .create-hub-widget-large { grid-column:span 2;grid-row:span 2;min-height:270px;padding:24px;border-radius:42px; }
.create-hub .create-hub-widget-large .create-hub-action-icon { width:72px;height:72px; }
.create-hub .create-hub-widget-large .create-hub-action-icon svg { width:30px;height:30px; }
.create-hub .create-hub-widget-large strong { font-size:28px; }
.create-hub .create-hub-widget-large small { max-width:310px;font-size:16px; }
.create-hub .create-hub-action:hover,
.create-hub .create-hub-action:focus-visible {
  outline:0;
  border-color:rgba(230,243,255,.72);
  background:radial-gradient(110% 110% at 7% -18%,rgba(255,255,255,.34),transparent 52%),linear-gradient(145deg,rgba(214,231,252,.22),rgba(94,126,167,.16) 56%,rgba(3,10,22,.34));
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.56),inset 0 -1px rgba(132,178,233,.22),0 20px 42px rgba(0,0,0,.27),0 0 0 1px rgba(137,188,245,.08);
  transform:translateY(-4px) scale(1.012);
}
.create-hub .create-hub-action:hover::after,.create-hub .create-hub-action:focus-visible::after { transform:translate3d(22%,8%,0); }
.create-hub .create-hub-action:active { transform:translateY(0) scale(.965);filter:brightness(1.12);transition-duration:.08s; }
.create-hub .create-hub-action > span:last-child { min-width:0;position:relative;z-index:1; }
.create-hub .create-hub-action::before {
  content:"";
  position:absolute;
  top:20px;
  right:20px;
  width:26px;
  height:26px;
  border-radius:50%;
  border:1px solid rgba(219,234,255,.25);
  background:rgba(175,199,231,.12);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='%23f1f6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:14px;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:inset 0 1px rgba(255,255,255,.25);
  opacity:.7;
  transition:opacity .18s ease,transform .2s ease;
  pointer-events:none;
}
.create-hub .create-hub-action:is(:hover,:focus-visible)::before { opacity:1;transform:translate(2px,-2px); }
.create-hub .create-hub-action-icon { transition:transform .2s ease; }
.create-hub .create-hub-action:is(:hover,:focus-visible) .create-hub-action-icon { transform:scale(1.08); }
.create-hub .create-hub-action:active .create-hub-action-icon { transform:scale(.94); }
@media(prefers-reduced-motion:reduce) {
  .create-hub .create-hub-action,
  .create-hub .create-hub-action::before,
  .create-hub .create-hub-action::after,
  .create-hub .create-hub-action-icon { transition:none;transform:none !important; }
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .create-hub .create-hub-action {
  color:var(--ink);
  border-color:rgba(255,255,255,.82);
  background:radial-gradient(110% 120% at 8% -18%,rgba(255,255,255,.86),transparent 48%),linear-gradient(145deg,rgba(245,250,255,.68),rgba(178,204,237,.38) 57%,rgba(124,160,208,.24));
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.92),0 12px 30px rgba(43,73,111,.17);
}
@media(max-width:800px) {
  .create-hub .create-hub-actions { grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(132px,1fr);gap:11px; }
  .create-hub .create-hub-action { min-height:132px;padding:15px;gap:12px;border-radius:30px; }
  .create-hub .create-hub-widget-large { grid-column:span 2;grid-row:auto;min-height:170px;border-radius:34px; }
}
@media(max-width:470px) {
  .create-hub .create-hub-actions { grid-template-columns:1fr;grid-auto-rows:auto; }
  .create-hub .create-hub-widget-large { grid-column:auto;min-height:150px; }
  .create-hub .create-hub-action { min-height:138px; }
}

/* One wide widget and a two-column set on a continuous glass backdrop. */
.create-hub .create-hub-actions {
  position:relative;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:auto;
  gap:12px;
}
.create-hub .create-hub-actions::before {
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:30px;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 17% 12%,rgba(161,173,193,.13),transparent 58%),
    radial-gradient(ellipse at 70% 76%,rgba(140,153,172,.08),transparent 60%);
}
.create-hub .create-hub-actions > .create-hub-action {
  min-height:128px;
  padding:15px;
  gap:10px;
  border-radius:24px;
  border-color:var(--profile-glass-rim);
  background:var(--profile-glass);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
  box-shadow:var(--profile-glass-shadow);
}
.create-hub .create-hub-actions > .create-hub-widget-large {
  grid-column:1 / -1;
  grid-row:auto;
  min-height:96px;
  flex-direction:row;
  justify-content:flex-start;
  align-items:center;
  gap:14px;
}
.create-hub .create-hub-actions > .create-hub-widget-large strong { font-size:20px; }
.create-hub .create-hub-actions > .create-hub-widget-large small { font-size:14px; }
.create-hub .create-hub-actions > .create-hub-action .create-hub-action-icon { width:40px;height:40px;flex:none; }
.create-hub .create-hub-actions > .create-hub-action .create-hub-action-icon svg { width:19px;height:19px; }
.create-hub .create-hub-actions > .create-hub-action::before,
.create-hub .create-hub-actions > .create-hub-action::after { display:none; }
.create-hub .create-hub-actions > .create-hub-action:is(:hover,:focus-visible) {
  border-color:rgba(232,244,255,.82);
  background-color:rgba(221,239,255,.09);
}
:root:not([data-theme="bright"],[data-theme="glacial"]) .create-hub .create-hub-actions::before {
  background:
    radial-gradient(ellipse at 8% 4%,rgba(199,204,209,.14),transparent 56%),
    radial-gradient(ellipse at 68% 66%,rgba(201,205,210,.09),transparent 51%);
}
:root:not([data-theme="bright"],[data-theme="glacial"]) .create-hub-actions > .create-hub-action:is(:hover,:focus-visible) {
  border-color:rgba(255,255,255,.68);
}
:root:not([data-theme="bright"],[data-theme="glacial"]) .create-hub-actions .create-hub-action-icon {
  background:var(--profile-glass);
  border-color:var(--profile-glass-rim);
  box-shadow:var(--profile-glass-shadow);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .create-hub .create-hub-actions > .create-hub-action {
  background:linear-gradient(145deg,rgba(255,255,255,.60),rgba(240,247,255,.28));
}
@media(prefers-reduced-transparency:reduce) {
  .create-hub .create-hub-actions::before { display:none; }
  :root:not([data-theme="bright"],[data-theme="glacial"]) .create-hub-actions > .create-hub-action { background:#242424;-webkit-backdrop-filter:none;backdrop-filter:none; }
  :root:is([data-theme="bright"],[data-theme="glacial"]) .create-hub .create-hub-actions > .create-hub-action { background:#e4edf8; }
}
.modal.desktop-studio-modal{width:min(1060px,calc(100vw - 48px));height:min(760px,calc(100vh - 48px));max-height:none;padding:0;overflow:hidden;border:1px solid rgba(220,232,248,.3);border-radius:34px;background:linear-gradient(145deg,rgba(55,66,84,.94),rgba(7,12,20,.97) 58%);box-shadow:inset 0 1px rgba(255,255,255,.22),0 40px 120px rgba(0,0,0,.72);color:var(--ink)}
.desktop-studio-header{height:86px;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(221,231,245,.14)}
.desktop-studio-header>div{display:flex;align-items:center;gap:14px}.desktop-studio-header img,.desktop-studio-header .living-orb{width:52px;height:52px}.desktop-studio-header small,.desktop-studio-side small,.desktop-studio-journey>small,.desktop-studio-preview small,.desktop-studio-campaign>small{display:block;color:#9faabc;font-size:11px;font-weight:700;letter-spacing:.14em}.desktop-studio-header h2{margin:3px 0 0!important;font-size:26px!important}.desktop-studio-header .modal-close{position:static;width:44px;height:44px;border:1px solid rgba(225,235,248,.28);border-radius:50%;background:rgba(255,255,255,.08);font-size:25px}
.desktop-studio-tabs{min-height:64px;padding:10px 28px;display:flex;align-items:center;gap:8px;border-bottom:1px solid rgba(221,231,245,.12);overflow:auto}.desktop-studio-tabs button{min-height:42px;padding:0 18px;border:1px solid rgba(221,231,245,.18);border-radius:22px;background:rgba(255,255,255,.055);color:#b8c2d1;white-space:nowrap}.desktop-studio-tabs button[aria-pressed="true"]{color:#142033;background:linear-gradient(145deg,#f5f8fc,#aebfd7);box-shadow:0 7px 20px rgba(0,0,0,.25)}.desktop-studio-channels,.desktop-studio-view-tabs{display:flex;gap:8px}.desktop-studio-view-tabs{margin-left:auto}
.desktop-studio-content{height:calc(100% - 150px);padding:24px;overflow:auto}.desktop-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;min-height:100%}.desktop-studio-main{display:grid;gap:18px;align-content:start}.desktop-studio-journey,.desktop-studio-preview,.desktop-studio-side article,.desktop-studio-side>button,.desktop-studio-creative,.desktop-studio-empty,.desktop-studio-campaign,.desktop-studio-metrics article{border:1px solid rgba(222,233,247,.2);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.035));box-shadow:inset 0 1px rgba(255,255,255,.16),0 14px 35px rgba(0,0,0,.18)}
.desktop-studio-journey{padding:22px;border-radius:26px}.desktop-studio-journey h3{margin:5px 0 16px;font-size:24px}.desktop-studio-step{width:100%;display:grid;grid-template-columns:38px 1fr 24px;align-items:center;gap:12px;padding:12px 8px;border:0;border-top:1px solid rgba(225,235,248,.12);background:transparent;text-align:left}.desktop-studio-step>span:first-child{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:rgba(206,221,242,.14)}.desktop-studio-step strong,.desktop-studio-step small{display:block}.desktop-studio-step small{margin-top:3px;color:#9da8b9}.desktop-studio-step b{font-size:20px}.desktop-studio-preview{min-height:245px;padding:26px;border-radius:28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,34%);gap:24px;overflow:hidden}.desktop-studio-preview-copy{align-self:center}.desktop-studio-preview h3{margin:7px 0;font-size:30px}.desktop-studio-preview p{margin:0 0 18px}.desktop-studio-preview>img{width:100%;height:100%;max-height:245px;object-fit:cover;border-radius:22px;border:1px solid rgba(255,255,255,.2)}
.desktop-studio-side{display:grid;gap:12px;align-content:start}.desktop-studio-side article,.desktop-studio-side>button{padding:20px;border-radius:22px;text-align:left}.desktop-studio-side article strong{display:block;margin-top:7px;font-size:19px}.desktop-studio-side article p{margin:8px 0 0;font-size:13px}.desktop-studio-side>button{display:flex;justify-content:space-between;color:#ecf2fa;font-weight:650}.desktop-studio-side>button:hover{border-color:rgba(225,235,248,.48);transform:translateY(-1px)}
.desktop-studio-creative{min-height:430px;position:relative;border-radius:30px;overflow:hidden}.desktop-studio-creative>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.desktop-studio-creative::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,7,13,.1),rgba(3,7,13,.88) 72%)}.desktop-studio-creative>div{position:absolute;z-index:1;left:28px;right:28px;bottom:26px}.desktop-studio-creative h3{max-width:620px;margin:8px 0;font-size:34px}.desktop-studio-creative p{max-width:650px;margin:0 0 14px;color:#e1e7ef}.desktop-studio-creative>div>span{display:inline-block;padding:10px 15px;border-radius:99px;background:#edf3fa;color:#142033;font-weight:700}.desktop-studio-decisions{display:flex;justify-content:center;gap:16px;margin-top:16px}.desktop-studio-decisions button{width:52px;height:52px;border:1px solid rgba(225,235,248,.25);border-radius:50%;background:rgba(255,255,255,.08);font-size:24px}.desktop-studio-decisions .save{width:62px;height:62px;background:linear-gradient(145deg,#f6f8fb,#aebdd2);color:#172337}
.desktop-studio-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.desktop-studio-metrics article{padding:22px;border-radius:22px}.desktop-studio-metrics strong{display:block;margin:10px 0;font-size:34px}.desktop-studio-metrics span{color:#9faabc;font-size:12px}.desktop-studio-empty{margin-top:16px;padding:28px;border-radius:25px}.desktop-studio-campaign{padding:24px;border-radius:28px}.desktop-studio-campaign article{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid rgba(225,235,248,.12)}.desktop-studio-campaign article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(211,226,246,.14)}.desktop-studio-campaign strong,.desktop-studio-campaign small{display:block}.desktop-studio-campaign small{margin-top:4px;color:#9faabc}
@media(max-width:850px){.modal.desktop-studio-modal{width:calc(100vw - 20px);height:calc(100vh - 20px)}.desktop-studio-grid{grid-template-columns:1fr}.desktop-studio-side{grid-template-columns:repeat(2,1fr)}.desktop-studio-side article{grid-column:1/-1}.desktop-studio-view-tabs{margin-left:0}.desktop-studio-tabs{align-items:flex-start;flex-direction:column}.desktop-studio-content{height:calc(100% - 210px)}}
.desktop-shell.studio-page-open .workspace{display:block;overflow:hidden;position:relative}
.desktop-shell.studio-page-open .workspace > :not(#desktop-studio-page){display:none!important}
#desktop-studio-page{height:100%;width:100%;overflow:hidden;background:var(--background,#0a1019);color:var(--ink)}
.cofounder-app-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(78px,1fr)); gap:18px 10px; padding:18px 4px; }
.cofounder-app { display:grid; justify-items:center; gap:7px; padding:4px; border:0; border-radius:16px; background:transparent; color:var(--ink); font:inherit; font-size:14px; cursor:pointer; }
.cofounder-app .launcher-glass {
  --launcher-highlight:rgba(215,234,255,.29);
  --launcher-raised-shadow:inset 0 1px 1px rgba(255,255,255,.65),inset 0 0 0 1px rgba(209,229,255,.36),0 11px 23px rgba(3,8,16,.48),0 0 15px rgba(123,172,239,.15);
  position:relative; isolation:isolate;
  width:clamp(60px,7vw,82px); aspect-ratio:1; border-radius:23%; display:grid; place-items:center;
  color:#f2f5fb; background:linear-gradient(145deg,#c2d7f133,transparent 56%,#91a5c015),rgba(28,34,44,.55);
  box-shadow:inset 0 1px 1px #ffffff70,inset 0 0 0 1px #ffffff26,0 3px 8px #0003;
  -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease;
}
.cofounder-app .launcher-glass::before {
  content:""; position:absolute; inset:1px; z-index:-1; border-radius:inherit;
  pointer-events:none; opacity:0; transition:opacity .2s ease;
  background:radial-gradient(120% 100% at 24% 0%,var(--launcher-highlight),transparent 78%);
}
.cofounder-app .launcher-glass svg {
  width:47%; height:47%; display:block;
  transition:transform .22s cubic-bezier(.2,.8,.2,1);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .cofounder-app .launcher-glass {
  --launcher-highlight:rgba(255,255,255,.82);
  --launcher-raised-shadow:inset 0 1px 1px white,inset 0 0 0 1px rgba(255,255,255,.68),0 11px 23px rgba(42,74,121,.27),0 0 16px rgba(255,255,255,.35);
  color:#243346; background:linear-gradient(145deg,#ffffffaa,transparent 60%,#b6cbe43a),rgba(234,242,252,.4);
  box-shadow:inset 0 1px 1px white,inset 0 0 0 1px #8c9ab64a,0 3px 8px #25395821;
}
.cofounder-app:is(:hover,:focus-visible) .launcher-glass {
  transform:translateY(-5px) scale(1.06);
  box-shadow:var(--launcher-raised-shadow);
}
.cofounder-app:is(:hover,:focus-visible) .launcher-glass::before { opacity:1; }
.cofounder-app:is(:hover,:focus-visible) .launcher-glass svg { transform:scale(1.09); }
.cofounder-app:active .launcher-glass { transform:translateY(0) scale(.95); transition-duration:.09s; }
.cofounder-app:active .launcher-glass svg { transform:none; }
@media (prefers-reduced-motion:reduce) {
  .cofounder-app .launcher-glass,
  .cofounder-app .launcher-glass::before,
  .cofounder-app .launcher-glass svg { transition:none; }
  .cofounder-app:is(:hover,:focus-visible,:active) .launcher-glass,
  .cofounder-app:is(:hover,:focus-visible,:active) .launcher-glass svg { transform:none; }
}

/* Flexible native-window resizing ------------------------------------------------
   The macOS shell stops at the smallest usable Grok Bot reference size
   (512×500). These last-mile rules keep the primary shell useful at that
   tall/narrow floor and at wide/short shapes made with ordinary dragging. */
.desktop-shell > :is(.sidebar,.workspace,.cofounder-browser) { min-height:0; }

@media (max-width:820px) {
  .desktop-shell {
    --sidebar-collapsed-width:64px;
    --sidebar-layout-width:64px!important;
    grid-template-columns:64px minmax(0,1fr) 0!important;
    width:100%;
    height:100%;
    margin:0;
    border-radius:0;
  }
  .desktop-shell::after { border-radius:0; }
  .sidebar-resizer { display:none!important; }
  .sidebar {
    min-width:0;
    padding:10px 7px 11px!important;
    overflow:visible;
    contain:inline-size;
    z-index:50;
  }
  .sidebar-header {
    height:auto;
    min-height:94px;
    margin:0 0 4px;
    padding:0;
    flex-direction:column;
    justify-content:flex-start;
    gap:8px;
  }
  .brand-mark,.brand-mark img { width:42px;height:42px; }
  .round-control { width:40px;height:40px;flex:0 0 40px; }
  .venture-selectors { display:flex;flex-direction:column;align-items:center;gap:5px; }
  .selector-wrap { width:46px;height:46px; }
  .venture-selector {
    width:46px;
    height:46px;
    min-height:46px;
    padding:4px;
    grid-template-columns:36px;
    border-radius:50%;
    overflow:hidden;
  }
  .venture-selector > span:not(.venture-badge),
  .venture-selector > .chevron { display:none; }
  .venture-badge { width:36px;height:36px; }
  .selector-menu {
    left:52px;
    right:auto;
    top:0;
    width:min(220px,calc(100vw - 68px));
    z-index:100;
  }
  .selector-menu::before { inset:0 100% auto auto;width:12px;height:46px; }
  .search,.sidebar-label { display:none!important; }
  .compact-search-trigger {
    display:grid!important;
    place-items:center;
    width:40px;
    height:40px;
    min-height:40px;
    margin:8px auto 0;
    padding:0;
    border-radius:50%;
  }
  .chat-list {
    width:100%!important;
    margin:7px 0 0!important;
    padding:0 0 5px;
    align-items:center;
    gap:3px;
    overflow-x:visible;
  }
  .chat-item,
  .desktop-shell:not(.browser-fullscreen) .chat-item {
    width:46px!important;
    height:46px;
    min-height:46px;
    margin:2px auto;
    padding:4px!important;
    grid-template-columns:38px!important;
    border-radius:50%;
    overflow:visible;
  }
  .chat-orb,.team-orbs { width:38px;height:38px; }
  .chat-copy { display:none; }
  .wallet-sidebar-action {
    width:40px!important;
    height:40px!important;
    padding:9px!important;
    margin:6px auto 8px!important;
    border-radius:50%!important;
    justify-content:center!important;
  }
  .wallet-sidebar-label { display:none!important; }
  .account-zone,.account-card {
    width:46px!important;
    height:46px!important;
    min-height:46px!important;
    margin-inline:auto;
  }
  .account-card {
    padding:6px!important;
    grid-template-columns:34px!important;
    border-radius:50%;
  }
  .account-card > span { display:none; }
  .account-menu {
    left:54px;
    right:auto;
    bottom:0;
    width:min(210px,calc(100vw - 70px));
    z-index:100;
  }

  .workspace { min-width:0; }
  .workspace-header { padding-inline:12px; }
  .conversation { padding:16px clamp(10px,4vw,20px) 24px; }
  .conversation-lane .message.user .bubble,
  .conversation-lane .workflow-colleague,
  .conversation-lane .agent-bubble.agent-exchange-text,
  .conversation-lane .agent-choice-wrap,
  .conversation-lane .activity-line,
  .conversation-lane .computer-card { max-width:100%; }
  .composer-area { padding-inline:clamp(9px,3vw,16px); }

  .desktop-shell.browser-open .cofounder-browser {
    position:absolute;
    inset:0 0 0 64px;
    z-index:30;
  }
  .desktop-shell.browser-open .workspace { visibility:hidden; }
}

@media (max-width:420px) {
  .desktop-shell {
    --sidebar-collapsed-width:56px;
    --sidebar-layout-width:56px!important;
    grid-template-columns:56px minmax(0,1fr) 0!important;
  }
  .sidebar { padding-inline:5px!important; }
  .sidebar-header { min-height:88px;gap:6px; }
  .brand-mark,.brand-mark img { width:40px;height:40px; }
  .round-control,.compact-search-trigger { width:38px;height:38px;min-height:38px; }
  .selector-wrap,.venture-selector,.chat-item,
  .account-zone,.account-card { width:42px!important;height:42px!important;min-height:42px!important; }
  .venture-selector { grid-template-columns:34px;padding:4px; }
  .venture-badge { width:34px;height:34px; }
  .chat-item { grid-template-columns:34px!important; }
  .chat-orb,.team-orbs { width:34px;height:34px; }
  .selector-menu,.account-menu { left:48px;width:min(210px,calc(100vw - 60px)); }
  .desktop-shell.browser-open .cofounder-browser { left:56px; }
  .workspace-header { padding-inline:9px; }
  .agent-heading { gap:6px; }
  .agent-heading strong { max-width:130px; }
}

/* Short landscape windows keep the conversation—not decorative chrome—as the
   largest region.  The controls remain available while prompt suggestions
   yield their row when vertical room is scarce. */
@media (min-width:821px) and (max-height:650px) {
  .workspace {
    --chat-header-height:104px;
    grid-template-rows:var(--chat-header-height) minmax(0,1fr) auto;
  }
  .workspace-header { height:var(--chat-header-height);padding-top:8px; }
  .agent-heading { top:5px;gap:3px; }
  .agent-heading .orb-wrap { width:48px;height:48px;flex-basis:48px;padding:4px; }
  .agent-status-card { padding-block:3px 4px; }
  .agent-heading[data-execution-state="working"] .agent-status-card,
  .agent-heading[data-execution-state="ready"] .agent-status-card { padding-block:5px 6px; }
  .conversation { padding-top:8px;padding-bottom:18px; }
  .composer-area { padding-top:5px;padding-bottom:10px; }
  .suggestion-carousel { display:none; }
}

@media (max-width:820px) and (max-height:520px) {
  .workspace { grid-template-rows:54px minmax(0,1fr) auto; }
  .workspace-header { height:54px;padding-block:7px; }
  .conversation { padding-top:8px;padding-bottom:14px; }
  .composer-area { padding-top:5px;padding-bottom:8px; }
  .suggestion-carousel { display:none; }
  .sidebar { padding-top:7px;padding-bottom:7px; }
  .sidebar-header { min-height:84px; }
}

/* Settings and onboarding remain operable when the whole native window is
   phone-narrow; their own content scrolls instead of forcing window growth. */
@media (max-width:600px) {
  .modal.settings-modal {
    grid-template-columns:1fr!important;
    grid-template-rows:auto minmax(0,1fr);
  }
  .settings-rail {
    max-height:138px;
    padding:12px!important;
    overflow:auto;
    border-right:0;
    border-bottom:1px solid var(--settings-line);
  }
  .settings-search { display:none; }
  .settings-nav { display:flex;gap:6px;overflow-x:auto; }
  .settings-nav-label { display:none; }
  .settings-nav-item { width:auto;min-width:max-content;min-height:38px;padding:6px 10px; }
  .settings-content { padding:15px 17px 24px!important; }
  .settings-close { top:12px;right:12px;width:40px;height:40px; }
  .settings-panel-header { height:55px;padding:7px 52px 14px 0; }
  .settings-row { min-height:0;padding-block:14px;gap:12px; }
  .settings-segment,.settings-language { width:100%;max-width:238px; }

  .onboarding { grid-template-rows:62px 3px minmax(0,1fr); }
  .onboarding-top { padding:10px 14px; }
  .onboarding-top img { width:116px;height:36px; }
  .onboarding-card { width:100%;min-height:calc(100vh - 80px); }
  .onboarding-copy,.question-wrap,.detail-wrap { padding:24px 20px; }
  .onboarding-copy h1,.question-wrap h1,.detail-wrap h1 { font-size:clamp(28px,10vw,40px); }
  .onboarding-visual { min-height:240px; }
}

/* The settings rail uses one moving glass selection, like an iOS segmented
   control expanded into a vertical list. */
.modal.settings-modal .settings-nav {
  position:relative;
  isolation:isolate;
  --settings-slider-x:0px;
  --settings-slider-y:0px;
  --settings-slider-width:100%;
  --settings-slider-height:0px;
}
.modal.settings-modal .settings-nav::before {
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  width:var(--settings-slider-width);
  height:var(--settings-slider-height);
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.78);
  border-radius:999px;
  opacity:0;
  pointer-events:none;
  background:radial-gradient(ellipse 86% 125% at 18% -14%,rgba(255,255,255,.78),transparent 65%),linear-gradient(145deg,rgba(255,255,255,.52),rgba(206,229,255,.3) 60%,rgba(148,188,235,.24));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.92),inset 0 -1px 1px rgba(92,140,196,.12),0 5px 16px rgba(38,75,120,.13);
  -webkit-backdrop-filter:blur(18px) saturate(170%);
  backdrop-filter:blur(18px) saturate(170%);
  transform:translate3d(var(--settings-slider-x),var(--settings-slider-y),0);
  transition:transform .58s cubic-bezier(.2,.9,.2,1),width .34s cubic-bezier(.2,.9,.2,1),height .34s cubic-bezier(.2,.9,.2,1),opacity .18s ease;
  will-change:transform;
}
.modal.settings-modal .settings-nav.has-active-section::before { opacity:1; }
.modal.settings-modal .settings-nav-item { position:relative;z-index:1;transition:color .2s ease,transform .24s cubic-bezier(.2,.8,.2,1); }
.modal.settings-modal .settings-nav-item { column-gap:9px; }
.modal.settings-modal .settings-nav-item.active { background:transparent!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none; }
.modal.settings-modal .settings-nav-label { position:relative;z-index:1; }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal .settings-nav::before {
  border-color:rgba(255,255,255,.4);
  background:radial-gradient(ellipse 86% 125% at 18% -14%,rgba(226,239,255,.38),transparent 65%),linear-gradient(145deg,rgba(208,226,249,.25),rgba(95,119,151,.16) 60%,rgba(25,37,55,.2));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.45),inset 0 -1px 1px rgba(4,11,21,.2),0 5px 16px rgba(0,0,0,.16);
}
@media (prefers-reduced-motion:reduce) {
  .modal.settings-modal .settings-nav::before,.modal.settings-modal .settings-nav-item { transition:none!important; }
}

/* Use the same smooth, liquid-glass text fields throughout Settings. */
.modal.settings-modal #settings-panel input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"]):not([disabled]),
.modal.settings-modal #settings-panel input:not([type]):not([disabled]),
.modal.settings-modal #settings-panel textarea {
  border:1px solid rgba(255,255,255,.68)!important;
  border-radius:999px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.075))!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -1px 1px rgba(95,137,190,.1),0 7px 18px rgba(38,75,120,.1);
  color:var(--settings-ink);
  -webkit-backdrop-filter:blur(18px) saturate(165%);
  backdrop-filter:blur(18px) saturate(165%);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.modal.settings-modal #settings-panel input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"]):not([disabled]),
.modal.settings-modal #settings-panel input:not([type]):not([disabled]) {
  min-height:50px;
  padding:12px 20px;
  padding-inline-start:var(--settings-input-start,20px);
}
/* Auth fields reserve a dedicated leading lane for their symbols. The shared
   Settings input rule above must not collapse this spacing. */
.modal.settings-modal #settings-panel .settings-auth-field {
  --settings-input-start:64px;
}
.modal.settings-modal #settings-panel .settings-auth-field-icon {
  left:24px;
  width:22px;
  height:22px;
}

/* Goals: one editable founder north star plus a goal set for the active venture. */
.goals-form { display:grid;gap:16px;margin-top:18px;padding-bottom:20px; }
.goals-form, .goals-card { min-width:0; }
.goals-filters { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0 auto 16px; }
.goal-scope-picker { min-width:0; }
.goal-scope-trigger {
  width:100%;min-height:48px;padding:5px 12px 5px 5px;border-radius:999px;
  display:grid;grid-template-columns:36px minmax(0,1fr) 13px;align-items:center;gap:8px;
  text-align:start;color:var(--ink);cursor:pointer;
}
.goal-scope-trigger .venture-badge { width:36px;height:36px;object-fit:cover; }
.goal-scope-trigger small, .goal-scope-trigger strong { display:block; }
.goal-scope-trigger small { color:var(--muted);font-size:10px;line-height:1.15; }
.goal-scope-trigger strong { margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.15;font-weight:650; }
.goal-scope-trigger strong[data-glass-value] { display:flex;align-items:center;gap:6px;min-width:0; }
.goal-scope-trigger strong[data-glass-value] .glass-select-solid-symbol { flex:0 0 16px;width:16px;height:16px; }
.goal-scope-trigger:is(:hover,:focus-visible,[aria-expanded="true"]) { border-color:var(--line-strong); }
.goal-scope-trigger[aria-expanded="true"] .chevron { transform:rotate(180deg); }
@media (max-width:620px) {
  .goals-filters { grid-template-columns:1fr;width:min(100%,250px); }
}
.glass-select-portrait { width:26px;height:26px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-inline-end:8px; }
.goals-card { padding:20px;border:1px solid rgba(235,246,255,.5);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(111,147,194,.08));box-shadow:inset 0 1px rgba(255,255,255,.4),0 9px 24px rgba(19,47,82,.09);-webkit-backdrop-filter:blur(20px) saturate(155%);backdrop-filter:blur(20px) saturate(155%); }
.goals-card-heading { display:flex;align-items:center;gap:11px;margin-bottom:16px; }
.goals-card-heading > span { display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(255,255,255,.62);border-radius:50%;background:rgba(255,255,255,.13);box-shadow:inset 0 1px rgba(255,255,255,.55);font-size:17px; }
.goals-card-heading h3 { margin:0;color:var(--settings-ink);font-size:18px;line-height:1.2; }
.goals-card-heading p { margin:4px 0 0;color:var(--settings-muted);font-size:12px; }
.goals-founder-switcher { position:relative;width:min(100%,330px);margin:0 auto 16px;z-index:3; }
.goals-founder-preview {
  position:relative;width:100%;margin:0;padding:8px 12px 8px 8px;box-sizing:border-box;
  display:grid;grid-template-columns:46px minmax(0,1fr) 32px;grid-template-rows:auto;align-items:center;column-gap:12px;
  border:1px solid rgba(235,246,255,.58);border-radius:999px;corner-shape:round;color:var(--settings-ink);text-align:left;
  background:radial-gradient(ellipse 78% 140% at 12% -30%,rgba(255,255,255,.12),transparent 62%),linear-gradient(145deg,rgba(16,21,29,.88),rgba(0,3,8,.82) 56%,rgba(8,13,21,.9));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.22),inset 0 -1px 1px rgba(0,0,0,.65),0 10px 28px rgba(0,0,0,.38);
  -webkit-backdrop-filter:blur(26px) saturate(155%);backdrop-filter:blur(26px) saturate(155%);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.goals-founder-select {
  appearance:none;grid-column:1/-1;grid-row:1;width:100%;min-height:54px;margin:0;padding:0;box-sizing:border-box;
  display:grid;grid-template-columns:46px minmax(0,1fr) 32px;align-items:center;gap:12px;
  border:0;border-radius:999px;corner-shape:round;color:inherit;text-align:left;font:inherit;cursor:pointer;background:none;box-shadow:none;
}
.goals-founder-preview:is(:hover,:focus-within) {
  transform:translateY(-1px);border-color:rgba(255,255,255,.88);
  background:radial-gradient(ellipse 72% 120% at 12% -22%,rgba(255,255,255,.68),transparent 66%),linear-gradient(145deg,rgba(255,255,255,.42),rgba(171,205,246,.2) 58%,rgba(255,255,255,.32));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.88),0 12px 28px rgba(28,60,101,.14);
}
.goals-founder-select:focus-visible,.goals-founder-handle:focus-visible { outline:2px solid #4b9cff;outline-offset:2px; }
.goals-founder-handle {
  position:absolute;z-index:2;inset-inline-end:50px;top:50%;transform:translateY(-50%);
  justify-self:start;display:inline-flex;align-items:center;gap:6px;min-width:0;min-height:27px;
  box-sizing:border-box;padding:2px 10px 2px 2px;border:1px solid rgba(255,255,255,.66);border-radius:999px;
  color:var(--settings-ink);text-decoration:none;white-space:nowrap;font-size:11px;font-weight:600;line-height:1;
  background:radial-gradient(ellipse 100% 130% at 22% -20%,rgba(255,255,255,.76),transparent 68%),linear-gradient(145deg,rgba(255,255,255,.42),rgba(166,199,239,.22) 62%,rgba(255,255,255,.32));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.82),inset 0 -1px rgba(93,132,178,.12),0 3px 9px rgba(28,60,101,.1);
  -webkit-backdrop-filter:blur(18px) saturate(175%);backdrop-filter:blur(18px) saturate(175%);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.goals-founder-handle:hover { transform:translateY(-50%) scale(1.015);border-color:rgba(255,255,255,.98);background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(165,205,250,.38));box-shadow:inset 0 1px 1px #fff,0 7px 15px rgba(28,60,101,.18); }
.goals-founder-handle:active { transform:translateY(-50%) scale(.985); }
.goals-founder-handle .founder-handle-avatar { flex:0 0 21px;width:21px;height:21px;padding:1px; }
.goals-founder-handle .founder-handle-avatar > :is(img,svg) { display:block;width:100%;height:100%;border-radius:50%; }
.goals-founder-handle .founder-handle-avatar > img { object-fit:cover; }
.goals-founder-preview[data-has-avatar="true"] .founder-handle-placeholder { visibility:hidden; }
.goals-founder-avatar {
  position:relative;display:grid;place-items:center;width:46px;height:46px;overflow:hidden;
  border:1px solid rgba(255,255,255,.8);border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.6),rgba(187,214,248,.3));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 5px 13px rgba(35,69,113,.16);
}
.goals-founder-avatar img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
.goals-founder-avatar svg { width:25px;height:25px;fill:currentColor;opacity:.72; }
.goals-founder-preview[data-has-avatar="true"] .goals-founder-avatar svg { visibility:hidden; }
.goals-founder-preview-copy { display:grid;min-width:0;gap:2px;padding-inline-end:104px; }
.goals-founder-preview-label { display:flex;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--settings-muted);font-size:10px;font-weight:500;line-height:1.15; }
.goals-founder-preview-label svg { flex:0 0 10px;width:10px;height:10px;fill:currentColor; }
.goals-founder-preview-copy strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--settings-ink);font-size:15px;line-height:1.18;font-weight:700; }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .goals-founder-handle { color:#f7fbff;border-color:rgba(225,239,255,.38);background:radial-gradient(ellipse 100% 130% at 22% -20%,rgba(255,255,255,.2),transparent 68%),linear-gradient(145deg,rgba(26,34,47,.8),rgba(5,10,18,.68));box-shadow:inset 0 1px rgba(255,255,255,.24),0 4px 12px rgba(0,0,0,.24); }
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .goals-founder-handle:hover { border-color:rgba(235,246,255,.7);background:linear-gradient(145deg,rgba(51,65,84,.9),rgba(17,27,42,.84));box-shadow:inset 0 1px rgba(255,255,255,.36),0 8px 18px rgba(0,0,0,.32); }

.goals-founder-preview-chevron {
  display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(255,255,255,.66);border-radius:50%;
  background:rgba(255,255,255,.16);box-shadow:inset 0 1px rgba(255,255,255,.65);
}
.goals-founder-preview-chevron svg { width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round; }
.goals-founder-select[aria-expanded="true"] .goals-founder-preview-chevron svg { transform:rotate(180deg); }
.goals-founder-preview-chevron svg { transition:transform .18s ease; }
.goals-founder-account-menu {
  position:absolute;z-index:20;top:calc(100% + 8px);inset-inline:0;padding:7px;
  border:1px solid rgba(235,246,255,.68);border-radius:22px;
  background:linear-gradient(145deg,rgba(250,253,255,.9),rgba(215,232,252,.76));
  box-shadow:inset 0 1px rgba(255,255,255,.82),0 18px 38px rgba(17,40,72,.24);
  -webkit-backdrop-filter:blur(28px) saturate(155%);backdrop-filter:blur(28px) saturate(155%);
}
.goals-founder-account-menu[hidden] { display:none; }
.goals-founder-account-option,.goals-founder-account-login {
  appearance:none;width:100%;border:0;color:var(--settings-ink);cursor:pointer;text-align:left;
}
.goals-founder-account-option {
  min-height:52px;padding:5px 9px 5px 5px;display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:center;gap:9px;
  overflow:hidden;border-radius:999px;background:transparent;
}
.goals-founder-account-option:is(:hover,:focus-visible),.goals-founder-account-option.selected { background:rgba(255,255,255,.42); }
.goals-founder-account-avatar { display:grid;place-items:center;width:38px;height:38px;overflow:hidden;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(255,255,255,.2);font-weight:750; }
.goals-founder-account-avatar img { width:100%;height:100%;object-fit:cover; }
.goals-founder-account-copy { display:grid;min-width:0;gap:2px; }
.goals-founder-account-copy :is(strong,small) { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.goals-founder-account-copy strong { font-size:13px; }
.goals-founder-account-copy small { color:var(--settings-muted);font-size:10px; }
.goals-founder-account-check {
  display:grid;
  place-items:center;
  box-sizing:border-box;
  width:28px;
  height:28px;
  justify-self:end;
  border:1px solid rgba(224,234,250,.42);
  border-radius:50%;
  color:#f4f7ff;
  background:
    radial-gradient(ellipse at 25% 0%,rgba(226,237,255,.26),transparent 68%),
    linear-gradient(145deg,rgba(22,27,35,.3),rgba(2,5,10,.52));
  box-shadow:inset 0 1px 2px rgba(238,245,255,.34),0 4px 12px rgba(0,0,0,.24);
  font-size:16px;
  font-weight:800;
  line-height:1;
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  backdrop-filter:blur(8px) saturate(140%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .goals-founder-account-check {
  border-color:rgba(255,255,255,.84);
  color:#17304c;
  background:
    radial-gradient(ellipse at 25% 0%,rgba(255,255,255,.86),transparent 68%),
    linear-gradient(145deg,rgba(255,255,255,.54),rgba(174,207,242,.36));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.92),0 4px 12px rgba(47,86,132,.18);
}
.goals-founder-account-login {
  min-height:44px;margin-top:7px;padding:9px 14px;display:flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid rgba(224,234,250,.4);border-radius:999px;
  background:
    radial-gradient(ellipse at 18% 0%,rgba(226,237,255,.24),transparent 66%),
    linear-gradient(145deg,rgba(22,27,35,.28),rgba(2,5,10,.48));
  box-shadow:inset 0 1px 2px rgba(238,245,255,.31),0 5px 14px rgba(0,0,0,.2);
  font-size:12px;font-weight:700;
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  backdrop-filter:blur(8px) saturate(140%);
}
.goals-founder-account-login:is(:hover,:focus-visible) {
  border-color:rgba(255,255,255,.7);
  filter:brightness(1.1);
}
.goals-founder-account-login svg { width:18px;height:18px;fill:currentColor; }
:root:is([data-theme="bright"],[data-theme="glacial"]) .goals-founder-account-login {
  border-color:rgba(255,255,255,.84);
  background:
    radial-gradient(ellipse at 18% 0%,rgba(255,255,255,.86),transparent 66%),
    linear-gradient(145deg,rgba(255,255,255,.52),rgba(174,207,242,.34));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.92),0 5px 14px rgba(47,86,132,.16);
}

.glass-select-menu:is([aria-label="Select brand"],[aria-label="Select product"]) .glass-select-option {
  border-radius:999px;
}

.glass-select-menu:is([aria-label="Select brand"],[aria-label="Select product"]) .glass-select-option.is-selected::after {
  content:"✓";
  display:grid;
  place-items:center;
  box-sizing:border-box;
  width:22px;
  height:22px;
  flex:0 0 22px;
  margin-inline-start:auto;
  border:1px solid rgba(224,234,250,.42);
  border-radius:50%;
  color:#f4f7ff;
  background:
    radial-gradient(ellipse at 25% 0%,rgba(226,237,255,.26),transparent 68%),
    linear-gradient(145deg,rgba(22,27,35,.3),rgba(2,5,10,.52));
  box-shadow:inset 0 1px 2px rgba(238,245,255,.34),0 4px 12px rgba(0,0,0,.24);
  font-size:14px;
  font-weight:800;
  line-height:1;
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  backdrop-filter:blur(8px) saturate(140%);
}

:root:is([data-theme="bright"],[data-theme="glacial"]) .glass-select-menu:is([aria-label="Select brand"],[aria-label="Select product"]) .glass-select-option.is-selected::after {
  border-color:rgba(255,255,255,.84);
  color:#17304c;
  background:
    radial-gradient(ellipse at 25% 0%,rgba(255,255,255,.86),transparent 68%),
    linear-gradient(145deg,rgba(255,255,255,.54),rgba(174,207,242,.36));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.92),0 4px 12px rgba(47,86,132,.18);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .goals-founder-preview {
  border-color:rgba(255,255,255,.9);
  background:radial-gradient(ellipse 72% 120% at 12% -22%,rgba(255,255,255,.78),transparent 66%),linear-gradient(145deg,rgba(255,255,255,.52),rgba(249,252,255,.32) 58%,rgba(255,255,255,.43));
  -webkit-backdrop-filter:blur(24px) saturate(120%) brightness(1.08);backdrop-filter:blur(24px) saturate(120%) brightness(1.08);
}
.goals-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.goals-field { display:grid;gap:7px;min-width:0; }
.goals-field > :is(span,label) { padding-left:4px;color:var(--settings-muted);font-size:11px;font-weight:700;letter-spacing:.035em; }
.goals-select { position:relative;min-width:0; }
.goals-select > svg { position:absolute;inset-inline-start:16px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:currentColor;color:var(--settings-ink);z-index:1;pointer-events:none; }
.goals-select .glass-select { width:100%;min-width:0; }
.modal.settings-modal .goals-select button.glass-select-trigger,
.goals-select > select { width:100%;padding-inline-start:44px; }
.modal.settings-modal #settings-panel .goals-field input { width:100%;min-width:0;box-sizing:border-box; }
.goals-adaptive {
  position:relative;
  cursor:pointer;
}
.goals-adaptive-input { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0; }
.goals-adaptive-copy { flex:1 1 auto;min-width:0; }
.goals-adaptive small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.goals-adaptive-toggle { pointer-events:none; }
.goals-adaptive-input:focus-visible ~ .goals-adaptive-toggle { outline:2px solid #1686ff;outline-offset:3px; }
@media (max-width:720px) {
  .goals-adaptive small { white-space:normal; }
}
.goals-actions { position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px; }
.goals-actions > span {
  order:2;display:block;color:var(--settings-ink);font-size:11px;text-align:center;
  padding:7px 14px;border:1px solid color-mix(in srgb, var(--settings-line) 78%, white 22%);
  border-radius:999px;background:color-mix(in srgb, var(--settings-surface) 72%, transparent);
  box-shadow:inset 0 1px 1px rgb(255 255 255 / 28%),0 6px 16px rgb(0 0 0 / 12%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  transition:opacity .35s ease,transform .35s ease;
}
.goals-actions > .goals-status::before { content:"✅"; margin-inline-end:6px; font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif; }
.goals-status-close { position:absolute;top:3px;inset-inline-end:5px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:transparent;color:currentColor;font-size:15px;line-height:18px;cursor:pointer;opacity:.7; }
.goals-status-close:hover { opacity:1; background:rgb(255 255 255 / 16%); }
.goals-status.is-dismissed { opacity:0;transform:translateY(5px);pointer-events:none; }
.goals-save { min-width:150px;justify-content:center; }
@media (max-width:720px) { .goals-grid { grid-template-columns:1fr; } .goals-actions { align-items:center; } .goals-actions > span { text-align:center; } .goals-save { width:100%;order:1; } }
.modal.settings-modal #settings-panel textarea {
  min-height:108px;
  padding:16px 20px;
  border-radius:26px!important;
}
.modal.settings-modal #settings-panel input:focus-visible,
.modal.settings-modal #settings-panel textarea:focus-visible {
  border-color:rgba(63,145,255,.92)!important;
  box-shadow:0 0 0 3px rgba(63,145,255,.2),inset 0 1px 1px rgba(255,255,255,.72),0 8px 20px rgba(38,75,120,.12);
  outline:none;
}
.modal.settings-modal #settings-panel input::placeholder,
.modal.settings-modal #settings-panel textarea::placeholder { color:var(--settings-muted);opacity:.78; }
@media (prefers-reduced-motion:reduce) {
  .modal.settings-modal #settings-panel input,.modal.settings-modal #settings-panel textarea { transition:none; }
}

/* The Tools search label owns the glass. Its input stays surface-free so the
   control never renders as a second pill underneath the visible glass shell. */
.modal.settings-modal #settings-panel .tools-directory-search input[type="search"] {
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.modal.settings-modal #settings-panel .tools-directory-search input[type="search"]:focus-visible {
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Give every Settings dropdown a dedicated circular liquid-glass chevron. */
.modal.settings-modal .settings-content .glass-select-chevron {
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.82),transparent 52%),linear-gradient(145deg,rgba(255,255,255,.45),rgba(173,204,243,.2));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.84),inset 0 -1px 1px rgba(104,144,194,.12),0 4px 10px rgba(43,77,119,.12);
  -webkit-backdrop-filter:blur(16px) saturate(165%);
  backdrop-filter:blur(16px) saturate(165%);
  transform:none;
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .34s cubic-bezier(.2,.8,.2,1);
}
.modal.settings-modal .settings-content .glass-select-chevron::before {
  content:"";
  width:7px;
  height:7px;
  border-right:1.8px solid currentColor;
  border-bottom:1.8px solid currentColor;
  transform:translateY(-1px) rotate(45deg);
  transition:transform .34s cubic-bezier(.2,.8,.2,1);
}
.modal.settings-modal .settings-content .glass-select.is-open .glass-select-chevron::before {
  transform:translateY(2px) rotate(225deg);
}
.modal.settings-modal .settings-content .glass-select-trigger:is(:hover,:focus-visible) .glass-select-chevron,
.modal.settings-modal .settings-content .glass-select.is-open .glass-select-chevron {
  border-color:rgba(255,255,255,.94);
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.94),transparent 52%),linear-gradient(145deg,rgba(255,255,255,.62),rgba(169,204,250,.3));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 5px 12px rgba(43,77,119,.16);
}
.modal.settings-modal .settings-content .glass-select-trigger {
  min-height:54px;
  padding:8px 8px 8px 20px;
  border-radius:999px!important;
  border-color:rgba(255,255,255,.78);
  background:radial-gradient(ellipse 90% 125% at 16% -18%,rgba(255,255,255,.72),transparent 63%),linear-gradient(145deg,rgba(255,255,255,.5),rgba(197,221,251,.25) 58%,rgba(255,255,255,.35));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.88),inset 0 -1px 1px rgba(108,149,200,.12),0 9px 22px rgba(45,81,127,.12);
}
.modal.settings-modal .settings-content .glass-select-trigger:is(:hover,:focus-visible),
.modal.settings-modal .settings-content .glass-select.is-open .glass-select-trigger {
  border-color:rgba(255,255,255,.96);
  background:radial-gradient(ellipse 90% 125% at 16% -18%,rgba(255,255,255,.86),transparent 63%),linear-gradient(145deg,rgba(255,255,255,.62),rgba(187,215,252,.34) 58%,rgba(255,255,255,.47));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),0 11px 25px rgba(45,81,127,.16);
}
.modal.settings-modal .settings-content .glass-select-chevron {
  flex-basis:26px;
  width:26px;
  height:26px;
}
@media (prefers-reduced-motion:reduce) {
  .modal.settings-modal .settings-content .glass-select-chevron,
  .modal.settings-modal .settings-content .glass-select-chevron::before { transition:none; }
}

/* Solid symbols share the same finish across Settings. */
.modal.settings-modal {
  --settings-glyph-ink:#eef0f4;
  --settings-glyph-fill:linear-gradient(150deg,#f8f9fc,#d8dce4);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal {
  --settings-glyph-ink:#121319;
  --settings-glyph-fill:linear-gradient(150deg,#25272e,#090a0f 85%);
}
.modal.settings-modal :is(.settings-search,.settings-nav-item,.settings-section-icon) > svg,
.modal.settings-modal .settings-theme-symbol {
  color:var(--settings-glyph-ink);
  fill:currentColor;
  filter:none;
}
.modal.settings-modal .settings-nav-item > svg { display:block; }
.modal.settings-modal #settings-panel .settings-row-copy > strong[data-feature-icon] {
  display:flex;
  align-items:flex-start;
  gap:4px;
}
.modal.settings-modal #settings-panel :is(.privacy-group h3)[data-feature-icon] {
  display:flex;
  align-items:center;
  gap:4px;
}
.modal.settings-modal #settings-panel .settings-row-copy > strong[data-feature-icon]::before {
  content:"";
  display:block;
  flex:0 0 1em;
  width:1em;
  height:1em;
  margin-top:.1em;
  background:var(--settings-glyph-fill);
  -webkit-mask:var(--settings-feature-glyph) center/contain no-repeat;
  mask:var(--settings-feature-glyph) center/contain no-repeat;
}
.modal.settings-modal #settings-panel :is(.privacy-group h3)[data-feature-icon]::before {
  content:"";
  display:block;
  flex:0 0 15px;
  width:15px;
  height:15px;
  background:var(--settings-glyph-fill);
  -webkit-mask:var(--settings-feature-glyph) center/contain no-repeat;
  mask:var(--settings-feature-glyph) center/contain no-repeat;
}
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="sun"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5.25'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="globe"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm7.9 10h-3.2a16.7 16.7 0 0 0-1.4-6.2 9.03 9.03 0 0 1 4.6 6.2ZM12 3.1c1.1 1.5 2 4.4 2.3 7.9H9.7c.3-3.5 1.2-6.4 2.3-7.9ZM8.7 4.8A16.7 16.7 0 0 0 7.3 11H4.1a9.03 9.03 0 0 1 4.6-6.2ZM4.1 13h3.2c.2 2.4.7 4.6 1.4 6.2A9.03 9.03 0 0 1 4.1 13Zm7.9 7.9c-1.1-1.5-2-4.4-2.3-7.9h4.6c-.3 3.5-1.2 6.4-2.3 7.9Zm3.3-1.7a16.7 16.7 0 0 0 1.4-6.2h3.2a9.03 9.03 0 0 1-4.6 6.2Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="power"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 3.9a1.2 1.2 0 0 1 1.2 1.2v5.7a1.2 1.2 0 1 1-2.4 0V6.1A1.2 1.2 0 0 1 12 4.9ZM7.1 7.4a1.2 1.2 0 1 1 1.7 1.7 4.55 4.55 0 1 0 6.4 0 1.2 1.2 0 1 1 1.7-1.7 6.95 6.95 0 1 1-9.8 0Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="speaker"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 8h3.2l5-4.2a1.3 1.3 0 0 1 2.1 1v14.4a1.3 1.3 0 0 1-2.1 1l-5-4.2H2.5A1.5 1.5 0 0 1 1 14.5v-5A1.5 1.5 0 0 1 2.5 8Z'/%3E%3Cpath d='M16 8.2a5 5 0 0 1 0 7.6m2.6-10.4a8.7 8.7 0 0 1 0 13.2' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="key"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3a6.5 6.5 0 1 0 4.8 10.9L16 16.5V20h3v-3h3v-3.2l-5-5A6.5 6.5 0 0 0 8.5 3Zm0 4a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="card"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M4 4h16a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3Zm-1 6h18V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v3Zm0 3v4a1 1 0 0 0 1 1h4v-2H5v-3H3Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="download"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6V2ZM4 18h16v4H4z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="trash"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 7h12l-1 15H7L6 7Zm3-5h6l1 2h4v2H4V4h4l1-2Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="refresh"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3v6h-6l2.3-2.3A6.5 6.5 0 1 0 18.5 13H21a9 9 0 1 1-2.9-6.6L20 3Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="shield"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5 21 5v6.1c0 5.1-3.7 9.3-9 11.4-5.3-2.1-9-6.3-9-11.4V5l9-3.5Zm-1.2 14.9 6-6-1.7-1.7-4.3 4.3-2-2-1.7 1.7 3.7 3.7Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="brain"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a4 4 0 0 0-7.2 2.4 4 4 0 0 0-1 7.1 4 4 0 0 0 1.7 6.7A4 4 0 0 0 12 21V3Zm0 0a4 4 0 0 1 7.2 2.4 4 4 0 0 1 1 7.1 4 4 0 0 1-1.7 6.7A4 4 0 0 1 12 21V3Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="message"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-7l-6 4v-4H4a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="folder"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6a3 3 0 0 1 3-3h5l2 3h7a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="link"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.4 7.6 6 11a4 4 0 0 0 5.7 5.7l2.1-2.1 2.1 2.1-2.1 2.1A7 7 0 0 1 3.9 8.9l3.4-3.4 2.1 2.1Zm5.2 8.8L18 13a4 4 0 0 0-5.7-5.7l-2.1 2.1-2.1-2.1 2.1-2.1a7 7 0 0 1 9.9 9.9l-3.4 3.4-2.1-2.1Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="mic"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14.5A3.5 3.5 0 0 0 15.5 11V5a3.5 3.5 0 1 0-7 0v6a3.5 3.5 0 0 0 3.5 3.5ZM6 10a1 1 0 0 1 2 0v1a4 4 0 0 0 8 0v-1a1 1 0 0 1 2 0v1a6 6 0 0 1-5 5.9V20h3a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2h3v-3.1A6 6 0 0 1 6 11v-1Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="target"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="speed"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a10 10 0 0 0-9.8 12h3.1a7 7 0 1 1 13.4 0h3.1A10 10 0 0 0 12 3Zm5.6 5.4-4.8 6.7a2 2 0 1 1-2.7-2.7l7.5-4Z'/%3E%3C/svg%3E") }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="spark"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 1 2.6 7.4L22 11l-7.4 2.6L12 21l-2.6-7.4L2 11l7.4-2.6L12 1Zm8 14 .9 2.1L23 18l-2.1.9L20 21l-.9-2.1L17 18l2.1-.9L20 15Z'/%3E%3C/svg%3E") }

/* Cofounder Enterprise uses the same Settings glass language as every individual plan. */
.enterprise-account-banner{display:flex;align-items:center;gap:12px;margin:16px 0 12px;padding:14px 18px;border:1px solid rgba(255,255,255,.68);border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.52),rgba(183,216,255,.18));box-shadow:inset 0 1px rgba(255,255,255,.72),0 10px 30px rgba(39,83,138,.12);backdrop-filter:blur(26px) saturate(150%)}
.enterprise-account-banner>span{font-size:24px}.enterprise-account-banner>div{display:grid;gap:2px;min-width:0}.enterprise-account-banner strong,.enterprise-account-banner small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.enterprise-account-banner small{color:var(--settings-muted)}
.enterprise-team-select{margin-left:auto;min-width:180px;max-width:42%;padding:10px 34px 10px 14px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(225,239,255,.45);color:inherit;font:inherit;backdrop-filter:blur(22px)}
.enterprise-status{min-height:18px;margin:4px 4px 12px;color:var(--settings-muted);font-size:13px;line-height:1.45}
.enterprise-setting-rows{display:grid;gap:12px}.modal.settings-modal #settings-panel .enterprise-setting-rows .settings-row,.modal.settings-modal #settings-panel .enterprise-empty.settings-row{min-height:76px;padding:16px 20px;border:1px solid rgba(255,255,255,.64);border-radius:30px!important;background:linear-gradient(135deg,rgba(255,255,255,.44),rgba(176,210,252,.14));box-shadow:inset 0 1px rgba(255,255,255,.72),0 9px 25px rgba(39,83,138,.1);backdrop-filter:blur(24px) saturate(145%)}
.enterprise-setting-value{max-width:52%;text-align:right;font-size:15px;line-height:1.35}.enterprise-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0}.enterprise-disclaimer{max-width:680px;margin:12px auto;text-align:center}
.enterprise-form{display:grid;gap:12px;margin:16px 0;padding:22px;border:1px solid rgba(255,255,255,.68);border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.48),rgba(176,210,252,.16));box-shadow:inset 0 1px rgba(255,255,255,.78),0 12px 32px rgba(39,83,138,.12);backdrop-filter:blur(28px) saturate(150%)}
.enterprise-form label,.enterprise-form>label{display:grid;gap:7px}.enterprise-form label>span,.enterprise-form>span{font-weight:650}.enterprise-form input,.enterprise-form textarea{box-sizing:border-box;width:100%;padding:13px 16px;border:1px solid rgba(255,255,255,.76);border-radius:18px;background:rgba(226,239,255,.4);color:inherit;font:inherit;outline:none;box-shadow:inset 0 1px rgba(255,255,255,.66)}.enterprise-form textarea{min-height:94px;resize:vertical}.enterprise-form input:focus,.enterprise-form textarea:focus{border-color:rgba(72,137,231,.68);box-shadow:0 0 0 4px rgba(70,132,224,.14),inset 0 1px rgba(255,255,255,.75)}.enterprise-form small{color:var(--settings-muted);line-height:1.45}.enterprise-form .settings-secondary{justify-self:start}
:root[data-theme="dark"] .enterprise-account-banner,:root[data-theme="dark"] .enterprise-form,:root[data-theme="dark"] .modal.settings-modal #settings-panel .enterprise-setting-rows .settings-row,:root[data-theme="dark"] .modal.settings-modal #settings-panel .enterprise-empty.settings-row{border-color:rgba(206,224,250,.28);background:linear-gradient(135deg,rgba(52,61,76,.64),rgba(8,14,24,.45));box-shadow:inset 0 1px rgba(255,255,255,.16),0 14px 34px rgba(0,0,0,.25)}
:root[data-theme="dark"] .enterprise-team-select,:root[data-theme="dark"] .enterprise-form input,:root[data-theme="dark"] .enterprise-form textarea{border-color:rgba(206,224,250,.3);background:rgba(8,14,24,.42)}
@media(max-width:800px){.enterprise-account-banner{align-items:flex-start;flex-wrap:wrap}.enterprise-team-select{flex:1 1 100%;max-width:none}.enterprise-setting-value{max-width:100%;text-align:left}.enterprise-setting-rows .settings-row{flex-wrap:wrap}.enterprise-form{padding:16px;border-radius:26px}}
.modal.settings-modal .settings-help-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none}.modal.settings-modal .settings-help-cta-icon{width:18px;height:18px;flex:0 0 18px;fill:currentColor}

.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="cloud"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath%20d%3D%22M7%2019a5%205%200%201%201%201.2-9.8A6.5%206.5%200%200%201%2020.5%2011a4%204%200%200%201-.5%208H7Zm4-9.5v6h2v-6l2.2%202.2%201.4-1.4L12%207.7l-4.6%204.6%201.4%201.4L11%2011.5Z%22/%3E%3C/svg%3E"); }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="person"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath%20d%3D%22M12%2012a5%205%200%201%200%200-10%205%205%200%200%200%200%2010Zm0%202c-5%200-9%202.6-9%206v2h18v-2c0-3.4-4-6-9-6Z%22/%3E%3C/svg%3E"); }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="info"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%201a11%2011%200%201%200%200%2022%2011%2011%200%200%200%200-22Zm1%2016h-2v-6h2v6Zm0-8h-2V6h2v3Z%22/%3E%3C/svg%3E"); }
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon="gear"] { --settings-feature-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22m10%201%204%200%201%203%202%201%203-1%202%204-2%202v2l2%202-2%204-3-1-2%201-1%203h-4l-1-3-2-1-3%201-2-4%202-2v-2L2%208l2-4%203%201%202-1%201-3Zm2%207a4%204%200%201%200%200%208%204%204%200%200%200%200-8Z%22/%3E%3C/svg%3E"); }

/* Feature titles use solid symbols in circular glass badges. */
.modal.settings-modal #settings-panel { --settings-feature-text-inset:35px; }
.modal.settings-modal #settings-panel .settings-row-copy > strong[data-feature-icon] + small {
  padding-inline-start:var(--settings-feature-text-inset);
}
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon] {
  position:relative;
  display:block;
  min-height:28px;
  padding-inline-start:var(--settings-feature-text-inset);
  line-height:28px;
  isolation:isolate;
}
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon]::after {
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  top:1px;
  width:27px;
  height:27px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.2),transparent 60%),linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 2px 7px rgba(0,0,0,.14);
}
.modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon]::before {
  position:absolute;
  z-index:1;
  left:7px;
  top:8px;
  width:15px;
  height:15px;
  margin:0;
  background:var(--settings-feature-symbol-color,#fff);
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon]::after {
  border-color:rgba(255,255,255,.78);
  background:radial-gradient(circle at 28% 14%,rgba(255,255,255,.24),transparent 42%),linear-gradient(145deg,rgba(45,51,62,.96),rgba(12,15,21,.94) 58%,rgba(4,6,10,.98));
  box-shadow:inset 0 1px rgba(255,255,255,.35),inset 0 -1px rgba(0,0,0,.56),0 4px 10px rgba(12,22,36,.2);
  -webkit-backdrop-filter:blur(16px) saturate(145%);
  backdrop-filter:blur(16px) saturate(145%);
}
:root[data-theme="bright"] .modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon]::before {
  background:#fff;
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon]::after {
  border-color:rgba(255,255,255,.94);
  background:radial-gradient(circle at 28% 16%,rgba(255,255,255,.98),rgba(255,255,255,.74) 45%,rgba(222,232,246,.56)),linear-gradient(145deg,rgba(255,255,255,.88),rgba(210,225,244,.62));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -1px rgba(255,255,255,.34),0 3px 9px rgba(0,0,0,.2);
}
:root:not([data-theme="bright"]):not([data-theme="glacial"]) .modal.settings-modal #settings-panel :is(.settings-row-copy > strong,.privacy-group h3)[data-feature-icon]::before {
  background:#080a0f;
}

/* Website access: clearer refractive glass with solid, value-specific symbols. */
.modal.settings-modal .glass-select-trigger[aria-label^="External website links"] {
  color:#f4f7ff!important;
  border-color:rgba(235,246,255,.62)!important;
  background:
    radial-gradient(ellipse 76% 120% at 14% -20%,rgba(255,255,255,.38),transparent 64%),
    linear-gradient(145deg,rgba(161,195,238,.18),rgba(15,31,54,.16) 58%,rgba(133,177,231,.12))!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.58),inset 0 -1px 1px rgba(96,136,189,.12),0 12px 30px rgba(0,9,26,.14)!important;
  -webkit-backdrop-filter:blur(28px) saturate(190%) brightness(1.06)!important;
  backdrop-filter:blur(28px) saturate(190%) brightness(1.06)!important;
}
.modal.settings-modal .glass-select-trigger[aria-label^="External website links"]:is(:hover,:focus-visible),
.modal.settings-modal .glass-select.is-open .glass-select-trigger[aria-label^="External website links"] {
  border-color:rgba(245,250,255,.82)!important;
  background:
    radial-gradient(ellipse 76% 120% at 14% -20%,rgba(255,255,255,.5),transparent 64%),
    linear-gradient(145deg,rgba(179,210,248,.23),rgba(24,43,70,.18) 58%,rgba(151,193,241,.17))!important;
}
.glass-select-menu[aria-label="External website links"] {
  gap:4px;
  padding:6px;
  border-radius:29px!important;
  border-color:rgba(231,244,255,.62)!important;
  background:
    radial-gradient(ellipse 78% 92% at 14% 0%,rgba(255,255,255,.32),transparent 66%),
    linear-gradient(145deg,rgba(73,105,149,.34),rgba(11,24,43,.38) 58%,rgba(48,81,124,.3))!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.48),inset 0 -1px 1px rgba(88,130,184,.12),0 20px 48px rgba(0,8,24,.22)!important;
  -webkit-backdrop-filter:blur(34px) saturate(205%) brightness(1.04)!important;
  backdrop-filter:blur(34px) saturate(205%) brightness(1.04)!important;
}
.glass-select-menu[aria-label="External website links"] .glass-select-option {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding-inline:13px;
  border-radius:999px!important;
  font-size:13px;
}
.glass-select-menu[aria-label="External website links"] .glass-select-option::before {
  flex-basis:17px;
  width:17px;
  height:17px;
}
.glass-select-menu[aria-label="External website links"] .glass-select-option:is(:hover,:focus-visible) {
  background:rgba(194,220,255,.13)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
}
.glass-select-menu[aria-label="External website links"] .glass-select-option.is-selected {
  border-color:rgba(225,240,255,.36)!important;
  background:linear-gradient(120deg,rgba(213,232,255,.17),rgba(129,174,233,.1))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28)!important;
}
.glass-select-trigger[aria-label^="External website links"] .glass-select-value {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.glass-select-trigger[aria-label^="External website links"] .glass-select-value::before,
.glass-select-menu[aria-label="External website links"] .glass-select-option::before {
  content:"";
  display:block;
  flex:0 0 18px;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask:var(--website-access-symbol) center/contain no-repeat;
  mask:var(--website-access-symbol) center/contain no-repeat;
}
.glass-select-trigger[aria-label^="External website links"] .glass-select-value[data-option-value="ask"],
.glass-select-menu[aria-label="External website links"] .glass-select-option[data-option-value="ask"] {
  --website-access-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.25c-4.42 0-7.58 2.58-7.58 6.26h4.13c0-1.54 1.31-2.66 3.32-2.66 1.85 0 3.12.97 3.12 2.42 0 1.11-.64 1.83-2.2 2.75-2.03 1.18-2.84 2.55-2.74 4.75l.02.51h3.87v-.43c0-1.26.47-1.9 2.22-2.94 2.08-1.22 3.42-2.71 3.42-5.01 0-3.32-3.06-5.65-7.58-5.65Zm.04 15.63a2.08 2.08 0 1 0 0 4.16 2.08 2.08 0 0 0 0-4.16Z'/%3E%3C/svg%3E");
}
.glass-select-trigger[aria-label^="External website links"] .glass-select-value[data-option-value="allow"],
.glass-select-menu[aria-label="External website links"] .glass-select-option[data-option-value="allow"] {
  --website-access-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.1 2.05a1 1 0 0 0-1.02 1.18l2.61 15.04a1 1 0 0 0 1.68.56l3.25-3.09 2.6 5.48a1 1 0 0 0 1.34.48l2.45-1.17a1 1 0 0 0 .47-1.34l-2.62-5.51 4.39-.16a1 1 0 0 0 .62-1.75L4.74 2.3a1 1 0 0 0-.64-.25Z'/%3E%3C/svg%3E");
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .modal.settings-modal .glass-select-trigger[aria-label^="External website links"] {
  color:#182d49!important;
  border-color:rgba(255,255,255,.9)!important;
  background:
    radial-gradient(ellipse 78% 118% at 14% -18%,rgba(255,255,255,.76),transparent 64%),
    linear-gradient(145deg,rgba(255,255,255,.5),rgba(250,252,255,.3) 58%,rgba(255,255,255,.42))!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.94),inset 0 -1px 1px rgba(255,255,255,.2),0 12px 30px rgba(57,92,139,.1)!important;
  -webkit-backdrop-filter:blur(28px) saturate(120%) brightness(1.1)!important;
  backdrop-filter:blur(28px) saturate(120%) brightness(1.1)!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .glass-select-menu[aria-label="External website links"] {
  color:#182d49;
  border-color:rgba(255,255,255,.94)!important;
  background:
    radial-gradient(ellipse 82% 92% at 14% 0%,rgba(255,255,255,.76),transparent 66%),
    linear-gradient(145deg,rgba(255,255,255,.56),rgba(248,251,255,.38) 58%,rgba(255,255,255,.48))!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.94),inset 0 -1px 1px rgba(255,255,255,.18),0 20px 48px rgba(54,91,140,.12)!important;
  -webkit-backdrop-filter:blur(34px) saturate(115%) brightness(1.12)!important;
  backdrop-filter:blur(34px) saturate(115%) brightness(1.12)!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .glass-select-menu[aria-label="External website links"] .glass-select-option.is-selected {
  border-color:rgba(255,255,255,.9)!important;
  background:linear-gradient(120deg,rgba(255,255,255,.5),rgba(255,255,255,.27))!important;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .glass-select-menu[aria-label="External website links"] .glass-select-option:is(:hover,:focus-visible) {
  background:rgba(255,255,255,.32)!important;
}

/* Founder account chooser */
.account-switcher {
  box-sizing:border-box; width:min(440px,calc(100vw - 32px)); max-height:calc(100dvh - 36px);
  padding:0; margin:auto; overflow:auto; border:1px solid var(--widget-rim);
  border-radius:28px; color:var(--ink);
  background:linear-gradient(145deg,rgba(67,77,94,.87),rgba(19,26,39,.86));
  box-shadow:inset 0 1px 1px #fff6,0 24px 64px #02081050;
  -webkit-backdrop-filter:blur(32px) saturate(165%); backdrop-filter:blur(32px) saturate(165%);
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .account-switcher {
  background:linear-gradient(145deg,#fffffff0,#d2e4f7b8); border-color:#ffffffe0;
}
.account-switcher::backdrop { background:#08122148; -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); }
.account-switcher header { position:relative; display:grid; place-items:center; min-height:62px; padding:0 56px; border-bottom:1px solid var(--line); }
.account-switcher h2 { display:inline-flex; align-items:center; justify-content:center; gap:8px; margin:0; font:600 19px/1.25 -apple-system,BlinkMacSystemFont,sans-serif; }
.account-switcher-title-emoji {
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-size:16px;
  line-height:1;
  letter-spacing:normal;
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,.76),transparent 54%),
    linear-gradient(145deg,rgba(236,246,255,.62),rgba(173,204,239,.3));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.96),inset 0 -1px 1px rgba(93,132,177,.14),0 4px 12px rgba(43,75,115,.16);
  -webkit-backdrop-filter:blur(18px) saturate(165%);
  backdrop-filter:blur(18px) saturate(165%);
}
.account-switcher button { font:inherit; color:inherit; cursor:pointer; }
.account-switcher-close { position:absolute; inset-block-start:15px; inset-inline-end:16px; width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--widget-rim); border-radius:50%; background:var(--widget-glass); }
.account-switcher .account-switcher-close { font-size:22px; line-height:1; }
.account-switcher-body { padding:16px clamp(16px,4vw,30px) 24px; }
.account-switcher-list { display:grid; gap:10px; }
.account-switcher-row {
  position:relative; isolation:isolate; display:flex; width:100%; gap:13px; align-items:center;
  min-height:64px; padding:9px 12px; overflow:hidden; text-align:start;
  border:1px solid rgba(255,255,255,.28); border-radius:32px;
  background:
    radial-gradient(ellipse 92% 120% at 14% 0%,rgba(255,255,255,.2),transparent 66%),
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(139,165,202,.08) 58%,rgba(255,255,255,.05));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.34),inset 0 -1px 1px rgba(0,0,0,.08),0 7px 18px rgba(1,7,16,.14);
  -webkit-backdrop-filter:blur(24px) saturate(155%); backdrop-filter:blur(24px) saturate(155%);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
:root:is([data-theme="bright"],[data-theme="glacial"]) .account-switcher-row {
  border-color:rgba(255,255,255,.84);
  background:
    radial-gradient(ellipse 92% 120% at 14% 0%,rgba(255,255,255,.68),transparent 66%),
    linear-gradient(145deg,rgba(255,255,255,.45),rgba(204,224,248,.28) 58%,rgba(255,255,255,.2));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.94),inset 0 -1px 1px rgba(91,129,174,.12),0 7px 18px rgba(43,75,115,.13);
}
.account-switcher-row:is(:hover,:focus-visible) { transform:translateY(-1px); border-color:rgba(255,255,255,.82); box-shadow:inset 0 1px 1px rgba(255,255,255,.74),0 10px 24px rgba(20,42,72,.2); }
.account-switcher-row:active { transform:scale(.985); }
.account-switcher-avatar { position:relative; display:grid; place-items:center; flex:none; width:44px; height:44px; overflow:hidden; border-radius:50%; background:var(--widget-glass); box-shadow:inset 0 0 0 1px var(--widget-rim); }
.account-switcher-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.account-switcher-name { font-weight:600; overflow-wrap:anywhere; }
.account-switcher-check { margin-inline-start:auto; flex:none; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--ink); color:var(--panel,#182131); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .account-switcher-check { color:white; }
.account-switcher [role="status"]:empty { display:none; }
.account-switcher-login { display:flex; align-items:center; justify-content:center; gap:9px; margin:18px auto 0; width:min(100%,300px); min-height:50px; padding:12px 16px; border-radius:999px; border:1px solid var(--widget-rim); background:var(--widget-glass); box-shadow:var(--widget-shadow); }
.account-switcher .account-switcher-login { font-weight:600; }
.account-switcher-login-symbol { width:19px; height:19px; flex:none; fill:currentColor; }
.account-switcher.account-switcher-auth { width:min(590px,calc(100vw - 40px));min-height:min(610px,calc(100dvh - 40px));border-color:rgba(221,234,255,.58);border-radius:30px;background:radial-gradient(ellipse 92% 62% at 18% 0%,rgba(255,255,255,.18),transparent 64%),radial-gradient(ellipse 78% 60% at 88% 22%,rgba(118,171,238,.14),transparent 72%),linear-gradient(155deg,rgba(19,25,35,.46),rgba(8,12,20,.32) 55%,rgba(3,8,15,.43));box-shadow:inset 0 1px 1px rgba(255,255,255,.44),inset 0 -1px 1px rgba(111,154,209,.18),0 30px 90px rgba(0,0,0,.46);-webkit-backdrop-filter:blur(12px) saturate(145%);backdrop-filter:blur(12px) saturate(145%); }
:root:is([data-theme="bright"],[data-theme="glacial"]) .account-switcher.account-switcher-auth { border-color:rgba(255,255,255,.88);background:radial-gradient(ellipse 92% 62% at 18% 0%,rgba(255,255,255,.38),transparent 65%),radial-gradient(ellipse 78% 60% at 88% 22%,rgba(126,185,248,.24),transparent 72%),linear-gradient(155deg,rgba(237,247,255,.44),rgba(194,220,248,.32) 55%,rgba(168,204,243,.36));box-shadow:inset 0 1px 1px rgba(255,255,255,.95),inset 0 -1px 1px rgba(89,139,196,.18),0 30px 90px rgba(39,77,124,.3);-webkit-backdrop-filter:blur(12px) saturate(145%);backdrop-filter:blur(12px) saturate(145%); }
.account-switcher.account-switcher-auth::backdrop {
  background:rgba(4,10,18,.2);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.account-switcher-auth header { min-height:150px;padding:0 76px;border-bottom:0; }
.account-switcher-auth h2 { gap:14px;font-size:29px;font-weight:450;letter-spacing:-.04em; }
.account-switcher-auth-title-logo { display:block;width:170px;height:50px;object-fit:contain;filter:drop-shadow(0 3px 10px rgba(40,76,145,.3)); }
.account-switcher-auth .account-switcher-close { inset-block-start:20px;inset-inline-end:20px;width:44px;height:44px;font-size:25px;background:linear-gradient(145deg,rgba(239,247,255,.95),rgba(166,191,222,.82));color:#fff;border-color:rgba(255,255,255,.9);box-shadow:inset 0 1px #fff,0 7px 18px rgba(0,0,0,.25); }
.account-switcher-auth .account-switcher-body { padding:0 38px 34px; }
.account-switcher-auth-screen.settings-auth-screen { width:100%;max-width:none;padding:0;text-align:center; }
.account-switcher-auth-form.settings-auth-form { gap:12px;margin:0; }
.account-switcher-auth-form.settings-auth-form .settings-auth-field input { min-height:54px;padding:11px 20px 11px 62px;border-color:rgba(236,244,255,.76);background:linear-gradient(145deg,rgba(105,113,127,.72),rgba(41,49,61,.7));box-shadow:inset 0 1px 1px rgba(255,255,255,.36),0 9px 22px rgba(0,0,0,.18);color:#f4f7fc;font-size:17px; }
.account-switcher-auth-form.settings-auth-form .settings-auth-field-icon { left:27px;width:21px;height:21px;fill:#c1c9d7; }
.account-switcher-auth-form.settings-auth-form input::placeholder { color:#aeb7c8;opacity:.9; }
.account-switcher-auth-form .settings-auth-socials { gap:12px;margin:3px 0 7px; }
.account-switcher-auth-form .settings-auth-social { min-height:58px;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(218,230,248,.76))!important;color:#14243a;border-color:rgba(255,255,255,.92);box-shadow:inset 0 1px #fff,0 8px 20px rgba(0,0,0,.2);-webkit-backdrop-filter:blur(22px) saturate(155%);backdrop-filter:blur(22px) saturate(155%); }
.account-switcher-auth-form .settings-auth-social svg { width:25px;height:25px; }
.account-switcher-auth-form .settings-auth-actions { gap:12px; }
.account-switcher-auth-form .settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt) { min-height:55px;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(218,230,248,.76));color:#14243a;font-size:16px;font-weight:700;border-color:rgba(255,255,255,.92);box-shadow:inset 0 1px #fff,0 8px 20px rgba(0,0,0,.2);-webkit-backdrop-filter:blur(22px) saturate(155%);backdrop-filter:blur(22px) saturate(155%); }
.account-switcher-auth-form .settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt)::before { width:22px;height:22px;flex-basis:22px;margin-inline-end:9px; }
.account-switcher-auth-form .account-switcher-auth-status { min-height:0;margin:0 auto;font-size:13px;color:#aeb7c8; }
.account-switcher-auth-form .account-switcher-auth-status:empty { display:none; }
.account-switcher-auth-form .account-switcher-auth-back { display:none; }
.account-switcher-auth-screen .settings-auth-footnote { margin:17px auto 0;max-width:none;color:#aeb7c8;font-size:13px;line-height:1.5; }
.account-switcher-auth :disabled { cursor:wait;opacity:.66; }
@media (max-width:640px),(max-height:700px) {
  .account-switcher.account-switcher-auth { min-height:calc(100dvh - 28px);width:calc(100vw - 28px); }
  .account-switcher-auth header { min-height:104px;padding-inline:64px; }
  .account-switcher-auth h2 { gap:10px;font-size:26px; }
  .account-switcher-auth-title-logo { width:142px;height:43px; }
  .account-switcher-auth .account-switcher-close { inset-block-start:18px;inset-inline-end:18px;width:40px;height:40px;font-size:24px; }
  .account-switcher-auth .account-switcher-body { padding:0 24px 28px; }
  .account-switcher-auth-form.settings-auth-form { gap:10px; }
  .account-switcher-auth-form.settings-auth-form .settings-auth-field input { min-height:54px;padding-left:58px;font-size:17px; }
  .account-switcher-auth-form.settings-auth-form .settings-auth-field-icon { left:24px;width:21px;height:21px; }
  .account-switcher-auth-form .settings-auth-social { min-height:57px; }
  .account-switcher-auth-form .settings-auth-actions :is(.settings-auth-submit,.settings-auth-alt) { min-height:55px;font-size:15px; }
  .account-switcher-auth-screen .settings-auth-footnote { margin-top:12px;font-size:12px; }
}

/* The call controls define the shared liquid-glass material for circular CTAs. */
:root {
  --circular-cta-surface:
    radial-gradient(ellipse 78% 115% at 18% 0%,rgba(255,255,255,.58),transparent 68%),
    linear-gradient(145deg,rgba(228,240,255,.88),rgba(194,218,247,.72) 58%,rgba(168,201,238,.62));
  --circular-cta-surface-hover:
    radial-gradient(ellipse 82% 118% at 18% 0%,rgba(255,255,255,.76),transparent 69%),
    linear-gradient(145deg,rgba(240,248,255,.92),rgba(207,228,251,.78) 58%,rgba(178,211,245,.7));
  --circular-cta-rim:rgba(255,255,255,.72);
  --circular-cta-shadow:
    inset 0 1px 1px rgba(255,255,255,.92),
    inset 0 -1px 1px rgba(101,144,193,.15),
    0 5px 14px rgba(43,75,115,.2);
  --circular-cta-ink:#20344b;
}
:root[data-theme="bright"] {
  --circular-cta-surface:
    radial-gradient(ellipse 78% 115% at 18% 0%,rgba(255,255,255,.72),transparent 68%),
    linear-gradient(145deg,rgba(236,246,255,.88),rgba(199,223,250,.72) 58%,rgba(176,209,244,.66));
  --circular-cta-rim:rgba(255,255,255,.84);
  --circular-cta-shadow:
    inset 0 1px 1px rgba(255,255,255,.96),
    inset 0 -1px 1px rgba(101,144,193,.12),
    0 5px 14px rgba(43,75,115,.18);
}
:root :is(
  .round-control,
  .icon-button,
  .chat-drawer-button,
  .compact-search-trigger,
  .prompt-scroll-arrow,
  .mic-button,
  .send-button,
  .onboarding-back,
  .browser-address button,
  .browser-agent-add,
  .voice-text-form button,
  .voice-control,
  .saved-products-close,
  .settings-close,
  .product-profile-website-form > button,
  .product-media-viewer-close,
  .product-media-viewer-nav,
  .agent-profile-picker-close,
  .vault-card-close,
  .modal-close,
  .profile-close,
  .spotlight-close,
  .discovery-score-close,
  .upgrade-close,
  .settings-link-menu-close,
  .mcp-consent-close,
  .account-switcher-close
) {
  border:1px solid var(--circular-cta-rim)!important;
  border-radius:50%!important;
  background:var(--circular-cta-surface)!important;
  color:var(--circular-cta-ink)!important;
  box-shadow:var(--circular-cta-shadow)!important;
  -webkit-backdrop-filter:blur(20px) saturate(165%)!important;
  backdrop-filter:blur(20px) saturate(165%)!important;
  transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s ease,box-shadow .18s ease!important;
}
:root :is(
  .round-control,
  .icon-button,
  .chat-drawer-button,
  .compact-search-trigger,
  .prompt-scroll-arrow,
  .mic-button,
  .send-button,
  .onboarding-back,
  .browser-address button,
  .browser-agent-add,
  .voice-text-form button,
  .voice-control,
  .saved-products-close,
  .settings-close,
  .product-profile-website-form > button,
  .product-media-viewer-close,
  .product-media-viewer-nav,
  .agent-profile-picker-close,
  .vault-card-close,
  .modal-close,
  .profile-close,
  .spotlight-close,
  .discovery-score-close,
  .upgrade-close,
  .settings-link-menu-close,
  .mcp-consent-close,
  .account-switcher-close
):is(:hover,:focus-visible,[aria-pressed="true"],[aria-expanded="true"]) {
  background:var(--circular-cta-surface-hover)!important;
  border-color:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -1px 1px rgba(101,144,193,.12),0 8px 20px rgba(43,75,115,.24)!important;
  transform:translateY(-1px);
}
:root :is(
  .round-control,.icon-button,.chat-drawer-button,.compact-search-trigger,
  .prompt-scroll-arrow,.mic-button,.send-button,.onboarding-back,
  .browser-address button,.browser-agent-add,.voice-text-form button,
  .voice-control,.saved-products-close,.settings-close,
  .product-profile-website-form > button,.product-media-viewer-close,
  .product-media-viewer-nav,.agent-profile-picker-close,.vault-card-close,
  .modal-close,.profile-close,.spotlight-close,
  .discovery-score-close,.upgrade-close,.settings-link-menu-close,
  .mcp-consent-close,.account-switcher-close
):active {
  transform:scale(.94);
}

:root:not(:is([data-theme="bright"], [data-theme="glacial"])) #modal > .settings-content > button.settings-close,
:root:not(:is([data-theme="bright"], [data-theme="glacial"])) #modal.product-profile-modal > button.profile-close {
  background:
    radial-gradient(ellipse at 25% 0%, rgba(226, 237, 255, .26), transparent 68%),
    linear-gradient(145deg, rgba(22, 27, 35, .34), rgba(2, 5, 10, .56)) !important;
  border-color:rgba(224, 234, 250, .4) !important;
  box-shadow:inset 0 1px 2px rgba(238, 245, 255, .34), 0 4px 12px rgba(0, 0, 0, .26) !important;
  color:#f4f7ff !important;
  -webkit-backdrop-filter:blur(8px) saturate(140%) !important;
  backdrop-filter:blur(8px) saturate(140%) !important;
}

.account-switcher:not(.account-switcher-auth) {
  --chooser-glass:linear-gradient(145deg, rgba(226, 237, 255, .19), rgba(22, 27, 35, .28) 55%, rgba(2, 5, 10, .44));
  --chooser-rim:rgba(224, 234, 250, .42);
  --chooser-shine:rgba(238, 245, 255, .33);
  --chooser-ink:#f4f7ff;
}

:root:is([data-theme="bright"], [data-theme="glacial"]) .account-switcher:not(.account-switcher-auth) {
  --chooser-glass:linear-gradient(145deg, rgba(255, 255, 255, .49), rgba(216, 235, 255, .26) 55%, rgba(164, 202, 242, .33));
  --chooser-rim:rgba(255, 255, 255, .78);
  --chooser-shine:rgba(255, 255, 255, .82);
  --chooser-ink:#14243a;
}

.account-switcher:not(.account-switcher-auth),
.account-switcher:not(.account-switcher-auth) :is(.account-switcher-row, .account-switcher-login, .account-switcher-title-emoji, .account-switcher-close) {
  background:var(--chooser-glass) !important;
  border-color:var(--chooser-rim) !important;
  box-shadow:inset 0 1px 2px var(--chooser-shine), 0 5px 15px rgba(0, 0, 0, .16) !important;
  color:var(--chooser-ink) !important;
  -webkit-backdrop-filter:blur(8px) saturate(140%) !important;
  backdrop-filter:blur(8px) saturate(140%) !important;
}

.account-switcher:not(.account-switcher-auth)::backdrop {
  background:rgba(4, 10, 18, .2);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.goal-scope-trigger {
  grid-template-columns:36px minmax(0, 1fr) 32px;
  padding-inline-end:7px;
}

.goal-scope-trigger > .chevron {
  box-sizing:border-box;
  width:32px;
  height:32px;
  padding:8px;
  transition:transform .18s ease, filter .18s ease, border-color .18s ease;
}

.goal-scope-trigger > .chevron,
:root:not([data-theme="bright"], [data-theme="glacial"]) .goals-founder-preview-chevron {
  border:1px solid rgba(224, 234, 250, .4);
  border-radius:50%;
  color:#f4f7ff;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(226, 237, 255, .25), transparent 68%),
    linear-gradient(145deg, rgba(22, 27, 35, .3), rgba(2, 5, 10, .52));
  box-shadow:inset 0 1px 2px rgba(238, 245, 255, .32), 0 4px 12px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  backdrop-filter:blur(8px) saturate(140%);
}

:root:is([data-theme="bright"], [data-theme="glacial"]) .goal-scope-trigger > .chevron {
  border-color:rgba(255, 255, 255, .82);
  color:#1d334d;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(255, 255, 255, .84), transparent 68%),
    linear-gradient(145deg, rgba(255, 255, 255, .52), rgba(174, 207, 242, .35));
  box-shadow:inset 0 1px 2px rgba(255, 255, 255, .9), 0 4px 12px rgba(47, 86, 132, .18);
}

.goal-scope-trigger:is(:hover, :focus-visible) > .chevron {
  filter:brightness(1.12);
  border-color:rgba(255, 255, 255, .72);
}

/* Translucent account sign-out confirmation. */
.signout-confirmation {
  box-sizing:border-box;width:min(520px,calc(100vw - 32px));margin:auto;padding:42px 34px 30px;overflow:hidden;
  color:#f7f9ff;text-align:center;border:1px solid rgba(226,236,252,.58);border-radius:88px;
  background:radial-gradient(ellipse at 20% 0%,rgba(225,238,255,.1),transparent 60%),linear-gradient(145deg,rgba(25,32,43,.14),rgba(3,8,16,.22));
  box-shadow:inset 0 1px 2px rgba(248,251,255,.58),inset 0 -1px 1px rgba(155,181,216,.16),0 24px 70px rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(8px) saturate(150%);backdrop-filter:blur(8px) saturate(150%);
}
.signout-confirmation::backdrop{background:rgba(3,8,15,.1);-webkit-backdrop-filter:none;backdrop-filter:none}
.signout-confirmation-close{position:absolute;top:18px;right:30px;display:grid;place-items:center;width:38px;height:38px;padding:0;color:inherit;font-size:24px;line-height:1;border:1px solid rgba(226,236,252,.55);border-radius:50%;background:linear-gradient(145deg,rgba(225,238,255,.25),rgba(3,8,16,.42));box-shadow:inset 0 1px 2px rgba(255,255,255,.45),0 7px 18px rgba(0,0,0,.24);-webkit-backdrop-filter:blur(10px) saturate(145%);backdrop-filter:blur(10px) saturate(145%)}
.signout-confirmation-title-row{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 12px;padding-inline:8px}.signout-confirmation-heading-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin:0;border:1px solid rgba(226,236,252,.5);border-radius:50%;background:linear-gradient(145deg,rgba(225,238,255,.22),rgba(3,8,16,.38));box-shadow:inset 0 1px 2px rgba(255,255,255,.4),0 7px 18px rgba(0,0,0,.2);font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:22px;line-height:1}.signout-confirmation h2{margin:0;font-size:clamp(19px,2.35vw,24px);line-height:1.18;letter-spacing:-.035em;text-align:left;white-space:nowrap}.signout-confirmation-copy{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:0 auto 22px;color:rgba(231,237,248,.72);font-size:13px;line-height:1.25;white-space:nowrap}.signout-confirmation-copy>span:first-child{flex:0 0 auto;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:17px}.signout-confirmation-copy>span:last-child{flex:0 1 auto}
.signout-account-preview{display:grid;grid-template-columns:46px minmax(0,1fr) 32px;align-items:center;gap:10px;box-sizing:border-box;width:min(100%,410px);margin-inline:auto;padding:7px 11px;text-align:left;border:1px solid rgba(226,236,252,.5);border-radius:999px;background:linear-gradient(145deg,rgba(225,238,255,.2),rgba(3,8,16,.32));box-shadow:inset 0 1px 2px rgba(255,255,255,.4),0 7px 20px rgba(0,0,0,.2);-webkit-backdrop-filter:blur(10px) saturate(145%);backdrop-filter:blur(10px) saturate(145%)}
.signout-account-avatar{display:grid;place-items:center;width:46px;height:46px;overflow:hidden;border:1px solid rgba(255,255,255,.74);border-radius:50%;background:rgba(210,224,244,.16)}.signout-account-avatar :is(img,svg){width:100%;height:100%;object-fit:cover}.signout-account-avatar svg{width:26px;height:26px}.signout-account-copy{display:grid;min-width:0;gap:2px}.signout-account-copy strong,.signout-account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signout-account-copy strong{font-size:17px}.signout-account-copy small{color:rgba(231,237,248,.68);font-size:13px}
.signout-account-active{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(226,236,252,.46);border-radius:50%;background:rgba(226,237,252,.14)}.signout-account-active svg{width:19px;height:19px}.signout-confirmation-status{min-height:0;margin:0;color:rgba(231,237,248,.78);font-size:13px}.signout-confirmation-status:not(:empty){min-height:20px;margin-top:8px}.signout-confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.signout-confirmation-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 22px;color:inherit;font:inherit;font-weight:700;border:1px solid rgba(226,236,252,.5);border-radius:999px;background:linear-gradient(145deg,rgba(225,238,255,.21),rgba(3,8,16,.35));box-shadow:inset 0 1px 2px rgba(255,255,255,.4),0 7px 18px rgba(0,0,0,.2);-webkit-backdrop-filter:blur(10px) saturate(145%);backdrop-filter:blur(10px) saturate(145%)}
.signout-confirmation-submit{color:#14243a!important;border-color:rgba(255,255,255,.86)!important;background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(205,222,244,.62))!important;box-shadow:inset 0 1px 2px rgba(255,255,255,.98),0 7px 18px rgba(0,0,0,.22)!important}.signout-confirmation-actions button>svg{width:20px;height:20px;flex:0 0 20px}.signout-submit-symbol{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;color:#f7f9ff;border-radius:50%;background:rgba(10,20,34,.9);box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 2px 5px rgba(0,0,0,.18)}.signout-submit-symbol svg{width:12px;height:12px}.signout-confirmation-actions button:is(:hover,:focus-visible),.signout-confirmation-close:is(:hover,:focus-visible){filter:brightness(1.15);transform:translateY(-1px)}.signout-confirmation button:disabled{cursor:wait;opacity:.66}
:root:is([data-theme="bright"],[data-theme="glacial"]) .signout-confirmation{color:#14243a;border-color:rgba(255,255,255,.92);background:radial-gradient(ellipse at 20% 0%,rgba(255,255,255,.2),transparent 62%),linear-gradient(145deg,rgba(255,255,255,.11),rgba(168,205,242,.07));box-shadow:inset 0 1px 2px rgba(255,255,255,.98),inset 0 -1px 1px rgba(93,143,199,.17),0 24px 70px rgba(43,75,115,.2);-webkit-backdrop-filter:blur(8px) saturate(150%);backdrop-filter:blur(8px) saturate(150%)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .signout-confirmation::backdrop{background:rgba(108,148,194,.07);-webkit-backdrop-filter:none;backdrop-filter:none}
:root:is([data-theme="bright"],[data-theme="glacial"]) .signout-confirmation :is(.signout-confirmation-close,.signout-confirmation-heading-icon,.signout-account-preview,.signout-account-active,.signout-confirmation-actions button){border-color:rgba(255,255,255,.86);background:linear-gradient(145deg,rgba(255,255,255,.54),rgba(164,201,239,.3));box-shadow:inset 0 1px 2px rgba(255,255,255,.95),0 7px 18px rgba(47,86,132,.18)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .signout-confirmation :is(.signout-confirmation-copy,.signout-account-copy small,.signout-confirmation-status){color:rgba(30,54,82,.7)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .signout-confirmation .signout-confirmation-submit{color:#f7f9ff!important;border-color:rgba(31,45,64,.56)!important;background:radial-gradient(ellipse at 24% 0%,rgba(225,238,255,.22),transparent 62%),linear-gradient(145deg,rgba(24,31,42,.72),rgba(2,7,14,.82))!important;box-shadow:inset 0 1px 2px rgba(238,245,255,.28),0 7px 18px rgba(43,75,115,.28)!important;-webkit-backdrop-filter:blur(10px) saturate(145%);backdrop-filter:blur(10px) saturate(145%)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .signout-confirmation .signout-submit-symbol{color:#14243a;background:rgba(247,250,255,.94);box-shadow:inset 0 1px 1px #fff,0 3px 8px rgba(0,0,0,.28)}
@media(max-width:560px){.signout-confirmation{padding:38px 20px 24px;border-radius:64px}.signout-confirmation-title-row{gap:7px;padding-inline:0}.signout-confirmation-heading-icon{width:36px;height:36px;flex-basis:36px;font-size:19px}.signout-confirmation h2{font-size:clamp(16px,4.7vw,21px)}.signout-confirmation-actions{grid-template-columns:1fr}}
.account-plan-flyout .plan-manage-usage{min-height:34px;padding:7px 10px;border-radius:999px}

/* Hover/focus Support side panel in the account menu. */
.account-support-entry{position:relative}
.account-support-entry>.account-menu-item{width:100%}
.account-support-entry::after{content:"";position:absolute;z-index:119;left:100%;top:-5px;width:12px;height:calc(100% + 10px)}
.account-support-flyout{position:absolute;z-index:120;left:calc(100% + 5px);top:-7px;box-sizing:border-box;width:208px;padding:10px;display:grid;gap:7px;color:#f4f8ff;border:1px solid rgba(226,239,255,.34);border-radius:24px;background:radial-gradient(ellipse at 22% 0%,rgba(235,245,255,.18),transparent 60%),linear-gradient(145deg,rgba(42,52,68,.76),rgba(8,15,26,.82));box-shadow:inset 0 1px 2px rgba(255,255,255,.35),0 18px 42px rgba(0,0,0,.3);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-7px) scale(.98);transform-origin:0 18px;transition:opacity .16s ease,visibility .16s ease,transform .16s ease}
.account-support-entry:is(:hover,:focus-within) .account-support-flyout{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.account-support-flyout>strong{display:flex;align-items:center;gap:8px;padding:3px 5px 5px;font-size:14px}
.account-support-flyout>strong svg{width:20px;height:20px;fill:currentColor}
.account-support-flyout>button{display:flex;align-items:center;gap:9px;min-height:38px;padding:7px 11px;color:inherit;font:inherit;text-align:left;border:1px solid rgba(226,239,255,.2);border-radius:999px;background:linear-gradient(145deg,rgba(230,241,255,.14),rgba(8,15,26,.25));box-shadow:inset 0 1px 1px rgba(255,255,255,.22);cursor:pointer}
.account-support-flyout>button>span:first-child{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:rgba(235,244,255,.16);font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px}
.account-support-flyout>button:is(:hover,:focus-visible){outline:none;filter:brightness(1.18);transform:translateY(-1px)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .account-support-flyout{color:#14243a;border-color:rgba(255,255,255,.9);background:radial-gradient(ellipse at 20% 0%,rgba(255,255,255,.78),transparent 60%),linear-gradient(145deg,rgba(255,255,255,.48),rgba(162,201,242,.34));box-shadow:inset 0 1px 2px rgba(255,255,255,.98),0 18px 42px rgba(47,86,132,.22)}
:root:is([data-theme="bright"],[data-theme="glacial"]) .account-support-flyout>button{border-color:rgba(255,255,255,.78);background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(164,201,239,.3));box-shadow:inset 0 1px 2px rgba(255,255,255,.94),0 5px 14px rgba(47,86,132,.12)}
