@media (max-width: 900px) {


  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: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    gap: 8px 16px;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    margin-top: 0;
  }

  .msmg-body header nav {
    order: 3;
  }

  .msmg-body header h1 {
    order: 1;
  }

  .msmg-live-banner {
    margin-bottom: 6px;
  }

  .msmg-body .msmg-live-banner {
    order: 2;
  }

  header nav::-webkit-scrollbar {
    display: none;
  }

  header nav a,
  header .nav-label {
    margin: 0;
    font-size: .95rem;
    line-height: 1.2;
  }

  .msmg-body header nav::-webkit-scrollbar {
    display: none;
  }

  .msmg-body header nav a {
    margin-right: 0;
    font-size: 14px;
    line-height: 1.2;
    margin-right: 0;
  }


  .msmg-home-layout {
    margin-top: 24px;
  }

  .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%;
    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-container {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  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: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box
  }

  .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
  }

  .division-columns {
    column-count: 2;
    column-gap: 18px;
    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: 2rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.05
  }

  /* Additional breakpoint specifically for 900px as requested */
  .hero-text-overlay {
    flex-direction: column;
    white-space: normal;
    gap: 6px;
    align-items: center;
  }


  .hero-text-overlay .home-welcome-prefix {
    font-size: clamp(1.55rem, 7vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin: 0;
    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
  }


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



  .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 {
    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;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box
  }

  .open-position-card {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    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 ic.css */
  .msmg-main.editor-open .msmg-workspace {
    grid-template-columns: 1fr;
  }


  /* From ic.css */
  .msmg-workspace.split-election {
    grid-template-columns: 1fr;
  }

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


  /* From ic.css */
  .msmg-editor-overlay {
    padding: 10px;
    justify-content: center;
  }

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


  /* From postgres.css */

  .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;

  }

  .sql-demo-shell {

    order: -1;

  }



  /* From postgres.css */

  main section.postgres-page {

    padding: 0 0 20px;

  }

  .postgres-page {

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

  }



  /* From postgres.css */

  .postgres-page {

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

  }

  .postgres-topbar {

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

  }

  .postgres-topbar h1 {

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

  }

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

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


  }

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

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


  }

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

    margin: 0;


  }

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

    margin: 0;


  }



  .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);
    margin: 2rem 0;
    padding: 24px 20px;
    box-sizing: border-box;

  }

  .postgres-intro {

    margin-top: 7rem;

  }

  .plans-row {

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

  }

  .logib-box {
    width: 100%;
  }

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





  .page-scroll-container {

    overflow-y: auto;

  }

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

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

      overflow-y: auto;

    }

    main {

      padding-top: 0;

    }

    main section.auth-page {

      padding: 0;

    }

    .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%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;

    }

    .auth-shell--compact {

      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;
      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 {

      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-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-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-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-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;
      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-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;

    }

  }

  .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;

  }



  .page-scroll-container {

    overflow-y: auto;

  }

  .auth-page {

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

  }

  .auth-page--compact {

    padding: 10px 14px 18px;

  }



  .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-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;
    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%;
    padding: 1.5rem 2rem 4rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #000000;
    line-height: 1.7;
    overflow-x: hidden;

  }

  .docs-hero {

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

  }

  .docs-content {

    width: 100%;
    margin-left: 0;
    margin-top: 0;
    flex: 1;
  }

  .docs-hero h1 {

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

  }

  .docs-hero {

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

  }

  .docs-subtitle {

    color: white;
    flex-direction: column;
    margin: 0 auto;
    text-align: center;

  }

  .docs-subtitle p {

    color: white;

  }

  .docs-breadcrumb {

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

  }

  .docs-breadcrumb a {

    color: #2563eb;
    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;

  }



  .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;

  }

  .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%;

  }

  .docs-content {

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

  }

  .docs-toc {

    width: 100%;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    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;
    border-radius: 999px;
    background: #f8fafc;
    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;
    width: 100%;
    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 {

    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 {

    padding: 0.6rem 0.75rem;


  }

  .docs-table td {

    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;

  }



  @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;
      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;
      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;
      border-left-color: #2563eb;
      font-weight: 500;

    }

    .docs-section {

      margin-bottom: 2.5rem;

    }

    .docs-section h2 {

      font-size: 1.35rem;
      font-weight: 700;
      color: #000000;
      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;
      margin: 1.25rem 0 0.5rem;

    }

    .docs-section p {

      margin: 0 0 0.75rem;
      color: #000000;
      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;

    }

    .docs-section strong {

      font-weight: 600;
      color: #000000;

    }

    .docs-kv-grid {

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

    }

    .docs-kv-card {

      background: #ffffff;
      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;
      margin-bottom: 0.25rem;
      font-weight: 600;

    }

    .docs-kv-card .kv-value {

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

    }

    .docs-code {

      background: #000000;
      color: #ffffff;
      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;

    }

    .docs-callout {

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

    }

    .docs-callout strong {

      color: #000000;

    }

    .docs-callout.tip {

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

    }

    .docs-callout.warning {

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

    }

    .docs-callout p {

      color: #000000;

    }

    .docs-callout a {

      color: #000000;

    }

    .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;
      border-bottom: 2px solid #cbd5e1;

    }

    .docs-table td {

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

    }

    .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;
      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;
      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;
      margin-bottom: 0.5rem;

    }

    .docs-portfolio-card .port-desc {

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

    }

    .docs-back {

      display: inline-block;
      margin-top: 2rem;
      color: #2563eb;
      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. */

  }

  .docs-page {

    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;

  }

  .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%;

  }

  .docs-content {

    width: 100%;
    margin: 0;

  }

  .docs-toc {

    width: 100%;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    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;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;

  }

  .docs-breadcrumb {

    width: 100%;

  }

  .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 {

    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 {

    padding: 0.6rem 0.75rem;


  }

  .docs-table td {

    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;

  }



  @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;
      padding-bottom: 70px;
      min-height: 100dvh;

    }

    main section {

      padding: 0;

    }

    .plan-page {

      width: 100%;
      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;

    }

    .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%;
      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;
      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;
      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;
      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;
      font-weight: 700;

    }

    .sql-ident {

      color: #7dd3fc;

    }

    .sql-value {

      color: #facc15;

    }

    .sql-result {

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

    }

  }

  .page-scroll-container {

    overflow-y: auto;

  }

  main {

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

  }

  .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 {

    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;


  }






  .ic-markets-saved-card {

    flex-direction: column;

  }

  .ic-markets-saved-actions {

    width: 100%;
  }



  .ic-markets-grid {
    grid-template-columns: 1fr;
  }

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

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

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


  /* From headers.css */

  #header {
    --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 */

  #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;
    white-space: nowrap;

  }

  #global-header {

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

  }

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

    width: 100%;

  }

  #global-header>h1 {

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

  }

  #global-header>nav {

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

  }

  #global-header>nav a {

    flex: 0 0 auto;

  }



  /* From msmg.css */


  .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: 12px 16px;
  }

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



  /* From msmg.css */
  .msmg-editor-overlay {
    padding: 10px;
    justify-content: center;
  }

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


  /* From msmg.css */

  .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 */
  .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 */

  .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 */
  .msmg-home-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }


  /* From app.css */



  .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;
  }

  .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;

  }


  .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 */



  .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 */

  .profile-graph-tabs {

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

  }

  .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 */

  .positions-container {

    padding: 24px 16px 32px;

  }



  /* From app.css */

  .info-card {

    padding: 30px;

  }

  .info-demo {

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

  }

  .info-graph-wrap {

    height: 170px;

  }



  /* From app.css */

  .settings-grid {

    grid-template-columns: 1fr;

  }

  .settings-sidebar {

    position: static;

  }

  .projections-grid {

    grid-template-columns: 1fr;

  }



  /* From app.css */

  .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 */
  .hamilton-app-titleblock h1 {
    font-size: 1.35rem;
    margin: 2px 0;
  }

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


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

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


  /* From hamilton-web.css */
  .hamilton-chat-surface {
    padding: 12px 28px;
    margin: 0;
  }


  /* From hamilton-web.css */

  .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 */
  .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;
    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;
  }


  /* From hamilton-web.css */

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

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

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

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

  .hamilton-primary-button {
    width: auto;
  }

  .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 */
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }


  /* From systems.css */
  .webdesign-layout {
    grid-template-columns: 1fr;
  }


  /* From systems.css */
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }

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

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

  .contact-info {
    margin-right: 0;
  }

  .contact-info,
  .contact-form-panel {
    width: 100%;
    box-sizing: border-box;
  }

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

  .contact-popup {
    padding: 32px 24px;
    margin: 32px auto;
  }

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

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

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

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


  /* From systems.css */
  .home-hero p {
    padding: 0 20px;
    font-size: 1.15rem;
  }


  /* From banners.css */

  #global-banner-stack {

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

  }

  .banner-row {

    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 */

  header>h1 {

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

  }

  header>.site-header-heading {

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

  }

  header>h1 {

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

  }

  header>.site-header-heading {

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

  }

  header>nav {

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

  }

  header>nav {

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

  }

  header {

    justify-content: flex-start;

  }

  header>h1 {

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

  }

  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%;
    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;

  }


  #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;

  }

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

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

  }



  /* From dashboard.css */

  .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 {
    padding: 0 6px;
    flex-shrink: 0;
  }

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

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

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



  /* From data.css */

  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;
    margin: 40px auto 0 auto;

  }

  a.card-link {

    text-decoration: none;
    outline: none;

  }

  .hidden-on-page {

    display: none;

  }

  .muted {

    color: #000000;
    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;
    list-style-position: inside;
    padding-left: 6px;
    margin-left: 0;

  }

  section>.card>ul>li {

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

  }

  .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 {

    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%;
    flex-direction: column;
    justify-items: flex-start;
    margin-right: 10px;

  }



  /* From data.css */

  .form-grid {

    grid-template-columns: 1fr;

  }

  .support-wrapper {

    padding: 12px
  }

  .support-form {

    padding: 16px
  }



  /* From data.css */

  .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;


  }

  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;
    height: 0;
    display: none;
    background: transparent;

  }

  body::-webkit-scrollbar {

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

  }

  *::-webkit-scrollbar {

    width: 0;
    height: 0;
    display: none;
    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;

    }

  }

  @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 */

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

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

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

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



  /* From astreet.css */

  /* From astreet.css */
  .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 */
  .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 */
  .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;
  }

  .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 mailings.css */
  .mailing-list-popup {
    bottom: calc(var(--footer-height) + 12px + env(safe-area-inset-bottom, 0px));
    right: 8px;
    width: calc(100vw - 16px);
  }


  /* From ads.css */

  .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;
  }


  .feature-banner-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    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 */
  .lcm-feature-banner-container .feature-banner-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .lcm-feature-banner-container .feature-banner-stat {
    margin: 0.4rem;
    padding: 0.6rem 0.9rem;
  }


  .feature-banner-stage {
    min-height: 10rem
  }
}
/* Restored footer media blocks */
@media (max-width: 900px) {
  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
  }
}

@media (max-width: 900px) {
  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
  }
}

@media (max-width: 900px) {
  .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
  }
}

@media (max-width: 900px) {
  footer>div:first-child {
    margin-bottom: 6px
  }
}

@media (max-width: 900px) {
  footer>div:nth-child(2) {
    margin-bottom: 6px
  }
}

@media (max-width: 900px) {
  footer .footer-copyright {
    margin-top: 2px
  }
}

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

@media (max-width: 900px) {
  .cpop-info-footer {
    margin-top: 32px;
  }
}

@media (max-width: 900px) {
  /* 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);

  }
}

@media (max-width: 900px) {
  #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;

  }
}

@media (max-width: 900px) {
  .dashboard-footer-nav {
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 14px;
  }
}

@media (max-width: 900px) {
  /* From msmg.css */
  .msmg-body footer.corporate-label {
    padding: 8px 0;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-container {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-main-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-brand-col {
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-links-center {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-links-center>.msmg-footer-col:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-links-center .msmg-footer-col {
    grid-template-columns: auto auto;
    gap: 4px 12px;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-right-spacer {
    display: none;
  }
}

@media (max-width: 900px) {
  .msmg-body footer.corporate-label .msmg-footer-copy {
    margin-top: 4px;
    padding-top: 8px;
  }
}
