:root {
  --theme-bg: #222;
  --theme-bg-elevated: #2a2a2a;
  --theme-bg-hover: #333;
  --theme-text: #999;
  --theme-text-strong: #eee;
  --theme-border: #444;
  --theme-header-border: #666;
  --cta-bg-green: #6ed06e; }

html.theme-light {
  --theme-bg: #f0f0f0;
  --theme-bg-elevated: #fff;
  --theme-bg-hover: #e5e5e5;
  --theme-text: #2a2a2a;
  --theme-text-strong: #111;
  --theme-border: #bbb;
  --theme-header-border: #ccc;
  --cta-bg-blue: #5c9fd9;
  --cta-bg-red: #c97a7a;
  --cta-bg-green: #52b852; }

html.theme-light .page-main,
html.theme-light .block-container,
html.theme-light .dashboard-libraries,
html.theme-light .dashboard-overview,
html.theme-light .dashboard-chatspaces,
html.theme-light .dashboard-api,
html.theme-light .dashboard-billing,
html.theme-light .dashboard-chat,
html.theme-light .home,
html.theme-light .shared-chat {
  background: var(--theme-bg);
  color: var(--theme-text); }

html.theme-light .page-header .logo,
html.theme-light .page-header .page-header__link {
  color: var(--theme-text-strong); }

html.theme-light .home__hero {
  background-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(92, 159, 217, 0.15) 0%, transparent 50%), linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px); }

html.theme-light .home [class*="section"] {
  background: none;
  border: none; }

html.theme-light input,
html.theme-light select,
html.theme-light textarea,
html.theme-light button:not(.page-header__link):not(.page-header__theme-btn):not(.billing-checkout-btn):not(.chat-form__submit):not(.chat-conversations__new) {
  background-color: var(--theme-bg-elevated);
  color: var(--theme-text-strong);
  border-color: var(--theme-border); }

html.theme-light .dashboard-overview__btn,
html.theme-light .dashboard-overview__link {
  background: var(--cta-bg-blue);
  color: #fff;
  border-color: var(--cta-bg-blue); }

html.theme-light .dashboard-overview__btn:hover,
html.theme-light .dashboard-overview__link:hover {
  background: #4a8fc9;
  color: #fff;
  border-color: #4a8fc9; }

html.theme-light .dashboard-overview__btn--primary,
html.theme-light .dashboard-overview__btn--primary:hover {
  background: var(--cta-bg-blue);
  color: #fff;
  border-color: var(--cta-bg-blue); }

html.theme-light .dashboard-libraries .libraries-create-form__submit,
html.theme-light .dashboard-libraries .libraries-upload__btn,
html.theme-light .dashboard-libraries .libraries-list__actions .libraries-list__rename,
html.theme-light .dashboard-libraries .libraries-table__actions .libraries-table__rename {
  background: var(--cta-bg-blue);
  color: #fff;
  border-color: var(--cta-bg-blue); }

html.theme-light .dashboard-libraries .libraries-create-form__submit:hover,
html.theme-light .dashboard-libraries .libraries-upload__btn:hover,
html.theme-light .dashboard-libraries .libraries-list__actions .libraries-list__rename:hover,
html.theme-light .dashboard-libraries .libraries-table__actions .libraries-table__rename:hover {
  background: #4a8fc9;
  color: #fff;
  border-color: #4a8fc9; }

html.theme-light .dashboard-libraries .libraries-list__actions .libraries-list__delete,
html.theme-light .dashboard-libraries .libraries-table__actions .libraries-table__delete {
  background: var(--cta-bg-red);
  color: #fff;
  border-color: var(--cta-bg-red); }

html.theme-light .dashboard-libraries .libraries-list__actions .libraries-list__delete:hover,
html.theme-light .dashboard-libraries .libraries-table__actions .libraries-table__delete:hover {
  background: #b86a6a;
  color: #fff;
  border-color: #b86a6a; }

html.theme-light .dashboard-chatspaces .chatspaces-form__btn,
html.theme-light .dashboard-chatspaces .chatspaces-list__actions .chatspaces-list__test,
html.theme-light .dashboard-chatspaces .chatspaces-list__actions .chatspaces-list__visit {
  background: var(--cta-bg-blue);
  color: #fff;
  border-color: var(--cta-bg-blue); }

html.theme-light .dashboard-chatspaces .chatspaces-form__btn:hover,
html.theme-light .dashboard-chatspaces .chatspaces-list__actions .chatspaces-list__test:hover,
html.theme-light .dashboard-chatspaces .chatspaces-list__actions .chatspaces-list__visit:hover {
  background: #4a8fc9;
  color: #fff;
  border-color: #4a8fc9; }

html.theme-light .dashboard-chatspaces .chatspaces-list__actions .chatspaces-list__delete {
  background: var(--cta-bg-red);
  color: #fff;
  border-color: var(--cta-bg-red); }

html.theme-light .dashboard-chatspaces .chatspaces-list__actions .chatspaces-list__delete:hover {
  background: #b86a6a;
  color: #fff;
  border-color: #b86a6a; }

html.theme-light .dashboard-api .api-key-form button,
html.theme-light .dashboard-api .api-key-result button {
  background: var(--cta-bg-blue);
  color: #fff;
  border-color: var(--cta-bg-blue); }

html.theme-light .dashboard-api .api-key-form button:hover,
html.theme-light .dashboard-api .api-key-result button:hover {
  background: #4a8fc9;
  color: #fff;
  border-color: #4a8fc9; }

html.theme-light .dashboard-billing .billing-option--tile:has(input:checked) {
  border-color: var(--cta-bg-blue);
  background: rgba(92, 159, 217, 0.12); }

html.theme-light .dashboard-billing .billing-option__discount {
  background: var(--cta-bg-green);
  color: #111; }

html.theme-light .dashboard-billing .billing-checkout-btn {
  background: var(--cta-bg-green);
  color: #fff;
  border-color: var(--cta-bg-green); }

html.theme-light .dashboard-billing .billing-checkout-btn:hover {
  background: #45a045;
  color: #fff;
  border-color: #45a045; }

html.theme-light .dashboard-chat .chat-message--user {
  background: var(--cta-bg-blue);
  color: #fff; }

html.theme-light .dashboard-chat .chat-form__submit,
html.theme-light .dashboard-chat .chat-conversations__new {
  background: var(--cta-bg-blue);
  color: #fff; }

html.theme-light .dashboard-chat .chat-form__submit:hover,
html.theme-light .dashboard-chat .chat-conversations__new:hover {
  background: #4a8fc9;
  color: #fff; }

html.theme-light .dashboard-chat .chat-conversations__link--active {
  border-left-color: var(--cta-bg-blue); }

html.theme-light .dashboard-chat .chat-modal__btn--primary {
  background: var(--cta-bg-blue);
  color: #fff; }

html.theme-light .dashboard-chat .chat-modal__btn--primary:hover {
  background: #4a8fc9;
  color: #fff; }

html.theme-light .dashboard-chat .chat-message__content code {
  background: rgba(0, 0, 0, 0.06); }

html.theme-light [class*="__title"],
html.theme-light [class*="__name"],
html.theme-light h1,
html.theme-light h2,
html.theme-light h3 {
  color: var(--theme-text-strong); }

html.theme-light table,
html.theme-light th,
html.theme-light td,
html.theme-light .libraries-create,
html.theme-light .libraries-in-progress,
html.theme-light .dashboard-overview__section,
html.theme-light [class*="segment"],
html.theme-light [class*="section"] {
  border-color: var(--theme-border);
  background: var(--theme-bg-elevated); }

html.theme-light .libraries-in-progress__content,
html.theme-light .libraries-list-hint,
html.theme-light .libraries-intro,
html.theme-light .libraries-list-title,
html.theme-light .libraries-create__title,
html.theme-light .libraries-list__name,
html.theme-light .libraries-table th,
html.theme-light .libraries-table td,
html.theme-light .libraries-table__name,
html.theme-light .libraries-table__summary,
html.theme-light .libraries-table__library,
html.theme-light .libraries-table__type,
html.theme-light .libraries-table__updated,
html.theme-light .libraries-in-progress__title,
html.theme-light .libraries-in-progress__doc-name,
html.theme-light .libraries-none,
html.theme-light .chatspaces-intro,
html.theme-light .chatspaces-create__title,
html.theme-light .chatspaces-form__libraries-title,
html.theme-light .chatspaces-form__libraries-blurb,
html.theme-light .chatspaces-list h2,
html.theme-light .chatspaces-list__title,
html.theme-light .chatspaces-list__meta,
html.theme-light .chatspaces-none,
html.theme-light .chatspaces-empty {
  color: var(--theme-text); }

html.theme-light .libraries-create-form__name,
html.theme-light .libraries-create-form__desc,
html.theme-light .chatspaces-form__label,
html.theme-light .chatspaces-form__library-name {
  color: var(--theme-text-strong); }

html {
  height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%; }

body {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  margin-top: 60px;
  height: calc(100dvh - 60px);
  box-sizing: border-box;
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-family: sans-serif;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none; }

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-header-border);
  background-color: var(--theme-bg-elevated); }
  @media (max-width: 768px) {
    .page-header {
      padding: 10px; } }
  .page-header .logo {
    float: left;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 40px;
    color: var(--theme-text-strong);
    text-decoration: none; }
    .page-header .logo .material-icons,
    .page-header .logo .material-symbols-outlined {
      margin-right: 0.4rem;
      font-size: 2rem;
      color: #6ed06e; }
    .page-header .logo .logo__text {
      display: inline; }
    .page-header .logo .logo__beta {
      font-size: 0.6em;
      font-weight: 500;
      color: var(--theme-text);
      margin-left: 0.15em;
      vertical-align: 0.55em;
      line-height: 1; }
  .page-header .page-header__brand {
    float: left;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 40px;
    color: var(--theme-text-strong); }
    .page-header .page-header__brand .material-icons,
    .page-header .page-header__brand .material-symbols-outlined {
      margin-right: 0.4rem;
      font-size: 2rem;
      color: #6ed06e; }
  .page-header .page-header__link {
    float: right;
    height: 20px;
    color: var(--theme-text-strong);
    background-color: var(--theme-bg-hover);
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    margin-left: 10px; }
    .page-header .page-header__link:hover {
      background-color: var(--theme-border);
      cursor: pointer; }
  .page-header .page-header__theme {
    float: right;
    margin-right: 10px; }
  .page-header .page-header__theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--theme-text-strong);
    cursor: pointer;
    border-radius: 0;
    margin-left: 10px; }
  .page-header .page-header__theme-btn:hover {
    background-color: var(--theme-bg-hover); }
  .page-header .page-header__theme-btn .material-icons,
  .page-header .page-header__theme-btn .material-symbols-outlined {
    font-size: 1.4rem; }
  .page-header .page-header__theme-btn--svg .theme-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center; }
    .page-header .page-header__theme-btn--svg .theme-icon svg {
      width: 1.4rem;
      height: 1.4rem; }
  .page-header .page-header__theme-btn--svg .theme-icon--light {
    display: inline-flex; }
  .page-header .page-header__theme-btn--svg .theme-icon--dark {
    display: none; }

html.theme-light .page-header__theme-btn--svg .theme-icon--light {
  display: none !important; }

html.theme-light .page-header__theme-btn--svg .theme-icon--dark {
  display: inline-flex !important; }

.block-container {
  position: relative;
  height: 100%;
  padding: 0;
  box-sizing: border-box; }

.page-main {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0;
  box-sizing: border-box;
  transform: translate(-50%, -50%); }
  @media (max-width: 768px) {
    .page-main {
      padding: 1rem; } }
.hello {
  text-align: center; }
  .hello h1 {
    margin: 0;
    font-size: 2rem;
    color: #eee; }
    @media (max-width: 768px) {
      .hello h1 {
        font-size: 1.5rem; } }
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/fonts/material/MaterialIcons-Regular.ttf") format("truetype"); }

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  display: inline-block;
  vertical-align: middle; }

.home {
  height: 100%;
  overflow-y: auto;
  padding: 0 1.5rem 4rem;
  box-sizing: border-box; }
  @media (max-width: 768px) {
    .home {
      padding: 0 1rem 3rem; } }
.home__hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 4rem;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: var(--theme-bg);
  background-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(80, 120, 180, 0.12) 0%, transparent 50%), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px; }

.home__hero-inner {
  max-width: 52rem;
  padding: 3rem 1.5rem;
  text-align: center; }
  @media (max-width: 768px) {
    .home__hero-inner {
      padding: 2.5rem 1rem; } }
.home__headline {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--theme-text-strong); }

.home__tagline {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--theme-text); }

.home__cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--cta-bg-green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: none; }
  .home__cta:hover {
    filter: brightness(1.08); }

.home__cta--secondary {
  background-color: transparent;
  color: var(--theme-text-strong);
  border: 2px solid var(--theme-border); }
  .home__cta--secondary:hover {
    background-color: var(--theme-bg-hover);
    border-color: var(--theme-header-border); }

.home__product,
.home__api,
.home__final {
  max-width: 1200px;
  margin: 0 auto 4rem; }

.home__markets {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 4rem;
  background-color: var(--theme-bg-elevated);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  box-sizing: border-box; }

.home__markets-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box; }
  @media (max-width: 768px) {
    .home__markets-inner {
      padding: 1.5rem 1rem; } }
.home__section-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-text-strong); }

.home__section-lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--theme-text); }

.home__features {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  list-style: disc; }

.home__feature {
  margin-bottom: 0.75rem;
  line-height: 1.55;
  color: var(--theme-text); }
  .home__feature strong {
    color: var(--theme-text-strong); }

.home__segments {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem; }

.home__segment {
  padding: 1.25rem;
  border: 1px solid var(--theme-border);
  background-color: var(--theme-bg-elevated); }

.home__segment-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-text-strong); }

.home__segment-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--theme-text); }

.home__final {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--theme-border); }

.home__final-text {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--theme-text); }

.home__icon {
  margin-right: 0.35em;
  opacity: 0.9; }
  .home__section-title .home__icon, .home__cta .home__icon, .home__cta--secondary .home__icon {
    margin-right: 0;
    margin-left: 0.35em; }

.login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem; }

.login__card {
  width: 100%;
  max-width: 22rem;
  padding: 2rem;
  background-color: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border);
  box-sizing: border-box; }

.login__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--theme-text-strong); }

.login__subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--theme-text); }

.login__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; }

.login__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: filter 0.15s ease; }
  .login__btn:hover {
    filter: brightness(1.05); }

.login__btn-icon {
  font-size: 1.2em; }

.login__btn--google {
  background-color: #fff;
  color: #3c4043;
  border: 1px solid #dadce0; }
  .login__btn--google .login__btn-icon {
    color: #4285f4; }

.login__btn--github {
  background-color: #24292e;
  color: #fff; }
  .login__btn--github:hover {
    filter: brightness(1.12); }
