:root {
  color-scheme: dark;
  --bg: #111719;
  --text: #e3e9e9;
  --muted: #7d9299;
  --line: #293638;
  --accent: #a4ded6;
  --amber: #dfbc87;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 52% 28%, #203b3d22, transparent 54%), var(--bg);
  color: var(--text);
  font-size: 13px;
}
button,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 66px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  background: #0c1113;
  border-right: 1px solid #26323566;
  padding: 19px 0;
  z-index: 10;
}
.rail-brand {
  font-size: 33px;
  color: #a7dcd4;
  line-height: 1;
  margin-bottom: 24px;
}
.rail-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #8fa5aa;
}
.rail-button:hover,
.rail-button[aria-pressed="true"] {
  background: #202e31;
  color: #cfebe6;
}
.rail-button svg {
  width: 19px;
  height: 19px;
}
.rail-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.avatar {
  height: 29px;
  width: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #3a5657;
  border-radius: 50%;
  font-size: 10px;
  color: #a5c4c3;
  background: #203538;
}
.app-shell {
  margin-left: 66px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0 31px;
}
.app-title {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 2.2px;
}
.app-title > span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #587076;
  border-left: 1px solid #304145;
  padding-left: 13px;
  margin-left: 13px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.model-pill {
  background: #1b2528;
  border: 1px solid #2d3e42;
  color: #91a9af;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 10px;
}
.model-pill span {
  margin-left: 12px;
  color: #66848c;
}
time {
  font:
    9px ui-monospace,
    monospace;
  color: #4b6970;
  letter-spacing: 0.5px;
}
main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 24px;
  position: relative;
}
.connect-banner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 9px 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 15px;
  color: #6d898e;
  font-size: 10px;
}
.connect-banner i {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #a4ded6;
  border-radius: 50%;
  margin-right: 7px;
}
.connect-banner button {
  background: transparent;
  border: 1px solid #354a4b;
  color: #b4d8d2;
  font-size: 10px;
  padding: 9px 12px;
  border-radius: 7px;
}
.connect-banner button span {
  margin-left: 10px;
}
.connect-banner button:hover {
  background: #243939;
}
.workspace {
  max-width: 790px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 250px;
  position: relative;
  transition: min-height 0.35s ease;
  isolation: isolate;
}
.orb-stage {
  height: 260px;
  width: 340px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.orb-aura {
  position: absolute;
  width: 400px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #5bb9bf13, transparent 65%);
  pointer-events: none;
}
.orb {
  width: 174px;
  height: 174px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(
    circle at 32% 25%,
    #ecfffa 0%,
    #a7f1e7 2%,
    #6ccac5 13%,
    #31777f 34%,
    #173e4d 55%,
    #0d2737 72%,
    #0a1925 88%
  );
  box-shadow:
    inset -9px -14px 28px #050d18,
    inset 2px 3px 16px #b1fff13b,
    0 0 45px #73d7cf20;
  animation: breathe 7s ease-in-out infinite;
  z-index: 3;
}
.orb:before {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 20deg,
    transparent 0deg 8deg,
    #b2fff414 9deg 10deg,
    transparent 11deg 20deg
  );
  filter: blur(0.8px);
  animation: spin 80s linear infinite;
}
.orb:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #8ccacb1c;
  background: linear-gradient(145deg, transparent 35%, #020c1655);
}
.orb-inner {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid #a7f6e81d;
  background: repeating-radial-gradient(
    ellipse at 30% 25%,
    transparent 0 9px,
    #baffec0e 10px,
    transparent 11px 16px
  );
  transform: rotate(-22deg);
  box-shadow: inset 0 0 28px #92f9e512;
}
.orb-light {
  position: absolute;
  left: 22%;
  top: 45%;
  width: 55%;
  height: 2px;
  background: #b5fff21a;
  filter: blur(3px);
  transform: rotate(-35deg);
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #76a6a020;
  pointer-events: none;
}
.orbit-one {
  width: 218px;
  height: 218px;
  border-top-color: #88bdbb55;
  border-bottom-color: #5eaba346;
  animation: spin 75s linear infinite;
}
.orbit-two {
  width: 252px;
  height: 252px;
  border-style: dashed;
  border-color: #719b9522;
  animation: spin 160s linear infinite reverse;
}
.core-caption {
  color: #7dacae;
  text-align: center;
  margin-top: -9px;
}
.core-caption #state {
  font:
    7px ui-monospace,
    monospace;
  letter-spacing: 2px;
}
.core-caption h2,
.core-caption p {
  display: none;
}
.welcome {
  text-align: center;
  margin-top: 18px;
}
.welcome h1 {
  font-size: 29px;
  font-weight: 430;
  letter-spacing: -0.9px;
  margin: 0 0 11px;
  line-height: 1.25;
}
.welcome h1 span {
  color: #89bcb6;
}
.welcome > p {
  font-size: 11px;
  color: #69848b;
  margin: 0;
}
.suggestions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}
.suggestions button {
  border: 1px solid #2c3e42;
  background: #192529;
  color: #95b0b5;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.suggestions button span {
  color: #86b7b3;
  font-size: 14px;
}
.suggestions button:hover {
  border-color: #577d7d;
  background: #223336;
}
.voice-controls {
  display: none;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  margin-top: 25px;
}
.talk-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid #c3f1e6;
  border-radius: 30px;
  background: #b5e5da;
  color: #1b3d3e;
  font-size: 12px;
}
.talk-button svg {
  width: 17px;
  height: 20px;
}
.voice-controls > span {
  font-size: 9px;
  color: #668a91;
}
#voice-stop {
  background: none;
  border: 0;
  color: #9dc5c4;
  font-size: 10px;
}
.wave {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  margin-top: 10px;
}
.wave i {
  width: 2px;
  height: var(--h);
  background: #7fb5b5;
  opacity: 0.4;
  border-radius: 2px;
}
.conversation {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex-shrink: 0;
}
.messages {
  display: none;
  overflow: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #354e51 transparent;
  scroll-behavior: smooth;
  padding: 12px 8px 24px;
}
.compose-area {
  padding: 12px 10px 0;
  flex-shrink: 0;
  background: linear-gradient(0deg, var(--bg) 80%, transparent);
}
form {
  background: #202b2e;
  border: 1px solid #35464a;
  border-radius: 19px;
  padding: 16px 16px 11px;
  box-shadow: 0 10px 30px #00000016;
  transition: border-color 0.2s;
}
form:focus-within {
  border-color: #608781;
}
textarea {
  display: block;
  width: 100%;
  outline: 0;
  border: 0;
  resize: none;
  background: none;
  color: #d4e5e5;
  min-height: 47px;
  max-height: 150px;
  font-size: 12px;
  line-height: 1.7;
  padding: 0;
}
textarea::placeholder {
  color: #799499;
}
.compose-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.compose-spacer {
  flex: 1;
}
.context-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #405956;
  background: #2a3e3d;
  border-radius: 20px;
  padding: 6px 10px;
  color: #a7d0c5;
  font-size: 9px;
}
.context-toggle > span {
  font-size: 13px;
}
.context-toggle i {
  width: 4px;
  height: 4px;
  background: #9bdbc6;
  border-radius: 50%;
  margin-left: 2px;
}
.context-toggle[aria-pressed="false"] {
  background: none;
  border-color: #3c4a4d;
  color: #70898e;
}
.context-toggle[aria-pressed="false"] i {
  background: #566a70;
}
.icon-button {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 0;
  color: #a4bdc0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: #354448;
}
.icon-button svg {
  width: 16px;
  height: 19px;
}
.send {
  border: 0;
  background: #c1e8df;
  color: #173c3d;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 21px;
}
.send:hover {
  background: #e0fff5;
}
.send:disabled {
  background: #476360;
  color: #abc2bf;
  opacity: 0.5;
}
.compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #526f77;
  font-size: 8px;
  margin: 11px 6px 0;
}
.compose-footer > span > span {
  margin: 0 6px;
}
.voice-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #6f9296;
}
.voice-switch input {
  width: 11px;
  height: 11px;
  accent-color: #99cbbf;
  margin: 0;
}
.context-disclosure {
  font-size: 8px;
  color: #4f6d75;
  text-align: center;
  margin: 11px 0 0;
  line-height: 1.8;
}
.context-disclosure button {
  color: #7faaa9;
  font-size: 8px;
  background: none;
  border: 0;
  padding: 0;
  margin-left: 4px;
}
.plan-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 8px;
  color: #648d91;
  margin-top: 9px;
}
.plan-indicator a {
  color: #9cbcb8;
}
.notice {
  font-size: 10px;
  line-height: 1.7;
  color: var(--amber);
  margin: 0 7px 12px;
}
.notice:empty {
  display: none;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 30px 17px;
  flex-shrink: 0;
}
.system-strip {
  display: flex;
  gap: 20px;
}
.system-strip > span {
  font-size: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.system-strip b {
  font-weight: 400;
  color: #6d8b92;
}
.system-strip small {
  font-size: 7px;
  color: #3e616b;
}
.status-dot {
  width: 3px;
  height: 3px;
  background: #b09568;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.ok {
  background: #8bc5ac;
}
.privacy {
  font:
    6px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #3f646c;
}
.message {
  margin: 0 0 29px;
  animation: appear 0.25s ease-out;
}
.message-label {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1.2px;
  color: #83b7b2;
  margin-bottom: 12px;
}
.message-content {
  font-size: 13px;
  line-height: 1.95;
  color: #c3d4d6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 6px;
}
.message.user .message-label {
  display: none;
}
.message.user .message-content {
  max-width: 86%;
  background: #26383c;
  border: 1px solid #30484d;
  border-radius: 16px 16px 4px 16px;
  padding: 11px 16px;
  font-size: 12px;
  color: #c9dddd;
}
.message.failed .message-content {
  color: var(--amber);
}
.replay {
  background: none;
  border: 0;
  color: #678e95;
  padding: 10px 0 0;
  font-size: 9px;
}
.reference-tray {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 17px;
}
.reference-card {
  background: #1a272b;
  border: 1px solid #30464b;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.reference-card img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
  background: #111b1f;
}
.reference-copy {
  padding: 13px;
}
.reference-copy .source-label {
  font:
    7px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #6c979d;
  margin-bottom: 8px;
}
.reference-copy h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.5;
}
.reference-copy p {
  font-size: 10px;
  line-height: 1.8;
  color: #7f9fa8;
  margin: 0;
}
.reference-copy > a {
  display: inline-block;
  margin-top: 10px;
  font-size: 9px;
  color: #9cc6bd;
}
.image-credit {
  padding: 0 13px 12px;
  font-size: 8px;
  line-height: 1.7;
  color: #5f848e;
}
.image-credit a {
  color: #8db6b1;
}
.image-credit span {
  display: block;
}
.reference-note {
  font-size: 9px;
  color: #72969c;
  line-height: 1.8;
  margin-top: 10px;
}
.lookup-loader {
  font-size: 10px;
  color: #7ca6aa;
  padding: 14px 0;
  animation: breathe 2s ease-in-out infinite;
}
body[data-conversation="true"] .core {
  flex: 0;
  min-height: 70px;
  height: 70px;
  justify-content: center;
  margin-top: 3px;
}
body[data-conversation="true"] .orb-stage {
  width: 80px;
  height: 64px;
}
body[data-conversation="true"] .orb {
  width: 43px;
  height: 43px;
}
body[data-conversation="true"] .orbit-one {
  width: 55px;
  height: 55px;
}
body[data-conversation="true"] .orbit-two {
  display: none;
}
body[data-conversation="true"] .orb-aura {
  width: 120px;
  height: 85px;
}
body[data-conversation="true"] .core-caption {
  position: absolute;
  bottom: 0;
  margin: 0;
}
body[data-conversation="true"] .core-caption #state {
  font-size: 5px;
  letter-spacing: 1px;
}
body[data-conversation="true"] .conversation {
  flex: 1;
  min-height: 0;
}
body[data-conversation="true"] .messages {
  display: block;
  flex: 1;
}
body[data-view="voice"] .core {
  flex: 1;
  min-height: 250px;
  height: auto;
}
body[data-view="voice"] .orb-stage {
  width: 340px;
  height: 280px;
}
body[data-view="voice"] .orb {
  width: 190px;
  height: 190px;
}
body[data-view="voice"] .orbit-one {
  width: 240px;
  height: 240px;
}
body[data-view="voice"] .orbit-two {
  display: block;
  width: 274px;
  height: 274px;
}
body[data-view="voice"] .orb-aura {
  width: 420px;
  height: 350px;
}
body[data-view="voice"] .core-caption {
  position: static;
  margin-top: 0;
}
body[data-view="voice"] .core-caption #state {
  font-size: 8px;
  letter-spacing: 2px;
}
body[data-view="voice"] .core-caption h2 {
  display: block;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 15px 0 8px;
}
body[data-view="voice"] .core-caption p {
  display: block;
  color: #628c95;
  font-size: 10px;
  margin: 0;
}
body[data-view="voice"] .welcome {
  display: none;
}
body[data-view="voice"] .voice-controls,
body[data-view="voice"] .wave {
  display: flex;
}
body[data-view="voice"] .conversation {
  flex: 0;
}
body[data-view="voice"] .messages {
  display: none;
}
body[data-state="thinking"] .orb {
  animation: breathe 1.5s ease-in-out infinite;
}
body[data-state="listening"] .orb {
  box-shadow: 0 0 calc(25px + var(--level, 0) * 65px) #8fdfd944;
  transform: scale(calc(1 + var(--level, 0) * 0.13));
}
body[data-state="listening"] .talk-button {
  background: #294b4c;
  border-color: #9bd9cd;
  color: #c5f6e8;
}
body[data-state="listening"] .wave i,
body[data-state="speaking"] .wave i {
  animation: wave 0.75s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}
.eyebrow {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1.3px;
  color: #69909a;
}
.signin {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: #d6e9e3;
  border: 1px solid #cce9e0;
  border-radius: 7px;
  color: #173936;
  font-size: 11px;
  font-weight: 550;
}
.text-button {
  background: none;
  border: 0;
  color: #83b2af;
  font-size: 10px;
  padding: 0;
}
dialog {
  max-width: 440px;
  width: calc(100% - 32px);
  padding: 28px;
  border: 1px solid #35515e;
  border-radius: 12px;
  background: #101b25;
  color: var(--text);
  box-shadow: 0 25px 100px #0008;
}
dialog::backdrop {
  background: #030810cf;
  backdrop-filter: blur(7px);
}
dialog h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 450;
  margin: 13px 0 18px;
}
dialog > p {
  font-size: 12px;
  color: #91b0be;
  line-height: 1.9;
}
dialog > a {
  font-size: 11px;
  color: var(--cyan);
}
dialog > .signin {
  margin-top: 25px;
  width: 100%;
}
#settings {
  padding: 0;
  max-width: 490px;
  max-height: 85dvh;
}
#settings .settings-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 25px 26px 20px;
}
#settings h2 {
  margin: 10px 0 0;
  font-size: 24px;
}
.close-button {
  border: 1px solid #2d4755;
  background: #142430;
  color: #91b4c4;
  border-radius: 5px;
  width: 28px;
  height: 28px;
  font-size: 20px;
  line-height: 1;
}
.settings-scroll {
  padding: 22px 26px;
  overflow: auto;
  max-height: calc(85dvh - 105px);
  scrollbar-width: thin;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1.5px;
  color: #7699aa;
  margin-bottom: 20px;
}
.section-heading > span + span {
  font-size: 7px;
  color: #416d80;
}
.account-card {
  margin-bottom: 22px;
}
.account-card .eyebrow,
.model-label {
  font-size: 7px;
  color: #597f93;
}
.account-card p {
  color: #7299a9;
  font-size: 10px;
  line-height: 1.8;
  margin: 12px 0;
}
.account-card .signin {
  width: 100%;
  margin-top: 12px;
}
.account-card .text-button {
  margin-top: 16px;
  display: block;
}
.usage-link,
#sign-in-link {
  color: #81babd;
  font-size: 10px;
  display: inline-block;
  margin-top: 16px;
}
.model-label {
  display: block;
  margin-bottom: 8px;
}
select {
  width: 100%;
  padding: 11px;
  background: #0b141d;
  border: 1px solid #294451;
  border-radius: 5px;
  color: #9fc1d0;
  font-size: 11px;
}
.account-card select {
  margin-top: 8px;
}
.voice-heading {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin: 24px 0 10px;
}
.settings-description {
  font-size: 10px;
  color: #7295a6;
  line-height: 1.9;
}
.outline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9cc9cc;
  background: #132b33;
  border: 1px solid #365d67;
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 11px;
}
.outline:hover {
  border-color: var(--cyan);
}
.voice-info {
  margin: 18px 0 24px;
  font-size: 10px;
  color: #6e95a6;
}
.voice-info summary {
  cursor: pointer;
  padding: 4px 0;
  color: #88aebc;
}
.voice-info p {
  font-size: 10px;
  line-height: 1.9;
  color: #63899d;
}
.voice-info a {
  font-size: 9px;
  color: #8cbfc2;
}
.activity {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.activity ol {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 180px;
  overflow: auto;
  scrollbar-width: thin;
}
.activity li {
  position: relative;
  color: #83a3b4;
  font-size: 10px;
  line-height: 1.7;
  padding: 5px 0 7px 15px;
  border-left: 1px solid #284752;
}
.activity li:before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: #4c838f;
  border-radius: 50%;
}
.activity time {
  display: block;
  font-size: 7px;
  color: #416d80;
  letter-spacing: 0;
}
.local-note {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 15px;
}
.local-note p {
  font-size: 9px;
  color: #597e93;
  line-height: 1.9;
}
.local-note small {
  font-size: 8px;
  color: #41697e;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  50% {
    filter: brightness(1.14);
    transform: scale(1.025);
  }
}
@keyframes wave {
  to {
    height: 4px;
    opacity: 0.8;
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}
@media (min-height: 900px) {
  .orb-stage {
    height: 310px;
  }
  .orb {
    width: 205px;
    height: 205px;
  }
  .orbit-one {
    width: 253px;
    height: 253px;
  }
  .orbit-two {
    width: 290px;
    height: 290px;
  }
  .welcome {
    margin-top: 22px;
  }
  .welcome h1 {
    font-size: 32px;
  }
  .suggestions {
    margin-top: 30px;
  }
}
@media (max-height: 760px) {
  header {
    height: 56px;
  }
  .orb-stage {
    height: 190px;
  }
  .orb {
    width: 135px;
    height: 135px;
  }
  .orbit-one {
    width: 170px;
    height: 170px;
  }
  .orbit-two {
    width: 194px;
    height: 194px;
  }
  .welcome {
    margin-top: 16px;
  }
  .welcome h1 {
    font-size: 25px;
  }
  .suggestions {
    margin-top: 19px;
  }
  .core {
    min-height: 220px;
  }
  .connect-banner {
    padding-top: 0;
    font-size: 9px;
  }
  .connect-banner button {
    padding: 7px 10px;
  }
  .compose-area {
    padding-top: 8px;
  }
  form {
    padding-top: 12px;
  }
  textarea {
    min-height: 35px;
  }
  .compose-actions {
    margin-top: 6px;
  }
  .context-disclosure {
    margin-top: 6px;
  }
  footer {
    padding-top: 10px;
    padding-bottom: 12px;
  }
  body[data-view="voice"] .orb-stage {
    height: 190px;
  }
  body[data-view="voice"] .orb {
    width: 140px;
    height: 140px;
  }
  body[data-view="voice"] .orbit-one {
    width: 180px;
    height: 180px;
  }
  body[data-view="voice"] .orbit-two {
    width: 210px;
    height: 210px;
  }
  body[data-view="voice"] .core-caption h2 {
    font-size: 20px;
    margin: 12px 0 6px;
  }
  body[data-view="voice"] .voice-controls {
    margin-top: 17px;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .system-strip small {
    display: none;
  }
  .app-title > span {
    display: none;
  }
  .header-right time {
    display: none;
  }
  .privacy {
    font-size: 5px;
  }
  .reference-card img {
    height: 135px;
  }
}
@media (max-width: 600px) {
  .rail {
    width: 48px;
    padding-top: 17px;
    gap: 12px;
  }
  .rail-brand {
    font-size: 28px;
    margin-bottom: 18px;
  }
  .rail-button {
    width: 32px;
    height: 32px;
  }
  .rail-button svg {
    width: 17px;
    height: 17px;
  }
  .rail-bottom {
    gap: 15px;
  }
  .avatar {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .app-shell {
    margin-left: 48px;
  }
  header {
    height: 56px;
    padding: 0 16px;
  }
  .app-title {
    font-size: 13px;
    letter-spacing: 1.8px;
  }
  .model-pill {
    font-size: 8px;
    padding: 7px 9px;
    max-width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .header-right {
    gap: 0;
  }
  main {
    padding: 0 12px;
  }
  .connect-banner {
    align-items: center;
    gap: 8px;
    padding-top: 3px;
    font-size: 8px;
  }
  .connect-banner > span {
    max-width: 130px;
    line-height: 1.6;
  }
  .connect-banner button {
    font-size: 8px;
    padding: 8px 9px;
    white-space: nowrap;
  }
  .connect-banner button span {
    display: none;
  }
  .core {
    min-height: 200px;
  }
  .orb-stage {
    height: 205px;
    width: 240px;
  }
  .orb {
    width: 135px;
    height: 135px;
  }
  .orbit-one {
    width: 172px;
    height: 172px;
  }
  .orbit-two {
    width: 200px;
    height: 200px;
  }
  .orb-aura {
    width: 280px;
    height: 240px;
  }
  .core-caption #state {
    font-size: 6px;
  }
  .welcome {
    margin-top: 17px;
  }
  .welcome h1 {
    font-size: 23px;
    letter-spacing: -0.7px;
    max-width: 300px;
    line-height: 1.3;
  }
  .welcome > p {
    font-size: 9px;
  }
  .suggestions {
    gap: 6px;
    flex-wrap: wrap;
    max-width: 310px;
    margin: 20px auto 0;
  }
  .suggestions button {
    font-size: 9px;
    padding: 8px 9px;
    gap: 6px;
  }
  .suggestions button span {
    font-size: 12px;
  }
  .compose-area {
    padding: 8px 0 0;
  }
  form {
    border-radius: 16px;
    padding: 12px 12px 10px;
  }
  textarea {
    font-size: 11px;
    min-height: 38px;
  }
  .compose-actions {
    gap: 7px;
  }
  .context-toggle {
    font-size: 8px;
    padding: 5px 8px;
  }
  .context-toggle > span {
    font-size: 12px;
  }
  .icon-button {
    width: 27px;
    height: 27px;
  }
  .send {
    width: 29px;
    height: 29px;
    font-size: 19px;
  }
  .compose-footer {
    font-size: 6px;
    gap: 8px;
  }
  .compose-footer > span > span {
    margin: 0 3px;
  }
  .voice-switch {
    font-size: 8px;
    gap: 4px;
  }
  .context-disclosure {
    font-size: 6px;
    margin-top: 8px;
  }
  .context-disclosure button {
    font-size: 6px;
  }
  footer {
    padding: 12px 15px;
    justify-content: center;
  }
  .system-strip {
    gap: 12px;
  }
  .system-strip > span {
    font-size: 6px;
  }
  .privacy {
    display: none;
  }
  .message-content {
    font-size: 12px;
    line-height: 1.9;
  }
  .messages {
    padding: 15px 2px;
  }
  .message.user .message-content {
    max-width: 95%;
    font-size: 11px;
  }
  .reference-tray {
    gap: 8px;
  }
  .reference-copy {
    padding: 10px;
  }
  .reference-copy h3 {
    font-size: 11px;
  }
  .reference-copy p {
    font-size: 9px;
  }
  .reference-card img {
    height: 115px;
  }
  .image-credit {
    padding: 0 10px 10px;
    font-size: 7px;
  }
  .reference-copy > a {
    font-size: 8px;
  }
  .reference-note {
    font-size: 8px;
  }
  body[data-view="voice"] .core {
    min-height: 220px;
  }
  body[data-view="voice"] .orb-stage {
    width: 260px;
    height: 220px;
  }
  body[data-view="voice"] .orb {
    width: 150px;
    height: 150px;
  }
  body[data-view="voice"] .orbit-one {
    width: 190px;
    height: 190px;
  }
  body[data-view="voice"] .orbit-two {
    width: 220px;
    height: 220px;
  }
  body[data-view="voice"] .core-caption h2 {
    font-size: 20px;
  }
  .voice-controls > span {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.reference-tray:has(.reference-card:only-child) {
  grid-template-columns: 1fr;
}
.reference-tray:has(.reference-card:only-child) .reference-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.reference-tray:has(.reference-card:only-child) .reference-card img {
  height: 100%;
  min-height: 170px;
  object-fit: contain;
  background: #10181c;
}
.reference-tray:has(.reference-card:only-child) .reference-card .image-credit {
  grid-column: 1/-1;
  padding-top: 8px;
  border-top: 1px solid #2b4045;
}
.reference-card:not(:has(img)) {
  display: block !important;
}
@media (max-width: 500px) {
  .reference-tray:has(.reference-card:only-child) .reference-card {
    display: block;
  }
  .reference-tray:has(.reference-card:only-child) .reference-card img {
    height: 150px;
    min-height: 0;
    width: 100%;
  }
}
#auth-feedback:empty {
  display: none;
}
#auth-feedback {
  color: var(--amber);
  font-size: 10px;
  line-height: 1.8;
}
/* Doge's quiet, single-screen workspace. */
:root {
  --bg: #060d14;
  --text: #e1edf4;
  --cyan: #64d8ff;
  --line: #20303f;
  --amber: #e9bf87;
}
body {
  background:
    radial-gradient(ellipse at 50% 35%, #10263766, transparent 55%), var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.rail {
  position: absolute;
  inset: 0 0 auto auto;
  width: auto;
  height: 76px;
  flex-direction: row;
  background: none;
  border: 0;
  padding: 0 28px;
  gap: 10px;
  z-index: 5;
}
.rail-brand,
.rail-bottom .avatar {
  display: none;
}
.rail-bottom {
  position: static;
  display: flex;
}
.rail-button {
  width: 38px;
  height: 38px;
  border: 1px solid #23323e;
  background: #101b25;
  border-radius: 12px;
  color: #819aa9;
}
.rail-button:hover {
  background: #1a2c3b;
  color: #def6ff;
}
.app-shell {
  margin-left: 0;
}
header {
  height: 76px;
  padding: 0 34px;
}
.app-title {
  font-size: 14px;
  letter-spacing: 2px;
}
.app-title > span {
  border: 0;
  margin-left: 12px;
  padding-left: 0;
  font-size: 11px;
  color: #698292;
  letter-spacing: 0;
}
.header-right {
  margin-right: 155px;
}
#clock {
  display: none;
}
.model-pill {
  background: none;
  border: 0;
  color: #8098a7;
  font-size: 11px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main {
  padding: 0 24px;
}
.workspace {
  max-width: 760px;
}
.connect-banner {
  max-width: 720px;
  font-size: 11px;
  padding: 6px 0;
  color: #7c94a5;
}
.connect-banner button {
  border-color: #294758;
  border-radius: 20px;
  font-size: 11px;
  color: #aadff2;
  padding: 8px 14px;
}
.core {
  min-height: 260px;
  justify-content: center;
}
.orb-stage {
  height: 270px;
  width: 250px;
  margin-top: -12px;
  isolation: isolate;
}
.doge {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  animation: doge-float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px #28b8ff19);
  position: relative;
  z-index: 1;
}
.doge-halo {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #158ad91c;
  filter: blur(42px);
  top: 35px;
}
.doge-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #8de6ff;
  box-shadow: 0 0 12px #46cfff;
  border-radius: 50%;
  z-index: 2;
  animation: spark 4s ease-in-out infinite;
}
.spark-one {
  left: 30px;
  top: 70px;
}
.spark-two {
  right: 25px;
  bottom: 60px;
  animation-delay: 2s;
}
.core-caption {
  margin-top: 8px;
}
.core-caption #state {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 2px;
  color: #7fa8ba;
}
.core-caption #state:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6de9c2;
  margin: 0 8px 1px 0;
  box-shadow: 0 0 8px #6de9c244;
}
.welcome {
  margin-top: 18px;
}
.welcome h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 450;
  letter-spacing: -1.2px;
}
.welcome h1 span {
  color: #77dcff;
}
.welcome > p {
  font-size: 13px;
  line-height: 1.7;
  color: #758f9f;
}
.suggestions {
  margin-top: 24px;
  gap: 8px;
}
.suggestions button {
  font-size: 12px;
  background: #101d28;
  border: 1px solid #243541;
  padding: 10px 15px;
  border-radius: 22px;
  color: #a2b7c5;
  gap: 9px;
}
.suggestions button span {
  color: #7acfea;
}
.suggestions button:hover {
  border-color: #55839a;
  background: #172c3b;
}
.compose-area {
  padding: 12px 0 0;
  background: none;
}
#chat-form {
  background: #121f2b;
  border: 1px solid #304553;
  border-radius: 22px;
  padding: 18px 19px 13px;
  box-shadow: 0 16px 65px #0005;
}
#chat-form:focus-within {
  border-color: #6592a8;
  box-shadow: 0 0 0 3px #7acfea08;
}
textarea {
  font-size: 14px;
  min-height: 44px;
  line-height: 1.65;
  color: #e2eff5;
}
textarea::placeholder {
  color: #698595;
}
.compose-actions {
  margin-top: 8px;
  gap: 9px;
}
.context-toggle {
  border: 0;
  background: #203442;
  color: #95c5d8;
  font-size: 10px;
  padding: 7px 10px;
}
.context-toggle i {
  background: #68d4f4;
}
.image-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: #809cab;
  font-size: 11px;
  padding: 6px;
}
.icon-button {
  width: 34px;
  height: 34px;
  color: #a5c2d3;
}
.send {
  width: 35px;
  height: 35px;
  background: #8cdcff;
  color: #092436;
}
.send:hover {
  background: #c2edff;
}
.send:disabled {
  background: #385464;
  color: #98b2c1;
}
.compose-footer {
  font-size: 9px;
  margin: 12px 7px 0;
  color: #526f80;
}
.voice-switch {
  font-size: 10px;
  color: #7b99aa;
}
.context-disclosure {
  font-size: 9px;
  color: #4d697b;
  margin: 10px 0 0;
}
.context-disclosure button {
  font-size: 9px;
  color: #7da3b6;
}
.plan-indicator {
  font-size: 9px;
}
.notice {
  font-size: 12px;
}
.system-strip {
  display: none;
}
.privacy {
  font:
    8px ui-monospace,
    monospace;
  color: #3d5a6c;
  letter-spacing: 1.5px;
}
footer {
  justify-content: center;
  padding: 13px 20px 17px;
}
body[data-conversation="true"] .core {
  height: 80px;
  min-height: 80px;
  flex: 0;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-start;
  border-bottom: 1px solid #192b39;
  margin-bottom: 8px;
}
body[data-conversation="true"] .orb-stage {
  height: 78px;
  width: 65px;
  margin: 0;
}
body[data-conversation="true"] .doge-halo {
  width: 50px;
  height: 50px;
  top: 15px;
  filter: blur(18px);
}
body[data-conversation="true"] .doge-spark {
  display: none;
}
body[data-conversation="true"] .core-caption {
  position: static;
  margin: 0;
  text-align: left;
}
body[data-conversation="true"] .core-caption #state {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.messages {
  padding: 20px 3px 8px;
}
.message-label {
  font-size: 9px;
  color: #77c5e2;
}
.message-content {
  font-size: 14px;
  color: #cbdce7;
  line-height: 1.85;
}
.message.user .message-content {
  background: #192d3c;
  border-color: #284253;
  font-size: 14px;
  color: #d5e8f3;
  padding: 11px 16px;
}
.replay {
  font-size: 11px;
  color: #7c9eaf;
}
.reference-card {
  background: #101f2b;
  border-color: #263e4d;
}
.reference-copy h3 {
  font-size: 14px;
}
.reference-copy p {
  font-size: 12px;
}
.reference-copy > a {
  font-size: 11px;
}
.image-credit {
  font-size: 10px;
}
.reference-copy .source-label {
  font-size: 9px;
}
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 17px;
}
.web-image {
  margin: 0;
  min-width: 0;
  border: 1px solid #263e4d;
  border-radius: 13px;
  overflow: hidden;
  background: #101f2b;
}
.web-image button {
  display: block;
  width: 100%;
  padding: 0;
  background: #0a1620;
  border: 0;
  cursor: zoom-in;
}
.web-image img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  transition: transform 0.3s;
}
.web-image button:hover img {
  transform: scale(1.04);
}
.web-image figcaption {
  font-size: 10px;
  line-height: 1.5;
  padding: 10px;
  color: #a4bccb;
}
.web-image figcaption strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.web-image a {
  display: block;
  color: #719cad;
  font-size: 9px;
  margin-top: 5px;
}
.image-error {
  padding: 26px 10px;
  color: #688594;
  font-size: 11px;
}
.live-button {
  background: #132b3a;
  border: 1px solid #375e72;
  border-radius: 28px;
  color: #b5e5f8;
  padding: 13px 23px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.live-button[aria-pressed="true"] {
  background: #173c3d;
  border-color: #69d7c3;
  color: #a4f4df;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #75ddff;
  border-radius: 50%;
}
.live-button[aria-pressed="true"] .live-dot {
  background: #83f0d3;
  animation: spark 1s infinite;
}
.talk-button {
  background: none;
  border: 0;
  color: #83a5b7;
  font-size: 12px;
  padding: 8px;
}
.voice-controls {
  gap: 8px;
}
.voice-controls > span {
  font-size: 10px;
}
.wave i {
  background: #73dbff;
}
.wave {
  margin-top: 14px;
}
body[data-view="voice"] .core {
  flex: 1;
  height: auto;
  min-height: 250px;
  flex-direction: column;
  border: 0;
  justify-content: center;
  gap: 0;
  margin: 0;
}
body[data-view="voice"] .orb-stage {
  width: 260px;
  height: 300px;
}
body[data-view="voice"] .doge-halo {
  width: 200px;
  height: 200px;
  filter: blur(40px);
  top: 50px;
}
body[data-view="voice"] .core-caption {
  text-align: center;
  margin-top: 12px;
}
body[data-view="voice"] .core-caption #state {
  font-size: 9px;
}
body[data-view="voice"] .core-caption h2 {
  font-size: 25px;
  color: #d9ebf4;
}
body[data-view="voice"] .core-caption p {
  font-size: 12px;
  color: #6e92a7;
}
body[data-view="voice"] .conversation {
  flex-shrink: 0;
}
body[data-view="voice"] #input-hint {
  font-size: 0;
}
body[data-view="voice"] #input-hint:after {
  content: "Type anytime to join the conversation";
  font-size: 9px;
}
body[data-state="thinking"] .doge {
  animation: doge-think 1.7s ease-in-out infinite;
}
body[data-state="listening"] .doge {
  transform: scale(calc(1 + var(--level, 0) * 0.08));
  filter: drop-shadow(0 0 calc(12px + var(--level, 0) * 30px) #45d9ff66);
  animation: none;
}
body[data-state="speaking"] .doge {
  animation: doge-think 0.8s ease-in-out infinite;
}
body[data-state="transcribing"] .doge {
  animation: doge-think 1.2s ease-in-out infinite;
}
#image-viewer {
  max-width: 920px;
  padding: 20px;
  background: #09141e;
}
#image-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
}
#image-full {
  display: block;
  max-width: 100%;
  width: 100%;
  height: min(65dvh, 700px);
  object-fit: contain;
}
#image-caption {
  font-size: 12px;
  line-height: 1.7;
}
#image-source {
  font-size: 12px;
  color: #81d2ef;
}
#image-search-dialog {
  background: #101e29;
  max-width: 480px;
}
#image-search-dialog .settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#image-search-dialog h2 {
  margin: 0;
  font-size: 22px;
}
#image-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #172b39;
  border: 1px solid #375265;
  box-shadow: none;
}
#image-query {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: #d9effa;
  font: 13px inherit;
  padding: 5px;
}
#image-search-dialog .search-credit {
  font-size: 10px;
  color: #698b9f;
}
.settings-description {
  font-size: 12px;
}
.voice-info p {
  font-size: 11px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #7ad9ff;
  outline-offset: 4px;
}
@keyframes doge-float {
  50% {
    transform: translateY(-7px);
    filter: drop-shadow(0 0 28px #28b8ff36);
  }
}
@keyframes doge-think {
  50% {
    filter: brightness(1.2) drop-shadow(0 0 25px #28b8ff66);
    transform: translateY(-3px);
  }
}
@keyframes spark {
  50% {
    opacity: 0.2;
  }
}
@media (min-height: 950px) {
  .orb-stage {
    height: 340px;
    width: 290px;
  }
}
@media (max-height: 780px) {
  .orb-stage {
    height: 210px;
    width: 190px;
  }
  .welcome {
    margin-top: 12px;
  }
  .welcome h1 {
    font-size: 28px;
  }
  .suggestions {
    margin-top: 17px;
  }
  .core {
    min-height: 220px;
  }
  body[data-view="voice"] .orb-stage {
    height: 200px;
    width: 185px;
  }
  body[data-view="voice"] .core-caption h2 {
    font-size: 21px;
    margin: 10px 0 5px;
  }
  body[data-view="voice"] .voice-controls {
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  header {
    height: 66px;
    padding: 0 18px;
  }
  .app-title > span {
    display: none;
  }
  .rail {
    height: 66px;
    padding: 0 15px;
    gap: 7px;
  }
  .rail-button {
    width: 32px;
    height: 32px;
  }
  .header-right {
    margin-right: 124px;
  }
  .model-pill {
    max-width: 100px;
    font-size: 9px;
    padding: 5px;
  }
  main {
    padding: 0 16px;
  }
  .app-shell {
    margin-left: 0;
  }
  .connect-banner {
    font-size: 10px;
  }
  .connect-banner > span {
    max-width: 140px;
  }
  .connect-banner button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .core {
    min-height: 210px;
  }
  .orb-stage {
    height: 225px;
    width: 205px;
  }
  .welcome h1 {
    font-size: 27px;
    max-width: none;
  }
  .welcome > p {
    font-size: 11px;
  }
  .suggestions {
    gap: 6px;
    max-width: none;
    margin-top: 18px;
  }
  .suggestions button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .suggestions button span {
    font-size: 12px;
  }
  textarea {
    font-size: 13px;
  }
  #chat-form {
    padding: 15px 13px 11px;
    border-radius: 20px;
  }
  .context-toggle {
    font-size: 9px;
  }
  .image-search span {
    display: none;
  }
  .image-search {
    font-size: 18px;
  }
  .compose-footer {
    font-size: 8px;
    gap: 8px;
  }
  .voice-switch {
    font-size: 9px;
  }
  .context-disclosure,
  .context-disclosure button {
    font-size: 8px;
  }
  .image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .web-image img {
    height: 130px;
  }
  footer {
    padding: 12px;
  }
  .privacy {
    display: block;
    font-size: 7px;
  }
  .message-content,
  .message.user .message-content {
    font-size: 13px;
  }
  body[data-view="voice"] .core-caption h2 {
    font-size: 22px;
  }
  body[data-view="voice"] .core-caption p {
    font-size: 11px;
  }
  body[data-view="voice"] .voice-controls > span {
    font-size: 9px;
  }
}
@media (max-height: 650px) {
  .orb-stage {
    height: 145px;
    width: 140px;
  }
  .welcome > p {
    display: none;
  }
  .core {
    min-height: 160px;
  }
  .welcome h1 {
    font-size: 24px;
  }
  .suggestions {
    margin-top: 12px;
  }
  .core-caption {
    margin-top: 0;
  }
  .welcome {
    margin-top: 10px;
  }
  body[data-view="voice"] .orb-stage {
    height: 130px;
    width: 130px;
  }
  body[data-view="voice"] .core-caption p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .doge,
  .doge-spark {
    animation: none !important;
    transition: none !important;
  }
}
.rail-bottom {
  margin-top: 0;
  flex-direction: row;
}
.core,
.orb-stage {
  isolation: auto;
}
.doge {
  position: absolute;
  inset: 0;
  min-height: 0;
  min-width: 0;
}
#image-search {
  flex-shrink: 0;
}
body[data-view="voice"] .core {
  min-height: 0;
}
body[data-view="voice"] .voice-controls {
  flex-shrink: 0;
}
body[data-view="voice"] .wave {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  body[data-view="voice"] .orb-stage {
    height: 210px;
    width: 190px;
  }
  body[data-view="voice"] .core-caption {
    margin-top: 0;
  }
  body[data-view="voice"] .core-caption h2 {
    margin: 10px 0 6px;
  }
  .voice-controls {
    margin-top: 15px;
  }
  body[data-view="voice"] .wave {
    margin-top: 8px;
  }
}
@media (max-height: 720px) {
  body[data-view="voice"] .orb-stage {
    height: 130px;
    width: 125px;
  }
  body[data-view="voice"] .core-caption p,
  body[data-view="voice"] .voice-controls > span,
  body[data-view="voice"] .wave {
    display: none;
  }
  body[data-view="voice"] .core-caption h2 {
    font-size: 19px;
    margin: 6px 0;
  }
  body[data-view="voice"] .voice-controls {
    margin-top: 8px;
    gap: 4px;
  }
  body[data-view="voice"] .live-button {
    padding: 10px 18px;
  }
}
.doge {
  mask-image:
    linear-gradient(transparent, #000 8%, #000 92%, transparent),
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
body[data-view="voice"] .conversation {
  flex: 0 0 auto;
}
.live-end {
  background: #153b3e;
  color: #a8eddf;
  border: 1px solid #376b68;
  border-radius: 20px;
  font-size: 10px;
  padding: 7px 10px;
  margin-left: auto;
}
/* Answer surfaces */
.source-details {
  margin: 14px 0 12px;
  border-top: 1px solid #243b49;
  padding-top: 12px;
  color: #7e9cac;
  font-size: 11px;
}
.source-details summary {
  cursor: pointer;
  width: fit-content;
}
.source-details .reference-tray {
  margin: 14px 0 0;
}
.source-details .reference-copy p {
  font-size: 11px;
}
.visual-eyebrow {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1.4px;
  color: #83b1c5;
  line-height: 1.6;
}
.weather-card,
.information-card {
  background: linear-gradient(145deg, #132d40, #101e2b 60%, #101c27);
  border: 1px solid #345468;
  border-radius: 22px;
  overflow: hidden;
  margin: 0 0 20px;
  padding: 26px;
  color: #ddebf5;
  box-shadow: 0 16px 45px #0002;
}
.weather-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weather-heading h3 {
  font-size: 25px;
  font-weight: 500;
  margin: 8px 0 3px;
  letter-spacing: -0.7px;
}
.weather-region {
  color: #83a2b5;
  font-size: 12px;
}
.weather-icon {
  font-size: 54px;
  filter: drop-shadow(0 0 20px #f6da6b20);
}
.weather-hero {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 20px 0;
}
.weather-temperature {
  display: flex;
  align-items: flex-start;
  letter-spacing: -3px;
  line-height: 1;
}
.weather-temperature strong {
  font-size: 80px;
  font-weight: 400;
}
.weather-temperature > span {
  font-size: 27px;
  color: #7eb9d2;
  letter-spacing: -1px;
  margin: 10px 0 0 7px;
}
.weather-condition {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.weather-condition strong {
  font-size: 17px;
  font-weight: 500;
}
.weather-condition > span {
  font-size: 12px;
  color: #87a9bc;
}
.weather-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-block: 1px solid #2b4556;
}
.weather-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.weather-metrics span {
  font-size: 11px;
  color: #7f9ead;
}
.weather-metrics strong {
  font-size: 17px;
  font-weight: 500;
}
.weather-chart {
  margin: 23px 0 20px;
}
.weather-chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.weather-chart-heading strong {
  font-size: 12px;
  font-weight: 500;
}
.weather-chart-detail {
  font-size: 10px;
  color: #86acbf;
}
.weather-chart svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
  overflow: visible;
}
.weather-chart circle {
  cursor: crosshair;
  outline: none;
}
.weather-chart circle:hover,
.weather-chart circle:focus {
  r: 7;
  fill: #e6faff;
}
.weather-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.weather-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 5px;
  gap: 7px;
  background: #10202c;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #a7c3d3;
  font-size: 10px;
}
.weather-day[aria-pressed="true"] {
  background: #204055;
  border-color: #4d8da9;
  color: #def5ff;
}
.weather-day:hover {
  border-color: #467a91;
}
.weather-day .day-icon {
  font-size: 23px;
  line-height: 1.4;
}
.weather-day strong {
  font-size: 17px;
  font-weight: 500;
}
.weather-day .day-low {
  font-size: 12px;
  color: #698c9f;
}
.weather-day small {
  font-size: 8px;
  color: #80b2ca;
  white-space: nowrap;
}
.weather-credit {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  font-size: 9px;
  line-height: 1.6;
  color: #597f95;
}
.weather-credit a {
  color: #88c2d8;
  white-space: nowrap;
}
.information-card {
  background: linear-gradient(135deg, #142a39, #101e2a 70%);
  padding: 25px;
}
.info-hero {
  display: flex;
  align-items: start;
  gap: 24px;
}
.info-intro {
  flex: 1;
  min-width: 0;
}
.info-intro h3 {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 10px 0 14px;
}
.info-summary {
  font-size: 14px;
  line-height: 1.85;
  color: #aac5d5;
  margin: 0;
}
.info-image {
  width: 180px;
  flex-shrink: 0;
  margin: 0;
}
.info-image img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: contain;
  background: #09151f;
  border-radius: 12px;
}
.info-image a {
  display: block;
  font-size: 8px;
  color: #668fa3;
  margin: 7px 1px 0;
  line-height: 1.5;
}
.info-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #2b4352;
  border: 1px solid #2b4352;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 23px;
}
.info-facts > div {
  padding: 15px;
  background: #142633;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-facts span {
  font-size: 10px;
  color: #749cb1;
}
.info-facts strong {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.info-sections {
  display: grid;
  gap: 17px;
  margin-top: 22px;
}
.info-sections h4,
.info-chart h4 {
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 7px;
  color: #bcdce9;
}
.info-sections p {
  font-size: 12px;
  line-height: 1.85;
  color: #8faebf;
  margin: 0;
}
.info-chart {
  margin-top: 23px;
  padding: 20px;
  background: #0d1c27;
  border-radius: 12px;
}
.info-chart-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  margin: 14px 0 0;
}
.info-chart-row > span {
  color: #85a6b9;
  overflow-wrap: anywhere;
}
.info-chart-row strong {
  font-size: 10px;
  font-weight: 500;
}
.info-chart-row meter {
  width: 100%;
  height: 12px;
  accent-color: #7cdaff;
}
.info-chart-row meter::-webkit-meter-bar {
  background: #203746;
  border: 0;
}
.info-chart-row meter::-webkit-meter-optimum-value {
  background: #70cbed;
}
.has-info-card > .message-content {
  display: none;
}
.message:has(.weather-card) > .message-content {
  font-size: 13px;
  color: #9bbccc;
  line-height: 1.8;
  padding: 0 4px;
}
@media (max-width: 600px) {
  .weather-card,
  .information-card {
    padding: 18px;
    border-radius: 18px;
  }
  .weather-heading h3 {
    font-size: 22px;
  }
  .weather-icon {
    font-size: 43px;
  }
  .visual-eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .weather-temperature strong {
    font-size: 65px;
  }
  .weather-temperature > span {
    font-size: 22px;
  }
  .weather-hero {
    gap: 15px;
    margin: 18px 0;
  }
  .weather-condition strong {
    font-size: 14px;
  }
  .weather-condition > span {
    font-size: 10px;
  }
  .weather-metrics {
    gap: 8px;
    padding: 14px 0;
  }
  .weather-metrics span {
    font-size: 9px;
  }
  .weather-metrics strong {
    font-size: 14px;
  }
  .weather-chart-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .weather-chart {
    margin-top: 18px;
  }
  .weather-chart-heading strong {
    font-size: 11px;
  }
  .weather-chart-detail {
    font-size: 9px;
  }
  .weather-days {
    gap: 4px;
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(55px, 1fr));
    padding-bottom: 5px;
  }
  .weather-day {
    padding: 10px 5px;
    font-size: 9px;
  }
  .weather-day strong {
    font-size: 15px;
  }
  .weather-day .day-icon {
    font-size: 20px;
  }
  .weather-credit {
    font-size: 8px;
    flex-wrap: wrap;
  }
  .info-hero {
    flex-direction: column;
    gap: 17px;
  }
  .info-image {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .info-image img {
    width: 100px;
    height: 95px;
    flex-shrink: 0;
  }
  .info-image a {
    max-width: 160px;
    font-size: 9px;
  }
  .info-intro h3 {
    font-size: 25px;
  }
  .info-summary {
    font-size: 13px;
    line-height: 1.8;
  }
  .info-facts > div {
    padding: 12px;
  }
  .info-facts strong {
    font-size: 13px;
  }
  .info-sections p {
    font-size: 12px;
  }
  .info-chart {
    padding: 14px;
  }
  .info-chart-row {
    grid-template-columns: 65px 1fr;
    gap: 6px;
  }
  .info-chart-row strong {
    grid-column: 2;
  }
  .info-facts {
    margin-top: 18px;
  }
}
/* Native maps, local planner, and formatted fallback answers. */
.rendered-answer {
  white-space: normal;
}
.rendered-answer p {
  margin: 0 0 14px;
}
.rendered-answer p:last-child {
  margin-bottom: 0;
}
.rendered-answer ul,
.rendered-answer ol {
  padding-left: 22px;
  margin: 10px 0 16px;
}
.rendered-answer li {
  margin: 5px 0;
}
.rendered-answer h1,
.rendered-answer h2,
.rendered-answer h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 20px 0 12px;
}
.rendered-answer h4 {
  font-size: 15px;
  margin: 16px 0 8px;
}
.rendered-answer a {
  color: #88d9fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rendered-answer blockquote {
  border-left: 2px solid #53798c;
  padding-left: 15px;
  margin: 15px 0;
  color: #8fbdcf;
}
.rendered-answer pre {
  white-space: pre;
  overflow: auto;
  background: #0b1822;
  border: 1px solid #284453;
  padding: 15px;
  border-radius: 12px;
  font-size: 12px;
}
.rendered-answer :not(pre) > code {
  background: #1c3544;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.9em;
}
.answer-table-scroll {
  overflow-x: auto;
  margin: 15px 0 20px;
  border: 1px solid #315062;
  border-radius: 12px;
}
.rendered-answer table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  min-width: 250px;
}
.rendered-answer th {
  background: #1b3546;
  color: #c2e3f1;
  font-weight: 500;
  text-align: left;
}
.rendered-answer th,
.rendered-answer td {
  padding: 12px 15px;
  border-bottom: 1px solid #294554;
  vertical-align: top;
}
.rendered-answer tr:last-child td {
  border-bottom: 0;
}
.rendered-answer tr:nth-child(even) {
  background: #10222f;
}
.answer-image {
  display: block;
  max-width: 100%;
  max-height: 430px;
  object-fit: contain;
  margin: 14px 0;
  border-radius: 14px;
  background: #0c1923;
}
.image-load-note {
  font-size: 11px;
  color: #92aab8;
}
.map-card,
.planner-card {
  padding: 23px;
  background: linear-gradient(135deg, #142b3b, #101d28);
  border: 1px solid #34576d;
  border-radius: 20px;
  margin-bottom: 18px;
  color: #dcecf5;
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.panel-heading h3 {
  font-size: 27px;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 9px 0 8px;
}
.panel-heading p {
  font-size: 12px;
  line-height: 1.7;
  color: #88a9bc;
  margin: 0;
  max-width: 480px;
}
.panel-link {
  background: none;
  border: 0;
  color: #8bcce5;
  font-size: 11px;
  cursor: pointer;
  padding: 5px 0;
  white-space: nowrap;
}
.map-surface {
  height: 380px;
  width: 100%;
  border-radius: 14px;
  isolation: isolate;
  background: #c4cdd0;
  color: #172c38;
  z-index: 0;
}
.map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f97ad;
  font-size: 10px;
  margin: 12px 0 0;
}
.map-surface .leaflet-control-zoom a {
  background: #102839;
  color: #c8eafb;
  border-color: #365264;
}
.map-surface .leaflet-control-zoom a:hover {
  background: #27495e;
}
.map-surface .leaflet-control-attribution {
  font-size: 9px;
  color: #315167;
  background: #fffffff0;
}
.map-surface .leaflet-control-attribution a {
  color: #1a506d;
}
.map-surface .leaflet-popup-content-wrapper {
  background: #142d3f;
  color: #d2ebf5;
}
.map-surface .leaflet-popup-tip {
  background: #142d3f;
}
.planner-local-badge {
  padding: 7px 10px;
  background: #2b302c;
  border: 1px solid #4a4d3b;
  border-radius: 20px;
  font-size: 9px;
  white-space: nowrap;
  color: #c2bd94;
  margin-top: 4px;
}
.planner-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.planner-range {
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}
.planner-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}
.planner-nav button {
  background: #182e3e;
  border: 1px solid #2d5066;
  border-radius: 7px;
  color: #a4c8dc;
  font-size: 11px;
  height: 29px;
  min-width: 28px;
  padding: 0 8px;
}
.planner-add {
  background: #93d9f2;
  border: 1px solid #8bd8f5;
  border-radius: 9px;
  padding: 8px 12px;
  color: #102936;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.planner-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(83px, 1fr));
  overflow-x: auto;
  border: 1px solid #2f4c5f;
  border-radius: 13px;
}
.planner-day {
  min-width: 0;
  min-height: 225px;
  border-right: 1px solid #2b4659;
  background: #10222f;
  display: flex;
  flex-direction: column;
  padding: 12px 7px 8px;
}
.planner-day:last-child {
  border: 0;
}
.planner-day-today {
  background: #183447;
}
.planner-day-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.planner-day-heading > span {
  font-size: 10px;
  color: #729bb1;
}
.planner-day-heading > strong {
  font-size: 22px;
  font-weight: 400;
}
.planner-day-today .planner-day-heading > strong {
  color: #93e0ff;
}
.planner-day-plans {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.planner-empty {
  font-size: 9px;
  color: #496e84;
  text-align: center;
  padding-top: 10px;
}
.planner-day-add {
  background: none;
  border: 1px dashed #31566c;
  border-radius: 7px;
  height: 25px;
  color: #6fa8c7;
  font-size: 16px;
  margin-top: 15px;
}
.planner-day-add:hover {
  background: #24475b;
  color: #c2edff;
}
.planner-event {
  position: relative;
  background: #24536b;
  border: 1px solid #396d88;
  border-radius: 8px;
  padding: 8px 5px;
  overflow-wrap: anywhere;
}
.planner-event time {
  display: block;
  font:
    8px ui-monospace,
    monospace;
  color: #9cd5f0;
  margin-bottom: 5px;
}
.planner-event strong {
  font-size: 10px;
  line-height: 1.6;
  font-weight: 500;
  display: block;
  color: #d0effb;
}
.planner-remove {
  border: 0;
  background: none;
  color: #9eb8c5;
  position: absolute;
  right: 1px;
  top: 0;
  font-size: 12px;
  line-height: 1;
  padding: 2px;
}
.planner-editor {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 10px;
  padding: 16px;
  margin-top: 16px;
  border-radius: 12px;
  background: #132d3f;
  border: 1px solid #35586e;
  box-shadow: none;
}
.planner-editor label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #7fa8be;
}
.planner-editor input {
  min-width: 0;
  width: 100%;
  background: #0b1e2c;
  border: 1px solid #36566a;
  border-radius: 7px;
  color: #c3e2f1;
  padding: 9px 8px;
  font: 11px inherit;
  outline-color: #83d1f3;
}
.planner-editor-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 4px;
}
.planner-status {
  font-size: 10px;
  line-height: 1.8;
  color: #7d9dae;
  margin: 15px 0 7px;
}
.planner-foot {
  font:
    8px ui-monospace,
    monospace;
  color: #4d758d;
  letter-spacing: 0.5px;
}
.message:has(.map-card) > .message-content,
.message:has(.planner-card) > .message-content {
  font-size: 12px;
  color: #8aafc3;
  line-height: 1.8;
}
@media (max-width: 600px) {
  .map-card,
  .planner-card {
    padding: 16px;
    border-radius: 17px;
  }
  .panel-heading {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
  }
  .panel-heading h3 {
    font-size: 24px;
  }
  .panel-heading p {
    font-size: 11px;
  }
  .panel-link {
    font-size: 10px;
  }
  .map-surface {
    height: 330px;
    border-radius: 11px;
  }
  .map-foot {
    font-size: 8px;
  }
  .planner-local-badge {
    font-size: 8px;
    padding: 5px 8px;
  }
  .planner-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .planner-range {
    font-size: 12px;
    flex-basis: 100%;
  }
  .planner-add {
    margin-left: auto;
    font-size: 10px;
  }
  .planner-grid {
    grid-template-columns: repeat(7, 100px);
  }
  .planner-day {
    min-height: 210px;
  }
  .planner-editor {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }
  .planner-editor label:first-child {
    grid-column: 1/-1;
  }
  .planner-editor input {
    font-size: 12px;
  }
  .planner-status {
    font-size: 9px;
  }
  .rendered-answer th,
  .rendered-answer td {
    padding: 10px;
    font-size: 11px;
  }
  .answer-image {
    max-height: 300px;
  }
}
