@media (max-width: 900px) {

  #global-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 4px;
  }

  #global-header>h1,
  #global-header>nav {
    width: 100%;
  }

  #global-header>h1 {
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  #global-header>nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    gap: 4px 12px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  #global-header>nav a {
    flex: 0 0 auto !important;
  }

  header {
    height: auto;
    min-height: var(--header-height);
    padding-bottom: 12px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: auto;
    min-height: 0;
    padding: 8px 10px 0;
    gap: 4px;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    width: 100%;
    max-width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    margin-top: 0;
  }

  header nav a {
    margin-right: 0;
  }


  .systems-home-page {
    padding-left: 0;
    padding-right: 0
  }

  .systems-home-page .app-grid {
    grid-template-columns: minmax(0, 220px);
    gap: 34px;
    width: 100%
  }

  .systems-home-page .app-module {
    padding: 8px 0 14px
  }

  .systems-home-page .app-icon a {
    min-height: 0
  }

  .about-intro {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 1.5rem auto
  }

  .muted {
    color: var(--rich-black);
    font-size: 1rem;
    line-height: 1.6
  }

  .text-center {
    text-align: center
  }

  html {
    font-size: 16px
  }

  .about-pillars-row {
    max-width: none
  }

  .about-pillars-container {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2)
  }

  footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: block;
    visibility: visible;
    height: auto;
    min-height: var(--footer-height);
    max-height: none;
    font-size: 0.95rem;
    box-sizing: border-box;
    margin: 0
  }

  footer.page-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: block;
    visibility: visible;
    height: auto;
    min-height: var(--footer-height);
    max-height: none;
    font-size: 0.95rem;
    box-sizing: border-box;
    margin: 0
  }

  .page-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: block;
    visibility: visible;
    height: auto;
    min-height: var(--footer-height);
    max-height: none;
    font-size: 0.95rem;
    box-sizing: border-box;
    margin: 0
  }

  footer>div:first-child {
    margin-bottom: 6px
  }

  footer>div:nth-child(2) {
    margin-bottom: 6px
  }

  footer .footer-copyright {
    margin-top: 2px
  }

  header {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    z-index: 10001;
    height: auto;
    min-height: 0;
    padding: calc(env(safe-area-inset-top, 0px) + var(--header-safe-padding)) 12px 0;
    gap: 4px
  }

  header h1 {
    margin-bottom: 0;
    text-align: center
  }

  header nav {
    align-items: center;
    display: flex;
    margin-top: 0;
    margin-bottom: 2px;
    gap: 4px 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0 8px;
    box-sizing: border-box
  }

  header nav a {
    font-size: clamp(0.86rem, 2.2vw, 1rem);
    line-height: 1.2;
    margin-right: 0
  }

  .contact-container {
    flex-direction: column
  }

  .contact-info {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 20px;
    box-sizing: border-box
  }

  .contact-form {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 20px;
    box-sizing: border-box
  }

  .pillars-container {
    flex: 1 1 calc(50% - 32px);
    width: auto;
    min-width: 440px;
    max-width: 440px;
    margin: 8px;
    padding: 18px;
    box-sizing: border-box
  }

  .division-columns {
    column-count: 2;
    column-gap: 18px;
    max-width: 100%;
    padding-left: 24px
  }

  .hero-text-overlay {
    flex-direction: column;
    align-items: center;
    white-space: normal;
    gap: 8px;
    padding-left: 14px;
    padding-right: 14px
  }

  .hero-text-overlay h1.home-welcome-title {
    font-size: clamp(1.55rem, 7vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    white-space: normal;
    max-width: 92vw;
    line-height: 1.05
  }

  /* Additional breakpoint specifically for 900px as requested */
  @media (max-width: 900px) {
    .hero-text-overlay {
      flex-direction: column !important;
      white-space: normal !important;
      gap: 6px;
      align-items: center !important;
    }

    .hero-text-overlay .home-welcome-prefix,
    .hero-text-overlay h1.home-welcome-title {
      white-space: normal !important;
    }
  }

  .hero-text-overlay .home-welcome-prefix {
    font-size: clamp(1.55rem, 7vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin: 0;
    max-width: 92vw;
    line-height: 1.05
  }

  .divisions-page .cards-wrapper {
    display: grid;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: min(1380px, 100%);
    margin: 40px auto 0;
    grid-template-columns: repeat(2, minmax(0, 260px))
  }

  .divisions-page .card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    width: 260px
  }

  .divisions-page .card-link:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center
  }

  .divisions-page .flip-card-container {
    width: 100%;
    height: 140px;
    margin: 0
  }

  .divisions-page .flip-card-front {
    padding: 16px;
    font-size: 0.98rem
  }

  .divisions-page .flip-card-back {
    padding: 16px;
    font-size: 0.98rem
  }

  .feature-banner-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 100%;
    gap: 0.35rem
  }

  .feature-banner-container {
    width: calc(100% - 24px);
    overflow: hidden
  }

  .feature-banner {
    padding: 18px 14px 28px
  }

  .feature-banner-stat {
    padding: 0.5rem 0.25rem;
    border-radius: 14px
  }

  .feature-banner-stat-label {
    font-size: 0.54rem;
    letter-spacing: 0.04em
  }

  .feature-banner-stat-value {
    font-size: 0.82rem
  }

  .feature-banner-timestamp {
    right: 0.55rem;
    bottom: 0.55rem;
    font-size: 0.6rem
  }

  /* LCM responsive adjustments */
  @media (max-width: 900px) {
    .lcm-feature-banner-container .feature-banner-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 1rem !important;
      max-width: calc(100% - 48px) !important;
    }

    .lcm-feature-banner-container .feature-banner-stat {
      min-width: 0 !important;
      margin: 0.4rem !important;
      padding: 0.6rem 0.9rem !important;
    }
  }

  @media (max-width: 440px) {
    .lcm-feature-banner-container .feature-banner-stats {
      gap: 0.75rem !important;
      max-width: calc(100% - 32px) !important;
    }
  }

  .feature-banner-stage {
    min-height: 10rem
  }

  .tech-squares-container {
    flex-direction: column
  }

  .unified-tech-section {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-left: auto;
    margin-right: auto
  }

  .unified-tech-section .pillars-container-link {
    justify-content: flex-start;
  }

  .header-card {
    margin-top: 1px;
    background: #ffffff;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    box-sizing: border-box
  }

  .header-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--rich-black)
  }

  .header-card p {
    margin-bottom: 0;
    color: #666;
    font-size: 1.1rem
  }

  .open-position-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--rich-black)
  }

  .open-position-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px
  }

  @media (prefers-reduced-motion: reduce) {

    .postgres-running-banner__track {

      animation: none;

    }

  }

  .open-position-card h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rich-black);
    line-height: 1.2
  }

  .open-position-card .badge {
    background: rgba(41, 120, 240, 0.1);
    color: var(--rich-black);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap
  }

  .open-position-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 12px
  }

  .open-position-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5
  }

  .open-position-card .division {
    font-weight: 600;
    color: var(--rich-black)
  }

  .open-position-card .compensation {
    font-size: 0.9rem;
    color: #666;
    font-style: italic
  }

  .open-position-card .note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 8px
  }

  .apply-section {
    max-width: 900px;
    margin: 60px auto 80px;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05)
  }

  .apply-section h3 {
    font-size: 1.8rem;
    margin-bottom: 16px
  }

  .apply-section a {
    color: var(--rich-black);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s
  }

  .apply-section a:hover {
    text-decoration: underline;
    opacity: 0.8
  }

  .open-positions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box
  }

  .open-position-card {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 20px;
  }

  .pillars-row {
    justify-content: center;
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    overflow: hidden
  }

}

/* From intra-company.css */
@media (max-width: 900px) {
  .msmg-main.editor-open .msmg-workspace {
    grid-template-columns: 1fr;
  }
}

/* From intra-company.css */
@media (max-width: 900px) {
  .msmg-workspace.split-election {
    grid-template-columns: 1fr;
  }

  .msmg-main.editor-open .msmg-workspace.split-election {
    grid-template-columns: 1fr;
  }
}

/* From intra-company.css */
@media (max-width: 900px) {
  .msmg-editor-overlay {
    padding: 10px;
    justify-content: center;
  }

  .msmg-editor-panel {
    width: min(100%, 100%);
    max-height: calc(100vh - 20px);
  }
}

/* From postgres.css */
@media (max-width: 900px) {

  .postgres-layout {

    grid-template-columns: 1fr;
    gap: 32px;
    width: min(540px, calc(100vw - 40px));

  }

  .pillar-column {

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;

  }

  .pillars-container {

    max-width: 440px;

  }

  .sql-demo-shell {

    order: -1;

  }

}

/* From postgres.css */
@media (max-width: 900px) {

  main section.postgres-page {

    padding: 0 0 20px !important;

  }

  .postgres-page {

    padding: 0 0 20px;
    min-height: auto;

  }

}

/* From postgres.css */
@media (max-width: 900px) {

  .postgres-page {

    margin-top: 140px !important;
    /* Taller margin for stacked mobile header */

  }

  .postgres-topbar {

    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px !important;
    padding: 16px 12px !important;

  }

  .postgres-topbar h1 {

    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 22px !important;
    margin: 0 0 4px !important;
    width: 100%;
    text-align: center;

  }

  /* Ensure all buttons show up in Row 2 together without overlapping */
  .postgres-top-actions.left {

    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;


  }

  .postgres-top-actions:not(.left) {

    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;


  }

  /* Reset specific margins that might push buttons off-center */
  .postgres-top-actions.left .action-btn {

    margin: 0 !important;


  }

  .postgres-top-actions:not(.left) .action-btn {

    margin: 0 !important;


  }



  .postgres-page .action-btn {

    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;

  }

  .postgres-top-actions.left {

    order: 2;

  }

  .postgres-top-actions:not(.left) {

    order: 3;

  }

  .postgres-top-actions.left .action-btn {

    margin-left: 0;

  }

  .postgres-top-actions:not(.left) .action-btn:last-child {

    margin-right: 0;

  }

  /* Wider Pillars */
  .pillars-container {

    width: calc(100% - 32px);
    max-width: none;
    margin: 12px auto;
    padding: 24px 20px;
    box-sizing: border-box;

  }

  .postgres-intro {

    margin-top: 7rem;

  }

  .pillar p {

    max-width: none;
    font-size: 16px;
    line-height: 1.5;

  }

  .plans-row {

    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;

  }

  .plan-card {

    max-width: none;

  }

  /* ------------------------------------------------------------------------- */
  /* Postgres Auth                                                              */
  /* ------------------------------------------------------------------------- */



  html {

    background: #ffffff !important;

  }

  body {

    background: #ffffff !important;

  }

  .page-scroll-container {

    overflow-y: auto !important;

  }

  @supports selector(body:has(.auth-page--compact)) {

    body:has(.auth-page--compact) .page-scroll-container {

      overflow-y: auto !important;

    }

    main {

      padding-top: 0 !important;

    }

    main section.auth-page {

      padding: 0 !important;

    }

    .auth-page {

      min-height: auto;
      padding: 20px 20px 28px;
      background:
        radial-gradient(circle at top, rgba(111, 44, 255, 0.08), transparent 34%),
        #ffffff;

    }

    .auth-page--compact {

      min-height: auto;
      padding: 12px 20px 20px;

    }

    .auth-shell {

      width: 100%;
      max-width: 440px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;

    }

    .auth-shell--compact {

      max-width: 440px;
      gap: 14px;

    }

    .auth-eyebrow {

      margin: 0;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--postgres-auth-accent-dark);

    }

    .auth-title {

      margin: 0;
      color: var(--postgres-auth-text);
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.05;
      text-align: center;

    }

    .auth-copy {

      margin: 0;
      max-width: 900px;
      color: var(--postgres-auth-text);
      text-align: center;
      font-size: 1.1rem;
      line-height: 1.55;

    }

    .auth-card {

      width: 100%;
      background: var(--postgres-auth-surface);
      border: 1px solid rgba(111, 44, 255, 0.12);
      border-radius: 28px;
      box-shadow: var(--postgres-auth-shadow);
      padding: 30px 28px;
      box-sizing: border-box;

    }

    .auth-card--compact {

      padding: 26px 24px;

    }

    .auth-card-header {

      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      margin-bottom: 22px;

    }

    .auth-subtitle {

      margin: 0;
      color: var(--postgres-auth-text);
      font-size: 1.65rem;
      text-align: center;

    }

    .auth-plan-pill {

      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0 14px;
      border-radius: 999px;
      background: rgba(111, 44, 255, 0.08);
      color: var(--postgres-auth-accent-dark);
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;

    }

    .auth-form {

      margin: 0;

    }

    .auth-form--compact {

      max-width: 440px;
      margin: 0 auto;

    }

    .auth-grid {

      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;

    }

    .auth-grid--single {

      grid-template-columns: 1fr;

    }

    .auth-field {

      display: flex;
      flex-direction: column;
      gap: 8px;

    }

    .auth-field--full {

      grid-column: 1 / -1;

    }

    .auth-field label {

      color: var(--postgres-auth-text);
      font-size: 0.92rem;
      font-weight: 700;

    }

    .auth-input {

      min-height: 50px;
      border: 1px solid var(--postgres-auth-border);
      border-radius: 16px;
      padding: 12px 14px;
      font-size: 1rem;
      color: var(--postgres-auth-text);
      background: #ffffff;
      box-sizing: border-box;
      outline: none;

    }

    .auth-input:focus {

      border-color: var(--postgres-auth-accent);
      box-shadow: 0 0 0 4px rgba(111, 44, 255, 0.11);

    }

    .auth-actions {

      margin-top: 22px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;

    }

    .auth-static-actions {

      margin-top: 22px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;

    }

    .auth-static-actions--tight {

      margin-top: 12px;

    }

    .auth-oauth {

      margin-top: 20px;
      width: 100%;

    }

    .auth-oauth--actions {

      margin-top: 2px;

    }

    .auth-oauth-divider {

      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;

    }

    .auth-oauth-divider span {

      flex: 1 1 auto;
      height: 1px;
      background: rgba(17, 17, 17, 0.12);

    }

    .auth-oauth-divider strong {

      color: var(--postgres-auth-muted);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;

    }

    .auth-google-button {

      display: flex;
      justify-content: center;
      width: 100%;

    }

    .auth-google-button>div {

      max-width: 100%;

    }

    .auth-google-button iframe {

      max-width: 100%;

    }

    .auth-oauth-btn {

      appearance: none;
      -webkit-appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: min(320px, 100%);
      min-height: 48px;
      padding: 0 20px;
      border-radius: 999px;
      border: 1px solid rgba(17, 17, 17, 0.14);
      background: #ffffff;
      color: var(--postgres-auth-text);
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);

    }

    .auth-oauth-btn:link {

      appearance: none;
      -webkit-appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: min(320px, 100%);
      min-height: 48px;
      padding: 0 20px;
      border-radius: 999px;
      border: 1px solid rgba(17, 17, 17, 0.14);
      background: #ffffff;
      color: var(--postgres-auth-text);
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);

    }

    .auth-oauth-btn:visited {

      appearance: none;
      -webkit-appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: min(320px, 100%);
      min-height: 48px;
      padding: 0 20px;
      border-radius: 999px;
      border: 1px solid rgba(17, 17, 17, 0.14);
      background: #ffffff;
      color: var(--postgres-auth-text);
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);

    }

    .auth-oauth-btn--apple {

      background: #ffffff;
      border-color: rgba(17, 17, 17, 0.14);
      color: #3c4043;
      font-family: Arial, "Helvetica Neue", sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.01em;

    }

    .auth-oauth-btn--apple:hover {

      background: #ffffff;
      border-color: rgba(17, 17, 17, 0.18);
      color: #3c4043;

    }

    .auth-oauth-btn--apple:focus {

      background: #ffffff;
      border-color: rgba(17, 17, 17, 0.18);
      color: #3c4043;

    }

    .auth-oauth-btn--apple:active {

      background: #ffffff;
      border-color: rgba(17, 17, 17, 0.18);
      color: #3c4043;

    }

    .auth-apple-glyph {

      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #111111;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
      font-size: 1.02rem;
      font-weight: 600;
      line-height: 1;

    }

    .auth-apple-label {

      font-weight: inherit;

    }

    .auth-oauth-btn--google {

      background: #ffffff;

    }

    .auth-btn {

      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 440px;
      min-height: 52px;
      padding: 0 24px;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--postgres-auth-accent), var(--postgres-auth-accent-dark));
      color: #ffffff;
      font-size: 1rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(111, 44, 255, 0.24);

    }

    .auth-btn:link {

      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 440px;
      min-height: 52px;
      padding: 0 24px;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--postgres-auth-accent), var(--postgres-auth-accent-dark));
      color: #ffffff;
      font-size: 1rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(111, 44, 255, 0.24);

    }

    .auth-btn:visited {

      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 440px;
      min-height: 52px;
      padding: 0 24px;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--postgres-auth-accent), var(--postgres-auth-accent-dark));
      color: #ffffff;
      font-size: 1rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(111, 44, 255, 0.24);

    }

    .auth-btn:disabled {

      opacity: 0.68;
      cursor: not-allowed;
      box-shadow: none;

    }

    .auth-link {

      color: var(--postgres-auth-accent-dark);
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;

    }

    .auth-link:link {

      color: var(--postgres-auth-accent-dark);
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;

    }

    .auth-link:visited {

      color: var(--postgres-auth-accent-dark);
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;

    }

    .auth-meta {

      margin: 0;
      color: var(--postgres-auth-muted);
      text-align: center;
      font-size: 0.96rem;
      line-height: 1.5;

    }

    .auth-payment-panel {

      margin-top: 20px;
      padding: 20px 18px;
      border: 1px solid rgba(111, 44, 255, 0.16);
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(111, 44, 255, 0.05), rgba(111, 44, 255, 0.02));

    }

    .auth-payment-panel[hidden] {

      display: none;

    }

    .auth-payment-title {

      margin: 0 0 8px;
      color: var(--postgres-auth-text);
      font-size: 1.15rem;
      text-align: center;

    }

    .auth-payment-copy {

      margin: 0;
      color: var(--postgres-auth-muted);
      text-align: center;
      font-size: 0.96rem;
      line-height: 1.55;

    }

    .auth-payment-summary {

      margin: 14px auto 18px;
      padding: 14px 16px;
      max-width: 440px;
      border-radius: 18px;
      background: #ffffff;
      border: 1px solid rgba(111, 44, 255, 0.11);

    }

    .auth-payment-row {

      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: center;
      color: var(--postgres-auth-text);
      font-size: 0.96rem;
      line-height: 1.5;

    }

    .auth-payment-row+.auth-payment-row {

      margin-top: 8px;

    }

    .auth-payment-row strong {

      font-size: 1rem;

    }

    .auth-payment-host {

      min-height: 46px;

    }

    .auth-payment-help {

      margin: 12px 0 0;
      color: var(--postgres-auth-muted);
      text-align: center;
      font-size: 0.9rem;
      line-height: 1.45;

    }

    .otp-block {

      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid rgba(17, 17, 17, 0.08);

    }

    .otp-row {

      display: flex;
      gap: 10px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;

    }

    .otp-input {

      width: 220px;
      text-align: center;
      letter-spacing: 0.2em;

    }

    .otp-verify-btn {

      min-width: 440px;
      min-height: 48px;
      border: none;
      border-radius: 999px;
      background: #111111;
      color: #ffffff;
      font-size: 0.94rem;
      font-weight: 700;
      cursor: pointer;

    }

    .auth-status {

      min-height: 22px;
      margin-top: 14px;
      text-align: center;
      font-size: 0.95rem;
      line-height: 1.45;

    }

    .auth-status.error {

      color: #b91c1c;

    }

    .auth-status.success {

      color: #117a39;

    }

    .auth-note {

      margin: 8px 0 0;
      color: var(--postgres-auth-muted);
      text-align: center;
      font-size: 0.92rem;
      line-height: 1.5;

    }

  }

  @media (min-width: 900px) {

    .auth-page {

      padding: 8px 18px 10px;

    }

    .auth-shell {

      gap: 10px;

    }

    .auth-copy {

      line-height: 1.4;

    }

    .auth-card {

      padding: 18px 22px;
      border-radius: 24px;

    }

    .auth-card-header {

      margin-bottom: 12px;
      gap: 6px;

    }

    .auth-grid {

      gap: 10px 14px;

    }

    .auth-field {

      gap: 6px;

    }

    .auth-input {

      min-height: 44px;
      padding: 10px 12px;

    }

    .auth-actions {

      margin-top: 14px;
      gap: 8px;


    }

    .auth-static-actions {

      margin-top: 14px;
      gap: 8px;


    }

    .auth-oauth {

      margin-top: 12px;

    }

  }

  @media (max-width: 900px) {

    .page-scroll-container {

      overflow-y: auto !important;

    }

    .auth-page {

      min-height: auto;
      padding: 18px 14px 32px;

    }

    .auth-page--compact {

      padding: 10px 14px 18px;

    }

  }

  @media (max-width: 900px) {

    .auth-card {

      padding: 22px 16px;
      border-radius: 24px;

    }

    .auth-grid {

      grid-template-columns: 1fr;

    }

    .auth-field--full {

      grid-column: auto;

    }

    .auth-title {

      font-size: 2.1rem;

    }

    .auth-copy {

      font-size: 1rem;

    }

    .auth-payment-summary {

      max-width: none;

    }

    .auth-google-button {

      width: 100%;

    }

    .otp-input {

      width: 100%;

    }

    /* ------------------------------------------------------------------------- */
    /* Postgres Dashboard                                                         */
    /* ------------------------------------------------------------------------- */

    .dashboard-container {

      --postgres-dashboard-glass-bg: rgba(255, 255, 255, 0.05);
      --postgres-dashboard-glass-border: rgba(255, 255, 255, 0.1);
      --postgres-dashboard-accent-blue: #00a0ff;
      --postgres-dashboard-accent-purple: #8a2be2;
      --postgres-dashboard-text-primary: #ffffff;
      --postgres-dashboard-text-secondary: #b0b0b0;
      max-width: 900px;
      margin: 40px auto;
      padding: 20px;
      font-family: 'Inter', 'Roboto', sans-serif;
      color: var(--postgres-dashboard-text-primary);

    }

    .dashboard-header {

      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;

    }

    .dashboard-header h1 {

      font-size: 2.5rem;
      background: linear-gradient(90deg, var(--postgres-dashboard-accent-blue), var(--postgres-dashboard-accent-purple));
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;

    }

    .dashboard-container .credential-grid {

      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;

    }

    .dashboard-container .card {

      background: var(--postgres-dashboard-glass-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--postgres-dashboard-glass-border);
      border-radius: 16px;
      padding: 30px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;

    }

    .dashboard-container .card:hover {

      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    }

    .dashboard-container .card-title {

      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 20px;
      color: var(--postgres-dashboard-accent-blue);
      text-transform: uppercase;
      letter-spacing: 1px;

    }

    .dashboard-container .credential-box {

      background: rgba(0, 0, 0, 0.3);
      border-radius: 8px;
      padding: 15px;
      position: relative;
      overflow: hidden;
      margin-bottom: 15px;

    }

    .dashboard-container .credential-value {

      font-family: 'Fira Code', 'Courier New', monospace;
      font-size: 0.9rem;
      word-break: break-all;
      color: #00ffcc;

    }

    .dashboard-container .copy-btn {

      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: var(--postgres-dashboard-accent-blue);
      border: none;
      border-radius: 4px;
      color: #ffffff;
      padding: 5px 10px;
      cursor: pointer;
      font-size: 0.8rem;
      transition: opacity 0.3s ease;
      opacity: 0.7;

    }

    .dashboard-container .copy-btn:hover {

      opacity: 1;

    }

    .dashboard-container .plan-badge {

      display: inline-block;
      padding: 5px 12px;
      border-radius: 20px;
      background: var(--postgres-dashboard-accent-purple);
      font-size: 0.8rem;
      font-weight: bold;
      margin-top: 10px;

    }

    .dashboard-container .info-text {

      font-size: 0.85rem;
      color: var(--postgres-dashboard-text-secondary);
      line-height: 1.6;

    }

    .dashboard-container .header-button {

      background: var(--postgres-dashboard-accent-purple);
      color: var(--postgres-dashboard-text-primary);
      border: none;
      border-radius: 4px;
      padding: 5px 10px;
      cursor: pointer;
      font-size: 0.8rem;
      transition: opacity 0.3s ease;
      opacity: 0.7;

    }

    /* ------------------------------------------------------------------------- */
    /* Postgres Docs                                                              */
    /* ------------------------------------------------------------------------- */

    .docs-page {

      width: 100%;
      max-width: 100%;
      padding: 1.5rem 2rem 4rem;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: #000000 !important;
      line-height: 1.7;
      overflow-x: hidden;

    }

    .docs-hero {

      color: #ffffff !important;
      text-align: center;
      margin-bottom: 1.25rem;
      padding: 0.75rem 1.5rem;

    }

    .docs-content {

      width: 100%;
      max-width: 900px;
      margin-left: 0;
      margin-top: 0;
      flex: 1;
      min-width: 0;

    }

    .docs-hero h1 {

      font-size: 2.5rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #ffffff !important;
      margin: 0 0 0.5rem;

    }

    .docs-hero {

      font-size: 1.1rem;
      color: #cbd5e1 !important;
      width: 100;
      margin: 0 auto;

    }

    .docs-subtitle {

      color: white;
      flex-direction: column;
      max-width: 900px;
      margin: 0 auto;
      text-align: center;

    }

    .docs-subtitle p {

      color: white;

    }

    .docs-breadcrumb {

      font-size: 0.9rem;
      color: #000000 !important;
      margin-bottom: 1rem;

    }

    .docs-breadcrumb a {

      color: #2563eb !important;
      text-decoration: none;

    }

    .docs-breadcrumb a:hover {

      text-decoration: underline;

    }

    .docs-layout {

      display: grid;
      grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
      align-items: flex-start;
      gap: 2rem;

    }

    .docs-sidebar {

      position: sticky;
      top: 2rem;
      flex: 0 0 250px;

    }

  }

  @media (max-width: 900px) {

    .docs-page {

      padding: 1rem clamp(0.9rem, 4vw, 1.35rem) 3.5rem;

    }

    .docs-hero {

      padding: 1rem 0 0.75rem;
      margin-bottom: 0.75rem;

    }

    .docs-hero h1 {

      font-size: clamp(2rem, 10vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.04em;

    }

    .docs-hero {

      font-size: clamp(1rem, 4.5vw, 1.2rem);
      line-height: 1.55;
      max-width: 34rem;

    }

    .docs-layout {

      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 1.25rem;
      width: 100%;

    }

    .docs-sidebar {

      position: static;
      top: auto;
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;

    }

    .docs-content {

      width: 100%;
      max-width: 100%;
      margin-left: 0;
      margin-top: 0;

    }

    .docs-toc {

      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0.75rem;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      background: #ffffff !important;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);

    }

    .docs-toc h2 {

      margin-bottom: 0.55rem;
      font-size: 0.74rem;

    }

    .docs-toc ol {

      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding: 0 0 0.15rem;
      border-left: 0;
      scroll-snap-type: x proximity;

    }

    .docs-toc ol li {

      flex: 0 0 auto;
      margin: 0;
      scroll-snap-align: start;

    }

    .docs-toc a {

      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 0.45rem 0.7rem;
      margin-left: 0;
      border: 1px solid #e2e8f0 !important;
      border-radius: 999px;
      background: #f8fafc !important;
      font-size: 0.82rem;
      line-height: 1.2;
      white-space: nowrap;

    }

    .docs-breadcrumb {

      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.9rem;
      color: #000000 !important;
      width: 100%;
      max-width: none;
      margin-bottom: 0.75rem;
      margin-top: 3rem;

    }

    .docs-section {

      margin-bottom: 2rem;
      scroll-margin-top: 1rem;

    }

    .docs-section h2 {

      font-size: clamp(1.15rem, 5vw, 1.55rem);
      line-height: 1.25;

    }

    .docs-section h3 {

      font-size: 1rem;

    }

    .docs-section p {

      font-size: 0.98rem;
      line-height: 1.65;


    }

    .docs-section li {

      font-size: 0.98rem;
      line-height: 1.65;


    }

    .docs-kv-grid {

      grid-template-columns: 1fr;

    }

    .docs-kv-card {

      padding: 0.95rem;


    }

    .docs-callout {

      padding: 0.95rem;


    }

    .docs-portfolio-card {

      padding: 0.95rem;


    }

    .docs-code {

      max-width: 100%;
      padding: 0.85rem;
      font-size: 0.76rem;
      line-height: 1.55;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      word-break: break-word;

    }

    .docs-code * {

      overflow-wrap: anywhere;
      word-break: break-word;

    }

    .docs-table {

      display: block;
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;

    }

    .docs-table th {

      min-width: 440px;
      padding: 0.6rem 0.75rem;


    }

    .docs-table td {

      min-width: 440px;
      padding: 0.6rem 0.75rem;


    }

    .docs-portfolio {

      margin-top: 2rem;
      padding-top: 1.25rem;

    }

    .docs-portfolio-grid {

      grid-template-columns: 1fr;

    }

    .docs-back {

      width: 100%;
      text-align: center;
      padding: 0.75rem 1rem;
      border: 1px solid #dbeafe;
      border-radius: 999px;
      background: #eff6ff !important;

    }

  }

  @media (max-width: 440px) {

    .docs-page {

      padding-inline: 0.9rem;

    }

    .docs-hero h1 {

      font-size: clamp(2rem, 13vw, 3.6rem);

    }

    .docs-toc {

      margin-inline: -0.15rem;
      border-radius: 12px;

    }

    .docs-toc h2 {

      display: none;

    }

    .docs-section ul {

      padding-left: 1.15rem;


    }

    .docs-section ol {

      padding-left: 1.15rem;


    }

    .docs-section h2 {

      word-break: normal;
      overflow-wrap: anywhere;

    }

    .docs-toc {

      margin-bottom: 2.5rem;

    }

    .docs-toc h2 {

      font-size: 0.85rem;
      color: #000000 !important;
      margin: 0 0 1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;

    }

    .docs-toc ol {

      margin: 0;
      padding: 0;
      list-style: none;
      border-left: 2px solid #e2e8f0;

    }

    .docs-toc ol li {

      margin-bottom: 0px;

    }

    .docs-toc ol li::before {

      display: none;

    }

    .docs-toc a {

      color: #000000 !important;
      text-decoration: none;
      font-size: 0.9rem;
      display: block;
      padding: 0.4rem 0 0.4rem 1rem;
      border-left: 2px solid transparent;
      margin-left: -2px;

    }

    .docs-toc a:hover {

      color: #2563eb !important;
      border-left-color: #2563eb !important;
      font-weight: 500;

    }

    .docs-section {

      margin-bottom: 2.5rem;

    }

    .docs-section h2 {

      font-size: 1.35rem;
      font-weight: 700;
      color: #000000 !important;
      border-bottom: 2px solid #2563eb;
      padding-bottom: 0.4rem;
      margin: 0 0 1rem;

    }

    .docs-section h3 {

      font-size: 1.1rem;
      font-weight: 600;
      color: #000000 !important;
      margin: 1.25rem 0 0.5rem;

    }

    .docs-section p {

      margin: 0 0 0.75rem;
      color: #000000 !important;
      font-size: 0.95rem;

    }

    .docs-section ul {

      margin: 0 0 1rem;
      padding-left: 1.5rem;

    }

    .docs-section ol {

      margin: 0 0 1rem;
      padding-left: 1.5rem;

    }

    .docs-section li {

      margin-bottom: 0.25rem;
      color: #000000 !important;

    }

    .docs-section strong {

      font-weight: 600;
      color: #000000 !important;

    }

    .docs-kv-grid {

      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin: 1rem 0 1.5rem;

    }

    .docs-kv-card {

      background: #ffffff !important;
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      padding: 1rem 1.25rem;

    }

    .docs-kv-card .kv-label {

      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #000000 !important;
      margin-bottom: 0.25rem;
      font-weight: 600;

    }

    .docs-kv-card .kv-value {

      font-size: 1rem;
      font-weight: 600;
      color: #000000 !important;

    }

    .docs-code {

      background: #000000 !important;
      color: #ffffff !important;
      border-radius: 8px;
      padding: 1rem 1.25rem;
      font-family: 'JetBrains Mono', 'Fira Code', monospace;
      font-size: 0.85rem;
      overflow-x: auto;
      margin: 0.75rem 0 1.25rem;
      line-height: 1.6;

    }

    .docs-code * {

      color: #ffffff !important;

    }

    .docs-callout {

      border-left: 4px solid #2563eb;
      background: #eff6ff !important;
      border-radius: 0 8px 8px 0;
      padding: 1rem 1.25rem;
      margin: 1rem 0 1.5rem;
      font-size: 0.93rem;
      color: #000000 !important;

    }

    .docs-callout strong {

      color: #000000 !important;

    }

    .docs-callout.tip {

      border-left-color: #16a34a;
      background: #f0fdf4 !important;

    }

    .docs-callout.warning {

      border-left-color: #dc2626;
      background: #fef2f2 !important;

    }

    .docs-callout p {

      color: #000000 !important;

    }

    .docs-callout a {

      color: #000000 !important;

    }

    .docs-table {

      width: 100%;
      border-collapse: collapse;
      margin: 1rem 0 1.5rem;
      font-size: 0.9rem;

    }

    .docs-table th {

      background: #f1f5f9;
      text-align: left;
      padding: 0.65rem 1rem;
      font-weight: 600;
      color: #000000 !important;
      border-bottom: 2px solid #cbd5e1;

    }

    .docs-table td {

      padding: 0.6rem 1rem;
      border-bottom: 1px solid #e2e8f0;
      color: #000000 !important;

    }

    .docs-table tr:last-child td {

      border-bottom: none;

    }

    .docs-portfolio {

      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid #e0e0e6;

    }

    .docs-portfolio h2 {

      font-size: 1.2rem;
      font-weight: 700;
      color: #000000 !important;
      margin: 0 0 1rem;

    }

    .docs-portfolio-grid {

      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1rem;

    }

    .docs-portfolio-card {

      display: block;
      text-decoration: none;
      background: #ffffff !important;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 1.5rem;
      transition: all 0.2s ease;
      color: inherit;

    }

    .docs-portfolio-card:hover {

      border-color: #94a3b8;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    }

    .docs-portfolio-card .port-icon {

      font-size: 2rem;
      margin-bottom: 0.75rem;

    }

    .docs-portfolio-card .port-title {

      font-size: 1.05rem;
      font-weight: 600;
      color: #000000 !important;
      margin-bottom: 0.5rem;

    }

    .docs-portfolio-card .port-desc {

      font-size: 0.9rem;
      color: #000000 !important;
      line-height: 1.5;

    }

    .docs-back {

      display: inline-block;
      margin-top: 2rem;
      color: #2563eb !important;
      text-decoration: none;
      font-weight: 500;

    }

    .docs-back:hover {

      text-decoration: underline;

    }

    /* Final mobile overrides live at the end so desktop docs rules cannot undo them. */

  }

  @media (max-width: 900px) {

    .docs-page {

      width: 100%;
      max-width: 100%;
      padding: 1rem clamp(0.9rem, 4vw, 1.35rem) 3.5rem;
      overflow-x: hidden;

    }

    .docs-hero {

      padding: 1rem 0 0.75rem;
      margin-bottom: 0.75rem;

    }

    .docs-hero h1 {

      font-size: clamp(2rem, 10vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.04em;

    }

    .docs-hero {

      font-size: clamp(1rem, 4.5vw, 1.2rem);
      line-height: 1.55;
      max-width: 34rem;

    }

    .docs-layout {

      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 1.25rem;
      width: 100%;

    }

    .docs-sidebar {

      position: static;
      top: auto;
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;

    }

    .docs-content {

      width: 100%;
      max-width: 100%;
      margin: 0;

    }

    .docs-toc {

      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0.75rem;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      background: #ffffff !important;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);

    }

    .docs-toc h2 {

      margin: 0 0 0.55rem;
      font-size: 0.74rem;

    }

    .docs-toc ol {

      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding: 0 0 0.15rem;
      border-left: 0;
      scroll-snap-type: x proximity;

    }

    .docs-toc ol li {

      flex: 0 0 auto;
      margin: 0;
      scroll-snap-align: start;

    }

    .docs-toc a {

      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 0.45rem 0.7rem;
      margin-left: 0;
      border: 1px solid #e2e8f0 !important;
      border-radius: 999px;
      background: #f8fafc !important;
      font-size: 0.82rem;
      line-height: 1.2;
      white-space: nowrap;

    }

    .docs-breadcrumb {

      width: 100%;
      max-width: none;

    }

    .docs-section {

      margin-bottom: 2rem;
      scroll-margin-top: 1rem;

    }

    .docs-section h2 {

      font-size: clamp(1.15rem, 5vw, 1.55rem);
      line-height: 1.25;

    }

    .docs-section h3 {

      font-size: 1rem;

    }

    .docs-section p {

      font-size: 0.98rem;
      line-height: 1.65;


    }

    .docs-section li {

      font-size: 0.98rem;
      line-height: 1.65;


    }

    .docs-kv-grid {

      grid-template-columns: 1fr;


    }

    .docs-portfolio-grid {

      grid-template-columns: 1fr;


    }

    .docs-kv-card {

      padding: 0.95rem;


    }

    .docs-callout {

      padding: 0.95rem;


    }

    .docs-portfolio-card {

      padding: 0.95rem;


    }

    .docs-code {

      max-width: 100%;
      padding: 0.85rem;
      font-size: 0.76rem;
      line-height: 1.55;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      word-break: break-word;

    }

    .docs-code * {

      overflow-wrap: anywhere;
      word-break: break-word;

    }

    .docs-table {

      display: block;
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;

    }

    .docs-table th {

      min-width: 440px;
      padding: 0.6rem 0.75rem;


    }

    .docs-table td {

      min-width: 440px;
      padding: 0.6rem 0.75rem;


    }

    .docs-portfolio {

      margin-top: 2rem;
      padding-top: 1.25rem;

    }

    .docs-back {

      width: 100%;
      text-align: center;
      padding: 0.75rem 1rem;
      border: 1px solid #dbeafe;
      border-radius: 999px;
      background: #eff6ff !important;

    }

  }

  @media (max-width: 440px) {

    .docs-page {

      padding-inline: 0.9rem;

    }

    .docs-hero h1 {

      font-size: clamp(2rem, 13vw, 3.6rem);

    }

    .docs-toc {

      margin-inline: -0.15rem;
      border-radius: 12px;

    }

    .docs-toc h2 {

      display: none;

    }

    .docs-section ul {

      padding-left: 1.15rem;


    }

    .docs-section ol {

      padding-left: 1.15rem;


    }

    .docs-section h2 {

      word-break: normal;
      overflow-wrap: anywhere;

    }

    /* ------------------------------------------------------------------------- */
    /* Postgres Plan Pages                                                        */
    /* ------------------------------------------------------------------------- */

    .page-scroll-container {

      overflow-y: auto;

    }

    main {

      padding-top: 0 !important;
      padding-bottom: 70px !important;
      min-height: 100dvh;

    }

    main section {

      padding: 0 !important;

    }

    .plan-page {

      width: 100%;
      max-width: none;
      min-height: calc(100dvh - 70px);
      padding: 12px 18px 16px;
      background: #f5f5f5;
      display: flex;
      flex-direction: column;
      gap: 12px;

    }

    .plan-header {

      text-align: center;
      margin-bottom: 10px;

    }

    .plan-header h1 {

      margin: 0 0 6px;
      font-size: clamp(1.2rem, 1.75vw, 1.55rem);
      color: #0d0d0d !important;

    }

    .plan-header p {

      margin: 0;
      font-size: 1.06rem;
      line-height: 1.55;

    }

    .plan-layout {

      flex: 0 0 auto;
      display: grid;
      grid-template-columns: minmax(240px, 1fr) minmax(620px, 820px) minmax(240px, 1fr);
      grid-template-areas:
        "left demo right"
        ". bottom .";
      grid-template-rows: auto auto;
      column-gap: 22px;
      row-gap: 12px;
      align-items: start;
      align-content: start;
      justify-content: center;
      width: 100%;

    }

    .plan-demo-wrap {

      grid-area: demo;
      width: 100%;
      max-width: 900px;
      justify-self: center;
      align-self: start;
      display: flex;
      margin-top: 0;

    }

    .plan-text {

      margin: 0;
      font-size: clamp(0.98rem, 0.96vw, 1rem);
      line-height: 1.55;
      color: #141414;

    }

    .plan-text p {

      margin: 0;

    }

    .plan-text p+p {

      margin-top: 12px;

    }

    .plan-text--left {

      grid-area: left;
      text-align: right;
      padding-top: 10px;
      align-self: stretch;
      display: flex;
      flex-direction: column;
      gap: 12px;

    }

    .plan-text--right {

      grid-area: right;
      text-align: left;
      padding-top: 10px;
      align-self: stretch;
      display: flex;
      flex-direction: column;
      gap: 12px;

    }

    .plan-text--bottom {

      grid-area: bottom;
      text-align: center;
      align-self: start;
      padding: 0;
      max-width: 900px;
      margin: 0 auto;

    }

    .plan-text--left p+p {

      margin-top: 0;

    }

    .plan-text--right p+p {

      margin-top: 0;

    }

    .plan-text--bottom p+p {

      margin-top: 0;

    }

    .sql-demo-shell {

      width: 100%;
      background: #000000;
      border-radius: 18px;
      padding: 14px 14px 12px;
      min-height: clamp(399px, calc(40vh + 39px), 499px);
      height: clamp(399px, calc(40vh + 39px), 499px);
      border: 1px solid #1e1e1e;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      margin: 0 auto;

    }

    .plan-text--bottom:empty {

      display: none;

    }

    .plan-cta-row {

      display: flex;
      justify-content: center;
      margin-top: 10px;

    }

    .sql-demo-title {

      margin: 0 0 10px;
      font-size: 1rem;
      color: #f4f4f4 !important;
      text-align: center;
      font-weight: 700;
      letter-spacing: 0.2px;

    }

    .sql-demo-output {

      font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.95rem;
      line-height: 1.55;
      color: #e8e8e8 !important;
      white-space: pre-wrap;
      flex: 0 0 auto;

    }

    .sql-line {

      margin-bottom: 6px;
      word-break: break-word;

    }

    .sql-prompt {

      color: #4ec9b0;
      font-weight: 700;

    }

    .sql-keyword {

      color: #c084fc !important;
      font-weight: 700;

    }

    .sql-ident {

      color: #7dd3fc !important;

    }

    .sql-value {

      color: #facc15 !important;

    }

    .sql-result {

      color: #86efac !important;
      padding-left: 28px;
      font-weight: 700;

    }

  }

  @media (max-width: 900px) {

    .page-scroll-container {

      overflow-y: auto;

    }

    main {

      min-height: auto;
      padding-bottom: 16px !important;

    }

    .plan-page {

      min-height: auto;
      padding: 14px 14px 18px;

    }

    .plan-layout {

      flex: 0 0 auto;
      grid-template-columns: 1fr;
      grid-template-areas:
        "demo"
        "left"
        "right"
        "bottom";
      grid-template-rows: auto;
      gap: 14px;

    }

    .plan-demo-wrap {

      max-width: none;
      margin-top: 0;

    }

    .plan-cta-row {

      margin-top: 6px;

    }

    .sql-demo-shell {

      min-height: 180px;
      height: auto;

    }

    .plan-text--left {

      text-align: center;
      padding: 0;
      align-self: auto;


    }

    .plan-text--right {

      text-align: center;
      padding: 0;
      align-self: auto;


    }

    .plan-text--bottom {

      text-align: center;
      padding: 0;
      align-self: auto;


    }

  }

}

/* From cm-hub.css */
@media (max-width: 900px) {

  .ic-capmark-hub-saved-card {

    flex-direction: column;

  }

  .ic-capmark-hub-saved-actions {

    width: 100%;
    min-width: 0;

  }

}

/* From cm-hub.css */
@media (max-width: 900px) {
  .ic-capmark-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* From rae.css */
@media (max-width: 900px) {
  .footer-copyright {
    padding: 0 56px;
  }

  .report-error-link {
    right: 6px;
  }

  .report-error-text-full {
    display: none;
  }

  .report-error-text-short {
    display: inline;
  }
}

/* From headers.css */
@media (min-width: 900px) {

  #header {

    padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 12px 18px;
    --header-nav-size: 21px;

  }

  #header .header-left {

    flex-basis: 23%;

  }

  #header .header-center {

    flex-basis: 54%;

  }

  #header .header-right {

    flex-basis: 23%;

  }

}

/* From headers.css */
@media (min-width: 440px) and (max-width: 900px) {

  #header {

    --header-nav-size: 16px;

  }

}

/* From headers.css */
@media (max-width: 900px) {

  #header {

    --header-nav-size: 15px;

  }

  #header .header-left {

    flex-basis: 28%;

  }

  #header .header-center {

    flex-basis: 44%;

  }

  #header .header-right {

    flex-basis: 28%;

  }

  #header .title,
  #header .nav-label {

    overflow: visible;
    text-overflow: clip;
    max-width: none;
    white-space: nowrap;

  }

  #global-header {

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 4px;

  }

  #global-header>h1,
  #global-header>nav {

    width: 100%;

  }

  #global-header>h1 {

    text-align: center !important;
    margin-bottom: 0 !important;

  }

  #global-header>nav {

    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    gap: 4px 12px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    white-space: nowrap !important;

  }

  #global-header>nav a {

    flex: 0 0 auto !important;

  }

}

/* From msmg.css */
@media (max-width: 900px) {

  .msmg-header {

    padding: 8px 0;

  }

  .msmg-brand {

    font-size: 26px;
    margin-right: 20px;

  }

  .msmg-nav {

    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 5px 0;
    scrollbar-width: none;
    /* Hide scrollbar for clean look */

  }

  .msmg-nav::-webkit-scrollbar {

    display: none;

  }

  .msmg-nav a {

    font-size: 10px;
    letter-spacing: 0.5px;
    flex: 0 0 auto;

  }


  .msmg-feature-image {
    margin-left: 0;
  }

  .msmg-story-image {
    margin-left: 0;
  }

  .msmg-beveled {

    padding: 0px 0px 0px 0px;

  }

  .msmg-beveled p {

    width: 100%;

  }

  .msmg-feature-content {
    padding: 20px;
  }

  .feature-structure-class {
    margin-left: 0;
    display: flex;
  }

}

/* From msmg.css */
@media (max-width: 900px) {
  .msmg-editor-overlay {
    padding: 10px;
    justify-content: center;
  }

  .msmg-editor-panel {
    width: min(100%, 100%);
    max-height: calc(100vh - 20px);
  }
}

/* From msmg.css */
@media (max-width: 900px) {

  .msmg-feature-story {

    grid-template-columns: 1fr;

  }

  .msmg-feature-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top center;
    background-color: #eee;
    margin-left: 0;
    padding: 0;
  }

}

/* From msmg.css */
@media (max-width: 900px) {
  .msmg-story-header {
    flex-direction: column;
  }

  .msmg-viewer-image {
    width: 100%;
    height: auto;
    max-height: 400px;
  }

  .msmg-excerpt-main {
    margin-bottom: 0;
  }
}

/* From msmg.css */
@media (max-width: 900px) {

  .msmg-info-page {

    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 0;

  }


  .msmg-info-title {

    font-size: 36px;

  }


  .msmg-contact-grid {

    grid-template-columns: 1fr;

  }

}

/* From msmg.css */
@media (max-width: 900px) {
  .msmg-home-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* From app.css */
@media (max-width: 900px) {



  .dashboard-grid {

    flex-direction: column;

  }

  .dashboard-side {

    width: 100%;

  }

  .side-btn {

    text-align: center;

  }

  .profile-balance-box {

    margin-bottom: 18px;

  }

  .profile-sidebar {

    top: calc(96px + env(safe-area-inset-top, 0px));
    width: var(--profile-sidebar-width);
    bottom: calc(265px + env(safe-area-inset-bottom, 0px));
    padding: 10px 8px 8px var(--profile-sidebar-pad-left);

  }

  .profile-graph-shell {

    left: 0;
    right: calc(var(--profile-sidebar-right-gap) + var(--profile-sidebar-width) - var(--profile-sidebar-pad-left));
    top: calc(64px + env(safe-area-inset-top, 0px));
    bottom: calc(258px + env(safe-area-inset-bottom, 0px));
    padding: 0;
    margin: 0;

  }

  .profile-graph-frame {

    top: 29px;
    right: 23px;
    bottom: 18px;
    left: 21px;
    padding: 10px;
    border-radius: 14px;

  }

  .profile-graph-tabs {

    right: calc(var(--profile-sidebar-right-gap) + var(--profile-sidebar-width) - var(--profile-sidebar-pad-left) + 8px);
    bottom: calc(270px + env(safe-area-inset-bottom, 0px));
    gap: 6px;

  }

  .profile-graph-canvas {

    height: 100%;

  }

  .profile-graph-canvas svg {

    height: 100%;

  }

  .profile-toc-horizontal {

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: min(500px, calc(100vw - 12px));
    justify-items: center;
    padding-bottom: 4px;
    bottom: calc(102px + env(safe-area-inset-bottom, 0px));

  }

  .profile-nav-divider {

    bottom: calc(264px + env(safe-area-inset-bottom, 0px));

  }

  .profile-portfolio-readout {

    bottom: calc(232px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;

  }

  .profile-nav-divider-bottom {

    bottom: calc(90px + env(safe-area-inset-bottom, 0px));

  }

  .profile-balance-readout {

    bottom: calc(204px + env(safe-area-inset-bottom, 0px));
    font-size: 20px;

  }

  .profile-performance-label {

    bottom: calc(250px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;

  }

  .profile-menu {

    top: calc(62px + env(safe-area-inset-top, 0px));
    right: 8px;
    min-width: 440px;

  }

  .profile-balance-actions {

    bottom: calc(156px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(500px, calc(100vw - 12px));
    gap: 6px;
    justify-items: center;

  }

  .profile-toc-btn {

    width: 112px;
    text-align: center;
    flex: 0 0 auto;
    white-space: nowrap;

  }

  .chart-box {

    min-width: 440px;

  }

  .projections-page {

    min-height: calc(100vh - 130px);
    padding: 8px 8px 192px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;

  }

  .projections-half {

    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

  }

  .projection-card {

    min-height: 110px;
    margin-bottom: 10px;
    padding: 10px 4px;

  }

  .projection-card canvas {

    height: 64px;

  }

  .projections-bottom-half .projection-card {

    min-height: 100px;

  }

  .projection-value {

    font-size: 1.5rem;

  }

}

/* From app.css */
@media (max-width: 900px) {



  .profile-graph-shell {

    top: calc(82px + env(safe-area-inset-top, 0px));
    bottom: calc(254px + env(safe-area-inset-bottom, 0px));

  }

  .profile-graph-frame {

    top: 21px;
    right: 23px;
    bottom: 25px;
    left: 23px;

  }

  .profile-sidebar {

    top: calc(112px + env(safe-area-inset-top, 0px));
    bottom: calc(255px + env(safe-area-inset-bottom, 0px));
    padding: 10px 8px 8px var(--profile-sidebar-pad-left);

  }

  .profile-graph-tabs {

    bottom: calc(264px + env(safe-area-inset-bottom, 0px));
    right: calc(var(--profile-sidebar-right-gap) + var(--profile-sidebar-width) - var(--profile-sidebar-pad-left) + 10px);

  }

  .profile-graph-tab {

    padding: 5px 10px;
    font-size: 12px;

  }

}

/* From app.css */
@media (max-width: 900px) {

  .profile-graph-tabs {

    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: calc(264px + env(safe-area-inset-bottom, 0px)) !important;
    top: auto !important;
    z-index: 22 !important;

  }

  .profile-graph-shell {

    overflow: hidden;
    top: calc(76px + env(safe-area-inset-top, 0px));
    contain: layout paint;

  }

  .profile-graph-frame {

    overflow: hidden;
    clip-path: inset(0 0 0 0);
    contain: paint;

  }

  .profile-graph-canvas {

    display: block;

  }

  .projections-row {

    flex-direction: column;
    gap: 18px;


  }

  .performance-row {

    flex-direction: column;
    gap: 18px;


  }

  .chart-box {

    width: 100%;

  }

}

/* From app.css */
@media (max-width: 900px) {

  .positions-container {

    padding: 24px 16px 32px;

  }

}

/* From app.css */
@media (max-width: 900px) {

  .info-card {

    padding: 30px !important;

  }

  .info-demo {

    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    padding: 16px;
    shape-outside: none;

  }

  .info-graph-wrap {

    height: 170px !important;

  }

}

/* From app.css */
@media (max-width: 900px) {

  .settings-grid {

    grid-template-columns: 1fr;

  }

  .settings-sidebar {

    position: static;

  }

  .projections-grid {

    grid-template-columns: 1fr;

  }

}

/* From app.css */
@media (max-width: 900px) {

  .info-demo {

    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 40px;

  }

  .info-card {

    padding: 30px;

  }

  .hero-logo {

    font-size: 2rem;

  }

  .projections-grid {

    margin-top: -2rem;

  }
}

/* From hamilton-web.css */
@media (max-width: 900px) {
  .hamilton-app-titleblock h1 {
    font-size: 1.35rem;
    margin: 2px 0;
  }

  .hamilton-app-subtitle,
  .hamilton-app-header-meta {
    display: none;
  }
}

/* From hamilton-web.css */
@media (max-width: 900px) {
  .hamilton-workspace-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hamilton-chip {
    padding: 6px 10px;
  }
}

/* From hamilton-web.css */
@media (max-width: 900px) {
  .hamilton-chat-surface {
    padding: 12px 28px;
    margin: 0;
  }
}

/* From hamilton-web.css */
@media (min-width: 900px) {
  .hamilton-workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .hamilton-auth-divider {
    display: none;
  }

  .hamilton-sidebar,
  .hamilton-auth-panel {
    grid-column: 2;
    border-left: 2px solid var(--hamilton-border);
    border-top: 1px solid var(--hamilton-border);
    border-bottom: 1px solid var(--hamilton-border);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    margin: 12px 0 12px 12px;
    height: calc(100vh - 24px);
    box-shadow: -12px 0 30px rgba(15, 30, 48, 0.04);
  }
}

/* From hamilton-web.css */
@media (max-width: 900px) {
  .hamilton-workspace {
    padding: 0;
  }

  .hamilton-app-main,
  .hamilton-sidebar {
    min-height: auto;
    border-radius: 24px;
  }

  .hamilton-auth-panel {
    position: fixed;
    bottom: 0;
    left: 12px;
    right: 12px;
    z-index: 1100;
    margin: 0 auto;
    max-width: 440px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(105%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    visibility: hidden;
  }

  .hamilton-auth-panel.is-visible {
    transform: translateY(0);
    visibility: visible;
  }

  .hamilton-auth-panel::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--hamilton-border);
    border-radius: 2px;
  }

  .hamilton-workspace-banner {
    grid-template-columns: repeat(4, 1fr);
  }

  .hamilton-chip-wide {
    grid-column: span 1;
  }

  .hamilton-message-shell {
    max-width: min(82%, 720px) !important;
  }

  .hamilton-message-row.is-assistant .hamilton-message-shell {
    max-width: 82% !important;
  }
}

/* From hamilton-web.css */
@media (max-width: 900px) {

  .hamilton-modal-header,
  .hamilton-guide-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamilton-chat-messages {
    padding-top: 48px !important;
  }

  .hamilton-app-header,
  .hamilton-workspace-banner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hamilton-composer {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 28px 32px;
    background: transparent !important;
    backdrop-filter: none !important;
    border-top: none !important;
    margin: 0;
    gap: 12px;
  }

  .hamilton-primary-button {
    width: 100%;
  }

  .hamilton-workspace-banner {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hamilton-workspace-banner::-webkit-scrollbar {
    display: none;
  }

  .hamilton-chip {
    flex: 0 0 180px;
    padding: 8px 12px;
  }

  .hamilton-chip-wide {
    grid-column: auto;
  }

  .hamilton-mobile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* From systems.css */
@media (max-width: 900px) {
  .systems-shell .app-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* From systems.css */
@media (max-width: 900px) {
  .systems-shell .webdesign-layout {
    grid-template-columns: 1fr;
  }
}

/* From systems.css */
@media (max-width: 900px) {
  .systems-shell .app-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 18px !important;
  }

  .systems-shell .app-icon {
    width: min(200px, 100%) !important;
    height: min(200px, 100%) !important;
  }

  .systems-shell .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .systems-shell .contact-info {
    margin-right: 0 !important;
  }

  .systems-shell .contact-info,
  .systems-shell .contact-form-panel {
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
  }

  .systems-shell #contact-popup-body {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .systems-shell .contact-popup {
    max-width: 440px;
    padding: 32px 24px;
    margin: 32px auto;
  }

  .systems-shell .cpop-info-col {
    height: auto;
  }

  .systems-shell .cpop-info-footer {
    margin-top: 32px;
  }

  .systems-shell .cpop-info-col h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .systems-shell .cpop-info-col .cpop-sub {
    margin-bottom: 16px;
    font-size: 0.95rem;
  }

  .systems-shell .cpop-field textarea {
    min-height: 200px;
  }
}

/* From systems.css */
@media (max-width: 900px) {
  .systems-shell .home-hero p {
    padding: 0 20px;
    font-size: 1.15rem;
  }
}

/* From banners.css */
@media (max-width: 900px) {

  #global-banner-stack {

    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;

  }

  .banner-row {

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-right: 0;
    box-sizing: border-box;

  }

  .banner-row--finance {

    --banner-track-offset: 8.25rem;

  }

  .banner-row--news {

    --banner-track-offset: 8rem;

  }

  .banner-row__items {

    gap: 24px;
    font-size: 0.96rem;

  }

  .banner-row__brand {

    margin-left: 0;
    font-size: 20px;
    padding-left: 10px;
    padding-right: 8px;

  }

}

/* From divisions.css */
@media (min-width: 900px) {

  .construction-shell header>h1 {

    margin: 0;
    padding: 0;
    line-height: 1.05;

  }

  .construction-shell header>.site-header-heading {

    margin: 0;
    padding: 0;
    line-height: 1.05;

  }

  .systems-shell header>h1 {

    margin: 0;
    padding: 0;
    line-height: 1.05;

  }

  .systems-shell header>.site-header-heading {

    margin: 0;
    padding: 0;
    line-height: 1.05;

  }

  .construction-shell header>nav {

    margin-top: 0;
    margin-bottom: 0;

  }

  .systems-shell header>nav {

    margin-top: 0;
    margin-bottom: 0;

  }

  header.division-header {

    justify-content: flex-start;

  }

  header.division-header>h1 {

    margin: 0;
    padding: 0;
    line-height: 1.05;
    font-size: 2em;
    font-weight: 700;

  }

  header.division-header>.site-header-heading {

    margin: 0;
    padding: 0;
    line-height: 1.05;
    font-size: 2em;
    font-weight: 700;

  }

  /* Data Shell */
  html {

    height: 100%;
    margin: 0;
    overflow: hidden;

  }

  body.data-shell {

    height: 100%;
    margin: 0;
    overflow: hidden;

  }

  .data-shell {

    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;

  }

  .data-shell .corporate-label {

    background-color: var(--rich-black);
    z-index: 9999;

  }

  .data-shell .corporate-label a {

    color: inherit;

  }

  .data-shell .page-scroll-container {

    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: none;
    transition: none;

  }

  .data-shell header h1 a {

    color: inherit;
    text-decoration: none;

  }

  .data-shell main {

    width: 100%;
    max-width: 100%;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-y;
    flex: 1;
    margin: 0 auto;

  }

  .data-shell.has-header main {

    padding-top: calc(56px + env(safe-area-inset-top, 0px));

  }

  .data-shell.no-header main {

    padding-top: 0;

  }

  .data-shell main {

    padding-bottom: 120px;

  }

  /* Data Footer */
  .data-footer {

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background-color: var(--rich-black);
    color: var(--soft-white);
    text-align: center;
    font-size: 14px;
    width: 100vw;
    padding: -1rem -1rem -1rem -1em;
    gap: 4px;
    align-items: center;
    margin: 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);

  }

  /* Capital Markets Shell */
  .server-shell {

    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', 'Outfit', 'Helvetica', 'Roboto', sans-serif;
    background: #ffffff;
    color: #000000;

  }

  #header {

    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    z-index: 20;
    position: sticky;
    top: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 10px 16px;
    font-family: "Segoe UI", "Roboto", sans-serif;
    color: #000;
    border-bottom: 1px solid #e2e8f0;

  }

  #footer {

    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    border-top: 1px solid #d0d0d0;
    box-shadow: none;
    min-height: 64px;
    padding: 8px 14px 10px 14px;
    margin: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-size: 13px;
    color: #666;
    font-family: "Segoe UI", "Roboto", sans-serif;

  }

  /* Data Home Cards */
  .home-cards-shell {

    width: min(1200px, 100%);
    padding: 0 14px;
    margin: 0 auto;

  }

}

/* From dashboard.css */
@media (max-width: 900px) {

  .dashboard-layout {
    flex-direction: column;
    height: auto;
    overflow-y: auto;
    gap: 16px;
    padding: 10px;
  }

  .dashboard-sidebar-column {
    width: 100%;
    order: 2;
  }

  .dashboard-sidebar {
    width: 100%;
    height: 16rem;
  }

  .dashboard-sidebar-short {
    height: 12rem;
  }

  .dashboard-main {
    order: 1;
    width: 100%;
  }

  .dashboard-graphs {
    grid-template-columns: 1fr;
  }

  .graph-wrap {
    min-height: 280px;
  }

  .graph-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .main-graph {
    min-height: 220px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .dashboard-indices {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .index-item {
    min-width: 440px;
    padding: 0 6px;
    flex-shrink: 0;
  }

  .index-value {
    font-size: 0.95rem;
  }

  .index-delta {
    font-size: 0.75rem;
  }

  .dashboard-footer-nav {
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 14px;
  }

  .sidebar-track {
    animation-duration: calc(var(--scroll-duration) * 0.85);
  }

}

/* From data.css */
@media (max-width: 900px) {

  header {

    flex-direction: column;
    align-items: center;
    text-align: center;

  }

  header h1 {

    font-size: 28px;
    margin-bottom: 9px;

  }

  .data-home-header {

    flex-direction: row;
    justify-content: space-between;
    width: 100%;

  }

  .data-home-header .home-header-left {

    font-size: 21px;

  }

  .data-home-header h1 {

    font-size: 22px;
    margin-bottom: 0;

  }

  nav {

    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;

  }

  nav a {

    font-size: 1.15rem;

  }

  .data-shell main {

    flex: 1;

  }

  .after-main-ad {

    margin: 18px auto calc(120px + env(safe-area-inset-bottom, 0px));
    padding: 16px 0 24px;
    min-height: 140px;
    line-height: 2;

  }

  .flip-card-container.home-flip-card-container {

    width: 100%;
    height: clamp(180px, 30vh, 260px);

  }

  .flip-card-container {

    perspective: 1000px;
    width: 260px;
    height: 160px;
    margin: 10px;

  }

  .flip-card {

    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;

  }

  .flip-card-container:hover .flip-card {

    transform: rotateY(180deg);

  }

  .flip-card-container:focus-within .flip-card {

    transform: rotateY(180deg);

  }

  .flip-card-front {

    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0D0D0D;

  }

  .flip-card-back {

    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0D0D0D;

  }

  .flip-card-front {

    background: white;

  }

  .flip-card-back {

    background: var(--rich-black);
    color: white;
    transform: rotateY(180deg);

  }

  .cards-wrapper {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 40px auto 0 auto;

  }

  a.card-link {

    text-decoration: none;
    outline: none;

  }

  .hidden-on-page {

    display: none !important;

  }

  .muted {

    color: #000000 !important;
    font-size: 1rem;
    line-height: 1.6;

  }

  .card {

    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;

  }

  .card:hover {

    box-shadow: none;

  }

  section>.card>ul {

    list-style-type: disc !important;
    list-style-position: inside !important;
    padding-left: 6px !important;
    margin-left: 0 !important;

  }

  section>.card>ul>li {

    padding-left: 0 !important;
    margin-left: 0 !important;
    text-indent: -6px !important;

  }

  .contact-header {

    text-align: center;

  }

  .contact-container {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    width: 100%;

  }

  .contact-info {

    flex: 1;
    padding: 20px;
    background-color: var(--warm-beige);
    border-radius: 8px;
    margin-right: 20px;
    margin-left: 30px;

  }

  .contact-form {

    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-right: 85px;

  }

  .contact-form input {

    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
    height: 48px;

  }

  .contact-form textarea {

    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
    height: 48px;

  }

  .contact-form select {

    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
    height: 48px;
    background-color: #fff;
    color: #222;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

  }

  .contact-form textarea {

    min-height: 160px;
    resize: vertical;

  }

  .contact-form input::placeholder {

    color: #888;
    opacity: 1;

  }

  .contact-form textarea::placeholder {

    color: #888;
    opacity: 1;

  }

  .contact-form select option:first-child {

    color: #888;

  }

  .contact-form button {

    background-color: var(--rich-black);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;

  }

  .contact-form button:hover {

    background-color: #1a5fc4;

  }

  .support-wrapper {

    max-width: 900px;
    margin: 0 auto 12px auto;
    padding: 20px 28px;

  }

  .support-form {

    background: white;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 6px 18px rgba(13, 13, 13, 0.08);

  }

  .form-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    align-items: start;

  }

  .form-field {

    display: flex;
    flex-direction: column
  }

  .form-field label {

    font-weight: 600;
    margin-bottom: 8px;
    color: var(--rich-black);
    font-size: 0.95rem
  }

  .form-field input {

    padding: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    font-size: 0.95rem
  }

  .form-field select {

    padding: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    font-size: 0.95rem
  }

  .form-field textarea {

    padding: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    font-size: 0.95rem
  }

  .form-field input:focus {

    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 120, 240, 0.12);
    border-color: var(--rich-black)
  }

  .form-field select:focus {

    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 120, 240, 0.12);
    border-color: var(--rich-black)
  }

  .form-field textarea:focus {

    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 120, 240, 0.12);
    border-color: var(--rich-black)
  }

  .form-field.full-width {

    grid-column: 1 / -1
  }

  .form-actions {

    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px
  }

  .btn-primary {

    background: var(--rich-black);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;

  }

  .btn-primary:hover {

    background: #1a5fc4
  }

  .btn-secondary {

    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer
  }

  .left-section {

    width: 33%;
    max-width: 33vw;
    flex-direction: column;
    justify-items: flex-start;
    margin-right: 10px;

  }

}

/* From data.css */
@media (max-width: 900px) {

  .form-grid {

    grid-template-columns: 1fr;

  }

  .support-wrapper {

    padding: 12px
  }

  .support-form {

    padding: 16px
  }

}

/* From data.css */
@media (max-width: 900px) {

  .contact-container {

    flex-direction: column !important;

  }

  .contact-info {

    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;


  }

  .contact-form {

    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;


  }

  html {

    -ms-overflow-style: none;
    scrollbar-width: none;

  }

  body {

    -ms-overflow-style: none;
    scrollbar-width: none;

  }

  * {

    -ms-overflow-style: none;
    scrollbar-width: none;

  }

  html::-webkit-scrollbar {

    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent;

  }

  body::-webkit-scrollbar {

    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent;

  }

  *::-webkit-scrollbar {

    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent;

  }

  @supports selector(body:has(.postgres-page)) {

    body:has(.postgres-page) .page-scroll-container,
    body:has(.plan-page) .page-scroll-container,
    body:has(.auth-page) .page-scroll-container,
    body:has(.metric-page) .page-scroll-container,
    body:has(.postgres-support-page) .page-scroll-container {

      overflow-y: hidden;

    }

  }

  @media (max-width: 900px) {

    @supports selector(body:has(.postgres-page)) {

      body:has(.postgres-page) .page-scroll-container,
      body:has(.plan-page) .page-scroll-container {

        overflow-y: auto;

      }

      body:has(.auth-page) .page-scroll-container {

        overflow-y: hidden;


      }

      body:has(.metric-page) .page-scroll-container {

        overflow-y: hidden;


      }

      body:has(.postgres-support-page) .page-scroll-container {

        overflow-y: hidden;


      }



    }

  }

}

/* From blogs.css */
@media (max-width: 900px) {

  #blog-section .blog-layout {
    flex-direction: column;
    padding: 0 12px;
  }

  #blog-section .blog-article {
    flex: 1 1 auto;
    max-width: 100%;
    padding-left: 0;
  }

  #blog-section .chat-bar {
    width: 100%;
    min-height: auto;
    padding: 10px 0;
  }

  .chat-messages {
    padding: 8px 0;
  }

}

/* From astreet.css */
@media (min-width: 900px) {
  .footer-container {
    justify-content: center;
  }
}

/* From astreet.css */
@media (max-width: 900px) {
  .setup-page-container {
    padding: 1.5rem 1.5rem 3.5rem;
  }

  .setup-fullwidth {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .setup-sidebar {
    padding: 1.75rem;
  }

  .setup-main {
    gap: 1.75rem;
  }

  .setup-panel {
    padding: 1.75rem;
  }
}

/* From mail.css */
@media (max-width: 900px) {
  .obsidian-layout {
    grid-template-columns: 80px 320px 1fr;
  }

  .obsidian-nav h2,
  .obsidian-nav span,
  .obsidian-nav .compose-btn,
  .obsidian-nav .nav-item span:not(.icon) {
    display: none;
  }

  .obsidian-nav {
    padding: 24px 10px;
    align-items: center;
  }
}

/* From mail.css */
@media (max-width: 900px) {
  .obsidian-layout {
    grid-template-columns: 1fr;
  }

  .obsidian-nav {
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--quartz-border);
    border-right: none;
    padding: 0 10px;
    gap: 5px;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    grid-row: unset;
  }

  /* Hide header and return button on mobile bottom bar */
  .obsidian-nav>div:first-child,
  .obsidian-nav>div:last-child,
  .obsidian-nav .compose-btn {
    display: none;
  }

  .nav-item {
    flex: 1;
    justify-content: center;
    padding: 10px 5px;
    font-size: 0.75rem;
    border-radius: 12px;
    flex-direction: column;
    gap: 2px;
    max-width: 440px;
  }

  .nav-item::before {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }

  .top-search-bar {
    grid-column: 1;
    position: sticky;
    top: 0;
  }

  .obsidian-list {
    grid-column: 1;
    grid-row: 2;
    padding-bottom: 80px;
    /* Space for nav */
  }

  .obsidian-reader {
    grid-column: 1;
    grid-row: 2;
    display: none;
    padding: 30px 20px 100px 20px;
    z-index: 30;
  }

  .mobile-back {
    display: block;
  }

  body.reader-mode .obsidian-list,
  body.reader-mode .top-search-bar {
    display: none;
  }

  body.reader-mode .obsidian-reader {
    display: flex;
  }

  /* Floating Compose Button for Mobile */
  .mobile-compose-fab {
    display: flex;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--quartz-accent);
    color: white;
    border-radius: 28px;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
    z-index: 90;
    text-decoration: none;
  }
}

/* From mail.css */
@media (min-width: 900px) {
  .mobile-compose-fab {
    display: none;
  }
}

/* From mail.css */
@media (max-width: 900px) {
  body.ic-msmg .wrap>div:first-child h2 {
    margin-top: 4rem !important;
  }
}

/* From mailings.css */
@media (max-width: 900px) {
  .mailing-list-popup {
    bottom: calc(var(--footer-height) + 12px + env(safe-area-inset-bottom, 0px));
    right: 8px;
    width: calc(100vw - 16px);
    max-width: 440px;
  }
}

/* From ads.css */
@media (max-width: 900px) {

  .after-main-ad {

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 18px auto calc(120px + env(safe-area-inset-bottom, 0px));
    padding: 16px 0 24px;
    min-height: 140px;
    line-height: 2;

  }

}